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-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-burnt_name create set name in shared library "
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
107 --enable-debug_info create code with debugging information"
109 --enable-debug_gdb create code with extra GDB debugging information"
111 --enable-debug_cntxt use wxDebugContext"
113 --enable-mem_tracing create code with memory tracing"
115 --enable-profile create code with profiling information"
117 --enable-no_rtti create code without RTTI information"
119 --enable-no_exceptions create code without exceptions information"
121 --enable-permissive compile code disregarding strict ANSI"
123 --enable-no_deps create code without dependency information"
125 --enable-compat20 enable wxWin 2.0 compatibility"
127 --enable-compat22 enable wxWin 2.2 compatibility"
129 --enable-intl use internationalization system"
131 --enable-config use wxConfig (and derived) classes"
133 --enable-sockets use socket/network classes"
135 --enable-ipc use interprocess communication (wxSocket etc.)"
137 --enable-cmdline use wxCmdLineParser class"
139 --enable-datetime use wxDateTime class"
141 --enable-timedate use obsolete wxDate/wxTime classes"
143 --enable-stopwatch use wxStopWatch class"
145 --enable-dialupman use dialup network classes"
147 --enable-apple_ieee use the Apple IEEE codec"
149 --enable-timer use wxTimer class"
151 --enable-wave use wxWave class"
153 --enable-fraction use wxFraction class"
155 --enable-dynlib use wxLibrary class for DLL loading"
157 --enable-longlong use wxLongLong class"
159 --enable-geometry use geometry class"
161 --enable-log use logging system"
163 --enable-streams use wxStream etc classes"
165 --enable-file use wxFile classes"
167 --enable-ffile use wxFFile classes"
169 --enable-textfile use wxTextFile classes"
171 --enable-fontmap use font encodings conversion classes"
173 --enable-unicode compile wxString with Unicode support"
175 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-threads use threads"
197 --enable-serial use class serialization"
199 --enable-docview use document view architecture"
201 --enable-help use help subsystem"
203 --enable-mshtmlhelp use MS HTML Help (win32)"
205 --enable-html use wxHTML sub-library"
207 --enable-htmlhelp use wxHTML-based help"
209 --enable-constraints use layout-constraints system"
211 --enable-printarch use printing architecture"
213 --enable-mdi use multiple document interface architecture"
215 --enable-loggui use standard GUI logger"
217 --enable-logwin use wxLogWindow"
219 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
221 --enable-prologio use Prolog IO library"
223 --enable-resources use wxWindows resources"
225 --enable-xresources use X resources for save (default for gtk+)"
227 --enable-clipboard use wxClipboard classes"
229 --enable-dnd use Drag'n'Drop classes"
231 --enable-metafile use win32 metafiles"
233 --enable-wxtree make wxTree library"
235 --enable-controls use all usual controls"
237 --enable-accel use accelerators"
239 --enable-button use wxButton class"
241 --enable-bmpbutton use wxBitmapButton class"
243 --enable-calendar use wxCalendarCtrl class"
245 --enable-caret use wxCaret class"
247 --enable-checkbox use wxCheckBox class"
249 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
251 --enable-choice use wxChoice class"
253 --enable-combobox use wxComboBox classes"
255 --enable-gauge use wxGauge class"
257 --enable-grid use wxGrid class"
259 --enable-newgrid use new wxGrid class"
261 --enable-imaglist use wxImageList class"
263 --enable-listbox use wxListBox class"
265 --enable-listctrl use wxListCtrl class"
267 --enable-notebook use wxNotebook class"
269 --enable-radiobox use wxRadioBox class"
271 --enable-radiobtn use wxRadioButton class"
273 --enable-sash use wxSashWindow class"
275 --enable-scrollbar use wxScrollBar class and scrollable windows"
277 --enable-slider use wxSlider class"
279 --enable-spinbtn use wxSpinButton class"
281 --enable-spinctrl use wxSpinCtrl class"
283 --enable-splitter use wxSplitterWindow class"
285 --enable-statbmp use wxStaticBitmap class"
287 --enable-statbox use wxStaticBox class"
289 --enable-statline use wxStaticLine class"
291 --enable-stattext use wxStaticText class"
293 --enable-statusbar use wxStatusBar class"
295 --enable-tabdialog use wxTabControl class"
297 --enable-textctrl use wxTextCtrl class"
299 --enable-togglebtn use wxToggleButton class"
301 --enable-toolbar use wxToolBar class"
303 --enable-tbarnative use native wxToolBar class"
305 --enable-tbarsmpl use wxToolBarSimple class"
307 --enable-treectrl use wxTreeCtrl class"
309 --enable-popupwin use wxPopUpWindow class"
311 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
313 --enable-choicedlg use wxChoiceDialog"
315 --enable-coldlg use wxColourDialog"
317 --enable-filedlg use wxFileDialog"
319 --enable-fontdlg use wxFontDialog"
321 --enable-dirdlg use wxDirDialog"
323 --enable-msgdlg use wxMessageDialog"
325 --enable-numberdlg use wxNumberEntryDialog"
327 --enable-textdlg use wxTextDialog"
329 --enable-tipdlg use startup tips"
331 --enable-progressdlg use wxProgressDialog"
333 --enable-wizarddlg use wxWizard"
335 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
337 --enable-miniframe use wxMiniFrame class"
339 --enable-tooltips use wxToolTip class"
341 --enable-splines use spline drawing code"
343 --enable-validators use wxValidator and derived classes"
345 --enable-busyinfo use wxBusyInfo"
347 --enable-joystick compile in joystick support (Linux only)"
349 --enable-metafiles use wxMetaFile (Windows only)"
351 --enable-dragimage use wxDragImage"
353 --enable-image use wxImage class"
355 --enable-gif use gif images (GIF file format)"
357 --enable-pcx use pcx images (PCX file format)"
359 --enable-pnm use pnm images (PNM file format)"
361 --enable-xpm use xpm images (XPM file format)"
363 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
365 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
367 --disable-gtktest Do not try to compile and run a test GTK program"
369 --with-x use the X Window System"
371 # Initialize some variables set by options.
372 # The variables have the same names as the options, with
373 # dashes changed to underlines.
375 cache_file
=.
/config.cache
384 program_transform_name
=s
,x
,x
,
392 bindir
='${exec_prefix}/bin'
393 sbindir
='${exec_prefix}/sbin'
394 libexecdir
='${exec_prefix}/libexec'
395 datadir
='${prefix}/share'
396 sysconfdir
='${prefix}/etc'
397 sharedstatedir
='${prefix}/com'
398 localstatedir
='${prefix}/var'
399 libdir
='${exec_prefix}/lib'
400 includedir
='${prefix}/include'
401 oldincludedir
='/usr/include'
402 infodir
='${prefix}/info'
403 mandir
='${prefix}/man'
405 # Initialize some other variables.
408 SHELL
=${CONFIG_SHELL-/bin/sh}
409 # Maximum number of lines to put in a shell here document.
416 # If the previous option needs an argument, assign it.
417 if test -n "$ac_prev"; then
418 eval "$ac_prev=\$ac_option"
424 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
428 # Accept the important Cygnus configure options, so we can diagnose typos.
432 -bindir | --bindir | --bindi | --bind | --bin | --bi)
434 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
435 bindir
="$ac_optarg" ;;
437 -build | --build | --buil | --bui | --bu)
439 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
440 build
="$ac_optarg" ;;
442 -cache-file | --cache-file | --cache-fil | --cache-fi \
443 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
444 ac_prev
=cache_file
;;
445 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
446 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
447 cache_file
="$ac_optarg" ;;
449 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
451 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
453 datadir
="$ac_optarg" ;;
455 -disable-* | --disable-*)
456 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
457 # Reject names that are not valid shell variable names.
458 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
459 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
461 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
462 eval "enable_${ac_feature}=no" ;;
464 -enable-* | --enable-*)
465 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
466 # Reject names that are not valid shell variable names.
467 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
468 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
470 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
475 eval "enable_${ac_feature}='$ac_optarg'" ;;
477 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
478 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
479 | --exec | --exe | --ex)
480 ac_prev
=exec_prefix
;;
481 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
482 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
483 | --exec=* | --exe=* | --ex=*)
484 exec_prefix
="$ac_optarg" ;;
486 -gas | --gas | --ga | --g)
487 # Obsolete; use --with-gas.
490 -help | --help | --hel | --he)
491 # Omit some internal or obsolete options to make the list less imposing.
492 # This message is too long to be a string in the A/UX 3.1 sh.
494 Usage: configure [options] [host]
495 Options: [defaults in brackets after descriptions]
497 --cache-file=FILE cache test results in FILE
498 --help print this message
499 --no-create do not create output files
500 --quiet, --silent do not print \`checking...' messages
501 --version print the version of autoconf that created configure
502 Directory and file names:
503 --prefix=PREFIX install architecture-independent files in PREFIX
505 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
507 --bindir=DIR user executables in DIR [EPREFIX/bin]
508 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
509 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
510 --datadir=DIR read-only architecture-independent data in DIR
512 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
513 --sharedstatedir=DIR modifiable architecture-independent data in DIR
515 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
516 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
517 --includedir=DIR C header files in DIR [PREFIX/include]
518 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
519 --infodir=DIR info documentation in DIR [PREFIX/info]
520 --mandir=DIR man documentation in DIR [PREFIX/man]
521 --srcdir=DIR find the sources in DIR [configure dir or ..]
522 --program-prefix=PREFIX prepend PREFIX to installed program names
523 --program-suffix=SUFFIX append SUFFIX to installed program names
524 --program-transform-name=PROGRAM
525 run sed PROGRAM on installed program names
529 --build=BUILD configure for building on BUILD [BUILD=HOST]
530 --host=HOST configure for HOST [guessed]
531 --target=TARGET configure for TARGET [TARGET=HOST]
532 Features and packages:
533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
535 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
536 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
537 --x-includes=DIR X include files are in DIR
538 --x-libraries=DIR X library files are in DIR
540 if test -n "$ac_help"; then
541 echo "--enable and --with options recognized:$ac_help"
545 -host | --host | --hos | --ho)
547 -host=* | --host=* | --hos=* | --ho=*)
550 -includedir | --includedir | --includedi | --included | --include \
551 | --includ | --inclu | --incl | --inc)
552 ac_prev
=includedir
;;
553 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
554 | --includ=* | --inclu=* | --incl=* | --inc=*)
555 includedir
="$ac_optarg" ;;
557 -infodir | --infodir | --infodi | --infod | --info | --inf)
559 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
560 infodir
="$ac_optarg" ;;
562 -libdir | --libdir | --libdi | --libd)
564 -libdir=* | --libdir=* | --libdi=* | --libd=*)
565 libdir
="$ac_optarg" ;;
567 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
568 | --libexe | --libex | --libe)
569 ac_prev
=libexecdir
;;
570 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
571 | --libexe=* | --libex=* | --libe=*)
572 libexecdir
="$ac_optarg" ;;
574 -localstatedir | --localstatedir | --localstatedi | --localstated \
575 | --localstate | --localstat | --localsta | --localst \
576 | --locals | --local | --loca | --loc | --lo)
577 ac_prev
=localstatedir
;;
578 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
579 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
580 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
581 localstatedir
="$ac_optarg" ;;
583 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
585 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
586 mandir
="$ac_optarg" ;;
589 # Obsolete; use --without-fp.
592 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
596 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
597 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
600 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
601 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
602 | --oldin | --oldi | --old | --ol | --o)
603 ac_prev
=oldincludedir
;;
604 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
605 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
606 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
607 oldincludedir
="$ac_optarg" ;;
609 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
611 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
612 prefix
="$ac_optarg" ;;
614 -program-prefix | --program-prefix | --program-prefi | --program-pref \
615 | --program-pre | --program-pr | --program-p)
616 ac_prev
=program_prefix
;;
617 -program-prefix=* | --program-prefix=* | --program-prefi=* \
618 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
619 program_prefix
="$ac_optarg" ;;
621 -program-suffix | --program-suffix | --program-suffi | --program-suff \
622 | --program-suf | --program-su | --program-s)
623 ac_prev
=program_suffix
;;
624 -program-suffix=* | --program-suffix=* | --program-suffi=* \
625 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
626 program_suffix
="$ac_optarg" ;;
628 -program-transform-name | --program-transform-name \
629 | --program-transform-nam | --program-transform-na \
630 | --program-transform-n | --program-transform- \
631 | --program-transform | --program-transfor \
632 | --program-transfo | --program-transf \
633 | --program-trans | --program-tran \
634 | --progr-tra | --program-tr | --program-t)
635 ac_prev
=program_transform_name
;;
636 -program-transform-name=* | --program-transform-name=* \
637 | --program-transform-nam=* | --program-transform-na=* \
638 | --program-transform-n=* | --program-transform-=* \
639 | --program-transform=* | --program-transfor=* \
640 | --program-transfo=* | --program-transf=* \
641 | --program-trans=* | --program-tran=* \
642 | --progr-tra=* | --program-tr=* | --program-t=*)
643 program_transform_name
="$ac_optarg" ;;
645 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
646 | -silent | --silent | --silen | --sile | --sil)
649 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
651 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
653 sbindir
="$ac_optarg" ;;
655 -sharedstatedir | --sharedstatedir | --sharedstatedi \
656 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
657 | --sharedst | --shareds | --shared | --share | --shar \
659 ac_prev
=sharedstatedir
;;
660 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
661 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
662 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
664 sharedstatedir
="$ac_optarg" ;;
666 -site | --site | --sit)
668 -site=* | --site=* | --sit=*)
671 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
673 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
674 srcdir
="$ac_optarg" ;;
676 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
677 | --syscon | --sysco | --sysc | --sys | --sy)
678 ac_prev
=sysconfdir
;;
679 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
680 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
681 sysconfdir
="$ac_optarg" ;;
683 -target | --target | --targe | --targ | --tar | --ta | --t)
685 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
686 target
="$ac_optarg" ;;
688 -v | -verbose | --verbose | --verbos | --verbo | --verb)
691 -version | --version | --versio | --versi | --vers)
692 echo "configure generated by autoconf version 2.13"
696 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
697 # Reject names that are not valid shell variable names.
698 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
699 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
701 ac_package
=`echo $ac_package| sed 's/-/_/g'`
706 eval "with_${ac_package}='$ac_optarg'" ;;
708 -without-* | --without-*)
709 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
710 # Reject names that are not valid shell variable names.
711 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
712 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
714 ac_package
=`echo $ac_package| sed 's/-/_/g'`
715 eval "with_${ac_package}=no" ;;
718 # Obsolete; use --with-x.
721 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
722 | --x-incl | --x-inc | --x-in | --x-i)
723 ac_prev
=x_includes
;;
724 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
725 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
726 x_includes
="$ac_optarg" ;;
728 -x-libraries | --x-libraries | --x-librarie | --x-librari \
729 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
730 ac_prev
=x_libraries
;;
731 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
732 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
733 x_libraries
="$ac_optarg" ;;
735 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
739 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
740 echo "configure: warning: $ac_option: invalid host type" 1>&2
742 if test "x$nonopt" != xNONE
; then
743 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
751 if test -n "$ac_prev"; then
752 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
755 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
757 # File descriptor usage:
760 # 2 errors and warnings
761 # 3 some systems may open it to /dev/tty
762 # 4 used on the Kubota Titan
763 # 6 checking for... messages and results
764 # 5 compiler messages saved in config.log
765 if test "$silent" = yes; then
773 This file contains any messages produced by compilers while
774 running configure, to aid debugging if configure makes a mistake.
777 # Strip out --no-create and --no-recursion so they do not pile up.
778 # Also quote any args containing shell metacharacters.
783 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
784 | --no-cr | --no-c) ;;
785 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
786 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
787 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
788 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
789 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
794 # Only set these to C if already set. These must not be set unconditionally
795 # because not all systems understand e.g. LANG=C (notably SCO).
796 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
797 # Non-C LC_CTYPE values break the ctype check.
798 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
799 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
800 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
801 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
803 # confdefs.h avoids OS command line length limits that DEFS can exceed.
804 rm -rf conftest
* confdefs.h
805 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
808 # A filename unique to this package, relative to the directory that
809 # configure is in, which we can look for to find out if srcdir is correct.
810 ac_unique_file
=wx
-config.
in
812 # Find the source files, if location was not specified.
813 if test -z "$srcdir"; then
814 ac_srcdir_defaulted
=yes
815 # Try the directory containing this script, then its parent.
817 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
818 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
820 if test ! -r $srcdir/$ac_unique_file; then
824 ac_srcdir_defaulted
=no
826 if test ! -r $srcdir/$ac_unique_file; then
827 if test "$ac_srcdir_defaulted" = yes; then
828 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
830 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
833 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
835 # Prefer explicitly selected file to automatically selected ones.
836 if test -z "$CONFIG_SITE"; then
837 if test "x$prefix" != xNONE
; then
838 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
840 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
843 for ac_site_file
in $CONFIG_SITE; do
844 if test -r "$ac_site_file"; then
845 echo "loading site script $ac_site_file"
850 if test -r "$cache_file"; then
851 echo "loading cache $cache_file"
854 echo "creating cache $cache_file"
859 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
860 ac_cpp
='$CPP $CPPFLAGS'
861 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
862 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
863 cross_compiling
=$ac_cv_prog_cc_cross
867 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
868 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
869 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
876 ac_n
= ac_c
='\c' ac_t
=
882 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
883 if test -f $ac_dir/install-sh; then
885 ac_install_sh
="$ac_aux_dir/install-sh -c"
887 elif test -f $ac_dir/install.sh
; then
889 ac_install_sh
="$ac_aux_dir/install.sh -c"
893 if test -z "$ac_aux_dir"; then
894 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
896 ac_config_guess
=$ac_aux_dir/config.guess
897 ac_config_sub
=$ac_aux_dir/config.sub
898 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
901 # Do some error checking and defaulting for the host and target type.
903 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
906 # 1. You are not allowed to specify --host, --target, and nonopt at the
908 # 2. Host defaults to nonopt.
909 # 3. If nonopt is not specified, then host defaults to the current host,
910 # as determined by config.guess.
911 # 4. Target and build default to nonopt.
912 # 5. If nonopt is not specified, then target and build default to host.
914 # The aliases save the names the user supplied, while $host etc.
915 # will get canonicalized.
916 case $host---$target---$nonopt in
917 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
918 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
922 # Make sure we can run config.sub.
923 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
924 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
927 echo $ac_n "checking host system type""... $ac_c" 1>&6
928 echo "configure:929: checking host system type" >&5
931 case "$host_alias" in
935 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
936 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
938 *) host_alias
=$nonopt ;;
942 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
943 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
944 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
945 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
946 echo "$ac_t""$host" 1>&6
948 echo $ac_n "checking target system type""... $ac_c" 1>&6
949 echo "configure:950: checking target system type" >&5
952 case "$target_alias" in
955 NONE
) target_alias
=$host_alias ;;
956 *) target_alias
=$nonopt ;;
960 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
961 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
962 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
963 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
964 echo "$ac_t""$target" 1>&6
966 echo $ac_n "checking build system type""... $ac_c" 1>&6
967 echo "configure:968: checking build system type" >&5
970 case "$build_alias" in
973 NONE
) build_alias
=$host_alias ;;
974 *) build_alias
=$nonopt ;;
978 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
979 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
980 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
981 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
982 echo "$ac_t""$build" 1>&6
984 test "$host_alias" != "$target_alias" &&
985 test "$program_prefix$program_suffix$program_transform_name" = \
987 program_prefix
=${target_alias}-
991 WX_MAJOR_VERSION_NUMBER
=2
992 WX_MINOR_VERSION_NUMBER
=3
995 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
996 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1030 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1032 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1037 DEFAULT_wxUSE_MOTIF
=0
1040 DEFAULT_wxUSE_WINE
=0
1042 DEFAULT_DEFAULT_wxUSE_GTK
=0
1043 DEFAULT_DEFAULT_wxUSE_MAC
=0
1044 DEFAULT_DEFAULT_wxUSE_MGL
=0
1045 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1046 DEFAULT_DEFAULT_wxUSE_MSW
=0
1047 DEFAULT_DEFAULT_wxUSE_PM
=0
1048 DEFAULT_DEFAULT_wxUSE_WINE
=0
1055 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1056 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1057 cat >> confdefs.h
<<\EOF
1064 cat >> confdefs.h
<<\EOF
1069 if test "x$TMP" = "xalpha"; then
1071 cat >> confdefs.h
<<\EOF
1076 DEFAULT_DEFAULT_wxUSE_GTK
=1
1078 *-*-irix5* | *-*-irix6* )
1081 cat >> confdefs.h
<<\EOF
1085 cat >> confdefs.h
<<\EOF
1089 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1095 cat >> confdefs.h
<<\EOF
1099 cat >> confdefs.h
<<\EOF
1100 #define __SOLARIS__ 1
1103 cat >> confdefs.h
<<\EOF
1107 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1108 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1126 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1131 cat >> confdefs.h
<<\EOF
1132 #define __FREEBSD__ 1
1135 cat >> confdefs.h
<<\EOF
1139 DEFAULT_DEFAULT_wxUSE_GTK
=1
1144 cat >> confdefs.h
<<\EOF
1145 #define __FREEBSD__ 1
1148 cat >> confdefs.h
<<\EOF
1149 #define __OPENBSD__ 1
1152 DEFAULT_DEFAULT_wxUSE_GTK
=1
1157 cat >> confdefs.h
<<\EOF
1158 #define __FREEBSD__ 1
1161 cat >> confdefs.h
<<\EOF
1162 #define __NETBSD__ 1
1165 DEFAULT_DEFAULT_wxUSE_GTK
=1
1170 cat >> confdefs.h
<<\EOF
1174 cat >> confdefs.h
<<\EOF
1178 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1179 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1184 cat >> confdefs.h
<<\EOF
1188 cat >> confdefs.h
<<\EOF
1192 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1205 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1211 cat >> confdefs.h
<<\EOF
1215 cat >> confdefs.h
<<\EOF
1219 cat >> confdefs.h
<<\EOF
1223 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1226 *-*-cygwin* | *-*-mingw32* )
1229 cat >> confdefs.h
<<\EOF
1233 cat >> confdefs.h
<<\EOF
1237 cat >> confdefs.h
<<\EOF
1238 #define __WINDOWS__ 1
1241 cat >> confdefs.h
<<\EOF
1242 #define __GNUWIN32__ 1
1245 cat >> confdefs.h
<<\EOF
1249 cat >> confdefs.h
<<\EOF
1250 #define WINVER 0x0400
1254 DEFAULT_DEFAULT_wxUSE_MSW
=1
1258 cat >> confdefs.h
<<\EOF
1263 DEFAULT_DEFAULT_wxUSE_PM
=1
1269 cat >> confdefs.h
<<\EOF
1273 cat >> confdefs.h
<<\EOF
1277 cat >> confdefs.h
<<\EOF
1281 DEFAULT_DEFAULT_wxUSE_MAC
=1
1286 cat >> confdefs.h
<<\EOF
1293 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1296 if test "$USE_UNIX" = 1 ; then
1298 cat >> confdefs.h
<<\EOF
1303 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1304 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1307 if test "$USE_BEOS" = 1; then
1308 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1309 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1312 if test "$USE_LINUX" = 1; then
1313 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1314 echo "configure:1315: checking for gettext in -lc" >&5
1315 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1316 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1317 echo $ac_n "(cached) $ac_c" 1>&6
1319 ac_save_LIBS
="$LIBS"
1321 cat > conftest.
$ac_ext <<EOF
1322 #line 1323 "configure"
1323 #include "confdefs.h"
1324 /* Override any gcc2 internal prototype to avoid an error. */
1325 /* We use char because int might match the return type of a gcc2
1326 builtin and then its argument prototype would still apply. */
1333 if { (eval echo configure
:1334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1335 eval "ac_cv_lib_$ac_lib_var=yes"
1337 echo "configure: failed program was:" >&5
1338 cat conftest.
$ac_ext >&5
1340 eval "ac_cv_lib_$ac_lib_var=no"
1343 LIBS
="$ac_save_LIBS"
1346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1347 echo "$ac_t""yes" 1>&6
1348 cat >> confdefs.h
<<\EOF
1349 #define wxHAVE_GLIBC2 1
1353 echo "$ac_t""no" 1>&6
1361 wx_arg_cache_file
="configarg.cache"
1362 echo "loading argument cache $wx_arg_cache_file"
1363 rm -f ${wx_arg_cache_file}.tmp
1364 touch ${wx_arg_cache_file}.tmp
1365 touch ${wx_arg_cache_file}
1369 if test $DEBUG_CONFIGURE = 1; then
1370 DEFAULT_wxUSE_UNIVERSAL
=no
1372 DEFAULT_wxUSE_THREADS
=yes
1374 DEFAULT_wxUSE_SHARED
=yes
1375 DEFAULT_wxUSE_BURNT_NAME
=no
1376 DEFAULT_wxUSE_OPTIMISE
=no
1377 DEFAULT_wxUSE_PROFILE
=no
1378 DEFAULT_wxUSE_NO_DEPS
=no
1379 DEFAULT_wxUSE_NO_RTTI
=no
1380 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1381 DEFAULT_wxUSE_PERMISSIVE
=no
1382 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1383 DEFAULT_wxUSE_DEBUG_INFO
=yes
1384 DEFAULT_wxUSE_DEBUG_GDB
=yes
1385 DEFAULT_wxUSE_MEM_TRACING
=no
1386 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1387 DEFAULT_wxUSE_DMALLOC
=no
1388 DEFAULT_wxUSE_APPLE_IEEE
=no
1390 DEFAULT_wxUSE_LOG
=yes
1391 DEFAULT_wxUSE_LOGWINDOW
=no
1392 DEFAULT_wxUSE_LOGGUI
=no
1394 DEFAULT_wxUSE_GUI
=yes
1395 DEFAULT_wxUSE_CONTROLS
=no
1397 DEFAULT_wxUSE_ZLIB
=no
1398 DEFAULT_wxUSE_LIBPNG
=no
1399 DEFAULT_wxUSE_LIBJPEG
=no
1400 DEFAULT_wxUSE_LIBTIFF
=no
1401 DEFAULT_wxUSE_ODBC
=no
1402 DEFAULT_wxUSE_FREETYPE
=no
1403 DEFAULT_wxUSE_OPENGL
=no
1405 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1406 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1407 DEFAULT_wxUSE_STD_IOSTREAM
=no
1408 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1409 DEFAULT_wxUSE_DATETIME
=no
1410 DEFAULT_wxUSE_TIMEDATE
=no
1411 DEFAULT_wxUSE_TIMER
=no
1412 DEFAULT_wxUSE_STOPWATCH
=no
1413 DEFAULT_wxUSE_FILE
=no
1414 DEFAULT_wxUSE_FFILE
=no
1415 DEFAULT_wxUSE_TEXTFILE
=no
1416 DEFAULT_wxUSE_WAVE
=no
1417 DEFAULT_wxUSE_INTL
=no
1418 DEFAULT_wxUSE_CONFIG
=no
1419 DEFAULT_wxUSE_FONTMAP
=no
1420 DEFAULT_wxUSE_STREAMS
=no
1421 DEFAULT_wxUSE_SOCKETS
=no
1422 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1423 DEFAULT_wxUSE_SERIAL
=no
1424 DEFAULT_wxUSE_JOYSTICK
=no
1425 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1426 DEFAULT_wxUSE_LONGLONG
=no
1427 DEFAULT_wxUSE_GEOMETRY
=no
1429 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1430 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1431 DEFAULT_wxUSE_POSTSCRIPT
=no
1433 DEFAULT_wxUSE_X_RESOURCES
=no
1434 DEFAULT_wxUSE_CLIPBOARD
=no
1435 DEFAULT_wxUSE_TOOLTIPS
=no
1436 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1437 DEFAULT_wxUSE_DRAGIMAGE
=no
1438 DEFAULT_wxUSE_SPLINES
=no
1440 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1441 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1442 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1444 DEFAULT_wxUSE_PROLOGIO
=no
1445 DEFAULT_wxUSE_RESOURCES
=no
1446 DEFAULT_wxUSE_CONSTRAINTS
=no
1447 DEFAULT_wxUSE_IPC
=no
1448 DEFAULT_wxUSE_HELP
=no
1449 DEFAULT_wxUSE_MS_HTML_HELP
=no
1451 DEFAULT_wxUSE_WXHTML_HELP
=no
1452 DEFAULT_wxUSE_WXTREE
=no
1453 DEFAULT_wxUSE_METAFILE
=no
1454 DEFAULT_wxUSE_MIMETYPE
=no
1456 DEFAULT_wxUSE_COMMONDLGS
=no
1457 DEFAULT_wxUSE_CHOICEDLG
=no
1458 DEFAULT_wxUSE_COLOURDLG
=no
1459 DEFAULT_wxUSE_DIRDLG
=no
1460 DEFAULT_wxUSE_FILEDLG
=no
1461 DEFAULT_wxUSE_FONTDLG
=no
1462 DEFAULT_wxUSE_MSGDLG
=no
1463 DEFAULT_wxUSE_NUMBERDLG
=no
1464 DEFAULT_wxUSE_TEXTDLG
=no
1465 DEFAULT_wxUSE_STARTUP_TIPS
=no
1466 DEFAULT_wxUSE_PROGRESSDLG
=no
1467 DEFAULT_wxUSE_WIZARDDLG
=no
1469 DEFAULT_wxUSE_MENUS
=no
1470 DEFAULT_wxUSE_MINIFRAME
=no
1471 DEFAULT_wxUSE_HTML
=no
1472 DEFAULT_wxUSE_FILESYSTEM
=no
1473 DEFAULT_wxUSE_FS_INET
=no
1474 DEFAULT_wxUSE_FS_ZIP
=no
1475 DEFAULT_wxUSE_BUSYINFO
=no
1476 DEFAULT_wxUSE_ZIPSTREAM
=no
1477 DEFAULT_wxUSE_VALIDATORS
=no
1479 DEFAULT_wxUSE_ACCEL
=no
1480 DEFAULT_wxUSE_BUTTON
=no
1481 DEFAULT_wxUSE_BMPBUTTON
=no
1482 DEFAULT_wxUSE_CALCTRL
=no
1483 DEFAULT_wxUSE_CARET
=no
1484 DEFAULT_wxUSE_CHECKBOX
=no
1485 DEFAULT_wxUSE_CHECKLST
=no
1486 DEFAULT_wxUSE_CHOICE
=no
1487 DEFAULT_wxUSE_COMBOBOX
=no
1488 DEFAULT_wxUSE_GAUGE
=no
1489 DEFAULT_wxUSE_GRID
=no
1490 DEFAULT_wxUSE_NEW_GRID
=no
1491 DEFAULT_wxUSE_IMAGLIST
=no
1492 DEFAULT_wxUSE_LISTBOX
=no
1493 DEFAULT_wxUSE_LISTCTRL
=no
1494 DEFAULT_wxUSE_NOTEBOOK
=no
1495 DEFAULT_wxUSE_RADIOBOX
=no
1496 DEFAULT_wxUSE_RADIOBTN
=no
1497 DEFAULT_wxUSE_SASH
=no
1498 DEFAULT_wxUSE_SCROLLBAR
=no
1499 DEFAULT_wxUSE_SLIDER
=no
1500 DEFAULT_wxUSE_SPINBTN
=no
1501 DEFAULT_wxUSE_SPINCTRL
=no
1502 DEFAULT_wxUSE_SPLITTER
=no
1503 DEFAULT_wxUSE_STATBMP
=no
1504 DEFAULT_wxUSE_STATBOX
=no
1505 DEFAULT_wxUSE_STATLINE
=no
1506 DEFAULT_wxUSE_STATTEXT
=no
1507 DEFAULT_wxUSE_STATUSBAR
=yes
1508 DEFAULT_wxUSE_TABDIALOG
=no
1509 DEFAULT_wxUSE_TEXTCTRL
=no
1510 DEFAULT_wxUSE_TOGGLEBTN
=no
1511 DEFAULT_wxUSE_TOOLBAR
=no
1512 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1513 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1514 DEFAULT_wxUSE_TREECTRL
=no
1515 DEFAULT_wxUSE_POPUPWIN
=no
1517 DEFAULT_wxUSE_UNICODE
=no
1518 DEFAULT_wxUSE_WCSRTOMBS
=no
1520 DEFAULT_wxUSE_IMAGE
=no
1521 DEFAULT_wxUSE_GIF
=no
1522 DEFAULT_wxUSE_PCX
=no
1523 DEFAULT_wxUSE_PNM
=no
1524 DEFAULT_wxUSE_XPM
=no
1526 DEFAULT_wxUSE_UNIVERSAL
=no
1528 DEFAULT_wxUSE_THREADS
=yes
1530 DEFAULT_wxUSE_SHARED
=yes
1531 DEFAULT_wxUSE_BURNT_NAME
=no
1532 DEFAULT_wxUSE_OPTIMISE
=yes
1533 DEFAULT_wxUSE_PROFILE
=no
1534 DEFAULT_wxUSE_NO_DEPS
=no
1535 DEFAULT_wxUSE_NO_RTTI
=no
1536 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1537 DEFAULT_wxUSE_PERMISSIVE
=no
1538 DEFAULT_wxUSE_DEBUG_FLAG
=no
1539 DEFAULT_wxUSE_DEBUG_INFO
=no
1540 DEFAULT_wxUSE_DEBUG_GDB
=no
1541 DEFAULT_wxUSE_MEM_TRACING
=no
1542 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1543 DEFAULT_wxUSE_DMALLOC
=no
1544 DEFAULT_wxUSE_APPLE_IEEE
=yes
1546 DEFAULT_wxUSE_LOG
=yes
1547 DEFAULT_wxUSE_LOGWINDOW
=yes
1548 DEFAULT_wxUSE_LOGGUI
=yes
1550 DEFAULT_wxUSE_GUI
=yes
1552 DEFAULT_wxUSE_ZLIB
=yes
1553 DEFAULT_wxUSE_LIBPNG
=yes
1554 DEFAULT_wxUSE_LIBJPEG
=yes
1555 DEFAULT_wxUSE_LIBTIFF
=yes
1556 DEFAULT_wxUSE_ODBC
=no
1557 DEFAULT_wxUSE_FREETYPE
=no
1558 DEFAULT_wxUSE_OPENGL
=no
1560 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1561 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1562 DEFAULT_wxUSE_STD_IOSTREAM
=no
1563 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1564 DEFAULT_wxUSE_DATETIME
=yes
1565 DEFAULT_wxUSE_TIMEDATE
=no
1566 DEFAULT_wxUSE_TIMER
=yes
1567 DEFAULT_wxUSE_STOPWATCH
=yes
1568 DEFAULT_wxUSE_FILE
=yes
1569 DEFAULT_wxUSE_FFILE
=yes
1570 DEFAULT_wxUSE_TEXTFILE
=yes
1571 DEFAULT_wxUSE_WAVE
=no
1572 DEFAULT_wxUSE_INTL
=yes
1573 DEFAULT_wxUSE_CONFIG
=yes
1574 DEFAULT_wxUSE_FONTMAP
=yes
1575 DEFAULT_wxUSE_STREAMS
=yes
1576 DEFAULT_wxUSE_SOCKETS
=yes
1577 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1578 DEFAULT_wxUSE_SERIAL
=yes
1579 DEFAULT_wxUSE_JOYSTICK
=yes
1580 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1581 DEFAULT_wxUSE_LONGLONG
=yes
1582 DEFAULT_wxUSE_GEOMETRY
=yes
1584 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1585 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1586 DEFAULT_wxUSE_POSTSCRIPT
=yes
1588 DEFAULT_wxUSE_X_RESOURCES
=no
1589 DEFAULT_wxUSE_CLIPBOARD
=yes
1590 DEFAULT_wxUSE_TOOLTIPS
=yes
1591 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1592 DEFAULT_wxUSE_DRAGIMAGE
=yes
1593 DEFAULT_wxUSE_SPLINES
=yes
1595 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1596 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1597 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1599 DEFAULT_wxUSE_PROLOGIO
=yes
1600 DEFAULT_wxUSE_RESOURCES
=yes
1601 DEFAULT_wxUSE_CONSTRAINTS
=yes
1602 DEFAULT_wxUSE_IPC
=yes
1603 DEFAULT_wxUSE_HELP
=yes
1604 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1605 DEFAULT_wxUSE_WXHTML_HELP
=yes
1606 DEFAULT_wxUSE_WXTREE
=yes
1607 DEFAULT_wxUSE_METAFILE
=yes
1608 DEFAULT_wxUSE_MIMETYPE
=yes
1610 DEFAULT_wxUSE_COMMONDLGS
=yes
1611 DEFAULT_wxUSE_CHOICEDLG
=yes
1612 DEFAULT_wxUSE_COLOURDLG
=yes
1613 DEFAULT_wxUSE_DIRDLG
=yes
1614 DEFAULT_wxUSE_FILEDLG
=yes
1615 DEFAULT_wxUSE_FONTDLG
=yes
1616 DEFAULT_wxUSE_MSGDLG
=yes
1617 DEFAULT_wxUSE_NUMBERDLG
=yes
1618 DEFAULT_wxUSE_TEXTDLG
=yes
1619 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1620 DEFAULT_wxUSE_PROGRESSDLG
=yes
1621 DEFAULT_wxUSE_WIZARDDLG
=yes
1623 DEFAULT_wxUSE_MENUS
=yes
1624 DEFAULT_wxUSE_MINIFRAME
=yes
1625 DEFAULT_wxUSE_HTML
=yes
1626 DEFAULT_wxUSE_FILESYSTEM
=yes
1627 DEFAULT_wxUSE_FS_INET
=yes
1628 DEFAULT_wxUSE_FS_ZIP
=yes
1629 DEFAULT_wxUSE_BUSYINFO
=yes
1630 DEFAULT_wxUSE_ZIPSTREAM
=yes
1631 DEFAULT_wxUSE_VALIDATORS
=yes
1633 DEFAULT_wxUSE_ACCEL
=yes
1634 DEFAULT_wxUSE_BUTTON
=yes
1635 DEFAULT_wxUSE_BMPBUTTON
=yes
1636 DEFAULT_wxUSE_CALCTRL
=yes
1637 DEFAULT_wxUSE_CARET
=yes
1638 DEFAULT_wxUSE_CHECKBOX
=yes
1639 DEFAULT_wxUSE_CHECKLST
=yes
1640 DEFAULT_wxUSE_CHOICE
=yes
1641 DEFAULT_wxUSE_COMBOBOX
=yes
1642 DEFAULT_wxUSE_GAUGE
=yes
1643 DEFAULT_wxUSE_GRID
=yes
1644 DEFAULT_wxUSE_NEW_GRID
=yes
1645 DEFAULT_wxUSE_IMAGLIST
=yes
1646 DEFAULT_wxUSE_LISTBOX
=yes
1647 DEFAULT_wxUSE_LISTCTRL
=yes
1648 DEFAULT_wxUSE_NOTEBOOK
=yes
1649 DEFAULT_wxUSE_RADIOBOX
=yes
1650 DEFAULT_wxUSE_RADIOBTN
=yes
1651 DEFAULT_wxUSE_SASH
=yes
1652 DEFAULT_wxUSE_SCROLLBAR
=yes
1653 DEFAULT_wxUSE_SLIDER
=yes
1654 DEFAULT_wxUSE_SPINBTN
=yes
1655 DEFAULT_wxUSE_SPINCTRL
=yes
1656 DEFAULT_wxUSE_SPLITTER
=yes
1657 DEFAULT_wxUSE_STATBMP
=yes
1658 DEFAULT_wxUSE_STATBOX
=yes
1659 DEFAULT_wxUSE_STATLINE
=yes
1660 DEFAULT_wxUSE_STATTEXT
=yes
1661 DEFAULT_wxUSE_STATUSBAR
=yes
1662 DEFAULT_wxUSE_TABDIALOG
=no
1663 DEFAULT_wxUSE_TEXTCTRL
=yes
1664 DEFAULT_wxUSE_TOGGLEBTN
=yes
1665 DEFAULT_wxUSE_TOOLBAR
=yes
1666 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1667 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1668 DEFAULT_wxUSE_TREECTRL
=yes
1669 DEFAULT_wxUSE_POPUPWIN
=yes
1671 DEFAULT_wxUSE_UNICODE
=no
1672 DEFAULT_wxUSE_WCSRTOMBS
=no
1674 DEFAULT_wxUSE_IMAGE
=yes
1675 DEFAULT_wxUSE_GIF
=yes
1676 DEFAULT_wxUSE_PCX
=yes
1677 DEFAULT_wxUSE_PNM
=yes
1678 DEFAULT_wxUSE_XPM
=yes
1683 for toolkit
in `echo $ALL_TOOLKITS`; do
1684 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1685 if test "x$LINE" != x
; then
1686 has_toolkit_in_cache
=1
1687 eval "DEFAULT_$LINE"
1688 eval "CACHE_$toolkit=1"
1694 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1695 echo "configure:1696: checking for --enable-gui" >&5
1697 # Check whether --enable-gui or --disable-gui was given.
1698 if test "${enable_gui+set}" = set; then
1699 enableval
="$enable_gui"
1701 if test "$enableval" = yes; then
1702 ac_cv_use_gui
='wxUSE_GUI=yes'
1704 ac_cv_use_gui
='wxUSE_GUI=no'
1709 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1710 if test "x$LINE" != x
; then
1711 eval "DEFAULT_$LINE"
1716 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1721 eval "$ac_cv_use_gui"
1722 if test "$no_cache" != 1; then
1723 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1726 if test "$wxUSE_GUI" = yes; then
1727 echo "$ac_t""yes" 1>&6
1729 echo "$ac_t""no" 1>&6
1733 if test "$wxUSE_GUI" = "yes"; then
1736 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1737 echo "configure:1738: checking for --enable-universal" >&5
1739 # Check whether --enable-universal or --disable-universal was given.
1740 if test "${enable_universal+set}" = set; then
1741 enableval
="$enable_universal"
1743 if test "$enableval" = yes; then
1744 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1746 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1751 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1752 if test "x$LINE" != x
; then
1753 eval "DEFAULT_$LINE"
1758 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1763 eval "$ac_cv_use_universal"
1764 if test "$no_cache" != 1; then
1765 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1768 if test "$wxUSE_UNIVERSAL" = yes; then
1769 echo "$ac_t""yes" 1>&6
1771 echo "$ac_t""no" 1>&6
1774 # Check whether --with-gtk or --without-gtk was given.
1775 if test "${with_gtk+set}" = set; then
1777 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1780 # Check whether --with-motif or --without-motif was given.
1781 if test "${with_motif+set}" = set; then
1782 withval
="$with_motif"
1783 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1786 # Check whether --with-mac or --without-mac was given.
1787 if test "${with_mac+set}" = set; then
1789 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1792 # Check whether --with-wine or --without-wine was given.
1793 if test "${with_wine+set}" = set; then
1794 withval
="$with_wine"
1795 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1798 # Check whether --with-cygwin or --without-cygwin was given.
1799 if test "${with_cygwin+set}" = set; then
1800 withval
="$with_cygwin"
1801 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1804 # Check whether --with-mingw or --without-mingw was given.
1805 if test "${with_mingw+set}" = set; then
1806 withval
="$with_mingw"
1807 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1810 # Check whether --with-pm or --without-pm was given.
1811 if test "${with_pm+set}" = set; then
1813 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1816 # Check whether --with-mgl or --without-mgl was given.
1817 if test "${with_mgl+set}" = set; then
1819 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1823 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1824 if test "${enable_gtk2+set}" = set; then
1825 enableval
="$enable_gtk2"
1833 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1834 echo "configure:1835: checking for --with-libpng" >&5
1836 # Check whether --with-libpng or --without-libpng was given.
1837 if test "${with_libpng+set}" = set; then
1838 withval
="$with_libpng"
1840 if test "$withval" = yes; then
1841 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1842 elif test "$withval" = no
; then
1843 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1844 elif test "$withval" = sys
; then
1845 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1847 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1852 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1853 if test "x$LINE" != x
; then
1854 eval "DEFAULT_$LINE"
1859 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1864 eval "$ac_cv_use_libpng"
1865 if test "$no_cache" != 1; then
1866 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1869 if test "$wxUSE_LIBPNG" = yes; then
1870 echo "$ac_t""yes" 1>&6
1871 elif test "$wxUSE_LIBPNG" = no
; then
1872 echo "$ac_t""no" 1>&6
1873 elif test "$wxUSE_LIBPNG" = sys
; then
1874 echo "$ac_t""system version" 1>&6
1876 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1880 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1881 echo "configure:1882: checking for --with-libjpeg" >&5
1883 # Check whether --with-libjpeg or --without-libjpeg was given.
1884 if test "${with_libjpeg+set}" = set; then
1885 withval
="$with_libjpeg"
1887 if test "$withval" = yes; then
1888 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1889 elif test "$withval" = no
; then
1890 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1891 elif test "$withval" = sys
; then
1892 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1894 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1899 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1900 if test "x$LINE" != x
; then
1901 eval "DEFAULT_$LINE"
1906 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1911 eval "$ac_cv_use_libjpeg"
1912 if test "$no_cache" != 1; then
1913 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1916 if test "$wxUSE_LIBJPEG" = yes; then
1917 echo "$ac_t""yes" 1>&6
1918 elif test "$wxUSE_LIBJPEG" = no
; then
1919 echo "$ac_t""no" 1>&6
1920 elif test "$wxUSE_LIBJPEG" = sys
; then
1921 echo "$ac_t""system version" 1>&6
1923 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1927 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1928 echo "configure:1929: checking for --with-libtiff" >&5
1930 # Check whether --with-libtiff or --without-libtiff was given.
1931 if test "${with_libtiff+set}" = set; then
1932 withval
="$with_libtiff"
1934 if test "$withval" = yes; then
1935 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1936 elif test "$withval" = no
; then
1937 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1938 elif test "$withval" = sys
; then
1939 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1941 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1946 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1947 if test "x$LINE" != x
; then
1948 eval "DEFAULT_$LINE"
1953 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1958 eval "$ac_cv_use_libtiff"
1959 if test "$no_cache" != 1; then
1960 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1963 if test "$wxUSE_LIBTIFF" = yes; then
1964 echo "$ac_t""yes" 1>&6
1965 elif test "$wxUSE_LIBTIFF" = no
; then
1966 echo "$ac_t""no" 1>&6
1967 elif test "$wxUSE_LIBTIFF" = sys
; then
1968 echo "$ac_t""system version" 1>&6
1970 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1974 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1975 echo "configure:1976: checking for --with-freetype" >&5
1977 # Check whether --with-freetype or --without-freetype was given.
1978 if test "${with_freetype+set}" = set; then
1979 withval
="$with_freetype"
1981 if test "$withval" = yes; then
1982 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1983 elif test "$withval" = no
; then
1984 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1985 elif test "$withval" = sys
; then
1986 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1988 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1993 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1994 if test "x$LINE" != x
; then
1995 eval "DEFAULT_$LINE"
2000 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2005 eval "$ac_cv_use_freetype"
2006 if test "$no_cache" != 1; then
2007 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2010 if test "$wxUSE_FREETYPE" = yes; then
2011 echo "$ac_t""yes" 1>&6
2012 elif test "$wxUSE_FREETYPE" = no
; then
2013 echo "$ac_t""no" 1>&6
2014 elif test "$wxUSE_FREETYPE" = sys
; then
2015 echo "$ac_t""system version" 1>&6
2017 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2021 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2022 echo "configure:2023: checking for --with-opengl" >&5
2024 # Check whether --with-opengl or --without-opengl was given.
2025 if test "${with_opengl+set}" = set; then
2026 withval
="$with_opengl"
2028 if test "$withval" = yes; then
2029 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2031 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2036 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2037 if test "x$LINE" != x
; then
2038 eval "DEFAULT_$LINE"
2043 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2048 eval "$ac_cv_use_opengl"
2049 if test "$no_cache" != 1; then
2050 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2053 if test "$wxUSE_OPENGL" = yes; then
2054 echo "$ac_t""yes" 1>&6
2056 echo "$ac_t""no" 1>&6
2063 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2064 echo "configure:2065: checking for --with-dmalloc" >&5
2066 # Check whether --with-dmalloc or --without-dmalloc was given.
2067 if test "${with_dmalloc+set}" = set; then
2068 withval
="$with_dmalloc"
2070 if test "$withval" = yes; then
2071 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2073 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2078 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2079 if test "x$LINE" != x
; then
2080 eval "DEFAULT_$LINE"
2085 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2090 eval "$ac_cv_use_dmalloc"
2091 if test "$no_cache" != 1; then
2092 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2095 if test "$wxUSE_DMALLOC" = yes; then
2096 echo "$ac_t""yes" 1>&6
2098 echo "$ac_t""no" 1>&6
2102 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2103 echo "configure:2104: checking for --with-zlib" >&5
2105 # Check whether --with-zlib or --without-zlib was given.
2106 if test "${with_zlib+set}" = set; then
2107 withval
="$with_zlib"
2109 if test "$withval" = yes; then
2110 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2111 elif test "$withval" = no
; then
2112 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2113 elif test "$withval" = sys
; then
2114 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2116 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2121 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2122 if test "x$LINE" != x
; then
2123 eval "DEFAULT_$LINE"
2128 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2133 eval "$ac_cv_use_zlib"
2134 if test "$no_cache" != 1; then
2135 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2138 if test "$wxUSE_ZLIB" = yes; then
2139 echo "$ac_t""yes" 1>&6
2140 elif test "$wxUSE_ZLIB" = no
; then
2141 echo "$ac_t""no" 1>&6
2142 elif test "$wxUSE_ZLIB" = sys
; then
2143 echo "$ac_t""system version" 1>&6
2145 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2149 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2150 echo "configure:2151: checking for --with-odbc" >&5
2152 # Check whether --with-odbc or --without-odbc was given.
2153 if test "${with_odbc+set}" = set; then
2154 withval
="$with_odbc"
2156 if test "$withval" = yes; then
2157 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2159 ac_cv_use_odbc
='wxUSE_ODBC=no'
2164 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2165 if test "x$LINE" != x
; then
2166 eval "DEFAULT_$LINE"
2171 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2176 eval "$ac_cv_use_odbc"
2177 if test "$no_cache" != 1; then
2178 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2181 if test "$wxUSE_ODBC" = yes; then
2182 echo "$ac_t""yes" 1>&6
2184 echo "$ac_t""no" 1>&6
2191 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2192 echo "configure:2193: checking for --enable-shared" >&5
2194 # Check whether --enable-shared or --disable-shared was given.
2195 if test "${enable_shared+set}" = set; then
2196 enableval
="$enable_shared"
2198 if test "$enableval" = yes; then
2199 ac_cv_use_shared
='wxUSE_SHARED=yes'
2201 ac_cv_use_shared
='wxUSE_SHARED=no'
2206 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2207 if test "x$LINE" != x
; then
2208 eval "DEFAULT_$LINE"
2213 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2218 eval "$ac_cv_use_shared"
2219 if test "$no_cache" != 1; then
2220 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2223 if test "$wxUSE_SHARED" = yes; then
2224 echo "$ac_t""yes" 1>&6
2226 echo "$ac_t""no" 1>&6
2230 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2231 echo "configure:2232: checking for --enable-burnt_name" >&5
2233 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2234 if test "${enable_burnt_name+set}" = set; then
2235 enableval
="$enable_burnt_name"
2237 if test "$enableval" = yes; then
2238 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2240 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2245 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2246 if test "x$LINE" != x
; then
2247 eval "DEFAULT_$LINE"
2252 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2257 eval "$ac_cv_use_burnt_name"
2258 if test "$no_cache" != 1; then
2259 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2262 if test "$wxUSE_BURNT_NAME" = yes; then
2263 echo "$ac_t""yes" 1>&6
2265 echo "$ac_t""no" 1>&6
2269 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2270 echo "configure:2271: checking for --enable-optimise" >&5
2272 # Check whether --enable-optimise or --disable-optimise was given.
2273 if test "${enable_optimise+set}" = set; then
2274 enableval
="$enable_optimise"
2276 if test "$enableval" = yes; then
2277 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2279 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2284 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2285 if test "x$LINE" != x
; then
2286 eval "DEFAULT_$LINE"
2291 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2296 eval "$ac_cv_use_optimise"
2297 if test "$no_cache" != 1; then
2298 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2301 if test "$wxUSE_OPTIMISE" = yes; then
2302 echo "$ac_t""yes" 1>&6
2304 echo "$ac_t""no" 1>&6
2308 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2309 echo "configure:2310: checking for --enable-debug" >&5
2311 # Check whether --enable-debug or --disable-debug was given.
2312 if test "${enable_debug+set}" = set; then
2313 enableval
="$enable_debug"
2315 if test "$enableval" = yes; then
2316 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2318 ac_cv_use_debug
='wxUSE_DEBUG=no'
2323 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2324 if test "x$LINE" != x
; then
2325 eval "DEFAULT_$LINE"
2330 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2335 eval "$ac_cv_use_debug"
2336 if test "$no_cache" != 1; then
2337 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2340 if test "$wxUSE_DEBUG" = yes; then
2341 echo "$ac_t""yes" 1>&6
2343 echo "$ac_t""no" 1>&6
2347 if test "$wxUSE_DEBUG" = "yes"; then
2348 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2349 DEFAULT_wxUSE_DEBUG_INFO
=yes
2350 elif test "$wxUSE_DEBUG" = "no"; then
2351 DEFAULT_wxUSE_DEBUG_FLAG
=no
2352 DEFAULT_wxUSE_DEBUG_INFO
=no
2356 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2357 echo "configure:2358: checking for --enable-debug_flag" >&5
2359 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2360 if test "${enable_debug_flag+set}" = set; then
2361 enableval
="$enable_debug_flag"
2363 if test "$enableval" = yes; then
2364 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2366 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2371 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2372 if test "x$LINE" != x
; then
2373 eval "DEFAULT_$LINE"
2378 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2383 eval "$ac_cv_use_debug_flag"
2384 if test "$no_cache" != 1; then
2385 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2388 if test "$wxUSE_DEBUG_FLAG" = yes; then
2389 echo "$ac_t""yes" 1>&6
2391 echo "$ac_t""no" 1>&6
2395 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2396 echo "configure:2397: checking for --enable-debug_info" >&5
2398 # Check whether --enable-debug_info or --disable-debug_info was given.
2399 if test "${enable_debug_info+set}" = set; then
2400 enableval
="$enable_debug_info"
2402 if test "$enableval" = yes; then
2403 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2405 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2410 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x
; then
2412 eval "DEFAULT_$LINE"
2417 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2422 eval "$ac_cv_use_debug_info"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2427 if test "$wxUSE_DEBUG_INFO" = yes; then
2428 echo "$ac_t""yes" 1>&6
2430 echo "$ac_t""no" 1>&6
2434 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2435 echo "configure:2436: checking for --enable-debug_gdb" >&5
2437 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2438 if test "${enable_debug_gdb+set}" = set; then
2439 enableval
="$enable_debug_gdb"
2441 if test "$enableval" = yes; then
2442 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2444 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2449 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x
; then
2451 eval "DEFAULT_$LINE"
2456 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2461 eval "$ac_cv_use_debug_gdb"
2462 if test "$no_cache" != 1; then
2463 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2466 if test "$wxUSE_DEBUG_GDB" = yes; then
2467 echo "$ac_t""yes" 1>&6
2469 echo "$ac_t""no" 1>&6
2473 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2474 echo "configure:2475: checking for --enable-debug_cntxt" >&5
2476 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2477 if test "${enable_debug_cntxt+set}" = set; then
2478 enableval
="$enable_debug_cntxt"
2480 if test "$enableval" = yes; then
2481 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2483 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2488 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x
; then
2490 eval "DEFAULT_$LINE"
2495 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2500 eval "$ac_cv_use_debug_cntxt"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2505 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2506 echo "$ac_t""yes" 1>&6
2508 echo "$ac_t""no" 1>&6
2512 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2513 echo "configure:2514: checking for --enable-mem_tracing" >&5
2515 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2516 if test "${enable_mem_tracing+set}" = set; then
2517 enableval
="$enable_mem_tracing"
2519 if test "$enableval" = yes; then
2520 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2522 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2527 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2528 if test "x$LINE" != x
; then
2529 eval "DEFAULT_$LINE"
2534 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2539 eval "$ac_cv_use_mem_tracing"
2540 if test "$no_cache" != 1; then
2541 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2544 if test "$wxUSE_MEM_TRACING" = yes; then
2545 echo "$ac_t""yes" 1>&6
2547 echo "$ac_t""no" 1>&6
2551 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2552 echo "configure:2553: checking for --enable-profile" >&5
2554 # Check whether --enable-profile or --disable-profile was given.
2555 if test "${enable_profile+set}" = set; then
2556 enableval
="$enable_profile"
2558 if test "$enableval" = yes; then
2559 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2561 ac_cv_use_profile
='wxUSE_PROFILE=no'
2566 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2567 if test "x$LINE" != x
; then
2568 eval "DEFAULT_$LINE"
2573 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2578 eval "$ac_cv_use_profile"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_PROFILE" = yes; then
2584 echo "$ac_t""yes" 1>&6
2586 echo "$ac_t""no" 1>&6
2590 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2591 echo "configure:2592: checking for --enable-no_rtti" >&5
2593 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2594 if test "${enable_no_rtti+set}" = set; then
2595 enableval
="$enable_no_rtti"
2597 if test "$enableval" = yes; then
2598 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2600 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2605 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2606 if test "x$LINE" != x
; then
2607 eval "DEFAULT_$LINE"
2612 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2617 eval "$ac_cv_use_no_rtti"
2618 if test "$no_cache" != 1; then
2619 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2622 if test "$wxUSE_NO_RTTI" = yes; then
2623 echo "$ac_t""yes" 1>&6
2625 echo "$ac_t""no" 1>&6
2629 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2630 echo "configure:2631: checking for --enable-no_exceptions" >&5
2632 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2633 if test "${enable_no_exceptions+set}" = set; then
2634 enableval
="$enable_no_exceptions"
2636 if test "$enableval" = yes; then
2637 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2639 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2644 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2645 if test "x$LINE" != x
; then
2646 eval "DEFAULT_$LINE"
2651 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2656 eval "$ac_cv_use_no_exceptions"
2657 if test "$no_cache" != 1; then
2658 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2661 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2662 echo "$ac_t""yes" 1>&6
2664 echo "$ac_t""no" 1>&6
2668 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2669 echo "configure:2670: checking for --enable-permissive" >&5
2671 # Check whether --enable-permissive or --disable-permissive was given.
2672 if test "${enable_permissive+set}" = set; then
2673 enableval
="$enable_permissive"
2675 if test "$enableval" = yes; then
2676 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2678 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2683 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2684 if test "x$LINE" != x
; then
2685 eval "DEFAULT_$LINE"
2690 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2695 eval "$ac_cv_use_permissive"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_PERMISSIVE" = yes; then
2701 echo "$ac_t""yes" 1>&6
2703 echo "$ac_t""no" 1>&6
2707 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2708 echo "configure:2709: checking for --enable-no_deps" >&5
2710 # Check whether --enable-no_deps or --disable-no_deps was given.
2711 if test "${enable_no_deps+set}" = set; then
2712 enableval
="$enable_no_deps"
2714 if test "$enableval" = yes; then
2715 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2717 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2722 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2723 if test "x$LINE" != x
; then
2724 eval "DEFAULT_$LINE"
2729 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2734 eval "$ac_cv_use_no_deps"
2735 if test "$no_cache" != 1; then
2736 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2739 if test "$wxUSE_NO_DEPS" = yes; then
2740 echo "$ac_t""yes" 1>&6
2742 echo "$ac_t""no" 1>&6
2747 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2748 echo "configure:2749: checking for --enable-compat20" >&5
2750 # Check whether --enable-compat20 or --disable-compat20 was given.
2751 if test "${enable_compat20+set}" = set; then
2752 enableval
="$enable_compat20"
2754 if test "$enableval" = yes; then
2755 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2757 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2762 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2763 if test "x$LINE" != x
; then
2764 eval "DEFAULT_$LINE"
2769 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2774 eval "$ac_cv_use_compat20"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2779 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2780 echo "$ac_t""yes" 1>&6
2782 echo "$ac_t""no" 1>&6
2786 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2787 echo "configure:2788: checking for --enable-compat22" >&5
2789 # Check whether --enable-compat22 or --disable-compat22 was given.
2790 if test "${enable_compat22+set}" = set; then
2791 enableval
="$enable_compat22"
2793 if test "$enableval" = yes; then
2794 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2796 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2801 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x
; then
2803 eval "DEFAULT_$LINE"
2808 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2813 eval "$ac_cv_use_compat22"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2818 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2819 echo "$ac_t""yes" 1>&6
2821 echo "$ac_t""no" 1>&6
2827 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2828 echo "configure:2829: checking for --enable-intl" >&5
2830 # Check whether --enable-intl or --disable-intl was given.
2831 if test "${enable_intl+set}" = set; then
2832 enableval
="$enable_intl"
2834 if test "$enableval" = yes; then
2835 ac_cv_use_intl
='wxUSE_INTL=yes'
2837 ac_cv_use_intl
='wxUSE_INTL=no'
2842 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2843 if test "x$LINE" != x
; then
2844 eval "DEFAULT_$LINE"
2849 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2854 eval "$ac_cv_use_intl"
2855 if test "$no_cache" != 1; then
2856 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2859 if test "$wxUSE_INTL" = yes; then
2860 echo "$ac_t""yes" 1>&6
2862 echo "$ac_t""no" 1>&6
2866 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2867 echo "configure:2868: checking for --enable-config" >&5
2869 # Check whether --enable-config or --disable-config was given.
2870 if test "${enable_config+set}" = set; then
2871 enableval
="$enable_config"
2873 if test "$enableval" = yes; then
2874 ac_cv_use_config
='wxUSE_CONFIG=yes'
2876 ac_cv_use_config
='wxUSE_CONFIG=no'
2881 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2882 if test "x$LINE" != x
; then
2883 eval "DEFAULT_$LINE"
2888 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2893 eval "$ac_cv_use_config"
2894 if test "$no_cache" != 1; then
2895 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2898 if test "$wxUSE_CONFIG" = yes; then
2899 echo "$ac_t""yes" 1>&6
2901 echo "$ac_t""no" 1>&6
2906 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2907 echo "configure:2908: checking for --enable-sockets" >&5
2909 # Check whether --enable-sockets or --disable-sockets was given.
2910 if test "${enable_sockets+set}" = set; then
2911 enableval
="$enable_sockets"
2913 if test "$enableval" = yes; then
2914 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2916 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2921 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x
; then
2923 eval "DEFAULT_$LINE"
2928 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2933 eval "$ac_cv_use_sockets"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2938 if test "$wxUSE_SOCKETS" = yes; then
2939 echo "$ac_t""yes" 1>&6
2941 echo "$ac_t""no" 1>&6
2946 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2947 echo "configure:2948: checking for --enable-ipc" >&5
2949 # Check whether --enable-ipc or --disable-ipc was given.
2950 if test "${enable_ipc+set}" = set; then
2951 enableval
="$enable_ipc"
2953 if test "$enableval" = yes; then
2954 ac_cv_use_ipc
='wxUSE_IPC=yes'
2956 ac_cv_use_ipc
='wxUSE_IPC=no'
2961 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2962 if test "x$LINE" != x
; then
2963 eval "DEFAULT_$LINE"
2968 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2973 eval "$ac_cv_use_ipc"
2974 if test "$no_cache" != 1; then
2975 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2978 if test "$wxUSE_IPC" = yes; then
2979 echo "$ac_t""yes" 1>&6
2981 echo "$ac_t""no" 1>&6
2986 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2987 echo "configure:2988: checking for --enable-cmdline" >&5
2989 # Check whether --enable-cmdline or --disable-cmdline was given.
2990 if test "${enable_cmdline+set}" = set; then
2991 enableval
="$enable_cmdline"
2993 if test "$enableval" = yes; then
2994 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2996 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3001 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3002 if test "x$LINE" != x
; then
3003 eval "DEFAULT_$LINE"
3008 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3013 eval "$ac_cv_use_cmdline"
3014 if test "$no_cache" != 1; then
3015 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3018 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3019 echo "$ac_t""yes" 1>&6
3021 echo "$ac_t""no" 1>&6
3025 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3026 echo "configure:3027: checking for --enable-datetime" >&5
3028 # Check whether --enable-datetime or --disable-datetime was given.
3029 if test "${enable_datetime+set}" = set; then
3030 enableval
="$enable_datetime"
3032 if test "$enableval" = yes; then
3033 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3035 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3040 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3041 if test "x$LINE" != x
; then
3042 eval "DEFAULT_$LINE"
3047 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3052 eval "$ac_cv_use_datetime"
3053 if test "$no_cache" != 1; then
3054 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3057 if test "$wxUSE_DATETIME" = yes; then
3058 echo "$ac_t""yes" 1>&6
3060 echo "$ac_t""no" 1>&6
3064 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3065 echo "configure:3066: checking for --enable-timedate" >&5
3067 # Check whether --enable-timedate or --disable-timedate was given.
3068 if test "${enable_timedate+set}" = set; then
3069 enableval
="$enable_timedate"
3071 if test "$enableval" = yes; then
3072 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3074 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3079 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x
; then
3081 eval "DEFAULT_$LINE"
3086 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3091 eval "$ac_cv_use_timedate"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3096 if test "$wxUSE_TIMEDATE" = yes; then
3097 echo "$ac_t""yes" 1>&6
3099 echo "$ac_t""no" 1>&6
3103 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3104 echo "configure:3105: checking for --enable-stopwatch" >&5
3106 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3107 if test "${enable_stopwatch+set}" = set; then
3108 enableval
="$enable_stopwatch"
3110 if test "$enableval" = yes; then
3111 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3113 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3118 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3119 if test "x$LINE" != x
; then
3120 eval "DEFAULT_$LINE"
3125 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3130 eval "$ac_cv_use_stopwatch"
3131 if test "$no_cache" != 1; then
3132 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3135 if test "$wxUSE_STOPWATCH" = yes; then
3136 echo "$ac_t""yes" 1>&6
3138 echo "$ac_t""no" 1>&6
3142 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3143 echo "configure:3144: checking for --enable-dialupman" >&5
3145 # Check whether --enable-dialupman or --disable-dialupman was given.
3146 if test "${enable_dialupman+set}" = set; then
3147 enableval
="$enable_dialupman"
3149 if test "$enableval" = yes; then
3150 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3152 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3157 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3158 if test "x$LINE" != x
; then
3159 eval "DEFAULT_$LINE"
3164 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3169 eval "$ac_cv_use_dialupman"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3174 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3175 echo "$ac_t""yes" 1>&6
3177 echo "$ac_t""no" 1>&6
3181 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3182 echo "configure:3183: checking for --enable-apple_ieee" >&5
3184 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3185 if test "${enable_apple_ieee+set}" = set; then
3186 enableval
="$enable_apple_ieee"
3188 if test "$enableval" = yes; then
3189 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3191 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3196 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x
; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3208 eval "$ac_cv_use_apple_ieee"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3213 if test "$wxUSE_APPLE_IEEE" = yes; then
3214 echo "$ac_t""yes" 1>&6
3216 echo "$ac_t""no" 1>&6
3220 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3221 echo "configure:3222: checking for --enable-timer" >&5
3223 # Check whether --enable-timer or --disable-timer was given.
3224 if test "${enable_timer+set}" = set; then
3225 enableval
="$enable_timer"
3227 if test "$enableval" = yes; then
3228 ac_cv_use_timer
='wxUSE_TIMER=yes'
3230 ac_cv_use_timer
='wxUSE_TIMER=no'
3235 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x
; then
3237 eval "DEFAULT_$LINE"
3242 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3247 eval "$ac_cv_use_timer"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3252 if test "$wxUSE_TIMER" = yes; then
3253 echo "$ac_t""yes" 1>&6
3255 echo "$ac_t""no" 1>&6
3259 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3260 echo "configure:3261: checking for --enable-wave" >&5
3262 # Check whether --enable-wave or --disable-wave was given.
3263 if test "${enable_wave+set}" = set; then
3264 enableval
="$enable_wave"
3266 if test "$enableval" = yes; then
3267 ac_cv_use_wave
='wxUSE_WAVE=yes'
3269 ac_cv_use_wave
='wxUSE_WAVE=no'
3274 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3275 if test "x$LINE" != x
; then
3276 eval "DEFAULT_$LINE"
3281 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3286 eval "$ac_cv_use_wave"
3287 if test "$no_cache" != 1; then
3288 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3291 if test "$wxUSE_WAVE" = yes; then
3292 echo "$ac_t""yes" 1>&6
3294 echo "$ac_t""no" 1>&6
3298 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3299 echo "configure:3300: checking for --enable-fraction" >&5
3301 # Check whether --enable-fraction or --disable-fraction was given.
3302 if test "${enable_fraction+set}" = set; then
3303 enableval
="$enable_fraction"
3305 if test "$enableval" = yes; then
3306 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3308 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3313 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3314 if test "x$LINE" != x
; then
3315 eval "DEFAULT_$LINE"
3320 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3325 eval "$ac_cv_use_fraction"
3326 if test "$no_cache" != 1; then
3327 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3330 if test "$wxUSE_FRACTION" = yes; then
3331 echo "$ac_t""yes" 1>&6
3333 echo "$ac_t""no" 1>&6
3337 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3338 echo "configure:3339: checking for --enable-dynlib" >&5
3340 # Check whether --enable-dynlib or --disable-dynlib was given.
3341 if test "${enable_dynlib+set}" = set; then
3342 enableval
="$enable_dynlib"
3344 if test "$enableval" = yes; then
3345 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3347 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3352 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3353 if test "x$LINE" != x
; then
3354 eval "DEFAULT_$LINE"
3359 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3364 eval "$ac_cv_use_dynlib"
3365 if test "$no_cache" != 1; then
3366 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3369 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3370 echo "$ac_t""yes" 1>&6
3372 echo "$ac_t""no" 1>&6
3376 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3377 echo "configure:3378: checking for --enable-longlong" >&5
3379 # Check whether --enable-longlong or --disable-longlong was given.
3380 if test "${enable_longlong+set}" = set; then
3381 enableval
="$enable_longlong"
3383 if test "$enableval" = yes; then
3384 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3386 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3391 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x
; then
3393 eval "DEFAULT_$LINE"
3398 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3403 eval "$ac_cv_use_longlong"
3404 if test "$no_cache" != 1; then
3405 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3408 if test "$wxUSE_LONGLONG" = yes; then
3409 echo "$ac_t""yes" 1>&6
3411 echo "$ac_t""no" 1>&6
3415 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3416 echo "configure:3417: checking for --enable-geometry" >&5
3418 # Check whether --enable-geometry or --disable-geometry was given.
3419 if test "${enable_geometry+set}" = set; then
3420 enableval
="$enable_geometry"
3422 if test "$enableval" = yes; then
3423 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3425 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3430 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3431 if test "x$LINE" != x
; then
3432 eval "DEFAULT_$LINE"
3437 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3442 eval "$ac_cv_use_geometry"
3443 if test "$no_cache" != 1; then
3444 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3447 if test "$wxUSE_GEOMETRY" = yes; then
3448 echo "$ac_t""yes" 1>&6
3450 echo "$ac_t""no" 1>&6
3454 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3455 echo "configure:3456: checking for --enable-log" >&5
3457 # Check whether --enable-log or --disable-log was given.
3458 if test "${enable_log+set}" = set; then
3459 enableval
="$enable_log"
3461 if test "$enableval" = yes; then
3462 ac_cv_use_log
='wxUSE_LOG=yes'
3464 ac_cv_use_log
='wxUSE_LOG=no'
3469 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3470 if test "x$LINE" != x
; then
3471 eval "DEFAULT_$LINE"
3476 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3481 eval "$ac_cv_use_log"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3486 if test "$wxUSE_LOG" = yes; then
3487 echo "$ac_t""yes" 1>&6
3489 echo "$ac_t""no" 1>&6
3493 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3494 echo "configure:3495: checking for --enable-streams" >&5
3496 # Check whether --enable-streams or --disable-streams was given.
3497 if test "${enable_streams+set}" = set; then
3498 enableval
="$enable_streams"
3500 if test "$enableval" = yes; then
3501 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3503 ac_cv_use_streams
='wxUSE_STREAMS=no'
3508 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3509 if test "x$LINE" != x
; then
3510 eval "DEFAULT_$LINE"
3515 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3520 eval "$ac_cv_use_streams"
3521 if test "$no_cache" != 1; then
3522 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3525 if test "$wxUSE_STREAMS" = yes; then
3526 echo "$ac_t""yes" 1>&6
3528 echo "$ac_t""no" 1>&6
3532 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3533 echo "configure:3534: checking for --enable-file" >&5
3535 # Check whether --enable-file or --disable-file was given.
3536 if test "${enable_file+set}" = set; then
3537 enableval
="$enable_file"
3539 if test "$enableval" = yes; then
3540 ac_cv_use_file
='wxUSE_FILE=yes'
3542 ac_cv_use_file
='wxUSE_FILE=no'
3547 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3548 if test "x$LINE" != x
; then
3549 eval "DEFAULT_$LINE"
3554 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3559 eval "$ac_cv_use_file"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3564 if test "$wxUSE_FILE" = yes; then
3565 echo "$ac_t""yes" 1>&6
3567 echo "$ac_t""no" 1>&6
3571 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3572 echo "configure:3573: checking for --enable-ffile" >&5
3574 # Check whether --enable-ffile or --disable-ffile was given.
3575 if test "${enable_ffile+set}" = set; then
3576 enableval
="$enable_ffile"
3578 if test "$enableval" = yes; then
3579 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3581 ac_cv_use_ffile
='wxUSE_FFILE=no'
3586 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3587 if test "x$LINE" != x
; then
3588 eval "DEFAULT_$LINE"
3593 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3598 eval "$ac_cv_use_ffile"
3599 if test "$no_cache" != 1; then
3600 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3603 if test "$wxUSE_FFILE" = yes; then
3604 echo "$ac_t""yes" 1>&6
3606 echo "$ac_t""no" 1>&6
3610 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3611 echo "configure:3612: checking for --enable-textfile" >&5
3613 # Check whether --enable-textfile or --disable-textfile was given.
3614 if test "${enable_textfile+set}" = set; then
3615 enableval
="$enable_textfile"
3617 if test "$enableval" = yes; then
3618 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3620 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3625 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3626 if test "x$LINE" != x
; then
3627 eval "DEFAULT_$LINE"
3632 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3637 eval "$ac_cv_use_textfile"
3638 if test "$no_cache" != 1; then
3639 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3642 if test "$wxUSE_TEXTFILE" = yes; then
3643 echo "$ac_t""yes" 1>&6
3645 echo "$ac_t""no" 1>&6
3649 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3650 echo "configure:3651: checking for --enable-fontmap" >&5
3652 # Check whether --enable-fontmap or --disable-fontmap was given.
3653 if test "${enable_fontmap+set}" = set; then
3654 enableval
="$enable_fontmap"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3659 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3664 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3676 eval "$ac_cv_use_fontmap"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3681 if test "$wxUSE_FONTMAP" = yes; then
3682 echo "$ac_t""yes" 1>&6
3684 echo "$ac_t""no" 1>&6
3688 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3689 echo "configure:3690: checking for --enable-unicode" >&5
3691 # Check whether --enable-unicode or --disable-unicode was given.
3692 if test "${enable_unicode+set}" = set; then
3693 enableval
="$enable_unicode"
3695 if test "$enableval" = yes; then
3696 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3698 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3703 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x
; then
3705 eval "DEFAULT_$LINE"
3710 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3715 eval "$ac_cv_use_unicode"
3716 if test "$no_cache" != 1; then
3717 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3720 if test "$wxUSE_UNICODE" = yes; then
3721 echo "$ac_t""yes" 1>&6
3723 echo "$ac_t""no" 1>&6
3727 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3728 echo "configure:3729: checking for --enable-wcsrtombs" >&5
3730 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3731 if test "${enable_wcsrtombs+set}" = set; then
3732 enableval
="$enable_wcsrtombs"
3734 if test "$enableval" = yes; then
3735 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3737 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3742 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3743 if test "x$LINE" != x
; then
3744 eval "DEFAULT_$LINE"
3749 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3754 eval "$ac_cv_use_wcsrtombs"
3755 if test "$no_cache" != 1; then
3756 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3759 if test "$wxUSE_WCSRTOMBS" = yes; then
3760 echo "$ac_t""yes" 1>&6
3762 echo "$ac_t""no" 1>&6
3766 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3767 echo "configure:3768: checking for --enable-wxprintfv" >&5
3769 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3770 if test "${enable_wxprintfv+set}" = set; then
3771 enableval
="$enable_wxprintfv"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3776 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3781 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3793 eval "$ac_cv_use_wxprintfv"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3798 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3799 echo "$ac_t""yes" 1>&6
3801 echo "$ac_t""no" 1>&6
3805 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3806 echo "configure:3807: checking for --enable-std_iostreams" >&5
3808 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3809 if test "${enable_std_iostreams+set}" = set; then
3810 enableval
="$enable_std_iostreams"
3812 if test "$enableval" = yes; then
3813 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3815 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3820 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3821 if test "x$LINE" != x
; then
3822 eval "DEFAULT_$LINE"
3827 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3832 eval "$ac_cv_use_std_iostreams"
3833 if test "$no_cache" != 1; then
3834 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3837 if test "$wxUSE_STD_IOSTREAM" = yes; then
3838 echo "$ac_t""yes" 1>&6
3840 echo "$ac_t""no" 1>&6
3844 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3845 echo "configure:3846: checking for --enable-filesystem" >&5
3847 # Check whether --enable-filesystem or --disable-filesystem was given.
3848 if test "${enable_filesystem+set}" = set; then
3849 enableval
="$enable_filesystem"
3851 if test "$enableval" = yes; then
3852 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3854 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3859 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3860 if test "x$LINE" != x
; then
3861 eval "DEFAULT_$LINE"
3866 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3871 eval "$ac_cv_use_filesystem"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3876 if test "$wxUSE_FILESYSTEM" = yes; then
3877 echo "$ac_t""yes" 1>&6
3879 echo "$ac_t""no" 1>&6
3883 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3884 echo "configure:3885: checking for --enable-fs_inet" >&5
3886 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3887 if test "${enable_fs_inet+set}" = set; then
3888 enableval
="$enable_fs_inet"
3890 if test "$enableval" = yes; then
3891 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3893 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3898 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3899 if test "x$LINE" != x
; then
3900 eval "DEFAULT_$LINE"
3905 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3910 eval "$ac_cv_use_fs_inet"
3911 if test "$no_cache" != 1; then
3912 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3915 if test "$wxUSE_FS_INET" = yes; then
3916 echo "$ac_t""yes" 1>&6
3918 echo "$ac_t""no" 1>&6
3922 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3923 echo "configure:3924: checking for --enable-fs_zip" >&5
3925 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3926 if test "${enable_fs_zip+set}" = set; then
3927 enableval
="$enable_fs_zip"
3929 if test "$enableval" = yes; then
3930 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3932 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3937 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3938 if test "x$LINE" != x
; then
3939 eval "DEFAULT_$LINE"
3944 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3949 eval "$ac_cv_use_fs_zip"
3950 if test "$no_cache" != 1; then
3951 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3954 if test "$wxUSE_FS_ZIP" = yes; then
3955 echo "$ac_t""yes" 1>&6
3957 echo "$ac_t""no" 1>&6
3961 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3962 echo "configure:3963: checking for --enable-zipstream" >&5
3964 # Check whether --enable-zipstream or --disable-zipstream was given.
3965 if test "${enable_zipstream+set}" = set; then
3966 enableval
="$enable_zipstream"
3968 if test "$enableval" = yes; then
3969 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3971 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3976 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3977 if test "x$LINE" != x
; then
3978 eval "DEFAULT_$LINE"
3983 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3988 eval "$ac_cv_use_zipstream"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_ZIPSTREAM" = yes; then
3994 echo "$ac_t""yes" 1>&6
3996 echo "$ac_t""no" 1>&6
4001 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4002 echo "configure:4003: checking for --enable-catch_segvs" >&5
4004 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4005 if test "${enable_catch_segvs+set}" = set; then
4006 enableval
="$enable_catch_segvs"
4008 if test "$enableval" = yes; then
4009 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4011 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4016 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x
; then
4018 eval "DEFAULT_$LINE"
4023 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4028 eval "$ac_cv_use_catch_segvs"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4033 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4034 echo "$ac_t""yes" 1>&6
4036 echo "$ac_t""no" 1>&6
4040 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4041 echo "configure:4042: checking for --enable-snglinst" >&5
4043 # Check whether --enable-snglinst or --disable-snglinst was given.
4044 if test "${enable_snglinst+set}" = set; then
4045 enableval
="$enable_snglinst"
4047 if test "$enableval" = yes; then
4048 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4050 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4055 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x
; then
4057 eval "DEFAULT_$LINE"
4062 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4067 eval "$ac_cv_use_snglinst"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4072 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4073 echo "$ac_t""yes" 1>&6
4075 echo "$ac_t""no" 1>&6
4080 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4081 echo "configure:4082: checking for --enable-mimetype" >&5
4083 # Check whether --enable-mimetype or --disable-mimetype was given.
4084 if test "${enable_mimetype+set}" = set; then
4085 enableval
="$enable_mimetype"
4087 if test "$enableval" = yes; then
4088 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4090 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4095 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4096 if test "x$LINE" != x
; then
4097 eval "DEFAULT_$LINE"
4102 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4107 eval "$ac_cv_use_mimetype"
4108 if test "$no_cache" != 1; then
4109 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4112 if test "$wxUSE_MIMETYPE" = yes; then
4113 echo "$ac_t""yes" 1>&6
4115 echo "$ac_t""no" 1>&6
4121 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4122 echo "configure:4123: checking for --enable-threads" >&5
4124 # Check whether --enable-threads or --disable-threads was given.
4125 if test "${enable_threads+set}" = set; then
4126 enableval
="$enable_threads"
4128 if test "$enableval" = yes; then
4129 ac_cv_use_threads
='wxUSE_THREADS=yes'
4131 ac_cv_use_threads
='wxUSE_THREADS=no'
4136 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x
; then
4138 eval "DEFAULT_$LINE"
4143 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4148 eval "$ac_cv_use_threads"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4153 if test "$wxUSE_THREADS" = yes; then
4154 echo "$ac_t""yes" 1>&6
4156 echo "$ac_t""no" 1>&6
4160 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4161 echo "configure:4162: checking for --enable-serial" >&5
4163 # Check whether --enable-serial or --disable-serial was given.
4164 if test "${enable_serial+set}" = set; then
4165 enableval
="$enable_serial"
4167 if test "$enableval" = yes; then
4168 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4170 ac_cv_use_serial
='wxUSE_SERIAL=no'
4175 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4176 if test "x$LINE" != x
; then
4177 eval "DEFAULT_$LINE"
4182 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4187 eval "$ac_cv_use_serial"
4188 if test "$no_cache" != 1; then
4189 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4192 if test "$wxUSE_SERIAL" = yes; then
4193 echo "$ac_t""yes" 1>&6
4195 echo "$ac_t""no" 1>&6
4199 if test "$wxUSE_GUI" = "yes"; then
4203 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4204 echo "configure:4205: checking for --enable-docview" >&5
4206 # Check whether --enable-docview or --disable-docview was given.
4207 if test "${enable_docview+set}" = set; then
4208 enableval
="$enable_docview"
4210 if test "$enableval" = yes; then
4211 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4213 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4218 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4219 if test "x$LINE" != x
; then
4220 eval "DEFAULT_$LINE"
4225 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4230 eval "$ac_cv_use_docview"
4231 if test "$no_cache" != 1; then
4232 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4235 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4236 echo "$ac_t""yes" 1>&6
4238 echo "$ac_t""no" 1>&6
4242 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4243 echo "configure:4244: checking for --enable-help" >&5
4245 # Check whether --enable-help or --disable-help was given.
4246 if test "${enable_help+set}" = set; then
4247 enableval
="$enable_help"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_help
='wxUSE_HELP=yes'
4252 ac_cv_use_help
='wxUSE_HELP=no'
4257 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4269 eval "$ac_cv_use_help"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_HELP" = yes; then
4275 echo "$ac_t""yes" 1>&6
4277 echo "$ac_t""no" 1>&6
4281 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4282 echo "configure:4283: checking for --enable-mshtmlhelp" >&5
4284 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4285 if test "${enable_mshtmlhelp+set}" = set; then
4286 enableval
="$enable_mshtmlhelp"
4288 if test "$enableval" = yes; then
4289 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4291 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4296 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x
; then
4298 eval "DEFAULT_$LINE"
4303 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4308 eval "$ac_cv_use_mshtmlhelp"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_MS_HTML_HELP" = yes; then
4314 echo "$ac_t""yes" 1>&6
4316 echo "$ac_t""no" 1>&6
4320 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4321 echo "configure:4322: checking for --enable-html" >&5
4323 # Check whether --enable-html or --disable-html was given.
4324 if test "${enable_html+set}" = set; then
4325 enableval
="$enable_html"
4327 if test "$enableval" = yes; then
4328 ac_cv_use_html
='wxUSE_HTML=yes'
4330 ac_cv_use_html
='wxUSE_HTML=no'
4335 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4336 if test "x$LINE" != x
; then
4337 eval "DEFAULT_$LINE"
4342 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4347 eval "$ac_cv_use_html"
4348 if test "$no_cache" != 1; then
4349 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4352 if test "$wxUSE_HTML" = yes; then
4353 echo "$ac_t""yes" 1>&6
4355 echo "$ac_t""no" 1>&6
4359 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4360 echo "configure:4361: checking for --enable-htmlhelp" >&5
4362 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4363 if test "${enable_htmlhelp+set}" = set; then
4364 enableval
="$enable_htmlhelp"
4366 if test "$enableval" = yes; then
4367 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4369 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4374 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4375 if test "x$LINE" != x
; then
4376 eval "DEFAULT_$LINE"
4381 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4386 eval "$ac_cv_use_htmlhelp"
4387 if test "$no_cache" != 1; then
4388 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4391 if test "$wxUSE_WXHTML_HELP" = yes; then
4392 echo "$ac_t""yes" 1>&6
4394 echo "$ac_t""no" 1>&6
4398 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4399 echo "configure:4400: checking for --enable-constraints" >&5
4401 # Check whether --enable-constraints or --disable-constraints was given.
4402 if test "${enable_constraints+set}" = set; then
4403 enableval
="$enable_constraints"
4405 if test "$enableval" = yes; then
4406 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4408 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4413 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4414 if test "x$LINE" != x
; then
4415 eval "DEFAULT_$LINE"
4420 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4425 eval "$ac_cv_use_constraints"
4426 if test "$no_cache" != 1; then
4427 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4430 if test "$wxUSE_CONSTRAINTS" = yes; then
4431 echo "$ac_t""yes" 1>&6
4433 echo "$ac_t""no" 1>&6
4437 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4438 echo "configure:4439: checking for --enable-printarch" >&5
4440 # Check whether --enable-printarch or --disable-printarch was given.
4441 if test "${enable_printarch+set}" = set; then
4442 enableval
="$enable_printarch"
4444 if test "$enableval" = yes; then
4445 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4447 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4452 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4453 if test "x$LINE" != x
; then
4454 eval "DEFAULT_$LINE"
4459 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4464 eval "$ac_cv_use_printarch"
4465 if test "$no_cache" != 1; then
4466 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4469 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4470 echo "$ac_t""yes" 1>&6
4472 echo "$ac_t""no" 1>&6
4476 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4477 echo "configure:4478: checking for --enable-mdi" >&5
4479 # Check whether --enable-mdi or --disable-mdi was given.
4480 if test "${enable_mdi+set}" = set; then
4481 enableval
="$enable_mdi"
4483 if test "$enableval" = yes; then
4484 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4486 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4491 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4492 if test "x$LINE" != x
; then
4493 eval "DEFAULT_$LINE"
4498 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4503 eval "$ac_cv_use_mdi"
4504 if test "$no_cache" != 1; then
4505 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4508 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4509 echo "$ac_t""yes" 1>&6
4511 echo "$ac_t""no" 1>&6
4515 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4516 echo "configure:4517: checking for --enable-loggui" >&5
4518 # Check whether --enable-loggui or --disable-loggui was given.
4519 if test "${enable_loggui+set}" = set; then
4520 enableval
="$enable_loggui"
4522 if test "$enableval" = yes; then
4523 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4525 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4530 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x
; then
4532 eval "DEFAULT_$LINE"
4537 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4542 eval "$ac_cv_use_loggui"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4547 if test "$wxUSE_LOGGUI" = yes; then
4548 echo "$ac_t""yes" 1>&6
4550 echo "$ac_t""no" 1>&6
4554 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4555 echo "configure:4556: checking for --enable-logwin" >&5
4557 # Check whether --enable-logwin or --disable-logwin was given.
4558 if test "${enable_logwin+set}" = set; then
4559 enableval
="$enable_logwin"
4561 if test "$enableval" = yes; then
4562 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4564 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4569 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4576 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4581 eval "$ac_cv_use_logwin"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4586 if test "$wxUSE_LOGWINDOW" = yes; then
4587 echo "$ac_t""yes" 1>&6
4589 echo "$ac_t""no" 1>&6
4594 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4595 echo "configure:4596: checking for --enable-postscript" >&5
4597 # Check whether --enable-postscript or --disable-postscript was given.
4598 if test "${enable_postscript+set}" = set; then
4599 enableval
="$enable_postscript"
4601 if test "$enableval" = yes; then
4602 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4604 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4609 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4610 if test "x$LINE" != x
; then
4611 eval "DEFAULT_$LINE"
4616 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4621 eval "$ac_cv_use_postscript"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4626 if test "$wxUSE_POSTSCRIPT" = yes; then
4627 echo "$ac_t""yes" 1>&6
4629 echo "$ac_t""no" 1>&6
4636 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4637 echo "configure:4638: checking for --enable-prologio" >&5
4639 # Check whether --enable-prologio or --disable-prologio was given.
4640 if test "${enable_prologio+set}" = set; then
4641 enableval
="$enable_prologio"
4643 if test "$enableval" = yes; then
4644 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4646 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4651 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4652 if test "x$LINE" != x
; then
4653 eval "DEFAULT_$LINE"
4658 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4663 eval "$ac_cv_use_prologio"
4664 if test "$no_cache" != 1; then
4665 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4668 if test "$wxUSE_PROLOGIO" = yes; then
4669 echo "$ac_t""yes" 1>&6
4671 echo "$ac_t""no" 1>&6
4675 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4676 echo "configure:4677: checking for --enable-resources" >&5
4678 # Check whether --enable-resources or --disable-resources was given.
4679 if test "${enable_resources+set}" = set; then
4680 enableval
="$enable_resources"
4682 if test "$enableval" = yes; then
4683 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4685 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4690 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4691 if test "x$LINE" != x
; then
4692 eval "DEFAULT_$LINE"
4697 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4702 eval "$ac_cv_use_resources"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4707 if test "$wxUSE_RESOURCES" = yes; then
4708 echo "$ac_t""yes" 1>&6
4710 echo "$ac_t""no" 1>&6
4715 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4716 echo "configure:4717: checking for --enable-xresources" >&5
4718 # Check whether --enable-xresources or --disable-xresources was given.
4719 if test "${enable_xresources+set}" = set; then
4720 enableval
="$enable_xresources"
4722 if test "$enableval" = yes; then
4723 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4725 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4730 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x
; then
4732 eval "DEFAULT_$LINE"
4737 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4742 eval "$ac_cv_use_xresources"
4743 if test "$no_cache" != 1; then
4744 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4747 if test "$wxUSE_X_RESOURCES" = yes; then
4748 echo "$ac_t""yes" 1>&6
4750 echo "$ac_t""no" 1>&6
4756 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4757 echo "configure:4758: checking for --enable-clipboard" >&5
4759 # Check whether --enable-clipboard or --disable-clipboard was given.
4760 if test "${enable_clipboard+set}" = set; then
4761 enableval
="$enable_clipboard"
4763 if test "$enableval" = yes; then
4764 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4766 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4771 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4772 if test "x$LINE" != x
; then
4773 eval "DEFAULT_$LINE"
4778 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4783 eval "$ac_cv_use_clipboard"
4784 if test "$no_cache" != 1; then
4785 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4788 if test "$wxUSE_CLIPBOARD" = yes; then
4789 echo "$ac_t""yes" 1>&6
4791 echo "$ac_t""no" 1>&6
4795 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4796 echo "configure:4797: checking for --enable-dnd" >&5
4798 # Check whether --enable-dnd or --disable-dnd was given.
4799 if test "${enable_dnd+set}" = set; then
4800 enableval
="$enable_dnd"
4802 if test "$enableval" = yes; then
4803 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4805 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4810 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4811 if test "x$LINE" != x
; then
4812 eval "DEFAULT_$LINE"
4817 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4822 eval "$ac_cv_use_dnd"
4823 if test "$no_cache" != 1; then
4824 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4827 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4828 echo "$ac_t""yes" 1>&6
4830 echo "$ac_t""no" 1>&6
4834 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4835 echo "configure:4836: checking for --enable-metafile" >&5
4837 # Check whether --enable-metafile or --disable-metafile was given.
4838 if test "${enable_metafile+set}" = set; then
4839 enableval
="$enable_metafile"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4844 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4849 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x
; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4861 eval "$ac_cv_use_metafile"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4866 if test "$wxUSE_METAFILE" = yes; then
4867 echo "$ac_t""yes" 1>&6
4869 echo "$ac_t""no" 1>&6
4874 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4875 echo "configure:4876: checking for --enable-wxtree" >&5
4877 # Check whether --enable-wxtree or --disable-wxtree was given.
4878 if test "${enable_wxtree+set}" = set; then
4879 enableval
="$enable_wxtree"
4881 if test "$enableval" = yes; then
4882 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4884 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4889 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x
; then
4891 eval "DEFAULT_$LINE"
4896 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4901 eval "$ac_cv_use_wxtree"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_WXTREE" = yes; then
4907 echo "$ac_t""yes" 1>&6
4909 echo "$ac_t""no" 1>&6
4915 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4916 echo "configure:4917: checking for --enable-controls" >&5
4918 # Check whether --enable-controls or --disable-controls was given.
4919 if test "${enable_controls+set}" = set; then
4920 enableval
="$enable_controls"
4922 if test "$enableval" = yes; then
4923 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4925 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4930 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4931 if test "x$LINE" != x
; then
4932 eval "DEFAULT_$LINE"
4937 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4942 eval "$ac_cv_use_controls"
4943 if test "$no_cache" != 1; then
4944 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4947 if test "$wxUSE_CONTROLS" = yes; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4954 if test "$wxUSE_CONTROLS" = "yes"; then
4955 DEFAULT_wxUSE_ACCEL
=yes
4956 DEFAULT_wxUSE_BMPBUTTON
=yes
4957 DEFAULT_wxUSE_BUTTON
=yes
4958 DEFAULT_wxUSE_CALCTRL
=no
4959 DEFAULT_wxUSE_CARET
=yes
4960 DEFAULT_wxUSE_COMBOBOX
=yes
4961 DEFAULT_wxUSE_CHECKBOX
=yes
4962 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4963 DEFAULT_wxUSE_CHOICE
=yes
4964 DEFAULT_wxUSE_GAUGE
=yes
4965 DEFAULT_wxUSE_GRID
=yes
4966 DEFAULT_wxUSE_NEW_GRID
=yes
4967 DEFAULT_wxUSE_IMAGLIST
=yes
4968 DEFAULT_wxUSE_LISTBOX
=yes
4969 DEFAULT_wxUSE_LISTCTRL
=yes
4970 DEFAULT_wxUSE_NOTEBOOK
=yes
4971 DEFAULT_wxUSE_RADIOBOX
=yes
4972 DEFAULT_wxUSE_RADIOBTN
=yes
4973 DEFAULT_wxUSE_SASH
=yes
4974 DEFAULT_wxUSE_SCROLLBAR
=yes
4975 DEFAULT_wxUSE_SLIDER
=yes
4976 DEFAULT_wxUSE_SPINBTN
=yes
4977 DEFAULT_wxUSE_SPINCTRL
=yes
4978 DEFAULT_wxUSE_SPLITTER
=yes
4979 DEFAULT_wxUSE_STATBMP
=yes
4980 DEFAULT_wxUSE_STATBOX
=yes
4981 DEFAULT_wxUSE_STATLINE
=yes
4982 DEFAULT_wxUSE_STATUSBAR
=yes
4983 DEFAULT_wxUSE_TAB_DIALOG
=yes
4984 DEFAULT_wxUSE_TOGGLEBTN
=yes
4985 DEFAULT_wxUSE_TOOLBAR
=yes
4986 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4987 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4988 DEFAULT_wxUSE_TOOLTIPS
=yes
4989 DEFAULT_wxUSE_TREECTRL
=yes
4990 DEFAULT_wxUSE_POPUPWIN
=yes
4991 elif test "$wxUSE_CONTROLS" = "no"; then
4992 DEFAULT_wxUSE_ACCEL
=no
4993 DEFAULT_wxUSE_BMPBUTTON
=no
4994 DEFAULT_wxUSE_BUTTON
=no
4995 DEFAULT_wxUSE_CALCTRL
=no
4996 DEFAULT_wxUSE_CARET
=no
4997 DEFAULT_wxUSE_COMBOBOX
=no
4998 DEFAULT_wxUSE_CHECKBOX
=no
4999 DEFAULT_wxUSE_CHECKLISTBOX
=no
5000 DEFAULT_wxUSE_CHOICE
=no
5001 DEFAULT_wxUSE_GAUGE
=no
5002 DEFAULT_wxUSE_GRID
=no
5003 DEFAULT_wxUSE_NEW_GRID
=no
5004 DEFAULT_wxUSE_IMAGLIST
=no
5005 DEFAULT_wxUSE_LISTBOX
=no
5006 DEFAULT_wxUSE_LISTCTRL
=no
5007 DEFAULT_wxUSE_NOTEBOOK
=no
5008 DEFAULT_wxUSE_RADIOBOX
=no
5009 DEFAULT_wxUSE_RADIOBTN
=no
5010 DEFAULT_wxUSE_SASH
=no
5011 DEFAULT_wxUSE_SCROLLBAR
=no
5012 DEFAULT_wxUSE_SLIDER
=no
5013 DEFAULT_wxUSE_SPINBTN
=no
5014 DEFAULT_wxUSE_SPINCTRL
=no
5015 DEFAULT_wxUSE_SPLITTER
=no
5016 DEFAULT_wxUSE_STATBMP
=no
5017 DEFAULT_wxUSE_STATBOX
=no
5018 DEFAULT_wxUSE_STATLINE
=no
5019 DEFAULT_wxUSE_STATUSBAR
=no
5020 DEFAULT_wxUSE_TAB_DIALOG
=no
5021 DEFAULT_wxUSE_TOGGLEBTN
=no
5022 DEFAULT_wxUSE_TOOLBAR
=no
5023 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5024 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5025 DEFAULT_wxUSE_TOOLTIPS
=no
5026 DEFAULT_wxUSE_TREECTRL
=no
5027 DEFAULT_wxUSE_POPUPWIN
=no
5031 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5032 echo "configure:5033: checking for --enable-accel" >&5
5034 # Check whether --enable-accel or --disable-accel was given.
5035 if test "${enable_accel+set}" = set; then
5036 enableval
="$enable_accel"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5041 ac_cv_use_accel
='wxUSE_ACCEL=no'
5046 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x
; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5058 eval "$ac_cv_use_accel"
5059 if test "$no_cache" != 1; then
5060 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5063 if test "$wxUSE_ACCEL" = yes; then
5064 echo "$ac_t""yes" 1>&6
5066 echo "$ac_t""no" 1>&6
5070 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5071 echo "configure:5072: checking for --enable-button" >&5
5073 # Check whether --enable-button or --disable-button was given.
5074 if test "${enable_button+set}" = set; then
5075 enableval
="$enable_button"
5077 if test "$enableval" = yes; then
5078 ac_cv_use_button
='wxUSE_BUTTON=yes'
5080 ac_cv_use_button
='wxUSE_BUTTON=no'
5085 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5086 if test "x$LINE" != x
; then
5087 eval "DEFAULT_$LINE"
5092 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5097 eval "$ac_cv_use_button"
5098 if test "$no_cache" != 1; then
5099 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5102 if test "$wxUSE_BUTTON" = yes; then
5103 echo "$ac_t""yes" 1>&6
5105 echo "$ac_t""no" 1>&6
5109 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5110 echo "configure:5111: checking for --enable-bmpbutton" >&5
5112 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5113 if test "${enable_bmpbutton+set}" = set; then
5114 enableval
="$enable_bmpbutton"
5116 if test "$enableval" = yes; then
5117 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5119 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5124 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5125 if test "x$LINE" != x
; then
5126 eval "DEFAULT_$LINE"
5131 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5136 eval "$ac_cv_use_bmpbutton"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5141 if test "$wxUSE_BMPBUTTON" = yes; then
5142 echo "$ac_t""yes" 1>&6
5144 echo "$ac_t""no" 1>&6
5148 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5149 echo "configure:5150: checking for --enable-calendar" >&5
5151 # Check whether --enable-calendar or --disable-calendar was given.
5152 if test "${enable_calendar+set}" = set; then
5153 enableval
="$enable_calendar"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5158 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5163 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5175 eval "$ac_cv_use_calendar"
5176 if test "$no_cache" != 1; then
5177 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5180 if test "$wxUSE_CALCTRL" = yes; then
5181 echo "$ac_t""yes" 1>&6
5183 echo "$ac_t""no" 1>&6
5187 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5188 echo "configure:5189: checking for --enable-caret" >&5
5190 # Check whether --enable-caret or --disable-caret was given.
5191 if test "${enable_caret+set}" = set; then
5192 enableval
="$enable_caret"
5194 if test "$enableval" = yes; then
5195 ac_cv_use_caret
='wxUSE_CARET=yes'
5197 ac_cv_use_caret
='wxUSE_CARET=no'
5202 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5203 if test "x$LINE" != x
; then
5204 eval "DEFAULT_$LINE"
5209 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5214 eval "$ac_cv_use_caret"
5215 if test "$no_cache" != 1; then
5216 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5219 if test "$wxUSE_CARET" = yes; then
5220 echo "$ac_t""yes" 1>&6
5222 echo "$ac_t""no" 1>&6
5226 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5227 echo "configure:5228: checking for --enable-checkbox" >&5
5229 # Check whether --enable-checkbox or --disable-checkbox was given.
5230 if test "${enable_checkbox+set}" = set; then
5231 enableval
="$enable_checkbox"
5233 if test "$enableval" = yes; then
5234 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5236 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5241 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5242 if test "x$LINE" != x
; then
5243 eval "DEFAULT_$LINE"
5248 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5253 eval "$ac_cv_use_checkbox"
5254 if test "$no_cache" != 1; then
5255 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5258 if test "$wxUSE_CHECKBOX" = yes; then
5259 echo "$ac_t""yes" 1>&6
5261 echo "$ac_t""no" 1>&6
5265 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5266 echo "configure:5267: checking for --enable-checklst" >&5
5268 # Check whether --enable-checklst or --disable-checklst was given.
5269 if test "${enable_checklst+set}" = set; then
5270 enableval
="$enable_checklst"
5272 if test "$enableval" = yes; then
5273 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5275 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5280 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5281 if test "x$LINE" != x
; then
5282 eval "DEFAULT_$LINE"
5287 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5292 eval "$ac_cv_use_checklst"
5293 if test "$no_cache" != 1; then
5294 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5297 if test "$wxUSE_CHECKLST" = yes; then
5298 echo "$ac_t""yes" 1>&6
5300 echo "$ac_t""no" 1>&6
5304 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5305 echo "configure:5306: checking for --enable-choice" >&5
5307 # Check whether --enable-choice or --disable-choice was given.
5308 if test "${enable_choice+set}" = set; then
5309 enableval
="$enable_choice"
5311 if test "$enableval" = yes; then
5312 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5314 ac_cv_use_choice
='wxUSE_CHOICE=no'
5319 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x
; then
5321 eval "DEFAULT_$LINE"
5326 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5331 eval "$ac_cv_use_choice"
5332 if test "$no_cache" != 1; then
5333 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5336 if test "$wxUSE_CHOICE" = yes; then
5337 echo "$ac_t""yes" 1>&6
5339 echo "$ac_t""no" 1>&6
5343 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5344 echo "configure:5345: checking for --enable-combobox" >&5
5346 # Check whether --enable-combobox or --disable-combobox was given.
5347 if test "${enable_combobox+set}" = set; then
5348 enableval
="$enable_combobox"
5350 if test "$enableval" = yes; then
5351 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5353 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5358 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5359 if test "x$LINE" != x
; then
5360 eval "DEFAULT_$LINE"
5365 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5370 eval "$ac_cv_use_combobox"
5371 if test "$no_cache" != 1; then
5372 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5375 if test "$wxUSE_COMBOBOX" = yes; then
5376 echo "$ac_t""yes" 1>&6
5378 echo "$ac_t""no" 1>&6
5382 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5383 echo "configure:5384: checking for --enable-gauge" >&5
5385 # Check whether --enable-gauge or --disable-gauge was given.
5386 if test "${enable_gauge+set}" = set; then
5387 enableval
="$enable_gauge"
5389 if test "$enableval" = yes; then
5390 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5392 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5397 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x
; then
5399 eval "DEFAULT_$LINE"
5404 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5409 eval "$ac_cv_use_gauge"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5414 if test "$wxUSE_GAUGE" = yes; then
5415 echo "$ac_t""yes" 1>&6
5417 echo "$ac_t""no" 1>&6
5421 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5422 echo "configure:5423: checking for --enable-grid" >&5
5424 # Check whether --enable-grid or --disable-grid was given.
5425 if test "${enable_grid+set}" = set; then
5426 enableval
="$enable_grid"
5428 if test "$enableval" = yes; then
5429 ac_cv_use_grid
='wxUSE_GRID=yes'
5431 ac_cv_use_grid
='wxUSE_GRID=no'
5436 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5437 if test "x$LINE" != x
; then
5438 eval "DEFAULT_$LINE"
5443 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5448 eval "$ac_cv_use_grid"
5449 if test "$no_cache" != 1; then
5450 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5453 if test "$wxUSE_GRID" = yes; then
5454 echo "$ac_t""yes" 1>&6
5456 echo "$ac_t""no" 1>&6
5460 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5461 echo "configure:5462: checking for --enable-newgrid" >&5
5463 # Check whether --enable-newgrid or --disable-newgrid was given.
5464 if test "${enable_newgrid+set}" = set; then
5465 enableval
="$enable_newgrid"
5467 if test "$enableval" = yes; then
5468 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5470 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5475 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x
; then
5477 eval "DEFAULT_$LINE"
5482 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5487 eval "$ac_cv_use_newgrid"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5492 if test "$wxUSE_NEW_GRID" = yes; then
5493 echo "$ac_t""yes" 1>&6
5495 echo "$ac_t""no" 1>&6
5499 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5500 echo "configure:5501: checking for --enable-imaglist" >&5
5502 # Check whether --enable-imaglist or --disable-imaglist was given.
5503 if test "${enable_imaglist+set}" = set; then
5504 enableval
="$enable_imaglist"
5506 if test "$enableval" = yes; then
5507 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5509 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5514 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5515 if test "x$LINE" != x
; then
5516 eval "DEFAULT_$LINE"
5521 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5526 eval "$ac_cv_use_imaglist"
5527 if test "$no_cache" != 1; then
5528 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5531 if test "$wxUSE_IMAGLIST" = yes; then
5532 echo "$ac_t""yes" 1>&6
5534 echo "$ac_t""no" 1>&6
5538 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5539 echo "configure:5540: checking for --enable-listbox" >&5
5541 # Check whether --enable-listbox or --disable-listbox was given.
5542 if test "${enable_listbox+set}" = set; then
5543 enableval
="$enable_listbox"
5545 if test "$enableval" = yes; then
5546 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5548 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5553 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5554 if test "x$LINE" != x
; then
5555 eval "DEFAULT_$LINE"
5560 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5565 eval "$ac_cv_use_listbox"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5570 if test "$wxUSE_LISTBOX" = yes; then
5571 echo "$ac_t""yes" 1>&6
5573 echo "$ac_t""no" 1>&6
5577 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5578 echo "configure:5579: checking for --enable-listctrl" >&5
5580 # Check whether --enable-listctrl or --disable-listctrl was given.
5581 if test "${enable_listctrl+set}" = set; then
5582 enableval
="$enable_listctrl"
5584 if test "$enableval" = yes; then
5585 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5587 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5592 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5593 if test "x$LINE" != x
; then
5594 eval "DEFAULT_$LINE"
5599 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5604 eval "$ac_cv_use_listctrl"
5605 if test "$no_cache" != 1; then
5606 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5609 if test "$wxUSE_LISTCTRL" = yes; then
5610 echo "$ac_t""yes" 1>&6
5612 echo "$ac_t""no" 1>&6
5616 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5617 echo "configure:5618: checking for --enable-notebook" >&5
5619 # Check whether --enable-notebook or --disable-notebook was given.
5620 if test "${enable_notebook+set}" = set; then
5621 enableval
="$enable_notebook"
5623 if test "$enableval" = yes; then
5624 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5626 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5631 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5632 if test "x$LINE" != x
; then
5633 eval "DEFAULT_$LINE"
5638 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5643 eval "$ac_cv_use_notebook"
5644 if test "$no_cache" != 1; then
5645 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5648 if test "$wxUSE_NOTEBOOK" = yes; then
5649 echo "$ac_t""yes" 1>&6
5651 echo "$ac_t""no" 1>&6
5655 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5656 echo "configure:5657: checking for --enable-radiobox" >&5
5658 # Check whether --enable-radiobox or --disable-radiobox was given.
5659 if test "${enable_radiobox+set}" = set; then
5660 enableval
="$enable_radiobox"
5662 if test "$enableval" = yes; then
5663 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5665 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5670 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5671 if test "x$LINE" != x
; then
5672 eval "DEFAULT_$LINE"
5677 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5682 eval "$ac_cv_use_radiobox"
5683 if test "$no_cache" != 1; then
5684 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5687 if test "$wxUSE_RADIOBOX" = yes; then
5688 echo "$ac_t""yes" 1>&6
5690 echo "$ac_t""no" 1>&6
5694 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5695 echo "configure:5696: checking for --enable-radiobtn" >&5
5697 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5698 if test "${enable_radiobtn+set}" = set; then
5699 enableval
="$enable_radiobtn"
5701 if test "$enableval" = yes; then
5702 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5704 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5709 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5710 if test "x$LINE" != x
; then
5711 eval "DEFAULT_$LINE"
5716 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5721 eval "$ac_cv_use_radiobtn"
5722 if test "$no_cache" != 1; then
5723 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5726 if test "$wxUSE_RADIOBTN" = yes; then
5727 echo "$ac_t""yes" 1>&6
5729 echo "$ac_t""no" 1>&6
5733 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5734 echo "configure:5735: checking for --enable-sash" >&5
5736 # Check whether --enable-sash or --disable-sash was given.
5737 if test "${enable_sash+set}" = set; then
5738 enableval
="$enable_sash"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_sash
='wxUSE_SASH=yes'
5743 ac_cv_use_sash
='wxUSE_SASH=no'
5748 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5760 eval "$ac_cv_use_sash"
5761 if test "$no_cache" != 1; then
5762 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5765 if test "$wxUSE_SASH" = yes; then
5766 echo "$ac_t""yes" 1>&6
5768 echo "$ac_t""no" 1>&6
5772 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5773 echo "configure:5774: checking for --enable-scrollbar" >&5
5775 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5776 if test "${enable_scrollbar+set}" = set; then
5777 enableval
="$enable_scrollbar"
5779 if test "$enableval" = yes; then
5780 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5782 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5787 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x
; then
5789 eval "DEFAULT_$LINE"
5794 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5799 eval "$ac_cv_use_scrollbar"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5804 if test "$wxUSE_SCROLLBAR" = yes; then
5805 echo "$ac_t""yes" 1>&6
5807 echo "$ac_t""no" 1>&6
5811 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5812 echo "configure:5813: checking for --enable-slider" >&5
5814 # Check whether --enable-slider or --disable-slider was given.
5815 if test "${enable_slider+set}" = set; then
5816 enableval
="$enable_slider"
5818 if test "$enableval" = yes; then
5819 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5821 ac_cv_use_slider
='wxUSE_SLIDER=no'
5826 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x
; then
5828 eval "DEFAULT_$LINE"
5833 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5838 eval "$ac_cv_use_slider"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_SLIDER" = yes; then
5844 echo "$ac_t""yes" 1>&6
5846 echo "$ac_t""no" 1>&6
5850 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5851 echo "configure:5852: checking for --enable-spinbtn" >&5
5853 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5854 if test "${enable_spinbtn+set}" = set; then
5855 enableval
="$enable_spinbtn"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5860 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5865 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5877 eval "$ac_cv_use_spinbtn"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_SPINBTN" = yes; then
5883 echo "$ac_t""yes" 1>&6
5885 echo "$ac_t""no" 1>&6
5889 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5890 echo "configure:5891: checking for --enable-spinctrl" >&5
5892 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5893 if test "${enable_spinctrl+set}" = set; then
5894 enableval
="$enable_spinctrl"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5899 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5904 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5916 eval "$ac_cv_use_spinctrl"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_SPINCTRL" = yes; then
5922 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5928 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5929 echo "configure:5930: checking for --enable-splitter" >&5
5931 # Check whether --enable-splitter or --disable-splitter was given.
5932 if test "${enable_splitter+set}" = set; then
5933 enableval
="$enable_splitter"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5938 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5943 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x
; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5955 eval "$ac_cv_use_splitter"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_SPLITTER" = yes; then
5961 echo "$ac_t""yes" 1>&6
5963 echo "$ac_t""no" 1>&6
5967 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5968 echo "configure:5969: checking for --enable-statbmp" >&5
5970 # Check whether --enable-statbmp or --disable-statbmp was given.
5971 if test "${enable_statbmp+set}" = set; then
5972 enableval
="$enable_statbmp"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5977 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5982 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5994 eval "$ac_cv_use_statbmp"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_STATBMP" = yes; then
6000 echo "$ac_t""yes" 1>&6
6002 echo "$ac_t""no" 1>&6
6006 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6007 echo "configure:6008: checking for --enable-statbox" >&5
6009 # Check whether --enable-statbox or --disable-statbox was given.
6010 if test "${enable_statbox+set}" = set; then
6011 enableval
="$enable_statbox"
6013 if test "$enableval" = yes; then
6014 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6016 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6021 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x
; then
6023 eval "DEFAULT_$LINE"
6028 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6033 eval "$ac_cv_use_statbox"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_STATBOX" = yes; then
6039 echo "$ac_t""yes" 1>&6
6041 echo "$ac_t""no" 1>&6
6045 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6046 echo "configure:6047: checking for --enable-statline" >&5
6048 # Check whether --enable-statline or --disable-statline was given.
6049 if test "${enable_statline+set}" = set; then
6050 enableval
="$enable_statline"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6055 ac_cv_use_statline
='wxUSE_STATLINE=no'
6060 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6072 eval "$ac_cv_use_statline"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6077 if test "$wxUSE_STATLINE" = yes; then
6078 echo "$ac_t""yes" 1>&6
6080 echo "$ac_t""no" 1>&6
6084 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6085 echo "configure:6086: checking for --enable-stattext" >&5
6087 # Check whether --enable-stattext or --disable-stattext was given.
6088 if test "${enable_stattext+set}" = set; then
6089 enableval
="$enable_stattext"
6091 if test "$enableval" = yes; then
6092 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6094 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6099 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x
; then
6101 eval "DEFAULT_$LINE"
6106 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6111 eval "$ac_cv_use_stattext"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6116 if test "$wxUSE_STATTEXT" = yes; then
6117 echo "$ac_t""yes" 1>&6
6119 echo "$ac_t""no" 1>&6
6123 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6124 echo "configure:6125: checking for --enable-statusbar" >&5
6126 # Check whether --enable-statusbar or --disable-statusbar was given.
6127 if test "${enable_statusbar+set}" = set; then
6128 enableval
="$enable_statusbar"
6130 if test "$enableval" = yes; then
6131 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6133 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6138 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x
; then
6140 eval "DEFAULT_$LINE"
6145 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6150 eval "$ac_cv_use_statusbar"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_STATUSBAR" = yes; then
6156 echo "$ac_t""yes" 1>&6
6158 echo "$ac_t""no" 1>&6
6162 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6163 echo "configure:6164: checking for --enable-tabdialog" >&5
6165 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6166 if test "${enable_tabdialog+set}" = set; then
6167 enableval
="$enable_tabdialog"
6169 if test "$enableval" = yes; then
6170 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6172 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6177 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6178 if test "x$LINE" != x
; then
6179 eval "DEFAULT_$LINE"
6184 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6189 eval "$ac_cv_use_tabdialog"
6190 if test "$no_cache" != 1; then
6191 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6194 if test "$wxUSE_TABDIALOG" = yes; then
6195 echo "$ac_t""yes" 1>&6
6197 echo "$ac_t""no" 1>&6
6201 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6202 echo "configure:6203: checking for --enable-textctrl" >&5
6204 # Check whether --enable-textctrl or --disable-textctrl was given.
6205 if test "${enable_textctrl+set}" = set; then
6206 enableval
="$enable_textctrl"
6208 if test "$enableval" = yes; then
6209 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6211 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6216 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x
; then
6218 eval "DEFAULT_$LINE"
6223 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6228 eval "$ac_cv_use_textctrl"
6229 if test "$no_cache" != 1; then
6230 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6233 if test "$wxUSE_TEXTCTRL" = yes; then
6234 echo "$ac_t""yes" 1>&6
6236 echo "$ac_t""no" 1>&6
6240 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6241 echo "configure:6242: checking for --enable-togglebtn" >&5
6243 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6244 if test "${enable_togglebtn+set}" = set; then
6245 enableval
="$enable_togglebtn"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6250 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6255 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x
; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6267 eval "$ac_cv_use_togglebtn"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_TOGGLEBTN" = yes; then
6273 echo "$ac_t""yes" 1>&6
6275 echo "$ac_t""no" 1>&6
6279 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6280 echo "configure:6281: checking for --enable-toolbar" >&5
6282 # Check whether --enable-toolbar or --disable-toolbar was given.
6283 if test "${enable_toolbar+set}" = set; then
6284 enableval
="$enable_toolbar"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6289 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6294 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6306 eval "$ac_cv_use_toolbar"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_TOOLBAR" = yes; then
6312 echo "$ac_t""yes" 1>&6
6314 echo "$ac_t""no" 1>&6
6318 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6319 echo "configure:6320: checking for --enable-tbarnative" >&5
6321 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6322 if test "${enable_tbarnative+set}" = set; then
6323 enableval
="$enable_tbarnative"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6328 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6333 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6345 eval "$ac_cv_use_tbarnative"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6351 echo "$ac_t""yes" 1>&6
6353 echo "$ac_t""no" 1>&6
6357 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6358 echo "configure:6359: checking for --enable-tbarsmpl" >&5
6360 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6361 if test "${enable_tbarsmpl+set}" = set; then
6362 enableval
="$enable_tbarsmpl"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6367 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6372 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x
; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6384 eval "$ac_cv_use_tbarsmpl"
6385 if test "$no_cache" != 1; then
6386 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6389 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6390 echo "$ac_t""yes" 1>&6
6392 echo "$ac_t""no" 1>&6
6396 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6397 echo "configure:6398: checking for --enable-treectrl" >&5
6399 # Check whether --enable-treectrl or --disable-treectrl was given.
6400 if test "${enable_treectrl+set}" = set; then
6401 enableval
="$enable_treectrl"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6406 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6411 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x
; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6423 eval "$ac_cv_use_treectrl"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6428 if test "$wxUSE_TREECTRL" = yes; then
6429 echo "$ac_t""yes" 1>&6
6431 echo "$ac_t""no" 1>&6
6435 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6436 echo "configure:6437: checking for --enable-popupwin" >&5
6438 # Check whether --enable-popupwin or --disable-popupwin was given.
6439 if test "${enable_popupwin+set}" = set; then
6440 enableval
="$enable_popupwin"
6442 if test "$enableval" = yes; then
6443 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6445 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6450 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x
; then
6452 eval "DEFAULT_$LINE"
6457 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6462 eval "$ac_cv_use_popupwin"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6467 if test "$wxUSE_POPUPWIN" = yes; then
6468 echo "$ac_t""yes" 1>&6
6470 echo "$ac_t""no" 1>&6
6476 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6477 echo "configure:6478: checking for --enable-commondlg" >&5
6479 # Check whether --enable-commondlg or --disable-commondlg was given.
6480 if test "${enable_commondlg+set}" = set; then
6481 enableval
="$enable_commondlg"
6483 if test "$enableval" = yes; then
6484 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6486 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6491 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x
; then
6493 eval "DEFAULT_$LINE"
6498 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6503 eval "$ac_cv_use_commondlg"
6504 if test "$no_cache" != 1; then
6505 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6508 if test "$wxUSE_COMMONDLGS" = yes; then
6509 echo "$ac_t""yes" 1>&6
6511 echo "$ac_t""no" 1>&6
6515 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6516 echo "configure:6517: checking for --enable-choicedlg" >&5
6518 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6519 if test "${enable_choicedlg+set}" = set; then
6520 enableval
="$enable_choicedlg"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6525 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6530 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x
; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6542 eval "$ac_cv_use_choicedlg"
6543 if test "$no_cache" != 1; then
6544 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6547 if test "$wxUSE_CHOICEDLG" = yes; then
6548 echo "$ac_t""yes" 1>&6
6550 echo "$ac_t""no" 1>&6
6554 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6555 echo "configure:6556: checking for --enable-coldlg" >&5
6557 # Check whether --enable-coldlg or --disable-coldlg was given.
6558 if test "${enable_coldlg+set}" = set; then
6559 enableval
="$enable_coldlg"
6561 if test "$enableval" = yes; then
6562 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6564 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6569 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x
; then
6571 eval "DEFAULT_$LINE"
6576 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6581 eval "$ac_cv_use_coldlg"
6582 if test "$no_cache" != 1; then
6583 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6586 if test "$wxUSE_COLOURDLG" = yes; then
6587 echo "$ac_t""yes" 1>&6
6589 echo "$ac_t""no" 1>&6
6593 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6594 echo "configure:6595: checking for --enable-filedlg" >&5
6596 # Check whether --enable-filedlg or --disable-filedlg was given.
6597 if test "${enable_filedlg+set}" = set; then
6598 enableval
="$enable_filedlg"
6600 if test "$enableval" = yes; then
6601 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6603 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6608 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x
; then
6610 eval "DEFAULT_$LINE"
6615 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6620 eval "$ac_cv_use_filedlg"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6625 if test "$wxUSE_FILEDLG" = yes; then
6626 echo "$ac_t""yes" 1>&6
6628 echo "$ac_t""no" 1>&6
6632 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6633 echo "configure:6634: checking for --enable-fontdlg" >&5
6635 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6636 if test "${enable_fontdlg+set}" = set; then
6637 enableval
="$enable_fontdlg"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6642 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6647 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6659 eval "$ac_cv_use_fontdlg"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_FONTDLG" = yes; then
6665 echo "$ac_t""yes" 1>&6
6667 echo "$ac_t""no" 1>&6
6671 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6672 echo "configure:6673: checking for --enable-dirdlg" >&5
6674 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6675 if test "${enable_dirdlg+set}" = set; then
6676 enableval
="$enable_dirdlg"
6678 if test "$enableval" = yes; then
6679 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6681 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6686 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x
; then
6688 eval "DEFAULT_$LINE"
6693 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6698 eval "$ac_cv_use_dirdlg"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_DIRDLG" = yes; then
6704 echo "$ac_t""yes" 1>&6
6706 echo "$ac_t""no" 1>&6
6710 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6711 echo "configure:6712: checking for --enable-msgdlg" >&5
6713 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6714 if test "${enable_msgdlg+set}" = set; then
6715 enableval
="$enable_msgdlg"
6717 if test "$enableval" = yes; then
6718 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6720 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6725 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x
; then
6727 eval "DEFAULT_$LINE"
6732 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6737 eval "$ac_cv_use_msgdlg"
6738 if test "$no_cache" != 1; then
6739 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6742 if test "$wxUSE_MSGDLG" = yes; then
6743 echo "$ac_t""yes" 1>&6
6745 echo "$ac_t""no" 1>&6
6749 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6750 echo "configure:6751: checking for --enable-numberdlg" >&5
6752 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6753 if test "${enable_numberdlg+set}" = set; then
6754 enableval
="$enable_numberdlg"
6756 if test "$enableval" = yes; then
6757 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6759 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6764 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x
; then
6766 eval "DEFAULT_$LINE"
6771 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6776 eval "$ac_cv_use_numberdlg"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6781 if test "$wxUSE_NUMBERDLG" = yes; then
6782 echo "$ac_t""yes" 1>&6
6784 echo "$ac_t""no" 1>&6
6788 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6789 echo "configure:6790: checking for --enable-textdlg" >&5
6791 # Check whether --enable-textdlg or --disable-textdlg was given.
6792 if test "${enable_textdlg+set}" = set; then
6793 enableval
="$enable_textdlg"
6795 if test "$enableval" = yes; then
6796 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6798 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6803 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6804 if test "x$LINE" != x
; then
6805 eval "DEFAULT_$LINE"
6810 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6815 eval "$ac_cv_use_textdlg"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6820 if test "$wxUSE_TEXTDLG" = yes; then
6821 echo "$ac_t""yes" 1>&6
6823 echo "$ac_t""no" 1>&6
6827 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6828 echo "configure:6829: checking for --enable-tipdlg" >&5
6830 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6831 if test "${enable_tipdlg+set}" = set; then
6832 enableval
="$enable_tipdlg"
6834 if test "$enableval" = yes; then
6835 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6837 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6842 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x
; then
6844 eval "DEFAULT_$LINE"
6849 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6854 eval "$ac_cv_use_tipdlg"
6855 if test "$no_cache" != 1; then
6856 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6859 if test "$wxUSE_STARTUP_TIPS" = yes; then
6860 echo "$ac_t""yes" 1>&6
6862 echo "$ac_t""no" 1>&6
6866 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6867 echo "configure:6868: checking for --enable-progressdlg" >&5
6869 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6870 if test "${enable_progressdlg+set}" = set; then
6871 enableval
="$enable_progressdlg"
6873 if test "$enableval" = yes; then
6874 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6876 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6881 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6882 if test "x$LINE" != x
; then
6883 eval "DEFAULT_$LINE"
6888 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6893 eval "$ac_cv_use_progressdlg"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6898 if test "$wxUSE_PROGRESSDLG" = yes; then
6899 echo "$ac_t""yes" 1>&6
6901 echo "$ac_t""no" 1>&6
6905 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
6906 echo "configure:6907: checking for --enable-wizarddlg" >&5
6908 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
6909 if test "${enable_wizarddlg+set}" = set; then
6910 enableval
="$enable_wizarddlg"
6912 if test "$enableval" = yes; then
6913 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
6915 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
6920 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x
; then
6922 eval "DEFAULT_$LINE"
6927 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
6932 eval "$ac_cv_use_wizarddlg"
6933 if test "$no_cache" != 1; then
6934 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
6937 if test "$wxUSE_WIZARDDLG" = yes; then
6938 echo "$ac_t""yes" 1>&6
6940 echo "$ac_t""no" 1>&6
6946 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6947 echo "configure:6948: checking for --enable-menus" >&5
6949 # Check whether --enable-menus or --disable-menus was given.
6950 if test "${enable_menus+set}" = set; then
6951 enableval
="$enable_menus"
6953 if test "$enableval" = yes; then
6954 ac_cv_use_menus
='wxUSE_MENUS=yes'
6956 ac_cv_use_menus
='wxUSE_MENUS=no'
6961 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x
; then
6963 eval "DEFAULT_$LINE"
6968 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6973 eval "$ac_cv_use_menus"
6974 if test "$no_cache" != 1; then
6975 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6978 if test "$wxUSE_MENUS" = yes; then
6979 echo "$ac_t""yes" 1>&6
6981 echo "$ac_t""no" 1>&6
6985 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6986 echo "configure:6987: checking for --enable-miniframe" >&5
6988 # Check whether --enable-miniframe or --disable-miniframe was given.
6989 if test "${enable_miniframe+set}" = set; then
6990 enableval
="$enable_miniframe"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6995 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7000 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x
; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7012 eval "$ac_cv_use_miniframe"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_MINIFRAME" = yes; then
7018 echo "$ac_t""yes" 1>&6
7020 echo "$ac_t""no" 1>&6
7024 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7025 echo "configure:7026: checking for --enable-tooltips" >&5
7027 # Check whether --enable-tooltips or --disable-tooltips was given.
7028 if test "${enable_tooltips+set}" = set; then
7029 enableval
="$enable_tooltips"
7031 if test "$enableval" = yes; then
7032 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7034 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7039 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7040 if test "x$LINE" != x
; then
7041 eval "DEFAULT_$LINE"
7046 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7051 eval "$ac_cv_use_tooltips"
7052 if test "$no_cache" != 1; then
7053 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7056 if test "$wxUSE_TOOLTIPS" = yes; then
7057 echo "$ac_t""yes" 1>&6
7059 echo "$ac_t""no" 1>&6
7063 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7064 echo "configure:7065: checking for --enable-splines" >&5
7066 # Check whether --enable-splines or --disable-splines was given.
7067 if test "${enable_splines+set}" = set; then
7068 enableval
="$enable_splines"
7070 if test "$enableval" = yes; then
7071 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7073 ac_cv_use_splines
='wxUSE_SPLINES=no'
7078 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7079 if test "x$LINE" != x
; then
7080 eval "DEFAULT_$LINE"
7085 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7090 eval "$ac_cv_use_splines"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7095 if test "$wxUSE_SPLINES" = yes; then
7096 echo "$ac_t""yes" 1>&6
7098 echo "$ac_t""no" 1>&6
7102 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7103 echo "configure:7104: checking for --enable-validators" >&5
7105 # Check whether --enable-validators or --disable-validators was given.
7106 if test "${enable_validators+set}" = set; then
7107 enableval
="$enable_validators"
7109 if test "$enableval" = yes; then
7110 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7112 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7117 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7118 if test "x$LINE" != x
; then
7119 eval "DEFAULT_$LINE"
7124 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7129 eval "$ac_cv_use_validators"
7130 if test "$no_cache" != 1; then
7131 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7134 if test "$wxUSE_VALIDATORS" = yes; then
7135 echo "$ac_t""yes" 1>&6
7137 echo "$ac_t""no" 1>&6
7141 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7142 echo "configure:7143: checking for --enable-busyinfo" >&5
7144 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7145 if test "${enable_busyinfo+set}" = set; then
7146 enableval
="$enable_busyinfo"
7148 if test "$enableval" = yes; then
7149 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7151 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7156 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7157 if test "x$LINE" != x
; then
7158 eval "DEFAULT_$LINE"
7163 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7168 eval "$ac_cv_use_busyinfo"
7169 if test "$no_cache" != 1; then
7170 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7173 if test "$wxUSE_BUSYINFO" = yes; then
7174 echo "$ac_t""yes" 1>&6
7176 echo "$ac_t""no" 1>&6
7180 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7181 echo "configure:7182: checking for --enable-joystick" >&5
7183 # Check whether --enable-joystick or --disable-joystick was given.
7184 if test "${enable_joystick+set}" = set; then
7185 enableval
="$enable_joystick"
7187 if test "$enableval" = yes; then
7188 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7190 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7195 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7196 if test "x$LINE" != x
; then
7197 eval "DEFAULT_$LINE"
7202 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7207 eval "$ac_cv_use_joystick"
7208 if test "$no_cache" != 1; then
7209 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7212 if test "$wxUSE_JOYSTICK" = yes; then
7213 echo "$ac_t""yes" 1>&6
7215 echo "$ac_t""no" 1>&6
7219 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7220 echo "configure:7221: checking for --enable-metafile" >&5
7222 # Check whether --enable-metafile or --disable-metafile was given.
7223 if test "${enable_metafile+set}" = set; then
7224 enableval
="$enable_metafile"
7226 if test "$enableval" = yes; then
7227 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7229 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7234 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7235 if test "x$LINE" != x
; then
7236 eval "DEFAULT_$LINE"
7241 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7246 eval "$ac_cv_use_metafile"
7247 if test "$no_cache" != 1; then
7248 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7251 if test "$wxUSE_METAFILE" = yes; then
7252 echo "$ac_t""yes" 1>&6
7254 echo "$ac_t""no" 1>&6
7258 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7259 echo "configure:7260: checking for --enable-dragimage" >&5
7261 # Check whether --enable-dragimage or --disable-dragimage was given.
7262 if test "${enable_dragimage+set}" = set; then
7263 enableval
="$enable_dragimage"
7265 if test "$enableval" = yes; then
7266 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7268 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7273 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x
; then
7275 eval "DEFAULT_$LINE"
7280 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7285 eval "$ac_cv_use_dragimage"
7286 if test "$no_cache" != 1; then
7287 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7290 if test "$wxUSE_DRAGIMAGE" = yes; then
7291 echo "$ac_t""yes" 1>&6
7293 echo "$ac_t""no" 1>&6
7299 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7300 echo "configure:7301: checking for --enable-image" >&5
7302 # Check whether --enable-image or --disable-image was given.
7303 if test "${enable_image+set}" = set; then
7304 enableval
="$enable_image"
7306 if test "$enableval" = yes; then
7307 ac_cv_use_image
='wxUSE_IMAGE=yes'
7309 ac_cv_use_image
='wxUSE_IMAGE=no'
7314 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x
; then
7316 eval "DEFAULT_$LINE"
7321 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7326 eval "$ac_cv_use_image"
7327 if test "$no_cache" != 1; then
7328 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7331 if test "$wxUSE_IMAGE" = yes; then
7332 echo "$ac_t""yes" 1>&6
7334 echo "$ac_t""no" 1>&6
7338 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7339 echo "configure:7340: checking for --enable-gif" >&5
7341 # Check whether --enable-gif or --disable-gif was given.
7342 if test "${enable_gif+set}" = set; then
7343 enableval
="$enable_gif"
7345 if test "$enableval" = yes; then
7346 ac_cv_use_gif
='wxUSE_GIF=yes'
7348 ac_cv_use_gif
='wxUSE_GIF=no'
7353 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7354 if test "x$LINE" != x
; then
7355 eval "DEFAULT_$LINE"
7360 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7365 eval "$ac_cv_use_gif"
7366 if test "$no_cache" != 1; then
7367 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7370 if test "$wxUSE_GIF" = yes; then
7371 echo "$ac_t""yes" 1>&6
7373 echo "$ac_t""no" 1>&6
7377 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7378 echo "configure:7379: checking for --enable-pcx" >&5
7380 # Check whether --enable-pcx or --disable-pcx was given.
7381 if test "${enable_pcx+set}" = set; then
7382 enableval
="$enable_pcx"
7384 if test "$enableval" = yes; then
7385 ac_cv_use_pcx
='wxUSE_PCX=yes'
7387 ac_cv_use_pcx
='wxUSE_PCX=no'
7392 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7393 if test "x$LINE" != x
; then
7394 eval "DEFAULT_$LINE"
7399 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7404 eval "$ac_cv_use_pcx"
7405 if test "$no_cache" != 1; then
7406 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7409 if test "$wxUSE_PCX" = yes; then
7410 echo "$ac_t""yes" 1>&6
7412 echo "$ac_t""no" 1>&6
7416 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7417 echo "configure:7418: checking for --enable-pnm" >&5
7419 # Check whether --enable-pnm or --disable-pnm was given.
7420 if test "${enable_pnm+set}" = set; then
7421 enableval
="$enable_pnm"
7423 if test "$enableval" = yes; then
7424 ac_cv_use_pnm
='wxUSE_PNM=yes'
7426 ac_cv_use_pnm
='wxUSE_PNM=no'
7431 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7432 if test "x$LINE" != x
; then
7433 eval "DEFAULT_$LINE"
7438 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7443 eval "$ac_cv_use_pnm"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7448 if test "$wxUSE_PNM" = yes; then
7449 echo "$ac_t""yes" 1>&6
7451 echo "$ac_t""no" 1>&6
7455 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7456 echo "configure:7457: checking for --enable-pnm" >&5
7458 # Check whether --enable-pnm or --disable-pnm was given.
7459 if test "${enable_pnm+set}" = set; then
7460 enableval
="$enable_pnm"
7462 if test "$enableval" = yes; then
7463 ac_cv_use_pnm
='wxUSE_XPM=yes'
7465 ac_cv_use_pnm
='wxUSE_XPM=no'
7470 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x
; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7482 eval "$ac_cv_use_pnm"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_XPM" = yes; then
7488 echo "$ac_t""yes" 1>&6
7490 echo "$ac_t""no" 1>&6
7497 echo "saving argument cache $wx_arg_cache_file"
7498 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7502 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7503 echo "configure:7504: checking for toolkit" >&5
7505 if test "$wxUSE_GUI" = "yes"; then
7507 if test "$USE_BEOS" = 1; then
7508 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7511 if test "$TOOLKIT_GIVEN" = 1; then
7512 for toolkit
in `echo $ALL_TOOLKITS`; do
7514 eval "value=\$${var}"
7515 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7518 for toolkit
in `echo $ALL_TOOLKITS`; do
7519 if test "$has_toolkit_in_cache" != 1; then
7520 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7522 var
=DEFAULT_wxUSE_
$toolkit
7524 eval "wxUSE_$toolkit=\$${var}"
7528 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7532 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7533 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7542 case "$NUM_TOOLKITS" in
7546 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7549 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7552 for toolkit
in `echo $ALL_TOOLKITS`; do
7554 eval "value=\$${var}"
7555 if test "x$value" != x
; then
7556 cache_var
=CACHE_
$toolkit
7557 eval "cache=\$${cache_var}"
7558 if test "$cache" = 1; then
7559 echo "$var=$value" >> ${wx_arg_cache_file}
7561 if test "$value" = 1; then
7562 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7563 echo "$ac_t""$toolkit_echo" 1>&6
7570 echo "$ac_t""base only" 1>&6
7574 cat > confcache
<<\EOF
7575 # This file is a shell script that caches the results of configure
7576 # tests run on this system so they can be shared between configure
7577 # scripts and configure runs. It is not useful on other systems.
7578 # If it contains results you don't want to keep, you may remove or edit it.
7580 # By default, configure uses ./config.cache as the cache file,
7581 # creating it if it does not exist already. You can give configure
7582 # the --cache-file=FILE option to use a different cache file; that is
7583 # what configure does when it calls configure scripts in
7584 # subdirectories, so they share the cache.
7585 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7586 # config.status only pays attention to the cache file if you give it the
7587 # --recheck option to rerun configure.
7590 # The following way of writing the cache mishandles newlines in values,
7591 # but we know of no workaround that is simple, portable, and efficient.
7592 # So, don't put newlines in cache variables' values.
7593 # Ultrix sh set writes to stderr and can't be redirected directly,
7594 # and sets the high bit in the cache file unless we assign to the vars.
7596 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7598 # `set' does not quote correctly, so add quotes (double-quote substitution
7599 # turns \\\\ into \\, and sed turns \\ into \).
7601 -e "s/'/'\\\\''/g" \
7602 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7605 # `set' quotes correctly as required by POSIX, so do not add quotes.
7606 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7609 if cmp -s $cache_file confcache
; then
7612 if test -w $cache_file; then
7613 echo "updating cache $cache_file"
7614 cat confcache
> $cache_file
7616 echo "not updating unwritable cache $cache_file"
7622 if test "$build" != "$host" ; then
7626 RANLIB
=$host_alias-ranlib
7627 DLLTOOL
=$host_alias-dlltool
7628 RESCOMP
=$host_alias-windres
7631 STRIP
=$host_alias-strip
7634 # Extract the first word of "gcc", so it can be a program name with args.
7635 set dummy gcc
; ac_word
=$2
7636 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7637 echo "configure:7638: checking for $ac_word" >&5
7638 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7639 echo $ac_n "(cached) $ac_c" 1>&6
7641 if test -n "$CC"; then
7642 ac_cv_prog_CC
="$CC" # Let the user override the test.
7644 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7646 for ac_dir
in $ac_dummy; do
7647 test -z "$ac_dir" && ac_dir
=.
7648 if test -f $ac_dir/$ac_word; then
7657 if test -n "$CC"; then
7658 echo "$ac_t""$CC" 1>&6
7660 echo "$ac_t""no" 1>&6
7663 if test -z "$CC"; then
7664 # Extract the first word of "cc", so it can be a program name with args.
7665 set dummy cc
; ac_word
=$2
7666 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7667 echo "configure:7668: checking for $ac_word" >&5
7668 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7669 echo $ac_n "(cached) $ac_c" 1>&6
7671 if test -n "$CC"; then
7672 ac_cv_prog_CC
="$CC" # Let the user override the test.
7674 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7677 for ac_dir
in $ac_dummy; do
7678 test -z "$ac_dir" && ac_dir
=.
7679 if test -f $ac_dir/$ac_word; then
7680 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7681 ac_prog_rejected
=yes
7689 if test $ac_prog_rejected = yes; then
7690 # We found a bogon in the path, so make sure we never use it.
7691 set dummy
$ac_cv_prog_CC
7693 if test $# -gt 0; then
7694 # We chose a different compiler from the bogus one.
7695 # However, it has the same basename, so the bogon will be chosen
7696 # first if we set CC to just the basename; use the full file name.
7698 set dummy
"$ac_dir/$ac_word" "$@"
7706 if test -n "$CC"; then
7707 echo "$ac_t""$CC" 1>&6
7709 echo "$ac_t""no" 1>&6
7712 if test -z "$CC"; then
7713 case "`uname -s`" in
7715 # Extract the first word of "cl", so it can be a program name with args.
7716 set dummy cl
; ac_word
=$2
7717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7718 echo "configure:7719: checking for $ac_word" >&5
7719 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7720 echo $ac_n "(cached) $ac_c" 1>&6
7722 if test -n "$CC"; then
7723 ac_cv_prog_CC
="$CC" # Let the user override the test.
7725 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7727 for ac_dir
in $ac_dummy; do
7728 test -z "$ac_dir" && ac_dir
=.
7729 if test -f $ac_dir/$ac_word; then
7738 if test -n "$CC"; then
7739 echo "$ac_t""$CC" 1>&6
7741 echo "$ac_t""no" 1>&6
7746 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7749 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7750 echo "configure:7751: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7754 ac_cpp
='$CPP $CPPFLAGS'
7755 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7756 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7757 cross_compiling
=$ac_cv_prog_cc_cross
7759 cat > conftest.
$ac_ext << EOF
7761 #line 7762 "configure"
7762 #include "confdefs.h"
7766 if { (eval echo configure
:7767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7767 ac_cv_prog_cc_works
=yes
7768 # If we can't run a trivial program, we are probably using a cross compiler.
7769 if (.
/conftest
; exit) 2>/dev
/null
; then
7770 ac_cv_prog_cc_cross
=no
7772 ac_cv_prog_cc_cross
=yes
7775 echo "configure: failed program was:" >&5
7776 cat conftest.
$ac_ext >&5
7777 ac_cv_prog_cc_works
=no
7781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7782 ac_cpp
='$CPP $CPPFLAGS'
7783 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7784 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7785 cross_compiling
=$ac_cv_prog_cc_cross
7787 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7788 if test $ac_cv_prog_cc_works = no
; then
7789 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7791 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7792 echo "configure:7793: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7793 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7794 cross_compiling
=$ac_cv_prog_cc_cross
7796 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7797 echo "configure:7798: checking whether we are using GNU C" >&5
7798 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7799 echo $ac_n "(cached) $ac_c" 1>&6
7801 cat > conftest.c
<<EOF
7806 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7813 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7815 if test $ac_cv_prog_gcc = yes; then
7821 ac_test_CFLAGS
="${CFLAGS+set}"
7822 ac_save_CFLAGS
="$CFLAGS"
7824 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7825 echo "configure:7826: checking whether ${CC-cc} accepts -g" >&5
7826 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7827 echo $ac_n "(cached) $ac_c" 1>&6
7829 echo 'void f(){}' > conftest.c
7830 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7839 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7840 if test "$ac_test_CFLAGS" = set; then
7841 CFLAGS
="$ac_save_CFLAGS"
7842 elif test $ac_cv_prog_cc_g = yes; then
7843 if test "$GCC" = yes; then
7849 if test "$GCC" = yes; then
7857 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7859 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7860 echo "configure:7861: checking how to run the C preprocessor" >&5
7861 # On Suns, sometimes $CPP names a directory.
7862 if test -n "$CPP" && test -d "$CPP"; then
7865 if test -z "$CPP"; then
7866 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7867 echo $ac_n "(cached) $ac_c" 1>&6
7869 # This must be in double quotes, not single quotes, because CPP may get
7870 # substituted into the Makefile and "${CC-cc}" will confuse make.
7872 # On the NeXT, cc -E runs the code through the compiler's parser,
7873 # not just through cpp.
7874 cat > conftest.
$ac_ext <<EOF
7875 #line 7876 "configure"
7876 #include "confdefs.h"
7880 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7881 { (eval echo configure
:7882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7882 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7883 if test -z "$ac_err"; then
7887 echo "configure: failed program was:" >&5
7888 cat conftest.
$ac_ext >&5
7890 CPP
="${CC-cc} -E -traditional-cpp"
7891 cat > conftest.
$ac_ext <<EOF
7892 #line 7893 "configure"
7893 #include "confdefs.h"
7897 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7898 { (eval echo configure
:7899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7899 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7900 if test -z "$ac_err"; then
7904 echo "configure: failed program was:" >&5
7905 cat conftest.
$ac_ext >&5
7907 CPP
="${CC-cc} -nologo -E"
7908 cat > conftest.
$ac_ext <<EOF
7909 #line 7910 "configure"
7910 #include "confdefs.h"
7914 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7915 { (eval echo configure
:7916: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7916 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7917 if test -z "$ac_err"; then
7921 echo "configure: failed program was:" >&5
7922 cat conftest.
$ac_ext >&5
7931 ac_cv_prog_CPP
="$CPP"
7933 CPP
="$ac_cv_prog_CPP"
7935 ac_cv_prog_CPP
="$CPP"
7937 echo "$ac_t""$CPP" 1>&6
7940 if test $ac_cv_prog_gcc = yes; then
7941 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7942 echo "configure:7943: checking whether ${CC-cc} needs -traditional" >&5
7943 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7944 echo $ac_n "(cached) $ac_c" 1>&6
7946 ac_pattern
="Autoconf.*'x'"
7947 cat > conftest.
$ac_ext <<EOF
7948 #line 7949 "configure"
7949 #include "confdefs.h"
7953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7954 egrep "$ac_pattern" >/dev
/null
2>&1; then
7956 ac_cv_prog_gcc_traditional
=yes
7959 ac_cv_prog_gcc_traditional
=no
7964 if test $ac_cv_prog_gcc_traditional = no
; then
7965 cat > conftest.
$ac_ext <<EOF
7966 #line 7967 "configure"
7967 #include "confdefs.h"
7971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7972 egrep "$ac_pattern" >/dev
/null
2>&1; then
7974 ac_cv_prog_gcc_traditional
=yes
7981 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7982 if test $ac_cv_prog_gcc_traditional = yes; then
7983 CC
="$CC -traditional"
7990 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7991 ac_cpp
='$CXXCPP $CPPFLAGS'
7992 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7993 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7994 cross_compiling
=$ac_cv_prog_cxx_cross
7997 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7999 # Extract the first word of "$ac_prog", so it can be a program name with args.
8000 set dummy
$ac_prog; ac_word
=$2
8001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8002 echo "configure:8003: checking for $ac_word" >&5
8003 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8004 echo $ac_n "(cached) $ac_c" 1>&6
8006 if test -n "$CXX"; then
8007 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8009 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8011 for ac_dir
in $ac_dummy; do
8012 test -z "$ac_dir" && ac_dir
=.
8013 if test -f $ac_dir/$ac_word; then
8014 ac_cv_prog_CXX
="$ac_prog"
8021 CXX
="$ac_cv_prog_CXX"
8022 if test -n "$CXX"; then
8023 echo "$ac_t""$CXX" 1>&6
8025 echo "$ac_t""no" 1>&6
8028 test -n "$CXX" && break
8030 test -n "$CXX" || CXX
="gcc"
8033 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8034 echo "configure:8035: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8038 ac_cpp
='$CXXCPP $CPPFLAGS'
8039 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8040 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8041 cross_compiling
=$ac_cv_prog_cxx_cross
8043 cat > conftest.
$ac_ext << EOF
8045 #line 8046 "configure"
8046 #include "confdefs.h"
8048 int main(){return(0);}
8050 if { (eval echo configure
:8051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8051 ac_cv_prog_cxx_works
=yes
8052 # If we can't run a trivial program, we are probably using a cross compiler.
8053 if (.
/conftest
; exit) 2>/dev
/null
; then
8054 ac_cv_prog_cxx_cross
=no
8056 ac_cv_prog_cxx_cross
=yes
8059 echo "configure: failed program was:" >&5
8060 cat conftest.
$ac_ext >&5
8061 ac_cv_prog_cxx_works
=no
8065 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8066 ac_cpp
='$CXXCPP $CPPFLAGS'
8067 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8068 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8069 cross_compiling
=$ac_cv_prog_cxx_cross
8071 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8072 if test $ac_cv_prog_cxx_works = no
; then
8073 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8075 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8076 echo "configure:8077: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8077 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8078 cross_compiling
=$ac_cv_prog_cxx_cross
8080 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8081 echo "configure:8082: checking whether we are using GNU C++" >&5
8082 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8083 echo $ac_n "(cached) $ac_c" 1>&6
8085 cat > conftest.C
<<EOF
8090 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8097 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8099 if test $ac_cv_prog_gxx = yes; then
8105 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8106 ac_save_CXXFLAGS
="$CXXFLAGS"
8108 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8109 echo "configure:8110: checking whether ${CXX-g++} accepts -g" >&5
8110 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8111 echo $ac_n "(cached) $ac_c" 1>&6
8113 echo 'void f(){}' > conftest.cc
8114 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8115 ac_cv_prog_cxx_g
=yes
8123 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8124 if test "$ac_test_CXXFLAGS" = set; then
8125 CXXFLAGS
="$ac_save_CXXFLAGS"
8126 elif test $ac_cv_prog_cxx_g = yes; then
8127 if test "$GXX" = yes; then
8133 if test "$GXX" = yes; then
8141 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8142 echo "configure:8143: checking how to run the C++ preprocessor" >&5
8143 if test -z "$CXXCPP"; then
8144 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8145 echo $ac_n "(cached) $ac_c" 1>&6
8148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8149 ac_cpp
='$CXXCPP $CPPFLAGS'
8150 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8151 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8152 cross_compiling
=$ac_cv_prog_cxx_cross
8153 CXXCPP
="${CXX-g++} -E"
8154 cat > conftest.
$ac_ext <<EOF
8155 #line 8156 "configure"
8156 #include "confdefs.h"
8159 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8160 { (eval echo configure
:8161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8161 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8162 if test -z "$ac_err"; then
8166 echo "configure: failed program was:" >&5
8167 cat conftest.
$ac_ext >&5
8172 ac_cv_prog_CXXCPP
="$CXXCPP"
8174 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8175 ac_cpp
='$CXXCPP $CPPFLAGS'
8176 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8177 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8178 cross_compiling
=$ac_cv_prog_cxx_cross
8181 CXXCPP
="$ac_cv_prog_CXXCPP"
8182 echo "$ac_t""$CXXCPP" 1>&6
8185 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8188 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8189 ac_cpp
='$CPP $CPPFLAGS'
8190 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8191 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8192 cross_compiling
=$ac_cv_prog_cc_cross
8195 # Extract the first word of "ranlib", so it can be a program name with args.
8196 set dummy ranlib
; ac_word
=$2
8197 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8198 echo "configure:8199: checking for $ac_word" >&5
8199 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8200 echo $ac_n "(cached) $ac_c" 1>&6
8202 if test -n "$RANLIB"; then
8203 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8205 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8207 for ac_dir
in $ac_dummy; do
8208 test -z "$ac_dir" && ac_dir
=.
8209 if test -f $ac_dir/$ac_word; then
8210 ac_cv_prog_RANLIB
="ranlib"
8215 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8218 RANLIB
="$ac_cv_prog_RANLIB"
8219 if test -n "$RANLIB"; then
8220 echo "$ac_t""$RANLIB" 1>&6
8222 echo "$ac_t""no" 1>&6
8226 # Extract the first word of "ar", so it can be a program name with args.
8227 set dummy
ar; ac_word
=$2
8228 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8229 echo "configure:8230: checking for $ac_word" >&5
8230 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8231 echo $ac_n "(cached) $ac_c" 1>&6
8233 if test -n "$AR"; then
8234 ac_cv_prog_AR
="$AR" # Let the user override the test.
8236 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8238 for ac_dir
in $ac_dummy; do
8239 test -z "$ac_dir" && ac_dir
=.
8240 if test -f $ac_dir/$ac_word; then
8246 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8250 if test -n "$AR"; then
8251 echo "$ac_t""$AR" 1>&6
8253 echo "$ac_t""no" 1>&6
8257 # Find a good install program. We prefer a C program (faster),
8258 # so one script is as good as another. But avoid the broken or
8259 # incompatible versions:
8260 # SysV /etc/install, /usr/sbin/install
8261 # SunOS /usr/etc/install
8262 # IRIX /sbin/install
8264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8267 # ./install, which can be erroneously created by make from ./install.sh.
8268 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8269 echo "configure:8270: checking for a BSD compatible install" >&5
8270 if test -z "$INSTALL"; then
8271 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8272 echo $ac_n "(cached) $ac_c" 1>&6
8274 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8275 for ac_dir
in $PATH; do
8276 # Account for people who put trailing slashes in PATH elements.
8278 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8280 # OSF1 and SCO ODT 3.0 have their own names for install.
8281 # Don't use installbsd from OSF since it installs stuff as root
8283 for ac_prog
in ginstall scoinst
install; do
8284 if test -f $ac_dir/$ac_prog; then
8285 if test $ac_prog = install &&
8286 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8287 # AIX install. It has an incompatible calling convention.
8290 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8301 if test "${ac_cv_path_install+set}" = set; then
8302 INSTALL
="$ac_cv_path_install"
8304 # As a last resort, use the slow shell script. We don't cache a
8305 # path for INSTALL within a source directory, because that will
8306 # break other packages using the cache if that directory is
8307 # removed, or if the path is relative.
8308 INSTALL
="$ac_install_sh"
8311 echo "$ac_t""$INSTALL" 1>&6
8313 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8314 # It thinks the first close brace ends the variable substitution.
8315 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8317 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8319 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8322 # Extract the first word of "strip", so it can be a program name with args.
8323 set dummy strip
; ac_word
=$2
8324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8325 echo "configure:8326: checking for $ac_word" >&5
8326 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8327 echo $ac_n "(cached) $ac_c" 1>&6
8329 if test -n "$STRIP"; then
8330 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8332 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8334 for ac_dir
in $ac_dummy; do
8335 test -z "$ac_dir" && ac_dir
=.
8336 if test -f $ac_dir/$ac_word; then
8337 ac_cv_prog_STRIP
="strip"
8342 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8345 STRIP
="$ac_cv_prog_STRIP"
8346 if test -n "$STRIP"; then
8347 echo "$ac_t""$STRIP" 1>&6
8349 echo "$ac_t""no" 1>&6
8353 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8354 echo "configure:8355: checking make for VPATH support" >&5
8355 cat - << EOF > confMake
8361 if test ! -d sub
; then
8364 echo dummy
> sub
/file
8365 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8367 rm -f sub
/file check final_file confMake
8369 if test "$RESULT" = 0; then
8370 echo "$ac_t""yes" 1>&6
8372 echo "$ac_t""no" 1>&6
8373 { echo "configure: error:
8374 You need a make-utility that is able to use the variable
8376 If your version of make does not support VPATH correctly,
8377 please install GNU-make (possibly as gmake), and start
8378 configure with the following command:
8379 export MAKE=gmake; ./configure for sh-type shells
8380 setenv MAKE gmake; ./configure for csh-type shells
8381 Also please do remember to use gmake in this case every time
8382 you are trying to compile.
8386 for ac_prog
in 'bison -y' byacc
8388 # Extract the first word of "$ac_prog", so it can be a program name with args.
8389 set dummy
$ac_prog; ac_word
=$2
8390 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8391 echo "configure:8392: checking for $ac_word" >&5
8392 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8393 echo $ac_n "(cached) $ac_c" 1>&6
8395 if test -n "$YACC"; then
8396 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8398 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8400 for ac_dir
in $ac_dummy; do
8401 test -z "$ac_dir" && ac_dir
=.
8402 if test -f $ac_dir/$ac_word; then
8403 ac_cv_prog_YACC
="$ac_prog"
8410 YACC
="$ac_cv_prog_YACC"
8411 if test -n "$YACC"; then
8412 echo "$ac_t""$YACC" 1>&6
8414 echo "$ac_t""no" 1>&6
8417 test -n "$YACC" && break
8419 test -n "$YACC" || YACC
="yacc"
8422 # Extract the first word of "flex", so it can be a program name with args.
8423 set dummy flex
; ac_word
=$2
8424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8425 echo "configure:8426: checking for $ac_word" >&5
8426 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8427 echo $ac_n "(cached) $ac_c" 1>&6
8429 if test -n "$LEX"; then
8430 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8432 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8434 for ac_dir
in $ac_dummy; do
8435 test -z "$ac_dir" && ac_dir
=.
8436 if test -f $ac_dir/$ac_word; then
8437 ac_cv_prog_LEX
="flex"
8442 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8445 LEX
="$ac_cv_prog_LEX"
8446 if test -n "$LEX"; then
8447 echo "$ac_t""$LEX" 1>&6
8449 echo "$ac_t""no" 1>&6
8452 if test -z "$LEXLIB"
8458 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8459 echo "configure:8460: checking for yywrap in -l$ac_lib" >&5
8460 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8461 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8462 echo $ac_n "(cached) $ac_c" 1>&6
8464 ac_save_LIBS
="$LIBS"
8465 LIBS
="-l$ac_lib $LIBS"
8466 cat > conftest.
$ac_ext <<EOF
8467 #line 8468 "configure"
8468 #include "confdefs.h"
8469 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8478 if { (eval echo configure
:8479: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8480 eval "ac_cv_lib_$ac_lib_var=yes"
8482 echo "configure: failed program was:" >&5
8483 cat conftest.
$ac_ext >&5
8485 eval "ac_cv_lib_$ac_lib_var=no"
8488 LIBS
="$ac_save_LIBS"
8491 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8492 echo "$ac_t""yes" 1>&6
8495 echo "$ac_t""no" 1>&6
8501 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8502 echo "configure:8503: checking whether ln -s works" >&5
8503 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8504 echo $ac_n "(cached) $ac_c" 1>&6
8507 if ln -s X conftestdata
2>/dev
/null
8510 ac_cv_prog_LN_S
="ln -s"
8515 LN_S
="$ac_cv_prog_LN_S"
8516 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8517 echo "$ac_t""yes" 1>&6
8519 echo "$ac_t""no" 1>&6
8525 /usr/local/include \
8527 /usr/Motif-1.2/include \
8528 /usr/Motif-2.1/include \
8530 /usr/include/Motif1.2 \
8531 /opt/xpm/include/X11 \
8532 /opt/GBxpm/include/ \
8533 /opt/GBxpm/X11/include/ \
8535 /usr/Motif1.2/include \
8537 /usr/openwin/include \
8541 /usr/X11R6/include \
8542 /usr/X11R6.4/include \
8543 /usr/X11R5/include \
8544 /usr/X11R4/include \
8546 /usr/include/X11R6 \
8547 /usr/include/X11R5 \
8548 /usr/include/X11R4 \
8550 /usr/local/X11R6/include \
8551 /usr/local/X11R5/include \
8552 /usr/local/X11R4/include \
8554 /usr/local/include/X11R6 \
8555 /usr/local/include/X11R5 \
8556 /usr/local/include/X11R4 \
8560 /usr/local/X11/include \
8561 /usr/local/include/X11 \
8565 /usr/XFree86/include/X11 \
8567 X:/XFree86/include \
8568 X:/XFree86/include/X11 \
8571 /usr/local/include/gtk \
8573 /usr/local/include/glib \
8576 /usr/local/include/qt \
8578 /usr/include/windows \
8580 /usr/local/include/wine \
8582 /usr/unsupported/include \
8583 /usr/athena/include \
8584 /usr/local/x11r5/include \
8585 /usr/lpp/Xamples/include \
8587 /usr/openwin/share/include \
8591 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8594 cat > confcache
<<\EOF
8595 # This file is a shell script that caches the results of configure
8596 # tests run on this system so they can be shared between configure
8597 # scripts and configure runs. It is not useful on other systems.
8598 # If it contains results you don't want to keep, you may remove or edit it.
8600 # By default, configure uses ./config.cache as the cache file,
8601 # creating it if it does not exist already. You can give configure
8602 # the --cache-file=FILE option to use a different cache file; that is
8603 # what configure does when it calls configure scripts in
8604 # subdirectories, so they share the cache.
8605 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8606 # config.status only pays attention to the cache file if you give it the
8607 # --recheck option to rerun configure.
8610 # The following way of writing the cache mishandles newlines in values,
8611 # but we know of no workaround that is simple, portable, and efficient.
8612 # So, don't put newlines in cache variables' values.
8613 # Ultrix sh set writes to stderr and can't be redirected directly,
8614 # and sets the high bit in the cache file unless we assign to the vars.
8616 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8618 # `set' does not quote correctly, so add quotes (double-quote substitution
8619 # turns \\\\ into \\, and sed turns \\ into \).
8621 -e "s/'/'\\\\''/g" \
8622 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8625 # `set' quotes correctly as required by POSIX, so do not add quotes.
8626 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8629 if cmp -s $cache_file confcache
; then
8632 if test -w $cache_file; then
8633 echo "updating cache $cache_file"
8634 cat confcache
> $cache_file
8636 echo "not updating unwritable cache $cache_file"
8645 if test "$wxUSE_GUI" = "yes"; then
8660 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8661 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8662 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8663 echo "configure:8664: checking for windows.h" >&5
8664 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8665 echo $ac_n "(cached) $ac_c" 1>&6
8667 cat > conftest.
$ac_ext <<EOF
8668 #line 8669 "configure"
8669 #include "confdefs.h"
8670 #include <windows.h>
8672 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8673 { (eval echo configure
:8674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8674 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8675 if test -z "$ac_err"; then
8677 eval "ac_cv_header_$ac_safe=yes"
8680 echo "configure: failed program was:" >&5
8681 cat conftest.
$ac_ext >&5
8683 eval "ac_cv_header_$ac_safe=no"
8687 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8688 echo "$ac_t""yes" 1>&6
8691 echo "$ac_t""no" 1>&6
8693 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8698 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8699 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8701 if test "$wxUSE_ODBC" = "yes" ; then
8702 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8705 if test "$wxUSE_MINGW" = 1; then
8706 LDFLAGS
="$LDFLAGS -mwindows"
8712 RCINCSWITCH
="--include-dir"
8713 RCDEFSWITCH
="--define"
8714 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8717 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8719 RESPROGRAM
="\$(RES_PROGRAM)"
8722 if test "$wxUSE_GTK" = 1; then
8723 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8724 echo "configure:8725: checking for GTK+ version" >&5
8726 gtk_version_cached
=1
8727 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8728 echo $ac_n "(cached) $ac_c" 1>&6
8731 gtk_version_cached
=0
8732 echo "$ac_t""""" 1>&6
8735 if test "x$wxUSE_GTK2" = "xyes"; then
8736 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8737 if test "${with_gtk_prefix+set}" = set; then
8738 withval
="$with_gtk_prefix"
8739 gtk_config_prefix
="$withval"
8741 gtk_config_prefix
=""
8744 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8745 if test "${with_gtk_exec_prefix+set}" = set; then
8746 withval
="$with_gtk_exec_prefix"
8747 gtk_config_exec_prefix
="$withval"
8749 gtk_config_exec_prefix
=""
8752 # Check whether --enable-gtktest or --disable-gtktest was given.
8753 if test "${enable_gtktest+set}" = set; then
8754 enableval
="$enable_gtktest"
8765 gtk_config_args
="$gtk_config_args gthread"
8770 if test x
$gtk_config_exec_prefix != x
; then
8771 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8772 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8773 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8776 if test x
$gtk_config_prefix != x
; then
8777 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8778 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8779 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8783 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8784 set dummy gtk
-config-2.0
; ac_word
=$2
8785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8786 echo "configure:8787: checking for $ac_word" >&5
8787 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8788 echo $ac_n "(cached) $ac_c" 1>&6
8790 case "$GTK_CONFIG_2_0" in
8792 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8795 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8798 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8800 for ac_dir
in $ac_dummy; do
8801 test -z "$ac_dir" && ac_dir
=.
8802 if test -f $ac_dir/$ac_word; then
8803 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8808 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8812 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8813 if test -n "$GTK_CONFIG_2_0"; then
8814 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8816 echo "$ac_t""no" 1>&6
8819 min_gtk_version
=1.3.1
8820 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8821 echo "configure:8822: checking for GTK - version >= $min_gtk_version" >&5
8823 if test "$GTK_CONFIG_2_0" = "no" ; then
8826 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8827 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8828 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8829 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8830 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8831 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8832 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8833 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8834 if test "x$enable_gtktest" = "xyes" ; then
8835 ac_save_CFLAGS
="$CFLAGS"
8836 ac_save_LIBS
="$LIBS"
8837 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8838 LIBS
="$GTK_LIBS $LIBS"
8840 if test "$cross_compiling" = yes; then
8841 echo $ac_n "cross compiling; assumed OK... $ac_c"
8843 cat > conftest.
$ac_ext <<EOF
8844 #line 8845 "configure"
8845 #include "confdefs.h"
8847 #include <gtk/gtk.h>
8854 int major, minor, micro;
8857 system ("touch conf.gtktest");
8859 /* HP/UX 9 (%@#!) writes to sscanf strings */
8860 tmp_version = g_strdup("$min_gtk_version");
8861 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8862 printf("%s, bad version string\n", "$min_gtk_version");
8866 if ((gtk_major_version != $gtk_config_major_version) ||
8867 (gtk_minor_version != $gtk_config_minor_version) ||
8868 (gtk_micro_version != $gtk_config_micro_version))
8870 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8871 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8872 gtk_major_version, gtk_minor_version, gtk_micro_version);
8873 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8874 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8875 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8876 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8877 printf("*** required on your system.\n");
8878 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8879 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8880 printf("*** before re-running configure\n");
8882 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8883 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8884 (gtk_minor_version != GTK_MINOR_VERSION) ||
8885 (gtk_micro_version != GTK_MICRO_VERSION))
8887 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8888 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8889 printf("*** library (version %d.%d.%d)\n",
8890 gtk_major_version, gtk_minor_version, gtk_micro_version);
8892 #endif /* defined (GTK_MAJOR_VERSION) ... */
8895 if ((gtk_major_version > major) ||
8896 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8897 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8903 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8904 gtk_major_version, gtk_minor_version, gtk_micro_version);
8905 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8906 major, minor, micro);
8907 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8909 printf("*** If you have already installed a sufficiently new version, this error\n");
8910 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8911 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8912 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8913 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8914 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8915 printf("*** so that the correct libraries are found at run-time))\n");
8922 if { (eval echo configure
:8923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8926 echo "configure: failed program was:" >&5
8927 cat conftest.
$ac_ext >&5
8934 CFLAGS
="$ac_save_CFLAGS"
8935 LIBS
="$ac_save_LIBS"
8938 if test "x$no_gtk" = x
; then
8939 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8942 echo "$ac_t""no" 1>&6
8943 if test "$GTK_CONFIG_2_0" = "no" ; then
8944 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8945 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8946 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8947 echo "*** full path to gtk-config-2.0."
8949 if test -f conf.gtktest
; then
8952 echo "*** Could not run GTK test program, checking why..."
8953 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8954 LIBS
="$LIBS $GTK_LIBS"
8955 cat > conftest.
$ac_ext <<EOF
8956 #line 8957 "configure"
8957 #include "confdefs.h"
8959 #include <gtk/gtk.h>
8963 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8966 if { (eval echo configure
:8967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8968 echo "*** The test program compiled, but did not run. This usually means"
8969 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8970 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8971 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8972 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8973 echo "*** is required on your system"
8975 echo "*** If you have an old version installed, it is best to remove it, although"
8976 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8978 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8979 echo "*** came with the system with the command"
8981 echo "*** rpm --erase --nodeps gtk gtk-devel"
8983 echo "configure: failed program was:" >&5
8984 cat conftest.
$ac_ext >&5
8986 echo "*** The test program failed to compile or link. See the file config.log for the"
8987 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8988 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8989 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8992 CFLAGS
="$ac_save_CFLAGS"
8993 LIBS
="$ac_save_LIBS"
9006 if test -z "$wx_cv_lib_gtk"; then
9008 if test x
$gtk_config_exec_prefix != x
; then
9009 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9010 if test x
${GTK_CONFIG+set} != xset
; then
9011 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9014 if test x
$gtk_config_prefix != x
; then
9015 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9016 if test x
${GTK_CONFIG+set} != xset
; then
9017 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9021 # Extract the first word of "gtk-config", so it can be a program name with args.
9022 set dummy gtk
-config; ac_word
=$2
9023 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9024 echo "configure:9025: checking for $ac_word" >&5
9025 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9026 echo $ac_n "(cached) $ac_c" 1>&6
9028 case "$GTK_CONFIG" in
9030 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9033 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9036 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9038 for ac_dir
in $ac_dummy; do
9039 test -z "$ac_dir" && ac_dir
=.
9040 if test -f $ac_dir/$ac_word; then
9041 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9046 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9050 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9051 if test -n "$GTK_CONFIG"; then
9052 echo "$ac_t""$GTK_CONFIG" 1>&6
9054 echo "$ac_t""no" 1>&6
9057 min_gtk_version
=1.2.7
9058 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9059 echo "configure:9060: checking for GTK - version >= $min_gtk_version" >&5
9061 if test "$GTK_CONFIG" != "no" ; then
9062 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9063 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9064 ac_save_CFLAGS
="$CFLAGS"
9065 ac_save_LIBS
="$LIBS"
9066 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9067 LIBS
="$LIBS $GTK_LIBS"
9068 if test "$cross_compiling" = yes; then
9069 echo $ac_n "cross compiling; assumed OK... $ac_c"
9071 cat > conftest.
$ac_ext <<EOF
9072 #line 9073 "configure"
9073 #include "confdefs.h"
9075 #include <gtk/gtk.h>
9076 #include <gtk/gtkfeatures.h>
9083 int major, minor, micro;
9085 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9086 printf("%s, bad version string\n", "$min_gtk_version");
9090 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9091 (GTK_MINOR_VERSION != gtk_minor_version) ||
9092 (GTK_MICRO_VERSION != gtk_micro_version)) {
9093 printf("Headers vs. library version mismatch!\n");
9097 if (gtk_minor_version == 1) return FALSE;
9099 return !((gtk_major_version > major) ||
9100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9105 if { (eval echo configure
:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9109 echo "configure: failed program was:" >&5
9110 cat conftest.
$ac_ext >&5
9117 CFLAGS
="$ac_save_CFLAGS"
9118 LIBS
="$ac_save_LIBS"
9122 if test "x$no_gtk" = x
; then
9123 echo "$ac_t""yes" 1>&6
9126 echo "$ac_t""no" 1>&6
9136 if test -z "$wx_cv_lib_gtk"; then
9138 if test x
$gtk_config_exec_prefix != x
; then
9139 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9140 if test x
${GTK_CONFIG+set} != xset
; then
9141 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9144 if test x
$gtk_config_prefix != x
; then
9145 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9146 if test x
${GTK_CONFIG+set} != xset
; then
9147 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9151 # Extract the first word of "gtk-config", so it can be a program name with args.
9152 set dummy gtk
-config; ac_word
=$2
9153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9154 echo "configure:9155: checking for $ac_word" >&5
9155 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9156 echo $ac_n "(cached) $ac_c" 1>&6
9158 case "$GTK_CONFIG" in
9160 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9163 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9166 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9168 for ac_dir
in $ac_dummy; do
9169 test -z "$ac_dir" && ac_dir
=.
9170 if test -f $ac_dir/$ac_word; then
9171 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9176 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9180 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9181 if test -n "$GTK_CONFIG"; then
9182 echo "$ac_t""$GTK_CONFIG" 1>&6
9184 echo "$ac_t""no" 1>&6
9187 min_gtk_version
=1.2.3
9188 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9189 echo "configure:9190: checking for GTK - version >= $min_gtk_version" >&5
9191 if test "$GTK_CONFIG" != "no" ; then
9192 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9193 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9194 ac_save_CFLAGS
="$CFLAGS"
9195 ac_save_LIBS
="$LIBS"
9196 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9197 LIBS
="$LIBS $GTK_LIBS"
9198 if test "$cross_compiling" = yes; then
9199 echo $ac_n "cross compiling; assumed OK... $ac_c"
9201 cat > conftest.
$ac_ext <<EOF
9202 #line 9203 "configure"
9203 #include "confdefs.h"
9205 #include <gtk/gtk.h>
9206 #include <gtk/gtkfeatures.h>
9213 int major, minor, micro;
9215 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9216 printf("%s, bad version string\n", "$min_gtk_version");
9220 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9221 (GTK_MINOR_VERSION != gtk_minor_version) ||
9222 (GTK_MICRO_VERSION != gtk_micro_version)) {
9223 printf("Headers vs. library version mismatch!\n");
9227 if (gtk_minor_version == 1) return FALSE;
9229 return !((gtk_major_version > major) ||
9230 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9231 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9235 if { (eval echo configure
:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9239 echo "configure: failed program was:" >&5
9240 cat conftest.
$ac_ext >&5
9247 CFLAGS
="$ac_save_CFLAGS"
9248 LIBS
="$ac_save_LIBS"
9252 if test "x$no_gtk" = x
; then
9253 echo "$ac_t""yes" 1>&6
9256 echo "$ac_t""no" 1>&6
9266 if test -z "$wx_cv_lib_gtk"; then
9269 wx_cv_cflags_gtk
=$GTK_CFLAGS
9270 wx_cv_libs_gtk
=$GTK_LIBS
9277 if test "$gtk_version_cached" = 1; then
9278 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9281 case "$wx_cv_lib_gtk" in
9289 *) { echo "configure: error:
9290 Please check that gtk-config is in path, the directory
9291 where GTK+ libraries are installed (returned by
9292 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9293 equivalent variable and GTK+ is version 1.2.3 or above.
9298 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9299 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9301 AFMINSTALL
=afminstall
9305 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9306 echo "configure:9307: checking for gdk_im_open in -lgdk" >&5
9307 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9309 echo $ac_n "(cached) $ac_c" 1>&6
9311 ac_save_LIBS
="$LIBS"
9313 cat > conftest.
$ac_ext <<EOF
9314 #line 9315 "configure"
9315 #include "confdefs.h"
9316 /* Override any gcc2 internal prototype to avoid an error. */
9317 /* We use char because int might match the return type of a gcc2
9318 builtin and then its argument prototype would still apply. */
9325 if { (eval echo configure
:9326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9327 eval "ac_cv_lib_$ac_lib_var=yes"
9329 echo "configure: failed program was:" >&5
9330 cat conftest.
$ac_ext >&5
9332 eval "ac_cv_lib_$ac_lib_var=no"
9335 LIBS
="$ac_save_LIBS"
9338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9339 echo "$ac_t""yes" 1>&6
9340 cat >> confdefs.h
<<\EOF
9345 echo "$ac_t""no" 1>&6
9350 if test "$wxUSE_MGL" = 1; then
9352 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9353 echo "configure:9354: checking for SciTech MGL library" >&5
9354 if test "x$MGL_ROOT" = x
; then
9355 echo "$ac_t""not found" 1>&6
9356 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9358 echo "$ac_t""$MGL_ROOT" 1>&6
9361 MGL_OS
=linux
/gcc
/glibc
9364 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9365 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9369 if test "x$MGL_LIB_TYPE" = x
; then
9370 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9371 MGL_LIB_TYPE
=release
9373 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9377 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9378 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9380 AFMINSTALL
=afminstall
9385 if test "$wxUSE_WINE" = 1; then
9386 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9387 echo "configure:9388: checking for WINE includes" >&5
9390 for ac_dir
in $SEARCH_INCLUDE;
9392 if test -f "$ac_dir/windows.h"; then
9393 ac_find_includes
=$ac_dir
9398 if test "$ac_find_includes" != "" ; then
9399 echo "$ac_t""found $ac_find_includes" 1>&6
9400 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9402 echo "$ac_t""no" 1>&6
9403 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9407 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9408 echo "configure:9409: checking for Xpm library" >&5
9411 for ac_dir
in $SEARCH_LIB;
9413 for ac_extension
in a so sl
; do
9414 if test -f "$ac_dir/libXpm.$ac_extension"; then
9415 ac_find_libraries
=$ac_dir
9421 if test "$ac_find_libraries" != "" ; then
9422 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9424 cat >> confdefs.h
<<\EOF
9425 #define wxHAVE_LIB_XPM 1
9428 echo "$ac_t""found at $ac_find_libraries" 1>&6
9430 echo "$ac_t""no" 1>&6
9431 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9435 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9436 echo "configure:9437: checking for Mesa library" >&5
9439 for ac_dir
in $SEARCH_LIB;
9441 for ac_extension
in a so sl
; do
9442 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9443 ac_find_libraries
=$ac_dir
9449 if test "$ac_find_libraries" != "" ; then
9450 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9451 MESA_LINK
="-lMesaGL"
9452 echo "$ac_t""found at $ac_find_libraries" 1>&6
9454 { echo "configure: error: no" 1>&2; exit 1; }
9457 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9458 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9465 # If we find X, set shell vars x_includes and x_libraries to the
9466 # paths, otherwise set no_x=yes.
9467 # Uses ac_ vars as temps to allow command line to override cache and checks.
9468 # --without-x overrides everything else, but does not touch the cache.
9469 echo $ac_n "checking for X""... $ac_c" 1>&6
9470 echo "configure:9471: checking for X" >&5
9472 # Check whether --with-x or --without-x was given.
9473 if test "${with_x+set}" = set; then
9478 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9479 if test "x$with_x" = xno
; then
9480 # The user explicitly disabled X.
9483 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9484 # Both variables are already set.
9487 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9488 echo $ac_n "(cached) $ac_c" 1>&6
9490 # One or both of the vars are not set, and there is no cached value.
9491 ac_x_includes
=NO ac_x_libraries
=NO
9493 if mkdir conftestdir
; then
9495 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9496 cat > Imakefile
<<'EOF'
9498 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9500 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9501 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9502 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9503 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9504 for ac_extension
in a so sl
; do
9505 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9506 test -f $ac_im_libdir/libX11.
$ac_extension; then
9507 ac_im_usrlibdir
=$ac_im_libdir; break
9510 # Screen out bogus values from the imake configuration. They are
9511 # bogus both because they are the default anyway, and because
9512 # using them would break gcc on systems where it needs fixed includes.
9513 case "$ac_im_incroot" in
9515 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9517 case "$ac_im_usrlibdir" in
9519 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9526 if test "$ac_x_includes" = NO
; then
9527 # Guess where to find include files, by looking for this one X11 .h file.
9528 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9530 # First, try using that file with no special directory specified.
9531 cat > conftest.
$ac_ext <<EOF
9532 #line 9533 "configure"
9533 #include "confdefs.h"
9534 #include <$x_direct_test_include>
9536 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9537 { (eval echo configure
:9538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9538 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9539 if test -z "$ac_err"; then
9541 # We can compile using X headers with no special include directory.
9545 echo "configure: failed program was:" >&5
9546 cat conftest.
$ac_ext >&5
9548 # Look for the header file in a standard set of common directories.
9549 # Check X11 before X11Rn because it is often a symlink to the current release.
9552 /usr
/X
11R
6/include \
9553 /usr
/X
11R
5/include \
9554 /usr
/X
11R
4/include \
9557 /usr
/include
/X11R6 \
9558 /usr
/include
/X11R5 \
9559 /usr
/include
/X11R4 \
9561 /usr
/local
/X
11/include \
9562 /usr
/local
/X
11R
6/include \
9563 /usr
/local
/X
11R
5/include \
9564 /usr
/local
/X
11R
4/include \
9566 /usr
/local
/include
/X11 \
9567 /usr
/local
/include
/X11R6 \
9568 /usr
/local
/include
/X11R5 \
9569 /usr
/local
/include
/X11R4 \
9573 /usr
/XFree
86/include
/X11 \
9576 /usr
/local
/include \
9577 /usr
/unsupported
/include \
9578 /usr
/athena
/include \
9579 /usr
/local
/x
11r
5/include \
9580 /usr
/lpp
/Xamples
/include \
9582 /usr
/openwin
/include \
9583 /usr
/openwin
/share
/include \
9586 if test -r "$ac_dir/$x_direct_test_include"; then
9587 ac_x_includes
=$ac_dir
9593 fi # $ac_x_includes = NO
9595 if test "$ac_x_libraries" = NO
; then
9596 # Check for the libraries.
9598 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9599 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9601 # See if we find them without any special options.
9602 # Don't add to $LIBS permanently.
9603 ac_save_LIBS
="$LIBS"
9604 LIBS
="-l$x_direct_test_library $LIBS"
9605 cat > conftest.
$ac_ext <<EOF
9606 #line 9607 "configure"
9607 #include "confdefs.h"
9610 ${x_direct_test_function}()
9613 if { (eval echo configure
:9614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9615 LIBS
="$ac_save_LIBS"
9616 # We can link X programs with no special library path.
9619 echo "configure: failed program was:" >&5
9620 cat conftest.
$ac_ext >&5
9622 LIBS
="$ac_save_LIBS"
9623 # First see if replacing the include by lib works.
9624 # Check X11 before X11Rn because it is often a symlink to the current release.
9625 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9636 /usr
/local
/X
11/lib \
9637 /usr
/local
/X
11R
6/lib \
9638 /usr
/local
/X
11R
5/lib \
9639 /usr
/local
/X
11R
4/lib \
9641 /usr
/local
/lib
/X11 \
9642 /usr
/local
/lib
/X11R6 \
9643 /usr
/local
/lib
/X11R5 \
9644 /usr
/local
/lib
/X11R4 \
9648 /usr
/XFree
86/lib
/X11 \
9652 /usr
/unsupported
/lib \
9654 /usr
/local
/x
11r
5/lib \
9655 /usr
/lpp
/Xamples
/lib \
9659 /usr
/openwin
/share
/lib \
9662 for ac_extension
in a so sl
; do
9663 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9664 ac_x_libraries
=$ac_dir
9671 fi # $ac_x_libraries = NO
9673 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9674 # Didn't find X anywhere. Cache the known absence of X.
9675 ac_cv_have_x
="have_x=no"
9677 # Record where we found X for the cache.
9678 ac_cv_have_x
="have_x=yes \
9679 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9683 eval "$ac_cv_have_x"
9686 if test "$have_x" != yes; then
9687 echo "$ac_t""$have_x" 1>&6
9690 # If each of the values was on the command line, it overrides each guess.
9691 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9692 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9693 # Update the cache value to reflect the command line values.
9694 ac_cv_have_x
="have_x=yes \
9695 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9696 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9699 if test "$no_x" = yes; then
9700 # Not all programs may use this symbol, but it does not hurt to define it.
9701 cat >> confdefs.h
<<\EOF
9702 #define X_DISPLAY_MISSING 1
9705 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9707 if test -n "$x_includes"; then
9708 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9711 # It would also be nice to do this for all -L options, not just this one.
9712 if test -n "$x_libraries"; then
9713 X_LIBS
="$X_LIBS -L$x_libraries"
9714 # For Solaris; some versions of Sun CC require a space after -R and
9715 # others require no space. Words are not sufficient . . . .
9716 case "`(uname -sr) 2>/dev/null`" in
9718 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9719 echo "configure:9720: checking whether -R must be followed by a space" >&5
9720 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9721 cat > conftest.
$ac_ext <<EOF
9722 #line 9723 "configure"
9723 #include "confdefs.h"
9729 if { (eval echo configure
:9730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9733 echo "configure: failed program was:" >&5
9734 cat conftest.
$ac_ext >&5
9739 if test $ac_R_nospace = yes; then
9740 echo "$ac_t""no" 1>&6
9741 X_LIBS
="$X_LIBS -R$x_libraries"
9743 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9744 cat > conftest.
$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9752 if { (eval echo configure
:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9756 echo "configure: failed program was:" >&5
9757 cat conftest.
$ac_ext >&5
9762 if test $ac_R_space = yes; then
9763 echo "$ac_t""yes" 1>&6
9764 X_LIBS
="$X_LIBS -R $x_libraries"
9766 echo "$ac_t""neither works" 1>&6
9769 LIBS
="$ac_xsave_LIBS"
9773 # Check for system-dependent libraries X programs must link with.
9774 # Do this before checking for the system-independent R6 libraries
9775 # (-lICE), since we may need -lsocket or whatever for X linking.
9777 if test "$ISC" = yes; then
9778 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9780 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9781 # libraries were built with DECnet support. And karl@cs.umb.edu says
9782 # the Alpha needs dnet_stub (dnet does not exist).
9783 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9784 echo "configure:9785: checking for dnet_ntoa in -ldnet" >&5
9785 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9787 echo $ac_n "(cached) $ac_c" 1>&6
9789 ac_save_LIBS
="$LIBS"
9791 cat > conftest.
$ac_ext <<EOF
9792 #line 9793 "configure"
9793 #include "confdefs.h"
9794 /* Override any gcc2 internal prototype to avoid an error. */
9795 /* We use char because int might match the return type of a gcc2
9796 builtin and then its argument prototype would still apply. */
9803 if { (eval echo configure
:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9805 eval "ac_cv_lib_$ac_lib_var=yes"
9807 echo "configure: failed program was:" >&5
9808 cat conftest.
$ac_ext >&5
9810 eval "ac_cv_lib_$ac_lib_var=no"
9813 LIBS
="$ac_save_LIBS"
9816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9817 echo "$ac_t""yes" 1>&6
9818 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9820 echo "$ac_t""no" 1>&6
9823 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9824 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9825 echo "configure:9826: checking for dnet_ntoa in -ldnet_stub" >&5
9826 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9828 echo $ac_n "(cached) $ac_c" 1>&6
9830 ac_save_LIBS
="$LIBS"
9831 LIBS
="-ldnet_stub $LIBS"
9832 cat > conftest.
$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* Override any gcc2 internal prototype to avoid an error. */
9836 /* We use char because int might match the return type of a gcc2
9837 builtin and then its argument prototype would still apply. */
9844 if { (eval echo configure
:9845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9846 eval "ac_cv_lib_$ac_lib_var=yes"
9848 echo "configure: failed program was:" >&5
9849 cat conftest.
$ac_ext >&5
9851 eval "ac_cv_lib_$ac_lib_var=no"
9854 LIBS
="$ac_save_LIBS"
9857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9858 echo "$ac_t""yes" 1>&6
9859 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9861 echo "$ac_t""no" 1>&6
9866 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9867 # to get the SysV transport functions.
9868 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9870 # The nsl library prevents programs from opening the X display
9871 # on Irix 5.2, according to dickey@clark.net.
9872 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9873 echo "configure:9874: checking for gethostbyname" >&5
9874 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9875 echo $ac_n "(cached) $ac_c" 1>&6
9877 cat > conftest.
$ac_ext <<EOF
9878 #line 9879 "configure"
9879 #include "confdefs.h"
9880 /* System header to define __stub macros and hopefully few prototypes,
9881 which can conflict with char gethostbyname(); below. */
9883 /* Override any gcc2 internal prototype to avoid an error. */
9884 /* We use char because int might match the return type of a gcc2
9885 builtin and then its argument prototype would still apply. */
9886 char gethostbyname();
9890 /* The GNU C library defines this for functions which it implements
9891 to always fail with ENOSYS. Some functions are actually named
9892 something starting with __ and the normal name is an alias. */
9893 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9901 if { (eval echo configure
:9902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9903 eval "ac_cv_func_gethostbyname=yes"
9905 echo "configure: failed program was:" >&5
9906 cat conftest.
$ac_ext >&5
9908 eval "ac_cv_func_gethostbyname=no"
9913 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9914 echo "$ac_t""yes" 1>&6
9917 echo "$ac_t""no" 1>&6
9920 if test $ac_cv_func_gethostbyname = no
; then
9921 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9922 echo "configure:9923: checking for gethostbyname in -lnsl" >&5
9923 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9927 ac_save_LIBS
="$LIBS"
9929 cat > conftest.
$ac_ext <<EOF
9930 #line 9931 "configure"
9931 #include "confdefs.h"
9932 /* Override any gcc2 internal prototype to avoid an error. */
9933 /* We use char because int might match the return type of a gcc2
9934 builtin and then its argument prototype would still apply. */
9935 char gethostbyname();
9941 if { (eval echo configure
:9942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9943 eval "ac_cv_lib_$ac_lib_var=yes"
9945 echo "configure: failed program was:" >&5
9946 cat conftest.
$ac_ext >&5
9948 eval "ac_cv_lib_$ac_lib_var=no"
9951 LIBS
="$ac_save_LIBS"
9954 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9955 echo "$ac_t""yes" 1>&6
9956 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9958 echo "$ac_t""no" 1>&6
9963 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9964 # socket/setsockopt and other routines are undefined under SCO ODT
9965 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9966 # on later versions), says simon@lia.di.epfl.ch: it contains
9967 # gethostby* variants that don't use the nameserver (or something).
9968 # -lsocket must be given before -lnsl if both are needed.
9969 # We assume that if connect needs -lnsl, so does gethostbyname.
9970 echo $ac_n "checking for connect""... $ac_c" 1>&6
9971 echo "configure:9972: checking for connect" >&5
9972 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9973 echo $ac_n "(cached) $ac_c" 1>&6
9975 cat > conftest.
$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9978 /* System header to define __stub macros and hopefully few prototypes,
9979 which can conflict with char connect(); below. */
9981 /* Override any gcc2 internal prototype to avoid an error. */
9982 /* We use char because int might match the return type of a gcc2
9983 builtin and then its argument prototype would still apply. */
9988 /* The GNU C library defines this for functions which it implements
9989 to always fail with ENOSYS. Some functions are actually named
9990 something starting with __ and the normal name is an alias. */
9991 #if defined (__stub_connect) || defined (__stub___connect)
9999 if { (eval echo configure
:10000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10001 eval "ac_cv_func_connect=yes"
10003 echo "configure: failed program was:" >&5
10004 cat conftest.
$ac_ext >&5
10006 eval "ac_cv_func_connect=no"
10011 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10012 echo "$ac_t""yes" 1>&6
10015 echo "$ac_t""no" 1>&6
10018 if test $ac_cv_func_connect = no
; then
10019 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10020 echo "configure:10021: checking for connect in -lsocket" >&5
10021 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10023 echo $ac_n "(cached) $ac_c" 1>&6
10025 ac_save_LIBS
="$LIBS"
10026 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10027 cat > conftest.
$ac_ext <<EOF
10028 #line 10029 "configure"
10029 #include "confdefs.h"
10030 /* Override any gcc2 internal prototype to avoid an error. */
10031 /* We use char because int might match the return type of a gcc2
10032 builtin and then its argument prototype would still apply. */
10039 if { (eval echo configure
:10040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10041 eval "ac_cv_lib_$ac_lib_var=yes"
10043 echo "configure: failed program was:" >&5
10044 cat conftest.
$ac_ext >&5
10046 eval "ac_cv_lib_$ac_lib_var=no"
10049 LIBS
="$ac_save_LIBS"
10052 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10053 echo "$ac_t""yes" 1>&6
10054 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10056 echo "$ac_t""no" 1>&6
10061 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10062 echo $ac_n "checking for remove""... $ac_c" 1>&6
10063 echo "configure:10064: checking for remove" >&5
10064 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10065 echo $ac_n "(cached) $ac_c" 1>&6
10067 cat > conftest.
$ac_ext <<EOF
10068 #line 10069 "configure"
10069 #include "confdefs.h"
10070 /* System header to define __stub macros and hopefully few prototypes,
10071 which can conflict with char remove(); below. */
10072 #include <assert.h>
10073 /* Override any gcc2 internal prototype to avoid an error. */
10074 /* We use char because int might match the return type of a gcc2
10075 builtin and then its argument prototype would still apply. */
10080 /* The GNU C library defines this for functions which it implements
10081 to always fail with ENOSYS. Some functions are actually named
10082 something starting with __ and the normal name is an alias. */
10083 #if defined (__stub_remove) || defined (__stub___remove)
10091 if { (eval echo configure
:10092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10093 eval "ac_cv_func_remove=yes"
10095 echo "configure: failed program was:" >&5
10096 cat conftest.
$ac_ext >&5
10098 eval "ac_cv_func_remove=no"
10103 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10104 echo "$ac_t""yes" 1>&6
10107 echo "$ac_t""no" 1>&6
10110 if test $ac_cv_func_remove = no
; then
10111 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10112 echo "configure:10113: checking for remove in -lposix" >&5
10113 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10114 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10115 echo $ac_n "(cached) $ac_c" 1>&6
10117 ac_save_LIBS
="$LIBS"
10118 LIBS
="-lposix $LIBS"
10119 cat > conftest.
$ac_ext <<EOF
10120 #line 10121 "configure"
10121 #include "confdefs.h"
10122 /* Override any gcc2 internal prototype to avoid an error. */
10123 /* We use char because int might match the return type of a gcc2
10124 builtin and then its argument prototype would still apply. */
10131 if { (eval echo configure
:10132: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10133 eval "ac_cv_lib_$ac_lib_var=yes"
10135 echo "configure: failed program was:" >&5
10136 cat conftest.
$ac_ext >&5
10138 eval "ac_cv_lib_$ac_lib_var=no"
10141 LIBS
="$ac_save_LIBS"
10144 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10145 echo "$ac_t""yes" 1>&6
10146 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10148 echo "$ac_t""no" 1>&6
10153 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10154 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10155 echo "configure:10156: checking for shmat" >&5
10156 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10157 echo $ac_n "(cached) $ac_c" 1>&6
10159 cat > conftest.
$ac_ext <<EOF
10160 #line 10161 "configure"
10161 #include "confdefs.h"
10162 /* System header to define __stub macros and hopefully few prototypes,
10163 which can conflict with char shmat(); below. */
10164 #include <assert.h>
10165 /* Override any gcc2 internal prototype to avoid an error. */
10166 /* We use char because int might match the return type of a gcc2
10167 builtin and then its argument prototype would still apply. */
10172 /* The GNU C library defines this for functions which it implements
10173 to always fail with ENOSYS. Some functions are actually named
10174 something starting with __ and the normal name is an alias. */
10175 #if defined (__stub_shmat) || defined (__stub___shmat)
10183 if { (eval echo configure
:10184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10185 eval "ac_cv_func_shmat=yes"
10187 echo "configure: failed program was:" >&5
10188 cat conftest.
$ac_ext >&5
10190 eval "ac_cv_func_shmat=no"
10195 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10196 echo "$ac_t""yes" 1>&6
10199 echo "$ac_t""no" 1>&6
10202 if test $ac_cv_func_shmat = no
; then
10203 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10204 echo "configure:10205: checking for shmat in -lipc" >&5
10205 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10207 echo $ac_n "(cached) $ac_c" 1>&6
10209 ac_save_LIBS
="$LIBS"
10211 cat > conftest.
$ac_ext <<EOF
10212 #line 10213 "configure"
10213 #include "confdefs.h"
10214 /* Override any gcc2 internal prototype to avoid an error. */
10215 /* We use char because int might match the return type of a gcc2
10216 builtin and then its argument prototype would still apply. */
10223 if { (eval echo configure
:10224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10225 eval "ac_cv_lib_$ac_lib_var=yes"
10227 echo "configure: failed program was:" >&5
10228 cat conftest.
$ac_ext >&5
10230 eval "ac_cv_lib_$ac_lib_var=no"
10233 LIBS
="$ac_save_LIBS"
10236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10237 echo "$ac_t""yes" 1>&6
10238 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10240 echo "$ac_t""no" 1>&6
10246 # Check for libraries that X11R6 Xt/Xaw programs need.
10247 ac_save_LDFLAGS
="$LDFLAGS"
10248 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10249 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10250 # check for ICE first), but we must link in the order -lSM -lICE or
10251 # we get undefined symbols. So assume we have SM if we have ICE.
10252 # These have to be linked with before -lX11, unlike the other
10253 # libraries we check for below, so use a different variable.
10254 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10255 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10256 echo "configure:10257: checking for IceConnectionNumber in -lICE" >&5
10257 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10259 echo $ac_n "(cached) $ac_c" 1>&6
10261 ac_save_LIBS
="$LIBS"
10262 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10263 cat > conftest.
$ac_ext <<EOF
10264 #line 10265 "configure"
10265 #include "confdefs.h"
10266 /* Override any gcc2 internal prototype to avoid an error. */
10267 /* We use char because int might match the return type of a gcc2
10268 builtin and then its argument prototype would still apply. */
10269 char IceConnectionNumber();
10272 IceConnectionNumber()
10275 if { (eval echo configure
:10276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10277 eval "ac_cv_lib_$ac_lib_var=yes"
10279 echo "configure: failed program was:" >&5
10280 cat conftest.
$ac_ext >&5
10282 eval "ac_cv_lib_$ac_lib_var=no"
10285 LIBS
="$ac_save_LIBS"
10288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10289 echo "$ac_t""yes" 1>&6
10290 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10292 echo "$ac_t""no" 1>&6
10295 LDFLAGS
="$ac_save_LDFLAGS"
10299 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10300 LDFLAGS
="$LDFLAGS $X_LIBS"
10302 if test "$wxUSE_MOTIF" = 1; then
10303 if test "$no_x" = "yes"; then
10304 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10307 GUI_TK_LIBRARY
="$X_LIBS"
10308 TOOLKIT_INCLUDE
="$X_CFLAGS"
10310 AFMINSTALL
=afminstall
10313 COMPILED_X_PROGRAM
=0
10315 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10316 echo "configure:10317: checking for Motif/Lesstif headers" >&5
10319 for ac_dir
in $SEARCH_INCLUDE;
10321 if test -f "$ac_dir/Xm/Xm.h"; then
10322 ac_find_includes
=$ac_dir
10327 if test "$ac_find_includes" != "" ; then
10328 echo "$ac_t""found $ac_find_includes" 1>&6
10330 cat > conftest.
$ac_ext <<EOF
10331 #line 10332 "configure"
10332 #include "confdefs.h"
10340 version = xmUseVersion;
10344 if { (eval echo configure
:10345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10347 echo "$ac_t""found in default search path" 1>&6
10348 COMPILED_X_PROGRAM
=1
10351 echo "configure: failed program was:" >&5
10352 cat conftest.
$ac_ext >&5
10355 echo "$ac_t""no" 1>&6
10356 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10363 if test "$COMPILED_X_PROGRAM" = 0; then
10364 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10365 echo "configure:10366: checking for Motif/Lesstif library" >&5
10368 for ac_dir
in $SEARCH_LIB;
10370 for ac_extension
in a so sl
; do
10371 if test -f "$ac_dir/libXm.$ac_extension"; then
10372 ac_find_libraries
=$ac_dir
10378 if test "$ac_find_libraries" != "" ; then
10380 ac_path_to_include
=$ac_find_includes
10381 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10383 if test $result = 0; then
10384 ac_path_to_include
=""
10386 ac_path_to_include
="-I$ac_find_includes"
10390 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10392 if test $result = 0; then
10395 ac_path_to_link
="-L$ac_find_libraries"
10399 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10400 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10401 echo "$ac_t""found at $ac_find_libraries" 1>&6
10403 cat > conftest.
$ac_ext <<EOF
10404 #line 10405 "configure"
10405 #include "confdefs.h"
10413 version = xmUseVersion;
10417 if { (eval echo configure
:10418: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10420 echo "$ac_t""found in default search path" 1>&6
10421 COMPILED_X_PROGRAM
=1
10424 echo "configure: failed program was:" >&5
10425 cat conftest.
$ac_ext >&5
10428 echo "$ac_t""no" 1>&6
10429 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10439 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10440 echo "configure:10441: checking for Xpm library" >&5
10443 for ac_dir
in $SEARCH_LIB;
10445 for ac_extension
in a so sl
; do
10446 if test -f "$ac_dir/libXpm.$ac_extension"; then
10447 ac_find_libraries
=$ac_dir
10453 if test "$ac_find_libraries" != "" ; then
10455 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10457 if test $result = 0; then
10460 ac_path_to_link
="-L$ac_find_libraries"
10463 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10465 cat >> confdefs.h
<<\EOF
10466 #define wxHAVE_LIB_XPM 1
10469 echo "$ac_t""found at $ac_find_libraries" 1>&6
10471 cat > conftest.
$ac_ext <<EOF
10472 #line 10473 "configure"
10473 #include "confdefs.h"
10475 #include <X11/xpm.h>
10481 version = XpmLibraryVersion();
10485 if { (eval echo configure
:10486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10489 cat >> confdefs.h
<<\EOF
10490 #define wxHAVE_LIB_XPM 1
10493 echo "$ac_t""found in default search path" 1>&6
10494 COMPILED_X_PROGRAM
=0
10497 echo "configure: failed program was:" >&5
10498 cat conftest.
$ac_ext >&5
10501 echo "$ac_t""no" 1>&6
10502 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10509 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10510 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10515 if test "$wxUSE_MAC" = 1; then
10520 if test "$wxUSE_PM" = 1; then
10525 if test "$TOOLKIT" != "PM" ; then
10526 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10531 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10533 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10535 if test "$TOOLKIT_NAME" = "motif"; then
10536 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10539 if test "$wxUSE_UNIVERSAL" = "yes"; then
10540 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10541 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10542 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10545 SETUPH_DIR
="${TOOLKIT_DIR}"
10548 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10549 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10552 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10553 if test "$wxUSE_UNIVERSAL" = "yes"; then
10554 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10557 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10559 if test "$wxUSE_UNIVERSAL" = "yes"; then
10560 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10562 ALL_OBJECTS
="\$(GUIOBJS)"
10565 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10567 if test "$TOOLKIT" != "MSW"; then
10568 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10571 if test "$wxUSE_HTML" = "yes"; then
10572 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10575 if test "$TOOLKIT" != "MSW"; then
10576 if test "$wxUSE_ODBC" = "yes" ; then
10577 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10581 if test "$wxUSE_LIBJPEG" = "yes" ; then
10582 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10584 if test "$wxUSE_LIBTIFF" = "yes" ; then
10585 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10587 if test "$wxUSE_LIBPNG" = "yes" ; then
10588 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10590 if test "$wxUSE_ZLIB" = "yes" ; then
10591 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10593 if test "$wxUSE_FREETYPE" = "yes" ; then
10594 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10597 if test "$wxUSE_UNIVERSAL" = "yes"; then
10598 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10600 ALL_DEPFILES
="\$(GUIDEPS)"
10603 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10605 if test "$TOOLKIT" != "MSW"; then
10606 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10609 if test "$wxUSE_HTML" = "yes"; then
10610 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10613 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10614 if test "$wxUSE_UNIVERSAL" = "yes"; then
10615 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10617 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10618 RPM_SPEC
="wx\$(TOOLKIT).spec"
10620 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10621 DISTDIR
="wx\$(TOOLKIT)"
10627 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10628 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10630 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10633 TOOLKIT_DEF
="-D__WXBASE__"
10635 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10636 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10638 if test "$wxUSE_ZLIB" = "yes" ; then
10639 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10642 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10644 PORT_FILES
="src/files.lst"
10645 RPM_FILES
="src/rpmfiles.lst"
10646 RPM_SPEC
="wxBase.spec"
10648 GUIDIST
="BASE_DIST"
10652 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10653 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10655 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10656 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10658 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10659 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10661 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10662 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10663 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10664 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10665 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10666 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10672 BURNT_LIBRARY_NAME
=
10673 WX_TARGET_LIBRARY_SONAME
=
10676 if test "$wxUSE_SHARED" = "yes"; then
10679 if test "$GCC" = yes ; then
10680 SHARED_LD
="${CC} -shared -fPIC -o"
10683 LDFLAGS
="-L/usr/lib"
10685 SHARED_LD
="${CXX} -b -o"
10688 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10689 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10690 if test "$wxUSE_OPENGL" = "yes"; then
10691 WX_ALL_INSTALLED
="preinstall_gl"
10692 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10694 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10699 SHARED_LD
="${CC} -shared -o"
10701 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10702 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10703 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10704 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10706 if test "$wxUSE_OPENGL" = "yes"; then
10707 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10708 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10710 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10711 WX_ALL
="CREATE_LINKS"
10714 *-*-irix5* | *-*-irix6* )
10715 if test "$GCC" = yes ; then
10716 SHARED_LD
="${CC} -shared -o"
10719 SHARED_LD
="${CXX} -shared -o"
10721 if test "$wxUSE_OPENGL" = "yes"; then
10722 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10723 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10725 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10726 WX_ALL
="CREATE_LINKS"
10730 if test "$GCC" = yes ; then
10731 SHARED_LD
="${CC} -shared -o"
10734 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10736 SHARED_LD
="${CXX} -G -o"
10739 if test "$wxUSE_OPENGL" = "yes"; then
10740 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10741 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10743 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10744 WX_ALL
="CREATE_LINKS"
10748 SHARED_LD
="${CC} -shared -o"
10750 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10751 WX_ALL
="CREATE_LINKS"
10753 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10754 SHARED_LD
="${CC} -shared -o"
10756 if test "$wxUSE_OPENGL" = "yes"; then
10757 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10758 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10760 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10761 WX_ALL
="CREATE_LINKS"
10765 SHARED_LD
="${CXX} -dynamiclib -o"
10766 PIC_FLAG
="-dynamic -fPIC"
10767 if test "$wxUSE_OPENGL" = "yes"; then
10768 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10769 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10771 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10772 WX_ALL
="CREATE_LINKS"
10774 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10775 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10776 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10777 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10778 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10779 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10780 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10781 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10782 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10785 SHARED_LD
="${CXX} -shared -o"
10787 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10788 WX_ALL
="CREATE_LINKS"
10791 SHARED_LD
="${CXX} -shared -o"
10793 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10794 WX_ALL
="CREATE_LINKS"
10797 SHARED_LD
="${CC} -shared -o"
10799 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10800 WX_ALL
="CREATE_LINKS"
10803 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10804 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10807 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10808 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10809 if test "$wxUSE_OPENGL" = "yes"; then
10810 WX_ALL_INSTALLED
="preinstall_gl"
10811 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10813 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10817 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10818 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10819 if test "$wxUSE_OPENGL" = "yes"; then
10820 WX_ALL_INSTALLED
="preinstall_gl"
10821 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10823 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10827 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10828 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10831 SHARED_LD
="${LD} -shared -o"
10833 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10834 WX_ALL
="CREATE_LINKS"
10837 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10840 if test "x$WX_TARGET_LIBRARY" = "x"; then
10841 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10842 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10844 WX_TARGET_LIBRARY_TYPE
="so"
10846 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10847 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10849 if test "$wxUSE_OPENGL" = "yes"; then
10850 WX_ALL_INSTALLED
="preinstall_gl"
10851 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10853 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10856 if test "$wxUSE_GUI" = "no"; then
10857 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10860 WX_TARGET_LIBRARY_TYPE
="a"
10864 for ac_hdr
in strings.h
10866 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10868 echo "configure:10869: checking for $ac_hdr" >&5
10869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10870 echo $ac_n "(cached) $ac_c" 1>&6
10872 cat > conftest.
$ac_ext <<EOF
10873 #line 10874 "configure"
10874 #include "confdefs.h"
10877 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10878 { (eval echo configure
:10879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10879 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10880 if test -z "$ac_err"; then
10882 eval "ac_cv_header_$ac_safe=yes"
10885 echo "configure: failed program was:" >&5
10886 cat conftest.
$ac_ext >&5
10888 eval "ac_cv_header_$ac_safe=no"
10892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10893 echo "$ac_t""yes" 1>&6
10894 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10895 cat >> confdefs.h
<<EOF
10896 #define $ac_tr_hdr 1
10900 echo "$ac_t""no" 1>&6
10904 for ac_hdr
in stdlib.h
10906 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10907 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10908 echo "configure:10909: checking for $ac_hdr" >&5
10909 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10910 echo $ac_n "(cached) $ac_c" 1>&6
10912 cat > conftest.
$ac_ext <<EOF
10913 #line 10914 "configure"
10914 #include "confdefs.h"
10917 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10918 { (eval echo configure
:10919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10919 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10920 if test -z "$ac_err"; then
10922 eval "ac_cv_header_$ac_safe=yes"
10925 echo "configure: failed program was:" >&5
10926 cat conftest.
$ac_ext >&5
10928 eval "ac_cv_header_$ac_safe=no"
10932 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10933 echo "$ac_t""yes" 1>&6
10934 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10935 cat >> confdefs.h
<<EOF
10936 #define $ac_tr_hdr 1
10940 echo "$ac_t""no" 1>&6
10944 for ac_hdr
in unistd.h
10946 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10947 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10948 echo "configure:10949: checking for $ac_hdr" >&5
10949 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10952 cat > conftest.
$ac_ext <<EOF
10953 #line 10954 "configure"
10954 #include "confdefs.h"
10957 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10958 { (eval echo configure
:10959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10959 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10960 if test -z "$ac_err"; then
10962 eval "ac_cv_header_$ac_safe=yes"
10965 echo "configure: failed program was:" >&5
10966 cat conftest.
$ac_ext >&5
10968 eval "ac_cv_header_$ac_safe=no"
10972 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10973 echo "$ac_t""yes" 1>&6
10974 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10975 cat >> confdefs.h
<<EOF
10976 #define $ac_tr_hdr 1
10980 echo "$ac_t""no" 1>&6
10984 for ac_hdr
in wchar.h
10986 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10987 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10988 echo "configure:10989: checking for $ac_hdr" >&5
10989 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10990 echo $ac_n "(cached) $ac_c" 1>&6
10992 cat > conftest.
$ac_ext <<EOF
10993 #line 10994 "configure"
10994 #include "confdefs.h"
10997 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10998 { (eval echo configure
:10999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10999 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11000 if test -z "$ac_err"; then
11002 eval "ac_cv_header_$ac_safe=yes"
11005 echo "configure: failed program was:" >&5
11006 cat conftest.
$ac_ext >&5
11008 eval "ac_cv_header_$ac_safe=no"
11012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11013 echo "$ac_t""yes" 1>&6
11014 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11015 cat >> confdefs.h
<<EOF
11016 #define $ac_tr_hdr 1
11020 echo "$ac_t""no" 1>&6
11024 for ac_hdr
in wcstr.h
11026 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11028 echo "configure:11029: checking for $ac_hdr" >&5
11029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11030 echo $ac_n "(cached) $ac_c" 1>&6
11032 cat > conftest.
$ac_ext <<EOF
11033 #line 11034 "configure"
11034 #include "confdefs.h"
11037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11038 { (eval echo configure
:11039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11040 if test -z "$ac_err"; then
11042 eval "ac_cv_header_$ac_safe=yes"
11045 echo "configure: failed program was:" >&5
11046 cat conftest.
$ac_ext >&5
11048 eval "ac_cv_header_$ac_safe=no"
11052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11053 echo "$ac_t""yes" 1>&6
11054 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11055 cat >> confdefs.h
<<EOF
11056 #define $ac_tr_hdr 1
11060 echo "$ac_t""no" 1>&6
11064 for ac_hdr
in fnmatch.h
11066 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11067 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11068 echo "configure:11069: checking for $ac_hdr" >&5
11069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11070 echo $ac_n "(cached) $ac_c" 1>&6
11072 cat > conftest.
$ac_ext <<EOF
11073 #line 11074 "configure"
11074 #include "confdefs.h"
11077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11078 { (eval echo configure
:11079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11080 if test -z "$ac_err"; then
11082 eval "ac_cv_header_$ac_safe=yes"
11085 echo "configure: failed program was:" >&5
11086 cat conftest.
$ac_ext >&5
11088 eval "ac_cv_header_$ac_safe=no"
11092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11093 echo "$ac_t""yes" 1>&6
11094 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11095 cat >> confdefs.h
<<EOF
11096 #define $ac_tr_hdr 1
11100 echo "$ac_t""no" 1>&6
11104 for ac_hdr
in iconv.h
11106 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11108 echo "configure:11109: checking for $ac_hdr" >&5
11109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11110 echo $ac_n "(cached) $ac_c" 1>&6
11112 cat > conftest.
$ac_ext <<EOF
11113 #line 11114 "configure"
11114 #include "confdefs.h"
11117 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11118 { (eval echo configure
:11119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11119 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11120 if test -z "$ac_err"; then
11122 eval "ac_cv_header_$ac_safe=yes"
11125 echo "configure: failed program was:" >&5
11126 cat conftest.
$ac_ext >&5
11128 eval "ac_cv_header_$ac_safe=no"
11132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11133 echo "$ac_t""yes" 1>&6
11134 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11135 cat >> confdefs.h
<<EOF
11136 #define $ac_tr_hdr 1
11140 echo "$ac_t""no" 1>&6
11144 for ac_hdr
in langinfo.h
11146 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11148 echo "configure:11149: checking for $ac_hdr" >&5
11149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11150 echo $ac_n "(cached) $ac_c" 1>&6
11152 cat > conftest.
$ac_ext <<EOF
11153 #line 11154 "configure"
11154 #include "confdefs.h"
11157 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11158 { (eval echo configure
:11159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11159 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11160 if test -z "$ac_err"; then
11162 eval "ac_cv_header_$ac_safe=yes"
11165 echo "configure: failed program was:" >&5
11166 cat conftest.
$ac_ext >&5
11168 eval "ac_cv_header_$ac_safe=no"
11172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11173 echo "$ac_t""yes" 1>&6
11174 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11175 cat >> confdefs.h
<<EOF
11176 #define $ac_tr_hdr 1
11180 echo "$ac_t""no" 1>&6
11185 if test "$wxUSE_GUI" = "yes"; then
11186 if test "$wxUSE_UNIX" = "yes"; then
11187 for ac_hdr
in X
11/XKBlib.h
11189 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11190 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11191 echo "configure:11192: checking for $ac_hdr" >&5
11192 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11193 echo $ac_n "(cached) $ac_c" 1>&6
11195 cat > conftest.
$ac_ext <<EOF
11196 #line 11197 "configure"
11197 #include "confdefs.h"
11200 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11201 { (eval echo configure
:11202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11202 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11203 if test -z "$ac_err"; then
11205 eval "ac_cv_header_$ac_safe=yes"
11208 echo "configure: failed program was:" >&5
11209 cat conftest.
$ac_ext >&5
11211 eval "ac_cv_header_$ac_safe=no"
11215 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11216 echo "$ac_t""yes" 1>&6
11217 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11218 cat >> confdefs.h
<<EOF
11219 #define $ac_tr_hdr 1
11223 echo "$ac_t""no" 1>&6
11230 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
11231 for ac_hdr
in w32api.h
11233 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11234 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11235 echo "configure:11236: checking for $ac_hdr" >&5
11236 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11237 echo $ac_n "(cached) $ac_c" 1>&6
11239 cat > conftest.
$ac_ext <<EOF
11240 #line 11241 "configure"
11241 #include "confdefs.h"
11244 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11245 { (eval echo configure
:11246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11246 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11247 if test -z "$ac_err"; then
11249 eval "ac_cv_header_$ac_safe=yes"
11252 echo "configure: failed program was:" >&5
11253 cat conftest.
$ac_ext >&5
11255 eval "ac_cv_header_$ac_safe=no"
11259 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11260 echo "$ac_t""yes" 1>&6
11261 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11262 cat >> confdefs.h
<<EOF
11263 #define $ac_tr_hdr 1
11267 echo "$ac_t""no" 1>&6
11274 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11275 echo "configure:11276: checking for ANSI C header files" >&5
11276 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11277 echo $ac_n "(cached) $ac_c" 1>&6
11279 cat > conftest.
$ac_ext <<EOF
11280 #line 11281 "configure"
11281 #include "confdefs.h"
11282 #include <stdlib.h>
11283 #include <stdarg.h>
11284 #include <string.h>
11287 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11288 { (eval echo configure
:11289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11289 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11290 if test -z "$ac_err"; then
11292 ac_cv_header_stdc
=yes
11295 echo "configure: failed program was:" >&5
11296 cat conftest.
$ac_ext >&5
11298 ac_cv_header_stdc
=no
11302 if test $ac_cv_header_stdc = yes; then
11303 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11304 cat > conftest.
$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11307 #include <string.h>
11309 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11310 egrep "memchr" >/dev
/null
2>&1; then
11314 ac_cv_header_stdc
=no
11320 if test $ac_cv_header_stdc = yes; then
11321 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11322 cat > conftest.
$ac_ext <<EOF
11323 #line 11324 "configure"
11324 #include "confdefs.h"
11325 #include <stdlib.h>
11327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11328 egrep "free" >/dev
/null
2>&1; then
11332 ac_cv_header_stdc
=no
11338 if test $ac_cv_header_stdc = yes; then
11339 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11340 if test "$cross_compiling" = yes; then
11343 cat > conftest.
$ac_ext <<EOF
11344 #line 11345 "configure"
11345 #include "confdefs.h"
11347 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11348 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11349 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11350 int main () { int i; for (i = 0; i < 256; i++)
11351 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11355 if { (eval echo configure
:11356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11359 echo "configure: failed program was:" >&5
11360 cat conftest.
$ac_ext >&5
11362 ac_cv_header_stdc
=no
11370 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11371 if test $ac_cv_header_stdc = yes; then
11372 cat >> confdefs.h
<<\EOF
11373 #define STDC_HEADERS 1
11378 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11379 echo "configure:11380: checking for mode_t" >&5
11380 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11381 echo $ac_n "(cached) $ac_c" 1>&6
11383 cat > conftest.
$ac_ext <<EOF
11384 #line 11385 "configure"
11385 #include "confdefs.h"
11386 #include <sys/types.h>
11388 #include <stdlib.h>
11389 #include <stddef.h>
11392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11393 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11395 ac_cv_type_mode_t
=yes
11398 ac_cv_type_mode_t
=no
11403 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11404 if test $ac_cv_type_mode_t = no
; then
11405 cat >> confdefs.h
<<\EOF
11411 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11412 echo "configure:11413: checking for off_t" >&5
11413 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11414 echo $ac_n "(cached) $ac_c" 1>&6
11416 cat > conftest.
$ac_ext <<EOF
11417 #line 11418 "configure"
11418 #include "confdefs.h"
11419 #include <sys/types.h>
11421 #include <stdlib.h>
11422 #include <stddef.h>
11425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11426 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11428 ac_cv_type_off_t
=yes
11431 ac_cv_type_off_t
=no
11436 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11437 if test $ac_cv_type_off_t = no
; then
11438 cat >> confdefs.h
<<\EOF
11444 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11445 echo "configure:11446: checking for pid_t" >&5
11446 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11447 echo $ac_n "(cached) $ac_c" 1>&6
11449 cat > conftest.
$ac_ext <<EOF
11450 #line 11451 "configure"
11451 #include "confdefs.h"
11452 #include <sys/types.h>
11454 #include <stdlib.h>
11455 #include <stddef.h>
11458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11459 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11461 ac_cv_type_pid_t
=yes
11464 ac_cv_type_pid_t
=no
11469 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11470 if test $ac_cv_type_pid_t = no
; then
11471 cat >> confdefs.h
<<\EOF
11477 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11478 echo "configure:11479: checking for size_t" >&5
11479 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11480 echo $ac_n "(cached) $ac_c" 1>&6
11482 cat > conftest.
$ac_ext <<EOF
11483 #line 11484 "configure"
11484 #include "confdefs.h"
11485 #include <sys/types.h>
11487 #include <stdlib.h>
11488 #include <stddef.h>
11491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11492 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11494 ac_cv_type_size_t
=yes
11497 ac_cv_type_size_t
=no
11502 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11503 if test $ac_cv_type_size_t = no
; then
11504 cat >> confdefs.h
<<\EOF
11505 #define size_t unsigned
11510 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11511 echo "configure:11512: checking for uid_t in sys/types.h" >&5
11512 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11513 echo $ac_n "(cached) $ac_c" 1>&6
11515 cat > conftest.
$ac_ext <<EOF
11516 #line 11517 "configure"
11517 #include "confdefs.h"
11518 #include <sys/types.h>
11520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11521 egrep "uid_t" >/dev
/null
2>&1; then
11523 ac_cv_type_uid_t
=yes
11526 ac_cv_type_uid_t
=no
11532 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11533 if test $ac_cv_type_uid_t = no
; then
11534 cat >> confdefs.h
<<\EOF
11538 cat >> confdefs.h
<<\EOF
11545 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11546 echo "configure:11547: checking for wchar_t" >&5
11547 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11548 echo $ac_n "(cached) $ac_c" 1>&6
11551 cat > conftest.
$ac_ext <<EOF
11552 #line 11553 "configure"
11553 #include "confdefs.h"
11559 ws = L"Hello, world!";
11563 if { (eval echo configure
:11564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11565 wx_cv_type_wchar_t
=yes
11567 echo "configure: failed program was:" >&5
11568 cat conftest.
$ac_ext >&5
11570 cat > conftest.
$ac_ext <<EOF
11571 #line 11572 "configure"
11572 #include "confdefs.h"
11573 #include <stdlib.h>
11578 ws = L"Hello, world!";
11582 if { (eval echo configure
:11583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11584 wx_cv_type_wchar_t
=yes
11586 echo "configure: failed program was:" >&5
11587 cat conftest.
$ac_ext >&5
11589 wx_cv_type_wchar_t
=no
11598 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11600 if test "$wx_cv_type_wchar_t" = "yes"; then
11601 cat >> confdefs.h
<<\EOF
11602 #define wxUSE_WCHAR_T 1
11609 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11610 ac_cpp
='$CXXCPP $CPPFLAGS'
11611 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11612 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11613 cross_compiling
=$ac_cv_prog_cxx_cross
11615 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11616 echo "configure:11617: checking if size_t is unsigned int" >&5
11617 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11618 echo $ac_n "(cached) $ac_c" 1>&6
11620 cat > conftest.
$ac_ext <<EOF
11621 #line 11622 "configure"
11622 #include "confdefs.h"
11623 #include <stddef.h>
11628 struct Foo { void foo(size_t); void foo(unsigned int); };
11634 if { (eval echo configure
:11635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11636 wx_cv_size_t_is_uint
=no
11638 echo "configure: failed program was:" >&5
11639 cat conftest.
$ac_ext >&5
11641 wx_cv_size_t_is_uint
=yes
11648 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11650 if test "$wx_cv_size_t_is_uint" = "yes"; then
11651 cat >> confdefs.h
<<\EOF
11652 #define wxSIZE_T_IS_UINT 1
11656 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11657 echo "configure:11658: checking if size_t is unsigned long" >&5
11658 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11659 echo $ac_n "(cached) $ac_c" 1>&6
11661 cat > conftest.
$ac_ext <<EOF
11662 #line 11663 "configure"
11663 #include "confdefs.h"
11664 #include <stddef.h>
11669 struct Foo { void foo(size_t); void foo(unsigned long); };
11675 if { (eval echo configure
:11676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11677 wx_cv_size_t_is_ulong
=no
11679 echo "configure: failed program was:" >&5
11680 cat conftest.
$ac_ext >&5
11682 wx_cv_size_t_is_ulong
=yes
11689 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11691 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11692 cat >> confdefs.h
<<\EOF
11693 #define wxSIZE_T_IS_ULONG 1
11700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11701 ac_cpp
='$CPP $CPPFLAGS'
11702 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11703 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11704 cross_compiling
=$ac_cv_prog_cc_cross
11708 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11709 echo "configure:11710: checking for pw_gecos in struct passwd" >&5
11710 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11711 echo $ac_n "(cached) $ac_c" 1>&6
11714 cat > conftest.
$ac_ext <<EOF
11715 #line 11716 "configure"
11716 #include "confdefs.h"
11726 if { (eval echo configure
:11727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11729 wx_cv_struct_pw_gecos
=yes
11732 echo "configure: failed program was:" >&5
11733 cat conftest.
$ac_ext >&5
11736 wx_cv_struct_pw_gecos
=no
11745 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11747 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11748 cat >> confdefs.h
<<\EOF
11749 #define HAVE_PW_GECOS 1
11755 echo $ac_n "checking for working const""... $ac_c" 1>&6
11756 echo "configure:11757: checking for working const" >&5
11757 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11758 echo $ac_n "(cached) $ac_c" 1>&6
11760 cat > conftest.
$ac_ext <<EOF
11761 #line 11762 "configure"
11762 #include "confdefs.h"
11766 /* Ultrix mips cc rejects this. */
11767 typedef int charset[2]; const charset x;
11768 /* SunOS 4.1.1 cc rejects this. */
11769 char const *const *ccp;
11771 /* NEC SVR4.0.2 mips cc rejects this. */
11772 struct point {int x, y;};
11773 static struct point const zero = {0,0};
11774 /* AIX XL C 1.02.0.0 rejects this.
11775 It does not let you subtract one const X* pointer from another in an arm
11776 of an if-expression whose if-part is not a constant expression */
11777 const char *g = "string";
11778 ccp = &g + (g ? g-g : 0);
11779 /* HPUX 7.0 cc rejects these. */
11782 ccp = (char const *const *) p;
11783 { /* SCO 3.2v4 cc rejects this. */
11785 char const *s = 0 ? (char *) 0 : (char const *) 0;
11789 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11790 int x[] = {25, 17};
11791 const int *foo = &x[0];
11794 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11795 typedef const int *iptr;
11799 { /* AIX XL C 1.02.0.0 rejects this saying
11800 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11801 struct s { int j; const int *ap[3]; };
11802 struct s *b; b->j = 5;
11804 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11805 const int foo = 10;
11810 if { (eval echo configure
:11811: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11814 echo "configure: failed program was:" >&5
11815 cat conftest.
$ac_ext >&5
11822 echo "$ac_t""$ac_cv_c_const" 1>&6
11823 if test $ac_cv_c_const = no
; then
11824 cat >> confdefs.h
<<\EOF
11830 echo $ac_n "checking for inline""... $ac_c" 1>&6
11831 echo "configure:11832: checking for inline" >&5
11832 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11836 for ac_kw
in inline __inline__ __inline
; do
11837 cat > conftest.
$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11845 if { (eval echo configure
:11846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11847 ac_cv_c_inline
=$ac_kw; break
11849 echo "configure: failed program was:" >&5
11850 cat conftest.
$ac_ext >&5
11857 echo "$ac_t""$ac_cv_c_inline" 1>&6
11858 case "$ac_cv_c_inline" in
11860 no
) cat >> confdefs.h
<<\EOF
11864 *) cat >> confdefs.h
<<EOF
11865 #define inline $ac_cv_c_inline
11871 echo $ac_n "checking size of char""... $ac_c" 1>&6
11872 echo "configure:11873: checking size of char" >&5
11873 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11874 echo $ac_n "(cached) $ac_c" 1>&6
11876 if test "$cross_compiling" = yes; then
11877 ac_cv_sizeof_char
=1
11879 cat > conftest.
$ac_ext <<EOF
11880 #line 11881 "configure"
11881 #include "confdefs.h"
11885 FILE *f=fopen("conftestval", "w");
11887 fprintf(f, "%d\n", sizeof(char));
11891 if { (eval echo configure
:11892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11893 ac_cv_sizeof_char
=`cat conftestval`
11895 echo "configure: failed program was:" >&5
11896 cat conftest.
$ac_ext >&5
11898 ac_cv_sizeof_char
=0
11904 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11905 cat >> confdefs.h
<<EOF
11906 #define SIZEOF_CHAR $ac_cv_sizeof_char
11910 echo $ac_n "checking size of short""... $ac_c" 1>&6
11911 echo "configure:11912: checking size of short" >&5
11912 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11913 echo $ac_n "(cached) $ac_c" 1>&6
11915 if test "$cross_compiling" = yes; then
11916 ac_cv_sizeof_short
=2
11918 cat > conftest.
$ac_ext <<EOF
11919 #line 11920 "configure"
11920 #include "confdefs.h"
11924 FILE *f=fopen("conftestval", "w");
11926 fprintf(f, "%d\n", sizeof(short));
11930 if { (eval echo configure
:11931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11932 ac_cv_sizeof_short
=`cat conftestval`
11934 echo "configure: failed program was:" >&5
11935 cat conftest.
$ac_ext >&5
11937 ac_cv_sizeof_short
=0
11943 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11944 cat >> confdefs.h
<<EOF
11945 #define SIZEOF_SHORT $ac_cv_sizeof_short
11949 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11950 echo "configure:11951: checking size of int *" >&5
11951 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11952 echo $ac_n "(cached) $ac_c" 1>&6
11954 if test "$cross_compiling" = yes; then
11955 ac_cv_sizeof_int_p
=4
11957 cat > conftest.
$ac_ext <<EOF
11958 #line 11959 "configure"
11959 #include "confdefs.h"
11963 FILE *f=fopen("conftestval", "w");
11965 fprintf(f, "%d\n", sizeof(int *));
11969 if { (eval echo configure
:11970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11971 ac_cv_sizeof_int_p
=`cat conftestval`
11973 echo "configure: failed program was:" >&5
11974 cat conftest.
$ac_ext >&5
11976 ac_cv_sizeof_int_p
=0
11982 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11983 cat >> confdefs.h
<<EOF
11984 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11988 echo $ac_n "checking size of int""... $ac_c" 1>&6
11989 echo "configure:11990: checking size of int" >&5
11990 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11991 echo $ac_n "(cached) $ac_c" 1>&6
11993 if test "$cross_compiling" = yes; then
11996 cat > conftest.
$ac_ext <<EOF
11997 #line 11998 "configure"
11998 #include "confdefs.h"
12002 FILE *f=fopen("conftestval", "w");
12004 fprintf(f, "%d\n", sizeof(int));
12008 if { (eval echo configure
:12009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12010 ac_cv_sizeof_int
=`cat conftestval`
12012 echo "configure: failed program was:" >&5
12013 cat conftest.
$ac_ext >&5
12021 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12022 cat >> confdefs.h
<<EOF
12023 #define SIZEOF_INT $ac_cv_sizeof_int
12027 echo $ac_n "checking size of long""... $ac_c" 1>&6
12028 echo "configure:12029: checking size of long" >&5
12029 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12030 echo $ac_n "(cached) $ac_c" 1>&6
12032 if test "$cross_compiling" = yes; then
12033 ac_cv_sizeof_long
=4
12035 cat > conftest.
$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12041 FILE *f=fopen("conftestval", "w");
12043 fprintf(f, "%d\n", sizeof(long));
12047 if { (eval echo configure
:12048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12049 ac_cv_sizeof_long
=`cat conftestval`
12051 echo "configure: failed program was:" >&5
12052 cat conftest.
$ac_ext >&5
12054 ac_cv_sizeof_long
=0
12060 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12061 cat >> confdefs.h
<<EOF
12062 #define SIZEOF_LONG $ac_cv_sizeof_long
12066 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12067 echo "configure:12068: checking size of long long" >&5
12068 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12069 echo $ac_n "(cached) $ac_c" 1>&6
12071 if test "$cross_compiling" = yes; then
12072 ac_cv_sizeof_long_long
=0
12074 cat > conftest.
$ac_ext <<EOF
12075 #line 12076 "configure"
12076 #include "confdefs.h"
12080 FILE *f=fopen("conftestval", "w");
12082 fprintf(f, "%d\n", sizeof(long long));
12086 if { (eval echo configure
:12087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12088 ac_cv_sizeof_long_long
=`cat conftestval`
12090 echo "configure: failed program was:" >&5
12091 cat conftest.
$ac_ext >&5
12093 ac_cv_sizeof_long_long
=0
12099 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12100 cat >> confdefs.h
<<EOF
12101 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12106 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12107 echo "configure:12108: checking size of wchar_t" >&5
12108 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12109 echo $ac_n "(cached) $ac_c" 1>&6
12112 if test "$cross_compiling" = yes; then
12113 wx_cv_sizeof_wchar_t
=4
12116 cat > conftest.
$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12120 #ifdef HAVE_WCHAR_H
12121 # include <wchar.h>
12123 #ifdef HAVE_STDLIB_H
12124 # include <stdlib.h>
12129 FILE *f=fopen("conftestval", "w");
12131 fprintf(f, "%i", sizeof(wchar_t));
12136 if { (eval echo configure
:12137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12138 wx_cv_sizeof_wchar_t
=`cat conftestval`
12140 echo "configure: failed program was:" >&5
12141 cat conftest.
$ac_ext >&5
12143 wx_cv_sizeof_wchar_t
=0
12151 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12153 cat >> confdefs.h
<<EOF
12154 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12158 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12159 echo "configure:12160: checking whether byte ordering is bigendian" >&5
12160 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12161 echo $ac_n "(cached) $ac_c" 1>&6
12163 ac_cv_c_bigendian
=unknown
12164 # See if sys/param.h defines the BYTE_ORDER macro.
12165 cat > conftest.
$ac_ext <<EOF
12166 #line 12167 "configure"
12167 #include "confdefs.h"
12168 #include <sys/types.h>
12169 #include <sys/param.h>
12172 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12173 bogus endian macros
12177 if { (eval echo configure
:12178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12179 # It does; now see whether it defined to BIG_ENDIAN or not.
12180 cat > conftest.
$ac_ext <<EOF
12181 #line 12182 "configure"
12182 #include "confdefs.h"
12183 #include <sys/types.h>
12184 #include <sys/param.h>
12187 #if BYTE_ORDER != BIG_ENDIAN
12192 if { (eval echo configure
:12193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12194 ac_cv_c_bigendian
=yes
12196 echo "configure: failed program was:" >&5
12197 cat conftest.
$ac_ext >&5
12199 ac_cv_c_bigendian
=no
12203 echo "configure: failed program was:" >&5
12204 cat conftest.
$ac_ext >&5
12207 if test $ac_cv_c_bigendian = unknown
; then
12208 if test "$cross_compiling" = yes; then
12209 ac_cv_c_bigendian
=unknown
12211 cat > conftest.
$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12215 /* Are we little or big endian? From Harbison&Steele. */
12219 char c[sizeof (long)];
12222 exit (u.c[sizeof (long) - 1] == 1);
12225 if { (eval echo configure
:12226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12227 ac_cv_c_bigendian
=no
12229 echo "configure: failed program was:" >&5
12230 cat conftest.
$ac_ext >&5
12232 ac_cv_c_bigendian
=yes
12240 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12241 if test $ac_cv_c_bigendian = unknown
; then
12242 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
12244 if test $ac_cv_c_bigendian = yes; then
12245 cat >> confdefs.h
<<\EOF
12246 #define WORDS_BIGENDIAN 1
12253 if test "$cross_compiling" = "yes"; then
12254 cat >> confdefs.h
<<\EOF
12255 #define wxUSE_IOSTREAMH 1
12261 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12262 ac_cpp
='$CXXCPP $CPPFLAGS'
12263 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12264 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12265 cross_compiling
=$ac_cv_prog_cxx_cross
12268 for ac_hdr
in iostream
12270 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12272 echo "configure:12273: checking for $ac_hdr" >&5
12273 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12274 echo $ac_n "(cached) $ac_c" 1>&6
12276 cat > conftest.
$ac_ext <<EOF
12277 #line 12278 "configure"
12278 #include "confdefs.h"
12281 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12282 { (eval echo configure
:12283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12283 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12284 if test -z "$ac_err"; then
12286 eval "ac_cv_header_$ac_safe=yes"
12289 echo "configure: failed program was:" >&5
12290 cat conftest.
$ac_ext >&5
12292 eval "ac_cv_header_$ac_safe=no"
12296 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12297 echo "$ac_t""yes" 1>&6
12298 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12299 cat >> confdefs.h
<<EOF
12300 #define $ac_tr_hdr 1
12304 echo "$ac_t""no" 1>&6
12309 if test "$ac_cv_header_iostream" = "yes" ; then
12312 cat >> confdefs.h
<<\EOF
12313 #define wxUSE_IOSTREAMH 1
12319 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12320 ac_cpp
='$CPP $CPPFLAGS'
12321 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12322 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12323 cross_compiling
=$ac_cv_prog_cc_cross
12329 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12330 echo "configure:12331: checking if C++ compiler supports bool" >&5
12331 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12337 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12338 ac_cpp
='$CXXCPP $CPPFLAGS'
12339 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12340 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12341 cross_compiling
=$ac_cv_prog_cxx_cross
12344 cat > conftest.
$ac_ext <<EOF
12345 #line 12346 "configure"
12346 #include "confdefs.h"
12357 if { (eval echo configure
:12358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12363 echo "configure: failed program was:" >&5
12364 cat conftest.
$ac_ext >&5
12374 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12375 ac_cpp
='$CPP $CPPFLAGS'
12376 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12377 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12378 cross_compiling
=$ac_cv_prog_cc_cross
12383 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12385 if test "$wx_cv_cpp_bool" = "yes"; then
12386 cat >> confdefs.h
<<\EOF
12387 #define HAVE_BOOL 1
12394 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12395 echo "configure:12396: checking for wcslen in -lc" >&5
12396 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12397 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12398 echo $ac_n "(cached) $ac_c" 1>&6
12400 ac_save_LIBS
="$LIBS"
12402 cat > conftest.
$ac_ext <<EOF
12403 #line 12404 "configure"
12404 #include "confdefs.h"
12405 /* Override any gcc2 internal prototype to avoid an error. */
12406 /* We use char because int might match the return type of a gcc2
12407 builtin and then its argument prototype would still apply. */
12414 if { (eval echo configure
:12415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12416 eval "ac_cv_lib_$ac_lib_var=yes"
12418 echo "configure: failed program was:" >&5
12419 cat conftest.
$ac_ext >&5
12421 eval "ac_cv_lib_$ac_lib_var=no"
12424 LIBS
="$ac_save_LIBS"
12427 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12428 echo "$ac_t""yes" 1>&6
12430 cat >> confdefs.h
<<\EOF
12431 #define HAVE_WCSLEN 1
12437 echo "$ac_t""no" 1>&6
12439 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12440 echo "configure:12441: checking for wcslen in -lw" >&5
12441 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12442 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12445 ac_save_LIBS
="$LIBS"
12447 cat > conftest.
$ac_ext <<EOF
12448 #line 12449 "configure"
12449 #include "confdefs.h"
12450 /* Override any gcc2 internal prototype to avoid an error. */
12451 /* We use char because int might match the return type of a gcc2
12452 builtin and then its argument prototype would still apply. */
12459 if { (eval echo configure
:12460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12461 eval "ac_cv_lib_$ac_lib_var=yes"
12463 echo "configure: failed program was:" >&5
12464 cat conftest.
$ac_ext >&5
12466 eval "ac_cv_lib_$ac_lib_var=no"
12469 LIBS
="$ac_save_LIBS"
12472 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12473 echo "$ac_t""yes" 1>&6
12475 cat >> confdefs.h
<<\EOF
12476 #define HAVE_WCSLEN 1
12482 echo "$ac_t""no" 1>&6
12489 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12490 echo "configure:12491: checking for vprintf" >&5
12491 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12492 echo $ac_n "(cached) $ac_c" 1>&6
12494 cat > conftest.
$ac_ext <<EOF
12495 #line 12496 "configure"
12496 #include "confdefs.h"
12497 /* System header to define __stub macros and hopefully few prototypes,
12498 which can conflict with char vprintf(); below. */
12499 #include <assert.h>
12500 /* Override any gcc2 internal prototype to avoid an error. */
12501 /* We use char because int might match the return type of a gcc2
12502 builtin and then its argument prototype would still apply. */
12507 /* The GNU C library defines this for functions which it implements
12508 to always fail with ENOSYS. Some functions are actually named
12509 something starting with __ and the normal name is an alias. */
12510 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12518 if { (eval echo configure
:12519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12520 eval "ac_cv_func_vprintf=yes"
12522 echo "configure: failed program was:" >&5
12523 cat conftest.
$ac_ext >&5
12525 eval "ac_cv_func_vprintf=no"
12530 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12531 echo "$ac_t""yes" 1>&6
12532 cat >> confdefs.h
<<\EOF
12533 #define HAVE_VPRINTF 1
12537 echo "$ac_t""no" 1>&6
12540 if test "$ac_cv_func_vprintf" != yes; then
12541 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12542 echo "configure:12543: checking for _doprnt" >&5
12543 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12544 echo $ac_n "(cached) $ac_c" 1>&6
12546 cat > conftest.
$ac_ext <<EOF
12547 #line 12548 "configure"
12548 #include "confdefs.h"
12549 /* System header to define __stub macros and hopefully few prototypes,
12550 which can conflict with char _doprnt(); below. */
12551 #include <assert.h>
12552 /* Override any gcc2 internal prototype to avoid an error. */
12553 /* We use char because int might match the return type of a gcc2
12554 builtin and then its argument prototype would still apply. */
12559 /* The GNU C library defines this for functions which it implements
12560 to always fail with ENOSYS. Some functions are actually named
12561 something starting with __ and the normal name is an alias. */
12562 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12570 if { (eval echo configure
:12571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12572 eval "ac_cv_func__doprnt=yes"
12574 echo "configure: failed program was:" >&5
12575 cat conftest.
$ac_ext >&5
12577 eval "ac_cv_func__doprnt=no"
12582 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12583 echo "$ac_t""yes" 1>&6
12584 cat >> confdefs.h
<<\EOF
12585 #define HAVE_DOPRNT 1
12589 echo "$ac_t""no" 1>&6
12600 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12601 echo "configure:12602: checking for vsnprintf" >&5
12602 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12603 echo $ac_n "(cached) $ac_c" 1>&6
12606 cat > conftest.
$ac_ext <<EOF
12607 #line 12608 "configure"
12608 #include "confdefs.h"
12611 #include <stdarg.h>
12615 int wx_test_vsnprintf(const char *, ...);
12617 wx_test_vsnprintf("%s");
12621 int wx_test_vsnprintf(const char *fmt, ...)
12626 va_start(argp, fmt);
12627 vsnprintf(s, 42, fmt, argp);
12632 if { (eval echo configure
:12633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12635 wx_cv_func_vsnprintf
=yes
12638 echo "configure: failed program was:" >&5
12639 cat conftest.
$ac_ext >&5
12642 cat > conftest.
$ac_ext <<EOF
12643 #line 12644 "configure"
12644 #include "confdefs.h"
12647 #include <stdarg.h>
12651 int wx_test_vsnprintf(const char *, ...);
12653 wx_test_vsnprintf("%s");
12657 int wx_test_vsnprintf(const char *fmt, ...)
12662 va_start(argp, fmt);
12663 _vsnprintf(s, 42, fmt, argp);
12668 if { (eval echo configure
:12669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12671 wx_cv_func_vsnprintf
=yes
12674 echo "configure: failed program was:" >&5
12675 cat conftest.
$ac_ext >&5
12678 wx_cv_func_vsnprintf
=no
12688 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12690 if test "$wx_cv_func_vsnprintf" = yes; then
12691 cat >> confdefs.h
<<\EOF
12692 #define HAVE_VSNPRINTF 1
12696 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12699 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12700 echo "configure:12701: checking for vsscanf" >&5
12701 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12702 echo $ac_n "(cached) $ac_c" 1>&6
12705 cat > conftest.
$ac_ext <<EOF
12706 #line 12707 "configure"
12707 #include "confdefs.h"
12710 #include <stdarg.h>
12714 int wx_test_vsscanf(const char *, ...);
12716 wx_test_vsscanf("%d");
12720 int wx_test_vsscanf(const char *fmt, ...)
12723 va_start(argp, fmt);
12724 vsscanf("42", fmt, argp);
12729 if { (eval echo configure
:12730: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12732 wx_cv_func_vsscanf
=yes
12735 echo "configure: failed program was:" >&5
12736 cat conftest.
$ac_ext >&5
12739 wx_cv_func_vsscanf
=no
12746 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12748 if test "$wx_cv_func_vsscanf" = yes; then
12749 cat >> confdefs.h
<<\EOF
12750 #define HAVE_VSSCANF 1
12755 if test "$TOOLKIT" != "MSW"; then
12760 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12761 ac_cpp
='$CXXCPP $CPPFLAGS'
12762 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12763 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12764 cross_compiling
=$ac_cv_prog_cxx_cross
12766 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12767 echo "configure:12768: checking if iconv() takes char**" >&5
12768 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12769 echo $ac_n "(cached) $ac_c" 1>&6
12772 cat > conftest.
$ac_ext <<EOF
12773 #line 12774 "configure"
12774 #include "confdefs.h"
12778 char **inbuf, **outbuf;
12780 size_t insz, outsz;
12781 iconv(cd, inbuf, &insz, outbuf, &outsz);
12785 if { (eval echo configure
:12786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12787 wx_cv_iconv_takes_char
=yes
12789 echo "configure: failed program was:" >&5
12790 cat conftest.
$ac_ext >&5
12792 wx_cv_iconv_takes_char
=no
12798 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12801 ac_cpp
='$CPP $CPPFLAGS'
12802 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12803 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12804 cross_compiling
=$ac_cv_prog_cc_cross
12806 if test "$wx_cv_iconv_takes_char" = yes ; then
12807 cat >> confdefs.h
<<\EOF
12808 #define WX_ICONV_TAKES_CHAR 1
12814 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12815 for ac_func
in sigaction
12817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12818 echo "configure:12819: checking for $ac_func" >&5
12819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12820 echo $ac_n "(cached) $ac_c" 1>&6
12822 cat > conftest.
$ac_ext <<EOF
12823 #line 12824 "configure"
12824 #include "confdefs.h"
12825 /* System header to define __stub macros and hopefully few prototypes,
12826 which can conflict with char $ac_func(); below. */
12827 #include <assert.h>
12828 /* Override any gcc2 internal prototype to avoid an error. */
12829 /* We use char because int might match the return type of a gcc2
12830 builtin and then its argument prototype would still apply. */
12835 /* The GNU C library defines this for functions which it implements
12836 to always fail with ENOSYS. Some functions are actually named
12837 something starting with __ and the normal name is an alias. */
12838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12846 if { (eval echo configure
:12847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12848 eval "ac_cv_func_$ac_func=yes"
12850 echo "configure: failed program was:" >&5
12851 cat conftest.
$ac_ext >&5
12853 eval "ac_cv_func_$ac_func=no"
12858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12859 echo "$ac_t""yes" 1>&6
12860 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12861 cat >> confdefs.h
<<EOF
12862 #define $ac_tr_func 1
12866 echo "$ac_t""no" 1>&6
12871 if test "$ac_cv_func_sigaction" = "no"; then
12872 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12873 wxUSE_ON_FATAL_EXCEPTION
=no
12876 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12879 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12880 ac_cpp
='$CXXCPP $CPPFLAGS'
12881 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12882 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12883 cross_compiling
=$ac_cv_prog_cxx_cross
12886 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12887 echo "configure:12888: checking for sa_handler type" >&5
12888 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12889 echo $ac_n "(cached) $ac_c" 1>&6
12892 cat > conftest.
$ac_ext <<EOF
12893 #line 12894 "configure"
12894 #include "confdefs.h"
12895 #include <signal.h>
12898 extern void testSigHandler(int);
12900 struct sigaction sa;
12901 sa.sa_handler = testSigHandler;
12905 if { (eval echo configure
:12906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12908 wx_cv_type_sa_handler
=int
12911 echo "configure: failed program was:" >&5
12912 cat conftest.
$ac_ext >&5
12915 wx_cv_type_sa_handler
=void
12922 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12926 ac_cpp
='$CPP $CPPFLAGS'
12927 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12928 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12929 cross_compiling
=$ac_cv_prog_cc_cross
12932 cat >> confdefs.h
<<EOF
12933 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12939 for ac_func
in vfork
12941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12942 echo "configure:12943: checking for $ac_func" >&5
12943 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12944 echo $ac_n "(cached) $ac_c" 1>&6
12946 cat > conftest.
$ac_ext <<EOF
12947 #line 12948 "configure"
12948 #include "confdefs.h"
12949 /* System header to define __stub macros and hopefully few prototypes,
12950 which can conflict with char $ac_func(); below. */
12951 #include <assert.h>
12952 /* Override any gcc2 internal prototype to avoid an error. */
12953 /* We use char because int might match the return type of a gcc2
12954 builtin and then its argument prototype would still apply. */
12959 /* The GNU C library defines this for functions which it implements
12960 to always fail with ENOSYS. Some functions are actually named
12961 something starting with __ and the normal name is an alias. */
12962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12970 if { (eval echo configure
:12971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12972 eval "ac_cv_func_$ac_func=yes"
12974 echo "configure: failed program was:" >&5
12975 cat conftest.
$ac_ext >&5
12977 eval "ac_cv_func_$ac_func=no"
12982 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12983 echo "$ac_t""yes" 1>&6
12984 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12985 cat >> confdefs.h
<<EOF
12986 #define $ac_tr_func 1
12990 echo "$ac_t""no" 1>&6
12995 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12996 for ac_func
in fcntl flock
12998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12999 echo "configure:13000: checking for $ac_func" >&5
13000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13001 echo $ac_n "(cached) $ac_c" 1>&6
13003 cat > conftest.
$ac_ext <<EOF
13004 #line 13005 "configure"
13005 #include "confdefs.h"
13006 /* System header to define __stub macros and hopefully few prototypes,
13007 which can conflict with char $ac_func(); below. */
13008 #include <assert.h>
13009 /* Override any gcc2 internal prototype to avoid an error. */
13010 /* We use char because int might match the return type of a gcc2
13011 builtin and then its argument prototype would still apply. */
13016 /* The GNU C library defines this for functions which it implements
13017 to always fail with ENOSYS. Some functions are actually named
13018 something starting with __ and the normal name is an alias. */
13019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13027 if { (eval echo configure
:13028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13029 eval "ac_cv_func_$ac_func=yes"
13031 echo "configure: failed program was:" >&5
13032 cat conftest.
$ac_ext >&5
13034 eval "ac_cv_func_$ac_func=no"
13039 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13040 echo "$ac_t""yes" 1>&6
13041 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13042 cat >> confdefs.h
<<EOF
13043 #define $ac_tr_func 1
13047 echo "$ac_t""no" 1>&6
13052 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13053 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13054 wxUSE_SNGLINST_CHECKER
=no
13058 for ac_func
in timegm
13060 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13061 echo "configure:13062: checking for $ac_func" >&5
13062 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13063 echo $ac_n "(cached) $ac_c" 1>&6
13065 cat > conftest.
$ac_ext <<EOF
13066 #line 13067 "configure"
13067 #include "confdefs.h"
13068 /* System header to define __stub macros and hopefully few prototypes,
13069 which can conflict with char $ac_func(); below. */
13070 #include <assert.h>
13071 /* Override any gcc2 internal prototype to avoid an error. */
13072 /* We use char because int might match the return type of a gcc2
13073 builtin and then its argument prototype would still apply. */
13078 /* The GNU C library defines this for functions which it implements
13079 to always fail with ENOSYS. Some functions are actually named
13080 something starting with __ and the normal name is an alias. */
13081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13089 if { (eval echo configure
:13090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13091 eval "ac_cv_func_$ac_func=yes"
13093 echo "configure: failed program was:" >&5
13094 cat conftest.
$ac_ext >&5
13096 eval "ac_cv_func_$ac_func=no"
13101 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13102 echo "$ac_t""yes" 1>&6
13103 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13104 cat >> confdefs.h
<<EOF
13105 #define $ac_tr_func 1
13109 echo "$ac_t""no" 1>&6
13114 for ac_func
in putenv setenv
13116 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13117 echo "configure:13118: checking for $ac_func" >&5
13118 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13119 echo $ac_n "(cached) $ac_c" 1>&6
13121 cat > conftest.
$ac_ext <<EOF
13122 #line 13123 "configure"
13123 #include "confdefs.h"
13124 /* System header to define __stub macros and hopefully few prototypes,
13125 which can conflict with char $ac_func(); below. */
13126 #include <assert.h>
13127 /* Override any gcc2 internal prototype to avoid an error. */
13128 /* We use char because int might match the return type of a gcc2
13129 builtin and then its argument prototype would still apply. */
13134 /* The GNU C library defines this for functions which it implements
13135 to always fail with ENOSYS. Some functions are actually named
13136 something starting with __ and the normal name is an alias. */
13137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13145 if { (eval echo configure
:13146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13147 eval "ac_cv_func_$ac_func=yes"
13149 echo "configure: failed program was:" >&5
13150 cat conftest.
$ac_ext >&5
13152 eval "ac_cv_func_$ac_func=no"
13157 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13158 echo "$ac_t""yes" 1>&6
13159 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13160 cat >> confdefs.h
<<EOF
13161 #define $ac_tr_func 1
13165 echo "$ac_t""no" 1>&6
13170 HAVE_SOME_SLEEP_FUNC
=0
13171 if test "$USE_BEOS" = 1; then
13172 cat >> confdefs.h
<<\EOF
13173 #define HAVE_SLEEP 1
13176 HAVE_SOME_SLEEP_FUNC
=1
13179 if test "$USE_MAC" = 1; then
13180 cat >> confdefs.h
<<\EOF
13181 #define HAVE_USLEEP 1
13184 HAVE_SOME_SLEEP_FUNC
=1
13187 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13189 for ac_func
in nanosleep
13191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_func" >&5
13193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13196 cat > conftest.
$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13199 /* System header to define __stub macros and hopefully few prototypes,
13200 which can conflict with char $ac_func(); below. */
13201 #include <assert.h>
13202 /* Override any gcc2 internal prototype to avoid an error. */
13203 /* We use char because int might match the return type of a gcc2
13204 builtin and then its argument prototype would still apply. */
13209 /* The GNU C library defines this for functions which it implements
13210 to always fail with ENOSYS. Some functions are actually named
13211 something starting with __ and the normal name is an alias. */
13212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13220 if { (eval echo configure
:13221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13222 eval "ac_cv_func_$ac_func=yes"
13224 echo "configure: failed program was:" >&5
13225 cat conftest.
$ac_ext >&5
13227 eval "ac_cv_func_$ac_func=no"
13232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13233 echo "$ac_t""yes" 1>&6
13234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13235 cat >> confdefs.h
<<EOF
13236 #define $ac_tr_func 1
13238 cat >> confdefs.h
<<\EOF
13239 #define HAVE_NANOSLEEP 1
13243 echo "$ac_t""no" 1>&6
13244 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13245 echo "configure:13246: checking for nanosleep in -lposix4" >&5
13246 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13247 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13248 echo $ac_n "(cached) $ac_c" 1>&6
13250 ac_save_LIBS
="$LIBS"
13251 LIBS
="-lposix4 $LIBS"
13252 cat > conftest.
$ac_ext <<EOF
13253 #line 13254 "configure"
13254 #include "confdefs.h"
13255 /* Override any gcc2 internal prototype to avoid an error. */
13256 /* We use char because int might match the return type of a gcc2
13257 builtin and then its argument prototype would still apply. */
13264 if { (eval echo configure
:13265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13266 eval "ac_cv_lib_$ac_lib_var=yes"
13268 echo "configure: failed program was:" >&5
13269 cat conftest.
$ac_ext >&5
13271 eval "ac_cv_lib_$ac_lib_var=no"
13274 LIBS
="$ac_save_LIBS"
13277 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13278 echo "$ac_t""yes" 1>&6
13280 cat >> confdefs.h
<<\EOF
13281 #define HAVE_NANOSLEEP 1
13284 POSIX4_LINK
="-lposix4"
13287 echo "$ac_t""no" 1>&6
13289 for ac_func
in usleep
13291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13292 echo "configure:13293: checking for $ac_func" >&5
13293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13294 echo $ac_n "(cached) $ac_c" 1>&6
13296 cat > conftest.
$ac_ext <<EOF
13297 #line 13298 "configure"
13298 #include "confdefs.h"
13299 /* System header to define __stub macros and hopefully few prototypes,
13300 which can conflict with char $ac_func(); below. */
13301 #include <assert.h>
13302 /* Override any gcc2 internal prototype to avoid an error. */
13303 /* We use char because int might match the return type of a gcc2
13304 builtin and then its argument prototype would still apply. */
13309 /* The GNU C library defines this for functions which it implements
13310 to always fail with ENOSYS. Some functions are actually named
13311 something starting with __ and the normal name is an alias. */
13312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13320 if { (eval echo configure
:13321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13322 eval "ac_cv_func_$ac_func=yes"
13324 echo "configure: failed program was:" >&5
13325 cat conftest.
$ac_ext >&5
13327 eval "ac_cv_func_$ac_func=no"
13332 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13333 echo "$ac_t""yes" 1>&6
13334 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13335 cat >> confdefs.h
<<EOF
13336 #define $ac_tr_func 1
13338 cat >> confdefs.h
<<\EOF
13339 #define HAVE_USLEEP 1
13343 echo "$ac_t""no" 1>&6
13344 echo "configure: warning: wxSleep() function will not work" 1>&2
13360 for ac_func
in uname gethostname
13362 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13363 echo "configure:13364: checking for $ac_func" >&5
13364 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13365 echo $ac_n "(cached) $ac_c" 1>&6
13367 cat > conftest.
$ac_ext <<EOF
13368 #line 13369 "configure"
13369 #include "confdefs.h"
13370 /* System header to define __stub macros and hopefully few prototypes,
13371 which can conflict with char $ac_func(); below. */
13372 #include <assert.h>
13373 /* Override any gcc2 internal prototype to avoid an error. */
13374 /* We use char because int might match the return type of a gcc2
13375 builtin and then its argument prototype would still apply. */
13380 /* The GNU C library defines this for functions which it implements
13381 to always fail with ENOSYS. Some functions are actually named
13382 something starting with __ and the normal name is an alias. */
13383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13391 if { (eval echo configure
:13392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13393 eval "ac_cv_func_$ac_func=yes"
13395 echo "configure: failed program was:" >&5
13396 cat conftest.
$ac_ext >&5
13398 eval "ac_cv_func_$ac_func=no"
13403 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13404 echo "$ac_t""yes" 1>&6
13405 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13406 cat >> confdefs.h
<<EOF
13407 #define $ac_tr_func 1
13411 echo "$ac_t""no" 1>&6
13418 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13419 ac_cpp
='$CXXCPP $CPPFLAGS'
13420 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13421 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13422 cross_compiling
=$ac_cv_prog_cxx_cross
13425 for ac_func
in strtok_r
13427 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13428 echo "configure:13429: checking for $ac_func" >&5
13429 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13430 echo $ac_n "(cached) $ac_c" 1>&6
13432 cat > conftest.
$ac_ext <<EOF
13433 #line 13434 "configure"
13434 #include "confdefs.h"
13435 /* System header to define __stub macros and hopefully few prototypes,
13436 which can conflict with char $ac_func(); below. */
13437 #include <assert.h>
13438 /* Override any gcc2 internal prototype to avoid an error. */
13442 /* We use char because int might match the return type of a gcc2
13443 builtin and then its argument prototype would still apply. */
13448 /* The GNU C library defines this for functions which it implements
13449 to always fail with ENOSYS. Some functions are actually named
13450 something starting with __ and the normal name is an alias. */
13451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13459 if { (eval echo configure
:13460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13461 eval "ac_cv_func_$ac_func=yes"
13463 echo "configure: failed program was:" >&5
13464 cat conftest.
$ac_ext >&5
13466 eval "ac_cv_func_$ac_func=no"
13471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13472 echo "$ac_t""yes" 1>&6
13473 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13474 cat >> confdefs.h
<<EOF
13475 #define $ac_tr_func 1
13479 echo "$ac_t""no" 1>&6
13485 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13486 ac_cpp
='$CPP $CPPFLAGS'
13487 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13488 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13489 cross_compiling
=$ac_cv_prog_cc_cross
13493 for ac_func
in inet_addr
13495 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13496 echo "configure:13497: checking for $ac_func" >&5
13497 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13498 echo $ac_n "(cached) $ac_c" 1>&6
13500 cat > conftest.
$ac_ext <<EOF
13501 #line 13502 "configure"
13502 #include "confdefs.h"
13503 /* System header to define __stub macros and hopefully few prototypes,
13504 which can conflict with char $ac_func(); below. */
13505 #include <assert.h>
13506 /* Override any gcc2 internal prototype to avoid an error. */
13507 /* We use char because int might match the return type of a gcc2
13508 builtin and then its argument prototype would still apply. */
13513 /* The GNU C library defines this for functions which it implements
13514 to always fail with ENOSYS. Some functions are actually named
13515 something starting with __ and the normal name is an alias. */
13516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13524 if { (eval echo configure
:13525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13526 eval "ac_cv_func_$ac_func=yes"
13528 echo "configure: failed program was:" >&5
13529 cat conftest.
$ac_ext >&5
13531 eval "ac_cv_func_$ac_func=no"
13536 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13537 echo "$ac_t""yes" 1>&6
13538 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13539 cat >> confdefs.h
<<EOF
13540 #define $ac_tr_func 1
13542 cat >> confdefs.h
<<\EOF
13543 #define HAVE_INET_ADDR 1
13547 echo "$ac_t""no" 1>&6
13548 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13549 echo "configure:13550: checking for inet_addr in -lnsl" >&5
13550 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13552 echo $ac_n "(cached) $ac_c" 1>&6
13554 ac_save_LIBS
="$LIBS"
13556 cat > conftest.
$ac_ext <<EOF
13557 #line 13558 "configure"
13558 #include "confdefs.h"
13559 /* Override any gcc2 internal prototype to avoid an error. */
13560 /* We use char because int might match the return type of a gcc2
13561 builtin and then its argument prototype would still apply. */
13568 if { (eval echo configure
:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13570 eval "ac_cv_lib_$ac_lib_var=yes"
13572 echo "configure: failed program was:" >&5
13573 cat conftest.
$ac_ext >&5
13575 eval "ac_cv_lib_$ac_lib_var=no"
13578 LIBS
="$ac_save_LIBS"
13581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13582 echo "$ac_t""yes" 1>&6
13585 echo "$ac_t""no" 1>&6
13586 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13587 echo "configure:13588: checking for inet_addr in -lresolv" >&5
13588 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13590 echo $ac_n "(cached) $ac_c" 1>&6
13592 ac_save_LIBS
="$LIBS"
13593 LIBS
="-lresolv $LIBS"
13594 cat > conftest.
$ac_ext <<EOF
13595 #line 13596 "configure"
13596 #include "confdefs.h"
13597 /* Override any gcc2 internal prototype to avoid an error. */
13598 /* We use char because int might match the return type of a gcc2
13599 builtin and then its argument prototype would still apply. */
13606 if { (eval echo configure
:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13608 eval "ac_cv_lib_$ac_lib_var=yes"
13610 echo "configure: failed program was:" >&5
13611 cat conftest.
$ac_ext >&5
13613 eval "ac_cv_lib_$ac_lib_var=no"
13616 LIBS
="$ac_save_LIBS"
13619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13620 echo "$ac_t""yes" 1>&6
13624 echo "$ac_t""no" 1>&6
13636 for ac_func
in inet_aton
13638 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13639 echo "configure:13640: checking for $ac_func" >&5
13640 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13641 echo $ac_n "(cached) $ac_c" 1>&6
13643 cat > conftest.
$ac_ext <<EOF
13644 #line 13645 "configure"
13645 #include "confdefs.h"
13646 /* System header to define __stub macros and hopefully few prototypes,
13647 which can conflict with char $ac_func(); below. */
13648 #include <assert.h>
13649 /* Override any gcc2 internal prototype to avoid an error. */
13650 /* We use char because int might match the return type of a gcc2
13651 builtin and then its argument prototype would still apply. */
13656 /* The GNU C library defines this for functions which it implements
13657 to always fail with ENOSYS. Some functions are actually named
13658 something starting with __ and the normal name is an alias. */
13659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13667 if { (eval echo configure
:13668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13669 eval "ac_cv_func_$ac_func=yes"
13671 echo "configure: failed program was:" >&5
13672 cat conftest.
$ac_ext >&5
13674 eval "ac_cv_func_$ac_func=no"
13679 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13680 echo "$ac_t""yes" 1>&6
13681 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13682 cat >> confdefs.h
<<EOF
13683 #define $ac_tr_func 1
13685 cat >> confdefs.h
<<\EOF
13686 #define HAVE_INET_ATON 1
13690 echo "$ac_t""no" 1>&6
13691 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13692 echo "configure:13693: checking for inet_aton in -l$INET_LINK" >&5
13693 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13694 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13695 echo $ac_n "(cached) $ac_c" 1>&6
13697 ac_save_LIBS
="$LIBS"
13698 LIBS
="-l$INET_LINK $LIBS"
13699 cat > conftest.
$ac_ext <<EOF
13700 #line 13701 "configure"
13701 #include "confdefs.h"
13702 /* Override any gcc2 internal prototype to avoid an error. */
13703 /* We use char because int might match the return type of a gcc2
13704 builtin and then its argument prototype would still apply. */
13711 if { (eval echo configure
:13712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13713 eval "ac_cv_lib_$ac_lib_var=yes"
13715 echo "configure: failed program was:" >&5
13716 cat conftest.
$ac_ext >&5
13718 eval "ac_cv_lib_$ac_lib_var=no"
13721 LIBS
="$ac_save_LIBS"
13724 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13725 echo "$ac_t""yes" 1>&6
13726 cat >> confdefs.h
<<\EOF
13727 #define HAVE_INET_ATON 1
13731 echo "$ac_t""no" 1>&6
13739 if test "x$INET_LINK" != "x"; then
13740 cat >> confdefs.h
<<\EOF
13741 #define HAVE_INET_ADDR 1
13744 INET_LINK
="-l$INET_LINK"
13750 cat > confcache
<<\EOF
13751 # This file is a shell script that caches the results of configure
13752 # tests run on this system so they can be shared between configure
13753 # scripts and configure runs. It is not useful on other systems.
13754 # If it contains results you don't want to keep, you may remove or edit it.
13756 # By default, configure uses ./config.cache as the cache file,
13757 # creating it if it does not exist already. You can give configure
13758 # the --cache-file=FILE option to use a different cache file; that is
13759 # what configure does when it calls configure scripts in
13760 # subdirectories, so they share the cache.
13761 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13762 # config.status only pays attention to the cache file if you give it the
13763 # --recheck option to rerun configure.
13766 # The following way of writing the cache mishandles newlines in values,
13767 # but we know of no workaround that is simple, portable, and efficient.
13768 # So, don't put newlines in cache variables' values.
13769 # Ultrix sh set writes to stderr and can't be redirected directly,
13770 # and sets the high bit in the cache file unless we assign to the vars.
13772 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13774 # `set' does not quote correctly, so add quotes (double-quote substitution
13775 # turns \\\\ into \\, and sed turns \\ into \).
13777 -e "s/'/'\\\\''/g" \
13778 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13781 # `set' quotes correctly as required by POSIX, so do not add quotes.
13782 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13785 if cmp -s $cache_file confcache
; then
13788 if test -w $cache_file; then
13789 echo "updating cache $cache_file"
13790 cat confcache
> $cache_file
13792 echo "not updating unwritable cache $cache_file"
13799 if test "$TOOLKIT" != "MSW"; then
13805 if test "$wxUSE_THREADS" = "yes" ; then
13806 if test "$wxUSE_WINE" = 1 ; then
13807 echo "configure: warning: Threads are not supported under WINE" 1>&2
13809 elif test "$USE_BEOS" = 1; then
13810 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13815 if test "$wxUSE_THREADS" = "yes" ; then
13817 if test "$USE_AIX" = 1; then
13818 THREADS_LIB
=pthreads
13820 THREADS_LIB
=pthread
13823 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13824 echo "configure:13825: checking for pthread_create in -l$THREADS_LIB" >&5
13825 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13826 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13827 echo $ac_n "(cached) $ac_c" 1>&6
13829 ac_save_LIBS
="$LIBS"
13830 LIBS
="-l$THREADS_LIB $LIBS"
13831 cat > conftest.
$ac_ext <<EOF
13832 #line 13833 "configure"
13833 #include "confdefs.h"
13834 /* Override any gcc2 internal prototype to avoid an error. */
13835 /* We use char because int might match the return type of a gcc2
13836 builtin and then its argument prototype would still apply. */
13837 char pthread_create();
13843 if { (eval echo configure
:13844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13845 eval "ac_cv_lib_$ac_lib_var=yes"
13847 echo "configure: failed program was:" >&5
13848 cat conftest.
$ac_ext >&5
13850 eval "ac_cv_lib_$ac_lib_var=no"
13853 LIBS
="$ac_save_LIBS"
13856 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13857 echo "$ac_t""yes" 1>&6
13859 THREADS_OBJ
="threadpsx.lo"
13860 THREADS_LINK
=$THREADS_LIB
13863 echo "$ac_t""no" 1>&6
13865 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13866 echo "configure:13867: checking for pthread_create in -lc_r" >&5
13867 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13868 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13869 echo $ac_n "(cached) $ac_c" 1>&6
13871 ac_save_LIBS
="$LIBS"
13873 cat > conftest.
$ac_ext <<EOF
13874 #line 13875 "configure"
13875 #include "confdefs.h"
13876 /* Override any gcc2 internal prototype to avoid an error. */
13877 /* We use char because int might match the return type of a gcc2
13878 builtin and then its argument prototype would still apply. */
13879 char pthread_create();
13885 if { (eval echo configure
:13886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13887 eval "ac_cv_lib_$ac_lib_var=yes"
13889 echo "configure: failed program was:" >&5
13890 cat conftest.
$ac_ext >&5
13892 eval "ac_cv_lib_$ac_lib_var=no"
13895 LIBS
="$ac_save_LIBS"
13898 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13899 echo "$ac_t""yes" 1>&6
13901 THREADS_OBJ
="threadpsx.lo"
13905 echo "$ac_t""no" 1>&6
13907 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13908 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13909 echo "configure:13910: checking for sys/prctl.h" >&5
13910 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13911 echo $ac_n "(cached) $ac_c" 1>&6
13913 cat > conftest.
$ac_ext <<EOF
13914 #line 13915 "configure"
13915 #include "confdefs.h"
13916 #include <sys/prctl.h>
13918 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13919 { (eval echo configure
:13920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13920 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13921 if test -z "$ac_err"; then
13923 eval "ac_cv_header_$ac_safe=yes"
13926 echo "configure: failed program was:" >&5
13927 cat conftest.
$ac_ext >&5
13929 eval "ac_cv_header_$ac_safe=no"
13933 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13934 echo "$ac_t""yes" 1>&6
13936 THREADS_OBJ
="threadsgi.lo"
13939 echo "$ac_t""no" 1>&6
13949 if test -z "$THREADS_OBJ" ; then
13951 echo "configure: warning: No thread support on this system" 1>&2
13955 if test "$wxUSE_THREADS" = "yes" ; then
13956 for ac_func
in thr_setconcurrency
13958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13959 echo "configure:13960: checking for $ac_func" >&5
13960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13961 echo $ac_n "(cached) $ac_c" 1>&6
13963 cat > conftest.
$ac_ext <<EOF
13964 #line 13965 "configure"
13965 #include "confdefs.h"
13966 /* System header to define __stub macros and hopefully few prototypes,
13967 which can conflict with char $ac_func(); below. */
13968 #include <assert.h>
13969 /* Override any gcc2 internal prototype to avoid an error. */
13970 /* We use char because int might match the return type of a gcc2
13971 builtin and then its argument prototype would still apply. */
13976 /* The GNU C library defines this for functions which it implements
13977 to always fail with ENOSYS. Some functions are actually named
13978 something starting with __ and the normal name is an alias. */
13979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13987 if { (eval echo configure
:13988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13989 eval "ac_cv_func_$ac_func=yes"
13991 echo "configure: failed program was:" >&5
13992 cat conftest.
$ac_ext >&5
13994 eval "ac_cv_func_$ac_func=no"
13999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14000 echo "$ac_t""yes" 1>&6
14001 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14002 cat >> confdefs.h
<<EOF
14003 #define $ac_tr_func 1
14007 echo "$ac_t""no" 1>&6
14013 for ac_hdr
in sched.h
14015 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14016 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14017 echo "configure:14018: checking for $ac_hdr" >&5
14018 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14021 cat > conftest.
$ac_ext <<EOF
14022 #line 14023 "configure"
14023 #include "confdefs.h"
14026 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14027 { (eval echo configure
:14028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14028 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14029 if test -z "$ac_err"; then
14031 eval "ac_cv_header_$ac_safe=yes"
14034 echo "configure: failed program was:" >&5
14035 cat conftest.
$ac_ext >&5
14037 eval "ac_cv_header_$ac_safe=no"
14041 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14042 echo "$ac_t""yes" 1>&6
14043 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14044 cat >> confdefs.h
<<EOF
14045 #define $ac_tr_hdr 1
14049 echo "$ac_t""no" 1>&6
14054 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14055 echo "configure:14056: checking for sched_yield in -l$THREADS_LINK" >&5
14056 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14058 echo $ac_n "(cached) $ac_c" 1>&6
14060 ac_save_LIBS
="$LIBS"
14061 LIBS
="-l$THREADS_LINK $LIBS"
14062 cat > conftest.
$ac_ext <<EOF
14063 #line 14064 "configure"
14064 #include "confdefs.h"
14065 /* Override any gcc2 internal prototype to avoid an error. */
14066 /* We use char because int might match the return type of a gcc2
14067 builtin and then its argument prototype would still apply. */
14068 char sched_yield();
14074 if { (eval echo configure
:14075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14076 eval "ac_cv_lib_$ac_lib_var=yes"
14078 echo "configure: failed program was:" >&5
14079 cat conftest.
$ac_ext >&5
14081 eval "ac_cv_lib_$ac_lib_var=no"
14084 LIBS
="$ac_save_LIBS"
14087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14088 echo "$ac_t""yes" 1>&6
14089 cat >> confdefs.h
<<\EOF
14090 #define HAVE_SCHED_YIELD 1
14094 echo "$ac_t""no" 1>&6
14095 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14096 echo "configure:14097: checking for sched_yield in -lposix4" >&5
14097 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14099 echo $ac_n "(cached) $ac_c" 1>&6
14101 ac_save_LIBS
="$LIBS"
14102 LIBS
="-lposix4 $LIBS"
14103 cat > conftest.
$ac_ext <<EOF
14104 #line 14105 "configure"
14105 #include "confdefs.h"
14106 /* Override any gcc2 internal prototype to avoid an error. */
14107 /* We use char because int might match the return type of a gcc2
14108 builtin and then its argument prototype would still apply. */
14109 char sched_yield();
14115 if { (eval echo configure
:14116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14117 eval "ac_cv_lib_$ac_lib_var=yes"
14119 echo "configure: failed program was:" >&5
14120 cat conftest.
$ac_ext >&5
14122 eval "ac_cv_lib_$ac_lib_var=no"
14125 LIBS
="$ac_save_LIBS"
14128 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14129 echo "$ac_t""yes" 1>&6
14130 cat >> confdefs.h
<<\EOF
14131 #define HAVE_SCHED_YIELD 1
14133 POSIX4_LINK
="-lposix4"
14135 echo "$ac_t""no" 1>&6
14136 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14145 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14146 echo "configure:14147: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14147 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14148 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14149 echo $ac_n "(cached) $ac_c" 1>&6
14151 ac_save_LIBS
="$LIBS"
14152 LIBS
="-l$THREADS_LINK $LIBS"
14153 cat > conftest.
$ac_ext <<EOF
14154 #line 14155 "configure"
14155 #include "confdefs.h"
14156 /* Override any gcc2 internal prototype to avoid an error. */
14157 /* We use char because int might match the return type of a gcc2
14158 builtin and then its argument prototype would still apply. */
14159 char pthread_attr_getschedpolicy();
14162 pthread_attr_getschedpolicy()
14165 if { (eval echo configure
:14166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14167 eval "ac_cv_lib_$ac_lib_var=yes"
14169 echo "configure: failed program was:" >&5
14170 cat conftest.
$ac_ext >&5
14172 eval "ac_cv_lib_$ac_lib_var=no"
14175 LIBS
="$ac_save_LIBS"
14178 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14179 echo "$ac_t""yes" 1>&6
14180 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14181 echo "configure:14182: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14182 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14184 echo $ac_n "(cached) $ac_c" 1>&6
14186 ac_save_LIBS
="$LIBS"
14187 LIBS
="-l$THREADS_LINK $LIBS"
14188 cat > conftest.
$ac_ext <<EOF
14189 #line 14190 "configure"
14190 #include "confdefs.h"
14191 /* Override any gcc2 internal prototype to avoid an error. */
14192 /* We use char because int might match the return type of a gcc2
14193 builtin and then its argument prototype would still apply. */
14194 char pthread_attr_setschedparam();
14197 pthread_attr_setschedparam()
14200 if { (eval echo configure
:14201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14202 eval "ac_cv_lib_$ac_lib_var=yes"
14204 echo "configure: failed program was:" >&5
14205 cat conftest.
$ac_ext >&5
14207 eval "ac_cv_lib_$ac_lib_var=no"
14210 LIBS
="$ac_save_LIBS"
14213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14214 echo "$ac_t""yes" 1>&6
14215 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14216 echo "configure:14217: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14217 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14218 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14219 echo $ac_n "(cached) $ac_c" 1>&6
14221 ac_save_LIBS
="$LIBS"
14222 LIBS
="-l$THREADS_LINK $LIBS"
14223 cat > conftest.
$ac_ext <<EOF
14224 #line 14225 "configure"
14225 #include "confdefs.h"
14226 /* Override any gcc2 internal prototype to avoid an error. */
14227 /* We use char because int might match the return type of a gcc2
14228 builtin and then its argument prototype would still apply. */
14229 char sched_get_priority_max();
14232 sched_get_priority_max()
14235 if { (eval echo configure
:14236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14237 eval "ac_cv_lib_$ac_lib_var=yes"
14239 echo "configure: failed program was:" >&5
14240 cat conftest.
$ac_ext >&5
14242 eval "ac_cv_lib_$ac_lib_var=no"
14245 LIBS
="$ac_save_LIBS"
14248 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14249 echo "$ac_t""yes" 1>&6
14252 echo "$ac_t""no" 1>&6
14253 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14254 echo "configure:14255: checking for sched_get_priority_max in -lposix4" >&5
14255 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14257 echo $ac_n "(cached) $ac_c" 1>&6
14259 ac_save_LIBS
="$LIBS"
14260 LIBS
="-lposix4 $LIBS"
14261 cat > conftest.
$ac_ext <<EOF
14262 #line 14263 "configure"
14263 #include "confdefs.h"
14264 /* Override any gcc2 internal prototype to avoid an error. */
14265 /* We use char because int might match the return type of a gcc2
14266 builtin and then its argument prototype would still apply. */
14267 char sched_get_priority_max();
14270 sched_get_priority_max()
14273 if { (eval echo configure
:14274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14275 eval "ac_cv_lib_$ac_lib_var=yes"
14277 echo "configure: failed program was:" >&5
14278 cat conftest.
$ac_ext >&5
14280 eval "ac_cv_lib_$ac_lib_var=no"
14283 LIBS
="$ac_save_LIBS"
14286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14287 echo "$ac_t""yes" 1>&6
14290 POSIX4_LINK
="-lposix4"
14293 echo "$ac_t""no" 1>&6
14301 echo "$ac_t""no" 1>&6
14306 echo "$ac_t""no" 1>&6
14310 if test "$HAVE_PRIOR_FUNCS" = 1; then
14311 cat >> confdefs.h
<<\EOF
14312 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14316 echo "configure: warning: Setting thread priority will not work" 1>&2
14319 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14320 echo "configure:14321: checking for pthread_cancel in -l$THREADS_LINK" >&5
14321 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14323 echo $ac_n "(cached) $ac_c" 1>&6
14325 ac_save_LIBS
="$LIBS"
14326 LIBS
="-l$THREADS_LINK $LIBS"
14327 cat > conftest.
$ac_ext <<EOF
14328 #line 14329 "configure"
14329 #include "confdefs.h"
14330 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14333 char pthread_cancel();
14339 if { (eval echo configure
:14340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14341 eval "ac_cv_lib_$ac_lib_var=yes"
14343 echo "configure: failed program was:" >&5
14344 cat conftest.
$ac_ext >&5
14346 eval "ac_cv_lib_$ac_lib_var=no"
14349 LIBS
="$ac_save_LIBS"
14352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14353 echo "$ac_t""yes" 1>&6
14354 cat >> confdefs.h
<<\EOF
14355 #define HAVE_PTHREAD_CANCEL 1
14359 echo "$ac_t""no" 1>&6
14360 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14364 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14365 echo "configure:14366: checking for pthread_cleanup_push/pop" >&5
14366 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14367 echo $ac_n "(cached) $ac_c" 1>&6
14370 cat > conftest.
$ac_ext <<EOF
14371 #line 14372 "configure"
14372 #include "confdefs.h"
14373 #include <pthread.h>
14376 pthread_cleanup_push(NULL, NULL);
14377 pthread_cleanup_pop(0);
14381 if { (eval echo configure
:14382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14384 wx_cv_func_pthread_cleanup_push
=yes
14387 echo "configure: failed program was:" >&5
14388 cat conftest.
$ac_ext >&5
14391 wx_cv_func_pthread_cleanup_push
=no
14398 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14400 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14401 cat >> confdefs.h
<<\EOF
14402 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14408 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14409 echo "configure:14410: checking for pthread_mutexattr_t" >&5
14410 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14411 echo $ac_n "(cached) $ac_c" 1>&6
14414 cat > conftest.
$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14417 #include <pthread.h>
14420 pthread_mutexattr_t attr;
14421 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14425 if { (eval echo configure
:14426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14428 wx_cv_type_pthread_mutexattr_t
=yes
14431 echo "configure: failed program was:" >&5
14432 cat conftest.
$ac_ext >&5
14435 wx_cv_type_pthread_mutexattr_t
=no
14443 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14445 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14446 cat >> confdefs.h
<<\EOF
14447 #define HAVE_PTHREAD_MUTEXATTR_T 1
14451 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14452 echo "configure:14453: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14453 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14454 echo $ac_n "(cached) $ac_c" 1>&6
14457 cat > conftest.
$ac_ext <<EOF
14458 #line 14459 "configure"
14459 #include "confdefs.h"
14460 #include <pthread.h>
14463 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14467 if { (eval echo configure
:14468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14470 wx_cv_type_pthread_rec_mutex_init
=yes
14473 echo "configure: failed program was:" >&5
14474 cat conftest.
$ac_ext >&5
14477 wx_cv_type_pthread_rec_mutex_init
=no
14485 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14486 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14487 cat >> confdefs.h
<<\EOF
14488 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14492 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14496 THREADS_LINK
="-l$THREADS_LINK"
14498 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14499 CFLAGS
="${CFLAGS} -mt"
14500 CXXFLAGS
="${CXXFLAGS} -mt"
14501 LDFLAGS
="${LDFLAGS} -mt"
14507 if test "$wxUSE_THREADS" = "yes"; then
14508 cat >> confdefs.h
<<\EOF
14509 #define wxUSE_THREADS 1
14513 if test "$wxUSE_MAC" = "0"; then
14514 CFLAGS
="${CFLAGS} -D_REENTRANT"
14515 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14520 if test "$ac_cv_func_strtok_r" = "yes"; then
14521 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14522 echo "configure:14523: checking if -D_REENTRANT is needed" >&5
14523 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14524 CFLAGS
="${CFLAGS} -D_REENTRANT"
14525 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14526 echo "$ac_t""yes" 1>&6
14528 echo "$ac_t""no" 1>&6
14533 if test "$WXGTK20" = 1 ; then
14534 cat >> confdefs.h
<<EOF
14535 #define __WXGTK20__ $WXGTK20
14541 if test "$WXGTK12" = 1 ; then
14542 cat >> confdefs.h
<<EOF
14543 #define __WXGTK12__ $WXGTK12
14548 if test "$WXGTK127" = 1 ; then
14549 cat >> confdefs.h
<<EOF
14550 #define __WXGTK127__ $WXGTK127
14555 if test "$WXWINE" = 1 ; then
14556 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14559 if test "$wxUSE_MAC" = 1 ; then
14560 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14561 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14562 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14563 # Extract the first word of "Rez", so it can be a program name with args.
14564 set dummy Rez
; ac_word
=$2
14565 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14566 echo "configure:14567: checking for $ac_word" >&5
14567 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14568 echo $ac_n "(cached) $ac_c" 1>&6
14570 if test -n "$REZ"; then
14571 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14573 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14575 for ac_dir
in $ac_dummy; do
14576 test -z "$ac_dir" && ac_dir
=.
14577 if test -f $ac_dir/$ac_word; then
14578 ac_cv_prog_REZ
="Rez"
14583 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14586 REZ
="$ac_cv_prog_REZ"
14587 if test -n "$REZ"; then
14588 echo "$ac_t""$REZ" 1>&6
14590 echo "$ac_t""no" 1>&6
14593 # Extract the first word of "Derez", so it can be a program name with args.
14594 set dummy Derez
; ac_word
=$2
14595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14596 echo "configure:14597: checking for $ac_word" >&5
14597 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14598 echo $ac_n "(cached) $ac_c" 1>&6
14600 if test -n "$DEREZ"; then
14601 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14603 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14605 for ac_dir
in $ac_dummy; do
14606 test -z "$ac_dir" && ac_dir
=.
14607 if test -f $ac_dir/$ac_word; then
14608 ac_cv_prog_DEREZ
="Derez"
14613 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14616 DEREZ
="$ac_cv_prog_DEREZ"
14617 if test -n "$DEREZ"; then
14618 echo "$ac_t""$DEREZ" 1>&6
14620 echo "$ac_t""no" 1>&6
14624 REZFLAGS
="-d __UNIX__ -useDF"
14625 DEREZFLAGS
="Carbon.r -useDF"
14626 RESFLAGS
="Carbon.r -t APPL"
14627 LIBWXMACRES
="\$(LIBWX_MACRES)"
14628 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14631 if test "$wxUSE_CYGWIN" = 1 ; then
14632 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14637 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14642 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14643 wxUSE_DEBUG_INFO
=yes
14647 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14648 cat >> confdefs.h
<<\EOF
14652 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14654 if test "$wxUSE_GTK" = 1 ; then
14655 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14659 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14660 cat >> confdefs.h
<<\EOF
14661 #define wxUSE_MEMORY_TRACING 1
14664 cat >> confdefs.h
<<\EOF
14665 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14668 cat >> confdefs.h
<<\EOF
14669 #define wxUSE_DEBUG_NEW_ALWAYS 1
14672 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14675 if test "$wxUSE_DMALLOC" = "yes" ; then
14676 DMALLOC_LINK
="-ldmalloc"
14680 if test "$wxUSE_PROFILE" = "yes" ; then
14686 CODE_GEN_FLAGS_CXX
=
14687 if test "$GCC" = yes ; then
14688 if test "$wxUSE_NO_RTTI" = "yes" ; then
14689 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14691 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14692 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14694 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14695 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14697 if test "$wxUSE_NO_DEPS" = "no" ; then
14698 DEP_INFO_FLAGS
="-MMD"
14703 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14704 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14705 if test "$wxUSE_OPTIMISE" = "no" ; then
14708 if test "$GCC" = yes ; then
14711 i586
-*-*|i686
-*-* )
14712 OPTIMISE
="${OPTIMISE} "
14720 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14721 cat >> confdefs.h
<<\EOF
14722 #define WXWIN_COMPATIBILITY_2 1
14726 WXWIN_COMPATIBILITY_2_2
="yes"
14729 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14730 cat >> confdefs.h
<<\EOF
14731 #define WXWIN_COMPATIBILITY_2_2 1
14738 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14739 cat >> confdefs.h
<<\EOF
14740 #define wxUSE_ZLIB 1
14743 if test "$wxUSE_ZLIB" = "yes" ; then
14744 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14747 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14748 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14749 echo "configure:14750: checking for zlib.h" >&5
14750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14751 echo $ac_n "(cached) $ac_c" 1>&6
14753 cat > conftest.
$ac_ext <<EOF
14754 #line 14755 "configure"
14755 #include "confdefs.h"
14758 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14759 { (eval echo configure
:14760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14760 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14761 if test -z "$ac_err"; then
14763 eval "ac_cv_header_$ac_safe=yes"
14766 echo "configure: failed program was:" >&5
14767 cat conftest.
$ac_ext >&5
14769 eval "ac_cv_header_$ac_safe=no"
14773 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14774 echo "$ac_t""yes" 1>&6
14775 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14776 echo "configure:14777: checking for deflate in -lz" >&5
14777 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14778 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14779 echo $ac_n "(cached) $ac_c" 1>&6
14781 ac_save_LIBS
="$LIBS"
14783 cat > conftest.
$ac_ext <<EOF
14784 #line 14785 "configure"
14785 #include "confdefs.h"
14786 /* Override any gcc2 internal prototype to avoid an error. */
14787 /* We use char because int might match the return type of a gcc2
14788 builtin and then its argument prototype would still apply. */
14795 if { (eval echo configure
:14796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14797 eval "ac_cv_lib_$ac_lib_var=yes"
14799 echo "configure: failed program was:" >&5
14800 cat conftest.
$ac_ext >&5
14802 eval "ac_cv_lib_$ac_lib_var=no"
14805 LIBS
="$ac_save_LIBS"
14808 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14809 echo "$ac_t""yes" 1>&6
14812 echo "$ac_t""no" 1>&6
14816 echo "$ac_t""no" 1>&6
14819 if test "x$ZLIB_LINK" = "x" ; then
14820 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14826 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14827 cat >> confdefs.h
<<\EOF
14828 #define wxUSE_LIBPNG 1
14831 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14832 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14836 if test "$wxUSE_LIBPNG" = "yes" ; then
14837 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14840 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14841 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14842 echo "configure:14843: checking for png.h" >&5
14843 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14844 echo $ac_n "(cached) $ac_c" 1>&6
14846 cat > conftest.
$ac_ext <<EOF
14847 #line 14848 "configure"
14848 #include "confdefs.h"
14851 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14852 { (eval echo configure
:14853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14853 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14854 if test -z "$ac_err"; then
14856 eval "ac_cv_header_$ac_safe=yes"
14859 echo "configure: failed program was:" >&5
14860 cat conftest.
$ac_ext >&5
14862 eval "ac_cv_header_$ac_safe=no"
14866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14867 echo "$ac_t""yes" 1>&6
14868 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14869 echo "configure:14870: checking for png_check_sig in -lpng" >&5
14870 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14872 echo $ac_n "(cached) $ac_c" 1>&6
14874 ac_save_LIBS
="$LIBS"
14875 LIBS
="-lpng -lz -lm $LIBS"
14876 cat > conftest.
$ac_ext <<EOF
14877 #line 14878 "configure"
14878 #include "confdefs.h"
14879 /* Override any gcc2 internal prototype to avoid an error. */
14880 /* We use char because int might match the return type of a gcc2
14881 builtin and then its argument prototype would still apply. */
14882 char png_check_sig();
14888 if { (eval echo configure
:14889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14890 eval "ac_cv_lib_$ac_lib_var=yes"
14892 echo "configure: failed program was:" >&5
14893 cat conftest.
$ac_ext >&5
14895 eval "ac_cv_lib_$ac_lib_var=no"
14898 LIBS
="$ac_save_LIBS"
14901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14902 echo "$ac_t""yes" 1>&6
14905 echo "$ac_t""no" 1>&6
14910 echo "$ac_t""no" 1>&6
14913 if test "x$PNG_LINK" = "x" ; then
14914 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14922 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14923 cat >> confdefs.h
<<\EOF
14924 #define wxUSE_LIBJPEG 1
14927 if test "$wxUSE_LIBJPEG" = "yes" ; then
14928 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14931 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14932 echo "configure:14933: checking for jpeglib.h" >&5
14933 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14934 echo $ac_n "(cached) $ac_c" 1>&6
14936 cat > conftest.
$ac_ext <<EOF
14937 #line 14938 "configure"
14938 #include "confdefs.h"
14940 #undef HAVE_STDLIB_H
14942 #include <jpeglib.h>
14949 if { (eval echo configure
:14950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14951 ac_cv_header_jpeglib_h
=yes
14953 echo "configure: failed program was:" >&5
14954 cat conftest.
$ac_ext >&5
14956 ac_cv_header_jpeglib_h
=no
14963 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14965 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14966 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14967 echo "configure:14968: checking for jpeg_read_header in -ljpeg" >&5
14968 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14972 ac_save_LIBS
="$LIBS"
14973 LIBS
="-ljpeg $LIBS"
14974 cat > conftest.
$ac_ext <<EOF
14975 #line 14976 "configure"
14976 #include "confdefs.h"
14977 /* Override any gcc2 internal prototype to avoid an error. */
14978 /* We use char because int might match the return type of a gcc2
14979 builtin and then its argument prototype would still apply. */
14980 char jpeg_read_header();
14986 if { (eval echo configure
:14987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14988 eval "ac_cv_lib_$ac_lib_var=yes"
14990 echo "configure: failed program was:" >&5
14991 cat conftest.
$ac_ext >&5
14993 eval "ac_cv_lib_$ac_lib_var=no"
14996 LIBS
="$ac_save_LIBS"
14999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15000 echo "$ac_t""yes" 1>&6
15003 echo "$ac_t""no" 1>&6
15008 if test "x$JPEG_LINK" = "x" ; then
15009 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15015 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15016 cat >> confdefs.h
<<\EOF
15017 #define wxUSE_LIBTIFF 1
15020 if test "$wxUSE_LIBTIFF" = "yes" ; then
15021 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15024 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15025 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15026 echo "configure:15027: checking for tiffio.h" >&5
15027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15028 echo $ac_n "(cached) $ac_c" 1>&6
15030 cat > conftest.
$ac_ext <<EOF
15031 #line 15032 "configure"
15032 #include "confdefs.h"
15033 #include <tiffio.h>
15035 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15036 { (eval echo configure
:15037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15037 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15038 if test -z "$ac_err"; then
15040 eval "ac_cv_header_$ac_safe=yes"
15043 echo "configure: failed program was:" >&5
15044 cat conftest.
$ac_ext >&5
15046 eval "ac_cv_header_$ac_safe=no"
15050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15051 echo "$ac_t""yes" 1>&6
15052 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15053 echo "configure:15054: checking for TIFFError in -ltiff" >&5
15054 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15056 echo $ac_n "(cached) $ac_c" 1>&6
15058 ac_save_LIBS
="$LIBS"
15059 LIBS
="-ltiff -lm $LIBS"
15060 cat > conftest.
$ac_ext <<EOF
15061 #line 15062 "configure"
15062 #include "confdefs.h"
15063 /* Override any gcc2 internal prototype to avoid an error. */
15064 /* We use char because int might match the return type of a gcc2
15065 builtin and then its argument prototype would still apply. */
15072 if { (eval echo configure
:15073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15074 eval "ac_cv_lib_$ac_lib_var=yes"
15076 echo "configure: failed program was:" >&5
15077 cat conftest.
$ac_ext >&5
15079 eval "ac_cv_lib_$ac_lib_var=no"
15082 LIBS
="$ac_save_LIBS"
15085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15086 echo "$ac_t""yes" 1>&6
15089 echo "$ac_t""no" 1>&6
15093 echo "$ac_t""no" 1>&6
15096 if test "x$TIFF_LINK" = "x" ; then
15097 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15103 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15104 cat >> confdefs.h
<<\EOF
15105 #define wxUSE_FREETYPE 1
15108 if test "$wxUSE_FREETYPE" = "yes" ; then
15109 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15112 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15113 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15114 echo "configure:15115: checking for freetype.h" >&5
15115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15116 echo $ac_n "(cached) $ac_c" 1>&6
15118 cat > conftest.
$ac_ext <<EOF
15119 #line 15120 "configure"
15120 #include "confdefs.h"
15121 #include <freetype.h>
15123 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15124 { (eval echo configure
:15125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15125 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15126 if test -z "$ac_err"; then
15128 eval "ac_cv_header_$ac_safe=yes"
15131 echo "configure: failed program was:" >&5
15132 cat conftest.
$ac_ext >&5
15134 eval "ac_cv_header_$ac_safe=no"
15138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15139 echo "$ac_t""yes" 1>&6
15140 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15141 echo "configure:15142: checking for FT_Render_Glyph in -lfreetype" >&5
15142 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15143 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15144 echo $ac_n "(cached) $ac_c" 1>&6
15146 ac_save_LIBS
="$LIBS"
15147 LIBS
="-lfreetype -lm $LIBS"
15148 cat > conftest.
$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15151 /* Override any gcc2 internal prototype to avoid an error. */
15152 /* We use char because int might match the return type of a gcc2
15153 builtin and then its argument prototype would still apply. */
15154 char FT_Render_Glyph();
15160 if { (eval echo configure
:15161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15162 eval "ac_cv_lib_$ac_lib_var=yes"
15164 echo "configure: failed program was:" >&5
15165 cat conftest.
$ac_ext >&5
15167 eval "ac_cv_lib_$ac_lib_var=no"
15170 LIBS
="$ac_save_LIBS"
15173 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15174 echo "$ac_t""yes" 1>&6
15175 FREETYPE_LINK
="-lfreetype"
15177 echo "$ac_t""no" 1>&6
15182 echo "$ac_t""no" 1>&6
15185 if test "x$FREETYPE_LINK" = "x" ; then
15186 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15191 if test "$wxUSE_OPENGL" = "yes"; then
15192 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15193 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15194 echo "configure:15195: checking for GL/gl.h" >&5
15195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15196 echo $ac_n "(cached) $ac_c" 1>&6
15198 cat > conftest.
$ac_ext <<EOF
15199 #line 15200 "configure"
15200 #include "confdefs.h"
15203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15204 { (eval echo configure
:15205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15206 if test -z "$ac_err"; then
15208 eval "ac_cv_header_$ac_safe=yes"
15211 echo "configure: failed program was:" >&5
15212 cat conftest.
$ac_ext >&5
15214 eval "ac_cv_header_$ac_safe=no"
15218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15219 echo "$ac_t""yes" 1>&6
15221 cat >> confdefs.h
<<\EOF
15222 #define wxUSE_OPENGL 1
15225 cat >> confdefs.h
<<\EOF
15226 #define wxUSE_GLCANVAS 1
15229 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15230 echo "configure:15231: checking for glFlush in -lGL" >&5
15231 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15233 echo $ac_n "(cached) $ac_c" 1>&6
15235 ac_save_LIBS
="$LIBS"
15237 cat > conftest.
$ac_ext <<EOF
15238 #line 15239 "configure"
15239 #include "confdefs.h"
15240 /* Override any gcc2 internal prototype to avoid an error. */
15241 /* We use char because int might match the return type of a gcc2
15242 builtin and then its argument prototype would still apply. */
15249 if { (eval echo configure
:15250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15251 eval "ac_cv_lib_$ac_lib_var=yes"
15253 echo "configure: failed program was:" >&5
15254 cat conftest.
$ac_ext >&5
15256 eval "ac_cv_lib_$ac_lib_var=no"
15259 LIBS
="$ac_save_LIBS"
15262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15263 echo "$ac_t""yes" 1>&6
15265 OPENGL_LINK
="-lGL -lGLU"
15268 echo "$ac_t""no" 1>&6
15270 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15271 echo "configure:15272: checking for glFlush in -lMesaGL" >&5
15272 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15274 echo $ac_n "(cached) $ac_c" 1>&6
15276 ac_save_LIBS
="$LIBS"
15277 LIBS
="-lMesaGL $LIBS"
15278 cat > conftest.
$ac_ext <<EOF
15279 #line 15280 "configure"
15280 #include "confdefs.h"
15281 /* Override any gcc2 internal prototype to avoid an error. */
15282 /* We use char because int might match the return type of a gcc2
15283 builtin and then its argument prototype would still apply. */
15290 if { (eval echo configure
:15291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15292 eval "ac_cv_lib_$ac_lib_var=yes"
15294 echo "configure: failed program was:" >&5
15295 cat conftest.
$ac_ext >&5
15297 eval "ac_cv_lib_$ac_lib_var=no"
15300 LIBS
="$ac_save_LIBS"
15303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15304 echo "$ac_t""yes" 1>&6
15306 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15309 echo "$ac_t""no" 1>&6
15317 echo "$ac_t""no" 1>&6
15324 if test "$wxUSE_GUI" = "yes"; then
15325 cat >> confdefs.h
<<\EOF
15326 #define wxUSE_GUI 1
15331 cat >> confdefs.h
<<\EOF
15332 #define wxUSE_NOGUI 1
15338 if test "$wxUSE_UNIX" = "yes"; then
15339 cat >> confdefs.h
<<\EOF
15340 #define wxUSE_UNIX 1
15346 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15347 cat >> confdefs.h
<<\EOF
15348 #define wxUSE_APPLE_IEEE 1
15353 if test "$wxUSE_TIMER" = "yes"; then
15354 cat >> confdefs.h
<<\EOF
15355 #define wxUSE_TIMER 1
15360 if test "$wxUSE_WAVE" = "yes"; then
15361 cat >> confdefs.h
<<\EOF
15362 #define wxUSE_WAVE 1
15367 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15368 cat >> confdefs.h
<<\EOF
15369 #define wxUSE_CMDLINE_PARSER 1
15374 if test "$wxUSE_STOPWATCH" = "yes"; then
15375 cat >> confdefs.h
<<\EOF
15376 #define wxUSE_STOPWATCH 1
15381 if test "$wxUSE_DATETIME" = "yes"; then
15382 cat >> confdefs.h
<<\EOF
15383 #define wxUSE_DATETIME 1
15388 if test "$wxUSE_TIMEDATE" = "yes"; then
15389 cat >> confdefs.h
<<\EOF
15390 #define wxUSE_TIMEDATE 1
15395 if test "$wxUSE_FILE" = "yes"; then
15396 cat >> confdefs.h
<<\EOF
15397 #define wxUSE_FILE 1
15402 if test "$wxUSE_FFILE" = "yes"; then
15403 cat >> confdefs.h
<<\EOF
15404 #define wxUSE_FFILE 1
15409 if test "$wxUSE_FILESYSTEM" = "yes"; then
15410 cat >> confdefs.h
<<\EOF
15411 #define wxUSE_FILESYSTEM 1
15416 if test "$wxUSE_FS_INET" = "yes"; then
15417 cat >> confdefs.h
<<\EOF
15418 #define wxUSE_FS_INET 1
15423 if test "$wxUSE_FS_ZIP" = "yes"; then
15424 cat >> confdefs.h
<<\EOF
15425 #define wxUSE_FS_ZIP 1
15430 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15431 cat >> confdefs.h
<<\EOF
15432 #define wxUSE_ZIPSTREAM 1
15437 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15438 cat >> confdefs.h
<<\EOF
15439 #define wxUSE_ON_FATAL_EXCEPTION 1
15444 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15445 cat >> confdefs.h
<<\EOF
15446 #define wxUSE_SNGLINST_CHECKER 1
15451 if test "$wxUSE_BUSYINFO" = "yes"; then
15452 cat >> confdefs.h
<<\EOF
15453 #define wxUSE_BUSYINFO 1
15458 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15459 cat >> confdefs.h
<<\EOF
15460 #define wxUSE_STD_IOSTREAM 1
15465 if test "$wxUSE_TEXTFILE" = "yes"; then
15466 if test "$wxUSE_FILE" != "yes"; then
15467 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15469 cat >> confdefs.h
<<\EOF
15470 #define wxUSE_TEXTFILE 1
15476 if test "$wxUSE_CONFIG" = "yes" ; then
15477 if test "$wxUSE_TEXTFILE" != "yes"; then
15478 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15480 cat >> confdefs.h
<<\EOF
15481 #define wxUSE_CONFIG 1
15484 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15488 if test "$wxUSE_INTL" = "yes" ; then
15489 if test "$wxUSE_FILE" != "yes"; then
15490 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15492 cat >> confdefs.h
<<\EOF
15493 #define wxUSE_INTL 1
15496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15497 GUIDIST
="$GUIDIST INTL_DIST"
15501 if test "$wxUSE_LOG" = "yes"; then
15502 cat >> confdefs.h
<<\EOF
15503 #define wxUSE_LOG 1
15507 if test "$wxUSE_LOGGUI" = "yes"; then
15508 cat >> confdefs.h
<<\EOF
15509 #define wxUSE_LOGGUI 1
15514 if test "$wxUSE_LOGWINDOW" = "yes"; then
15515 cat >> confdefs.h
<<\EOF
15516 #define wxUSE_LOGWINDOW 1
15522 if test "$wxUSE_LONGLONG" = "yes"; then
15523 cat >> confdefs.h
<<\EOF
15524 #define wxUSE_LONGLONG 1
15529 if test "$wxUSE_GEOMETRY" = "yes"; then
15530 cat >> confdefs.h
<<\EOF
15531 #define wxUSE_GEOMETRY 1
15536 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15537 cat >> confdefs.h
<<\EOF
15538 #define wxUSE_DIALUP_MANAGER 1
15541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15544 if test "$wxUSE_STREAMS" = "yes" ; then
15545 cat >> confdefs.h
<<\EOF
15546 #define wxUSE_STREAMS 1
15552 if test "$wxUSE_DATETIME" = "yes"; then
15553 for ac_func
in strptime
15555 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15556 echo "configure:15557: checking for $ac_func" >&5
15557 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15558 echo $ac_n "(cached) $ac_c" 1>&6
15560 cat > conftest.
$ac_ext <<EOF
15561 #line 15562 "configure"
15562 #include "confdefs.h"
15563 /* System header to define __stub macros and hopefully few prototypes,
15564 which can conflict with char $ac_func(); below. */
15565 #include <assert.h>
15566 /* Override any gcc2 internal prototype to avoid an error. */
15567 /* We use char because int might match the return type of a gcc2
15568 builtin and then its argument prototype would still apply. */
15573 /* The GNU C library defines this for functions which it implements
15574 to always fail with ENOSYS. Some functions are actually named
15575 something starting with __ and the normal name is an alias. */
15576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15584 if { (eval echo configure
:15585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15586 eval "ac_cv_func_$ac_func=yes"
15588 echo "configure: failed program was:" >&5
15589 cat conftest.
$ac_ext >&5
15591 eval "ac_cv_func_$ac_func=no"
15596 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15597 echo "$ac_t""yes" 1>&6
15598 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15599 cat >> confdefs.h
<<EOF
15600 #define $ac_tr_func 1
15604 echo "$ac_t""no" 1>&6
15609 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15610 echo "configure:15611: checking for timezone variable in <time.h>" >&5
15611 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15612 echo $ac_n "(cached) $ac_c" 1>&6
15615 cat > conftest.
$ac_ext <<EOF
15616 #line 15617 "configure"
15617 #include "confdefs.h"
15628 if { (eval echo configure
:15629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15631 wx_cv_var_timezone
=timezone
15634 echo "configure: failed program was:" >&5
15635 cat conftest.
$ac_ext >&5
15638 cat > conftest.
$ac_ext <<EOF
15639 #line 15640 "configure"
15640 #include "confdefs.h"
15651 if { (eval echo configure
:15652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15654 wx_cv_var_timezone
=_timezone
15657 echo "configure: failed program was:" >&5
15658 cat conftest.
$ac_ext >&5
15661 cat > conftest.
$ac_ext <<EOF
15662 #line 15663 "configure"
15663 #include "confdefs.h"
15674 if { (eval echo configure
:15675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15677 wx_cv_var_timezone
=__timezone
15680 echo "configure: failed program was:" >&5
15681 cat conftest.
$ac_ext >&5
15683 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15699 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15701 cat >> confdefs.h
<<EOF
15702 #define WX_TIMEZONE $wx_cv_var_timezone
15706 for ac_func
in localtime
15708 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15709 echo "configure:15710: checking for $ac_func" >&5
15710 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15711 echo $ac_n "(cached) $ac_c" 1>&6
15713 cat > conftest.
$ac_ext <<EOF
15714 #line 15715 "configure"
15715 #include "confdefs.h"
15716 /* System header to define __stub macros and hopefully few prototypes,
15717 which can conflict with char $ac_func(); below. */
15718 #include <assert.h>
15719 /* Override any gcc2 internal prototype to avoid an error. */
15720 /* We use char because int might match the return type of a gcc2
15721 builtin and then its argument prototype would still apply. */
15726 /* The GNU C library defines this for functions which it implements
15727 to always fail with ENOSYS. Some functions are actually named
15728 something starting with __ and the normal name is an alias. */
15729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15737 if { (eval echo configure
:15738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15739 eval "ac_cv_func_$ac_func=yes"
15741 echo "configure: failed program was:" >&5
15742 cat conftest.
$ac_ext >&5
15744 eval "ac_cv_func_$ac_func=no"
15749 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15750 echo "$ac_t""yes" 1>&6
15751 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15752 cat >> confdefs.h
<<EOF
15753 #define $ac_tr_func 1
15757 echo "$ac_t""no" 1>&6
15762 if test "$ac_cv_func_localtime" = "yes"; then
15763 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15764 echo "configure:15765: checking for tm_gmtoff in struct tm" >&5
15765 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15766 echo $ac_n "(cached) $ac_c" 1>&6
15769 cat > conftest.
$ac_ext <<EOF
15770 #line 15771 "configure"
15771 #include "confdefs.h"
15782 if { (eval echo configure
:15783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15785 wx_cv_struct_tm_has_gmtoff
=yes
15788 echo "configure: failed program was:" >&5
15789 cat conftest.
$ac_ext >&5
15791 wx_cv_struct_tm_has_gmtoff
=no
15798 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15801 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15802 cat >> confdefs.h
<<\EOF
15803 #define WX_GMTOFF_IN_TM 1
15808 for ac_func
in gettimeofday ftime
15810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15811 echo "configure:15812: checking for $ac_func" >&5
15812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15813 echo $ac_n "(cached) $ac_c" 1>&6
15815 cat > conftest.
$ac_ext <<EOF
15816 #line 15817 "configure"
15817 #include "confdefs.h"
15818 /* System header to define __stub macros and hopefully few prototypes,
15819 which can conflict with char $ac_func(); below. */
15820 #include <assert.h>
15821 /* Override any gcc2 internal prototype to avoid an error. */
15822 /* We use char because int might match the return type of a gcc2
15823 builtin and then its argument prototype would still apply. */
15828 /* The GNU C library defines this for functions which it implements
15829 to always fail with ENOSYS. Some functions are actually named
15830 something starting with __ and the normal name is an alias. */
15831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15839 if { (eval echo configure
:15840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15841 eval "ac_cv_func_$ac_func=yes"
15843 echo "configure: failed program was:" >&5
15844 cat conftest.
$ac_ext >&5
15846 eval "ac_cv_func_$ac_func=no"
15851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15852 echo "$ac_t""yes" 1>&6
15853 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15854 cat >> confdefs.h
<<EOF
15855 #define $ac_tr_func 1
15859 echo "$ac_t""no" 1>&6
15864 if test "$ac_cv_func_gettimeofday" = "yes"; then
15865 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15866 echo "configure:15867: checking whether gettimeofday takes two arguments" >&5
15867 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15868 echo $ac_n "(cached) $ac_c" 1>&6
15873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15874 ac_cpp
='$CXXCPP $CPPFLAGS'
15875 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15876 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15877 cross_compiling
=$ac_cv_prog_cxx_cross
15880 cat > conftest.
$ac_ext <<EOF
15881 #line 15882 "configure"
15882 #include "confdefs.h"
15884 #include <sys/time.h>
15885 #include <unistd.h>
15890 struct timezone tz;
15891 gettimeofday(&tv, &tz);
15895 if { (eval echo configure
:15896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15897 wx_cv_func_gettimeofday_has_2_args
=yes
15899 echo "configure: failed program was:" >&5
15900 cat conftest.
$ac_ext >&5
15902 cat > conftest.
$ac_ext <<EOF
15903 #line 15904 "configure"
15904 #include "confdefs.h"
15906 #include <sys/time.h>
15907 #include <unistd.h>
15916 if { (eval echo configure
:15917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15918 wx_cv_func_gettimeofday_has_2_args
=no
15920 echo "configure: failed program was:" >&5
15921 cat conftest.
$ac_ext >&5
15923 wx_cv_func_gettimeofday_has_2_args
=unknown
15931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15932 ac_cpp
='$CPP $CPPFLAGS'
15933 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15934 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15935 cross_compiling
=$ac_cv_prog_cc_cross
15940 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15942 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15943 cat >> confdefs.h
<<\EOF
15944 #define WX_GETTIMEOFDAY_NO_TZ 1
15950 cat >> confdefs.h
<<\EOF
15951 #define wxUSE_TIMEDATE 1
15954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15958 if test "$TOOLKIT" != "MSW"; then
15960 if test "$wxUSE_SOCKETS" = "yes"; then
15961 echo $ac_n "checking for socket""... $ac_c" 1>&6
15962 echo "configure:15963: checking for socket" >&5
15963 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15964 echo $ac_n "(cached) $ac_c" 1>&6
15966 cat > conftest.
$ac_ext <<EOF
15967 #line 15968 "configure"
15968 #include "confdefs.h"
15969 /* System header to define __stub macros and hopefully few prototypes,
15970 which can conflict with char socket(); below. */
15971 #include <assert.h>
15972 /* Override any gcc2 internal prototype to avoid an error. */
15973 /* We use char because int might match the return type of a gcc2
15974 builtin and then its argument prototype would still apply. */
15979 /* The GNU C library defines this for functions which it implements
15980 to always fail with ENOSYS. Some functions are actually named
15981 something starting with __ and the normal name is an alias. */
15982 #if defined (__stub_socket) || defined (__stub___socket)
15990 if { (eval echo configure
:15991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15992 eval "ac_cv_func_socket=yes"
15994 echo "configure: failed program was:" >&5
15995 cat conftest.
$ac_ext >&5
15997 eval "ac_cv_func_socket=no"
16002 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16003 echo "$ac_t""yes" 1>&6
16006 echo "$ac_t""no" 1>&6
16007 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16008 echo "configure:16009: checking for socket in -lsocket" >&5
16009 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16010 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16011 echo $ac_n "(cached) $ac_c" 1>&6
16013 ac_save_LIBS
="$LIBS"
16014 LIBS
="-lsocket $LIBS"
16015 cat > conftest.
$ac_ext <<EOF
16016 #line 16017 "configure"
16017 #include "confdefs.h"
16018 /* Override any gcc2 internal prototype to avoid an error. */
16019 /* We use char because int might match the return type of a gcc2
16020 builtin and then its argument prototype would still apply. */
16027 if { (eval echo configure
:16028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16029 eval "ac_cv_lib_$ac_lib_var=yes"
16031 echo "configure: failed program was:" >&5
16032 cat conftest.
$ac_ext >&5
16034 eval "ac_cv_lib_$ac_lib_var=no"
16037 LIBS
="$ac_save_LIBS"
16040 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16041 echo "$ac_t""yes" 1>&6
16042 INET_LINK
="$INET_LINK -lsocket"
16044 echo "$ac_t""no" 1>&6
16046 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16058 if test "$wxUSE_SOCKETS" = "yes" ; then
16059 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16060 echo "configure:16061: checking what is the type of the third argument of getsockname" >&5
16061 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16062 echo $ac_n "(cached) $ac_c" 1>&6
16067 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16068 ac_cpp
='$CXXCPP $CPPFLAGS'
16069 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16070 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16071 cross_compiling
=$ac_cv_prog_cxx_cross
16074 cat > conftest.
$ac_ext <<EOF
16075 #line 16076 "configure"
16076 #include "confdefs.h"
16078 #include <sys/types.h>
16079 #include <sys/socket.h>
16084 getsockname(0, 0, &len);
16088 if { (eval echo configure
:16089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16090 wx_cv_type_getsockname3
=socklen_t
16092 echo "configure: failed program was:" >&5
16093 cat conftest.
$ac_ext >&5
16095 cat > conftest.
$ac_ext <<EOF
16096 #line 16097 "configure"
16097 #include "confdefs.h"
16099 #include <sys/types.h>
16100 #include <sys/socket.h>
16105 getsockname(0, 0, &len);
16109 if { (eval echo configure
:16110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16111 wx_cv_type_getsockname3
=size_t
16113 echo "configure: failed program was:" >&5
16114 cat conftest.
$ac_ext >&5
16116 cat > conftest.
$ac_ext <<EOF
16117 #line 16118 "configure"
16118 #include "confdefs.h"
16120 #include <sys/types.h>
16121 #include <sys/socket.h>
16126 getsockname(0, 0, &len);
16130 if { (eval echo configure
:16131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16132 wx_cv_type_getsockname3
=int
16134 echo "configure: failed program was:" >&5
16135 cat conftest.
$ac_ext >&5
16137 wx_cv_type_getsockname3
=unknown
16149 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16150 ac_cpp
='$CPP $CPPFLAGS'
16151 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16152 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16153 cross_compiling
=$ac_cv_prog_cc_cross
16158 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16160 if test "$wx_cv_type_getsockname3" = "unknown"; then
16162 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16164 cat >> confdefs.h
<<EOF
16165 #define SOCKLEN_T $wx_cv_type_getsockname3
16173 if test "$wxUSE_SOCKETS" = "yes" ; then
16174 cat >> confdefs.h
<<\EOF
16175 #define wxUSE_SOCKETS 1
16178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16179 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16183 if test "$wxUSE_GUI" = "yes"; then
16185 if test "$TOOLKIT" != "MSW"; then
16187 if test "$wxUSE_JOYSTICK" = "yes"; then
16188 for ac_hdr
in linux
/joystick.h
16190 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16192 echo "configure:16193: checking for $ac_hdr" >&5
16193 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16194 echo $ac_n "(cached) $ac_c" 1>&6
16196 cat > conftest.
$ac_ext <<EOF
16197 #line 16198 "configure"
16198 #include "confdefs.h"
16201 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16202 { (eval echo configure
:16203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16203 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16204 if test -z "$ac_err"; then
16206 eval "ac_cv_header_$ac_safe=yes"
16209 echo "configure: failed program was:" >&5
16210 cat conftest.
$ac_ext >&5
16212 eval "ac_cv_header_$ac_safe=no"
16216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16217 echo "$ac_t""yes" 1>&6
16218 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16219 cat >> confdefs.h
<<EOF
16220 #define $ac_tr_hdr 1
16224 echo "$ac_t""no" 1>&6
16228 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16230 echo "configure: warning: Joystick not supported by this system" 1>&2
16236 if test "$wxUSE_JOYSTICK" = "yes"; then
16237 cat >> confdefs.h
<<\EOF
16238 #define wxUSE_JOYSTICK 1
16241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16247 if test "$TOOLKIT" != "MSW"; then
16251 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16252 if test "$USE_MAC" = 1; then
16255 for ac_func
in dlopen
16257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16258 echo "configure:16259: checking for $ac_func" >&5
16259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16260 echo $ac_n "(cached) $ac_c" 1>&6
16262 cat > conftest.
$ac_ext <<EOF
16263 #line 16264 "configure"
16264 #include "confdefs.h"
16265 /* System header to define __stub macros and hopefully few prototypes,
16266 which can conflict with char $ac_func(); below. */
16267 #include <assert.h>
16268 /* Override any gcc2 internal prototype to avoid an error. */
16269 /* We use char because int might match the return type of a gcc2
16270 builtin and then its argument prototype would still apply. */
16275 /* The GNU C library defines this for functions which it implements
16276 to always fail with ENOSYS. Some functions are actually named
16277 something starting with __ and the normal name is an alias. */
16278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16286 if { (eval echo configure
:16287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16288 eval "ac_cv_func_$ac_func=yes"
16290 echo "configure: failed program was:" >&5
16291 cat conftest.
$ac_ext >&5
16293 eval "ac_cv_func_$ac_func=no"
16298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16299 echo "$ac_t""yes" 1>&6
16300 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16301 cat >> confdefs.h
<<EOF
16302 #define $ac_tr_func 1
16305 cat >> confdefs.h
<<\EOF
16306 #define HAVE_DLOPEN 1
16312 echo "$ac_t""no" 1>&6
16313 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16314 echo "configure:16315: checking for dlopen in -ldl" >&5
16315 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16316 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16317 echo $ac_n "(cached) $ac_c" 1>&6
16319 ac_save_LIBS
="$LIBS"
16321 cat > conftest.
$ac_ext <<EOF
16322 #line 16323 "configure"
16323 #include "confdefs.h"
16324 /* Override any gcc2 internal prototype to avoid an error. */
16325 /* We use char because int might match the return type of a gcc2
16326 builtin and then its argument prototype would still apply. */
16333 if { (eval echo configure
:16334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16335 eval "ac_cv_lib_$ac_lib_var=yes"
16337 echo "configure: failed program was:" >&5
16338 cat conftest.
$ac_ext >&5
16340 eval "ac_cv_lib_$ac_lib_var=no"
16343 LIBS
="$ac_save_LIBS"
16346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16347 echo "$ac_t""yes" 1>&6
16349 cat >> confdefs.h
<<\EOF
16350 #define HAVE_DLOPEN 1
16357 echo "$ac_t""no" 1>&6
16359 for ac_func
in shl_load
16361 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16362 echo "configure:16363: checking for $ac_func" >&5
16363 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16364 echo $ac_n "(cached) $ac_c" 1>&6
16366 cat > conftest.
$ac_ext <<EOF
16367 #line 16368 "configure"
16368 #include "confdefs.h"
16369 /* System header to define __stub macros and hopefully few prototypes,
16370 which can conflict with char $ac_func(); below. */
16371 #include <assert.h>
16372 /* Override any gcc2 internal prototype to avoid an error. */
16373 /* We use char because int might match the return type of a gcc2
16374 builtin and then its argument prototype would still apply. */
16379 /* The GNU C library defines this for functions which it implements
16380 to always fail with ENOSYS. Some functions are actually named
16381 something starting with __ and the normal name is an alias. */
16382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16390 if { (eval echo configure
:16391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16392 eval "ac_cv_func_$ac_func=yes"
16394 echo "configure: failed program was:" >&5
16395 cat conftest.
$ac_ext >&5
16397 eval "ac_cv_func_$ac_func=no"
16402 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16403 echo "$ac_t""yes" 1>&6
16404 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16405 cat >> confdefs.h
<<EOF
16406 #define $ac_tr_func 1
16409 cat >> confdefs.h
<<\EOF
16410 #define HAVE_SHL_LOAD 1
16416 echo "$ac_t""no" 1>&6
16417 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16418 echo "configure:16419: checking for dld in -lshl_load" >&5
16419 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16421 echo $ac_n "(cached) $ac_c" 1>&6
16423 ac_save_LIBS
="$LIBS"
16424 LIBS
="-lshl_load $LIBS"
16425 cat > conftest.
$ac_ext <<EOF
16426 #line 16427 "configure"
16427 #include "confdefs.h"
16428 /* Override any gcc2 internal prototype to avoid an error. */
16429 /* We use char because int might match the return type of a gcc2
16430 builtin and then its argument prototype would still apply. */
16437 if { (eval echo configure
:16438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16439 eval "ac_cv_lib_$ac_lib_var=yes"
16441 echo "configure: failed program was:" >&5
16442 cat conftest.
$ac_ext >&5
16444 eval "ac_cv_lib_$ac_lib_var=no"
16447 LIBS
="$ac_save_LIBS"
16450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16451 echo "$ac_t""yes" 1>&6
16457 echo "$ac_t""no" 1>&6
16472 if test "$HAVE_DL_FUNCS" = 1; then
16473 for ac_func
in dlerror
16475 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16476 echo "configure:16477: checking for $ac_func" >&5
16477 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16478 echo $ac_n "(cached) $ac_c" 1>&6
16480 cat > conftest.
$ac_ext <<EOF
16481 #line 16482 "configure"
16482 #include "confdefs.h"
16483 /* System header to define __stub macros and hopefully few prototypes,
16484 which can conflict with char $ac_func(); below. */
16485 #include <assert.h>
16486 /* Override any gcc2 internal prototype to avoid an error. */
16487 /* We use char because int might match the return type of a gcc2
16488 builtin and then its argument prototype would still apply. */
16493 /* The GNU C library defines this for functions which it implements
16494 to always fail with ENOSYS. Some functions are actually named
16495 something starting with __ and the normal name is an alias. */
16496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16504 if { (eval echo configure
:16505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16506 eval "ac_cv_func_$ac_func=yes"
16508 echo "configure: failed program was:" >&5
16509 cat conftest.
$ac_ext >&5
16511 eval "ac_cv_func_$ac_func=no"
16516 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16517 echo "$ac_t""yes" 1>&6
16518 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16519 cat >> confdefs.h
<<EOF
16520 #define $ac_tr_func 1
16522 cat >> confdefs.h
<<\EOF
16523 #define HAVE_DLERROR 1
16527 echo "$ac_t""no" 1>&6
16528 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16529 echo "configure:16530: checking for dlerror in -ldl" >&5
16530 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16531 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16532 echo $ac_n "(cached) $ac_c" 1>&6
16534 ac_save_LIBS
="$LIBS"
16536 cat > conftest.
$ac_ext <<EOF
16537 #line 16538 "configure"
16538 #include "confdefs.h"
16539 /* Override any gcc2 internal prototype to avoid an error. */
16540 /* We use char because int might match the return type of a gcc2
16541 builtin and then its argument prototype would still apply. */
16548 if { (eval echo configure
:16549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16550 eval "ac_cv_lib_$ac_lib_var=yes"
16552 echo "configure: failed program was:" >&5
16553 cat conftest.
$ac_ext >&5
16555 eval "ac_cv_lib_$ac_lib_var=no"
16558 LIBS
="$ac_save_LIBS"
16561 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16562 echo "$ac_t""yes" 1>&6
16563 cat >> confdefs.h
<<\EOF
16564 #define HAVE_DLERROR 1
16568 echo "$ac_t""no" 1>&6
16577 if test "$HAVE_DL_FUNCS" = 0; then
16578 if test "$HAVE_SHL_FUNCS" = 0; then
16579 if test "$USE_UNIX" = 1; then
16580 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16581 wxUSE_DYNLIB_CLASS
=no
16583 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16591 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16592 cat >> confdefs.h
<<\EOF
16593 #define wxUSE_DYNLIB_CLASS 1
16602 if test "$wxUSE_FONTMAP" = "yes" ; then
16603 cat >> confdefs.h
<<\EOF
16604 #define wxUSE_FONTMAP 1
16609 if test "$wxUSE_UNICODE" = "yes" ; then
16610 cat >> confdefs.h
<<\EOF
16611 #define wxUSE_UNICODE 1
16616 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16617 cat >> confdefs.h
<<\EOF
16618 #define wxUSE_WCSRTOMBS 1
16623 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16624 cat >> confdefs.h
<<\EOF
16625 #define wxUSE_EXPERIMENTAL_PRINTF 1
16631 if test "$wxUSE_SERIAL" = "yes" ; then
16632 cat >> confdefs.h
<<\EOF
16633 #define wxUSE_SERIAL 1
16640 if test "$wxUSE_ODBC" = "yes" ; then
16641 cat >> confdefs.h
<<\EOF
16642 #define wxUSE_ODBC 1
16645 WXODBCFLAG
="-D_IODBC_"
16646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16650 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16651 cat >> confdefs.h
<<\EOF
16652 #define wxUSE_POSTSCRIPT 1
16657 cat >> confdefs.h
<<\EOF
16658 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16662 cat >> confdefs.h
<<\EOF
16663 #define wxUSE_NORMALIZED_PS_FONTS 1
16668 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16669 cat >> confdefs.h
<<\EOF
16670 #define wxUSE_CONSTRAINTS 1
16673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16676 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16677 cat >> confdefs.h
<<\EOF
16678 #define wxUSE_MDI_ARCHITECTURE 1
16681 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16684 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16685 cat >> confdefs.h
<<\EOF
16686 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16690 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16695 if test "$wxUSE_HELP" = "yes"; then
16696 cat >> confdefs.h
<<\EOF
16697 #define wxUSE_HELP 1
16700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16702 if test "$wxUSE_WXHTML_HELP" = "yes"; then
16703 cat >> confdefs.h
<<\EOF
16704 #define wxUSE_WXHTML_HELP 1
16707 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
16708 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
16709 echo "configure:16710: checking for htmlhelp.h" >&5
16710 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16711 echo $ac_n "(cached) $ac_c" 1>&6
16713 cat > conftest.
$ac_ext <<EOF
16714 #line 16715 "configure"
16715 #include "confdefs.h"
16716 #include <htmlhelp.h>
16718 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16719 { (eval echo configure
:16720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16720 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16721 if test -z "$ac_err"; then
16723 eval "ac_cv_header_$ac_safe=yes"
16726 echo "configure: failed program was:" >&5
16727 cat conftest.
$ac_ext >&5
16729 eval "ac_cv_header_$ac_safe=no"
16733 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16734 echo "$ac_t""yes" 1>&6
16736 cat >> confdefs.h
<<\EOF
16737 #define wxUSE_MS_HTML_HELP 1
16742 echo "$ac_t""no" 1>&6
16744 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
16745 wxUSE_MS_HTML_HELP
=no
16752 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16753 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16754 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16756 cat >> confdefs.h
<<\EOF
16757 #define wxUSE_PRINTING_ARCHITECTURE 1
16761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16764 if test "$wxUSE_PROLOGIO" = "yes" ; then
16765 cat >> confdefs.h
<<\EOF
16766 #define wxUSE_PROLOGIO 1
16771 if test "$wxUSE_RESOURCES" = "yes" ; then
16772 cat >> confdefs.h
<<\EOF
16773 #define wxUSE_RESOURCES 1
16776 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16779 if test "$wxUSE_X_RESOURCES" = "yes"; then
16780 cat >> confdefs.h
<<\EOF
16781 #define wxUSE_X_RESOURCES 1
16787 if test "$wxUSE_IPC" = "yes"; then
16788 if test "$wxUSE_SOCKETS" != "yes"; then
16789 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16792 cat >> confdefs.h
<<\EOF
16793 #define wxUSE_IPC 1
16798 if test "$wxUSE_CLIPBOARD" = "yes"; then
16799 cat >> confdefs.h
<<\EOF
16800 #define wxUSE_CLIPBOARD 1
16803 cat >> confdefs.h
<<\EOF
16804 #define wxUSE_DATAOBJ 1
16809 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16810 if test "$wxUSE_GTK" = 1; then
16811 if test "$WXGTK12" != 1; then
16812 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16813 wxUSE_DRAG_AND_DROP
=no
16817 if test "$wxUSE_MOTIF" = 1; then
16818 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16819 wxUSE_DRAG_AND_DROP
=no
16822 if test "$wxUSE_MAC" = 1; then
16823 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16824 wxUSE_DRAG_AND_DROP
=no
16827 if test "$USE_WIN32" = 1; then
16829 for ac_hdr
in ole2.h
16831 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16832 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16833 echo "configure:16834: checking for $ac_hdr" >&5
16834 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16835 echo $ac_n "(cached) $ac_c" 1>&6
16837 cat > conftest.
$ac_ext <<EOF
16838 #line 16839 "configure"
16839 #include "confdefs.h"
16842 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16843 { (eval echo configure
:16844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16844 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16845 if test -z "$ac_err"; then
16847 eval "ac_cv_header_$ac_safe=yes"
16850 echo "configure: failed program was:" >&5
16851 cat conftest.
$ac_ext >&5
16853 eval "ac_cv_header_$ac_safe=no"
16857 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16858 echo "$ac_t""yes" 1>&6
16859 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16860 cat >> confdefs.h
<<EOF
16861 #define $ac_tr_hdr 1
16865 echo "$ac_t""no" 1>&6
16870 if test "$ac_cv_header_ole2_h" = "yes" ; then
16871 if test "$GCC" = yes ; then
16872 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16873 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16874 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16875 LIBS
="$LIBS -lole32 -luuid"
16876 cat >> confdefs.h
<<\EOF
16877 #define wxUSE_OLE 1
16881 if test "$wxUSE_METAFILE" = "yes"; then
16882 cat >> confdefs.h
<<\EOF
16883 #define wxUSE_METAFILE 1
16886 cat >> confdefs.h
<<\EOF
16887 #define wxUSE_ENH_METAFILE 1
16893 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16894 wxUSE_DRAG_AND_DROP
=no
16898 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16899 cat >> confdefs.h
<<\EOF
16900 #define wxUSE_DRAG_AND_DROP 1
16903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16908 if test "$wxUSE_SPLINES" = "yes" ; then
16909 cat >> confdefs.h
<<\EOF
16910 #define wxUSE_SPLINES 1
16917 if test "$wxUSE_CONTROLS" = "yes"; then
16921 if test "$wxUSE_ACCEL" = "yes"; then
16922 cat >> confdefs.h
<<\EOF
16923 #define wxUSE_ACCEL 1
16929 if test "$wxUSE_BUTTON" = "yes"; then
16930 cat >> confdefs.h
<<\EOF
16931 #define wxUSE_BUTTON 1
16937 if test "$wxUSE_BMPBUTTON" = "yes"; then
16938 cat >> confdefs.h
<<\EOF
16939 #define wxUSE_BMPBUTTON 1
16945 if test "$wxUSE_CALCTRL" = "yes"; then
16946 cat >> confdefs.h
<<\EOF
16947 #define wxUSE_CALENDARCTRL 1
16951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16954 if test "$wxUSE_CARET" = "yes"; then
16955 cat >> confdefs.h
<<\EOF
16956 #define wxUSE_CARET 1
16960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16963 if test "$wxUSE_COMBOBOX" = "yes"; then
16964 cat >> confdefs.h
<<\EOF
16965 #define wxUSE_COMBOBOX 1
16971 if test "$wxUSE_CHOICE" = "yes"; then
16972 cat >> confdefs.h
<<\EOF
16973 #define wxUSE_CHOICE 1
16979 if test "$wxUSE_CHECKBOX" = "yes"; then
16980 cat >> confdefs.h
<<\EOF
16981 #define wxUSE_CHECKBOX 1
16987 if test "$wxUSE_CHECKLST" = "yes"; then
16988 cat >> confdefs.h
<<\EOF
16989 #define wxUSE_CHECKLISTBOX 1
16993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16996 if test "$wxUSE_GAUGE" = "yes"; then
16997 cat >> confdefs.h
<<\EOF
16998 #define wxUSE_GAUGE 1
17004 if test "$wxUSE_NEW_GRID" = "yes"; then
17006 cat >> confdefs.h
<<\EOF
17007 #define wxUSE_NEW_GRID 1
17011 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17014 if test "$wxUSE_GRID" = "yes"; then
17015 cat >> confdefs.h
<<\EOF
17016 #define wxUSE_GRID 1
17020 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17023 if test "$wxUSE_IMAGLIST" = "yes"; then
17024 cat >> confdefs.h
<<\EOF
17025 #define wxUSE_IMAGLIST 1
17030 if test "$wxUSE_LISTBOX" = "yes"; then
17031 cat >> confdefs.h
<<\EOF
17032 #define wxUSE_LISTBOX 1
17038 if test "$wxUSE_LISTCTRL" = "yes"; then
17039 if test "$wxUSE_IMAGLIST" = "yes"; then
17040 cat >> confdefs.h
<<\EOF
17041 #define wxUSE_LISTCTRL 1
17045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17047 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17051 if test "$wxUSE_NOTEBOOK" = "yes"; then
17052 cat >> confdefs.h
<<\EOF
17053 #define wxUSE_NOTEBOOK 1
17057 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17060 if test "$wxUSE_RADIOBOX" = "yes"; then
17061 cat >> confdefs.h
<<\EOF
17062 #define wxUSE_RADIOBOX 1
17068 if test "$wxUSE_RADIOBTN" = "yes"; then
17069 cat >> confdefs.h
<<\EOF
17070 #define wxUSE_RADIOBTN 1
17076 if test "$wxUSE_SASH" = "yes"; then
17077 cat >> confdefs.h
<<\EOF
17078 #define wxUSE_SASH 1
17081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17084 if test "$wxUSE_SCROLLBAR" = "yes"; then
17085 cat >> confdefs.h
<<\EOF
17086 #define wxUSE_SCROLLBAR 1
17090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17093 if test "$wxUSE_SLIDER" = "yes"; then
17094 cat >> confdefs.h
<<\EOF
17095 #define wxUSE_SLIDER 1
17101 if test "$wxUSE_SPINBTN" = "yes"; then
17102 cat >> confdefs.h
<<\EOF
17103 #define wxUSE_SPINBTN 1
17109 if test "$wxUSE_SPINCTRL" = "yes"; then
17110 cat >> confdefs.h
<<\EOF
17111 #define wxUSE_SPINCTRL 1
17117 if test "$wxUSE_SPLITTER" = "yes"; then
17118 cat >> confdefs.h
<<\EOF
17119 #define wxUSE_SPLITTER 1
17122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17125 if test "$wxUSE_STATBMP" = "yes"; then
17126 cat >> confdefs.h
<<\EOF
17127 #define wxUSE_STATBMP 1
17133 if test "$wxUSE_STATBOX" = "yes"; then
17134 cat >> confdefs.h
<<\EOF
17135 #define wxUSE_STATBOX 1
17141 if test "$wxUSE_STATTEXT" = "yes"; then
17142 cat >> confdefs.h
<<\EOF
17143 #define wxUSE_STATTEXT 1
17149 if test "$wxUSE_STATLINE" = "yes"; then
17150 if test "$wxUSE_WINE" = 1 ; then
17151 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17153 cat >> confdefs.h
<<\EOF
17154 #define wxUSE_STATLINE 1
17161 if test "$wxUSE_STATUSBAR" = "yes"; then
17162 cat >> confdefs.h
<<\EOF
17163 #define wxUSE_STATUSBAR 1
17168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17171 if test "$wxUSE_TABDIALOG" = "yes"; then
17172 cat >> confdefs.h
<<\EOF
17173 #define wxUSE_TAB_DIALOG 1
17176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17179 if test "$wxUSE_TEXTCTRL" = "yes"; then
17180 cat >> confdefs.h
<<\EOF
17181 #define wxUSE_TEXTCTRL 1
17185 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17188 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17189 if test "$wxUSE_MAC" = 1; then
17190 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17194 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17195 cat >> confdefs.h
<<\EOF
17196 #define wxUSE_TOGGLEBTN 1
17203 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17204 cat >> confdefs.h
<<\EOF
17205 #define wxUSE_TOOLBAR_SIMPLE 1
17208 wxUSE_TOOLBAR
="yes"
17212 if test "$wxUSE_TOOLBAR" = "yes"; then
17213 cat >> confdefs.h
<<\EOF
17214 #define wxUSE_TOOLBAR 1
17219 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17220 wxUSE_TOOLBAR_NATIVE
="yes"
17223 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17224 cat >> confdefs.h
<<\EOF
17225 #define wxUSE_TOOLBAR_NATIVE 1
17231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17234 if test "$wxUSE_TOOLTIPS" = "yes"; then
17235 if test "$wxUSE_MOTIF" = 1; then
17236 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17238 if test "$wxUSE_WINE" = 1; then
17239 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17241 cat >> confdefs.h
<<\EOF
17242 #define wxUSE_TOOLTIPS 1
17249 if test "$wxUSE_TREECTRL" = "yes"; then
17250 if test "$wxUSE_IMAGLIST" = "yes"; then
17251 cat >> confdefs.h
<<\EOF
17252 #define wxUSE_TREECTRL 1
17256 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17258 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17262 if test "$wxUSE_POPUPWIN" = "yes"; then
17263 if test "$wxUSE_MAC" = 1; then
17264 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17266 cat >> confdefs.h
<<\EOF
17267 #define wxUSE_POPUPWIN 1
17274 if test "$USES_CONTROLS" = 1; then
17275 cat >> confdefs.h
<<\EOF
17276 #define wxUSE_CONTROLS 1
17283 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17284 cat >> confdefs.h
<<\EOF
17285 #define wxUSE_DRAGIMAGE 1
17288 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17291 if test "$wxUSE_MENUS" = "yes"; then
17292 cat >> confdefs.h
<<\EOF
17293 #define wxUSE_MENUS 1
17296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17299 if test "$wxUSE_METAFILE" = "yes"; then
17300 cat >> confdefs.h
<<\EOF
17301 #define wxUSE_METAFILE 1
17306 if test "$wxUSE_MIMETYPE" = "yes"; then
17307 cat >> confdefs.h
<<\EOF
17308 #define wxUSE_MIMETYPE 1
17313 if test "$wxUSE_MINIFRAME" = "yes"; then
17314 cat >> confdefs.h
<<\EOF
17315 #define wxUSE_MINIFRAME 1
17318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17321 if test "$wxUSE_HTML" = "yes"; then
17322 cat >> confdefs.h
<<\EOF
17323 #define wxUSE_HTML 1
17326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17327 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17330 if test "$wxUSE_VALIDATORS" = "yes"; then
17331 cat >> confdefs.h
<<\EOF
17332 #define wxUSE_VALIDATORS 1
17335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17338 if test "$wxUSE_IMAGE" = "yes" ; then
17339 cat >> confdefs.h
<<\EOF
17340 #define wxUSE_IMAGE 1
17345 if test "$wxUSE_GIF" = "yes" ; then
17346 cat >> confdefs.h
<<\EOF
17347 #define wxUSE_GIF 1
17352 if test "$wxUSE_PCX" = "yes" ; then
17353 cat >> confdefs.h
<<\EOF
17354 #define wxUSE_PCX 1
17359 if test "$wxUSE_PNM" = "yes" ; then
17360 cat >> confdefs.h
<<\EOF
17361 #define wxUSE_PNM 1
17366 if test "$wxUSE_XPM" = "yes" ; then
17367 cat >> confdefs.h
<<\EOF
17368 #define wxUSE_XPM 1
17374 if test "$wxUSE_CHOICEDLG" = "yes"; then
17375 cat >> confdefs.h
<<\EOF
17376 #define wxUSE_CHOICEDLG 1
17381 if test "$wxUSE_COLOURDLG" = "yes"; then
17382 cat >> confdefs.h
<<\EOF
17383 #define wxUSE_COLOURDLG 1
17388 if test "$wxUSE_FILEDLG" = "yes"; then
17389 cat >> confdefs.h
<<\EOF
17390 #define wxUSE_FILEDLG 1
17395 if test "$wxUSE_FONTDLG" = "yes"; then
17396 cat >> confdefs.h
<<\EOF
17397 #define wxUSE_FONTDLG 1
17402 if test "$wxUSE_DIRDLG" = "yes"; then
17403 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17404 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17406 if test "$wxUSE_TREECTRL" != "yes"; then
17407 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17409 cat >> confdefs.h
<<\EOF
17410 #define wxUSE_DIRDLG 1
17417 if test "$wxUSE_MSGDLG" = "yes"; then
17418 cat >> confdefs.h
<<\EOF
17419 #define wxUSE_MSGDLG 1
17424 if test "$wxUSE_NUMBERDLG" = "yes"; then
17425 cat >> confdefs.h
<<\EOF
17426 #define wxUSE_NUMBERDLG 1
17431 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17432 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17433 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17435 cat >> confdefs.h
<<\EOF
17436 #define wxUSE_PROGRESSDLG 1
17442 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17443 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17444 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17446 cat >> confdefs.h
<<\EOF
17447 #define wxUSE_STARTUP_TIPS 1
17453 if test "$wxUSE_TEXTDLG" = "yes"; then
17454 cat >> confdefs.h
<<\EOF
17455 #define wxUSE_TEXTDLG 1
17460 if test "$wxUSE_WIZARDDLG" = "yes"; then
17461 cat >> confdefs.h
<<\EOF
17462 #define wxUSE_WIZARDDLG 1
17465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17469 if test "$cross_compiling" = "yes"; then
17472 OSINFO
=`uname -s -r -m`
17473 OSINFO
="\"$OSINFO\""
17476 cat >> confdefs.h
<<EOF
17477 #define WXWIN_OS_DESCRIPTION $OSINFO
17482 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17483 OPENGL_LIBS
="$OPENGL_LINK"
17485 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17486 if test "$USE_MAC" = 1 ; then
17487 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17489 if test "$wxUSE_GUI" = "yes"; then
17490 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17493 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17495 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17497 if test "$wxUSE_GTK" = 1; then
17498 WXCONFIG_INCLUDE
=""
17500 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17503 if test "$GXX" = yes ; then
17504 CXXWARNINGS
="-Wall"
17506 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17508 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17509 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17511 LDFLAGS
="$LDFLAGS $PROFILE"
17513 if test "$wxUSE_GUI" = "yes"; then
17515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17516 drawing dynamic event font fractal image \
17517 minimal richedit widgets"
17519 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17523 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17528 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17623 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17624 echo "configure:17625: checking whether ${MAKE-make} sets \${MAKE}" >&5
17625 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17626 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17627 echo $ac_n "(cached) $ac_c" 1>&6
17629 cat > conftestmake
<<\EOF
17631 @
echo 'ac_maketemp="${MAKE}"'
17633 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17634 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17635 if test -n "$ac_maketemp"; then
17636 eval ac_cv_prog_make_
${ac_make}_set
=yes
17638 eval ac_cv_prog_make_
${ac_make}_set
=no
17642 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17643 echo "$ac_t""yes" 1>&6
17646 echo "$ac_t""no" 1>&6
17647 SET_MAKE
="MAKE=${MAKE-make}"
17651 if test -d include
; then
17652 if test -d include
/wx
; then
17653 if test -d include
/wx
/${SETUPH_DIR}; then
17654 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17655 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17663 if test "$wxUSE_GUI" = "yes"; then
17664 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17665 wx_cv_path_ifs
=$PATH_IFS
17666 wx_cv_program_ext
=$PROGRAM_EXT
17667 wx_cv_target_library
=$WX_TARGET_LIBRARY
17668 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17669 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17670 wx_cv_target_library wx_cv_target_libtype
17671 subdirs
="demos samples utils contrib"
17676 cat > confcache
<<\EOF
17677 # This file is a shell script that caches the results of configure
17678 # tests run on this system so they can be shared between configure
17679 # scripts and configure runs. It is not useful on other systems.
17680 # If it contains results you don't want to keep, you may remove or edit it.
17682 # By default, configure uses ./config.cache as the cache file,
17683 # creating it if it does not exist already. You can give configure
17684 # the --cache-file=FILE option to use a different cache file; that is
17685 # what configure does when it calls configure scripts in
17686 # subdirectories, so they share the cache.
17687 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17688 # config.status only pays attention to the cache file if you give it the
17689 # --recheck option to rerun configure.
17692 # The following way of writing the cache mishandles newlines in values,
17693 # but we know of no workaround that is simple, portable, and efficient.
17694 # So, don't put newlines in cache variables' values.
17695 # Ultrix sh set writes to stderr and can't be redirected directly,
17696 # and sets the high bit in the cache file unless we assign to the vars.
17698 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17700 # `set' does not quote correctly, so add quotes (double-quote substitution
17701 # turns \\\\ into \\, and sed turns \\ into \).
17703 -e "s/'/'\\\\''/g" \
17704 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17707 # `set' quotes correctly as required by POSIX, so do not add quotes.
17708 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17711 if cmp -s $cache_file confcache
; then
17714 if test -w $cache_file; then
17715 echo "updating cache $cache_file"
17716 cat confcache
> $cache_file
17718 echo "not updating unwritable cache $cache_file"
17723 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17725 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17726 # Let make expand exec_prefix.
17727 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17729 # Any assignment to VPATH causes Sun make to only execute
17730 # the first set of double-colon rules, so remove it if not needed.
17731 # If there is a colon in the path, we need to keep it.
17732 if test "x$srcdir" = x.
; then
17733 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17736 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17738 DEFS
=-DHAVE_CONFIG_H
17740 # Without the "./", some shells look in PATH for config.status.
17741 : ${CONFIG_STATUS=./config.status}
17743 echo creating
$CONFIG_STATUS
17744 rm -f $CONFIG_STATUS
17745 cat > $CONFIG_STATUS <<EOF
17747 # Generated automatically by configure.
17748 # Run this file to recreate the current configuration.
17749 # This directory was configured as follows,
17750 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17752 # $0 $ac_configure_args
17754 # Compiler output produced by configure, useful for debugging
17755 # configure, is in ./config.log if it exists.
17757 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17760 case "\$ac_option" in
17761 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17762 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17763 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17764 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17765 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17767 -help | --help | --hel | --he | --h)
17768 echo "\$ac_cs_usage"; exit 0 ;;
17769 *) echo "\$ac_cs_usage"; exit 1 ;;
17773 ac_given_srcdir=$srcdir
17774 ac_given_INSTALL="$INSTALL"
17776 trap 'rm -fr `echo "
17782 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17784 cat >> $CONFIG_STATUS <<EOF
17786 # Protect against being on the right side of a sed subst in config.status.
17787 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17788 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17792 s%@CFLAGS@%$CFLAGS%g
17793 s%@CPPFLAGS@%$CPPFLAGS%g
17794 s%@CXXFLAGS@%$CXXFLAGS%g
17795 s%@FFLAGS@%$FFLAGS%g
17797 s%@LDFLAGS@%$LDFLAGS%g
17799 s%@exec_prefix@%$exec_prefix%g
17800 s%@prefix@%$prefix%g
17801 s%@program_transform_name@%$program_transform_name%g
17802 s%@bindir@%$bindir%g
17803 s%@sbindir@%$sbindir%g
17804 s%@libexecdir@%$libexecdir%g
17805 s%@datadir@%$datadir%g
17806 s%@sysconfdir@%$sysconfdir%g
17807 s%@sharedstatedir@%$sharedstatedir%g
17808 s%@localstatedir@%$localstatedir%g
17809 s%@libdir@%$libdir%g
17810 s%@includedir@%$includedir%g
17811 s%@oldincludedir@%$oldincludedir%g
17812 s%@infodir@%$infodir%g
17813 s%@mandir@%$mandir%g
17815 s%@host_alias@%$host_alias%g
17816 s%@host_cpu@%$host_cpu%g
17817 s%@host_vendor@%$host_vendor%g
17818 s%@host_os@%$host_os%g
17819 s%@target@%$target%g
17820 s%@target_alias@%$target_alias%g
17821 s%@target_cpu@%$target_cpu%g
17822 s%@target_vendor@%$target_vendor%g
17823 s%@target_os@%$target_os%g
17825 s%@build_alias@%$build_alias%g
17826 s%@build_cpu@%$build_cpu%g
17827 s%@build_vendor@%$build_vendor%g
17828 s%@build_os@%$build_os%g
17832 s%@CXXCPP@%$CXXCPP%g
17833 s%@RANLIB@%$RANLIB%g
17835 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17836 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17837 s%@INSTALL_DATA@%$INSTALL_DATA%g
17841 s%@LEXLIB@%$LEXLIB%g
17843 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17844 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17845 s%@GTK_LIBS@%$GTK_LIBS%g
17846 s%@GTK_CONFIG@%$GTK_CONFIG%g
17847 s%@X_CFLAGS@%$X_CFLAGS%g
17848 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17849 s%@X_LIBS@%$X_LIBS%g
17850 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17853 s%@LEX_STEM@%$LEX_STEM%g
17854 s%@PATH_IFS@%$PATH_IFS%g
17855 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17856 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17857 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17858 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17859 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17860 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17861 s%@WX_LIBRARY@%$WX_LIBRARY%g
17862 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17863 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17864 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17865 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17866 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17867 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17868 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17869 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17870 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17871 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17872 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17873 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17874 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17875 s%@WX_ALL@%$WX_ALL%g
17876 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17877 s%@SHARED_LD@%$SHARED_LD%g
17878 s%@PIC_FLAG@%$PIC_FLAG%g
17879 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17880 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17881 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17882 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17883 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17884 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17885 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17886 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17887 s%@USE_GUI@%$USE_GUI%g
17888 s%@AFMINSTALL@%$AFMINSTALL%g
17889 s%@SETUPH_DIR@%$SETUPH_DIR%g
17890 s%@TOOLKIT@%$TOOLKIT%g
17891 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17892 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17893 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17894 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17895 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17896 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17897 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17898 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17899 s%@GUIDIST@%$GUIDIST%g
17900 s%@PORT_FILES@%$PORT_FILES%g
17901 s%@DISTDIR@%$DISTDIR%g
17902 s%@RPM_SPEC@%$RPM_SPEC%g
17903 s%@RPM_FILES@%$RPM_FILES%g
17904 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17905 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17906 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17907 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17908 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17909 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17910 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17911 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17912 s%@EXTRADEFS@%$EXTRADEFS%g
17913 s%@LD_LIBS@%$LD_LIBS%g
17914 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17915 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17916 s%@RESPROGRAM@%$RESPROGRAM%g
17917 s%@RESCOMP@%$RESCOMP%g
17918 s%@RESFLAGS@%$RESFLAGS%g
17919 s%@REZFLAGS@%$REZFLAGS%g
17920 s%@DEREZFLAGS@%$DEREZFLAGS%g
17921 s%@LIBWXMACRES@%$LIBWXMACRES%g
17922 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17923 s%@DLLTOOL@%$DLLTOOL%g
17927 s%@MAKEINFO@%$MAKEINFO%g
17928 s%@SET_MAKE@%$SET_MAKE%g
17929 s%@subdirs@%$subdirs%g
17934 cat >> $CONFIG_STATUS <<\EOF
17936 # Split the substitutions into bite-sized pieces for seds with
17937 # small command number limits, like on Digital OSF/1 and HP-UX.
17938 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17939 ac_file
=1 # Number of current file.
17940 ac_beg
=1 # First line for current file.
17941 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17944 while $ac_more_lines; do
17945 if test $ac_beg -gt 1; then
17946 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17948 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17950 if test ! -s conftest.s
$ac_file; then
17951 ac_more_lines
=false
17952 rm -f conftest.s
$ac_file
17954 if test -z "$ac_sed_cmds"; then
17955 ac_sed_cmds
="sed -f conftest.s$ac_file"
17957 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17959 ac_file
=`expr $ac_file + 1`
17961 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17964 if test -z "$ac_sed_cmds"; then
17969 cat >> $CONFIG_STATUS <<EOF
17971 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17978 cat >> $CONFIG_STATUS <<\EOF
17979 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17980 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17982 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17983 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17984 *) ac_file_in
="${ac_file}.in" ;;
17987 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17989 # Remove last slash and all that follows it. Not all systems have dirname.
17990 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17991 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17992 # The file is in a subdirectory.
17993 test ! -d "$ac_dir" && mkdir "$ac_dir"
17994 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17995 # A "../" for each directory in $ac_dir_suffix.
17996 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17998 ac_dir_suffix
= ac_dots
=
18001 case "$ac_given_srcdir" in
18003 if test -z "$ac_dots"; then top_srcdir
=.
18004 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18005 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18006 *) # Relative path.
18007 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18008 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18011 case "$ac_given_INSTALL" in
18012 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18013 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18016 echo creating
"$ac_file"
18018 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18020 *Makefile
*) ac_comsub
="1i\\
18021 # $configure_input" ;;
18025 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18027 s%@configure_input@%$configure_input%g
18028 s%@srcdir@%$srcdir%g
18029 s%@top_srcdir@%$top_srcdir%g
18030 s%@INSTALL@%$INSTALL%g
18031 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18035 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18036 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18038 # ac_d sets the value in "#define NAME VALUE" lines.
18039 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18040 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18043 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18044 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18045 ac_uB
='\([ ]\)%\1#\2define\3'
18048 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18049 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18050 ac_eB
='$%\1#\2define\3'
18054 if test "${CONFIG_HEADERS+set}" != set; then
18056 cat >> $CONFIG_STATUS <<EOF
18057 CONFIG_HEADERS="setup.h:setup.h.in"
18059 cat >> $CONFIG_STATUS <<\EOF
18061 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18062 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18064 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18065 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18066 *) ac_file_in
="${ac_file}.in" ;;
18069 echo creating
$ac_file
18071 rm -f conftest.frag conftest.
in conftest.out
18072 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18073 cat $ac_file_inputs > conftest.
in
18077 # Transform confdefs.h into a sed script conftest.vals that substitutes
18078 # the proper values into config.h.in to produce config.h. And first:
18079 # Protect against being on the right side of a sed subst in config.status.
18080 # Protect against being in an unquoted here document in config.status.
18081 rm -f conftest.vals
18082 cat > conftest.hdr
<<\EOF
18085 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18089 sed -n -f conftest.hdr confdefs.h > conftest.vals
18092 # This sed command replaces #undef with comments. This is necessary, for
18093 # example, in the case of _POSIX_SOURCE, which is predefined and required
18094 # on some systems where configure will not decide to define it.
18095 cat >> conftest.vals <<\EOF
18096 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18099 # Break up conftest.vals because some shells have a limit on
18100 # the size of here documents, and old seds have small limits too.
18102 rm -f conftest.tail
18105 ac_lines=`grep -c . conftest.vals
`
18106 # grep -c gives empty output for an empty file on some AIX systems.
18107 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18108 # Write a limited-size here document to conftest.frag.
18109 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18110 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18112 sed -f conftest.frag conftest.in > conftest.out
18114 mv conftest.out conftest.in
18115 ' >> $CONFIG_STATUS
18116 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18117 rm -f conftest.vals
18118 mv conftest.tail conftest.vals
18120 rm -f conftest.vals
18122 cat >> $CONFIG_STATUS <<\EOF
18123 rm -f conftest.frag conftest.h
18124 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18125 cat conftest.in >> conftest.h
18127 if cmp -s $ac_file conftest.h 2>/dev/null; then
18128 echo "$ac_file is unchanged"
18131 # Remove last slash and all that follows it. Not all systems have dirname.
18132 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18133 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18134 # The file is in a subdirectory.
18135 test ! -d "$ac_dir" && mkdir "$ac_dir"
18138 mv conftest.h $ac_file
18143 cat >> $CONFIG_STATUS <<EOF
18145 SETUPH_DIR="${SETUPH_DIR}"
18146 TOOLKIT_NAME="${TOOLKIT_NAME}"
18151 cat >> $CONFIG_STATUS <<\EOF
18153 if test ! -f wx${TOOLKIT_NAME}-config; then
18155 mv wx-config wx${TOOLKIT_NAME}-config
18156 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18160 if test ! -d lib; then
18163 if test ! -d lib/wx; then
18166 if test ! -d lib/wx/include; then
18167 mkdir lib/wx/include
18169 if test ! -d lib/wx/include/wx; then
18170 mkdir lib/wx/include/wx
18172 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18173 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18175 if test -f setup.h; then
18176 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18180 if test ! -d include; then
18183 if test ! -d include/wx; then
18186 if test ! -d include/wx/${SETUPH_DIR}; then
18187 mkdir include/wx/${SETUPH_DIR}
18189 if test -f setup.h; then
18190 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18196 chmod +x $CONFIG_STATUS
18197 rm -fr confdefs* $ac_clean_files
18198 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18200 if test "$no_recursion" != yes; then
18202 # Remove --cache-file and --srcdir arguments so they do not pile up.
18203 ac_sub_configure_args=
18205 for ac_arg in $ac_configure_args; do
18206 if test -n "$ac_prev"; then
18211 -cache-file | --cache-file | --cache-fil | --cache-fi \
18212 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18213 ac_prev=cache_file ;;
18214 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18215 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18217 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18219 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18221 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18225 for ac_config_dir in demos samples utils contrib; do
18227 # Do not complain, so a configure script can configure whichever
18228 # parts of a large source tree are present.
18229 if test ! -d $srcdir/$ac_config_dir; then
18233 echo configuring in $ac_config_dir
18238 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18240 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18248 # A "../" for each directory in /$ac_config_dir.
18249 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18252 .) # No --srcdir option. We are building in place.
18253 ac_sub_srcdir=$srcdir ;;
18254 /*) # Absolute path.
18255 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18256 *) # Relative path.
18257 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18260 # Check for guested configure; otherwise get Cygnus style configure.
18261 if test -f $ac_sub_srcdir/configure; then
18262 ac_sub_configure=$ac_sub_srcdir/configure
18263 elif test -f $ac_sub_srcdir/configure.in; then
18264 ac_sub_configure=$ac_configure
18266 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18270 # The recursion is here.
18271 if test -n "$ac_sub_configure"; then
18273 # Make the cache file name correct relative to the subdirectory.
18274 case "$cache_file" in
18275 /*) ac_sub_cache_file=$cache_file ;;
18276 *) # Relative path.
18277 ac_sub_cache_file="$ac_dots$cache_file" ;;
18279 case "$ac_given_INSTALL" in
18280 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18281 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18284 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18285 # The eval makes quoting arguments work.
18286 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18289 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }