3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-burnt_name create set name in shared library "
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
109 --enable-debug_info create code with debugging information"
111 --enable-debug_gdb create code with extra GDB debugging information"
113 --enable-debug_cntxt use wxDebugContext"
115 --enable-mem_tracing create code with memory tracing"
117 --enable-profile create code with profiling information"
119 --enable-no_rtti create code without RTTI information"
121 --enable-no_exceptions create code without exceptions information"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWin 2.0 compatibility"
129 --enable-compat22 enable wxWin 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-wxtree make wxTree library"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-radiobox use wxRadioBox class"
275 --enable-radiobtn use wxRadioButton class"
277 --enable-sash use wxSashWindow class"
279 --enable-scrollbar use wxScrollBar class and scrollable windows"
281 --enable-slider use wxSlider class"
283 --enable-spinbtn use wxSpinButton class"
285 --enable-spinctrl use wxSpinCtrl class"
287 --enable-splitter use wxSplitterWindow class"
289 --enable-statbmp use wxStaticBitmap class"
291 --enable-statbox use wxStaticBox class"
293 --enable-statline use wxStaticLine class"
295 --enable-stattext use wxStaticText class"
297 --enable-statusbar use wxStatusBar class"
299 --enable-tabdialog use wxTabControl class"
301 --enable-textctrl use wxTextCtrl class"
303 --enable-togglebtn use wxToggleButton class"
305 --enable-toolbar use wxToolBar class"
307 --enable-tbarnative use native wxToolBar class"
309 --enable-tbarsmpl use wxToolBarSimple class"
311 --enable-treectrl use wxTreeCtrl class"
313 --enable-popupwin use wxPopUpWindow class"
315 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
317 --enable-choicedlg use wxChoiceDialog"
319 --enable-coldlg use wxColourDialog"
321 --enable-filedlg use wxFileDialog"
323 --enable-fontdlg use wxFontDialog"
325 --enable-dirdlg use wxDirDialog"
327 --enable-msgdlg use wxMessageDialog"
329 --enable-numberdlg use wxNumberEntryDialog"
331 --enable-textdlg use wxTextDialog"
333 --enable-tipdlg use startup tips"
335 --enable-progressdlg use wxProgressDialog"
337 --enable-wizarddlg use wxWizard"
339 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
341 --enable-miniframe use wxMiniFrame class"
343 --enable-tooltips use wxToolTip class"
345 --enable-splines use spline drawing code"
347 --enable-validators use wxValidator and derived classes"
349 --enable-busyinfo use wxBusyInfo"
351 --enable-joystick compile in joystick support (Linux only)"
353 --enable-metafiles use wxMetaFile (Windows only)"
355 --enable-dragimage use wxDragImage"
357 --enable-image use wxImage class"
359 --enable-gif use gif images (GIF file format)"
361 --enable-pcx use pcx images (PCX file format)"
363 --enable-pnm use pnm images (PNM file format)"
365 --enable-xpm use xpm images (XPM file format)"
367 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
369 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
371 --disable-gtktest Do not try to compile and run a test GTK program"
373 --with-x use the X Window System"
375 # Initialize some variables set by options.
376 # The variables have the same names as the options, with
377 # dashes changed to underlines.
379 cache_file
=.
/config.cache
388 program_transform_name
=s
,x
,x
,
396 bindir
='${exec_prefix}/bin'
397 sbindir
='${exec_prefix}/sbin'
398 libexecdir
='${exec_prefix}/libexec'
399 datadir
='${prefix}/share'
400 sysconfdir
='${prefix}/etc'
401 sharedstatedir
='${prefix}/com'
402 localstatedir
='${prefix}/var'
403 libdir
='${exec_prefix}/lib'
404 includedir
='${prefix}/include'
405 oldincludedir
='/usr/include'
406 infodir
='${prefix}/info'
407 mandir
='${prefix}/man'
409 # Initialize some other variables.
412 SHELL
=${CONFIG_SHELL-/bin/sh}
413 # Maximum number of lines to put in a shell here document.
420 # If the previous option needs an argument, assign it.
421 if test -n "$ac_prev"; then
422 eval "$ac_prev=\$ac_option"
428 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
432 # Accept the important Cygnus configure options, so we can diagnose typos.
436 -bindir | --bindir | --bindi | --bind | --bin | --bi)
438 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
439 bindir
="$ac_optarg" ;;
441 -build | --build | --buil | --bui | --bu)
443 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
444 build
="$ac_optarg" ;;
446 -cache-file | --cache-file | --cache-fil | --cache-fi \
447 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
448 ac_prev
=cache_file
;;
449 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
450 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
451 cache_file
="$ac_optarg" ;;
453 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
455 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
457 datadir
="$ac_optarg" ;;
459 -disable-* | --disable-*)
460 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
461 # Reject names that are not valid shell variable names.
462 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
463 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
465 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
466 eval "enable_${ac_feature}=no" ;;
468 -enable-* | --enable-*)
469 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
470 # Reject names that are not valid shell variable names.
471 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
472 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
474 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
479 eval "enable_${ac_feature}='$ac_optarg'" ;;
481 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
482 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
483 | --exec | --exe | --ex)
484 ac_prev
=exec_prefix
;;
485 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
486 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
487 | --exec=* | --exe=* | --ex=*)
488 exec_prefix
="$ac_optarg" ;;
490 -gas | --gas | --ga | --g)
491 # Obsolete; use --with-gas.
494 -help | --help | --hel | --he)
495 # Omit some internal or obsolete options to make the list less imposing.
496 # This message is too long to be a string in the A/UX 3.1 sh.
498 Usage: configure [options] [host]
499 Options: [defaults in brackets after descriptions]
501 --cache-file=FILE cache test results in FILE
502 --help print this message
503 --no-create do not create output files
504 --quiet, --silent do not print \`checking...' messages
505 --version print the version of autoconf that created configure
506 Directory and file names:
507 --prefix=PREFIX install architecture-independent files in PREFIX
509 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
511 --bindir=DIR user executables in DIR [EPREFIX/bin]
512 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
513 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
514 --datadir=DIR read-only architecture-independent data in DIR
516 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
517 --sharedstatedir=DIR modifiable architecture-independent data in DIR
519 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
520 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
521 --includedir=DIR C header files in DIR [PREFIX/include]
522 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
523 --infodir=DIR info documentation in DIR [PREFIX/info]
524 --mandir=DIR man documentation in DIR [PREFIX/man]
525 --srcdir=DIR find the sources in DIR [configure dir or ..]
526 --program-prefix=PREFIX prepend PREFIX to installed program names
527 --program-suffix=SUFFIX append SUFFIX to installed program names
528 --program-transform-name=PROGRAM
529 run sed PROGRAM on installed program names
533 --build=BUILD configure for building on BUILD [BUILD=HOST]
534 --host=HOST configure for HOST [guessed]
535 --target=TARGET configure for TARGET [TARGET=HOST]
536 Features and packages:
537 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
538 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
539 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
540 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
541 --x-includes=DIR X include files are in DIR
542 --x-libraries=DIR X library files are in DIR
544 if test -n "$ac_help"; then
545 echo "--enable and --with options recognized:$ac_help"
549 -host | --host | --hos | --ho)
551 -host=* | --host=* | --hos=* | --ho=*)
554 -includedir | --includedir | --includedi | --included | --include \
555 | --includ | --inclu | --incl | --inc)
556 ac_prev
=includedir
;;
557 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
558 | --includ=* | --inclu=* | --incl=* | --inc=*)
559 includedir
="$ac_optarg" ;;
561 -infodir | --infodir | --infodi | --infod | --info | --inf)
563 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
564 infodir
="$ac_optarg" ;;
566 -libdir | --libdir | --libdi | --libd)
568 -libdir=* | --libdir=* | --libdi=* | --libd=*)
569 libdir
="$ac_optarg" ;;
571 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
572 | --libexe | --libex | --libe)
573 ac_prev
=libexecdir
;;
574 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
575 | --libexe=* | --libex=* | --libe=*)
576 libexecdir
="$ac_optarg" ;;
578 -localstatedir | --localstatedir | --localstatedi | --localstated \
579 | --localstate | --localstat | --localsta | --localst \
580 | --locals | --local | --loca | --loc | --lo)
581 ac_prev
=localstatedir
;;
582 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
583 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
584 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
585 localstatedir
="$ac_optarg" ;;
587 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
589 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
590 mandir
="$ac_optarg" ;;
593 # Obsolete; use --without-fp.
596 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
600 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
601 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
604 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
605 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
606 | --oldin | --oldi | --old | --ol | --o)
607 ac_prev
=oldincludedir
;;
608 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
609 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
610 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
611 oldincludedir
="$ac_optarg" ;;
613 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
615 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
616 prefix
="$ac_optarg" ;;
618 -program-prefix | --program-prefix | --program-prefi | --program-pref \
619 | --program-pre | --program-pr | --program-p)
620 ac_prev
=program_prefix
;;
621 -program-prefix=* | --program-prefix=* | --program-prefi=* \
622 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
623 program_prefix
="$ac_optarg" ;;
625 -program-suffix | --program-suffix | --program-suffi | --program-suff \
626 | --program-suf | --program-su | --program-s)
627 ac_prev
=program_suffix
;;
628 -program-suffix=* | --program-suffix=* | --program-suffi=* \
629 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
630 program_suffix
="$ac_optarg" ;;
632 -program-transform-name | --program-transform-name \
633 | --program-transform-nam | --program-transform-na \
634 | --program-transform-n | --program-transform- \
635 | --program-transform | --program-transfor \
636 | --program-transfo | --program-transf \
637 | --program-trans | --program-tran \
638 | --progr-tra | --program-tr | --program-t)
639 ac_prev
=program_transform_name
;;
640 -program-transform-name=* | --program-transform-name=* \
641 | --program-transform-nam=* | --program-transform-na=* \
642 | --program-transform-n=* | --program-transform-=* \
643 | --program-transform=* | --program-transfor=* \
644 | --program-transfo=* | --program-transf=* \
645 | --program-trans=* | --program-tran=* \
646 | --progr-tra=* | --program-tr=* | --program-t=*)
647 program_transform_name
="$ac_optarg" ;;
649 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
650 | -silent | --silent | --silen | --sile | --sil)
653 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
655 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
657 sbindir
="$ac_optarg" ;;
659 -sharedstatedir | --sharedstatedir | --sharedstatedi \
660 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
661 | --sharedst | --shareds | --shared | --share | --shar \
663 ac_prev
=sharedstatedir
;;
664 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
665 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
666 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
668 sharedstatedir
="$ac_optarg" ;;
670 -site | --site | --sit)
672 -site=* | --site=* | --sit=*)
675 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
677 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
678 srcdir
="$ac_optarg" ;;
680 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
681 | --syscon | --sysco | --sysc | --sys | --sy)
682 ac_prev
=sysconfdir
;;
683 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
684 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
685 sysconfdir
="$ac_optarg" ;;
687 -target | --target | --targe | --targ | --tar | --ta | --t)
689 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
690 target
="$ac_optarg" ;;
692 -v | -verbose | --verbose | --verbos | --verbo | --verb)
695 -version | --version | --versio | --versi | --vers)
696 echo "configure generated by autoconf version 2.13"
700 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
701 # Reject names that are not valid shell variable names.
702 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
703 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
705 ac_package
=`echo $ac_package| sed 's/-/_/g'`
710 eval "with_${ac_package}='$ac_optarg'" ;;
712 -without-* | --without-*)
713 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
714 # Reject names that are not valid shell variable names.
715 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
716 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
718 ac_package
=`echo $ac_package| sed 's/-/_/g'`
719 eval "with_${ac_package}=no" ;;
722 # Obsolete; use --with-x.
725 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
726 | --x-incl | --x-inc | --x-in | --x-i)
727 ac_prev
=x_includes
;;
728 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
729 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
730 x_includes
="$ac_optarg" ;;
732 -x-libraries | --x-libraries | --x-librarie | --x-librari \
733 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
734 ac_prev
=x_libraries
;;
735 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
736 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
737 x_libraries
="$ac_optarg" ;;
739 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
743 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
744 echo "configure: warning: $ac_option: invalid host type" 1>&2
746 if test "x$nonopt" != xNONE
; then
747 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
755 if test -n "$ac_prev"; then
756 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
759 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
761 # File descriptor usage:
764 # 2 errors and warnings
765 # 3 some systems may open it to /dev/tty
766 # 4 used on the Kubota Titan
767 # 6 checking for... messages and results
768 # 5 compiler messages saved in config.log
769 if test "$silent" = yes; then
777 This file contains any messages produced by compilers while
778 running configure, to aid debugging if configure makes a mistake.
781 # Strip out --no-create and --no-recursion so they do not pile up.
782 # Also quote any args containing shell metacharacters.
787 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
788 | --no-cr | --no-c) ;;
789 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
790 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
791 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
792 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
793 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
798 # Only set these to C if already set. These must not be set unconditionally
799 # because not all systems understand e.g. LANG=C (notably SCO).
800 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
801 # Non-C LC_CTYPE values break the ctype check.
802 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
803 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
804 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
805 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
807 # confdefs.h avoids OS command line length limits that DEFS can exceed.
808 rm -rf conftest
* confdefs.h
809 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
812 # A filename unique to this package, relative to the directory that
813 # configure is in, which we can look for to find out if srcdir is correct.
814 ac_unique_file
=wx
-config.
in
816 # Find the source files, if location was not specified.
817 if test -z "$srcdir"; then
818 ac_srcdir_defaulted
=yes
819 # Try the directory containing this script, then its parent.
821 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
822 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
824 if test ! -r $srcdir/$ac_unique_file; then
828 ac_srcdir_defaulted
=no
830 if test ! -r $srcdir/$ac_unique_file; then
831 if test "$ac_srcdir_defaulted" = yes; then
832 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
834 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
837 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
839 # Prefer explicitly selected file to automatically selected ones.
840 if test -z "$CONFIG_SITE"; then
841 if test "x$prefix" != xNONE
; then
842 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
844 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
847 for ac_site_file
in $CONFIG_SITE; do
848 if test -r "$ac_site_file"; then
849 echo "loading site script $ac_site_file"
854 if test -r "$cache_file"; then
855 echo "loading cache $cache_file"
858 echo "creating cache $cache_file"
863 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
864 ac_cpp
='$CPP $CPPFLAGS'
865 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
866 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
867 cross_compiling
=$ac_cv_prog_cc_cross
871 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
872 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
873 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
880 ac_n
= ac_c
='\c' ac_t
=
886 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
887 if test -f $ac_dir/install-sh; then
889 ac_install_sh
="$ac_aux_dir/install-sh -c"
891 elif test -f $ac_dir/install.sh
; then
893 ac_install_sh
="$ac_aux_dir/install.sh -c"
897 if test -z "$ac_aux_dir"; then
898 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
900 ac_config_guess
=$ac_aux_dir/config.guess
901 ac_config_sub
=$ac_aux_dir/config.sub
902 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
905 # Do some error checking and defaulting for the host and target type.
907 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
910 # 1. You are not allowed to specify --host, --target, and nonopt at the
912 # 2. Host defaults to nonopt.
913 # 3. If nonopt is not specified, then host defaults to the current host,
914 # as determined by config.guess.
915 # 4. Target and build default to nonopt.
916 # 5. If nonopt is not specified, then target and build default to host.
918 # The aliases save the names the user supplied, while $host etc.
919 # will get canonicalized.
920 case $host---$target---$nonopt in
921 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
922 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
926 # Make sure we can run config.sub.
927 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
928 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
931 echo $ac_n "checking host system type""... $ac_c" 1>&6
932 echo "configure:933: checking host system type" >&5
935 case "$host_alias" in
939 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
940 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
942 *) host_alias
=$nonopt ;;
946 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
947 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
948 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
949 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
950 echo "$ac_t""$host" 1>&6
952 echo $ac_n "checking target system type""... $ac_c" 1>&6
953 echo "configure:954: checking target system type" >&5
956 case "$target_alias" in
959 NONE
) target_alias
=$host_alias ;;
960 *) target_alias
=$nonopt ;;
964 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
965 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
966 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
967 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
968 echo "$ac_t""$target" 1>&6
970 echo $ac_n "checking build system type""... $ac_c" 1>&6
971 echo "configure:972: checking build system type" >&5
974 case "$build_alias" in
977 NONE
) build_alias
=$host_alias ;;
978 *) build_alias
=$nonopt ;;
982 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
983 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
984 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
985 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
986 echo "$ac_t""$build" 1>&6
988 test "$host_alias" != "$target_alias" &&
989 test "$program_prefix$program_suffix$program_transform_name" = \
991 program_prefix
=${target_alias}-
995 WX_MAJOR_VERSION_NUMBER
=2
996 WX_MINOR_VERSION_NUMBER
=3
999 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1000 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1035 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1037 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1042 DEFAULT_wxUSE_MOTIF
=0
1045 DEFAULT_wxUSE_WINE
=0
1047 DEFAULT_DEFAULT_wxUSE_GTK
=0
1048 DEFAULT_DEFAULT_wxUSE_MAC
=0
1049 DEFAULT_DEFAULT_wxUSE_MGL
=0
1050 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1051 DEFAULT_DEFAULT_wxUSE_MSW
=0
1052 DEFAULT_DEFAULT_wxUSE_PM
=0
1053 DEFAULT_DEFAULT_wxUSE_WINE
=0
1060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1061 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1062 cat >> confdefs.h
<<\EOF
1069 cat >> confdefs.h
<<\EOF
1074 if test "x$TMP" = "xalpha"; then
1076 cat >> confdefs.h
<<\EOF
1081 DEFAULT_DEFAULT_wxUSE_GTK
=1
1083 *-*-irix5* | *-*-irix6* )
1086 cat >> confdefs.h
<<\EOF
1090 cat >> confdefs.h
<<\EOF
1094 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1105 #define __SOLARIS__ 1
1108 cat >> confdefs.h
<<\EOF
1112 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1113 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1119 cat >> confdefs.h
<<\EOF
1123 cat >> confdefs.h
<<\EOF
1127 cat >> confdefs.h
<<\EOF
1131 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1136 cat >> confdefs.h
<<\EOF
1137 #define __FREEBSD__ 1
1140 cat >> confdefs.h
<<\EOF
1144 DEFAULT_DEFAULT_wxUSE_GTK
=1
1149 cat >> confdefs.h
<<\EOF
1150 #define __FREEBSD__ 1
1153 cat >> confdefs.h
<<\EOF
1154 #define __OPENBSD__ 1
1157 DEFAULT_DEFAULT_wxUSE_GTK
=1
1162 cat >> confdefs.h
<<\EOF
1163 #define __FREEBSD__ 1
1166 cat >> confdefs.h
<<\EOF
1167 #define __NETBSD__ 1
1170 DEFAULT_DEFAULT_wxUSE_GTK
=1
1175 cat >> confdefs.h
<<\EOF
1179 cat >> confdefs.h
<<\EOF
1183 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1184 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1189 cat >> confdefs.h
<<\EOF
1193 cat >> confdefs.h
<<\EOF
1197 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1202 cat >> confdefs.h
<<\EOF
1206 cat >> confdefs.h
<<\EOF
1210 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1231 *-*-cygwin* | *-*-mingw32* )
1234 cat >> confdefs.h
<<\EOF
1238 cat >> confdefs.h
<<\EOF
1242 cat >> confdefs.h
<<\EOF
1243 #define __WINDOWS__ 1
1246 cat >> confdefs.h
<<\EOF
1247 #define __GNUWIN32__ 1
1250 cat >> confdefs.h
<<\EOF
1254 cat >> confdefs.h
<<\EOF
1255 #define WINVER 0x0400
1259 DEFAULT_DEFAULT_wxUSE_MSW
=1
1263 cat >> confdefs.h
<<\EOF
1268 DEFAULT_DEFAULT_wxUSE_PM
=1
1274 cat >> confdefs.h
<<\EOF
1278 cat >> confdefs.h
<<\EOF
1279 #define __DARWIN__ 1
1282 cat >> confdefs.h
<<\EOF
1286 DEFAULT_DEFAULT_wxUSE_MAC
=1
1291 cat >> confdefs.h
<<\EOF
1298 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1301 if test "$USE_UNIX" = 1 ; then
1303 cat >> confdefs.h
<<\EOF
1308 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1309 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1312 if test "$USE_BEOS" = 1; then
1313 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1314 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1317 if test "$USE_LINUX" = 1; then
1318 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1319 echo "configure:1320: checking for gettext in -lc" >&5
1320 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1321 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1322 echo $ac_n "(cached) $ac_c" 1>&6
1324 ac_save_LIBS
="$LIBS"
1326 cat > conftest.
$ac_ext <<EOF
1327 #line 1328 "configure"
1328 #include "confdefs.h"
1329 /* Override any gcc2 internal prototype to avoid an error. */
1330 /* We use char because int might match the return type of a gcc2
1331 builtin and then its argument prototype would still apply. */
1338 if { (eval echo configure
:1339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1340 eval "ac_cv_lib_$ac_lib_var=yes"
1342 echo "configure: failed program was:" >&5
1343 cat conftest.
$ac_ext >&5
1345 eval "ac_cv_lib_$ac_lib_var=no"
1348 LIBS
="$ac_save_LIBS"
1351 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1352 echo "$ac_t""yes" 1>&6
1353 cat >> confdefs.h
<<\EOF
1354 #define wxHAVE_GLIBC2 1
1358 echo "$ac_t""no" 1>&6
1366 wx_arg_cache_file
="configarg.cache"
1367 echo "loading argument cache $wx_arg_cache_file"
1368 rm -f ${wx_arg_cache_file}.tmp
1369 touch ${wx_arg_cache_file}.tmp
1370 touch ${wx_arg_cache_file}
1374 if test $DEBUG_CONFIGURE = 1; then
1375 DEFAULT_wxUSE_UNIVERSAL
=no
1377 DEFAULT_wxUSE_THREADS
=yes
1379 DEFAULT_wxUSE_SHARED
=yes
1380 DEFAULT_wxUSE_BURNT_NAME
=no
1381 DEFAULT_wxUSE_OPTIMISE
=no
1382 DEFAULT_wxUSE_PROFILE
=no
1383 DEFAULT_wxUSE_NO_DEPS
=no
1384 DEFAULT_wxUSE_NO_RTTI
=no
1385 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1386 DEFAULT_wxUSE_PERMISSIVE
=no
1387 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1388 DEFAULT_wxUSE_DEBUG_INFO
=yes
1389 DEFAULT_wxUSE_DEBUG_GDB
=yes
1390 DEFAULT_wxUSE_MEM_TRACING
=no
1391 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1392 DEFAULT_wxUSE_DMALLOC
=no
1393 DEFAULT_wxUSE_APPLE_IEEE
=no
1395 DEFAULT_wxUSE_LOG
=yes
1396 DEFAULT_wxUSE_LOGWINDOW
=no
1397 DEFAULT_wxUSE_LOGGUI
=no
1399 DEFAULT_wxUSE_GUI
=yes
1400 DEFAULT_wxUSE_CONTROLS
=no
1402 DEFAULT_wxUSE_REGEX
=no
1403 DEFAULT_wxUSE_ZLIB
=no
1404 DEFAULT_wxUSE_LIBPNG
=no
1405 DEFAULT_wxUSE_LIBJPEG
=no
1406 DEFAULT_wxUSE_LIBTIFF
=no
1407 DEFAULT_wxUSE_ODBC
=no
1408 DEFAULT_wxUSE_FREETYPE
=no
1409 DEFAULT_wxUSE_OPENGL
=no
1411 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1412 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1413 DEFAULT_wxUSE_STD_IOSTREAM
=no
1414 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1415 DEFAULT_wxUSE_DATETIME
=no
1416 DEFAULT_wxUSE_TIMEDATE
=no
1417 DEFAULT_wxUSE_TIMER
=no
1418 DEFAULT_wxUSE_STOPWATCH
=no
1419 DEFAULT_wxUSE_FILE
=no
1420 DEFAULT_wxUSE_FFILE
=no
1421 DEFAULT_wxUSE_TEXTFILE
=no
1422 DEFAULT_wxUSE_WAVE
=no
1423 DEFAULT_wxUSE_INTL
=no
1424 DEFAULT_wxUSE_CONFIG
=no
1425 DEFAULT_wxUSE_FONTMAP
=no
1426 DEFAULT_wxUSE_STREAMS
=no
1427 DEFAULT_wxUSE_SOCKETS
=no
1428 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1429 DEFAULT_wxUSE_SERIAL
=no
1430 DEFAULT_wxUSE_JOYSTICK
=no
1431 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1432 DEFAULT_wxUSE_LONGLONG
=no
1433 DEFAULT_wxUSE_GEOMETRY
=no
1435 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1436 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1437 DEFAULT_wxUSE_POSTSCRIPT
=no
1439 DEFAULT_wxUSE_X_RESOURCES
=no
1440 DEFAULT_wxUSE_CLIPBOARD
=no
1441 DEFAULT_wxUSE_TOOLTIPS
=no
1442 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1443 DEFAULT_wxUSE_DRAGIMAGE
=no
1444 DEFAULT_wxUSE_SPLINES
=no
1446 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1447 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1448 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1450 DEFAULT_wxUSE_PROLOGIO
=no
1451 DEFAULT_wxUSE_RESOURCES
=no
1452 DEFAULT_wxUSE_CONSTRAINTS
=no
1453 DEFAULT_wxUSE_IPC
=no
1454 DEFAULT_wxUSE_HELP
=no
1455 DEFAULT_wxUSE_MS_HTML_HELP
=no
1457 DEFAULT_wxUSE_WXHTML_HELP
=no
1458 DEFAULT_wxUSE_WXTREE
=no
1459 DEFAULT_wxUSE_METAFILE
=no
1460 DEFAULT_wxUSE_MIMETYPE
=no
1461 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1463 DEFAULT_wxUSE_COMMONDLGS
=no
1464 DEFAULT_wxUSE_CHOICEDLG
=no
1465 DEFAULT_wxUSE_COLOURDLG
=no
1466 DEFAULT_wxUSE_DIRDLG
=no
1467 DEFAULT_wxUSE_FILEDLG
=no
1468 DEFAULT_wxUSE_FONTDLG
=no
1469 DEFAULT_wxUSE_MSGDLG
=no
1470 DEFAULT_wxUSE_NUMBERDLG
=no
1471 DEFAULT_wxUSE_TEXTDLG
=no
1472 DEFAULT_wxUSE_STARTUP_TIPS
=no
1473 DEFAULT_wxUSE_PROGRESSDLG
=no
1474 DEFAULT_wxUSE_WIZARDDLG
=no
1476 DEFAULT_wxUSE_MENUS
=no
1477 DEFAULT_wxUSE_MINIFRAME
=no
1478 DEFAULT_wxUSE_HTML
=no
1479 DEFAULT_wxUSE_FILESYSTEM
=no
1480 DEFAULT_wxUSE_FS_INET
=no
1481 DEFAULT_wxUSE_FS_ZIP
=no
1482 DEFAULT_wxUSE_BUSYINFO
=no
1483 DEFAULT_wxUSE_ZIPSTREAM
=no
1484 DEFAULT_wxUSE_VALIDATORS
=no
1486 DEFAULT_wxUSE_ACCEL
=no
1487 DEFAULT_wxUSE_BUTTON
=no
1488 DEFAULT_wxUSE_BMPBUTTON
=no
1489 DEFAULT_wxUSE_CALCTRL
=no
1490 DEFAULT_wxUSE_CARET
=no
1491 DEFAULT_wxUSE_CHECKBOX
=no
1492 DEFAULT_wxUSE_CHECKLST
=no
1493 DEFAULT_wxUSE_CHOICE
=no
1494 DEFAULT_wxUSE_COMBOBOX
=no
1495 DEFAULT_wxUSE_GAUGE
=no
1496 DEFAULT_wxUSE_GRID
=no
1497 DEFAULT_wxUSE_NEW_GRID
=no
1498 DEFAULT_wxUSE_IMAGLIST
=no
1499 DEFAULT_wxUSE_LISTBOX
=no
1500 DEFAULT_wxUSE_LISTCTRL
=no
1501 DEFAULT_wxUSE_NOTEBOOK
=no
1502 DEFAULT_wxUSE_RADIOBOX
=no
1503 DEFAULT_wxUSE_RADIOBTN
=no
1504 DEFAULT_wxUSE_SASH
=no
1505 DEFAULT_wxUSE_SCROLLBAR
=no
1506 DEFAULT_wxUSE_SLIDER
=no
1507 DEFAULT_wxUSE_SPINBTN
=no
1508 DEFAULT_wxUSE_SPINCTRL
=no
1509 DEFAULT_wxUSE_SPLITTER
=no
1510 DEFAULT_wxUSE_STATBMP
=no
1511 DEFAULT_wxUSE_STATBOX
=no
1512 DEFAULT_wxUSE_STATLINE
=no
1513 DEFAULT_wxUSE_STATTEXT
=no
1514 DEFAULT_wxUSE_STATUSBAR
=yes
1515 DEFAULT_wxUSE_TABDIALOG
=no
1516 DEFAULT_wxUSE_TEXTCTRL
=no
1517 DEFAULT_wxUSE_TOGGLEBTN
=no
1518 DEFAULT_wxUSE_TOOLBAR
=no
1519 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1520 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1521 DEFAULT_wxUSE_TREECTRL
=no
1522 DEFAULT_wxUSE_POPUPWIN
=no
1524 DEFAULT_wxUSE_UNICODE
=no
1525 DEFAULT_wxUSE_WCSRTOMBS
=no
1527 DEFAULT_wxUSE_IMAGE
=no
1528 DEFAULT_wxUSE_GIF
=no
1529 DEFAULT_wxUSE_PCX
=no
1530 DEFAULT_wxUSE_PNM
=no
1531 DEFAULT_wxUSE_XPM
=no
1533 DEFAULT_wxUSE_UNIVERSAL
=no
1535 DEFAULT_wxUSE_THREADS
=yes
1537 DEFAULT_wxUSE_SHARED
=yes
1538 DEFAULT_wxUSE_BURNT_NAME
=no
1539 DEFAULT_wxUSE_OPTIMISE
=yes
1540 DEFAULT_wxUSE_PROFILE
=no
1541 DEFAULT_wxUSE_NO_DEPS
=no
1542 DEFAULT_wxUSE_NO_RTTI
=no
1543 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1544 DEFAULT_wxUSE_PERMISSIVE
=no
1545 DEFAULT_wxUSE_DEBUG_FLAG
=no
1546 DEFAULT_wxUSE_DEBUG_INFO
=no
1547 DEFAULT_wxUSE_DEBUG_GDB
=no
1548 DEFAULT_wxUSE_MEM_TRACING
=no
1549 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1550 DEFAULT_wxUSE_DMALLOC
=no
1551 DEFAULT_wxUSE_APPLE_IEEE
=yes
1553 DEFAULT_wxUSE_LOG
=yes
1554 DEFAULT_wxUSE_LOGWINDOW
=yes
1555 DEFAULT_wxUSE_LOGGUI
=yes
1557 DEFAULT_wxUSE_GUI
=yes
1559 DEFAULT_wxUSE_REGEX
=yes
1560 DEFAULT_wxUSE_ZLIB
=yes
1561 DEFAULT_wxUSE_LIBPNG
=yes
1562 DEFAULT_wxUSE_LIBJPEG
=yes
1563 DEFAULT_wxUSE_LIBTIFF
=yes
1564 DEFAULT_wxUSE_ODBC
=no
1565 DEFAULT_wxUSE_FREETYPE
=no
1566 DEFAULT_wxUSE_OPENGL
=no
1568 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1569 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1570 DEFAULT_wxUSE_STD_IOSTREAM
=no
1571 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1572 DEFAULT_wxUSE_DATETIME
=yes
1573 DEFAULT_wxUSE_TIMEDATE
=no
1574 DEFAULT_wxUSE_TIMER
=yes
1575 DEFAULT_wxUSE_STOPWATCH
=yes
1576 DEFAULT_wxUSE_FILE
=yes
1577 DEFAULT_wxUSE_FFILE
=yes
1578 DEFAULT_wxUSE_TEXTFILE
=yes
1579 DEFAULT_wxUSE_WAVE
=no
1580 DEFAULT_wxUSE_INTL
=yes
1581 DEFAULT_wxUSE_CONFIG
=yes
1582 DEFAULT_wxUSE_FONTMAP
=yes
1583 DEFAULT_wxUSE_STREAMS
=yes
1584 DEFAULT_wxUSE_SOCKETS
=yes
1585 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1586 DEFAULT_wxUSE_SERIAL
=yes
1587 DEFAULT_wxUSE_JOYSTICK
=yes
1588 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1589 DEFAULT_wxUSE_LONGLONG
=yes
1590 DEFAULT_wxUSE_GEOMETRY
=yes
1592 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1593 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1594 DEFAULT_wxUSE_POSTSCRIPT
=yes
1596 DEFAULT_wxUSE_X_RESOURCES
=no
1597 DEFAULT_wxUSE_CLIPBOARD
=yes
1598 DEFAULT_wxUSE_TOOLTIPS
=yes
1599 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1600 DEFAULT_wxUSE_DRAGIMAGE
=yes
1601 DEFAULT_wxUSE_SPLINES
=yes
1603 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1604 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1605 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1607 DEFAULT_wxUSE_PROLOGIO
=yes
1608 DEFAULT_wxUSE_RESOURCES
=yes
1609 DEFAULT_wxUSE_CONSTRAINTS
=yes
1610 DEFAULT_wxUSE_IPC
=yes
1611 DEFAULT_wxUSE_HELP
=yes
1612 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1613 DEFAULT_wxUSE_WXHTML_HELP
=yes
1614 DEFAULT_wxUSE_WXTREE
=yes
1615 DEFAULT_wxUSE_METAFILE
=yes
1616 DEFAULT_wxUSE_MIMETYPE
=yes
1617 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1619 DEFAULT_wxUSE_COMMONDLGS
=yes
1620 DEFAULT_wxUSE_CHOICEDLG
=yes
1621 DEFAULT_wxUSE_COLOURDLG
=yes
1622 DEFAULT_wxUSE_DIRDLG
=yes
1623 DEFAULT_wxUSE_FILEDLG
=yes
1624 DEFAULT_wxUSE_FONTDLG
=yes
1625 DEFAULT_wxUSE_MSGDLG
=yes
1626 DEFAULT_wxUSE_NUMBERDLG
=yes
1627 DEFAULT_wxUSE_TEXTDLG
=yes
1628 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1629 DEFAULT_wxUSE_PROGRESSDLG
=yes
1630 DEFAULT_wxUSE_WIZARDDLG
=yes
1632 DEFAULT_wxUSE_MENUS
=yes
1633 DEFAULT_wxUSE_MINIFRAME
=yes
1634 DEFAULT_wxUSE_HTML
=yes
1635 DEFAULT_wxUSE_FILESYSTEM
=yes
1636 DEFAULT_wxUSE_FS_INET
=yes
1637 DEFAULT_wxUSE_FS_ZIP
=yes
1638 DEFAULT_wxUSE_BUSYINFO
=yes
1639 DEFAULT_wxUSE_ZIPSTREAM
=yes
1640 DEFAULT_wxUSE_VALIDATORS
=yes
1642 DEFAULT_wxUSE_ACCEL
=yes
1643 DEFAULT_wxUSE_BUTTON
=yes
1644 DEFAULT_wxUSE_BMPBUTTON
=yes
1645 DEFAULT_wxUSE_CALCTRL
=yes
1646 DEFAULT_wxUSE_CARET
=yes
1647 DEFAULT_wxUSE_CHECKBOX
=yes
1648 DEFAULT_wxUSE_CHECKLST
=yes
1649 DEFAULT_wxUSE_CHOICE
=yes
1650 DEFAULT_wxUSE_COMBOBOX
=yes
1651 DEFAULT_wxUSE_GAUGE
=yes
1652 DEFAULT_wxUSE_GRID
=yes
1653 DEFAULT_wxUSE_NEW_GRID
=yes
1654 DEFAULT_wxUSE_IMAGLIST
=yes
1655 DEFAULT_wxUSE_LISTBOX
=yes
1656 DEFAULT_wxUSE_LISTCTRL
=yes
1657 DEFAULT_wxUSE_NOTEBOOK
=yes
1658 DEFAULT_wxUSE_RADIOBOX
=yes
1659 DEFAULT_wxUSE_RADIOBTN
=yes
1660 DEFAULT_wxUSE_SASH
=yes
1661 DEFAULT_wxUSE_SCROLLBAR
=yes
1662 DEFAULT_wxUSE_SLIDER
=yes
1663 DEFAULT_wxUSE_SPINBTN
=yes
1664 DEFAULT_wxUSE_SPINCTRL
=yes
1665 DEFAULT_wxUSE_SPLITTER
=yes
1666 DEFAULT_wxUSE_STATBMP
=yes
1667 DEFAULT_wxUSE_STATBOX
=yes
1668 DEFAULT_wxUSE_STATLINE
=yes
1669 DEFAULT_wxUSE_STATTEXT
=yes
1670 DEFAULT_wxUSE_STATUSBAR
=yes
1671 DEFAULT_wxUSE_TABDIALOG
=no
1672 DEFAULT_wxUSE_TEXTCTRL
=yes
1673 DEFAULT_wxUSE_TOGGLEBTN
=yes
1674 DEFAULT_wxUSE_TOOLBAR
=yes
1675 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1676 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1677 DEFAULT_wxUSE_TREECTRL
=yes
1678 DEFAULT_wxUSE_POPUPWIN
=yes
1680 DEFAULT_wxUSE_UNICODE
=no
1681 DEFAULT_wxUSE_WCSRTOMBS
=no
1683 DEFAULT_wxUSE_IMAGE
=yes
1684 DEFAULT_wxUSE_GIF
=yes
1685 DEFAULT_wxUSE_PCX
=yes
1686 DEFAULT_wxUSE_PNM
=yes
1687 DEFAULT_wxUSE_XPM
=yes
1692 for toolkit
in `echo $ALL_TOOLKITS`; do
1693 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1694 if test "x$LINE" != x
; then
1695 has_toolkit_in_cache
=1
1696 eval "DEFAULT_$LINE"
1697 eval "CACHE_$toolkit=1"
1703 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1704 echo "configure:1705: checking for --enable-gui" >&5
1706 # Check whether --enable-gui or --disable-gui was given.
1707 if test "${enable_gui+set}" = set; then
1708 enableval
="$enable_gui"
1710 if test "$enableval" = yes; then
1711 ac_cv_use_gui
='wxUSE_GUI=yes'
1713 ac_cv_use_gui
='wxUSE_GUI=no'
1718 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1719 if test "x$LINE" != x
; then
1720 eval "DEFAULT_$LINE"
1725 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1730 eval "$ac_cv_use_gui"
1731 if test "$no_cache" != 1; then
1732 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1735 if test "$wxUSE_GUI" = yes; then
1736 echo "$ac_t""yes" 1>&6
1738 echo "$ac_t""no" 1>&6
1742 if test "$wxUSE_GUI" = "yes"; then
1745 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1746 echo "configure:1747: checking for --enable-universal" >&5
1748 # Check whether --enable-universal or --disable-universal was given.
1749 if test "${enable_universal+set}" = set; then
1750 enableval
="$enable_universal"
1752 if test "$enableval" = yes; then
1753 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1755 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1760 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1761 if test "x$LINE" != x
; then
1762 eval "DEFAULT_$LINE"
1767 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1772 eval "$ac_cv_use_universal"
1773 if test "$no_cache" != 1; then
1774 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1777 if test "$wxUSE_UNIVERSAL" = yes; then
1778 echo "$ac_t""yes" 1>&6
1780 echo "$ac_t""no" 1>&6
1783 # Check whether --with-gtk or --without-gtk was given.
1784 if test "${with_gtk+set}" = set; then
1786 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1789 # Check whether --with-motif or --without-motif was given.
1790 if test "${with_motif+set}" = set; then
1791 withval
="$with_motif"
1792 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1795 # Check whether --with-mac or --without-mac was given.
1796 if test "${with_mac+set}" = set; then
1798 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1801 # Check whether --with-wine or --without-wine was given.
1802 if test "${with_wine+set}" = set; then
1803 withval
="$with_wine"
1804 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1807 # Check whether --with-cygwin or --without-cygwin was given.
1808 if test "${with_cygwin+set}" = set; then
1809 withval
="$with_cygwin"
1810 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1813 # Check whether --with-mingw or --without-mingw was given.
1814 if test "${with_mingw+set}" = set; then
1815 withval
="$with_mingw"
1816 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1819 # Check whether --with-pm or --without-pm was given.
1820 if test "${with_pm+set}" = set; then
1822 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1825 # Check whether --with-mgl or --without-mgl was given.
1826 if test "${with_mgl+set}" = set; then
1828 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1832 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1833 if test "${enable_gtk2+set}" = set; then
1834 enableval
="$enable_gtk2"
1842 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1843 echo "configure:1844: checking for --with-libpng" >&5
1845 # Check whether --with-libpng or --without-libpng was given.
1846 if test "${with_libpng+set}" = set; then
1847 withval
="$with_libpng"
1849 if test "$withval" = yes; then
1850 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1851 elif test "$withval" = no
; then
1852 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1853 elif test "$withval" = sys
; then
1854 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1856 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1861 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1862 if test "x$LINE" != x
; then
1863 eval "DEFAULT_$LINE"
1868 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1873 eval "$ac_cv_use_libpng"
1874 if test "$no_cache" != 1; then
1875 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1878 if test "$wxUSE_LIBPNG" = yes; then
1879 echo "$ac_t""yes" 1>&6
1880 elif test "$wxUSE_LIBPNG" = no
; then
1881 echo "$ac_t""no" 1>&6
1882 elif test "$wxUSE_LIBPNG" = sys
; then
1883 echo "$ac_t""system version" 1>&6
1885 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1889 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1890 echo "configure:1891: checking for --with-libjpeg" >&5
1892 # Check whether --with-libjpeg or --without-libjpeg was given.
1893 if test "${with_libjpeg+set}" = set; then
1894 withval
="$with_libjpeg"
1896 if test "$withval" = yes; then
1897 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1898 elif test "$withval" = no
; then
1899 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1900 elif test "$withval" = sys
; then
1901 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1903 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1908 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1909 if test "x$LINE" != x
; then
1910 eval "DEFAULT_$LINE"
1915 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1920 eval "$ac_cv_use_libjpeg"
1921 if test "$no_cache" != 1; then
1922 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1925 if test "$wxUSE_LIBJPEG" = yes; then
1926 echo "$ac_t""yes" 1>&6
1927 elif test "$wxUSE_LIBJPEG" = no
; then
1928 echo "$ac_t""no" 1>&6
1929 elif test "$wxUSE_LIBJPEG" = sys
; then
1930 echo "$ac_t""system version" 1>&6
1932 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1936 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1937 echo "configure:1938: checking for --with-libtiff" >&5
1939 # Check whether --with-libtiff or --without-libtiff was given.
1940 if test "${with_libtiff+set}" = set; then
1941 withval
="$with_libtiff"
1943 if test "$withval" = yes; then
1944 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1945 elif test "$withval" = no
; then
1946 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1947 elif test "$withval" = sys
; then
1948 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1950 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1955 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1956 if test "x$LINE" != x
; then
1957 eval "DEFAULT_$LINE"
1962 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1967 eval "$ac_cv_use_libtiff"
1968 if test "$no_cache" != 1; then
1969 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1972 if test "$wxUSE_LIBTIFF" = yes; then
1973 echo "$ac_t""yes" 1>&6
1974 elif test "$wxUSE_LIBTIFF" = no
; then
1975 echo "$ac_t""no" 1>&6
1976 elif test "$wxUSE_LIBTIFF" = sys
; then
1977 echo "$ac_t""system version" 1>&6
1979 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1983 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1984 echo "configure:1985: checking for --with-freetype" >&5
1986 # Check whether --with-freetype or --without-freetype was given.
1987 if test "${with_freetype+set}" = set; then
1988 withval
="$with_freetype"
1990 if test "$withval" = yes; then
1991 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1992 elif test "$withval" = no
; then
1993 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1994 elif test "$withval" = sys
; then
1995 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1997 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2002 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2003 if test "x$LINE" != x
; then
2004 eval "DEFAULT_$LINE"
2009 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2014 eval "$ac_cv_use_freetype"
2015 if test "$no_cache" != 1; then
2016 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2019 if test "$wxUSE_FREETYPE" = yes; then
2020 echo "$ac_t""yes" 1>&6
2021 elif test "$wxUSE_FREETYPE" = no
; then
2022 echo "$ac_t""no" 1>&6
2023 elif test "$wxUSE_FREETYPE" = sys
; then
2024 echo "$ac_t""system version" 1>&6
2026 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2030 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2031 echo "configure:2032: checking for --with-opengl" >&5
2033 # Check whether --with-opengl or --without-opengl was given.
2034 if test "${with_opengl+set}" = set; then
2035 withval
="$with_opengl"
2037 if test "$withval" = yes; then
2038 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2040 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2045 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2046 if test "x$LINE" != x
; then
2047 eval "DEFAULT_$LINE"
2052 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2057 eval "$ac_cv_use_opengl"
2058 if test "$no_cache" != 1; then
2059 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2062 if test "$wxUSE_OPENGL" = yes; then
2063 echo "$ac_t""yes" 1>&6
2065 echo "$ac_t""no" 1>&6
2072 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2073 echo "configure:2074: checking for --with-dmalloc" >&5
2075 # Check whether --with-dmalloc or --without-dmalloc was given.
2076 if test "${with_dmalloc+set}" = set; then
2077 withval
="$with_dmalloc"
2079 if test "$withval" = yes; then
2080 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2082 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2087 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2088 if test "x$LINE" != x
; then
2089 eval "DEFAULT_$LINE"
2094 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2099 eval "$ac_cv_use_dmalloc"
2100 if test "$no_cache" != 1; then
2101 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2104 if test "$wxUSE_DMALLOC" = yes; then
2105 echo "$ac_t""yes" 1>&6
2107 echo "$ac_t""no" 1>&6
2111 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2112 echo "configure:2113: checking for --with-regex" >&5
2114 # Check whether --with-regex or --without-regex was given.
2115 if test "${with_regex+set}" = set; then
2116 withval
="$with_regex"
2118 if test "$withval" = yes; then
2119 ac_cv_use_regex
='wxUSE_REGEX=yes'
2120 elif test "$withval" = no
; then
2121 ac_cv_use_regex
='wxUSE_REGEX=no'
2122 elif test "$withval" = sys
; then
2123 ac_cv_use_regex
='wxUSE_REGEX=sys'
2125 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2130 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2131 if test "x$LINE" != x
; then
2132 eval "DEFAULT_$LINE"
2137 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2142 eval "$ac_cv_use_regex"
2143 if test "$no_cache" != 1; then
2144 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2147 if test "$wxUSE_REGEX" = yes; then
2148 echo "$ac_t""yes" 1>&6
2149 elif test "$wxUSE_REGEX" = no
; then
2150 echo "$ac_t""no" 1>&6
2151 elif test "$wxUSE_REGEX" = sys
; then
2152 echo "$ac_t""system version" 1>&6
2154 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2158 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2159 echo "configure:2160: checking for --with-zlib" >&5
2161 # Check whether --with-zlib or --without-zlib was given.
2162 if test "${with_zlib+set}" = set; then
2163 withval
="$with_zlib"
2165 if test "$withval" = yes; then
2166 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2167 elif test "$withval" = no
; then
2168 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2169 elif test "$withval" = sys
; then
2170 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2172 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2177 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x
; then
2179 eval "DEFAULT_$LINE"
2184 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2189 eval "$ac_cv_use_zlib"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2194 if test "$wxUSE_ZLIB" = yes; then
2195 echo "$ac_t""yes" 1>&6
2196 elif test "$wxUSE_ZLIB" = no
; then
2197 echo "$ac_t""no" 1>&6
2198 elif test "$wxUSE_ZLIB" = sys
; then
2199 echo "$ac_t""system version" 1>&6
2201 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2205 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2206 echo "configure:2207: checking for --with-odbc" >&5
2208 # Check whether --with-odbc or --without-odbc was given.
2209 if test "${with_odbc+set}" = set; then
2210 withval
="$with_odbc"
2212 if test "$withval" = yes; then
2213 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2215 ac_cv_use_odbc
='wxUSE_ODBC=no'
2220 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2221 if test "x$LINE" != x
; then
2222 eval "DEFAULT_$LINE"
2227 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2232 eval "$ac_cv_use_odbc"
2233 if test "$no_cache" != 1; then
2234 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2237 if test "$wxUSE_ODBC" = yes; then
2238 echo "$ac_t""yes" 1>&6
2240 echo "$ac_t""no" 1>&6
2247 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2248 echo "configure:2249: checking for --enable-shared" >&5
2250 # Check whether --enable-shared or --disable-shared was given.
2251 if test "${enable_shared+set}" = set; then
2252 enableval
="$enable_shared"
2254 if test "$enableval" = yes; then
2255 ac_cv_use_shared
='wxUSE_SHARED=yes'
2257 ac_cv_use_shared
='wxUSE_SHARED=no'
2262 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2263 if test "x$LINE" != x
; then
2264 eval "DEFAULT_$LINE"
2269 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2274 eval "$ac_cv_use_shared"
2275 if test "$no_cache" != 1; then
2276 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2279 if test "$wxUSE_SHARED" = yes; then
2280 echo "$ac_t""yes" 1>&6
2282 echo "$ac_t""no" 1>&6
2286 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2287 echo "configure:2288: checking for --enable-burnt_name" >&5
2289 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2290 if test "${enable_burnt_name+set}" = set; then
2291 enableval
="$enable_burnt_name"
2293 if test "$enableval" = yes; then
2294 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2296 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2301 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2302 if test "x$LINE" != x
; then
2303 eval "DEFAULT_$LINE"
2308 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2313 eval "$ac_cv_use_burnt_name"
2314 if test "$no_cache" != 1; then
2315 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2318 if test "$wxUSE_BURNT_NAME" = yes; then
2319 echo "$ac_t""yes" 1>&6
2321 echo "$ac_t""no" 1>&6
2325 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2326 echo "configure:2327: checking for --enable-optimise" >&5
2328 # Check whether --enable-optimise or --disable-optimise was given.
2329 if test "${enable_optimise+set}" = set; then
2330 enableval
="$enable_optimise"
2332 if test "$enableval" = yes; then
2333 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2335 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2340 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2341 if test "x$LINE" != x
; then
2342 eval "DEFAULT_$LINE"
2347 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2352 eval "$ac_cv_use_optimise"
2353 if test "$no_cache" != 1; then
2354 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2357 if test "$wxUSE_OPTIMISE" = yes; then
2358 echo "$ac_t""yes" 1>&6
2360 echo "$ac_t""no" 1>&6
2364 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2365 echo "configure:2366: checking for --enable-debug" >&5
2367 # Check whether --enable-debug or --disable-debug was given.
2368 if test "${enable_debug+set}" = set; then
2369 enableval
="$enable_debug"
2371 if test "$enableval" = yes; then
2372 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2374 ac_cv_use_debug
='wxUSE_DEBUG=no'
2379 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x
; then
2381 eval "DEFAULT_$LINE"
2386 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2391 eval "$ac_cv_use_debug"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2396 if test "$wxUSE_DEBUG" = yes; then
2397 echo "$ac_t""yes" 1>&6
2399 echo "$ac_t""no" 1>&6
2403 if test "$wxUSE_DEBUG" = "yes"; then
2404 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2405 DEFAULT_wxUSE_DEBUG_INFO
=yes
2406 elif test "$wxUSE_DEBUG" = "no"; then
2407 DEFAULT_wxUSE_DEBUG_FLAG
=no
2408 DEFAULT_wxUSE_DEBUG_INFO
=no
2412 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2413 echo "configure:2414: checking for --enable-debug_flag" >&5
2415 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2416 if test "${enable_debug_flag+set}" = set; then
2417 enableval
="$enable_debug_flag"
2419 if test "$enableval" = yes; then
2420 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2422 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2427 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2428 if test "x$LINE" != x
; then
2429 eval "DEFAULT_$LINE"
2434 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2439 eval "$ac_cv_use_debug_flag"
2440 if test "$no_cache" != 1; then
2441 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2444 if test "$wxUSE_DEBUG_FLAG" = yes; then
2445 echo "$ac_t""yes" 1>&6
2447 echo "$ac_t""no" 1>&6
2451 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2452 echo "configure:2453: checking for --enable-debug_info" >&5
2454 # Check whether --enable-debug_info or --disable-debug_info was given.
2455 if test "${enable_debug_info+set}" = set; then
2456 enableval
="$enable_debug_info"
2458 if test "$enableval" = yes; then
2459 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2461 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2466 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2467 if test "x$LINE" != x
; then
2468 eval "DEFAULT_$LINE"
2473 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2478 eval "$ac_cv_use_debug_info"
2479 if test "$no_cache" != 1; then
2480 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2483 if test "$wxUSE_DEBUG_INFO" = yes; then
2484 echo "$ac_t""yes" 1>&6
2486 echo "$ac_t""no" 1>&6
2490 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2491 echo "configure:2492: checking for --enable-debug_gdb" >&5
2493 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2494 if test "${enable_debug_gdb+set}" = set; then
2495 enableval
="$enable_debug_gdb"
2497 if test "$enableval" = yes; then
2498 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2500 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2505 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2506 if test "x$LINE" != x
; then
2507 eval "DEFAULT_$LINE"
2512 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2517 eval "$ac_cv_use_debug_gdb"
2518 if test "$no_cache" != 1; then
2519 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2522 if test "$wxUSE_DEBUG_GDB" = yes; then
2523 echo "$ac_t""yes" 1>&6
2525 echo "$ac_t""no" 1>&6
2529 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2530 echo "configure:2531: checking for --enable-debug_cntxt" >&5
2532 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2533 if test "${enable_debug_cntxt+set}" = set; then
2534 enableval
="$enable_debug_cntxt"
2536 if test "$enableval" = yes; then
2537 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2539 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2544 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2545 if test "x$LINE" != x
; then
2546 eval "DEFAULT_$LINE"
2551 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2556 eval "$ac_cv_use_debug_cntxt"
2557 if test "$no_cache" != 1; then
2558 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2561 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2562 echo "$ac_t""yes" 1>&6
2564 echo "$ac_t""no" 1>&6
2568 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2569 echo "configure:2570: checking for --enable-mem_tracing" >&5
2571 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2572 if test "${enable_mem_tracing+set}" = set; then
2573 enableval
="$enable_mem_tracing"
2575 if test "$enableval" = yes; then
2576 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2578 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2583 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2584 if test "x$LINE" != x
; then
2585 eval "DEFAULT_$LINE"
2590 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2595 eval "$ac_cv_use_mem_tracing"
2596 if test "$no_cache" != 1; then
2597 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2600 if test "$wxUSE_MEM_TRACING" = yes; then
2601 echo "$ac_t""yes" 1>&6
2603 echo "$ac_t""no" 1>&6
2607 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2608 echo "configure:2609: checking for --enable-profile" >&5
2610 # Check whether --enable-profile or --disable-profile was given.
2611 if test "${enable_profile+set}" = set; then
2612 enableval
="$enable_profile"
2614 if test "$enableval" = yes; then
2615 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2617 ac_cv_use_profile
='wxUSE_PROFILE=no'
2622 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2623 if test "x$LINE" != x
; then
2624 eval "DEFAULT_$LINE"
2629 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2634 eval "$ac_cv_use_profile"
2635 if test "$no_cache" != 1; then
2636 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2639 if test "$wxUSE_PROFILE" = yes; then
2640 echo "$ac_t""yes" 1>&6
2642 echo "$ac_t""no" 1>&6
2646 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2647 echo "configure:2648: checking for --enable-no_rtti" >&5
2649 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2650 if test "${enable_no_rtti+set}" = set; then
2651 enableval
="$enable_no_rtti"
2653 if test "$enableval" = yes; then
2654 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2656 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2661 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2662 if test "x$LINE" != x
; then
2663 eval "DEFAULT_$LINE"
2668 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2673 eval "$ac_cv_use_no_rtti"
2674 if test "$no_cache" != 1; then
2675 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2678 if test "$wxUSE_NO_RTTI" = yes; then
2679 echo "$ac_t""yes" 1>&6
2681 echo "$ac_t""no" 1>&6
2685 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2686 echo "configure:2687: checking for --enable-no_exceptions" >&5
2688 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2689 if test "${enable_no_exceptions+set}" = set; then
2690 enableval
="$enable_no_exceptions"
2692 if test "$enableval" = yes; then
2693 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2695 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2700 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x
; then
2702 eval "DEFAULT_$LINE"
2707 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2712 eval "$ac_cv_use_no_exceptions"
2713 if test "$no_cache" != 1; then
2714 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2717 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2718 echo "$ac_t""yes" 1>&6
2720 echo "$ac_t""no" 1>&6
2724 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2725 echo "configure:2726: checking for --enable-permissive" >&5
2727 # Check whether --enable-permissive or --disable-permissive was given.
2728 if test "${enable_permissive+set}" = set; then
2729 enableval
="$enable_permissive"
2731 if test "$enableval" = yes; then
2732 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2734 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2739 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x
; then
2741 eval "DEFAULT_$LINE"
2746 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2751 eval "$ac_cv_use_permissive"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2756 if test "$wxUSE_PERMISSIVE" = yes; then
2757 echo "$ac_t""yes" 1>&6
2759 echo "$ac_t""no" 1>&6
2763 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2764 echo "configure:2765: checking for --enable-no_deps" >&5
2766 # Check whether --enable-no_deps or --disable-no_deps was given.
2767 if test "${enable_no_deps+set}" = set; then
2768 enableval
="$enable_no_deps"
2770 if test "$enableval" = yes; then
2771 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2773 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2778 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x
; then
2780 eval "DEFAULT_$LINE"
2785 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2790 eval "$ac_cv_use_no_deps"
2791 if test "$no_cache" != 1; then
2792 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2795 if test "$wxUSE_NO_DEPS" = yes; then
2796 echo "$ac_t""yes" 1>&6
2798 echo "$ac_t""no" 1>&6
2803 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2804 echo "configure:2805: checking for --enable-compat20" >&5
2806 # Check whether --enable-compat20 or --disable-compat20 was given.
2807 if test "${enable_compat20+set}" = set; then
2808 enableval
="$enable_compat20"
2810 if test "$enableval" = yes; then
2811 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2813 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2818 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2819 if test "x$LINE" != x
; then
2820 eval "DEFAULT_$LINE"
2825 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2830 eval "$ac_cv_use_compat20"
2831 if test "$no_cache" != 1; then
2832 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2835 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2836 echo "$ac_t""yes" 1>&6
2838 echo "$ac_t""no" 1>&6
2842 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2843 echo "configure:2844: checking for --enable-compat22" >&5
2845 # Check whether --enable-compat22 or --disable-compat22 was given.
2846 if test "${enable_compat22+set}" = set; then
2847 enableval
="$enable_compat22"
2849 if test "$enableval" = yes; then
2850 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2852 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2857 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2858 if test "x$LINE" != x
; then
2859 eval "DEFAULT_$LINE"
2864 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2869 eval "$ac_cv_use_compat22"
2870 if test "$no_cache" != 1; then
2871 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2874 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2875 echo "$ac_t""yes" 1>&6
2877 echo "$ac_t""no" 1>&6
2883 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2884 echo "configure:2885: checking for --enable-intl" >&5
2886 # Check whether --enable-intl or --disable-intl was given.
2887 if test "${enable_intl+set}" = set; then
2888 enableval
="$enable_intl"
2890 if test "$enableval" = yes; then
2891 ac_cv_use_intl
='wxUSE_INTL=yes'
2893 ac_cv_use_intl
='wxUSE_INTL=no'
2898 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x
; then
2900 eval "DEFAULT_$LINE"
2905 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2910 eval "$ac_cv_use_intl"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2915 if test "$wxUSE_INTL" = yes; then
2916 echo "$ac_t""yes" 1>&6
2918 echo "$ac_t""no" 1>&6
2922 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2923 echo "configure:2924: checking for --enable-config" >&5
2925 # Check whether --enable-config or --disable-config was given.
2926 if test "${enable_config+set}" = set; then
2927 enableval
="$enable_config"
2929 if test "$enableval" = yes; then
2930 ac_cv_use_config
='wxUSE_CONFIG=yes'
2932 ac_cv_use_config
='wxUSE_CONFIG=no'
2937 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2938 if test "x$LINE" != x
; then
2939 eval "DEFAULT_$LINE"
2944 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2949 eval "$ac_cv_use_config"
2950 if test "$no_cache" != 1; then
2951 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2954 if test "$wxUSE_CONFIG" = yes; then
2955 echo "$ac_t""yes" 1>&6
2957 echo "$ac_t""no" 1>&6
2962 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2963 echo "configure:2964: checking for --enable-sockets" >&5
2965 # Check whether --enable-sockets or --disable-sockets was given.
2966 if test "${enable_sockets+set}" = set; then
2967 enableval
="$enable_sockets"
2969 if test "$enableval" = yes; then
2970 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2972 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2977 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2978 if test "x$LINE" != x
; then
2979 eval "DEFAULT_$LINE"
2984 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2989 eval "$ac_cv_use_sockets"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2994 if test "$wxUSE_SOCKETS" = yes; then
2995 echo "$ac_t""yes" 1>&6
2997 echo "$ac_t""no" 1>&6
3002 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3003 echo "configure:3004: checking for --enable-ipc" >&5
3005 # Check whether --enable-ipc or --disable-ipc was given.
3006 if test "${enable_ipc+set}" = set; then
3007 enableval
="$enable_ipc"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_ipc
='wxUSE_IPC=yes'
3012 ac_cv_use_ipc
='wxUSE_IPC=no'
3017 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3029 eval "$ac_cv_use_ipc"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_IPC" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3042 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3043 echo "configure:3044: checking for --enable-cmdline" >&5
3045 # Check whether --enable-cmdline or --disable-cmdline was given.
3046 if test "${enable_cmdline+set}" = set; then
3047 enableval
="$enable_cmdline"
3049 if test "$enableval" = yes; then
3050 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3052 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3057 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3058 if test "x$LINE" != x
; then
3059 eval "DEFAULT_$LINE"
3064 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3069 eval "$ac_cv_use_cmdline"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3074 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3075 echo "$ac_t""yes" 1>&6
3077 echo "$ac_t""no" 1>&6
3081 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3082 echo "configure:3083: checking for --enable-datetime" >&5
3084 # Check whether --enable-datetime or --disable-datetime was given.
3085 if test "${enable_datetime+set}" = set; then
3086 enableval
="$enable_datetime"
3088 if test "$enableval" = yes; then
3089 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3091 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3096 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3108 eval "$ac_cv_use_datetime"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3113 if test "$wxUSE_DATETIME" = yes; then
3114 echo "$ac_t""yes" 1>&6
3116 echo "$ac_t""no" 1>&6
3120 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3121 echo "configure:3122: checking for --enable-timedate" >&5
3123 # Check whether --enable-timedate or --disable-timedate was given.
3124 if test "${enable_timedate+set}" = set; then
3125 enableval
="$enable_timedate"
3127 if test "$enableval" = yes; then
3128 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3130 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3135 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3136 if test "x$LINE" != x
; then
3137 eval "DEFAULT_$LINE"
3142 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3147 eval "$ac_cv_use_timedate"
3148 if test "$no_cache" != 1; then
3149 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3152 if test "$wxUSE_TIMEDATE" = yes; then
3153 echo "$ac_t""yes" 1>&6
3155 echo "$ac_t""no" 1>&6
3159 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3160 echo "configure:3161: checking for --enable-stopwatch" >&5
3162 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3163 if test "${enable_stopwatch+set}" = set; then
3164 enableval
="$enable_stopwatch"
3166 if test "$enableval" = yes; then
3167 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3169 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3174 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x
; then
3176 eval "DEFAULT_$LINE"
3181 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3186 eval "$ac_cv_use_stopwatch"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3191 if test "$wxUSE_STOPWATCH" = yes; then
3192 echo "$ac_t""yes" 1>&6
3194 echo "$ac_t""no" 1>&6
3198 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3199 echo "configure:3200: checking for --enable-dialupman" >&5
3201 # Check whether --enable-dialupman or --disable-dialupman was given.
3202 if test "${enable_dialupman+set}" = set; then
3203 enableval
="$enable_dialupman"
3205 if test "$enableval" = yes; then
3206 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3208 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3213 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x
; then
3215 eval "DEFAULT_$LINE"
3220 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3225 eval "$ac_cv_use_dialupman"
3226 if test "$no_cache" != 1; then
3227 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3230 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3231 echo "$ac_t""yes" 1>&6
3233 echo "$ac_t""no" 1>&6
3237 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3238 echo "configure:3239: checking for --enable-apple_ieee" >&5
3240 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3241 if test "${enable_apple_ieee+set}" = set; then
3242 enableval
="$enable_apple_ieee"
3244 if test "$enableval" = yes; then
3245 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3247 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3252 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3253 if test "x$LINE" != x
; then
3254 eval "DEFAULT_$LINE"
3259 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3264 eval "$ac_cv_use_apple_ieee"
3265 if test "$no_cache" != 1; then
3266 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3269 if test "$wxUSE_APPLE_IEEE" = yes; then
3270 echo "$ac_t""yes" 1>&6
3272 echo "$ac_t""no" 1>&6
3276 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3277 echo "configure:3278: checking for --enable-timer" >&5
3279 # Check whether --enable-timer or --disable-timer was given.
3280 if test "${enable_timer+set}" = set; then
3281 enableval
="$enable_timer"
3283 if test "$enableval" = yes; then
3284 ac_cv_use_timer
='wxUSE_TIMER=yes'
3286 ac_cv_use_timer
='wxUSE_TIMER=no'
3291 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3292 if test "x$LINE" != x
; then
3293 eval "DEFAULT_$LINE"
3298 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3303 eval "$ac_cv_use_timer"
3304 if test "$no_cache" != 1; then
3305 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3308 if test "$wxUSE_TIMER" = yes; then
3309 echo "$ac_t""yes" 1>&6
3311 echo "$ac_t""no" 1>&6
3315 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3316 echo "configure:3317: checking for --enable-wave" >&5
3318 # Check whether --enable-wave or --disable-wave was given.
3319 if test "${enable_wave+set}" = set; then
3320 enableval
="$enable_wave"
3322 if test "$enableval" = yes; then
3323 ac_cv_use_wave
='wxUSE_WAVE=yes'
3325 ac_cv_use_wave
='wxUSE_WAVE=no'
3330 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3331 if test "x$LINE" != x
; then
3332 eval "DEFAULT_$LINE"
3337 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3342 eval "$ac_cv_use_wave"
3343 if test "$no_cache" != 1; then
3344 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3347 if test "$wxUSE_WAVE" = yes; then
3348 echo "$ac_t""yes" 1>&6
3350 echo "$ac_t""no" 1>&6
3354 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3355 echo "configure:3356: checking for --enable-fraction" >&5
3357 # Check whether --enable-fraction or --disable-fraction was given.
3358 if test "${enable_fraction+set}" = set; then
3359 enableval
="$enable_fraction"
3361 if test "$enableval" = yes; then
3362 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3364 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3369 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3370 if test "x$LINE" != x
; then
3371 eval "DEFAULT_$LINE"
3376 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3381 eval "$ac_cv_use_fraction"
3382 if test "$no_cache" != 1; then
3383 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3386 if test "$wxUSE_FRACTION" = yes; then
3387 echo "$ac_t""yes" 1>&6
3389 echo "$ac_t""no" 1>&6
3393 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3394 echo "configure:3395: checking for --enable-dynlib" >&5
3396 # Check whether --enable-dynlib or --disable-dynlib was given.
3397 if test "${enable_dynlib+set}" = set; then
3398 enableval
="$enable_dynlib"
3400 if test "$enableval" = yes; then
3401 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3403 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3408 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3409 if test "x$LINE" != x
; then
3410 eval "DEFAULT_$LINE"
3415 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3420 eval "$ac_cv_use_dynlib"
3421 if test "$no_cache" != 1; then
3422 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3425 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3426 echo "$ac_t""yes" 1>&6
3428 echo "$ac_t""no" 1>&6
3432 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3433 echo "configure:3434: checking for --enable-longlong" >&5
3435 # Check whether --enable-longlong or --disable-longlong was given.
3436 if test "${enable_longlong+set}" = set; then
3437 enableval
="$enable_longlong"
3439 if test "$enableval" = yes; then
3440 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3442 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3447 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3448 if test "x$LINE" != x
; then
3449 eval "DEFAULT_$LINE"
3454 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3459 eval "$ac_cv_use_longlong"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3464 if test "$wxUSE_LONGLONG" = yes; then
3465 echo "$ac_t""yes" 1>&6
3467 echo "$ac_t""no" 1>&6
3471 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3472 echo "configure:3473: checking for --enable-geometry" >&5
3474 # Check whether --enable-geometry or --disable-geometry was given.
3475 if test "${enable_geometry+set}" = set; then
3476 enableval
="$enable_geometry"
3478 if test "$enableval" = yes; then
3479 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3481 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3486 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3487 if test "x$LINE" != x
; then
3488 eval "DEFAULT_$LINE"
3493 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3498 eval "$ac_cv_use_geometry"
3499 if test "$no_cache" != 1; then
3500 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3503 if test "$wxUSE_GEOMETRY" = yes; then
3504 echo "$ac_t""yes" 1>&6
3506 echo "$ac_t""no" 1>&6
3510 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3511 echo "configure:3512: checking for --enable-log" >&5
3513 # Check whether --enable-log or --disable-log was given.
3514 if test "${enable_log+set}" = set; then
3515 enableval
="$enable_log"
3517 if test "$enableval" = yes; then
3518 ac_cv_use_log
='wxUSE_LOG=yes'
3520 ac_cv_use_log
='wxUSE_LOG=no'
3525 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3526 if test "x$LINE" != x
; then
3527 eval "DEFAULT_$LINE"
3532 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3537 eval "$ac_cv_use_log"
3538 if test "$no_cache" != 1; then
3539 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3542 if test "$wxUSE_LOG" = yes; then
3543 echo "$ac_t""yes" 1>&6
3545 echo "$ac_t""no" 1>&6
3549 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3550 echo "configure:3551: checking for --enable-streams" >&5
3552 # Check whether --enable-streams or --disable-streams was given.
3553 if test "${enable_streams+set}" = set; then
3554 enableval
="$enable_streams"
3556 if test "$enableval" = yes; then
3557 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3559 ac_cv_use_streams
='wxUSE_STREAMS=no'
3564 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3565 if test "x$LINE" != x
; then
3566 eval "DEFAULT_$LINE"
3571 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3576 eval "$ac_cv_use_streams"
3577 if test "$no_cache" != 1; then
3578 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3581 if test "$wxUSE_STREAMS" = yes; then
3582 echo "$ac_t""yes" 1>&6
3584 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3589 echo "configure:3590: checking for --enable-file" >&5
3591 # Check whether --enable-file or --disable-file was given.
3592 if test "${enable_file+set}" = set; then
3593 enableval
="$enable_file"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_file
='wxUSE_FILE=yes'
3598 ac_cv_use_file
='wxUSE_FILE=no'
3603 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3615 eval "$ac_cv_use_file"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_FILE" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3627 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3628 echo "configure:3629: checking for --enable-ffile" >&5
3630 # Check whether --enable-ffile or --disable-ffile was given.
3631 if test "${enable_ffile+set}" = set; then
3632 enableval
="$enable_ffile"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3637 ac_cv_use_ffile
='wxUSE_FFILE=no'
3642 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x
; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3654 eval "$ac_cv_use_ffile"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_FFILE" = yes; then
3660 echo "$ac_t""yes" 1>&6
3662 echo "$ac_t""no" 1>&6
3666 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3667 echo "configure:3668: checking for --enable-textfile" >&5
3669 # Check whether --enable-textfile or --disable-textfile was given.
3670 if test "${enable_textfile+set}" = set; then
3671 enableval
="$enable_textfile"
3673 if test "$enableval" = yes; then
3674 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3676 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3681 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3682 if test "x$LINE" != x
; then
3683 eval "DEFAULT_$LINE"
3688 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3693 eval "$ac_cv_use_textfile"
3694 if test "$no_cache" != 1; then
3695 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3698 if test "$wxUSE_TEXTFILE" = yes; then
3699 echo "$ac_t""yes" 1>&6
3701 echo "$ac_t""no" 1>&6
3705 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3706 echo "configure:3707: checking for --enable-fontmap" >&5
3708 # Check whether --enable-fontmap or --disable-fontmap was given.
3709 if test "${enable_fontmap+set}" = set; then
3710 enableval
="$enable_fontmap"
3712 if test "$enableval" = yes; then
3713 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3715 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3720 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3721 if test "x$LINE" != x
; then
3722 eval "DEFAULT_$LINE"
3727 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3732 eval "$ac_cv_use_fontmap"
3733 if test "$no_cache" != 1; then
3734 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3737 if test "$wxUSE_FONTMAP" = yes; then
3738 echo "$ac_t""yes" 1>&6
3740 echo "$ac_t""no" 1>&6
3744 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3745 echo "configure:3746: checking for --enable-unicode" >&5
3747 # Check whether --enable-unicode or --disable-unicode was given.
3748 if test "${enable_unicode+set}" = set; then
3749 enableval
="$enable_unicode"
3751 if test "$enableval" = yes; then
3752 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3754 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3759 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3760 if test "x$LINE" != x
; then
3761 eval "DEFAULT_$LINE"
3766 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3771 eval "$ac_cv_use_unicode"
3772 if test "$no_cache" != 1; then
3773 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3776 if test "$wxUSE_UNICODE" = yes; then
3777 echo "$ac_t""yes" 1>&6
3779 echo "$ac_t""no" 1>&6
3783 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3784 echo "configure:3785: checking for --enable-wcsrtombs" >&5
3786 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3787 if test "${enable_wcsrtombs+set}" = set; then
3788 enableval
="$enable_wcsrtombs"
3790 if test "$enableval" = yes; then
3791 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3793 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3798 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3799 if test "x$LINE" != x
; then
3800 eval "DEFAULT_$LINE"
3805 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3810 eval "$ac_cv_use_wcsrtombs"
3811 if test "$no_cache" != 1; then
3812 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3815 if test "$wxUSE_WCSRTOMBS" = yes; then
3816 echo "$ac_t""yes" 1>&6
3818 echo "$ac_t""no" 1>&6
3822 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3823 echo "configure:3824: checking for --enable-wxprintfv" >&5
3825 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3826 if test "${enable_wxprintfv+set}" = set; then
3827 enableval
="$enable_wxprintfv"
3829 if test "$enableval" = yes; then
3830 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3832 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3837 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3838 if test "x$LINE" != x
; then
3839 eval "DEFAULT_$LINE"
3844 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3849 eval "$ac_cv_use_wxprintfv"
3850 if test "$no_cache" != 1; then
3851 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3854 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3855 echo "$ac_t""yes" 1>&6
3857 echo "$ac_t""no" 1>&6
3861 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3862 echo "configure:3863: checking for --enable-std_iostreams" >&5
3864 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3865 if test "${enable_std_iostreams+set}" = set; then
3866 enableval
="$enable_std_iostreams"
3868 if test "$enableval" = yes; then
3869 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3871 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3876 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x
; then
3878 eval "DEFAULT_$LINE"
3883 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3888 eval "$ac_cv_use_std_iostreams"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_STD_IOSTREAM" = yes; then
3894 echo "$ac_t""yes" 1>&6
3896 echo "$ac_t""no" 1>&6
3900 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3901 echo "configure:3902: checking for --enable-filesystem" >&5
3903 # Check whether --enable-filesystem or --disable-filesystem was given.
3904 if test "${enable_filesystem+set}" = set; then
3905 enableval
="$enable_filesystem"
3907 if test "$enableval" = yes; then
3908 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3910 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3915 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x
; then
3917 eval "DEFAULT_$LINE"
3922 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3927 eval "$ac_cv_use_filesystem"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3932 if test "$wxUSE_FILESYSTEM" = yes; then
3933 echo "$ac_t""yes" 1>&6
3935 echo "$ac_t""no" 1>&6
3939 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3940 echo "configure:3941: checking for --enable-fs_inet" >&5
3942 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3943 if test "${enable_fs_inet+set}" = set; then
3944 enableval
="$enable_fs_inet"
3946 if test "$enableval" = yes; then
3947 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3949 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3954 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3955 if test "x$LINE" != x
; then
3956 eval "DEFAULT_$LINE"
3961 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3966 eval "$ac_cv_use_fs_inet"
3967 if test "$no_cache" != 1; then
3968 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3971 if test "$wxUSE_FS_INET" = yes; then
3972 echo "$ac_t""yes" 1>&6
3974 echo "$ac_t""no" 1>&6
3978 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3979 echo "configure:3980: checking for --enable-fs_zip" >&5
3981 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3982 if test "${enable_fs_zip+set}" = set; then
3983 enableval
="$enable_fs_zip"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3988 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3993 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x
; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4005 eval "$ac_cv_use_fs_zip"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_FS_ZIP" = yes; then
4011 echo "$ac_t""yes" 1>&6
4013 echo "$ac_t""no" 1>&6
4017 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4018 echo "configure:4019: checking for --enable-zipstream" >&5
4020 # Check whether --enable-zipstream or --disable-zipstream was given.
4021 if test "${enable_zipstream+set}" = set; then
4022 enableval
="$enable_zipstream"
4024 if test "$enableval" = yes; then
4025 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4027 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4032 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x
; then
4034 eval "DEFAULT_$LINE"
4039 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4044 eval "$ac_cv_use_zipstream"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4049 if test "$wxUSE_ZIPSTREAM" = yes; then
4050 echo "$ac_t""yes" 1>&6
4052 echo "$ac_t""no" 1>&6
4057 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4058 echo "configure:4059: checking for --enable-catch_segvs" >&5
4060 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4061 if test "${enable_catch_segvs+set}" = set; then
4062 enableval
="$enable_catch_segvs"
4064 if test "$enableval" = yes; then
4065 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4067 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4072 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x
; then
4074 eval "DEFAULT_$LINE"
4079 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4084 eval "$ac_cv_use_catch_segvs"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4090 echo "$ac_t""yes" 1>&6
4092 echo "$ac_t""no" 1>&6
4096 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4097 echo "configure:4098: checking for --enable-snglinst" >&5
4099 # Check whether --enable-snglinst or --disable-snglinst was given.
4100 if test "${enable_snglinst+set}" = set; then
4101 enableval
="$enable_snglinst"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4106 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4111 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x
; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4123 eval "$ac_cv_use_snglinst"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4129 echo "$ac_t""yes" 1>&6
4131 echo "$ac_t""no" 1>&6
4136 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4137 echo "configure:4138: checking for --enable-mimetype" >&5
4139 # Check whether --enable-mimetype or --disable-mimetype was given.
4140 if test "${enable_mimetype+set}" = set; then
4141 enableval
="$enable_mimetype"
4143 if test "$enableval" = yes; then
4144 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4146 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4151 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x
; then
4153 eval "DEFAULT_$LINE"
4158 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4163 eval "$ac_cv_use_mimetype"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4168 if test "$wxUSE_MIMETYPE" = yes; then
4169 echo "$ac_t""yes" 1>&6
4171 echo "$ac_t""no" 1>&6
4175 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4176 echo "configure:4177: checking for --enable-system_options" >&5
4178 # Check whether --enable-system_options or --disable-system_options was given.
4179 if test "${enable_system_options+set}" = set; then
4180 enableval
="$enable_system_options"
4182 if test "$enableval" = yes; then
4183 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4185 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4190 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4191 if test "x$LINE" != x
; then
4192 eval "DEFAULT_$LINE"
4197 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4202 eval "$ac_cv_use_system_options"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4207 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4208 echo "$ac_t""yes" 1>&6
4210 echo "$ac_t""no" 1>&6
4216 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4217 echo "configure:4218: checking for --enable-threads" >&5
4219 # Check whether --enable-threads or --disable-threads was given.
4220 if test "${enable_threads+set}" = set; then
4221 enableval
="$enable_threads"
4223 if test "$enableval" = yes; then
4224 ac_cv_use_threads
='wxUSE_THREADS=yes'
4226 ac_cv_use_threads
='wxUSE_THREADS=no'
4231 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4232 if test "x$LINE" != x
; then
4233 eval "DEFAULT_$LINE"
4238 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4243 eval "$ac_cv_use_threads"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4248 if test "$wxUSE_THREADS" = yes; then
4249 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4255 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4256 echo "configure:4257: checking for --enable-serial" >&5
4258 # Check whether --enable-serial or --disable-serial was given.
4259 if test "${enable_serial+set}" = set; then
4260 enableval
="$enable_serial"
4262 if test "$enableval" = yes; then
4263 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4265 ac_cv_use_serial
='wxUSE_SERIAL=no'
4270 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4271 if test "x$LINE" != x
; then
4272 eval "DEFAULT_$LINE"
4277 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4282 eval "$ac_cv_use_serial"
4283 if test "$no_cache" != 1; then
4284 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4287 if test "$wxUSE_SERIAL" = yes; then
4288 echo "$ac_t""yes" 1>&6
4290 echo "$ac_t""no" 1>&6
4294 if test "$wxUSE_GUI" = "yes"; then
4298 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4299 echo "configure:4300: checking for --enable-docview" >&5
4301 # Check whether --enable-docview or --disable-docview was given.
4302 if test "${enable_docview+set}" = set; then
4303 enableval
="$enable_docview"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4308 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4313 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x
; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4325 eval "$ac_cv_use_docview"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4331 echo "$ac_t""yes" 1>&6
4333 echo "$ac_t""no" 1>&6
4337 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4338 echo "configure:4339: checking for --enable-help" >&5
4340 # Check whether --enable-help or --disable-help was given.
4341 if test "${enable_help+set}" = set; then
4342 enableval
="$enable_help"
4344 if test "$enableval" = yes; then
4345 ac_cv_use_help
='wxUSE_HELP=yes'
4347 ac_cv_use_help
='wxUSE_HELP=no'
4352 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4353 if test "x$LINE" != x
; then
4354 eval "DEFAULT_$LINE"
4359 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4364 eval "$ac_cv_use_help"
4365 if test "$no_cache" != 1; then
4366 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4369 if test "$wxUSE_HELP" = yes; then
4370 echo "$ac_t""yes" 1>&6
4372 echo "$ac_t""no" 1>&6
4376 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4377 echo "configure:4378: checking for --enable-mshtmlhelp" >&5
4379 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4380 if test "${enable_mshtmlhelp+set}" = set; then
4381 enableval
="$enable_mshtmlhelp"
4383 if test "$enableval" = yes; then
4384 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4386 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4391 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x
; then
4393 eval "DEFAULT_$LINE"
4398 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4403 eval "$ac_cv_use_mshtmlhelp"
4404 if test "$no_cache" != 1; then
4405 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4408 if test "$wxUSE_MS_HTML_HELP" = yes; then
4409 echo "$ac_t""yes" 1>&6
4411 echo "$ac_t""no" 1>&6
4415 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4416 echo "configure:4417: checking for --enable-html" >&5
4418 # Check whether --enable-html or --disable-html was given.
4419 if test "${enable_html+set}" = set; then
4420 enableval
="$enable_html"
4422 if test "$enableval" = yes; then
4423 ac_cv_use_html
='wxUSE_HTML=yes'
4425 ac_cv_use_html
='wxUSE_HTML=no'
4430 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4431 if test "x$LINE" != x
; then
4432 eval "DEFAULT_$LINE"
4437 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4442 eval "$ac_cv_use_html"
4443 if test "$no_cache" != 1; then
4444 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4447 if test "$wxUSE_HTML" = yes; then
4448 echo "$ac_t""yes" 1>&6
4450 echo "$ac_t""no" 1>&6
4454 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4455 echo "configure:4456: checking for --enable-htmlhelp" >&5
4457 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4458 if test "${enable_htmlhelp+set}" = set; then
4459 enableval
="$enable_htmlhelp"
4461 if test "$enableval" = yes; then
4462 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4464 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4469 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x
; then
4471 eval "DEFAULT_$LINE"
4476 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4481 eval "$ac_cv_use_htmlhelp"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_WXHTML_HELP" = yes; then
4487 echo "$ac_t""yes" 1>&6
4489 echo "$ac_t""no" 1>&6
4493 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4494 echo "configure:4495: checking for --enable-constraints" >&5
4496 # Check whether --enable-constraints or --disable-constraints was given.
4497 if test "${enable_constraints+set}" = set; then
4498 enableval
="$enable_constraints"
4500 if test "$enableval" = yes; then
4501 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4503 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4508 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4515 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4520 eval "$ac_cv_use_constraints"
4521 if test "$no_cache" != 1; then
4522 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4525 if test "$wxUSE_CONSTRAINTS" = yes; then
4526 echo "$ac_t""yes" 1>&6
4528 echo "$ac_t""no" 1>&6
4532 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4533 echo "configure:4534: checking for --enable-printarch" >&5
4535 # Check whether --enable-printarch or --disable-printarch was given.
4536 if test "${enable_printarch+set}" = set; then
4537 enableval
="$enable_printarch"
4539 if test "$enableval" = yes; then
4540 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4542 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4547 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4548 if test "x$LINE" != x
; then
4549 eval "DEFAULT_$LINE"
4554 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4559 eval "$ac_cv_use_printarch"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4564 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4565 echo "$ac_t""yes" 1>&6
4567 echo "$ac_t""no" 1>&6
4571 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4572 echo "configure:4573: checking for --enable-mdi" >&5
4574 # Check whether --enable-mdi or --disable-mdi was given.
4575 if test "${enable_mdi+set}" = set; then
4576 enableval
="$enable_mdi"
4578 if test "$enableval" = yes; then
4579 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4581 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4586 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4587 if test "x$LINE" != x
; then
4588 eval "DEFAULT_$LINE"
4593 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4598 eval "$ac_cv_use_mdi"
4599 if test "$no_cache" != 1; then
4600 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4603 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4604 echo "$ac_t""yes" 1>&6
4606 echo "$ac_t""no" 1>&6
4610 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4611 echo "configure:4612: checking for --enable-loggui" >&5
4613 # Check whether --enable-loggui or --disable-loggui was given.
4614 if test "${enable_loggui+set}" = set; then
4615 enableval
="$enable_loggui"
4617 if test "$enableval" = yes; then
4618 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4620 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4625 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x
; then
4627 eval "DEFAULT_$LINE"
4632 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4637 eval "$ac_cv_use_loggui"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4642 if test "$wxUSE_LOGGUI" = yes; then
4643 echo "$ac_t""yes" 1>&6
4645 echo "$ac_t""no" 1>&6
4649 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4650 echo "configure:4651: checking for --enable-logwin" >&5
4652 # Check whether --enable-logwin or --disable-logwin was given.
4653 if test "${enable_logwin+set}" = set; then
4654 enableval
="$enable_logwin"
4656 if test "$enableval" = yes; then
4657 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4659 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4664 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4665 if test "x$LINE" != x
; then
4666 eval "DEFAULT_$LINE"
4671 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4676 eval "$ac_cv_use_logwin"
4677 if test "$no_cache" != 1; then
4678 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4681 if test "$wxUSE_LOGWINDOW" = yes; then
4682 echo "$ac_t""yes" 1>&6
4684 echo "$ac_t""no" 1>&6
4689 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4690 echo "configure:4691: checking for --enable-postscript" >&5
4692 # Check whether --enable-postscript or --disable-postscript was given.
4693 if test "${enable_postscript+set}" = set; then
4694 enableval
="$enable_postscript"
4696 if test "$enableval" = yes; then
4697 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4699 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4704 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4705 if test "x$LINE" != x
; then
4706 eval "DEFAULT_$LINE"
4711 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4716 eval "$ac_cv_use_postscript"
4717 if test "$no_cache" != 1; then
4718 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4721 if test "$wxUSE_POSTSCRIPT" = yes; then
4722 echo "$ac_t""yes" 1>&6
4724 echo "$ac_t""no" 1>&6
4731 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4732 echo "configure:4733: checking for --enable-prologio" >&5
4734 # Check whether --enable-prologio or --disable-prologio was given.
4735 if test "${enable_prologio+set}" = set; then
4736 enableval
="$enable_prologio"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4741 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4746 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4758 eval "$ac_cv_use_prologio"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_PROLOGIO" = yes; then
4764 echo "$ac_t""yes" 1>&6
4766 echo "$ac_t""no" 1>&6
4770 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4771 echo "configure:4772: checking for --enable-resources" >&5
4773 # Check whether --enable-resources or --disable-resources was given.
4774 if test "${enable_resources+set}" = set; then
4775 enableval
="$enable_resources"
4777 if test "$enableval" = yes; then
4778 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4780 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4785 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4786 if test "x$LINE" != x
; then
4787 eval "DEFAULT_$LINE"
4792 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4797 eval "$ac_cv_use_resources"
4798 if test "$no_cache" != 1; then
4799 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4802 if test "$wxUSE_RESOURCES" = yes; then
4803 echo "$ac_t""yes" 1>&6
4805 echo "$ac_t""no" 1>&6
4810 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4811 echo "configure:4812: checking for --enable-xresources" >&5
4813 # Check whether --enable-xresources or --disable-xresources was given.
4814 if test "${enable_xresources+set}" = set; then
4815 enableval
="$enable_xresources"
4817 if test "$enableval" = yes; then
4818 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4820 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4825 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4826 if test "x$LINE" != x
; then
4827 eval "DEFAULT_$LINE"
4832 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4837 eval "$ac_cv_use_xresources"
4838 if test "$no_cache" != 1; then
4839 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4842 if test "$wxUSE_X_RESOURCES" = yes; then
4843 echo "$ac_t""yes" 1>&6
4845 echo "$ac_t""no" 1>&6
4851 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4852 echo "configure:4853: checking for --enable-clipboard" >&5
4854 # Check whether --enable-clipboard or --disable-clipboard was given.
4855 if test "${enable_clipboard+set}" = set; then
4856 enableval
="$enable_clipboard"
4858 if test "$enableval" = yes; then
4859 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4861 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4866 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4867 if test "x$LINE" != x
; then
4868 eval "DEFAULT_$LINE"
4873 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4878 eval "$ac_cv_use_clipboard"
4879 if test "$no_cache" != 1; then
4880 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4883 if test "$wxUSE_CLIPBOARD" = yes; then
4884 echo "$ac_t""yes" 1>&6
4886 echo "$ac_t""no" 1>&6
4890 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4891 echo "configure:4892: checking for --enable-dnd" >&5
4893 # Check whether --enable-dnd or --disable-dnd was given.
4894 if test "${enable_dnd+set}" = set; then
4895 enableval
="$enable_dnd"
4897 if test "$enableval" = yes; then
4898 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4900 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4905 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4906 if test "x$LINE" != x
; then
4907 eval "DEFAULT_$LINE"
4912 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4917 eval "$ac_cv_use_dnd"
4918 if test "$no_cache" != 1; then
4919 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4922 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4923 echo "$ac_t""yes" 1>&6
4925 echo "$ac_t""no" 1>&6
4929 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4930 echo "configure:4931: checking for --enable-metafile" >&5
4932 # Check whether --enable-metafile or --disable-metafile was given.
4933 if test "${enable_metafile+set}" = set; then
4934 enableval
="$enable_metafile"
4936 if test "$enableval" = yes; then
4937 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4939 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4944 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x
; then
4946 eval "DEFAULT_$LINE"
4951 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4956 eval "$ac_cv_use_metafile"
4957 if test "$no_cache" != 1; then
4958 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4961 if test "$wxUSE_METAFILE" = yes; then
4962 echo "$ac_t""yes" 1>&6
4964 echo "$ac_t""no" 1>&6
4969 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4970 echo "configure:4971: checking for --enable-wxtree" >&5
4972 # Check whether --enable-wxtree or --disable-wxtree was given.
4973 if test "${enable_wxtree+set}" = set; then
4974 enableval
="$enable_wxtree"
4976 if test "$enableval" = yes; then
4977 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4979 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4984 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x
; then
4986 eval "DEFAULT_$LINE"
4991 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4996 eval "$ac_cv_use_wxtree"
4997 if test "$no_cache" != 1; then
4998 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
5001 if test "$wxUSE_WXTREE" = yes; then
5002 echo "$ac_t""yes" 1>&6
5004 echo "$ac_t""no" 1>&6
5010 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5011 echo "configure:5012: checking for --enable-controls" >&5
5013 # Check whether --enable-controls or --disable-controls was given.
5014 if test "${enable_controls+set}" = set; then
5015 enableval
="$enable_controls"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5020 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5025 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x
; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5037 eval "$ac_cv_use_controls"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5042 if test "$wxUSE_CONTROLS" = yes; then
5043 echo "$ac_t""yes" 1>&6
5045 echo "$ac_t""no" 1>&6
5049 if test "$wxUSE_CONTROLS" = "yes"; then
5050 DEFAULT_wxUSE_ACCEL
=yes
5051 DEFAULT_wxUSE_BMPBUTTON
=yes
5052 DEFAULT_wxUSE_BUTTON
=yes
5053 DEFAULT_wxUSE_CALCTRL
=no
5054 DEFAULT_wxUSE_CARET
=yes
5055 DEFAULT_wxUSE_COMBOBOX
=yes
5056 DEFAULT_wxUSE_CHECKBOX
=yes
5057 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5058 DEFAULT_wxUSE_CHOICE
=yes
5059 DEFAULT_wxUSE_GAUGE
=yes
5060 DEFAULT_wxUSE_GRID
=yes
5061 DEFAULT_wxUSE_NEW_GRID
=yes
5062 DEFAULT_wxUSE_IMAGLIST
=yes
5063 DEFAULT_wxUSE_LISTBOX
=yes
5064 DEFAULT_wxUSE_LISTCTRL
=yes
5065 DEFAULT_wxUSE_NOTEBOOK
=yes
5066 DEFAULT_wxUSE_RADIOBOX
=yes
5067 DEFAULT_wxUSE_RADIOBTN
=yes
5068 DEFAULT_wxUSE_SASH
=yes
5069 DEFAULT_wxUSE_SCROLLBAR
=yes
5070 DEFAULT_wxUSE_SLIDER
=yes
5071 DEFAULT_wxUSE_SPINBTN
=yes
5072 DEFAULT_wxUSE_SPINCTRL
=yes
5073 DEFAULT_wxUSE_SPLITTER
=yes
5074 DEFAULT_wxUSE_STATBMP
=yes
5075 DEFAULT_wxUSE_STATBOX
=yes
5076 DEFAULT_wxUSE_STATLINE
=yes
5077 DEFAULT_wxUSE_STATUSBAR
=yes
5078 DEFAULT_wxUSE_TAB_DIALOG
=yes
5079 DEFAULT_wxUSE_TOGGLEBTN
=yes
5080 DEFAULT_wxUSE_TOOLBAR
=yes
5081 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5082 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5083 DEFAULT_wxUSE_TOOLTIPS
=yes
5084 DEFAULT_wxUSE_TREECTRL
=yes
5085 DEFAULT_wxUSE_POPUPWIN
=yes
5086 elif test "$wxUSE_CONTROLS" = "no"; then
5087 DEFAULT_wxUSE_ACCEL
=no
5088 DEFAULT_wxUSE_BMPBUTTON
=no
5089 DEFAULT_wxUSE_BUTTON
=no
5090 DEFAULT_wxUSE_CALCTRL
=no
5091 DEFAULT_wxUSE_CARET
=no
5092 DEFAULT_wxUSE_COMBOBOX
=no
5093 DEFAULT_wxUSE_CHECKBOX
=no
5094 DEFAULT_wxUSE_CHECKLISTBOX
=no
5095 DEFAULT_wxUSE_CHOICE
=no
5096 DEFAULT_wxUSE_GAUGE
=no
5097 DEFAULT_wxUSE_GRID
=no
5098 DEFAULT_wxUSE_NEW_GRID
=no
5099 DEFAULT_wxUSE_IMAGLIST
=no
5100 DEFAULT_wxUSE_LISTBOX
=no
5101 DEFAULT_wxUSE_LISTCTRL
=no
5102 DEFAULT_wxUSE_NOTEBOOK
=no
5103 DEFAULT_wxUSE_RADIOBOX
=no
5104 DEFAULT_wxUSE_RADIOBTN
=no
5105 DEFAULT_wxUSE_SASH
=no
5106 DEFAULT_wxUSE_SCROLLBAR
=no
5107 DEFAULT_wxUSE_SLIDER
=no
5108 DEFAULT_wxUSE_SPINBTN
=no
5109 DEFAULT_wxUSE_SPINCTRL
=no
5110 DEFAULT_wxUSE_SPLITTER
=no
5111 DEFAULT_wxUSE_STATBMP
=no
5112 DEFAULT_wxUSE_STATBOX
=no
5113 DEFAULT_wxUSE_STATLINE
=no
5114 DEFAULT_wxUSE_STATUSBAR
=no
5115 DEFAULT_wxUSE_TAB_DIALOG
=no
5116 DEFAULT_wxUSE_TOGGLEBTN
=no
5117 DEFAULT_wxUSE_TOOLBAR
=no
5118 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5119 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5120 DEFAULT_wxUSE_TOOLTIPS
=no
5121 DEFAULT_wxUSE_TREECTRL
=no
5122 DEFAULT_wxUSE_POPUPWIN
=no
5126 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5127 echo "configure:5128: checking for --enable-accel" >&5
5129 # Check whether --enable-accel or --disable-accel was given.
5130 if test "${enable_accel+set}" = set; then
5131 enableval
="$enable_accel"
5133 if test "$enableval" = yes; then
5134 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5136 ac_cv_use_accel
='wxUSE_ACCEL=no'
5141 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5142 if test "x$LINE" != x
; then
5143 eval "DEFAULT_$LINE"
5148 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5153 eval "$ac_cv_use_accel"
5154 if test "$no_cache" != 1; then
5155 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5158 if test "$wxUSE_ACCEL" = yes; then
5159 echo "$ac_t""yes" 1>&6
5161 echo "$ac_t""no" 1>&6
5165 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5166 echo "configure:5167: checking for --enable-button" >&5
5168 # Check whether --enable-button or --disable-button was given.
5169 if test "${enable_button+set}" = set; then
5170 enableval
="$enable_button"
5172 if test "$enableval" = yes; then
5173 ac_cv_use_button
='wxUSE_BUTTON=yes'
5175 ac_cv_use_button
='wxUSE_BUTTON=no'
5180 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5181 if test "x$LINE" != x
; then
5182 eval "DEFAULT_$LINE"
5187 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5192 eval "$ac_cv_use_button"
5193 if test "$no_cache" != 1; then
5194 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5197 if test "$wxUSE_BUTTON" = yes; then
5198 echo "$ac_t""yes" 1>&6
5200 echo "$ac_t""no" 1>&6
5204 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5205 echo "configure:5206: checking for --enable-bmpbutton" >&5
5207 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5208 if test "${enable_bmpbutton+set}" = set; then
5209 enableval
="$enable_bmpbutton"
5211 if test "$enableval" = yes; then
5212 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5214 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5219 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5220 if test "x$LINE" != x
; then
5221 eval "DEFAULT_$LINE"
5226 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5231 eval "$ac_cv_use_bmpbutton"
5232 if test "$no_cache" != 1; then
5233 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5236 if test "$wxUSE_BMPBUTTON" = yes; then
5237 echo "$ac_t""yes" 1>&6
5239 echo "$ac_t""no" 1>&6
5243 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5244 echo "configure:5245: checking for --enable-calendar" >&5
5246 # Check whether --enable-calendar or --disable-calendar was given.
5247 if test "${enable_calendar+set}" = set; then
5248 enableval
="$enable_calendar"
5250 if test "$enableval" = yes; then
5251 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5253 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5258 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5259 if test "x$LINE" != x
; then
5260 eval "DEFAULT_$LINE"
5265 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5270 eval "$ac_cv_use_calendar"
5271 if test "$no_cache" != 1; then
5272 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5275 if test "$wxUSE_CALCTRL" = yes; then
5276 echo "$ac_t""yes" 1>&6
5278 echo "$ac_t""no" 1>&6
5282 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5283 echo "configure:5284: checking for --enable-caret" >&5
5285 # Check whether --enable-caret or --disable-caret was given.
5286 if test "${enable_caret+set}" = set; then
5287 enableval
="$enable_caret"
5289 if test "$enableval" = yes; then
5290 ac_cv_use_caret
='wxUSE_CARET=yes'
5292 ac_cv_use_caret
='wxUSE_CARET=no'
5297 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5304 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5309 eval "$ac_cv_use_caret"
5310 if test "$no_cache" != 1; then
5311 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5314 if test "$wxUSE_CARET" = yes; then
5315 echo "$ac_t""yes" 1>&6
5317 echo "$ac_t""no" 1>&6
5321 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5322 echo "configure:5323: checking for --enable-checkbox" >&5
5324 # Check whether --enable-checkbox or --disable-checkbox was given.
5325 if test "${enable_checkbox+set}" = set; then
5326 enableval
="$enable_checkbox"
5328 if test "$enableval" = yes; then
5329 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5331 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5336 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5337 if test "x$LINE" != x
; then
5338 eval "DEFAULT_$LINE"
5343 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5348 eval "$ac_cv_use_checkbox"
5349 if test "$no_cache" != 1; then
5350 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5353 if test "$wxUSE_CHECKBOX" = yes; then
5354 echo "$ac_t""yes" 1>&6
5356 echo "$ac_t""no" 1>&6
5360 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5361 echo "configure:5362: checking for --enable-checklst" >&5
5363 # Check whether --enable-checklst or --disable-checklst was given.
5364 if test "${enable_checklst+set}" = set; then
5365 enableval
="$enable_checklst"
5367 if test "$enableval" = yes; then
5368 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5370 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5375 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5376 if test "x$LINE" != x
; then
5377 eval "DEFAULT_$LINE"
5382 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5387 eval "$ac_cv_use_checklst"
5388 if test "$no_cache" != 1; then
5389 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5392 if test "$wxUSE_CHECKLST" = yes; then
5393 echo "$ac_t""yes" 1>&6
5395 echo "$ac_t""no" 1>&6
5399 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5400 echo "configure:5401: checking for --enable-choice" >&5
5402 # Check whether --enable-choice or --disable-choice was given.
5403 if test "${enable_choice+set}" = set; then
5404 enableval
="$enable_choice"
5406 if test "$enableval" = yes; then
5407 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5409 ac_cv_use_choice
='wxUSE_CHOICE=no'
5414 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x
; then
5416 eval "DEFAULT_$LINE"
5421 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5426 eval "$ac_cv_use_choice"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5431 if test "$wxUSE_CHOICE" = yes; then
5432 echo "$ac_t""yes" 1>&6
5434 echo "$ac_t""no" 1>&6
5438 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5439 echo "configure:5440: checking for --enable-combobox" >&5
5441 # Check whether --enable-combobox or --disable-combobox was given.
5442 if test "${enable_combobox+set}" = set; then
5443 enableval
="$enable_combobox"
5445 if test "$enableval" = yes; then
5446 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5448 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5453 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x
; then
5455 eval "DEFAULT_$LINE"
5460 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5465 eval "$ac_cv_use_combobox"
5466 if test "$no_cache" != 1; then
5467 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5470 if test "$wxUSE_COMBOBOX" = yes; then
5471 echo "$ac_t""yes" 1>&6
5473 echo "$ac_t""no" 1>&6
5477 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5478 echo "configure:5479: checking for --enable-gauge" >&5
5480 # Check whether --enable-gauge or --disable-gauge was given.
5481 if test "${enable_gauge+set}" = set; then
5482 enableval
="$enable_gauge"
5484 if test "$enableval" = yes; then
5485 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5487 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5492 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5493 if test "x$LINE" != x
; then
5494 eval "DEFAULT_$LINE"
5499 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5504 eval "$ac_cv_use_gauge"
5505 if test "$no_cache" != 1; then
5506 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5509 if test "$wxUSE_GAUGE" = yes; then
5510 echo "$ac_t""yes" 1>&6
5512 echo "$ac_t""no" 1>&6
5516 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5517 echo "configure:5518: checking for --enable-grid" >&5
5519 # Check whether --enable-grid or --disable-grid was given.
5520 if test "${enable_grid+set}" = set; then
5521 enableval
="$enable_grid"
5523 if test "$enableval" = yes; then
5524 ac_cv_use_grid
='wxUSE_GRID=yes'
5526 ac_cv_use_grid
='wxUSE_GRID=no'
5531 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x
; then
5533 eval "DEFAULT_$LINE"
5538 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5543 eval "$ac_cv_use_grid"
5544 if test "$no_cache" != 1; then
5545 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5548 if test "$wxUSE_GRID" = yes; then
5549 echo "$ac_t""yes" 1>&6
5551 echo "$ac_t""no" 1>&6
5555 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5556 echo "configure:5557: checking for --enable-newgrid" >&5
5558 # Check whether --enable-newgrid or --disable-newgrid was given.
5559 if test "${enable_newgrid+set}" = set; then
5560 enableval
="$enable_newgrid"
5562 if test "$enableval" = yes; then
5563 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5565 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5570 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5577 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5582 eval "$ac_cv_use_newgrid"
5583 if test "$no_cache" != 1; then
5584 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5587 if test "$wxUSE_NEW_GRID" = yes; then
5588 echo "$ac_t""yes" 1>&6
5590 echo "$ac_t""no" 1>&6
5594 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5595 echo "configure:5596: checking for --enable-imaglist" >&5
5597 # Check whether --enable-imaglist or --disable-imaglist was given.
5598 if test "${enable_imaglist+set}" = set; then
5599 enableval
="$enable_imaglist"
5601 if test "$enableval" = yes; then
5602 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5604 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5609 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5610 if test "x$LINE" != x
; then
5611 eval "DEFAULT_$LINE"
5616 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5621 eval "$ac_cv_use_imaglist"
5622 if test "$no_cache" != 1; then
5623 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5626 if test "$wxUSE_IMAGLIST" = yes; then
5627 echo "$ac_t""yes" 1>&6
5629 echo "$ac_t""no" 1>&6
5633 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5634 echo "configure:5635: checking for --enable-listbox" >&5
5636 # Check whether --enable-listbox or --disable-listbox was given.
5637 if test "${enable_listbox+set}" = set; then
5638 enableval
="$enable_listbox"
5640 if test "$enableval" = yes; then
5641 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5643 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5648 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x
; then
5650 eval "DEFAULT_$LINE"
5655 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5660 eval "$ac_cv_use_listbox"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5665 if test "$wxUSE_LISTBOX" = yes; then
5666 echo "$ac_t""yes" 1>&6
5668 echo "$ac_t""no" 1>&6
5672 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5673 echo "configure:5674: checking for --enable-listctrl" >&5
5675 # Check whether --enable-listctrl or --disable-listctrl was given.
5676 if test "${enable_listctrl+set}" = set; then
5677 enableval
="$enable_listctrl"
5679 if test "$enableval" = yes; then
5680 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5682 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5687 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5688 if test "x$LINE" != x
; then
5689 eval "DEFAULT_$LINE"
5694 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5699 eval "$ac_cv_use_listctrl"
5700 if test "$no_cache" != 1; then
5701 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5704 if test "$wxUSE_LISTCTRL" = yes; then
5705 echo "$ac_t""yes" 1>&6
5707 echo "$ac_t""no" 1>&6
5711 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5712 echo "configure:5713: checking for --enable-notebook" >&5
5714 # Check whether --enable-notebook or --disable-notebook was given.
5715 if test "${enable_notebook+set}" = set; then
5716 enableval
="$enable_notebook"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5721 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5726 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5738 eval "$ac_cv_use_notebook"
5739 if test "$no_cache" != 1; then
5740 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5743 if test "$wxUSE_NOTEBOOK" = yes; then
5744 echo "$ac_t""yes" 1>&6
5746 echo "$ac_t""no" 1>&6
5750 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5751 echo "configure:5752: checking for --enable-radiobox" >&5
5753 # Check whether --enable-radiobox or --disable-radiobox was given.
5754 if test "${enable_radiobox+set}" = set; then
5755 enableval
="$enable_radiobox"
5757 if test "$enableval" = yes; then
5758 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5760 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5765 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5772 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5777 eval "$ac_cv_use_radiobox"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5782 if test "$wxUSE_RADIOBOX" = yes; then
5783 echo "$ac_t""yes" 1>&6
5785 echo "$ac_t""no" 1>&6
5789 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5790 echo "configure:5791: checking for --enable-radiobtn" >&5
5792 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5793 if test "${enable_radiobtn+set}" = set; then
5794 enableval
="$enable_radiobtn"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5799 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5804 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x
; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5816 eval "$ac_cv_use_radiobtn"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5821 if test "$wxUSE_RADIOBTN" = yes; then
5822 echo "$ac_t""yes" 1>&6
5824 echo "$ac_t""no" 1>&6
5828 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5829 echo "configure:5830: checking for --enable-sash" >&5
5831 # Check whether --enable-sash or --disable-sash was given.
5832 if test "${enable_sash+set}" = set; then
5833 enableval
="$enable_sash"
5835 if test "$enableval" = yes; then
5836 ac_cv_use_sash
='wxUSE_SASH=yes'
5838 ac_cv_use_sash
='wxUSE_SASH=no'
5843 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x
; then
5845 eval "DEFAULT_$LINE"
5850 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5855 eval "$ac_cv_use_sash"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_SASH" = yes; then
5861 echo "$ac_t""yes" 1>&6
5863 echo "$ac_t""no" 1>&6
5867 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5868 echo "configure:5869: checking for --enable-scrollbar" >&5
5870 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5871 if test "${enable_scrollbar+set}" = set; then
5872 enableval
="$enable_scrollbar"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5877 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5882 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5894 eval "$ac_cv_use_scrollbar"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_SCROLLBAR" = yes; then
5900 echo "$ac_t""yes" 1>&6
5902 echo "$ac_t""no" 1>&6
5906 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5907 echo "configure:5908: checking for --enable-slider" >&5
5909 # Check whether --enable-slider or --disable-slider was given.
5910 if test "${enable_slider+set}" = set; then
5911 enableval
="$enable_slider"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5916 ac_cv_use_slider
='wxUSE_SLIDER=no'
5921 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5933 eval "$ac_cv_use_slider"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5938 if test "$wxUSE_SLIDER" = yes; then
5939 echo "$ac_t""yes" 1>&6
5941 echo "$ac_t""no" 1>&6
5945 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5946 echo "configure:5947: checking for --enable-spinbtn" >&5
5948 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5949 if test "${enable_spinbtn+set}" = set; then
5950 enableval
="$enable_spinbtn"
5952 if test "$enableval" = yes; then
5953 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5955 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5960 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5961 if test "x$LINE" != x
; then
5962 eval "DEFAULT_$LINE"
5967 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5972 eval "$ac_cv_use_spinbtn"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5977 if test "$wxUSE_SPINBTN" = yes; then
5978 echo "$ac_t""yes" 1>&6
5980 echo "$ac_t""no" 1>&6
5984 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5985 echo "configure:5986: checking for --enable-spinctrl" >&5
5987 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5988 if test "${enable_spinctrl+set}" = set; then
5989 enableval
="$enable_spinctrl"
5991 if test "$enableval" = yes; then
5992 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5994 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5999 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x
; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6011 eval "$ac_cv_use_spinctrl"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_SPINCTRL" = yes; then
6017 echo "$ac_t""yes" 1>&6
6019 echo "$ac_t""no" 1>&6
6023 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6024 echo "configure:6025: checking for --enable-splitter" >&5
6026 # Check whether --enable-splitter or --disable-splitter was given.
6027 if test "${enable_splitter+set}" = set; then
6028 enableval
="$enable_splitter"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6033 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6038 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x
; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6050 eval "$ac_cv_use_splitter"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_SPLITTER" = yes; then
6056 echo "$ac_t""yes" 1>&6
6058 echo "$ac_t""no" 1>&6
6062 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6063 echo "configure:6064: checking for --enable-statbmp" >&5
6065 # Check whether --enable-statbmp or --disable-statbmp was given.
6066 if test "${enable_statbmp+set}" = set; then
6067 enableval
="$enable_statbmp"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6072 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6077 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6089 eval "$ac_cv_use_statbmp"
6090 if test "$no_cache" != 1; then
6091 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6094 if test "$wxUSE_STATBMP" = yes; then
6095 echo "$ac_t""yes" 1>&6
6097 echo "$ac_t""no" 1>&6
6101 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6102 echo "configure:6103: checking for --enable-statbox" >&5
6104 # Check whether --enable-statbox or --disable-statbox was given.
6105 if test "${enable_statbox+set}" = set; then
6106 enableval
="$enable_statbox"
6108 if test "$enableval" = yes; then
6109 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6111 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6116 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x
; then
6118 eval "DEFAULT_$LINE"
6123 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6128 eval "$ac_cv_use_statbox"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_STATBOX" = yes; then
6134 echo "$ac_t""yes" 1>&6
6136 echo "$ac_t""no" 1>&6
6140 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6141 echo "configure:6142: checking for --enable-statline" >&5
6143 # Check whether --enable-statline or --disable-statline was given.
6144 if test "${enable_statline+set}" = set; then
6145 enableval
="$enable_statline"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6150 ac_cv_use_statline
='wxUSE_STATLINE=no'
6155 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6167 eval "$ac_cv_use_statline"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_STATLINE" = yes; then
6173 echo "$ac_t""yes" 1>&6
6175 echo "$ac_t""no" 1>&6
6179 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6180 echo "configure:6181: checking for --enable-stattext" >&5
6182 # Check whether --enable-stattext or --disable-stattext was given.
6183 if test "${enable_stattext+set}" = set; then
6184 enableval
="$enable_stattext"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6189 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6194 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6206 eval "$ac_cv_use_stattext"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6211 if test "$wxUSE_STATTEXT" = yes; then
6212 echo "$ac_t""yes" 1>&6
6214 echo "$ac_t""no" 1>&6
6218 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6219 echo "configure:6220: checking for --enable-statusbar" >&5
6221 # Check whether --enable-statusbar or --disable-statusbar was given.
6222 if test "${enable_statusbar+set}" = set; then
6223 enableval
="$enable_statusbar"
6225 if test "$enableval" = yes; then
6226 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6228 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6233 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x
; then
6235 eval "DEFAULT_$LINE"
6240 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6245 eval "$ac_cv_use_statusbar"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_STATUSBAR" = yes; then
6251 echo "$ac_t""yes" 1>&6
6253 echo "$ac_t""no" 1>&6
6257 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6258 echo "configure:6259: checking for --enable-tabdialog" >&5
6260 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6261 if test "${enable_tabdialog+set}" = set; then
6262 enableval
="$enable_tabdialog"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6267 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6272 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6284 eval "$ac_cv_use_tabdialog"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_TABDIALOG" = yes; then
6290 echo "$ac_t""yes" 1>&6
6292 echo "$ac_t""no" 1>&6
6296 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6297 echo "configure:6298: checking for --enable-textctrl" >&5
6299 # Check whether --enable-textctrl or --disable-textctrl was given.
6300 if test "${enable_textctrl+set}" = set; then
6301 enableval
="$enable_textctrl"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6306 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6311 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6323 eval "$ac_cv_use_textctrl"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_TEXTCTRL" = yes; then
6329 echo "$ac_t""yes" 1>&6
6331 echo "$ac_t""no" 1>&6
6335 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6336 echo "configure:6337: checking for --enable-togglebtn" >&5
6338 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6339 if test "${enable_togglebtn+set}" = set; then
6340 enableval
="$enable_togglebtn"
6342 if test "$enableval" = yes; then
6343 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6345 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6350 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x
; then
6352 eval "DEFAULT_$LINE"
6357 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6362 eval "$ac_cv_use_togglebtn"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6367 if test "$wxUSE_TOGGLEBTN" = yes; then
6368 echo "$ac_t""yes" 1>&6
6370 echo "$ac_t""no" 1>&6
6374 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6375 echo "configure:6376: checking for --enable-toolbar" >&5
6377 # Check whether --enable-toolbar or --disable-toolbar was given.
6378 if test "${enable_toolbar+set}" = set; then
6379 enableval
="$enable_toolbar"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6384 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6389 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6401 eval "$ac_cv_use_toolbar"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_TOOLBAR" = yes; then
6407 echo "$ac_t""yes" 1>&6
6409 echo "$ac_t""no" 1>&6
6413 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6414 echo "configure:6415: checking for --enable-tbarnative" >&5
6416 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6417 if test "${enable_tbarnative+set}" = set; then
6418 enableval
="$enable_tbarnative"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6423 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6428 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6440 eval "$ac_cv_use_tbarnative"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6446 echo "$ac_t""yes" 1>&6
6448 echo "$ac_t""no" 1>&6
6452 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6453 echo "configure:6454: checking for --enable-tbarsmpl" >&5
6455 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6456 if test "${enable_tbarsmpl+set}" = set; then
6457 enableval
="$enable_tbarsmpl"
6459 if test "$enableval" = yes; then
6460 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6462 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6467 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6468 if test "x$LINE" != x
; then
6469 eval "DEFAULT_$LINE"
6474 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6479 eval "$ac_cv_use_tbarsmpl"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6485 echo "$ac_t""yes" 1>&6
6487 echo "$ac_t""no" 1>&6
6491 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6492 echo "configure:6493: checking for --enable-treectrl" >&5
6494 # Check whether --enable-treectrl or --disable-treectrl was given.
6495 if test "${enable_treectrl+set}" = set; then
6496 enableval
="$enable_treectrl"
6498 if test "$enableval" = yes; then
6499 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6501 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6506 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x
; then
6508 eval "DEFAULT_$LINE"
6513 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6518 eval "$ac_cv_use_treectrl"
6519 if test "$no_cache" != 1; then
6520 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6523 if test "$wxUSE_TREECTRL" = yes; then
6524 echo "$ac_t""yes" 1>&6
6526 echo "$ac_t""no" 1>&6
6530 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6531 echo "configure:6532: checking for --enable-popupwin" >&5
6533 # Check whether --enable-popupwin or --disable-popupwin was given.
6534 if test "${enable_popupwin+set}" = set; then
6535 enableval
="$enable_popupwin"
6537 if test "$enableval" = yes; then
6538 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6540 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6545 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6546 if test "x$LINE" != x
; then
6547 eval "DEFAULT_$LINE"
6552 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6557 eval "$ac_cv_use_popupwin"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_POPUPWIN" = yes; then
6563 echo "$ac_t""yes" 1>&6
6565 echo "$ac_t""no" 1>&6
6571 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6572 echo "configure:6573: checking for --enable-commondlg" >&5
6574 # Check whether --enable-commondlg or --disable-commondlg was given.
6575 if test "${enable_commondlg+set}" = set; then
6576 enableval
="$enable_commondlg"
6578 if test "$enableval" = yes; then
6579 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6581 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6586 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6587 if test "x$LINE" != x
; then
6588 eval "DEFAULT_$LINE"
6593 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6598 eval "$ac_cv_use_commondlg"
6599 if test "$no_cache" != 1; then
6600 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6603 if test "$wxUSE_COMMONDLGS" = yes; then
6604 echo "$ac_t""yes" 1>&6
6606 echo "$ac_t""no" 1>&6
6610 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6611 echo "configure:6612: checking for --enable-choicedlg" >&5
6613 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6614 if test "${enable_choicedlg+set}" = set; then
6615 enableval
="$enable_choicedlg"
6617 if test "$enableval" = yes; then
6618 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6620 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6625 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x
; then
6627 eval "DEFAULT_$LINE"
6632 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6637 eval "$ac_cv_use_choicedlg"
6638 if test "$no_cache" != 1; then
6639 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6642 if test "$wxUSE_CHOICEDLG" = yes; then
6643 echo "$ac_t""yes" 1>&6
6645 echo "$ac_t""no" 1>&6
6649 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6650 echo "configure:6651: checking for --enable-coldlg" >&5
6652 # Check whether --enable-coldlg or --disable-coldlg was given.
6653 if test "${enable_coldlg+set}" = set; then
6654 enableval
="$enable_coldlg"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6659 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6664 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6676 eval "$ac_cv_use_coldlg"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_COLOURDLG" = yes; then
6682 echo "$ac_t""yes" 1>&6
6684 echo "$ac_t""no" 1>&6
6688 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6689 echo "configure:6690: checking for --enable-filedlg" >&5
6691 # Check whether --enable-filedlg or --disable-filedlg was given.
6692 if test "${enable_filedlg+set}" = set; then
6693 enableval
="$enable_filedlg"
6695 if test "$enableval" = yes; then
6696 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6698 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6703 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x
; then
6705 eval "DEFAULT_$LINE"
6710 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6715 eval "$ac_cv_use_filedlg"
6716 if test "$no_cache" != 1; then
6717 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6720 if test "$wxUSE_FILEDLG" = yes; then
6721 echo "$ac_t""yes" 1>&6
6723 echo "$ac_t""no" 1>&6
6727 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6728 echo "configure:6729: checking for --enable-fontdlg" >&5
6730 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6731 if test "${enable_fontdlg+set}" = set; then
6732 enableval
="$enable_fontdlg"
6734 if test "$enableval" = yes; then
6735 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6737 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6742 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6743 if test "x$LINE" != x
; then
6744 eval "DEFAULT_$LINE"
6749 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6754 eval "$ac_cv_use_fontdlg"
6755 if test "$no_cache" != 1; then
6756 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6759 if test "$wxUSE_FONTDLG" = yes; then
6760 echo "$ac_t""yes" 1>&6
6762 echo "$ac_t""no" 1>&6
6766 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6767 echo "configure:6768: checking for --enable-dirdlg" >&5
6769 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6770 if test "${enable_dirdlg+set}" = set; then
6771 enableval
="$enable_dirdlg"
6773 if test "$enableval" = yes; then
6774 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6776 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6781 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6782 if test "x$LINE" != x
; then
6783 eval "DEFAULT_$LINE"
6788 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6793 eval "$ac_cv_use_dirdlg"
6794 if test "$no_cache" != 1; then
6795 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6798 if test "$wxUSE_DIRDLG" = yes; then
6799 echo "$ac_t""yes" 1>&6
6801 echo "$ac_t""no" 1>&6
6805 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6806 echo "configure:6807: checking for --enable-msgdlg" >&5
6808 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6809 if test "${enable_msgdlg+set}" = set; then
6810 enableval
="$enable_msgdlg"
6812 if test "$enableval" = yes; then
6813 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6815 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6820 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6821 if test "x$LINE" != x
; then
6822 eval "DEFAULT_$LINE"
6827 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6832 eval "$ac_cv_use_msgdlg"
6833 if test "$no_cache" != 1; then
6834 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6837 if test "$wxUSE_MSGDLG" = yes; then
6838 echo "$ac_t""yes" 1>&6
6840 echo "$ac_t""no" 1>&6
6844 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6845 echo "configure:6846: checking for --enable-numberdlg" >&5
6847 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6848 if test "${enable_numberdlg+set}" = set; then
6849 enableval
="$enable_numberdlg"
6851 if test "$enableval" = yes; then
6852 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6854 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6859 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6860 if test "x$LINE" != x
; then
6861 eval "DEFAULT_$LINE"
6866 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6871 eval "$ac_cv_use_numberdlg"
6872 if test "$no_cache" != 1; then
6873 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6876 if test "$wxUSE_NUMBERDLG" = yes; then
6877 echo "$ac_t""yes" 1>&6
6879 echo "$ac_t""no" 1>&6
6883 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6884 echo "configure:6885: checking for --enable-textdlg" >&5
6886 # Check whether --enable-textdlg or --disable-textdlg was given.
6887 if test "${enable_textdlg+set}" = set; then
6888 enableval
="$enable_textdlg"
6890 if test "$enableval" = yes; then
6891 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6893 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6898 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6899 if test "x$LINE" != x
; then
6900 eval "DEFAULT_$LINE"
6905 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6910 eval "$ac_cv_use_textdlg"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6915 if test "$wxUSE_TEXTDLG" = yes; then
6916 echo "$ac_t""yes" 1>&6
6918 echo "$ac_t""no" 1>&6
6922 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6923 echo "configure:6924: checking for --enable-tipdlg" >&5
6925 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6926 if test "${enable_tipdlg+set}" = set; then
6927 enableval
="$enable_tipdlg"
6929 if test "$enableval" = yes; then
6930 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6932 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6937 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x
; then
6939 eval "DEFAULT_$LINE"
6944 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6949 eval "$ac_cv_use_tipdlg"
6950 if test "$no_cache" != 1; then
6951 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6954 if test "$wxUSE_STARTUP_TIPS" = yes; then
6955 echo "$ac_t""yes" 1>&6
6957 echo "$ac_t""no" 1>&6
6961 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6962 echo "configure:6963: checking for --enable-progressdlg" >&5
6964 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6965 if test "${enable_progressdlg+set}" = set; then
6966 enableval
="$enable_progressdlg"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6971 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6976 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x
; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6988 eval "$ac_cv_use_progressdlg"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6993 if test "$wxUSE_PROGRESSDLG" = yes; then
6994 echo "$ac_t""yes" 1>&6
6996 echo "$ac_t""no" 1>&6
7000 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7001 echo "configure:7002: checking for --enable-wizarddlg" >&5
7003 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7004 if test "${enable_wizarddlg+set}" = set; then
7005 enableval
="$enable_wizarddlg"
7007 if test "$enableval" = yes; then
7008 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7010 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7015 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7016 if test "x$LINE" != x
; then
7017 eval "DEFAULT_$LINE"
7022 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7027 eval "$ac_cv_use_wizarddlg"
7028 if test "$no_cache" != 1; then
7029 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7032 if test "$wxUSE_WIZARDDLG" = yes; then
7033 echo "$ac_t""yes" 1>&6
7035 echo "$ac_t""no" 1>&6
7041 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7042 echo "configure:7043: checking for --enable-menus" >&5
7044 # Check whether --enable-menus or --disable-menus was given.
7045 if test "${enable_menus+set}" = set; then
7046 enableval
="$enable_menus"
7048 if test "$enableval" = yes; then
7049 ac_cv_use_menus
='wxUSE_MENUS=yes'
7051 ac_cv_use_menus
='wxUSE_MENUS=no'
7056 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x
; then
7058 eval "DEFAULT_$LINE"
7063 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7068 eval "$ac_cv_use_menus"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7073 if test "$wxUSE_MENUS" = yes; then
7074 echo "$ac_t""yes" 1>&6
7076 echo "$ac_t""no" 1>&6
7080 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7081 echo "configure:7082: checking for --enable-miniframe" >&5
7083 # Check whether --enable-miniframe or --disable-miniframe was given.
7084 if test "${enable_miniframe+set}" = set; then
7085 enableval
="$enable_miniframe"
7087 if test "$enableval" = yes; then
7088 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7090 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7095 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7096 if test "x$LINE" != x
; then
7097 eval "DEFAULT_$LINE"
7102 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7107 eval "$ac_cv_use_miniframe"
7108 if test "$no_cache" != 1; then
7109 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7112 if test "$wxUSE_MINIFRAME" = yes; then
7113 echo "$ac_t""yes" 1>&6
7115 echo "$ac_t""no" 1>&6
7119 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7120 echo "configure:7121: checking for --enable-tooltips" >&5
7122 # Check whether --enable-tooltips or --disable-tooltips was given.
7123 if test "${enable_tooltips+set}" = set; then
7124 enableval
="$enable_tooltips"
7126 if test "$enableval" = yes; then
7127 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7129 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7134 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7135 if test "x$LINE" != x
; then
7136 eval "DEFAULT_$LINE"
7141 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7146 eval "$ac_cv_use_tooltips"
7147 if test "$no_cache" != 1; then
7148 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7151 if test "$wxUSE_TOOLTIPS" = yes; then
7152 echo "$ac_t""yes" 1>&6
7154 echo "$ac_t""no" 1>&6
7158 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7159 echo "configure:7160: checking for --enable-splines" >&5
7161 # Check whether --enable-splines or --disable-splines was given.
7162 if test "${enable_splines+set}" = set; then
7163 enableval
="$enable_splines"
7165 if test "$enableval" = yes; then
7166 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7168 ac_cv_use_splines
='wxUSE_SPLINES=no'
7173 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7174 if test "x$LINE" != x
; then
7175 eval "DEFAULT_$LINE"
7180 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7185 eval "$ac_cv_use_splines"
7186 if test "$no_cache" != 1; then
7187 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7190 if test "$wxUSE_SPLINES" = yes; then
7191 echo "$ac_t""yes" 1>&6
7193 echo "$ac_t""no" 1>&6
7197 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7198 echo "configure:7199: checking for --enable-validators" >&5
7200 # Check whether --enable-validators or --disable-validators was given.
7201 if test "${enable_validators+set}" = set; then
7202 enableval
="$enable_validators"
7204 if test "$enableval" = yes; then
7205 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7207 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7212 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x
; then
7214 eval "DEFAULT_$LINE"
7219 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7224 eval "$ac_cv_use_validators"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7229 if test "$wxUSE_VALIDATORS" = yes; then
7230 echo "$ac_t""yes" 1>&6
7232 echo "$ac_t""no" 1>&6
7236 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7237 echo "configure:7238: checking for --enable-busyinfo" >&5
7239 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7240 if test "${enable_busyinfo+set}" = set; then
7241 enableval
="$enable_busyinfo"
7243 if test "$enableval" = yes; then
7244 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7246 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7251 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7252 if test "x$LINE" != x
; then
7253 eval "DEFAULT_$LINE"
7258 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7263 eval "$ac_cv_use_busyinfo"
7264 if test "$no_cache" != 1; then
7265 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7268 if test "$wxUSE_BUSYINFO" = yes; then
7269 echo "$ac_t""yes" 1>&6
7271 echo "$ac_t""no" 1>&6
7275 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7276 echo "configure:7277: checking for --enable-joystick" >&5
7278 # Check whether --enable-joystick or --disable-joystick was given.
7279 if test "${enable_joystick+set}" = set; then
7280 enableval
="$enable_joystick"
7282 if test "$enableval" = yes; then
7283 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7285 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7290 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7291 if test "x$LINE" != x
; then
7292 eval "DEFAULT_$LINE"
7297 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7302 eval "$ac_cv_use_joystick"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7307 if test "$wxUSE_JOYSTICK" = yes; then
7308 echo "$ac_t""yes" 1>&6
7310 echo "$ac_t""no" 1>&6
7314 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7315 echo "configure:7316: checking for --enable-metafile" >&5
7317 # Check whether --enable-metafile or --disable-metafile was given.
7318 if test "${enable_metafile+set}" = set; then
7319 enableval
="$enable_metafile"
7321 if test "$enableval" = yes; then
7322 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7324 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7329 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7330 if test "x$LINE" != x
; then
7331 eval "DEFAULT_$LINE"
7336 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7341 eval "$ac_cv_use_metafile"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7346 if test "$wxUSE_METAFILE" = yes; then
7347 echo "$ac_t""yes" 1>&6
7349 echo "$ac_t""no" 1>&6
7353 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7354 echo "configure:7355: checking for --enable-dragimage" >&5
7356 # Check whether --enable-dragimage or --disable-dragimage was given.
7357 if test "${enable_dragimage+set}" = set; then
7358 enableval
="$enable_dragimage"
7360 if test "$enableval" = yes; then
7361 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7363 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7368 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7369 if test "x$LINE" != x
; then
7370 eval "DEFAULT_$LINE"
7375 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7380 eval "$ac_cv_use_dragimage"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7385 if test "$wxUSE_DRAGIMAGE" = yes; then
7386 echo "$ac_t""yes" 1>&6
7388 echo "$ac_t""no" 1>&6
7394 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7395 echo "configure:7396: checking for --enable-image" >&5
7397 # Check whether --enable-image or --disable-image was given.
7398 if test "${enable_image+set}" = set; then
7399 enableval
="$enable_image"
7401 if test "$enableval" = yes; then
7402 ac_cv_use_image
='wxUSE_IMAGE=yes'
7404 ac_cv_use_image
='wxUSE_IMAGE=no'
7409 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7410 if test "x$LINE" != x
; then
7411 eval "DEFAULT_$LINE"
7416 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7421 eval "$ac_cv_use_image"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7426 if test "$wxUSE_IMAGE" = yes; then
7427 echo "$ac_t""yes" 1>&6
7429 echo "$ac_t""no" 1>&6
7433 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7434 echo "configure:7435: checking for --enable-gif" >&5
7436 # Check whether --enable-gif or --disable-gif was given.
7437 if test "${enable_gif+set}" = set; then
7438 enableval
="$enable_gif"
7440 if test "$enableval" = yes; then
7441 ac_cv_use_gif
='wxUSE_GIF=yes'
7443 ac_cv_use_gif
='wxUSE_GIF=no'
7448 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x
; then
7450 eval "DEFAULT_$LINE"
7455 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7460 eval "$ac_cv_use_gif"
7461 if test "$no_cache" != 1; then
7462 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7465 if test "$wxUSE_GIF" = yes; then
7466 echo "$ac_t""yes" 1>&6
7468 echo "$ac_t""no" 1>&6
7472 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7473 echo "configure:7474: checking for --enable-pcx" >&5
7475 # Check whether --enable-pcx or --disable-pcx was given.
7476 if test "${enable_pcx+set}" = set; then
7477 enableval
="$enable_pcx"
7479 if test "$enableval" = yes; then
7480 ac_cv_use_pcx
='wxUSE_PCX=yes'
7482 ac_cv_use_pcx
='wxUSE_PCX=no'
7487 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7488 if test "x$LINE" != x
; then
7489 eval "DEFAULT_$LINE"
7494 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7499 eval "$ac_cv_use_pcx"
7500 if test "$no_cache" != 1; then
7501 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7504 if test "$wxUSE_PCX" = yes; then
7505 echo "$ac_t""yes" 1>&6
7507 echo "$ac_t""no" 1>&6
7511 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7512 echo "configure:7513: checking for --enable-pnm" >&5
7514 # Check whether --enable-pnm or --disable-pnm was given.
7515 if test "${enable_pnm+set}" = set; then
7516 enableval
="$enable_pnm"
7518 if test "$enableval" = yes; then
7519 ac_cv_use_pnm
='wxUSE_PNM=yes'
7521 ac_cv_use_pnm
='wxUSE_PNM=no'
7526 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7527 if test "x$LINE" != x
; then
7528 eval "DEFAULT_$LINE"
7533 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7538 eval "$ac_cv_use_pnm"
7539 if test "$no_cache" != 1; then
7540 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7543 if test "$wxUSE_PNM" = yes; then
7544 echo "$ac_t""yes" 1>&6
7546 echo "$ac_t""no" 1>&6
7550 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7551 echo "configure:7552: checking for --enable-pnm" >&5
7553 # Check whether --enable-pnm or --disable-pnm was given.
7554 if test "${enable_pnm+set}" = set; then
7555 enableval
="$enable_pnm"
7557 if test "$enableval" = yes; then
7558 ac_cv_use_pnm
='wxUSE_XPM=yes'
7560 ac_cv_use_pnm
='wxUSE_XPM=no'
7565 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7566 if test "x$LINE" != x
; then
7567 eval "DEFAULT_$LINE"
7572 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7577 eval "$ac_cv_use_pnm"
7578 if test "$no_cache" != 1; then
7579 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7582 if test "$wxUSE_XPM" = yes; then
7583 echo "$ac_t""yes" 1>&6
7585 echo "$ac_t""no" 1>&6
7592 echo "saving argument cache $wx_arg_cache_file"
7593 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7597 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7598 echo "configure:7599: checking for toolkit" >&5
7600 if test "$wxUSE_GUI" = "yes"; then
7602 if test "$USE_BEOS" = 1; then
7603 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7606 if test "$TOOLKIT_GIVEN" = 1; then
7607 for toolkit
in `echo $ALL_TOOLKITS`; do
7609 eval "value=\$${var}"
7610 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7613 for toolkit
in `echo $ALL_TOOLKITS`; do
7614 if test "$has_toolkit_in_cache" != 1; then
7615 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7617 var
=DEFAULT_wxUSE_
$toolkit
7619 eval "wxUSE_$toolkit=\$${var}"
7623 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7627 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7628 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7637 case "$NUM_TOOLKITS" in
7641 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7644 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7647 for toolkit
in `echo $ALL_TOOLKITS`; do
7649 eval "value=\$${var}"
7650 if test "x$value" != x
; then
7651 cache_var
=CACHE_
$toolkit
7652 eval "cache=\$${cache_var}"
7653 if test "$cache" = 1; then
7654 echo "$var=$value" >> ${wx_arg_cache_file}
7656 if test "$value" = 1; then
7657 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7658 echo "$ac_t""$toolkit_echo" 1>&6
7665 echo "$ac_t""base only" 1>&6
7669 cat > confcache
<<\EOF
7670 # This file is a shell script that caches the results of configure
7671 # tests run on this system so they can be shared between configure
7672 # scripts and configure runs. It is not useful on other systems.
7673 # If it contains results you don't want to keep, you may remove or edit it.
7675 # By default, configure uses ./config.cache as the cache file,
7676 # creating it if it does not exist already. You can give configure
7677 # the --cache-file=FILE option to use a different cache file; that is
7678 # what configure does when it calls configure scripts in
7679 # subdirectories, so they share the cache.
7680 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7681 # config.status only pays attention to the cache file if you give it the
7682 # --recheck option to rerun configure.
7685 # The following way of writing the cache mishandles newlines in values,
7686 # but we know of no workaround that is simple, portable, and efficient.
7687 # So, don't put newlines in cache variables' values.
7688 # Ultrix sh set writes to stderr and can't be redirected directly,
7689 # and sets the high bit in the cache file unless we assign to the vars.
7691 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7693 # `set' does not quote correctly, so add quotes (double-quote substitution
7694 # turns \\\\ into \\, and sed turns \\ into \).
7696 -e "s/'/'\\\\''/g" \
7697 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7700 # `set' quotes correctly as required by POSIX, so do not add quotes.
7701 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7704 if cmp -s $cache_file confcache
; then
7707 if test -w $cache_file; then
7708 echo "updating cache $cache_file"
7709 cat confcache
> $cache_file
7711 echo "not updating unwritable cache $cache_file"
7717 if test "$build" != "$host" ; then
7721 RANLIB
=$host_alias-ranlib
7722 DLLTOOL
=$host_alias-dlltool
7723 RESCOMP
=$host_alias-windres
7726 STRIP
=$host_alias-strip
7729 # Extract the first word of "gcc", so it can be a program name with args.
7730 set dummy gcc
; ac_word
=$2
7731 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7732 echo "configure:7733: checking for $ac_word" >&5
7733 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7734 echo $ac_n "(cached) $ac_c" 1>&6
7736 if test -n "$CC"; then
7737 ac_cv_prog_CC
="$CC" # Let the user override the test.
7739 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7741 for ac_dir
in $ac_dummy; do
7742 test -z "$ac_dir" && ac_dir
=.
7743 if test -f $ac_dir/$ac_word; then
7752 if test -n "$CC"; then
7753 echo "$ac_t""$CC" 1>&6
7755 echo "$ac_t""no" 1>&6
7758 if test -z "$CC"; then
7759 # Extract the first word of "cc", so it can be a program name with args.
7760 set dummy cc
; ac_word
=$2
7761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7762 echo "configure:7763: checking for $ac_word" >&5
7763 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7764 echo $ac_n "(cached) $ac_c" 1>&6
7766 if test -n "$CC"; then
7767 ac_cv_prog_CC
="$CC" # Let the user override the test.
7769 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7772 for ac_dir
in $ac_dummy; do
7773 test -z "$ac_dir" && ac_dir
=.
7774 if test -f $ac_dir/$ac_word; then
7775 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7776 ac_prog_rejected
=yes
7784 if test $ac_prog_rejected = yes; then
7785 # We found a bogon in the path, so make sure we never use it.
7786 set dummy
$ac_cv_prog_CC
7788 if test $# -gt 0; then
7789 # We chose a different compiler from the bogus one.
7790 # However, it has the same basename, so the bogon will be chosen
7791 # first if we set CC to just the basename; use the full file name.
7793 set dummy
"$ac_dir/$ac_word" "$@"
7801 if test -n "$CC"; then
7802 echo "$ac_t""$CC" 1>&6
7804 echo "$ac_t""no" 1>&6
7807 if test -z "$CC"; then
7808 case "`uname -s`" in
7810 # Extract the first word of "cl", so it can be a program name with args.
7811 set dummy cl
; ac_word
=$2
7812 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7813 echo "configure:7814: checking for $ac_word" >&5
7814 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7815 echo $ac_n "(cached) $ac_c" 1>&6
7817 if test -n "$CC"; then
7818 ac_cv_prog_CC
="$CC" # Let the user override the test.
7820 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7822 for ac_dir
in $ac_dummy; do
7823 test -z "$ac_dir" && ac_dir
=.
7824 if test -f $ac_dir/$ac_word; then
7833 if test -n "$CC"; then
7834 echo "$ac_t""$CC" 1>&6
7836 echo "$ac_t""no" 1>&6
7841 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7844 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7845 echo "configure:7846: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7849 ac_cpp
='$CPP $CPPFLAGS'
7850 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7851 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7852 cross_compiling
=$ac_cv_prog_cc_cross
7854 cat > conftest.
$ac_ext << EOF
7856 #line 7857 "configure"
7857 #include "confdefs.h"
7861 if { (eval echo configure
:7862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7862 ac_cv_prog_cc_works
=yes
7863 # If we can't run a trivial program, we are probably using a cross compiler.
7864 if (.
/conftest
; exit) 2>/dev
/null
; then
7865 ac_cv_prog_cc_cross
=no
7867 ac_cv_prog_cc_cross
=yes
7870 echo "configure: failed program was:" >&5
7871 cat conftest.
$ac_ext >&5
7872 ac_cv_prog_cc_works
=no
7876 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7877 ac_cpp
='$CPP $CPPFLAGS'
7878 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7879 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7880 cross_compiling
=$ac_cv_prog_cc_cross
7882 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7883 if test $ac_cv_prog_cc_works = no
; then
7884 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7886 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7887 echo "configure:7888: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7888 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7889 cross_compiling
=$ac_cv_prog_cc_cross
7891 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7892 echo "configure:7893: checking whether we are using GNU C" >&5
7893 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7894 echo $ac_n "(cached) $ac_c" 1>&6
7896 cat > conftest.c
<<EOF
7901 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7908 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7910 if test $ac_cv_prog_gcc = yes; then
7916 ac_test_CFLAGS
="${CFLAGS+set}"
7917 ac_save_CFLAGS
="$CFLAGS"
7919 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7920 echo "configure:7921: checking whether ${CC-cc} accepts -g" >&5
7921 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7922 echo $ac_n "(cached) $ac_c" 1>&6
7924 echo 'void f(){}' > conftest.c
7925 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7934 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7935 if test "$ac_test_CFLAGS" = set; then
7936 CFLAGS
="$ac_save_CFLAGS"
7937 elif test $ac_cv_prog_cc_g = yes; then
7938 if test "$GCC" = yes; then
7944 if test "$GCC" = yes; then
7952 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7954 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7955 echo "configure:7956: checking how to run the C preprocessor" >&5
7956 # On Suns, sometimes $CPP names a directory.
7957 if test -n "$CPP" && test -d "$CPP"; then
7960 if test -z "$CPP"; then
7961 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7962 echo $ac_n "(cached) $ac_c" 1>&6
7964 # This must be in double quotes, not single quotes, because CPP may get
7965 # substituted into the Makefile and "${CC-cc}" will confuse make.
7967 # On the NeXT, cc -E runs the code through the compiler's parser,
7968 # not just through cpp.
7969 cat > conftest.
$ac_ext <<EOF
7970 #line 7971 "configure"
7971 #include "confdefs.h"
7975 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7976 { (eval echo configure
:7977: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7977 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7978 if test -z "$ac_err"; then
7982 echo "configure: failed program was:" >&5
7983 cat conftest.
$ac_ext >&5
7985 CPP
="${CC-cc} -E -traditional-cpp"
7986 cat > conftest.
$ac_ext <<EOF
7987 #line 7988 "configure"
7988 #include "confdefs.h"
7992 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7993 { (eval echo configure
:7994: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7994 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7995 if test -z "$ac_err"; then
7999 echo "configure: failed program was:" >&5
8000 cat conftest.
$ac_ext >&5
8002 CPP
="${CC-cc} -nologo -E"
8003 cat > conftest.
$ac_ext <<EOF
8004 #line 8005 "configure"
8005 #include "confdefs.h"
8009 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8010 { (eval echo configure
:8011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8011 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8012 if test -z "$ac_err"; then
8016 echo "configure: failed program was:" >&5
8017 cat conftest.
$ac_ext >&5
8026 ac_cv_prog_CPP
="$CPP"
8028 CPP
="$ac_cv_prog_CPP"
8030 ac_cv_prog_CPP
="$CPP"
8032 echo "$ac_t""$CPP" 1>&6
8035 if test $ac_cv_prog_gcc = yes; then
8036 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8037 echo "configure:8038: checking whether ${CC-cc} needs -traditional" >&5
8038 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8039 echo $ac_n "(cached) $ac_c" 1>&6
8041 ac_pattern
="Autoconf.*'x'"
8042 cat > conftest.
$ac_ext <<EOF
8043 #line 8044 "configure"
8044 #include "confdefs.h"
8048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8049 egrep "$ac_pattern" >/dev
/null
2>&1; then
8051 ac_cv_prog_gcc_traditional
=yes
8054 ac_cv_prog_gcc_traditional
=no
8059 if test $ac_cv_prog_gcc_traditional = no
; then
8060 cat > conftest.
$ac_ext <<EOF
8061 #line 8062 "configure"
8062 #include "confdefs.h"
8066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8067 egrep "$ac_pattern" >/dev
/null
2>&1; then
8069 ac_cv_prog_gcc_traditional
=yes
8076 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8077 if test $ac_cv_prog_gcc_traditional = yes; then
8078 CC
="$CC -traditional"
8085 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8086 ac_cpp
='$CXXCPP $CPPFLAGS'
8087 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8088 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8089 cross_compiling
=$ac_cv_prog_cxx_cross
8092 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8094 # Extract the first word of "$ac_prog", so it can be a program name with args.
8095 set dummy
$ac_prog; ac_word
=$2
8096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8097 echo "configure:8098: checking for $ac_word" >&5
8098 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8099 echo $ac_n "(cached) $ac_c" 1>&6
8101 if test -n "$CXX"; then
8102 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8104 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8106 for ac_dir
in $ac_dummy; do
8107 test -z "$ac_dir" && ac_dir
=.
8108 if test -f $ac_dir/$ac_word; then
8109 ac_cv_prog_CXX
="$ac_prog"
8116 CXX
="$ac_cv_prog_CXX"
8117 if test -n "$CXX"; then
8118 echo "$ac_t""$CXX" 1>&6
8120 echo "$ac_t""no" 1>&6
8123 test -n "$CXX" && break
8125 test -n "$CXX" || CXX
="gcc"
8128 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8129 echo "configure:8130: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8133 ac_cpp
='$CXXCPP $CPPFLAGS'
8134 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8135 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8136 cross_compiling
=$ac_cv_prog_cxx_cross
8138 cat > conftest.
$ac_ext << EOF
8140 #line 8141 "configure"
8141 #include "confdefs.h"
8143 int main(){return(0);}
8145 if { (eval echo configure
:8146: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8146 ac_cv_prog_cxx_works
=yes
8147 # If we can't run a trivial program, we are probably using a cross compiler.
8148 if (.
/conftest
; exit) 2>/dev
/null
; then
8149 ac_cv_prog_cxx_cross
=no
8151 ac_cv_prog_cxx_cross
=yes
8154 echo "configure: failed program was:" >&5
8155 cat conftest.
$ac_ext >&5
8156 ac_cv_prog_cxx_works
=no
8160 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8161 ac_cpp
='$CXXCPP $CPPFLAGS'
8162 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8163 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8164 cross_compiling
=$ac_cv_prog_cxx_cross
8166 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8167 if test $ac_cv_prog_cxx_works = no
; then
8168 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8170 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8171 echo "configure:8172: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8172 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8173 cross_compiling
=$ac_cv_prog_cxx_cross
8175 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8176 echo "configure:8177: checking whether we are using GNU C++" >&5
8177 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8178 echo $ac_n "(cached) $ac_c" 1>&6
8180 cat > conftest.C
<<EOF
8185 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8192 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8194 if test $ac_cv_prog_gxx = yes; then
8200 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8201 ac_save_CXXFLAGS
="$CXXFLAGS"
8203 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8204 echo "configure:8205: checking whether ${CXX-g++} accepts -g" >&5
8205 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8206 echo $ac_n "(cached) $ac_c" 1>&6
8208 echo 'void f(){}' > conftest.cc
8209 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8210 ac_cv_prog_cxx_g
=yes
8218 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8219 if test "$ac_test_CXXFLAGS" = set; then
8220 CXXFLAGS
="$ac_save_CXXFLAGS"
8221 elif test $ac_cv_prog_cxx_g = yes; then
8222 if test "$GXX" = yes; then
8228 if test "$GXX" = yes; then
8236 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8237 echo "configure:8238: checking how to run the C++ preprocessor" >&5
8238 if test -z "$CXXCPP"; then
8239 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8240 echo $ac_n "(cached) $ac_c" 1>&6
8243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8244 ac_cpp
='$CXXCPP $CPPFLAGS'
8245 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8246 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8247 cross_compiling
=$ac_cv_prog_cxx_cross
8248 CXXCPP
="${CXX-g++} -E"
8249 cat > conftest.
$ac_ext <<EOF
8250 #line 8251 "configure"
8251 #include "confdefs.h"
8254 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8255 { (eval echo configure
:8256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8256 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8257 if test -z "$ac_err"; then
8261 echo "configure: failed program was:" >&5
8262 cat conftest.
$ac_ext >&5
8267 ac_cv_prog_CXXCPP
="$CXXCPP"
8269 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8270 ac_cpp
='$CXXCPP $CPPFLAGS'
8271 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8272 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8273 cross_compiling
=$ac_cv_prog_cxx_cross
8276 CXXCPP
="$ac_cv_prog_CXXCPP"
8277 echo "$ac_t""$CXXCPP" 1>&6
8280 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8283 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8284 ac_cpp
='$CPP $CPPFLAGS'
8285 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8286 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8287 cross_compiling
=$ac_cv_prog_cc_cross
8290 # Extract the first word of "ranlib", so it can be a program name with args.
8291 set dummy ranlib
; ac_word
=$2
8292 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8293 echo "configure:8294: checking for $ac_word" >&5
8294 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8295 echo $ac_n "(cached) $ac_c" 1>&6
8297 if test -n "$RANLIB"; then
8298 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8300 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8302 for ac_dir
in $ac_dummy; do
8303 test -z "$ac_dir" && ac_dir
=.
8304 if test -f $ac_dir/$ac_word; then
8305 ac_cv_prog_RANLIB
="ranlib"
8310 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8313 RANLIB
="$ac_cv_prog_RANLIB"
8314 if test -n "$RANLIB"; then
8315 echo "$ac_t""$RANLIB" 1>&6
8317 echo "$ac_t""no" 1>&6
8321 # Extract the first word of "ar", so it can be a program name with args.
8322 set dummy
ar; ac_word
=$2
8323 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8324 echo "configure:8325: checking for $ac_word" >&5
8325 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8326 echo $ac_n "(cached) $ac_c" 1>&6
8328 if test -n "$AR"; then
8329 ac_cv_prog_AR
="$AR" # Let the user override the test.
8331 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8333 for ac_dir
in $ac_dummy; do
8334 test -z "$ac_dir" && ac_dir
=.
8335 if test -f $ac_dir/$ac_word; then
8341 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8345 if test -n "$AR"; then
8346 echo "$ac_t""$AR" 1>&6
8348 echo "$ac_t""no" 1>&6
8352 # Find a good install program. We prefer a C program (faster),
8353 # so one script is as good as another. But avoid the broken or
8354 # incompatible versions:
8355 # SysV /etc/install, /usr/sbin/install
8356 # SunOS /usr/etc/install
8357 # IRIX /sbin/install
8359 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8362 # ./install, which can be erroneously created by make from ./install.sh.
8363 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8364 echo "configure:8365: checking for a BSD compatible install" >&5
8365 if test -z "$INSTALL"; then
8366 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8367 echo $ac_n "(cached) $ac_c" 1>&6
8369 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8370 for ac_dir
in $PATH; do
8371 # Account for people who put trailing slashes in PATH elements.
8373 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8375 # OSF1 and SCO ODT 3.0 have their own names for install.
8376 # Don't use installbsd from OSF since it installs stuff as root
8378 for ac_prog
in ginstall scoinst
install; do
8379 if test -f $ac_dir/$ac_prog; then
8380 if test $ac_prog = install &&
8381 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8382 # AIX install. It has an incompatible calling convention.
8385 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8396 if test "${ac_cv_path_install+set}" = set; then
8397 INSTALL
="$ac_cv_path_install"
8399 # As a last resort, use the slow shell script. We don't cache a
8400 # path for INSTALL within a source directory, because that will
8401 # break other packages using the cache if that directory is
8402 # removed, or if the path is relative.
8403 INSTALL
="$ac_install_sh"
8406 echo "$ac_t""$INSTALL" 1>&6
8408 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8409 # It thinks the first close brace ends the variable substitution.
8410 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8412 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8414 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8417 # Extract the first word of "strip", so it can be a program name with args.
8418 set dummy strip
; ac_word
=$2
8419 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8420 echo "configure:8421: checking for $ac_word" >&5
8421 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8422 echo $ac_n "(cached) $ac_c" 1>&6
8424 if test -n "$STRIP"; then
8425 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8427 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8429 for ac_dir
in $ac_dummy; do
8430 test -z "$ac_dir" && ac_dir
=.
8431 if test -f $ac_dir/$ac_word; then
8432 ac_cv_prog_STRIP
="strip"
8437 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8440 STRIP
="$ac_cv_prog_STRIP"
8441 if test -n "$STRIP"; then
8442 echo "$ac_t""$STRIP" 1>&6
8444 echo "$ac_t""no" 1>&6
8448 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8449 echo "configure:8450: checking make for VPATH support" >&5
8450 cat - << EOF > confMake
8456 if test ! -d sub
; then
8459 echo dummy
> sub
/file
8460 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8462 rm -f sub
/file check final_file confMake
8464 if test "$RESULT" = 0; then
8465 echo "$ac_t""yes" 1>&6
8467 echo "$ac_t""no" 1>&6
8468 { echo "configure: error:
8469 You need a make-utility that is able to use the variable
8471 If your version of make does not support VPATH correctly,
8472 please install GNU-make (possibly as gmake), and start
8473 configure with the following command:
8474 export MAKE=gmake; ./configure for sh-type shells
8475 setenv MAKE gmake; ./configure for csh-type shells
8476 Also please do remember to use gmake in this case every time
8477 you are trying to compile.
8481 for ac_prog
in 'bison -y' byacc
8483 # Extract the first word of "$ac_prog", so it can be a program name with args.
8484 set dummy
$ac_prog; ac_word
=$2
8485 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8486 echo "configure:8487: checking for $ac_word" >&5
8487 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8488 echo $ac_n "(cached) $ac_c" 1>&6
8490 if test -n "$YACC"; then
8491 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8493 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8495 for ac_dir
in $ac_dummy; do
8496 test -z "$ac_dir" && ac_dir
=.
8497 if test -f $ac_dir/$ac_word; then
8498 ac_cv_prog_YACC
="$ac_prog"
8505 YACC
="$ac_cv_prog_YACC"
8506 if test -n "$YACC"; then
8507 echo "$ac_t""$YACC" 1>&6
8509 echo "$ac_t""no" 1>&6
8512 test -n "$YACC" && break
8514 test -n "$YACC" || YACC
="yacc"
8517 # Extract the first word of "flex", so it can be a program name with args.
8518 set dummy flex
; ac_word
=$2
8519 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8520 echo "configure:8521: checking for $ac_word" >&5
8521 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8522 echo $ac_n "(cached) $ac_c" 1>&6
8524 if test -n "$LEX"; then
8525 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8527 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8529 for ac_dir
in $ac_dummy; do
8530 test -z "$ac_dir" && ac_dir
=.
8531 if test -f $ac_dir/$ac_word; then
8532 ac_cv_prog_LEX
="flex"
8537 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8540 LEX
="$ac_cv_prog_LEX"
8541 if test -n "$LEX"; then
8542 echo "$ac_t""$LEX" 1>&6
8544 echo "$ac_t""no" 1>&6
8547 if test -z "$LEXLIB"
8553 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8554 echo "configure:8555: checking for yywrap in -l$ac_lib" >&5
8555 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8556 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8557 echo $ac_n "(cached) $ac_c" 1>&6
8559 ac_save_LIBS
="$LIBS"
8560 LIBS
="-l$ac_lib $LIBS"
8561 cat > conftest.
$ac_ext <<EOF
8562 #line 8563 "configure"
8563 #include "confdefs.h"
8564 /* Override any gcc2 internal prototype to avoid an error. */
8565 /* We use char because int might match the return type of a gcc2
8566 builtin and then its argument prototype would still apply. */
8573 if { (eval echo configure
:8574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8575 eval "ac_cv_lib_$ac_lib_var=yes"
8577 echo "configure: failed program was:" >&5
8578 cat conftest.
$ac_ext >&5
8580 eval "ac_cv_lib_$ac_lib_var=no"
8583 LIBS
="$ac_save_LIBS"
8586 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8587 echo "$ac_t""yes" 1>&6
8590 echo "$ac_t""no" 1>&6
8596 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8597 echo "configure:8598: checking whether ln -s works" >&5
8598 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8599 echo $ac_n "(cached) $ac_c" 1>&6
8602 if ln -s X conftestdata
2>/dev
/null
8605 ac_cv_prog_LN_S
="ln -s"
8610 LN_S
="$ac_cv_prog_LN_S"
8611 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8612 echo "$ac_t""yes" 1>&6
8614 echo "$ac_t""no" 1>&6
8620 /usr/local/include \
8622 /usr/Motif-1.2/include \
8623 /usr/Motif-2.1/include \
8625 /usr/include/Motif1.2 \
8626 /opt/xpm/include/X11 \
8627 /opt/GBxpm/include/ \
8628 /opt/GBxpm/X11/include/ \
8630 /usr/Motif1.2/include \
8632 /usr/openwin/include \
8636 /usr/X11R6/include \
8637 /usr/X11R6.4/include \
8638 /usr/X11R5/include \
8639 /usr/X11R4/include \
8641 /usr/include/X11R6 \
8642 /usr/include/X11R5 \
8643 /usr/include/X11R4 \
8645 /usr/local/X11R6/include \
8646 /usr/local/X11R5/include \
8647 /usr/local/X11R4/include \
8649 /usr/local/include/X11R6 \
8650 /usr/local/include/X11R5 \
8651 /usr/local/include/X11R4 \
8655 /usr/local/X11/include \
8656 /usr/local/include/X11 \
8660 /usr/XFree86/include/X11 \
8662 X:/XFree86/include \
8663 X:/XFree86/include/X11 \
8666 /usr/local/include/gtk \
8668 /usr/local/include/glib \
8671 /usr/local/include/qt \
8673 /usr/include/windows \
8675 /usr/local/include/wine \
8677 /usr/unsupported/include \
8678 /usr/athena/include \
8679 /usr/local/x11r5/include \
8680 /usr/lpp/Xamples/include \
8682 /usr/openwin/share/include \
8686 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8689 cat > confcache
<<\EOF
8690 # This file is a shell script that caches the results of configure
8691 # tests run on this system so they can be shared between configure
8692 # scripts and configure runs. It is not useful on other systems.
8693 # If it contains results you don't want to keep, you may remove or edit it.
8695 # By default, configure uses ./config.cache as the cache file,
8696 # creating it if it does not exist already. You can give configure
8697 # the --cache-file=FILE option to use a different cache file; that is
8698 # what configure does when it calls configure scripts in
8699 # subdirectories, so they share the cache.
8700 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8701 # config.status only pays attention to the cache file if you give it the
8702 # --recheck option to rerun configure.
8705 # The following way of writing the cache mishandles newlines in values,
8706 # but we know of no workaround that is simple, portable, and efficient.
8707 # So, don't put newlines in cache variables' values.
8708 # Ultrix sh set writes to stderr and can't be redirected directly,
8709 # and sets the high bit in the cache file unless we assign to the vars.
8711 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8713 # `set' does not quote correctly, so add quotes (double-quote substitution
8714 # turns \\\\ into \\, and sed turns \\ into \).
8716 -e "s/'/'\\\\''/g" \
8717 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8720 # `set' quotes correctly as required by POSIX, so do not add quotes.
8721 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8724 if cmp -s $cache_file confcache
; then
8727 if test -w $cache_file; then
8728 echo "updating cache $cache_file"
8729 cat confcache
> $cache_file
8731 echo "not updating unwritable cache $cache_file"
8740 if test "$wxUSE_GUI" = "yes"; then
8755 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8756 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8757 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8758 echo "configure:8759: checking for windows.h" >&5
8759 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8760 echo $ac_n "(cached) $ac_c" 1>&6
8762 cat > conftest.
$ac_ext <<EOF
8763 #line 8764 "configure"
8764 #include "confdefs.h"
8765 #include <windows.h>
8767 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8768 { (eval echo configure
:8769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8769 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8770 if test -z "$ac_err"; then
8772 eval "ac_cv_header_$ac_safe=yes"
8775 echo "configure: failed program was:" >&5
8776 cat conftest.
$ac_ext >&5
8778 eval "ac_cv_header_$ac_safe=no"
8782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8783 echo "$ac_t""yes" 1>&6
8786 echo "$ac_t""no" 1>&6
8788 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8793 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8794 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8796 if test "$wxUSE_ODBC" = "yes" ; then
8797 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8800 if test "$wxUSE_MINGW" = 1; then
8801 LDFLAGS
="$LDFLAGS -mwindows"
8807 RCINCSWITCH
="--include-dir"
8808 RCDEFSWITCH
="--define"
8809 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8812 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8814 RESPROGRAM
="\$(RES_PROGRAM)"
8817 if test "$wxUSE_GTK" = 1; then
8818 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8819 echo "configure:8820: checking for GTK+ version" >&5
8821 gtk_version_cached
=1
8822 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8823 echo $ac_n "(cached) $ac_c" 1>&6
8826 gtk_version_cached
=0
8827 echo "$ac_t""""" 1>&6
8830 if test "x$wxUSE_GTK2" = "xyes"; then
8831 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8832 if test "${with_gtk_prefix+set}" = set; then
8833 withval
="$with_gtk_prefix"
8834 gtk_config_prefix
="$withval"
8836 gtk_config_prefix
=""
8839 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8840 if test "${with_gtk_exec_prefix+set}" = set; then
8841 withval
="$with_gtk_exec_prefix"
8842 gtk_config_exec_prefix
="$withval"
8844 gtk_config_exec_prefix
=""
8847 # Check whether --enable-gtktest or --disable-gtktest was given.
8848 if test "${enable_gtktest+set}" = set; then
8849 enableval
="$enable_gtktest"
8860 gtk_config_args
="$gtk_config_args gthread"
8865 if test x
$gtk_config_exec_prefix != x
; then
8866 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8867 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8868 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8871 if test x
$gtk_config_prefix != x
; then
8872 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8873 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8874 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8878 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8879 set dummy gtk
-config-2.0
; ac_word
=$2
8880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8881 echo "configure:8882: checking for $ac_word" >&5
8882 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8883 echo $ac_n "(cached) $ac_c" 1>&6
8885 case "$GTK_CONFIG_2_0" in
8887 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8890 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8893 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8895 for ac_dir
in $ac_dummy; do
8896 test -z "$ac_dir" && ac_dir
=.
8897 if test -f $ac_dir/$ac_word; then
8898 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8903 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8907 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8908 if test -n "$GTK_CONFIG_2_0"; then
8909 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8911 echo "$ac_t""no" 1>&6
8914 min_gtk_version
=1.3.1
8915 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8916 echo "configure:8917: checking for GTK - version >= $min_gtk_version" >&5
8918 if test "$GTK_CONFIG_2_0" = "no" ; then
8921 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8922 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8923 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8924 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8925 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8926 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8927 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8928 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8929 if test "x$enable_gtktest" = "xyes" ; then
8930 ac_save_CFLAGS
="$CFLAGS"
8931 ac_save_LIBS
="$LIBS"
8932 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8933 LIBS
="$GTK_LIBS $LIBS"
8935 if test "$cross_compiling" = yes; then
8936 echo $ac_n "cross compiling; assumed OK... $ac_c"
8938 cat > conftest.
$ac_ext <<EOF
8939 #line 8940 "configure"
8940 #include "confdefs.h"
8942 #include <gtk/gtk.h>
8949 int major, minor, micro;
8952 system ("touch conf.gtktest");
8954 /* HP/UX 9 (%@#!) writes to sscanf strings */
8955 tmp_version = g_strdup("$min_gtk_version");
8956 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8957 printf("%s, bad version string\n", "$min_gtk_version");
8961 if ((gtk_major_version != $gtk_config_major_version) ||
8962 (gtk_minor_version != $gtk_config_minor_version) ||
8963 (gtk_micro_version != $gtk_config_micro_version))
8965 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8966 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8967 gtk_major_version, gtk_minor_version, gtk_micro_version);
8968 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8969 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8970 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8971 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8972 printf("*** required on your system.\n");
8973 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8974 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8975 printf("*** before re-running configure\n");
8977 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8978 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8979 (gtk_minor_version != GTK_MINOR_VERSION) ||
8980 (gtk_micro_version != GTK_MICRO_VERSION))
8982 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8983 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8984 printf("*** library (version %d.%d.%d)\n",
8985 gtk_major_version, gtk_minor_version, gtk_micro_version);
8987 #endif /* defined (GTK_MAJOR_VERSION) ... */
8990 if ((gtk_major_version > major) ||
8991 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8992 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8998 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8999 gtk_major_version, gtk_minor_version, gtk_micro_version);
9000 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9001 major, minor, micro);
9002 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9004 printf("*** If you have already installed a sufficiently new version, this error\n");
9005 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9006 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9007 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9008 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9009 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9010 printf("*** so that the correct libraries are found at run-time))\n");
9017 if { (eval echo configure
:9018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9021 echo "configure: failed program was:" >&5
9022 cat conftest.
$ac_ext >&5
9029 CFLAGS
="$ac_save_CFLAGS"
9030 LIBS
="$ac_save_LIBS"
9033 if test "x$no_gtk" = x
; then
9034 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9037 echo "$ac_t""no" 1>&6
9038 if test "$GTK_CONFIG_2_0" = "no" ; then
9039 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9040 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9041 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9042 echo "*** full path to gtk-config-2.0."
9044 if test -f conf.gtktest
; then
9047 echo "*** Could not run GTK test program, checking why..."
9048 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9049 LIBS
="$LIBS $GTK_LIBS"
9050 cat > conftest.
$ac_ext <<EOF
9051 #line 9052 "configure"
9052 #include "confdefs.h"
9054 #include <gtk/gtk.h>
9058 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9061 if { (eval echo configure
:9062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9063 echo "*** The test program compiled, but did not run. This usually means"
9064 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9065 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9066 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9067 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9068 echo "*** is required on your system"
9070 echo "*** If you have an old version installed, it is best to remove it, although"
9071 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9073 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9074 echo "*** came with the system with the command"
9076 echo "*** rpm --erase --nodeps gtk gtk-devel"
9078 echo "configure: failed program was:" >&5
9079 cat conftest.
$ac_ext >&5
9081 echo "*** The test program failed to compile or link. See the file config.log for the"
9082 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9083 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9084 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9087 CFLAGS
="$ac_save_CFLAGS"
9088 LIBS
="$ac_save_LIBS"
9101 if test -z "$wx_cv_lib_gtk"; then
9103 if test x
$gtk_config_exec_prefix != x
; then
9104 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9105 if test x
${GTK_CONFIG+set} != xset
; then
9106 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9109 if test x
$gtk_config_prefix != x
; then
9110 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9111 if test x
${GTK_CONFIG+set} != xset
; then
9112 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9116 # Extract the first word of "gtk-config", so it can be a program name with args.
9117 set dummy gtk
-config; ac_word
=$2
9118 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9119 echo "configure:9120: checking for $ac_word" >&5
9120 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9121 echo $ac_n "(cached) $ac_c" 1>&6
9123 case "$GTK_CONFIG" in
9125 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9128 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9131 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9133 for ac_dir
in $ac_dummy; do
9134 test -z "$ac_dir" && ac_dir
=.
9135 if test -f $ac_dir/$ac_word; then
9136 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9141 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9145 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9146 if test -n "$GTK_CONFIG"; then
9147 echo "$ac_t""$GTK_CONFIG" 1>&6
9149 echo "$ac_t""no" 1>&6
9152 min_gtk_version
=1.2.7
9153 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9154 echo "configure:9155: checking for GTK - version >= $min_gtk_version" >&5
9156 if test "$GTK_CONFIG" != "no" ; then
9157 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9158 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9159 ac_save_CFLAGS
="$CFLAGS"
9160 ac_save_LIBS
="$LIBS"
9161 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9162 LIBS
="$LIBS $GTK_LIBS"
9163 if test "$cross_compiling" = yes; then
9164 echo $ac_n "cross compiling; assumed OK... $ac_c"
9166 cat > conftest.
$ac_ext <<EOF
9167 #line 9168 "configure"
9168 #include "confdefs.h"
9170 #include <gtk/gtk.h>
9171 #include <gtk/gtkfeatures.h>
9178 int major, minor, micro;
9180 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9181 printf("%s, bad version string\n", "$min_gtk_version");
9185 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9186 (GTK_MINOR_VERSION != gtk_minor_version) ||
9187 (GTK_MICRO_VERSION != gtk_micro_version)) {
9188 printf("Headers vs. library version mismatch!\n");
9192 if (gtk_minor_version == 1) return FALSE;
9194 return !((gtk_major_version > major) ||
9195 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9196 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9200 if { (eval echo configure
:9201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9204 echo "configure: failed program was:" >&5
9205 cat conftest.
$ac_ext >&5
9212 CFLAGS
="$ac_save_CFLAGS"
9213 LIBS
="$ac_save_LIBS"
9217 if test "x$no_gtk" = x
; then
9218 echo "$ac_t""yes" 1>&6
9221 echo "$ac_t""no" 1>&6
9231 if test -z "$wx_cv_lib_gtk"; then
9233 if test x
$gtk_config_exec_prefix != x
; then
9234 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9235 if test x
${GTK_CONFIG+set} != xset
; then
9236 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9239 if test x
$gtk_config_prefix != x
; then
9240 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9241 if test x
${GTK_CONFIG+set} != xset
; then
9242 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9246 # Extract the first word of "gtk-config", so it can be a program name with args.
9247 set dummy gtk
-config; ac_word
=$2
9248 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9249 echo "configure:9250: checking for $ac_word" >&5
9250 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9251 echo $ac_n "(cached) $ac_c" 1>&6
9253 case "$GTK_CONFIG" in
9255 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9258 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9261 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9263 for ac_dir
in $ac_dummy; do
9264 test -z "$ac_dir" && ac_dir
=.
9265 if test -f $ac_dir/$ac_word; then
9266 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9271 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9275 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9276 if test -n "$GTK_CONFIG"; then
9277 echo "$ac_t""$GTK_CONFIG" 1>&6
9279 echo "$ac_t""no" 1>&6
9282 min_gtk_version
=1.2.3
9283 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9284 echo "configure:9285: checking for GTK - version >= $min_gtk_version" >&5
9286 if test "$GTK_CONFIG" != "no" ; then
9287 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9288 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9289 ac_save_CFLAGS
="$CFLAGS"
9290 ac_save_LIBS
="$LIBS"
9291 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9292 LIBS
="$LIBS $GTK_LIBS"
9293 if test "$cross_compiling" = yes; then
9294 echo $ac_n "cross compiling; assumed OK... $ac_c"
9296 cat > conftest.
$ac_ext <<EOF
9297 #line 9298 "configure"
9298 #include "confdefs.h"
9300 #include <gtk/gtk.h>
9301 #include <gtk/gtkfeatures.h>
9308 int major, minor, micro;
9310 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9311 printf("%s, bad version string\n", "$min_gtk_version");
9315 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9316 (GTK_MINOR_VERSION != gtk_minor_version) ||
9317 (GTK_MICRO_VERSION != gtk_micro_version)) {
9318 printf("Headers vs. library version mismatch!\n");
9322 if (gtk_minor_version == 1) return FALSE;
9324 return !((gtk_major_version > major) ||
9325 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9326 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9330 if { (eval echo configure
:9331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9334 echo "configure: failed program was:" >&5
9335 cat conftest.
$ac_ext >&5
9342 CFLAGS
="$ac_save_CFLAGS"
9343 LIBS
="$ac_save_LIBS"
9347 if test "x$no_gtk" = x
; then
9348 echo "$ac_t""yes" 1>&6
9351 echo "$ac_t""no" 1>&6
9361 if test -z "$wx_cv_lib_gtk"; then
9364 wx_cv_cflags_gtk
=$GTK_CFLAGS
9365 wx_cv_libs_gtk
=$GTK_LIBS
9372 if test "$gtk_version_cached" = 1; then
9373 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9376 case "$wx_cv_lib_gtk" in
9384 *) { echo "configure: error:
9385 Please check that gtk-config is in path, the directory
9386 where GTK+ libraries are installed (returned by
9387 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9388 equivalent variable and GTK+ is version 1.2.3 or above.
9393 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9394 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9396 AFMINSTALL
=afminstall
9400 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9401 echo "configure:9402: checking for gdk_im_open in -lgdk" >&5
9402 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9403 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9404 echo $ac_n "(cached) $ac_c" 1>&6
9406 ac_save_LIBS
="$LIBS"
9408 cat > conftest.
$ac_ext <<EOF
9409 #line 9410 "configure"
9410 #include "confdefs.h"
9411 /* Override any gcc2 internal prototype to avoid an error. */
9412 /* We use char because int might match the return type of a gcc2
9413 builtin and then its argument prototype would still apply. */
9420 if { (eval echo configure
:9421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9422 eval "ac_cv_lib_$ac_lib_var=yes"
9424 echo "configure: failed program was:" >&5
9425 cat conftest.
$ac_ext >&5
9427 eval "ac_cv_lib_$ac_lib_var=no"
9430 LIBS
="$ac_save_LIBS"
9433 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9434 echo "$ac_t""yes" 1>&6
9435 cat >> confdefs.h
<<\EOF
9440 echo "$ac_t""no" 1>&6
9445 if test "$wxUSE_MGL" = 1; then
9447 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9448 echo "configure:9449: checking for SciTech MGL library" >&5
9449 if test "x$MGL_ROOT" = x
; then
9450 echo "$ac_t""not found" 1>&6
9451 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9453 echo "$ac_t""$MGL_ROOT" 1>&6
9456 MGL_OS
=linux
/gcc
/glibc
9459 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9460 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9464 if test "x$MGL_LIB_TYPE" = x
; then
9465 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9466 MGL_LIB_TYPE
=release
9468 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9472 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9473 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9475 AFMINSTALL
=afminstall
9480 if test "$wxUSE_WINE" = 1; then
9481 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9482 echo "configure:9483: checking for WINE includes" >&5
9485 for ac_dir
in $SEARCH_INCLUDE;
9487 if test -f "$ac_dir/windows.h"; then
9488 ac_find_includes
=$ac_dir
9493 if test "$ac_find_includes" != "" ; then
9494 echo "$ac_t""found $ac_find_includes" 1>&6
9495 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9497 echo "$ac_t""no" 1>&6
9498 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9502 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9503 echo "configure:9504: checking for Xpm library" >&5
9506 for ac_dir
in $SEARCH_LIB;
9508 for ac_extension
in a so sl dylib
; do
9509 if test -f "$ac_dir/libXpm.$ac_extension"; then
9510 ac_find_libraries
=$ac_dir
9516 if test "$ac_find_libraries" != "" ; then
9517 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9519 cat >> confdefs.h
<<\EOF
9520 #define wxHAVE_LIB_XPM 1
9523 echo "$ac_t""found at $ac_find_libraries" 1>&6
9525 echo "$ac_t""no" 1>&6
9526 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9530 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9531 echo "configure:9532: checking for Mesa library" >&5
9534 for ac_dir
in $SEARCH_LIB;
9536 for ac_extension
in a so sl dylib
; do
9537 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9538 ac_find_libraries
=$ac_dir
9544 if test "$ac_find_libraries" != "" ; then
9545 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9546 MESA_LINK
="-lMesaGL"
9547 echo "$ac_t""found at $ac_find_libraries" 1>&6
9549 { echo "configure: error: no" 1>&2; exit 1; }
9552 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9553 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9560 # If we find X, set shell vars x_includes and x_libraries to the
9561 # paths, otherwise set no_x=yes.
9562 # Uses ac_ vars as temps to allow command line to override cache and checks.
9563 # --without-x overrides everything else, but does not touch the cache.
9564 echo $ac_n "checking for X""... $ac_c" 1>&6
9565 echo "configure:9566: checking for X" >&5
9567 # Check whether --with-x or --without-x was given.
9568 if test "${with_x+set}" = set; then
9573 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9574 if test "x$with_x" = xno
; then
9575 # The user explicitly disabled X.
9578 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9579 # Both variables are already set.
9582 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9583 echo $ac_n "(cached) $ac_c" 1>&6
9585 # One or both of the vars are not set, and there is no cached value.
9586 ac_x_includes
=NO ac_x_libraries
=NO
9588 if mkdir conftestdir
; then
9590 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9591 cat > Imakefile
<<'EOF'
9593 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9595 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9597 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9598 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9599 for ac_extension
in a so sl
; do
9600 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9601 test -f $ac_im_libdir/libX11.
$ac_extension; then
9602 ac_im_usrlibdir
=$ac_im_libdir; break
9605 # Screen out bogus values from the imake configuration. They are
9606 # bogus both because they are the default anyway, and because
9607 # using them would break gcc on systems where it needs fixed includes.
9608 case "$ac_im_incroot" in
9610 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9612 case "$ac_im_usrlibdir" in
9614 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9621 if test "$ac_x_includes" = NO
; then
9622 # Guess where to find include files, by looking for this one X11 .h file.
9623 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9625 # First, try using that file with no special directory specified.
9626 cat > conftest.
$ac_ext <<EOF
9627 #line 9628 "configure"
9628 #include "confdefs.h"
9629 #include <$x_direct_test_include>
9631 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9632 { (eval echo configure
:9633: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9633 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9634 if test -z "$ac_err"; then
9636 # We can compile using X headers with no special include directory.
9640 echo "configure: failed program was:" >&5
9641 cat conftest.
$ac_ext >&5
9643 # Look for the header file in a standard set of common directories.
9644 # Check X11 before X11Rn because it is often a symlink to the current release.
9647 /usr
/X
11R
6/include \
9648 /usr
/X
11R
5/include \
9649 /usr
/X
11R
4/include \
9652 /usr
/include
/X11R6 \
9653 /usr
/include
/X11R5 \
9654 /usr
/include
/X11R4 \
9656 /usr
/local
/X
11/include \
9657 /usr
/local
/X
11R
6/include \
9658 /usr
/local
/X
11R
5/include \
9659 /usr
/local
/X
11R
4/include \
9661 /usr
/local
/include
/X11 \
9662 /usr
/local
/include
/X11R6 \
9663 /usr
/local
/include
/X11R5 \
9664 /usr
/local
/include
/X11R4 \
9668 /usr
/XFree
86/include
/X11 \
9671 /usr
/local
/include \
9672 /usr
/unsupported
/include \
9673 /usr
/athena
/include \
9674 /usr
/local
/x
11r
5/include \
9675 /usr
/lpp
/Xamples
/include \
9677 /usr
/openwin
/include \
9678 /usr
/openwin
/share
/include \
9681 if test -r "$ac_dir/$x_direct_test_include"; then
9682 ac_x_includes
=$ac_dir
9688 fi # $ac_x_includes = NO
9690 if test "$ac_x_libraries" = NO
; then
9691 # Check for the libraries.
9693 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9694 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9696 # See if we find them without any special options.
9697 # Don't add to $LIBS permanently.
9698 ac_save_LIBS
="$LIBS"
9699 LIBS
="-l$x_direct_test_library $LIBS"
9700 cat > conftest.
$ac_ext <<EOF
9701 #line 9702 "configure"
9702 #include "confdefs.h"
9705 ${x_direct_test_function}()
9708 if { (eval echo configure
:9709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9710 LIBS
="$ac_save_LIBS"
9711 # We can link X programs with no special library path.
9714 echo "configure: failed program was:" >&5
9715 cat conftest.
$ac_ext >&5
9717 LIBS
="$ac_save_LIBS"
9718 # First see if replacing the include by lib works.
9719 # Check X11 before X11Rn because it is often a symlink to the current release.
9720 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9731 /usr
/local
/X
11/lib \
9732 /usr
/local
/X
11R
6/lib \
9733 /usr
/local
/X
11R
5/lib \
9734 /usr
/local
/X
11R
4/lib \
9736 /usr
/local
/lib
/X11 \
9737 /usr
/local
/lib
/X11R6 \
9738 /usr
/local
/lib
/X11R5 \
9739 /usr
/local
/lib
/X11R4 \
9743 /usr
/XFree
86/lib
/X11 \
9747 /usr
/unsupported
/lib \
9749 /usr
/local
/x
11r
5/lib \
9750 /usr
/lpp
/Xamples
/lib \
9754 /usr
/openwin
/share
/lib \
9757 for ac_extension
in a so sl
; do
9758 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9759 ac_x_libraries
=$ac_dir
9766 fi # $ac_x_libraries = NO
9768 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9769 # Didn't find X anywhere. Cache the known absence of X.
9770 ac_cv_have_x
="have_x=no"
9772 # Record where we found X for the cache.
9773 ac_cv_have_x
="have_x=yes \
9774 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9778 eval "$ac_cv_have_x"
9781 if test "$have_x" != yes; then
9782 echo "$ac_t""$have_x" 1>&6
9785 # If each of the values was on the command line, it overrides each guess.
9786 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9787 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9788 # Update the cache value to reflect the command line values.
9789 ac_cv_have_x
="have_x=yes \
9790 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9791 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9794 if test "$no_x" = yes; then
9795 # Not all programs may use this symbol, but it does not hurt to define it.
9796 cat >> confdefs.h
<<\EOF
9797 #define X_DISPLAY_MISSING 1
9800 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9802 if test -n "$x_includes"; then
9803 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9806 # It would also be nice to do this for all -L options, not just this one.
9807 if test -n "$x_libraries"; then
9808 X_LIBS
="$X_LIBS -L$x_libraries"
9809 # For Solaris; some versions of Sun CC require a space after -R and
9810 # others require no space. Words are not sufficient . . . .
9811 case "`(uname -sr) 2>/dev/null`" in
9813 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9814 echo "configure:9815: checking whether -R must be followed by a space" >&5
9815 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9816 cat > conftest.
$ac_ext <<EOF
9817 #line 9818 "configure"
9818 #include "confdefs.h"
9824 if { (eval echo configure
:9825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9828 echo "configure: failed program was:" >&5
9829 cat conftest.
$ac_ext >&5
9834 if test $ac_R_nospace = yes; then
9835 echo "$ac_t""no" 1>&6
9836 X_LIBS
="$X_LIBS -R$x_libraries"
9838 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9839 cat > conftest.
$ac_ext <<EOF
9840 #line 9841 "configure"
9841 #include "confdefs.h"
9847 if { (eval echo configure
:9848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9851 echo "configure: failed program was:" >&5
9852 cat conftest.
$ac_ext >&5
9857 if test $ac_R_space = yes; then
9858 echo "$ac_t""yes" 1>&6
9859 X_LIBS
="$X_LIBS -R $x_libraries"
9861 echo "$ac_t""neither works" 1>&6
9864 LIBS
="$ac_xsave_LIBS"
9868 # Check for system-dependent libraries X programs must link with.
9869 # Do this before checking for the system-independent R6 libraries
9870 # (-lICE), since we may need -lsocket or whatever for X linking.
9872 if test "$ISC" = yes; then
9873 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9875 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9876 # libraries were built with DECnet support. And karl@cs.umb.edu says
9877 # the Alpha needs dnet_stub (dnet does not exist).
9878 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9879 echo "configure:9880: checking for dnet_ntoa in -ldnet" >&5
9880 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9881 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9882 echo $ac_n "(cached) $ac_c" 1>&6
9884 ac_save_LIBS
="$LIBS"
9886 cat > conftest.
$ac_ext <<EOF
9887 #line 9888 "configure"
9888 #include "confdefs.h"
9889 /* Override any gcc2 internal prototype to avoid an error. */
9890 /* We use char because int might match the return type of a gcc2
9891 builtin and then its argument prototype would still apply. */
9898 if { (eval echo configure
:9899: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9900 eval "ac_cv_lib_$ac_lib_var=yes"
9902 echo "configure: failed program was:" >&5
9903 cat conftest.
$ac_ext >&5
9905 eval "ac_cv_lib_$ac_lib_var=no"
9908 LIBS
="$ac_save_LIBS"
9911 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9912 echo "$ac_t""yes" 1>&6
9913 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9915 echo "$ac_t""no" 1>&6
9918 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9919 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9920 echo "configure:9921: checking for dnet_ntoa in -ldnet_stub" >&5
9921 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9922 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9925 ac_save_LIBS
="$LIBS"
9926 LIBS
="-ldnet_stub $LIBS"
9927 cat > conftest.
$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9930 /* Override any gcc2 internal prototype to avoid an error. */
9931 /* We use char because int might match the return type of a gcc2
9932 builtin and then its argument prototype would still apply. */
9939 if { (eval echo configure
:9940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9941 eval "ac_cv_lib_$ac_lib_var=yes"
9943 echo "configure: failed program was:" >&5
9944 cat conftest.
$ac_ext >&5
9946 eval "ac_cv_lib_$ac_lib_var=no"
9949 LIBS
="$ac_save_LIBS"
9952 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9953 echo "$ac_t""yes" 1>&6
9954 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9956 echo "$ac_t""no" 1>&6
9961 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9962 # to get the SysV transport functions.
9963 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9965 # The nsl library prevents programs from opening the X display
9966 # on Irix 5.2, according to dickey@clark.net.
9967 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9968 echo "configure:9969: checking for gethostbyname" >&5
9969 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9970 echo $ac_n "(cached) $ac_c" 1>&6
9972 cat > conftest.
$ac_ext <<EOF
9973 #line 9974 "configure"
9974 #include "confdefs.h"
9975 /* System header to define __stub macros and hopefully few prototypes,
9976 which can conflict with char gethostbyname(); below. */
9978 /* Override any gcc2 internal prototype to avoid an error. */
9979 /* We use char because int might match the return type of a gcc2
9980 builtin and then its argument prototype would still apply. */
9981 char gethostbyname();
9985 /* The GNU C library defines this for functions which it implements
9986 to always fail with ENOSYS. Some functions are actually named
9987 something starting with __ and the normal name is an alias. */
9988 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9996 if { (eval echo configure
:9997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9998 eval "ac_cv_func_gethostbyname=yes"
10000 echo "configure: failed program was:" >&5
10001 cat conftest.
$ac_ext >&5
10003 eval "ac_cv_func_gethostbyname=no"
10008 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10009 echo "$ac_t""yes" 1>&6
10012 echo "$ac_t""no" 1>&6
10015 if test $ac_cv_func_gethostbyname = no
; then
10016 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10017 echo "configure:10018: checking for gethostbyname in -lnsl" >&5
10018 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10020 echo $ac_n "(cached) $ac_c" 1>&6
10022 ac_save_LIBS
="$LIBS"
10024 cat > conftest.
$ac_ext <<EOF
10025 #line 10026 "configure"
10026 #include "confdefs.h"
10027 /* Override any gcc2 internal prototype to avoid an error. */
10028 /* We use char because int might match the return type of a gcc2
10029 builtin and then its argument prototype would still apply. */
10030 char gethostbyname();
10036 if { (eval echo configure
:10037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10038 eval "ac_cv_lib_$ac_lib_var=yes"
10040 echo "configure: failed program was:" >&5
10041 cat conftest.
$ac_ext >&5
10043 eval "ac_cv_lib_$ac_lib_var=no"
10046 LIBS
="$ac_save_LIBS"
10049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10050 echo "$ac_t""yes" 1>&6
10051 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10053 echo "$ac_t""no" 1>&6
10058 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10059 # socket/setsockopt and other routines are undefined under SCO ODT
10060 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10061 # on later versions), says simon@lia.di.epfl.ch: it contains
10062 # gethostby* variants that don't use the nameserver (or something).
10063 # -lsocket must be given before -lnsl if both are needed.
10064 # We assume that if connect needs -lnsl, so does gethostbyname.
10065 echo $ac_n "checking for connect""... $ac_c" 1>&6
10066 echo "configure:10067: checking for connect" >&5
10067 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10068 echo $ac_n "(cached) $ac_c" 1>&6
10070 cat > conftest.
$ac_ext <<EOF
10071 #line 10072 "configure"
10072 #include "confdefs.h"
10073 /* System header to define __stub macros and hopefully few prototypes,
10074 which can conflict with char connect(); below. */
10075 #include <assert.h>
10076 /* Override any gcc2 internal prototype to avoid an error. */
10077 /* We use char because int might match the return type of a gcc2
10078 builtin and then its argument prototype would still apply. */
10083 /* The GNU C library defines this for functions which it implements
10084 to always fail with ENOSYS. Some functions are actually named
10085 something starting with __ and the normal name is an alias. */
10086 #if defined (__stub_connect) || defined (__stub___connect)
10094 if { (eval echo configure
:10095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10096 eval "ac_cv_func_connect=yes"
10098 echo "configure: failed program was:" >&5
10099 cat conftest.
$ac_ext >&5
10101 eval "ac_cv_func_connect=no"
10106 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10107 echo "$ac_t""yes" 1>&6
10110 echo "$ac_t""no" 1>&6
10113 if test $ac_cv_func_connect = no
; then
10114 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10115 echo "configure:10116: checking for connect in -lsocket" >&5
10116 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10117 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10118 echo $ac_n "(cached) $ac_c" 1>&6
10120 ac_save_LIBS
="$LIBS"
10121 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10122 cat > conftest.
$ac_ext <<EOF
10123 #line 10124 "configure"
10124 #include "confdefs.h"
10125 /* Override any gcc2 internal prototype to avoid an error. */
10126 /* We use char because int might match the return type of a gcc2
10127 builtin and then its argument prototype would still apply. */
10134 if { (eval echo configure
:10135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10136 eval "ac_cv_lib_$ac_lib_var=yes"
10138 echo "configure: failed program was:" >&5
10139 cat conftest.
$ac_ext >&5
10141 eval "ac_cv_lib_$ac_lib_var=no"
10144 LIBS
="$ac_save_LIBS"
10147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10148 echo "$ac_t""yes" 1>&6
10149 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10151 echo "$ac_t""no" 1>&6
10156 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10157 echo $ac_n "checking for remove""... $ac_c" 1>&6
10158 echo "configure:10159: checking for remove" >&5
10159 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10160 echo $ac_n "(cached) $ac_c" 1>&6
10162 cat > conftest.
$ac_ext <<EOF
10163 #line 10164 "configure"
10164 #include "confdefs.h"
10165 /* System header to define __stub macros and hopefully few prototypes,
10166 which can conflict with char remove(); below. */
10167 #include <assert.h>
10168 /* Override any gcc2 internal prototype to avoid an error. */
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10175 /* The GNU C library defines this for functions which it implements
10176 to always fail with ENOSYS. Some functions are actually named
10177 something starting with __ and the normal name is an alias. */
10178 #if defined (__stub_remove) || defined (__stub___remove)
10186 if { (eval echo configure
:10187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10188 eval "ac_cv_func_remove=yes"
10190 echo "configure: failed program was:" >&5
10191 cat conftest.
$ac_ext >&5
10193 eval "ac_cv_func_remove=no"
10198 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10199 echo "$ac_t""yes" 1>&6
10202 echo "$ac_t""no" 1>&6
10205 if test $ac_cv_func_remove = no
; then
10206 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10207 echo "configure:10208: checking for remove in -lposix" >&5
10208 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10209 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10210 echo $ac_n "(cached) $ac_c" 1>&6
10212 ac_save_LIBS
="$LIBS"
10213 LIBS
="-lposix $LIBS"
10214 cat > conftest.
$ac_ext <<EOF
10215 #line 10216 "configure"
10216 #include "confdefs.h"
10217 /* Override any gcc2 internal prototype to avoid an error. */
10218 /* We use char because int might match the return type of a gcc2
10219 builtin and then its argument prototype would still apply. */
10226 if { (eval echo configure
:10227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10228 eval "ac_cv_lib_$ac_lib_var=yes"
10230 echo "configure: failed program was:" >&5
10231 cat conftest.
$ac_ext >&5
10233 eval "ac_cv_lib_$ac_lib_var=no"
10236 LIBS
="$ac_save_LIBS"
10239 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10240 echo "$ac_t""yes" 1>&6
10241 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10243 echo "$ac_t""no" 1>&6
10248 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10249 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10250 echo "configure:10251: checking for shmat" >&5
10251 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10252 echo $ac_n "(cached) $ac_c" 1>&6
10254 cat > conftest.
$ac_ext <<EOF
10255 #line 10256 "configure"
10256 #include "confdefs.h"
10257 /* System header to define __stub macros and hopefully few prototypes,
10258 which can conflict with char shmat(); below. */
10259 #include <assert.h>
10260 /* Override any gcc2 internal prototype to avoid an error. */
10261 /* We use char because int might match the return type of a gcc2
10262 builtin and then its argument prototype would still apply. */
10267 /* The GNU C library defines this for functions which it implements
10268 to always fail with ENOSYS. Some functions are actually named
10269 something starting with __ and the normal name is an alias. */
10270 #if defined (__stub_shmat) || defined (__stub___shmat)
10278 if { (eval echo configure
:10279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10280 eval "ac_cv_func_shmat=yes"
10282 echo "configure: failed program was:" >&5
10283 cat conftest.
$ac_ext >&5
10285 eval "ac_cv_func_shmat=no"
10290 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10291 echo "$ac_t""yes" 1>&6
10294 echo "$ac_t""no" 1>&6
10297 if test $ac_cv_func_shmat = no
; then
10298 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10299 echo "configure:10300: checking for shmat in -lipc" >&5
10300 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10302 echo $ac_n "(cached) $ac_c" 1>&6
10304 ac_save_LIBS
="$LIBS"
10306 cat > conftest.
$ac_ext <<EOF
10307 #line 10308 "configure"
10308 #include "confdefs.h"
10309 /* Override any gcc2 internal prototype to avoid an error. */
10310 /* We use char because int might match the return type of a gcc2
10311 builtin and then its argument prototype would still apply. */
10318 if { (eval echo configure
:10319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10320 eval "ac_cv_lib_$ac_lib_var=yes"
10322 echo "configure: failed program was:" >&5
10323 cat conftest.
$ac_ext >&5
10325 eval "ac_cv_lib_$ac_lib_var=no"
10328 LIBS
="$ac_save_LIBS"
10331 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10332 echo "$ac_t""yes" 1>&6
10333 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10335 echo "$ac_t""no" 1>&6
10341 # Check for libraries that X11R6 Xt/Xaw programs need.
10342 ac_save_LDFLAGS
="$LDFLAGS"
10343 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10344 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10345 # check for ICE first), but we must link in the order -lSM -lICE or
10346 # we get undefined symbols. So assume we have SM if we have ICE.
10347 # These have to be linked with before -lX11, unlike the other
10348 # libraries we check for below, so use a different variable.
10349 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10350 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10351 echo "configure:10352: checking for IceConnectionNumber in -lICE" >&5
10352 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10354 echo $ac_n "(cached) $ac_c" 1>&6
10356 ac_save_LIBS
="$LIBS"
10357 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10358 cat > conftest.
$ac_ext <<EOF
10359 #line 10360 "configure"
10360 #include "confdefs.h"
10361 /* Override any gcc2 internal prototype to avoid an error. */
10362 /* We use char because int might match the return type of a gcc2
10363 builtin and then its argument prototype would still apply. */
10364 char IceConnectionNumber();
10367 IceConnectionNumber()
10370 if { (eval echo configure
:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10372 eval "ac_cv_lib_$ac_lib_var=yes"
10374 echo "configure: failed program was:" >&5
10375 cat conftest.
$ac_ext >&5
10377 eval "ac_cv_lib_$ac_lib_var=no"
10380 LIBS
="$ac_save_LIBS"
10383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10384 echo "$ac_t""yes" 1>&6
10385 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10387 echo "$ac_t""no" 1>&6
10390 LDFLAGS
="$ac_save_LDFLAGS"
10394 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10395 LDFLAGS
="$LDFLAGS $X_LIBS"
10397 if test "$wxUSE_MOTIF" = 1; then
10398 if test "$no_x" = "yes"; then
10399 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10402 GUI_TK_LIBRARY
="$X_LIBS"
10403 TOOLKIT_INCLUDE
="$X_CFLAGS"
10405 AFMINSTALL
=afminstall
10408 COMPILED_X_PROGRAM
=0
10410 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10411 echo "configure:10412: checking for Motif/Lesstif headers" >&5
10414 for ac_dir
in $SEARCH_INCLUDE;
10416 if test -f "$ac_dir/Xm/Xm.h"; then
10417 ac_find_includes
=$ac_dir
10422 if test "$ac_find_includes" != "" ; then
10423 echo "$ac_t""found $ac_find_includes" 1>&6
10425 cat > conftest.
$ac_ext <<EOF
10426 #line 10427 "configure"
10427 #include "confdefs.h"
10435 version = xmUseVersion;
10439 if { (eval echo configure
:10440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10442 echo "$ac_t""found in default search path" 1>&6
10443 COMPILED_X_PROGRAM
=1
10446 echo "configure: failed program was:" >&5
10447 cat conftest.
$ac_ext >&5
10450 echo "$ac_t""no" 1>&6
10451 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10458 if test "$COMPILED_X_PROGRAM" = 0; then
10459 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10460 echo "configure:10461: checking for Motif/Lesstif library" >&5
10463 for ac_dir
in $SEARCH_LIB;
10465 for ac_extension
in a so sl dylib
; do
10466 if test -f "$ac_dir/libXm.$ac_extension"; then
10467 ac_find_libraries
=$ac_dir
10473 if test "$ac_find_libraries" != "" ; then
10475 ac_path_to_include
=$ac_find_includes
10476 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10478 if test $result = 0; then
10479 ac_path_to_include
=""
10481 ac_path_to_include
="-I$ac_find_includes"
10485 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10487 if test $result = 0; then
10490 ac_path_to_link
="-L$ac_find_libraries"
10494 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10495 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10496 echo "$ac_t""found at $ac_find_libraries" 1>&6
10498 cat > conftest.
$ac_ext <<EOF
10499 #line 10500 "configure"
10500 #include "confdefs.h"
10508 version = xmUseVersion;
10512 if { (eval echo configure
:10513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10515 echo "$ac_t""found in default search path" 1>&6
10516 COMPILED_X_PROGRAM
=1
10519 echo "configure: failed program was:" >&5
10520 cat conftest.
$ac_ext >&5
10523 echo "$ac_t""no" 1>&6
10524 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10534 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10535 echo "configure:10536: checking for Xpm library" >&5
10538 for ac_dir
in $SEARCH_LIB;
10540 for ac_extension
in a so sl dylib
; do
10541 if test -f "$ac_dir/libXpm.$ac_extension"; then
10542 ac_find_libraries
=$ac_dir
10548 if test "$ac_find_libraries" != "" ; then
10550 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10552 if test $result = 0; then
10555 ac_path_to_link
="-L$ac_find_libraries"
10558 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10560 cat >> confdefs.h
<<\EOF
10561 #define wxHAVE_LIB_XPM 1
10564 echo "$ac_t""found at $ac_find_libraries" 1>&6
10566 cat > conftest.
$ac_ext <<EOF
10567 #line 10568 "configure"
10568 #include "confdefs.h"
10570 #include <X11/xpm.h>
10576 version = XpmLibraryVersion();
10580 if { (eval echo configure
:10581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10584 cat >> confdefs.h
<<\EOF
10585 #define wxHAVE_LIB_XPM 1
10588 echo "$ac_t""found in default search path" 1>&6
10589 COMPILED_X_PROGRAM
=0
10592 echo "configure: failed program was:" >&5
10593 cat conftest.
$ac_ext >&5
10596 echo "$ac_t""no" 1>&6
10597 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10604 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10605 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10610 if test "$wxUSE_MAC" = 1; then
10615 if test "$wxUSE_PM" = 1; then
10620 if test "$TOOLKIT" != "PM" ; then
10621 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10626 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10628 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10630 if test "$TOOLKIT_NAME" = "motif"; then
10631 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10634 if test "$wxUSE_UNIVERSAL" = "yes"; then
10635 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10636 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10637 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10640 SETUPH_DIR
="${TOOLKIT_DIR}"
10643 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10644 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10647 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10648 if test "$wxUSE_UNIVERSAL" = "yes"; then
10649 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10652 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10654 if test "$wxUSE_UNIVERSAL" = "yes"; then
10655 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10657 ALL_OBJECTS
="\$(GUIOBJS)"
10660 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10662 if test "$TOOLKIT" != "MSW"; then
10663 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10666 if test "$wxUSE_HTML" = "yes"; then
10667 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10670 if test "$TOOLKIT" != "MSW"; then
10671 if test "$wxUSE_ODBC" = "yes" ; then
10672 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10676 if test "x$REGEX_INCLUDE" != "x" ; then
10677 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10680 if test "$wxUSE_LIBJPEG" = "yes" ; then
10681 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10683 if test "$wxUSE_LIBTIFF" = "yes" ; then
10684 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10686 if test "$wxUSE_LIBPNG" = "yes" ; then
10687 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10689 if test "$wxUSE_ZLIB" = "yes" ; then
10690 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10692 if test "$wxUSE_FREETYPE" = "yes" ; then
10693 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10696 if test "$wxUSE_UNIVERSAL" = "yes"; then
10697 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10699 ALL_DEPFILES
="\$(GUIDEPS)"
10702 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10704 if test "$TOOLKIT" != "MSW"; then
10705 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10708 if test "$wxUSE_HTML" = "yes"; then
10709 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10712 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10713 if test "$wxUSE_UNIVERSAL" = "yes"; then
10714 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10716 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10717 RPM_SPEC
="wx\$(TOOLKIT).spec"
10719 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10720 DISTDIR
="wx\$(TOOLKIT)"
10728 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10729 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10731 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10734 TOOLKIT_DEF
="-D__WXBASE__"
10736 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10737 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10739 if test "x$REGEX_INCLUDE" != "x" ; then
10740 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10743 if test "$wxUSE_ZLIB" = "yes" ; then
10744 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10747 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10749 PORT_FILES
="\${top_srcdir}/src/files.lst"
10750 RPM_FILES
="src/rpmfiles.lst"
10751 RPM_SPEC
="wxBase.spec"
10753 GUIDIST
="BASE_DIST"
10757 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10758 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10760 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10761 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10763 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10764 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10766 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10767 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10768 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10769 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10770 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10771 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10777 BURNT_LIBRARY_NAME
=
10778 WX_TARGET_LIBRARY_SONAME
=
10781 if test "$wxUSE_SHARED" = "yes"; then
10784 if test "$GCC" = yes ; then
10785 SHARED_LD
="${CC} -shared -fPIC -o"
10788 LDFLAGS
="-L/usr/lib"
10790 SHARED_LD
="${CXX} -b -o"
10793 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10794 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10795 if test "$wxUSE_OPENGL" = "yes"; then
10796 WX_ALL_INSTALLED
="preinstall_gl"
10797 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10799 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10804 SHARED_LD
="${CC} -shared -o"
10806 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10807 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10808 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10809 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10811 if test "$wxUSE_OPENGL" = "yes"; then
10812 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10813 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10815 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10816 WX_ALL
="CREATE_LINKS"
10819 *-*-irix5* | *-*-irix6* )
10820 if test "$GCC" = yes ; then
10821 SHARED_LD
="${CC} -shared -o"
10824 SHARED_LD
="${CXX} -shared -o"
10826 if test "$wxUSE_OPENGL" = "yes"; then
10827 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10828 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10830 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10831 WX_ALL
="CREATE_LINKS"
10835 if test "$GCC" = yes ; then
10836 SHARED_LD
="${CC} -shared -o"
10839 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10841 SHARED_LD
="${CXX} -G -o"
10844 if test "$wxUSE_OPENGL" = "yes"; then
10845 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10846 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10848 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10849 WX_ALL
="CREATE_LINKS"
10853 SHARED_LD
="${CC} -shared -o"
10855 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10856 WX_ALL
="CREATE_LINKS"
10858 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10859 SHARED_LD
="${CC} -shared -o"
10861 if test "$wxUSE_OPENGL" = "yes"; then
10862 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10863 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10865 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10866 WX_ALL
="CREATE_LINKS"
10870 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
10871 CFLAGS
="${CFLAGS} -fno-common"
10872 CPPFLAGS
="${CPPFLAGS} -fno-common"
10873 SHARED_LD
="${CXX} -dynamiclib -o"
10874 PIC_FLAG
="-dynamic -fPIC"
10875 if test "$wxUSE_OPENGL" = "yes"; then
10876 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10877 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10879 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10880 WX_ALL
="CREATE_LINKS"
10882 if test "$wxUSE_MAC" = 1 ; then
10883 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10885 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10886 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10887 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10888 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10889 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10890 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10891 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10892 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10895 SHARED_LD
="${CXX} -shared -o"
10897 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10898 WX_ALL
="CREATE_LINKS"
10901 SHARED_LD
="${CXX} -shared -o"
10903 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10904 WX_ALL
="CREATE_LINKS"
10907 SHARED_LD
="${CC} -shared -o"
10909 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10910 WX_ALL
="CREATE_LINKS"
10913 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10914 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10917 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10918 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10919 if test "$wxUSE_OPENGL" = "yes"; then
10920 WX_ALL_INSTALLED
="preinstall_gl"
10921 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10923 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10927 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10928 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10929 if test "$wxUSE_OPENGL" = "yes"; then
10930 WX_ALL_INSTALLED
="preinstall_gl"
10931 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10933 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10937 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10938 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10941 SHARED_LD
="${LD} -shared -o"
10943 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10944 WX_ALL
="CREATE_LINKS"
10947 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10950 if test "x$WX_TARGET_LIBRARY" = "x"; then
10951 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10952 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10954 WX_TARGET_LIBRARY_TYPE
="so"
10956 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10957 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10959 if test "$wxUSE_OPENGL" = "yes"; then
10960 WX_ALL_INSTALLED
="preinstall_gl"
10961 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10963 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10966 if test "$wxUSE_GUI" = "no"; then
10967 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10970 WX_TARGET_LIBRARY_TYPE
="a"
10974 for ac_hdr
in strings.h
10976 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10977 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10978 echo "configure:10979: checking for $ac_hdr" >&5
10979 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10980 echo $ac_n "(cached) $ac_c" 1>&6
10982 cat > conftest.
$ac_ext <<EOF
10983 #line 10984 "configure"
10984 #include "confdefs.h"
10987 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10988 { (eval echo configure
:10989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10989 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10990 if test -z "$ac_err"; then
10992 eval "ac_cv_header_$ac_safe=yes"
10995 echo "configure: failed program was:" >&5
10996 cat conftest.
$ac_ext >&5
10998 eval "ac_cv_header_$ac_safe=no"
11002 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11003 echo "$ac_t""yes" 1>&6
11004 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11005 cat >> confdefs.h
<<EOF
11006 #define $ac_tr_hdr 1
11010 echo "$ac_t""no" 1>&6
11014 for ac_hdr
in stdlib.h
11016 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11017 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11018 echo "configure:11019: checking for $ac_hdr" >&5
11019 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11020 echo $ac_n "(cached) $ac_c" 1>&6
11022 cat > conftest.
$ac_ext <<EOF
11023 #line 11024 "configure"
11024 #include "confdefs.h"
11027 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11028 { (eval echo configure
:11029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11029 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11030 if test -z "$ac_err"; then
11032 eval "ac_cv_header_$ac_safe=yes"
11035 echo "configure: failed program was:" >&5
11036 cat conftest.
$ac_ext >&5
11038 eval "ac_cv_header_$ac_safe=no"
11042 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11043 echo "$ac_t""yes" 1>&6
11044 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11045 cat >> confdefs.h
<<EOF
11046 #define $ac_tr_hdr 1
11050 echo "$ac_t""no" 1>&6
11054 for ac_hdr
in unistd.h
11056 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11057 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11058 echo "configure:11059: checking for $ac_hdr" >&5
11059 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11060 echo $ac_n "(cached) $ac_c" 1>&6
11062 cat > conftest.
$ac_ext <<EOF
11063 #line 11064 "configure"
11064 #include "confdefs.h"
11067 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11068 { (eval echo configure
:11069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11069 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11070 if test -z "$ac_err"; then
11072 eval "ac_cv_header_$ac_safe=yes"
11075 echo "configure: failed program was:" >&5
11076 cat conftest.
$ac_ext >&5
11078 eval "ac_cv_header_$ac_safe=no"
11082 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11083 echo "$ac_t""yes" 1>&6
11084 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11085 cat >> confdefs.h
<<EOF
11086 #define $ac_tr_hdr 1
11090 echo "$ac_t""no" 1>&6
11094 for ac_hdr
in wchar.h
11096 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11097 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11098 echo "configure:11099: checking for $ac_hdr" >&5
11099 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11100 echo $ac_n "(cached) $ac_c" 1>&6
11102 cat > conftest.
$ac_ext <<EOF
11103 #line 11104 "configure"
11104 #include "confdefs.h"
11107 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11108 { (eval echo configure
:11109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11109 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11110 if test -z "$ac_err"; then
11112 eval "ac_cv_header_$ac_safe=yes"
11115 echo "configure: failed program was:" >&5
11116 cat conftest.
$ac_ext >&5
11118 eval "ac_cv_header_$ac_safe=no"
11122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11123 echo "$ac_t""yes" 1>&6
11124 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11125 cat >> confdefs.h
<<EOF
11126 #define $ac_tr_hdr 1
11130 echo "$ac_t""no" 1>&6
11134 for ac_hdr
in wcstr.h
11136 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11137 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11138 echo "configure:11139: checking for $ac_hdr" >&5
11139 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11140 echo $ac_n "(cached) $ac_c" 1>&6
11142 cat > conftest.
$ac_ext <<EOF
11143 #line 11144 "configure"
11144 #include "confdefs.h"
11147 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11148 { (eval echo configure
:11149: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11149 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11150 if test -z "$ac_err"; then
11152 eval "ac_cv_header_$ac_safe=yes"
11155 echo "configure: failed program was:" >&5
11156 cat conftest.
$ac_ext >&5
11158 eval "ac_cv_header_$ac_safe=no"
11162 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11163 echo "$ac_t""yes" 1>&6
11164 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11165 cat >> confdefs.h
<<EOF
11166 #define $ac_tr_hdr 1
11170 echo "$ac_t""no" 1>&6
11174 for ac_hdr
in fnmatch.h
11176 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11177 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11178 echo "configure:11179: checking for $ac_hdr" >&5
11179 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11180 echo $ac_n "(cached) $ac_c" 1>&6
11182 cat > conftest.
$ac_ext <<EOF
11183 #line 11184 "configure"
11184 #include "confdefs.h"
11187 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11188 { (eval echo configure
:11189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11189 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11190 if test -z "$ac_err"; then
11192 eval "ac_cv_header_$ac_safe=yes"
11195 echo "configure: failed program was:" >&5
11196 cat conftest.
$ac_ext >&5
11198 eval "ac_cv_header_$ac_safe=no"
11202 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11203 echo "$ac_t""yes" 1>&6
11204 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11205 cat >> confdefs.h
<<EOF
11206 #define $ac_tr_hdr 1
11210 echo "$ac_t""no" 1>&6
11214 for ac_hdr
in iconv.h
11216 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11217 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11218 echo "configure:11219: checking for $ac_hdr" >&5
11219 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11220 echo $ac_n "(cached) $ac_c" 1>&6
11222 cat > conftest.
$ac_ext <<EOF
11223 #line 11224 "configure"
11224 #include "confdefs.h"
11227 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11228 { (eval echo configure
:11229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11229 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11230 if test -z "$ac_err"; then
11232 eval "ac_cv_header_$ac_safe=yes"
11235 echo "configure: failed program was:" >&5
11236 cat conftest.
$ac_ext >&5
11238 eval "ac_cv_header_$ac_safe=no"
11242 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11243 echo "$ac_t""yes" 1>&6
11244 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11245 cat >> confdefs.h
<<EOF
11246 #define $ac_tr_hdr 1
11250 echo "$ac_t""no" 1>&6
11254 for ac_hdr
in langinfo.h
11256 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11257 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11258 echo "configure:11259: checking for $ac_hdr" >&5
11259 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11260 echo $ac_n "(cached) $ac_c" 1>&6
11262 cat > conftest.
$ac_ext <<EOF
11263 #line 11264 "configure"
11264 #include "confdefs.h"
11267 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11268 { (eval echo configure
:11269: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11269 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11270 if test -z "$ac_err"; then
11272 eval "ac_cv_header_$ac_safe=yes"
11275 echo "configure: failed program was:" >&5
11276 cat conftest.
$ac_ext >&5
11278 eval "ac_cv_header_$ac_safe=no"
11282 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11283 echo "$ac_t""yes" 1>&6
11284 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11285 cat >> confdefs.h
<<EOF
11286 #define $ac_tr_hdr 1
11290 echo "$ac_t""no" 1>&6
11295 if test "$wxUSE_GUI" = "yes"; then
11296 if test "$wxUSE_UNIX" = "yes"; then
11297 for ac_hdr
in X
11/XKBlib.h
11299 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11300 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11301 echo "configure:11302: checking for $ac_hdr" >&5
11302 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11303 echo $ac_n "(cached) $ac_c" 1>&6
11305 cat > conftest.
$ac_ext <<EOF
11306 #line 11307 "configure"
11307 #include "confdefs.h"
11310 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11311 { (eval echo configure
:11312: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11312 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11313 if test -z "$ac_err"; then
11315 eval "ac_cv_header_$ac_safe=yes"
11318 echo "configure: failed program was:" >&5
11319 cat conftest.
$ac_ext >&5
11321 eval "ac_cv_header_$ac_safe=no"
11325 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11326 echo "$ac_t""yes" 1>&6
11327 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11328 cat >> confdefs.h
<<EOF
11329 #define $ac_tr_hdr 1
11333 echo "$ac_t""no" 1>&6
11340 if test "$USE_WIN32" = 1; then
11341 for ac_hdr
in w32api.h
11343 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11344 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11345 echo "configure:11346: checking for $ac_hdr" >&5
11346 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11347 echo $ac_n "(cached) $ac_c" 1>&6
11349 cat > conftest.
$ac_ext <<EOF
11350 #line 11351 "configure"
11351 #include "confdefs.h"
11354 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11355 { (eval echo configure
:11356: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11356 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11357 if test -z "$ac_err"; then
11359 eval "ac_cv_header_$ac_safe=yes"
11362 echo "configure: failed program was:" >&5
11363 cat conftest.
$ac_ext >&5
11365 eval "ac_cv_header_$ac_safe=no"
11369 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11370 echo "$ac_t""yes" 1>&6
11371 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11372 cat >> confdefs.h
<<EOF
11373 #define $ac_tr_hdr 1
11377 echo "$ac_t""no" 1>&6
11384 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11385 echo "configure:11386: checking for ANSI C header files" >&5
11386 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11387 echo $ac_n "(cached) $ac_c" 1>&6
11389 cat > conftest.
$ac_ext <<EOF
11390 #line 11391 "configure"
11391 #include "confdefs.h"
11392 #include <stdlib.h>
11393 #include <stdarg.h>
11394 #include <string.h>
11397 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11398 { (eval echo configure
:11399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11399 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11400 if test -z "$ac_err"; then
11402 ac_cv_header_stdc
=yes
11405 echo "configure: failed program was:" >&5
11406 cat conftest.
$ac_ext >&5
11408 ac_cv_header_stdc
=no
11412 if test $ac_cv_header_stdc = yes; then
11413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11414 cat > conftest.
$ac_ext <<EOF
11415 #line 11416 "configure"
11416 #include "confdefs.h"
11417 #include <string.h>
11419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11420 egrep "memchr" >/dev
/null
2>&1; then
11424 ac_cv_header_stdc
=no
11430 if test $ac_cv_header_stdc = yes; then
11431 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11432 cat > conftest.
$ac_ext <<EOF
11433 #line 11434 "configure"
11434 #include "confdefs.h"
11435 #include <stdlib.h>
11437 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11438 egrep "free" >/dev
/null
2>&1; then
11442 ac_cv_header_stdc
=no
11448 if test $ac_cv_header_stdc = yes; then
11449 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11450 if test "$cross_compiling" = yes; then
11453 cat > conftest.
$ac_ext <<EOF
11454 #line 11455 "configure"
11455 #include "confdefs.h"
11457 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11458 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11459 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11460 int main () { int i; for (i = 0; i < 256; i++)
11461 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11465 if { (eval echo configure
:11466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11469 echo "configure: failed program was:" >&5
11470 cat conftest.
$ac_ext >&5
11472 ac_cv_header_stdc
=no
11480 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11481 if test $ac_cv_header_stdc = yes; then
11482 cat >> confdefs.h
<<\EOF
11483 #define STDC_HEADERS 1
11488 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11489 echo "configure:11490: checking for mode_t" >&5
11490 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11491 echo $ac_n "(cached) $ac_c" 1>&6
11493 cat > conftest.
$ac_ext <<EOF
11494 #line 11495 "configure"
11495 #include "confdefs.h"
11496 #include <sys/types.h>
11498 #include <stdlib.h>
11499 #include <stddef.h>
11502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11503 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11505 ac_cv_type_mode_t
=yes
11508 ac_cv_type_mode_t
=no
11513 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11514 if test $ac_cv_type_mode_t = no
; then
11515 cat >> confdefs.h
<<\EOF
11521 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11522 echo "configure:11523: checking for off_t" >&5
11523 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11524 echo $ac_n "(cached) $ac_c" 1>&6
11526 cat > conftest.
$ac_ext <<EOF
11527 #line 11528 "configure"
11528 #include "confdefs.h"
11529 #include <sys/types.h>
11531 #include <stdlib.h>
11532 #include <stddef.h>
11535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11536 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11538 ac_cv_type_off_t
=yes
11541 ac_cv_type_off_t
=no
11546 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11547 if test $ac_cv_type_off_t = no
; then
11548 cat >> confdefs.h
<<\EOF
11554 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11555 echo "configure:11556: checking for pid_t" >&5
11556 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11557 echo $ac_n "(cached) $ac_c" 1>&6
11559 cat > conftest.
$ac_ext <<EOF
11560 #line 11561 "configure"
11561 #include "confdefs.h"
11562 #include <sys/types.h>
11564 #include <stdlib.h>
11565 #include <stddef.h>
11568 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11569 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11571 ac_cv_type_pid_t
=yes
11574 ac_cv_type_pid_t
=no
11579 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11580 if test $ac_cv_type_pid_t = no
; then
11581 cat >> confdefs.h
<<\EOF
11587 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11588 echo "configure:11589: checking for size_t" >&5
11589 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11590 echo $ac_n "(cached) $ac_c" 1>&6
11592 cat > conftest.
$ac_ext <<EOF
11593 #line 11594 "configure"
11594 #include "confdefs.h"
11595 #include <sys/types.h>
11597 #include <stdlib.h>
11598 #include <stddef.h>
11601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11602 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11604 ac_cv_type_size_t
=yes
11607 ac_cv_type_size_t
=no
11612 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11613 if test $ac_cv_type_size_t = no
; then
11614 cat >> confdefs.h
<<\EOF
11615 #define size_t unsigned
11620 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11621 echo "configure:11622: checking for uid_t in sys/types.h" >&5
11622 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11623 echo $ac_n "(cached) $ac_c" 1>&6
11625 cat > conftest.
$ac_ext <<EOF
11626 #line 11627 "configure"
11627 #include "confdefs.h"
11628 #include <sys/types.h>
11630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11631 egrep "uid_t" >/dev
/null
2>&1; then
11633 ac_cv_type_uid_t
=yes
11636 ac_cv_type_uid_t
=no
11642 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11643 if test $ac_cv_type_uid_t = no
; then
11644 cat >> confdefs.h
<<\EOF
11648 cat >> confdefs.h
<<\EOF
11655 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11656 echo "configure:11657: checking for wchar_t" >&5
11657 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11658 echo $ac_n "(cached) $ac_c" 1>&6
11661 cat > conftest.
$ac_ext <<EOF
11662 #line 11663 "configure"
11663 #include "confdefs.h"
11669 ws = L"Hello, world!";
11673 if { (eval echo configure
:11674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11675 wx_cv_type_wchar_t
=yes
11677 echo "configure: failed program was:" >&5
11678 cat conftest.
$ac_ext >&5
11680 cat > conftest.
$ac_ext <<EOF
11681 #line 11682 "configure"
11682 #include "confdefs.h"
11683 #include <stdlib.h>
11688 ws = L"Hello, world!";
11692 if { (eval echo configure
:11693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11694 wx_cv_type_wchar_t
=yes
11696 echo "configure: failed program was:" >&5
11697 cat conftest.
$ac_ext >&5
11699 wx_cv_type_wchar_t
=no
11708 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11710 if test "$wx_cv_type_wchar_t" = "yes"; then
11711 cat >> confdefs.h
<<\EOF
11712 #define wxUSE_WCHAR_T 1
11719 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11720 ac_cpp
='$CXXCPP $CPPFLAGS'
11721 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11722 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11723 cross_compiling
=$ac_cv_prog_cxx_cross
11725 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11726 echo "configure:11727: checking if size_t is unsigned int" >&5
11727 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11728 echo $ac_n "(cached) $ac_c" 1>&6
11730 cat > conftest.
$ac_ext <<EOF
11731 #line 11732 "configure"
11732 #include "confdefs.h"
11733 #include <stddef.h>
11738 struct Foo { void foo(size_t); void foo(unsigned int); };
11744 if { (eval echo configure
:11745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11746 wx_cv_size_t_is_uint
=no
11748 echo "configure: failed program was:" >&5
11749 cat conftest.
$ac_ext >&5
11751 wx_cv_size_t_is_uint
=yes
11758 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11760 if test "$wx_cv_size_t_is_uint" = "yes"; then
11761 cat >> confdefs.h
<<\EOF
11762 #define wxSIZE_T_IS_UINT 1
11766 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11767 echo "configure:11768: checking if size_t is unsigned long" >&5
11768 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11769 echo $ac_n "(cached) $ac_c" 1>&6
11771 cat > conftest.
$ac_ext <<EOF
11772 #line 11773 "configure"
11773 #include "confdefs.h"
11774 #include <stddef.h>
11779 struct Foo { void foo(size_t); void foo(unsigned long); };
11785 if { (eval echo configure
:11786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11787 wx_cv_size_t_is_ulong
=no
11789 echo "configure: failed program was:" >&5
11790 cat conftest.
$ac_ext >&5
11792 wx_cv_size_t_is_ulong
=yes
11799 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11801 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11802 cat >> confdefs.h
<<\EOF
11803 #define wxSIZE_T_IS_ULONG 1
11810 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11811 ac_cpp
='$CPP $CPPFLAGS'
11812 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11813 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11814 cross_compiling
=$ac_cv_prog_cc_cross
11818 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11819 echo "configure:11820: checking for pw_gecos in struct passwd" >&5
11820 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11821 echo $ac_n "(cached) $ac_c" 1>&6
11824 cat > conftest.
$ac_ext <<EOF
11825 #line 11826 "configure"
11826 #include "confdefs.h"
11836 if { (eval echo configure
:11837: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11839 wx_cv_struct_pw_gecos
=yes
11842 echo "configure: failed program was:" >&5
11843 cat conftest.
$ac_ext >&5
11846 wx_cv_struct_pw_gecos
=no
11855 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11857 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11858 cat >> confdefs.h
<<\EOF
11859 #define HAVE_PW_GECOS 1
11865 echo $ac_n "checking for working const""... $ac_c" 1>&6
11866 echo "configure:11867: checking for working const" >&5
11867 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11868 echo $ac_n "(cached) $ac_c" 1>&6
11870 cat > conftest.
$ac_ext <<EOF
11871 #line 11872 "configure"
11872 #include "confdefs.h"
11876 /* Ultrix mips cc rejects this. */
11877 typedef int charset[2]; const charset x;
11878 /* SunOS 4.1.1 cc rejects this. */
11879 char const *const *ccp;
11881 /* NEC SVR4.0.2 mips cc rejects this. */
11882 struct point {int x, y;};
11883 static struct point const zero = {0,0};
11884 /* AIX XL C 1.02.0.0 rejects this.
11885 It does not let you subtract one const X* pointer from another in an arm
11886 of an if-expression whose if-part is not a constant expression */
11887 const char *g = "string";
11888 ccp = &g + (g ? g-g : 0);
11889 /* HPUX 7.0 cc rejects these. */
11892 ccp = (char const *const *) p;
11893 { /* SCO 3.2v4 cc rejects this. */
11895 char const *s = 0 ? (char *) 0 : (char const *) 0;
11899 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11900 int x[] = {25, 17};
11901 const int *foo = &x[0];
11904 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11905 typedef const int *iptr;
11909 { /* AIX XL C 1.02.0.0 rejects this saying
11910 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11911 struct s { int j; const int *ap[3]; };
11912 struct s *b; b->j = 5;
11914 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11915 const int foo = 10;
11920 if { (eval echo configure
:11921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11924 echo "configure: failed program was:" >&5
11925 cat conftest.
$ac_ext >&5
11932 echo "$ac_t""$ac_cv_c_const" 1>&6
11933 if test $ac_cv_c_const = no
; then
11934 cat >> confdefs.h
<<\EOF
11940 echo $ac_n "checking for inline""... $ac_c" 1>&6
11941 echo "configure:11942: checking for inline" >&5
11942 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11946 for ac_kw
in inline __inline__ __inline
; do
11947 cat > conftest.
$ac_ext <<EOF
11948 #line 11949 "configure"
11949 #include "confdefs.h"
11955 if { (eval echo configure
:11956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11957 ac_cv_c_inline
=$ac_kw; break
11959 echo "configure: failed program was:" >&5
11960 cat conftest.
$ac_ext >&5
11967 echo "$ac_t""$ac_cv_c_inline" 1>&6
11968 case "$ac_cv_c_inline" in
11970 no
) cat >> confdefs.h
<<\EOF
11974 *) cat >> confdefs.h
<<EOF
11975 #define inline $ac_cv_c_inline
11981 echo $ac_n "checking size of char""... $ac_c" 1>&6
11982 echo "configure:11983: checking size of char" >&5
11983 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11984 echo $ac_n "(cached) $ac_c" 1>&6
11986 if test "$cross_compiling" = yes; then
11987 ac_cv_sizeof_char
=1
11989 cat > conftest.
$ac_ext <<EOF
11990 #line 11991 "configure"
11991 #include "confdefs.h"
11995 FILE *f=fopen("conftestval", "w");
11997 fprintf(f, "%d\n", sizeof(char));
12001 if { (eval echo configure
:12002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12003 ac_cv_sizeof_char
=`cat conftestval`
12005 echo "configure: failed program was:" >&5
12006 cat conftest.
$ac_ext >&5
12008 ac_cv_sizeof_char
=0
12014 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12015 cat >> confdefs.h
<<EOF
12016 #define SIZEOF_CHAR $ac_cv_sizeof_char
12020 echo $ac_n "checking size of short""... $ac_c" 1>&6
12021 echo "configure:12022: checking size of short" >&5
12022 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12023 echo $ac_n "(cached) $ac_c" 1>&6
12025 if test "$cross_compiling" = yes; then
12026 ac_cv_sizeof_short
=2
12028 cat > conftest.
$ac_ext <<EOF
12029 #line 12030 "configure"
12030 #include "confdefs.h"
12034 FILE *f=fopen("conftestval", "w");
12036 fprintf(f, "%d\n", sizeof(short));
12040 if { (eval echo configure
:12041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12042 ac_cv_sizeof_short
=`cat conftestval`
12044 echo "configure: failed program was:" >&5
12045 cat conftest.
$ac_ext >&5
12047 ac_cv_sizeof_short
=0
12053 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12054 cat >> confdefs.h
<<EOF
12055 #define SIZEOF_SHORT $ac_cv_sizeof_short
12059 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12060 echo "configure:12061: checking size of int *" >&5
12061 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12062 echo $ac_n "(cached) $ac_c" 1>&6
12064 if test "$cross_compiling" = yes; then
12065 ac_cv_sizeof_int_p
=4
12067 cat > conftest.
$ac_ext <<EOF
12068 #line 12069 "configure"
12069 #include "confdefs.h"
12073 FILE *f=fopen("conftestval", "w");
12075 fprintf(f, "%d\n", sizeof(int *));
12079 if { (eval echo configure
:12080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12081 ac_cv_sizeof_int_p
=`cat conftestval`
12083 echo "configure: failed program was:" >&5
12084 cat conftest.
$ac_ext >&5
12086 ac_cv_sizeof_int_p
=0
12092 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12093 cat >> confdefs.h
<<EOF
12094 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12098 echo $ac_n "checking size of int""... $ac_c" 1>&6
12099 echo "configure:12100: checking size of int" >&5
12100 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12101 echo $ac_n "(cached) $ac_c" 1>&6
12103 if test "$cross_compiling" = yes; then
12106 cat > conftest.
$ac_ext <<EOF
12107 #line 12108 "configure"
12108 #include "confdefs.h"
12112 FILE *f=fopen("conftestval", "w");
12114 fprintf(f, "%d\n", sizeof(int));
12118 if { (eval echo configure
:12119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12120 ac_cv_sizeof_int
=`cat conftestval`
12122 echo "configure: failed program was:" >&5
12123 cat conftest.
$ac_ext >&5
12131 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12132 cat >> confdefs.h
<<EOF
12133 #define SIZEOF_INT $ac_cv_sizeof_int
12137 echo $ac_n "checking size of long""... $ac_c" 1>&6
12138 echo "configure:12139: checking size of long" >&5
12139 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12140 echo $ac_n "(cached) $ac_c" 1>&6
12142 if test "$cross_compiling" = yes; then
12143 ac_cv_sizeof_long
=4
12145 cat > conftest.
$ac_ext <<EOF
12146 #line 12147 "configure"
12147 #include "confdefs.h"
12151 FILE *f=fopen("conftestval", "w");
12153 fprintf(f, "%d\n", sizeof(long));
12157 if { (eval echo configure
:12158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12159 ac_cv_sizeof_long
=`cat conftestval`
12161 echo "configure: failed program was:" >&5
12162 cat conftest.
$ac_ext >&5
12164 ac_cv_sizeof_long
=0
12170 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12171 cat >> confdefs.h
<<EOF
12172 #define SIZEOF_LONG $ac_cv_sizeof_long
12176 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12177 echo "configure:12178: checking size of long long" >&5
12178 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12179 echo $ac_n "(cached) $ac_c" 1>&6
12181 if test "$cross_compiling" = yes; then
12182 ac_cv_sizeof_long_long
=0
12184 cat > conftest.
$ac_ext <<EOF
12185 #line 12186 "configure"
12186 #include "confdefs.h"
12190 FILE *f=fopen("conftestval", "w");
12192 fprintf(f, "%d\n", sizeof(long long));
12196 if { (eval echo configure
:12197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12198 ac_cv_sizeof_long_long
=`cat conftestval`
12200 echo "configure: failed program was:" >&5
12201 cat conftest.
$ac_ext >&5
12203 ac_cv_sizeof_long_long
=0
12209 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12210 cat >> confdefs.h
<<EOF
12211 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12216 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12217 echo "configure:12218: checking size of wchar_t" >&5
12218 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12219 echo $ac_n "(cached) $ac_c" 1>&6
12222 if test "$cross_compiling" = yes; then
12223 wx_cv_sizeof_wchar_t
=4
12226 cat > conftest.
$ac_ext <<EOF
12227 #line 12228 "configure"
12228 #include "confdefs.h"
12230 #ifdef HAVE_WCHAR_H
12231 # include <wchar.h>
12233 #ifdef HAVE_STDLIB_H
12234 # include <stdlib.h>
12239 FILE *f=fopen("conftestval", "w");
12241 fprintf(f, "%i", sizeof(wchar_t));
12246 if { (eval echo configure
:12247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12248 wx_cv_sizeof_wchar_t
=`cat conftestval`
12250 echo "configure: failed program was:" >&5
12251 cat conftest.
$ac_ext >&5
12253 wx_cv_sizeof_wchar_t
=0
12261 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12263 cat >> confdefs.h
<<EOF
12264 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12268 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12269 echo "configure:12270: checking whether byte ordering is bigendian" >&5
12270 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12271 echo $ac_n "(cached) $ac_c" 1>&6
12273 ac_cv_c_bigendian
=unknown
12274 # See if sys/param.h defines the BYTE_ORDER macro.
12275 cat > conftest.
$ac_ext <<EOF
12276 #line 12277 "configure"
12277 #include "confdefs.h"
12278 #include <sys/types.h>
12279 #include <sys/param.h>
12282 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12283 bogus endian macros
12287 if { (eval echo configure
:12288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12289 # It does; now see whether it defined to BIG_ENDIAN or not.
12290 cat > conftest.
$ac_ext <<EOF
12291 #line 12292 "configure"
12292 #include "confdefs.h"
12293 #include <sys/types.h>
12294 #include <sys/param.h>
12297 #if BYTE_ORDER != BIG_ENDIAN
12302 if { (eval echo configure
:12303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12304 ac_cv_c_bigendian
=yes
12306 echo "configure: failed program was:" >&5
12307 cat conftest.
$ac_ext >&5
12309 ac_cv_c_bigendian
=no
12313 echo "configure: failed program was:" >&5
12314 cat conftest.
$ac_ext >&5
12317 if test $ac_cv_c_bigendian = unknown
; then
12318 if test "$cross_compiling" = yes; then
12319 ac_cv_c_bigendian
=unknown
12321 cat > conftest.
$ac_ext <<EOF
12322 #line 12323 "configure"
12323 #include "confdefs.h"
12325 /* Are we little or big endian? From Harbison&Steele. */
12329 char c[sizeof (long)];
12332 exit (u.c[sizeof (long) - 1] == 1);
12335 if { (eval echo configure
:12336: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12337 ac_cv_c_bigendian
=no
12339 echo "configure: failed program was:" >&5
12340 cat conftest.
$ac_ext >&5
12342 ac_cv_c_bigendian
=yes
12350 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12351 if test $ac_cv_c_bigendian = unknown
; then
12352 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
12354 if test $ac_cv_c_bigendian = yes; then
12355 cat >> confdefs.h
<<\EOF
12356 #define WORDS_BIGENDIAN 1
12363 if test "$cross_compiling" = "yes"; then
12364 cat >> confdefs.h
<<\EOF
12365 #define wxUSE_IOSTREAMH 1
12371 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12372 ac_cpp
='$CXXCPP $CPPFLAGS'
12373 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12374 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12375 cross_compiling
=$ac_cv_prog_cxx_cross
12378 for ac_hdr
in iostream
12380 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12381 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12382 echo "configure:12383: checking for $ac_hdr" >&5
12383 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12384 echo $ac_n "(cached) $ac_c" 1>&6
12386 cat > conftest.
$ac_ext <<EOF
12387 #line 12388 "configure"
12388 #include "confdefs.h"
12391 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12392 { (eval echo configure
:12393: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12393 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12394 if test -z "$ac_err"; then
12396 eval "ac_cv_header_$ac_safe=yes"
12399 echo "configure: failed program was:" >&5
12400 cat conftest.
$ac_ext >&5
12402 eval "ac_cv_header_$ac_safe=no"
12406 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12407 echo "$ac_t""yes" 1>&6
12408 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12409 cat >> confdefs.h
<<EOF
12410 #define $ac_tr_hdr 1
12414 echo "$ac_t""no" 1>&6
12419 if test "$ac_cv_header_iostream" = "yes" ; then
12422 cat >> confdefs.h
<<\EOF
12423 #define wxUSE_IOSTREAMH 1
12429 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12430 ac_cpp
='$CPP $CPPFLAGS'
12431 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12432 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12433 cross_compiling
=$ac_cv_prog_cc_cross
12439 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12440 echo "configure:12441: checking if C++ compiler supports bool" >&5
12441 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12442 echo $ac_n "(cached) $ac_c" 1>&6
12447 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12448 ac_cpp
='$CXXCPP $CPPFLAGS'
12449 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12450 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12451 cross_compiling
=$ac_cv_prog_cxx_cross
12454 cat > conftest.
$ac_ext <<EOF
12455 #line 12456 "configure"
12456 #include "confdefs.h"
12467 if { (eval echo configure
:12468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12473 echo "configure: failed program was:" >&5
12474 cat conftest.
$ac_ext >&5
12484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12485 ac_cpp
='$CPP $CPPFLAGS'
12486 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12487 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12488 cross_compiling
=$ac_cv_prog_cc_cross
12493 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12495 if test "$wx_cv_cpp_bool" = "yes"; then
12496 cat >> confdefs.h
<<\EOF
12497 #define HAVE_BOOL 1
12504 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12505 echo "configure:12506: checking for wcslen in -lc" >&5
12506 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12507 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12508 echo $ac_n "(cached) $ac_c" 1>&6
12510 ac_save_LIBS
="$LIBS"
12512 cat > conftest.
$ac_ext <<EOF
12513 #line 12514 "configure"
12514 #include "confdefs.h"
12515 /* Override any gcc2 internal prototype to avoid an error. */
12516 /* We use char because int might match the return type of a gcc2
12517 builtin and then its argument prototype would still apply. */
12524 if { (eval echo configure
:12525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12526 eval "ac_cv_lib_$ac_lib_var=yes"
12528 echo "configure: failed program was:" >&5
12529 cat conftest.
$ac_ext >&5
12531 eval "ac_cv_lib_$ac_lib_var=no"
12534 LIBS
="$ac_save_LIBS"
12537 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12538 echo "$ac_t""yes" 1>&6
12540 cat >> confdefs.h
<<\EOF
12541 #define HAVE_WCSLEN 1
12547 echo "$ac_t""no" 1>&6
12549 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12550 echo "configure:12551: checking for wcslen in -lw" >&5
12551 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12553 echo $ac_n "(cached) $ac_c" 1>&6
12555 ac_save_LIBS
="$LIBS"
12557 cat > conftest.
$ac_ext <<EOF
12558 #line 12559 "configure"
12559 #include "confdefs.h"
12560 /* Override any gcc2 internal prototype to avoid an error. */
12561 /* We use char because int might match the return type of a gcc2
12562 builtin and then its argument prototype would still apply. */
12569 if { (eval echo configure
:12570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12571 eval "ac_cv_lib_$ac_lib_var=yes"
12573 echo "configure: failed program was:" >&5
12574 cat conftest.
$ac_ext >&5
12576 eval "ac_cv_lib_$ac_lib_var=no"
12579 LIBS
="$ac_save_LIBS"
12582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12583 echo "$ac_t""yes" 1>&6
12585 cat >> confdefs.h
<<\EOF
12586 #define HAVE_WCSLEN 1
12592 echo "$ac_t""no" 1>&6
12599 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12600 echo "configure:12601: checking for vprintf" >&5
12601 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12602 echo $ac_n "(cached) $ac_c" 1>&6
12604 cat > conftest.
$ac_ext <<EOF
12605 #line 12606 "configure"
12606 #include "confdefs.h"
12607 /* System header to define __stub macros and hopefully few prototypes,
12608 which can conflict with char vprintf(); below. */
12609 #include <assert.h>
12610 /* Override any gcc2 internal prototype to avoid an error. */
12611 /* We use char because int might match the return type of a gcc2
12612 builtin and then its argument prototype would still apply. */
12617 /* The GNU C library defines this for functions which it implements
12618 to always fail with ENOSYS. Some functions are actually named
12619 something starting with __ and the normal name is an alias. */
12620 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12628 if { (eval echo configure
:12629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12630 eval "ac_cv_func_vprintf=yes"
12632 echo "configure: failed program was:" >&5
12633 cat conftest.
$ac_ext >&5
12635 eval "ac_cv_func_vprintf=no"
12640 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12641 echo "$ac_t""yes" 1>&6
12642 cat >> confdefs.h
<<\EOF
12643 #define HAVE_VPRINTF 1
12647 echo "$ac_t""no" 1>&6
12650 if test "$ac_cv_func_vprintf" != yes; then
12651 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12652 echo "configure:12653: checking for _doprnt" >&5
12653 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12654 echo $ac_n "(cached) $ac_c" 1>&6
12656 cat > conftest.
$ac_ext <<EOF
12657 #line 12658 "configure"
12658 #include "confdefs.h"
12659 /* System header to define __stub macros and hopefully few prototypes,
12660 which can conflict with char _doprnt(); below. */
12661 #include <assert.h>
12662 /* Override any gcc2 internal prototype to avoid an error. */
12663 /* We use char because int might match the return type of a gcc2
12664 builtin and then its argument prototype would still apply. */
12669 /* The GNU C library defines this for functions which it implements
12670 to always fail with ENOSYS. Some functions are actually named
12671 something starting with __ and the normal name is an alias. */
12672 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12680 if { (eval echo configure
:12681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12682 eval "ac_cv_func__doprnt=yes"
12684 echo "configure: failed program was:" >&5
12685 cat conftest.
$ac_ext >&5
12687 eval "ac_cv_func__doprnt=no"
12692 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12693 echo "$ac_t""yes" 1>&6
12694 cat >> confdefs.h
<<\EOF
12695 #define HAVE_DOPRNT 1
12699 echo "$ac_t""no" 1>&6
12710 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12711 echo "configure:12712: checking for vsnprintf" >&5
12712 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12713 echo $ac_n "(cached) $ac_c" 1>&6
12716 cat > conftest.
$ac_ext <<EOF
12717 #line 12718 "configure"
12718 #include "confdefs.h"
12721 #include <stdarg.h>
12725 int wx_test_vsnprintf(const char *, ...);
12727 wx_test_vsnprintf("%s");
12731 int wx_test_vsnprintf(const char *fmt, ...)
12736 va_start(argp, fmt);
12737 vsnprintf(s, 42, fmt, argp);
12742 if { (eval echo configure
:12743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12745 wx_cv_func_vsnprintf
=yes
12748 echo "configure: failed program was:" >&5
12749 cat conftest.
$ac_ext >&5
12752 cat > conftest.
$ac_ext <<EOF
12753 #line 12754 "configure"
12754 #include "confdefs.h"
12757 #include <stdarg.h>
12761 int wx_test_vsnprintf(const char *, ...);
12763 wx_test_vsnprintf("%s");
12767 int wx_test_vsnprintf(const char *fmt, ...)
12772 va_start(argp, fmt);
12773 _vsnprintf(s, 42, fmt, argp);
12778 if { (eval echo configure
:12779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12781 wx_cv_func_vsnprintf
=yes
12784 echo "configure: failed program was:" >&5
12785 cat conftest.
$ac_ext >&5
12788 wx_cv_func_vsnprintf
=no
12798 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12800 if test "$wx_cv_func_vsnprintf" = yes; then
12801 cat >> confdefs.h
<<\EOF
12802 #define HAVE_VSNPRINTF 1
12806 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12809 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12810 echo "configure:12811: checking for vsscanf" >&5
12811 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12812 echo $ac_n "(cached) $ac_c" 1>&6
12815 cat > conftest.
$ac_ext <<EOF
12816 #line 12817 "configure"
12817 #include "confdefs.h"
12820 #include <stdarg.h>
12824 int wx_test_vsscanf(const char *, ...);
12826 wx_test_vsscanf("%d");
12830 int wx_test_vsscanf(const char *fmt, ...)
12833 va_start(argp, fmt);
12834 vsscanf("42", fmt, argp);
12839 if { (eval echo configure
:12840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12842 wx_cv_func_vsscanf
=yes
12845 echo "configure: failed program was:" >&5
12846 cat conftest.
$ac_ext >&5
12849 wx_cv_func_vsscanf
=no
12856 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12858 if test "$wx_cv_func_vsscanf" = yes; then
12859 cat >> confdefs.h
<<\EOF
12860 #define HAVE_VSSCANF 1
12865 if test "$TOOLKIT" != "MSW"; then
12870 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12871 ac_cpp
='$CXXCPP $CPPFLAGS'
12872 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12873 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12874 cross_compiling
=$ac_cv_prog_cxx_cross
12876 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12877 echo "configure:12878: checking if iconv() takes char**" >&5
12878 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12879 echo $ac_n "(cached) $ac_c" 1>&6
12882 cat > conftest.
$ac_ext <<EOF
12883 #line 12884 "configure"
12884 #include "confdefs.h"
12888 char **inbuf, **outbuf;
12890 size_t insz, outsz;
12891 iconv(cd, inbuf, &insz, outbuf, &outsz);
12895 if { (eval echo configure
:12896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12897 wx_cv_iconv_takes_char
=yes
12899 echo "configure: failed program was:" >&5
12900 cat conftest.
$ac_ext >&5
12902 wx_cv_iconv_takes_char
=no
12908 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12910 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12911 ac_cpp
='$CPP $CPPFLAGS'
12912 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12913 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12914 cross_compiling
=$ac_cv_prog_cc_cross
12916 if test "$wx_cv_iconv_takes_char" = yes ; then
12917 cat >> confdefs.h
<<\EOF
12918 #define WX_ICONV_TAKES_CHAR 1
12924 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12925 for ac_func
in sigaction
12927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12928 echo "configure:12929: checking for $ac_func" >&5
12929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12930 echo $ac_n "(cached) $ac_c" 1>&6
12932 cat > conftest.
$ac_ext <<EOF
12933 #line 12934 "configure"
12934 #include "confdefs.h"
12935 /* System header to define __stub macros and hopefully few prototypes,
12936 which can conflict with char $ac_func(); below. */
12937 #include <assert.h>
12938 /* Override any gcc2 internal prototype to avoid an error. */
12939 /* We use char because int might match the return type of a gcc2
12940 builtin and then its argument prototype would still apply. */
12945 /* The GNU C library defines this for functions which it implements
12946 to always fail with ENOSYS. Some functions are actually named
12947 something starting with __ and the normal name is an alias. */
12948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12956 if { (eval echo configure
:12957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12958 eval "ac_cv_func_$ac_func=yes"
12960 echo "configure: failed program was:" >&5
12961 cat conftest.
$ac_ext >&5
12963 eval "ac_cv_func_$ac_func=no"
12968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12969 echo "$ac_t""yes" 1>&6
12970 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12971 cat >> confdefs.h
<<EOF
12972 #define $ac_tr_func 1
12976 echo "$ac_t""no" 1>&6
12981 if test "$ac_cv_func_sigaction" = "no"; then
12982 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12983 wxUSE_ON_FATAL_EXCEPTION
=no
12986 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12990 ac_cpp
='$CXXCPP $CPPFLAGS'
12991 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12992 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12993 cross_compiling
=$ac_cv_prog_cxx_cross
12996 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12997 echo "configure:12998: checking for sa_handler type" >&5
12998 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12999 echo $ac_n "(cached) $ac_c" 1>&6
13002 cat > conftest.
$ac_ext <<EOF
13003 #line 13004 "configure"
13004 #include "confdefs.h"
13005 #include <signal.h>
13008 extern void testSigHandler(int);
13010 struct sigaction sa;
13011 sa.sa_handler = testSigHandler;
13015 if { (eval echo configure
:13016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13018 wx_cv_type_sa_handler
=int
13021 echo "configure: failed program was:" >&5
13022 cat conftest.
$ac_ext >&5
13025 wx_cv_type_sa_handler
=void
13032 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13036 ac_cpp
='$CPP $CPPFLAGS'
13037 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13038 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13039 cross_compiling
=$ac_cv_prog_cc_cross
13042 cat >> confdefs.h
<<EOF
13043 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13049 for ac_func
in vfork
13051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13052 echo "configure:13053: checking for $ac_func" >&5
13053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13054 echo $ac_n "(cached) $ac_c" 1>&6
13056 cat > conftest.
$ac_ext <<EOF
13057 #line 13058 "configure"
13058 #include "confdefs.h"
13059 /* System header to define __stub macros and hopefully few prototypes,
13060 which can conflict with char $ac_func(); below. */
13061 #include <assert.h>
13062 /* Override any gcc2 internal prototype to avoid an error. */
13063 /* We use char because int might match the return type of a gcc2
13064 builtin and then its argument prototype would still apply. */
13069 /* The GNU C library defines this for functions which it implements
13070 to always fail with ENOSYS. Some functions are actually named
13071 something starting with __ and the normal name is an alias. */
13072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13080 if { (eval echo configure
:13081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13082 eval "ac_cv_func_$ac_func=yes"
13084 echo "configure: failed program was:" >&5
13085 cat conftest.
$ac_ext >&5
13087 eval "ac_cv_func_$ac_func=no"
13092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13093 echo "$ac_t""yes" 1>&6
13094 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13095 cat >> confdefs.h
<<EOF
13096 #define $ac_tr_func 1
13100 echo "$ac_t""no" 1>&6
13105 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13106 for ac_func
in fcntl flock
13108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13109 echo "configure:13110: checking for $ac_func" >&5
13110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13111 echo $ac_n "(cached) $ac_c" 1>&6
13113 cat > conftest.
$ac_ext <<EOF
13114 #line 13115 "configure"
13115 #include "confdefs.h"
13116 /* System header to define __stub macros and hopefully few prototypes,
13117 which can conflict with char $ac_func(); below. */
13118 #include <assert.h>
13119 /* Override any gcc2 internal prototype to avoid an error. */
13120 /* We use char because int might match the return type of a gcc2
13121 builtin and then its argument prototype would still apply. */
13126 /* The GNU C library defines this for functions which it implements
13127 to always fail with ENOSYS. Some functions are actually named
13128 something starting with __ and the normal name is an alias. */
13129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13137 if { (eval echo configure
:13138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13139 eval "ac_cv_func_$ac_func=yes"
13141 echo "configure: failed program was:" >&5
13142 cat conftest.
$ac_ext >&5
13144 eval "ac_cv_func_$ac_func=no"
13149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13150 echo "$ac_t""yes" 1>&6
13151 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13152 cat >> confdefs.h
<<EOF
13153 #define $ac_tr_func 1
13157 echo "$ac_t""no" 1>&6
13162 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13163 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13164 wxUSE_SNGLINST_CHECKER
=no
13168 for ac_func
in timegm
13170 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13171 echo "configure:13172: checking for $ac_func" >&5
13172 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13173 echo $ac_n "(cached) $ac_c" 1>&6
13175 cat > conftest.
$ac_ext <<EOF
13176 #line 13177 "configure"
13177 #include "confdefs.h"
13178 /* System header to define __stub macros and hopefully few prototypes,
13179 which can conflict with char $ac_func(); below. */
13180 #include <assert.h>
13181 /* Override any gcc2 internal prototype to avoid an error. */
13182 /* We use char because int might match the return type of a gcc2
13183 builtin and then its argument prototype would still apply. */
13188 /* The GNU C library defines this for functions which it implements
13189 to always fail with ENOSYS. Some functions are actually named
13190 something starting with __ and the normal name is an alias. */
13191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13199 if { (eval echo configure
:13200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13201 eval "ac_cv_func_$ac_func=yes"
13203 echo "configure: failed program was:" >&5
13204 cat conftest.
$ac_ext >&5
13206 eval "ac_cv_func_$ac_func=no"
13211 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13212 echo "$ac_t""yes" 1>&6
13213 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13214 cat >> confdefs.h
<<EOF
13215 #define $ac_tr_func 1
13219 echo "$ac_t""no" 1>&6
13224 for ac_func
in putenv setenv
13226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13227 echo "configure:13228: checking for $ac_func" >&5
13228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13229 echo $ac_n "(cached) $ac_c" 1>&6
13231 cat > conftest.
$ac_ext <<EOF
13232 #line 13233 "configure"
13233 #include "confdefs.h"
13234 /* System header to define __stub macros and hopefully few prototypes,
13235 which can conflict with char $ac_func(); below. */
13236 #include <assert.h>
13237 /* Override any gcc2 internal prototype to avoid an error. */
13238 /* We use char because int might match the return type of a gcc2
13239 builtin and then its argument prototype would still apply. */
13244 /* The GNU C library defines this for functions which it implements
13245 to always fail with ENOSYS. Some functions are actually named
13246 something starting with __ and the normal name is an alias. */
13247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13255 if { (eval echo configure
:13256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13257 eval "ac_cv_func_$ac_func=yes"
13259 echo "configure: failed program was:" >&5
13260 cat conftest.
$ac_ext >&5
13262 eval "ac_cv_func_$ac_func=no"
13267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13268 echo "$ac_t""yes" 1>&6
13269 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13270 cat >> confdefs.h
<<EOF
13271 #define $ac_tr_func 1
13275 echo "$ac_t""no" 1>&6
13280 HAVE_SOME_SLEEP_FUNC
=0
13281 if test "$USE_BEOS" = 1; then
13282 cat >> confdefs.h
<<\EOF
13283 #define HAVE_SLEEP 1
13286 HAVE_SOME_SLEEP_FUNC
=1
13289 if test "$USE_DARWIN" = 1; then
13290 cat >> confdefs.h
<<\EOF
13291 #define HAVE_USLEEP 1
13294 HAVE_SOME_SLEEP_FUNC
=1
13297 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13299 for ac_func
in nanosleep
13301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13302 echo "configure:13303: checking for $ac_func" >&5
13303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13304 echo $ac_n "(cached) $ac_c" 1>&6
13306 cat > conftest.
$ac_ext <<EOF
13307 #line 13308 "configure"
13308 #include "confdefs.h"
13309 /* System header to define __stub macros and hopefully few prototypes,
13310 which can conflict with char $ac_func(); below. */
13311 #include <assert.h>
13312 /* Override any gcc2 internal prototype to avoid an error. */
13313 /* We use char because int might match the return type of a gcc2
13314 builtin and then its argument prototype would still apply. */
13319 /* The GNU C library defines this for functions which it implements
13320 to always fail with ENOSYS. Some functions are actually named
13321 something starting with __ and the normal name is an alias. */
13322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13330 if { (eval echo configure
:13331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13332 eval "ac_cv_func_$ac_func=yes"
13334 echo "configure: failed program was:" >&5
13335 cat conftest.
$ac_ext >&5
13337 eval "ac_cv_func_$ac_func=no"
13342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13343 echo "$ac_t""yes" 1>&6
13344 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13345 cat >> confdefs.h
<<EOF
13346 #define $ac_tr_func 1
13348 cat >> confdefs.h
<<\EOF
13349 #define HAVE_NANOSLEEP 1
13353 echo "$ac_t""no" 1>&6
13354 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13355 echo "configure:13356: checking for nanosleep in -lposix4" >&5
13356 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13358 echo $ac_n "(cached) $ac_c" 1>&6
13360 ac_save_LIBS
="$LIBS"
13361 LIBS
="-lposix4 $LIBS"
13362 cat > conftest.
$ac_ext <<EOF
13363 #line 13364 "configure"
13364 #include "confdefs.h"
13365 /* Override any gcc2 internal prototype to avoid an error. */
13366 /* We use char because int might match the return type of a gcc2
13367 builtin and then its argument prototype would still apply. */
13374 if { (eval echo configure
:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13376 eval "ac_cv_lib_$ac_lib_var=yes"
13378 echo "configure: failed program was:" >&5
13379 cat conftest.
$ac_ext >&5
13381 eval "ac_cv_lib_$ac_lib_var=no"
13384 LIBS
="$ac_save_LIBS"
13387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13388 echo "$ac_t""yes" 1>&6
13390 cat >> confdefs.h
<<\EOF
13391 #define HAVE_NANOSLEEP 1
13394 POSIX4_LINK
="-lposix4"
13397 echo "$ac_t""no" 1>&6
13399 for ac_func
in usleep
13401 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13402 echo "configure:13403: checking for $ac_func" >&5
13403 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13404 echo $ac_n "(cached) $ac_c" 1>&6
13406 cat > conftest.
$ac_ext <<EOF
13407 #line 13408 "configure"
13408 #include "confdefs.h"
13409 /* System header to define __stub macros and hopefully few prototypes,
13410 which can conflict with char $ac_func(); below. */
13411 #include <assert.h>
13412 /* Override any gcc2 internal prototype to avoid an error. */
13413 /* We use char because int might match the return type of a gcc2
13414 builtin and then its argument prototype would still apply. */
13419 /* The GNU C library defines this for functions which it implements
13420 to always fail with ENOSYS. Some functions are actually named
13421 something starting with __ and the normal name is an alias. */
13422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13430 if { (eval echo configure
:13431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13432 eval "ac_cv_func_$ac_func=yes"
13434 echo "configure: failed program was:" >&5
13435 cat conftest.
$ac_ext >&5
13437 eval "ac_cv_func_$ac_func=no"
13442 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13443 echo "$ac_t""yes" 1>&6
13444 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13445 cat >> confdefs.h
<<EOF
13446 #define $ac_tr_func 1
13448 cat >> confdefs.h
<<\EOF
13449 #define HAVE_USLEEP 1
13453 echo "$ac_t""no" 1>&6
13454 echo "configure: warning: wxSleep() function will not work" 1>&2
13470 for ac_func
in uname gethostname
13472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13473 echo "configure:13474: checking for $ac_func" >&5
13474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13475 echo $ac_n "(cached) $ac_c" 1>&6
13477 cat > conftest.
$ac_ext <<EOF
13478 #line 13479 "configure"
13479 #include "confdefs.h"
13480 /* System header to define __stub macros and hopefully few prototypes,
13481 which can conflict with char $ac_func(); below. */
13482 #include <assert.h>
13483 /* Override any gcc2 internal prototype to avoid an error. */
13484 /* We use char because int might match the return type of a gcc2
13485 builtin and then its argument prototype would still apply. */
13490 /* The GNU C library defines this for functions which it implements
13491 to always fail with ENOSYS. Some functions are actually named
13492 something starting with __ and the normal name is an alias. */
13493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13501 if { (eval echo configure
:13502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13503 eval "ac_cv_func_$ac_func=yes"
13505 echo "configure: failed program was:" >&5
13506 cat conftest.
$ac_ext >&5
13508 eval "ac_cv_func_$ac_func=no"
13513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13514 echo "$ac_t""yes" 1>&6
13515 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13516 cat >> confdefs.h
<<EOF
13517 #define $ac_tr_func 1
13521 echo "$ac_t""no" 1>&6
13528 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13529 ac_cpp
='$CXXCPP $CPPFLAGS'
13530 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13531 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13532 cross_compiling
=$ac_cv_prog_cxx_cross
13535 for ac_func
in strtok_r
13537 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13538 echo "configure:13539: checking for $ac_func" >&5
13539 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13540 echo $ac_n "(cached) $ac_c" 1>&6
13542 cat > conftest.
$ac_ext <<EOF
13543 #line 13544 "configure"
13544 #include "confdefs.h"
13545 /* System header to define __stub macros and hopefully few prototypes,
13546 which can conflict with char $ac_func(); below. */
13547 #include <assert.h>
13548 /* Override any gcc2 internal prototype to avoid an error. */
13552 /* We use char because int might match the return type of a gcc2
13553 builtin and then its argument prototype would still apply. */
13558 /* The GNU C library defines this for functions which it implements
13559 to always fail with ENOSYS. Some functions are actually named
13560 something starting with __ and the normal name is an alias. */
13561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13569 if { (eval echo configure
:13570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13571 eval "ac_cv_func_$ac_func=yes"
13573 echo "configure: failed program was:" >&5
13574 cat conftest.
$ac_ext >&5
13576 eval "ac_cv_func_$ac_func=no"
13581 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13582 echo "$ac_t""yes" 1>&6
13583 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13584 cat >> confdefs.h
<<EOF
13585 #define $ac_tr_func 1
13589 echo "$ac_t""no" 1>&6
13595 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13596 ac_cpp
='$CPP $CPPFLAGS'
13597 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13598 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13599 cross_compiling
=$ac_cv_prog_cc_cross
13603 for ac_func
in inet_addr
13605 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13606 echo "configure:13607: checking for $ac_func" >&5
13607 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13608 echo $ac_n "(cached) $ac_c" 1>&6
13610 cat > conftest.
$ac_ext <<EOF
13611 #line 13612 "configure"
13612 #include "confdefs.h"
13613 /* System header to define __stub macros and hopefully few prototypes,
13614 which can conflict with char $ac_func(); below. */
13615 #include <assert.h>
13616 /* Override any gcc2 internal prototype to avoid an error. */
13617 /* We use char because int might match the return type of a gcc2
13618 builtin and then its argument prototype would still apply. */
13623 /* The GNU C library defines this for functions which it implements
13624 to always fail with ENOSYS. Some functions are actually named
13625 something starting with __ and the normal name is an alias. */
13626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13634 if { (eval echo configure
:13635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13636 eval "ac_cv_func_$ac_func=yes"
13638 echo "configure: failed program was:" >&5
13639 cat conftest.
$ac_ext >&5
13641 eval "ac_cv_func_$ac_func=no"
13646 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13647 echo "$ac_t""yes" 1>&6
13648 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13649 cat >> confdefs.h
<<EOF
13650 #define $ac_tr_func 1
13652 cat >> confdefs.h
<<\EOF
13653 #define HAVE_INET_ADDR 1
13657 echo "$ac_t""no" 1>&6
13658 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13659 echo "configure:13660: checking for inet_addr in -lnsl" >&5
13660 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13661 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13662 echo $ac_n "(cached) $ac_c" 1>&6
13664 ac_save_LIBS
="$LIBS"
13666 cat > conftest.
$ac_ext <<EOF
13667 #line 13668 "configure"
13668 #include "confdefs.h"
13669 /* Override any gcc2 internal prototype to avoid an error. */
13670 /* We use char because int might match the return type of a gcc2
13671 builtin and then its argument prototype would still apply. */
13678 if { (eval echo configure
:13679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13680 eval "ac_cv_lib_$ac_lib_var=yes"
13682 echo "configure: failed program was:" >&5
13683 cat conftest.
$ac_ext >&5
13685 eval "ac_cv_lib_$ac_lib_var=no"
13688 LIBS
="$ac_save_LIBS"
13691 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13692 echo "$ac_t""yes" 1>&6
13695 echo "$ac_t""no" 1>&6
13696 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13697 echo "configure:13698: checking for inet_addr in -lresolv" >&5
13698 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13699 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13700 echo $ac_n "(cached) $ac_c" 1>&6
13702 ac_save_LIBS
="$LIBS"
13703 LIBS
="-lresolv $LIBS"
13704 cat > conftest.
$ac_ext <<EOF
13705 #line 13706 "configure"
13706 #include "confdefs.h"
13707 /* Override any gcc2 internal prototype to avoid an error. */
13708 /* We use char because int might match the return type of a gcc2
13709 builtin and then its argument prototype would still apply. */
13716 if { (eval echo configure
:13717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13718 eval "ac_cv_lib_$ac_lib_var=yes"
13720 echo "configure: failed program was:" >&5
13721 cat conftest.
$ac_ext >&5
13723 eval "ac_cv_lib_$ac_lib_var=no"
13726 LIBS
="$ac_save_LIBS"
13729 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13730 echo "$ac_t""yes" 1>&6
13734 echo "$ac_t""no" 1>&6
13746 for ac_func
in inet_aton
13748 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13749 echo "configure:13750: checking for $ac_func" >&5
13750 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13751 echo $ac_n "(cached) $ac_c" 1>&6
13753 cat > conftest.
$ac_ext <<EOF
13754 #line 13755 "configure"
13755 #include "confdefs.h"
13756 /* System header to define __stub macros and hopefully few prototypes,
13757 which can conflict with char $ac_func(); below. */
13758 #include <assert.h>
13759 /* Override any gcc2 internal prototype to avoid an error. */
13760 /* We use char because int might match the return type of a gcc2
13761 builtin and then its argument prototype would still apply. */
13766 /* The GNU C library defines this for functions which it implements
13767 to always fail with ENOSYS. Some functions are actually named
13768 something starting with __ and the normal name is an alias. */
13769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13777 if { (eval echo configure
:13778: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13779 eval "ac_cv_func_$ac_func=yes"
13781 echo "configure: failed program was:" >&5
13782 cat conftest.
$ac_ext >&5
13784 eval "ac_cv_func_$ac_func=no"
13789 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13790 echo "$ac_t""yes" 1>&6
13791 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13792 cat >> confdefs.h
<<EOF
13793 #define $ac_tr_func 1
13795 cat >> confdefs.h
<<\EOF
13796 #define HAVE_INET_ATON 1
13800 echo "$ac_t""no" 1>&6
13801 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13802 echo "configure:13803: checking for inet_aton in -l$INET_LINK" >&5
13803 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13804 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13805 echo $ac_n "(cached) $ac_c" 1>&6
13807 ac_save_LIBS
="$LIBS"
13808 LIBS
="-l$INET_LINK $LIBS"
13809 cat > conftest.
$ac_ext <<EOF
13810 #line 13811 "configure"
13811 #include "confdefs.h"
13812 /* Override any gcc2 internal prototype to avoid an error. */
13813 /* We use char because int might match the return type of a gcc2
13814 builtin and then its argument prototype would still apply. */
13821 if { (eval echo configure
:13822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13823 eval "ac_cv_lib_$ac_lib_var=yes"
13825 echo "configure: failed program was:" >&5
13826 cat conftest.
$ac_ext >&5
13828 eval "ac_cv_lib_$ac_lib_var=no"
13831 LIBS
="$ac_save_LIBS"
13834 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13835 echo "$ac_t""yes" 1>&6
13836 cat >> confdefs.h
<<\EOF
13837 #define HAVE_INET_ATON 1
13841 echo "$ac_t""no" 1>&6
13849 if test "x$INET_LINK" != "x"; then
13850 cat >> confdefs.h
<<\EOF
13851 #define HAVE_INET_ADDR 1
13854 INET_LINK
="-l$INET_LINK"
13860 cat > confcache
<<\EOF
13861 # This file is a shell script that caches the results of configure
13862 # tests run on this system so they can be shared between configure
13863 # scripts and configure runs. It is not useful on other systems.
13864 # If it contains results you don't want to keep, you may remove or edit it.
13866 # By default, configure uses ./config.cache as the cache file,
13867 # creating it if it does not exist already. You can give configure
13868 # the --cache-file=FILE option to use a different cache file; that is
13869 # what configure does when it calls configure scripts in
13870 # subdirectories, so they share the cache.
13871 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13872 # config.status only pays attention to the cache file if you give it the
13873 # --recheck option to rerun configure.
13876 # The following way of writing the cache mishandles newlines in values,
13877 # but we know of no workaround that is simple, portable, and efficient.
13878 # So, don't put newlines in cache variables' values.
13879 # Ultrix sh set writes to stderr and can't be redirected directly,
13880 # and sets the high bit in the cache file unless we assign to the vars.
13882 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13884 # `set' does not quote correctly, so add quotes (double-quote substitution
13885 # turns \\\\ into \\, and sed turns \\ into \).
13887 -e "s/'/'\\\\''/g" \
13888 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13891 # `set' quotes correctly as required by POSIX, so do not add quotes.
13892 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13895 if cmp -s $cache_file confcache
; then
13898 if test -w $cache_file; then
13899 echo "updating cache $cache_file"
13900 cat confcache
> $cache_file
13902 echo "not updating unwritable cache $cache_file"
13909 if test "$TOOLKIT" != "MSW"; then
13915 if test "$wxUSE_THREADS" = "yes" ; then
13916 if test "$wxUSE_WINE" = 1 ; then
13917 echo "configure: warning: Threads are not supported under WINE" 1>&2
13919 elif test "$USE_BEOS" = 1; then
13920 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13925 if test "$wxUSE_THREADS" = "yes" ; then
13927 if test "$USE_AIX" = 1; then
13928 THREADS_LIB
=pthreads
13930 THREADS_LIB
=pthread
13933 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13934 echo "configure:13935: checking for pthread_create in -l$THREADS_LIB" >&5
13935 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13936 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13937 echo $ac_n "(cached) $ac_c" 1>&6
13939 ac_save_LIBS
="$LIBS"
13940 LIBS
="-l$THREADS_LIB $LIBS"
13941 cat > conftest.
$ac_ext <<EOF
13942 #line 13943 "configure"
13943 #include "confdefs.h"
13944 /* Override any gcc2 internal prototype to avoid an error. */
13945 /* We use char because int might match the return type of a gcc2
13946 builtin and then its argument prototype would still apply. */
13947 char pthread_create();
13953 if { (eval echo configure
:13954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13955 eval "ac_cv_lib_$ac_lib_var=yes"
13957 echo "configure: failed program was:" >&5
13958 cat conftest.
$ac_ext >&5
13960 eval "ac_cv_lib_$ac_lib_var=no"
13963 LIBS
="$ac_save_LIBS"
13966 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13967 echo "$ac_t""yes" 1>&6
13969 THREADS_OBJ
="threadpsx.lo"
13970 THREADS_LINK
=$THREADS_LIB
13973 echo "$ac_t""no" 1>&6
13975 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13976 echo "configure:13977: checking for pthread_create in -lc_r" >&5
13977 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13979 echo $ac_n "(cached) $ac_c" 1>&6
13981 ac_save_LIBS
="$LIBS"
13983 cat > conftest.
$ac_ext <<EOF
13984 #line 13985 "configure"
13985 #include "confdefs.h"
13986 /* Override any gcc2 internal prototype to avoid an error. */
13987 /* We use char because int might match the return type of a gcc2
13988 builtin and then its argument prototype would still apply. */
13989 char pthread_create();
13995 if { (eval echo configure
:13996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13997 eval "ac_cv_lib_$ac_lib_var=yes"
13999 echo "configure: failed program was:" >&5
14000 cat conftest.
$ac_ext >&5
14002 eval "ac_cv_lib_$ac_lib_var=no"
14005 LIBS
="$ac_save_LIBS"
14008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14009 echo "$ac_t""yes" 1>&6
14011 THREADS_OBJ
="threadpsx.lo"
14015 echo "$ac_t""no" 1>&6
14017 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14018 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14019 echo "configure:14020: checking for sys/prctl.h" >&5
14020 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14021 echo $ac_n "(cached) $ac_c" 1>&6
14023 cat > conftest.
$ac_ext <<EOF
14024 #line 14025 "configure"
14025 #include "confdefs.h"
14026 #include <sys/prctl.h>
14028 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14029 { (eval echo configure
:14030: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14030 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14031 if test -z "$ac_err"; then
14033 eval "ac_cv_header_$ac_safe=yes"
14036 echo "configure: failed program was:" >&5
14037 cat conftest.
$ac_ext >&5
14039 eval "ac_cv_header_$ac_safe=no"
14043 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14046 THREADS_OBJ
="threadsgi.lo"
14049 echo "$ac_t""no" 1>&6
14059 if test -z "$THREADS_OBJ" ; then
14061 echo "configure: warning: No thread support on this system" 1>&2
14065 if test "$wxUSE_THREADS" = "yes" ; then
14066 for ac_func
in thr_setconcurrency
14068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14069 echo "configure:14070: checking for $ac_func" >&5
14070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14071 echo $ac_n "(cached) $ac_c" 1>&6
14073 cat > conftest.
$ac_ext <<EOF
14074 #line 14075 "configure"
14075 #include "confdefs.h"
14076 /* System header to define __stub macros and hopefully few prototypes,
14077 which can conflict with char $ac_func(); below. */
14078 #include <assert.h>
14079 /* Override any gcc2 internal prototype to avoid an error. */
14080 /* We use char because int might match the return type of a gcc2
14081 builtin and then its argument prototype would still apply. */
14086 /* The GNU C library defines this for functions which it implements
14087 to always fail with ENOSYS. Some functions are actually named
14088 something starting with __ and the normal name is an alias. */
14089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14097 if { (eval echo configure
:14098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14099 eval "ac_cv_func_$ac_func=yes"
14101 echo "configure: failed program was:" >&5
14102 cat conftest.
$ac_ext >&5
14104 eval "ac_cv_func_$ac_func=no"
14109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14110 echo "$ac_t""yes" 1>&6
14111 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14112 cat >> confdefs.h
<<EOF
14113 #define $ac_tr_func 1
14117 echo "$ac_t""no" 1>&6
14123 for ac_hdr
in sched.h
14125 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14126 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14127 echo "configure:14128: checking for $ac_hdr" >&5
14128 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14129 echo $ac_n "(cached) $ac_c" 1>&6
14131 cat > conftest.
$ac_ext <<EOF
14132 #line 14133 "configure"
14133 #include "confdefs.h"
14136 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14137 { (eval echo configure
:14138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14138 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14139 if test -z "$ac_err"; then
14141 eval "ac_cv_header_$ac_safe=yes"
14144 echo "configure: failed program was:" >&5
14145 cat conftest.
$ac_ext >&5
14147 eval "ac_cv_header_$ac_safe=no"
14151 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14152 echo "$ac_t""yes" 1>&6
14153 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14154 cat >> confdefs.h
<<EOF
14155 #define $ac_tr_hdr 1
14159 echo "$ac_t""no" 1>&6
14164 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14165 echo "configure:14166: checking for sched_yield in -l$THREADS_LINK" >&5
14166 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14168 echo $ac_n "(cached) $ac_c" 1>&6
14170 ac_save_LIBS
="$LIBS"
14171 LIBS
="-l$THREADS_LINK $LIBS"
14172 cat > conftest.
$ac_ext <<EOF
14173 #line 14174 "configure"
14174 #include "confdefs.h"
14175 /* Override any gcc2 internal prototype to avoid an error. */
14176 /* We use char because int might match the return type of a gcc2
14177 builtin and then its argument prototype would still apply. */
14178 char sched_yield();
14184 if { (eval echo configure
:14185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14186 eval "ac_cv_lib_$ac_lib_var=yes"
14188 echo "configure: failed program was:" >&5
14189 cat conftest.
$ac_ext >&5
14191 eval "ac_cv_lib_$ac_lib_var=no"
14194 LIBS
="$ac_save_LIBS"
14197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14198 echo "$ac_t""yes" 1>&6
14199 cat >> confdefs.h
<<\EOF
14200 #define HAVE_SCHED_YIELD 1
14204 echo "$ac_t""no" 1>&6
14205 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14206 echo "configure:14207: checking for sched_yield in -lposix4" >&5
14207 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14209 echo $ac_n "(cached) $ac_c" 1>&6
14211 ac_save_LIBS
="$LIBS"
14212 LIBS
="-lposix4 $LIBS"
14213 cat > conftest.
$ac_ext <<EOF
14214 #line 14215 "configure"
14215 #include "confdefs.h"
14216 /* Override any gcc2 internal prototype to avoid an error. */
14217 /* We use char because int might match the return type of a gcc2
14218 builtin and then its argument prototype would still apply. */
14219 char sched_yield();
14225 if { (eval echo configure
:14226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14227 eval "ac_cv_lib_$ac_lib_var=yes"
14229 echo "configure: failed program was:" >&5
14230 cat conftest.
$ac_ext >&5
14232 eval "ac_cv_lib_$ac_lib_var=no"
14235 LIBS
="$ac_save_LIBS"
14238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14239 echo "$ac_t""yes" 1>&6
14240 cat >> confdefs.h
<<\EOF
14241 #define HAVE_SCHED_YIELD 1
14243 POSIX4_LINK
="-lposix4"
14245 echo "$ac_t""no" 1>&6
14246 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14255 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14256 echo "configure:14257: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14257 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14259 echo $ac_n "(cached) $ac_c" 1>&6
14261 ac_save_LIBS
="$LIBS"
14262 LIBS
="-l$THREADS_LINK $LIBS"
14263 cat > conftest.
$ac_ext <<EOF
14264 #line 14265 "configure"
14265 #include "confdefs.h"
14266 /* Override any gcc2 internal prototype to avoid an error. */
14267 /* We use char because int might match the return type of a gcc2
14268 builtin and then its argument prototype would still apply. */
14269 char pthread_attr_getschedpolicy();
14272 pthread_attr_getschedpolicy()
14275 if { (eval echo configure
:14276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14277 eval "ac_cv_lib_$ac_lib_var=yes"
14279 echo "configure: failed program was:" >&5
14280 cat conftest.
$ac_ext >&5
14282 eval "ac_cv_lib_$ac_lib_var=no"
14285 LIBS
="$ac_save_LIBS"
14288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14289 echo "$ac_t""yes" 1>&6
14290 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14291 echo "configure:14292: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14292 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14294 echo $ac_n "(cached) $ac_c" 1>&6
14296 ac_save_LIBS
="$LIBS"
14297 LIBS
="-l$THREADS_LINK $LIBS"
14298 cat > conftest.
$ac_ext <<EOF
14299 #line 14300 "configure"
14300 #include "confdefs.h"
14301 /* Override any gcc2 internal prototype to avoid an error. */
14302 /* We use char because int might match the return type of a gcc2
14303 builtin and then its argument prototype would still apply. */
14304 char pthread_attr_setschedparam();
14307 pthread_attr_setschedparam()
14310 if { (eval echo configure
:14311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14312 eval "ac_cv_lib_$ac_lib_var=yes"
14314 echo "configure: failed program was:" >&5
14315 cat conftest.
$ac_ext >&5
14317 eval "ac_cv_lib_$ac_lib_var=no"
14320 LIBS
="$ac_save_LIBS"
14323 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14324 echo "$ac_t""yes" 1>&6
14325 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14326 echo "configure:14327: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14327 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14328 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14329 echo $ac_n "(cached) $ac_c" 1>&6
14331 ac_save_LIBS
="$LIBS"
14332 LIBS
="-l$THREADS_LINK $LIBS"
14333 cat > conftest.
$ac_ext <<EOF
14334 #line 14335 "configure"
14335 #include "confdefs.h"
14336 /* Override any gcc2 internal prototype to avoid an error. */
14337 /* We use char because int might match the return type of a gcc2
14338 builtin and then its argument prototype would still apply. */
14339 char sched_get_priority_max();
14342 sched_get_priority_max()
14345 if { (eval echo configure
:14346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14347 eval "ac_cv_lib_$ac_lib_var=yes"
14349 echo "configure: failed program was:" >&5
14350 cat conftest.
$ac_ext >&5
14352 eval "ac_cv_lib_$ac_lib_var=no"
14355 LIBS
="$ac_save_LIBS"
14358 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14359 echo "$ac_t""yes" 1>&6
14362 echo "$ac_t""no" 1>&6
14363 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14364 echo "configure:14365: checking for sched_get_priority_max in -lposix4" >&5
14365 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14367 echo $ac_n "(cached) $ac_c" 1>&6
14369 ac_save_LIBS
="$LIBS"
14370 LIBS
="-lposix4 $LIBS"
14371 cat > conftest.
$ac_ext <<EOF
14372 #line 14373 "configure"
14373 #include "confdefs.h"
14374 /* Override any gcc2 internal prototype to avoid an error. */
14375 /* We use char because int might match the return type of a gcc2
14376 builtin and then its argument prototype would still apply. */
14377 char sched_get_priority_max();
14380 sched_get_priority_max()
14383 if { (eval echo configure
:14384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14385 eval "ac_cv_lib_$ac_lib_var=yes"
14387 echo "configure: failed program was:" >&5
14388 cat conftest.
$ac_ext >&5
14390 eval "ac_cv_lib_$ac_lib_var=no"
14393 LIBS
="$ac_save_LIBS"
14396 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14397 echo "$ac_t""yes" 1>&6
14400 POSIX4_LINK
="-lposix4"
14403 echo "$ac_t""no" 1>&6
14411 echo "$ac_t""no" 1>&6
14416 echo "$ac_t""no" 1>&6
14420 if test "$HAVE_PRIOR_FUNCS" = 1; then
14421 cat >> confdefs.h
<<\EOF
14422 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14426 echo "configure: warning: Setting thread priority will not work" 1>&2
14429 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14430 echo "configure:14431: checking for pthread_cancel in -l$THREADS_LINK" >&5
14431 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14432 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14433 echo $ac_n "(cached) $ac_c" 1>&6
14435 ac_save_LIBS
="$LIBS"
14436 LIBS
="-l$THREADS_LINK $LIBS"
14437 cat > conftest.
$ac_ext <<EOF
14438 #line 14439 "configure"
14439 #include "confdefs.h"
14440 /* Override any gcc2 internal prototype to avoid an error. */
14441 /* We use char because int might match the return type of a gcc2
14442 builtin and then its argument prototype would still apply. */
14443 char pthread_cancel();
14449 if { (eval echo configure
:14450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14451 eval "ac_cv_lib_$ac_lib_var=yes"
14453 echo "configure: failed program was:" >&5
14454 cat conftest.
$ac_ext >&5
14456 eval "ac_cv_lib_$ac_lib_var=no"
14459 LIBS
="$ac_save_LIBS"
14462 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14463 echo "$ac_t""yes" 1>&6
14464 cat >> confdefs.h
<<\EOF
14465 #define HAVE_PTHREAD_CANCEL 1
14469 echo "$ac_t""no" 1>&6
14470 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14474 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14475 echo "configure:14476: checking for pthread_cleanup_push/pop" >&5
14476 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14477 echo $ac_n "(cached) $ac_c" 1>&6
14480 cat > conftest.
$ac_ext <<EOF
14481 #line 14482 "configure"
14482 #include "confdefs.h"
14483 #include <pthread.h>
14486 pthread_cleanup_push(NULL, NULL);
14487 pthread_cleanup_pop(0);
14491 if { (eval echo configure
:14492: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14494 wx_cv_func_pthread_cleanup_push
=yes
14497 echo "configure: failed program was:" >&5
14498 cat conftest.
$ac_ext >&5
14501 wx_cv_func_pthread_cleanup_push
=no
14508 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14510 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14511 cat >> confdefs.h
<<\EOF
14512 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14518 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14519 echo "configure:14520: checking for pthread_mutexattr_t" >&5
14520 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14521 echo $ac_n "(cached) $ac_c" 1>&6
14524 cat > conftest.
$ac_ext <<EOF
14525 #line 14526 "configure"
14526 #include "confdefs.h"
14527 #include <pthread.h>
14530 pthread_mutexattr_t attr;
14531 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14535 if { (eval echo configure
:14536: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14538 wx_cv_type_pthread_mutexattr_t
=yes
14541 echo "configure: failed program was:" >&5
14542 cat conftest.
$ac_ext >&5
14545 wx_cv_type_pthread_mutexattr_t
=no
14553 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14555 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14556 cat >> confdefs.h
<<\EOF
14557 #define HAVE_PTHREAD_MUTEXATTR_T 1
14561 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14562 echo "configure:14563: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14563 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14564 echo $ac_n "(cached) $ac_c" 1>&6
14567 cat > conftest.
$ac_ext <<EOF
14568 #line 14569 "configure"
14569 #include "confdefs.h"
14570 #include <pthread.h>
14573 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14577 if { (eval echo configure
:14578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14580 wx_cv_type_pthread_rec_mutex_init
=yes
14583 echo "configure: failed program was:" >&5
14584 cat conftest.
$ac_ext >&5
14587 wx_cv_type_pthread_rec_mutex_init
=no
14595 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14596 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14597 cat >> confdefs.h
<<\EOF
14598 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14602 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14606 THREADS_LINK
="-l$THREADS_LINK"
14608 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14609 CFLAGS
="${CFLAGS} -mt"
14610 CXXFLAGS
="${CXXFLAGS} -mt"
14611 LDFLAGS
="${LDFLAGS} -mt"
14617 if test "$wxUSE_THREADS" = "yes"; then
14618 cat >> confdefs.h
<<\EOF
14619 #define wxUSE_THREADS 1
14623 if test "$wxUSE_DARWIN" = "0"; then
14624 CFLAGS
="${CFLAGS} -D_REENTRANT"
14625 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14630 if test "$ac_cv_func_strtok_r" = "yes"; then
14631 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14632 echo "configure:14633: checking if -D_REENTRANT is needed" >&5
14633 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14634 CFLAGS
="${CFLAGS} -D_REENTRANT"
14635 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14636 echo "$ac_t""yes" 1>&6
14638 echo "$ac_t""no" 1>&6
14643 if test "$WXGTK20" = 1 ; then
14644 cat >> confdefs.h
<<EOF
14645 #define __WXGTK20__ $WXGTK20
14651 if test "$WXGTK12" = 1 ; then
14652 cat >> confdefs.h
<<EOF
14653 #define __WXGTK12__ $WXGTK12
14658 if test "$WXGTK127" = 1 ; then
14659 cat >> confdefs.h
<<EOF
14660 #define __WXGTK127__ $WXGTK127
14665 if test "$WXWINE" = 1 ; then
14666 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14669 if test "$wxUSE_MAC" = 1 ; then
14670 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
14671 CFLAGS
="${CFLAGS} -fpascal-strings"
14672 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14673 # Extract the first word of "Rez", so it can be a program name with args.
14674 set dummy Rez
; ac_word
=$2
14675 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14676 echo "configure:14677: checking for $ac_word" >&5
14677 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14678 echo $ac_n "(cached) $ac_c" 1>&6
14680 if test -n "$REZ"; then
14681 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14683 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14685 for ac_dir
in $ac_dummy; do
14686 test -z "$ac_dir" && ac_dir
=.
14687 if test -f $ac_dir/$ac_word; then
14688 ac_cv_prog_REZ
="Rez"
14693 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14696 REZ
="$ac_cv_prog_REZ"
14697 if test -n "$REZ"; then
14698 echo "$ac_t""$REZ" 1>&6
14700 echo "$ac_t""no" 1>&6
14703 # Extract the first word of "Derez", so it can be a program name with args.
14704 set dummy Derez
; ac_word
=$2
14705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14706 echo "configure:14707: checking for $ac_word" >&5
14707 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14708 echo $ac_n "(cached) $ac_c" 1>&6
14710 if test -n "$DEREZ"; then
14711 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14713 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14715 for ac_dir
in $ac_dummy; do
14716 test -z "$ac_dir" && ac_dir
=.
14717 if test -f $ac_dir/$ac_word; then
14718 ac_cv_prog_DEREZ
="Derez"
14723 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14726 DEREZ
="$ac_cv_prog_DEREZ"
14727 if test -n "$DEREZ"; then
14728 echo "$ac_t""$DEREZ" 1>&6
14730 echo "$ac_t""no" 1>&6
14734 REZFLAGS
="-d __UNIX__ -useDF"
14735 DEREZFLAGS
="Carbon.r -useDF"
14736 RESFLAGS
="Carbon.r -t APPL"
14737 LIBWXMACRES
="\$(LIBWX_MACRES)"
14738 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14741 if test "$wxUSE_CYGWIN" = 1 ; then
14742 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14747 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14752 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14753 wxUSE_DEBUG_INFO
=yes
14757 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14758 cat >> confdefs.h
<<\EOF
14762 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14764 if test "$wxUSE_GTK" = 1 ; then
14765 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14769 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14770 cat >> confdefs.h
<<\EOF
14771 #define wxUSE_MEMORY_TRACING 1
14774 cat >> confdefs.h
<<\EOF
14775 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14778 cat >> confdefs.h
<<\EOF
14779 #define wxUSE_DEBUG_NEW_ALWAYS 1
14782 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14785 if test "$wxUSE_DMALLOC" = "yes" ; then
14786 DMALLOC_LINK
="-ldmalloc"
14790 if test "$wxUSE_PROFILE" = "yes" ; then
14796 CODE_GEN_FLAGS_CXX
=
14797 if test "$GCC" = yes ; then
14798 if test "$wxUSE_NO_RTTI" = "yes" ; then
14799 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14801 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14802 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14804 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14805 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14807 if test "$wxUSE_NO_DEPS" = "no" ; then
14808 DEP_INFO_FLAGS
="-MMD"
14813 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14814 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14815 if test "$wxUSE_OPTIMISE" = "no" ; then
14818 if test "$GCC" = yes ; then
14821 i586
-*-*|i686
-*-* )
14822 OPTIMISE
="${OPTIMISE} "
14830 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14831 cat >> confdefs.h
<<\EOF
14832 #define WXWIN_COMPATIBILITY_2 1
14836 WXWIN_COMPATIBILITY_2_2
="yes"
14839 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14840 cat >> confdefs.h
<<\EOF
14841 #define WXWIN_COMPATIBILITY_2_2 1
14848 if test "$wxUSE_REGEX" != "no"; then
14849 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
14850 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
14851 echo "configure:14852: checking for regex.h" >&5
14852 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14853 echo $ac_n "(cached) $ac_c" 1>&6
14855 cat > conftest.
$ac_ext <<EOF
14856 #line 14857 "configure"
14857 #include "confdefs.h"
14860 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14861 { (eval echo configure
:14862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14862 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14863 if test -z "$ac_err"; then
14865 eval "ac_cv_header_$ac_safe=yes"
14868 echo "configure: failed program was:" >&5
14869 cat conftest.
$ac_ext >&5
14871 eval "ac_cv_header_$ac_safe=no"
14875 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14876 echo "$ac_t""yes" 1>&6
14877 for ac_func
in regcomp
14879 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14880 echo "configure:14881: checking for $ac_func" >&5
14881 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14882 echo $ac_n "(cached) $ac_c" 1>&6
14884 cat > conftest.
$ac_ext <<EOF
14885 #line 14886 "configure"
14886 #include "confdefs.h"
14887 /* System header to define __stub macros and hopefully few prototypes,
14888 which can conflict with char $ac_func(); below. */
14889 #include <assert.h>
14890 /* Override any gcc2 internal prototype to avoid an error. */
14891 /* We use char because int might match the return type of a gcc2
14892 builtin and then its argument prototype would still apply. */
14897 /* The GNU C library defines this for functions which it implements
14898 to always fail with ENOSYS. Some functions are actually named
14899 something starting with __ and the normal name is an alias. */
14900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14908 if { (eval echo configure
:14909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14910 eval "ac_cv_func_$ac_func=yes"
14912 echo "configure: failed program was:" >&5
14913 cat conftest.
$ac_ext >&5
14915 eval "ac_cv_func_$ac_func=no"
14920 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14921 echo "$ac_t""yes" 1>&6
14922 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14923 cat >> confdefs.h
<<EOF
14924 #define $ac_tr_func 1
14928 echo "$ac_t""no" 1>&6
14933 echo "$ac_t""no" 1>&6
14937 if test "x$ac_cv_func_regcomp" != "xyes"; then
14938 if test "$wxUSE_REGEX" = "sys"; then
14939 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
14942 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
14945 cat >> confdefs.h
<<\EOF
14946 #define wxUSE_REGEX 1
14952 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14953 cat >> confdefs.h
<<\EOF
14954 #define wxUSE_ZLIB 1
14957 if test "$wxUSE_ZLIB" = "yes" ; then
14958 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14961 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14962 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14963 echo "configure:14964: checking for zlib.h" >&5
14964 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14965 echo $ac_n "(cached) $ac_c" 1>&6
14967 cat > conftest.
$ac_ext <<EOF
14968 #line 14969 "configure"
14969 #include "confdefs.h"
14972 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14973 { (eval echo configure
:14974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14974 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14975 if test -z "$ac_err"; then
14977 eval "ac_cv_header_$ac_safe=yes"
14980 echo "configure: failed program was:" >&5
14981 cat conftest.
$ac_ext >&5
14983 eval "ac_cv_header_$ac_safe=no"
14987 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14988 echo "$ac_t""yes" 1>&6
14989 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14990 echo "configure:14991: checking for deflate in -lz" >&5
14991 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14993 echo $ac_n "(cached) $ac_c" 1>&6
14995 ac_save_LIBS
="$LIBS"
14997 cat > conftest.
$ac_ext <<EOF
14998 #line 14999 "configure"
14999 #include "confdefs.h"
15000 /* Override any gcc2 internal prototype to avoid an error. */
15001 /* We use char because int might match the return type of a gcc2
15002 builtin and then its argument prototype would still apply. */
15009 if { (eval echo configure
:15010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15011 eval "ac_cv_lib_$ac_lib_var=yes"
15013 echo "configure: failed program was:" >&5
15014 cat conftest.
$ac_ext >&5
15016 eval "ac_cv_lib_$ac_lib_var=no"
15019 LIBS
="$ac_save_LIBS"
15022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15023 echo "$ac_t""yes" 1>&6
15026 echo "$ac_t""no" 1>&6
15030 echo "$ac_t""no" 1>&6
15033 if test "x$ZLIB_LINK" = "x" ; then
15034 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15040 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15041 cat >> confdefs.h
<<\EOF
15042 #define wxUSE_LIBPNG 1
15045 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15046 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15050 if test "$wxUSE_LIBPNG" = "yes" ; then
15051 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15054 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15055 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15056 echo "configure:15057: checking for png.h" >&5
15057 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15058 echo $ac_n "(cached) $ac_c" 1>&6
15060 cat > conftest.
$ac_ext <<EOF
15061 #line 15062 "configure"
15062 #include "confdefs.h"
15065 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15066 { (eval echo configure
:15067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15067 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15068 if test -z "$ac_err"; then
15070 eval "ac_cv_header_$ac_safe=yes"
15073 echo "configure: failed program was:" >&5
15074 cat conftest.
$ac_ext >&5
15076 eval "ac_cv_header_$ac_safe=no"
15080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15081 echo "$ac_t""yes" 1>&6
15082 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15083 echo "configure:15084: checking for png_check_sig in -lpng" >&5
15084 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15085 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15086 echo $ac_n "(cached) $ac_c" 1>&6
15088 ac_save_LIBS
="$LIBS"
15089 LIBS
="-lpng -lz -lm $LIBS"
15090 cat > conftest.
$ac_ext <<EOF
15091 #line 15092 "configure"
15092 #include "confdefs.h"
15093 /* Override any gcc2 internal prototype to avoid an error. */
15094 /* We use char because int might match the return type of a gcc2
15095 builtin and then its argument prototype would still apply. */
15096 char png_check_sig();
15102 if { (eval echo configure
:15103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15104 eval "ac_cv_lib_$ac_lib_var=yes"
15106 echo "configure: failed program was:" >&5
15107 cat conftest.
$ac_ext >&5
15109 eval "ac_cv_lib_$ac_lib_var=no"
15112 LIBS
="$ac_save_LIBS"
15115 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15116 echo "$ac_t""yes" 1>&6
15119 echo "$ac_t""no" 1>&6
15124 echo "$ac_t""no" 1>&6
15127 if test "x$PNG_LINK" = "x" ; then
15128 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15136 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15137 cat >> confdefs.h
<<\EOF
15138 #define wxUSE_LIBJPEG 1
15141 if test "$wxUSE_LIBJPEG" = "yes" ; then
15142 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15145 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15146 echo "configure:15147: checking for jpeglib.h" >&5
15147 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15148 echo $ac_n "(cached) $ac_c" 1>&6
15150 cat > conftest.
$ac_ext <<EOF
15151 #line 15152 "configure"
15152 #include "confdefs.h"
15154 #undef HAVE_STDLIB_H
15156 #include <jpeglib.h>
15163 if { (eval echo configure
:15164: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15165 ac_cv_header_jpeglib_h
=yes
15167 echo "configure: failed program was:" >&5
15168 cat conftest.
$ac_ext >&5
15170 ac_cv_header_jpeglib_h
=no
15177 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15179 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15180 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15181 echo "configure:15182: checking for jpeg_read_header in -ljpeg" >&5
15182 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15183 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15184 echo $ac_n "(cached) $ac_c" 1>&6
15186 ac_save_LIBS
="$LIBS"
15187 LIBS
="-ljpeg $LIBS"
15188 cat > conftest.
$ac_ext <<EOF
15189 #line 15190 "configure"
15190 #include "confdefs.h"
15191 /* Override any gcc2 internal prototype to avoid an error. */
15192 /* We use char because int might match the return type of a gcc2
15193 builtin and then its argument prototype would still apply. */
15194 char jpeg_read_header();
15200 if { (eval echo configure
:15201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15202 eval "ac_cv_lib_$ac_lib_var=yes"
15204 echo "configure: failed program was:" >&5
15205 cat conftest.
$ac_ext >&5
15207 eval "ac_cv_lib_$ac_lib_var=no"
15210 LIBS
="$ac_save_LIBS"
15213 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15214 echo "$ac_t""yes" 1>&6
15217 echo "$ac_t""no" 1>&6
15222 if test "x$JPEG_LINK" = "x" ; then
15223 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15229 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15230 cat >> confdefs.h
<<\EOF
15231 #define wxUSE_LIBTIFF 1
15234 if test "$wxUSE_LIBTIFF" = "yes" ; then
15235 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15238 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15239 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15240 echo "configure:15241: checking for tiffio.h" >&5
15241 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15242 echo $ac_n "(cached) $ac_c" 1>&6
15244 cat > conftest.
$ac_ext <<EOF
15245 #line 15246 "configure"
15246 #include "confdefs.h"
15247 #include <tiffio.h>
15249 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15250 { (eval echo configure
:15251: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15251 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15252 if test -z "$ac_err"; then
15254 eval "ac_cv_header_$ac_safe=yes"
15257 echo "configure: failed program was:" >&5
15258 cat conftest.
$ac_ext >&5
15260 eval "ac_cv_header_$ac_safe=no"
15264 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15265 echo "$ac_t""yes" 1>&6
15266 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15267 echo "configure:15268: checking for TIFFError in -ltiff" >&5
15268 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15269 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15270 echo $ac_n "(cached) $ac_c" 1>&6
15272 ac_save_LIBS
="$LIBS"
15273 LIBS
="-ltiff -lm $LIBS"
15274 cat > conftest.
$ac_ext <<EOF
15275 #line 15276 "configure"
15276 #include "confdefs.h"
15277 /* Override any gcc2 internal prototype to avoid an error. */
15278 /* We use char because int might match the return type of a gcc2
15279 builtin and then its argument prototype would still apply. */
15286 if { (eval echo configure
:15287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15288 eval "ac_cv_lib_$ac_lib_var=yes"
15290 echo "configure: failed program was:" >&5
15291 cat conftest.
$ac_ext >&5
15293 eval "ac_cv_lib_$ac_lib_var=no"
15296 LIBS
="$ac_save_LIBS"
15299 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15300 echo "$ac_t""yes" 1>&6
15303 echo "$ac_t""no" 1>&6
15307 echo "$ac_t""no" 1>&6
15310 if test "x$TIFF_LINK" = "x" ; then
15311 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15317 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15318 cat >> confdefs.h
<<\EOF
15319 #define wxUSE_FREETYPE 1
15322 if test "$wxUSE_FREETYPE" = "yes" ; then
15323 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15326 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15327 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15328 echo "configure:15329: checking for freetype.h" >&5
15329 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15330 echo $ac_n "(cached) $ac_c" 1>&6
15332 cat > conftest.
$ac_ext <<EOF
15333 #line 15334 "configure"
15334 #include "confdefs.h"
15335 #include <freetype.h>
15337 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15338 { (eval echo configure
:15339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15339 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15340 if test -z "$ac_err"; then
15342 eval "ac_cv_header_$ac_safe=yes"
15345 echo "configure: failed program was:" >&5
15346 cat conftest.
$ac_ext >&5
15348 eval "ac_cv_header_$ac_safe=no"
15352 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15353 echo "$ac_t""yes" 1>&6
15354 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15355 echo "configure:15356: checking for FT_Render_Glyph in -lfreetype" >&5
15356 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15358 echo $ac_n "(cached) $ac_c" 1>&6
15360 ac_save_LIBS
="$LIBS"
15361 LIBS
="-lfreetype -lm $LIBS"
15362 cat > conftest.
$ac_ext <<EOF
15363 #line 15364 "configure"
15364 #include "confdefs.h"
15365 /* Override any gcc2 internal prototype to avoid an error. */
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15368 char FT_Render_Glyph();
15374 if { (eval echo configure
:15375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15376 eval "ac_cv_lib_$ac_lib_var=yes"
15378 echo "configure: failed program was:" >&5
15379 cat conftest.
$ac_ext >&5
15381 eval "ac_cv_lib_$ac_lib_var=no"
15384 LIBS
="$ac_save_LIBS"
15387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15388 echo "$ac_t""yes" 1>&6
15389 FREETYPE_LINK
="-lfreetype"
15391 echo "$ac_t""no" 1>&6
15396 echo "$ac_t""no" 1>&6
15399 if test "x$FREETYPE_LINK" = "x" ; then
15400 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15405 if test "$wxUSE_OPENGL" = "yes"; then
15406 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15407 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15408 echo "configure:15409: checking for GL/gl.h" >&5
15409 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15410 echo $ac_n "(cached) $ac_c" 1>&6
15412 cat > conftest.
$ac_ext <<EOF
15413 #line 15414 "configure"
15414 #include "confdefs.h"
15417 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15418 { (eval echo configure
:15419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15419 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15420 if test -z "$ac_err"; then
15422 eval "ac_cv_header_$ac_safe=yes"
15425 echo "configure: failed program was:" >&5
15426 cat conftest.
$ac_ext >&5
15428 eval "ac_cv_header_$ac_safe=no"
15432 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15433 echo "$ac_t""yes" 1>&6
15435 cat >> confdefs.h
<<\EOF
15436 #define wxUSE_OPENGL 1
15439 cat >> confdefs.h
<<\EOF
15440 #define wxUSE_GLCANVAS 1
15443 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15444 echo "configure:15445: checking for glFlush in -lGL" >&5
15445 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15447 echo $ac_n "(cached) $ac_c" 1>&6
15449 ac_save_LIBS
="$LIBS"
15451 cat > conftest.
$ac_ext <<EOF
15452 #line 15453 "configure"
15453 #include "confdefs.h"
15454 /* Override any gcc2 internal prototype to avoid an error. */
15455 /* We use char because int might match the return type of a gcc2
15456 builtin and then its argument prototype would still apply. */
15463 if { (eval echo configure
:15464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15465 eval "ac_cv_lib_$ac_lib_var=yes"
15467 echo "configure: failed program was:" >&5
15468 cat conftest.
$ac_ext >&5
15470 eval "ac_cv_lib_$ac_lib_var=no"
15473 LIBS
="$ac_save_LIBS"
15476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15477 echo "$ac_t""yes" 1>&6
15479 OPENGL_LINK
="-lGL -lGLU"
15482 echo "$ac_t""no" 1>&6
15484 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15485 echo "configure:15486: checking for glFlush in -lMesaGL" >&5
15486 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15488 echo $ac_n "(cached) $ac_c" 1>&6
15490 ac_save_LIBS
="$LIBS"
15491 LIBS
="-lMesaGL $LIBS"
15492 cat > conftest.
$ac_ext <<EOF
15493 #line 15494 "configure"
15494 #include "confdefs.h"
15495 /* Override any gcc2 internal prototype to avoid an error. */
15496 /* We use char because int might match the return type of a gcc2
15497 builtin and then its argument prototype would still apply. */
15504 if { (eval echo configure
:15505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15506 eval "ac_cv_lib_$ac_lib_var=yes"
15508 echo "configure: failed program was:" >&5
15509 cat conftest.
$ac_ext >&5
15511 eval "ac_cv_lib_$ac_lib_var=no"
15514 LIBS
="$ac_save_LIBS"
15517 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15518 echo "$ac_t""yes" 1>&6
15520 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15523 echo "$ac_t""no" 1>&6
15531 echo "$ac_t""no" 1>&6
15538 if test "$wxUSE_GUI" = "yes"; then
15539 cat >> confdefs.h
<<\EOF
15540 #define wxUSE_GUI 1
15545 cat >> confdefs.h
<<\EOF
15546 #define wxUSE_NOGUI 1
15552 if test "$wxUSE_UNIX" = "yes"; then
15553 cat >> confdefs.h
<<\EOF
15554 #define wxUSE_UNIX 1
15560 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15561 cat >> confdefs.h
<<\EOF
15562 #define wxUSE_APPLE_IEEE 1
15567 if test "$wxUSE_TIMER" = "yes"; then
15568 cat >> confdefs.h
<<\EOF
15569 #define wxUSE_TIMER 1
15574 if test "$wxUSE_WAVE" = "yes"; then
15575 cat >> confdefs.h
<<\EOF
15576 #define wxUSE_WAVE 1
15581 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15582 cat >> confdefs.h
<<\EOF
15583 #define wxUSE_CMDLINE_PARSER 1
15588 if test "$wxUSE_STOPWATCH" = "yes"; then
15589 cat >> confdefs.h
<<\EOF
15590 #define wxUSE_STOPWATCH 1
15595 if test "$wxUSE_DATETIME" = "yes"; then
15596 cat >> confdefs.h
<<\EOF
15597 #define wxUSE_DATETIME 1
15602 if test "$wxUSE_TIMEDATE" = "yes"; then
15603 cat >> confdefs.h
<<\EOF
15604 #define wxUSE_TIMEDATE 1
15609 if test "$wxUSE_FILE" = "yes"; then
15610 cat >> confdefs.h
<<\EOF
15611 #define wxUSE_FILE 1
15616 if test "$wxUSE_FFILE" = "yes"; then
15617 cat >> confdefs.h
<<\EOF
15618 #define wxUSE_FFILE 1
15623 if test "$wxUSE_FILESYSTEM" = "yes"; then
15624 cat >> confdefs.h
<<\EOF
15625 #define wxUSE_FILESYSTEM 1
15630 if test "$wxUSE_FS_INET" = "yes"; then
15631 cat >> confdefs.h
<<\EOF
15632 #define wxUSE_FS_INET 1
15637 if test "$wxUSE_FS_ZIP" = "yes"; then
15638 cat >> confdefs.h
<<\EOF
15639 #define wxUSE_FS_ZIP 1
15644 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15645 cat >> confdefs.h
<<\EOF
15646 #define wxUSE_ZIPSTREAM 1
15651 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15652 cat >> confdefs.h
<<\EOF
15653 #define wxUSE_ON_FATAL_EXCEPTION 1
15658 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15659 cat >> confdefs.h
<<\EOF
15660 #define wxUSE_SNGLINST_CHECKER 1
15665 if test "$wxUSE_BUSYINFO" = "yes"; then
15666 cat >> confdefs.h
<<\EOF
15667 #define wxUSE_BUSYINFO 1
15672 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15673 cat >> confdefs.h
<<\EOF
15674 #define wxUSE_STD_IOSTREAM 1
15679 if test "$wxUSE_TEXTFILE" = "yes"; then
15680 if test "$wxUSE_FILE" != "yes"; then
15681 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15683 cat >> confdefs.h
<<\EOF
15684 #define wxUSE_TEXTFILE 1
15690 if test "$wxUSE_CONFIG" = "yes" ; then
15691 if test "$wxUSE_TEXTFILE" != "yes"; then
15692 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15694 cat >> confdefs.h
<<\EOF
15695 #define wxUSE_CONFIG 1
15698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15702 if test "$wxUSE_INTL" = "yes" ; then
15703 if test "$wxUSE_FILE" != "yes"; then
15704 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15706 cat >> confdefs.h
<<\EOF
15707 #define wxUSE_INTL 1
15710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15711 GUIDIST
="$GUIDIST INTL_DIST"
15715 if test "$wxUSE_LOG" = "yes"; then
15716 cat >> confdefs.h
<<\EOF
15717 #define wxUSE_LOG 1
15721 if test "$wxUSE_LOGGUI" = "yes"; then
15722 cat >> confdefs.h
<<\EOF
15723 #define wxUSE_LOGGUI 1
15728 if test "$wxUSE_LOGWINDOW" = "yes"; then
15729 cat >> confdefs.h
<<\EOF
15730 #define wxUSE_LOGWINDOW 1
15736 if test "$wxUSE_LONGLONG" = "yes"; then
15737 cat >> confdefs.h
<<\EOF
15738 #define wxUSE_LONGLONG 1
15743 if test "$wxUSE_GEOMETRY" = "yes"; then
15744 cat >> confdefs.h
<<\EOF
15745 #define wxUSE_GEOMETRY 1
15750 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15751 cat >> confdefs.h
<<\EOF
15752 #define wxUSE_DIALUP_MANAGER 1
15755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15758 if test "$wxUSE_STREAMS" = "yes" ; then
15759 cat >> confdefs.h
<<\EOF
15760 #define wxUSE_STREAMS 1
15766 if test "$wxUSE_DATETIME" = "yes"; then
15767 for ac_func
in strptime
15769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15770 echo "configure:15771: checking for $ac_func" >&5
15771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15772 echo $ac_n "(cached) $ac_c" 1>&6
15774 cat > conftest.
$ac_ext <<EOF
15775 #line 15776 "configure"
15776 #include "confdefs.h"
15777 /* System header to define __stub macros and hopefully few prototypes,
15778 which can conflict with char $ac_func(); below. */
15779 #include <assert.h>
15780 /* Override any gcc2 internal prototype to avoid an error. */
15781 /* We use char because int might match the return type of a gcc2
15782 builtin and then its argument prototype would still apply. */
15787 /* The GNU C library defines this for functions which it implements
15788 to always fail with ENOSYS. Some functions are actually named
15789 something starting with __ and the normal name is an alias. */
15790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15798 if { (eval echo configure
:15799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15800 eval "ac_cv_func_$ac_func=yes"
15802 echo "configure: failed program was:" >&5
15803 cat conftest.
$ac_ext >&5
15805 eval "ac_cv_func_$ac_func=no"
15810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15811 echo "$ac_t""yes" 1>&6
15812 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15813 cat >> confdefs.h
<<EOF
15814 #define $ac_tr_func 1
15818 echo "$ac_t""no" 1>&6
15823 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15824 echo "configure:15825: checking for timezone variable in <time.h>" >&5
15825 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15826 echo $ac_n "(cached) $ac_c" 1>&6
15829 cat > conftest.
$ac_ext <<EOF
15830 #line 15831 "configure"
15831 #include "confdefs.h"
15842 if { (eval echo configure
:15843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15845 wx_cv_var_timezone
=timezone
15848 echo "configure: failed program was:" >&5
15849 cat conftest.
$ac_ext >&5
15852 cat > conftest.
$ac_ext <<EOF
15853 #line 15854 "configure"
15854 #include "confdefs.h"
15865 if { (eval echo configure
:15866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15868 wx_cv_var_timezone
=_timezone
15871 echo "configure: failed program was:" >&5
15872 cat conftest.
$ac_ext >&5
15875 cat > conftest.
$ac_ext <<EOF
15876 #line 15877 "configure"
15877 #include "confdefs.h"
15888 if { (eval echo configure
:15889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15891 wx_cv_var_timezone
=__timezone
15894 echo "configure: failed program was:" >&5
15895 cat conftest.
$ac_ext >&5
15897 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15913 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15915 cat >> confdefs.h
<<EOF
15916 #define WX_TIMEZONE $wx_cv_var_timezone
15920 for ac_func
in localtime
15922 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15923 echo "configure:15924: checking for $ac_func" >&5
15924 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15925 echo $ac_n "(cached) $ac_c" 1>&6
15927 cat > conftest.
$ac_ext <<EOF
15928 #line 15929 "configure"
15929 #include "confdefs.h"
15930 /* System header to define __stub macros and hopefully few prototypes,
15931 which can conflict with char $ac_func(); below. */
15932 #include <assert.h>
15933 /* Override any gcc2 internal prototype to avoid an error. */
15934 /* We use char because int might match the return type of a gcc2
15935 builtin and then its argument prototype would still apply. */
15940 /* The GNU C library defines this for functions which it implements
15941 to always fail with ENOSYS. Some functions are actually named
15942 something starting with __ and the normal name is an alias. */
15943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15951 if { (eval echo configure
:15952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15953 eval "ac_cv_func_$ac_func=yes"
15955 echo "configure: failed program was:" >&5
15956 cat conftest.
$ac_ext >&5
15958 eval "ac_cv_func_$ac_func=no"
15963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15964 echo "$ac_t""yes" 1>&6
15965 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15966 cat >> confdefs.h
<<EOF
15967 #define $ac_tr_func 1
15971 echo "$ac_t""no" 1>&6
15976 if test "$ac_cv_func_localtime" = "yes"; then
15977 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15978 echo "configure:15979: checking for tm_gmtoff in struct tm" >&5
15979 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15980 echo $ac_n "(cached) $ac_c" 1>&6
15983 cat > conftest.
$ac_ext <<EOF
15984 #line 15985 "configure"
15985 #include "confdefs.h"
15996 if { (eval echo configure
:15997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15999 wx_cv_struct_tm_has_gmtoff
=yes
16002 echo "configure: failed program was:" >&5
16003 cat conftest.
$ac_ext >&5
16005 wx_cv_struct_tm_has_gmtoff
=no
16012 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16015 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16016 cat >> confdefs.h
<<\EOF
16017 #define WX_GMTOFF_IN_TM 1
16022 for ac_func
in gettimeofday ftime
16024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16025 echo "configure:16026: checking for $ac_func" >&5
16026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16027 echo $ac_n "(cached) $ac_c" 1>&6
16029 cat > conftest.
$ac_ext <<EOF
16030 #line 16031 "configure"
16031 #include "confdefs.h"
16032 /* System header to define __stub macros and hopefully few prototypes,
16033 which can conflict with char $ac_func(); below. */
16034 #include <assert.h>
16035 /* Override any gcc2 internal prototype to avoid an error. */
16036 /* We use char because int might match the return type of a gcc2
16037 builtin and then its argument prototype would still apply. */
16042 /* The GNU C library defines this for functions which it implements
16043 to always fail with ENOSYS. Some functions are actually named
16044 something starting with __ and the normal name is an alias. */
16045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16053 if { (eval echo configure
:16054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16055 eval "ac_cv_func_$ac_func=yes"
16057 echo "configure: failed program was:" >&5
16058 cat conftest.
$ac_ext >&5
16060 eval "ac_cv_func_$ac_func=no"
16065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16066 echo "$ac_t""yes" 1>&6
16067 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16068 cat >> confdefs.h
<<EOF
16069 #define $ac_tr_func 1
16073 echo "$ac_t""no" 1>&6
16078 if test "$ac_cv_func_gettimeofday" = "yes"; then
16079 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16080 echo "configure:16081: checking whether gettimeofday takes two arguments" >&5
16081 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16082 echo $ac_n "(cached) $ac_c" 1>&6
16087 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16088 ac_cpp
='$CXXCPP $CPPFLAGS'
16089 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16090 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16091 cross_compiling
=$ac_cv_prog_cxx_cross
16094 cat > conftest.
$ac_ext <<EOF
16095 #line 16096 "configure"
16096 #include "confdefs.h"
16098 #include <sys/time.h>
16099 #include <unistd.h>
16104 struct timezone tz;
16105 gettimeofday(&tv, &tz);
16109 if { (eval echo configure
:16110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16111 wx_cv_func_gettimeofday_has_2_args
=yes
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/time.h>
16121 #include <unistd.h>
16130 if { (eval echo configure
:16131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16132 wx_cv_func_gettimeofday_has_2_args
=no
16134 echo "configure: failed program was:" >&5
16135 cat conftest.
$ac_ext >&5
16137 wx_cv_func_gettimeofday_has_2_args
=unknown
16145 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16146 ac_cpp
='$CPP $CPPFLAGS'
16147 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16148 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16149 cross_compiling
=$ac_cv_prog_cc_cross
16154 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16156 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16157 cat >> confdefs.h
<<\EOF
16158 #define WX_GETTIMEOFDAY_NO_TZ 1
16164 cat >> confdefs.h
<<\EOF
16165 #define wxUSE_TIMEDATE 1
16168 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16172 if test "$TOOLKIT" != "MSW"; then
16174 if test "$wxUSE_SOCKETS" = "yes"; then
16175 echo $ac_n "checking for socket""... $ac_c" 1>&6
16176 echo "configure:16177: checking for socket" >&5
16177 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16178 echo $ac_n "(cached) $ac_c" 1>&6
16180 cat > conftest.
$ac_ext <<EOF
16181 #line 16182 "configure"
16182 #include "confdefs.h"
16183 /* System header to define __stub macros and hopefully few prototypes,
16184 which can conflict with char socket(); below. */
16185 #include <assert.h>
16186 /* Override any gcc2 internal prototype to avoid an error. */
16187 /* We use char because int might match the return type of a gcc2
16188 builtin and then its argument prototype would still apply. */
16193 /* The GNU C library defines this for functions which it implements
16194 to always fail with ENOSYS. Some functions are actually named
16195 something starting with __ and the normal name is an alias. */
16196 #if defined (__stub_socket) || defined (__stub___socket)
16204 if { (eval echo configure
:16205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16206 eval "ac_cv_func_socket=yes"
16208 echo "configure: failed program was:" >&5
16209 cat conftest.
$ac_ext >&5
16211 eval "ac_cv_func_socket=no"
16216 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16217 echo "$ac_t""yes" 1>&6
16220 echo "$ac_t""no" 1>&6
16221 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16222 echo "configure:16223: checking for socket in -lsocket" >&5
16223 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16224 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16225 echo $ac_n "(cached) $ac_c" 1>&6
16227 ac_save_LIBS
="$LIBS"
16228 LIBS
="-lsocket $LIBS"
16229 cat > conftest.
$ac_ext <<EOF
16230 #line 16231 "configure"
16231 #include "confdefs.h"
16232 /* Override any gcc2 internal prototype to avoid an error. */
16233 /* We use char because int might match the return type of a gcc2
16234 builtin and then its argument prototype would still apply. */
16241 if { (eval echo configure
:16242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16243 eval "ac_cv_lib_$ac_lib_var=yes"
16245 echo "configure: failed program was:" >&5
16246 cat conftest.
$ac_ext >&5
16248 eval "ac_cv_lib_$ac_lib_var=no"
16251 LIBS
="$ac_save_LIBS"
16254 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16255 echo "$ac_t""yes" 1>&6
16256 INET_LINK
="$INET_LINK -lsocket"
16258 echo "$ac_t""no" 1>&6
16260 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16272 if test "$wxUSE_SOCKETS" = "yes" ; then
16273 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16274 echo "configure:16275: checking what is the type of the third argument of getsockname" >&5
16275 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16276 echo $ac_n "(cached) $ac_c" 1>&6
16281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16282 ac_cpp
='$CXXCPP $CPPFLAGS'
16283 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16284 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16285 cross_compiling
=$ac_cv_prog_cxx_cross
16288 cat > conftest.
$ac_ext <<EOF
16289 #line 16290 "configure"
16290 #include "confdefs.h"
16292 #include <sys/types.h>
16293 #include <sys/socket.h>
16298 getsockname(0, 0, &len);
16302 if { (eval echo configure
:16303: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16304 wx_cv_type_getsockname3
=socklen_t
16306 echo "configure: failed program was:" >&5
16307 cat conftest.
$ac_ext >&5
16309 cat > conftest.
$ac_ext <<EOF
16310 #line 16311 "configure"
16311 #include "confdefs.h"
16313 #include <sys/types.h>
16314 #include <sys/socket.h>
16319 getsockname(0, 0, &len);
16323 if { (eval echo configure
:16324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16325 wx_cv_type_getsockname3
=size_t
16327 echo "configure: failed program was:" >&5
16328 cat conftest.
$ac_ext >&5
16330 cat > conftest.
$ac_ext <<EOF
16331 #line 16332 "configure"
16332 #include "confdefs.h"
16334 #include <sys/types.h>
16335 #include <sys/socket.h>
16340 getsockname(0, 0, &len);
16344 if { (eval echo configure
:16345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16346 wx_cv_type_getsockname3
=int
16348 echo "configure: failed program was:" >&5
16349 cat conftest.
$ac_ext >&5
16351 wx_cv_type_getsockname3
=unknown
16363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16364 ac_cpp
='$CPP $CPPFLAGS'
16365 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16366 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16367 cross_compiling
=$ac_cv_prog_cc_cross
16372 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16374 if test "$wx_cv_type_getsockname3" = "unknown"; then
16376 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16378 cat >> confdefs.h
<<EOF
16379 #define SOCKLEN_T $wx_cv_type_getsockname3
16387 if test "$wxUSE_SOCKETS" = "yes" ; then
16388 cat >> confdefs.h
<<\EOF
16389 #define wxUSE_SOCKETS 1
16392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16393 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16397 if test "$wxUSE_GUI" = "yes"; then
16399 if test "$TOOLKIT" != "MSW"; then
16401 if test "$wxUSE_JOYSTICK" = "yes"; then
16402 for ac_hdr
in linux
/joystick.h
16404 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16405 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16406 echo "configure:16407: checking for $ac_hdr" >&5
16407 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16408 echo $ac_n "(cached) $ac_c" 1>&6
16410 cat > conftest.
$ac_ext <<EOF
16411 #line 16412 "configure"
16412 #include "confdefs.h"
16415 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16416 { (eval echo configure
:16417: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16417 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16418 if test -z "$ac_err"; then
16420 eval "ac_cv_header_$ac_safe=yes"
16423 echo "configure: failed program was:" >&5
16424 cat conftest.
$ac_ext >&5
16426 eval "ac_cv_header_$ac_safe=no"
16430 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16431 echo "$ac_t""yes" 1>&6
16432 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16433 cat >> confdefs.h
<<EOF
16434 #define $ac_tr_hdr 1
16438 echo "$ac_t""no" 1>&6
16442 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16444 echo "configure: warning: Joystick not supported by this system" 1>&2
16450 if test "$wxUSE_JOYSTICK" = "yes"; then
16451 cat >> confdefs.h
<<\EOF
16452 #define wxUSE_JOYSTICK 1
16455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16461 if test "$TOOLKIT" != "MSW"; then
16465 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16466 if test "$USE_DARWIN" = 1; then
16469 for ac_func
in dlopen
16471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16472 echo "configure:16473: checking for $ac_func" >&5
16473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16474 echo $ac_n "(cached) $ac_c" 1>&6
16476 cat > conftest.
$ac_ext <<EOF
16477 #line 16478 "configure"
16478 #include "confdefs.h"
16479 /* System header to define __stub macros and hopefully few prototypes,
16480 which can conflict with char $ac_func(); below. */
16481 #include <assert.h>
16482 /* Override any gcc2 internal prototype to avoid an error. */
16483 /* We use char because int might match the return type of a gcc2
16484 builtin and then its argument prototype would still apply. */
16489 /* The GNU C library defines this for functions which it implements
16490 to always fail with ENOSYS. Some functions are actually named
16491 something starting with __ and the normal name is an alias. */
16492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16500 if { (eval echo configure
:16501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16502 eval "ac_cv_func_$ac_func=yes"
16504 echo "configure: failed program was:" >&5
16505 cat conftest.
$ac_ext >&5
16507 eval "ac_cv_func_$ac_func=no"
16512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16513 echo "$ac_t""yes" 1>&6
16514 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16515 cat >> confdefs.h
<<EOF
16516 #define $ac_tr_func 1
16519 cat >> confdefs.h
<<\EOF
16520 #define HAVE_DLOPEN 1
16526 echo "$ac_t""no" 1>&6
16527 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16528 echo "configure:16529: checking for dlopen in -ldl" >&5
16529 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16530 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16531 echo $ac_n "(cached) $ac_c" 1>&6
16533 ac_save_LIBS
="$LIBS"
16535 cat > conftest.
$ac_ext <<EOF
16536 #line 16537 "configure"
16537 #include "confdefs.h"
16538 /* Override any gcc2 internal prototype to avoid an error. */
16539 /* We use char because int might match the return type of a gcc2
16540 builtin and then its argument prototype would still apply. */
16547 if { (eval echo configure
:16548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16549 eval "ac_cv_lib_$ac_lib_var=yes"
16551 echo "configure: failed program was:" >&5
16552 cat conftest.
$ac_ext >&5
16554 eval "ac_cv_lib_$ac_lib_var=no"
16557 LIBS
="$ac_save_LIBS"
16560 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16561 echo "$ac_t""yes" 1>&6
16563 cat >> confdefs.h
<<\EOF
16564 #define HAVE_DLOPEN 1
16571 echo "$ac_t""no" 1>&6
16573 for ac_func
in shl_load
16575 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16576 echo "configure:16577: checking for $ac_func" >&5
16577 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16578 echo $ac_n "(cached) $ac_c" 1>&6
16580 cat > conftest.
$ac_ext <<EOF
16581 #line 16582 "configure"
16582 #include "confdefs.h"
16583 /* System header to define __stub macros and hopefully few prototypes,
16584 which can conflict with char $ac_func(); below. */
16585 #include <assert.h>
16586 /* Override any gcc2 internal prototype to avoid an error. */
16587 /* We use char because int might match the return type of a gcc2
16588 builtin and then its argument prototype would still apply. */
16593 /* The GNU C library defines this for functions which it implements
16594 to always fail with ENOSYS. Some functions are actually named
16595 something starting with __ and the normal name is an alias. */
16596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16604 if { (eval echo configure
:16605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16606 eval "ac_cv_func_$ac_func=yes"
16608 echo "configure: failed program was:" >&5
16609 cat conftest.
$ac_ext >&5
16611 eval "ac_cv_func_$ac_func=no"
16616 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16617 echo "$ac_t""yes" 1>&6
16618 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16619 cat >> confdefs.h
<<EOF
16620 #define $ac_tr_func 1
16623 cat >> confdefs.h
<<\EOF
16624 #define HAVE_SHL_LOAD 1
16630 echo "$ac_t""no" 1>&6
16631 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16632 echo "configure:16633: checking for dld in -lshl_load" >&5
16633 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16634 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16635 echo $ac_n "(cached) $ac_c" 1>&6
16637 ac_save_LIBS
="$LIBS"
16638 LIBS
="-lshl_load $LIBS"
16639 cat > conftest.
$ac_ext <<EOF
16640 #line 16641 "configure"
16641 #include "confdefs.h"
16642 /* Override any gcc2 internal prototype to avoid an error. */
16643 /* We use char because int might match the return type of a gcc2
16644 builtin and then its argument prototype would still apply. */
16651 if { (eval echo configure
:16652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16653 eval "ac_cv_lib_$ac_lib_var=yes"
16655 echo "configure: failed program was:" >&5
16656 cat conftest.
$ac_ext >&5
16658 eval "ac_cv_lib_$ac_lib_var=no"
16661 LIBS
="$ac_save_LIBS"
16664 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16665 echo "$ac_t""yes" 1>&6
16671 echo "$ac_t""no" 1>&6
16686 if test "$HAVE_DL_FUNCS" = 1; then
16687 for ac_func
in dlerror
16689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16690 echo "configure:16691: checking for $ac_func" >&5
16691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16692 echo $ac_n "(cached) $ac_c" 1>&6
16694 cat > conftest.
$ac_ext <<EOF
16695 #line 16696 "configure"
16696 #include "confdefs.h"
16697 /* System header to define __stub macros and hopefully few prototypes,
16698 which can conflict with char $ac_func(); below. */
16699 #include <assert.h>
16700 /* Override any gcc2 internal prototype to avoid an error. */
16701 /* We use char because int might match the return type of a gcc2
16702 builtin and then its argument prototype would still apply. */
16707 /* The GNU C library defines this for functions which it implements
16708 to always fail with ENOSYS. Some functions are actually named
16709 something starting with __ and the normal name is an alias. */
16710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16718 if { (eval echo configure
:16719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16720 eval "ac_cv_func_$ac_func=yes"
16722 echo "configure: failed program was:" >&5
16723 cat conftest.
$ac_ext >&5
16725 eval "ac_cv_func_$ac_func=no"
16730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16731 echo "$ac_t""yes" 1>&6
16732 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16733 cat >> confdefs.h
<<EOF
16734 #define $ac_tr_func 1
16736 cat >> confdefs.h
<<\EOF
16737 #define HAVE_DLERROR 1
16741 echo "$ac_t""no" 1>&6
16742 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16743 echo "configure:16744: checking for dlerror in -ldl" >&5
16744 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16745 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16746 echo $ac_n "(cached) $ac_c" 1>&6
16748 ac_save_LIBS
="$LIBS"
16750 cat > conftest.
$ac_ext <<EOF
16751 #line 16752 "configure"
16752 #include "confdefs.h"
16753 /* Override any gcc2 internal prototype to avoid an error. */
16754 /* We use char because int might match the return type of a gcc2
16755 builtin and then its argument prototype would still apply. */
16762 if { (eval echo configure
:16763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16764 eval "ac_cv_lib_$ac_lib_var=yes"
16766 echo "configure: failed program was:" >&5
16767 cat conftest.
$ac_ext >&5
16769 eval "ac_cv_lib_$ac_lib_var=no"
16772 LIBS
="$ac_save_LIBS"
16775 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16776 echo "$ac_t""yes" 1>&6
16777 cat >> confdefs.h
<<\EOF
16778 #define HAVE_DLERROR 1
16782 echo "$ac_t""no" 1>&6
16791 if test "$HAVE_DL_FUNCS" = 0; then
16792 if test "$HAVE_SHL_FUNCS" = 0; then
16793 if test "$USE_UNIX" = 1; then
16794 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16795 wxUSE_DYNLIB_CLASS
=no
16797 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16805 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16806 cat >> confdefs.h
<<\EOF
16807 #define wxUSE_DYNLIB_CLASS 1
16816 if test "$wxUSE_FONTMAP" = "yes" ; then
16817 cat >> confdefs.h
<<\EOF
16818 #define wxUSE_FONTMAP 1
16823 if test "$wxUSE_UNICODE" = "yes" ; then
16824 cat >> confdefs.h
<<\EOF
16825 #define wxUSE_UNICODE 1
16830 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16831 cat >> confdefs.h
<<\EOF
16832 #define wxUSE_WCSRTOMBS 1
16837 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16838 cat >> confdefs.h
<<\EOF
16839 #define wxUSE_EXPERIMENTAL_PRINTF 1
16845 if test "$wxUSE_SERIAL" = "yes" ; then
16846 cat >> confdefs.h
<<\EOF
16847 #define wxUSE_SERIAL 1
16854 if test "$wxUSE_ODBC" = "yes" ; then
16855 cat >> confdefs.h
<<\EOF
16856 #define wxUSE_ODBC 1
16859 WXODBCFLAG
="-D_IODBC_"
16860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16864 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16865 cat >> confdefs.h
<<\EOF
16866 #define wxUSE_POSTSCRIPT 1
16871 cat >> confdefs.h
<<\EOF
16872 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16876 cat >> confdefs.h
<<\EOF
16877 #define wxUSE_NORMALIZED_PS_FONTS 1
16882 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16883 cat >> confdefs.h
<<\EOF
16884 #define wxUSE_CONSTRAINTS 1
16887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16890 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16891 cat >> confdefs.h
<<\EOF
16892 #define wxUSE_MDI_ARCHITECTURE 1
16895 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16898 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16899 cat >> confdefs.h
<<\EOF
16900 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16904 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16905 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16909 if test "$wxUSE_HELP" = "yes"; then
16910 cat >> confdefs.h
<<\EOF
16911 #define wxUSE_HELP 1
16914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16916 if test "$USE_WIN32" = 1; then
16917 if test "$wxUSE_WXHTML_HELP" = "yes"; then
16918 cat >> confdefs.h
<<\EOF
16919 #define wxUSE_WXHTML_HELP 1
16922 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
16923 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
16924 echo "configure:16925: checking for htmlhelp.h" >&5
16925 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16926 echo $ac_n "(cached) $ac_c" 1>&6
16928 cat > conftest.
$ac_ext <<EOF
16929 #line 16930 "configure"
16930 #include "confdefs.h"
16931 #include <htmlhelp.h>
16933 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16934 { (eval echo configure
:16935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16935 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16936 if test -z "$ac_err"; then
16938 eval "ac_cv_header_$ac_safe=yes"
16941 echo "configure: failed program was:" >&5
16942 cat conftest.
$ac_ext >&5
16944 eval "ac_cv_header_$ac_safe=no"
16948 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16949 echo "$ac_t""yes" 1>&6
16951 cat >> confdefs.h
<<\EOF
16952 #define wxUSE_MS_HTML_HELP 1
16957 echo "$ac_t""no" 1>&6
16959 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
16960 wxUSE_MS_HTML_HELP
=no
16968 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16969 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16970 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16972 cat >> confdefs.h
<<\EOF
16973 #define wxUSE_PRINTING_ARCHITECTURE 1
16977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16980 if test "$wxUSE_PROLOGIO" = "yes" ; then
16981 cat >> confdefs.h
<<\EOF
16982 #define wxUSE_PROLOGIO 1
16987 if test "$wxUSE_RESOURCES" = "yes" ; then
16988 cat >> confdefs.h
<<\EOF
16989 #define wxUSE_RESOURCES 1
16992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16995 if test "$wxUSE_X_RESOURCES" = "yes"; then
16996 cat >> confdefs.h
<<\EOF
16997 #define wxUSE_X_RESOURCES 1
17003 if test "$wxUSE_IPC" = "yes"; then
17004 if test "$wxUSE_SOCKETS" != "yes"; then
17005 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17008 cat >> confdefs.h
<<\EOF
17009 #define wxUSE_IPC 1
17014 if test "$wxUSE_CLIPBOARD" = "yes"; then
17015 cat >> confdefs.h
<<\EOF
17016 #define wxUSE_CLIPBOARD 1
17019 cat >> confdefs.h
<<\EOF
17020 #define wxUSE_DATAOBJ 1
17025 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17026 if test "$wxUSE_GTK" = 1; then
17027 if test "$WXGTK12" != 1; then
17028 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17029 wxUSE_DRAG_AND_DROP
=no
17033 if test "$wxUSE_MOTIF" = 1; then
17034 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17035 wxUSE_DRAG_AND_DROP
=no
17038 if test "$wxUSE_MAC" = 1; then
17039 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17040 wxUSE_DRAG_AND_DROP
=no
17043 if test "$USE_WIN32" = 1; then
17045 for ac_hdr
in ole2.h
17047 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17048 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17049 echo "configure:17050: checking for $ac_hdr" >&5
17050 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17051 echo $ac_n "(cached) $ac_c" 1>&6
17053 cat > conftest.
$ac_ext <<EOF
17054 #line 17055 "configure"
17055 #include "confdefs.h"
17058 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17059 { (eval echo configure
:17060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17060 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17061 if test -z "$ac_err"; then
17063 eval "ac_cv_header_$ac_safe=yes"
17066 echo "configure: failed program was:" >&5
17067 cat conftest.
$ac_ext >&5
17069 eval "ac_cv_header_$ac_safe=no"
17073 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17074 echo "$ac_t""yes" 1>&6
17075 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17076 cat >> confdefs.h
<<EOF
17077 #define $ac_tr_hdr 1
17081 echo "$ac_t""no" 1>&6
17086 if test "$ac_cv_header_ole2_h" = "yes" ; then
17087 if test "$GCC" = yes ; then
17088 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17089 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17090 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17091 LIBS
="$LIBS -lole32 -luuid"
17092 cat >> confdefs.h
<<\EOF
17093 #define wxUSE_OLE 1
17097 if test "$wxUSE_METAFILE" = "yes"; then
17098 cat >> confdefs.h
<<\EOF
17099 #define wxUSE_METAFILE 1
17102 cat >> confdefs.h
<<\EOF
17103 #define wxUSE_ENH_METAFILE 1
17109 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17110 wxUSE_DRAG_AND_DROP
=no
17114 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17115 cat >> confdefs.h
<<\EOF
17116 #define wxUSE_DRAG_AND_DROP 1
17119 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17124 if test "$wxUSE_SPLINES" = "yes" ; then
17125 cat >> confdefs.h
<<\EOF
17126 #define wxUSE_SPLINES 1
17133 if test "$wxUSE_CONTROLS" = "yes"; then
17137 if test "$wxUSE_ACCEL" = "yes"; then
17138 cat >> confdefs.h
<<\EOF
17139 #define wxUSE_ACCEL 1
17145 if test "$wxUSE_BUTTON" = "yes"; then
17146 cat >> confdefs.h
<<\EOF
17147 #define wxUSE_BUTTON 1
17153 if test "$wxUSE_BMPBUTTON" = "yes"; then
17154 cat >> confdefs.h
<<\EOF
17155 #define wxUSE_BMPBUTTON 1
17161 if test "$wxUSE_CALCTRL" = "yes"; then
17162 cat >> confdefs.h
<<\EOF
17163 #define wxUSE_CALENDARCTRL 1
17167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17170 if test "$wxUSE_CARET" = "yes"; then
17171 cat >> confdefs.h
<<\EOF
17172 #define wxUSE_CARET 1
17176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17179 if test "$wxUSE_COMBOBOX" = "yes"; then
17180 cat >> confdefs.h
<<\EOF
17181 #define wxUSE_COMBOBOX 1
17187 if test "$wxUSE_CHOICE" = "yes"; then
17188 cat >> confdefs.h
<<\EOF
17189 #define wxUSE_CHOICE 1
17195 if test "$wxUSE_CHECKBOX" = "yes"; then
17196 cat >> confdefs.h
<<\EOF
17197 #define wxUSE_CHECKBOX 1
17203 if test "$wxUSE_CHECKLST" = "yes"; then
17204 cat >> confdefs.h
<<\EOF
17205 #define wxUSE_CHECKLISTBOX 1
17209 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17212 if test "$wxUSE_GAUGE" = "yes"; then
17213 cat >> confdefs.h
<<\EOF
17214 #define wxUSE_GAUGE 1
17220 if test "$wxUSE_NEW_GRID" = "yes"; then
17222 cat >> confdefs.h
<<\EOF
17223 #define wxUSE_NEW_GRID 1
17227 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17230 if test "$wxUSE_GRID" = "yes"; then
17231 cat >> confdefs.h
<<\EOF
17232 #define wxUSE_GRID 1
17236 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17239 if test "$wxUSE_IMAGLIST" = "yes"; then
17240 cat >> confdefs.h
<<\EOF
17241 #define wxUSE_IMAGLIST 1
17246 if test "$wxUSE_LISTBOX" = "yes"; then
17247 cat >> confdefs.h
<<\EOF
17248 #define wxUSE_LISTBOX 1
17254 if test "$wxUSE_LISTCTRL" = "yes"; then
17255 if test "$wxUSE_IMAGLIST" = "yes"; then
17256 cat >> confdefs.h
<<\EOF
17257 #define wxUSE_LISTCTRL 1
17261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17263 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17267 if test "$wxUSE_NOTEBOOK" = "yes"; then
17268 cat >> confdefs.h
<<\EOF
17269 #define wxUSE_NOTEBOOK 1
17273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17276 if test "$wxUSE_RADIOBOX" = "yes"; then
17277 cat >> confdefs.h
<<\EOF
17278 #define wxUSE_RADIOBOX 1
17284 if test "$wxUSE_RADIOBTN" = "yes"; then
17285 cat >> confdefs.h
<<\EOF
17286 #define wxUSE_RADIOBTN 1
17292 if test "$wxUSE_SASH" = "yes"; then
17293 cat >> confdefs.h
<<\EOF
17294 #define wxUSE_SASH 1
17297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17300 if test "$wxUSE_SCROLLBAR" = "yes"; then
17301 cat >> confdefs.h
<<\EOF
17302 #define wxUSE_SCROLLBAR 1
17306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17309 if test "$wxUSE_SLIDER" = "yes"; then
17310 cat >> confdefs.h
<<\EOF
17311 #define wxUSE_SLIDER 1
17317 if test "$wxUSE_SPINBTN" = "yes"; then
17318 cat >> confdefs.h
<<\EOF
17319 #define wxUSE_SPINBTN 1
17325 if test "$wxUSE_SPINCTRL" = "yes"; then
17326 cat >> confdefs.h
<<\EOF
17327 #define wxUSE_SPINCTRL 1
17333 if test "$wxUSE_SPLITTER" = "yes"; then
17334 cat >> confdefs.h
<<\EOF
17335 #define wxUSE_SPLITTER 1
17338 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17341 if test "$wxUSE_STATBMP" = "yes"; then
17342 cat >> confdefs.h
<<\EOF
17343 #define wxUSE_STATBMP 1
17349 if test "$wxUSE_STATBOX" = "yes"; then
17350 cat >> confdefs.h
<<\EOF
17351 #define wxUSE_STATBOX 1
17357 if test "$wxUSE_STATTEXT" = "yes"; then
17358 cat >> confdefs.h
<<\EOF
17359 #define wxUSE_STATTEXT 1
17365 if test "$wxUSE_STATLINE" = "yes"; then
17366 if test "$wxUSE_WINE" = 1 ; then
17367 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17369 cat >> confdefs.h
<<\EOF
17370 #define wxUSE_STATLINE 1
17377 if test "$wxUSE_STATUSBAR" = "yes"; then
17378 cat >> confdefs.h
<<\EOF
17379 #define wxUSE_STATUSBAR 1
17384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17387 if test "$wxUSE_TABDIALOG" = "yes"; then
17388 cat >> confdefs.h
<<\EOF
17389 #define wxUSE_TAB_DIALOG 1
17392 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17395 if test "$wxUSE_TEXTCTRL" = "yes"; then
17396 cat >> confdefs.h
<<\EOF
17397 #define wxUSE_TEXTCTRL 1
17401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17404 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17405 if test "$wxUSE_MAC" = 1; then
17406 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17410 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17411 cat >> confdefs.h
<<\EOF
17412 #define wxUSE_TOGGLEBTN 1
17419 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17420 cat >> confdefs.h
<<\EOF
17421 #define wxUSE_TOOLBAR_SIMPLE 1
17424 wxUSE_TOOLBAR
="yes"
17428 if test "$wxUSE_TOOLBAR" = "yes"; then
17429 cat >> confdefs.h
<<\EOF
17430 #define wxUSE_TOOLBAR 1
17435 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17436 wxUSE_TOOLBAR_NATIVE
="yes"
17439 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17440 cat >> confdefs.h
<<\EOF
17441 #define wxUSE_TOOLBAR_NATIVE 1
17447 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17450 if test "$wxUSE_TOOLTIPS" = "yes"; then
17451 if test "$wxUSE_MOTIF" = 1; then
17452 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17454 if test "$wxUSE_WINE" = 1; then
17455 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17457 cat >> confdefs.h
<<\EOF
17458 #define wxUSE_TOOLTIPS 1
17465 if test "$wxUSE_TREECTRL" = "yes"; then
17466 if test "$wxUSE_IMAGLIST" = "yes"; then
17467 cat >> confdefs.h
<<\EOF
17468 #define wxUSE_TREECTRL 1
17472 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17474 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17478 if test "$wxUSE_POPUPWIN" = "yes"; then
17479 if test "$wxUSE_MAC" = 1; then
17480 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17482 cat >> confdefs.h
<<\EOF
17483 #define wxUSE_POPUPWIN 1
17490 if test "$USES_CONTROLS" = 1; then
17491 cat >> confdefs.h
<<\EOF
17492 #define wxUSE_CONTROLS 1
17499 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17500 cat >> confdefs.h
<<\EOF
17501 #define wxUSE_DRAGIMAGE 1
17504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17507 if test "$wxUSE_MENUS" = "yes"; then
17508 cat >> confdefs.h
<<\EOF
17509 #define wxUSE_MENUS 1
17512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17515 if test "$wxUSE_METAFILE" = "yes"; then
17516 cat >> confdefs.h
<<\EOF
17517 #define wxUSE_METAFILE 1
17522 if test "$wxUSE_MIMETYPE" = "yes"; then
17523 cat >> confdefs.h
<<\EOF
17524 #define wxUSE_MIMETYPE 1
17529 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17530 cat >> confdefs.h
<<\EOF
17531 #define wxUSE_SYSTEM_OPTIONS 1
17536 if test "$wxUSE_MINIFRAME" = "yes"; then
17537 cat >> confdefs.h
<<\EOF
17538 #define wxUSE_MINIFRAME 1
17541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17544 if test "$wxUSE_HTML" = "yes"; then
17545 cat >> confdefs.h
<<\EOF
17546 #define wxUSE_HTML 1
17549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17550 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17553 if test "$wxUSE_VALIDATORS" = "yes"; then
17554 cat >> confdefs.h
<<\EOF
17555 #define wxUSE_VALIDATORS 1
17558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17561 if test "$wxUSE_IMAGE" = "yes" ; then
17562 cat >> confdefs.h
<<\EOF
17563 #define wxUSE_IMAGE 1
17568 if test "$wxUSE_GIF" = "yes" ; then
17569 cat >> confdefs.h
<<\EOF
17570 #define wxUSE_GIF 1
17575 if test "$wxUSE_PCX" = "yes" ; then
17576 cat >> confdefs.h
<<\EOF
17577 #define wxUSE_PCX 1
17582 if test "$wxUSE_PNM" = "yes" ; then
17583 cat >> confdefs.h
<<\EOF
17584 #define wxUSE_PNM 1
17589 if test "$wxUSE_XPM" = "yes" ; then
17590 cat >> confdefs.h
<<\EOF
17591 #define wxUSE_XPM 1
17597 if test "$wxUSE_CHOICEDLG" = "yes"; then
17598 cat >> confdefs.h
<<\EOF
17599 #define wxUSE_CHOICEDLG 1
17604 if test "$wxUSE_COLOURDLG" = "yes"; then
17605 cat >> confdefs.h
<<\EOF
17606 #define wxUSE_COLOURDLG 1
17611 if test "$wxUSE_FILEDLG" = "yes"; then
17612 cat >> confdefs.h
<<\EOF
17613 #define wxUSE_FILEDLG 1
17618 if test "$wxUSE_FONTDLG" = "yes"; then
17619 cat >> confdefs.h
<<\EOF
17620 #define wxUSE_FONTDLG 1
17625 if test "$wxUSE_DIRDLG" = "yes"; then
17626 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17627 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17629 if test "$wxUSE_TREECTRL" != "yes"; then
17630 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17632 cat >> confdefs.h
<<\EOF
17633 #define wxUSE_DIRDLG 1
17640 if test "$wxUSE_MSGDLG" = "yes"; then
17641 cat >> confdefs.h
<<\EOF
17642 #define wxUSE_MSGDLG 1
17647 if test "$wxUSE_NUMBERDLG" = "yes"; then
17648 cat >> confdefs.h
<<\EOF
17649 #define wxUSE_NUMBERDLG 1
17654 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17655 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17656 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17658 cat >> confdefs.h
<<\EOF
17659 #define wxUSE_PROGRESSDLG 1
17665 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17666 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17667 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17669 cat >> confdefs.h
<<\EOF
17670 #define wxUSE_STARTUP_TIPS 1
17676 if test "$wxUSE_TEXTDLG" = "yes"; then
17677 cat >> confdefs.h
<<\EOF
17678 #define wxUSE_TEXTDLG 1
17683 if test "$wxUSE_WIZARDDLG" = "yes"; then
17684 cat >> confdefs.h
<<\EOF
17685 #define wxUSE_WIZARDDLG 1
17688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17692 if test "$cross_compiling" = "yes"; then
17695 OSINFO
=`uname -s -r -m`
17696 OSINFO
="\"$OSINFO\""
17699 cat >> confdefs.h
<<EOF
17700 #define WXWIN_OS_DESCRIPTION $OSINFO
17705 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17706 OPENGL_LIBS
="$OPENGL_LINK"
17708 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17709 if test "$wxUSE_MAC" = 1 ; then
17710 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17712 if test "$wxUSE_GUI" = "yes"; then
17713 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17716 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17718 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17719 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17720 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17722 if test "$wxUSE_GTK" = 1; then
17723 WXCONFIG_INCLUDE
=""
17725 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17728 if test "$GXX" = yes ; then
17729 CXXWARNINGS
="-Wall"
17731 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17733 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17734 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17736 LDFLAGS
="$LDFLAGS $PROFILE"
17738 if test "$wxUSE_GUI" = "yes"; then
17740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17741 drawing dynamic event font fractal image \
17742 minimal richedit widgets"
17744 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17745 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17748 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17753 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17848 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17849 echo "configure:17850: checking whether ${MAKE-make} sets \${MAKE}" >&5
17850 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17851 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17852 echo $ac_n "(cached) $ac_c" 1>&6
17854 cat > conftestmake
<<\EOF
17856 @
echo 'ac_maketemp="${MAKE}"'
17858 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17859 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17860 if test -n "$ac_maketemp"; then
17861 eval ac_cv_prog_make_
${ac_make}_set
=yes
17863 eval ac_cv_prog_make_
${ac_make}_set
=no
17867 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17868 echo "$ac_t""yes" 1>&6
17871 echo "$ac_t""no" 1>&6
17872 SET_MAKE
="MAKE=${MAKE-make}"
17876 if test -d include
; then
17877 if test -d include
/wx
; then
17878 if test -d include
/wx
/${SETUPH_DIR}; then
17879 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17880 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17888 if test "$wxUSE_GUI" = "yes"; then
17889 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17890 wx_cv_path_ifs
=$PATH_IFS
17891 wx_cv_program_ext
=$PROGRAM_EXT
17892 wx_cv_target_library
=$WX_TARGET_LIBRARY
17893 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17894 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17895 wx_cv_target_library wx_cv_target_libtype
17896 subdirs
="demos samples utils contrib"
17901 cat > confcache
<<\EOF
17902 # This file is a shell script that caches the results of configure
17903 # tests run on this system so they can be shared between configure
17904 # scripts and configure runs. It is not useful on other systems.
17905 # If it contains results you don't want to keep, you may remove or edit it.
17907 # By default, configure uses ./config.cache as the cache file,
17908 # creating it if it does not exist already. You can give configure
17909 # the --cache-file=FILE option to use a different cache file; that is
17910 # what configure does when it calls configure scripts in
17911 # subdirectories, so they share the cache.
17912 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17913 # config.status only pays attention to the cache file if you give it the
17914 # --recheck option to rerun configure.
17917 # The following way of writing the cache mishandles newlines in values,
17918 # but we know of no workaround that is simple, portable, and efficient.
17919 # So, don't put newlines in cache variables' values.
17920 # Ultrix sh set writes to stderr and can't be redirected directly,
17921 # and sets the high bit in the cache file unless we assign to the vars.
17923 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17925 # `set' does not quote correctly, so add quotes (double-quote substitution
17926 # turns \\\\ into \\, and sed turns \\ into \).
17928 -e "s/'/'\\\\''/g" \
17929 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17932 # `set' quotes correctly as required by POSIX, so do not add quotes.
17933 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17936 if cmp -s $cache_file confcache
; then
17939 if test -w $cache_file; then
17940 echo "updating cache $cache_file"
17941 cat confcache
> $cache_file
17943 echo "not updating unwritable cache $cache_file"
17948 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17950 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17951 # Let make expand exec_prefix.
17952 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17954 # Any assignment to VPATH causes Sun make to only execute
17955 # the first set of double-colon rules, so remove it if not needed.
17956 # If there is a colon in the path, we need to keep it.
17957 if test "x$srcdir" = x.
; then
17958 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17961 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17963 DEFS
=-DHAVE_CONFIG_H
17965 # Without the "./", some shells look in PATH for config.status.
17966 : ${CONFIG_STATUS=./config.status}
17968 echo creating
$CONFIG_STATUS
17969 rm -f $CONFIG_STATUS
17970 cat > $CONFIG_STATUS <<EOF
17972 # Generated automatically by configure.
17973 # Run this file to recreate the current configuration.
17974 # This directory was configured as follows,
17975 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17977 # $0 $ac_configure_args
17979 # Compiler output produced by configure, useful for debugging
17980 # configure, is in ./config.log if it exists.
17982 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17985 case "\$ac_option" in
17986 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17987 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17988 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17989 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17990 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17992 -help | --help | --hel | --he | --h)
17993 echo "\$ac_cs_usage"; exit 0 ;;
17994 *) echo "\$ac_cs_usage"; exit 1 ;;
17998 ac_given_srcdir=$srcdir
17999 ac_given_INSTALL="$INSTALL"
18001 trap 'rm -fr `echo "
18007 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18009 cat >> $CONFIG_STATUS <<EOF
18011 # Protect against being on the right side of a sed subst in config.status.
18012 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18013 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18017 s%@CFLAGS@%$CFLAGS%g
18018 s%@CPPFLAGS@%$CPPFLAGS%g
18019 s%@CXXFLAGS@%$CXXFLAGS%g
18020 s%@FFLAGS@%$FFLAGS%g
18022 s%@LDFLAGS@%$LDFLAGS%g
18024 s%@exec_prefix@%$exec_prefix%g
18025 s%@prefix@%$prefix%g
18026 s%@program_transform_name@%$program_transform_name%g
18027 s%@bindir@%$bindir%g
18028 s%@sbindir@%$sbindir%g
18029 s%@libexecdir@%$libexecdir%g
18030 s%@datadir@%$datadir%g
18031 s%@sysconfdir@%$sysconfdir%g
18032 s%@sharedstatedir@%$sharedstatedir%g
18033 s%@localstatedir@%$localstatedir%g
18034 s%@libdir@%$libdir%g
18035 s%@includedir@%$includedir%g
18036 s%@oldincludedir@%$oldincludedir%g
18037 s%@infodir@%$infodir%g
18038 s%@mandir@%$mandir%g
18040 s%@host_alias@%$host_alias%g
18041 s%@host_cpu@%$host_cpu%g
18042 s%@host_vendor@%$host_vendor%g
18043 s%@host_os@%$host_os%g
18044 s%@target@%$target%g
18045 s%@target_alias@%$target_alias%g
18046 s%@target_cpu@%$target_cpu%g
18047 s%@target_vendor@%$target_vendor%g
18048 s%@target_os@%$target_os%g
18050 s%@build_alias@%$build_alias%g
18051 s%@build_cpu@%$build_cpu%g
18052 s%@build_vendor@%$build_vendor%g
18053 s%@build_os@%$build_os%g
18057 s%@CXXCPP@%$CXXCPP%g
18058 s%@RANLIB@%$RANLIB%g
18060 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18061 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18062 s%@INSTALL_DATA@%$INSTALL_DATA%g
18066 s%@LEXLIB@%$LEXLIB%g
18068 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18069 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18070 s%@GTK_LIBS@%$GTK_LIBS%g
18071 s%@GTK_CONFIG@%$GTK_CONFIG%g
18072 s%@X_CFLAGS@%$X_CFLAGS%g
18073 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18074 s%@X_LIBS@%$X_LIBS%g
18075 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18078 s%@LEX_STEM@%$LEX_STEM%g
18079 s%@PATH_IFS@%$PATH_IFS%g
18080 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18081 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18082 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18083 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18084 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18085 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18086 s%@WX_LIBRARY@%$WX_LIBRARY%g
18087 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18088 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18089 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18090 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18091 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18092 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18093 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18094 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18095 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18096 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18097 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18098 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18099 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18100 s%@WX_ALL@%$WX_ALL%g
18101 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18102 s%@SHARED_LD@%$SHARED_LD%g
18103 s%@PIC_FLAG@%$PIC_FLAG%g
18104 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18105 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18106 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18107 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18108 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18109 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18110 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18111 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18112 s%@USE_GUI@%$USE_GUI%g
18113 s%@AFMINSTALL@%$AFMINSTALL%g
18114 s%@SETUPH_DIR@%$SETUPH_DIR%g
18115 s%@TOOLKIT@%$TOOLKIT%g
18116 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18117 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18118 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18119 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18120 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18121 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18122 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18123 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18124 s%@GUIDIST@%$GUIDIST%g
18125 s%@PORT_FILES@%$PORT_FILES%g
18126 s%@DISTDIR@%$DISTDIR%g
18127 s%@RPM_SPEC@%$RPM_SPEC%g
18128 s%@RPM_FILES@%$RPM_FILES%g
18129 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18130 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18131 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18132 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18133 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18134 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18135 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18136 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18137 s%@EXTRADEFS@%$EXTRADEFS%g
18138 s%@LD_LIBS@%$LD_LIBS%g
18139 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18140 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18141 s%@RESPROGRAM@%$RESPROGRAM%g
18142 s%@RESCOMP@%$RESCOMP%g
18143 s%@RESFLAGS@%$RESFLAGS%g
18144 s%@REZFLAGS@%$REZFLAGS%g
18145 s%@DEREZFLAGS@%$DEREZFLAGS%g
18146 s%@LIBWXMACRES@%$LIBWXMACRES%g
18147 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18148 s%@DLLTOOL@%$DLLTOOL%g
18152 s%@MAKEINFO@%$MAKEINFO%g
18153 s%@SET_MAKE@%$SET_MAKE%g
18154 s%@subdirs@%$subdirs%g
18159 cat >> $CONFIG_STATUS <<\EOF
18161 # Split the substitutions into bite-sized pieces for seds with
18162 # small command number limits, like on Digital OSF/1 and HP-UX.
18163 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18164 ac_file
=1 # Number of current file.
18165 ac_beg
=1 # First line for current file.
18166 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18169 while $ac_more_lines; do
18170 if test $ac_beg -gt 1; then
18171 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18173 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18175 if test ! -s conftest.s
$ac_file; then
18176 ac_more_lines
=false
18177 rm -f conftest.s
$ac_file
18179 if test -z "$ac_sed_cmds"; then
18180 ac_sed_cmds
="sed -f conftest.s$ac_file"
18182 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18184 ac_file
=`expr $ac_file + 1`
18186 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18189 if test -z "$ac_sed_cmds"; then
18194 cat >> $CONFIG_STATUS <<EOF
18196 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18203 cat >> $CONFIG_STATUS <<\EOF
18204 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18205 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18207 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18208 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18209 *) ac_file_in
="${ac_file}.in" ;;
18212 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18214 # Remove last slash and all that follows it. Not all systems have dirname.
18215 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18216 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18217 # The file is in a subdirectory.
18218 test ! -d "$ac_dir" && mkdir "$ac_dir"
18219 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18220 # A "../" for each directory in $ac_dir_suffix.
18221 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18223 ac_dir_suffix
= ac_dots
=
18226 case "$ac_given_srcdir" in
18228 if test -z "$ac_dots"; then top_srcdir
=.
18229 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18230 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18231 *) # Relative path.
18232 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18233 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18236 case "$ac_given_INSTALL" in
18237 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18238 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18241 echo creating
"$ac_file"
18243 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18245 *Makefile
*) ac_comsub
="1i\\
18246 # $configure_input" ;;
18250 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18252 s%@configure_input@%$configure_input%g
18253 s%@srcdir@%$srcdir%g
18254 s%@top_srcdir@%$top_srcdir%g
18255 s%@INSTALL@%$INSTALL%g
18256 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18260 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18261 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18263 # ac_d sets the value in "#define NAME VALUE" lines.
18264 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18265 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18268 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18269 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18270 ac_uB
='\([ ]\)%\1#\2define\3'
18273 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18274 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18275 ac_eB
='$%\1#\2define\3'
18279 if test "${CONFIG_HEADERS+set}" != set; then
18281 cat >> $CONFIG_STATUS <<EOF
18282 CONFIG_HEADERS="setup.h:setup.h.in"
18284 cat >> $CONFIG_STATUS <<\EOF
18286 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18287 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18289 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18290 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18291 *) ac_file_in
="${ac_file}.in" ;;
18294 echo creating
$ac_file
18296 rm -f conftest.frag conftest.
in conftest.out
18297 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18298 cat $ac_file_inputs > conftest.
in
18302 # Transform confdefs.h into a sed script conftest.vals that substitutes
18303 # the proper values into config.h.in to produce config.h. And first:
18304 # Protect against being on the right side of a sed subst in config.status.
18305 # Protect against being in an unquoted here document in config.status.
18306 rm -f conftest.vals
18307 cat > conftest.hdr
<<\EOF
18310 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18314 sed -n -f conftest.hdr confdefs.h > conftest.vals
18317 # This sed command replaces #undef with comments. This is necessary, for
18318 # example, in the case of _POSIX_SOURCE, which is predefined and required
18319 # on some systems where configure will not decide to define it.
18320 cat >> conftest.vals <<\EOF
18321 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18324 # Break up conftest.vals because some shells have a limit on
18325 # the size of here documents, and old seds have small limits too.
18327 rm -f conftest.tail
18330 ac_lines=`grep -c . conftest.vals
`
18331 # grep -c gives empty output for an empty file on some AIX systems.
18332 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18333 # Write a limited-size here document to conftest.frag.
18334 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18335 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18337 sed -f conftest.frag conftest.in > conftest.out
18339 mv conftest.out conftest.in
18340 ' >> $CONFIG_STATUS
18341 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18342 rm -f conftest.vals
18343 mv conftest.tail conftest.vals
18345 rm -f conftest.vals
18347 cat >> $CONFIG_STATUS <<\EOF
18348 rm -f conftest.frag conftest.h
18349 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18350 cat conftest.in >> conftest.h
18352 if cmp -s $ac_file conftest.h 2>/dev/null; then
18353 echo "$ac_file is unchanged"
18356 # Remove last slash and all that follows it. Not all systems have dirname.
18357 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18358 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18359 # The file is in a subdirectory.
18360 test ! -d "$ac_dir" && mkdir "$ac_dir"
18363 mv conftest.h $ac_file
18368 cat >> $CONFIG_STATUS <<EOF
18370 SETUPH_DIR="${SETUPH_DIR}"
18371 TOOLKIT_NAME="${TOOLKIT_NAME}"
18376 cat >> $CONFIG_STATUS <<\EOF
18378 if test ! -f wx${TOOLKIT_NAME}-config; then
18380 mv wx-config wx${TOOLKIT_NAME}-config
18381 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18385 if test ! -d lib; then
18388 if test ! -d lib/wx; then
18391 if test ! -d lib/wx/include; then
18392 mkdir lib/wx/include
18394 if test ! -d lib/wx/include/wx; then
18395 mkdir lib/wx/include/wx
18397 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18398 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18400 if test -f setup.h; then
18401 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18405 if test ! -d include; then
18408 if test ! -d include/wx; then
18411 if test ! -d include/wx/${SETUPH_DIR}; then
18412 mkdir include/wx/${SETUPH_DIR}
18414 if test -f setup.h; then
18415 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18421 chmod +x $CONFIG_STATUS
18422 rm -fr confdefs* $ac_clean_files
18423 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18425 if test "$no_recursion" != yes; then
18427 # Remove --cache-file and --srcdir arguments so they do not pile up.
18428 ac_sub_configure_args=
18430 for ac_arg in $ac_configure_args; do
18431 if test -n "$ac_prev"; then
18436 -cache-file | --cache-file | --cache-fil | --cache-fi \
18437 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18438 ac_prev=cache_file ;;
18439 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18440 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18442 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18444 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18446 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18450 for ac_config_dir in demos samples utils contrib; do
18452 # Do not complain, so a configure script can configure whichever
18453 # parts of a large source tree are present.
18454 if test ! -d $srcdir/$ac_config_dir; then
18458 echo configuring in $ac_config_dir
18463 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18465 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18473 # A "../" for each directory in /$ac_config_dir.
18474 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18477 .) # No --srcdir option. We are building in place.
18478 ac_sub_srcdir=$srcdir ;;
18479 /*) # Absolute path.
18480 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18481 *) # Relative path.
18482 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18485 # Check for guested configure; otherwise get Cygnus style configure.
18486 if test -f $ac_sub_srcdir/configure; then
18487 ac_sub_configure=$ac_sub_srcdir/configure
18488 elif test -f $ac_sub_srcdir/configure.in; then
18489 ac_sub_configure=$ac_configure
18491 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18495 # The recursion is here.
18496 if test -n "$ac_sub_configure"; then
18498 # Make the cache file name correct relative to the subdirectory.
18499 case "$cache_file" in
18500 /*) ac_sub_cache_file=$cache_file ;;
18501 *) # Relative path.
18502 ac_sub_cache_file="$ac_dots$cache_file" ;;
18504 case "$ac_given_INSTALL" in
18505 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18506 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18509 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18510 # The eval makes quoting arguments work.
18511 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18514 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }