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"
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-burnt_name create set name in shared library "
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 exceptions information"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWin 2.0 compatibility"
129 --enable-compat22 enable wxWin 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-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-treelayout use wxTreeLayout classes"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-propsheet use wxPropertySheet class"
275 --enable-radiobox use wxRadioBox class"
277 --enable-radiobtn use wxRadioButton class"
279 --enable-sash use wxSashWindow class"
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
283 --enable-slider use wxSlider class"
285 --enable-spinbtn use wxSpinButton class"
287 --enable-spinctrl use wxSpinCtrl class"
289 --enable-splitter use wxSplitterWindow class"
291 --enable-statbmp use wxStaticBitmap class"
293 --enable-statbox use wxStaticBox class"
295 --enable-statline use wxStaticLine class"
297 --enable-stattext use wxStaticText class"
299 --enable-statusbar use wxStatusBar class"
301 --enable-tabdialog use wxTabControl class"
303 --enable-textctrl use wxTextCtrl class"
305 --enable-togglebtn use wxToggleButton class"
307 --enable-toolbar use wxToolBar class"
309 --enable-tbarnative use native wxToolBar class"
311 --enable-tbarsmpl use wxToolBarSimple class"
313 --enable-treectrl use wxTreeCtrl class"
315 --enable-popupwin use wxPopUpWindow class"
317 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
319 --enable-choicedlg use wxChoiceDialog"
321 --enable-coldlg use wxColourDialog"
323 --enable-filedlg use wxFileDialog"
325 --enable-fontdlg use wxFontDialog"
327 --enable-dirdlg use wxDirDialog"
329 --enable-msgdlg use wxMessageDialog"
331 --enable-numberdlg use wxNumberEntryDialog"
333 --enable-textdlg use wxTextDialog"
335 --enable-tipdlg use startup tips"
337 --enable-progressdlg use wxProgressDialog"
339 --enable-wizarddlg use wxWizard"
341 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
343 --enable-miniframe use wxMiniFrame class"
345 --enable-tooltips use wxToolTip class"
347 --enable-splines use spline drawing code"
349 --enable-validators use wxValidator and derived classes"
351 --enable-busyinfo use wxBusyInfo"
353 --enable-joystick compile in joystick support (Linux only)"
355 --enable-metafiles use wxMetaFile (Windows only)"
357 --enable-dragimage use wxDragImage"
359 --enable-image use wxImage class"
361 --enable-gif use gif images (GIF file format)"
363 --enable-pcx use pcx images (PCX file format)"
365 --enable-pnm use pnm images (PNM file format)"
367 --enable-xpm use xpm images (XPM file format)"
369 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
371 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
373 --disable-gtktest Do not try to compile and run a test GTK program"
375 --with-x use the X Window System"
377 # Initialize some variables set by options.
378 # The variables have the same names as the options, with
379 # dashes changed to underlines.
381 cache_file
=.
/config.cache
390 program_transform_name
=s
,x
,x
,
398 bindir
='${exec_prefix}/bin'
399 sbindir
='${exec_prefix}/sbin'
400 libexecdir
='${exec_prefix}/libexec'
401 datadir
='${prefix}/share'
402 sysconfdir
='${prefix}/etc'
403 sharedstatedir
='${prefix}/com'
404 localstatedir
='${prefix}/var'
405 libdir
='${exec_prefix}/lib'
406 includedir
='${prefix}/include'
407 oldincludedir
='/usr/include'
408 infodir
='${prefix}/info'
409 mandir
='${prefix}/man'
411 # Initialize some other variables.
414 SHELL
=${CONFIG_SHELL-/bin/sh}
415 # Maximum number of lines to put in a shell here document.
422 # If the previous option needs an argument, assign it.
423 if test -n "$ac_prev"; then
424 eval "$ac_prev=\$ac_option"
430 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
434 # Accept the important Cygnus configure options, so we can diagnose typos.
438 -bindir | --bindir | --bindi | --bind | --bin | --bi)
440 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
441 bindir
="$ac_optarg" ;;
443 -build | --build | --buil | --bui | --bu)
445 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
446 build
="$ac_optarg" ;;
448 -cache-file | --cache-file | --cache-fil | --cache-fi \
449 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
450 ac_prev
=cache_file
;;
451 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
452 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
453 cache_file
="$ac_optarg" ;;
455 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
457 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
459 datadir
="$ac_optarg" ;;
461 -disable-* | --disable-*)
462 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
463 # Reject names that are not valid shell variable names.
464 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
465 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
467 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
468 eval "enable_${ac_feature}=no" ;;
470 -enable-* | --enable-*)
471 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
472 # Reject names that are not valid shell variable names.
473 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
474 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
476 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
481 eval "enable_${ac_feature}='$ac_optarg'" ;;
483 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
484 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
485 | --exec | --exe | --ex)
486 ac_prev
=exec_prefix
;;
487 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
488 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
489 | --exec=* | --exe=* | --ex=*)
490 exec_prefix
="$ac_optarg" ;;
492 -gas | --gas | --ga | --g)
493 # Obsolete; use --with-gas.
496 -help | --help | --hel | --he)
497 # Omit some internal or obsolete options to make the list less imposing.
498 # This message is too long to be a string in the A/UX 3.1 sh.
500 Usage: configure [options] [host]
501 Options: [defaults in brackets after descriptions]
503 --cache-file=FILE cache test results in FILE
504 --help print this message
505 --no-create do not create output files
506 --quiet, --silent do not print \`checking...' messages
507 --version print the version of autoconf that created configure
508 Directory and file names:
509 --prefix=PREFIX install architecture-independent files in PREFIX
511 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
513 --bindir=DIR user executables in DIR [EPREFIX/bin]
514 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
515 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
516 --datadir=DIR read-only architecture-independent data in DIR
518 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
519 --sharedstatedir=DIR modifiable architecture-independent data in DIR
521 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
522 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
523 --includedir=DIR C header files in DIR [PREFIX/include]
524 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
525 --infodir=DIR info documentation in DIR [PREFIX/info]
526 --mandir=DIR man documentation in DIR [PREFIX/man]
527 --srcdir=DIR find the sources in DIR [configure dir or ..]
528 --program-prefix=PREFIX prepend PREFIX to installed program names
529 --program-suffix=SUFFIX append SUFFIX to installed program names
530 --program-transform-name=PROGRAM
531 run sed PROGRAM on installed program names
535 --build=BUILD configure for building on BUILD [BUILD=HOST]
536 --host=HOST configure for HOST [guessed]
537 --target=TARGET configure for TARGET [TARGET=HOST]
538 Features and packages:
539 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
540 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
541 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
542 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
543 --x-includes=DIR X include files are in DIR
544 --x-libraries=DIR X library files are in DIR
546 if test -n "$ac_help"; then
547 echo "--enable and --with options recognized:$ac_help"
551 -host | --host | --hos | --ho)
553 -host=* | --host=* | --hos=* | --ho=*)
556 -includedir | --includedir | --includedi | --included | --include \
557 | --includ | --inclu | --incl | --inc)
558 ac_prev
=includedir
;;
559 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
560 | --includ=* | --inclu=* | --incl=* | --inc=*)
561 includedir
="$ac_optarg" ;;
563 -infodir | --infodir | --infodi | --infod | --info | --inf)
565 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
566 infodir
="$ac_optarg" ;;
568 -libdir | --libdir | --libdi | --libd)
570 -libdir=* | --libdir=* | --libdi=* | --libd=*)
571 libdir
="$ac_optarg" ;;
573 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
574 | --libexe | --libex | --libe)
575 ac_prev
=libexecdir
;;
576 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
577 | --libexe=* | --libex=* | --libe=*)
578 libexecdir
="$ac_optarg" ;;
580 -localstatedir | --localstatedir | --localstatedi | --localstated \
581 | --localstate | --localstat | --localsta | --localst \
582 | --locals | --local | --loca | --loc | --lo)
583 ac_prev
=localstatedir
;;
584 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
585 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
586 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
587 localstatedir
="$ac_optarg" ;;
589 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
591 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
592 mandir
="$ac_optarg" ;;
595 # Obsolete; use --without-fp.
598 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
602 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
603 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
606 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
607 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
608 | --oldin | --oldi | --old | --ol | --o)
609 ac_prev
=oldincludedir
;;
610 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
611 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
612 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
613 oldincludedir
="$ac_optarg" ;;
615 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
617 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
618 prefix
="$ac_optarg" ;;
620 -program-prefix | --program-prefix | --program-prefi | --program-pref \
621 | --program-pre | --program-pr | --program-p)
622 ac_prev
=program_prefix
;;
623 -program-prefix=* | --program-prefix=* | --program-prefi=* \
624 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
625 program_prefix
="$ac_optarg" ;;
627 -program-suffix | --program-suffix | --program-suffi | --program-suff \
628 | --program-suf | --program-su | --program-s)
629 ac_prev
=program_suffix
;;
630 -program-suffix=* | --program-suffix=* | --program-suffi=* \
631 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
632 program_suffix
="$ac_optarg" ;;
634 -program-transform-name | --program-transform-name \
635 | --program-transform-nam | --program-transform-na \
636 | --program-transform-n | --program-transform- \
637 | --program-transform | --program-transfor \
638 | --program-transfo | --program-transf \
639 | --program-trans | --program-tran \
640 | --progr-tra | --program-tr | --program-t)
641 ac_prev
=program_transform_name
;;
642 -program-transform-name=* | --program-transform-name=* \
643 | --program-transform-nam=* | --program-transform-na=* \
644 | --program-transform-n=* | --program-transform-=* \
645 | --program-transform=* | --program-transfor=* \
646 | --program-transfo=* | --program-transf=* \
647 | --program-trans=* | --program-tran=* \
648 | --progr-tra=* | --program-tr=* | --program-t=*)
649 program_transform_name
="$ac_optarg" ;;
651 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
652 | -silent | --silent | --silen | --sile | --sil)
655 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
657 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
659 sbindir
="$ac_optarg" ;;
661 -sharedstatedir | --sharedstatedir | --sharedstatedi \
662 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
663 | --sharedst | --shareds | --shared | --share | --shar \
665 ac_prev
=sharedstatedir
;;
666 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
667 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
668 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
670 sharedstatedir
="$ac_optarg" ;;
672 -site | --site | --sit)
674 -site=* | --site=* | --sit=*)
677 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
679 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
680 srcdir
="$ac_optarg" ;;
682 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
683 | --syscon | --sysco | --sysc | --sys | --sy)
684 ac_prev
=sysconfdir
;;
685 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
686 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
687 sysconfdir
="$ac_optarg" ;;
689 -target | --target | --targe | --targ | --tar | --ta | --t)
691 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
692 target
="$ac_optarg" ;;
694 -v | -verbose | --verbose | --verbos | --verbo | --verb)
697 -version | --version | --versio | --versi | --vers)
698 echo "configure generated by autoconf version 2.13"
702 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
703 # Reject names that are not valid shell variable names.
704 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
705 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
707 ac_package
=`echo $ac_package| sed 's/-/_/g'`
712 eval "with_${ac_package}='$ac_optarg'" ;;
714 -without-* | --without-*)
715 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
716 # Reject names that are not valid shell variable names.
717 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
718 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
720 ac_package
=`echo $ac_package| sed 's/-/_/g'`
721 eval "with_${ac_package}=no" ;;
724 # Obsolete; use --with-x.
727 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
728 | --x-incl | --x-inc | --x-in | --x-i)
729 ac_prev
=x_includes
;;
730 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
731 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
732 x_includes
="$ac_optarg" ;;
734 -x-libraries | --x-libraries | --x-librarie | --x-librari \
735 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
736 ac_prev
=x_libraries
;;
737 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
738 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
739 x_libraries
="$ac_optarg" ;;
741 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
745 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
746 echo "configure: warning: $ac_option: invalid host type" 1>&2
748 if test "x$nonopt" != xNONE
; then
749 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
757 if test -n "$ac_prev"; then
758 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
761 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
763 # File descriptor usage:
766 # 2 errors and warnings
767 # 3 some systems may open it to /dev/tty
768 # 4 used on the Kubota Titan
769 # 6 checking for... messages and results
770 # 5 compiler messages saved in config.log
771 if test "$silent" = yes; then
779 This file contains any messages produced by compilers while
780 running configure, to aid debugging if configure makes a mistake.
783 # Strip out --no-create and --no-recursion so they do not pile up.
784 # Also quote any args containing shell metacharacters.
789 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
790 | --no-cr | --no-c) ;;
791 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
792 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
793 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
794 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
795 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
800 # Only set these to C if already set. These must not be set unconditionally
801 # because not all systems understand e.g. LANG=C (notably SCO).
802 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
803 # Non-C LC_CTYPE values break the ctype check.
804 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
805 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
806 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
807 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
809 # confdefs.h avoids OS command line length limits that DEFS can exceed.
810 rm -rf conftest
* confdefs.h
811 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
814 # A filename unique to this package, relative to the directory that
815 # configure is in, which we can look for to find out if srcdir is correct.
816 ac_unique_file
=wx
-config.
in
818 # Find the source files, if location was not specified.
819 if test -z "$srcdir"; then
820 ac_srcdir_defaulted
=yes
821 # Try the directory containing this script, then its parent.
823 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
824 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
826 if test ! -r $srcdir/$ac_unique_file; then
830 ac_srcdir_defaulted
=no
832 if test ! -r $srcdir/$ac_unique_file; then
833 if test "$ac_srcdir_defaulted" = yes; then
834 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
836 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
839 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
841 # Prefer explicitly selected file to automatically selected ones.
842 if test -z "$CONFIG_SITE"; then
843 if test "x$prefix" != xNONE
; then
844 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
846 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
849 for ac_site_file
in $CONFIG_SITE; do
850 if test -r "$ac_site_file"; then
851 echo "loading site script $ac_site_file"
856 if test -r "$cache_file"; then
857 echo "loading cache $cache_file"
860 echo "creating cache $cache_file"
865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
866 ac_cpp
='$CPP $CPPFLAGS'
867 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
868 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
869 cross_compiling
=$ac_cv_prog_cc_cross
873 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
874 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
875 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
882 ac_n
= ac_c
='\c' ac_t
=
888 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
889 if test -f $ac_dir/install-sh; then
891 ac_install_sh
="$ac_aux_dir/install-sh -c"
893 elif test -f $ac_dir/install.sh
; then
895 ac_install_sh
="$ac_aux_dir/install.sh -c"
899 if test -z "$ac_aux_dir"; then
900 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
902 ac_config_guess
=$ac_aux_dir/config.guess
903 ac_config_sub
=$ac_aux_dir/config.sub
904 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
907 # Do some error checking and defaulting for the host and target type.
909 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
912 # 1. You are not allowed to specify --host, --target, and nonopt at the
914 # 2. Host defaults to nonopt.
915 # 3. If nonopt is not specified, then host defaults to the current host,
916 # as determined by config.guess.
917 # 4. Target and build default to nonopt.
918 # 5. If nonopt is not specified, then target and build default to host.
920 # The aliases save the names the user supplied, while $host etc.
921 # will get canonicalized.
922 case $host---$target---$nonopt in
923 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
924 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
928 # Make sure we can run config.sub.
929 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
930 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
933 echo $ac_n "checking host system type""... $ac_c" 1>&6
934 echo "configure:935: checking host system type" >&5
937 case "$host_alias" in
941 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
942 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
944 *) host_alias
=$nonopt ;;
948 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
949 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
950 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
951 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
952 echo "$ac_t""$host" 1>&6
954 echo $ac_n "checking target system type""... $ac_c" 1>&6
955 echo "configure:956: checking target system type" >&5
958 case "$target_alias" in
961 NONE
) target_alias
=$host_alias ;;
962 *) target_alias
=$nonopt ;;
966 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
967 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
968 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
969 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
970 echo "$ac_t""$target" 1>&6
972 echo $ac_n "checking build system type""... $ac_c" 1>&6
973 echo "configure:974: checking build system type" >&5
976 case "$build_alias" in
979 NONE
) build_alias
=$host_alias ;;
980 *) build_alias
=$nonopt ;;
984 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
985 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
986 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
987 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
988 echo "$ac_t""$build" 1>&6
990 test "$host_alias" != "$target_alias" &&
991 test "$program_prefix$program_suffix$program_transform_name" = \
993 program_prefix
=${target_alias}-
997 WX_MAJOR_VERSION_NUMBER
=2
998 WX_MINOR_VERSION_NUMBER
=3
1001 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1002 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1037 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1039 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1044 DEFAULT_wxUSE_MOTIF
=0
1047 DEFAULT_wxUSE_WINE
=0
1049 DEFAULT_DEFAULT_wxUSE_GTK
=0
1050 DEFAULT_DEFAULT_wxUSE_MAC
=0
1051 DEFAULT_DEFAULT_wxUSE_MGL
=0
1052 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1053 DEFAULT_DEFAULT_wxUSE_MSW
=0
1054 DEFAULT_DEFAULT_wxUSE_PM
=0
1055 DEFAULT_DEFAULT_wxUSE_WINE
=0
1062 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1063 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1064 cat >> confdefs.h
<<\EOF
1071 cat >> confdefs.h
<<\EOF
1076 if test "x$TMP" = "xalpha"; then
1078 cat >> confdefs.h
<<\EOF
1083 DEFAULT_DEFAULT_wxUSE_GTK
=1
1085 *-*-irix5* | *-*-irix6* )
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1096 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1102 cat >> confdefs.h
<<\EOF
1106 cat >> confdefs.h
<<\EOF
1107 #define __SOLARIS__ 1
1110 cat >> confdefs.h
<<\EOF
1114 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1115 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1121 cat >> confdefs.h
<<\EOF
1125 cat >> confdefs.h
<<\EOF
1129 cat >> confdefs.h
<<\EOF
1133 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1138 cat >> confdefs.h
<<\EOF
1139 #define __FREEBSD__ 1
1142 cat >> confdefs.h
<<\EOF
1146 DEFAULT_DEFAULT_wxUSE_GTK
=1
1151 cat >> confdefs.h
<<\EOF
1152 #define __FREEBSD__ 1
1155 cat >> confdefs.h
<<\EOF
1156 #define __OPENBSD__ 1
1159 DEFAULT_DEFAULT_wxUSE_GTK
=1
1164 cat >> confdefs.h
<<\EOF
1165 #define __FREEBSD__ 1
1168 cat >> confdefs.h
<<\EOF
1169 #define __NETBSD__ 1
1172 DEFAULT_DEFAULT_wxUSE_GTK
=1
1177 cat >> confdefs.h
<<\EOF
1181 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1186 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1191 cat >> confdefs.h
<<\EOF
1195 cat >> confdefs.h
<<\EOF
1199 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1204 cat >> confdefs.h
<<\EOF
1208 cat >> confdefs.h
<<\EOF
1212 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1218 cat >> confdefs.h
<<\EOF
1222 cat >> confdefs.h
<<\EOF
1226 cat >> confdefs.h
<<\EOF
1230 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1233 *-*-cygwin* | *-*-mingw32* )
1236 cat >> confdefs.h
<<\EOF
1240 cat >> confdefs.h
<<\EOF
1244 cat >> confdefs.h
<<\EOF
1245 #define __WINDOWS__ 1
1248 cat >> confdefs.h
<<\EOF
1249 #define __GNUWIN32__ 1
1252 cat >> confdefs.h
<<\EOF
1256 cat >> confdefs.h
<<\EOF
1257 #define WINVER 0x0400
1261 DEFAULT_DEFAULT_wxUSE_MSW
=1
1265 cat >> confdefs.h
<<\EOF
1270 DEFAULT_DEFAULT_wxUSE_PM
=1
1276 cat >> confdefs.h
<<\EOF
1280 cat >> confdefs.h
<<\EOF
1281 #define __DARWIN__ 1
1284 cat >> confdefs.h
<<\EOF
1288 DEFAULT_DEFAULT_wxUSE_MAC
=1
1293 cat >> confdefs.h
<<\EOF
1300 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1303 if test "$USE_UNIX" = 1 ; then
1305 cat >> confdefs.h
<<\EOF
1310 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1311 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1314 if test "$USE_BEOS" = 1; then
1315 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1316 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1319 if test "$USE_LINUX" = 1; then
1320 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1321 echo "configure:1322: checking for gettext in -lc" >&5
1322 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1324 echo $ac_n "(cached) $ac_c" 1>&6
1326 ac_save_LIBS
="$LIBS"
1328 cat > conftest.
$ac_ext <<EOF
1329 #line 1330 "configure"
1330 #include "confdefs.h"
1331 /* Override any gcc2 internal prototype to avoid an error. */
1332 /* We use char because int might match the return type of a gcc2
1333 builtin and then its argument prototype would still apply. */
1340 if { (eval echo configure
:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1342 eval "ac_cv_lib_$ac_lib_var=yes"
1344 echo "configure: failed program was:" >&5
1345 cat conftest.
$ac_ext >&5
1347 eval "ac_cv_lib_$ac_lib_var=no"
1350 LIBS
="$ac_save_LIBS"
1353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1354 echo "$ac_t""yes" 1>&6
1355 cat >> confdefs.h
<<\EOF
1356 #define wxHAVE_GLIBC2 1
1360 echo "$ac_t""no" 1>&6
1368 wx_arg_cache_file
="configarg.cache"
1369 echo "loading argument cache $wx_arg_cache_file"
1370 rm -f ${wx_arg_cache_file}.tmp
1371 touch ${wx_arg_cache_file}.tmp
1372 touch ${wx_arg_cache_file}
1376 if test $DEBUG_CONFIGURE = 1; then
1377 DEFAULT_wxUSE_UNIVERSAL
=no
1379 DEFAULT_wxUSE_THREADS
=yes
1381 DEFAULT_wxUSE_SHARED
=yes
1382 DEFAULT_wxUSE_BURNT_NAME
=no
1383 DEFAULT_wxUSE_OPTIMISE
=no
1384 DEFAULT_wxUSE_PROFILE
=no
1385 DEFAULT_wxUSE_NO_DEPS
=no
1386 DEFAULT_wxUSE_NO_RTTI
=no
1387 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1388 DEFAULT_wxUSE_PERMISSIVE
=no
1389 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1390 DEFAULT_wxUSE_DEBUG_INFO
=yes
1391 DEFAULT_wxUSE_DEBUG_GDB
=yes
1392 DEFAULT_wxUSE_MEM_TRACING
=no
1393 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1394 DEFAULT_wxUSE_DMALLOC
=no
1395 DEFAULT_wxUSE_APPLE_IEEE
=no
1397 DEFAULT_wxUSE_LOG
=yes
1398 DEFAULT_wxUSE_LOGWINDOW
=no
1399 DEFAULT_wxUSE_LOGGUI
=no
1401 DEFAULT_wxUSE_GUI
=yes
1402 DEFAULT_wxUSE_CONTROLS
=no
1404 DEFAULT_wxUSE_REGEX
=no
1405 DEFAULT_wxUSE_ZLIB
=no
1406 DEFAULT_wxUSE_LIBPNG
=no
1407 DEFAULT_wxUSE_LIBJPEG
=no
1408 DEFAULT_wxUSE_LIBTIFF
=no
1409 DEFAULT_wxUSE_ODBC
=no
1410 DEFAULT_wxUSE_FREETYPE
=no
1411 DEFAULT_wxUSE_OPENGL
=no
1413 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1414 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1415 DEFAULT_wxUSE_STD_IOSTREAM
=no
1416 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1417 DEFAULT_wxUSE_DATETIME
=no
1418 DEFAULT_wxUSE_TIMEDATE
=no
1419 DEFAULT_wxUSE_TIMER
=no
1420 DEFAULT_wxUSE_STOPWATCH
=no
1421 DEFAULT_wxUSE_FILE
=no
1422 DEFAULT_wxUSE_FFILE
=no
1423 DEFAULT_wxUSE_TEXTFILE
=no
1424 DEFAULT_wxUSE_WAVE
=no
1425 DEFAULT_wxUSE_INTL
=no
1426 DEFAULT_wxUSE_CONFIG
=no
1427 DEFAULT_wxUSE_FONTMAP
=no
1428 DEFAULT_wxUSE_STREAMS
=no
1429 DEFAULT_wxUSE_SOCKETS
=no
1430 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1431 DEFAULT_wxUSE_SERIAL
=no
1432 DEFAULT_wxUSE_JOYSTICK
=no
1433 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1434 DEFAULT_wxUSE_LONGLONG
=no
1435 DEFAULT_wxUSE_GEOMETRY
=no
1437 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1438 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1439 DEFAULT_wxUSE_POSTSCRIPT
=no
1441 DEFAULT_wxUSE_X_RESOURCES
=no
1442 DEFAULT_wxUSE_CLIPBOARD
=no
1443 DEFAULT_wxUSE_TOOLTIPS
=no
1444 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1445 DEFAULT_wxUSE_DRAGIMAGE
=no
1446 DEFAULT_wxUSE_SPLINES
=no
1448 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1449 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1450 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1452 DEFAULT_wxUSE_PROLOGIO
=no
1453 DEFAULT_wxUSE_RESOURCES
=no
1454 DEFAULT_wxUSE_CONSTRAINTS
=no
1455 DEFAULT_wxUSE_IPC
=no
1456 DEFAULT_wxUSE_HELP
=no
1457 DEFAULT_wxUSE_MS_HTML_HELP
=no
1458 DEFAULT_wxUSE_WXHTML_HELP
=no
1459 DEFAULT_wxUSE_TREELAYOUT
=no
1460 DEFAULT_wxUSE_METAFILE
=no
1461 DEFAULT_wxUSE_MIMETYPE
=no
1462 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1464 DEFAULT_wxUSE_COMMONDLGS
=no
1465 DEFAULT_wxUSE_CHOICEDLG
=no
1466 DEFAULT_wxUSE_COLOURDLG
=no
1467 DEFAULT_wxUSE_DIRDLG
=no
1468 DEFAULT_wxUSE_FILEDLG
=no
1469 DEFAULT_wxUSE_FONTDLG
=no
1470 DEFAULT_wxUSE_MSGDLG
=no
1471 DEFAULT_wxUSE_NUMBERDLG
=no
1472 DEFAULT_wxUSE_TEXTDLG
=no
1473 DEFAULT_wxUSE_STARTUP_TIPS
=no
1474 DEFAULT_wxUSE_PROGRESSDLG
=no
1475 DEFAULT_wxUSE_WIZARDDLG
=no
1477 DEFAULT_wxUSE_MENUS
=no
1478 DEFAULT_wxUSE_MINIFRAME
=no
1479 DEFAULT_wxUSE_HTML
=no
1480 DEFAULT_wxUSE_FILESYSTEM
=no
1481 DEFAULT_wxUSE_FS_INET
=no
1482 DEFAULT_wxUSE_FS_ZIP
=no
1483 DEFAULT_wxUSE_BUSYINFO
=no
1484 DEFAULT_wxUSE_ZIPSTREAM
=no
1485 DEFAULT_wxUSE_VALIDATORS
=no
1487 DEFAULT_wxUSE_ACCEL
=no
1488 DEFAULT_wxUSE_BUTTON
=no
1489 DEFAULT_wxUSE_BMPBUTTON
=no
1490 DEFAULT_wxUSE_CALCTRL
=no
1491 DEFAULT_wxUSE_CARET
=no
1492 DEFAULT_wxUSE_CHECKBOX
=no
1493 DEFAULT_wxUSE_CHECKLST
=no
1494 DEFAULT_wxUSE_CHOICE
=no
1495 DEFAULT_wxUSE_COMBOBOX
=no
1496 DEFAULT_wxUSE_GAUGE
=no
1497 DEFAULT_wxUSE_GRID
=no
1498 DEFAULT_wxUSE_NEW_GRID
=no
1499 DEFAULT_wxUSE_IMAGLIST
=no
1500 DEFAULT_wxUSE_LISTBOX
=no
1501 DEFAULT_wxUSE_LISTCTRL
=no
1502 DEFAULT_wxUSE_NOTEBOOK
=no
1503 DEFAULT_wxUSE_PROPSHEET
=no
1504 DEFAULT_wxUSE_RADIOBOX
=no
1505 DEFAULT_wxUSE_RADIOBTN
=no
1506 DEFAULT_wxUSE_SASH
=no
1507 DEFAULT_wxUSE_SCROLLBAR
=no
1508 DEFAULT_wxUSE_SLIDER
=no
1509 DEFAULT_wxUSE_SPINBTN
=no
1510 DEFAULT_wxUSE_SPINCTRL
=no
1511 DEFAULT_wxUSE_SPLITTER
=no
1512 DEFAULT_wxUSE_STATBMP
=no
1513 DEFAULT_wxUSE_STATBOX
=no
1514 DEFAULT_wxUSE_STATLINE
=no
1515 DEFAULT_wxUSE_STATTEXT
=no
1516 DEFAULT_wxUSE_STATUSBAR
=yes
1517 DEFAULT_wxUSE_TABDIALOG
=no
1518 DEFAULT_wxUSE_TEXTCTRL
=no
1519 DEFAULT_wxUSE_TOGGLEBTN
=no
1520 DEFAULT_wxUSE_TOOLBAR
=no
1521 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1522 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1523 DEFAULT_wxUSE_TREECTRL
=no
1524 DEFAULT_wxUSE_POPUPWIN
=no
1526 DEFAULT_wxUSE_UNICODE
=no
1527 DEFAULT_wxUSE_WCSRTOMBS
=no
1529 DEFAULT_wxUSE_IMAGE
=no
1530 DEFAULT_wxUSE_GIF
=no
1531 DEFAULT_wxUSE_PCX
=no
1532 DEFAULT_wxUSE_PNM
=no
1533 DEFAULT_wxUSE_XPM
=no
1535 DEFAULT_wxUSE_UNIVERSAL
=no
1537 DEFAULT_wxUSE_THREADS
=yes
1539 DEFAULT_wxUSE_SHARED
=yes
1540 DEFAULT_wxUSE_BURNT_NAME
=no
1541 DEFAULT_wxUSE_OPTIMISE
=yes
1542 DEFAULT_wxUSE_PROFILE
=no
1543 DEFAULT_wxUSE_NO_DEPS
=no
1544 DEFAULT_wxUSE_NO_RTTI
=no
1545 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1546 DEFAULT_wxUSE_PERMISSIVE
=no
1547 DEFAULT_wxUSE_DEBUG_FLAG
=no
1548 DEFAULT_wxUSE_DEBUG_INFO
=no
1549 DEFAULT_wxUSE_DEBUG_GDB
=no
1550 DEFAULT_wxUSE_MEM_TRACING
=no
1551 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1552 DEFAULT_wxUSE_DMALLOC
=no
1553 DEFAULT_wxUSE_APPLE_IEEE
=yes
1555 DEFAULT_wxUSE_LOG
=yes
1556 DEFAULT_wxUSE_LOGWINDOW
=yes
1557 DEFAULT_wxUSE_LOGGUI
=yes
1559 DEFAULT_wxUSE_GUI
=yes
1561 DEFAULT_wxUSE_REGEX
=yes
1562 DEFAULT_wxUSE_ZLIB
=yes
1563 DEFAULT_wxUSE_LIBPNG
=yes
1564 DEFAULT_wxUSE_LIBJPEG
=yes
1565 DEFAULT_wxUSE_LIBTIFF
=yes
1566 DEFAULT_wxUSE_ODBC
=no
1567 DEFAULT_wxUSE_FREETYPE
=no
1568 DEFAULT_wxUSE_OPENGL
=no
1570 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1571 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1572 DEFAULT_wxUSE_STD_IOSTREAM
=no
1573 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1574 DEFAULT_wxUSE_DATETIME
=yes
1575 DEFAULT_wxUSE_TIMEDATE
=no
1576 DEFAULT_wxUSE_TIMER
=yes
1577 DEFAULT_wxUSE_STOPWATCH
=yes
1578 DEFAULT_wxUSE_FILE
=yes
1579 DEFAULT_wxUSE_FFILE
=yes
1580 DEFAULT_wxUSE_TEXTFILE
=yes
1581 DEFAULT_wxUSE_WAVE
=no
1582 DEFAULT_wxUSE_INTL
=yes
1583 DEFAULT_wxUSE_CONFIG
=yes
1584 DEFAULT_wxUSE_FONTMAP
=yes
1585 DEFAULT_wxUSE_STREAMS
=yes
1586 DEFAULT_wxUSE_SOCKETS
=yes
1587 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1588 DEFAULT_wxUSE_SERIAL
=yes
1589 DEFAULT_wxUSE_JOYSTICK
=yes
1590 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1591 DEFAULT_wxUSE_LONGLONG
=yes
1592 DEFAULT_wxUSE_GEOMETRY
=yes
1594 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1595 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1596 DEFAULT_wxUSE_POSTSCRIPT
=yes
1598 DEFAULT_wxUSE_X_RESOURCES
=no
1599 DEFAULT_wxUSE_CLIPBOARD
=yes
1600 DEFAULT_wxUSE_TOOLTIPS
=yes
1601 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1602 DEFAULT_wxUSE_DRAGIMAGE
=yes
1603 DEFAULT_wxUSE_SPLINES
=yes
1605 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1606 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1607 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1609 DEFAULT_wxUSE_PROLOGIO
=yes
1610 DEFAULT_wxUSE_RESOURCES
=yes
1611 DEFAULT_wxUSE_CONSTRAINTS
=yes
1612 DEFAULT_wxUSE_IPC
=yes
1613 DEFAULT_wxUSE_HELP
=yes
1614 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1615 DEFAULT_wxUSE_WXHTML_HELP
=yes
1616 DEFAULT_wxUSE_TREELAYOUT
=yes
1617 DEFAULT_wxUSE_METAFILE
=yes
1618 DEFAULT_wxUSE_MIMETYPE
=yes
1619 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1621 DEFAULT_wxUSE_COMMONDLGS
=yes
1622 DEFAULT_wxUSE_CHOICEDLG
=yes
1623 DEFAULT_wxUSE_COLOURDLG
=yes
1624 DEFAULT_wxUSE_DIRDLG
=yes
1625 DEFAULT_wxUSE_FILEDLG
=yes
1626 DEFAULT_wxUSE_FONTDLG
=yes
1627 DEFAULT_wxUSE_MSGDLG
=yes
1628 DEFAULT_wxUSE_NUMBERDLG
=yes
1629 DEFAULT_wxUSE_TEXTDLG
=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_IMAGE
=yes
1687 DEFAULT_wxUSE_GIF
=yes
1688 DEFAULT_wxUSE_PCX
=yes
1689 DEFAULT_wxUSE_PNM
=yes
1690 DEFAULT_wxUSE_XPM
=yes
1695 for toolkit
in `echo $ALL_TOOLKITS`; do
1696 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1697 if test "x$LINE" != x
; then
1698 has_toolkit_in_cache
=1
1699 eval "DEFAULT_$LINE"
1700 eval "CACHE_$toolkit=1"
1706 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1707 echo "configure:1708: checking for --enable-gui" >&5
1709 # Check whether --enable-gui or --disable-gui was given.
1710 if test "${enable_gui+set}" = set; then
1711 enableval
="$enable_gui"
1713 if test "$enableval" = yes; then
1714 ac_cv_use_gui
='wxUSE_GUI=yes'
1716 ac_cv_use_gui
='wxUSE_GUI=no'
1721 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1722 if test "x$LINE" != x
; then
1723 eval "DEFAULT_$LINE"
1728 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1733 eval "$ac_cv_use_gui"
1734 if test "$no_cache" != 1; then
1735 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1738 if test "$wxUSE_GUI" = yes; then
1739 echo "$ac_t""yes" 1>&6
1741 echo "$ac_t""no" 1>&6
1745 if test "$wxUSE_GUI" = "yes"; then
1748 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1749 echo "configure:1750: checking for --enable-universal" >&5
1751 # Check whether --enable-universal or --disable-universal was given.
1752 if test "${enable_universal+set}" = set; then
1753 enableval
="$enable_universal"
1755 if test "$enableval" = yes; then
1756 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1758 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1763 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1764 if test "x$LINE" != x
; then
1765 eval "DEFAULT_$LINE"
1770 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1775 eval "$ac_cv_use_universal"
1776 if test "$no_cache" != 1; then
1777 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1780 if test "$wxUSE_UNIVERSAL" = yes; then
1781 echo "$ac_t""yes" 1>&6
1783 echo "$ac_t""no" 1>&6
1786 # Check whether --with-gtk or --without-gtk was given.
1787 if test "${with_gtk+set}" = set; then
1789 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1792 # Check whether --with-motif or --without-motif was given.
1793 if test "${with_motif+set}" = set; then
1794 withval
="$with_motif"
1795 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1798 # Check whether --with-mac or --without-mac was given.
1799 if test "${with_mac+set}" = set; then
1801 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1804 # Check whether --with-wine or --without-wine was given.
1805 if test "${with_wine+set}" = set; then
1806 withval
="$with_wine"
1807 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1810 # Check whether --with-cygwin or --without-cygwin was given.
1811 if test "${with_cygwin+set}" = set; then
1812 withval
="$with_cygwin"
1813 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1816 # Check whether --with-mingw or --without-mingw was given.
1817 if test "${with_mingw+set}" = set; then
1818 withval
="$with_mingw"
1819 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1822 # Check whether --with-pm or --without-pm was given.
1823 if test "${with_pm+set}" = set; then
1825 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1828 # Check whether --with-mgl or --without-mgl was given.
1829 if test "${with_mgl+set}" = set; then
1831 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1835 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1836 if test "${enable_gtk2+set}" = set; then
1837 enableval
="$enable_gtk2"
1845 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1846 echo "configure:1847: checking for --with-libpng" >&5
1848 # Check whether --with-libpng or --without-libpng was given.
1849 if test "${with_libpng+set}" = set; then
1850 withval
="$with_libpng"
1852 if test "$withval" = yes; then
1853 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1854 elif test "$withval" = no
; then
1855 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1856 elif test "$withval" = sys
; then
1857 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1859 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1864 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1865 if test "x$LINE" != x
; then
1866 eval "DEFAULT_$LINE"
1871 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1876 eval "$ac_cv_use_libpng"
1877 if test "$no_cache" != 1; then
1878 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1881 if test "$wxUSE_LIBPNG" = yes; then
1882 echo "$ac_t""yes" 1>&6
1883 elif test "$wxUSE_LIBPNG" = no
; then
1884 echo "$ac_t""no" 1>&6
1885 elif test "$wxUSE_LIBPNG" = sys
; then
1886 echo "$ac_t""system version" 1>&6
1888 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1892 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1893 echo "configure:1894: checking for --with-libjpeg" >&5
1895 # Check whether --with-libjpeg or --without-libjpeg was given.
1896 if test "${with_libjpeg+set}" = set; then
1897 withval
="$with_libjpeg"
1899 if test "$withval" = yes; then
1900 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1901 elif test "$withval" = no
; then
1902 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1903 elif test "$withval" = sys
; then
1904 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1906 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1911 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1912 if test "x$LINE" != x
; then
1913 eval "DEFAULT_$LINE"
1918 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1923 eval "$ac_cv_use_libjpeg"
1924 if test "$no_cache" != 1; then
1925 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1928 if test "$wxUSE_LIBJPEG" = yes; then
1929 echo "$ac_t""yes" 1>&6
1930 elif test "$wxUSE_LIBJPEG" = no
; then
1931 echo "$ac_t""no" 1>&6
1932 elif test "$wxUSE_LIBJPEG" = sys
; then
1933 echo "$ac_t""system version" 1>&6
1935 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1939 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1940 echo "configure:1941: checking for --with-libtiff" >&5
1942 # Check whether --with-libtiff or --without-libtiff was given.
1943 if test "${with_libtiff+set}" = set; then
1944 withval
="$with_libtiff"
1946 if test "$withval" = yes; then
1947 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1948 elif test "$withval" = no
; then
1949 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1950 elif test "$withval" = sys
; then
1951 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1953 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1958 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1959 if test "x$LINE" != x
; then
1960 eval "DEFAULT_$LINE"
1965 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1970 eval "$ac_cv_use_libtiff"
1971 if test "$no_cache" != 1; then
1972 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1975 if test "$wxUSE_LIBTIFF" = yes; then
1976 echo "$ac_t""yes" 1>&6
1977 elif test "$wxUSE_LIBTIFF" = no
; then
1978 echo "$ac_t""no" 1>&6
1979 elif test "$wxUSE_LIBTIFF" = sys
; then
1980 echo "$ac_t""system version" 1>&6
1982 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1986 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1987 echo "configure:1988: checking for --with-freetype" >&5
1989 # Check whether --with-freetype or --without-freetype was given.
1990 if test "${with_freetype+set}" = set; then
1991 withval
="$with_freetype"
1993 if test "$withval" = yes; then
1994 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1995 elif test "$withval" = no
; then
1996 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1997 elif test "$withval" = sys
; then
1998 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2000 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2005 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2006 if test "x$LINE" != x
; then
2007 eval "DEFAULT_$LINE"
2012 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2017 eval "$ac_cv_use_freetype"
2018 if test "$no_cache" != 1; then
2019 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2022 if test "$wxUSE_FREETYPE" = yes; then
2023 echo "$ac_t""yes" 1>&6
2024 elif test "$wxUSE_FREETYPE" = no
; then
2025 echo "$ac_t""no" 1>&6
2026 elif test "$wxUSE_FREETYPE" = sys
; then
2027 echo "$ac_t""system version" 1>&6
2029 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2033 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2034 echo "configure:2035: checking for --with-opengl" >&5
2036 # Check whether --with-opengl or --without-opengl was given.
2037 if test "${with_opengl+set}" = set; then
2038 withval
="$with_opengl"
2040 if test "$withval" = yes; then
2041 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2043 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2048 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2049 if test "x$LINE" != x
; then
2050 eval "DEFAULT_$LINE"
2055 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2060 eval "$ac_cv_use_opengl"
2061 if test "$no_cache" != 1; then
2062 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2065 if test "$wxUSE_OPENGL" = yes; then
2066 echo "$ac_t""yes" 1>&6
2068 echo "$ac_t""no" 1>&6
2075 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2076 echo "configure:2077: checking for --with-dmalloc" >&5
2078 # Check whether --with-dmalloc or --without-dmalloc was given.
2079 if test "${with_dmalloc+set}" = set; then
2080 withval
="$with_dmalloc"
2082 if test "$withval" = yes; then
2083 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2085 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2090 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2091 if test "x$LINE" != x
; then
2092 eval "DEFAULT_$LINE"
2097 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2102 eval "$ac_cv_use_dmalloc"
2103 if test "$no_cache" != 1; then
2104 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2107 if test "$wxUSE_DMALLOC" = yes; then
2108 echo "$ac_t""yes" 1>&6
2110 echo "$ac_t""no" 1>&6
2114 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2115 echo "configure:2116: checking for --with-regex" >&5
2117 # Check whether --with-regex or --without-regex was given.
2118 if test "${with_regex+set}" = set; then
2119 withval
="$with_regex"
2121 if test "$withval" = yes; then
2122 ac_cv_use_regex
='wxUSE_REGEX=yes'
2123 elif test "$withval" = no
; then
2124 ac_cv_use_regex
='wxUSE_REGEX=no'
2125 elif test "$withval" = sys
; then
2126 ac_cv_use_regex
='wxUSE_REGEX=sys'
2128 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2133 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2134 if test "x$LINE" != x
; then
2135 eval "DEFAULT_$LINE"
2140 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2145 eval "$ac_cv_use_regex"
2146 if test "$no_cache" != 1; then
2147 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2150 if test "$wxUSE_REGEX" = yes; then
2151 echo "$ac_t""yes" 1>&6
2152 elif test "$wxUSE_REGEX" = no
; then
2153 echo "$ac_t""no" 1>&6
2154 elif test "$wxUSE_REGEX" = sys
; then
2155 echo "$ac_t""system version" 1>&6
2157 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2161 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2162 echo "configure:2163: checking for --with-zlib" >&5
2164 # Check whether --with-zlib or --without-zlib was given.
2165 if test "${with_zlib+set}" = set; then
2166 withval
="$with_zlib"
2168 if test "$withval" = yes; then
2169 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2170 elif test "$withval" = no
; then
2171 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2172 elif test "$withval" = sys
; then
2173 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2175 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2180 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2181 if test "x$LINE" != x
; then
2182 eval "DEFAULT_$LINE"
2187 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2192 eval "$ac_cv_use_zlib"
2193 if test "$no_cache" != 1; then
2194 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2197 if test "$wxUSE_ZLIB" = yes; then
2198 echo "$ac_t""yes" 1>&6
2199 elif test "$wxUSE_ZLIB" = no
; then
2200 echo "$ac_t""no" 1>&6
2201 elif test "$wxUSE_ZLIB" = sys
; then
2202 echo "$ac_t""system version" 1>&6
2204 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2208 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2209 echo "configure:2210: checking for --with-odbc" >&5
2211 # Check whether --with-odbc or --without-odbc was given.
2212 if test "${with_odbc+set}" = set; then
2213 withval
="$with_odbc"
2215 if test "$withval" = yes; then
2216 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2218 ac_cv_use_odbc
='wxUSE_ODBC=no'
2223 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2224 if test "x$LINE" != x
; then
2225 eval "DEFAULT_$LINE"
2230 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2235 eval "$ac_cv_use_odbc"
2236 if test "$no_cache" != 1; then
2237 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2240 if test "$wxUSE_ODBC" = yes; then
2241 echo "$ac_t""yes" 1>&6
2243 echo "$ac_t""no" 1>&6
2250 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2251 echo "configure:2252: checking for --enable-shared" >&5
2253 # Check whether --enable-shared or --disable-shared was given.
2254 if test "${enable_shared+set}" = set; then
2255 enableval
="$enable_shared"
2257 if test "$enableval" = yes; then
2258 ac_cv_use_shared
='wxUSE_SHARED=yes'
2260 ac_cv_use_shared
='wxUSE_SHARED=no'
2265 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2266 if test "x$LINE" != x
; then
2267 eval "DEFAULT_$LINE"
2272 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2277 eval "$ac_cv_use_shared"
2278 if test "$no_cache" != 1; then
2279 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2282 if test "$wxUSE_SHARED" = yes; then
2283 echo "$ac_t""yes" 1>&6
2285 echo "$ac_t""no" 1>&6
2289 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2290 echo "configure:2291: checking for --enable-burnt_name" >&5
2292 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2293 if test "${enable_burnt_name+set}" = set; then
2294 enableval
="$enable_burnt_name"
2296 if test "$enableval" = yes; then
2297 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2299 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2304 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2305 if test "x$LINE" != x
; then
2306 eval "DEFAULT_$LINE"
2311 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2316 eval "$ac_cv_use_burnt_name"
2317 if test "$no_cache" != 1; then
2318 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2321 if test "$wxUSE_BURNT_NAME" = yes; then
2322 echo "$ac_t""yes" 1>&6
2324 echo "$ac_t""no" 1>&6
2328 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2329 echo "configure:2330: checking for --enable-optimise" >&5
2331 # Check whether --enable-optimise or --disable-optimise was given.
2332 if test "${enable_optimise+set}" = set; then
2333 enableval
="$enable_optimise"
2335 if test "$enableval" = yes; then
2336 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2338 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2343 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2344 if test "x$LINE" != x
; then
2345 eval "DEFAULT_$LINE"
2350 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2355 eval "$ac_cv_use_optimise"
2356 if test "$no_cache" != 1; then
2357 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2360 if test "$wxUSE_OPTIMISE" = yes; then
2361 echo "$ac_t""yes" 1>&6
2363 echo "$ac_t""no" 1>&6
2367 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2368 echo "configure:2369: checking for --enable-debug" >&5
2370 # Check whether --enable-debug or --disable-debug was given.
2371 if test "${enable_debug+set}" = set; then
2372 enableval
="$enable_debug"
2374 if test "$enableval" = yes; then
2375 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2377 ac_cv_use_debug
='wxUSE_DEBUG=no'
2382 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2383 if test "x$LINE" != x
; then
2384 eval "DEFAULT_$LINE"
2389 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2394 eval "$ac_cv_use_debug"
2395 if test "$no_cache" != 1; then
2396 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2399 if test "$wxUSE_DEBUG" = yes; then
2400 echo "$ac_t""yes" 1>&6
2402 echo "$ac_t""no" 1>&6
2406 if test "$wxUSE_DEBUG" = "yes"; then
2407 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2408 DEFAULT_wxUSE_DEBUG_INFO
=yes
2409 elif test "$wxUSE_DEBUG" = "no"; then
2410 DEFAULT_wxUSE_DEBUG_FLAG
=no
2411 DEFAULT_wxUSE_DEBUG_INFO
=no
2415 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2416 echo "configure:2417: checking for --enable-debug_flag" >&5
2418 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2419 if test "${enable_debug_flag+set}" = set; then
2420 enableval
="$enable_debug_flag"
2422 if test "$enableval" = yes; then
2423 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2425 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2430 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2431 if test "x$LINE" != x
; then
2432 eval "DEFAULT_$LINE"
2437 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2442 eval "$ac_cv_use_debug_flag"
2443 if test "$no_cache" != 1; then
2444 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2447 if test "$wxUSE_DEBUG_FLAG" = yes; then
2448 echo "$ac_t""yes" 1>&6
2450 echo "$ac_t""no" 1>&6
2454 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2455 echo "configure:2456: checking for --enable-debug_info" >&5
2457 # Check whether --enable-debug_info or --disable-debug_info was given.
2458 if test "${enable_debug_info+set}" = set; then
2459 enableval
="$enable_debug_info"
2461 if test "$enableval" = yes; then
2462 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2464 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2469 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2470 if test "x$LINE" != x
; then
2471 eval "DEFAULT_$LINE"
2476 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2481 eval "$ac_cv_use_debug_info"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2486 if test "$wxUSE_DEBUG_INFO" = yes; then
2487 echo "$ac_t""yes" 1>&6
2489 echo "$ac_t""no" 1>&6
2493 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2494 echo "configure:2495: checking for --enable-debug_gdb" >&5
2496 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2497 if test "${enable_debug_gdb+set}" = set; then
2498 enableval
="$enable_debug_gdb"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2503 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2508 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2520 eval "$ac_cv_use_debug_gdb"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_DEBUG_GDB" = yes; then
2526 echo "$ac_t""yes" 1>&6
2528 echo "$ac_t""no" 1>&6
2532 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2533 echo "configure:2534: checking for --enable-debug_cntxt" >&5
2535 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2536 if test "${enable_debug_cntxt+set}" = set; then
2537 enableval
="$enable_debug_cntxt"
2539 if test "$enableval" = yes; then
2540 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2542 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2547 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2548 if test "x$LINE" != x
; then
2549 eval "DEFAULT_$LINE"
2554 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2559 eval "$ac_cv_use_debug_cntxt"
2560 if test "$no_cache" != 1; then
2561 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2564 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2565 echo "$ac_t""yes" 1>&6
2567 echo "$ac_t""no" 1>&6
2571 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2572 echo "configure:2573: checking for --enable-mem_tracing" >&5
2574 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2575 if test "${enable_mem_tracing+set}" = set; then
2576 enableval
="$enable_mem_tracing"
2578 if test "$enableval" = yes; then
2579 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2581 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2586 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x
; then
2588 eval "DEFAULT_$LINE"
2593 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2598 eval "$ac_cv_use_mem_tracing"
2599 if test "$no_cache" != 1; then
2600 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2603 if test "$wxUSE_MEM_TRACING" = yes; then
2604 echo "$ac_t""yes" 1>&6
2606 echo "$ac_t""no" 1>&6
2610 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2611 echo "configure:2612: checking for --enable-profile" >&5
2613 # Check whether --enable-profile or --disable-profile was given.
2614 if test "${enable_profile+set}" = set; then
2615 enableval
="$enable_profile"
2617 if test "$enableval" = yes; then
2618 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2620 ac_cv_use_profile
='wxUSE_PROFILE=no'
2625 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2626 if test "x$LINE" != x
; then
2627 eval "DEFAULT_$LINE"
2632 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2637 eval "$ac_cv_use_profile"
2638 if test "$no_cache" != 1; then
2639 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2642 if test "$wxUSE_PROFILE" = yes; then
2643 echo "$ac_t""yes" 1>&6
2645 echo "$ac_t""no" 1>&6
2649 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2650 echo "configure:2651: checking for --enable-no_rtti" >&5
2652 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2653 if test "${enable_no_rtti+set}" = set; then
2654 enableval
="$enable_no_rtti"
2656 if test "$enableval" = yes; then
2657 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2659 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2664 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x
; then
2666 eval "DEFAULT_$LINE"
2671 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2676 eval "$ac_cv_use_no_rtti"
2677 if test "$no_cache" != 1; then
2678 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2681 if test "$wxUSE_NO_RTTI" = yes; then
2682 echo "$ac_t""yes" 1>&6
2684 echo "$ac_t""no" 1>&6
2688 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2689 echo "configure:2690: checking for --enable-no_exceptions" >&5
2691 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2692 if test "${enable_no_exceptions+set}" = set; then
2693 enableval
="$enable_no_exceptions"
2695 if test "$enableval" = yes; then
2696 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2698 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2703 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2704 if test "x$LINE" != x
; then
2705 eval "DEFAULT_$LINE"
2710 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2715 eval "$ac_cv_use_no_exceptions"
2716 if test "$no_cache" != 1; then
2717 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2720 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2721 echo "$ac_t""yes" 1>&6
2723 echo "$ac_t""no" 1>&6
2727 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2728 echo "configure:2729: checking for --enable-permissive" >&5
2730 # Check whether --enable-permissive or --disable-permissive was given.
2731 if test "${enable_permissive+set}" = set; then
2732 enableval
="$enable_permissive"
2734 if test "$enableval" = yes; then
2735 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2737 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2742 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2743 if test "x$LINE" != x
; then
2744 eval "DEFAULT_$LINE"
2749 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2754 eval "$ac_cv_use_permissive"
2755 if test "$no_cache" != 1; then
2756 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2759 if test "$wxUSE_PERMISSIVE" = yes; then
2760 echo "$ac_t""yes" 1>&6
2762 echo "$ac_t""no" 1>&6
2766 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2767 echo "configure:2768: checking for --enable-no_deps" >&5
2769 # Check whether --enable-no_deps or --disable-no_deps was given.
2770 if test "${enable_no_deps+set}" = set; then
2771 enableval
="$enable_no_deps"
2773 if test "$enableval" = yes; then
2774 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2776 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2781 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2782 if test "x$LINE" != x
; then
2783 eval "DEFAULT_$LINE"
2788 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2793 eval "$ac_cv_use_no_deps"
2794 if test "$no_cache" != 1; then
2795 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2798 if test "$wxUSE_NO_DEPS" = yes; then
2799 echo "$ac_t""yes" 1>&6
2801 echo "$ac_t""no" 1>&6
2806 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2807 echo "configure:2808: checking for --enable-compat20" >&5
2809 # Check whether --enable-compat20 or --disable-compat20 was given.
2810 if test "${enable_compat20+set}" = set; then
2811 enableval
="$enable_compat20"
2813 if test "$enableval" = yes; then
2814 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2816 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2821 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2822 if test "x$LINE" != x
; then
2823 eval "DEFAULT_$LINE"
2828 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2833 eval "$ac_cv_use_compat20"
2834 if test "$no_cache" != 1; then
2835 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2838 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2839 echo "$ac_t""yes" 1>&6
2841 echo "$ac_t""no" 1>&6
2845 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2846 echo "configure:2847: checking for --enable-compat22" >&5
2848 # Check whether --enable-compat22 or --disable-compat22 was given.
2849 if test "${enable_compat22+set}" = set; then
2850 enableval
="$enable_compat22"
2852 if test "$enableval" = yes; then
2853 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2855 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2860 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2861 if test "x$LINE" != x
; then
2862 eval "DEFAULT_$LINE"
2867 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2872 eval "$ac_cv_use_compat22"
2873 if test "$no_cache" != 1; then
2874 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2877 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2878 echo "$ac_t""yes" 1>&6
2880 echo "$ac_t""no" 1>&6
2886 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2887 echo "configure:2888: checking for --enable-intl" >&5
2889 # Check whether --enable-intl or --disable-intl was given.
2890 if test "${enable_intl+set}" = set; then
2891 enableval
="$enable_intl"
2893 if test "$enableval" = yes; then
2894 ac_cv_use_intl
='wxUSE_INTL=yes'
2896 ac_cv_use_intl
='wxUSE_INTL=no'
2901 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2902 if test "x$LINE" != x
; then
2903 eval "DEFAULT_$LINE"
2908 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2913 eval "$ac_cv_use_intl"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2918 if test "$wxUSE_INTL" = yes; then
2919 echo "$ac_t""yes" 1>&6
2921 echo "$ac_t""no" 1>&6
2925 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2926 echo "configure:2927: checking for --enable-config" >&5
2928 # Check whether --enable-config or --disable-config was given.
2929 if test "${enable_config+set}" = set; then
2930 enableval
="$enable_config"
2932 if test "$enableval" = yes; then
2933 ac_cv_use_config
='wxUSE_CONFIG=yes'
2935 ac_cv_use_config
='wxUSE_CONFIG=no'
2940 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2941 if test "x$LINE" != x
; then
2942 eval "DEFAULT_$LINE"
2947 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2952 eval "$ac_cv_use_config"
2953 if test "$no_cache" != 1; then
2954 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2957 if test "$wxUSE_CONFIG" = yes; then
2958 echo "$ac_t""yes" 1>&6
2960 echo "$ac_t""no" 1>&6
2965 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2966 echo "configure:2967: checking for --enable-sockets" >&5
2968 # Check whether --enable-sockets or --disable-sockets was given.
2969 if test "${enable_sockets+set}" = set; then
2970 enableval
="$enable_sockets"
2972 if test "$enableval" = yes; then
2973 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2975 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2980 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x
; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2992 eval "$ac_cv_use_sockets"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_SOCKETS" = yes; then
2998 echo "$ac_t""yes" 1>&6
3000 echo "$ac_t""no" 1>&6
3005 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3006 echo "configure:3007: checking for --enable-ipc" >&5
3008 # Check whether --enable-ipc or --disable-ipc was given.
3009 if test "${enable_ipc+set}" = set; then
3010 enableval
="$enable_ipc"
3012 if test "$enableval" = yes; then
3013 ac_cv_use_ipc
='wxUSE_IPC=yes'
3015 ac_cv_use_ipc
='wxUSE_IPC=no'
3020 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3021 if test "x$LINE" != x
; then
3022 eval "DEFAULT_$LINE"
3027 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3032 eval "$ac_cv_use_ipc"
3033 if test "$no_cache" != 1; then
3034 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3037 if test "$wxUSE_IPC" = yes; then
3038 echo "$ac_t""yes" 1>&6
3040 echo "$ac_t""no" 1>&6
3045 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3046 echo "configure:3047: checking for --enable-cmdline" >&5
3048 # Check whether --enable-cmdline or --disable-cmdline was given.
3049 if test "${enable_cmdline+set}" = set; then
3050 enableval
="$enable_cmdline"
3052 if test "$enableval" = yes; then
3053 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3055 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3060 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3061 if test "x$LINE" != x
; then
3062 eval "DEFAULT_$LINE"
3067 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3072 eval "$ac_cv_use_cmdline"
3073 if test "$no_cache" != 1; then
3074 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3077 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3078 echo "$ac_t""yes" 1>&6
3080 echo "$ac_t""no" 1>&6
3084 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3085 echo "configure:3086: checking for --enable-datetime" >&5
3087 # Check whether --enable-datetime or --disable-datetime was given.
3088 if test "${enable_datetime+set}" = set; then
3089 enableval
="$enable_datetime"
3091 if test "$enableval" = yes; then
3092 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3094 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3099 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x
; then
3101 eval "DEFAULT_$LINE"
3106 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3111 eval "$ac_cv_use_datetime"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3116 if test "$wxUSE_DATETIME" = yes; then
3117 echo "$ac_t""yes" 1>&6
3119 echo "$ac_t""no" 1>&6
3123 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3124 echo "configure:3125: checking for --enable-timedate" >&5
3126 # Check whether --enable-timedate or --disable-timedate was given.
3127 if test "${enable_timedate+set}" = set; then
3128 enableval
="$enable_timedate"
3130 if test "$enableval" = yes; then
3131 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3133 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3138 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3150 eval "$ac_cv_use_timedate"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_TIMEDATE" = yes; then
3156 echo "$ac_t""yes" 1>&6
3158 echo "$ac_t""no" 1>&6
3162 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3163 echo "configure:3164: checking for --enable-stopwatch" >&5
3165 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3166 if test "${enable_stopwatch+set}" = set; then
3167 enableval
="$enable_stopwatch"
3169 if test "$enableval" = yes; then
3170 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3172 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3177 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3178 if test "x$LINE" != x
; then
3179 eval "DEFAULT_$LINE"
3184 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3189 eval "$ac_cv_use_stopwatch"
3190 if test "$no_cache" != 1; then
3191 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3194 if test "$wxUSE_STOPWATCH" = yes; then
3195 echo "$ac_t""yes" 1>&6
3197 echo "$ac_t""no" 1>&6
3201 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3202 echo "configure:3203: checking for --enable-dialupman" >&5
3204 # Check whether --enable-dialupman or --disable-dialupman was given.
3205 if test "${enable_dialupman+set}" = set; then
3206 enableval
="$enable_dialupman"
3208 if test "$enableval" = yes; then
3209 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3211 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3216 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3217 if test "x$LINE" != x
; then
3218 eval "DEFAULT_$LINE"
3223 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3228 eval "$ac_cv_use_dialupman"
3229 if test "$no_cache" != 1; then
3230 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3233 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3234 echo "$ac_t""yes" 1>&6
3236 echo "$ac_t""no" 1>&6
3240 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3241 echo "configure:3242: checking for --enable-apple_ieee" >&5
3243 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3244 if test "${enable_apple_ieee+set}" = set; then
3245 enableval
="$enable_apple_ieee"
3247 if test "$enableval" = yes; then
3248 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3250 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3255 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x
; then
3257 eval "DEFAULT_$LINE"
3262 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3267 eval "$ac_cv_use_apple_ieee"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3272 if test "$wxUSE_APPLE_IEEE" = yes; then
3273 echo "$ac_t""yes" 1>&6
3275 echo "$ac_t""no" 1>&6
3279 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3280 echo "configure:3281: checking for --enable-timer" >&5
3282 # Check whether --enable-timer or --disable-timer was given.
3283 if test "${enable_timer+set}" = set; then
3284 enableval
="$enable_timer"
3286 if test "$enableval" = yes; then
3287 ac_cv_use_timer
='wxUSE_TIMER=yes'
3289 ac_cv_use_timer
='wxUSE_TIMER=no'
3294 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x
; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3306 eval "$ac_cv_use_timer"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3311 if test "$wxUSE_TIMER" = yes; then
3312 echo "$ac_t""yes" 1>&6
3314 echo "$ac_t""no" 1>&6
3318 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3319 echo "configure:3320: checking for --enable-wave" >&5
3321 # Check whether --enable-wave or --disable-wave was given.
3322 if test "${enable_wave+set}" = set; then
3323 enableval
="$enable_wave"
3325 if test "$enableval" = yes; then
3326 ac_cv_use_wave
='wxUSE_WAVE=yes'
3328 ac_cv_use_wave
='wxUSE_WAVE=no'
3333 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3334 if test "x$LINE" != x
; then
3335 eval "DEFAULT_$LINE"
3340 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3345 eval "$ac_cv_use_wave"
3346 if test "$no_cache" != 1; then
3347 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3350 if test "$wxUSE_WAVE" = yes; then
3351 echo "$ac_t""yes" 1>&6
3353 echo "$ac_t""no" 1>&6
3357 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3358 echo "configure:3359: checking for --enable-fraction" >&5
3360 # Check whether --enable-fraction or --disable-fraction was given.
3361 if test "${enable_fraction+set}" = set; then
3362 enableval
="$enable_fraction"
3364 if test "$enableval" = yes; then
3365 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3367 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3372 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3373 if test "x$LINE" != x
; then
3374 eval "DEFAULT_$LINE"
3379 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3384 eval "$ac_cv_use_fraction"
3385 if test "$no_cache" != 1; then
3386 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3389 if test "$wxUSE_FRACTION" = yes; then
3390 echo "$ac_t""yes" 1>&6
3392 echo "$ac_t""no" 1>&6
3396 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3397 echo "configure:3398: checking for --enable-dynlib" >&5
3399 # Check whether --enable-dynlib or --disable-dynlib was given.
3400 if test "${enable_dynlib+set}" = set; then
3401 enableval
="$enable_dynlib"
3403 if test "$enableval" = yes; then
3404 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3406 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3411 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x
; then
3413 eval "DEFAULT_$LINE"
3418 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3423 eval "$ac_cv_use_dynlib"
3424 if test "$no_cache" != 1; then
3425 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3428 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3429 echo "$ac_t""yes" 1>&6
3431 echo "$ac_t""no" 1>&6
3435 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3436 echo "configure:3437: checking for --enable-longlong" >&5
3438 # Check whether --enable-longlong or --disable-longlong was given.
3439 if test "${enable_longlong+set}" = set; then
3440 enableval
="$enable_longlong"
3442 if test "$enableval" = yes; then
3443 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3445 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3450 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3451 if test "x$LINE" != x
; then
3452 eval "DEFAULT_$LINE"
3457 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3462 eval "$ac_cv_use_longlong"
3463 if test "$no_cache" != 1; then
3464 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3467 if test "$wxUSE_LONGLONG" = yes; then
3468 echo "$ac_t""yes" 1>&6
3470 echo "$ac_t""no" 1>&6
3474 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3475 echo "configure:3476: checking for --enable-geometry" >&5
3477 # Check whether --enable-geometry or --disable-geometry was given.
3478 if test "${enable_geometry+set}" = set; then
3479 enableval
="$enable_geometry"
3481 if test "$enableval" = yes; then
3482 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3484 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3489 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3490 if test "x$LINE" != x
; then
3491 eval "DEFAULT_$LINE"
3496 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3501 eval "$ac_cv_use_geometry"
3502 if test "$no_cache" != 1; then
3503 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3506 if test "$wxUSE_GEOMETRY" = yes; then
3507 echo "$ac_t""yes" 1>&6
3509 echo "$ac_t""no" 1>&6
3513 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3514 echo "configure:3515: checking for --enable-log" >&5
3516 # Check whether --enable-log or --disable-log was given.
3517 if test "${enable_log+set}" = set; then
3518 enableval
="$enable_log"
3520 if test "$enableval" = yes; then
3521 ac_cv_use_log
='wxUSE_LOG=yes'
3523 ac_cv_use_log
='wxUSE_LOG=no'
3528 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3529 if test "x$LINE" != x
; then
3530 eval "DEFAULT_$LINE"
3535 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3540 eval "$ac_cv_use_log"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3545 if test "$wxUSE_LOG" = yes; then
3546 echo "$ac_t""yes" 1>&6
3548 echo "$ac_t""no" 1>&6
3552 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3553 echo "configure:3554: checking for --enable-streams" >&5
3555 # Check whether --enable-streams or --disable-streams was given.
3556 if test "${enable_streams+set}" = set; then
3557 enableval
="$enable_streams"
3559 if test "$enableval" = yes; then
3560 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3562 ac_cv_use_streams
='wxUSE_STREAMS=no'
3567 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x
; then
3569 eval "DEFAULT_$LINE"
3574 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3579 eval "$ac_cv_use_streams"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3584 if test "$wxUSE_STREAMS" = yes; then
3585 echo "$ac_t""yes" 1>&6
3587 echo "$ac_t""no" 1>&6
3591 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3592 echo "configure:3593: checking for --enable-file" >&5
3594 # Check whether --enable-file or --disable-file was given.
3595 if test "${enable_file+set}" = set; then
3596 enableval
="$enable_file"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_file
='wxUSE_FILE=yes'
3601 ac_cv_use_file
='wxUSE_FILE=no'
3606 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3618 eval "$ac_cv_use_file"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3623 if test "$wxUSE_FILE" = yes; then
3624 echo "$ac_t""yes" 1>&6
3626 echo "$ac_t""no" 1>&6
3630 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3631 echo "configure:3632: checking for --enable-ffile" >&5
3633 # Check whether --enable-ffile or --disable-ffile was given.
3634 if test "${enable_ffile+set}" = set; then
3635 enableval
="$enable_ffile"
3637 if test "$enableval" = yes; then
3638 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3640 ac_cv_use_ffile
='wxUSE_FFILE=no'
3645 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3646 if test "x$LINE" != x
; then
3647 eval "DEFAULT_$LINE"
3652 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3657 eval "$ac_cv_use_ffile"
3658 if test "$no_cache" != 1; then
3659 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3662 if test "$wxUSE_FFILE" = yes; then
3663 echo "$ac_t""yes" 1>&6
3665 echo "$ac_t""no" 1>&6
3669 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3670 echo "configure:3671: checking for --enable-textfile" >&5
3672 # Check whether --enable-textfile or --disable-textfile was given.
3673 if test "${enable_textfile+set}" = set; then
3674 enableval
="$enable_textfile"
3676 if test "$enableval" = yes; then
3677 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3679 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3684 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3685 if test "x$LINE" != x
; then
3686 eval "DEFAULT_$LINE"
3691 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3696 eval "$ac_cv_use_textfile"
3697 if test "$no_cache" != 1; then
3698 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3701 if test "$wxUSE_TEXTFILE" = yes; then
3702 echo "$ac_t""yes" 1>&6
3704 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3709 echo "configure:3710: checking for --enable-fontmap" >&5
3711 # Check whether --enable-fontmap or --disable-fontmap was given.
3712 if test "${enable_fontmap+set}" = set; then
3713 enableval
="$enable_fontmap"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3718 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3723 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3735 eval "$ac_cv_use_fontmap"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_FONTMAP" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3747 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3748 echo "configure:3749: checking for --enable-unicode" >&5
3750 # Check whether --enable-unicode or --disable-unicode was given.
3751 if test "${enable_unicode+set}" = set; then
3752 enableval
="$enable_unicode"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3757 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3762 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3774 eval "$ac_cv_use_unicode"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_UNICODE" = yes; then
3780 echo "$ac_t""yes" 1>&6
3782 echo "$ac_t""no" 1>&6
3786 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3787 echo "configure:3788: checking for --enable-wcsrtombs" >&5
3789 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3790 if test "${enable_wcsrtombs+set}" = set; then
3791 enableval
="$enable_wcsrtombs"
3793 if test "$enableval" = yes; then
3794 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3796 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3801 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3802 if test "x$LINE" != x
; then
3803 eval "DEFAULT_$LINE"
3808 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3813 eval "$ac_cv_use_wcsrtombs"
3814 if test "$no_cache" != 1; then
3815 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3818 if test "$wxUSE_WCSRTOMBS" = yes; then
3819 echo "$ac_t""yes" 1>&6
3821 echo "$ac_t""no" 1>&6
3825 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3826 echo "configure:3827: checking for --enable-wxprintfv" >&5
3828 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3829 if test "${enable_wxprintfv+set}" = set; then
3830 enableval
="$enable_wxprintfv"
3832 if test "$enableval" = yes; then
3833 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3835 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3840 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x
; then
3842 eval "DEFAULT_$LINE"
3847 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3852 eval "$ac_cv_use_wxprintfv"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3857 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3858 echo "$ac_t""yes" 1>&6
3860 echo "$ac_t""no" 1>&6
3864 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3865 echo "configure:3866: checking for --enable-std_iostreams" >&5
3867 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3868 if test "${enable_std_iostreams+set}" = set; then
3869 enableval
="$enable_std_iostreams"
3871 if test "$enableval" = yes; then
3872 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3874 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3879 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3880 if test "x$LINE" != x
; then
3881 eval "DEFAULT_$LINE"
3886 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3891 eval "$ac_cv_use_std_iostreams"
3892 if test "$no_cache" != 1; then
3893 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3896 if test "$wxUSE_STD_IOSTREAM" = yes; then
3897 echo "$ac_t""yes" 1>&6
3899 echo "$ac_t""no" 1>&6
3903 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3904 echo "configure:3905: checking for --enable-filesystem" >&5
3906 # Check whether --enable-filesystem or --disable-filesystem was given.
3907 if test "${enable_filesystem+set}" = set; then
3908 enableval
="$enable_filesystem"
3910 if test "$enableval" = yes; then
3911 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3913 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3918 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3919 if test "x$LINE" != x
; then
3920 eval "DEFAULT_$LINE"
3925 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3930 eval "$ac_cv_use_filesystem"
3931 if test "$no_cache" != 1; then
3932 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3935 if test "$wxUSE_FILESYSTEM" = yes; then
3936 echo "$ac_t""yes" 1>&6
3938 echo "$ac_t""no" 1>&6
3942 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3943 echo "configure:3944: checking for --enable-fs_inet" >&5
3945 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3946 if test "${enable_fs_inet+set}" = set; then
3947 enableval
="$enable_fs_inet"
3949 if test "$enableval" = yes; then
3950 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3952 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3957 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3958 if test "x$LINE" != x
; then
3959 eval "DEFAULT_$LINE"
3964 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3969 eval "$ac_cv_use_fs_inet"
3970 if test "$no_cache" != 1; then
3971 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3974 if test "$wxUSE_FS_INET" = yes; then
3975 echo "$ac_t""yes" 1>&6
3977 echo "$ac_t""no" 1>&6
3981 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3982 echo "configure:3983: checking for --enable-fs_zip" >&5
3984 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3985 if test "${enable_fs_zip+set}" = set; then
3986 enableval
="$enable_fs_zip"
3988 if test "$enableval" = yes; then
3989 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3991 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3996 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x
; then
3998 eval "DEFAULT_$LINE"
4003 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4008 eval "$ac_cv_use_fs_zip"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_FS_ZIP" = yes; then
4014 echo "$ac_t""yes" 1>&6
4016 echo "$ac_t""no" 1>&6
4020 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4021 echo "configure:4022: checking for --enable-zipstream" >&5
4023 # Check whether --enable-zipstream or --disable-zipstream was given.
4024 if test "${enable_zipstream+set}" = set; then
4025 enableval
="$enable_zipstream"
4027 if test "$enableval" = yes; then
4028 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4030 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4035 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x
; then
4037 eval "DEFAULT_$LINE"
4042 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4047 eval "$ac_cv_use_zipstream"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4052 if test "$wxUSE_ZIPSTREAM" = yes; then
4053 echo "$ac_t""yes" 1>&6
4055 echo "$ac_t""no" 1>&6
4060 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4061 echo "configure:4062: checking for --enable-catch_segvs" >&5
4063 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4064 if test "${enable_catch_segvs+set}" = set; then
4065 enableval
="$enable_catch_segvs"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4070 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4075 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x
; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4087 eval "$ac_cv_use_catch_segvs"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4092 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4093 echo "$ac_t""yes" 1>&6
4095 echo "$ac_t""no" 1>&6
4099 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4100 echo "configure:4101: checking for --enable-snglinst" >&5
4102 # Check whether --enable-snglinst or --disable-snglinst was given.
4103 if test "${enable_snglinst+set}" = set; then
4104 enableval
="$enable_snglinst"
4106 if test "$enableval" = yes; then
4107 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4109 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4114 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4115 if test "x$LINE" != x
; then
4116 eval "DEFAULT_$LINE"
4121 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4126 eval "$ac_cv_use_snglinst"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4131 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4132 echo "$ac_t""yes" 1>&6
4134 echo "$ac_t""no" 1>&6
4139 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4140 echo "configure:4141: checking for --enable-mimetype" >&5
4142 # Check whether --enable-mimetype or --disable-mimetype was given.
4143 if test "${enable_mimetype+set}" = set; then
4144 enableval
="$enable_mimetype"
4146 if test "$enableval" = yes; then
4147 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4149 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4154 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4155 if test "x$LINE" != x
; then
4156 eval "DEFAULT_$LINE"
4161 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4166 eval "$ac_cv_use_mimetype"
4167 if test "$no_cache" != 1; then
4168 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4171 if test "$wxUSE_MIMETYPE" = yes; then
4172 echo "$ac_t""yes" 1>&6
4174 echo "$ac_t""no" 1>&6
4178 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4179 echo "configure:4180: checking for --enable-system_options" >&5
4181 # Check whether --enable-system_options or --disable-system_options was given.
4182 if test "${enable_system_options+set}" = set; then
4183 enableval
="$enable_system_options"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4188 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4193 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x
; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4205 eval "$ac_cv_use_system_options"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4211 echo "$ac_t""yes" 1>&6
4213 echo "$ac_t""no" 1>&6
4219 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4220 echo "configure:4221: checking for --enable-threads" >&5
4222 # Check whether --enable-threads or --disable-threads was given.
4223 if test "${enable_threads+set}" = set; then
4224 enableval
="$enable_threads"
4226 if test "$enableval" = yes; then
4227 ac_cv_use_threads
='wxUSE_THREADS=yes'
4229 ac_cv_use_threads
='wxUSE_THREADS=no'
4234 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x
; then
4236 eval "DEFAULT_$LINE"
4241 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4246 eval "$ac_cv_use_threads"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_THREADS" = yes; then
4252 echo "$ac_t""yes" 1>&6
4254 echo "$ac_t""no" 1>&6
4258 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4259 echo "configure:4260: checking for --enable-serial" >&5
4261 # Check whether --enable-serial or --disable-serial was given.
4262 if test "${enable_serial+set}" = set; then
4263 enableval
="$enable_serial"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4268 ac_cv_use_serial
='wxUSE_SERIAL=no'
4273 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x
; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4285 eval "$ac_cv_use_serial"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_SERIAL" = yes; then
4291 echo "$ac_t""yes" 1>&6
4293 echo "$ac_t""no" 1>&6
4297 if test "$wxUSE_GUI" = "yes"; then
4301 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4302 echo "configure:4303: checking for --enable-docview" >&5
4304 # Check whether --enable-docview or --disable-docview was given.
4305 if test "${enable_docview+set}" = set; then
4306 enableval
="$enable_docview"
4308 if test "$enableval" = yes; then
4309 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4311 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4316 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4317 if test "x$LINE" != x
; then
4318 eval "DEFAULT_$LINE"
4323 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4328 eval "$ac_cv_use_docview"
4329 if test "$no_cache" != 1; then
4330 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4333 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4334 echo "$ac_t""yes" 1>&6
4336 echo "$ac_t""no" 1>&6
4340 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4341 echo "configure:4342: checking for --enable-help" >&5
4343 # Check whether --enable-help or --disable-help was given.
4344 if test "${enable_help+set}" = set; then
4345 enableval
="$enable_help"
4347 if test "$enableval" = yes; then
4348 ac_cv_use_help
='wxUSE_HELP=yes'
4350 ac_cv_use_help
='wxUSE_HELP=no'
4355 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x
; then
4357 eval "DEFAULT_$LINE"
4362 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4367 eval "$ac_cv_use_help"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4372 if test "$wxUSE_HELP" = yes; then
4373 echo "$ac_t""yes" 1>&6
4375 echo "$ac_t""no" 1>&6
4379 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4380 echo "configure:4381: checking for --enable-mshtmlhelp" >&5
4382 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4383 if test "${enable_mshtmlhelp+set}" = set; then
4384 enableval
="$enable_mshtmlhelp"
4386 if test "$enableval" = yes; then
4387 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4389 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4394 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4395 if test "x$LINE" != x
; then
4396 eval "DEFAULT_$LINE"
4401 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4406 eval "$ac_cv_use_mshtmlhelp"
4407 if test "$no_cache" != 1; then
4408 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4411 if test "$wxUSE_MS_HTML_HELP" = yes; then
4412 echo "$ac_t""yes" 1>&6
4414 echo "$ac_t""no" 1>&6
4418 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4419 echo "configure:4420: checking for --enable-html" >&5
4421 # Check whether --enable-html or --disable-html was given.
4422 if test "${enable_html+set}" = set; then
4423 enableval
="$enable_html"
4425 if test "$enableval" = yes; then
4426 ac_cv_use_html
='wxUSE_HTML=yes'
4428 ac_cv_use_html
='wxUSE_HTML=no'
4433 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4440 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4445 eval "$ac_cv_use_html"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_HTML" = yes; then
4451 echo "$ac_t""yes" 1>&6
4453 echo "$ac_t""no" 1>&6
4457 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4458 echo "configure:4459: checking for --enable-htmlhelp" >&5
4460 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4461 if test "${enable_htmlhelp+set}" = set; then
4462 enableval
="$enable_htmlhelp"
4464 if test "$enableval" = yes; then
4465 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4467 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4472 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x
; then
4474 eval "DEFAULT_$LINE"
4479 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4484 eval "$ac_cv_use_htmlhelp"
4485 if test "$no_cache" != 1; then
4486 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4489 if test "$wxUSE_WXHTML_HELP" = yes; then
4490 echo "$ac_t""yes" 1>&6
4492 echo "$ac_t""no" 1>&6
4496 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4497 echo "configure:4498: checking for --enable-constraints" >&5
4499 # Check whether --enable-constraints or --disable-constraints was given.
4500 if test "${enable_constraints+set}" = set; then
4501 enableval
="$enable_constraints"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4506 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4511 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4523 eval "$ac_cv_use_constraints"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4528 if test "$wxUSE_CONSTRAINTS" = yes; then
4529 echo "$ac_t""yes" 1>&6
4531 echo "$ac_t""no" 1>&6
4535 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4536 echo "configure:4537: checking for --enable-printarch" >&5
4538 # Check whether --enable-printarch or --disable-printarch was given.
4539 if test "${enable_printarch+set}" = set; then
4540 enableval
="$enable_printarch"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4545 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4550 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4562 eval "$ac_cv_use_printarch"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4568 echo "$ac_t""yes" 1>&6
4570 echo "$ac_t""no" 1>&6
4574 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4575 echo "configure:4576: checking for --enable-mdi" >&5
4577 # Check whether --enable-mdi or --disable-mdi was given.
4578 if test "${enable_mdi+set}" = set; then
4579 enableval
="$enable_mdi"
4581 if test "$enableval" = yes; then
4582 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4584 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4589 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x
; then
4591 eval "DEFAULT_$LINE"
4596 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4601 eval "$ac_cv_use_mdi"
4602 if test "$no_cache" != 1; then
4603 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4606 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4607 echo "$ac_t""yes" 1>&6
4609 echo "$ac_t""no" 1>&6
4613 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4614 echo "configure:4615: checking for --enable-loggui" >&5
4616 # Check whether --enable-loggui or --disable-loggui was given.
4617 if test "${enable_loggui+set}" = set; then
4618 enableval
="$enable_loggui"
4620 if test "$enableval" = yes; then
4621 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4623 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4628 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4629 if test "x$LINE" != x
; then
4630 eval "DEFAULT_$LINE"
4635 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4640 eval "$ac_cv_use_loggui"
4641 if test "$no_cache" != 1; then
4642 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4645 if test "$wxUSE_LOGGUI" = yes; then
4646 echo "$ac_t""yes" 1>&6
4648 echo "$ac_t""no" 1>&6
4652 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4653 echo "configure:4654: checking for --enable-logwin" >&5
4655 # Check whether --enable-logwin or --disable-logwin was given.
4656 if test "${enable_logwin+set}" = set; then
4657 enableval
="$enable_logwin"
4659 if test "$enableval" = yes; then
4660 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4662 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4667 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4668 if test "x$LINE" != x
; then
4669 eval "DEFAULT_$LINE"
4674 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4679 eval "$ac_cv_use_logwin"
4680 if test "$no_cache" != 1; then
4681 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4684 if test "$wxUSE_LOGWINDOW" = yes; then
4685 echo "$ac_t""yes" 1>&6
4687 echo "$ac_t""no" 1>&6
4692 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4693 echo "configure:4694: checking for --enable-postscript" >&5
4695 # Check whether --enable-postscript or --disable-postscript was given.
4696 if test "${enable_postscript+set}" = set; then
4697 enableval
="$enable_postscript"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4702 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4707 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x
; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4719 eval "$ac_cv_use_postscript"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_POSTSCRIPT" = yes; then
4725 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no" 1>&6
4734 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4735 echo "configure:4736: checking for --enable-prologio" >&5
4737 # Check whether --enable-prologio or --disable-prologio was given.
4738 if test "${enable_prologio+set}" = set; then
4739 enableval
="$enable_prologio"
4741 if test "$enableval" = yes; then
4742 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4744 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4749 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x
; then
4751 eval "DEFAULT_$LINE"
4756 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4761 eval "$ac_cv_use_prologio"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_PROLOGIO" = yes; then
4767 echo "$ac_t""yes" 1>&6
4769 echo "$ac_t""no" 1>&6
4773 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4774 echo "configure:4775: checking for --enable-resources" >&5
4776 # Check whether --enable-resources or --disable-resources was given.
4777 if test "${enable_resources+set}" = set; then
4778 enableval
="$enable_resources"
4780 if test "$enableval" = yes; then
4781 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4783 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4788 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x
; then
4790 eval "DEFAULT_$LINE"
4795 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4800 eval "$ac_cv_use_resources"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4805 if test "$wxUSE_RESOURCES" = yes; then
4806 echo "$ac_t""yes" 1>&6
4808 echo "$ac_t""no" 1>&6
4813 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4814 echo "configure:4815: checking for --enable-xresources" >&5
4816 # Check whether --enable-xresources or --disable-xresources was given.
4817 if test "${enable_xresources+set}" = set; then
4818 enableval
="$enable_xresources"
4820 if test "$enableval" = yes; then
4821 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4823 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4828 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x
; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4840 eval "$ac_cv_use_xresources"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4845 if test "$wxUSE_X_RESOURCES" = yes; then
4846 echo "$ac_t""yes" 1>&6
4848 echo "$ac_t""no" 1>&6
4854 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4855 echo "configure:4856: checking for --enable-clipboard" >&5
4857 # Check whether --enable-clipboard or --disable-clipboard was given.
4858 if test "${enable_clipboard+set}" = set; then
4859 enableval
="$enable_clipboard"
4861 if test "$enableval" = yes; then
4862 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4864 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4869 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x
; then
4871 eval "DEFAULT_$LINE"
4876 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4881 eval "$ac_cv_use_clipboard"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4886 if test "$wxUSE_CLIPBOARD" = yes; then
4887 echo "$ac_t""yes" 1>&6
4889 echo "$ac_t""no" 1>&6
4893 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4894 echo "configure:4895: checking for --enable-dnd" >&5
4896 # Check whether --enable-dnd or --disable-dnd was given.
4897 if test "${enable_dnd+set}" = set; then
4898 enableval
="$enable_dnd"
4900 if test "$enableval" = yes; then
4901 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4903 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4908 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x
; then
4910 eval "DEFAULT_$LINE"
4915 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4920 eval "$ac_cv_use_dnd"
4921 if test "$no_cache" != 1; then
4922 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4925 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4926 echo "$ac_t""yes" 1>&6
4928 echo "$ac_t""no" 1>&6
4932 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4933 echo "configure:4934: checking for --enable-metafile" >&5
4935 # Check whether --enable-metafile or --disable-metafile was given.
4936 if test "${enable_metafile+set}" = set; then
4937 enableval
="$enable_metafile"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4942 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4947 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4959 eval "$ac_cv_use_metafile"
4960 if test "$no_cache" != 1; then
4961 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4964 if test "$wxUSE_METAFILE" = yes; then
4965 echo "$ac_t""yes" 1>&6
4967 echo "$ac_t""no" 1>&6
4972 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4973 echo "configure:4974: checking for --enable-treelayout" >&5
4975 # Check whether --enable-treelayout or --disable-treelayout was given.
4976 if test "${enable_treelayout+set}" = set; then
4977 enableval
="$enable_treelayout"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4982 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4987 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x
; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
4999 eval "$ac_cv_use_treelayout"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_TREELAYOUT" = yes; then
5005 echo "$ac_t""yes" 1>&6
5007 echo "$ac_t""no" 1>&6
5013 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5014 echo "configure:5015: checking for --enable-controls" >&5
5016 # Check whether --enable-controls or --disable-controls was given.
5017 if test "${enable_controls+set}" = set; then
5018 enableval
="$enable_controls"
5020 if test "$enableval" = yes; then
5021 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5023 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5028 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5029 if test "x$LINE" != x
; then
5030 eval "DEFAULT_$LINE"
5035 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5040 eval "$ac_cv_use_controls"
5041 if test "$no_cache" != 1; then
5042 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5045 if test "$wxUSE_CONTROLS" = yes; then
5046 echo "$ac_t""yes" 1>&6
5048 echo "$ac_t""no" 1>&6
5052 if test "$wxUSE_CONTROLS" = "yes"; then
5053 DEFAULT_wxUSE_ACCEL
=yes
5054 DEFAULT_wxUSE_BMPBUTTON
=yes
5055 DEFAULT_wxUSE_BUTTON
=yes
5056 DEFAULT_wxUSE_CALCTRL
=no
5057 DEFAULT_wxUSE_CARET
=yes
5058 DEFAULT_wxUSE_COMBOBOX
=yes
5059 DEFAULT_wxUSE_CHECKBOX
=yes
5060 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5061 DEFAULT_wxUSE_CHOICE
=yes
5062 DEFAULT_wxUSE_GAUGE
=yes
5063 DEFAULT_wxUSE_GRID
=yes
5064 DEFAULT_wxUSE_NEW_GRID
=yes
5065 DEFAULT_wxUSE_IMAGLIST
=yes
5066 DEFAULT_wxUSE_LISTBOX
=yes
5067 DEFAULT_wxUSE_LISTCTRL
=yes
5068 DEFAULT_wxUSE_NOTEBOOK
=yes
5069 DEFAULT_wxUSE_PROPSHEET
=yes
5070 DEFAULT_wxUSE_RADIOBOX
=yes
5071 DEFAULT_wxUSE_RADIOBTN
=yes
5072 DEFAULT_wxUSE_SASH
=yes
5073 DEFAULT_wxUSE_SCROLLBAR
=yes
5074 DEFAULT_wxUSE_SLIDER
=yes
5075 DEFAULT_wxUSE_SPINBTN
=yes
5076 DEFAULT_wxUSE_SPINCTRL
=yes
5077 DEFAULT_wxUSE_SPLITTER
=yes
5078 DEFAULT_wxUSE_STATBMP
=yes
5079 DEFAULT_wxUSE_STATBOX
=yes
5080 DEFAULT_wxUSE_STATLINE
=yes
5081 DEFAULT_wxUSE_STATUSBAR
=yes
5082 DEFAULT_wxUSE_TAB_DIALOG
=yes
5083 DEFAULT_wxUSE_TOGGLEBTN
=yes
5084 DEFAULT_wxUSE_TOOLBAR
=yes
5085 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5086 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5087 DEFAULT_wxUSE_TOOLTIPS
=yes
5088 DEFAULT_wxUSE_TREECTRL
=yes
5089 DEFAULT_wxUSE_POPUPWIN
=yes
5090 elif test "$wxUSE_CONTROLS" = "no"; then
5091 DEFAULT_wxUSE_ACCEL
=no
5092 DEFAULT_wxUSE_BMPBUTTON
=no
5093 DEFAULT_wxUSE_BUTTON
=no
5094 DEFAULT_wxUSE_CALCTRL
=no
5095 DEFAULT_wxUSE_CARET
=no
5096 DEFAULT_wxUSE_COMBOBOX
=no
5097 DEFAULT_wxUSE_CHECKBOX
=no
5098 DEFAULT_wxUSE_CHECKLISTBOX
=no
5099 DEFAULT_wxUSE_CHOICE
=no
5100 DEFAULT_wxUSE_GAUGE
=no
5101 DEFAULT_wxUSE_GRID
=no
5102 DEFAULT_wxUSE_NEW_GRID
=no
5103 DEFAULT_wxUSE_IMAGLIST
=no
5104 DEFAULT_wxUSE_LISTBOX
=no
5105 DEFAULT_wxUSE_LISTCTRL
=no
5106 DEFAULT_wxUSE_NOTEBOOK
=no
5107 DEFAULT_wxUSE_PROPSHEET
=no
5108 DEFAULT_wxUSE_RADIOBOX
=no
5109 DEFAULT_wxUSE_RADIOBTN
=no
5110 DEFAULT_wxUSE_SASH
=no
5111 DEFAULT_wxUSE_SCROLLBAR
=no
5112 DEFAULT_wxUSE_SLIDER
=no
5113 DEFAULT_wxUSE_SPINBTN
=no
5114 DEFAULT_wxUSE_SPINCTRL
=no
5115 DEFAULT_wxUSE_SPLITTER
=no
5116 DEFAULT_wxUSE_STATBMP
=no
5117 DEFAULT_wxUSE_STATBOX
=no
5118 DEFAULT_wxUSE_STATLINE
=no
5119 DEFAULT_wxUSE_STATUSBAR
=no
5120 DEFAULT_wxUSE_TAB_DIALOG
=no
5121 DEFAULT_wxUSE_TOGGLEBTN
=no
5122 DEFAULT_wxUSE_TOOLBAR
=no
5123 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5124 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5125 DEFAULT_wxUSE_TOOLTIPS
=no
5126 DEFAULT_wxUSE_TREECTRL
=no
5127 DEFAULT_wxUSE_POPUPWIN
=no
5131 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5132 echo "configure:5133: checking for --enable-accel" >&5
5134 # Check whether --enable-accel or --disable-accel was given.
5135 if test "${enable_accel+set}" = set; then
5136 enableval
="$enable_accel"
5138 if test "$enableval" = yes; then
5139 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5141 ac_cv_use_accel
='wxUSE_ACCEL=no'
5146 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5147 if test "x$LINE" != x
; then
5148 eval "DEFAULT_$LINE"
5153 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5158 eval "$ac_cv_use_accel"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_ACCEL" = yes; then
5164 echo "$ac_t""yes" 1>&6
5166 echo "$ac_t""no" 1>&6
5170 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5171 echo "configure:5172: checking for --enable-button" >&5
5173 # Check whether --enable-button or --disable-button was given.
5174 if test "${enable_button+set}" = set; then
5175 enableval
="$enable_button"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_button
='wxUSE_BUTTON=yes'
5180 ac_cv_use_button
='wxUSE_BUTTON=no'
5185 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5197 eval "$ac_cv_use_button"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_BUTTON" = yes; then
5203 echo "$ac_t""yes" 1>&6
5205 echo "$ac_t""no" 1>&6
5209 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5210 echo "configure:5211: checking for --enable-bmpbutton" >&5
5212 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5213 if test "${enable_bmpbutton+set}" = set; then
5214 enableval
="$enable_bmpbutton"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5219 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5224 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5236 eval "$ac_cv_use_bmpbutton"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_BMPBUTTON" = yes; then
5242 echo "$ac_t""yes" 1>&6
5244 echo "$ac_t""no" 1>&6
5248 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5249 echo "configure:5250: checking for --enable-calendar" >&5
5251 # Check whether --enable-calendar or --disable-calendar was given.
5252 if test "${enable_calendar+set}" = set; then
5253 enableval
="$enable_calendar"
5255 if test "$enableval" = yes; then
5256 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5258 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5263 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5264 if test "x$LINE" != x
; then
5265 eval "DEFAULT_$LINE"
5270 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5275 eval "$ac_cv_use_calendar"
5276 if test "$no_cache" != 1; then
5277 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5280 if test "$wxUSE_CALCTRL" = yes; then
5281 echo "$ac_t""yes" 1>&6
5283 echo "$ac_t""no" 1>&6
5287 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5288 echo "configure:5289: checking for --enable-caret" >&5
5290 # Check whether --enable-caret or --disable-caret was given.
5291 if test "${enable_caret+set}" = set; then
5292 enableval
="$enable_caret"
5294 if test "$enableval" = yes; then
5295 ac_cv_use_caret
='wxUSE_CARET=yes'
5297 ac_cv_use_caret
='wxUSE_CARET=no'
5302 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x
; then
5304 eval "DEFAULT_$LINE"
5309 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5314 eval "$ac_cv_use_caret"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5319 if test "$wxUSE_CARET" = yes; then
5320 echo "$ac_t""yes" 1>&6
5322 echo "$ac_t""no" 1>&6
5326 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5327 echo "configure:5328: checking for --enable-checkbox" >&5
5329 # Check whether --enable-checkbox or --disable-checkbox was given.
5330 if test "${enable_checkbox+set}" = set; then
5331 enableval
="$enable_checkbox"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5336 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5341 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5353 eval "$ac_cv_use_checkbox"
5354 if test "$no_cache" != 1; then
5355 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5358 if test "$wxUSE_CHECKBOX" = yes; then
5359 echo "$ac_t""yes" 1>&6
5361 echo "$ac_t""no" 1>&6
5365 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5366 echo "configure:5367: checking for --enable-checklst" >&5
5368 # Check whether --enable-checklst or --disable-checklst was given.
5369 if test "${enable_checklst+set}" = set; then
5370 enableval
="$enable_checklst"
5372 if test "$enableval" = yes; then
5373 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5375 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5380 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5381 if test "x$LINE" != x
; then
5382 eval "DEFAULT_$LINE"
5387 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5392 eval "$ac_cv_use_checklst"
5393 if test "$no_cache" != 1; then
5394 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5397 if test "$wxUSE_CHECKLST" = yes; then
5398 echo "$ac_t""yes" 1>&6
5400 echo "$ac_t""no" 1>&6
5404 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5405 echo "configure:5406: checking for --enable-choice" >&5
5407 # Check whether --enable-choice or --disable-choice was given.
5408 if test "${enable_choice+set}" = set; then
5409 enableval
="$enable_choice"
5411 if test "$enableval" = yes; then
5412 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5414 ac_cv_use_choice
='wxUSE_CHOICE=no'
5419 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5420 if test "x$LINE" != x
; then
5421 eval "DEFAULT_$LINE"
5426 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5431 eval "$ac_cv_use_choice"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5436 if test "$wxUSE_CHOICE" = yes; then
5437 echo "$ac_t""yes" 1>&6
5439 echo "$ac_t""no" 1>&6
5443 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5444 echo "configure:5445: checking for --enable-combobox" >&5
5446 # Check whether --enable-combobox or --disable-combobox was given.
5447 if test "${enable_combobox+set}" = set; then
5448 enableval
="$enable_combobox"
5450 if test "$enableval" = yes; then
5451 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5453 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5458 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5459 if test "x$LINE" != x
; then
5460 eval "DEFAULT_$LINE"
5465 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5470 eval "$ac_cv_use_combobox"
5471 if test "$no_cache" != 1; then
5472 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5475 if test "$wxUSE_COMBOBOX" = yes; then
5476 echo "$ac_t""yes" 1>&6
5478 echo "$ac_t""no" 1>&6
5482 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5483 echo "configure:5484: checking for --enable-gauge" >&5
5485 # Check whether --enable-gauge or --disable-gauge was given.
5486 if test "${enable_gauge+set}" = set; then
5487 enableval
="$enable_gauge"
5489 if test "$enableval" = yes; then
5490 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5492 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5497 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x
; then
5499 eval "DEFAULT_$LINE"
5504 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5509 eval "$ac_cv_use_gauge"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5514 if test "$wxUSE_GAUGE" = yes; then
5515 echo "$ac_t""yes" 1>&6
5517 echo "$ac_t""no" 1>&6
5521 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5522 echo "configure:5523: checking for --enable-grid" >&5
5524 # Check whether --enable-grid or --disable-grid was given.
5525 if test "${enable_grid+set}" = set; then
5526 enableval
="$enable_grid"
5528 if test "$enableval" = yes; then
5529 ac_cv_use_grid
='wxUSE_GRID=yes'
5531 ac_cv_use_grid
='wxUSE_GRID=no'
5536 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5537 if test "x$LINE" != x
; then
5538 eval "DEFAULT_$LINE"
5543 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5548 eval "$ac_cv_use_grid"
5549 if test "$no_cache" != 1; then
5550 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5553 if test "$wxUSE_GRID" = yes; then
5554 echo "$ac_t""yes" 1>&6
5556 echo "$ac_t""no" 1>&6
5560 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5561 echo "configure:5562: checking for --enable-newgrid" >&5
5563 # Check whether --enable-newgrid or --disable-newgrid was given.
5564 if test "${enable_newgrid+set}" = set; then
5565 enableval
="$enable_newgrid"
5567 if test "$enableval" = yes; then
5568 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5570 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5575 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5576 if test "x$LINE" != x
; then
5577 eval "DEFAULT_$LINE"
5582 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5587 eval "$ac_cv_use_newgrid"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5592 if test "$wxUSE_NEW_GRID" = yes; then
5593 echo "$ac_t""yes" 1>&6
5595 echo "$ac_t""no" 1>&6
5599 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5600 echo "configure:5601: checking for --enable-imaglist" >&5
5602 # Check whether --enable-imaglist or --disable-imaglist was given.
5603 if test "${enable_imaglist+set}" = set; then
5604 enableval
="$enable_imaglist"
5606 if test "$enableval" = yes; then
5607 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5609 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5614 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5615 if test "x$LINE" != x
; then
5616 eval "DEFAULT_$LINE"
5621 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5626 eval "$ac_cv_use_imaglist"
5627 if test "$no_cache" != 1; then
5628 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5631 if test "$wxUSE_IMAGLIST" = yes; then
5632 echo "$ac_t""yes" 1>&6
5634 echo "$ac_t""no" 1>&6
5638 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5639 echo "configure:5640: checking for --enable-listbox" >&5
5641 # Check whether --enable-listbox or --disable-listbox was given.
5642 if test "${enable_listbox+set}" = set; then
5643 enableval
="$enable_listbox"
5645 if test "$enableval" = yes; then
5646 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5648 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5653 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5654 if test "x$LINE" != x
; then
5655 eval "DEFAULT_$LINE"
5660 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5665 eval "$ac_cv_use_listbox"
5666 if test "$no_cache" != 1; then
5667 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5670 if test "$wxUSE_LISTBOX" = yes; then
5671 echo "$ac_t""yes" 1>&6
5673 echo "$ac_t""no" 1>&6
5677 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5678 echo "configure:5679: checking for --enable-listctrl" >&5
5680 # Check whether --enable-listctrl or --disable-listctrl was given.
5681 if test "${enable_listctrl+set}" = set; then
5682 enableval
="$enable_listctrl"
5684 if test "$enableval" = yes; then
5685 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5687 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5692 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5693 if test "x$LINE" != x
; then
5694 eval "DEFAULT_$LINE"
5699 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5704 eval "$ac_cv_use_listctrl"
5705 if test "$no_cache" != 1; then
5706 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5709 if test "$wxUSE_LISTCTRL" = yes; then
5710 echo "$ac_t""yes" 1>&6
5712 echo "$ac_t""no" 1>&6
5716 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5717 echo "configure:5718: checking for --enable-notebook" >&5
5719 # Check whether --enable-notebook or --disable-notebook was given.
5720 if test "${enable_notebook+set}" = set; then
5721 enableval
="$enable_notebook"
5723 if test "$enableval" = yes; then
5724 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5726 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5731 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x
; then
5733 eval "DEFAULT_$LINE"
5738 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5743 eval "$ac_cv_use_notebook"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5748 if test "$wxUSE_NOTEBOOK" = yes; then
5749 echo "$ac_t""yes" 1>&6
5751 echo "$ac_t""no" 1>&6
5755 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5756 echo "configure:5757: checking for --enable-propsheet" >&5
5758 # Check whether --enable-propsheet or --disable-propsheet was given.
5759 if test "${enable_propsheet+set}" = set; then
5760 enableval
="$enable_propsheet"
5762 if test "$enableval" = yes; then
5763 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5765 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5770 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x
; then
5772 eval "DEFAULT_$LINE"
5777 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5782 eval "$ac_cv_use_propsheet"
5783 if test "$no_cache" != 1; then
5784 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5787 if test "$wxUSE_PROPSHEET" = yes; then
5788 echo "$ac_t""yes" 1>&6
5790 echo "$ac_t""no" 1>&6
5794 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5795 echo "configure:5796: checking for --enable-radiobox" >&5
5797 # Check whether --enable-radiobox or --disable-radiobox was given.
5798 if test "${enable_radiobox+set}" = set; then
5799 enableval
="$enable_radiobox"
5801 if test "$enableval" = yes; then
5802 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5804 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5809 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5810 if test "x$LINE" != x
; then
5811 eval "DEFAULT_$LINE"
5816 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5821 eval "$ac_cv_use_radiobox"
5822 if test "$no_cache" != 1; then
5823 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5826 if test "$wxUSE_RADIOBOX" = yes; then
5827 echo "$ac_t""yes" 1>&6
5829 echo "$ac_t""no" 1>&6
5833 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5834 echo "configure:5835: checking for --enable-radiobtn" >&5
5836 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5837 if test "${enable_radiobtn+set}" = set; then
5838 enableval
="$enable_radiobtn"
5840 if test "$enableval" = yes; then
5841 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5843 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5848 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x
; then
5850 eval "DEFAULT_$LINE"
5855 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5860 eval "$ac_cv_use_radiobtn"
5861 if test "$no_cache" != 1; then
5862 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5865 if test "$wxUSE_RADIOBTN" = yes; then
5866 echo "$ac_t""yes" 1>&6
5868 echo "$ac_t""no" 1>&6
5872 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5873 echo "configure:5874: checking for --enable-sash" >&5
5875 # Check whether --enable-sash or --disable-sash was given.
5876 if test "${enable_sash+set}" = set; then
5877 enableval
="$enable_sash"
5879 if test "$enableval" = yes; then
5880 ac_cv_use_sash
='wxUSE_SASH=yes'
5882 ac_cv_use_sash
='wxUSE_SASH=no'
5887 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5888 if test "x$LINE" != x
; then
5889 eval "DEFAULT_$LINE"
5894 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5899 eval "$ac_cv_use_sash"
5900 if test "$no_cache" != 1; then
5901 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5904 if test "$wxUSE_SASH" = yes; then
5905 echo "$ac_t""yes" 1>&6
5907 echo "$ac_t""no" 1>&6
5911 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5912 echo "configure:5913: checking for --enable-scrollbar" >&5
5914 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5915 if test "${enable_scrollbar+set}" = set; then
5916 enableval
="$enable_scrollbar"
5918 if test "$enableval" = yes; then
5919 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5921 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5926 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x
; then
5928 eval "DEFAULT_$LINE"
5933 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5938 eval "$ac_cv_use_scrollbar"
5939 if test "$no_cache" != 1; then
5940 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5943 if test "$wxUSE_SCROLLBAR" = yes; then
5944 echo "$ac_t""yes" 1>&6
5946 echo "$ac_t""no" 1>&6
5950 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5951 echo "configure:5952: checking for --enable-slider" >&5
5953 # Check whether --enable-slider or --disable-slider was given.
5954 if test "${enable_slider+set}" = set; then
5955 enableval
="$enable_slider"
5957 if test "$enableval" = yes; then
5958 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5960 ac_cv_use_slider
='wxUSE_SLIDER=no'
5965 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5966 if test "x$LINE" != x
; then
5967 eval "DEFAULT_$LINE"
5972 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5977 eval "$ac_cv_use_slider"
5978 if test "$no_cache" != 1; then
5979 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5982 if test "$wxUSE_SLIDER" = yes; then
5983 echo "$ac_t""yes" 1>&6
5985 echo "$ac_t""no" 1>&6
5989 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5990 echo "configure:5991: checking for --enable-spinbtn" >&5
5992 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5993 if test "${enable_spinbtn+set}" = set; then
5994 enableval
="$enable_spinbtn"
5996 if test "$enableval" = yes; then
5997 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5999 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6004 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6005 if test "x$LINE" != x
; then
6006 eval "DEFAULT_$LINE"
6011 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6016 eval "$ac_cv_use_spinbtn"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6021 if test "$wxUSE_SPINBTN" = yes; then
6022 echo "$ac_t""yes" 1>&6
6024 echo "$ac_t""no" 1>&6
6028 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6029 echo "configure:6030: checking for --enable-spinctrl" >&5
6031 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6032 if test "${enable_spinctrl+set}" = set; then
6033 enableval
="$enable_spinctrl"
6035 if test "$enableval" = yes; then
6036 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6038 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6043 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6044 if test "x$LINE" != x
; then
6045 eval "DEFAULT_$LINE"
6050 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6055 eval "$ac_cv_use_spinctrl"
6056 if test "$no_cache" != 1; then
6057 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6060 if test "$wxUSE_SPINCTRL" = yes; then
6061 echo "$ac_t""yes" 1>&6
6063 echo "$ac_t""no" 1>&6
6067 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6068 echo "configure:6069: checking for --enable-splitter" >&5
6070 # Check whether --enable-splitter or --disable-splitter was given.
6071 if test "${enable_splitter+set}" = set; then
6072 enableval
="$enable_splitter"
6074 if test "$enableval" = yes; then
6075 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6077 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6082 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6083 if test "x$LINE" != x
; then
6084 eval "DEFAULT_$LINE"
6089 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6094 eval "$ac_cv_use_splitter"
6095 if test "$no_cache" != 1; then
6096 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6099 if test "$wxUSE_SPLITTER" = yes; then
6100 echo "$ac_t""yes" 1>&6
6102 echo "$ac_t""no" 1>&6
6106 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6107 echo "configure:6108: checking for --enable-statbmp" >&5
6109 # Check whether --enable-statbmp or --disable-statbmp was given.
6110 if test "${enable_statbmp+set}" = set; then
6111 enableval
="$enable_statbmp"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6116 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6121 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6133 eval "$ac_cv_use_statbmp"
6134 if test "$no_cache" != 1; then
6135 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6138 if test "$wxUSE_STATBMP" = yes; then
6139 echo "$ac_t""yes" 1>&6
6141 echo "$ac_t""no" 1>&6
6145 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6146 echo "configure:6147: checking for --enable-statbox" >&5
6148 # Check whether --enable-statbox or --disable-statbox was given.
6149 if test "${enable_statbox+set}" = set; then
6150 enableval
="$enable_statbox"
6152 if test "$enableval" = yes; then
6153 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6155 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6160 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6161 if test "x$LINE" != x
; then
6162 eval "DEFAULT_$LINE"
6167 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6172 eval "$ac_cv_use_statbox"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_STATBOX" = yes; then
6178 echo "$ac_t""yes" 1>&6
6180 echo "$ac_t""no" 1>&6
6184 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6185 echo "configure:6186: checking for --enable-statline" >&5
6187 # Check whether --enable-statline or --disable-statline was given.
6188 if test "${enable_statline+set}" = set; then
6189 enableval
="$enable_statline"
6191 if test "$enableval" = yes; then
6192 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6194 ac_cv_use_statline
='wxUSE_STATLINE=no'
6199 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x
; then
6201 eval "DEFAULT_$LINE"
6206 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6211 eval "$ac_cv_use_statline"
6212 if test "$no_cache" != 1; then
6213 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6216 if test "$wxUSE_STATLINE" = yes; then
6217 echo "$ac_t""yes" 1>&6
6219 echo "$ac_t""no" 1>&6
6223 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6224 echo "configure:6225: checking for --enable-stattext" >&5
6226 # Check whether --enable-stattext or --disable-stattext was given.
6227 if test "${enable_stattext+set}" = set; then
6228 enableval
="$enable_stattext"
6230 if test "$enableval" = yes; then
6231 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6233 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6238 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6239 if test "x$LINE" != x
; then
6240 eval "DEFAULT_$LINE"
6245 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6250 eval "$ac_cv_use_stattext"
6251 if test "$no_cache" != 1; then
6252 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6255 if test "$wxUSE_STATTEXT" = yes; then
6256 echo "$ac_t""yes" 1>&6
6258 echo "$ac_t""no" 1>&6
6262 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6263 echo "configure:6264: checking for --enable-statusbar" >&5
6265 # Check whether --enable-statusbar or --disable-statusbar was given.
6266 if test "${enable_statusbar+set}" = set; then
6267 enableval
="$enable_statusbar"
6269 if test "$enableval" = yes; then
6270 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6272 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6277 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6278 if test "x$LINE" != x
; then
6279 eval "DEFAULT_$LINE"
6284 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6289 eval "$ac_cv_use_statusbar"
6290 if test "$no_cache" != 1; then
6291 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6294 if test "$wxUSE_STATUSBAR" = yes; then
6295 echo "$ac_t""yes" 1>&6
6297 echo "$ac_t""no" 1>&6
6301 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6302 echo "configure:6303: checking for --enable-tabdialog" >&5
6304 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6305 if test "${enable_tabdialog+set}" = set; then
6306 enableval
="$enable_tabdialog"
6308 if test "$enableval" = yes; then
6309 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6311 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6316 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6317 if test "x$LINE" != x
; then
6318 eval "DEFAULT_$LINE"
6323 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6328 eval "$ac_cv_use_tabdialog"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6333 if test "$wxUSE_TABDIALOG" = yes; then
6334 echo "$ac_t""yes" 1>&6
6336 echo "$ac_t""no" 1>&6
6340 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6341 echo "configure:6342: checking for --enable-textctrl" >&5
6343 # Check whether --enable-textctrl or --disable-textctrl was given.
6344 if test "${enable_textctrl+set}" = set; then
6345 enableval
="$enable_textctrl"
6347 if test "$enableval" = yes; then
6348 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6350 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6355 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x
; then
6357 eval "DEFAULT_$LINE"
6362 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6367 eval "$ac_cv_use_textctrl"
6368 if test "$no_cache" != 1; then
6369 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6372 if test "$wxUSE_TEXTCTRL" = yes; then
6373 echo "$ac_t""yes" 1>&6
6375 echo "$ac_t""no" 1>&6
6379 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6380 echo "configure:6381: checking for --enable-togglebtn" >&5
6382 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6383 if test "${enable_togglebtn+set}" = set; then
6384 enableval
="$enable_togglebtn"
6386 if test "$enableval" = yes; then
6387 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6389 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6394 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6395 if test "x$LINE" != x
; then
6396 eval "DEFAULT_$LINE"
6401 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6406 eval "$ac_cv_use_togglebtn"
6407 if test "$no_cache" != 1; then
6408 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6411 if test "$wxUSE_TOGGLEBTN" = yes; then
6412 echo "$ac_t""yes" 1>&6
6414 echo "$ac_t""no" 1>&6
6418 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6419 echo "configure:6420: checking for --enable-toolbar" >&5
6421 # Check whether --enable-toolbar or --disable-toolbar was given.
6422 if test "${enable_toolbar+set}" = set; then
6423 enableval
="$enable_toolbar"
6425 if test "$enableval" = yes; then
6426 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6428 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6433 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6434 if test "x$LINE" != x
; then
6435 eval "DEFAULT_$LINE"
6440 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6445 eval "$ac_cv_use_toolbar"
6446 if test "$no_cache" != 1; then
6447 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6450 if test "$wxUSE_TOOLBAR" = yes; then
6451 echo "$ac_t""yes" 1>&6
6453 echo "$ac_t""no" 1>&6
6457 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6458 echo "configure:6459: checking for --enable-tbarnative" >&5
6460 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6461 if test "${enable_tbarnative+set}" = set; then
6462 enableval
="$enable_tbarnative"
6464 if test "$enableval" = yes; then
6465 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6467 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6472 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6473 if test "x$LINE" != x
; then
6474 eval "DEFAULT_$LINE"
6479 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6484 eval "$ac_cv_use_tbarnative"
6485 if test "$no_cache" != 1; then
6486 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6489 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6490 echo "$ac_t""yes" 1>&6
6492 echo "$ac_t""no" 1>&6
6496 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6497 echo "configure:6498: checking for --enable-tbarsmpl" >&5
6499 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6500 if test "${enable_tbarsmpl+set}" = set; then
6501 enableval
="$enable_tbarsmpl"
6503 if test "$enableval" = yes; then
6504 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6506 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6511 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x
; then
6513 eval "DEFAULT_$LINE"
6518 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6523 eval "$ac_cv_use_tbarsmpl"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6528 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6529 echo "$ac_t""yes" 1>&6
6531 echo "$ac_t""no" 1>&6
6535 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6536 echo "configure:6537: checking for --enable-treectrl" >&5
6538 # Check whether --enable-treectrl or --disable-treectrl was given.
6539 if test "${enable_treectrl+set}" = set; then
6540 enableval
="$enable_treectrl"
6542 if test "$enableval" = yes; then
6543 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6545 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6550 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6551 if test "x$LINE" != x
; then
6552 eval "DEFAULT_$LINE"
6557 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6562 eval "$ac_cv_use_treectrl"
6563 if test "$no_cache" != 1; then
6564 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6567 if test "$wxUSE_TREECTRL" = yes; then
6568 echo "$ac_t""yes" 1>&6
6570 echo "$ac_t""no" 1>&6
6574 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6575 echo "configure:6576: checking for --enable-popupwin" >&5
6577 # Check whether --enable-popupwin or --disable-popupwin was given.
6578 if test "${enable_popupwin+set}" = set; then
6579 enableval
="$enable_popupwin"
6581 if test "$enableval" = yes; then
6582 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6584 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6589 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6590 if test "x$LINE" != x
; then
6591 eval "DEFAULT_$LINE"
6596 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6601 eval "$ac_cv_use_popupwin"
6602 if test "$no_cache" != 1; then
6603 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6606 if test "$wxUSE_POPUPWIN" = yes; then
6607 echo "$ac_t""yes" 1>&6
6609 echo "$ac_t""no" 1>&6
6615 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6616 echo "configure:6617: checking for --enable-commondlg" >&5
6618 # Check whether --enable-commondlg or --disable-commondlg was given.
6619 if test "${enable_commondlg+set}" = set; then
6620 enableval
="$enable_commondlg"
6622 if test "$enableval" = yes; then
6623 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6625 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6630 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6631 if test "x$LINE" != x
; then
6632 eval "DEFAULT_$LINE"
6637 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6642 eval "$ac_cv_use_commondlg"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6647 if test "$wxUSE_COMMONDLGS" = yes; then
6648 echo "$ac_t""yes" 1>&6
6650 echo "$ac_t""no" 1>&6
6654 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6655 echo "configure:6656: checking for --enable-choicedlg" >&5
6657 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6658 if test "${enable_choicedlg+set}" = set; then
6659 enableval
="$enable_choicedlg"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6664 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6669 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6681 eval "$ac_cv_use_choicedlg"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_CHOICEDLG" = yes; then
6687 echo "$ac_t""yes" 1>&6
6689 echo "$ac_t""no" 1>&6
6693 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6694 echo "configure:6695: checking for --enable-coldlg" >&5
6696 # Check whether --enable-coldlg or --disable-coldlg was given.
6697 if test "${enable_coldlg+set}" = set; then
6698 enableval
="$enable_coldlg"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6703 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6708 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6720 eval "$ac_cv_use_coldlg"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_COLOURDLG" = yes; then
6726 echo "$ac_t""yes" 1>&6
6728 echo "$ac_t""no" 1>&6
6732 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6733 echo "configure:6734: checking for --enable-filedlg" >&5
6735 # Check whether --enable-filedlg or --disable-filedlg was given.
6736 if test "${enable_filedlg+set}" = set; then
6737 enableval
="$enable_filedlg"
6739 if test "$enableval" = yes; then
6740 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6742 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6747 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x
; then
6749 eval "DEFAULT_$LINE"
6754 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6759 eval "$ac_cv_use_filedlg"
6760 if test "$no_cache" != 1; then
6761 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6764 if test "$wxUSE_FILEDLG" = yes; then
6765 echo "$ac_t""yes" 1>&6
6767 echo "$ac_t""no" 1>&6
6771 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6772 echo "configure:6773: checking for --enable-fontdlg" >&5
6774 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6775 if test "${enable_fontdlg+set}" = set; then
6776 enableval
="$enable_fontdlg"
6778 if test "$enableval" = yes; then
6779 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6781 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6786 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6787 if test "x$LINE" != x
; then
6788 eval "DEFAULT_$LINE"
6793 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6798 eval "$ac_cv_use_fontdlg"
6799 if test "$no_cache" != 1; then
6800 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6803 if test "$wxUSE_FONTDLG" = yes; then
6804 echo "$ac_t""yes" 1>&6
6806 echo "$ac_t""no" 1>&6
6810 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6811 echo "configure:6812: checking for --enable-dirdlg" >&5
6813 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6814 if test "${enable_dirdlg+set}" = set; then
6815 enableval
="$enable_dirdlg"
6817 if test "$enableval" = yes; then
6818 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6820 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6825 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6826 if test "x$LINE" != x
; then
6827 eval "DEFAULT_$LINE"
6832 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6837 eval "$ac_cv_use_dirdlg"
6838 if test "$no_cache" != 1; then
6839 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6842 if test "$wxUSE_DIRDLG" = yes; then
6843 echo "$ac_t""yes" 1>&6
6845 echo "$ac_t""no" 1>&6
6849 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6850 echo "configure:6851: checking for --enable-msgdlg" >&5
6852 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6853 if test "${enable_msgdlg+set}" = set; then
6854 enableval
="$enable_msgdlg"
6856 if test "$enableval" = yes; then
6857 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6859 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6864 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x
; then
6866 eval "DEFAULT_$LINE"
6871 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6876 eval "$ac_cv_use_msgdlg"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_MSGDLG" = yes; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6888 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6889 echo "configure:6890: checking for --enable-numberdlg" >&5
6891 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6892 if test "${enable_numberdlg+set}" = set; then
6893 enableval
="$enable_numberdlg"
6895 if test "$enableval" = yes; then
6896 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6898 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6903 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6904 if test "x$LINE" != x
; then
6905 eval "DEFAULT_$LINE"
6910 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6915 eval "$ac_cv_use_numberdlg"
6916 if test "$no_cache" != 1; then
6917 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6920 if test "$wxUSE_NUMBERDLG" = yes; then
6921 echo "$ac_t""yes" 1>&6
6923 echo "$ac_t""no" 1>&6
6927 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6928 echo "configure:6929: checking for --enable-textdlg" >&5
6930 # Check whether --enable-textdlg or --disable-textdlg was given.
6931 if test "${enable_textdlg+set}" = set; then
6932 enableval
="$enable_textdlg"
6934 if test "$enableval" = yes; then
6935 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6937 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6942 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6943 if test "x$LINE" != x
; then
6944 eval "DEFAULT_$LINE"
6949 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6954 eval "$ac_cv_use_textdlg"
6955 if test "$no_cache" != 1; then
6956 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6959 if test "$wxUSE_TEXTDLG" = yes; then
6960 echo "$ac_t""yes" 1>&6
6962 echo "$ac_t""no" 1>&6
6966 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6967 echo "configure:6968: checking for --enable-tipdlg" >&5
6969 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6970 if test "${enable_tipdlg+set}" = set; then
6971 enableval
="$enable_tipdlg"
6973 if test "$enableval" = yes; then
6974 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6976 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6981 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x
; then
6983 eval "DEFAULT_$LINE"
6988 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6993 eval "$ac_cv_use_tipdlg"
6994 if test "$no_cache" != 1; then
6995 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6998 if test "$wxUSE_STARTUP_TIPS" = yes; then
6999 echo "$ac_t""yes" 1>&6
7001 echo "$ac_t""no" 1>&6
7005 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7006 echo "configure:7007: checking for --enable-progressdlg" >&5
7008 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7009 if test "${enable_progressdlg+set}" = set; then
7010 enableval
="$enable_progressdlg"
7012 if test "$enableval" = yes; then
7013 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7015 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7020 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7021 if test "x$LINE" != x
; then
7022 eval "DEFAULT_$LINE"
7027 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7032 eval "$ac_cv_use_progressdlg"
7033 if test "$no_cache" != 1; then
7034 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7037 if test "$wxUSE_PROGRESSDLG" = yes; then
7038 echo "$ac_t""yes" 1>&6
7040 echo "$ac_t""no" 1>&6
7044 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7045 echo "configure:7046: checking for --enable-wizarddlg" >&5
7047 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7048 if test "${enable_wizarddlg+set}" = set; then
7049 enableval
="$enable_wizarddlg"
7051 if test "$enableval" = yes; then
7052 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7054 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7059 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7060 if test "x$LINE" != x
; then
7061 eval "DEFAULT_$LINE"
7066 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7071 eval "$ac_cv_use_wizarddlg"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7076 if test "$wxUSE_WIZARDDLG" = yes; then
7077 echo "$ac_t""yes" 1>&6
7079 echo "$ac_t""no" 1>&6
7085 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7086 echo "configure:7087: checking for --enable-menus" >&5
7088 # Check whether --enable-menus or --disable-menus was given.
7089 if test "${enable_menus+set}" = set; then
7090 enableval
="$enable_menus"
7092 if test "$enableval" = yes; then
7093 ac_cv_use_menus
='wxUSE_MENUS=yes'
7095 ac_cv_use_menus
='wxUSE_MENUS=no'
7100 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7101 if test "x$LINE" != x
; then
7102 eval "DEFAULT_$LINE"
7107 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7112 eval "$ac_cv_use_menus"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7117 if test "$wxUSE_MENUS" = yes; then
7118 echo "$ac_t""yes" 1>&6
7120 echo "$ac_t""no" 1>&6
7124 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7125 echo "configure:7126: checking for --enable-miniframe" >&5
7127 # Check whether --enable-miniframe or --disable-miniframe was given.
7128 if test "${enable_miniframe+set}" = set; then
7129 enableval
="$enable_miniframe"
7131 if test "$enableval" = yes; then
7132 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7134 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7139 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7140 if test "x$LINE" != x
; then
7141 eval "DEFAULT_$LINE"
7146 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7151 eval "$ac_cv_use_miniframe"
7152 if test "$no_cache" != 1; then
7153 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7156 if test "$wxUSE_MINIFRAME" = yes; then
7157 echo "$ac_t""yes" 1>&6
7159 echo "$ac_t""no" 1>&6
7163 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7164 echo "configure:7165: checking for --enable-tooltips" >&5
7166 # Check whether --enable-tooltips or --disable-tooltips was given.
7167 if test "${enable_tooltips+set}" = set; then
7168 enableval
="$enable_tooltips"
7170 if test "$enableval" = yes; then
7171 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7173 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7178 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7179 if test "x$LINE" != x
; then
7180 eval "DEFAULT_$LINE"
7185 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7190 eval "$ac_cv_use_tooltips"
7191 if test "$no_cache" != 1; then
7192 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7195 if test "$wxUSE_TOOLTIPS" = yes; then
7196 echo "$ac_t""yes" 1>&6
7198 echo "$ac_t""no" 1>&6
7202 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7203 echo "configure:7204: checking for --enable-splines" >&5
7205 # Check whether --enable-splines or --disable-splines was given.
7206 if test "${enable_splines+set}" = set; then
7207 enableval
="$enable_splines"
7209 if test "$enableval" = yes; then
7210 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7212 ac_cv_use_splines
='wxUSE_SPLINES=no'
7217 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7218 if test "x$LINE" != x
; then
7219 eval "DEFAULT_$LINE"
7224 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7229 eval "$ac_cv_use_splines"
7230 if test "$no_cache" != 1; then
7231 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7234 if test "$wxUSE_SPLINES" = yes; then
7235 echo "$ac_t""yes" 1>&6
7237 echo "$ac_t""no" 1>&6
7241 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7242 echo "configure:7243: checking for --enable-validators" >&5
7244 # Check whether --enable-validators or --disable-validators was given.
7245 if test "${enable_validators+set}" = set; then
7246 enableval
="$enable_validators"
7248 if test "$enableval" = yes; then
7249 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7251 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7256 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x
; then
7258 eval "DEFAULT_$LINE"
7263 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7268 eval "$ac_cv_use_validators"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7273 if test "$wxUSE_VALIDATORS" = yes; then
7274 echo "$ac_t""yes" 1>&6
7276 echo "$ac_t""no" 1>&6
7280 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7281 echo "configure:7282: checking for --enable-busyinfo" >&5
7283 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7284 if test "${enable_busyinfo+set}" = set; then
7285 enableval
="$enable_busyinfo"
7287 if test "$enableval" = yes; then
7288 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7290 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7295 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7296 if test "x$LINE" != x
; then
7297 eval "DEFAULT_$LINE"
7302 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7307 eval "$ac_cv_use_busyinfo"
7308 if test "$no_cache" != 1; then
7309 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7312 if test "$wxUSE_BUSYINFO" = yes; then
7313 echo "$ac_t""yes" 1>&6
7315 echo "$ac_t""no" 1>&6
7319 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7320 echo "configure:7321: checking for --enable-joystick" >&5
7322 # Check whether --enable-joystick or --disable-joystick was given.
7323 if test "${enable_joystick+set}" = set; then
7324 enableval
="$enable_joystick"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7329 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7334 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x
; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7346 eval "$ac_cv_use_joystick"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_JOYSTICK" = yes; then
7352 echo "$ac_t""yes" 1>&6
7354 echo "$ac_t""no" 1>&6
7358 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7359 echo "configure:7360: checking for --enable-metafile" >&5
7361 # Check whether --enable-metafile or --disable-metafile was given.
7362 if test "${enable_metafile+set}" = set; then
7363 enableval
="$enable_metafile"
7365 if test "$enableval" = yes; then
7366 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7368 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7373 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7374 if test "x$LINE" != x
; then
7375 eval "DEFAULT_$LINE"
7380 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7385 eval "$ac_cv_use_metafile"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7390 if test "$wxUSE_METAFILE" = yes; then
7391 echo "$ac_t""yes" 1>&6
7393 echo "$ac_t""no" 1>&6
7397 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7398 echo "configure:7399: checking for --enable-dragimage" >&5
7400 # Check whether --enable-dragimage or --disable-dragimage was given.
7401 if test "${enable_dragimage+set}" = set; then
7402 enableval
="$enable_dragimage"
7404 if test "$enableval" = yes; then
7405 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7407 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7412 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7413 if test "x$LINE" != x
; then
7414 eval "DEFAULT_$LINE"
7419 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7424 eval "$ac_cv_use_dragimage"
7425 if test "$no_cache" != 1; then
7426 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7429 if test "$wxUSE_DRAGIMAGE" = yes; then
7430 echo "$ac_t""yes" 1>&6
7432 echo "$ac_t""no" 1>&6
7438 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7439 echo "configure:7440: checking for --enable-image" >&5
7441 # Check whether --enable-image or --disable-image was given.
7442 if test "${enable_image+set}" = set; then
7443 enableval
="$enable_image"
7445 if test "$enableval" = yes; then
7446 ac_cv_use_image
='wxUSE_IMAGE=yes'
7448 ac_cv_use_image
='wxUSE_IMAGE=no'
7453 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7454 if test "x$LINE" != x
; then
7455 eval "DEFAULT_$LINE"
7460 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7465 eval "$ac_cv_use_image"
7466 if test "$no_cache" != 1; then
7467 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7470 if test "$wxUSE_IMAGE" = yes; then
7471 echo "$ac_t""yes" 1>&6
7473 echo "$ac_t""no" 1>&6
7477 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7478 echo "configure:7479: checking for --enable-gif" >&5
7480 # Check whether --enable-gif or --disable-gif was given.
7481 if test "${enable_gif+set}" = set; then
7482 enableval
="$enable_gif"
7484 if test "$enableval" = yes; then
7485 ac_cv_use_gif
='wxUSE_GIF=yes'
7487 ac_cv_use_gif
='wxUSE_GIF=no'
7492 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x
; then
7494 eval "DEFAULT_$LINE"
7499 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7504 eval "$ac_cv_use_gif"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7509 if test "$wxUSE_GIF" = yes; then
7510 echo "$ac_t""yes" 1>&6
7512 echo "$ac_t""no" 1>&6
7516 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7517 echo "configure:7518: checking for --enable-pcx" >&5
7519 # Check whether --enable-pcx or --disable-pcx was given.
7520 if test "${enable_pcx+set}" = set; then
7521 enableval
="$enable_pcx"
7523 if test "$enableval" = yes; then
7524 ac_cv_use_pcx
='wxUSE_PCX=yes'
7526 ac_cv_use_pcx
='wxUSE_PCX=no'
7531 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x
; then
7533 eval "DEFAULT_$LINE"
7538 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7543 eval "$ac_cv_use_pcx"
7544 if test "$no_cache" != 1; then
7545 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7548 if test "$wxUSE_PCX" = yes; then
7549 echo "$ac_t""yes" 1>&6
7551 echo "$ac_t""no" 1>&6
7555 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7556 echo "configure:7557: checking for --enable-pnm" >&5
7558 # Check whether --enable-pnm or --disable-pnm was given.
7559 if test "${enable_pnm+set}" = set; then
7560 enableval
="$enable_pnm"
7562 if test "$enableval" = yes; then
7563 ac_cv_use_pnm
='wxUSE_PNM=yes'
7565 ac_cv_use_pnm
='wxUSE_PNM=no'
7570 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7571 if test "x$LINE" != x
; then
7572 eval "DEFAULT_$LINE"
7577 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7582 eval "$ac_cv_use_pnm"
7583 if test "$no_cache" != 1; then
7584 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7587 if test "$wxUSE_PNM" = yes; then
7588 echo "$ac_t""yes" 1>&6
7590 echo "$ac_t""no" 1>&6
7594 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7595 echo "configure:7596: checking for --enable-pnm" >&5
7597 # Check whether --enable-pnm or --disable-pnm was given.
7598 if test "${enable_pnm+set}" = set; then
7599 enableval
="$enable_pnm"
7601 if test "$enableval" = yes; then
7602 ac_cv_use_pnm
='wxUSE_XPM=yes'
7604 ac_cv_use_pnm
='wxUSE_XPM=no'
7609 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7610 if test "x$LINE" != x
; then
7611 eval "DEFAULT_$LINE"
7616 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7621 eval "$ac_cv_use_pnm"
7622 if test "$no_cache" != 1; then
7623 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7626 if test "$wxUSE_XPM" = yes; then
7627 echo "$ac_t""yes" 1>&6
7629 echo "$ac_t""no" 1>&6
7636 echo "saving argument cache $wx_arg_cache_file"
7637 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7641 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7642 echo "configure:7643: checking for toolkit" >&5
7644 if test "$wxUSE_GUI" = "yes"; then
7646 if test "$USE_BEOS" = 1; then
7647 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7650 if test "$TOOLKIT_GIVEN" = 1; then
7651 for toolkit
in `echo $ALL_TOOLKITS`; do
7653 eval "value=\$${var}"
7654 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7657 for toolkit
in `echo $ALL_TOOLKITS`; do
7658 if test "$has_toolkit_in_cache" != 1; then
7659 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7661 var
=DEFAULT_wxUSE_
$toolkit
7663 eval "wxUSE_$toolkit=\$${var}"
7667 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7671 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7672 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7681 case "$NUM_TOOLKITS" in
7685 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7688 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7691 for toolkit
in `echo $ALL_TOOLKITS`; do
7693 eval "value=\$${var}"
7694 if test "x$value" != x
; then
7695 cache_var
=CACHE_
$toolkit
7696 eval "cache=\$${cache_var}"
7697 if test "$cache" = 1; then
7698 echo "$var=$value" >> ${wx_arg_cache_file}
7700 if test "$value" = 1; then
7701 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7702 echo "$ac_t""$toolkit_echo" 1>&6
7709 echo "$ac_t""base only" 1>&6
7713 cat > confcache
<<\EOF
7714 # This file is a shell script that caches the results of configure
7715 # tests run on this system so they can be shared between configure
7716 # scripts and configure runs. It is not useful on other systems.
7717 # If it contains results you don't want to keep, you may remove or edit it.
7719 # By default, configure uses ./config.cache as the cache file,
7720 # creating it if it does not exist already. You can give configure
7721 # the --cache-file=FILE option to use a different cache file; that is
7722 # what configure does when it calls configure scripts in
7723 # subdirectories, so they share the cache.
7724 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7725 # config.status only pays attention to the cache file if you give it the
7726 # --recheck option to rerun configure.
7729 # The following way of writing the cache mishandles newlines in values,
7730 # but we know of no workaround that is simple, portable, and efficient.
7731 # So, don't put newlines in cache variables' values.
7732 # Ultrix sh set writes to stderr and can't be redirected directly,
7733 # and sets the high bit in the cache file unless we assign to the vars.
7735 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7737 # `set' does not quote correctly, so add quotes (double-quote substitution
7738 # turns \\\\ into \\, and sed turns \\ into \).
7740 -e "s/'/'\\\\''/g" \
7741 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7744 # `set' quotes correctly as required by POSIX, so do not add quotes.
7745 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7748 if cmp -s $cache_file confcache
; then
7751 if test -w $cache_file; then
7752 echo "updating cache $cache_file"
7753 cat confcache
> $cache_file
7755 echo "not updating unwritable cache $cache_file"
7761 if test "$build" != "$host" ; then
7765 RANLIB
=$host_alias-ranlib
7766 DLLTOOL
=$host_alias-dlltool
7767 RESCOMP
=$host_alias-windres
7770 STRIP
=$host_alias-strip
7773 # Extract the first word of "gcc", so it can be a program name with args.
7774 set dummy gcc
; ac_word
=$2
7775 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7776 echo "configure:7777: checking for $ac_word" >&5
7777 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7778 echo $ac_n "(cached) $ac_c" 1>&6
7780 if test -n "$CC"; then
7781 ac_cv_prog_CC
="$CC" # Let the user override the test.
7783 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7785 for ac_dir
in $ac_dummy; do
7786 test -z "$ac_dir" && ac_dir
=.
7787 if test -f $ac_dir/$ac_word; then
7796 if test -n "$CC"; then
7797 echo "$ac_t""$CC" 1>&6
7799 echo "$ac_t""no" 1>&6
7802 if test -z "$CC"; then
7803 # Extract the first word of "cc", so it can be a program name with args.
7804 set dummy cc
; ac_word
=$2
7805 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7806 echo "configure:7807: checking for $ac_word" >&5
7807 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7808 echo $ac_n "(cached) $ac_c" 1>&6
7810 if test -n "$CC"; then
7811 ac_cv_prog_CC
="$CC" # Let the user override the test.
7813 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7816 for ac_dir
in $ac_dummy; do
7817 test -z "$ac_dir" && ac_dir
=.
7818 if test -f $ac_dir/$ac_word; then
7819 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7820 ac_prog_rejected
=yes
7828 if test $ac_prog_rejected = yes; then
7829 # We found a bogon in the path, so make sure we never use it.
7830 set dummy
$ac_cv_prog_CC
7832 if test $# -gt 0; then
7833 # We chose a different compiler from the bogus one.
7834 # However, it has the same basename, so the bogon will be chosen
7835 # first if we set CC to just the basename; use the full file name.
7837 set dummy
"$ac_dir/$ac_word" "$@"
7845 if test -n "$CC"; then
7846 echo "$ac_t""$CC" 1>&6
7848 echo "$ac_t""no" 1>&6
7851 if test -z "$CC"; then
7852 case "`uname -s`" in
7854 # Extract the first word of "cl", so it can be a program name with args.
7855 set dummy cl
; ac_word
=$2
7856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7857 echo "configure:7858: checking for $ac_word" >&5
7858 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7859 echo $ac_n "(cached) $ac_c" 1>&6
7861 if test -n "$CC"; then
7862 ac_cv_prog_CC
="$CC" # Let the user override the test.
7864 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7866 for ac_dir
in $ac_dummy; do
7867 test -z "$ac_dir" && ac_dir
=.
7868 if test -f $ac_dir/$ac_word; then
7877 if test -n "$CC"; then
7878 echo "$ac_t""$CC" 1>&6
7880 echo "$ac_t""no" 1>&6
7885 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7888 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7889 echo "configure:7890: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7892 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7893 ac_cpp
='$CPP $CPPFLAGS'
7894 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7895 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7896 cross_compiling
=$ac_cv_prog_cc_cross
7898 cat > conftest.
$ac_ext << EOF
7900 #line 7901 "configure"
7901 #include "confdefs.h"
7905 if { (eval echo configure
:7906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7906 ac_cv_prog_cc_works
=yes
7907 # If we can't run a trivial program, we are probably using a cross compiler.
7908 if (.
/conftest
; exit) 2>/dev
/null
; then
7909 ac_cv_prog_cc_cross
=no
7911 ac_cv_prog_cc_cross
=yes
7914 echo "configure: failed program was:" >&5
7915 cat conftest.
$ac_ext >&5
7916 ac_cv_prog_cc_works
=no
7920 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7921 ac_cpp
='$CPP $CPPFLAGS'
7922 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7923 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7924 cross_compiling
=$ac_cv_prog_cc_cross
7926 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7927 if test $ac_cv_prog_cc_works = no
; then
7928 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7930 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7931 echo "configure:7932: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7932 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7933 cross_compiling
=$ac_cv_prog_cc_cross
7935 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7936 echo "configure:7937: checking whether we are using GNU C" >&5
7937 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7938 echo $ac_n "(cached) $ac_c" 1>&6
7940 cat > conftest.c
<<EOF
7945 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7952 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7954 if test $ac_cv_prog_gcc = yes; then
7960 ac_test_CFLAGS
="${CFLAGS+set}"
7961 ac_save_CFLAGS
="$CFLAGS"
7963 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7964 echo "configure:7965: checking whether ${CC-cc} accepts -g" >&5
7965 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7966 echo $ac_n "(cached) $ac_c" 1>&6
7968 echo 'void f(){}' > conftest.c
7969 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7978 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7979 if test "$ac_test_CFLAGS" = set; then
7980 CFLAGS
="$ac_save_CFLAGS"
7981 elif test $ac_cv_prog_cc_g = yes; then
7982 if test "$GCC" = yes; then
7988 if test "$GCC" = yes; then
7996 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7998 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7999 echo "configure:8000: checking how to run the C preprocessor" >&5
8000 # On Suns, sometimes $CPP names a directory.
8001 if test -n "$CPP" && test -d "$CPP"; then
8004 if test -z "$CPP"; then
8005 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8006 echo $ac_n "(cached) $ac_c" 1>&6
8008 # This must be in double quotes, not single quotes, because CPP may get
8009 # substituted into the Makefile and "${CC-cc}" will confuse make.
8011 # On the NeXT, cc -E runs the code through the compiler's parser,
8012 # not just through cpp.
8013 cat > conftest.
$ac_ext <<EOF
8014 #line 8015 "configure"
8015 #include "confdefs.h"
8019 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8020 { (eval echo configure
:8021: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8021 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8022 if test -z "$ac_err"; then
8026 echo "configure: failed program was:" >&5
8027 cat conftest.
$ac_ext >&5
8029 CPP
="${CC-cc} -E -traditional-cpp"
8030 cat > conftest.
$ac_ext <<EOF
8031 #line 8032 "configure"
8032 #include "confdefs.h"
8036 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8037 { (eval echo configure
:8038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8038 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8039 if test -z "$ac_err"; then
8043 echo "configure: failed program was:" >&5
8044 cat conftest.
$ac_ext >&5
8046 CPP
="${CC-cc} -nologo -E"
8047 cat > conftest.
$ac_ext <<EOF
8048 #line 8049 "configure"
8049 #include "confdefs.h"
8053 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8054 { (eval echo configure
:8055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8055 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8056 if test -z "$ac_err"; then
8060 echo "configure: failed program was:" >&5
8061 cat conftest.
$ac_ext >&5
8070 ac_cv_prog_CPP
="$CPP"
8072 CPP
="$ac_cv_prog_CPP"
8074 ac_cv_prog_CPP
="$CPP"
8076 echo "$ac_t""$CPP" 1>&6
8079 if test $ac_cv_prog_gcc = yes; then
8080 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8081 echo "configure:8082: checking whether ${CC-cc} needs -traditional" >&5
8082 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8083 echo $ac_n "(cached) $ac_c" 1>&6
8085 ac_pattern
="Autoconf.*'x'"
8086 cat > conftest.
$ac_ext <<EOF
8087 #line 8088 "configure"
8088 #include "confdefs.h"
8092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8093 egrep "$ac_pattern" >/dev
/null
2>&1; then
8095 ac_cv_prog_gcc_traditional
=yes
8098 ac_cv_prog_gcc_traditional
=no
8103 if test $ac_cv_prog_gcc_traditional = no
; then
8104 cat > conftest.
$ac_ext <<EOF
8105 #line 8106 "configure"
8106 #include "confdefs.h"
8110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8111 egrep "$ac_pattern" >/dev
/null
2>&1; then
8113 ac_cv_prog_gcc_traditional
=yes
8120 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8121 if test $ac_cv_prog_gcc_traditional = yes; then
8122 CC
="$CC -traditional"
8129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8130 ac_cpp
='$CXXCPP $CPPFLAGS'
8131 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8132 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8133 cross_compiling
=$ac_cv_prog_cxx_cross
8136 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8138 # Extract the first word of "$ac_prog", so it can be a program name with args.
8139 set dummy
$ac_prog; ac_word
=$2
8140 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8141 echo "configure:8142: checking for $ac_word" >&5
8142 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8143 echo $ac_n "(cached) $ac_c" 1>&6
8145 if test -n "$CXX"; then
8146 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8148 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8150 for ac_dir
in $ac_dummy; do
8151 test -z "$ac_dir" && ac_dir
=.
8152 if test -f $ac_dir/$ac_word; then
8153 ac_cv_prog_CXX
="$ac_prog"
8160 CXX
="$ac_cv_prog_CXX"
8161 if test -n "$CXX"; then
8162 echo "$ac_t""$CXX" 1>&6
8164 echo "$ac_t""no" 1>&6
8167 test -n "$CXX" && break
8169 test -n "$CXX" || CXX
="gcc"
8172 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8173 echo "configure:8174: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8177 ac_cpp
='$CXXCPP $CPPFLAGS'
8178 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8179 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8180 cross_compiling
=$ac_cv_prog_cxx_cross
8182 cat > conftest.
$ac_ext << EOF
8184 #line 8185 "configure"
8185 #include "confdefs.h"
8187 int main(){return(0);}
8189 if { (eval echo configure
:8190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8190 ac_cv_prog_cxx_works
=yes
8191 # If we can't run a trivial program, we are probably using a cross compiler.
8192 if (.
/conftest
; exit) 2>/dev
/null
; then
8193 ac_cv_prog_cxx_cross
=no
8195 ac_cv_prog_cxx_cross
=yes
8198 echo "configure: failed program was:" >&5
8199 cat conftest.
$ac_ext >&5
8200 ac_cv_prog_cxx_works
=no
8204 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8205 ac_cpp
='$CXXCPP $CPPFLAGS'
8206 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8207 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8208 cross_compiling
=$ac_cv_prog_cxx_cross
8210 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8211 if test $ac_cv_prog_cxx_works = no
; then
8212 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8214 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8215 echo "configure:8216: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8216 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8217 cross_compiling
=$ac_cv_prog_cxx_cross
8219 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8220 echo "configure:8221: checking whether we are using GNU C++" >&5
8221 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8222 echo $ac_n "(cached) $ac_c" 1>&6
8224 cat > conftest.C
<<EOF
8229 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8236 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8238 if test $ac_cv_prog_gxx = yes; then
8244 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8245 ac_save_CXXFLAGS
="$CXXFLAGS"
8247 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8248 echo "configure:8249: checking whether ${CXX-g++} accepts -g" >&5
8249 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8250 echo $ac_n "(cached) $ac_c" 1>&6
8252 echo 'void f(){}' > conftest.cc
8253 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8254 ac_cv_prog_cxx_g
=yes
8262 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8263 if test "$ac_test_CXXFLAGS" = set; then
8264 CXXFLAGS
="$ac_save_CXXFLAGS"
8265 elif test $ac_cv_prog_cxx_g = yes; then
8266 if test "$GXX" = yes; then
8272 if test "$GXX" = yes; then
8280 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8281 echo "configure:8282: checking how to run the C++ preprocessor" >&5
8282 if test -z "$CXXCPP"; then
8283 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8284 echo $ac_n "(cached) $ac_c" 1>&6
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
8292 CXXCPP
="${CXX-g++} -E"
8293 cat > conftest.
$ac_ext <<EOF
8294 #line 8295 "configure"
8295 #include "confdefs.h"
8298 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8299 { (eval echo configure
:8300: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8300 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8301 if test -z "$ac_err"; then
8305 echo "configure: failed program was:" >&5
8306 cat conftest.
$ac_ext >&5
8311 ac_cv_prog_CXXCPP
="$CXXCPP"
8313 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8314 ac_cpp
='$CXXCPP $CPPFLAGS'
8315 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8316 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8317 cross_compiling
=$ac_cv_prog_cxx_cross
8320 CXXCPP
="$ac_cv_prog_CXXCPP"
8321 echo "$ac_t""$CXXCPP" 1>&6
8324 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8327 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8328 ac_cpp
='$CPP $CPPFLAGS'
8329 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8330 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8331 cross_compiling
=$ac_cv_prog_cc_cross
8334 # Extract the first word of "ranlib", so it can be a program name with args.
8335 set dummy ranlib
; ac_word
=$2
8336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8337 echo "configure:8338: checking for $ac_word" >&5
8338 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8339 echo $ac_n "(cached) $ac_c" 1>&6
8341 if test -n "$RANLIB"; then
8342 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8344 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8346 for ac_dir
in $ac_dummy; do
8347 test -z "$ac_dir" && ac_dir
=.
8348 if test -f $ac_dir/$ac_word; then
8349 ac_cv_prog_RANLIB
="ranlib"
8354 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8357 RANLIB
="$ac_cv_prog_RANLIB"
8358 if test -n "$RANLIB"; then
8359 echo "$ac_t""$RANLIB" 1>&6
8361 echo "$ac_t""no" 1>&6
8365 # Extract the first word of "ar", so it can be a program name with args.
8366 set dummy
ar; ac_word
=$2
8367 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8368 echo "configure:8369: checking for $ac_word" >&5
8369 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8370 echo $ac_n "(cached) $ac_c" 1>&6
8372 if test -n "$AR"; then
8373 ac_cv_prog_AR
="$AR" # Let the user override the test.
8375 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8377 for ac_dir
in $ac_dummy; do
8378 test -z "$ac_dir" && ac_dir
=.
8379 if test -f $ac_dir/$ac_word; then
8385 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8389 if test -n "$AR"; then
8390 echo "$ac_t""$AR" 1>&6
8392 echo "$ac_t""no" 1>&6
8396 # Find a good install program. We prefer a C program (faster),
8397 # so one script is as good as another. But avoid the broken or
8398 # incompatible versions:
8399 # SysV /etc/install, /usr/sbin/install
8400 # SunOS /usr/etc/install
8401 # IRIX /sbin/install
8403 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8404 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8405 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8406 # ./install, which can be erroneously created by make from ./install.sh.
8407 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8408 echo "configure:8409: checking for a BSD compatible install" >&5
8409 if test -z "$INSTALL"; then
8410 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8411 echo $ac_n "(cached) $ac_c" 1>&6
8413 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8414 for ac_dir
in $PATH; do
8415 # Account for people who put trailing slashes in PATH elements.
8417 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8419 # OSF1 and SCO ODT 3.0 have their own names for install.
8420 # Don't use installbsd from OSF since it installs stuff as root
8422 for ac_prog
in ginstall scoinst
install; do
8423 if test -f $ac_dir/$ac_prog; then
8424 if test $ac_prog = install &&
8425 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8426 # AIX install. It has an incompatible calling convention.
8429 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8440 if test "${ac_cv_path_install+set}" = set; then
8441 INSTALL
="$ac_cv_path_install"
8443 # As a last resort, use the slow shell script. We don't cache a
8444 # path for INSTALL within a source directory, because that will
8445 # break other packages using the cache if that directory is
8446 # removed, or if the path is relative.
8447 INSTALL
="$ac_install_sh"
8450 echo "$ac_t""$INSTALL" 1>&6
8452 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8453 # It thinks the first close brace ends the variable substitution.
8454 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8456 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8458 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8461 # Extract the first word of "strip", so it can be a program name with args.
8462 set dummy strip
; ac_word
=$2
8463 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8464 echo "configure:8465: checking for $ac_word" >&5
8465 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8466 echo $ac_n "(cached) $ac_c" 1>&6
8468 if test -n "$STRIP"; then
8469 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8471 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8473 for ac_dir
in $ac_dummy; do
8474 test -z "$ac_dir" && ac_dir
=.
8475 if test -f $ac_dir/$ac_word; then
8476 ac_cv_prog_STRIP
="strip"
8481 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8484 STRIP
="$ac_cv_prog_STRIP"
8485 if test -n "$STRIP"; then
8486 echo "$ac_t""$STRIP" 1>&6
8488 echo "$ac_t""no" 1>&6
8492 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8493 echo "configure:8494: checking make for VPATH support" >&5
8494 cat - << EOF > confMake
8500 if test ! -d sub
; then
8503 echo dummy
> sub
/file
8504 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8506 rm -f sub
/file check final_file confMake
8508 if test "$RESULT" = 0; then
8509 echo "$ac_t""yes" 1>&6
8511 echo "$ac_t""no" 1>&6
8512 { echo "configure: error:
8513 You need a make-utility that is able to use the variable
8515 If your version of make does not support VPATH correctly,
8516 please install GNU-make (possibly as gmake), and start
8517 configure with the following command:
8518 export MAKE=gmake; ./configure for sh-type shells
8519 setenv MAKE gmake; ./configure for csh-type shells
8520 Also please do remember to use gmake in this case every time
8521 you are trying to compile.
8525 for ac_prog
in 'bison -y' byacc
8527 # Extract the first word of "$ac_prog", so it can be a program name with args.
8528 set dummy
$ac_prog; ac_word
=$2
8529 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8530 echo "configure:8531: checking for $ac_word" >&5
8531 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8532 echo $ac_n "(cached) $ac_c" 1>&6
8534 if test -n "$YACC"; then
8535 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8537 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8539 for ac_dir
in $ac_dummy; do
8540 test -z "$ac_dir" && ac_dir
=.
8541 if test -f $ac_dir/$ac_word; then
8542 ac_cv_prog_YACC
="$ac_prog"
8549 YACC
="$ac_cv_prog_YACC"
8550 if test -n "$YACC"; then
8551 echo "$ac_t""$YACC" 1>&6
8553 echo "$ac_t""no" 1>&6
8556 test -n "$YACC" && break
8558 test -n "$YACC" || YACC
="yacc"
8561 # Extract the first word of "flex", so it can be a program name with args.
8562 set dummy flex
; ac_word
=$2
8563 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8564 echo "configure:8565: checking for $ac_word" >&5
8565 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8566 echo $ac_n "(cached) $ac_c" 1>&6
8568 if test -n "$LEX"; then
8569 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8571 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8573 for ac_dir
in $ac_dummy; do
8574 test -z "$ac_dir" && ac_dir
=.
8575 if test -f $ac_dir/$ac_word; then
8576 ac_cv_prog_LEX
="flex"
8581 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8584 LEX
="$ac_cv_prog_LEX"
8585 if test -n "$LEX"; then
8586 echo "$ac_t""$LEX" 1>&6
8588 echo "$ac_t""no" 1>&6
8591 if test -z "$LEXLIB"
8597 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8598 echo "configure:8599: checking for yywrap in -l$ac_lib" >&5
8599 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8600 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8601 echo $ac_n "(cached) $ac_c" 1>&6
8603 ac_save_LIBS
="$LIBS"
8604 LIBS
="-l$ac_lib $LIBS"
8605 cat > conftest.
$ac_ext <<EOF
8606 #line 8607 "configure"
8607 #include "confdefs.h"
8608 /* Override any gcc2 internal prototype to avoid an error. */
8609 /* We use char because int might match the return type of a gcc2
8610 builtin and then its argument prototype would still apply. */
8617 if { (eval echo configure
:8618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8619 eval "ac_cv_lib_$ac_lib_var=yes"
8621 echo "configure: failed program was:" >&5
8622 cat conftest.
$ac_ext >&5
8624 eval "ac_cv_lib_$ac_lib_var=no"
8627 LIBS
="$ac_save_LIBS"
8630 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8631 echo "$ac_t""yes" 1>&6
8634 echo "$ac_t""no" 1>&6
8640 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8641 echo "configure:8642: checking whether ln -s works" >&5
8642 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8643 echo $ac_n "(cached) $ac_c" 1>&6
8646 if ln -s X conftestdata
2>/dev
/null
8649 ac_cv_prog_LN_S
="ln -s"
8654 LN_S
="$ac_cv_prog_LN_S"
8655 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8656 echo "$ac_t""yes" 1>&6
8658 echo "$ac_t""no" 1>&6
8664 /usr/local/include \
8666 /usr/Motif-1.2/include \
8667 /usr/Motif-2.1/include \
8669 /usr/include/Motif1.2 \
8670 /opt/xpm/include/X11 \
8671 /opt/GBxpm/include/ \
8672 /opt/GBxpm/X11/include/ \
8674 /usr/Motif1.2/include \
8676 /usr/openwin/include \
8680 /usr/X11R6/include \
8681 /usr/X11R6.4/include \
8682 /usr/X11R5/include \
8683 /usr/X11R4/include \
8685 /usr/include/X11R6 \
8686 /usr/include/X11R5 \
8687 /usr/include/X11R4 \
8689 /usr/local/X11R6/include \
8690 /usr/local/X11R5/include \
8691 /usr/local/X11R4/include \
8693 /usr/local/include/X11R6 \
8694 /usr/local/include/X11R5 \
8695 /usr/local/include/X11R4 \
8699 /usr/local/X11/include \
8700 /usr/local/include/X11 \
8704 /usr/XFree86/include/X11 \
8706 X:/XFree86/include \
8707 X:/XFree86/include/X11 \
8710 /usr/local/include/gtk \
8712 /usr/local/include/glib \
8715 /usr/local/include/qt \
8717 /usr/include/windows \
8719 /usr/local/include/wine \
8721 /usr/unsupported/include \
8722 /usr/athena/include \
8723 /usr/local/x11r5/include \
8724 /usr/lpp/Xamples/include \
8726 /usr/openwin/share/include \
8730 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8733 cat > confcache
<<\EOF
8734 # This file is a shell script that caches the results of configure
8735 # tests run on this system so they can be shared between configure
8736 # scripts and configure runs. It is not useful on other systems.
8737 # If it contains results you don't want to keep, you may remove or edit it.
8739 # By default, configure uses ./config.cache as the cache file,
8740 # creating it if it does not exist already. You can give configure
8741 # the --cache-file=FILE option to use a different cache file; that is
8742 # what configure does when it calls configure scripts in
8743 # subdirectories, so they share the cache.
8744 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8745 # config.status only pays attention to the cache file if you give it the
8746 # --recheck option to rerun configure.
8749 # The following way of writing the cache mishandles newlines in values,
8750 # but we know of no workaround that is simple, portable, and efficient.
8751 # So, don't put newlines in cache variables' values.
8752 # Ultrix sh set writes to stderr and can't be redirected directly,
8753 # and sets the high bit in the cache file unless we assign to the vars.
8755 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8757 # `set' does not quote correctly, so add quotes (double-quote substitution
8758 # turns \\\\ into \\, and sed turns \\ into \).
8760 -e "s/'/'\\\\''/g" \
8761 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8764 # `set' quotes correctly as required by POSIX, so do not add quotes.
8765 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8768 if cmp -s $cache_file confcache
; then
8771 if test -w $cache_file; then
8772 echo "updating cache $cache_file"
8773 cat confcache
> $cache_file
8775 echo "not updating unwritable cache $cache_file"
8784 if test "$wxUSE_GUI" = "yes"; then
8799 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8800 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8801 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8802 echo "configure:8803: checking for windows.h" >&5
8803 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8804 echo $ac_n "(cached) $ac_c" 1>&6
8806 cat > conftest.
$ac_ext <<EOF
8807 #line 8808 "configure"
8808 #include "confdefs.h"
8809 #include <windows.h>
8811 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8812 { (eval echo configure
:8813: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8813 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8814 if test -z "$ac_err"; then
8816 eval "ac_cv_header_$ac_safe=yes"
8819 echo "configure: failed program was:" >&5
8820 cat conftest.
$ac_ext >&5
8822 eval "ac_cv_header_$ac_safe=no"
8826 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8827 echo "$ac_t""yes" 1>&6
8830 echo "$ac_t""no" 1>&6
8832 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8837 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8839 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
8841 if test "$wxUSE_ODBC" = "yes" ; then
8842 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8845 if test "$wxUSE_MINGW" = 1; then
8846 LDFLAGS
="$LDFLAGS -mwindows"
8852 RCINCSWITCH
="--include-dir"
8853 RCDEFSWITCH
="--define"
8854 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8857 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8859 RESPROGRAM
="\$(RES_PROGRAM)"
8862 if test "$wxUSE_GTK" = 1; then
8863 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8864 echo "configure:8865: checking for GTK+ version" >&5
8866 gtk_version_cached
=1
8867 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8868 echo $ac_n "(cached) $ac_c" 1>&6
8871 gtk_version_cached
=0
8872 echo "$ac_t""""" 1>&6
8875 if test "x$wxUSE_GTK2" = "xyes"; then
8876 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8877 if test "${with_gtk_prefix+set}" = set; then
8878 withval
="$with_gtk_prefix"
8879 gtk_config_prefix
="$withval"
8881 gtk_config_prefix
=""
8884 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8885 if test "${with_gtk_exec_prefix+set}" = set; then
8886 withval
="$with_gtk_exec_prefix"
8887 gtk_config_exec_prefix
="$withval"
8889 gtk_config_exec_prefix
=""
8892 # Check whether --enable-gtktest or --disable-gtktest was given.
8893 if test "${enable_gtktest+set}" = set; then
8894 enableval
="$enable_gtktest"
8905 gtk_config_args
="$gtk_config_args gthread"
8910 if test x
$gtk_config_exec_prefix != x
; then
8911 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8912 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8913 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8916 if test x
$gtk_config_prefix != x
; then
8917 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8918 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8919 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8923 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8924 set dummy gtk
-config-2.0
; ac_word
=$2
8925 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8926 echo "configure:8927: checking for $ac_word" >&5
8927 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8928 echo $ac_n "(cached) $ac_c" 1>&6
8930 case "$GTK_CONFIG_2_0" in
8932 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8935 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8940 for ac_dir
in $ac_dummy; do
8941 test -z "$ac_dir" && ac_dir
=.
8942 if test -f $ac_dir/$ac_word; then
8943 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8948 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8952 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8953 if test -n "$GTK_CONFIG_2_0"; then
8954 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8956 echo "$ac_t""no" 1>&6
8959 min_gtk_version
=1.3.1
8960 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8961 echo "configure:8962: checking for GTK - version >= $min_gtk_version" >&5
8963 if test "$GTK_CONFIG_2_0" = "no" ; then
8966 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8967 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8968 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8970 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8972 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8974 if test "x$enable_gtktest" = "xyes" ; then
8975 ac_save_CFLAGS
="$CFLAGS"
8976 ac_save_LIBS
="$LIBS"
8977 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8978 LIBS
="$GTK_LIBS $LIBS"
8980 if test "$cross_compiling" = yes; then
8981 echo $ac_n "cross compiling; assumed OK... $ac_c"
8983 cat > conftest.
$ac_ext <<EOF
8984 #line 8985 "configure"
8985 #include "confdefs.h"
8987 #include <gtk/gtk.h>
8994 int major, minor, micro;
8997 system ("touch conf.gtktest");
8999 /* HP/UX 9 (%@#!) writes to sscanf strings */
9000 tmp_version = g_strdup("$min_gtk_version");
9001 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9002 printf("%s, bad version string\n", "$min_gtk_version");
9006 if ((gtk_major_version != $gtk_config_major_version) ||
9007 (gtk_minor_version != $gtk_config_minor_version) ||
9008 (gtk_micro_version != $gtk_config_micro_version))
9010 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9011 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9012 gtk_major_version, gtk_minor_version, gtk_micro_version);
9013 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9014 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9015 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9016 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9017 printf("*** required on your system.\n");
9018 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9019 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9020 printf("*** before re-running configure\n");
9022 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9023 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9024 (gtk_minor_version != GTK_MINOR_VERSION) ||
9025 (gtk_micro_version != GTK_MICRO_VERSION))
9027 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9028 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9029 printf("*** library (version %d.%d.%d)\n",
9030 gtk_major_version, gtk_minor_version, gtk_micro_version);
9032 #endif /* defined (GTK_MAJOR_VERSION) ... */
9035 if ((gtk_major_version > major) ||
9036 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9037 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9043 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9044 gtk_major_version, gtk_minor_version, gtk_micro_version);
9045 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9046 major, minor, micro);
9047 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9049 printf("*** If you have already installed a sufficiently new version, this error\n");
9050 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9051 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9052 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9053 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9054 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9055 printf("*** so that the correct libraries are found at run-time))\n");
9062 if { (eval echo configure
:9063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9066 echo "configure: failed program was:" >&5
9067 cat conftest.
$ac_ext >&5
9074 CFLAGS
="$ac_save_CFLAGS"
9075 LIBS
="$ac_save_LIBS"
9078 if test "x$no_gtk" = x
; then
9079 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9082 echo "$ac_t""no" 1>&6
9083 if test "$GTK_CONFIG_2_0" = "no" ; then
9084 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9085 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9086 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9087 echo "*** full path to gtk-config-2.0."
9089 if test -f conf.gtktest
; then
9092 echo "*** Could not run GTK test program, checking why..."
9093 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9094 LIBS
="$LIBS $GTK_LIBS"
9095 cat > conftest.
$ac_ext <<EOF
9096 #line 9097 "configure"
9097 #include "confdefs.h"
9099 #include <gtk/gtk.h>
9103 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9106 if { (eval echo configure
:9107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9108 echo "*** The test program compiled, but did not run. This usually means"
9109 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9110 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9111 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9112 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9113 echo "*** is required on your system"
9115 echo "*** If you have an old version installed, it is best to remove it, although"
9116 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9118 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9119 echo "*** came with the system with the command"
9121 echo "*** rpm --erase --nodeps gtk gtk-devel"
9123 echo "configure: failed program was:" >&5
9124 cat conftest.
$ac_ext >&5
9126 echo "*** The test program failed to compile or link. See the file config.log for the"
9127 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9128 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9129 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9132 CFLAGS
="$ac_save_CFLAGS"
9133 LIBS
="$ac_save_LIBS"
9146 if test -z "$wx_cv_lib_gtk"; then
9148 if test x
$gtk_config_exec_prefix != x
; then
9149 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9150 if test x
${GTK_CONFIG+set} != xset
; then
9151 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9154 if test x
$gtk_config_prefix != x
; then
9155 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9156 if test x
${GTK_CONFIG+set} != xset
; then
9157 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9161 # Extract the first word of "gtk-config", so it can be a program name with args.
9162 set dummy gtk
-config; ac_word
=$2
9163 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9164 echo "configure:9165: checking for $ac_word" >&5
9165 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9166 echo $ac_n "(cached) $ac_c" 1>&6
9168 case "$GTK_CONFIG" in
9170 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9173 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9176 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9178 for ac_dir
in $ac_dummy; do
9179 test -z "$ac_dir" && ac_dir
=.
9180 if test -f $ac_dir/$ac_word; then
9181 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9186 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9190 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9191 if test -n "$GTK_CONFIG"; then
9192 echo "$ac_t""$GTK_CONFIG" 1>&6
9194 echo "$ac_t""no" 1>&6
9197 min_gtk_version
=1.2.7
9198 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9199 echo "configure:9200: checking for GTK - version >= $min_gtk_version" >&5
9201 if test "$GTK_CONFIG" != "no" ; then
9202 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9203 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9204 ac_save_CFLAGS
="$CFLAGS"
9205 ac_save_LIBS
="$LIBS"
9206 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9207 LIBS
="$LIBS $GTK_LIBS"
9208 if test "$cross_compiling" = yes; then
9209 echo $ac_n "cross compiling; assumed OK... $ac_c"
9211 cat > conftest.
$ac_ext <<EOF
9212 #line 9213 "configure"
9213 #include "confdefs.h"
9215 #include <gtk/gtk.h>
9216 #include <gtk/gtkfeatures.h>
9223 int major, minor, micro;
9225 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9226 printf("%s, bad version string\n", "$min_gtk_version");
9230 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9231 (GTK_MINOR_VERSION != gtk_minor_version) ||
9232 (GTK_MICRO_VERSION != gtk_micro_version)) {
9233 printf("Headers vs. library version mismatch!\n");
9237 if (gtk_minor_version == 1) return FALSE;
9239 return !((gtk_major_version > major) ||
9240 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9241 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9245 if { (eval echo configure
:9246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9249 echo "configure: failed program was:" >&5
9250 cat conftest.
$ac_ext >&5
9257 CFLAGS
="$ac_save_CFLAGS"
9258 LIBS
="$ac_save_LIBS"
9262 if test "x$no_gtk" = x
; then
9263 echo "$ac_t""yes" 1>&6
9266 echo "$ac_t""no" 1>&6
9276 if test -z "$wx_cv_lib_gtk"; then
9278 if test x
$gtk_config_exec_prefix != x
; then
9279 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9280 if test x
${GTK_CONFIG+set} != xset
; then
9281 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9284 if test x
$gtk_config_prefix != x
; then
9285 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9286 if test x
${GTK_CONFIG+set} != xset
; then
9287 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9291 # Extract the first word of "gtk-config", so it can be a program name with args.
9292 set dummy gtk
-config; ac_word
=$2
9293 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9294 echo "configure:9295: checking for $ac_word" >&5
9295 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9296 echo $ac_n "(cached) $ac_c" 1>&6
9298 case "$GTK_CONFIG" in
9300 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9303 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9306 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9308 for ac_dir
in $ac_dummy; do
9309 test -z "$ac_dir" && ac_dir
=.
9310 if test -f $ac_dir/$ac_word; then
9311 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9316 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9320 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9321 if test -n "$GTK_CONFIG"; then
9322 echo "$ac_t""$GTK_CONFIG" 1>&6
9324 echo "$ac_t""no" 1>&6
9327 min_gtk_version
=1.2.3
9328 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9329 echo "configure:9330: checking for GTK - version >= $min_gtk_version" >&5
9331 if test "$GTK_CONFIG" != "no" ; then
9332 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9333 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9334 ac_save_CFLAGS
="$CFLAGS"
9335 ac_save_LIBS
="$LIBS"
9336 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9337 LIBS
="$LIBS $GTK_LIBS"
9338 if test "$cross_compiling" = yes; then
9339 echo $ac_n "cross compiling; assumed OK... $ac_c"
9341 cat > conftest.
$ac_ext <<EOF
9342 #line 9343 "configure"
9343 #include "confdefs.h"
9345 #include <gtk/gtk.h>
9346 #include <gtk/gtkfeatures.h>
9353 int major, minor, micro;
9355 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9356 printf("%s, bad version string\n", "$min_gtk_version");
9360 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9361 (GTK_MINOR_VERSION != gtk_minor_version) ||
9362 (GTK_MICRO_VERSION != gtk_micro_version)) {
9363 printf("Headers vs. library version mismatch!\n");
9367 if (gtk_minor_version == 1) return FALSE;
9369 return !((gtk_major_version > major) ||
9370 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9371 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9375 if { (eval echo configure
:9376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9379 echo "configure: failed program was:" >&5
9380 cat conftest.
$ac_ext >&5
9387 CFLAGS
="$ac_save_CFLAGS"
9388 LIBS
="$ac_save_LIBS"
9392 if test "x$no_gtk" = x
; then
9393 echo "$ac_t""yes" 1>&6
9396 echo "$ac_t""no" 1>&6
9406 if test -z "$wx_cv_lib_gtk"; then
9409 wx_cv_cflags_gtk
=$GTK_CFLAGS
9410 wx_cv_libs_gtk
=$GTK_LIBS
9417 if test "$gtk_version_cached" = 1; then
9418 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9421 case "$wx_cv_lib_gtk" in
9429 *) { echo "configure: error:
9430 Please check that gtk-config is in path, the directory
9431 where GTK+ libraries are installed (returned by
9432 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9433 equivalent variable and GTK+ is version 1.2.3 or above.
9438 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9439 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9441 AFMINSTALL
=afminstall
9445 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9446 echo "configure:9447: checking for gdk_im_open in -lgdk" >&5
9447 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9448 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9449 echo $ac_n "(cached) $ac_c" 1>&6
9451 ac_save_LIBS
="$LIBS"
9453 cat > conftest.
$ac_ext <<EOF
9454 #line 9455 "configure"
9455 #include "confdefs.h"
9456 /* Override any gcc2 internal prototype to avoid an error. */
9457 /* We use char because int might match the return type of a gcc2
9458 builtin and then its argument prototype would still apply. */
9465 if { (eval echo configure
:9466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9467 eval "ac_cv_lib_$ac_lib_var=yes"
9469 echo "configure: failed program was:" >&5
9470 cat conftest.
$ac_ext >&5
9472 eval "ac_cv_lib_$ac_lib_var=no"
9475 LIBS
="$ac_save_LIBS"
9478 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9479 echo "$ac_t""yes" 1>&6
9480 cat >> confdefs.h
<<\EOF
9485 echo "$ac_t""no" 1>&6
9490 if test "$wxUSE_MGL" = 1; then
9492 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9493 echo "configure:9494: checking for SciTech MGL library" >&5
9494 if test "x$MGL_ROOT" = x
; then
9495 echo "$ac_t""not found" 1>&6
9496 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9498 echo "$ac_t""$MGL_ROOT" 1>&6
9501 MGL_OS
=linux
/gcc
/glibc
9504 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9505 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9509 if test "x$MGL_LIB_TYPE" = x
; then
9510 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9511 MGL_LIB_TYPE
=release
9513 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9517 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9518 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9520 AFMINSTALL
=afminstall
9525 if test "$wxUSE_WINE" = 1; then
9526 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9527 echo "configure:9528: checking for WINE includes" >&5
9530 for ac_dir
in $SEARCH_INCLUDE;
9532 if test -f "$ac_dir/windows.h"; then
9533 ac_find_includes
=$ac_dir
9538 if test "$ac_find_includes" != "" ; then
9539 echo "$ac_t""found $ac_find_includes" 1>&6
9540 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9542 echo "$ac_t""no" 1>&6
9543 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9547 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9548 echo "configure:9549: checking for Xpm library" >&5
9551 for ac_dir
in $SEARCH_LIB;
9553 for ac_extension
in a so sl dylib
; do
9554 if test -f "$ac_dir/libXpm.$ac_extension"; then
9555 ac_find_libraries
=$ac_dir
9561 if test "$ac_find_libraries" != "" ; then
9562 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9564 cat >> confdefs.h
<<\EOF
9565 #define wxHAVE_LIB_XPM 1
9568 echo "$ac_t""found at $ac_find_libraries" 1>&6
9570 echo "$ac_t""no" 1>&6
9571 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9575 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9576 echo "configure:9577: checking for Mesa library" >&5
9579 for ac_dir
in $SEARCH_LIB;
9581 for ac_extension
in a so sl dylib
; do
9582 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9583 ac_find_libraries
=$ac_dir
9589 if test "$ac_find_libraries" != "" ; then
9590 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9591 MESA_LINK
="-lMesaGL"
9592 echo "$ac_t""found at $ac_find_libraries" 1>&6
9594 { echo "configure: error: no" 1>&2; exit 1; }
9597 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9598 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9605 # If we find X, set shell vars x_includes and x_libraries to the
9606 # paths, otherwise set no_x=yes.
9607 # Uses ac_ vars as temps to allow command line to override cache and checks.
9608 # --without-x overrides everything else, but does not touch the cache.
9609 echo $ac_n "checking for X""... $ac_c" 1>&6
9610 echo "configure:9611: checking for X" >&5
9612 # Check whether --with-x or --without-x was given.
9613 if test "${with_x+set}" = set; then
9618 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9619 if test "x$with_x" = xno
; then
9620 # The user explicitly disabled X.
9623 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9624 # Both variables are already set.
9627 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9628 echo $ac_n "(cached) $ac_c" 1>&6
9630 # One or both of the vars are not set, and there is no cached value.
9631 ac_x_includes
=NO ac_x_libraries
=NO
9633 if mkdir conftestdir
; then
9635 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9636 cat > Imakefile
<<'EOF'
9638 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9640 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9641 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9642 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9643 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9644 for ac_extension
in a so sl
; do
9645 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9646 test -f $ac_im_libdir/libX11.
$ac_extension; then
9647 ac_im_usrlibdir
=$ac_im_libdir; break
9650 # Screen out bogus values from the imake configuration. They are
9651 # bogus both because they are the default anyway, and because
9652 # using them would break gcc on systems where it needs fixed includes.
9653 case "$ac_im_incroot" in
9655 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9657 case "$ac_im_usrlibdir" in
9659 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9666 if test "$ac_x_includes" = NO
; then
9667 # Guess where to find include files, by looking for this one X11 .h file.
9668 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9670 # First, try using that file with no special directory specified.
9671 cat > conftest.
$ac_ext <<EOF
9672 #line 9673 "configure"
9673 #include "confdefs.h"
9674 #include <$x_direct_test_include>
9676 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9677 { (eval echo configure
:9678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9678 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9679 if test -z "$ac_err"; then
9681 # We can compile using X headers with no special include directory.
9685 echo "configure: failed program was:" >&5
9686 cat conftest.
$ac_ext >&5
9688 # Look for the header file in a standard set of common directories.
9689 # Check X11 before X11Rn because it is often a symlink to the current release.
9692 /usr
/X
11R
6/include \
9693 /usr
/X
11R
5/include \
9694 /usr
/X
11R
4/include \
9697 /usr
/include
/X11R6 \
9698 /usr
/include
/X11R5 \
9699 /usr
/include
/X11R4 \
9701 /usr
/local
/X
11/include \
9702 /usr
/local
/X
11R
6/include \
9703 /usr
/local
/X
11R
5/include \
9704 /usr
/local
/X
11R
4/include \
9706 /usr
/local
/include
/X11 \
9707 /usr
/local
/include
/X11R6 \
9708 /usr
/local
/include
/X11R5 \
9709 /usr
/local
/include
/X11R4 \
9713 /usr
/XFree
86/include
/X11 \
9716 /usr
/local
/include \
9717 /usr
/unsupported
/include \
9718 /usr
/athena
/include \
9719 /usr
/local
/x
11r
5/include \
9720 /usr
/lpp
/Xamples
/include \
9722 /usr
/openwin
/include \
9723 /usr
/openwin
/share
/include \
9726 if test -r "$ac_dir/$x_direct_test_include"; then
9727 ac_x_includes
=$ac_dir
9733 fi # $ac_x_includes = NO
9735 if test "$ac_x_libraries" = NO
; then
9736 # Check for the libraries.
9738 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9739 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9741 # See if we find them without any special options.
9742 # Don't add to $LIBS permanently.
9743 ac_save_LIBS
="$LIBS"
9744 LIBS
="-l$x_direct_test_library $LIBS"
9745 cat > conftest.
$ac_ext <<EOF
9746 #line 9747 "configure"
9747 #include "confdefs.h"
9750 ${x_direct_test_function}()
9753 if { (eval echo configure
:9754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9755 LIBS
="$ac_save_LIBS"
9756 # We can link X programs with no special library path.
9759 echo "configure: failed program was:" >&5
9760 cat conftest.
$ac_ext >&5
9762 LIBS
="$ac_save_LIBS"
9763 # First see if replacing the include by lib works.
9764 # Check X11 before X11Rn because it is often a symlink to the current release.
9765 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9776 /usr
/local
/X
11/lib \
9777 /usr
/local
/X
11R
6/lib \
9778 /usr
/local
/X
11R
5/lib \
9779 /usr
/local
/X
11R
4/lib \
9781 /usr
/local
/lib
/X11 \
9782 /usr
/local
/lib
/X11R6 \
9783 /usr
/local
/lib
/X11R5 \
9784 /usr
/local
/lib
/X11R4 \
9788 /usr
/XFree
86/lib
/X11 \
9792 /usr
/unsupported
/lib \
9794 /usr
/local
/x
11r
5/lib \
9795 /usr
/lpp
/Xamples
/lib \
9799 /usr
/openwin
/share
/lib \
9802 for ac_extension
in a so sl
; do
9803 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9804 ac_x_libraries
=$ac_dir
9811 fi # $ac_x_libraries = NO
9813 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9814 # Didn't find X anywhere. Cache the known absence of X.
9815 ac_cv_have_x
="have_x=no"
9817 # Record where we found X for the cache.
9818 ac_cv_have_x
="have_x=yes \
9819 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9823 eval "$ac_cv_have_x"
9826 if test "$have_x" != yes; then
9827 echo "$ac_t""$have_x" 1>&6
9830 # If each of the values was on the command line, it overrides each guess.
9831 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9832 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9833 # Update the cache value to reflect the command line values.
9834 ac_cv_have_x
="have_x=yes \
9835 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9836 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9839 if test "$no_x" = yes; then
9840 # Not all programs may use this symbol, but it does not hurt to define it.
9841 cat >> confdefs.h
<<\EOF
9842 #define X_DISPLAY_MISSING 1
9845 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9847 if test -n "$x_includes"; then
9848 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9851 # It would also be nice to do this for all -L options, not just this one.
9852 if test -n "$x_libraries"; then
9853 X_LIBS
="$X_LIBS -L$x_libraries"
9854 # For Solaris; some versions of Sun CC require a space after -R and
9855 # others require no space. Words are not sufficient . . . .
9856 case "`(uname -sr) 2>/dev/null`" in
9858 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9859 echo "configure:9860: checking whether -R must be followed by a space" >&5
9860 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9861 cat > conftest.
$ac_ext <<EOF
9862 #line 9863 "configure"
9863 #include "confdefs.h"
9869 if { (eval echo configure
:9870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9873 echo "configure: failed program was:" >&5
9874 cat conftest.
$ac_ext >&5
9879 if test $ac_R_nospace = yes; then
9880 echo "$ac_t""no" 1>&6
9881 X_LIBS
="$X_LIBS -R$x_libraries"
9883 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9884 cat > conftest.
$ac_ext <<EOF
9885 #line 9886 "configure"
9886 #include "confdefs.h"
9892 if { (eval echo configure
:9893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9896 echo "configure: failed program was:" >&5
9897 cat conftest.
$ac_ext >&5
9902 if test $ac_R_space = yes; then
9903 echo "$ac_t""yes" 1>&6
9904 X_LIBS
="$X_LIBS -R $x_libraries"
9906 echo "$ac_t""neither works" 1>&6
9909 LIBS
="$ac_xsave_LIBS"
9913 # Check for system-dependent libraries X programs must link with.
9914 # Do this before checking for the system-independent R6 libraries
9915 # (-lICE), since we may need -lsocket or whatever for X linking.
9917 if test "$ISC" = yes; then
9918 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9920 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9921 # libraries were built with DECnet support. And karl@cs.umb.edu says
9922 # the Alpha needs dnet_stub (dnet does not exist).
9923 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9924 echo "configure:9925: checking for dnet_ntoa in -ldnet" >&5
9925 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9926 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9927 echo $ac_n "(cached) $ac_c" 1>&6
9929 ac_save_LIBS
="$LIBS"
9931 cat > conftest.
$ac_ext <<EOF
9932 #line 9933 "configure"
9933 #include "confdefs.h"
9934 /* Override any gcc2 internal prototype to avoid an error. */
9935 /* We use char because int might match the return type of a gcc2
9936 builtin and then its argument prototype would still apply. */
9943 if { (eval echo configure
:9944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9945 eval "ac_cv_lib_$ac_lib_var=yes"
9947 echo "configure: failed program was:" >&5
9948 cat conftest.
$ac_ext >&5
9950 eval "ac_cv_lib_$ac_lib_var=no"
9953 LIBS
="$ac_save_LIBS"
9956 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9957 echo "$ac_t""yes" 1>&6
9958 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9960 echo "$ac_t""no" 1>&6
9963 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9964 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9965 echo "configure:9966: checking for dnet_ntoa in -ldnet_stub" >&5
9966 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9967 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9968 echo $ac_n "(cached) $ac_c" 1>&6
9970 ac_save_LIBS
="$LIBS"
9971 LIBS
="-ldnet_stub $LIBS"
9972 cat > conftest.
$ac_ext <<EOF
9973 #line 9974 "configure"
9974 #include "confdefs.h"
9975 /* Override any gcc2 internal prototype to avoid an error. */
9976 /* We use char because int might match the return type of a gcc2
9977 builtin and then its argument prototype would still apply. */
9984 if { (eval echo configure
:9985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9986 eval "ac_cv_lib_$ac_lib_var=yes"
9988 echo "configure: failed program was:" >&5
9989 cat conftest.
$ac_ext >&5
9991 eval "ac_cv_lib_$ac_lib_var=no"
9994 LIBS
="$ac_save_LIBS"
9997 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9998 echo "$ac_t""yes" 1>&6
9999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10001 echo "$ac_t""no" 1>&6
10006 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10007 # to get the SysV transport functions.
10008 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10010 # The nsl library prevents programs from opening the X display
10011 # on Irix 5.2, according to dickey@clark.net.
10012 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10013 echo "configure:10014: checking for gethostbyname" >&5
10014 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10015 echo $ac_n "(cached) $ac_c" 1>&6
10017 cat > conftest.
$ac_ext <<EOF
10018 #line 10019 "configure"
10019 #include "confdefs.h"
10020 /* System header to define __stub macros and hopefully few prototypes,
10021 which can conflict with char gethostbyname(); below. */
10022 #include <assert.h>
10023 /* Override any gcc2 internal prototype to avoid an error. */
10024 /* We use char because int might match the return type of a gcc2
10025 builtin and then its argument prototype would still apply. */
10026 char gethostbyname();
10030 /* The GNU C library defines this for functions which it implements
10031 to always fail with ENOSYS. Some functions are actually named
10032 something starting with __ and the normal name is an alias. */
10033 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10041 if { (eval echo configure
:10042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10043 eval "ac_cv_func_gethostbyname=yes"
10045 echo "configure: failed program was:" >&5
10046 cat conftest.
$ac_ext >&5
10048 eval "ac_cv_func_gethostbyname=no"
10053 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10054 echo "$ac_t""yes" 1>&6
10057 echo "$ac_t""no" 1>&6
10060 if test $ac_cv_func_gethostbyname = no
; then
10061 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10062 echo "configure:10063: checking for gethostbyname in -lnsl" >&5
10063 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10064 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10065 echo $ac_n "(cached) $ac_c" 1>&6
10067 ac_save_LIBS
="$LIBS"
10069 cat > conftest.
$ac_ext <<EOF
10070 #line 10071 "configure"
10071 #include "confdefs.h"
10072 /* Override any gcc2 internal prototype to avoid an error. */
10073 /* We use char because int might match the return type of a gcc2
10074 builtin and then its argument prototype would still apply. */
10075 char gethostbyname();
10081 if { (eval echo configure
:10082: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10083 eval "ac_cv_lib_$ac_lib_var=yes"
10085 echo "configure: failed program was:" >&5
10086 cat conftest.
$ac_ext >&5
10088 eval "ac_cv_lib_$ac_lib_var=no"
10091 LIBS
="$ac_save_LIBS"
10094 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10095 echo "$ac_t""yes" 1>&6
10096 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10098 echo "$ac_t""no" 1>&6
10103 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10104 # socket/setsockopt and other routines are undefined under SCO ODT
10105 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10106 # on later versions), says simon@lia.di.epfl.ch: it contains
10107 # gethostby* variants that don't use the nameserver (or something).
10108 # -lsocket must be given before -lnsl if both are needed.
10109 # We assume that if connect needs -lnsl, so does gethostbyname.
10110 echo $ac_n "checking for connect""... $ac_c" 1>&6
10111 echo "configure:10112: checking for connect" >&5
10112 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10113 echo $ac_n "(cached) $ac_c" 1>&6
10115 cat > conftest.
$ac_ext <<EOF
10116 #line 10117 "configure"
10117 #include "confdefs.h"
10118 /* System header to define __stub macros and hopefully few prototypes,
10119 which can conflict with char connect(); below. */
10120 #include <assert.h>
10121 /* Override any gcc2 internal prototype to avoid an error. */
10122 /* We use char because int might match the return type of a gcc2
10123 builtin and then its argument prototype would still apply. */
10128 /* The GNU C library defines this for functions which it implements
10129 to always fail with ENOSYS. Some functions are actually named
10130 something starting with __ and the normal name is an alias. */
10131 #if defined (__stub_connect) || defined (__stub___connect)
10139 if { (eval echo configure
:10140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10141 eval "ac_cv_func_connect=yes"
10143 echo "configure: failed program was:" >&5
10144 cat conftest.
$ac_ext >&5
10146 eval "ac_cv_func_connect=no"
10151 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10152 echo "$ac_t""yes" 1>&6
10155 echo "$ac_t""no" 1>&6
10158 if test $ac_cv_func_connect = no
; then
10159 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10160 echo "configure:10161: checking for connect in -lsocket" >&5
10161 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10163 echo $ac_n "(cached) $ac_c" 1>&6
10165 ac_save_LIBS
="$LIBS"
10166 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10167 cat > conftest.
$ac_ext <<EOF
10168 #line 10169 "configure"
10169 #include "confdefs.h"
10170 /* Override any gcc2 internal prototype to avoid an error. */
10171 /* We use char because int might match the return type of a gcc2
10172 builtin and then its argument prototype would still apply. */
10179 if { (eval echo configure
:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10181 eval "ac_cv_lib_$ac_lib_var=yes"
10183 echo "configure: failed program was:" >&5
10184 cat conftest.
$ac_ext >&5
10186 eval "ac_cv_lib_$ac_lib_var=no"
10189 LIBS
="$ac_save_LIBS"
10192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10193 echo "$ac_t""yes" 1>&6
10194 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10196 echo "$ac_t""no" 1>&6
10201 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10202 echo $ac_n "checking for remove""... $ac_c" 1>&6
10203 echo "configure:10204: checking for remove" >&5
10204 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10205 echo $ac_n "(cached) $ac_c" 1>&6
10207 cat > conftest.
$ac_ext <<EOF
10208 #line 10209 "configure"
10209 #include "confdefs.h"
10210 /* System header to define __stub macros and hopefully few prototypes,
10211 which can conflict with char remove(); below. */
10212 #include <assert.h>
10213 /* Override any gcc2 internal prototype to avoid an error. */
10214 /* We use char because int might match the return type of a gcc2
10215 builtin and then its argument prototype would still apply. */
10220 /* The GNU C library defines this for functions which it implements
10221 to always fail with ENOSYS. Some functions are actually named
10222 something starting with __ and the normal name is an alias. */
10223 #if defined (__stub_remove) || defined (__stub___remove)
10231 if { (eval echo configure
:10232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10233 eval "ac_cv_func_remove=yes"
10235 echo "configure: failed program was:" >&5
10236 cat conftest.
$ac_ext >&5
10238 eval "ac_cv_func_remove=no"
10243 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10244 echo "$ac_t""yes" 1>&6
10247 echo "$ac_t""no" 1>&6
10250 if test $ac_cv_func_remove = no
; then
10251 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10252 echo "configure:10253: checking for remove in -lposix" >&5
10253 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10255 echo $ac_n "(cached) $ac_c" 1>&6
10257 ac_save_LIBS
="$LIBS"
10258 LIBS
="-lposix $LIBS"
10259 cat > conftest.
$ac_ext <<EOF
10260 #line 10261 "configure"
10261 #include "confdefs.h"
10262 /* Override any gcc2 internal prototype to avoid an error. */
10263 /* We use char because int might match the return type of a gcc2
10264 builtin and then its argument prototype would still apply. */
10271 if { (eval echo configure
:10272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10273 eval "ac_cv_lib_$ac_lib_var=yes"
10275 echo "configure: failed program was:" >&5
10276 cat conftest.
$ac_ext >&5
10278 eval "ac_cv_lib_$ac_lib_var=no"
10281 LIBS
="$ac_save_LIBS"
10284 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10285 echo "$ac_t""yes" 1>&6
10286 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10288 echo "$ac_t""no" 1>&6
10293 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10294 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10295 echo "configure:10296: checking for shmat" >&5
10296 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10297 echo $ac_n "(cached) $ac_c" 1>&6
10299 cat > conftest.
$ac_ext <<EOF
10300 #line 10301 "configure"
10301 #include "confdefs.h"
10302 /* System header to define __stub macros and hopefully few prototypes,
10303 which can conflict with char shmat(); below. */
10304 #include <assert.h>
10305 /* Override any gcc2 internal prototype to avoid an error. */
10306 /* We use char because int might match the return type of a gcc2
10307 builtin and then its argument prototype would still apply. */
10312 /* The GNU C library defines this for functions which it implements
10313 to always fail with ENOSYS. Some functions are actually named
10314 something starting with __ and the normal name is an alias. */
10315 #if defined (__stub_shmat) || defined (__stub___shmat)
10323 if { (eval echo configure
:10324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10325 eval "ac_cv_func_shmat=yes"
10327 echo "configure: failed program was:" >&5
10328 cat conftest.
$ac_ext >&5
10330 eval "ac_cv_func_shmat=no"
10335 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10336 echo "$ac_t""yes" 1>&6
10339 echo "$ac_t""no" 1>&6
10342 if test $ac_cv_func_shmat = no
; then
10343 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10344 echo "configure:10345: checking for shmat in -lipc" >&5
10345 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10346 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10347 echo $ac_n "(cached) $ac_c" 1>&6
10349 ac_save_LIBS
="$LIBS"
10351 cat > conftest.
$ac_ext <<EOF
10352 #line 10353 "configure"
10353 #include "confdefs.h"
10354 /* Override any gcc2 internal prototype to avoid an error. */
10355 /* We use char because int might match the return type of a gcc2
10356 builtin and then its argument prototype would still apply. */
10363 if { (eval echo configure
:10364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10365 eval "ac_cv_lib_$ac_lib_var=yes"
10367 echo "configure: failed program was:" >&5
10368 cat conftest.
$ac_ext >&5
10370 eval "ac_cv_lib_$ac_lib_var=no"
10373 LIBS
="$ac_save_LIBS"
10376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10377 echo "$ac_t""yes" 1>&6
10378 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10380 echo "$ac_t""no" 1>&6
10386 # Check for libraries that X11R6 Xt/Xaw programs need.
10387 ac_save_LDFLAGS
="$LDFLAGS"
10388 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10389 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10390 # check for ICE first), but we must link in the order -lSM -lICE or
10391 # we get undefined symbols. So assume we have SM if we have ICE.
10392 # These have to be linked with before -lX11, unlike the other
10393 # libraries we check for below, so use a different variable.
10394 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10395 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10396 echo "configure:10397: checking for IceConnectionNumber in -lICE" >&5
10397 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10399 echo $ac_n "(cached) $ac_c" 1>&6
10401 ac_save_LIBS
="$LIBS"
10402 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10403 cat > conftest.
$ac_ext <<EOF
10404 #line 10405 "configure"
10405 #include "confdefs.h"
10406 /* Override any gcc2 internal prototype to avoid an error. */
10407 /* We use char because int might match the return type of a gcc2
10408 builtin and then its argument prototype would still apply. */
10409 char IceConnectionNumber();
10412 IceConnectionNumber()
10415 if { (eval echo configure
:10416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10417 eval "ac_cv_lib_$ac_lib_var=yes"
10419 echo "configure: failed program was:" >&5
10420 cat conftest.
$ac_ext >&5
10422 eval "ac_cv_lib_$ac_lib_var=no"
10425 LIBS
="$ac_save_LIBS"
10428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10429 echo "$ac_t""yes" 1>&6
10430 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10432 echo "$ac_t""no" 1>&6
10435 LDFLAGS
="$ac_save_LDFLAGS"
10439 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10440 LDFLAGS
="$LDFLAGS $X_LIBS"
10442 if test "$wxUSE_MOTIF" = 1; then
10443 if test "$no_x" = "yes"; then
10444 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10447 GUI_TK_LIBRARY
="$X_LIBS"
10448 TOOLKIT_INCLUDE
="$X_CFLAGS"
10450 AFMINSTALL
=afminstall
10453 COMPILED_X_PROGRAM
=0
10455 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10456 echo "configure:10457: checking for Motif/Lesstif headers" >&5
10459 for ac_dir
in $SEARCH_INCLUDE;
10461 if test -f "$ac_dir/Xm/Xm.h"; then
10462 ac_find_includes
=$ac_dir
10467 if test "$ac_find_includes" != "" ; then
10468 echo "$ac_t""found $ac_find_includes" 1>&6
10470 cat > conftest.
$ac_ext <<EOF
10471 #line 10472 "configure"
10472 #include "confdefs.h"
10480 version = xmUseVersion;
10484 if { (eval echo configure
:10485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10487 echo "$ac_t""found in default search path" 1>&6
10488 COMPILED_X_PROGRAM
=1
10491 echo "configure: failed program was:" >&5
10492 cat conftest.
$ac_ext >&5
10495 echo "$ac_t""no" 1>&6
10496 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10503 if test "$COMPILED_X_PROGRAM" = 0; then
10504 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10505 echo "configure:10506: checking for Motif/Lesstif library" >&5
10508 for ac_dir
in $SEARCH_LIB;
10510 for ac_extension
in a so sl dylib
; do
10511 if test -f "$ac_dir/libXm.$ac_extension"; then
10512 ac_find_libraries
=$ac_dir
10518 if test "$ac_find_libraries" != "" ; then
10520 ac_path_to_include
=$ac_find_includes
10521 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10523 if test $result = 0; then
10524 ac_path_to_include
=""
10526 ac_path_to_include
="-I$ac_find_includes"
10530 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10532 if test $result = 0; then
10535 ac_path_to_link
="-L$ac_find_libraries"
10539 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10540 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10541 echo "$ac_t""found at $ac_find_libraries" 1>&6
10543 cat > conftest.
$ac_ext <<EOF
10544 #line 10545 "configure"
10545 #include "confdefs.h"
10553 version = xmUseVersion;
10557 if { (eval echo configure
:10558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10560 echo "$ac_t""found in default search path" 1>&6
10561 COMPILED_X_PROGRAM
=1
10564 echo "configure: failed program was:" >&5
10565 cat conftest.
$ac_ext >&5
10568 echo "$ac_t""no" 1>&6
10569 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10579 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10580 echo "configure:10581: checking for Xpm library" >&5
10583 for ac_dir
in $SEARCH_LIB;
10585 for ac_extension
in a so sl dylib
; do
10586 if test -f "$ac_dir/libXpm.$ac_extension"; then
10587 ac_find_libraries
=$ac_dir
10593 if test "$ac_find_libraries" != "" ; then
10595 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10597 if test $result = 0; then
10600 ac_path_to_link
="-L$ac_find_libraries"
10603 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10605 cat >> confdefs.h
<<\EOF
10606 #define wxHAVE_LIB_XPM 1
10609 echo "$ac_t""found at $ac_find_libraries" 1>&6
10611 cat > conftest.
$ac_ext <<EOF
10612 #line 10613 "configure"
10613 #include "confdefs.h"
10615 #include <X11/xpm.h>
10621 version = XpmLibraryVersion();
10625 if { (eval echo configure
:10626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10629 cat >> confdefs.h
<<\EOF
10630 #define wxHAVE_LIB_XPM 1
10633 echo "$ac_t""found in default search path" 1>&6
10634 COMPILED_X_PROGRAM
=0
10637 echo "configure: failed program was:" >&5
10638 cat conftest.
$ac_ext >&5
10641 echo "$ac_t""no" 1>&6
10642 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10649 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10650 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10655 if test "$wxUSE_MAC" = 1; then
10660 if test "$wxUSE_PM" = 1; then
10665 if test "$TOOLKIT" != "PM" ; then
10666 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10671 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10673 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10675 if test "$TOOLKIT_NAME" = "motif"; then
10676 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10679 if test "$wxUSE_UNIVERSAL" = "yes"; then
10680 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10681 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10682 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10685 SETUPH_DIR
="${TOOLKIT_DIR}"
10688 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10689 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10692 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10693 if test "$wxUSE_UNIVERSAL" = "yes"; then
10694 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10697 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10699 if test "$wxUSE_UNIVERSAL" = "yes"; then
10700 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10702 ALL_OBJECTS
="\$(GUIOBJS)"
10705 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10707 if test "$TOOLKIT" != "MSW"; then
10708 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10711 if test "$wxUSE_HTML" = "yes"; then
10712 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10715 if test "$TOOLKIT" != "MSW"; then
10716 if test "$wxUSE_ODBC" = "yes" ; then
10717 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10721 if test "x$REGEX_INCLUDE" != "x" ; then
10722 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10725 if test "$wxUSE_LIBJPEG" = "yes" ; then
10726 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10728 if test "$wxUSE_LIBTIFF" = "yes" ; then
10729 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10731 if test "$wxUSE_LIBPNG" = "yes" ; then
10732 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10734 if test "$wxUSE_ZLIB" = "yes" ; then
10735 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10737 if test "$wxUSE_FREETYPE" = "yes" ; then
10738 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10741 if test "$wxUSE_UNIVERSAL" = "yes"; then
10742 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10744 ALL_DEPFILES
="\$(GUIDEPS)"
10747 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10749 if test "$TOOLKIT" != "MSW"; then
10750 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10753 if test "$wxUSE_HTML" = "yes"; then
10754 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10757 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10758 if test "$wxUSE_UNIVERSAL" = "yes"; then
10759 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10761 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10762 RPM_SPEC
="wx\$(TOOLKIT).spec"
10764 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10765 DISTDIR
="wx\$(TOOLKIT)"
10773 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10774 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10776 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10779 TOOLKIT_DEF
="-D__WXBASE__"
10781 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10782 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10784 if test "x$REGEX_INCLUDE" != "x" ; then
10785 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10788 if test "$wxUSE_ZLIB" = "yes" ; then
10789 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10792 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10794 PORT_FILES
="\${top_srcdir}/src/files.lst"
10795 RPM_FILES
="src/rpmfiles.lst"
10796 RPM_SPEC
="wxBase.spec"
10798 GUIDIST
="BASE_DIST"
10802 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10803 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10805 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10806 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10808 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10809 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10811 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10812 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10813 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10814 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10815 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10816 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10822 BURNT_LIBRARY_NAME
=
10823 WX_TARGET_LIBRARY_SONAME
=
10826 if test "$wxUSE_SHARED" = "yes"; then
10829 if test "$GCC" = yes ; then
10830 SHARED_LD
="${CC} -shared -fPIC -o"
10833 LDFLAGS
="-L/usr/lib"
10835 SHARED_LD
="${CXX} -b -o"
10838 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10839 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10840 if test "$wxUSE_OPENGL" = "yes"; then
10841 WX_ALL_INSTALLED
="preinstall_gl"
10842 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10844 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10849 SHARED_LD
="${CC} -shared -o"
10851 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10852 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10853 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10854 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10856 if test "$wxUSE_OPENGL" = "yes"; then
10857 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10858 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10860 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10861 WX_ALL
="CREATE_LINKS"
10864 *-*-irix5* | *-*-irix6* )
10865 if test "$GCC" = yes ; then
10866 SHARED_LD
="${CC} -shared -o"
10869 SHARED_LD
="${CXX} -shared -o"
10871 if test "$wxUSE_OPENGL" = "yes"; then
10872 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10873 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10875 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10876 WX_ALL
="CREATE_LINKS"
10880 if test "$GCC" = yes ; then
10881 SHARED_LD
="${CC} -shared -o"
10884 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10886 SHARED_LD
="${CXX} -G -o"
10889 if test "$wxUSE_OPENGL" = "yes"; then
10890 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10891 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10893 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10894 WX_ALL
="CREATE_LINKS"
10898 SHARED_LD
="${CC} -shared -o"
10900 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10901 WX_ALL
="CREATE_LINKS"
10903 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10904 SHARED_LD
="${CC} -shared -o"
10906 if test "$wxUSE_OPENGL" = "yes"; then
10907 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10908 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10910 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10911 WX_ALL
="CREATE_LINKS"
10915 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
10916 CFLAGS
="${CFLAGS} -fno-common"
10917 CPPFLAGS
="${CPPFLAGS} -fno-common"
10918 SHARED_LD
="${CXX} -dynamiclib -o"
10919 PIC_FLAG
="-dynamic -fPIC"
10920 if test "$wxUSE_OPENGL" = "yes"; then
10921 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10922 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10924 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10925 WX_ALL
="CREATE_LINKS"
10927 if test "$wxUSE_MAC" = 1 ; then
10928 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10930 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10931 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10932 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10933 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10934 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10935 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10936 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10937 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10940 SHARED_LD
="${CXX} -shared -o"
10942 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10943 WX_ALL
="CREATE_LINKS"
10946 SHARED_LD
="${CXX} -shared -o"
10948 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10949 WX_ALL
="CREATE_LINKS"
10952 SHARED_LD
="${CC} -shared -o"
10954 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10955 WX_ALL
="CREATE_LINKS"
10958 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10959 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10962 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10963 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10964 if test "$wxUSE_OPENGL" = "yes"; then
10965 WX_ALL_INSTALLED
="preinstall_gl"
10966 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10968 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10972 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10973 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10974 if test "$wxUSE_OPENGL" = "yes"; then
10975 WX_ALL_INSTALLED
="preinstall_gl"
10976 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10978 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10982 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10983 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10986 SHARED_LD
="${LD} -shared -o"
10988 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10989 WX_ALL
="CREATE_LINKS"
10992 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10995 if test "x$WX_TARGET_LIBRARY" = "x"; then
10996 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10997 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10999 WX_TARGET_LIBRARY_TYPE
="so"
11001 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11002 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11004 if test "$wxUSE_OPENGL" = "yes"; then
11005 WX_ALL_INSTALLED
="preinstall_gl"
11006 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11008 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11011 if test "$wxUSE_GUI" = "no"; then
11012 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11015 WX_TARGET_LIBRARY_TYPE
="a"
11019 for ac_hdr
in strings.h
11021 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11022 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11023 echo "configure:11024: checking for $ac_hdr" >&5
11024 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11025 echo $ac_n "(cached) $ac_c" 1>&6
11027 cat > conftest.
$ac_ext <<EOF
11028 #line 11029 "configure"
11029 #include "confdefs.h"
11032 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11033 { (eval echo configure
:11034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11034 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11035 if test -z "$ac_err"; then
11037 eval "ac_cv_header_$ac_safe=yes"
11040 echo "configure: failed program was:" >&5
11041 cat conftest.
$ac_ext >&5
11043 eval "ac_cv_header_$ac_safe=no"
11047 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11048 echo "$ac_t""yes" 1>&6
11049 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11050 cat >> confdefs.h
<<EOF
11051 #define $ac_tr_hdr 1
11055 echo "$ac_t""no" 1>&6
11059 for ac_hdr
in stdlib.h
11061 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11062 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11063 echo "configure:11064: checking for $ac_hdr" >&5
11064 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11065 echo $ac_n "(cached) $ac_c" 1>&6
11067 cat > conftest.
$ac_ext <<EOF
11068 #line 11069 "configure"
11069 #include "confdefs.h"
11072 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11073 { (eval echo configure
:11074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11074 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11075 if test -z "$ac_err"; then
11077 eval "ac_cv_header_$ac_safe=yes"
11080 echo "configure: failed program was:" >&5
11081 cat conftest.
$ac_ext >&5
11083 eval "ac_cv_header_$ac_safe=no"
11087 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11088 echo "$ac_t""yes" 1>&6
11089 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11090 cat >> confdefs.h
<<EOF
11091 #define $ac_tr_hdr 1
11095 echo "$ac_t""no" 1>&6
11099 for ac_hdr
in unistd.h
11101 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11102 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11103 echo "configure:11104: checking for $ac_hdr" >&5
11104 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11105 echo $ac_n "(cached) $ac_c" 1>&6
11107 cat > conftest.
$ac_ext <<EOF
11108 #line 11109 "configure"
11109 #include "confdefs.h"
11112 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11113 { (eval echo configure
:11114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11114 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11115 if test -z "$ac_err"; then
11117 eval "ac_cv_header_$ac_safe=yes"
11120 echo "configure: failed program was:" >&5
11121 cat conftest.
$ac_ext >&5
11123 eval "ac_cv_header_$ac_safe=no"
11127 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11128 echo "$ac_t""yes" 1>&6
11129 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11130 cat >> confdefs.h
<<EOF
11131 #define $ac_tr_hdr 1
11135 echo "$ac_t""no" 1>&6
11139 for ac_hdr
in wchar.h
11141 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11142 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11143 echo "configure:11144: checking for $ac_hdr" >&5
11144 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11145 echo $ac_n "(cached) $ac_c" 1>&6
11147 cat > conftest.
$ac_ext <<EOF
11148 #line 11149 "configure"
11149 #include "confdefs.h"
11152 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11153 { (eval echo configure
:11154: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11154 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11155 if test -z "$ac_err"; then
11157 eval "ac_cv_header_$ac_safe=yes"
11160 echo "configure: failed program was:" >&5
11161 cat conftest.
$ac_ext >&5
11163 eval "ac_cv_header_$ac_safe=no"
11167 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11168 echo "$ac_t""yes" 1>&6
11169 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11170 cat >> confdefs.h
<<EOF
11171 #define $ac_tr_hdr 1
11175 echo "$ac_t""no" 1>&6
11179 for ac_hdr
in wcstr.h
11181 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11182 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11183 echo "configure:11184: checking for $ac_hdr" >&5
11184 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11185 echo $ac_n "(cached) $ac_c" 1>&6
11187 cat > conftest.
$ac_ext <<EOF
11188 #line 11189 "configure"
11189 #include "confdefs.h"
11192 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11193 { (eval echo configure
:11194: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11194 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11195 if test -z "$ac_err"; then
11197 eval "ac_cv_header_$ac_safe=yes"
11200 echo "configure: failed program was:" >&5
11201 cat conftest.
$ac_ext >&5
11203 eval "ac_cv_header_$ac_safe=no"
11207 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11208 echo "$ac_t""yes" 1>&6
11209 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11210 cat >> confdefs.h
<<EOF
11211 #define $ac_tr_hdr 1
11215 echo "$ac_t""no" 1>&6
11219 for ac_hdr
in fnmatch.h
11221 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11222 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11223 echo "configure:11224: checking for $ac_hdr" >&5
11224 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11225 echo $ac_n "(cached) $ac_c" 1>&6
11227 cat > conftest.
$ac_ext <<EOF
11228 #line 11229 "configure"
11229 #include "confdefs.h"
11232 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11233 { (eval echo configure
:11234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11234 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11235 if test -z "$ac_err"; then
11237 eval "ac_cv_header_$ac_safe=yes"
11240 echo "configure: failed program was:" >&5
11241 cat conftest.
$ac_ext >&5
11243 eval "ac_cv_header_$ac_safe=no"
11247 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11248 echo "$ac_t""yes" 1>&6
11249 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11250 cat >> confdefs.h
<<EOF
11251 #define $ac_tr_hdr 1
11255 echo "$ac_t""no" 1>&6
11259 for ac_hdr
in iconv.h
11261 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11262 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11263 echo "configure:11264: checking for $ac_hdr" >&5
11264 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11265 echo $ac_n "(cached) $ac_c" 1>&6
11267 cat > conftest.
$ac_ext <<EOF
11268 #line 11269 "configure"
11269 #include "confdefs.h"
11272 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11273 { (eval echo configure
:11274: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11274 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11275 if test -z "$ac_err"; then
11277 eval "ac_cv_header_$ac_safe=yes"
11280 echo "configure: failed program was:" >&5
11281 cat conftest.
$ac_ext >&5
11283 eval "ac_cv_header_$ac_safe=no"
11287 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11288 echo "$ac_t""yes" 1>&6
11289 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11290 cat >> confdefs.h
<<EOF
11291 #define $ac_tr_hdr 1
11295 echo "$ac_t""no" 1>&6
11299 for ac_hdr
in langinfo.h
11301 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11302 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11303 echo "configure:11304: checking for $ac_hdr" >&5
11304 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11305 echo $ac_n "(cached) $ac_c" 1>&6
11307 cat > conftest.
$ac_ext <<EOF
11308 #line 11309 "configure"
11309 #include "confdefs.h"
11312 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11313 { (eval echo configure
:11314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11314 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11315 if test -z "$ac_err"; then
11317 eval "ac_cv_header_$ac_safe=yes"
11320 echo "configure: failed program was:" >&5
11321 cat conftest.
$ac_ext >&5
11323 eval "ac_cv_header_$ac_safe=no"
11327 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11328 echo "$ac_t""yes" 1>&6
11329 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11330 cat >> confdefs.h
<<EOF
11331 #define $ac_tr_hdr 1
11335 echo "$ac_t""no" 1>&6
11340 if test "$wxUSE_GUI" = "yes"; then
11341 if test "$wxUSE_UNIX" = "yes"; then
11342 for ac_hdr
in X
11/XKBlib.h
11344 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11345 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11346 echo "configure:11347: checking for $ac_hdr" >&5
11347 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11348 echo $ac_n "(cached) $ac_c" 1>&6
11350 cat > conftest.
$ac_ext <<EOF
11351 #line 11352 "configure"
11352 #include "confdefs.h"
11355 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11356 { (eval echo configure
:11357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11357 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11358 if test -z "$ac_err"; then
11360 eval "ac_cv_header_$ac_safe=yes"
11363 echo "configure: failed program was:" >&5
11364 cat conftest.
$ac_ext >&5
11366 eval "ac_cv_header_$ac_safe=no"
11370 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11371 echo "$ac_t""yes" 1>&6
11372 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11373 cat >> confdefs.h
<<EOF
11374 #define $ac_tr_hdr 1
11378 echo "$ac_t""no" 1>&6
11385 if test "$USE_WIN32" = 1; then
11386 for ac_hdr
in w32api.h
11388 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11389 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11390 echo "configure:11391: checking for $ac_hdr" >&5
11391 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11392 echo $ac_n "(cached) $ac_c" 1>&6
11394 cat > conftest.
$ac_ext <<EOF
11395 #line 11396 "configure"
11396 #include "confdefs.h"
11399 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11400 { (eval echo configure
:11401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11401 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11402 if test -z "$ac_err"; then
11404 eval "ac_cv_header_$ac_safe=yes"
11407 echo "configure: failed program was:" >&5
11408 cat conftest.
$ac_ext >&5
11410 eval "ac_cv_header_$ac_safe=no"
11414 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11415 echo "$ac_t""yes" 1>&6
11416 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11417 cat >> confdefs.h
<<EOF
11418 #define $ac_tr_hdr 1
11422 echo "$ac_t""no" 1>&6
11429 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11430 echo "configure:11431: checking for ANSI C header files" >&5
11431 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11432 echo $ac_n "(cached) $ac_c" 1>&6
11434 cat > conftest.
$ac_ext <<EOF
11435 #line 11436 "configure"
11436 #include "confdefs.h"
11437 #include <stdlib.h>
11438 #include <stdarg.h>
11439 #include <string.h>
11442 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11443 { (eval echo configure
:11444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11444 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11445 if test -z "$ac_err"; then
11447 ac_cv_header_stdc
=yes
11450 echo "configure: failed program was:" >&5
11451 cat conftest.
$ac_ext >&5
11453 ac_cv_header_stdc
=no
11457 if test $ac_cv_header_stdc = yes; then
11458 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11459 cat > conftest.
$ac_ext <<EOF
11460 #line 11461 "configure"
11461 #include "confdefs.h"
11462 #include <string.h>
11464 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11465 egrep "memchr" >/dev
/null
2>&1; then
11469 ac_cv_header_stdc
=no
11475 if test $ac_cv_header_stdc = yes; then
11476 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11477 cat > conftest.
$ac_ext <<EOF
11478 #line 11479 "configure"
11479 #include "confdefs.h"
11480 #include <stdlib.h>
11482 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11483 egrep "free" >/dev
/null
2>&1; then
11487 ac_cv_header_stdc
=no
11493 if test $ac_cv_header_stdc = yes; then
11494 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11495 if test "$cross_compiling" = yes; then
11498 cat > conftest.
$ac_ext <<EOF
11499 #line 11500 "configure"
11500 #include "confdefs.h"
11502 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11503 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11504 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11505 int main () { int i; for (i = 0; i < 256; i++)
11506 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11510 if { (eval echo configure
:11511: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11514 echo "configure: failed program was:" >&5
11515 cat conftest.
$ac_ext >&5
11517 ac_cv_header_stdc
=no
11525 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11526 if test $ac_cv_header_stdc = yes; then
11527 cat >> confdefs.h
<<\EOF
11528 #define STDC_HEADERS 1
11533 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11534 echo "configure:11535: checking for mode_t" >&5
11535 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11536 echo $ac_n "(cached) $ac_c" 1>&6
11538 cat > conftest.
$ac_ext <<EOF
11539 #line 11540 "configure"
11540 #include "confdefs.h"
11541 #include <sys/types.h>
11543 #include <stdlib.h>
11544 #include <stddef.h>
11547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11548 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11550 ac_cv_type_mode_t
=yes
11553 ac_cv_type_mode_t
=no
11558 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11559 if test $ac_cv_type_mode_t = no
; then
11560 cat >> confdefs.h
<<\EOF
11566 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11567 echo "configure:11568: checking for off_t" >&5
11568 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11569 echo $ac_n "(cached) $ac_c" 1>&6
11571 cat > conftest.
$ac_ext <<EOF
11572 #line 11573 "configure"
11573 #include "confdefs.h"
11574 #include <sys/types.h>
11576 #include <stdlib.h>
11577 #include <stddef.h>
11580 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11581 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11583 ac_cv_type_off_t
=yes
11586 ac_cv_type_off_t
=no
11591 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11592 if test $ac_cv_type_off_t = no
; then
11593 cat >> confdefs.h
<<\EOF
11599 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11600 echo "configure:11601: checking for pid_t" >&5
11601 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11602 echo $ac_n "(cached) $ac_c" 1>&6
11604 cat > conftest.
$ac_ext <<EOF
11605 #line 11606 "configure"
11606 #include "confdefs.h"
11607 #include <sys/types.h>
11609 #include <stdlib.h>
11610 #include <stddef.h>
11613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11614 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11616 ac_cv_type_pid_t
=yes
11619 ac_cv_type_pid_t
=no
11624 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11625 if test $ac_cv_type_pid_t = no
; then
11626 cat >> confdefs.h
<<\EOF
11632 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11633 echo "configure:11634: checking for size_t" >&5
11634 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11635 echo $ac_n "(cached) $ac_c" 1>&6
11637 cat > conftest.
$ac_ext <<EOF
11638 #line 11639 "configure"
11639 #include "confdefs.h"
11640 #include <sys/types.h>
11642 #include <stdlib.h>
11643 #include <stddef.h>
11646 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11647 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11649 ac_cv_type_size_t
=yes
11652 ac_cv_type_size_t
=no
11657 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11658 if test $ac_cv_type_size_t = no
; then
11659 cat >> confdefs.h
<<\EOF
11660 #define size_t unsigned
11665 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11666 echo "configure:11667: checking for uid_t in sys/types.h" >&5
11667 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11668 echo $ac_n "(cached) $ac_c" 1>&6
11670 cat > conftest.
$ac_ext <<EOF
11671 #line 11672 "configure"
11672 #include "confdefs.h"
11673 #include <sys/types.h>
11675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11676 egrep "uid_t" >/dev
/null
2>&1; then
11678 ac_cv_type_uid_t
=yes
11681 ac_cv_type_uid_t
=no
11687 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11688 if test $ac_cv_type_uid_t = no
; then
11689 cat >> confdefs.h
<<\EOF
11693 cat >> confdefs.h
<<\EOF
11700 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11701 echo "configure:11702: checking for wchar_t" >&5
11702 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11703 echo $ac_n "(cached) $ac_c" 1>&6
11706 cat > conftest.
$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11714 ws = L"Hello, world!";
11718 if { (eval echo configure
:11719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11720 wx_cv_type_wchar_t
=yes
11722 echo "configure: failed program was:" >&5
11723 cat conftest.
$ac_ext >&5
11725 cat > conftest.
$ac_ext <<EOF
11726 #line 11727 "configure"
11727 #include "confdefs.h"
11728 #include <stdlib.h>
11733 ws = L"Hello, world!";
11737 if { (eval echo configure
:11738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11739 wx_cv_type_wchar_t
=yes
11741 echo "configure: failed program was:" >&5
11742 cat conftest.
$ac_ext >&5
11744 wx_cv_type_wchar_t
=no
11753 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11755 if test "$wx_cv_type_wchar_t" = "yes"; then
11756 cat >> confdefs.h
<<\EOF
11757 #define wxUSE_WCHAR_T 1
11764 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11765 ac_cpp
='$CXXCPP $CPPFLAGS'
11766 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11767 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11768 cross_compiling
=$ac_cv_prog_cxx_cross
11770 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11771 echo "configure:11772: checking if size_t is unsigned int" >&5
11772 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11773 echo $ac_n "(cached) $ac_c" 1>&6
11775 cat > conftest.
$ac_ext <<EOF
11776 #line 11777 "configure"
11777 #include "confdefs.h"
11778 #include <stddef.h>
11783 struct Foo { void foo(size_t); void foo(unsigned int); };
11789 if { (eval echo configure
:11790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11791 wx_cv_size_t_is_uint
=no
11793 echo "configure: failed program was:" >&5
11794 cat conftest.
$ac_ext >&5
11796 wx_cv_size_t_is_uint
=yes
11803 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11805 if test "$wx_cv_size_t_is_uint" = "yes"; then
11806 cat >> confdefs.h
<<\EOF
11807 #define wxSIZE_T_IS_UINT 1
11811 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11812 echo "configure:11813: checking if size_t is unsigned long" >&5
11813 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11814 echo $ac_n "(cached) $ac_c" 1>&6
11816 cat > conftest.
$ac_ext <<EOF
11817 #line 11818 "configure"
11818 #include "confdefs.h"
11819 #include <stddef.h>
11824 struct Foo { void foo(size_t); void foo(unsigned long); };
11830 if { (eval echo configure
:11831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11832 wx_cv_size_t_is_ulong
=no
11834 echo "configure: failed program was:" >&5
11835 cat conftest.
$ac_ext >&5
11837 wx_cv_size_t_is_ulong
=yes
11844 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11846 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11847 cat >> confdefs.h
<<\EOF
11848 #define wxSIZE_T_IS_ULONG 1
11855 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11856 ac_cpp
='$CPP $CPPFLAGS'
11857 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11858 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11859 cross_compiling
=$ac_cv_prog_cc_cross
11863 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11864 echo "configure:11865: checking for pw_gecos in struct passwd" >&5
11865 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11866 echo $ac_n "(cached) $ac_c" 1>&6
11869 cat > conftest.
$ac_ext <<EOF
11870 #line 11871 "configure"
11871 #include "confdefs.h"
11881 if { (eval echo configure
:11882: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11884 wx_cv_struct_pw_gecos
=yes
11887 echo "configure: failed program was:" >&5
11888 cat conftest.
$ac_ext >&5
11891 wx_cv_struct_pw_gecos
=no
11900 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11902 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11903 cat >> confdefs.h
<<\EOF
11904 #define HAVE_PW_GECOS 1
11910 echo $ac_n "checking for working const""... $ac_c" 1>&6
11911 echo "configure:11912: checking for working const" >&5
11912 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11913 echo $ac_n "(cached) $ac_c" 1>&6
11915 cat > conftest.
$ac_ext <<EOF
11916 #line 11917 "configure"
11917 #include "confdefs.h"
11921 /* Ultrix mips cc rejects this. */
11922 typedef int charset[2]; const charset x;
11923 /* SunOS 4.1.1 cc rejects this. */
11924 char const *const *ccp;
11926 /* NEC SVR4.0.2 mips cc rejects this. */
11927 struct point {int x, y;};
11928 static struct point const zero = {0,0};
11929 /* AIX XL C 1.02.0.0 rejects this.
11930 It does not let you subtract one const X* pointer from another in an arm
11931 of an if-expression whose if-part is not a constant expression */
11932 const char *g = "string";
11933 ccp = &g + (g ? g-g : 0);
11934 /* HPUX 7.0 cc rejects these. */
11937 ccp = (char const *const *) p;
11938 { /* SCO 3.2v4 cc rejects this. */
11940 char const *s = 0 ? (char *) 0 : (char const *) 0;
11944 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11945 int x[] = {25, 17};
11946 const int *foo = &x[0];
11949 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11950 typedef const int *iptr;
11954 { /* AIX XL C 1.02.0.0 rejects this saying
11955 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11956 struct s { int j; const int *ap[3]; };
11957 struct s *b; b->j = 5;
11959 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11960 const int foo = 10;
11965 if { (eval echo configure
:11966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11969 echo "configure: failed program was:" >&5
11970 cat conftest.
$ac_ext >&5
11977 echo "$ac_t""$ac_cv_c_const" 1>&6
11978 if test $ac_cv_c_const = no
; then
11979 cat >> confdefs.h
<<\EOF
11985 echo $ac_n "checking for inline""... $ac_c" 1>&6
11986 echo "configure:11987: checking for inline" >&5
11987 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11988 echo $ac_n "(cached) $ac_c" 1>&6
11991 for ac_kw
in inline __inline__ __inline
; do
11992 cat > conftest.
$ac_ext <<EOF
11993 #line 11994 "configure"
11994 #include "confdefs.h"
12000 if { (eval echo configure
:12001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12002 ac_cv_c_inline
=$ac_kw; break
12004 echo "configure: failed program was:" >&5
12005 cat conftest.
$ac_ext >&5
12012 echo "$ac_t""$ac_cv_c_inline" 1>&6
12013 case "$ac_cv_c_inline" in
12015 no
) cat >> confdefs.h
<<\EOF
12019 *) cat >> confdefs.h
<<EOF
12020 #define inline $ac_cv_c_inline
12026 echo $ac_n "checking size of char""... $ac_c" 1>&6
12027 echo "configure:12028: checking size of char" >&5
12028 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12029 echo $ac_n "(cached) $ac_c" 1>&6
12031 if test "$cross_compiling" = yes; then
12032 ac_cv_sizeof_char
=1
12034 cat > conftest.
$ac_ext <<EOF
12035 #line 12036 "configure"
12036 #include "confdefs.h"
12040 FILE *f=fopen("conftestval", "w");
12042 fprintf(f, "%d\n", sizeof(char));
12046 if { (eval echo configure
:12047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12048 ac_cv_sizeof_char
=`cat conftestval`
12050 echo "configure: failed program was:" >&5
12051 cat conftest.
$ac_ext >&5
12053 ac_cv_sizeof_char
=0
12059 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12060 cat >> confdefs.h
<<EOF
12061 #define SIZEOF_CHAR $ac_cv_sizeof_char
12065 echo $ac_n "checking size of short""... $ac_c" 1>&6
12066 echo "configure:12067: checking size of short" >&5
12067 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12068 echo $ac_n "(cached) $ac_c" 1>&6
12070 if test "$cross_compiling" = yes; then
12071 ac_cv_sizeof_short
=2
12073 cat > conftest.
$ac_ext <<EOF
12074 #line 12075 "configure"
12075 #include "confdefs.h"
12079 FILE *f=fopen("conftestval", "w");
12081 fprintf(f, "%d\n", sizeof(short));
12085 if { (eval echo configure
:12086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12087 ac_cv_sizeof_short
=`cat conftestval`
12089 echo "configure: failed program was:" >&5
12090 cat conftest.
$ac_ext >&5
12092 ac_cv_sizeof_short
=0
12098 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12099 cat >> confdefs.h
<<EOF
12100 #define SIZEOF_SHORT $ac_cv_sizeof_short
12104 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12105 echo "configure:12106: checking size of int *" >&5
12106 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12107 echo $ac_n "(cached) $ac_c" 1>&6
12109 if test "$cross_compiling" = yes; then
12110 ac_cv_sizeof_int_p
=4
12112 cat > conftest.
$ac_ext <<EOF
12113 #line 12114 "configure"
12114 #include "confdefs.h"
12118 FILE *f=fopen("conftestval", "w");
12120 fprintf(f, "%d\n", sizeof(int *));
12124 if { (eval echo configure
:12125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12126 ac_cv_sizeof_int_p
=`cat conftestval`
12128 echo "configure: failed program was:" >&5
12129 cat conftest.
$ac_ext >&5
12131 ac_cv_sizeof_int_p
=0
12137 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12138 cat >> confdefs.h
<<EOF
12139 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12143 echo $ac_n "checking size of int""... $ac_c" 1>&6
12144 echo "configure:12145: checking size of int" >&5
12145 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12146 echo $ac_n "(cached) $ac_c" 1>&6
12148 if test "$cross_compiling" = yes; then
12151 cat > conftest.
$ac_ext <<EOF
12152 #line 12153 "configure"
12153 #include "confdefs.h"
12157 FILE *f=fopen("conftestval", "w");
12159 fprintf(f, "%d\n", sizeof(int));
12163 if { (eval echo configure
:12164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12165 ac_cv_sizeof_int
=`cat conftestval`
12167 echo "configure: failed program was:" >&5
12168 cat conftest.
$ac_ext >&5
12176 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12177 cat >> confdefs.h
<<EOF
12178 #define SIZEOF_INT $ac_cv_sizeof_int
12182 echo $ac_n "checking size of long""... $ac_c" 1>&6
12183 echo "configure:12184: checking size of long" >&5
12184 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12185 echo $ac_n "(cached) $ac_c" 1>&6
12187 if test "$cross_compiling" = yes; then
12188 ac_cv_sizeof_long
=4
12190 cat > conftest.
$ac_ext <<EOF
12191 #line 12192 "configure"
12192 #include "confdefs.h"
12196 FILE *f=fopen("conftestval", "w");
12198 fprintf(f, "%d\n", sizeof(long));
12202 if { (eval echo configure
:12203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12204 ac_cv_sizeof_long
=`cat conftestval`
12206 echo "configure: failed program was:" >&5
12207 cat conftest.
$ac_ext >&5
12209 ac_cv_sizeof_long
=0
12215 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12216 cat >> confdefs.h
<<EOF
12217 #define SIZEOF_LONG $ac_cv_sizeof_long
12221 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12222 echo "configure:12223: checking size of long long" >&5
12223 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12224 echo $ac_n "(cached) $ac_c" 1>&6
12226 if test "$cross_compiling" = yes; then
12227 ac_cv_sizeof_long_long
=0
12229 cat > conftest.
$ac_ext <<EOF
12230 #line 12231 "configure"
12231 #include "confdefs.h"
12235 FILE *f=fopen("conftestval", "w");
12237 fprintf(f, "%d\n", sizeof(long long));
12241 if { (eval echo configure
:12242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12243 ac_cv_sizeof_long_long
=`cat conftestval`
12245 echo "configure: failed program was:" >&5
12246 cat conftest.
$ac_ext >&5
12248 ac_cv_sizeof_long_long
=0
12254 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12255 cat >> confdefs.h
<<EOF
12256 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12261 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12262 echo "configure:12263: checking size of wchar_t" >&5
12263 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12267 if test "$cross_compiling" = yes; then
12268 wx_cv_sizeof_wchar_t
=4
12271 cat > conftest.
$ac_ext <<EOF
12272 #line 12273 "configure"
12273 #include "confdefs.h"
12275 #ifdef HAVE_WCHAR_H
12276 # include <wchar.h>
12278 #ifdef HAVE_STDLIB_H
12279 # include <stdlib.h>
12284 FILE *f=fopen("conftestval", "w");
12286 fprintf(f, "%i", sizeof(wchar_t));
12291 if { (eval echo configure
:12292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12293 wx_cv_sizeof_wchar_t
=`cat conftestval`
12295 echo "configure: failed program was:" >&5
12296 cat conftest.
$ac_ext >&5
12298 wx_cv_sizeof_wchar_t
=0
12306 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12308 cat >> confdefs.h
<<EOF
12309 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12313 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12314 echo "configure:12315: checking whether byte ordering is bigendian" >&5
12315 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12316 echo $ac_n "(cached) $ac_c" 1>&6
12318 ac_cv_c_bigendian
=unknown
12319 # See if sys/param.h defines the BYTE_ORDER macro.
12320 cat > conftest.
$ac_ext <<EOF
12321 #line 12322 "configure"
12322 #include "confdefs.h"
12323 #include <sys/types.h>
12324 #include <sys/param.h>
12327 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12328 bogus endian macros
12332 if { (eval echo configure
:12333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12334 # It does; now see whether it defined to BIG_ENDIAN or not.
12335 cat > conftest.
$ac_ext <<EOF
12336 #line 12337 "configure"
12337 #include "confdefs.h"
12338 #include <sys/types.h>
12339 #include <sys/param.h>
12342 #if BYTE_ORDER != BIG_ENDIAN
12347 if { (eval echo configure
:12348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12349 ac_cv_c_bigendian
=yes
12351 echo "configure: failed program was:" >&5
12352 cat conftest.
$ac_ext >&5
12354 ac_cv_c_bigendian
=no
12358 echo "configure: failed program was:" >&5
12359 cat conftest.
$ac_ext >&5
12362 if test $ac_cv_c_bigendian = unknown
; then
12363 if test "$cross_compiling" = yes; then
12364 ac_cv_c_bigendian
=unknown
12366 cat > conftest.
$ac_ext <<EOF
12367 #line 12368 "configure"
12368 #include "confdefs.h"
12370 /* Are we little or big endian? From Harbison&Steele. */
12374 char c[sizeof (long)];
12377 exit (u.c[sizeof (long) - 1] == 1);
12380 if { (eval echo configure
:12381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12382 ac_cv_c_bigendian
=no
12384 echo "configure: failed program was:" >&5
12385 cat conftest.
$ac_ext >&5
12387 ac_cv_c_bigendian
=yes
12395 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12396 if test $ac_cv_c_bigendian = unknown
; then
12397 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
12399 if test $ac_cv_c_bigendian = yes; then
12400 cat >> confdefs.h
<<\EOF
12401 #define WORDS_BIGENDIAN 1
12408 if test "$cross_compiling" = "yes"; then
12409 cat >> confdefs.h
<<\EOF
12410 #define wxUSE_IOSTREAMH 1
12416 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12417 ac_cpp
='$CXXCPP $CPPFLAGS'
12418 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12419 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12420 cross_compiling
=$ac_cv_prog_cxx_cross
12423 for ac_hdr
in iostream
12425 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12426 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12427 echo "configure:12428: checking for $ac_hdr" >&5
12428 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12429 echo $ac_n "(cached) $ac_c" 1>&6
12431 cat > conftest.
$ac_ext <<EOF
12432 #line 12433 "configure"
12433 #include "confdefs.h"
12436 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12437 { (eval echo configure
:12438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12438 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12439 if test -z "$ac_err"; then
12441 eval "ac_cv_header_$ac_safe=yes"
12444 echo "configure: failed program was:" >&5
12445 cat conftest.
$ac_ext >&5
12447 eval "ac_cv_header_$ac_safe=no"
12451 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12452 echo "$ac_t""yes" 1>&6
12453 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12454 cat >> confdefs.h
<<EOF
12455 #define $ac_tr_hdr 1
12459 echo "$ac_t""no" 1>&6
12464 if test "$ac_cv_header_iostream" = "yes" ; then
12467 cat >> confdefs.h
<<\EOF
12468 #define wxUSE_IOSTREAMH 1
12474 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12475 ac_cpp
='$CPP $CPPFLAGS'
12476 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12477 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12478 cross_compiling
=$ac_cv_prog_cc_cross
12484 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12485 echo "configure:12486: checking if C++ compiler supports bool" >&5
12486 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12487 echo $ac_n "(cached) $ac_c" 1>&6
12492 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12493 ac_cpp
='$CXXCPP $CPPFLAGS'
12494 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12495 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12496 cross_compiling
=$ac_cv_prog_cxx_cross
12499 cat > conftest.
$ac_ext <<EOF
12500 #line 12501 "configure"
12501 #include "confdefs.h"
12512 if { (eval echo configure
:12513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12518 echo "configure: failed program was:" >&5
12519 cat conftest.
$ac_ext >&5
12529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12530 ac_cpp
='$CPP $CPPFLAGS'
12531 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12532 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12533 cross_compiling
=$ac_cv_prog_cc_cross
12538 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12540 if test "$wx_cv_cpp_bool" = "yes"; then
12541 cat >> confdefs.h
<<\EOF
12542 #define HAVE_BOOL 1
12549 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12550 echo "configure:12551: checking for wcslen in -lc" >&5
12551 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12553 echo $ac_n "(cached) $ac_c" 1>&6
12555 ac_save_LIBS
="$LIBS"
12557 cat > conftest.
$ac_ext <<EOF
12558 #line 12559 "configure"
12559 #include "confdefs.h"
12560 /* Override any gcc2 internal prototype to avoid an error. */
12561 /* We use char because int might match the return type of a gcc2
12562 builtin and then its argument prototype would still apply. */
12569 if { (eval echo configure
:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12571 eval "ac_cv_lib_$ac_lib_var=yes"
12573 echo "configure: failed program was:" >&5
12574 cat conftest.
$ac_ext >&5
12576 eval "ac_cv_lib_$ac_lib_var=no"
12579 LIBS
="$ac_save_LIBS"
12582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12583 echo "$ac_t""yes" 1>&6
12585 cat >> confdefs.h
<<\EOF
12586 #define HAVE_WCSLEN 1
12592 echo "$ac_t""no" 1>&6
12594 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12595 echo "configure:12596: checking for wcslen in -lw" >&5
12596 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12597 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12598 echo $ac_n "(cached) $ac_c" 1>&6
12600 ac_save_LIBS
="$LIBS"
12602 cat > conftest.
$ac_ext <<EOF
12603 #line 12604 "configure"
12604 #include "confdefs.h"
12605 /* Override any gcc2 internal prototype to avoid an error. */
12606 /* We use char because int might match the return type of a gcc2
12607 builtin and then its argument prototype would still apply. */
12614 if { (eval echo configure
:12615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12616 eval "ac_cv_lib_$ac_lib_var=yes"
12618 echo "configure: failed program was:" >&5
12619 cat conftest.
$ac_ext >&5
12621 eval "ac_cv_lib_$ac_lib_var=no"
12624 LIBS
="$ac_save_LIBS"
12627 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12628 echo "$ac_t""yes" 1>&6
12630 cat >> confdefs.h
<<\EOF
12631 #define HAVE_WCSLEN 1
12637 echo "$ac_t""no" 1>&6
12644 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12645 echo "configure:12646: checking for vprintf" >&5
12646 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12647 echo $ac_n "(cached) $ac_c" 1>&6
12649 cat > conftest.
$ac_ext <<EOF
12650 #line 12651 "configure"
12651 #include "confdefs.h"
12652 /* System header to define __stub macros and hopefully few prototypes,
12653 which can conflict with char vprintf(); below. */
12654 #include <assert.h>
12655 /* Override any gcc2 internal prototype to avoid an error. */
12656 /* We use char because int might match the return type of a gcc2
12657 builtin and then its argument prototype would still apply. */
12662 /* The GNU C library defines this for functions which it implements
12663 to always fail with ENOSYS. Some functions are actually named
12664 something starting with __ and the normal name is an alias. */
12665 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12673 if { (eval echo configure
:12674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12675 eval "ac_cv_func_vprintf=yes"
12677 echo "configure: failed program was:" >&5
12678 cat conftest.
$ac_ext >&5
12680 eval "ac_cv_func_vprintf=no"
12685 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12686 echo "$ac_t""yes" 1>&6
12687 cat >> confdefs.h
<<\EOF
12688 #define HAVE_VPRINTF 1
12692 echo "$ac_t""no" 1>&6
12695 if test "$ac_cv_func_vprintf" != yes; then
12696 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12697 echo "configure:12698: checking for _doprnt" >&5
12698 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12699 echo $ac_n "(cached) $ac_c" 1>&6
12701 cat > conftest.
$ac_ext <<EOF
12702 #line 12703 "configure"
12703 #include "confdefs.h"
12704 /* System header to define __stub macros and hopefully few prototypes,
12705 which can conflict with char _doprnt(); below. */
12706 #include <assert.h>
12707 /* Override any gcc2 internal prototype to avoid an error. */
12708 /* We use char because int might match the return type of a gcc2
12709 builtin and then its argument prototype would still apply. */
12714 /* The GNU C library defines this for functions which it implements
12715 to always fail with ENOSYS. Some functions are actually named
12716 something starting with __ and the normal name is an alias. */
12717 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12725 if { (eval echo configure
:12726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12727 eval "ac_cv_func__doprnt=yes"
12729 echo "configure: failed program was:" >&5
12730 cat conftest.
$ac_ext >&5
12732 eval "ac_cv_func__doprnt=no"
12737 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12738 echo "$ac_t""yes" 1>&6
12739 cat >> confdefs.h
<<\EOF
12740 #define HAVE_DOPRNT 1
12744 echo "$ac_t""no" 1>&6
12755 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12756 echo "configure:12757: checking for vsnprintf" >&5
12757 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12758 echo $ac_n "(cached) $ac_c" 1>&6
12761 cat > conftest.
$ac_ext <<EOF
12762 #line 12763 "configure"
12763 #include "confdefs.h"
12766 #include <stdarg.h>
12770 int wx_test_vsnprintf(const char *, ...);
12772 wx_test_vsnprintf("%s");
12776 int wx_test_vsnprintf(const char *fmt, ...)
12781 va_start(argp, fmt);
12782 vsnprintf(s, 42, fmt, argp);
12787 if { (eval echo configure
:12788: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12790 wx_cv_func_vsnprintf
=yes
12793 echo "configure: failed program was:" >&5
12794 cat conftest.
$ac_ext >&5
12797 cat > conftest.
$ac_ext <<EOF
12798 #line 12799 "configure"
12799 #include "confdefs.h"
12802 #include <stdarg.h>
12806 int wx_test_vsnprintf(const char *, ...);
12808 wx_test_vsnprintf("%s");
12812 int wx_test_vsnprintf(const char *fmt, ...)
12817 va_start(argp, fmt);
12818 _vsnprintf(s, 42, fmt, argp);
12823 if { (eval echo configure
:12824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12826 wx_cv_func_vsnprintf
=yes
12829 echo "configure: failed program was:" >&5
12830 cat conftest.
$ac_ext >&5
12833 wx_cv_func_vsnprintf
=no
12843 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12845 if test "$wx_cv_func_vsnprintf" = yes; then
12846 cat >> confdefs.h
<<\EOF
12847 #define HAVE_VSNPRINTF 1
12851 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12854 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12855 echo "configure:12856: checking for vsscanf" >&5
12856 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12857 echo $ac_n "(cached) $ac_c" 1>&6
12860 cat > conftest.
$ac_ext <<EOF
12861 #line 12862 "configure"
12862 #include "confdefs.h"
12865 #include <stdarg.h>
12869 int wx_test_vsscanf(const char *, ...);
12871 wx_test_vsscanf("%d");
12875 int wx_test_vsscanf(const char *fmt, ...)
12878 va_start(argp, fmt);
12879 vsscanf("42", fmt, argp);
12884 if { (eval echo configure
:12885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12887 wx_cv_func_vsscanf
=yes
12890 echo "configure: failed program was:" >&5
12891 cat conftest.
$ac_ext >&5
12894 wx_cv_func_vsscanf
=no
12901 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12903 if test "$wx_cv_func_vsscanf" = yes; then
12904 cat >> confdefs.h
<<\EOF
12905 #define HAVE_VSSCANF 1
12910 if test "$TOOLKIT" != "MSW"; then
12915 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12916 ac_cpp
='$CXXCPP $CPPFLAGS'
12917 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12918 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12919 cross_compiling
=$ac_cv_prog_cxx_cross
12921 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12922 echo "configure:12923: checking if iconv() takes char**" >&5
12923 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12924 echo $ac_n "(cached) $ac_c" 1>&6
12927 cat > conftest.
$ac_ext <<EOF
12928 #line 12929 "configure"
12929 #include "confdefs.h"
12933 char **inbuf, **outbuf;
12935 size_t insz, outsz;
12936 iconv(cd, inbuf, &insz, outbuf, &outsz);
12940 if { (eval echo configure
:12941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12942 wx_cv_iconv_takes_char
=yes
12944 echo "configure: failed program was:" >&5
12945 cat conftest.
$ac_ext >&5
12947 wx_cv_iconv_takes_char
=no
12953 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12956 ac_cpp
='$CPP $CPPFLAGS'
12957 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12958 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12959 cross_compiling
=$ac_cv_prog_cc_cross
12961 if test "$wx_cv_iconv_takes_char" = yes ; then
12962 cat >> confdefs.h
<<\EOF
12963 #define WX_ICONV_TAKES_CHAR 1
12969 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12970 for ac_func
in sigaction
12972 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12973 echo "configure:12974: checking for $ac_func" >&5
12974 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12975 echo $ac_n "(cached) $ac_c" 1>&6
12977 cat > conftest.
$ac_ext <<EOF
12978 #line 12979 "configure"
12979 #include "confdefs.h"
12980 /* System header to define __stub macros and hopefully few prototypes,
12981 which can conflict with char $ac_func(); below. */
12982 #include <assert.h>
12983 /* Override any gcc2 internal prototype to avoid an error. */
12984 /* We use char because int might match the return type of a gcc2
12985 builtin and then its argument prototype would still apply. */
12990 /* The GNU C library defines this for functions which it implements
12991 to always fail with ENOSYS. Some functions are actually named
12992 something starting with __ and the normal name is an alias. */
12993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13001 if { (eval echo configure
:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13003 eval "ac_cv_func_$ac_func=yes"
13005 echo "configure: failed program was:" >&5
13006 cat conftest.
$ac_ext >&5
13008 eval "ac_cv_func_$ac_func=no"
13013 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13014 echo "$ac_t""yes" 1>&6
13015 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13016 cat >> confdefs.h
<<EOF
13017 #define $ac_tr_func 1
13021 echo "$ac_t""no" 1>&6
13026 if test "$ac_cv_func_sigaction" = "no"; then
13027 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13028 wxUSE_ON_FATAL_EXCEPTION
=no
13031 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13034 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13035 ac_cpp
='$CXXCPP $CPPFLAGS'
13036 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13037 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13038 cross_compiling
=$ac_cv_prog_cxx_cross
13041 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13042 echo "configure:13043: checking for sa_handler type" >&5
13043 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13044 echo $ac_n "(cached) $ac_c" 1>&6
13047 cat > conftest.
$ac_ext <<EOF
13048 #line 13049 "configure"
13049 #include "confdefs.h"
13050 #include <signal.h>
13053 extern void testSigHandler(int);
13055 struct sigaction sa;
13056 sa.sa_handler = testSigHandler;
13060 if { (eval echo configure
:13061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13063 wx_cv_type_sa_handler
=int
13066 echo "configure: failed program was:" >&5
13067 cat conftest.
$ac_ext >&5
13070 wx_cv_type_sa_handler
=void
13077 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13080 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13081 ac_cpp
='$CPP $CPPFLAGS'
13082 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13083 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13084 cross_compiling
=$ac_cv_prog_cc_cross
13087 cat >> confdefs.h
<<EOF
13088 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13094 for ac_func
in vfork
13096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13097 echo "configure:13098: checking for $ac_func" >&5
13098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13099 echo $ac_n "(cached) $ac_c" 1>&6
13101 cat > conftest.
$ac_ext <<EOF
13102 #line 13103 "configure"
13103 #include "confdefs.h"
13104 /* System header to define __stub macros and hopefully few prototypes,
13105 which can conflict with char $ac_func(); below. */
13106 #include <assert.h>
13107 /* Override any gcc2 internal prototype to avoid an error. */
13108 /* We use char because int might match the return type of a gcc2
13109 builtin and then its argument prototype would still apply. */
13114 /* The GNU C library defines this for functions which it implements
13115 to always fail with ENOSYS. Some functions are actually named
13116 something starting with __ and the normal name is an alias. */
13117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13125 if { (eval echo configure
:13126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13127 eval "ac_cv_func_$ac_func=yes"
13129 echo "configure: failed program was:" >&5
13130 cat conftest.
$ac_ext >&5
13132 eval "ac_cv_func_$ac_func=no"
13137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13138 echo "$ac_t""yes" 1>&6
13139 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13140 cat >> confdefs.h
<<EOF
13141 #define $ac_tr_func 1
13145 echo "$ac_t""no" 1>&6
13150 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13151 for ac_func
in fcntl flock
13153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13154 echo "configure:13155: checking for $ac_func" >&5
13155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13156 echo $ac_n "(cached) $ac_c" 1>&6
13158 cat > conftest.
$ac_ext <<EOF
13159 #line 13160 "configure"
13160 #include "confdefs.h"
13161 /* System header to define __stub macros and hopefully few prototypes,
13162 which can conflict with char $ac_func(); below. */
13163 #include <assert.h>
13164 /* Override any gcc2 internal prototype to avoid an error. */
13165 /* We use char because int might match the return type of a gcc2
13166 builtin and then its argument prototype would still apply. */
13171 /* The GNU C library defines this for functions which it implements
13172 to always fail with ENOSYS. Some functions are actually named
13173 something starting with __ and the normal name is an alias. */
13174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13182 if { (eval echo configure
:13183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13184 eval "ac_cv_func_$ac_func=yes"
13186 echo "configure: failed program was:" >&5
13187 cat conftest.
$ac_ext >&5
13189 eval "ac_cv_func_$ac_func=no"
13194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13195 echo "$ac_t""yes" 1>&6
13196 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13197 cat >> confdefs.h
<<EOF
13198 #define $ac_tr_func 1
13202 echo "$ac_t""no" 1>&6
13207 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13208 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13209 wxUSE_SNGLINST_CHECKER
=no
13213 for ac_func
in timegm
13215 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13216 echo "configure:13217: checking for $ac_func" >&5
13217 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13218 echo $ac_n "(cached) $ac_c" 1>&6
13220 cat > conftest.
$ac_ext <<EOF
13221 #line 13222 "configure"
13222 #include "confdefs.h"
13223 /* System header to define __stub macros and hopefully few prototypes,
13224 which can conflict with char $ac_func(); below. */
13225 #include <assert.h>
13226 /* Override any gcc2 internal prototype to avoid an error. */
13227 /* We use char because int might match the return type of a gcc2
13228 builtin and then its argument prototype would still apply. */
13233 /* The GNU C library defines this for functions which it implements
13234 to always fail with ENOSYS. Some functions are actually named
13235 something starting with __ and the normal name is an alias. */
13236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13244 if { (eval echo configure
:13245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13246 eval "ac_cv_func_$ac_func=yes"
13248 echo "configure: failed program was:" >&5
13249 cat conftest.
$ac_ext >&5
13251 eval "ac_cv_func_$ac_func=no"
13256 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13257 echo "$ac_t""yes" 1>&6
13258 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13259 cat >> confdefs.h
<<EOF
13260 #define $ac_tr_func 1
13264 echo "$ac_t""no" 1>&6
13269 for ac_func
in putenv setenv
13271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13272 echo "configure:13273: checking for $ac_func" >&5
13273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 cat > conftest.
$ac_ext <<EOF
13277 #line 13278 "configure"
13278 #include "confdefs.h"
13279 /* System header to define __stub macros and hopefully few prototypes,
13280 which can conflict with char $ac_func(); below. */
13281 #include <assert.h>
13282 /* Override any gcc2 internal prototype to avoid an error. */
13283 /* We use char because int might match the return type of a gcc2
13284 builtin and then its argument prototype would still apply. */
13289 /* The GNU C library defines this for functions which it implements
13290 to always fail with ENOSYS. Some functions are actually named
13291 something starting with __ and the normal name is an alias. */
13292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13300 if { (eval echo configure
:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13302 eval "ac_cv_func_$ac_func=yes"
13304 echo "configure: failed program was:" >&5
13305 cat conftest.
$ac_ext >&5
13307 eval "ac_cv_func_$ac_func=no"
13312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13313 echo "$ac_t""yes" 1>&6
13314 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13315 cat >> confdefs.h
<<EOF
13316 #define $ac_tr_func 1
13320 echo "$ac_t""no" 1>&6
13325 HAVE_SOME_SLEEP_FUNC
=0
13326 if test "$USE_BEOS" = 1; then
13327 cat >> confdefs.h
<<\EOF
13328 #define HAVE_SLEEP 1
13331 HAVE_SOME_SLEEP_FUNC
=1
13334 if test "$USE_DARWIN" = 1; then
13335 cat >> confdefs.h
<<\EOF
13336 #define HAVE_USLEEP 1
13339 HAVE_SOME_SLEEP_FUNC
=1
13342 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13344 for ac_func
in nanosleep
13346 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13347 echo "configure:13348: checking for $ac_func" >&5
13348 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13349 echo $ac_n "(cached) $ac_c" 1>&6
13351 cat > conftest.
$ac_ext <<EOF
13352 #line 13353 "configure"
13353 #include "confdefs.h"
13354 /* System header to define __stub macros and hopefully few prototypes,
13355 which can conflict with char $ac_func(); below. */
13356 #include <assert.h>
13357 /* Override any gcc2 internal prototype to avoid an error. */
13358 /* We use char because int might match the return type of a gcc2
13359 builtin and then its argument prototype would still apply. */
13364 /* The GNU C library defines this for functions which it implements
13365 to always fail with ENOSYS. Some functions are actually named
13366 something starting with __ and the normal name is an alias. */
13367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13375 if { (eval echo configure
:13376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13377 eval "ac_cv_func_$ac_func=yes"
13379 echo "configure: failed program was:" >&5
13380 cat conftest.
$ac_ext >&5
13382 eval "ac_cv_func_$ac_func=no"
13387 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13388 echo "$ac_t""yes" 1>&6
13389 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13390 cat >> confdefs.h
<<EOF
13391 #define $ac_tr_func 1
13393 cat >> confdefs.h
<<\EOF
13394 #define HAVE_NANOSLEEP 1
13398 echo "$ac_t""no" 1>&6
13399 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13400 echo "configure:13401: checking for nanosleep in -lposix4" >&5
13401 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13403 echo $ac_n "(cached) $ac_c" 1>&6
13405 ac_save_LIBS
="$LIBS"
13406 LIBS
="-lposix4 $LIBS"
13407 cat > conftest.
$ac_ext <<EOF
13408 #line 13409 "configure"
13409 #include "confdefs.h"
13410 /* Override any gcc2 internal prototype to avoid an error. */
13411 /* We use char because int might match the return type of a gcc2
13412 builtin and then its argument prototype would still apply. */
13419 if { (eval echo configure
:13420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13421 eval "ac_cv_lib_$ac_lib_var=yes"
13423 echo "configure: failed program was:" >&5
13424 cat conftest.
$ac_ext >&5
13426 eval "ac_cv_lib_$ac_lib_var=no"
13429 LIBS
="$ac_save_LIBS"
13432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13433 echo "$ac_t""yes" 1>&6
13435 cat >> confdefs.h
<<\EOF
13436 #define HAVE_NANOSLEEP 1
13439 POSIX4_LINK
="-lposix4"
13442 echo "$ac_t""no" 1>&6
13444 for ac_func
in usleep
13446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13447 echo "configure:13448: checking for $ac_func" >&5
13448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13449 echo $ac_n "(cached) $ac_c" 1>&6
13451 cat > conftest.
$ac_ext <<EOF
13452 #line 13453 "configure"
13453 #include "confdefs.h"
13454 /* System header to define __stub macros and hopefully few prototypes,
13455 which can conflict with char $ac_func(); below. */
13456 #include <assert.h>
13457 /* Override any gcc2 internal prototype to avoid an error. */
13458 /* We use char because int might match the return type of a gcc2
13459 builtin and then its argument prototype would still apply. */
13464 /* The GNU C library defines this for functions which it implements
13465 to always fail with ENOSYS. Some functions are actually named
13466 something starting with __ and the normal name is an alias. */
13467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13475 if { (eval echo configure
:13476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13477 eval "ac_cv_func_$ac_func=yes"
13479 echo "configure: failed program was:" >&5
13480 cat conftest.
$ac_ext >&5
13482 eval "ac_cv_func_$ac_func=no"
13487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13488 echo "$ac_t""yes" 1>&6
13489 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13490 cat >> confdefs.h
<<EOF
13491 #define $ac_tr_func 1
13493 cat >> confdefs.h
<<\EOF
13494 #define HAVE_USLEEP 1
13498 echo "$ac_t""no" 1>&6
13499 echo "configure: warning: wxSleep() function will not work" 1>&2
13515 for ac_func
in uname gethostname
13517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13518 echo "configure:13519: checking for $ac_func" >&5
13519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13520 echo $ac_n "(cached) $ac_c" 1>&6
13522 cat > conftest.
$ac_ext <<EOF
13523 #line 13524 "configure"
13524 #include "confdefs.h"
13525 /* System header to define __stub macros and hopefully few prototypes,
13526 which can conflict with char $ac_func(); below. */
13527 #include <assert.h>
13528 /* Override any gcc2 internal prototype to avoid an error. */
13529 /* We use char because int might match the return type of a gcc2
13530 builtin and then its argument prototype would still apply. */
13535 /* The GNU C library defines this for functions which it implements
13536 to always fail with ENOSYS. Some functions are actually named
13537 something starting with __ and the normal name is an alias. */
13538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13546 if { (eval echo configure
:13547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13548 eval "ac_cv_func_$ac_func=yes"
13550 echo "configure: failed program was:" >&5
13551 cat conftest.
$ac_ext >&5
13553 eval "ac_cv_func_$ac_func=no"
13558 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13559 echo "$ac_t""yes" 1>&6
13560 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13561 cat >> confdefs.h
<<EOF
13562 #define $ac_tr_func 1
13566 echo "$ac_t""no" 1>&6
13573 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13574 ac_cpp
='$CXXCPP $CPPFLAGS'
13575 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13576 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13577 cross_compiling
=$ac_cv_prog_cxx_cross
13580 for ac_func
in strtok_r
13582 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13583 echo "configure:13584: checking for $ac_func" >&5
13584 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13585 echo $ac_n "(cached) $ac_c" 1>&6
13587 cat > conftest.
$ac_ext <<EOF
13588 #line 13589 "configure"
13589 #include "confdefs.h"
13590 /* System header to define __stub macros and hopefully few prototypes,
13591 which can conflict with char $ac_func(); below. */
13592 #include <assert.h>
13593 /* Override any gcc2 internal prototype to avoid an error. */
13597 /* We use char because int might match the return type of a gcc2
13598 builtin and then its argument prototype would still apply. */
13603 /* The GNU C library defines this for functions which it implements
13604 to always fail with ENOSYS. Some functions are actually named
13605 something starting with __ and the normal name is an alias. */
13606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13614 if { (eval echo configure
:13615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13616 eval "ac_cv_func_$ac_func=yes"
13618 echo "configure: failed program was:" >&5
13619 cat conftest.
$ac_ext >&5
13621 eval "ac_cv_func_$ac_func=no"
13626 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13627 echo "$ac_t""yes" 1>&6
13628 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13629 cat >> confdefs.h
<<EOF
13630 #define $ac_tr_func 1
13634 echo "$ac_t""no" 1>&6
13640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13641 ac_cpp
='$CPP $CPPFLAGS'
13642 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13643 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13644 cross_compiling
=$ac_cv_prog_cc_cross
13648 for ac_func
in inet_addr
13650 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13651 echo "configure:13652: checking for $ac_func" >&5
13652 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13653 echo $ac_n "(cached) $ac_c" 1>&6
13655 cat > conftest.
$ac_ext <<EOF
13656 #line 13657 "configure"
13657 #include "confdefs.h"
13658 /* System header to define __stub macros and hopefully few prototypes,
13659 which can conflict with char $ac_func(); below. */
13660 #include <assert.h>
13661 /* Override any gcc2 internal prototype to avoid an error. */
13662 /* We use char because int might match the return type of a gcc2
13663 builtin and then its argument prototype would still apply. */
13668 /* The GNU C library defines this for functions which it implements
13669 to always fail with ENOSYS. Some functions are actually named
13670 something starting with __ and the normal name is an alias. */
13671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13679 if { (eval echo configure
:13680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13681 eval "ac_cv_func_$ac_func=yes"
13683 echo "configure: failed program was:" >&5
13684 cat conftest.
$ac_ext >&5
13686 eval "ac_cv_func_$ac_func=no"
13691 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13692 echo "$ac_t""yes" 1>&6
13693 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13694 cat >> confdefs.h
<<EOF
13695 #define $ac_tr_func 1
13697 cat >> confdefs.h
<<\EOF
13698 #define HAVE_INET_ADDR 1
13702 echo "$ac_t""no" 1>&6
13703 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13704 echo "configure:13705: checking for inet_addr in -lnsl" >&5
13705 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13706 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13707 echo $ac_n "(cached) $ac_c" 1>&6
13709 ac_save_LIBS
="$LIBS"
13711 cat > conftest.
$ac_ext <<EOF
13712 #line 13713 "configure"
13713 #include "confdefs.h"
13714 /* Override any gcc2 internal prototype to avoid an error. */
13715 /* We use char because int might match the return type of a gcc2
13716 builtin and then its argument prototype would still apply. */
13723 if { (eval echo configure
:13724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13725 eval "ac_cv_lib_$ac_lib_var=yes"
13727 echo "configure: failed program was:" >&5
13728 cat conftest.
$ac_ext >&5
13730 eval "ac_cv_lib_$ac_lib_var=no"
13733 LIBS
="$ac_save_LIBS"
13736 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13737 echo "$ac_t""yes" 1>&6
13740 echo "$ac_t""no" 1>&6
13741 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13742 echo "configure:13743: checking for inet_addr in -lresolv" >&5
13743 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13744 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13745 echo $ac_n "(cached) $ac_c" 1>&6
13747 ac_save_LIBS
="$LIBS"
13748 LIBS
="-lresolv $LIBS"
13749 cat > conftest.
$ac_ext <<EOF
13750 #line 13751 "configure"
13751 #include "confdefs.h"
13752 /* Override any gcc2 internal prototype to avoid an error. */
13753 /* We use char because int might match the return type of a gcc2
13754 builtin and then its argument prototype would still apply. */
13761 if { (eval echo configure
:13762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13763 eval "ac_cv_lib_$ac_lib_var=yes"
13765 echo "configure: failed program was:" >&5
13766 cat conftest.
$ac_ext >&5
13768 eval "ac_cv_lib_$ac_lib_var=no"
13771 LIBS
="$ac_save_LIBS"
13774 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13775 echo "$ac_t""yes" 1>&6
13779 echo "$ac_t""no" 1>&6
13791 for ac_func
in inet_aton
13793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13794 echo "configure:13795: checking for $ac_func" >&5
13795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13796 echo $ac_n "(cached) $ac_c" 1>&6
13798 cat > conftest.
$ac_ext <<EOF
13799 #line 13800 "configure"
13800 #include "confdefs.h"
13801 /* System header to define __stub macros and hopefully few prototypes,
13802 which can conflict with char $ac_func(); below. */
13803 #include <assert.h>
13804 /* Override any gcc2 internal prototype to avoid an error. */
13805 /* We use char because int might match the return type of a gcc2
13806 builtin and then its argument prototype would still apply. */
13811 /* The GNU C library defines this for functions which it implements
13812 to always fail with ENOSYS. Some functions are actually named
13813 something starting with __ and the normal name is an alias. */
13814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13822 if { (eval echo configure
:13823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13824 eval "ac_cv_func_$ac_func=yes"
13826 echo "configure: failed program was:" >&5
13827 cat conftest.
$ac_ext >&5
13829 eval "ac_cv_func_$ac_func=no"
13834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13835 echo "$ac_t""yes" 1>&6
13836 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13837 cat >> confdefs.h
<<EOF
13838 #define $ac_tr_func 1
13840 cat >> confdefs.h
<<\EOF
13841 #define HAVE_INET_ATON 1
13845 echo "$ac_t""no" 1>&6
13846 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13847 echo "configure:13848: checking for inet_aton in -l$INET_LINK" >&5
13848 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13849 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13850 echo $ac_n "(cached) $ac_c" 1>&6
13852 ac_save_LIBS
="$LIBS"
13853 LIBS
="-l$INET_LINK $LIBS"
13854 cat > conftest.
$ac_ext <<EOF
13855 #line 13856 "configure"
13856 #include "confdefs.h"
13857 /* Override any gcc2 internal prototype to avoid an error. */
13858 /* We use char because int might match the return type of a gcc2
13859 builtin and then its argument prototype would still apply. */
13866 if { (eval echo configure
:13867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13868 eval "ac_cv_lib_$ac_lib_var=yes"
13870 echo "configure: failed program was:" >&5
13871 cat conftest.
$ac_ext >&5
13873 eval "ac_cv_lib_$ac_lib_var=no"
13876 LIBS
="$ac_save_LIBS"
13879 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13880 echo "$ac_t""yes" 1>&6
13881 cat >> confdefs.h
<<\EOF
13882 #define HAVE_INET_ATON 1
13886 echo "$ac_t""no" 1>&6
13894 if test "x$INET_LINK" != "x"; then
13895 cat >> confdefs.h
<<\EOF
13896 #define HAVE_INET_ADDR 1
13899 INET_LINK
="-l$INET_LINK"
13905 cat > confcache
<<\EOF
13906 # This file is a shell script that caches the results of configure
13907 # tests run on this system so they can be shared between configure
13908 # scripts and configure runs. It is not useful on other systems.
13909 # If it contains results you don't want to keep, you may remove or edit it.
13911 # By default, configure uses ./config.cache as the cache file,
13912 # creating it if it does not exist already. You can give configure
13913 # the --cache-file=FILE option to use a different cache file; that is
13914 # what configure does when it calls configure scripts in
13915 # subdirectories, so they share the cache.
13916 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13917 # config.status only pays attention to the cache file if you give it the
13918 # --recheck option to rerun configure.
13921 # The following way of writing the cache mishandles newlines in values,
13922 # but we know of no workaround that is simple, portable, and efficient.
13923 # So, don't put newlines in cache variables' values.
13924 # Ultrix sh set writes to stderr and can't be redirected directly,
13925 # and sets the high bit in the cache file unless we assign to the vars.
13927 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13929 # `set' does not quote correctly, so add quotes (double-quote substitution
13930 # turns \\\\ into \\, and sed turns \\ into \).
13932 -e "s/'/'\\\\''/g" \
13933 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13936 # `set' quotes correctly as required by POSIX, so do not add quotes.
13937 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13940 if cmp -s $cache_file confcache
; then
13943 if test -w $cache_file; then
13944 echo "updating cache $cache_file"
13945 cat confcache
> $cache_file
13947 echo "not updating unwritable cache $cache_file"
13954 if test "$TOOLKIT" != "MSW"; then
13960 if test "$wxUSE_THREADS" = "yes" ; then
13961 if test "$wxUSE_WINE" = 1 ; then
13962 echo "configure: warning: Threads are not supported under WINE" 1>&2
13964 elif test "$USE_BEOS" = 1; then
13965 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13970 if test "$wxUSE_THREADS" = "yes" ; then
13972 if test "$USE_AIX" = 1; then
13973 THREADS_LIB
=pthreads
13975 THREADS_LIB
=pthread
13978 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13979 echo "configure:13980: checking for pthread_create in -l$THREADS_LIB" >&5
13980 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13981 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13982 echo $ac_n "(cached) $ac_c" 1>&6
13984 ac_save_LIBS
="$LIBS"
13985 LIBS
="-l$THREADS_LIB $LIBS"
13986 cat > conftest.
$ac_ext <<EOF
13987 #line 13988 "configure"
13988 #include "confdefs.h"
13989 /* Override any gcc2 internal prototype to avoid an error. */
13990 /* We use char because int might match the return type of a gcc2
13991 builtin and then its argument prototype would still apply. */
13992 char pthread_create();
13998 if { (eval echo configure
:13999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14000 eval "ac_cv_lib_$ac_lib_var=yes"
14002 echo "configure: failed program was:" >&5
14003 cat conftest.
$ac_ext >&5
14005 eval "ac_cv_lib_$ac_lib_var=no"
14008 LIBS
="$ac_save_LIBS"
14011 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14012 echo "$ac_t""yes" 1>&6
14014 THREADS_OBJ
="threadpsx.lo"
14015 THREADS_LINK
=$THREADS_LIB
14018 echo "$ac_t""no" 1>&6
14020 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14021 echo "configure:14022: checking for pthread_create in -lc_r" >&5
14022 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14023 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14024 echo $ac_n "(cached) $ac_c" 1>&6
14026 ac_save_LIBS
="$LIBS"
14028 cat > conftest.
$ac_ext <<EOF
14029 #line 14030 "configure"
14030 #include "confdefs.h"
14031 /* Override any gcc2 internal prototype to avoid an error. */
14032 /* We use char because int might match the return type of a gcc2
14033 builtin and then its argument prototype would still apply. */
14034 char pthread_create();
14040 if { (eval echo configure
:14041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14042 eval "ac_cv_lib_$ac_lib_var=yes"
14044 echo "configure: failed program was:" >&5
14045 cat conftest.
$ac_ext >&5
14047 eval "ac_cv_lib_$ac_lib_var=no"
14050 LIBS
="$ac_save_LIBS"
14053 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14054 echo "$ac_t""yes" 1>&6
14056 THREADS_OBJ
="threadpsx.lo"
14060 echo "$ac_t""no" 1>&6
14062 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14063 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14064 echo "configure:14065: checking for sys/prctl.h" >&5
14065 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14066 echo $ac_n "(cached) $ac_c" 1>&6
14068 cat > conftest.
$ac_ext <<EOF
14069 #line 14070 "configure"
14070 #include "confdefs.h"
14071 #include <sys/prctl.h>
14073 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14074 { (eval echo configure
:14075: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14075 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14076 if test -z "$ac_err"; then
14078 eval "ac_cv_header_$ac_safe=yes"
14081 echo "configure: failed program was:" >&5
14082 cat conftest.
$ac_ext >&5
14084 eval "ac_cv_header_$ac_safe=no"
14088 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14089 echo "$ac_t""yes" 1>&6
14091 THREADS_OBJ
="threadsgi.lo"
14094 echo "$ac_t""no" 1>&6
14104 if test -z "$THREADS_OBJ" ; then
14106 echo "configure: warning: No thread support on this system" 1>&2
14110 if test "$wxUSE_THREADS" = "yes" ; then
14111 for ac_func
in thr_setconcurrency
14113 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14114 echo "configure:14115: checking for $ac_func" >&5
14115 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14116 echo $ac_n "(cached) $ac_c" 1>&6
14118 cat > conftest.
$ac_ext <<EOF
14119 #line 14120 "configure"
14120 #include "confdefs.h"
14121 /* System header to define __stub macros and hopefully few prototypes,
14122 which can conflict with char $ac_func(); below. */
14123 #include <assert.h>
14124 /* Override any gcc2 internal prototype to avoid an error. */
14125 /* We use char because int might match the return type of a gcc2
14126 builtin and then its argument prototype would still apply. */
14131 /* The GNU C library defines this for functions which it implements
14132 to always fail with ENOSYS. Some functions are actually named
14133 something starting with __ and the normal name is an alias. */
14134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14142 if { (eval echo configure
:14143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14144 eval "ac_cv_func_$ac_func=yes"
14146 echo "configure: failed program was:" >&5
14147 cat conftest.
$ac_ext >&5
14149 eval "ac_cv_func_$ac_func=no"
14154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14155 echo "$ac_t""yes" 1>&6
14156 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14157 cat >> confdefs.h
<<EOF
14158 #define $ac_tr_func 1
14162 echo "$ac_t""no" 1>&6
14168 for ac_hdr
in sched.h
14170 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14171 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14172 echo "configure:14173: checking for $ac_hdr" >&5
14173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14174 echo $ac_n "(cached) $ac_c" 1>&6
14176 cat > conftest.
$ac_ext <<EOF
14177 #line 14178 "configure"
14178 #include "confdefs.h"
14181 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14182 { (eval echo configure
:14183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14183 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14184 if test -z "$ac_err"; then
14186 eval "ac_cv_header_$ac_safe=yes"
14189 echo "configure: failed program was:" >&5
14190 cat conftest.
$ac_ext >&5
14192 eval "ac_cv_header_$ac_safe=no"
14196 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14197 echo "$ac_t""yes" 1>&6
14198 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14199 cat >> confdefs.h
<<EOF
14200 #define $ac_tr_hdr 1
14204 echo "$ac_t""no" 1>&6
14209 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14210 echo "configure:14211: checking for sched_yield in -l$THREADS_LINK" >&5
14211 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14213 echo $ac_n "(cached) $ac_c" 1>&6
14215 ac_save_LIBS
="$LIBS"
14216 LIBS
="-l$THREADS_LINK $LIBS"
14217 cat > conftest.
$ac_ext <<EOF
14218 #line 14219 "configure"
14219 #include "confdefs.h"
14220 /* Override any gcc2 internal prototype to avoid an error. */
14221 /* We use char because int might match the return type of a gcc2
14222 builtin and then its argument prototype would still apply. */
14223 char sched_yield();
14229 if { (eval echo configure
:14230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14231 eval "ac_cv_lib_$ac_lib_var=yes"
14233 echo "configure: failed program was:" >&5
14234 cat conftest.
$ac_ext >&5
14236 eval "ac_cv_lib_$ac_lib_var=no"
14239 LIBS
="$ac_save_LIBS"
14242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14243 echo "$ac_t""yes" 1>&6
14244 cat >> confdefs.h
<<\EOF
14245 #define HAVE_SCHED_YIELD 1
14249 echo "$ac_t""no" 1>&6
14250 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14251 echo "configure:14252: checking for sched_yield in -lposix4" >&5
14252 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14253 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14254 echo $ac_n "(cached) $ac_c" 1>&6
14256 ac_save_LIBS
="$LIBS"
14257 LIBS
="-lposix4 $LIBS"
14258 cat > conftest.
$ac_ext <<EOF
14259 #line 14260 "configure"
14260 #include "confdefs.h"
14261 /* Override any gcc2 internal prototype to avoid an error. */
14262 /* We use char because int might match the return type of a gcc2
14263 builtin and then its argument prototype would still apply. */
14264 char sched_yield();
14270 if { (eval echo configure
:14271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14272 eval "ac_cv_lib_$ac_lib_var=yes"
14274 echo "configure: failed program was:" >&5
14275 cat conftest.
$ac_ext >&5
14277 eval "ac_cv_lib_$ac_lib_var=no"
14280 LIBS
="$ac_save_LIBS"
14283 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14284 echo "$ac_t""yes" 1>&6
14285 cat >> confdefs.h
<<\EOF
14286 #define HAVE_SCHED_YIELD 1
14288 POSIX4_LINK
="-lposix4"
14290 echo "$ac_t""no" 1>&6
14291 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14300 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14301 echo "configure:14302: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14302 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14304 echo $ac_n "(cached) $ac_c" 1>&6
14306 ac_save_LIBS
="$LIBS"
14307 LIBS
="-l$THREADS_LINK $LIBS"
14308 cat > conftest.
$ac_ext <<EOF
14309 #line 14310 "configure"
14310 #include "confdefs.h"
14311 /* Override any gcc2 internal prototype to avoid an error. */
14312 /* We use char because int might match the return type of a gcc2
14313 builtin and then its argument prototype would still apply. */
14314 char pthread_attr_getschedpolicy();
14317 pthread_attr_getschedpolicy()
14320 if { (eval echo configure
:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14322 eval "ac_cv_lib_$ac_lib_var=yes"
14324 echo "configure: failed program was:" >&5
14325 cat conftest.
$ac_ext >&5
14327 eval "ac_cv_lib_$ac_lib_var=no"
14330 LIBS
="$ac_save_LIBS"
14333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14334 echo "$ac_t""yes" 1>&6
14335 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14336 echo "configure:14337: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14337 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14338 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14339 echo $ac_n "(cached) $ac_c" 1>&6
14341 ac_save_LIBS
="$LIBS"
14342 LIBS
="-l$THREADS_LINK $LIBS"
14343 cat > conftest.
$ac_ext <<EOF
14344 #line 14345 "configure"
14345 #include "confdefs.h"
14346 /* Override any gcc2 internal prototype to avoid an error. */
14347 /* We use char because int might match the return type of a gcc2
14348 builtin and then its argument prototype would still apply. */
14349 char pthread_attr_setschedparam();
14352 pthread_attr_setschedparam()
14355 if { (eval echo configure
:14356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14357 eval "ac_cv_lib_$ac_lib_var=yes"
14359 echo "configure: failed program was:" >&5
14360 cat conftest.
$ac_ext >&5
14362 eval "ac_cv_lib_$ac_lib_var=no"
14365 LIBS
="$ac_save_LIBS"
14368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14369 echo "$ac_t""yes" 1>&6
14370 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14371 echo "configure:14372: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14372 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14373 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14374 echo $ac_n "(cached) $ac_c" 1>&6
14376 ac_save_LIBS
="$LIBS"
14377 LIBS
="-l$THREADS_LINK $LIBS"
14378 cat > conftest.
$ac_ext <<EOF
14379 #line 14380 "configure"
14380 #include "confdefs.h"
14381 /* Override any gcc2 internal prototype to avoid an error. */
14382 /* We use char because int might match the return type of a gcc2
14383 builtin and then its argument prototype would still apply. */
14384 char sched_get_priority_max();
14387 sched_get_priority_max()
14390 if { (eval echo configure
:14391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14392 eval "ac_cv_lib_$ac_lib_var=yes"
14394 echo "configure: failed program was:" >&5
14395 cat conftest.
$ac_ext >&5
14397 eval "ac_cv_lib_$ac_lib_var=no"
14400 LIBS
="$ac_save_LIBS"
14403 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14404 echo "$ac_t""yes" 1>&6
14407 echo "$ac_t""no" 1>&6
14408 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14409 echo "configure:14410: checking for sched_get_priority_max in -lposix4" >&5
14410 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14411 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14412 echo $ac_n "(cached) $ac_c" 1>&6
14414 ac_save_LIBS
="$LIBS"
14415 LIBS
="-lposix4 $LIBS"
14416 cat > conftest.
$ac_ext <<EOF
14417 #line 14418 "configure"
14418 #include "confdefs.h"
14419 /* Override any gcc2 internal prototype to avoid an error. */
14420 /* We use char because int might match the return type of a gcc2
14421 builtin and then its argument prototype would still apply. */
14422 char sched_get_priority_max();
14425 sched_get_priority_max()
14428 if { (eval echo configure
:14429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14430 eval "ac_cv_lib_$ac_lib_var=yes"
14432 echo "configure: failed program was:" >&5
14433 cat conftest.
$ac_ext >&5
14435 eval "ac_cv_lib_$ac_lib_var=no"
14438 LIBS
="$ac_save_LIBS"
14441 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14442 echo "$ac_t""yes" 1>&6
14445 POSIX4_LINK
="-lposix4"
14448 echo "$ac_t""no" 1>&6
14456 echo "$ac_t""no" 1>&6
14461 echo "$ac_t""no" 1>&6
14465 if test "$HAVE_PRIOR_FUNCS" = 1; then
14466 cat >> confdefs.h
<<\EOF
14467 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14471 echo "configure: warning: Setting thread priority will not work" 1>&2
14474 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14475 echo "configure:14476: checking for pthread_cancel in -l$THREADS_LINK" >&5
14476 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14478 echo $ac_n "(cached) $ac_c" 1>&6
14480 ac_save_LIBS
="$LIBS"
14481 LIBS
="-l$THREADS_LINK $LIBS"
14482 cat > conftest.
$ac_ext <<EOF
14483 #line 14484 "configure"
14484 #include "confdefs.h"
14485 /* Override any gcc2 internal prototype to avoid an error. */
14486 /* We use char because int might match the return type of a gcc2
14487 builtin and then its argument prototype would still apply. */
14488 char pthread_cancel();
14494 if { (eval echo configure
:14495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14496 eval "ac_cv_lib_$ac_lib_var=yes"
14498 echo "configure: failed program was:" >&5
14499 cat conftest.
$ac_ext >&5
14501 eval "ac_cv_lib_$ac_lib_var=no"
14504 LIBS
="$ac_save_LIBS"
14507 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14508 echo "$ac_t""yes" 1>&6
14509 cat >> confdefs.h
<<\EOF
14510 #define HAVE_PTHREAD_CANCEL 1
14514 echo "$ac_t""no" 1>&6
14515 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14519 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14520 echo "configure:14521: checking for pthread_cleanup_push/pop" >&5
14521 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14522 echo $ac_n "(cached) $ac_c" 1>&6
14525 cat > conftest.
$ac_ext <<EOF
14526 #line 14527 "configure"
14527 #include "confdefs.h"
14528 #include <pthread.h>
14531 pthread_cleanup_push(NULL, NULL);
14532 pthread_cleanup_pop(0);
14536 if { (eval echo configure
:14537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14539 wx_cv_func_pthread_cleanup_push
=yes
14542 echo "configure: failed program was:" >&5
14543 cat conftest.
$ac_ext >&5
14546 wx_cv_func_pthread_cleanup_push
=no
14553 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14555 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14556 cat >> confdefs.h
<<\EOF
14557 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14563 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14564 echo "configure:14565: checking for pthread_mutexattr_t" >&5
14565 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14566 echo $ac_n "(cached) $ac_c" 1>&6
14569 cat > conftest.
$ac_ext <<EOF
14570 #line 14571 "configure"
14571 #include "confdefs.h"
14572 #include <pthread.h>
14575 pthread_mutexattr_t attr;
14576 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14580 if { (eval echo configure
:14581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14583 wx_cv_type_pthread_mutexattr_t
=yes
14586 echo "configure: failed program was:" >&5
14587 cat conftest.
$ac_ext >&5
14590 wx_cv_type_pthread_mutexattr_t
=no
14598 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14600 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14601 cat >> confdefs.h
<<\EOF
14602 #define HAVE_PTHREAD_MUTEXATTR_T 1
14606 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14607 echo "configure:14608: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14608 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14609 echo $ac_n "(cached) $ac_c" 1>&6
14612 cat > conftest.
$ac_ext <<EOF
14613 #line 14614 "configure"
14614 #include "confdefs.h"
14615 #include <pthread.h>
14618 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14622 if { (eval echo configure
:14623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14625 wx_cv_type_pthread_rec_mutex_init
=yes
14628 echo "configure: failed program was:" >&5
14629 cat conftest.
$ac_ext >&5
14632 wx_cv_type_pthread_rec_mutex_init
=no
14640 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14641 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14642 cat >> confdefs.h
<<\EOF
14643 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14647 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14651 THREADS_LINK
="-l$THREADS_LINK"
14653 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14654 CFLAGS
="${CFLAGS} -mt"
14655 CXXFLAGS
="${CXXFLAGS} -mt"
14656 LDFLAGS
="${LDFLAGS} -mt"
14662 if test "$wxUSE_THREADS" = "yes"; then
14663 cat >> confdefs.h
<<\EOF
14664 #define wxUSE_THREADS 1
14668 if test "$USE_DARWIN" != 1; then
14669 CFLAGS
="${CFLAGS} -D_REENTRANT"
14670 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14675 if test "$ac_cv_func_strtok_r" = "yes"; then
14676 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14677 echo "configure:14678: checking if -D_REENTRANT is needed" >&5
14678 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14679 CFLAGS
="${CFLAGS} -D_REENTRANT"
14680 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14681 echo "$ac_t""yes" 1>&6
14683 echo "$ac_t""no" 1>&6
14688 if test "$WXGTK20" = 1 ; then
14689 cat >> confdefs.h
<<EOF
14690 #define __WXGTK20__ $WXGTK20
14696 if test "$WXGTK12" = 1 ; then
14697 cat >> confdefs.h
<<EOF
14698 #define __WXGTK12__ $WXGTK12
14703 if test "$WXGTK127" = 1 ; then
14704 cat >> confdefs.h
<<EOF
14705 #define __WXGTK127__ $WXGTK127
14710 if test "$WXWINE" = 1 ; then
14711 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14714 if test "$wxUSE_MAC" = 1 ; then
14715 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
14716 CFLAGS
="${CFLAGS} -fpascal-strings"
14717 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14718 # Extract the first word of "Rez", so it can be a program name with args.
14719 set dummy Rez
; ac_word
=$2
14720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14721 echo "configure:14722: checking for $ac_word" >&5
14722 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14723 echo $ac_n "(cached) $ac_c" 1>&6
14725 if test -n "$REZ"; then
14726 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14728 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14730 for ac_dir
in $ac_dummy; do
14731 test -z "$ac_dir" && ac_dir
=.
14732 if test -f $ac_dir/$ac_word; then
14733 ac_cv_prog_REZ
="Rez"
14738 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14741 REZ
="$ac_cv_prog_REZ"
14742 if test -n "$REZ"; then
14743 echo "$ac_t""$REZ" 1>&6
14745 echo "$ac_t""no" 1>&6
14748 # Extract the first word of "Derez", so it can be a program name with args.
14749 set dummy Derez
; ac_word
=$2
14750 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14751 echo "configure:14752: checking for $ac_word" >&5
14752 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14753 echo $ac_n "(cached) $ac_c" 1>&6
14755 if test -n "$DEREZ"; then
14756 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14758 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14760 for ac_dir
in $ac_dummy; do
14761 test -z "$ac_dir" && ac_dir
=.
14762 if test -f $ac_dir/$ac_word; then
14763 ac_cv_prog_DEREZ
="Derez"
14768 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14771 DEREZ
="$ac_cv_prog_DEREZ"
14772 if test -n "$DEREZ"; then
14773 echo "$ac_t""$DEREZ" 1>&6
14775 echo "$ac_t""no" 1>&6
14779 REZFLAGS
="-d __UNIX__ -useDF"
14780 DEREZFLAGS
="Carbon.r -useDF"
14781 RESFLAGS
="Carbon.r -t APPL"
14782 LIBWXMACRES
="\$(LIBWX_MACRES)"
14783 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14786 if test "$wxUSE_CYGWIN" = 1 ; then
14787 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14792 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14797 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14798 wxUSE_DEBUG_INFO
=yes
14802 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14803 cat >> confdefs.h
<<\EOF
14807 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14809 if test "$wxUSE_GTK" = 1 ; then
14810 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14814 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14815 cat >> confdefs.h
<<\EOF
14816 #define wxUSE_MEMORY_TRACING 1
14819 cat >> confdefs.h
<<\EOF
14820 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14823 cat >> confdefs.h
<<\EOF
14824 #define wxUSE_DEBUG_NEW_ALWAYS 1
14827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14830 if test "$wxUSE_DMALLOC" = "yes" ; then
14831 DMALLOC_LINK
="-ldmalloc"
14835 if test "$wxUSE_PROFILE" = "yes" ; then
14841 CODE_GEN_FLAGS_CXX
=
14842 if test "$GCC" = yes ; then
14843 if test "$wxUSE_NO_RTTI" = "yes" ; then
14844 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14846 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14847 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14849 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14850 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14852 if test "$wxUSE_NO_DEPS" = "no" ; then
14853 DEP_INFO_FLAGS
="-MMD"
14858 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14859 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14860 if test "$wxUSE_OPTIMISE" = "no" ; then
14863 if test "$GCC" = yes ; then
14866 i586
-*-*|i686
-*-* )
14867 OPTIMISE
="${OPTIMISE} "
14875 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14876 cat >> confdefs.h
<<\EOF
14877 #define WXWIN_COMPATIBILITY_2 1
14881 WXWIN_COMPATIBILITY_2_2
="yes"
14884 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14885 cat >> confdefs.h
<<\EOF
14886 #define WXWIN_COMPATIBILITY_2_2 1
14893 if test "$wxUSE_REGEX" != "no"; then
14894 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
14895 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
14896 echo "configure:14897: checking for regex.h" >&5
14897 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14898 echo $ac_n "(cached) $ac_c" 1>&6
14900 cat > conftest.
$ac_ext <<EOF
14901 #line 14902 "configure"
14902 #include "confdefs.h"
14905 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14906 { (eval echo configure
:14907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14907 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14908 if test -z "$ac_err"; then
14910 eval "ac_cv_header_$ac_safe=yes"
14913 echo "configure: failed program was:" >&5
14914 cat conftest.
$ac_ext >&5
14916 eval "ac_cv_header_$ac_safe=no"
14920 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14921 echo "$ac_t""yes" 1>&6
14922 for ac_func
in regcomp
14924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14925 echo "configure:14926: checking for $ac_func" >&5
14926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14927 echo $ac_n "(cached) $ac_c" 1>&6
14929 cat > conftest.
$ac_ext <<EOF
14930 #line 14931 "configure"
14931 #include "confdefs.h"
14932 /* System header to define __stub macros and hopefully few prototypes,
14933 which can conflict with char $ac_func(); below. */
14934 #include <assert.h>
14935 /* Override any gcc2 internal prototype to avoid an error. */
14936 /* We use char because int might match the return type of a gcc2
14937 builtin and then its argument prototype would still apply. */
14942 /* The GNU C library defines this for functions which it implements
14943 to always fail with ENOSYS. Some functions are actually named
14944 something starting with __ and the normal name is an alias. */
14945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14953 if { (eval echo configure
:14954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14955 eval "ac_cv_func_$ac_func=yes"
14957 echo "configure: failed program was:" >&5
14958 cat conftest.
$ac_ext >&5
14960 eval "ac_cv_func_$ac_func=no"
14965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14966 echo "$ac_t""yes" 1>&6
14967 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14968 cat >> confdefs.h
<<EOF
14969 #define $ac_tr_func 1
14973 echo "$ac_t""no" 1>&6
14978 echo "$ac_t""no" 1>&6
14982 if test "x$ac_cv_func_regcomp" != "xyes"; then
14983 if test "$wxUSE_REGEX" = "sys"; then
14984 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
14987 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
14990 cat >> confdefs.h
<<\EOF
14991 #define wxUSE_REGEX 1
14997 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14998 cat >> confdefs.h
<<\EOF
14999 #define wxUSE_ZLIB 1
15002 if test "$wxUSE_ZLIB" = "yes" ; then
15003 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15006 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15007 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15008 echo "configure:15009: checking for zlib.h" >&5
15009 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15010 echo $ac_n "(cached) $ac_c" 1>&6
15012 cat > conftest.
$ac_ext <<EOF
15013 #line 15014 "configure"
15014 #include "confdefs.h"
15017 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15018 { (eval echo configure
:15019: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15019 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15020 if test -z "$ac_err"; then
15022 eval "ac_cv_header_$ac_safe=yes"
15025 echo "configure: failed program was:" >&5
15026 cat conftest.
$ac_ext >&5
15028 eval "ac_cv_header_$ac_safe=no"
15032 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15033 echo "$ac_t""yes" 1>&6
15034 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15035 echo "configure:15036: checking for deflate in -lz" >&5
15036 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15038 echo $ac_n "(cached) $ac_c" 1>&6
15040 ac_save_LIBS
="$LIBS"
15042 cat > conftest.
$ac_ext <<EOF
15043 #line 15044 "configure"
15044 #include "confdefs.h"
15045 /* Override any gcc2 internal prototype to avoid an error. */
15046 /* We use char because int might match the return type of a gcc2
15047 builtin and then its argument prototype would still apply. */
15054 if { (eval echo configure
:15055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15056 eval "ac_cv_lib_$ac_lib_var=yes"
15058 echo "configure: failed program was:" >&5
15059 cat conftest.
$ac_ext >&5
15061 eval "ac_cv_lib_$ac_lib_var=no"
15064 LIBS
="$ac_save_LIBS"
15067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15068 echo "$ac_t""yes" 1>&6
15071 echo "$ac_t""no" 1>&6
15075 echo "$ac_t""no" 1>&6
15078 if test "x$ZLIB_LINK" = "x" ; then
15079 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15085 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15086 cat >> confdefs.h
<<\EOF
15087 #define wxUSE_LIBPNG 1
15090 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15091 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15095 if test "$wxUSE_LIBPNG" = "yes" ; then
15096 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15099 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15100 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15101 echo "configure:15102: checking for png.h" >&5
15102 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15103 echo $ac_n "(cached) $ac_c" 1>&6
15105 cat > conftest.
$ac_ext <<EOF
15106 #line 15107 "configure"
15107 #include "confdefs.h"
15110 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15111 { (eval echo configure
:15112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15112 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15113 if test -z "$ac_err"; then
15115 eval "ac_cv_header_$ac_safe=yes"
15118 echo "configure: failed program was:" >&5
15119 cat conftest.
$ac_ext >&5
15121 eval "ac_cv_header_$ac_safe=no"
15125 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15126 echo "$ac_t""yes" 1>&6
15127 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15128 echo "configure:15129: checking for png_check_sig in -lpng" >&5
15129 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15130 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15131 echo $ac_n "(cached) $ac_c" 1>&6
15133 ac_save_LIBS
="$LIBS"
15134 LIBS
="-lpng -lz -lm $LIBS"
15135 cat > conftest.
$ac_ext <<EOF
15136 #line 15137 "configure"
15137 #include "confdefs.h"
15138 /* Override any gcc2 internal prototype to avoid an error. */
15139 /* We use char because int might match the return type of a gcc2
15140 builtin and then its argument prototype would still apply. */
15141 char png_check_sig();
15147 if { (eval echo configure
:15148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15149 eval "ac_cv_lib_$ac_lib_var=yes"
15151 echo "configure: failed program was:" >&5
15152 cat conftest.
$ac_ext >&5
15154 eval "ac_cv_lib_$ac_lib_var=no"
15157 LIBS
="$ac_save_LIBS"
15160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15161 echo "$ac_t""yes" 1>&6
15164 echo "$ac_t""no" 1>&6
15169 echo "$ac_t""no" 1>&6
15172 if test "x$PNG_LINK" = "x" ; then
15173 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15177 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15181 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15182 cat >> confdefs.h
<<\EOF
15183 #define wxUSE_LIBJPEG 1
15186 if test "$wxUSE_LIBJPEG" = "yes" ; then
15187 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15190 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15191 echo "configure:15192: checking for jpeglib.h" >&5
15192 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15193 echo $ac_n "(cached) $ac_c" 1>&6
15195 cat > conftest.
$ac_ext <<EOF
15196 #line 15197 "configure"
15197 #include "confdefs.h"
15199 #undef HAVE_STDLIB_H
15201 #include <jpeglib.h>
15208 if { (eval echo configure
:15209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15210 ac_cv_header_jpeglib_h
=yes
15212 echo "configure: failed program was:" >&5
15213 cat conftest.
$ac_ext >&5
15215 ac_cv_header_jpeglib_h
=no
15222 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15224 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15225 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15226 echo "configure:15227: checking for jpeg_read_header in -ljpeg" >&5
15227 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15228 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15229 echo $ac_n "(cached) $ac_c" 1>&6
15231 ac_save_LIBS
="$LIBS"
15232 LIBS
="-ljpeg $LIBS"
15233 cat > conftest.
$ac_ext <<EOF
15234 #line 15235 "configure"
15235 #include "confdefs.h"
15236 /* Override any gcc2 internal prototype to avoid an error. */
15237 /* We use char because int might match the return type of a gcc2
15238 builtin and then its argument prototype would still apply. */
15239 char jpeg_read_header();
15245 if { (eval echo configure
:15246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15247 eval "ac_cv_lib_$ac_lib_var=yes"
15249 echo "configure: failed program was:" >&5
15250 cat conftest.
$ac_ext >&5
15252 eval "ac_cv_lib_$ac_lib_var=no"
15255 LIBS
="$ac_save_LIBS"
15258 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15259 echo "$ac_t""yes" 1>&6
15262 echo "$ac_t""no" 1>&6
15267 if test "x$JPEG_LINK" = "x" ; then
15268 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15274 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15275 cat >> confdefs.h
<<\EOF
15276 #define wxUSE_LIBTIFF 1
15279 if test "$wxUSE_LIBTIFF" = "yes" ; then
15280 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15283 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15284 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15285 echo "configure:15286: checking for tiffio.h" >&5
15286 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15287 echo $ac_n "(cached) $ac_c" 1>&6
15289 cat > conftest.
$ac_ext <<EOF
15290 #line 15291 "configure"
15291 #include "confdefs.h"
15292 #include <tiffio.h>
15294 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15295 { (eval echo configure
:15296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15296 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15297 if test -z "$ac_err"; then
15299 eval "ac_cv_header_$ac_safe=yes"
15302 echo "configure: failed program was:" >&5
15303 cat conftest.
$ac_ext >&5
15305 eval "ac_cv_header_$ac_safe=no"
15309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15310 echo "$ac_t""yes" 1>&6
15311 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15312 echo "configure:15313: checking for TIFFError in -ltiff" >&5
15313 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15315 echo $ac_n "(cached) $ac_c" 1>&6
15317 ac_save_LIBS
="$LIBS"
15318 LIBS
="-ltiff -lm $LIBS"
15319 cat > conftest.
$ac_ext <<EOF
15320 #line 15321 "configure"
15321 #include "confdefs.h"
15322 /* Override any gcc2 internal prototype to avoid an error. */
15323 /* We use char because int might match the return type of a gcc2
15324 builtin and then its argument prototype would still apply. */
15331 if { (eval echo configure
:15332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15333 eval "ac_cv_lib_$ac_lib_var=yes"
15335 echo "configure: failed program was:" >&5
15336 cat conftest.
$ac_ext >&5
15338 eval "ac_cv_lib_$ac_lib_var=no"
15341 LIBS
="$ac_save_LIBS"
15344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15345 echo "$ac_t""yes" 1>&6
15348 echo "$ac_t""no" 1>&6
15352 echo "$ac_t""no" 1>&6
15355 if test "x$TIFF_LINK" = "x" ; then
15356 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15362 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15363 cat >> confdefs.h
<<\EOF
15364 #define wxUSE_FREETYPE 1
15367 if test "$wxUSE_FREETYPE" = "yes" ; then
15368 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15371 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15372 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15373 echo "configure:15374: checking for freetype.h" >&5
15374 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15375 echo $ac_n "(cached) $ac_c" 1>&6
15377 cat > conftest.
$ac_ext <<EOF
15378 #line 15379 "configure"
15379 #include "confdefs.h"
15380 #include <freetype.h>
15382 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15383 { (eval echo configure
:15384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15384 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15385 if test -z "$ac_err"; then
15387 eval "ac_cv_header_$ac_safe=yes"
15390 echo "configure: failed program was:" >&5
15391 cat conftest.
$ac_ext >&5
15393 eval "ac_cv_header_$ac_safe=no"
15397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15398 echo "$ac_t""yes" 1>&6
15399 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15400 echo "configure:15401: checking for FT_Render_Glyph in -lfreetype" >&5
15401 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15403 echo $ac_n "(cached) $ac_c" 1>&6
15405 ac_save_LIBS
="$LIBS"
15406 LIBS
="-lfreetype -lm $LIBS"
15407 cat > conftest.
$ac_ext <<EOF
15408 #line 15409 "configure"
15409 #include "confdefs.h"
15410 /* Override any gcc2 internal prototype to avoid an error. */
15411 /* We use char because int might match the return type of a gcc2
15412 builtin and then its argument prototype would still apply. */
15413 char FT_Render_Glyph();
15419 if { (eval echo configure
:15420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15421 eval "ac_cv_lib_$ac_lib_var=yes"
15423 echo "configure: failed program was:" >&5
15424 cat conftest.
$ac_ext >&5
15426 eval "ac_cv_lib_$ac_lib_var=no"
15429 LIBS
="$ac_save_LIBS"
15432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15433 echo "$ac_t""yes" 1>&6
15434 FREETYPE_LINK
="-lfreetype"
15436 echo "$ac_t""no" 1>&6
15441 echo "$ac_t""no" 1>&6
15444 if test "x$FREETYPE_LINK" = "x" ; then
15445 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15450 if test "$wxUSE_OPENGL" = "yes"; then
15451 if test "$wxUSE_MAC" = 1; then
15452 cat >> confdefs.h
<<\EOF
15453 #define wxUSE_OPENGL 1
15456 cat >> confdefs.h
<<\EOF
15457 #define wxUSE_GLCANVAS 1
15460 OPENGL_LINK
="-framework OpenGL -framework AGL"
15461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15463 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15464 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15465 echo "configure:15466: checking for GL/gl.h" >&5
15466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15467 echo $ac_n "(cached) $ac_c" 1>&6
15469 cat > conftest.
$ac_ext <<EOF
15470 #line 15471 "configure"
15471 #include "confdefs.h"
15474 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15475 { (eval echo configure
:15476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15476 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15477 if test -z "$ac_err"; then
15479 eval "ac_cv_header_$ac_safe=yes"
15482 echo "configure: failed program was:" >&5
15483 cat conftest.
$ac_ext >&5
15485 eval "ac_cv_header_$ac_safe=no"
15489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15490 echo "$ac_t""yes" 1>&6
15492 cat >> confdefs.h
<<\EOF
15493 #define wxUSE_OPENGL 1
15496 cat >> confdefs.h
<<\EOF
15497 #define wxUSE_GLCANVAS 1
15500 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15501 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15502 echo "configure:15503: checking for glFlush in -lGL" >&5
15503 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15504 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15505 echo $ac_n "(cached) $ac_c" 1>&6
15507 ac_save_LIBS
="$LIBS"
15509 cat > conftest.
$ac_ext <<EOF
15510 #line 15511 "configure"
15511 #include "confdefs.h"
15512 /* Override any gcc2 internal prototype to avoid an error. */
15513 /* We use char because int might match the return type of a gcc2
15514 builtin and then its argument prototype would still apply. */
15521 if { (eval echo configure
:15522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15523 eval "ac_cv_lib_$ac_lib_var=yes"
15525 echo "configure: failed program was:" >&5
15526 cat conftest.
$ac_ext >&5
15528 eval "ac_cv_lib_$ac_lib_var=no"
15531 LIBS
="$ac_save_LIBS"
15534 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15535 echo "$ac_t""yes" 1>&6
15537 OPENGL_LINK
="-lGL -lGLU"
15540 echo "$ac_t""no" 1>&6
15542 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15543 echo "configure:15544: checking for glFlush in -lMesaGL" >&5
15544 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15546 echo $ac_n "(cached) $ac_c" 1>&6
15548 ac_save_LIBS
="$LIBS"
15549 LIBS
="-lMesaGL $LIBS"
15550 cat > conftest.
$ac_ext <<EOF
15551 #line 15552 "configure"
15552 #include "confdefs.h"
15553 /* Override any gcc2 internal prototype to avoid an error. */
15554 /* We use char because int might match the return type of a gcc2
15555 builtin and then its argument prototype would still apply. */
15562 if { (eval echo configure
:15563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15564 eval "ac_cv_lib_$ac_lib_var=yes"
15566 echo "configure: failed program was:" >&5
15567 cat conftest.
$ac_ext >&5
15569 eval "ac_cv_lib_$ac_lib_var=no"
15572 LIBS
="$ac_save_LIBS"
15575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15576 echo "$ac_t""yes" 1>&6
15578 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15581 echo "$ac_t""no" 1>&6
15589 echo "$ac_t""no" 1>&6
15597 if test "$wxUSE_GUI" = "yes"; then
15598 cat >> confdefs.h
<<\EOF
15599 #define wxUSE_GUI 1
15604 cat >> confdefs.h
<<\EOF
15605 #define wxUSE_NOGUI 1
15611 if test "$wxUSE_UNIX" = "yes"; then
15612 cat >> confdefs.h
<<\EOF
15613 #define wxUSE_UNIX 1
15619 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15620 cat >> confdefs.h
<<\EOF
15621 #define wxUSE_APPLE_IEEE 1
15626 if test "$wxUSE_TIMER" = "yes"; then
15627 cat >> confdefs.h
<<\EOF
15628 #define wxUSE_TIMER 1
15633 if test "$wxUSE_WAVE" = "yes"; then
15634 cat >> confdefs.h
<<\EOF
15635 #define wxUSE_WAVE 1
15640 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15641 cat >> confdefs.h
<<\EOF
15642 #define wxUSE_CMDLINE_PARSER 1
15647 if test "$wxUSE_STOPWATCH" = "yes"; then
15648 cat >> confdefs.h
<<\EOF
15649 #define wxUSE_STOPWATCH 1
15654 if test "$wxUSE_DATETIME" = "yes"; then
15655 cat >> confdefs.h
<<\EOF
15656 #define wxUSE_DATETIME 1
15661 if test "$wxUSE_TIMEDATE" = "yes"; then
15662 cat >> confdefs.h
<<\EOF
15663 #define wxUSE_TIMEDATE 1
15668 if test "$wxUSE_FILE" = "yes"; then
15669 cat >> confdefs.h
<<\EOF
15670 #define wxUSE_FILE 1
15675 if test "$wxUSE_FFILE" = "yes"; then
15676 cat >> confdefs.h
<<\EOF
15677 #define wxUSE_FFILE 1
15682 if test "$wxUSE_FILESYSTEM" = "yes"; then
15683 cat >> confdefs.h
<<\EOF
15684 #define wxUSE_FILESYSTEM 1
15689 if test "$wxUSE_FS_INET" = "yes"; then
15690 cat >> confdefs.h
<<\EOF
15691 #define wxUSE_FS_INET 1
15696 if test "$wxUSE_FS_ZIP" = "yes"; then
15697 cat >> confdefs.h
<<\EOF
15698 #define wxUSE_FS_ZIP 1
15703 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15704 cat >> confdefs.h
<<\EOF
15705 #define wxUSE_ZIPSTREAM 1
15710 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15711 cat >> confdefs.h
<<\EOF
15712 #define wxUSE_ON_FATAL_EXCEPTION 1
15717 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15718 cat >> confdefs.h
<<\EOF
15719 #define wxUSE_SNGLINST_CHECKER 1
15724 if test "$wxUSE_BUSYINFO" = "yes"; then
15725 cat >> confdefs.h
<<\EOF
15726 #define wxUSE_BUSYINFO 1
15731 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15732 cat >> confdefs.h
<<\EOF
15733 #define wxUSE_STD_IOSTREAM 1
15738 if test "$wxUSE_TEXTFILE" = "yes"; then
15739 if test "$wxUSE_FILE" != "yes"; then
15740 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15742 cat >> confdefs.h
<<\EOF
15743 #define wxUSE_TEXTFILE 1
15749 if test "$wxUSE_CONFIG" = "yes" ; then
15750 if test "$wxUSE_TEXTFILE" != "yes"; then
15751 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15753 cat >> confdefs.h
<<\EOF
15754 #define wxUSE_CONFIG 1
15757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15761 if test "$wxUSE_INTL" = "yes" ; then
15762 if test "$wxUSE_FILE" != "yes"; then
15763 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15765 cat >> confdefs.h
<<\EOF
15766 #define wxUSE_INTL 1
15769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15770 GUIDIST
="$GUIDIST INTL_DIST"
15774 if test "$wxUSE_LOG" = "yes"; then
15775 cat >> confdefs.h
<<\EOF
15776 #define wxUSE_LOG 1
15780 if test "$wxUSE_LOGGUI" = "yes"; then
15781 cat >> confdefs.h
<<\EOF
15782 #define wxUSE_LOGGUI 1
15787 if test "$wxUSE_LOGWINDOW" = "yes"; then
15788 cat >> confdefs.h
<<\EOF
15789 #define wxUSE_LOGWINDOW 1
15795 if test "$wxUSE_LONGLONG" = "yes"; then
15796 cat >> confdefs.h
<<\EOF
15797 #define wxUSE_LONGLONG 1
15802 if test "$wxUSE_GEOMETRY" = "yes"; then
15803 cat >> confdefs.h
<<\EOF
15804 #define wxUSE_GEOMETRY 1
15809 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15810 cat >> confdefs.h
<<\EOF
15811 #define wxUSE_DIALUP_MANAGER 1
15814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15817 if test "$wxUSE_STREAMS" = "yes" ; then
15818 cat >> confdefs.h
<<\EOF
15819 #define wxUSE_STREAMS 1
15825 if test "$wxUSE_DATETIME" = "yes"; then
15826 for ac_func
in strptime
15828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15829 echo "configure:15830: checking for $ac_func" >&5
15830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15831 echo $ac_n "(cached) $ac_c" 1>&6
15833 cat > conftest.
$ac_ext <<EOF
15834 #line 15835 "configure"
15835 #include "confdefs.h"
15836 /* System header to define __stub macros and hopefully few prototypes,
15837 which can conflict with char $ac_func(); below. */
15838 #include <assert.h>
15839 /* Override any gcc2 internal prototype to avoid an error. */
15840 /* We use char because int might match the return type of a gcc2
15841 builtin and then its argument prototype would still apply. */
15846 /* The GNU C library defines this for functions which it implements
15847 to always fail with ENOSYS. Some functions are actually named
15848 something starting with __ and the normal name is an alias. */
15849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15857 if { (eval echo configure
:15858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15859 eval "ac_cv_func_$ac_func=yes"
15861 echo "configure: failed program was:" >&5
15862 cat conftest.
$ac_ext >&5
15864 eval "ac_cv_func_$ac_func=no"
15869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15870 echo "$ac_t""yes" 1>&6
15871 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15872 cat >> confdefs.h
<<EOF
15873 #define $ac_tr_func 1
15877 echo "$ac_t""no" 1>&6
15882 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15883 echo "configure:15884: checking for timezone variable in <time.h>" >&5
15884 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15885 echo $ac_n "(cached) $ac_c" 1>&6
15888 cat > conftest.
$ac_ext <<EOF
15889 #line 15890 "configure"
15890 #include "confdefs.h"
15901 if { (eval echo configure
:15902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15904 wx_cv_var_timezone
=timezone
15907 echo "configure: failed program was:" >&5
15908 cat conftest.
$ac_ext >&5
15911 cat > conftest.
$ac_ext <<EOF
15912 #line 15913 "configure"
15913 #include "confdefs.h"
15924 if { (eval echo configure
:15925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15927 wx_cv_var_timezone
=_timezone
15930 echo "configure: failed program was:" >&5
15931 cat conftest.
$ac_ext >&5
15934 cat > conftest.
$ac_ext <<EOF
15935 #line 15936 "configure"
15936 #include "confdefs.h"
15947 if { (eval echo configure
:15948: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15950 wx_cv_var_timezone
=__timezone
15953 echo "configure: failed program was:" >&5
15954 cat conftest.
$ac_ext >&5
15956 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15972 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15974 cat >> confdefs.h
<<EOF
15975 #define WX_TIMEZONE $wx_cv_var_timezone
15979 for ac_func
in localtime
15981 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15982 echo "configure:15983: checking for $ac_func" >&5
15983 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15984 echo $ac_n "(cached) $ac_c" 1>&6
15986 cat > conftest.
$ac_ext <<EOF
15987 #line 15988 "configure"
15988 #include "confdefs.h"
15989 /* System header to define __stub macros and hopefully few prototypes,
15990 which can conflict with char $ac_func(); below. */
15991 #include <assert.h>
15992 /* Override any gcc2 internal prototype to avoid an error. */
15993 /* We use char because int might match the return type of a gcc2
15994 builtin and then its argument prototype would still apply. */
15999 /* The GNU C library defines this for functions which it implements
16000 to always fail with ENOSYS. Some functions are actually named
16001 something starting with __ and the normal name is an alias. */
16002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16010 if { (eval echo configure
:16011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16012 eval "ac_cv_func_$ac_func=yes"
16014 echo "configure: failed program was:" >&5
16015 cat conftest.
$ac_ext >&5
16017 eval "ac_cv_func_$ac_func=no"
16022 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16023 echo "$ac_t""yes" 1>&6
16024 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16025 cat >> confdefs.h
<<EOF
16026 #define $ac_tr_func 1
16030 echo "$ac_t""no" 1>&6
16035 if test "$ac_cv_func_localtime" = "yes"; then
16036 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16037 echo "configure:16038: checking for tm_gmtoff in struct tm" >&5
16038 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16039 echo $ac_n "(cached) $ac_c" 1>&6
16042 cat > conftest.
$ac_ext <<EOF
16043 #line 16044 "configure"
16044 #include "confdefs.h"
16055 if { (eval echo configure
:16056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16058 wx_cv_struct_tm_has_gmtoff
=yes
16061 echo "configure: failed program was:" >&5
16062 cat conftest.
$ac_ext >&5
16064 wx_cv_struct_tm_has_gmtoff
=no
16071 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16074 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16075 cat >> confdefs.h
<<\EOF
16076 #define WX_GMTOFF_IN_TM 1
16081 for ac_func
in gettimeofday ftime
16083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16084 echo "configure:16085: checking for $ac_func" >&5
16085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16086 echo $ac_n "(cached) $ac_c" 1>&6
16088 cat > conftest.
$ac_ext <<EOF
16089 #line 16090 "configure"
16090 #include "confdefs.h"
16091 /* System header to define __stub macros and hopefully few prototypes,
16092 which can conflict with char $ac_func(); below. */
16093 #include <assert.h>
16094 /* Override any gcc2 internal prototype to avoid an error. */
16095 /* We use char because int might match the return type of a gcc2
16096 builtin and then its argument prototype would still apply. */
16101 /* The GNU C library defines this for functions which it implements
16102 to always fail with ENOSYS. Some functions are actually named
16103 something starting with __ and the normal name is an alias. */
16104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16112 if { (eval echo configure
:16113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16114 eval "ac_cv_func_$ac_func=yes"
16116 echo "configure: failed program was:" >&5
16117 cat conftest.
$ac_ext >&5
16119 eval "ac_cv_func_$ac_func=no"
16124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16125 echo "$ac_t""yes" 1>&6
16126 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16127 cat >> confdefs.h
<<EOF
16128 #define $ac_tr_func 1
16132 echo "$ac_t""no" 1>&6
16137 if test "$ac_cv_func_gettimeofday" = "yes"; then
16138 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16139 echo "configure:16140: checking whether gettimeofday takes two arguments" >&5
16140 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16141 echo $ac_n "(cached) $ac_c" 1>&6
16146 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16147 ac_cpp
='$CXXCPP $CPPFLAGS'
16148 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16149 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16150 cross_compiling
=$ac_cv_prog_cxx_cross
16153 cat > conftest.
$ac_ext <<EOF
16154 #line 16155 "configure"
16155 #include "confdefs.h"
16157 #include <sys/time.h>
16158 #include <unistd.h>
16163 struct timezone tz;
16164 gettimeofday(&tv, &tz);
16168 if { (eval echo configure
:16169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16170 wx_cv_func_gettimeofday_has_2_args
=yes
16172 echo "configure: failed program was:" >&5
16173 cat conftest.
$ac_ext >&5
16175 cat > conftest.
$ac_ext <<EOF
16176 #line 16177 "configure"
16177 #include "confdefs.h"
16179 #include <sys/time.h>
16180 #include <unistd.h>
16189 if { (eval echo configure
:16190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16191 wx_cv_func_gettimeofday_has_2_args
=no
16193 echo "configure: failed program was:" >&5
16194 cat conftest.
$ac_ext >&5
16196 wx_cv_func_gettimeofday_has_2_args
=unknown
16204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16205 ac_cpp
='$CPP $CPPFLAGS'
16206 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16207 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16208 cross_compiling
=$ac_cv_prog_cc_cross
16213 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16215 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16216 cat >> confdefs.h
<<\EOF
16217 #define WX_GETTIMEOFDAY_NO_TZ 1
16223 cat >> confdefs.h
<<\EOF
16224 #define wxUSE_TIMEDATE 1
16227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16231 if test "$TOOLKIT" != "MSW"; then
16233 if test "$wxUSE_SOCKETS" = "yes"; then
16234 echo $ac_n "checking for socket""... $ac_c" 1>&6
16235 echo "configure:16236: checking for socket" >&5
16236 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16237 echo $ac_n "(cached) $ac_c" 1>&6
16239 cat > conftest.
$ac_ext <<EOF
16240 #line 16241 "configure"
16241 #include "confdefs.h"
16242 /* System header to define __stub macros and hopefully few prototypes,
16243 which can conflict with char socket(); below. */
16244 #include <assert.h>
16245 /* Override any gcc2 internal prototype to avoid an error. */
16246 /* We use char because int might match the return type of a gcc2
16247 builtin and then its argument prototype would still apply. */
16252 /* The GNU C library defines this for functions which it implements
16253 to always fail with ENOSYS. Some functions are actually named
16254 something starting with __ and the normal name is an alias. */
16255 #if defined (__stub_socket) || defined (__stub___socket)
16263 if { (eval echo configure
:16264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16265 eval "ac_cv_func_socket=yes"
16267 echo "configure: failed program was:" >&5
16268 cat conftest.
$ac_ext >&5
16270 eval "ac_cv_func_socket=no"
16275 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16276 echo "$ac_t""yes" 1>&6
16279 echo "$ac_t""no" 1>&6
16280 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16281 echo "configure:16282: checking for socket in -lsocket" >&5
16282 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16284 echo $ac_n "(cached) $ac_c" 1>&6
16286 ac_save_LIBS
="$LIBS"
16287 LIBS
="-lsocket $LIBS"
16288 cat > conftest.
$ac_ext <<EOF
16289 #line 16290 "configure"
16290 #include "confdefs.h"
16291 /* Override any gcc2 internal prototype to avoid an error. */
16292 /* We use char because int might match the return type of a gcc2
16293 builtin and then its argument prototype would still apply. */
16300 if { (eval echo configure
:16301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16302 eval "ac_cv_lib_$ac_lib_var=yes"
16304 echo "configure: failed program was:" >&5
16305 cat conftest.
$ac_ext >&5
16307 eval "ac_cv_lib_$ac_lib_var=no"
16310 LIBS
="$ac_save_LIBS"
16313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16314 echo "$ac_t""yes" 1>&6
16315 INET_LINK
="$INET_LINK -lsocket"
16317 echo "$ac_t""no" 1>&6
16319 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16331 if test "$wxUSE_SOCKETS" = "yes" ; then
16332 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16333 echo "configure:16334: checking what is the type of the third argument of getsockname" >&5
16334 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16335 echo $ac_n "(cached) $ac_c" 1>&6
16340 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16341 ac_cpp
='$CXXCPP $CPPFLAGS'
16342 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16343 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16344 cross_compiling
=$ac_cv_prog_cxx_cross
16347 cat > conftest.
$ac_ext <<EOF
16348 #line 16349 "configure"
16349 #include "confdefs.h"
16351 #include <sys/types.h>
16352 #include <sys/socket.h>
16357 getsockname(0, 0, &len);
16361 if { (eval echo configure
:16362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16363 wx_cv_type_getsockname3
=socklen_t
16365 echo "configure: failed program was:" >&5
16366 cat conftest.
$ac_ext >&5
16368 cat > conftest.
$ac_ext <<EOF
16369 #line 16370 "configure"
16370 #include "confdefs.h"
16372 #include <sys/types.h>
16373 #include <sys/socket.h>
16378 getsockname(0, 0, &len);
16382 if { (eval echo configure
:16383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16384 wx_cv_type_getsockname3
=size_t
16386 echo "configure: failed program was:" >&5
16387 cat conftest.
$ac_ext >&5
16389 cat > conftest.
$ac_ext <<EOF
16390 #line 16391 "configure"
16391 #include "confdefs.h"
16393 #include <sys/types.h>
16394 #include <sys/socket.h>
16399 getsockname(0, 0, &len);
16403 if { (eval echo configure
:16404: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16405 wx_cv_type_getsockname3
=int
16407 echo "configure: failed program was:" >&5
16408 cat conftest.
$ac_ext >&5
16410 wx_cv_type_getsockname3
=unknown
16422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16423 ac_cpp
='$CPP $CPPFLAGS'
16424 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16425 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16426 cross_compiling
=$ac_cv_prog_cc_cross
16431 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16433 if test "$wx_cv_type_getsockname3" = "unknown"; then
16435 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16437 cat >> confdefs.h
<<EOF
16438 #define SOCKLEN_T $wx_cv_type_getsockname3
16446 if test "$wxUSE_SOCKETS" = "yes" ; then
16447 cat >> confdefs.h
<<\EOF
16448 #define wxUSE_SOCKETS 1
16451 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16452 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16456 if test "$wxUSE_GUI" = "yes"; then
16458 if test "$TOOLKIT" != "MSW"; then
16460 if test "$wxUSE_JOYSTICK" = "yes"; then
16461 for ac_hdr
in linux
/joystick.h
16463 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16464 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16465 echo "configure:16466: checking for $ac_hdr" >&5
16466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16467 echo $ac_n "(cached) $ac_c" 1>&6
16469 cat > conftest.
$ac_ext <<EOF
16470 #line 16471 "configure"
16471 #include "confdefs.h"
16474 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16475 { (eval echo configure
:16476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16476 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16477 if test -z "$ac_err"; then
16479 eval "ac_cv_header_$ac_safe=yes"
16482 echo "configure: failed program was:" >&5
16483 cat conftest.
$ac_ext >&5
16485 eval "ac_cv_header_$ac_safe=no"
16489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16490 echo "$ac_t""yes" 1>&6
16491 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16492 cat >> confdefs.h
<<EOF
16493 #define $ac_tr_hdr 1
16497 echo "$ac_t""no" 1>&6
16501 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16503 echo "configure: warning: Joystick not supported by this system" 1>&2
16509 if test "$wxUSE_JOYSTICK" = "yes"; then
16510 cat >> confdefs.h
<<\EOF
16511 #define wxUSE_JOYSTICK 1
16514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16520 if test "$TOOLKIT" != "MSW"; then
16524 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16525 if test "$USE_DARWIN" = 1; then
16528 for ac_func
in dlopen
16530 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16531 echo "configure:16532: checking for $ac_func" >&5
16532 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16533 echo $ac_n "(cached) $ac_c" 1>&6
16535 cat > conftest.
$ac_ext <<EOF
16536 #line 16537 "configure"
16537 #include "confdefs.h"
16538 /* System header to define __stub macros and hopefully few prototypes,
16539 which can conflict with char $ac_func(); below. */
16540 #include <assert.h>
16541 /* Override any gcc2 internal prototype to avoid an error. */
16542 /* We use char because int might match the return type of a gcc2
16543 builtin and then its argument prototype would still apply. */
16548 /* The GNU C library defines this for functions which it implements
16549 to always fail with ENOSYS. Some functions are actually named
16550 something starting with __ and the normal name is an alias. */
16551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16559 if { (eval echo configure
:16560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16561 eval "ac_cv_func_$ac_func=yes"
16563 echo "configure: failed program was:" >&5
16564 cat conftest.
$ac_ext >&5
16566 eval "ac_cv_func_$ac_func=no"
16571 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16572 echo "$ac_t""yes" 1>&6
16573 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16574 cat >> confdefs.h
<<EOF
16575 #define $ac_tr_func 1
16578 cat >> confdefs.h
<<\EOF
16579 #define HAVE_DLOPEN 1
16585 echo "$ac_t""no" 1>&6
16586 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16587 echo "configure:16588: checking for dlopen in -ldl" >&5
16588 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16590 echo $ac_n "(cached) $ac_c" 1>&6
16592 ac_save_LIBS
="$LIBS"
16594 cat > conftest.
$ac_ext <<EOF
16595 #line 16596 "configure"
16596 #include "confdefs.h"
16597 /* Override any gcc2 internal prototype to avoid an error. */
16598 /* We use char because int might match the return type of a gcc2
16599 builtin and then its argument prototype would still apply. */
16606 if { (eval echo configure
:16607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16608 eval "ac_cv_lib_$ac_lib_var=yes"
16610 echo "configure: failed program was:" >&5
16611 cat conftest.
$ac_ext >&5
16613 eval "ac_cv_lib_$ac_lib_var=no"
16616 LIBS
="$ac_save_LIBS"
16619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16620 echo "$ac_t""yes" 1>&6
16622 cat >> confdefs.h
<<\EOF
16623 #define HAVE_DLOPEN 1
16630 echo "$ac_t""no" 1>&6
16632 for ac_func
in shl_load
16634 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16635 echo "configure:16636: checking for $ac_func" >&5
16636 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16637 echo $ac_n "(cached) $ac_c" 1>&6
16639 cat > conftest.
$ac_ext <<EOF
16640 #line 16641 "configure"
16641 #include "confdefs.h"
16642 /* System header to define __stub macros and hopefully few prototypes,
16643 which can conflict with char $ac_func(); below. */
16644 #include <assert.h>
16645 /* Override any gcc2 internal prototype to avoid an error. */
16646 /* We use char because int might match the return type of a gcc2
16647 builtin and then its argument prototype would still apply. */
16652 /* The GNU C library defines this for functions which it implements
16653 to always fail with ENOSYS. Some functions are actually named
16654 something starting with __ and the normal name is an alias. */
16655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16663 if { (eval echo configure
:16664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16665 eval "ac_cv_func_$ac_func=yes"
16667 echo "configure: failed program was:" >&5
16668 cat conftest.
$ac_ext >&5
16670 eval "ac_cv_func_$ac_func=no"
16675 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16676 echo "$ac_t""yes" 1>&6
16677 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16678 cat >> confdefs.h
<<EOF
16679 #define $ac_tr_func 1
16682 cat >> confdefs.h
<<\EOF
16683 #define HAVE_SHL_LOAD 1
16689 echo "$ac_t""no" 1>&6
16690 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16691 echo "configure:16692: checking for dld in -lshl_load" >&5
16692 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16694 echo $ac_n "(cached) $ac_c" 1>&6
16696 ac_save_LIBS
="$LIBS"
16697 LIBS
="-lshl_load $LIBS"
16698 cat > conftest.
$ac_ext <<EOF
16699 #line 16700 "configure"
16700 #include "confdefs.h"
16701 /* Override any gcc2 internal prototype to avoid an error. */
16702 /* We use char because int might match the return type of a gcc2
16703 builtin and then its argument prototype would still apply. */
16710 if { (eval echo configure
:16711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16712 eval "ac_cv_lib_$ac_lib_var=yes"
16714 echo "configure: failed program was:" >&5
16715 cat conftest.
$ac_ext >&5
16717 eval "ac_cv_lib_$ac_lib_var=no"
16720 LIBS
="$ac_save_LIBS"
16723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16724 echo "$ac_t""yes" 1>&6
16730 echo "$ac_t""no" 1>&6
16745 if test "$HAVE_DL_FUNCS" = 1; then
16746 for ac_func
in dlerror
16748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16749 echo "configure:16750: checking for $ac_func" >&5
16750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16751 echo $ac_n "(cached) $ac_c" 1>&6
16753 cat > conftest.
$ac_ext <<EOF
16754 #line 16755 "configure"
16755 #include "confdefs.h"
16756 /* System header to define __stub macros and hopefully few prototypes,
16757 which can conflict with char $ac_func(); below. */
16758 #include <assert.h>
16759 /* Override any gcc2 internal prototype to avoid an error. */
16760 /* We use char because int might match the return type of a gcc2
16761 builtin and then its argument prototype would still apply. */
16766 /* The GNU C library defines this for functions which it implements
16767 to always fail with ENOSYS. Some functions are actually named
16768 something starting with __ and the normal name is an alias. */
16769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16777 if { (eval echo configure
:16778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16779 eval "ac_cv_func_$ac_func=yes"
16781 echo "configure: failed program was:" >&5
16782 cat conftest.
$ac_ext >&5
16784 eval "ac_cv_func_$ac_func=no"
16789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16790 echo "$ac_t""yes" 1>&6
16791 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16792 cat >> confdefs.h
<<EOF
16793 #define $ac_tr_func 1
16795 cat >> confdefs.h
<<\EOF
16796 #define HAVE_DLERROR 1
16800 echo "$ac_t""no" 1>&6
16801 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16802 echo "configure:16803: checking for dlerror in -ldl" >&5
16803 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16804 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16805 echo $ac_n "(cached) $ac_c" 1>&6
16807 ac_save_LIBS
="$LIBS"
16809 cat > conftest.
$ac_ext <<EOF
16810 #line 16811 "configure"
16811 #include "confdefs.h"
16812 /* Override any gcc2 internal prototype to avoid an error. */
16813 /* We use char because int might match the return type of a gcc2
16814 builtin and then its argument prototype would still apply. */
16821 if { (eval echo configure
:16822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16823 eval "ac_cv_lib_$ac_lib_var=yes"
16825 echo "configure: failed program was:" >&5
16826 cat conftest.
$ac_ext >&5
16828 eval "ac_cv_lib_$ac_lib_var=no"
16831 LIBS
="$ac_save_LIBS"
16834 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16835 echo "$ac_t""yes" 1>&6
16836 cat >> confdefs.h
<<\EOF
16837 #define HAVE_DLERROR 1
16841 echo "$ac_t""no" 1>&6
16850 if test "$HAVE_DL_FUNCS" = 0; then
16851 if test "$HAVE_SHL_FUNCS" = 0; then
16852 if test "$USE_UNIX" = 1; then
16853 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16854 wxUSE_DYNLIB_CLASS
=no
16856 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16864 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16865 cat >> confdefs.h
<<\EOF
16866 #define wxUSE_DYNLIB_CLASS 1
16875 if test "$wxUSE_FONTMAP" = "yes" ; then
16876 cat >> confdefs.h
<<\EOF
16877 #define wxUSE_FONTMAP 1
16882 if test "$wxUSE_UNICODE" = "yes" ; then
16883 cat >> confdefs.h
<<\EOF
16884 #define wxUSE_UNICODE 1
16889 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16890 cat >> confdefs.h
<<\EOF
16891 #define wxUSE_WCSRTOMBS 1
16896 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16897 cat >> confdefs.h
<<\EOF
16898 #define wxUSE_EXPERIMENTAL_PRINTF 1
16904 if test "$wxUSE_SERIAL" = "yes" ; then
16905 cat >> confdefs.h
<<\EOF
16906 #define wxUSE_SERIAL 1
16913 if test "$wxUSE_ODBC" = "yes" ; then
16914 cat >> confdefs.h
<<\EOF
16915 #define wxUSE_ODBC 1
16918 WXODBCFLAG
="-D_IODBC_"
16919 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16923 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16924 cat >> confdefs.h
<<\EOF
16925 #define wxUSE_POSTSCRIPT 1
16930 cat >> confdefs.h
<<\EOF
16931 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16935 cat >> confdefs.h
<<\EOF
16936 #define wxUSE_NORMALIZED_PS_FONTS 1
16941 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16942 cat >> confdefs.h
<<\EOF
16943 #define wxUSE_CONSTRAINTS 1
16946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16949 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16950 cat >> confdefs.h
<<\EOF
16951 #define wxUSE_MDI_ARCHITECTURE 1
16954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16957 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16958 cat >> confdefs.h
<<\EOF
16959 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16963 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16964 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16968 if test "$wxUSE_HELP" = "yes"; then
16969 cat >> confdefs.h
<<\EOF
16970 #define wxUSE_HELP 1
16973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16975 if test "$USE_WIN32" = 1; then
16976 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
16977 cat >> confdefs.h
<<\EOF
16978 #define wxUSE_MS_HTML_HELP 1
16981 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
16982 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
16983 echo "configure:16984: checking for htmlhelp.h" >&5
16984 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16985 echo $ac_n "(cached) $ac_c" 1>&6
16987 cat > conftest.
$ac_ext <<EOF
16988 #line 16989 "configure"
16989 #include "confdefs.h"
16990 #include <htmlhelp.h>
16992 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16993 { (eval echo configure
:16994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16994 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16995 if test -z "$ac_err"; then
16997 eval "ac_cv_header_$ac_safe=yes"
17000 echo "configure: failed program was:" >&5
17001 cat conftest.
$ac_ext >&5
17003 eval "ac_cv_header_$ac_safe=no"
17007 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17008 echo "$ac_t""yes" 1>&6
17010 cat >> confdefs.h
<<\EOF
17011 #define wxUSE_MS_HTML_HELP 1
17016 echo "$ac_t""no" 1>&6
17018 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
17019 wxUSE_MS_HTML_HELP
=no
17026 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17027 if test "$wxUSE_HTML" = "yes"; then
17028 cat >> confdefs.h
<<\EOF
17029 #define wxUSE_WXHTML_HELP 1
17033 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17034 wxUSE_WXHTML_HELP
=no
17039 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17040 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17041 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17043 cat >> confdefs.h
<<\EOF
17044 #define wxUSE_PRINTING_ARCHITECTURE 1
17048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17051 if test "$wxUSE_PROLOGIO" = "yes" ; then
17052 cat >> confdefs.h
<<\EOF
17053 #define wxUSE_PROLOGIO 1
17058 if test "$wxUSE_RESOURCES" = "yes" ; then
17059 cat >> confdefs.h
<<\EOF
17060 #define wxUSE_RESOURCES 1
17063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17066 if test "$wxUSE_X_RESOURCES" = "yes"; then
17067 cat >> confdefs.h
<<\EOF
17068 #define wxUSE_X_RESOURCES 1
17074 if test "$wxUSE_IPC" = "yes"; then
17075 if test "$wxUSE_SOCKETS" != "yes"; then
17076 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17079 cat >> confdefs.h
<<\EOF
17080 #define wxUSE_IPC 1
17085 if test "$wxUSE_CLIPBOARD" = "yes"; then
17086 cat >> confdefs.h
<<\EOF
17087 #define wxUSE_CLIPBOARD 1
17090 cat >> confdefs.h
<<\EOF
17091 #define wxUSE_DATAOBJ 1
17096 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17097 if test "$wxUSE_GTK" = 1; then
17098 if test "$WXGTK12" != 1; then
17099 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17100 wxUSE_DRAG_AND_DROP
=no
17104 if test "$wxUSE_MOTIF" = 1; then
17105 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17106 wxUSE_DRAG_AND_DROP
=no
17109 if test "$wxUSE_MAC" = 1; then
17110 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17111 wxUSE_DRAG_AND_DROP
=no
17114 if test "$USE_WIN32" = 1; then
17116 for ac_hdr
in ole2.h
17118 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17119 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17120 echo "configure:17121: checking for $ac_hdr" >&5
17121 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17122 echo $ac_n "(cached) $ac_c" 1>&6
17124 cat > conftest.
$ac_ext <<EOF
17125 #line 17126 "configure"
17126 #include "confdefs.h"
17129 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17130 { (eval echo configure
:17131: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17131 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17132 if test -z "$ac_err"; then
17134 eval "ac_cv_header_$ac_safe=yes"
17137 echo "configure: failed program was:" >&5
17138 cat conftest.
$ac_ext >&5
17140 eval "ac_cv_header_$ac_safe=no"
17144 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17145 echo "$ac_t""yes" 1>&6
17146 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17147 cat >> confdefs.h
<<EOF
17148 #define $ac_tr_hdr 1
17152 echo "$ac_t""no" 1>&6
17157 if test "$ac_cv_header_ole2_h" = "yes" ; then
17158 if test "$GCC" = yes ; then
17159 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17160 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17161 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17162 LIBS
="$LIBS -lole32 -luuid"
17163 cat >> confdefs.h
<<\EOF
17164 #define wxUSE_OLE 1
17168 if test "$wxUSE_METAFILE" = "yes"; then
17169 cat >> confdefs.h
<<\EOF
17170 #define wxUSE_METAFILE 1
17173 cat >> confdefs.h
<<\EOF
17174 #define wxUSE_ENH_METAFILE 1
17180 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17181 wxUSE_DRAG_AND_DROP
=no
17185 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17186 cat >> confdefs.h
<<\EOF
17187 #define wxUSE_DRAG_AND_DROP 1
17190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17195 if test "$wxUSE_SPLINES" = "yes" ; then
17196 cat >> confdefs.h
<<\EOF
17197 #define wxUSE_SPLINES 1
17204 if test "$wxUSE_CONTROLS" = "yes"; then
17208 if test "$wxUSE_ACCEL" = "yes"; then
17209 cat >> confdefs.h
<<\EOF
17210 #define wxUSE_ACCEL 1
17216 if test "$wxUSE_BUTTON" = "yes"; then
17217 cat >> confdefs.h
<<\EOF
17218 #define wxUSE_BUTTON 1
17224 if test "$wxUSE_BMPBUTTON" = "yes"; then
17225 cat >> confdefs.h
<<\EOF
17226 #define wxUSE_BMPBUTTON 1
17232 if test "$wxUSE_CALCTRL" = "yes"; then
17233 cat >> confdefs.h
<<\EOF
17234 #define wxUSE_CALENDARCTRL 1
17238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17241 if test "$wxUSE_CARET" = "yes"; then
17242 cat >> confdefs.h
<<\EOF
17243 #define wxUSE_CARET 1
17247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17250 if test "$wxUSE_COMBOBOX" = "yes"; then
17251 cat >> confdefs.h
<<\EOF
17252 #define wxUSE_COMBOBOX 1
17258 if test "$wxUSE_CHOICE" = "yes"; then
17259 cat >> confdefs.h
<<\EOF
17260 #define wxUSE_CHOICE 1
17266 if test "$wxUSE_CHECKBOX" = "yes"; then
17267 cat >> confdefs.h
<<\EOF
17268 #define wxUSE_CHECKBOX 1
17274 if test "$wxUSE_CHECKLST" = "yes"; then
17275 cat >> confdefs.h
<<\EOF
17276 #define wxUSE_CHECKLISTBOX 1
17280 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17283 if test "$wxUSE_GAUGE" = "yes"; then
17284 cat >> confdefs.h
<<\EOF
17285 #define wxUSE_GAUGE 1
17291 if test "$wxUSE_NEW_GRID" = "yes"; then
17293 cat >> confdefs.h
<<\EOF
17294 #define wxUSE_NEW_GRID 1
17298 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17301 if test "$wxUSE_GRID" = "yes"; then
17302 cat >> confdefs.h
<<\EOF
17303 #define wxUSE_GRID 1
17307 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17310 if test "$wxUSE_IMAGLIST" = "yes"; then
17311 cat >> confdefs.h
<<\EOF
17312 #define wxUSE_IMAGLIST 1
17317 if test "$wxUSE_LISTBOX" = "yes"; then
17318 cat >> confdefs.h
<<\EOF
17319 #define wxUSE_LISTBOX 1
17325 if test "$wxUSE_LISTCTRL" = "yes"; then
17326 if test "$wxUSE_IMAGLIST" = "yes"; then
17327 cat >> confdefs.h
<<\EOF
17328 #define wxUSE_LISTCTRL 1
17332 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17334 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17338 if test "$wxUSE_NOTEBOOK" = "yes"; then
17339 cat >> confdefs.h
<<\EOF
17340 #define wxUSE_NOTEBOOK 1
17344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17347 if test "$wxUSE_PROPSHEET" = "yes"; then
17348 cat >> confdefs.h
<<\EOF
17349 #define wxUSE_PROPSHEET 1
17353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17356 if test "$wxUSE_RADIOBOX" = "yes"; then
17357 cat >> confdefs.h
<<\EOF
17358 #define wxUSE_RADIOBOX 1
17364 if test "$wxUSE_RADIOBTN" = "yes"; then
17365 cat >> confdefs.h
<<\EOF
17366 #define wxUSE_RADIOBTN 1
17372 if test "$wxUSE_SASH" = "yes"; then
17373 cat >> confdefs.h
<<\EOF
17374 #define wxUSE_SASH 1
17377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17380 if test "$wxUSE_SCROLLBAR" = "yes"; then
17381 cat >> confdefs.h
<<\EOF
17382 #define wxUSE_SCROLLBAR 1
17386 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17389 if test "$wxUSE_SLIDER" = "yes"; then
17390 cat >> confdefs.h
<<\EOF
17391 #define wxUSE_SLIDER 1
17397 if test "$wxUSE_SPINBTN" = "yes"; then
17398 cat >> confdefs.h
<<\EOF
17399 #define wxUSE_SPINBTN 1
17405 if test "$wxUSE_SPINCTRL" = "yes"; then
17406 cat >> confdefs.h
<<\EOF
17407 #define wxUSE_SPINCTRL 1
17413 if test "$wxUSE_SPLITTER" = "yes"; then
17414 cat >> confdefs.h
<<\EOF
17415 #define wxUSE_SPLITTER 1
17418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17421 if test "$wxUSE_STATBMP" = "yes"; then
17422 cat >> confdefs.h
<<\EOF
17423 #define wxUSE_STATBMP 1
17429 if test "$wxUSE_STATBOX" = "yes"; then
17430 cat >> confdefs.h
<<\EOF
17431 #define wxUSE_STATBOX 1
17437 if test "$wxUSE_STATTEXT" = "yes"; then
17438 cat >> confdefs.h
<<\EOF
17439 #define wxUSE_STATTEXT 1
17445 if test "$wxUSE_STATLINE" = "yes"; then
17446 if test "$wxUSE_WINE" = 1 ; then
17447 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17449 cat >> confdefs.h
<<\EOF
17450 #define wxUSE_STATLINE 1
17457 if test "$wxUSE_STATUSBAR" = "yes"; then
17458 cat >> confdefs.h
<<\EOF
17459 #define wxUSE_STATUSBAR 1
17464 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17467 if test "$wxUSE_TABDIALOG" = "yes"; then
17468 cat >> confdefs.h
<<\EOF
17469 #define wxUSE_TAB_DIALOG 1
17472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17475 if test "$wxUSE_TEXTCTRL" = "yes"; then
17476 cat >> confdefs.h
<<\EOF
17477 #define wxUSE_TEXTCTRL 1
17481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17484 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17485 if test "$wxUSE_MAC" = 1; then
17486 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17490 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_TOGGLEBTN 1
17499 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17500 cat >> confdefs.h
<<\EOF
17501 #define wxUSE_TOOLBAR_SIMPLE 1
17504 wxUSE_TOOLBAR
="yes"
17508 if test "$wxUSE_TOOLBAR" = "yes"; then
17509 cat >> confdefs.h
<<\EOF
17510 #define wxUSE_TOOLBAR 1
17515 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17516 wxUSE_TOOLBAR_NATIVE
="yes"
17519 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17520 cat >> confdefs.h
<<\EOF
17521 #define wxUSE_TOOLBAR_NATIVE 1
17527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17530 if test "$wxUSE_TOOLTIPS" = "yes"; then
17531 if test "$wxUSE_MOTIF" = 1; then
17532 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17534 if test "$wxUSE_WINE" = 1; then
17535 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17537 cat >> confdefs.h
<<\EOF
17538 #define wxUSE_TOOLTIPS 1
17545 if test "$wxUSE_TREECTRL" = "yes"; then
17546 if test "$wxUSE_IMAGLIST" = "yes"; then
17547 cat >> confdefs.h
<<\EOF
17548 #define wxUSE_TREECTRL 1
17552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17554 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17558 if test "$wxUSE_POPUPWIN" = "yes"; then
17559 if test "$wxUSE_MAC" = 1; then
17560 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17562 cat >> confdefs.h
<<\EOF
17563 #define wxUSE_POPUPWIN 1
17570 if test "$USES_CONTROLS" = 1; then
17571 cat >> confdefs.h
<<\EOF
17572 #define wxUSE_CONTROLS 1
17578 if test "$wxUSE_TREELAYOUT" = "yes"; then
17579 cat >> confdefs.h
<<\EOF
17580 #define wxUSE_TREELAYOUT 1
17583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17586 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17587 cat >> confdefs.h
<<\EOF
17588 #define wxUSE_DRAGIMAGE 1
17591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17594 if test "$wxUSE_MENUS" = "yes"; then
17595 cat >> confdefs.h
<<\EOF
17596 #define wxUSE_MENUS 1
17599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17602 if test "$wxUSE_METAFILE" = "yes"; then
17603 cat >> confdefs.h
<<\EOF
17604 #define wxUSE_METAFILE 1
17609 if test "$wxUSE_MIMETYPE" = "yes"; then
17610 cat >> confdefs.h
<<\EOF
17611 #define wxUSE_MIMETYPE 1
17616 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17617 cat >> confdefs.h
<<\EOF
17618 #define wxUSE_SYSTEM_OPTIONS 1
17623 if test "$wxUSE_MINIFRAME" = "yes"; then
17624 cat >> confdefs.h
<<\EOF
17625 #define wxUSE_MINIFRAME 1
17628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17631 if test "$wxUSE_HTML" = "yes"; then
17632 cat >> confdefs.h
<<\EOF
17633 #define wxUSE_HTML 1
17636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17637 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17640 if test "$wxUSE_VALIDATORS" = "yes"; then
17641 cat >> confdefs.h
<<\EOF
17642 #define wxUSE_VALIDATORS 1
17645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17648 if test "$wxUSE_IMAGE" = "yes" ; then
17649 cat >> confdefs.h
<<\EOF
17650 #define wxUSE_IMAGE 1
17655 if test "$wxUSE_GIF" = "yes" ; then
17656 cat >> confdefs.h
<<\EOF
17657 #define wxUSE_GIF 1
17662 if test "$wxUSE_PCX" = "yes" ; then
17663 cat >> confdefs.h
<<\EOF
17664 #define wxUSE_PCX 1
17669 if test "$wxUSE_PNM" = "yes" ; then
17670 cat >> confdefs.h
<<\EOF
17671 #define wxUSE_PNM 1
17676 if test "$wxUSE_XPM" = "yes" ; then
17677 cat >> confdefs.h
<<\EOF
17678 #define wxUSE_XPM 1
17684 if test "$wxUSE_CHOICEDLG" = "yes"; then
17685 cat >> confdefs.h
<<\EOF
17686 #define wxUSE_CHOICEDLG 1
17691 if test "$wxUSE_COLOURDLG" = "yes"; then
17692 cat >> confdefs.h
<<\EOF
17693 #define wxUSE_COLOURDLG 1
17698 if test "$wxUSE_FILEDLG" = "yes"; then
17699 cat >> confdefs.h
<<\EOF
17700 #define wxUSE_FILEDLG 1
17705 if test "$wxUSE_FONTDLG" = "yes"; then
17706 cat >> confdefs.h
<<\EOF
17707 #define wxUSE_FONTDLG 1
17712 if test "$wxUSE_DIRDLG" = "yes"; then
17713 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17714 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17716 if test "$wxUSE_TREECTRL" != "yes"; then
17717 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17719 cat >> confdefs.h
<<\EOF
17720 #define wxUSE_DIRDLG 1
17727 if test "$wxUSE_MSGDLG" = "yes"; then
17728 cat >> confdefs.h
<<\EOF
17729 #define wxUSE_MSGDLG 1
17734 if test "$wxUSE_NUMBERDLG" = "yes"; then
17735 cat >> confdefs.h
<<\EOF
17736 #define wxUSE_NUMBERDLG 1
17741 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17742 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17743 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17745 cat >> confdefs.h
<<\EOF
17746 #define wxUSE_PROGRESSDLG 1
17752 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17753 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17754 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17756 cat >> confdefs.h
<<\EOF
17757 #define wxUSE_STARTUP_TIPS 1
17763 if test "$wxUSE_TEXTDLG" = "yes"; then
17764 cat >> confdefs.h
<<\EOF
17765 #define wxUSE_TEXTDLG 1
17770 if test "$wxUSE_WIZARDDLG" = "yes"; then
17771 cat >> confdefs.h
<<\EOF
17772 #define wxUSE_WIZARDDLG 1
17775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17779 if test "$cross_compiling" = "yes"; then
17782 OSINFO
=`uname -s -r -m`
17783 OSINFO
="\"$OSINFO\""
17786 cat >> confdefs.h
<<EOF
17787 #define WXWIN_OS_DESCRIPTION $OSINFO
17792 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17793 OPENGL_LIBS
="$OPENGL_LINK"
17795 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17796 if test "$wxUSE_MAC" = 1 ; then
17797 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17799 if test "$wxUSE_GUI" = "yes"; then
17800 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17803 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17805 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17806 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17807 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17809 if test "$wxUSE_GTK" = 1; then
17810 WXCONFIG_INCLUDE
=""
17812 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17815 if test "$GXX" = yes ; then
17816 CXXWARNINGS
="-Wall"
17818 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17820 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17821 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17823 LDFLAGS
="$LDFLAGS $PROFILE"
17825 if test "$wxUSE_GUI" = "yes"; then
17827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17828 drawing dynamic erase event exec font image \
17829 minimal richedit rotate widgets"
17831 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17832 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17835 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17837 SAMPLES_SUBDIRS
="console"
17840 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17935 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17936 echo "configure:17937: checking whether ${MAKE-make} sets \${MAKE}" >&5
17937 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17938 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17939 echo $ac_n "(cached) $ac_c" 1>&6
17941 cat > conftestmake
<<\EOF
17943 @
echo 'ac_maketemp="${MAKE}"'
17945 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17946 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17947 if test -n "$ac_maketemp"; then
17948 eval ac_cv_prog_make_
${ac_make}_set
=yes
17950 eval ac_cv_prog_make_
${ac_make}_set
=no
17954 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17955 echo "$ac_t""yes" 1>&6
17958 echo "$ac_t""no" 1>&6
17959 SET_MAKE
="MAKE=${MAKE-make}"
17963 if test -d include
; then
17964 if test -d include
/wx
; then
17965 if test -d include
/wx
/${SETUPH_DIR}; then
17966 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17967 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17975 if test "$wxUSE_GUI" = "yes"; then
17976 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17977 wx_cv_path_ifs
=$PATH_IFS
17978 wx_cv_program_ext
=$PROGRAM_EXT
17979 wx_cv_target_library
=$WX_TARGET_LIBRARY
17980 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
17981 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17982 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17983 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
17984 subdirs
="demos samples utils contrib"
17989 cat > confcache
<<\EOF
17990 # This file is a shell script that caches the results of configure
17991 # tests run on this system so they can be shared between configure
17992 # scripts and configure runs. It is not useful on other systems.
17993 # If it contains results you don't want to keep, you may remove or edit it.
17995 # By default, configure uses ./config.cache as the cache file,
17996 # creating it if it does not exist already. You can give configure
17997 # the --cache-file=FILE option to use a different cache file; that is
17998 # what configure does when it calls configure scripts in
17999 # subdirectories, so they share the cache.
18000 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18001 # config.status only pays attention to the cache file if you give it the
18002 # --recheck option to rerun configure.
18005 # The following way of writing the cache mishandles newlines in values,
18006 # but we know of no workaround that is simple, portable, and efficient.
18007 # So, don't put newlines in cache variables' values.
18008 # Ultrix sh set writes to stderr and can't be redirected directly,
18009 # and sets the high bit in the cache file unless we assign to the vars.
18011 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18013 # `set' does not quote correctly, so add quotes (double-quote substitution
18014 # turns \\\\ into \\, and sed turns \\ into \).
18016 -e "s/'/'\\\\''/g" \
18017 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18020 # `set' quotes correctly as required by POSIX, so do not add quotes.
18021 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18024 if cmp -s $cache_file confcache
; then
18027 if test -w $cache_file; then
18028 echo "updating cache $cache_file"
18029 cat confcache
> $cache_file
18031 echo "not updating unwritable cache $cache_file"
18036 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18038 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18039 # Let make expand exec_prefix.
18040 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18042 # Any assignment to VPATH causes Sun make to only execute
18043 # the first set of double-colon rules, so remove it if not needed.
18044 # If there is a colon in the path, we need to keep it.
18045 if test "x$srcdir" = x.
; then
18046 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18049 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18051 DEFS
=-DHAVE_CONFIG_H
18053 # Without the "./", some shells look in PATH for config.status.
18054 : ${CONFIG_STATUS=./config.status}
18056 echo creating
$CONFIG_STATUS
18057 rm -f $CONFIG_STATUS
18058 cat > $CONFIG_STATUS <<EOF
18060 # Generated automatically by configure.
18061 # Run this file to recreate the current configuration.
18062 # This directory was configured as follows,
18063 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18065 # $0 $ac_configure_args
18067 # Compiler output produced by configure, useful for debugging
18068 # configure, is in ./config.log if it exists.
18070 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18073 case "\$ac_option" in
18074 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18075 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18076 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18077 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18078 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18080 -help | --help | --hel | --he | --h)
18081 echo "\$ac_cs_usage"; exit 0 ;;
18082 *) echo "\$ac_cs_usage"; exit 1 ;;
18086 ac_given_srcdir=$srcdir
18087 ac_given_INSTALL="$INSTALL"
18089 trap 'rm -fr `echo "
18095 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18097 cat >> $CONFIG_STATUS <<EOF
18099 # Protect against being on the right side of a sed subst in config.status.
18100 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18101 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18105 s%@CFLAGS@%$CFLAGS%g
18106 s%@CPPFLAGS@%$CPPFLAGS%g
18107 s%@CXXFLAGS@%$CXXFLAGS%g
18108 s%@FFLAGS@%$FFLAGS%g
18110 s%@LDFLAGS@%$LDFLAGS%g
18112 s%@exec_prefix@%$exec_prefix%g
18113 s%@prefix@%$prefix%g
18114 s%@program_transform_name@%$program_transform_name%g
18115 s%@bindir@%$bindir%g
18116 s%@sbindir@%$sbindir%g
18117 s%@libexecdir@%$libexecdir%g
18118 s%@datadir@%$datadir%g
18119 s%@sysconfdir@%$sysconfdir%g
18120 s%@sharedstatedir@%$sharedstatedir%g
18121 s%@localstatedir@%$localstatedir%g
18122 s%@libdir@%$libdir%g
18123 s%@includedir@%$includedir%g
18124 s%@oldincludedir@%$oldincludedir%g
18125 s%@infodir@%$infodir%g
18126 s%@mandir@%$mandir%g
18128 s%@host_alias@%$host_alias%g
18129 s%@host_cpu@%$host_cpu%g
18130 s%@host_vendor@%$host_vendor%g
18131 s%@host_os@%$host_os%g
18132 s%@target@%$target%g
18133 s%@target_alias@%$target_alias%g
18134 s%@target_cpu@%$target_cpu%g
18135 s%@target_vendor@%$target_vendor%g
18136 s%@target_os@%$target_os%g
18138 s%@build_alias@%$build_alias%g
18139 s%@build_cpu@%$build_cpu%g
18140 s%@build_vendor@%$build_vendor%g
18141 s%@build_os@%$build_os%g
18145 s%@CXXCPP@%$CXXCPP%g
18146 s%@RANLIB@%$RANLIB%g
18148 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18149 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18150 s%@INSTALL_DATA@%$INSTALL_DATA%g
18154 s%@LEXLIB@%$LEXLIB%g
18156 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18157 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18158 s%@GTK_LIBS@%$GTK_LIBS%g
18159 s%@GTK_CONFIG@%$GTK_CONFIG%g
18160 s%@X_CFLAGS@%$X_CFLAGS%g
18161 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18162 s%@X_LIBS@%$X_LIBS%g
18163 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18166 s%@LEX_STEM@%$LEX_STEM%g
18167 s%@PATH_IFS@%$PATH_IFS%g
18168 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18169 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18170 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18171 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18172 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18173 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18174 s%@WX_LIBRARY@%$WX_LIBRARY%g
18175 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18176 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18177 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18178 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18179 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18180 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18181 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18182 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18183 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18184 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18185 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18186 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18187 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18188 s%@WX_ALL@%$WX_ALL%g
18189 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18190 s%@SHARED_LD@%$SHARED_LD%g
18191 s%@PIC_FLAG@%$PIC_FLAG%g
18192 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18193 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18194 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18195 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18196 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18197 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18198 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18199 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18200 s%@USE_GUI@%$USE_GUI%g
18201 s%@AFMINSTALL@%$AFMINSTALL%g
18202 s%@SETUPH_DIR@%$SETUPH_DIR%g
18203 s%@TOOLKIT@%$TOOLKIT%g
18204 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18205 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18206 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18207 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18208 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18209 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18210 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18211 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18212 s%@GUIDIST@%$GUIDIST%g
18213 s%@PORT_FILES@%$PORT_FILES%g
18214 s%@DISTDIR@%$DISTDIR%g
18215 s%@RPM_SPEC@%$RPM_SPEC%g
18216 s%@RPM_FILES@%$RPM_FILES%g
18217 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18218 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18219 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18220 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18221 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18222 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18223 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18224 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18225 s%@EXTRADEFS@%$EXTRADEFS%g
18226 s%@LD_LIBS@%$LD_LIBS%g
18227 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18228 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18229 s%@RESPROGRAM@%$RESPROGRAM%g
18230 s%@RESCOMP@%$RESCOMP%g
18231 s%@RESFLAGS@%$RESFLAGS%g
18232 s%@REZFLAGS@%$REZFLAGS%g
18233 s%@DEREZFLAGS@%$DEREZFLAGS%g
18234 s%@LIBWXMACRES@%$LIBWXMACRES%g
18235 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18236 s%@DLLTOOL@%$DLLTOOL%g
18240 s%@MAKEINFO@%$MAKEINFO%g
18241 s%@SET_MAKE@%$SET_MAKE%g
18242 s%@subdirs@%$subdirs%g
18247 cat >> $CONFIG_STATUS <<\EOF
18249 # Split the substitutions into bite-sized pieces for seds with
18250 # small command number limits, like on Digital OSF/1 and HP-UX.
18251 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18252 ac_file
=1 # Number of current file.
18253 ac_beg
=1 # First line for current file.
18254 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18257 while $ac_more_lines; do
18258 if test $ac_beg -gt 1; then
18259 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18261 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18263 if test ! -s conftest.s
$ac_file; then
18264 ac_more_lines
=false
18265 rm -f conftest.s
$ac_file
18267 if test -z "$ac_sed_cmds"; then
18268 ac_sed_cmds
="sed -f conftest.s$ac_file"
18270 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18272 ac_file
=`expr $ac_file + 1`
18274 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18277 if test -z "$ac_sed_cmds"; then
18282 cat >> $CONFIG_STATUS <<EOF
18284 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18291 cat >> $CONFIG_STATUS <<\EOF
18292 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18293 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18295 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18296 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18297 *) ac_file_in
="${ac_file}.in" ;;
18300 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18302 # Remove last slash and all that follows it. Not all systems have dirname.
18303 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18304 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18305 # The file is in a subdirectory.
18306 test ! -d "$ac_dir" && mkdir "$ac_dir"
18307 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18308 # A "../" for each directory in $ac_dir_suffix.
18309 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18311 ac_dir_suffix
= ac_dots
=
18314 case "$ac_given_srcdir" in
18316 if test -z "$ac_dots"; then top_srcdir
=.
18317 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18318 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18319 *) # Relative path.
18320 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18321 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18324 case "$ac_given_INSTALL" in
18325 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18326 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18329 echo creating
"$ac_file"
18331 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18333 *Makefile
*) ac_comsub
="1i\\
18334 # $configure_input" ;;
18338 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18340 s%@configure_input@%$configure_input%g
18341 s%@srcdir@%$srcdir%g
18342 s%@top_srcdir@%$top_srcdir%g
18343 s%@INSTALL@%$INSTALL%g
18344 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18348 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18349 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18351 # ac_d sets the value in "#define NAME VALUE" lines.
18352 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18353 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18356 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18357 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18358 ac_uB
='\([ ]\)%\1#\2define\3'
18361 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18362 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18363 ac_eB
='$%\1#\2define\3'
18367 if test "${CONFIG_HEADERS+set}" != set; then
18369 cat >> $CONFIG_STATUS <<EOF
18370 CONFIG_HEADERS="setup.h:setup.h.in"
18372 cat >> $CONFIG_STATUS <<\EOF
18374 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18375 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18377 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18378 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18379 *) ac_file_in
="${ac_file}.in" ;;
18382 echo creating
$ac_file
18384 rm -f conftest.frag conftest.
in conftest.out
18385 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18386 cat $ac_file_inputs > conftest.
in
18390 # Transform confdefs.h into a sed script conftest.vals that substitutes
18391 # the proper values into config.h.in to produce config.h. And first:
18392 # Protect against being on the right side of a sed subst in config.status.
18393 # Protect against being in an unquoted here document in config.status.
18394 rm -f conftest.vals
18395 cat > conftest.hdr
<<\EOF
18398 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18402 sed -n -f conftest.hdr confdefs.h > conftest.vals
18405 # This sed command replaces #undef with comments. This is necessary, for
18406 # example, in the case of _POSIX_SOURCE, which is predefined and required
18407 # on some systems where configure will not decide to define it.
18408 cat >> conftest.vals <<\EOF
18409 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18412 # Break up conftest.vals because some shells have a limit on
18413 # the size of here documents, and old seds have small limits too.
18415 rm -f conftest.tail
18418 ac_lines=`grep -c . conftest.vals
`
18419 # grep -c gives empty output for an empty file on some AIX systems.
18420 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18421 # Write a limited-size here document to conftest.frag.
18422 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18423 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18425 sed -f conftest.frag conftest.in > conftest.out
18427 mv conftest.out conftest.in
18428 ' >> $CONFIG_STATUS
18429 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18430 rm -f conftest.vals
18431 mv conftest.tail conftest.vals
18433 rm -f conftest.vals
18435 cat >> $CONFIG_STATUS <<\EOF
18436 rm -f conftest.frag conftest.h
18437 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18438 cat conftest.in >> conftest.h
18440 if cmp -s $ac_file conftest.h 2>/dev/null; then
18441 echo "$ac_file is unchanged"
18444 # Remove last slash and all that follows it. Not all systems have dirname.
18445 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18446 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18447 # The file is in a subdirectory.
18448 test ! -d "$ac_dir" && mkdir "$ac_dir"
18451 mv conftest.h $ac_file
18456 cat >> $CONFIG_STATUS <<EOF
18458 SETUPH_DIR="${SETUPH_DIR}"
18459 TOOLKIT_NAME="${TOOLKIT_NAME}"
18464 cat >> $CONFIG_STATUS <<\EOF
18466 if test ! -f wx${TOOLKIT_NAME}-config; then
18468 mv wx-config wx${TOOLKIT_NAME}-config
18469 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18473 if test ! -d lib; then
18476 if test ! -d lib/wx; then
18479 if test ! -d lib/wx/include; then
18480 mkdir lib/wx/include
18482 if test ! -d lib/wx/include/wx; then
18483 mkdir lib/wx/include/wx
18485 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18486 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18488 if test -f setup.h; then
18489 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18493 if test ! -d include; then
18496 if test ! -d include/wx; then
18499 if test ! -d include/wx/${SETUPH_DIR}; then
18500 mkdir include/wx/${SETUPH_DIR}
18502 if test -f setup.h; then
18503 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18509 chmod +x $CONFIG_STATUS
18510 rm -fr confdefs* $ac_clean_files
18511 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18513 if test "$no_recursion" != yes; then
18515 # Remove --cache-file and --srcdir arguments so they do not pile up.
18516 ac_sub_configure_args=
18518 for ac_arg in $ac_configure_args; do
18519 if test -n "$ac_prev"; then
18524 -cache-file | --cache-file | --cache-fil | --cache-fi \
18525 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18526 ac_prev=cache_file ;;
18527 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18528 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18530 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18532 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18534 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18538 for ac_config_dir in demos samples utils contrib; do
18540 # Do not complain, so a configure script can configure whichever
18541 # parts of a large source tree are present.
18542 if test ! -d $srcdir/$ac_config_dir; then
18546 echo configuring in $ac_config_dir
18551 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18553 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18561 # A "../" for each directory in /$ac_config_dir.
18562 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18565 .) # No --srcdir option. We are building in place.
18566 ac_sub_srcdir=$srcdir ;;
18567 /*) # Absolute path.
18568 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18569 *) # Relative path.
18570 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18573 # Check for guested configure; otherwise get Cygnus style configure.
18574 if test -f $ac_sub_srcdir/configure; then
18575 ac_sub_configure=$ac_sub_srcdir/configure
18576 elif test -f $ac_sub_srcdir/configure.in; then
18577 ac_sub_configure=$ac_configure
18579 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18583 # The recursion is here.
18584 if test -n "$ac_sub_configure"; then
18586 # Make the cache file name correct relative to the subdirectory.
18587 case "$cache_file" in
18588 /*) ac_sub_cache_file=$cache_file ;;
18589 *) # Relative path.
18590 ac_sub_cache_file="$ac_dots$cache_file" ;;
18592 case "$ac_given_INSTALL" in
18593 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18594 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18597 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18598 # The eval makes quoting arguments work.
18599 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18602 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }