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
1456 DEFAULT_wxUSE_WXHTML_HELP
=no
1457 DEFAULT_wxUSE_WXTREE
=no
1458 DEFAULT_wxUSE_METAFILE
=no
1459 DEFAULT_wxUSE_MIMETYPE
=no
1460 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1462 DEFAULT_wxUSE_COMMONDLGS
=no
1463 DEFAULT_wxUSE_CHOICEDLG
=no
1464 DEFAULT_wxUSE_COLOURDLG
=no
1465 DEFAULT_wxUSE_DIRDLG
=no
1466 DEFAULT_wxUSE_FILEDLG
=no
1467 DEFAULT_wxUSE_FONTDLG
=no
1468 DEFAULT_wxUSE_MSGDLG
=no
1469 DEFAULT_wxUSE_NUMBERDLG
=no
1470 DEFAULT_wxUSE_TEXTDLG
=no
1471 DEFAULT_wxUSE_STARTUP_TIPS
=no
1472 DEFAULT_wxUSE_PROGRESSDLG
=no
1473 DEFAULT_wxUSE_WIZARDDLG
=no
1475 DEFAULT_wxUSE_MENUS
=no
1476 DEFAULT_wxUSE_MINIFRAME
=no
1477 DEFAULT_wxUSE_HTML
=no
1478 DEFAULT_wxUSE_FILESYSTEM
=no
1479 DEFAULT_wxUSE_FS_INET
=no
1480 DEFAULT_wxUSE_FS_ZIP
=no
1481 DEFAULT_wxUSE_BUSYINFO
=no
1482 DEFAULT_wxUSE_ZIPSTREAM
=no
1483 DEFAULT_wxUSE_VALIDATORS
=no
1485 DEFAULT_wxUSE_ACCEL
=no
1486 DEFAULT_wxUSE_BUTTON
=no
1487 DEFAULT_wxUSE_BMPBUTTON
=no
1488 DEFAULT_wxUSE_CALCTRL
=no
1489 DEFAULT_wxUSE_CARET
=no
1490 DEFAULT_wxUSE_CHECKBOX
=no
1491 DEFAULT_wxUSE_CHECKLST
=no
1492 DEFAULT_wxUSE_CHOICE
=no
1493 DEFAULT_wxUSE_COMBOBOX
=no
1494 DEFAULT_wxUSE_GAUGE
=no
1495 DEFAULT_wxUSE_GRID
=no
1496 DEFAULT_wxUSE_NEW_GRID
=no
1497 DEFAULT_wxUSE_IMAGLIST
=no
1498 DEFAULT_wxUSE_LISTBOX
=no
1499 DEFAULT_wxUSE_LISTCTRL
=no
1500 DEFAULT_wxUSE_NOTEBOOK
=no
1501 DEFAULT_wxUSE_RADIOBOX
=no
1502 DEFAULT_wxUSE_RADIOBTN
=no
1503 DEFAULT_wxUSE_SASH
=no
1504 DEFAULT_wxUSE_SCROLLBAR
=no
1505 DEFAULT_wxUSE_SLIDER
=no
1506 DEFAULT_wxUSE_SPINBTN
=no
1507 DEFAULT_wxUSE_SPINCTRL
=no
1508 DEFAULT_wxUSE_SPLITTER
=no
1509 DEFAULT_wxUSE_STATBMP
=no
1510 DEFAULT_wxUSE_STATBOX
=no
1511 DEFAULT_wxUSE_STATLINE
=no
1512 DEFAULT_wxUSE_STATTEXT
=no
1513 DEFAULT_wxUSE_STATUSBAR
=yes
1514 DEFAULT_wxUSE_TABDIALOG
=no
1515 DEFAULT_wxUSE_TEXTCTRL
=no
1516 DEFAULT_wxUSE_TOGGLEBTN
=no
1517 DEFAULT_wxUSE_TOOLBAR
=no
1518 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1519 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1520 DEFAULT_wxUSE_TREECTRL
=no
1521 DEFAULT_wxUSE_POPUPWIN
=no
1523 DEFAULT_wxUSE_UNICODE
=no
1524 DEFAULT_wxUSE_WCSRTOMBS
=no
1526 DEFAULT_wxUSE_IMAGE
=no
1527 DEFAULT_wxUSE_GIF
=no
1528 DEFAULT_wxUSE_PCX
=no
1529 DEFAULT_wxUSE_PNM
=no
1530 DEFAULT_wxUSE_XPM
=no
1532 DEFAULT_wxUSE_UNIVERSAL
=no
1534 DEFAULT_wxUSE_THREADS
=yes
1536 DEFAULT_wxUSE_SHARED
=yes
1537 DEFAULT_wxUSE_BURNT_NAME
=no
1538 DEFAULT_wxUSE_OPTIMISE
=yes
1539 DEFAULT_wxUSE_PROFILE
=no
1540 DEFAULT_wxUSE_NO_DEPS
=no
1541 DEFAULT_wxUSE_NO_RTTI
=no
1542 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1543 DEFAULT_wxUSE_PERMISSIVE
=no
1544 DEFAULT_wxUSE_DEBUG_FLAG
=no
1545 DEFAULT_wxUSE_DEBUG_INFO
=no
1546 DEFAULT_wxUSE_DEBUG_GDB
=no
1547 DEFAULT_wxUSE_MEM_TRACING
=no
1548 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1549 DEFAULT_wxUSE_DMALLOC
=no
1550 DEFAULT_wxUSE_APPLE_IEEE
=yes
1552 DEFAULT_wxUSE_LOG
=yes
1553 DEFAULT_wxUSE_LOGWINDOW
=yes
1554 DEFAULT_wxUSE_LOGGUI
=yes
1556 DEFAULT_wxUSE_GUI
=yes
1558 DEFAULT_wxUSE_REGEX
=yes
1559 DEFAULT_wxUSE_ZLIB
=yes
1560 DEFAULT_wxUSE_LIBPNG
=yes
1561 DEFAULT_wxUSE_LIBJPEG
=yes
1562 DEFAULT_wxUSE_LIBTIFF
=yes
1563 DEFAULT_wxUSE_ODBC
=no
1564 DEFAULT_wxUSE_FREETYPE
=no
1565 DEFAULT_wxUSE_OPENGL
=no
1567 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1568 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1569 DEFAULT_wxUSE_STD_IOSTREAM
=no
1570 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1571 DEFAULT_wxUSE_DATETIME
=yes
1572 DEFAULT_wxUSE_TIMEDATE
=no
1573 DEFAULT_wxUSE_TIMER
=yes
1574 DEFAULT_wxUSE_STOPWATCH
=yes
1575 DEFAULT_wxUSE_FILE
=yes
1576 DEFAULT_wxUSE_FFILE
=yes
1577 DEFAULT_wxUSE_TEXTFILE
=yes
1578 DEFAULT_wxUSE_WAVE
=no
1579 DEFAULT_wxUSE_INTL
=yes
1580 DEFAULT_wxUSE_CONFIG
=yes
1581 DEFAULT_wxUSE_FONTMAP
=yes
1582 DEFAULT_wxUSE_STREAMS
=yes
1583 DEFAULT_wxUSE_SOCKETS
=yes
1584 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1585 DEFAULT_wxUSE_SERIAL
=yes
1586 DEFAULT_wxUSE_JOYSTICK
=yes
1587 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1588 DEFAULT_wxUSE_LONGLONG
=yes
1589 DEFAULT_wxUSE_GEOMETRY
=yes
1591 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1592 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1593 DEFAULT_wxUSE_POSTSCRIPT
=yes
1595 DEFAULT_wxUSE_X_RESOURCES
=no
1596 DEFAULT_wxUSE_CLIPBOARD
=yes
1597 DEFAULT_wxUSE_TOOLTIPS
=yes
1598 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1599 DEFAULT_wxUSE_DRAGIMAGE
=yes
1600 DEFAULT_wxUSE_SPLINES
=yes
1602 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1603 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1604 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1606 DEFAULT_wxUSE_PROLOGIO
=yes
1607 DEFAULT_wxUSE_RESOURCES
=yes
1608 DEFAULT_wxUSE_CONSTRAINTS
=yes
1609 DEFAULT_wxUSE_IPC
=yes
1610 DEFAULT_wxUSE_HELP
=yes
1611 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1612 DEFAULT_wxUSE_WXHTML_HELP
=yes
1613 DEFAULT_wxUSE_WXTREE
=yes
1614 DEFAULT_wxUSE_METAFILE
=yes
1615 DEFAULT_wxUSE_MIMETYPE
=yes
1616 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1618 DEFAULT_wxUSE_COMMONDLGS
=yes
1619 DEFAULT_wxUSE_CHOICEDLG
=yes
1620 DEFAULT_wxUSE_COLOURDLG
=yes
1621 DEFAULT_wxUSE_DIRDLG
=yes
1622 DEFAULT_wxUSE_FILEDLG
=yes
1623 DEFAULT_wxUSE_FONTDLG
=yes
1624 DEFAULT_wxUSE_MSGDLG
=yes
1625 DEFAULT_wxUSE_NUMBERDLG
=yes
1626 DEFAULT_wxUSE_TEXTDLG
=yes
1627 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1628 DEFAULT_wxUSE_PROGRESSDLG
=yes
1629 DEFAULT_wxUSE_WIZARDDLG
=yes
1631 DEFAULT_wxUSE_MENUS
=yes
1632 DEFAULT_wxUSE_MINIFRAME
=yes
1633 DEFAULT_wxUSE_HTML
=yes
1634 DEFAULT_wxUSE_FILESYSTEM
=yes
1635 DEFAULT_wxUSE_FS_INET
=yes
1636 DEFAULT_wxUSE_FS_ZIP
=yes
1637 DEFAULT_wxUSE_BUSYINFO
=yes
1638 DEFAULT_wxUSE_ZIPSTREAM
=yes
1639 DEFAULT_wxUSE_VALIDATORS
=yes
1641 DEFAULT_wxUSE_ACCEL
=yes
1642 DEFAULT_wxUSE_BUTTON
=yes
1643 DEFAULT_wxUSE_BMPBUTTON
=yes
1644 DEFAULT_wxUSE_CALCTRL
=yes
1645 DEFAULT_wxUSE_CARET
=yes
1646 DEFAULT_wxUSE_CHECKBOX
=yes
1647 DEFAULT_wxUSE_CHECKLST
=yes
1648 DEFAULT_wxUSE_CHOICE
=yes
1649 DEFAULT_wxUSE_COMBOBOX
=yes
1650 DEFAULT_wxUSE_GAUGE
=yes
1651 DEFAULT_wxUSE_GRID
=yes
1652 DEFAULT_wxUSE_NEW_GRID
=yes
1653 DEFAULT_wxUSE_IMAGLIST
=yes
1654 DEFAULT_wxUSE_LISTBOX
=yes
1655 DEFAULT_wxUSE_LISTCTRL
=yes
1656 DEFAULT_wxUSE_NOTEBOOK
=yes
1657 DEFAULT_wxUSE_RADIOBOX
=yes
1658 DEFAULT_wxUSE_RADIOBTN
=yes
1659 DEFAULT_wxUSE_SASH
=yes
1660 DEFAULT_wxUSE_SCROLLBAR
=yes
1661 DEFAULT_wxUSE_SLIDER
=yes
1662 DEFAULT_wxUSE_SPINBTN
=yes
1663 DEFAULT_wxUSE_SPINCTRL
=yes
1664 DEFAULT_wxUSE_SPLITTER
=yes
1665 DEFAULT_wxUSE_STATBMP
=yes
1666 DEFAULT_wxUSE_STATBOX
=yes
1667 DEFAULT_wxUSE_STATLINE
=yes
1668 DEFAULT_wxUSE_STATTEXT
=yes
1669 DEFAULT_wxUSE_STATUSBAR
=yes
1670 DEFAULT_wxUSE_TABDIALOG
=no
1671 DEFAULT_wxUSE_TEXTCTRL
=yes
1672 DEFAULT_wxUSE_TOGGLEBTN
=yes
1673 DEFAULT_wxUSE_TOOLBAR
=yes
1674 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1675 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1676 DEFAULT_wxUSE_TREECTRL
=yes
1677 DEFAULT_wxUSE_POPUPWIN
=yes
1679 DEFAULT_wxUSE_UNICODE
=no
1680 DEFAULT_wxUSE_WCSRTOMBS
=no
1682 DEFAULT_wxUSE_IMAGE
=yes
1683 DEFAULT_wxUSE_GIF
=yes
1684 DEFAULT_wxUSE_PCX
=yes
1685 DEFAULT_wxUSE_PNM
=yes
1686 DEFAULT_wxUSE_XPM
=yes
1691 for toolkit
in `echo $ALL_TOOLKITS`; do
1692 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1693 if test "x$LINE" != x
; then
1694 has_toolkit_in_cache
=1
1695 eval "DEFAULT_$LINE"
1696 eval "CACHE_$toolkit=1"
1702 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1703 echo "configure:1704: checking for --enable-gui" >&5
1705 # Check whether --enable-gui or --disable-gui was given.
1706 if test "${enable_gui+set}" = set; then
1707 enableval
="$enable_gui"
1709 if test "$enableval" = yes; then
1710 ac_cv_use_gui
='wxUSE_GUI=yes'
1712 ac_cv_use_gui
='wxUSE_GUI=no'
1717 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1718 if test "x$LINE" != x
; then
1719 eval "DEFAULT_$LINE"
1724 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1729 eval "$ac_cv_use_gui"
1730 if test "$no_cache" != 1; then
1731 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1734 if test "$wxUSE_GUI" = yes; then
1735 echo "$ac_t""yes" 1>&6
1737 echo "$ac_t""no" 1>&6
1741 if test "$wxUSE_GUI" = "yes"; then
1744 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1745 echo "configure:1746: checking for --enable-universal" >&5
1747 # Check whether --enable-universal or --disable-universal was given.
1748 if test "${enable_universal+set}" = set; then
1749 enableval
="$enable_universal"
1751 if test "$enableval" = yes; then
1752 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1754 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1759 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1760 if test "x$LINE" != x
; then
1761 eval "DEFAULT_$LINE"
1766 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1771 eval "$ac_cv_use_universal"
1772 if test "$no_cache" != 1; then
1773 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1776 if test "$wxUSE_UNIVERSAL" = yes; then
1777 echo "$ac_t""yes" 1>&6
1779 echo "$ac_t""no" 1>&6
1782 # Check whether --with-gtk or --without-gtk was given.
1783 if test "${with_gtk+set}" = set; then
1785 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1788 # Check whether --with-motif or --without-motif was given.
1789 if test "${with_motif+set}" = set; then
1790 withval
="$with_motif"
1791 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1794 # Check whether --with-mac or --without-mac was given.
1795 if test "${with_mac+set}" = set; then
1797 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1800 # Check whether --with-wine or --without-wine was given.
1801 if test "${with_wine+set}" = set; then
1802 withval
="$with_wine"
1803 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1806 # Check whether --with-cygwin or --without-cygwin was given.
1807 if test "${with_cygwin+set}" = set; then
1808 withval
="$with_cygwin"
1809 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1812 # Check whether --with-mingw or --without-mingw was given.
1813 if test "${with_mingw+set}" = set; then
1814 withval
="$with_mingw"
1815 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1818 # Check whether --with-pm or --without-pm was given.
1819 if test "${with_pm+set}" = set; then
1821 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1824 # Check whether --with-mgl or --without-mgl was given.
1825 if test "${with_mgl+set}" = set; then
1827 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1831 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1832 if test "${enable_gtk2+set}" = set; then
1833 enableval
="$enable_gtk2"
1841 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1842 echo "configure:1843: checking for --with-libpng" >&5
1844 # Check whether --with-libpng or --without-libpng was given.
1845 if test "${with_libpng+set}" = set; then
1846 withval
="$with_libpng"
1848 if test "$withval" = yes; then
1849 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1850 elif test "$withval" = no
; then
1851 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1852 elif test "$withval" = sys
; then
1853 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1855 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1860 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1861 if test "x$LINE" != x
; then
1862 eval "DEFAULT_$LINE"
1867 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1872 eval "$ac_cv_use_libpng"
1873 if test "$no_cache" != 1; then
1874 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1877 if test "$wxUSE_LIBPNG" = yes; then
1878 echo "$ac_t""yes" 1>&6
1879 elif test "$wxUSE_LIBPNG" = no
; then
1880 echo "$ac_t""no" 1>&6
1881 elif test "$wxUSE_LIBPNG" = sys
; then
1882 echo "$ac_t""system version" 1>&6
1884 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1888 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1889 echo "configure:1890: checking for --with-libjpeg" >&5
1891 # Check whether --with-libjpeg or --without-libjpeg was given.
1892 if test "${with_libjpeg+set}" = set; then
1893 withval
="$with_libjpeg"
1895 if test "$withval" = yes; then
1896 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1897 elif test "$withval" = no
; then
1898 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1899 elif test "$withval" = sys
; then
1900 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1902 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1907 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1908 if test "x$LINE" != x
; then
1909 eval "DEFAULT_$LINE"
1914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1919 eval "$ac_cv_use_libjpeg"
1920 if test "$no_cache" != 1; then
1921 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1924 if test "$wxUSE_LIBJPEG" = yes; then
1925 echo "$ac_t""yes" 1>&6
1926 elif test "$wxUSE_LIBJPEG" = no
; then
1927 echo "$ac_t""no" 1>&6
1928 elif test "$wxUSE_LIBJPEG" = sys
; then
1929 echo "$ac_t""system version" 1>&6
1931 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1935 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1936 echo "configure:1937: checking for --with-libtiff" >&5
1938 # Check whether --with-libtiff or --without-libtiff was given.
1939 if test "${with_libtiff+set}" = set; then
1940 withval
="$with_libtiff"
1942 if test "$withval" = yes; then
1943 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1944 elif test "$withval" = no
; then
1945 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1946 elif test "$withval" = sys
; then
1947 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1949 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1954 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1955 if test "x$LINE" != x
; then
1956 eval "DEFAULT_$LINE"
1961 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1966 eval "$ac_cv_use_libtiff"
1967 if test "$no_cache" != 1; then
1968 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1971 if test "$wxUSE_LIBTIFF" = yes; then
1972 echo "$ac_t""yes" 1>&6
1973 elif test "$wxUSE_LIBTIFF" = no
; then
1974 echo "$ac_t""no" 1>&6
1975 elif test "$wxUSE_LIBTIFF" = sys
; then
1976 echo "$ac_t""system version" 1>&6
1978 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1982 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1983 echo "configure:1984: checking for --with-freetype" >&5
1985 # Check whether --with-freetype or --without-freetype was given.
1986 if test "${with_freetype+set}" = set; then
1987 withval
="$with_freetype"
1989 if test "$withval" = yes; then
1990 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1991 elif test "$withval" = no
; then
1992 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1993 elif test "$withval" = sys
; then
1994 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1996 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2001 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2002 if test "x$LINE" != x
; then
2003 eval "DEFAULT_$LINE"
2008 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2013 eval "$ac_cv_use_freetype"
2014 if test "$no_cache" != 1; then
2015 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2018 if test "$wxUSE_FREETYPE" = yes; then
2019 echo "$ac_t""yes" 1>&6
2020 elif test "$wxUSE_FREETYPE" = no
; then
2021 echo "$ac_t""no" 1>&6
2022 elif test "$wxUSE_FREETYPE" = sys
; then
2023 echo "$ac_t""system version" 1>&6
2025 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2029 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2030 echo "configure:2031: checking for --with-opengl" >&5
2032 # Check whether --with-opengl or --without-opengl was given.
2033 if test "${with_opengl+set}" = set; then
2034 withval
="$with_opengl"
2036 if test "$withval" = yes; then
2037 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2039 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2044 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2045 if test "x$LINE" != x
; then
2046 eval "DEFAULT_$LINE"
2051 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2056 eval "$ac_cv_use_opengl"
2057 if test "$no_cache" != 1; then
2058 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2061 if test "$wxUSE_OPENGL" = yes; then
2062 echo "$ac_t""yes" 1>&6
2064 echo "$ac_t""no" 1>&6
2071 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2072 echo "configure:2073: checking for --with-dmalloc" >&5
2074 # Check whether --with-dmalloc or --without-dmalloc was given.
2075 if test "${with_dmalloc+set}" = set; then
2076 withval
="$with_dmalloc"
2078 if test "$withval" = yes; then
2079 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2081 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2086 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2087 if test "x$LINE" != x
; then
2088 eval "DEFAULT_$LINE"
2093 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2098 eval "$ac_cv_use_dmalloc"
2099 if test "$no_cache" != 1; then
2100 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2103 if test "$wxUSE_DMALLOC" = yes; then
2104 echo "$ac_t""yes" 1>&6
2106 echo "$ac_t""no" 1>&6
2110 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2111 echo "configure:2112: checking for --with-regex" >&5
2113 # Check whether --with-regex or --without-regex was given.
2114 if test "${with_regex+set}" = set; then
2115 withval
="$with_regex"
2117 if test "$withval" = yes; then
2118 ac_cv_use_regex
='wxUSE_REGEX=yes'
2119 elif test "$withval" = no
; then
2120 ac_cv_use_regex
='wxUSE_REGEX=no'
2121 elif test "$withval" = sys
; then
2122 ac_cv_use_regex
='wxUSE_REGEX=sys'
2124 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2129 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2130 if test "x$LINE" != x
; then
2131 eval "DEFAULT_$LINE"
2136 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2141 eval "$ac_cv_use_regex"
2142 if test "$no_cache" != 1; then
2143 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2146 if test "$wxUSE_REGEX" = yes; then
2147 echo "$ac_t""yes" 1>&6
2148 elif test "$wxUSE_REGEX" = no
; then
2149 echo "$ac_t""no" 1>&6
2150 elif test "$wxUSE_REGEX" = sys
; then
2151 echo "$ac_t""system version" 1>&6
2153 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2157 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2158 echo "configure:2159: checking for --with-zlib" >&5
2160 # Check whether --with-zlib or --without-zlib was given.
2161 if test "${with_zlib+set}" = set; then
2162 withval
="$with_zlib"
2164 if test "$withval" = yes; then
2165 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2166 elif test "$withval" = no
; then
2167 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2168 elif test "$withval" = sys
; then
2169 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2171 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2176 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2177 if test "x$LINE" != x
; then
2178 eval "DEFAULT_$LINE"
2183 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2188 eval "$ac_cv_use_zlib"
2189 if test "$no_cache" != 1; then
2190 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2193 if test "$wxUSE_ZLIB" = yes; then
2194 echo "$ac_t""yes" 1>&6
2195 elif test "$wxUSE_ZLIB" = no
; then
2196 echo "$ac_t""no" 1>&6
2197 elif test "$wxUSE_ZLIB" = sys
; then
2198 echo "$ac_t""system version" 1>&6
2200 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2204 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2205 echo "configure:2206: checking for --with-odbc" >&5
2207 # Check whether --with-odbc or --without-odbc was given.
2208 if test "${with_odbc+set}" = set; then
2209 withval
="$with_odbc"
2211 if test "$withval" = yes; then
2212 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2214 ac_cv_use_odbc
='wxUSE_ODBC=no'
2219 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2220 if test "x$LINE" != x
; then
2221 eval "DEFAULT_$LINE"
2226 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2231 eval "$ac_cv_use_odbc"
2232 if test "$no_cache" != 1; then
2233 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2236 if test "$wxUSE_ODBC" = yes; then
2237 echo "$ac_t""yes" 1>&6
2239 echo "$ac_t""no" 1>&6
2246 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2247 echo "configure:2248: checking for --enable-shared" >&5
2249 # Check whether --enable-shared or --disable-shared was given.
2250 if test "${enable_shared+set}" = set; then
2251 enableval
="$enable_shared"
2253 if test "$enableval" = yes; then
2254 ac_cv_use_shared
='wxUSE_SHARED=yes'
2256 ac_cv_use_shared
='wxUSE_SHARED=no'
2261 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2262 if test "x$LINE" != x
; then
2263 eval "DEFAULT_$LINE"
2268 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2273 eval "$ac_cv_use_shared"
2274 if test "$no_cache" != 1; then
2275 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2278 if test "$wxUSE_SHARED" = yes; then
2279 echo "$ac_t""yes" 1>&6
2281 echo "$ac_t""no" 1>&6
2285 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2286 echo "configure:2287: checking for --enable-burnt_name" >&5
2288 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2289 if test "${enable_burnt_name+set}" = set; then
2290 enableval
="$enable_burnt_name"
2292 if test "$enableval" = yes; then
2293 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2295 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2300 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2301 if test "x$LINE" != x
; then
2302 eval "DEFAULT_$LINE"
2307 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2312 eval "$ac_cv_use_burnt_name"
2313 if test "$no_cache" != 1; then
2314 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2317 if test "$wxUSE_BURNT_NAME" = yes; then
2318 echo "$ac_t""yes" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2325 echo "configure:2326: checking for --enable-optimise" >&5
2327 # Check whether --enable-optimise or --disable-optimise was given.
2328 if test "${enable_optimise+set}" = set; then
2329 enableval
="$enable_optimise"
2331 if test "$enableval" = yes; then
2332 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2334 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2339 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2340 if test "x$LINE" != x
; then
2341 eval "DEFAULT_$LINE"
2346 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2351 eval "$ac_cv_use_optimise"
2352 if test "$no_cache" != 1; then
2353 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2356 if test "$wxUSE_OPTIMISE" = yes; then
2357 echo "$ac_t""yes" 1>&6
2359 echo "$ac_t""no" 1>&6
2363 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2364 echo "configure:2365: checking for --enable-debug" >&5
2366 # Check whether --enable-debug or --disable-debug was given.
2367 if test "${enable_debug+set}" = set; then
2368 enableval
="$enable_debug"
2370 if test "$enableval" = yes; then
2371 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2373 ac_cv_use_debug
='wxUSE_DEBUG=no'
2378 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2379 if test "x$LINE" != x
; then
2380 eval "DEFAULT_$LINE"
2385 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2390 eval "$ac_cv_use_debug"
2391 if test "$no_cache" != 1; then
2392 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2395 if test "$wxUSE_DEBUG" = yes; then
2396 echo "$ac_t""yes" 1>&6
2398 echo "$ac_t""no" 1>&6
2402 if test "$wxUSE_DEBUG" = "yes"; then
2403 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2404 DEFAULT_wxUSE_DEBUG_INFO
=yes
2405 elif test "$wxUSE_DEBUG" = "no"; then
2406 DEFAULT_wxUSE_DEBUG_FLAG
=no
2407 DEFAULT_wxUSE_DEBUG_INFO
=no
2411 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2412 echo "configure:2413: checking for --enable-debug_flag" >&5
2414 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2415 if test "${enable_debug_flag+set}" = set; then
2416 enableval
="$enable_debug_flag"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2421 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2426 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2438 eval "$ac_cv_use_debug_flag"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_DEBUG_FLAG" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2450 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2451 echo "configure:2452: checking for --enable-debug_info" >&5
2453 # Check whether --enable-debug_info or --disable-debug_info was given.
2454 if test "${enable_debug_info+set}" = set; then
2455 enableval
="$enable_debug_info"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2460 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2465 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2477 eval "$ac_cv_use_debug_info"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_DEBUG_INFO" = yes; then
2483 echo "$ac_t""yes" 1>&6
2485 echo "$ac_t""no" 1>&6
2489 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2490 echo "configure:2491: checking for --enable-debug_gdb" >&5
2492 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2493 if test "${enable_debug_gdb+set}" = set; then
2494 enableval
="$enable_debug_gdb"
2496 if test "$enableval" = yes; then
2497 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2499 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2504 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x
; then
2506 eval "DEFAULT_$LINE"
2511 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2516 eval "$ac_cv_use_debug_gdb"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_DEBUG_GDB" = yes; then
2522 echo "$ac_t""yes" 1>&6
2524 echo "$ac_t""no" 1>&6
2528 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2529 echo "configure:2530: checking for --enable-debug_cntxt" >&5
2531 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2532 if test "${enable_debug_cntxt+set}" = set; then
2533 enableval
="$enable_debug_cntxt"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2538 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2543 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2555 eval "$ac_cv_use_debug_cntxt"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2561 echo "$ac_t""yes" 1>&6
2563 echo "$ac_t""no" 1>&6
2567 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2568 echo "configure:2569: checking for --enable-mem_tracing" >&5
2570 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2571 if test "${enable_mem_tracing+set}" = set; then
2572 enableval
="$enable_mem_tracing"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2577 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2582 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2594 eval "$ac_cv_use_mem_tracing"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2599 if test "$wxUSE_MEM_TRACING" = yes; then
2600 echo "$ac_t""yes" 1>&6
2602 echo "$ac_t""no" 1>&6
2606 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2607 echo "configure:2608: checking for --enable-profile" >&5
2609 # Check whether --enable-profile or --disable-profile was given.
2610 if test "${enable_profile+set}" = set; then
2611 enableval
="$enable_profile"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2616 ac_cv_use_profile
='wxUSE_PROFILE=no'
2621 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2633 eval "$ac_cv_use_profile"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_PROFILE" = yes; then
2639 echo "$ac_t""yes" 1>&6
2641 echo "$ac_t""no" 1>&6
2645 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2646 echo "configure:2647: checking for --enable-no_rtti" >&5
2648 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2649 if test "${enable_no_rtti+set}" = set; then
2650 enableval
="$enable_no_rtti"
2652 if test "$enableval" = yes; then
2653 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2655 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2660 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2661 if test "x$LINE" != x
; then
2662 eval "DEFAULT_$LINE"
2667 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2672 eval "$ac_cv_use_no_rtti"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_NO_RTTI" = yes; then
2678 echo "$ac_t""yes" 1>&6
2680 echo "$ac_t""no" 1>&6
2684 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2685 echo "configure:2686: checking for --enable-no_exceptions" >&5
2687 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2688 if test "${enable_no_exceptions+set}" = set; then
2689 enableval
="$enable_no_exceptions"
2691 if test "$enableval" = yes; then
2692 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2694 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2699 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2700 if test "x$LINE" != x
; then
2701 eval "DEFAULT_$LINE"
2706 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2711 eval "$ac_cv_use_no_exceptions"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2717 echo "$ac_t""yes" 1>&6
2719 echo "$ac_t""no" 1>&6
2723 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2724 echo "configure:2725: checking for --enable-permissive" >&5
2726 # Check whether --enable-permissive or --disable-permissive was given.
2727 if test "${enable_permissive+set}" = set; then
2728 enableval
="$enable_permissive"
2730 if test "$enableval" = yes; then
2731 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2733 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2738 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x
; then
2740 eval "DEFAULT_$LINE"
2745 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2750 eval "$ac_cv_use_permissive"
2751 if test "$no_cache" != 1; then
2752 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2755 if test "$wxUSE_PERMISSIVE" = yes; then
2756 echo "$ac_t""yes" 1>&6
2758 echo "$ac_t""no" 1>&6
2762 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2763 echo "configure:2764: checking for --enable-no_deps" >&5
2765 # Check whether --enable-no_deps or --disable-no_deps was given.
2766 if test "${enable_no_deps+set}" = set; then
2767 enableval
="$enable_no_deps"
2769 if test "$enableval" = yes; then
2770 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2772 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2777 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x
; then
2779 eval "DEFAULT_$LINE"
2784 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2789 eval "$ac_cv_use_no_deps"
2790 if test "$no_cache" != 1; then
2791 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2794 if test "$wxUSE_NO_DEPS" = yes; then
2795 echo "$ac_t""yes" 1>&6
2797 echo "$ac_t""no" 1>&6
2802 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2803 echo "configure:2804: checking for --enable-compat20" >&5
2805 # Check whether --enable-compat20 or --disable-compat20 was given.
2806 if test "${enable_compat20+set}" = set; then
2807 enableval
="$enable_compat20"
2809 if test "$enableval" = yes; then
2810 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2812 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2817 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x
; then
2819 eval "DEFAULT_$LINE"
2824 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2829 eval "$ac_cv_use_compat20"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2834 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2835 echo "$ac_t""yes" 1>&6
2837 echo "$ac_t""no" 1>&6
2841 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2842 echo "configure:2843: checking for --enable-compat22" >&5
2844 # Check whether --enable-compat22 or --disable-compat22 was given.
2845 if test "${enable_compat22+set}" = set; then
2846 enableval
="$enable_compat22"
2848 if test "$enableval" = yes; then
2849 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2851 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2856 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x
; then
2858 eval "DEFAULT_$LINE"
2863 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2868 eval "$ac_cv_use_compat22"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2873 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2874 echo "$ac_t""yes" 1>&6
2876 echo "$ac_t""no" 1>&6
2882 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2883 echo "configure:2884: checking for --enable-intl" >&5
2885 # Check whether --enable-intl or --disable-intl was given.
2886 if test "${enable_intl+set}" = set; then
2887 enableval
="$enable_intl"
2889 if test "$enableval" = yes; then
2890 ac_cv_use_intl
='wxUSE_INTL=yes'
2892 ac_cv_use_intl
='wxUSE_INTL=no'
2897 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2898 if test "x$LINE" != x
; then
2899 eval "DEFAULT_$LINE"
2904 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2909 eval "$ac_cv_use_intl"
2910 if test "$no_cache" != 1; then
2911 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2914 if test "$wxUSE_INTL" = yes; then
2915 echo "$ac_t""yes" 1>&6
2917 echo "$ac_t""no" 1>&6
2921 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2922 echo "configure:2923: checking for --enable-config" >&5
2924 # Check whether --enable-config or --disable-config was given.
2925 if test "${enable_config+set}" = set; then
2926 enableval
="$enable_config"
2928 if test "$enableval" = yes; then
2929 ac_cv_use_config
='wxUSE_CONFIG=yes'
2931 ac_cv_use_config
='wxUSE_CONFIG=no'
2936 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x
; then
2938 eval "DEFAULT_$LINE"
2943 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2948 eval "$ac_cv_use_config"
2949 if test "$no_cache" != 1; then
2950 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2953 if test "$wxUSE_CONFIG" = yes; then
2954 echo "$ac_t""yes" 1>&6
2956 echo "$ac_t""no" 1>&6
2961 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2962 echo "configure:2963: checking for --enable-sockets" >&5
2964 # Check whether --enable-sockets or --disable-sockets was given.
2965 if test "${enable_sockets+set}" = set; then
2966 enableval
="$enable_sockets"
2968 if test "$enableval" = yes; then
2969 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2971 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2976 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2977 if test "x$LINE" != x
; then
2978 eval "DEFAULT_$LINE"
2983 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2988 eval "$ac_cv_use_sockets"
2989 if test "$no_cache" != 1; then
2990 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2993 if test "$wxUSE_SOCKETS" = yes; then
2994 echo "$ac_t""yes" 1>&6
2996 echo "$ac_t""no" 1>&6
3001 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3002 echo "configure:3003: checking for --enable-ipc" >&5
3004 # Check whether --enable-ipc or --disable-ipc was given.
3005 if test "${enable_ipc+set}" = set; then
3006 enableval
="$enable_ipc"
3008 if test "$enableval" = yes; then
3009 ac_cv_use_ipc
='wxUSE_IPC=yes'
3011 ac_cv_use_ipc
='wxUSE_IPC=no'
3016 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x
; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3028 eval "$ac_cv_use_ipc"
3029 if test "$no_cache" != 1; then
3030 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3033 if test "$wxUSE_IPC" = yes; then
3034 echo "$ac_t""yes" 1>&6
3036 echo "$ac_t""no" 1>&6
3041 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3042 echo "configure:3043: checking for --enable-cmdline" >&5
3044 # Check whether --enable-cmdline or --disable-cmdline was given.
3045 if test "${enable_cmdline+set}" = set; then
3046 enableval
="$enable_cmdline"
3048 if test "$enableval" = yes; then
3049 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3051 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3056 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3068 eval "$ac_cv_use_cmdline"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3074 echo "$ac_t""yes" 1>&6
3076 echo "$ac_t""no" 1>&6
3080 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3081 echo "configure:3082: checking for --enable-datetime" >&5
3083 # Check whether --enable-datetime or --disable-datetime was given.
3084 if test "${enable_datetime+set}" = set; then
3085 enableval
="$enable_datetime"
3087 if test "$enableval" = yes; then
3088 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3090 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3095 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3107 eval "$ac_cv_use_datetime"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_DATETIME" = yes; then
3113 echo "$ac_t""yes" 1>&6
3115 echo "$ac_t""no" 1>&6
3119 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3120 echo "configure:3121: checking for --enable-timedate" >&5
3122 # Check whether --enable-timedate or --disable-timedate was given.
3123 if test "${enable_timedate+set}" = set; then
3124 enableval
="$enable_timedate"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3129 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3134 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3146 eval "$ac_cv_use_timedate"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_TIMEDATE" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3159 echo "configure:3160: checking for --enable-stopwatch" >&5
3161 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3162 if test "${enable_stopwatch+set}" = set; then
3163 enableval
="$enable_stopwatch"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3168 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3173 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3185 eval "$ac_cv_use_stopwatch"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_STOPWATCH" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3198 echo "configure:3199: checking for --enable-dialupman" >&5
3200 # Check whether --enable-dialupman or --disable-dialupman was given.
3201 if test "${enable_dialupman+set}" = set; then
3202 enableval
="$enable_dialupman"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3207 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3212 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3224 eval "$ac_cv_use_dialupman"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3236 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3237 echo "configure:3238: checking for --enable-apple_ieee" >&5
3239 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3240 if test "${enable_apple_ieee+set}" = set; then
3241 enableval
="$enable_apple_ieee"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3246 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3251 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3263 eval "$ac_cv_use_apple_ieee"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_APPLE_IEEE" = yes; then
3269 echo "$ac_t""yes" 1>&6
3271 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3276 echo "configure:3277: checking for --enable-timer" >&5
3278 # Check whether --enable-timer or --disable-timer was given.
3279 if test "${enable_timer+set}" = set; then
3280 enableval
="$enable_timer"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_timer
='wxUSE_TIMER=yes'
3285 ac_cv_use_timer
='wxUSE_TIMER=no'
3290 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3302 eval "$ac_cv_use_timer"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_TIMER" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3315 echo "configure:3316: checking for --enable-wave" >&5
3317 # Check whether --enable-wave or --disable-wave was given.
3318 if test "${enable_wave+set}" = set; then
3319 enableval
="$enable_wave"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_wave
='wxUSE_WAVE=yes'
3324 ac_cv_use_wave
='wxUSE_WAVE=no'
3329 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3341 eval "$ac_cv_use_wave"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_WAVE" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3353 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3354 echo "configure:3355: checking for --enable-fraction" >&5
3356 # Check whether --enable-fraction or --disable-fraction was given.
3357 if test "${enable_fraction+set}" = set; then
3358 enableval
="$enable_fraction"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3363 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3368 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3380 eval "$ac_cv_use_fraction"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_FRACTION" = yes; then
3386 echo "$ac_t""yes" 1>&6
3388 echo "$ac_t""no" 1>&6
3392 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3393 echo "configure:3394: checking for --enable-dynlib" >&5
3395 # Check whether --enable-dynlib or --disable-dynlib was given.
3396 if test "${enable_dynlib+set}" = set; then
3397 enableval
="$enable_dynlib"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3402 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3407 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3419 eval "$ac_cv_use_dynlib"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3425 echo "$ac_t""yes" 1>&6
3427 echo "$ac_t""no" 1>&6
3431 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3432 echo "configure:3433: checking for --enable-longlong" >&5
3434 # Check whether --enable-longlong or --disable-longlong was given.
3435 if test "${enable_longlong+set}" = set; then
3436 enableval
="$enable_longlong"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3441 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3446 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3458 eval "$ac_cv_use_longlong"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_LONGLONG" = yes; then
3464 echo "$ac_t""yes" 1>&6
3466 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3471 echo "configure:3472: checking for --enable-geometry" >&5
3473 # Check whether --enable-geometry or --disable-geometry was given.
3474 if test "${enable_geometry+set}" = set; then
3475 enableval
="$enable_geometry"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3480 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3485 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3497 eval "$ac_cv_use_geometry"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_GEOMETRY" = yes; then
3503 echo "$ac_t""yes" 1>&6
3505 echo "$ac_t""no" 1>&6
3509 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3510 echo "configure:3511: checking for --enable-log" >&5
3512 # Check whether --enable-log or --disable-log was given.
3513 if test "${enable_log+set}" = set; then
3514 enableval
="$enable_log"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_log
='wxUSE_LOG=yes'
3519 ac_cv_use_log
='wxUSE_LOG=no'
3524 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3536 eval "$ac_cv_use_log"
3537 if test "$no_cache" != 1; then
3538 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3541 if test "$wxUSE_LOG" = yes; then
3542 echo "$ac_t""yes" 1>&6
3544 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3549 echo "configure:3550: checking for --enable-streams" >&5
3551 # Check whether --enable-streams or --disable-streams was given.
3552 if test "${enable_streams+set}" = set; then
3553 enableval
="$enable_streams"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3558 ac_cv_use_streams
='wxUSE_STREAMS=no'
3563 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3575 eval "$ac_cv_use_streams"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_STREAMS" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3587 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3588 echo "configure:3589: checking for --enable-file" >&5
3590 # Check whether --enable-file or --disable-file was given.
3591 if test "${enable_file+set}" = set; then
3592 enableval
="$enable_file"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_file
='wxUSE_FILE=yes'
3597 ac_cv_use_file
='wxUSE_FILE=no'
3602 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x
; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3614 eval "$ac_cv_use_file"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_FILE" = yes; then
3620 echo "$ac_t""yes" 1>&6
3622 echo "$ac_t""no" 1>&6
3626 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3627 echo "configure:3628: checking for --enable-ffile" >&5
3629 # Check whether --enable-ffile or --disable-ffile was given.
3630 if test "${enable_ffile+set}" = set; then
3631 enableval
="$enable_ffile"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3636 ac_cv_use_ffile
='wxUSE_FFILE=no'
3641 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x
; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3653 eval "$ac_cv_use_ffile"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_FFILE" = yes; then
3659 echo "$ac_t""yes" 1>&6
3661 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3666 echo "configure:3667: checking for --enable-textfile" >&5
3668 # Check whether --enable-textfile or --disable-textfile was given.
3669 if test "${enable_textfile+set}" = set; then
3670 enableval
="$enable_textfile"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3675 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3680 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3692 eval "$ac_cv_use_textfile"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_TEXTFILE" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3704 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3705 echo "configure:3706: checking for --enable-fontmap" >&5
3707 # Check whether --enable-fontmap or --disable-fontmap was given.
3708 if test "${enable_fontmap+set}" = set; then
3709 enableval
="$enable_fontmap"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3714 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3719 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3731 eval "$ac_cv_use_fontmap"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_FONTMAP" = yes; then
3737 echo "$ac_t""yes" 1>&6
3739 echo "$ac_t""no" 1>&6
3743 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3744 echo "configure:3745: checking for --enable-unicode" >&5
3746 # Check whether --enable-unicode or --disable-unicode was given.
3747 if test "${enable_unicode+set}" = set; then
3748 enableval
="$enable_unicode"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3753 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3758 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3770 eval "$ac_cv_use_unicode"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_UNICODE" = yes; then
3776 echo "$ac_t""yes" 1>&6
3778 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3783 echo "configure:3784: checking for --enable-wcsrtombs" >&5
3785 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3786 if test "${enable_wcsrtombs+set}" = set; then
3787 enableval
="$enable_wcsrtombs"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3792 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3797 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3809 eval "$ac_cv_use_wcsrtombs"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_WCSRTOMBS" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3821 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3822 echo "configure:3823: checking for --enable-wxprintfv" >&5
3824 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3825 if test "${enable_wxprintfv+set}" = set; then
3826 enableval
="$enable_wxprintfv"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3831 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3836 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x
; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3848 eval "$ac_cv_use_wxprintfv"
3849 if test "$no_cache" != 1; then
3850 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3853 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3854 echo "$ac_t""yes" 1>&6
3856 echo "$ac_t""no" 1>&6
3860 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3861 echo "configure:3862: checking for --enable-std_iostreams" >&5
3863 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3864 if test "${enable_std_iostreams+set}" = set; then
3865 enableval
="$enable_std_iostreams"
3867 if test "$enableval" = yes; then
3868 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3870 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3875 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x
; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3887 eval "$ac_cv_use_std_iostreams"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3892 if test "$wxUSE_STD_IOSTREAM" = yes; then
3893 echo "$ac_t""yes" 1>&6
3895 echo "$ac_t""no" 1>&6
3899 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3900 echo "configure:3901: checking for --enable-filesystem" >&5
3902 # Check whether --enable-filesystem or --disable-filesystem was given.
3903 if test "${enable_filesystem+set}" = set; then
3904 enableval
="$enable_filesystem"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3909 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3914 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x
; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3926 eval "$ac_cv_use_filesystem"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3931 if test "$wxUSE_FILESYSTEM" = yes; then
3932 echo "$ac_t""yes" 1>&6
3934 echo "$ac_t""no" 1>&6
3938 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3939 echo "configure:3940: checking for --enable-fs_inet" >&5
3941 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3942 if test "${enable_fs_inet+set}" = set; then
3943 enableval
="$enable_fs_inet"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3948 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3953 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3965 eval "$ac_cv_use_fs_inet"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_FS_INET" = yes; then
3971 echo "$ac_t""yes" 1>&6
3973 echo "$ac_t""no" 1>&6
3977 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3978 echo "configure:3979: checking for --enable-fs_zip" >&5
3980 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3981 if test "${enable_fs_zip+set}" = set; then
3982 enableval
="$enable_fs_zip"
3984 if test "$enableval" = yes; then
3985 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3987 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3992 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x
; then
3994 eval "DEFAULT_$LINE"
3999 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4004 eval "$ac_cv_use_fs_zip"
4005 if test "$no_cache" != 1; then
4006 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4009 if test "$wxUSE_FS_ZIP" = yes; then
4010 echo "$ac_t""yes" 1>&6
4012 echo "$ac_t""no" 1>&6
4016 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4017 echo "configure:4018: checking for --enable-zipstream" >&5
4019 # Check whether --enable-zipstream or --disable-zipstream was given.
4020 if test "${enable_zipstream+set}" = set; then
4021 enableval
="$enable_zipstream"
4023 if test "$enableval" = yes; then
4024 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4026 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4031 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4032 if test "x$LINE" != x
; then
4033 eval "DEFAULT_$LINE"
4038 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4043 eval "$ac_cv_use_zipstream"
4044 if test "$no_cache" != 1; then
4045 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4048 if test "$wxUSE_ZIPSTREAM" = yes; then
4049 echo "$ac_t""yes" 1>&6
4051 echo "$ac_t""no" 1>&6
4056 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4057 echo "configure:4058: checking for --enable-catch_segvs" >&5
4059 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4060 if test "${enable_catch_segvs+set}" = set; then
4061 enableval
="$enable_catch_segvs"
4063 if test "$enableval" = yes; then
4064 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4066 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4071 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x
; then
4073 eval "DEFAULT_$LINE"
4078 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4083 eval "$ac_cv_use_catch_segvs"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4088 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4089 echo "$ac_t""yes" 1>&6
4091 echo "$ac_t""no" 1>&6
4095 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4096 echo "configure:4097: checking for --enable-snglinst" >&5
4098 # Check whether --enable-snglinst or --disable-snglinst was given.
4099 if test "${enable_snglinst+set}" = set; then
4100 enableval
="$enable_snglinst"
4102 if test "$enableval" = yes; then
4103 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4105 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4110 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x
; then
4112 eval "DEFAULT_$LINE"
4117 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4122 eval "$ac_cv_use_snglinst"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4127 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4128 echo "$ac_t""yes" 1>&6
4130 echo "$ac_t""no" 1>&6
4135 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4136 echo "configure:4137: checking for --enable-mimetype" >&5
4138 # Check whether --enable-mimetype or --disable-mimetype was given.
4139 if test "${enable_mimetype+set}" = set; then
4140 enableval
="$enable_mimetype"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4145 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4150 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4162 eval "$ac_cv_use_mimetype"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_MIMETYPE" = yes; then
4168 echo "$ac_t""yes" 1>&6
4170 echo "$ac_t""no" 1>&6
4174 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4175 echo "configure:4176: checking for --enable-system_options" >&5
4177 # Check whether --enable-system_options or --disable-system_options was given.
4178 if test "${enable_system_options+set}" = set; then
4179 enableval
="$enable_system_options"
4181 if test "$enableval" = yes; then
4182 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4184 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4189 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4190 if test "x$LINE" != x
; then
4191 eval "DEFAULT_$LINE"
4196 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4201 eval "$ac_cv_use_system_options"
4202 if test "$no_cache" != 1; then
4203 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4206 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4207 echo "$ac_t""yes" 1>&6
4209 echo "$ac_t""no" 1>&6
4215 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4216 echo "configure:4217: checking for --enable-threads" >&5
4218 # Check whether --enable-threads or --disable-threads was given.
4219 if test "${enable_threads+set}" = set; then
4220 enableval
="$enable_threads"
4222 if test "$enableval" = yes; then
4223 ac_cv_use_threads
='wxUSE_THREADS=yes'
4225 ac_cv_use_threads
='wxUSE_THREADS=no'
4230 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4231 if test "x$LINE" != x
; then
4232 eval "DEFAULT_$LINE"
4237 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4242 eval "$ac_cv_use_threads"
4243 if test "$no_cache" != 1; then
4244 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4247 if test "$wxUSE_THREADS" = yes; then
4248 echo "$ac_t""yes" 1>&6
4250 echo "$ac_t""no" 1>&6
4254 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4255 echo "configure:4256: checking for --enable-serial" >&5
4257 # Check whether --enable-serial or --disable-serial was given.
4258 if test "${enable_serial+set}" = set; then
4259 enableval
="$enable_serial"
4261 if test "$enableval" = yes; then
4262 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4264 ac_cv_use_serial
='wxUSE_SERIAL=no'
4269 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x
; then
4271 eval "DEFAULT_$LINE"
4276 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4281 eval "$ac_cv_use_serial"
4282 if test "$no_cache" != 1; then
4283 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4286 if test "$wxUSE_SERIAL" = yes; then
4287 echo "$ac_t""yes" 1>&6
4289 echo "$ac_t""no" 1>&6
4293 if test "$wxUSE_GUI" = "yes"; then
4297 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4298 echo "configure:4299: checking for --enable-docview" >&5
4300 # Check whether --enable-docview or --disable-docview was given.
4301 if test "${enable_docview+set}" = set; then
4302 enableval
="$enable_docview"
4304 if test "$enableval" = yes; then
4305 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4307 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4312 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4313 if test "x$LINE" != x
; then
4314 eval "DEFAULT_$LINE"
4319 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4324 eval "$ac_cv_use_docview"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4329 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4330 echo "$ac_t""yes" 1>&6
4332 echo "$ac_t""no" 1>&6
4336 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4337 echo "configure:4338: checking for --enable-help" >&5
4339 # Check whether --enable-help or --disable-help was given.
4340 if test "${enable_help+set}" = set; then
4341 enableval
="$enable_help"
4343 if test "$enableval" = yes; then
4344 ac_cv_use_help
='wxUSE_HELP=yes'
4346 ac_cv_use_help
='wxUSE_HELP=no'
4351 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4352 if test "x$LINE" != x
; then
4353 eval "DEFAULT_$LINE"
4358 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4363 eval "$ac_cv_use_help"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_HELP" = yes; then
4369 echo "$ac_t""yes" 1>&6
4371 echo "$ac_t""no" 1>&6
4375 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4376 echo "configure:4377: checking for --enable-mshtmlhelp" >&5
4378 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4379 if test "${enable_mshtmlhelp+set}" = set; then
4380 enableval
="$enable_mshtmlhelp"
4382 if test "$enableval" = yes; then
4383 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4385 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4390 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4391 if test "x$LINE" != x
; then
4392 eval "DEFAULT_$LINE"
4397 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4402 eval "$ac_cv_use_mshtmlhelp"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4407 if test "$wxUSE_MS_HTML_HELP" = yes; then
4408 echo "$ac_t""yes" 1>&6
4410 echo "$ac_t""no" 1>&6
4414 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4415 echo "configure:4416: checking for --enable-html" >&5
4417 # Check whether --enable-html or --disable-html was given.
4418 if test "${enable_html+set}" = set; then
4419 enableval
="$enable_html"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_html
='wxUSE_HTML=yes'
4424 ac_cv_use_html
='wxUSE_HTML=no'
4429 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x
; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4441 eval "$ac_cv_use_html"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4446 if test "$wxUSE_HTML" = yes; then
4447 echo "$ac_t""yes" 1>&6
4449 echo "$ac_t""no" 1>&6
4453 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4454 echo "configure:4455: checking for --enable-htmlhelp" >&5
4456 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4457 if test "${enable_htmlhelp+set}" = set; then
4458 enableval
="$enable_htmlhelp"
4460 if test "$enableval" = yes; then
4461 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4463 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4468 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4469 if test "x$LINE" != x
; then
4470 eval "DEFAULT_$LINE"
4475 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4480 eval "$ac_cv_use_htmlhelp"
4481 if test "$no_cache" != 1; then
4482 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4485 if test "$wxUSE_WXHTML_HELP" = yes; then
4486 echo "$ac_t""yes" 1>&6
4488 echo "$ac_t""no" 1>&6
4492 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4493 echo "configure:4494: checking for --enable-constraints" >&5
4495 # Check whether --enable-constraints or --disable-constraints was given.
4496 if test "${enable_constraints+set}" = set; then
4497 enableval
="$enable_constraints"
4499 if test "$enableval" = yes; then
4500 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4502 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4507 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x
; then
4509 eval "DEFAULT_$LINE"
4514 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4519 eval "$ac_cv_use_constraints"
4520 if test "$no_cache" != 1; then
4521 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4524 if test "$wxUSE_CONSTRAINTS" = yes; then
4525 echo "$ac_t""yes" 1>&6
4527 echo "$ac_t""no" 1>&6
4531 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4532 echo "configure:4533: checking for --enable-printarch" >&5
4534 # Check whether --enable-printarch or --disable-printarch was given.
4535 if test "${enable_printarch+set}" = set; then
4536 enableval
="$enable_printarch"
4538 if test "$enableval" = yes; then
4539 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4541 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4546 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4547 if test "x$LINE" != x
; then
4548 eval "DEFAULT_$LINE"
4553 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4558 eval "$ac_cv_use_printarch"
4559 if test "$no_cache" != 1; then
4560 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4563 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4564 echo "$ac_t""yes" 1>&6
4566 echo "$ac_t""no" 1>&6
4570 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4571 echo "configure:4572: checking for --enable-mdi" >&5
4573 # Check whether --enable-mdi or --disable-mdi was given.
4574 if test "${enable_mdi+set}" = set; then
4575 enableval
="$enable_mdi"
4577 if test "$enableval" = yes; then
4578 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4580 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4585 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4586 if test "x$LINE" != x
; then
4587 eval "DEFAULT_$LINE"
4592 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4597 eval "$ac_cv_use_mdi"
4598 if test "$no_cache" != 1; then
4599 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4602 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4603 echo "$ac_t""yes" 1>&6
4605 echo "$ac_t""no" 1>&6
4609 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4610 echo "configure:4611: checking for --enable-loggui" >&5
4612 # Check whether --enable-loggui or --disable-loggui was given.
4613 if test "${enable_loggui+set}" = set; then
4614 enableval
="$enable_loggui"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4619 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4624 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4636 eval "$ac_cv_use_loggui"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_LOGGUI" = yes; then
4642 echo "$ac_t""yes" 1>&6
4644 echo "$ac_t""no" 1>&6
4648 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4649 echo "configure:4650: checking for --enable-logwin" >&5
4651 # Check whether --enable-logwin or --disable-logwin was given.
4652 if test "${enable_logwin+set}" = set; then
4653 enableval
="$enable_logwin"
4655 if test "$enableval" = yes; then
4656 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4658 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4663 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4664 if test "x$LINE" != x
; then
4665 eval "DEFAULT_$LINE"
4670 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4675 eval "$ac_cv_use_logwin"
4676 if test "$no_cache" != 1; then
4677 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4680 if test "$wxUSE_LOGWINDOW" = yes; then
4681 echo "$ac_t""yes" 1>&6
4683 echo "$ac_t""no" 1>&6
4688 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4689 echo "configure:4690: checking for --enable-postscript" >&5
4691 # Check whether --enable-postscript or --disable-postscript was given.
4692 if test "${enable_postscript+set}" = set; then
4693 enableval
="$enable_postscript"
4695 if test "$enableval" = yes; then
4696 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4698 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4703 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x
; then
4705 eval "DEFAULT_$LINE"
4710 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4715 eval "$ac_cv_use_postscript"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4720 if test "$wxUSE_POSTSCRIPT" = yes; then
4721 echo "$ac_t""yes" 1>&6
4723 echo "$ac_t""no" 1>&6
4730 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4731 echo "configure:4732: checking for --enable-prologio" >&5
4733 # Check whether --enable-prologio or --disable-prologio was given.
4734 if test "${enable_prologio+set}" = set; then
4735 enableval
="$enable_prologio"
4737 if test "$enableval" = yes; then
4738 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4740 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4745 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x
; then
4747 eval "DEFAULT_$LINE"
4752 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4757 eval "$ac_cv_use_prologio"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4762 if test "$wxUSE_PROLOGIO" = yes; then
4763 echo "$ac_t""yes" 1>&6
4765 echo "$ac_t""no" 1>&6
4769 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4770 echo "configure:4771: checking for --enable-resources" >&5
4772 # Check whether --enable-resources or --disable-resources was given.
4773 if test "${enable_resources+set}" = set; then
4774 enableval
="$enable_resources"
4776 if test "$enableval" = yes; then
4777 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4779 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4784 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4785 if test "x$LINE" != x
; then
4786 eval "DEFAULT_$LINE"
4791 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4796 eval "$ac_cv_use_resources"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_RESOURCES" = yes; then
4802 echo "$ac_t""yes" 1>&6
4804 echo "$ac_t""no" 1>&6
4809 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4810 echo "configure:4811: checking for --enable-xresources" >&5
4812 # Check whether --enable-xresources or --disable-xresources was given.
4813 if test "${enable_xresources+set}" = set; then
4814 enableval
="$enable_xresources"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4819 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4824 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4836 eval "$ac_cv_use_xresources"
4837 if test "$no_cache" != 1; then
4838 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4841 if test "$wxUSE_X_RESOURCES" = yes; then
4842 echo "$ac_t""yes" 1>&6
4844 echo "$ac_t""no" 1>&6
4850 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4851 echo "configure:4852: checking for --enable-clipboard" >&5
4853 # Check whether --enable-clipboard or --disable-clipboard was given.
4854 if test "${enable_clipboard+set}" = set; then
4855 enableval
="$enable_clipboard"
4857 if test "$enableval" = yes; then
4858 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4860 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4865 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4866 if test "x$LINE" != x
; then
4867 eval "DEFAULT_$LINE"
4872 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4877 eval "$ac_cv_use_clipboard"
4878 if test "$no_cache" != 1; then
4879 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4882 if test "$wxUSE_CLIPBOARD" = yes; then
4883 echo "$ac_t""yes" 1>&6
4885 echo "$ac_t""no" 1>&6
4889 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4890 echo "configure:4891: checking for --enable-dnd" >&5
4892 # Check whether --enable-dnd or --disable-dnd was given.
4893 if test "${enable_dnd+set}" = set; then
4894 enableval
="$enable_dnd"
4896 if test "$enableval" = yes; then
4897 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4899 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4904 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4916 eval "$ac_cv_use_dnd"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4922 echo "$ac_t""yes" 1>&6
4924 echo "$ac_t""no" 1>&6
4928 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4929 echo "configure:4930: checking for --enable-metafile" >&5
4931 # Check whether --enable-metafile or --disable-metafile was given.
4932 if test "${enable_metafile+set}" = set; then
4933 enableval
="$enable_metafile"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4938 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4943 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4955 eval "$ac_cv_use_metafile"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4960 if test "$wxUSE_METAFILE" = yes; then
4961 echo "$ac_t""yes" 1>&6
4963 echo "$ac_t""no" 1>&6
4968 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4969 echo "configure:4970: checking for --enable-wxtree" >&5
4971 # Check whether --enable-wxtree or --disable-wxtree was given.
4972 if test "${enable_wxtree+set}" = set; then
4973 enableval
="$enable_wxtree"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4978 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4983 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x
; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4995 eval "$ac_cv_use_wxtree"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_WXTREE" = yes; then
5001 echo "$ac_t""yes" 1>&6
5003 echo "$ac_t""no" 1>&6
5009 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5010 echo "configure:5011: checking for --enable-controls" >&5
5012 # Check whether --enable-controls or --disable-controls was given.
5013 if test "${enable_controls+set}" = set; then
5014 enableval
="$enable_controls"
5016 if test "$enableval" = yes; then
5017 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5019 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5024 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x
; then
5026 eval "DEFAULT_$LINE"
5031 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5036 eval "$ac_cv_use_controls"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5041 if test "$wxUSE_CONTROLS" = yes; then
5042 echo "$ac_t""yes" 1>&6
5044 echo "$ac_t""no" 1>&6
5048 if test "$wxUSE_CONTROLS" = "yes"; then
5049 DEFAULT_wxUSE_ACCEL
=yes
5050 DEFAULT_wxUSE_BMPBUTTON
=yes
5051 DEFAULT_wxUSE_BUTTON
=yes
5052 DEFAULT_wxUSE_CALCTRL
=no
5053 DEFAULT_wxUSE_CARET
=yes
5054 DEFAULT_wxUSE_COMBOBOX
=yes
5055 DEFAULT_wxUSE_CHECKBOX
=yes
5056 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5057 DEFAULT_wxUSE_CHOICE
=yes
5058 DEFAULT_wxUSE_GAUGE
=yes
5059 DEFAULT_wxUSE_GRID
=yes
5060 DEFAULT_wxUSE_NEW_GRID
=yes
5061 DEFAULT_wxUSE_IMAGLIST
=yes
5062 DEFAULT_wxUSE_LISTBOX
=yes
5063 DEFAULT_wxUSE_LISTCTRL
=yes
5064 DEFAULT_wxUSE_NOTEBOOK
=yes
5065 DEFAULT_wxUSE_RADIOBOX
=yes
5066 DEFAULT_wxUSE_RADIOBTN
=yes
5067 DEFAULT_wxUSE_SASH
=yes
5068 DEFAULT_wxUSE_SCROLLBAR
=yes
5069 DEFAULT_wxUSE_SLIDER
=yes
5070 DEFAULT_wxUSE_SPINBTN
=yes
5071 DEFAULT_wxUSE_SPINCTRL
=yes
5072 DEFAULT_wxUSE_SPLITTER
=yes
5073 DEFAULT_wxUSE_STATBMP
=yes
5074 DEFAULT_wxUSE_STATBOX
=yes
5075 DEFAULT_wxUSE_STATLINE
=yes
5076 DEFAULT_wxUSE_STATUSBAR
=yes
5077 DEFAULT_wxUSE_TAB_DIALOG
=yes
5078 DEFAULT_wxUSE_TOGGLEBTN
=yes
5079 DEFAULT_wxUSE_TOOLBAR
=yes
5080 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5081 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5082 DEFAULT_wxUSE_TOOLTIPS
=yes
5083 DEFAULT_wxUSE_TREECTRL
=yes
5084 DEFAULT_wxUSE_POPUPWIN
=yes
5085 elif test "$wxUSE_CONTROLS" = "no"; then
5086 DEFAULT_wxUSE_ACCEL
=no
5087 DEFAULT_wxUSE_BMPBUTTON
=no
5088 DEFAULT_wxUSE_BUTTON
=no
5089 DEFAULT_wxUSE_CALCTRL
=no
5090 DEFAULT_wxUSE_CARET
=no
5091 DEFAULT_wxUSE_COMBOBOX
=no
5092 DEFAULT_wxUSE_CHECKBOX
=no
5093 DEFAULT_wxUSE_CHECKLISTBOX
=no
5094 DEFAULT_wxUSE_CHOICE
=no
5095 DEFAULT_wxUSE_GAUGE
=no
5096 DEFAULT_wxUSE_GRID
=no
5097 DEFAULT_wxUSE_NEW_GRID
=no
5098 DEFAULT_wxUSE_IMAGLIST
=no
5099 DEFAULT_wxUSE_LISTBOX
=no
5100 DEFAULT_wxUSE_LISTCTRL
=no
5101 DEFAULT_wxUSE_NOTEBOOK
=no
5102 DEFAULT_wxUSE_RADIOBOX
=no
5103 DEFAULT_wxUSE_RADIOBTN
=no
5104 DEFAULT_wxUSE_SASH
=no
5105 DEFAULT_wxUSE_SCROLLBAR
=no
5106 DEFAULT_wxUSE_SLIDER
=no
5107 DEFAULT_wxUSE_SPINBTN
=no
5108 DEFAULT_wxUSE_SPINCTRL
=no
5109 DEFAULT_wxUSE_SPLITTER
=no
5110 DEFAULT_wxUSE_STATBMP
=no
5111 DEFAULT_wxUSE_STATBOX
=no
5112 DEFAULT_wxUSE_STATLINE
=no
5113 DEFAULT_wxUSE_STATUSBAR
=no
5114 DEFAULT_wxUSE_TAB_DIALOG
=no
5115 DEFAULT_wxUSE_TOGGLEBTN
=no
5116 DEFAULT_wxUSE_TOOLBAR
=no
5117 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5118 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5119 DEFAULT_wxUSE_TOOLTIPS
=no
5120 DEFAULT_wxUSE_TREECTRL
=no
5121 DEFAULT_wxUSE_POPUPWIN
=no
5125 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5126 echo "configure:5127: checking for --enable-accel" >&5
5128 # Check whether --enable-accel or --disable-accel was given.
5129 if test "${enable_accel+set}" = set; then
5130 enableval
="$enable_accel"
5132 if test "$enableval" = yes; then
5133 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5135 ac_cv_use_accel
='wxUSE_ACCEL=no'
5140 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5141 if test "x$LINE" != x
; then
5142 eval "DEFAULT_$LINE"
5147 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5152 eval "$ac_cv_use_accel"
5153 if test "$no_cache" != 1; then
5154 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5157 if test "$wxUSE_ACCEL" = yes; then
5158 echo "$ac_t""yes" 1>&6
5160 echo "$ac_t""no" 1>&6
5164 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5165 echo "configure:5166: checking for --enable-button" >&5
5167 # Check whether --enable-button or --disable-button was given.
5168 if test "${enable_button+set}" = set; then
5169 enableval
="$enable_button"
5171 if test "$enableval" = yes; then
5172 ac_cv_use_button
='wxUSE_BUTTON=yes'
5174 ac_cv_use_button
='wxUSE_BUTTON=no'
5179 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5180 if test "x$LINE" != x
; then
5181 eval "DEFAULT_$LINE"
5186 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5191 eval "$ac_cv_use_button"
5192 if test "$no_cache" != 1; then
5193 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5196 if test "$wxUSE_BUTTON" = yes; then
5197 echo "$ac_t""yes" 1>&6
5199 echo "$ac_t""no" 1>&6
5203 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5204 echo "configure:5205: checking for --enable-bmpbutton" >&5
5206 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5207 if test "${enable_bmpbutton+set}" = set; then
5208 enableval
="$enable_bmpbutton"
5210 if test "$enableval" = yes; then
5211 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5213 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5218 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5219 if test "x$LINE" != x
; then
5220 eval "DEFAULT_$LINE"
5225 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5230 eval "$ac_cv_use_bmpbutton"
5231 if test "$no_cache" != 1; then
5232 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5235 if test "$wxUSE_BMPBUTTON" = yes; then
5236 echo "$ac_t""yes" 1>&6
5238 echo "$ac_t""no" 1>&6
5242 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5243 echo "configure:5244: checking for --enable-calendar" >&5
5245 # Check whether --enable-calendar or --disable-calendar was given.
5246 if test "${enable_calendar+set}" = set; then
5247 enableval
="$enable_calendar"
5249 if test "$enableval" = yes; then
5250 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5252 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5257 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5258 if test "x$LINE" != x
; then
5259 eval "DEFAULT_$LINE"
5264 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5269 eval "$ac_cv_use_calendar"
5270 if test "$no_cache" != 1; then
5271 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5274 if test "$wxUSE_CALCTRL" = yes; then
5275 echo "$ac_t""yes" 1>&6
5277 echo "$ac_t""no" 1>&6
5281 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5282 echo "configure:5283: checking for --enable-caret" >&5
5284 # Check whether --enable-caret or --disable-caret was given.
5285 if test "${enable_caret+set}" = set; then
5286 enableval
="$enable_caret"
5288 if test "$enableval" = yes; then
5289 ac_cv_use_caret
='wxUSE_CARET=yes'
5291 ac_cv_use_caret
='wxUSE_CARET=no'
5296 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x
; then
5298 eval "DEFAULT_$LINE"
5303 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5308 eval "$ac_cv_use_caret"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_CARET" = yes; then
5314 echo "$ac_t""yes" 1>&6
5316 echo "$ac_t""no" 1>&6
5320 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5321 echo "configure:5322: checking for --enable-checkbox" >&5
5323 # Check whether --enable-checkbox or --disable-checkbox was given.
5324 if test "${enable_checkbox+set}" = set; then
5325 enableval
="$enable_checkbox"
5327 if test "$enableval" = yes; then
5328 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5330 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5335 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5336 if test "x$LINE" != x
; then
5337 eval "DEFAULT_$LINE"
5342 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5347 eval "$ac_cv_use_checkbox"
5348 if test "$no_cache" != 1; then
5349 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5352 if test "$wxUSE_CHECKBOX" = yes; then
5353 echo "$ac_t""yes" 1>&6
5355 echo "$ac_t""no" 1>&6
5359 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5360 echo "configure:5361: checking for --enable-checklst" >&5
5362 # Check whether --enable-checklst or --disable-checklst was given.
5363 if test "${enable_checklst+set}" = set; then
5364 enableval
="$enable_checklst"
5366 if test "$enableval" = yes; then
5367 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5369 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5374 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5381 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5386 eval "$ac_cv_use_checklst"
5387 if test "$no_cache" != 1; then
5388 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5391 if test "$wxUSE_CHECKLST" = yes; then
5392 echo "$ac_t""yes" 1>&6
5394 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5399 echo "configure:5400: checking for --enable-choice" >&5
5401 # Check whether --enable-choice or --disable-choice was given.
5402 if test "${enable_choice+set}" = set; then
5403 enableval
="$enable_choice"
5405 if test "$enableval" = yes; then
5406 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5408 ac_cv_use_choice
='wxUSE_CHOICE=no'
5413 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5414 if test "x$LINE" != x
; then
5415 eval "DEFAULT_$LINE"
5420 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5425 eval "$ac_cv_use_choice"
5426 if test "$no_cache" != 1; then
5427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5430 if test "$wxUSE_CHOICE" = yes; then
5431 echo "$ac_t""yes" 1>&6
5433 echo "$ac_t""no" 1>&6
5437 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5438 echo "configure:5439: checking for --enable-combobox" >&5
5440 # Check whether --enable-combobox or --disable-combobox was given.
5441 if test "${enable_combobox+set}" = set; then
5442 enableval
="$enable_combobox"
5444 if test "$enableval" = yes; then
5445 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5447 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5452 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5453 if test "x$LINE" != x
; then
5454 eval "DEFAULT_$LINE"
5459 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5464 eval "$ac_cv_use_combobox"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5469 if test "$wxUSE_COMBOBOX" = yes; then
5470 echo "$ac_t""yes" 1>&6
5472 echo "$ac_t""no" 1>&6
5476 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5477 echo "configure:5478: checking for --enable-gauge" >&5
5479 # Check whether --enable-gauge or --disable-gauge was given.
5480 if test "${enable_gauge+set}" = set; then
5481 enableval
="$enable_gauge"
5483 if test "$enableval" = yes; then
5484 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5486 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5491 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5498 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5503 eval "$ac_cv_use_gauge"
5504 if test "$no_cache" != 1; then
5505 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5508 if test "$wxUSE_GAUGE" = yes; then
5509 echo "$ac_t""yes" 1>&6
5511 echo "$ac_t""no" 1>&6
5515 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5516 echo "configure:5517: checking for --enable-grid" >&5
5518 # Check whether --enable-grid or --disable-grid was given.
5519 if test "${enable_grid+set}" = set; then
5520 enableval
="$enable_grid"
5522 if test "$enableval" = yes; then
5523 ac_cv_use_grid
='wxUSE_GRID=yes'
5525 ac_cv_use_grid
='wxUSE_GRID=no'
5530 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5531 if test "x$LINE" != x
; then
5532 eval "DEFAULT_$LINE"
5537 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5542 eval "$ac_cv_use_grid"
5543 if test "$no_cache" != 1; then
5544 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5547 if test "$wxUSE_GRID" = yes; then
5548 echo "$ac_t""yes" 1>&6
5550 echo "$ac_t""no" 1>&6
5554 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5555 echo "configure:5556: checking for --enable-newgrid" >&5
5557 # Check whether --enable-newgrid or --disable-newgrid was given.
5558 if test "${enable_newgrid+set}" = set; then
5559 enableval
="$enable_newgrid"
5561 if test "$enableval" = yes; then
5562 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5564 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5569 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5570 if test "x$LINE" != x
; then
5571 eval "DEFAULT_$LINE"
5576 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5581 eval "$ac_cv_use_newgrid"
5582 if test "$no_cache" != 1; then
5583 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5586 if test "$wxUSE_NEW_GRID" = yes; then
5587 echo "$ac_t""yes" 1>&6
5589 echo "$ac_t""no" 1>&6
5593 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5594 echo "configure:5595: checking for --enable-imaglist" >&5
5596 # Check whether --enable-imaglist or --disable-imaglist was given.
5597 if test "${enable_imaglist+set}" = set; then
5598 enableval
="$enable_imaglist"
5600 if test "$enableval" = yes; then
5601 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5603 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5608 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5609 if test "x$LINE" != x
; then
5610 eval "DEFAULT_$LINE"
5615 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5620 eval "$ac_cv_use_imaglist"
5621 if test "$no_cache" != 1; then
5622 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5625 if test "$wxUSE_IMAGLIST" = yes; then
5626 echo "$ac_t""yes" 1>&6
5628 echo "$ac_t""no" 1>&6
5632 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5633 echo "configure:5634: checking for --enable-listbox" >&5
5635 # Check whether --enable-listbox or --disable-listbox was given.
5636 if test "${enable_listbox+set}" = set; then
5637 enableval
="$enable_listbox"
5639 if test "$enableval" = yes; then
5640 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5642 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5647 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5648 if test "x$LINE" != x
; then
5649 eval "DEFAULT_$LINE"
5654 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5659 eval "$ac_cv_use_listbox"
5660 if test "$no_cache" != 1; then
5661 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5664 if test "$wxUSE_LISTBOX" = yes; then
5665 echo "$ac_t""yes" 1>&6
5667 echo "$ac_t""no" 1>&6
5671 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5672 echo "configure:5673: checking for --enable-listctrl" >&5
5674 # Check whether --enable-listctrl or --disable-listctrl was given.
5675 if test "${enable_listctrl+set}" = set; then
5676 enableval
="$enable_listctrl"
5678 if test "$enableval" = yes; then
5679 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5681 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5686 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5687 if test "x$LINE" != x
; then
5688 eval "DEFAULT_$LINE"
5693 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5698 eval "$ac_cv_use_listctrl"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5703 if test "$wxUSE_LISTCTRL" = yes; then
5704 echo "$ac_t""yes" 1>&6
5706 echo "$ac_t""no" 1>&6
5710 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5711 echo "configure:5712: checking for --enable-notebook" >&5
5713 # Check whether --enable-notebook or --disable-notebook was given.
5714 if test "${enable_notebook+set}" = set; then
5715 enableval
="$enable_notebook"
5717 if test "$enableval" = yes; then
5718 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5720 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5725 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x
; then
5727 eval "DEFAULT_$LINE"
5732 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5737 eval "$ac_cv_use_notebook"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5742 if test "$wxUSE_NOTEBOOK" = yes; then
5743 echo "$ac_t""yes" 1>&6
5745 echo "$ac_t""no" 1>&6
5749 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5750 echo "configure:5751: checking for --enable-radiobox" >&5
5752 # Check whether --enable-radiobox or --disable-radiobox was given.
5753 if test "${enable_radiobox+set}" = set; then
5754 enableval
="$enable_radiobox"
5756 if test "$enableval" = yes; then
5757 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5759 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5764 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x
; then
5766 eval "DEFAULT_$LINE"
5771 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5776 eval "$ac_cv_use_radiobox"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5781 if test "$wxUSE_RADIOBOX" = yes; then
5782 echo "$ac_t""yes" 1>&6
5784 echo "$ac_t""no" 1>&6
5788 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5789 echo "configure:5790: checking for --enable-radiobtn" >&5
5791 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5792 if test "${enable_radiobtn+set}" = set; then
5793 enableval
="$enable_radiobtn"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5798 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5803 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x
; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5815 eval "$ac_cv_use_radiobtn"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_RADIOBTN" = yes; then
5821 echo "$ac_t""yes" 1>&6
5823 echo "$ac_t""no" 1>&6
5827 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5828 echo "configure:5829: checking for --enable-sash" >&5
5830 # Check whether --enable-sash or --disable-sash was given.
5831 if test "${enable_sash+set}" = set; then
5832 enableval
="$enable_sash"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_sash
='wxUSE_SASH=yes'
5837 ac_cv_use_sash
='wxUSE_SASH=no'
5842 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x
; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5854 eval "$ac_cv_use_sash"
5855 if test "$no_cache" != 1; then
5856 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5859 if test "$wxUSE_SASH" = yes; then
5860 echo "$ac_t""yes" 1>&6
5862 echo "$ac_t""no" 1>&6
5866 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5867 echo "configure:5868: checking for --enable-scrollbar" >&5
5869 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5870 if test "${enable_scrollbar+set}" = set; then
5871 enableval
="$enable_scrollbar"
5873 if test "$enableval" = yes; then
5874 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5876 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5881 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x
; then
5883 eval "DEFAULT_$LINE"
5888 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5893 eval "$ac_cv_use_scrollbar"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_SCROLLBAR" = yes; then
5899 echo "$ac_t""yes" 1>&6
5901 echo "$ac_t""no" 1>&6
5905 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5906 echo "configure:5907: checking for --enable-slider" >&5
5908 # Check whether --enable-slider or --disable-slider was given.
5909 if test "${enable_slider+set}" = set; then
5910 enableval
="$enable_slider"
5912 if test "$enableval" = yes; then
5913 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5915 ac_cv_use_slider
='wxUSE_SLIDER=no'
5920 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x
; then
5922 eval "DEFAULT_$LINE"
5927 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5932 eval "$ac_cv_use_slider"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_SLIDER" = yes; then
5938 echo "$ac_t""yes" 1>&6
5940 echo "$ac_t""no" 1>&6
5944 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5945 echo "configure:5946: checking for --enable-spinbtn" >&5
5947 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5948 if test "${enable_spinbtn+set}" = set; then
5949 enableval
="$enable_spinbtn"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5954 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5959 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5971 eval "$ac_cv_use_spinbtn"
5972 if test "$no_cache" != 1; then
5973 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5976 if test "$wxUSE_SPINBTN" = yes; then
5977 echo "$ac_t""yes" 1>&6
5979 echo "$ac_t""no" 1>&6
5983 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5984 echo "configure:5985: checking for --enable-spinctrl" >&5
5986 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5987 if test "${enable_spinctrl+set}" = set; then
5988 enableval
="$enable_spinctrl"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5993 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5998 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6010 eval "$ac_cv_use_spinctrl"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6015 if test "$wxUSE_SPINCTRL" = yes; then
6016 echo "$ac_t""yes" 1>&6
6018 echo "$ac_t""no" 1>&6
6022 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6023 echo "configure:6024: checking for --enable-splitter" >&5
6025 # Check whether --enable-splitter or --disable-splitter was given.
6026 if test "${enable_splitter+set}" = set; then
6027 enableval
="$enable_splitter"
6029 if test "$enableval" = yes; then
6030 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6032 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6037 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6038 if test "x$LINE" != x
; then
6039 eval "DEFAULT_$LINE"
6044 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6049 eval "$ac_cv_use_splitter"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6054 if test "$wxUSE_SPLITTER" = yes; then
6055 echo "$ac_t""yes" 1>&6
6057 echo "$ac_t""no" 1>&6
6061 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6062 echo "configure:6063: checking for --enable-statbmp" >&5
6064 # Check whether --enable-statbmp or --disable-statbmp was given.
6065 if test "${enable_statbmp+set}" = set; then
6066 enableval
="$enable_statbmp"
6068 if test "$enableval" = yes; then
6069 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6071 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6076 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x
; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6088 eval "$ac_cv_use_statbmp"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_STATBMP" = yes; then
6094 echo "$ac_t""yes" 1>&6
6096 echo "$ac_t""no" 1>&6
6100 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6101 echo "configure:6102: checking for --enable-statbox" >&5
6103 # Check whether --enable-statbox or --disable-statbox was given.
6104 if test "${enable_statbox+set}" = set; then
6105 enableval
="$enable_statbox"
6107 if test "$enableval" = yes; then
6108 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6110 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6115 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6116 if test "x$LINE" != x
; then
6117 eval "DEFAULT_$LINE"
6122 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6127 eval "$ac_cv_use_statbox"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6132 if test "$wxUSE_STATBOX" = yes; then
6133 echo "$ac_t""yes" 1>&6
6135 echo "$ac_t""no" 1>&6
6139 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6140 echo "configure:6141: checking for --enable-statline" >&5
6142 # Check whether --enable-statline or --disable-statline was given.
6143 if test "${enable_statline+set}" = set; then
6144 enableval
="$enable_statline"
6146 if test "$enableval" = yes; then
6147 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6149 ac_cv_use_statline
='wxUSE_STATLINE=no'
6154 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6155 if test "x$LINE" != x
; then
6156 eval "DEFAULT_$LINE"
6161 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6166 eval "$ac_cv_use_statline"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_STATLINE" = yes; then
6172 echo "$ac_t""yes" 1>&6
6174 echo "$ac_t""no" 1>&6
6178 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6179 echo "configure:6180: checking for --enable-stattext" >&5
6181 # Check whether --enable-stattext or --disable-stattext was given.
6182 if test "${enable_stattext+set}" = set; then
6183 enableval
="$enable_stattext"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6188 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6193 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6205 eval "$ac_cv_use_stattext"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6210 if test "$wxUSE_STATTEXT" = yes; then
6211 echo "$ac_t""yes" 1>&6
6213 echo "$ac_t""no" 1>&6
6217 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6218 echo "configure:6219: checking for --enable-statusbar" >&5
6220 # Check whether --enable-statusbar or --disable-statusbar was given.
6221 if test "${enable_statusbar+set}" = set; then
6222 enableval
="$enable_statusbar"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6227 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6232 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6244 eval "$ac_cv_use_statusbar"
6245 if test "$no_cache" != 1; then
6246 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6249 if test "$wxUSE_STATUSBAR" = yes; then
6250 echo "$ac_t""yes" 1>&6
6252 echo "$ac_t""no" 1>&6
6256 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6257 echo "configure:6258: checking for --enable-tabdialog" >&5
6259 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6260 if test "${enable_tabdialog+set}" = set; then
6261 enableval
="$enable_tabdialog"
6263 if test "$enableval" = yes; then
6264 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6266 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6271 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x
; then
6273 eval "DEFAULT_$LINE"
6278 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6283 eval "$ac_cv_use_tabdialog"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6288 if test "$wxUSE_TABDIALOG" = yes; then
6289 echo "$ac_t""yes" 1>&6
6291 echo "$ac_t""no" 1>&6
6295 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6296 echo "configure:6297: checking for --enable-textctrl" >&5
6298 # Check whether --enable-textctrl or --disable-textctrl was given.
6299 if test "${enable_textctrl+set}" = set; then
6300 enableval
="$enable_textctrl"
6302 if test "$enableval" = yes; then
6303 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6305 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6310 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x
; then
6312 eval "DEFAULT_$LINE"
6317 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6322 eval "$ac_cv_use_textctrl"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_TEXTCTRL" = yes; then
6328 echo "$ac_t""yes" 1>&6
6330 echo "$ac_t""no" 1>&6
6334 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6335 echo "configure:6336: checking for --enable-togglebtn" >&5
6337 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6338 if test "${enable_togglebtn+set}" = set; then
6339 enableval
="$enable_togglebtn"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6344 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6349 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x
; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6361 eval "$ac_cv_use_togglebtn"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6366 if test "$wxUSE_TOGGLEBTN" = yes; then
6367 echo "$ac_t""yes" 1>&6
6369 echo "$ac_t""no" 1>&6
6373 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6374 echo "configure:6375: checking for --enable-toolbar" >&5
6376 # Check whether --enable-toolbar or --disable-toolbar was given.
6377 if test "${enable_toolbar+set}" = set; then
6378 enableval
="$enable_toolbar"
6380 if test "$enableval" = yes; then
6381 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6383 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6388 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x
; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6400 eval "$ac_cv_use_toolbar"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_TOOLBAR" = yes; then
6406 echo "$ac_t""yes" 1>&6
6408 echo "$ac_t""no" 1>&6
6412 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6413 echo "configure:6414: checking for --enable-tbarnative" >&5
6415 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6416 if test "${enable_tbarnative+set}" = set; then
6417 enableval
="$enable_tbarnative"
6419 if test "$enableval" = yes; then
6420 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6422 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6427 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6428 if test "x$LINE" != x
; then
6429 eval "DEFAULT_$LINE"
6434 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6439 eval "$ac_cv_use_tbarnative"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6444 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6445 echo "$ac_t""yes" 1>&6
6447 echo "$ac_t""no" 1>&6
6451 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6452 echo "configure:6453: checking for --enable-tbarsmpl" >&5
6454 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6455 if test "${enable_tbarsmpl+set}" = set; then
6456 enableval
="$enable_tbarsmpl"
6458 if test "$enableval" = yes; then
6459 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6461 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6466 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x
; then
6468 eval "DEFAULT_$LINE"
6473 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6478 eval "$ac_cv_use_tbarsmpl"
6479 if test "$no_cache" != 1; then
6480 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6483 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6484 echo "$ac_t""yes" 1>&6
6486 echo "$ac_t""no" 1>&6
6490 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6491 echo "configure:6492: checking for --enable-treectrl" >&5
6493 # Check whether --enable-treectrl or --disable-treectrl was given.
6494 if test "${enable_treectrl+set}" = set; then
6495 enableval
="$enable_treectrl"
6497 if test "$enableval" = yes; then
6498 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6500 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6505 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x
; then
6507 eval "DEFAULT_$LINE"
6512 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6517 eval "$ac_cv_use_treectrl"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6522 if test "$wxUSE_TREECTRL" = yes; then
6523 echo "$ac_t""yes" 1>&6
6525 echo "$ac_t""no" 1>&6
6529 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6530 echo "configure:6531: checking for --enable-popupwin" >&5
6532 # Check whether --enable-popupwin or --disable-popupwin was given.
6533 if test "${enable_popupwin+set}" = set; then
6534 enableval
="$enable_popupwin"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6539 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6544 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x
; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6556 eval "$ac_cv_use_popupwin"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6561 if test "$wxUSE_POPUPWIN" = yes; then
6562 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6570 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6571 echo "configure:6572: checking for --enable-commondlg" >&5
6573 # Check whether --enable-commondlg or --disable-commondlg was given.
6574 if test "${enable_commondlg+set}" = set; then
6575 enableval
="$enable_commondlg"
6577 if test "$enableval" = yes; then
6578 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6580 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6585 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6586 if test "x$LINE" != x
; then
6587 eval "DEFAULT_$LINE"
6592 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6597 eval "$ac_cv_use_commondlg"
6598 if test "$no_cache" != 1; then
6599 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6602 if test "$wxUSE_COMMONDLGS" = yes; then
6603 echo "$ac_t""yes" 1>&6
6605 echo "$ac_t""no" 1>&6
6609 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6610 echo "configure:6611: checking for --enable-choicedlg" >&5
6612 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6613 if test "${enable_choicedlg+set}" = set; then
6614 enableval
="$enable_choicedlg"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6619 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6624 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6636 eval "$ac_cv_use_choicedlg"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6641 if test "$wxUSE_CHOICEDLG" = yes; then
6642 echo "$ac_t""yes" 1>&6
6644 echo "$ac_t""no" 1>&6
6648 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6649 echo "configure:6650: checking for --enable-coldlg" >&5
6651 # Check whether --enable-coldlg or --disable-coldlg was given.
6652 if test "${enable_coldlg+set}" = set; then
6653 enableval
="$enable_coldlg"
6655 if test "$enableval" = yes; then
6656 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6658 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6663 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6664 if test "x$LINE" != x
; then
6665 eval "DEFAULT_$LINE"
6670 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6675 eval "$ac_cv_use_coldlg"
6676 if test "$no_cache" != 1; then
6677 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6680 if test "$wxUSE_COLOURDLG" = yes; then
6681 echo "$ac_t""yes" 1>&6
6683 echo "$ac_t""no" 1>&6
6687 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6688 echo "configure:6689: checking for --enable-filedlg" >&5
6690 # Check whether --enable-filedlg or --disable-filedlg was given.
6691 if test "${enable_filedlg+set}" = set; then
6692 enableval
="$enable_filedlg"
6694 if test "$enableval" = yes; then
6695 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6697 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6702 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6703 if test "x$LINE" != x
; then
6704 eval "DEFAULT_$LINE"
6709 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6714 eval "$ac_cv_use_filedlg"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6719 if test "$wxUSE_FILEDLG" = yes; then
6720 echo "$ac_t""yes" 1>&6
6722 echo "$ac_t""no" 1>&6
6726 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6727 echo "configure:6728: checking for --enable-fontdlg" >&5
6729 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6730 if test "${enable_fontdlg+set}" = set; then
6731 enableval
="$enable_fontdlg"
6733 if test "$enableval" = yes; then
6734 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6736 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6741 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6742 if test "x$LINE" != x
; then
6743 eval "DEFAULT_$LINE"
6748 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6753 eval "$ac_cv_use_fontdlg"
6754 if test "$no_cache" != 1; then
6755 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6758 if test "$wxUSE_FONTDLG" = yes; then
6759 echo "$ac_t""yes" 1>&6
6761 echo "$ac_t""no" 1>&6
6765 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6766 echo "configure:6767: checking for --enable-dirdlg" >&5
6768 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6769 if test "${enable_dirdlg+set}" = set; then
6770 enableval
="$enable_dirdlg"
6772 if test "$enableval" = yes; then
6773 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6775 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6780 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6781 if test "x$LINE" != x
; then
6782 eval "DEFAULT_$LINE"
6787 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6792 eval "$ac_cv_use_dirdlg"
6793 if test "$no_cache" != 1; then
6794 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6797 if test "$wxUSE_DIRDLG" = yes; then
6798 echo "$ac_t""yes" 1>&6
6800 echo "$ac_t""no" 1>&6
6804 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6805 echo "configure:6806: checking for --enable-msgdlg" >&5
6807 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6808 if test "${enable_msgdlg+set}" = set; then
6809 enableval
="$enable_msgdlg"
6811 if test "$enableval" = yes; then
6812 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6814 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6819 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6820 if test "x$LINE" != x
; then
6821 eval "DEFAULT_$LINE"
6826 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6831 eval "$ac_cv_use_msgdlg"
6832 if test "$no_cache" != 1; then
6833 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6836 if test "$wxUSE_MSGDLG" = yes; then
6837 echo "$ac_t""yes" 1>&6
6839 echo "$ac_t""no" 1>&6
6843 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6844 echo "configure:6845: checking for --enable-numberdlg" >&5
6846 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6847 if test "${enable_numberdlg+set}" = set; then
6848 enableval
="$enable_numberdlg"
6850 if test "$enableval" = yes; then
6851 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6853 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6858 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x
; then
6860 eval "DEFAULT_$LINE"
6865 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6870 eval "$ac_cv_use_numberdlg"
6871 if test "$no_cache" != 1; then
6872 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6875 if test "$wxUSE_NUMBERDLG" = yes; then
6876 echo "$ac_t""yes" 1>&6
6878 echo "$ac_t""no" 1>&6
6882 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6883 echo "configure:6884: checking for --enable-textdlg" >&5
6885 # Check whether --enable-textdlg or --disable-textdlg was given.
6886 if test "${enable_textdlg+set}" = set; then
6887 enableval
="$enable_textdlg"
6889 if test "$enableval" = yes; then
6890 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6892 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6897 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6898 if test "x$LINE" != x
; then
6899 eval "DEFAULT_$LINE"
6904 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6909 eval "$ac_cv_use_textdlg"
6910 if test "$no_cache" != 1; then
6911 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6914 if test "$wxUSE_TEXTDLG" = yes; then
6915 echo "$ac_t""yes" 1>&6
6917 echo "$ac_t""no" 1>&6
6921 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6922 echo "configure:6923: checking for --enable-tipdlg" >&5
6924 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6925 if test "${enable_tipdlg+set}" = set; then
6926 enableval
="$enable_tipdlg"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6931 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6936 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6948 eval "$ac_cv_use_tipdlg"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_STARTUP_TIPS" = yes; then
6954 echo "$ac_t""yes" 1>&6
6956 echo "$ac_t""no" 1>&6
6960 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6961 echo "configure:6962: checking for --enable-progressdlg" >&5
6963 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6964 if test "${enable_progressdlg+set}" = set; then
6965 enableval
="$enable_progressdlg"
6967 if test "$enableval" = yes; then
6968 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6970 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6975 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6976 if test "x$LINE" != x
; then
6977 eval "DEFAULT_$LINE"
6982 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6987 eval "$ac_cv_use_progressdlg"
6988 if test "$no_cache" != 1; then
6989 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6992 if test "$wxUSE_PROGRESSDLG" = yes; then
6993 echo "$ac_t""yes" 1>&6
6995 echo "$ac_t""no" 1>&6
6999 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7000 echo "configure:7001: checking for --enable-wizarddlg" >&5
7002 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7003 if test "${enable_wizarddlg+set}" = set; then
7004 enableval
="$enable_wizarddlg"
7006 if test "$enableval" = yes; then
7007 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7009 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7014 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7015 if test "x$LINE" != x
; then
7016 eval "DEFAULT_$LINE"
7021 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7026 eval "$ac_cv_use_wizarddlg"
7027 if test "$no_cache" != 1; then
7028 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7031 if test "$wxUSE_WIZARDDLG" = yes; then
7032 echo "$ac_t""yes" 1>&6
7034 echo "$ac_t""no" 1>&6
7040 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7041 echo "configure:7042: checking for --enable-menus" >&5
7043 # Check whether --enable-menus or --disable-menus was given.
7044 if test "${enable_menus+set}" = set; then
7045 enableval
="$enable_menus"
7047 if test "$enableval" = yes; then
7048 ac_cv_use_menus
='wxUSE_MENUS=yes'
7050 ac_cv_use_menus
='wxUSE_MENUS=no'
7055 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7056 if test "x$LINE" != x
; then
7057 eval "DEFAULT_$LINE"
7062 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7067 eval "$ac_cv_use_menus"
7068 if test "$no_cache" != 1; then
7069 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7072 if test "$wxUSE_MENUS" = yes; then
7073 echo "$ac_t""yes" 1>&6
7075 echo "$ac_t""no" 1>&6
7079 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --enable-miniframe" >&5
7082 # Check whether --enable-miniframe or --disable-miniframe was given.
7083 if test "${enable_miniframe+set}" = set; then
7084 enableval
="$enable_miniframe"
7086 if test "$enableval" = yes; then
7087 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7089 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7094 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x
; then
7096 eval "DEFAULT_$LINE"
7101 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7106 eval "$ac_cv_use_miniframe"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_MINIFRAME" = yes; then
7112 echo "$ac_t""yes" 1>&6
7114 echo "$ac_t""no" 1>&6
7118 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7119 echo "configure:7120: checking for --enable-tooltips" >&5
7121 # Check whether --enable-tooltips or --disable-tooltips was given.
7122 if test "${enable_tooltips+set}" = set; then
7123 enableval
="$enable_tooltips"
7125 if test "$enableval" = yes; then
7126 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7128 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7133 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7134 if test "x$LINE" != x
; then
7135 eval "DEFAULT_$LINE"
7140 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7145 eval "$ac_cv_use_tooltips"
7146 if test "$no_cache" != 1; then
7147 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7150 if test "$wxUSE_TOOLTIPS" = yes; then
7151 echo "$ac_t""yes" 1>&6
7153 echo "$ac_t""no" 1>&6
7157 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7158 echo "configure:7159: checking for --enable-splines" >&5
7160 # Check whether --enable-splines or --disable-splines was given.
7161 if test "${enable_splines+set}" = set; then
7162 enableval
="$enable_splines"
7164 if test "$enableval" = yes; then
7165 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7167 ac_cv_use_splines
='wxUSE_SPLINES=no'
7172 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7173 if test "x$LINE" != x
; then
7174 eval "DEFAULT_$LINE"
7179 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7184 eval "$ac_cv_use_splines"
7185 if test "$no_cache" != 1; then
7186 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7189 if test "$wxUSE_SPLINES" = yes; then
7190 echo "$ac_t""yes" 1>&6
7192 echo "$ac_t""no" 1>&6
7196 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7197 echo "configure:7198: checking for --enable-validators" >&5
7199 # Check whether --enable-validators or --disable-validators was given.
7200 if test "${enable_validators+set}" = set; then
7201 enableval
="$enable_validators"
7203 if test "$enableval" = yes; then
7204 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7206 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7211 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7212 if test "x$LINE" != x
; then
7213 eval "DEFAULT_$LINE"
7218 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7223 eval "$ac_cv_use_validators"
7224 if test "$no_cache" != 1; then
7225 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7228 if test "$wxUSE_VALIDATORS" = yes; then
7229 echo "$ac_t""yes" 1>&6
7231 echo "$ac_t""no" 1>&6
7235 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7236 echo "configure:7237: checking for --enable-busyinfo" >&5
7238 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7239 if test "${enable_busyinfo+set}" = set; then
7240 enableval
="$enable_busyinfo"
7242 if test "$enableval" = yes; then
7243 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7245 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7250 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7251 if test "x$LINE" != x
; then
7252 eval "DEFAULT_$LINE"
7257 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7262 eval "$ac_cv_use_busyinfo"
7263 if test "$no_cache" != 1; then
7264 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7267 if test "$wxUSE_BUSYINFO" = yes; then
7268 echo "$ac_t""yes" 1>&6
7270 echo "$ac_t""no" 1>&6
7274 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7275 echo "configure:7276: checking for --enable-joystick" >&5
7277 # Check whether --enable-joystick or --disable-joystick was given.
7278 if test "${enable_joystick+set}" = set; then
7279 enableval
="$enable_joystick"
7281 if test "$enableval" = yes; then
7282 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7284 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7289 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7290 if test "x$LINE" != x
; then
7291 eval "DEFAULT_$LINE"
7296 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7301 eval "$ac_cv_use_joystick"
7302 if test "$no_cache" != 1; then
7303 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7306 if test "$wxUSE_JOYSTICK" = yes; then
7307 echo "$ac_t""yes" 1>&6
7309 echo "$ac_t""no" 1>&6
7313 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7314 echo "configure:7315: checking for --enable-metafile" >&5
7316 # Check whether --enable-metafile or --disable-metafile was given.
7317 if test "${enable_metafile+set}" = set; then
7318 enableval
="$enable_metafile"
7320 if test "$enableval" = yes; then
7321 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7323 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7328 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x
; then
7330 eval "DEFAULT_$LINE"
7335 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7340 eval "$ac_cv_use_metafile"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7345 if test "$wxUSE_METAFILE" = yes; then
7346 echo "$ac_t""yes" 1>&6
7348 echo "$ac_t""no" 1>&6
7352 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7353 echo "configure:7354: checking for --enable-dragimage" >&5
7355 # Check whether --enable-dragimage or --disable-dragimage was given.
7356 if test "${enable_dragimage+set}" = set; then
7357 enableval
="$enable_dragimage"
7359 if test "$enableval" = yes; then
7360 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7362 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7367 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7368 if test "x$LINE" != x
; then
7369 eval "DEFAULT_$LINE"
7374 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7379 eval "$ac_cv_use_dragimage"
7380 if test "$no_cache" != 1; then
7381 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7384 if test "$wxUSE_DRAGIMAGE" = yes; then
7385 echo "$ac_t""yes" 1>&6
7387 echo "$ac_t""no" 1>&6
7393 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7394 echo "configure:7395: checking for --enable-image" >&5
7396 # Check whether --enable-image or --disable-image was given.
7397 if test "${enable_image+set}" = set; then
7398 enableval
="$enable_image"
7400 if test "$enableval" = yes; then
7401 ac_cv_use_image
='wxUSE_IMAGE=yes'
7403 ac_cv_use_image
='wxUSE_IMAGE=no'
7408 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7409 if test "x$LINE" != x
; then
7410 eval "DEFAULT_$LINE"
7415 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7420 eval "$ac_cv_use_image"
7421 if test "$no_cache" != 1; then
7422 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7425 if test "$wxUSE_IMAGE" = yes; then
7426 echo "$ac_t""yes" 1>&6
7428 echo "$ac_t""no" 1>&6
7432 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7433 echo "configure:7434: checking for --enable-gif" >&5
7435 # Check whether --enable-gif or --disable-gif was given.
7436 if test "${enable_gif+set}" = set; then
7437 enableval
="$enable_gif"
7439 if test "$enableval" = yes; then
7440 ac_cv_use_gif
='wxUSE_GIF=yes'
7442 ac_cv_use_gif
='wxUSE_GIF=no'
7447 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7448 if test "x$LINE" != x
; then
7449 eval "DEFAULT_$LINE"
7454 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7459 eval "$ac_cv_use_gif"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7464 if test "$wxUSE_GIF" = yes; then
7465 echo "$ac_t""yes" 1>&6
7467 echo "$ac_t""no" 1>&6
7471 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7472 echo "configure:7473: checking for --enable-pcx" >&5
7474 # Check whether --enable-pcx or --disable-pcx was given.
7475 if test "${enable_pcx+set}" = set; then
7476 enableval
="$enable_pcx"
7478 if test "$enableval" = yes; then
7479 ac_cv_use_pcx
='wxUSE_PCX=yes'
7481 ac_cv_use_pcx
='wxUSE_PCX=no'
7486 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7487 if test "x$LINE" != x
; then
7488 eval "DEFAULT_$LINE"
7493 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7498 eval "$ac_cv_use_pcx"
7499 if test "$no_cache" != 1; then
7500 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7503 if test "$wxUSE_PCX" = yes; then
7504 echo "$ac_t""yes" 1>&6
7506 echo "$ac_t""no" 1>&6
7510 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7511 echo "configure:7512: checking for --enable-pnm" >&5
7513 # Check whether --enable-pnm or --disable-pnm was given.
7514 if test "${enable_pnm+set}" = set; then
7515 enableval
="$enable_pnm"
7517 if test "$enableval" = yes; then
7518 ac_cv_use_pnm
='wxUSE_PNM=yes'
7520 ac_cv_use_pnm
='wxUSE_PNM=no'
7525 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7526 if test "x$LINE" != x
; then
7527 eval "DEFAULT_$LINE"
7532 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7537 eval "$ac_cv_use_pnm"
7538 if test "$no_cache" != 1; then
7539 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7542 if test "$wxUSE_PNM" = yes; then
7543 echo "$ac_t""yes" 1>&6
7545 echo "$ac_t""no" 1>&6
7549 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7550 echo "configure:7551: checking for --enable-pnm" >&5
7552 # Check whether --enable-pnm or --disable-pnm was given.
7553 if test "${enable_pnm+set}" = set; then
7554 enableval
="$enable_pnm"
7556 if test "$enableval" = yes; then
7557 ac_cv_use_pnm
='wxUSE_XPM=yes'
7559 ac_cv_use_pnm
='wxUSE_XPM=no'
7564 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7565 if test "x$LINE" != x
; then
7566 eval "DEFAULT_$LINE"
7571 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7576 eval "$ac_cv_use_pnm"
7577 if test "$no_cache" != 1; then
7578 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7581 if test "$wxUSE_XPM" = yes; then
7582 echo "$ac_t""yes" 1>&6
7584 echo "$ac_t""no" 1>&6
7591 echo "saving argument cache $wx_arg_cache_file"
7592 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7596 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7597 echo "configure:7598: checking for toolkit" >&5
7599 if test "$wxUSE_GUI" = "yes"; then
7601 if test "$USE_BEOS" = 1; then
7602 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7605 if test "$TOOLKIT_GIVEN" = 1; then
7606 for toolkit
in `echo $ALL_TOOLKITS`; do
7608 eval "value=\$${var}"
7609 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7612 for toolkit
in `echo $ALL_TOOLKITS`; do
7613 if test "$has_toolkit_in_cache" != 1; then
7614 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7616 var
=DEFAULT_wxUSE_
$toolkit
7618 eval "wxUSE_$toolkit=\$${var}"
7622 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7626 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7627 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7636 case "$NUM_TOOLKITS" in
7640 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7643 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7646 for toolkit
in `echo $ALL_TOOLKITS`; do
7648 eval "value=\$${var}"
7649 if test "x$value" != x
; then
7650 cache_var
=CACHE_
$toolkit
7651 eval "cache=\$${cache_var}"
7652 if test "$cache" = 1; then
7653 echo "$var=$value" >> ${wx_arg_cache_file}
7655 if test "$value" = 1; then
7656 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7657 echo "$ac_t""$toolkit_echo" 1>&6
7664 echo "$ac_t""base only" 1>&6
7668 cat > confcache
<<\EOF
7669 # This file is a shell script that caches the results of configure
7670 # tests run on this system so they can be shared between configure
7671 # scripts and configure runs. It is not useful on other systems.
7672 # If it contains results you don't want to keep, you may remove or edit it.
7674 # By default, configure uses ./config.cache as the cache file,
7675 # creating it if it does not exist already. You can give configure
7676 # the --cache-file=FILE option to use a different cache file; that is
7677 # what configure does when it calls configure scripts in
7678 # subdirectories, so they share the cache.
7679 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7680 # config.status only pays attention to the cache file if you give it the
7681 # --recheck option to rerun configure.
7684 # The following way of writing the cache mishandles newlines in values,
7685 # but we know of no workaround that is simple, portable, and efficient.
7686 # So, don't put newlines in cache variables' values.
7687 # Ultrix sh set writes to stderr and can't be redirected directly,
7688 # and sets the high bit in the cache file unless we assign to the vars.
7690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7692 # `set' does not quote correctly, so add quotes (double-quote substitution
7693 # turns \\\\ into \\, and sed turns \\ into \).
7695 -e "s/'/'\\\\''/g" \
7696 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7699 # `set' quotes correctly as required by POSIX, so do not add quotes.
7700 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7703 if cmp -s $cache_file confcache
; then
7706 if test -w $cache_file; then
7707 echo "updating cache $cache_file"
7708 cat confcache
> $cache_file
7710 echo "not updating unwritable cache $cache_file"
7716 if test "$build" != "$host" ; then
7720 RANLIB
=$host_alias-ranlib
7721 DLLTOOL
=$host_alias-dlltool
7722 RESCOMP
=$host_alias-windres
7725 STRIP
=$host_alias-strip
7728 # Extract the first word of "gcc", so it can be a program name with args.
7729 set dummy gcc
; ac_word
=$2
7730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7731 echo "configure:7732: checking for $ac_word" >&5
7732 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7733 echo $ac_n "(cached) $ac_c" 1>&6
7735 if test -n "$CC"; then
7736 ac_cv_prog_CC
="$CC" # Let the user override the test.
7738 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7740 for ac_dir
in $ac_dummy; do
7741 test -z "$ac_dir" && ac_dir
=.
7742 if test -f $ac_dir/$ac_word; then
7751 if test -n "$CC"; then
7752 echo "$ac_t""$CC" 1>&6
7754 echo "$ac_t""no" 1>&6
7757 if test -z "$CC"; then
7758 # Extract the first word of "cc", so it can be a program name with args.
7759 set dummy cc
; ac_word
=$2
7760 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7761 echo "configure:7762: checking for $ac_word" >&5
7762 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7763 echo $ac_n "(cached) $ac_c" 1>&6
7765 if test -n "$CC"; then
7766 ac_cv_prog_CC
="$CC" # Let the user override the test.
7768 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7771 for ac_dir
in $ac_dummy; do
7772 test -z "$ac_dir" && ac_dir
=.
7773 if test -f $ac_dir/$ac_word; then
7774 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7775 ac_prog_rejected
=yes
7783 if test $ac_prog_rejected = yes; then
7784 # We found a bogon in the path, so make sure we never use it.
7785 set dummy
$ac_cv_prog_CC
7787 if test $# -gt 0; then
7788 # We chose a different compiler from the bogus one.
7789 # However, it has the same basename, so the bogon will be chosen
7790 # first if we set CC to just the basename; use the full file name.
7792 set dummy
"$ac_dir/$ac_word" "$@"
7800 if test -n "$CC"; then
7801 echo "$ac_t""$CC" 1>&6
7803 echo "$ac_t""no" 1>&6
7806 if test -z "$CC"; then
7807 case "`uname -s`" in
7809 # Extract the first word of "cl", so it can be a program name with args.
7810 set dummy cl
; ac_word
=$2
7811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7812 echo "configure:7813: checking for $ac_word" >&5
7813 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7814 echo $ac_n "(cached) $ac_c" 1>&6
7816 if test -n "$CC"; then
7817 ac_cv_prog_CC
="$CC" # Let the user override the test.
7819 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7821 for ac_dir
in $ac_dummy; do
7822 test -z "$ac_dir" && ac_dir
=.
7823 if test -f $ac_dir/$ac_word; then
7832 if test -n "$CC"; then
7833 echo "$ac_t""$CC" 1>&6
7835 echo "$ac_t""no" 1>&6
7840 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7843 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7844 echo "configure:7845: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7847 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7848 ac_cpp
='$CPP $CPPFLAGS'
7849 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7850 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7851 cross_compiling
=$ac_cv_prog_cc_cross
7853 cat > conftest.
$ac_ext << EOF
7855 #line 7856 "configure"
7856 #include "confdefs.h"
7860 if { (eval echo configure
:7861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7861 ac_cv_prog_cc_works
=yes
7862 # If we can't run a trivial program, we are probably using a cross compiler.
7863 if (.
/conftest
; exit) 2>/dev
/null
; then
7864 ac_cv_prog_cc_cross
=no
7866 ac_cv_prog_cc_cross
=yes
7869 echo "configure: failed program was:" >&5
7870 cat conftest.
$ac_ext >&5
7871 ac_cv_prog_cc_works
=no
7875 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7876 ac_cpp
='$CPP $CPPFLAGS'
7877 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7878 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7879 cross_compiling
=$ac_cv_prog_cc_cross
7881 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7882 if test $ac_cv_prog_cc_works = no
; then
7883 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7885 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7886 echo "configure:7887: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7887 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7888 cross_compiling
=$ac_cv_prog_cc_cross
7890 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7891 echo "configure:7892: checking whether we are using GNU C" >&5
7892 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7893 echo $ac_n "(cached) $ac_c" 1>&6
7895 cat > conftest.c
<<EOF
7900 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7907 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7909 if test $ac_cv_prog_gcc = yes; then
7915 ac_test_CFLAGS
="${CFLAGS+set}"
7916 ac_save_CFLAGS
="$CFLAGS"
7918 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7919 echo "configure:7920: checking whether ${CC-cc} accepts -g" >&5
7920 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7921 echo $ac_n "(cached) $ac_c" 1>&6
7923 echo 'void f(){}' > conftest.c
7924 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7933 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7934 if test "$ac_test_CFLAGS" = set; then
7935 CFLAGS
="$ac_save_CFLAGS"
7936 elif test $ac_cv_prog_cc_g = yes; then
7937 if test "$GCC" = yes; then
7943 if test "$GCC" = yes; then
7951 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7953 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7954 echo "configure:7955: checking how to run the C preprocessor" >&5
7955 # On Suns, sometimes $CPP names a directory.
7956 if test -n "$CPP" && test -d "$CPP"; then
7959 if test -z "$CPP"; then
7960 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7961 echo $ac_n "(cached) $ac_c" 1>&6
7963 # This must be in double quotes, not single quotes, because CPP may get
7964 # substituted into the Makefile and "${CC-cc}" will confuse make.
7966 # On the NeXT, cc -E runs the code through the compiler's parser,
7967 # not just through cpp.
7968 cat > conftest.
$ac_ext <<EOF
7969 #line 7970 "configure"
7970 #include "confdefs.h"
7974 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7975 { (eval echo configure
:7976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7976 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7977 if test -z "$ac_err"; then
7981 echo "configure: failed program was:" >&5
7982 cat conftest.
$ac_ext >&5
7984 CPP
="${CC-cc} -E -traditional-cpp"
7985 cat > conftest.
$ac_ext <<EOF
7986 #line 7987 "configure"
7987 #include "confdefs.h"
7991 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7992 { (eval echo configure
:7993: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7993 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7994 if test -z "$ac_err"; then
7998 echo "configure: failed program was:" >&5
7999 cat conftest.
$ac_ext >&5
8001 CPP
="${CC-cc} -nologo -E"
8002 cat > conftest.
$ac_ext <<EOF
8003 #line 8004 "configure"
8004 #include "confdefs.h"
8008 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8009 { (eval echo configure
:8010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8010 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8011 if test -z "$ac_err"; then
8015 echo "configure: failed program was:" >&5
8016 cat conftest.
$ac_ext >&5
8025 ac_cv_prog_CPP
="$CPP"
8027 CPP
="$ac_cv_prog_CPP"
8029 ac_cv_prog_CPP
="$CPP"
8031 echo "$ac_t""$CPP" 1>&6
8034 if test $ac_cv_prog_gcc = yes; then
8035 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8036 echo "configure:8037: checking whether ${CC-cc} needs -traditional" >&5
8037 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8038 echo $ac_n "(cached) $ac_c" 1>&6
8040 ac_pattern
="Autoconf.*'x'"
8041 cat > conftest.
$ac_ext <<EOF
8042 #line 8043 "configure"
8043 #include "confdefs.h"
8047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8048 egrep "$ac_pattern" >/dev
/null
2>&1; then
8050 ac_cv_prog_gcc_traditional
=yes
8053 ac_cv_prog_gcc_traditional
=no
8058 if test $ac_cv_prog_gcc_traditional = no
; then
8059 cat > conftest.
$ac_ext <<EOF
8060 #line 8061 "configure"
8061 #include "confdefs.h"
8065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8066 egrep "$ac_pattern" >/dev
/null
2>&1; then
8068 ac_cv_prog_gcc_traditional
=yes
8075 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8076 if test $ac_cv_prog_gcc_traditional = yes; then
8077 CC
="$CC -traditional"
8084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8085 ac_cpp
='$CXXCPP $CPPFLAGS'
8086 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8087 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8088 cross_compiling
=$ac_cv_prog_cxx_cross
8091 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8093 # Extract the first word of "$ac_prog", so it can be a program name with args.
8094 set dummy
$ac_prog; ac_word
=$2
8095 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8096 echo "configure:8097: checking for $ac_word" >&5
8097 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8098 echo $ac_n "(cached) $ac_c" 1>&6
8100 if test -n "$CXX"; then
8101 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8103 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8105 for ac_dir
in $ac_dummy; do
8106 test -z "$ac_dir" && ac_dir
=.
8107 if test -f $ac_dir/$ac_word; then
8108 ac_cv_prog_CXX
="$ac_prog"
8115 CXX
="$ac_cv_prog_CXX"
8116 if test -n "$CXX"; then
8117 echo "$ac_t""$CXX" 1>&6
8119 echo "$ac_t""no" 1>&6
8122 test -n "$CXX" && break
8124 test -n "$CXX" || CXX
="gcc"
8127 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8128 echo "configure:8129: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8131 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8132 ac_cpp
='$CXXCPP $CPPFLAGS'
8133 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8134 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8135 cross_compiling
=$ac_cv_prog_cxx_cross
8137 cat > conftest.
$ac_ext << EOF
8139 #line 8140 "configure"
8140 #include "confdefs.h"
8142 int main(){return(0);}
8144 if { (eval echo configure
:8145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8145 ac_cv_prog_cxx_works
=yes
8146 # If we can't run a trivial program, we are probably using a cross compiler.
8147 if (.
/conftest
; exit) 2>/dev
/null
; then
8148 ac_cv_prog_cxx_cross
=no
8150 ac_cv_prog_cxx_cross
=yes
8153 echo "configure: failed program was:" >&5
8154 cat conftest.
$ac_ext >&5
8155 ac_cv_prog_cxx_works
=no
8159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8160 ac_cpp
='$CXXCPP $CPPFLAGS'
8161 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8162 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8163 cross_compiling
=$ac_cv_prog_cxx_cross
8165 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8166 if test $ac_cv_prog_cxx_works = no
; then
8167 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8169 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8170 echo "configure:8171: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8171 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8172 cross_compiling
=$ac_cv_prog_cxx_cross
8174 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8175 echo "configure:8176: checking whether we are using GNU C++" >&5
8176 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8177 echo $ac_n "(cached) $ac_c" 1>&6
8179 cat > conftest.C
<<EOF
8184 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8185: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8191 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8193 if test $ac_cv_prog_gxx = yes; then
8199 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8200 ac_save_CXXFLAGS
="$CXXFLAGS"
8202 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8203 echo "configure:8204: checking whether ${CXX-g++} accepts -g" >&5
8204 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8205 echo $ac_n "(cached) $ac_c" 1>&6
8207 echo 'void f(){}' > conftest.cc
8208 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8209 ac_cv_prog_cxx_g
=yes
8217 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8218 if test "$ac_test_CXXFLAGS" = set; then
8219 CXXFLAGS
="$ac_save_CXXFLAGS"
8220 elif test $ac_cv_prog_cxx_g = yes; then
8221 if test "$GXX" = yes; then
8227 if test "$GXX" = yes; then
8235 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8236 echo "configure:8237: checking how to run the C++ preprocessor" >&5
8237 if test -z "$CXXCPP"; then
8238 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8239 echo $ac_n "(cached) $ac_c" 1>&6
8242 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8243 ac_cpp
='$CXXCPP $CPPFLAGS'
8244 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8245 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8246 cross_compiling
=$ac_cv_prog_cxx_cross
8247 CXXCPP
="${CXX-g++} -E"
8248 cat > conftest.
$ac_ext <<EOF
8249 #line 8250 "configure"
8250 #include "confdefs.h"
8253 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8254 { (eval echo configure
:8255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8255 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8256 if test -z "$ac_err"; then
8260 echo "configure: failed program was:" >&5
8261 cat conftest.
$ac_ext >&5
8266 ac_cv_prog_CXXCPP
="$CXXCPP"
8268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8269 ac_cpp
='$CXXCPP $CPPFLAGS'
8270 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8271 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8272 cross_compiling
=$ac_cv_prog_cxx_cross
8275 CXXCPP
="$ac_cv_prog_CXXCPP"
8276 echo "$ac_t""$CXXCPP" 1>&6
8279 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8283 ac_cpp
='$CPP $CPPFLAGS'
8284 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8285 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8286 cross_compiling
=$ac_cv_prog_cc_cross
8289 # Extract the first word of "ranlib", so it can be a program name with args.
8290 set dummy ranlib
; ac_word
=$2
8291 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8292 echo "configure:8293: checking for $ac_word" >&5
8293 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8294 echo $ac_n "(cached) $ac_c" 1>&6
8296 if test -n "$RANLIB"; then
8297 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8299 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8301 for ac_dir
in $ac_dummy; do
8302 test -z "$ac_dir" && ac_dir
=.
8303 if test -f $ac_dir/$ac_word; then
8304 ac_cv_prog_RANLIB
="ranlib"
8309 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8312 RANLIB
="$ac_cv_prog_RANLIB"
8313 if test -n "$RANLIB"; then
8314 echo "$ac_t""$RANLIB" 1>&6
8316 echo "$ac_t""no" 1>&6
8320 # Extract the first word of "ar", so it can be a program name with args.
8321 set dummy
ar; ac_word
=$2
8322 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8323 echo "configure:8324: checking for $ac_word" >&5
8324 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8325 echo $ac_n "(cached) $ac_c" 1>&6
8327 if test -n "$AR"; then
8328 ac_cv_prog_AR
="$AR" # Let the user override the test.
8330 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8332 for ac_dir
in $ac_dummy; do
8333 test -z "$ac_dir" && ac_dir
=.
8334 if test -f $ac_dir/$ac_word; then
8340 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8344 if test -n "$AR"; then
8345 echo "$ac_t""$AR" 1>&6
8347 echo "$ac_t""no" 1>&6
8351 # Find a good install program. We prefer a C program (faster),
8352 # so one script is as good as another. But avoid the broken or
8353 # incompatible versions:
8354 # SysV /etc/install, /usr/sbin/install
8355 # SunOS /usr/etc/install
8356 # IRIX /sbin/install
8358 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8359 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8360 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8361 # ./install, which can be erroneously created by make from ./install.sh.
8362 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8363 echo "configure:8364: checking for a BSD compatible install" >&5
8364 if test -z "$INSTALL"; then
8365 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8366 echo $ac_n "(cached) $ac_c" 1>&6
8368 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8369 for ac_dir
in $PATH; do
8370 # Account for people who put trailing slashes in PATH elements.
8372 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8374 # OSF1 and SCO ODT 3.0 have their own names for install.
8375 # Don't use installbsd from OSF since it installs stuff as root
8377 for ac_prog
in ginstall scoinst
install; do
8378 if test -f $ac_dir/$ac_prog; then
8379 if test $ac_prog = install &&
8380 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8381 # AIX install. It has an incompatible calling convention.
8384 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8395 if test "${ac_cv_path_install+set}" = set; then
8396 INSTALL
="$ac_cv_path_install"
8398 # As a last resort, use the slow shell script. We don't cache a
8399 # path for INSTALL within a source directory, because that will
8400 # break other packages using the cache if that directory is
8401 # removed, or if the path is relative.
8402 INSTALL
="$ac_install_sh"
8405 echo "$ac_t""$INSTALL" 1>&6
8407 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8408 # It thinks the first close brace ends the variable substitution.
8409 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8411 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8413 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8416 # Extract the first word of "strip", so it can be a program name with args.
8417 set dummy strip
; ac_word
=$2
8418 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8419 echo "configure:8420: checking for $ac_word" >&5
8420 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8421 echo $ac_n "(cached) $ac_c" 1>&6
8423 if test -n "$STRIP"; then
8424 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8426 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8428 for ac_dir
in $ac_dummy; do
8429 test -z "$ac_dir" && ac_dir
=.
8430 if test -f $ac_dir/$ac_word; then
8431 ac_cv_prog_STRIP
="strip"
8436 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8439 STRIP
="$ac_cv_prog_STRIP"
8440 if test -n "$STRIP"; then
8441 echo "$ac_t""$STRIP" 1>&6
8443 echo "$ac_t""no" 1>&6
8447 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8448 echo "configure:8449: checking make for VPATH support" >&5
8449 cat - << EOF > confMake
8455 if test ! -d sub
; then
8458 echo dummy
> sub
/file
8459 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8461 rm -f sub
/file check final_file confMake
8463 if test "$RESULT" = 0; then
8464 echo "$ac_t""yes" 1>&6
8466 echo "$ac_t""no" 1>&6
8467 { echo "configure: error:
8468 You need a make-utility that is able to use the variable
8470 If your version of make does not support VPATH correctly,
8471 please install GNU-make (possibly as gmake), and start
8472 configure with the following command:
8473 export MAKE=gmake; ./configure for sh-type shells
8474 setenv MAKE gmake; ./configure for csh-type shells
8475 Also please do remember to use gmake in this case every time
8476 you are trying to compile.
8480 for ac_prog
in 'bison -y' byacc
8482 # Extract the first word of "$ac_prog", so it can be a program name with args.
8483 set dummy
$ac_prog; ac_word
=$2
8484 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8485 echo "configure:8486: checking for $ac_word" >&5
8486 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8487 echo $ac_n "(cached) $ac_c" 1>&6
8489 if test -n "$YACC"; then
8490 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8492 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8494 for ac_dir
in $ac_dummy; do
8495 test -z "$ac_dir" && ac_dir
=.
8496 if test -f $ac_dir/$ac_word; then
8497 ac_cv_prog_YACC
="$ac_prog"
8504 YACC
="$ac_cv_prog_YACC"
8505 if test -n "$YACC"; then
8506 echo "$ac_t""$YACC" 1>&6
8508 echo "$ac_t""no" 1>&6
8511 test -n "$YACC" && break
8513 test -n "$YACC" || YACC
="yacc"
8516 # Extract the first word of "flex", so it can be a program name with args.
8517 set dummy flex
; ac_word
=$2
8518 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8519 echo "configure:8520: checking for $ac_word" >&5
8520 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8521 echo $ac_n "(cached) $ac_c" 1>&6
8523 if test -n "$LEX"; then
8524 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8526 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8528 for ac_dir
in $ac_dummy; do
8529 test -z "$ac_dir" && ac_dir
=.
8530 if test -f $ac_dir/$ac_word; then
8531 ac_cv_prog_LEX
="flex"
8536 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8539 LEX
="$ac_cv_prog_LEX"
8540 if test -n "$LEX"; then
8541 echo "$ac_t""$LEX" 1>&6
8543 echo "$ac_t""no" 1>&6
8546 if test -z "$LEXLIB"
8552 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8553 echo "configure:8554: checking for yywrap in -l$ac_lib" >&5
8554 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8555 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8556 echo $ac_n "(cached) $ac_c" 1>&6
8558 ac_save_LIBS
="$LIBS"
8559 LIBS
="-l$ac_lib $LIBS"
8560 cat > conftest.
$ac_ext <<EOF
8561 #line 8562 "configure"
8562 #include "confdefs.h"
8563 /* Override any gcc2 internal prototype to avoid an error. */
8564 /* We use char because int might match the return type of a gcc2
8565 builtin and then its argument prototype would still apply. */
8572 if { (eval echo configure
:8573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8574 eval "ac_cv_lib_$ac_lib_var=yes"
8576 echo "configure: failed program was:" >&5
8577 cat conftest.
$ac_ext >&5
8579 eval "ac_cv_lib_$ac_lib_var=no"
8582 LIBS
="$ac_save_LIBS"
8585 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8586 echo "$ac_t""yes" 1>&6
8589 echo "$ac_t""no" 1>&6
8595 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8596 echo "configure:8597: checking whether ln -s works" >&5
8597 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8598 echo $ac_n "(cached) $ac_c" 1>&6
8601 if ln -s X conftestdata
2>/dev
/null
8604 ac_cv_prog_LN_S
="ln -s"
8609 LN_S
="$ac_cv_prog_LN_S"
8610 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8611 echo "$ac_t""yes" 1>&6
8613 echo "$ac_t""no" 1>&6
8619 /usr/local/include \
8621 /usr/Motif-1.2/include \
8622 /usr/Motif-2.1/include \
8624 /usr/include/Motif1.2 \
8625 /opt/xpm/include/X11 \
8626 /opt/GBxpm/include/ \
8627 /opt/GBxpm/X11/include/ \
8629 /usr/Motif1.2/include \
8631 /usr/openwin/include \
8635 /usr/X11R6/include \
8636 /usr/X11R6.4/include \
8637 /usr/X11R5/include \
8638 /usr/X11R4/include \
8640 /usr/include/X11R6 \
8641 /usr/include/X11R5 \
8642 /usr/include/X11R4 \
8644 /usr/local/X11R6/include \
8645 /usr/local/X11R5/include \
8646 /usr/local/X11R4/include \
8648 /usr/local/include/X11R6 \
8649 /usr/local/include/X11R5 \
8650 /usr/local/include/X11R4 \
8654 /usr/local/X11/include \
8655 /usr/local/include/X11 \
8659 /usr/XFree86/include/X11 \
8661 X:/XFree86/include \
8662 X:/XFree86/include/X11 \
8665 /usr/local/include/gtk \
8667 /usr/local/include/glib \
8670 /usr/local/include/qt \
8672 /usr/include/windows \
8674 /usr/local/include/wine \
8676 /usr/unsupported/include \
8677 /usr/athena/include \
8678 /usr/local/x11r5/include \
8679 /usr/lpp/Xamples/include \
8681 /usr/openwin/share/include \
8685 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8688 cat > confcache
<<\EOF
8689 # This file is a shell script that caches the results of configure
8690 # tests run on this system so they can be shared between configure
8691 # scripts and configure runs. It is not useful on other systems.
8692 # If it contains results you don't want to keep, you may remove or edit it.
8694 # By default, configure uses ./config.cache as the cache file,
8695 # creating it if it does not exist already. You can give configure
8696 # the --cache-file=FILE option to use a different cache file; that is
8697 # what configure does when it calls configure scripts in
8698 # subdirectories, so they share the cache.
8699 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8700 # config.status only pays attention to the cache file if you give it the
8701 # --recheck option to rerun configure.
8704 # The following way of writing the cache mishandles newlines in values,
8705 # but we know of no workaround that is simple, portable, and efficient.
8706 # So, don't put newlines in cache variables' values.
8707 # Ultrix sh set writes to stderr and can't be redirected directly,
8708 # and sets the high bit in the cache file unless we assign to the vars.
8710 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8712 # `set' does not quote correctly, so add quotes (double-quote substitution
8713 # turns \\\\ into \\, and sed turns \\ into \).
8715 -e "s/'/'\\\\''/g" \
8716 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8719 # `set' quotes correctly as required by POSIX, so do not add quotes.
8720 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8723 if cmp -s $cache_file confcache
; then
8726 if test -w $cache_file; then
8727 echo "updating cache $cache_file"
8728 cat confcache
> $cache_file
8730 echo "not updating unwritable cache $cache_file"
8739 if test "$wxUSE_GUI" = "yes"; then
8754 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8755 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8756 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8757 echo "configure:8758: checking for windows.h" >&5
8758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8759 echo $ac_n "(cached) $ac_c" 1>&6
8761 cat > conftest.
$ac_ext <<EOF
8762 #line 8763 "configure"
8763 #include "confdefs.h"
8764 #include <windows.h>
8766 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8767 { (eval echo configure
:8768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8768 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8769 if test -z "$ac_err"; then
8771 eval "ac_cv_header_$ac_safe=yes"
8774 echo "configure: failed program was:" >&5
8775 cat conftest.
$ac_ext >&5
8777 eval "ac_cv_header_$ac_safe=no"
8781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8782 echo "$ac_t""yes" 1>&6
8785 echo "$ac_t""no" 1>&6
8787 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8792 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8793 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
8795 if test "$wxUSE_ODBC" = "yes" ; then
8796 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8799 if test "$wxUSE_MINGW" = 1; then
8800 LDFLAGS
="$LDFLAGS -mwindows"
8806 RCINCSWITCH
="--include-dir"
8807 RCDEFSWITCH
="--define"
8808 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8811 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8813 RESPROGRAM
="\$(RES_PROGRAM)"
8816 if test "$wxUSE_GTK" = 1; then
8817 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8818 echo "configure:8819: checking for GTK+ version" >&5
8820 gtk_version_cached
=1
8821 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8822 echo $ac_n "(cached) $ac_c" 1>&6
8825 gtk_version_cached
=0
8826 echo "$ac_t""""" 1>&6
8829 if test "x$wxUSE_GTK2" = "xyes"; then
8830 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8831 if test "${with_gtk_prefix+set}" = set; then
8832 withval
="$with_gtk_prefix"
8833 gtk_config_prefix
="$withval"
8835 gtk_config_prefix
=""
8838 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8839 if test "${with_gtk_exec_prefix+set}" = set; then
8840 withval
="$with_gtk_exec_prefix"
8841 gtk_config_exec_prefix
="$withval"
8843 gtk_config_exec_prefix
=""
8846 # Check whether --enable-gtktest or --disable-gtktest was given.
8847 if test "${enable_gtktest+set}" = set; then
8848 enableval
="$enable_gtktest"
8859 gtk_config_args
="$gtk_config_args gthread"
8864 if test x
$gtk_config_exec_prefix != x
; then
8865 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8866 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8867 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8870 if test x
$gtk_config_prefix != x
; then
8871 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8872 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8873 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8877 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8878 set dummy gtk
-config-2.0
; ac_word
=$2
8879 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8880 echo "configure:8881: checking for $ac_word" >&5
8881 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8882 echo $ac_n "(cached) $ac_c" 1>&6
8884 case "$GTK_CONFIG_2_0" in
8886 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8889 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8892 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8894 for ac_dir
in $ac_dummy; do
8895 test -z "$ac_dir" && ac_dir
=.
8896 if test -f $ac_dir/$ac_word; then
8897 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8902 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8906 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8907 if test -n "$GTK_CONFIG_2_0"; then
8908 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8910 echo "$ac_t""no" 1>&6
8913 min_gtk_version
=1.3.1
8914 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8915 echo "configure:8916: checking for GTK - version >= $min_gtk_version" >&5
8917 if test "$GTK_CONFIG_2_0" = "no" ; then
8920 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8921 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8922 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8923 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8924 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8925 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8926 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8927 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8928 if test "x$enable_gtktest" = "xyes" ; then
8929 ac_save_CFLAGS
="$CFLAGS"
8930 ac_save_LIBS
="$LIBS"
8931 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8932 LIBS
="$GTK_LIBS $LIBS"
8934 if test "$cross_compiling" = yes; then
8935 echo $ac_n "cross compiling; assumed OK... $ac_c"
8937 cat > conftest.
$ac_ext <<EOF
8938 #line 8939 "configure"
8939 #include "confdefs.h"
8941 #include <gtk/gtk.h>
8948 int major, minor, micro;
8951 system ("touch conf.gtktest");
8953 /* HP/UX 9 (%@#!) writes to sscanf strings */
8954 tmp_version = g_strdup("$min_gtk_version");
8955 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8956 printf("%s, bad version string\n", "$min_gtk_version");
8960 if ((gtk_major_version != $gtk_config_major_version) ||
8961 (gtk_minor_version != $gtk_config_minor_version) ||
8962 (gtk_micro_version != $gtk_config_micro_version))
8964 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8965 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8966 gtk_major_version, gtk_minor_version, gtk_micro_version);
8967 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8968 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8969 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8970 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8971 printf("*** required on your system.\n");
8972 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8973 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8974 printf("*** before re-running configure\n");
8976 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8977 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8978 (gtk_minor_version != GTK_MINOR_VERSION) ||
8979 (gtk_micro_version != GTK_MICRO_VERSION))
8981 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8982 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8983 printf("*** library (version %d.%d.%d)\n",
8984 gtk_major_version, gtk_minor_version, gtk_micro_version);
8986 #endif /* defined (GTK_MAJOR_VERSION) ... */
8989 if ((gtk_major_version > major) ||
8990 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8991 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8997 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8998 gtk_major_version, gtk_minor_version, gtk_micro_version);
8999 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9000 major, minor, micro);
9001 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9003 printf("*** If you have already installed a sufficiently new version, this error\n");
9004 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9005 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9006 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9007 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9008 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9009 printf("*** so that the correct libraries are found at run-time))\n");
9016 if { (eval echo configure
:9017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9020 echo "configure: failed program was:" >&5
9021 cat conftest.
$ac_ext >&5
9028 CFLAGS
="$ac_save_CFLAGS"
9029 LIBS
="$ac_save_LIBS"
9032 if test "x$no_gtk" = x
; then
9033 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9036 echo "$ac_t""no" 1>&6
9037 if test "$GTK_CONFIG_2_0" = "no" ; then
9038 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9039 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9040 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9041 echo "*** full path to gtk-config-2.0."
9043 if test -f conf.gtktest
; then
9046 echo "*** Could not run GTK test program, checking why..."
9047 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9048 LIBS
="$LIBS $GTK_LIBS"
9049 cat > conftest.
$ac_ext <<EOF
9050 #line 9051 "configure"
9051 #include "confdefs.h"
9053 #include <gtk/gtk.h>
9057 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9060 if { (eval echo configure
:9061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9062 echo "*** The test program compiled, but did not run. This usually means"
9063 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9064 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9065 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9066 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9067 echo "*** is required on your system"
9069 echo "*** If you have an old version installed, it is best to remove it, although"
9070 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9072 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9073 echo "*** came with the system with the command"
9075 echo "*** rpm --erase --nodeps gtk gtk-devel"
9077 echo "configure: failed program was:" >&5
9078 cat conftest.
$ac_ext >&5
9080 echo "*** The test program failed to compile or link. See the file config.log for the"
9081 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9082 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9083 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9086 CFLAGS
="$ac_save_CFLAGS"
9087 LIBS
="$ac_save_LIBS"
9100 if test -z "$wx_cv_lib_gtk"; then
9102 if test x
$gtk_config_exec_prefix != x
; then
9103 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9104 if test x
${GTK_CONFIG+set} != xset
; then
9105 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9108 if test x
$gtk_config_prefix != x
; then
9109 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9110 if test x
${GTK_CONFIG+set} != xset
; then
9111 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9115 # Extract the first word of "gtk-config", so it can be a program name with args.
9116 set dummy gtk
-config; ac_word
=$2
9117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9118 echo "configure:9119: checking for $ac_word" >&5
9119 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9120 echo $ac_n "(cached) $ac_c" 1>&6
9122 case "$GTK_CONFIG" in
9124 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9127 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9130 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9132 for ac_dir
in $ac_dummy; do
9133 test -z "$ac_dir" && ac_dir
=.
9134 if test -f $ac_dir/$ac_word; then
9135 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9140 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9144 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9145 if test -n "$GTK_CONFIG"; then
9146 echo "$ac_t""$GTK_CONFIG" 1>&6
9148 echo "$ac_t""no" 1>&6
9151 min_gtk_version
=1.2.7
9152 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9153 echo "configure:9154: checking for GTK - version >= $min_gtk_version" >&5
9155 if test "$GTK_CONFIG" != "no" ; then
9156 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9157 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9158 ac_save_CFLAGS
="$CFLAGS"
9159 ac_save_LIBS
="$LIBS"
9160 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9161 LIBS
="$LIBS $GTK_LIBS"
9162 if test "$cross_compiling" = yes; then
9163 echo $ac_n "cross compiling; assumed OK... $ac_c"
9165 cat > conftest.
$ac_ext <<EOF
9166 #line 9167 "configure"
9167 #include "confdefs.h"
9169 #include <gtk/gtk.h>
9170 #include <gtk/gtkfeatures.h>
9177 int major, minor, micro;
9179 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9180 printf("%s, bad version string\n", "$min_gtk_version");
9184 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9185 (GTK_MINOR_VERSION != gtk_minor_version) ||
9186 (GTK_MICRO_VERSION != gtk_micro_version)) {
9187 printf("Headers vs. library version mismatch!\n");
9191 if (gtk_minor_version == 1) return FALSE;
9193 return !((gtk_major_version > major) ||
9194 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9195 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9199 if { (eval echo configure
:9200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9203 echo "configure: failed program was:" >&5
9204 cat conftest.
$ac_ext >&5
9211 CFLAGS
="$ac_save_CFLAGS"
9212 LIBS
="$ac_save_LIBS"
9216 if test "x$no_gtk" = x
; then
9217 echo "$ac_t""yes" 1>&6
9220 echo "$ac_t""no" 1>&6
9230 if test -z "$wx_cv_lib_gtk"; then
9232 if test x
$gtk_config_exec_prefix != x
; then
9233 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9234 if test x
${GTK_CONFIG+set} != xset
; then
9235 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9238 if test x
$gtk_config_prefix != x
; then
9239 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9240 if test x
${GTK_CONFIG+set} != xset
; then
9241 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9245 # Extract the first word of "gtk-config", so it can be a program name with args.
9246 set dummy gtk
-config; ac_word
=$2
9247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9248 echo "configure:9249: checking for $ac_word" >&5
9249 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9250 echo $ac_n "(cached) $ac_c" 1>&6
9252 case "$GTK_CONFIG" in
9254 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9257 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9260 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9262 for ac_dir
in $ac_dummy; do
9263 test -z "$ac_dir" && ac_dir
=.
9264 if test -f $ac_dir/$ac_word; then
9265 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9270 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9274 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9275 if test -n "$GTK_CONFIG"; then
9276 echo "$ac_t""$GTK_CONFIG" 1>&6
9278 echo "$ac_t""no" 1>&6
9281 min_gtk_version
=1.2.3
9282 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9283 echo "configure:9284: checking for GTK - version >= $min_gtk_version" >&5
9285 if test "$GTK_CONFIG" != "no" ; then
9286 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9287 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9288 ac_save_CFLAGS
="$CFLAGS"
9289 ac_save_LIBS
="$LIBS"
9290 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9291 LIBS
="$LIBS $GTK_LIBS"
9292 if test "$cross_compiling" = yes; then
9293 echo $ac_n "cross compiling; assumed OK... $ac_c"
9295 cat > conftest.
$ac_ext <<EOF
9296 #line 9297 "configure"
9297 #include "confdefs.h"
9299 #include <gtk/gtk.h>
9300 #include <gtk/gtkfeatures.h>
9307 int major, minor, micro;
9309 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9310 printf("%s, bad version string\n", "$min_gtk_version");
9314 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9315 (GTK_MINOR_VERSION != gtk_minor_version) ||
9316 (GTK_MICRO_VERSION != gtk_micro_version)) {
9317 printf("Headers vs. library version mismatch!\n");
9321 if (gtk_minor_version == 1) return FALSE;
9323 return !((gtk_major_version > major) ||
9324 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9325 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9329 if { (eval echo configure
:9330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9333 echo "configure: failed program was:" >&5
9334 cat conftest.
$ac_ext >&5
9341 CFLAGS
="$ac_save_CFLAGS"
9342 LIBS
="$ac_save_LIBS"
9346 if test "x$no_gtk" = x
; then
9347 echo "$ac_t""yes" 1>&6
9350 echo "$ac_t""no" 1>&6
9360 if test -z "$wx_cv_lib_gtk"; then
9363 wx_cv_cflags_gtk
=$GTK_CFLAGS
9364 wx_cv_libs_gtk
=$GTK_LIBS
9371 if test "$gtk_version_cached" = 1; then
9372 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9375 case "$wx_cv_lib_gtk" in
9383 *) { echo "configure: error:
9384 Please check that gtk-config is in path, the directory
9385 where GTK+ libraries are installed (returned by
9386 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9387 equivalent variable and GTK+ is version 1.2.3 or above.
9392 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9393 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9395 AFMINSTALL
=afminstall
9399 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9400 echo "configure:9401: checking for gdk_im_open in -lgdk" >&5
9401 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9403 echo $ac_n "(cached) $ac_c" 1>&6
9405 ac_save_LIBS
="$LIBS"
9407 cat > conftest.
$ac_ext <<EOF
9408 #line 9409 "configure"
9409 #include "confdefs.h"
9410 /* Override any gcc2 internal prototype to avoid an error. */
9411 /* We use char because int might match the return type of a gcc2
9412 builtin and then its argument prototype would still apply. */
9419 if { (eval echo configure
:9420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9421 eval "ac_cv_lib_$ac_lib_var=yes"
9423 echo "configure: failed program was:" >&5
9424 cat conftest.
$ac_ext >&5
9426 eval "ac_cv_lib_$ac_lib_var=no"
9429 LIBS
="$ac_save_LIBS"
9432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9433 echo "$ac_t""yes" 1>&6
9434 cat >> confdefs.h
<<\EOF
9439 echo "$ac_t""no" 1>&6
9444 if test "$wxUSE_MGL" = 1; then
9446 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9447 echo "configure:9448: checking for SciTech MGL library" >&5
9448 if test "x$MGL_ROOT" = x
; then
9449 echo "$ac_t""not found" 1>&6
9450 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9452 echo "$ac_t""$MGL_ROOT" 1>&6
9455 MGL_OS
=linux
/gcc
/glibc
9458 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9459 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9463 if test "x$MGL_LIB_TYPE" = x
; then
9464 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9465 MGL_LIB_TYPE
=release
9467 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9471 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9472 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9474 AFMINSTALL
=afminstall
9479 if test "$wxUSE_WINE" = 1; then
9480 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9481 echo "configure:9482: checking for WINE includes" >&5
9484 for ac_dir
in $SEARCH_INCLUDE;
9486 if test -f "$ac_dir/windows.h"; then
9487 ac_find_includes
=$ac_dir
9492 if test "$ac_find_includes" != "" ; then
9493 echo "$ac_t""found $ac_find_includes" 1>&6
9494 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9496 echo "$ac_t""no" 1>&6
9497 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9501 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9502 echo "configure:9503: checking for Xpm library" >&5
9505 for ac_dir
in $SEARCH_LIB;
9507 for ac_extension
in a so sl dylib
; do
9508 if test -f "$ac_dir/libXpm.$ac_extension"; then
9509 ac_find_libraries
=$ac_dir
9515 if test "$ac_find_libraries" != "" ; then
9516 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9518 cat >> confdefs.h
<<\EOF
9519 #define wxHAVE_LIB_XPM 1
9522 echo "$ac_t""found at $ac_find_libraries" 1>&6
9524 echo "$ac_t""no" 1>&6
9525 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9529 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9530 echo "configure:9531: checking for Mesa library" >&5
9533 for ac_dir
in $SEARCH_LIB;
9535 for ac_extension
in a so sl dylib
; do
9536 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9537 ac_find_libraries
=$ac_dir
9543 if test "$ac_find_libraries" != "" ; then
9544 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9545 MESA_LINK
="-lMesaGL"
9546 echo "$ac_t""found at $ac_find_libraries" 1>&6
9548 { echo "configure: error: no" 1>&2; exit 1; }
9551 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9552 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9559 # If we find X, set shell vars x_includes and x_libraries to the
9560 # paths, otherwise set no_x=yes.
9561 # Uses ac_ vars as temps to allow command line to override cache and checks.
9562 # --without-x overrides everything else, but does not touch the cache.
9563 echo $ac_n "checking for X""... $ac_c" 1>&6
9564 echo "configure:9565: checking for X" >&5
9566 # Check whether --with-x or --without-x was given.
9567 if test "${with_x+set}" = set; then
9572 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9573 if test "x$with_x" = xno
; then
9574 # The user explicitly disabled X.
9577 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9578 # Both variables are already set.
9581 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9582 echo $ac_n "(cached) $ac_c" 1>&6
9584 # One or both of the vars are not set, and there is no cached value.
9585 ac_x_includes
=NO ac_x_libraries
=NO
9587 if mkdir conftestdir
; then
9589 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9590 cat > Imakefile
<<'EOF'
9592 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9594 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9595 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9596 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9597 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9598 for ac_extension
in a so sl
; do
9599 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9600 test -f $ac_im_libdir/libX11.
$ac_extension; then
9601 ac_im_usrlibdir
=$ac_im_libdir; break
9604 # Screen out bogus values from the imake configuration. They are
9605 # bogus both because they are the default anyway, and because
9606 # using them would break gcc on systems where it needs fixed includes.
9607 case "$ac_im_incroot" in
9609 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9611 case "$ac_im_usrlibdir" in
9613 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9620 if test "$ac_x_includes" = NO
; then
9621 # Guess where to find include files, by looking for this one X11 .h file.
9622 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9624 # First, try using that file with no special directory specified.
9625 cat > conftest.
$ac_ext <<EOF
9626 #line 9627 "configure"
9627 #include "confdefs.h"
9628 #include <$x_direct_test_include>
9630 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9631 { (eval echo configure
:9632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9632 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9633 if test -z "$ac_err"; then
9635 # We can compile using X headers with no special include directory.
9639 echo "configure: failed program was:" >&5
9640 cat conftest.
$ac_ext >&5
9642 # Look for the header file in a standard set of common directories.
9643 # Check X11 before X11Rn because it is often a symlink to the current release.
9646 /usr
/X
11R
6/include \
9647 /usr
/X
11R
5/include \
9648 /usr
/X
11R
4/include \
9651 /usr
/include
/X11R6 \
9652 /usr
/include
/X11R5 \
9653 /usr
/include
/X11R4 \
9655 /usr
/local
/X
11/include \
9656 /usr
/local
/X
11R
6/include \
9657 /usr
/local
/X
11R
5/include \
9658 /usr
/local
/X
11R
4/include \
9660 /usr
/local
/include
/X11 \
9661 /usr
/local
/include
/X11R6 \
9662 /usr
/local
/include
/X11R5 \
9663 /usr
/local
/include
/X11R4 \
9667 /usr
/XFree
86/include
/X11 \
9670 /usr
/local
/include \
9671 /usr
/unsupported
/include \
9672 /usr
/athena
/include \
9673 /usr
/local
/x
11r
5/include \
9674 /usr
/lpp
/Xamples
/include \
9676 /usr
/openwin
/include \
9677 /usr
/openwin
/share
/include \
9680 if test -r "$ac_dir/$x_direct_test_include"; then
9681 ac_x_includes
=$ac_dir
9687 fi # $ac_x_includes = NO
9689 if test "$ac_x_libraries" = NO
; then
9690 # Check for the libraries.
9692 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9693 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9695 # See if we find them without any special options.
9696 # Don't add to $LIBS permanently.
9697 ac_save_LIBS
="$LIBS"
9698 LIBS
="-l$x_direct_test_library $LIBS"
9699 cat > conftest.
$ac_ext <<EOF
9700 #line 9701 "configure"
9701 #include "confdefs.h"
9704 ${x_direct_test_function}()
9707 if { (eval echo configure
:9708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9709 LIBS
="$ac_save_LIBS"
9710 # We can link X programs with no special library path.
9713 echo "configure: failed program was:" >&5
9714 cat conftest.
$ac_ext >&5
9716 LIBS
="$ac_save_LIBS"
9717 # First see if replacing the include by lib works.
9718 # Check X11 before X11Rn because it is often a symlink to the current release.
9719 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9730 /usr
/local
/X
11/lib \
9731 /usr
/local
/X
11R
6/lib \
9732 /usr
/local
/X
11R
5/lib \
9733 /usr
/local
/X
11R
4/lib \
9735 /usr
/local
/lib
/X11 \
9736 /usr
/local
/lib
/X11R6 \
9737 /usr
/local
/lib
/X11R5 \
9738 /usr
/local
/lib
/X11R4 \
9742 /usr
/XFree
86/lib
/X11 \
9746 /usr
/unsupported
/lib \
9748 /usr
/local
/x
11r
5/lib \
9749 /usr
/lpp
/Xamples
/lib \
9753 /usr
/openwin
/share
/lib \
9756 for ac_extension
in a so sl
; do
9757 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9758 ac_x_libraries
=$ac_dir
9765 fi # $ac_x_libraries = NO
9767 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9768 # Didn't find X anywhere. Cache the known absence of X.
9769 ac_cv_have_x
="have_x=no"
9771 # Record where we found X for the cache.
9772 ac_cv_have_x
="have_x=yes \
9773 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9777 eval "$ac_cv_have_x"
9780 if test "$have_x" != yes; then
9781 echo "$ac_t""$have_x" 1>&6
9784 # If each of the values was on the command line, it overrides each guess.
9785 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9786 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9787 # Update the cache value to reflect the command line values.
9788 ac_cv_have_x
="have_x=yes \
9789 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9790 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9793 if test "$no_x" = yes; then
9794 # Not all programs may use this symbol, but it does not hurt to define it.
9795 cat >> confdefs.h
<<\EOF
9796 #define X_DISPLAY_MISSING 1
9799 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9801 if test -n "$x_includes"; then
9802 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9805 # It would also be nice to do this for all -L options, not just this one.
9806 if test -n "$x_libraries"; then
9807 X_LIBS
="$X_LIBS -L$x_libraries"
9808 # For Solaris; some versions of Sun CC require a space after -R and
9809 # others require no space. Words are not sufficient . . . .
9810 case "`(uname -sr) 2>/dev/null`" in
9812 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9813 echo "configure:9814: checking whether -R must be followed by a space" >&5
9814 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9815 cat > conftest.
$ac_ext <<EOF
9816 #line 9817 "configure"
9817 #include "confdefs.h"
9823 if { (eval echo configure
:9824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9827 echo "configure: failed program was:" >&5
9828 cat conftest.
$ac_ext >&5
9833 if test $ac_R_nospace = yes; then
9834 echo "$ac_t""no" 1>&6
9835 X_LIBS
="$X_LIBS -R$x_libraries"
9837 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9838 cat > conftest.
$ac_ext <<EOF
9839 #line 9840 "configure"
9840 #include "confdefs.h"
9846 if { (eval echo configure
:9847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9850 echo "configure: failed program was:" >&5
9851 cat conftest.
$ac_ext >&5
9856 if test $ac_R_space = yes; then
9857 echo "$ac_t""yes" 1>&6
9858 X_LIBS
="$X_LIBS -R $x_libraries"
9860 echo "$ac_t""neither works" 1>&6
9863 LIBS
="$ac_xsave_LIBS"
9867 # Check for system-dependent libraries X programs must link with.
9868 # Do this before checking for the system-independent R6 libraries
9869 # (-lICE), since we may need -lsocket or whatever for X linking.
9871 if test "$ISC" = yes; then
9872 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9874 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9875 # libraries were built with DECnet support. And karl@cs.umb.edu says
9876 # the Alpha needs dnet_stub (dnet does not exist).
9877 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9878 echo "configure:9879: checking for dnet_ntoa in -ldnet" >&5
9879 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9881 echo $ac_n "(cached) $ac_c" 1>&6
9883 ac_save_LIBS
="$LIBS"
9885 cat > conftest.
$ac_ext <<EOF
9886 #line 9887 "configure"
9887 #include "confdefs.h"
9888 /* Override any gcc2 internal prototype to avoid an error. */
9889 /* We use char because int might match the return type of a gcc2
9890 builtin and then its argument prototype would still apply. */
9897 if { (eval echo configure
:9898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9899 eval "ac_cv_lib_$ac_lib_var=yes"
9901 echo "configure: failed program was:" >&5
9902 cat conftest.
$ac_ext >&5
9904 eval "ac_cv_lib_$ac_lib_var=no"
9907 LIBS
="$ac_save_LIBS"
9910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9911 echo "$ac_t""yes" 1>&6
9912 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9914 echo "$ac_t""no" 1>&6
9917 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9918 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9919 echo "configure:9920: checking for dnet_ntoa in -ldnet_stub" >&5
9920 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9921 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9922 echo $ac_n "(cached) $ac_c" 1>&6
9924 ac_save_LIBS
="$LIBS"
9925 LIBS
="-ldnet_stub $LIBS"
9926 cat > conftest.
$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9929 /* Override any gcc2 internal prototype to avoid an error. */
9930 /* We use char because int might match the return type of a gcc2
9931 builtin and then its argument prototype would still apply. */
9938 if { (eval echo configure
:9939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9940 eval "ac_cv_lib_$ac_lib_var=yes"
9942 echo "configure: failed program was:" >&5
9943 cat conftest.
$ac_ext >&5
9945 eval "ac_cv_lib_$ac_lib_var=no"
9948 LIBS
="$ac_save_LIBS"
9951 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9952 echo "$ac_t""yes" 1>&6
9953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9955 echo "$ac_t""no" 1>&6
9960 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9961 # to get the SysV transport functions.
9962 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9964 # The nsl library prevents programs from opening the X display
9965 # on Irix 5.2, according to dickey@clark.net.
9966 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9967 echo "configure:9968: checking for gethostbyname" >&5
9968 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9969 echo $ac_n "(cached) $ac_c" 1>&6
9971 cat > conftest.
$ac_ext <<EOF
9972 #line 9973 "configure"
9973 #include "confdefs.h"
9974 /* System header to define __stub macros and hopefully few prototypes,
9975 which can conflict with char gethostbyname(); below. */
9977 /* Override any gcc2 internal prototype to avoid an error. */
9978 /* We use char because int might match the return type of a gcc2
9979 builtin and then its argument prototype would still apply. */
9980 char gethostbyname();
9984 /* The GNU C library defines this for functions which it implements
9985 to always fail with ENOSYS. Some functions are actually named
9986 something starting with __ and the normal name is an alias. */
9987 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9995 if { (eval echo configure
:9996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9997 eval "ac_cv_func_gethostbyname=yes"
9999 echo "configure: failed program was:" >&5
10000 cat conftest.
$ac_ext >&5
10002 eval "ac_cv_func_gethostbyname=no"
10007 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10008 echo "$ac_t""yes" 1>&6
10011 echo "$ac_t""no" 1>&6
10014 if test $ac_cv_func_gethostbyname = no
; then
10015 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10016 echo "configure:10017: checking for gethostbyname in -lnsl" >&5
10017 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10019 echo $ac_n "(cached) $ac_c" 1>&6
10021 ac_save_LIBS
="$LIBS"
10023 cat > conftest.
$ac_ext <<EOF
10024 #line 10025 "configure"
10025 #include "confdefs.h"
10026 /* Override any gcc2 internal prototype to avoid an error. */
10027 /* We use char because int might match the return type of a gcc2
10028 builtin and then its argument prototype would still apply. */
10029 char gethostbyname();
10035 if { (eval echo configure
:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10037 eval "ac_cv_lib_$ac_lib_var=yes"
10039 echo "configure: failed program was:" >&5
10040 cat conftest.
$ac_ext >&5
10042 eval "ac_cv_lib_$ac_lib_var=no"
10045 LIBS
="$ac_save_LIBS"
10048 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10049 echo "$ac_t""yes" 1>&6
10050 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10052 echo "$ac_t""no" 1>&6
10057 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10058 # socket/setsockopt and other routines are undefined under SCO ODT
10059 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10060 # on later versions), says simon@lia.di.epfl.ch: it contains
10061 # gethostby* variants that don't use the nameserver (or something).
10062 # -lsocket must be given before -lnsl if both are needed.
10063 # We assume that if connect needs -lnsl, so does gethostbyname.
10064 echo $ac_n "checking for connect""... $ac_c" 1>&6
10065 echo "configure:10066: checking for connect" >&5
10066 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10067 echo $ac_n "(cached) $ac_c" 1>&6
10069 cat > conftest.
$ac_ext <<EOF
10070 #line 10071 "configure"
10071 #include "confdefs.h"
10072 /* System header to define __stub macros and hopefully few prototypes,
10073 which can conflict with char connect(); below. */
10074 #include <assert.h>
10075 /* Override any gcc2 internal prototype to avoid an error. */
10076 /* We use char because int might match the return type of a gcc2
10077 builtin and then its argument prototype would still apply. */
10082 /* The GNU C library defines this for functions which it implements
10083 to always fail with ENOSYS. Some functions are actually named
10084 something starting with __ and the normal name is an alias. */
10085 #if defined (__stub_connect) || defined (__stub___connect)
10093 if { (eval echo configure
:10094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10095 eval "ac_cv_func_connect=yes"
10097 echo "configure: failed program was:" >&5
10098 cat conftest.
$ac_ext >&5
10100 eval "ac_cv_func_connect=no"
10105 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10106 echo "$ac_t""yes" 1>&6
10109 echo "$ac_t""no" 1>&6
10112 if test $ac_cv_func_connect = no
; then
10113 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10114 echo "configure:10115: checking for connect in -lsocket" >&5
10115 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10116 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10117 echo $ac_n "(cached) $ac_c" 1>&6
10119 ac_save_LIBS
="$LIBS"
10120 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10121 cat > conftest.
$ac_ext <<EOF
10122 #line 10123 "configure"
10123 #include "confdefs.h"
10124 /* Override any gcc2 internal prototype to avoid an error. */
10125 /* We use char because int might match the return type of a gcc2
10126 builtin and then its argument prototype would still apply. */
10133 if { (eval echo configure
:10134: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10135 eval "ac_cv_lib_$ac_lib_var=yes"
10137 echo "configure: failed program was:" >&5
10138 cat conftest.
$ac_ext >&5
10140 eval "ac_cv_lib_$ac_lib_var=no"
10143 LIBS
="$ac_save_LIBS"
10146 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10147 echo "$ac_t""yes" 1>&6
10148 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10150 echo "$ac_t""no" 1>&6
10155 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10156 echo $ac_n "checking for remove""... $ac_c" 1>&6
10157 echo "configure:10158: checking for remove" >&5
10158 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10159 echo $ac_n "(cached) $ac_c" 1>&6
10161 cat > conftest.
$ac_ext <<EOF
10162 #line 10163 "configure"
10163 #include "confdefs.h"
10164 /* System header to define __stub macros and hopefully few prototypes,
10165 which can conflict with char remove(); below. */
10166 #include <assert.h>
10167 /* Override any gcc2 internal prototype to avoid an error. */
10168 /* We use char because int might match the return type of a gcc2
10169 builtin and then its argument prototype would still apply. */
10174 /* The GNU C library defines this for functions which it implements
10175 to always fail with ENOSYS. Some functions are actually named
10176 something starting with __ and the normal name is an alias. */
10177 #if defined (__stub_remove) || defined (__stub___remove)
10185 if { (eval echo configure
:10186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10187 eval "ac_cv_func_remove=yes"
10189 echo "configure: failed program was:" >&5
10190 cat conftest.
$ac_ext >&5
10192 eval "ac_cv_func_remove=no"
10197 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10198 echo "$ac_t""yes" 1>&6
10201 echo "$ac_t""no" 1>&6
10204 if test $ac_cv_func_remove = no
; then
10205 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10206 echo "configure:10207: checking for remove in -lposix" >&5
10207 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10209 echo $ac_n "(cached) $ac_c" 1>&6
10211 ac_save_LIBS
="$LIBS"
10212 LIBS
="-lposix $LIBS"
10213 cat > conftest.
$ac_ext <<EOF
10214 #line 10215 "configure"
10215 #include "confdefs.h"
10216 /* Override any gcc2 internal prototype to avoid an error. */
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10225 if { (eval echo configure
:10226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10227 eval "ac_cv_lib_$ac_lib_var=yes"
10229 echo "configure: failed program was:" >&5
10230 cat conftest.
$ac_ext >&5
10232 eval "ac_cv_lib_$ac_lib_var=no"
10235 LIBS
="$ac_save_LIBS"
10238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10239 echo "$ac_t""yes" 1>&6
10240 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10242 echo "$ac_t""no" 1>&6
10247 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10248 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10249 echo "configure:10250: checking for shmat" >&5
10250 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10251 echo $ac_n "(cached) $ac_c" 1>&6
10253 cat > conftest.
$ac_ext <<EOF
10254 #line 10255 "configure"
10255 #include "confdefs.h"
10256 /* System header to define __stub macros and hopefully few prototypes,
10257 which can conflict with char shmat(); below. */
10258 #include <assert.h>
10259 /* Override any gcc2 internal prototype to avoid an error. */
10260 /* We use char because int might match the return type of a gcc2
10261 builtin and then its argument prototype would still apply. */
10266 /* The GNU C library defines this for functions which it implements
10267 to always fail with ENOSYS. Some functions are actually named
10268 something starting with __ and the normal name is an alias. */
10269 #if defined (__stub_shmat) || defined (__stub___shmat)
10277 if { (eval echo configure
:10278: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10279 eval "ac_cv_func_shmat=yes"
10281 echo "configure: failed program was:" >&5
10282 cat conftest.
$ac_ext >&5
10284 eval "ac_cv_func_shmat=no"
10289 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10290 echo "$ac_t""yes" 1>&6
10293 echo "$ac_t""no" 1>&6
10296 if test $ac_cv_func_shmat = no
; then
10297 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10298 echo "configure:10299: checking for shmat in -lipc" >&5
10299 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10300 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10301 echo $ac_n "(cached) $ac_c" 1>&6
10303 ac_save_LIBS
="$LIBS"
10305 cat > conftest.
$ac_ext <<EOF
10306 #line 10307 "configure"
10307 #include "confdefs.h"
10308 /* Override any gcc2 internal prototype to avoid an error. */
10309 /* We use char because int might match the return type of a gcc2
10310 builtin and then its argument prototype would still apply. */
10317 if { (eval echo configure
:10318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10319 eval "ac_cv_lib_$ac_lib_var=yes"
10321 echo "configure: failed program was:" >&5
10322 cat conftest.
$ac_ext >&5
10324 eval "ac_cv_lib_$ac_lib_var=no"
10327 LIBS
="$ac_save_LIBS"
10330 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10331 echo "$ac_t""yes" 1>&6
10332 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10334 echo "$ac_t""no" 1>&6
10340 # Check for libraries that X11R6 Xt/Xaw programs need.
10341 ac_save_LDFLAGS
="$LDFLAGS"
10342 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10343 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10344 # check for ICE first), but we must link in the order -lSM -lICE or
10345 # we get undefined symbols. So assume we have SM if we have ICE.
10346 # These have to be linked with before -lX11, unlike the other
10347 # libraries we check for below, so use a different variable.
10348 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10349 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10350 echo "configure:10351: checking for IceConnectionNumber in -lICE" >&5
10351 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10352 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10353 echo $ac_n "(cached) $ac_c" 1>&6
10355 ac_save_LIBS
="$LIBS"
10356 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10357 cat > conftest.
$ac_ext <<EOF
10358 #line 10359 "configure"
10359 #include "confdefs.h"
10360 /* Override any gcc2 internal prototype to avoid an error. */
10361 /* We use char because int might match the return type of a gcc2
10362 builtin and then its argument prototype would still apply. */
10363 char IceConnectionNumber();
10366 IceConnectionNumber()
10369 if { (eval echo configure
:10370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10371 eval "ac_cv_lib_$ac_lib_var=yes"
10373 echo "configure: failed program was:" >&5
10374 cat conftest.
$ac_ext >&5
10376 eval "ac_cv_lib_$ac_lib_var=no"
10379 LIBS
="$ac_save_LIBS"
10382 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10383 echo "$ac_t""yes" 1>&6
10384 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10386 echo "$ac_t""no" 1>&6
10389 LDFLAGS
="$ac_save_LDFLAGS"
10393 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10394 LDFLAGS
="$LDFLAGS $X_LIBS"
10396 if test "$wxUSE_MOTIF" = 1; then
10397 if test "$no_x" = "yes"; then
10398 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10401 GUI_TK_LIBRARY
="$X_LIBS"
10402 TOOLKIT_INCLUDE
="$X_CFLAGS"
10404 AFMINSTALL
=afminstall
10407 COMPILED_X_PROGRAM
=0
10409 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10410 echo "configure:10411: checking for Motif/Lesstif headers" >&5
10413 for ac_dir
in $SEARCH_INCLUDE;
10415 if test -f "$ac_dir/Xm/Xm.h"; then
10416 ac_find_includes
=$ac_dir
10421 if test "$ac_find_includes" != "" ; then
10422 echo "$ac_t""found $ac_find_includes" 1>&6
10424 cat > conftest.
$ac_ext <<EOF
10425 #line 10426 "configure"
10426 #include "confdefs.h"
10434 version = xmUseVersion;
10438 if { (eval echo configure
:10439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10441 echo "$ac_t""found in default search path" 1>&6
10442 COMPILED_X_PROGRAM
=1
10445 echo "configure: failed program was:" >&5
10446 cat conftest.
$ac_ext >&5
10449 echo "$ac_t""no" 1>&6
10450 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10457 if test "$COMPILED_X_PROGRAM" = 0; then
10458 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10459 echo "configure:10460: checking for Motif/Lesstif library" >&5
10462 for ac_dir
in $SEARCH_LIB;
10464 for ac_extension
in a so sl dylib
; do
10465 if test -f "$ac_dir/libXm.$ac_extension"; then
10466 ac_find_libraries
=$ac_dir
10472 if test "$ac_find_libraries" != "" ; then
10474 ac_path_to_include
=$ac_find_includes
10475 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10477 if test $result = 0; then
10478 ac_path_to_include
=""
10480 ac_path_to_include
="-I$ac_find_includes"
10484 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10486 if test $result = 0; then
10489 ac_path_to_link
="-L$ac_find_libraries"
10493 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10494 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10495 echo "$ac_t""found at $ac_find_libraries" 1>&6
10497 cat > conftest.
$ac_ext <<EOF
10498 #line 10499 "configure"
10499 #include "confdefs.h"
10507 version = xmUseVersion;
10511 if { (eval echo configure
:10512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10514 echo "$ac_t""found in default search path" 1>&6
10515 COMPILED_X_PROGRAM
=1
10518 echo "configure: failed program was:" >&5
10519 cat conftest.
$ac_ext >&5
10522 echo "$ac_t""no" 1>&6
10523 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10533 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10534 echo "configure:10535: checking for Xpm library" >&5
10537 for ac_dir
in $SEARCH_LIB;
10539 for ac_extension
in a so sl dylib
; do
10540 if test -f "$ac_dir/libXpm.$ac_extension"; then
10541 ac_find_libraries
=$ac_dir
10547 if test "$ac_find_libraries" != "" ; then
10549 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10551 if test $result = 0; then
10554 ac_path_to_link
="-L$ac_find_libraries"
10557 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10559 cat >> confdefs.h
<<\EOF
10560 #define wxHAVE_LIB_XPM 1
10563 echo "$ac_t""found at $ac_find_libraries" 1>&6
10565 cat > conftest.
$ac_ext <<EOF
10566 #line 10567 "configure"
10567 #include "confdefs.h"
10569 #include <X11/xpm.h>
10575 version = XpmLibraryVersion();
10579 if { (eval echo configure
:10580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10583 cat >> confdefs.h
<<\EOF
10584 #define wxHAVE_LIB_XPM 1
10587 echo "$ac_t""found in default search path" 1>&6
10588 COMPILED_X_PROGRAM
=0
10591 echo "configure: failed program was:" >&5
10592 cat conftest.
$ac_ext >&5
10595 echo "$ac_t""no" 1>&6
10596 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10603 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10604 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10609 if test "$wxUSE_MAC" = 1; then
10614 if test "$wxUSE_PM" = 1; then
10619 if test "$TOOLKIT" != "PM" ; then
10620 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10625 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10627 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10629 if test "$TOOLKIT_NAME" = "motif"; then
10630 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10633 if test "$wxUSE_UNIVERSAL" = "yes"; then
10634 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10635 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10636 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10639 SETUPH_DIR
="${TOOLKIT_DIR}"
10642 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10643 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10646 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10647 if test "$wxUSE_UNIVERSAL" = "yes"; then
10648 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10651 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10653 if test "$wxUSE_UNIVERSAL" = "yes"; then
10654 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10656 ALL_OBJECTS
="\$(GUIOBJS)"
10659 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10661 if test "$TOOLKIT" != "MSW"; then
10662 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10665 if test "$wxUSE_HTML" = "yes"; then
10666 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10669 if test "$TOOLKIT" != "MSW"; then
10670 if test "$wxUSE_ODBC" = "yes" ; then
10671 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10675 if test "x$REGEX_INCLUDE" != "x" ; then
10676 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10679 if test "$wxUSE_LIBJPEG" = "yes" ; then
10680 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10682 if test "$wxUSE_LIBTIFF" = "yes" ; then
10683 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10685 if test "$wxUSE_LIBPNG" = "yes" ; then
10686 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10688 if test "$wxUSE_ZLIB" = "yes" ; then
10689 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10691 if test "$wxUSE_FREETYPE" = "yes" ; then
10692 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10695 if test "$wxUSE_UNIVERSAL" = "yes"; then
10696 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10698 ALL_DEPFILES
="\$(GUIDEPS)"
10701 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10703 if test "$TOOLKIT" != "MSW"; then
10704 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10707 if test "$wxUSE_HTML" = "yes"; then
10708 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10711 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10712 if test "$wxUSE_UNIVERSAL" = "yes"; then
10713 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10715 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10716 RPM_SPEC
="wx\$(TOOLKIT).spec"
10718 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10719 DISTDIR
="wx\$(TOOLKIT)"
10727 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10728 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10730 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10733 TOOLKIT_DEF
="-D__WXBASE__"
10735 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10736 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10738 if test "x$REGEX_INCLUDE" != "x" ; then
10739 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10742 if test "$wxUSE_ZLIB" = "yes" ; then
10743 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10746 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10748 PORT_FILES
="\${top_srcdir}/src/files.lst"
10749 RPM_FILES
="src/rpmfiles.lst"
10750 RPM_SPEC
="wxBase.spec"
10752 GUIDIST
="BASE_DIST"
10756 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10757 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10759 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10760 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10762 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10763 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10765 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10766 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10767 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10768 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10769 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10770 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10776 BURNT_LIBRARY_NAME
=
10777 WX_TARGET_LIBRARY_SONAME
=
10780 if test "$wxUSE_SHARED" = "yes"; then
10783 if test "$GCC" = yes ; then
10784 SHARED_LD
="${CC} -shared -fPIC -o"
10787 LDFLAGS
="-L/usr/lib"
10789 SHARED_LD
="${CXX} -b -o"
10792 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10793 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10794 if test "$wxUSE_OPENGL" = "yes"; then
10795 WX_ALL_INSTALLED
="preinstall_gl"
10796 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10798 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10803 SHARED_LD
="${CC} -shared -o"
10805 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10806 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10807 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10808 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10810 if test "$wxUSE_OPENGL" = "yes"; then
10811 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10812 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10814 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10815 WX_ALL
="CREATE_LINKS"
10818 *-*-irix5* | *-*-irix6* )
10819 if test "$GCC" = yes ; then
10820 SHARED_LD
="${CC} -shared -o"
10823 SHARED_LD
="${CXX} -shared -o"
10825 if test "$wxUSE_OPENGL" = "yes"; then
10826 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10827 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10829 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10830 WX_ALL
="CREATE_LINKS"
10834 if test "$GCC" = yes ; then
10835 SHARED_LD
="${CC} -shared -o"
10838 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10840 SHARED_LD
="${CXX} -G -o"
10843 if test "$wxUSE_OPENGL" = "yes"; then
10844 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10845 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10847 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10848 WX_ALL
="CREATE_LINKS"
10852 SHARED_LD
="${CC} -shared -o"
10854 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10855 WX_ALL
="CREATE_LINKS"
10857 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10858 SHARED_LD
="${CC} -shared -o"
10860 if test "$wxUSE_OPENGL" = "yes"; then
10861 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10862 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10864 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10865 WX_ALL
="CREATE_LINKS"
10869 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
10870 CFLAGS
="${CFLAGS} -fno-common"
10871 CPPFLAGS
="${CPPFLAGS} -fno-common"
10872 SHARED_LD
="${CXX} -dynamiclib -o"
10873 PIC_FLAG
="-dynamic -fPIC"
10874 if test "$wxUSE_OPENGL" = "yes"; then
10875 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10876 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10878 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10879 WX_ALL
="CREATE_LINKS"
10881 if test "$wxUSE_MAC" = 1 ; then
10882 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10884 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10885 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10886 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10887 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10888 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10889 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10890 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10891 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10894 SHARED_LD
="${CXX} -shared -o"
10896 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10897 WX_ALL
="CREATE_LINKS"
10900 SHARED_LD
="${CXX} -shared -o"
10902 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10903 WX_ALL
="CREATE_LINKS"
10906 SHARED_LD
="${CC} -shared -o"
10908 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10909 WX_ALL
="CREATE_LINKS"
10912 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10913 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10916 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10917 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10918 if test "$wxUSE_OPENGL" = "yes"; then
10919 WX_ALL_INSTALLED
="preinstall_gl"
10920 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10922 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10926 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10927 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10928 if test "$wxUSE_OPENGL" = "yes"; then
10929 WX_ALL_INSTALLED
="preinstall_gl"
10930 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10932 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10936 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10937 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10940 SHARED_LD
="${LD} -shared -o"
10942 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10943 WX_ALL
="CREATE_LINKS"
10946 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10949 if test "x$WX_TARGET_LIBRARY" = "x"; then
10950 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10951 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10953 WX_TARGET_LIBRARY_TYPE
="so"
10955 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10956 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10958 if test "$wxUSE_OPENGL" = "yes"; then
10959 WX_ALL_INSTALLED
="preinstall_gl"
10960 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10962 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10965 if test "$wxUSE_GUI" = "no"; then
10966 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10969 WX_TARGET_LIBRARY_TYPE
="a"
10973 for ac_hdr
in strings.h
10975 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10976 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10977 echo "configure:10978: checking for $ac_hdr" >&5
10978 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10979 echo $ac_n "(cached) $ac_c" 1>&6
10981 cat > conftest.
$ac_ext <<EOF
10982 #line 10983 "configure"
10983 #include "confdefs.h"
10986 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10987 { (eval echo configure
:10988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10988 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10989 if test -z "$ac_err"; then
10991 eval "ac_cv_header_$ac_safe=yes"
10994 echo "configure: failed program was:" >&5
10995 cat conftest.
$ac_ext >&5
10997 eval "ac_cv_header_$ac_safe=no"
11001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11002 echo "$ac_t""yes" 1>&6
11003 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11004 cat >> confdefs.h
<<EOF
11005 #define $ac_tr_hdr 1
11009 echo "$ac_t""no" 1>&6
11013 for ac_hdr
in stdlib.h
11015 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11016 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11017 echo "configure:11018: checking for $ac_hdr" >&5
11018 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11019 echo $ac_n "(cached) $ac_c" 1>&6
11021 cat > conftest.
$ac_ext <<EOF
11022 #line 11023 "configure"
11023 #include "confdefs.h"
11026 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11027 { (eval echo configure
:11028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11028 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11029 if test -z "$ac_err"; then
11031 eval "ac_cv_header_$ac_safe=yes"
11034 echo "configure: failed program was:" >&5
11035 cat conftest.
$ac_ext >&5
11037 eval "ac_cv_header_$ac_safe=no"
11041 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11042 echo "$ac_t""yes" 1>&6
11043 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11044 cat >> confdefs.h
<<EOF
11045 #define $ac_tr_hdr 1
11049 echo "$ac_t""no" 1>&6
11053 for ac_hdr
in unistd.h
11055 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11056 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11057 echo "configure:11058: checking for $ac_hdr" >&5
11058 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11059 echo $ac_n "(cached) $ac_c" 1>&6
11061 cat > conftest.
$ac_ext <<EOF
11062 #line 11063 "configure"
11063 #include "confdefs.h"
11066 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11067 { (eval echo configure
:11068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11068 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11069 if test -z "$ac_err"; then
11071 eval "ac_cv_header_$ac_safe=yes"
11074 echo "configure: failed program was:" >&5
11075 cat conftest.
$ac_ext >&5
11077 eval "ac_cv_header_$ac_safe=no"
11081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11082 echo "$ac_t""yes" 1>&6
11083 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11084 cat >> confdefs.h
<<EOF
11085 #define $ac_tr_hdr 1
11089 echo "$ac_t""no" 1>&6
11093 for ac_hdr
in wchar.h
11095 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11096 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11097 echo "configure:11098: checking for $ac_hdr" >&5
11098 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11099 echo $ac_n "(cached) $ac_c" 1>&6
11101 cat > conftest.
$ac_ext <<EOF
11102 #line 11103 "configure"
11103 #include "confdefs.h"
11106 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11107 { (eval echo configure
:11108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11108 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11109 if test -z "$ac_err"; then
11111 eval "ac_cv_header_$ac_safe=yes"
11114 echo "configure: failed program was:" >&5
11115 cat conftest.
$ac_ext >&5
11117 eval "ac_cv_header_$ac_safe=no"
11121 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11122 echo "$ac_t""yes" 1>&6
11123 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11124 cat >> confdefs.h
<<EOF
11125 #define $ac_tr_hdr 1
11129 echo "$ac_t""no" 1>&6
11133 for ac_hdr
in wcstr.h
11135 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11136 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11137 echo "configure:11138: checking for $ac_hdr" >&5
11138 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11139 echo $ac_n "(cached) $ac_c" 1>&6
11141 cat > conftest.
$ac_ext <<EOF
11142 #line 11143 "configure"
11143 #include "confdefs.h"
11146 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11147 { (eval echo configure
:11148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11148 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11149 if test -z "$ac_err"; then
11151 eval "ac_cv_header_$ac_safe=yes"
11154 echo "configure: failed program was:" >&5
11155 cat conftest.
$ac_ext >&5
11157 eval "ac_cv_header_$ac_safe=no"
11161 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11162 echo "$ac_t""yes" 1>&6
11163 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11164 cat >> confdefs.h
<<EOF
11165 #define $ac_tr_hdr 1
11169 echo "$ac_t""no" 1>&6
11173 for ac_hdr
in fnmatch.h
11175 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11176 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11177 echo "configure:11178: checking for $ac_hdr" >&5
11178 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11179 echo $ac_n "(cached) $ac_c" 1>&6
11181 cat > conftest.
$ac_ext <<EOF
11182 #line 11183 "configure"
11183 #include "confdefs.h"
11186 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11187 { (eval echo configure
:11188: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11188 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11189 if test -z "$ac_err"; then
11191 eval "ac_cv_header_$ac_safe=yes"
11194 echo "configure: failed program was:" >&5
11195 cat conftest.
$ac_ext >&5
11197 eval "ac_cv_header_$ac_safe=no"
11201 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11202 echo "$ac_t""yes" 1>&6
11203 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11204 cat >> confdefs.h
<<EOF
11205 #define $ac_tr_hdr 1
11209 echo "$ac_t""no" 1>&6
11213 for ac_hdr
in iconv.h
11215 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11216 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11217 echo "configure:11218: checking for $ac_hdr" >&5
11218 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11219 echo $ac_n "(cached) $ac_c" 1>&6
11221 cat > conftest.
$ac_ext <<EOF
11222 #line 11223 "configure"
11223 #include "confdefs.h"
11226 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11227 { (eval echo configure
:11228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11228 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11229 if test -z "$ac_err"; then
11231 eval "ac_cv_header_$ac_safe=yes"
11234 echo "configure: failed program was:" >&5
11235 cat conftest.
$ac_ext >&5
11237 eval "ac_cv_header_$ac_safe=no"
11241 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11242 echo "$ac_t""yes" 1>&6
11243 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11244 cat >> confdefs.h
<<EOF
11245 #define $ac_tr_hdr 1
11249 echo "$ac_t""no" 1>&6
11253 for ac_hdr
in langinfo.h
11255 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11256 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11257 echo "configure:11258: checking for $ac_hdr" >&5
11258 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11259 echo $ac_n "(cached) $ac_c" 1>&6
11261 cat > conftest.
$ac_ext <<EOF
11262 #line 11263 "configure"
11263 #include "confdefs.h"
11266 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11267 { (eval echo configure
:11268: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11268 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11269 if test -z "$ac_err"; then
11271 eval "ac_cv_header_$ac_safe=yes"
11274 echo "configure: failed program was:" >&5
11275 cat conftest.
$ac_ext >&5
11277 eval "ac_cv_header_$ac_safe=no"
11281 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11282 echo "$ac_t""yes" 1>&6
11283 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11284 cat >> confdefs.h
<<EOF
11285 #define $ac_tr_hdr 1
11289 echo "$ac_t""no" 1>&6
11294 if test "$wxUSE_GUI" = "yes"; then
11295 if test "$wxUSE_UNIX" = "yes"; then
11296 for ac_hdr
in X
11/XKBlib.h
11298 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11299 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11300 echo "configure:11301: checking for $ac_hdr" >&5
11301 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11302 echo $ac_n "(cached) $ac_c" 1>&6
11304 cat > conftest.
$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11309 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11310 { (eval echo configure
:11311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11311 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11312 if test -z "$ac_err"; then
11314 eval "ac_cv_header_$ac_safe=yes"
11317 echo "configure: failed program was:" >&5
11318 cat conftest.
$ac_ext >&5
11320 eval "ac_cv_header_$ac_safe=no"
11324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11325 echo "$ac_t""yes" 1>&6
11326 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11327 cat >> confdefs.h
<<EOF
11328 #define $ac_tr_hdr 1
11332 echo "$ac_t""no" 1>&6
11339 if test "$USE_WIN32" = 1; then
11340 for ac_hdr
in w32api.h
11342 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11343 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11344 echo "configure:11345: checking for $ac_hdr" >&5
11345 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11346 echo $ac_n "(cached) $ac_c" 1>&6
11348 cat > conftest.
$ac_ext <<EOF
11349 #line 11350 "configure"
11350 #include "confdefs.h"
11353 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11354 { (eval echo configure
:11355: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11355 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11356 if test -z "$ac_err"; then
11358 eval "ac_cv_header_$ac_safe=yes"
11361 echo "configure: failed program was:" >&5
11362 cat conftest.
$ac_ext >&5
11364 eval "ac_cv_header_$ac_safe=no"
11368 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11369 echo "$ac_t""yes" 1>&6
11370 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11371 cat >> confdefs.h
<<EOF
11372 #define $ac_tr_hdr 1
11376 echo "$ac_t""no" 1>&6
11383 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11384 echo "configure:11385: checking for ANSI C header files" >&5
11385 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11386 echo $ac_n "(cached) $ac_c" 1>&6
11388 cat > conftest.
$ac_ext <<EOF
11389 #line 11390 "configure"
11390 #include "confdefs.h"
11391 #include <stdlib.h>
11392 #include <stdarg.h>
11393 #include <string.h>
11396 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11397 { (eval echo configure
:11398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11398 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11399 if test -z "$ac_err"; then
11401 ac_cv_header_stdc
=yes
11404 echo "configure: failed program was:" >&5
11405 cat conftest.
$ac_ext >&5
11407 ac_cv_header_stdc
=no
11411 if test $ac_cv_header_stdc = yes; then
11412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11413 cat > conftest.
$ac_ext <<EOF
11414 #line 11415 "configure"
11415 #include "confdefs.h"
11416 #include <string.h>
11418 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11419 egrep "memchr" >/dev
/null
2>&1; then
11423 ac_cv_header_stdc
=no
11429 if test $ac_cv_header_stdc = yes; then
11430 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11431 cat > conftest.
$ac_ext <<EOF
11432 #line 11433 "configure"
11433 #include "confdefs.h"
11434 #include <stdlib.h>
11436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11437 egrep "free" >/dev
/null
2>&1; then
11441 ac_cv_header_stdc
=no
11447 if test $ac_cv_header_stdc = yes; then
11448 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11449 if test "$cross_compiling" = yes; then
11452 cat > conftest.
$ac_ext <<EOF
11453 #line 11454 "configure"
11454 #include "confdefs.h"
11456 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11457 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11458 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11459 int main () { int i; for (i = 0; i < 256; i++)
11460 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11464 if { (eval echo configure
:11465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11468 echo "configure: failed program was:" >&5
11469 cat conftest.
$ac_ext >&5
11471 ac_cv_header_stdc
=no
11479 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11480 if test $ac_cv_header_stdc = yes; then
11481 cat >> confdefs.h
<<\EOF
11482 #define STDC_HEADERS 1
11487 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11488 echo "configure:11489: checking for mode_t" >&5
11489 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11490 echo $ac_n "(cached) $ac_c" 1>&6
11492 cat > conftest.
$ac_ext <<EOF
11493 #line 11494 "configure"
11494 #include "confdefs.h"
11495 #include <sys/types.h>
11497 #include <stdlib.h>
11498 #include <stddef.h>
11501 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11502 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11504 ac_cv_type_mode_t
=yes
11507 ac_cv_type_mode_t
=no
11512 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11513 if test $ac_cv_type_mode_t = no
; then
11514 cat >> confdefs.h
<<\EOF
11520 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11521 echo "configure:11522: checking for off_t" >&5
11522 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11523 echo $ac_n "(cached) $ac_c" 1>&6
11525 cat > conftest.
$ac_ext <<EOF
11526 #line 11527 "configure"
11527 #include "confdefs.h"
11528 #include <sys/types.h>
11530 #include <stdlib.h>
11531 #include <stddef.h>
11534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11535 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11537 ac_cv_type_off_t
=yes
11540 ac_cv_type_off_t
=no
11545 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11546 if test $ac_cv_type_off_t = no
; then
11547 cat >> confdefs.h
<<\EOF
11553 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11554 echo "configure:11555: checking for pid_t" >&5
11555 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11556 echo $ac_n "(cached) $ac_c" 1>&6
11558 cat > conftest.
$ac_ext <<EOF
11559 #line 11560 "configure"
11560 #include "confdefs.h"
11561 #include <sys/types.h>
11563 #include <stdlib.h>
11564 #include <stddef.h>
11567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11568 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11570 ac_cv_type_pid_t
=yes
11573 ac_cv_type_pid_t
=no
11578 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11579 if test $ac_cv_type_pid_t = no
; then
11580 cat >> confdefs.h
<<\EOF
11586 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11587 echo "configure:11588: checking for size_t" >&5
11588 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11589 echo $ac_n "(cached) $ac_c" 1>&6
11591 cat > conftest.
$ac_ext <<EOF
11592 #line 11593 "configure"
11593 #include "confdefs.h"
11594 #include <sys/types.h>
11596 #include <stdlib.h>
11597 #include <stddef.h>
11600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11601 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11603 ac_cv_type_size_t
=yes
11606 ac_cv_type_size_t
=no
11611 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11612 if test $ac_cv_type_size_t = no
; then
11613 cat >> confdefs.h
<<\EOF
11614 #define size_t unsigned
11619 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11620 echo "configure:11621: checking for uid_t in sys/types.h" >&5
11621 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11622 echo $ac_n "(cached) $ac_c" 1>&6
11624 cat > conftest.
$ac_ext <<EOF
11625 #line 11626 "configure"
11626 #include "confdefs.h"
11627 #include <sys/types.h>
11629 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11630 egrep "uid_t" >/dev
/null
2>&1; then
11632 ac_cv_type_uid_t
=yes
11635 ac_cv_type_uid_t
=no
11641 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11642 if test $ac_cv_type_uid_t = no
; then
11643 cat >> confdefs.h
<<\EOF
11647 cat >> confdefs.h
<<\EOF
11654 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11655 echo "configure:11656: checking for wchar_t" >&5
11656 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11657 echo $ac_n "(cached) $ac_c" 1>&6
11660 cat > conftest.
$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11668 ws = L"Hello, world!";
11672 if { (eval echo configure
:11673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11674 wx_cv_type_wchar_t
=yes
11676 echo "configure: failed program was:" >&5
11677 cat conftest.
$ac_ext >&5
11679 cat > conftest.
$ac_ext <<EOF
11680 #line 11681 "configure"
11681 #include "confdefs.h"
11682 #include <stdlib.h>
11687 ws = L"Hello, world!";
11691 if { (eval echo configure
:11692: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11693 wx_cv_type_wchar_t
=yes
11695 echo "configure: failed program was:" >&5
11696 cat conftest.
$ac_ext >&5
11698 wx_cv_type_wchar_t
=no
11707 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11709 if test "$wx_cv_type_wchar_t" = "yes"; then
11710 cat >> confdefs.h
<<\EOF
11711 #define wxUSE_WCHAR_T 1
11718 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11719 ac_cpp
='$CXXCPP $CPPFLAGS'
11720 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11721 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11722 cross_compiling
=$ac_cv_prog_cxx_cross
11724 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11725 echo "configure:11726: checking if size_t is unsigned int" >&5
11726 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11727 echo $ac_n "(cached) $ac_c" 1>&6
11729 cat > conftest.
$ac_ext <<EOF
11730 #line 11731 "configure"
11731 #include "confdefs.h"
11732 #include <stddef.h>
11737 struct Foo { void foo(size_t); void foo(unsigned int); };
11743 if { (eval echo configure
:11744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11745 wx_cv_size_t_is_uint
=no
11747 echo "configure: failed program was:" >&5
11748 cat conftest.
$ac_ext >&5
11750 wx_cv_size_t_is_uint
=yes
11757 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11759 if test "$wx_cv_size_t_is_uint" = "yes"; then
11760 cat >> confdefs.h
<<\EOF
11761 #define wxSIZE_T_IS_UINT 1
11765 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11766 echo "configure:11767: checking if size_t is unsigned long" >&5
11767 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11768 echo $ac_n "(cached) $ac_c" 1>&6
11770 cat > conftest.
$ac_ext <<EOF
11771 #line 11772 "configure"
11772 #include "confdefs.h"
11773 #include <stddef.h>
11778 struct Foo { void foo(size_t); void foo(unsigned long); };
11784 if { (eval echo configure
:11785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11786 wx_cv_size_t_is_ulong
=no
11788 echo "configure: failed program was:" >&5
11789 cat conftest.
$ac_ext >&5
11791 wx_cv_size_t_is_ulong
=yes
11798 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11800 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11801 cat >> confdefs.h
<<\EOF
11802 #define wxSIZE_T_IS_ULONG 1
11809 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11810 ac_cpp
='$CPP $CPPFLAGS'
11811 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11812 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11813 cross_compiling
=$ac_cv_prog_cc_cross
11817 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11818 echo "configure:11819: checking for pw_gecos in struct passwd" >&5
11819 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11820 echo $ac_n "(cached) $ac_c" 1>&6
11823 cat > conftest.
$ac_ext <<EOF
11824 #line 11825 "configure"
11825 #include "confdefs.h"
11835 if { (eval echo configure
:11836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11838 wx_cv_struct_pw_gecos
=yes
11841 echo "configure: failed program was:" >&5
11842 cat conftest.
$ac_ext >&5
11845 wx_cv_struct_pw_gecos
=no
11854 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11856 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11857 cat >> confdefs.h
<<\EOF
11858 #define HAVE_PW_GECOS 1
11864 echo $ac_n "checking for working const""... $ac_c" 1>&6
11865 echo "configure:11866: checking for working const" >&5
11866 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11867 echo $ac_n "(cached) $ac_c" 1>&6
11869 cat > conftest.
$ac_ext <<EOF
11870 #line 11871 "configure"
11871 #include "confdefs.h"
11875 /* Ultrix mips cc rejects this. */
11876 typedef int charset[2]; const charset x;
11877 /* SunOS 4.1.1 cc rejects this. */
11878 char const *const *ccp;
11880 /* NEC SVR4.0.2 mips cc rejects this. */
11881 struct point {int x, y;};
11882 static struct point const zero = {0,0};
11883 /* AIX XL C 1.02.0.0 rejects this.
11884 It does not let you subtract one const X* pointer from another in an arm
11885 of an if-expression whose if-part is not a constant expression */
11886 const char *g = "string";
11887 ccp = &g + (g ? g-g : 0);
11888 /* HPUX 7.0 cc rejects these. */
11891 ccp = (char const *const *) p;
11892 { /* SCO 3.2v4 cc rejects this. */
11894 char const *s = 0 ? (char *) 0 : (char const *) 0;
11898 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11899 int x[] = {25, 17};
11900 const int *foo = &x[0];
11903 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11904 typedef const int *iptr;
11908 { /* AIX XL C 1.02.0.0 rejects this saying
11909 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11910 struct s { int j; const int *ap[3]; };
11911 struct s *b; b->j = 5;
11913 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11914 const int foo = 10;
11919 if { (eval echo configure
:11920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11923 echo "configure: failed program was:" >&5
11924 cat conftest.
$ac_ext >&5
11931 echo "$ac_t""$ac_cv_c_const" 1>&6
11932 if test $ac_cv_c_const = no
; then
11933 cat >> confdefs.h
<<\EOF
11939 echo $ac_n "checking for inline""... $ac_c" 1>&6
11940 echo "configure:11941: checking for inline" >&5
11941 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11942 echo $ac_n "(cached) $ac_c" 1>&6
11945 for ac_kw
in inline __inline__ __inline
; do
11946 cat > conftest.
$ac_ext <<EOF
11947 #line 11948 "configure"
11948 #include "confdefs.h"
11954 if { (eval echo configure
:11955: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11956 ac_cv_c_inline
=$ac_kw; break
11958 echo "configure: failed program was:" >&5
11959 cat conftest.
$ac_ext >&5
11966 echo "$ac_t""$ac_cv_c_inline" 1>&6
11967 case "$ac_cv_c_inline" in
11969 no
) cat >> confdefs.h
<<\EOF
11973 *) cat >> confdefs.h
<<EOF
11974 #define inline $ac_cv_c_inline
11980 echo $ac_n "checking size of char""... $ac_c" 1>&6
11981 echo "configure:11982: checking size of char" >&5
11982 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11983 echo $ac_n "(cached) $ac_c" 1>&6
11985 if test "$cross_compiling" = yes; then
11986 ac_cv_sizeof_char
=1
11988 cat > conftest.
$ac_ext <<EOF
11989 #line 11990 "configure"
11990 #include "confdefs.h"
11994 FILE *f=fopen("conftestval", "w");
11996 fprintf(f, "%d\n", sizeof(char));
12000 if { (eval echo configure
:12001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12002 ac_cv_sizeof_char
=`cat conftestval`
12004 echo "configure: failed program was:" >&5
12005 cat conftest.
$ac_ext >&5
12007 ac_cv_sizeof_char
=0
12013 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12014 cat >> confdefs.h
<<EOF
12015 #define SIZEOF_CHAR $ac_cv_sizeof_char
12019 echo $ac_n "checking size of short""... $ac_c" 1>&6
12020 echo "configure:12021: checking size of short" >&5
12021 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12022 echo $ac_n "(cached) $ac_c" 1>&6
12024 if test "$cross_compiling" = yes; then
12025 ac_cv_sizeof_short
=2
12027 cat > conftest.
$ac_ext <<EOF
12028 #line 12029 "configure"
12029 #include "confdefs.h"
12033 FILE *f=fopen("conftestval", "w");
12035 fprintf(f, "%d\n", sizeof(short));
12039 if { (eval echo configure
:12040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12041 ac_cv_sizeof_short
=`cat conftestval`
12043 echo "configure: failed program was:" >&5
12044 cat conftest.
$ac_ext >&5
12046 ac_cv_sizeof_short
=0
12052 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12053 cat >> confdefs.h
<<EOF
12054 #define SIZEOF_SHORT $ac_cv_sizeof_short
12058 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12059 echo "configure:12060: checking size of int *" >&5
12060 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12061 echo $ac_n "(cached) $ac_c" 1>&6
12063 if test "$cross_compiling" = yes; then
12064 ac_cv_sizeof_int_p
=4
12066 cat > conftest.
$ac_ext <<EOF
12067 #line 12068 "configure"
12068 #include "confdefs.h"
12072 FILE *f=fopen("conftestval", "w");
12074 fprintf(f, "%d\n", sizeof(int *));
12078 if { (eval echo configure
:12079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12080 ac_cv_sizeof_int_p
=`cat conftestval`
12082 echo "configure: failed program was:" >&5
12083 cat conftest.
$ac_ext >&5
12085 ac_cv_sizeof_int_p
=0
12091 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12092 cat >> confdefs.h
<<EOF
12093 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12097 echo $ac_n "checking size of int""... $ac_c" 1>&6
12098 echo "configure:12099: checking size of int" >&5
12099 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12100 echo $ac_n "(cached) $ac_c" 1>&6
12102 if test "$cross_compiling" = yes; then
12105 cat > conftest.
$ac_ext <<EOF
12106 #line 12107 "configure"
12107 #include "confdefs.h"
12111 FILE *f=fopen("conftestval", "w");
12113 fprintf(f, "%d\n", sizeof(int));
12117 if { (eval echo configure
:12118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12119 ac_cv_sizeof_int
=`cat conftestval`
12121 echo "configure: failed program was:" >&5
12122 cat conftest.
$ac_ext >&5
12130 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12131 cat >> confdefs.h
<<EOF
12132 #define SIZEOF_INT $ac_cv_sizeof_int
12136 echo $ac_n "checking size of long""... $ac_c" 1>&6
12137 echo "configure:12138: checking size of long" >&5
12138 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12139 echo $ac_n "(cached) $ac_c" 1>&6
12141 if test "$cross_compiling" = yes; then
12142 ac_cv_sizeof_long
=4
12144 cat > conftest.
$ac_ext <<EOF
12145 #line 12146 "configure"
12146 #include "confdefs.h"
12150 FILE *f=fopen("conftestval", "w");
12152 fprintf(f, "%d\n", sizeof(long));
12156 if { (eval echo configure
:12157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12158 ac_cv_sizeof_long
=`cat conftestval`
12160 echo "configure: failed program was:" >&5
12161 cat conftest.
$ac_ext >&5
12163 ac_cv_sizeof_long
=0
12169 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12170 cat >> confdefs.h
<<EOF
12171 #define SIZEOF_LONG $ac_cv_sizeof_long
12175 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12176 echo "configure:12177: checking size of long long" >&5
12177 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12178 echo $ac_n "(cached) $ac_c" 1>&6
12180 if test "$cross_compiling" = yes; then
12181 ac_cv_sizeof_long_long
=0
12183 cat > conftest.
$ac_ext <<EOF
12184 #line 12185 "configure"
12185 #include "confdefs.h"
12189 FILE *f=fopen("conftestval", "w");
12191 fprintf(f, "%d\n", sizeof(long long));
12195 if { (eval echo configure
:12196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12197 ac_cv_sizeof_long_long
=`cat conftestval`
12199 echo "configure: failed program was:" >&5
12200 cat conftest.
$ac_ext >&5
12202 ac_cv_sizeof_long_long
=0
12208 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12209 cat >> confdefs.h
<<EOF
12210 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12215 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12216 echo "configure:12217: checking size of wchar_t" >&5
12217 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12218 echo $ac_n "(cached) $ac_c" 1>&6
12221 if test "$cross_compiling" = yes; then
12222 wx_cv_sizeof_wchar_t
=4
12225 cat > conftest.
$ac_ext <<EOF
12226 #line 12227 "configure"
12227 #include "confdefs.h"
12229 #ifdef HAVE_WCHAR_H
12230 # include <wchar.h>
12232 #ifdef HAVE_STDLIB_H
12233 # include <stdlib.h>
12238 FILE *f=fopen("conftestval", "w");
12240 fprintf(f, "%i", sizeof(wchar_t));
12245 if { (eval echo configure
:12246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12247 wx_cv_sizeof_wchar_t
=`cat conftestval`
12249 echo "configure: failed program was:" >&5
12250 cat conftest.
$ac_ext >&5
12252 wx_cv_sizeof_wchar_t
=0
12260 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12262 cat >> confdefs.h
<<EOF
12263 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12267 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12268 echo "configure:12269: checking whether byte ordering is bigendian" >&5
12269 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12270 echo $ac_n "(cached) $ac_c" 1>&6
12272 ac_cv_c_bigendian
=unknown
12273 # See if sys/param.h defines the BYTE_ORDER macro.
12274 cat > conftest.
$ac_ext <<EOF
12275 #line 12276 "configure"
12276 #include "confdefs.h"
12277 #include <sys/types.h>
12278 #include <sys/param.h>
12281 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12282 bogus endian macros
12286 if { (eval echo configure
:12287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12288 # It does; now see whether it defined to BIG_ENDIAN or not.
12289 cat > conftest.
$ac_ext <<EOF
12290 #line 12291 "configure"
12291 #include "confdefs.h"
12292 #include <sys/types.h>
12293 #include <sys/param.h>
12296 #if BYTE_ORDER != BIG_ENDIAN
12301 if { (eval echo configure
:12302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12303 ac_cv_c_bigendian
=yes
12305 echo "configure: failed program was:" >&5
12306 cat conftest.
$ac_ext >&5
12308 ac_cv_c_bigendian
=no
12312 echo "configure: failed program was:" >&5
12313 cat conftest.
$ac_ext >&5
12316 if test $ac_cv_c_bigendian = unknown
; then
12317 if test "$cross_compiling" = yes; then
12318 ac_cv_c_bigendian
=unknown
12320 cat > conftest.
$ac_ext <<EOF
12321 #line 12322 "configure"
12322 #include "confdefs.h"
12324 /* Are we little or big endian? From Harbison&Steele. */
12328 char c[sizeof (long)];
12331 exit (u.c[sizeof (long) - 1] == 1);
12334 if { (eval echo configure
:12335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12336 ac_cv_c_bigendian
=no
12338 echo "configure: failed program was:" >&5
12339 cat conftest.
$ac_ext >&5
12341 ac_cv_c_bigendian
=yes
12349 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12350 if test $ac_cv_c_bigendian = unknown
; then
12351 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
12353 if test $ac_cv_c_bigendian = yes; then
12354 cat >> confdefs.h
<<\EOF
12355 #define WORDS_BIGENDIAN 1
12362 if test "$cross_compiling" = "yes"; then
12363 cat >> confdefs.h
<<\EOF
12364 #define wxUSE_IOSTREAMH 1
12370 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12371 ac_cpp
='$CXXCPP $CPPFLAGS'
12372 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12373 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12374 cross_compiling
=$ac_cv_prog_cxx_cross
12377 for ac_hdr
in iostream
12379 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12380 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12381 echo "configure:12382: checking for $ac_hdr" >&5
12382 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12383 echo $ac_n "(cached) $ac_c" 1>&6
12385 cat > conftest.
$ac_ext <<EOF
12386 #line 12387 "configure"
12387 #include "confdefs.h"
12390 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12391 { (eval echo configure
:12392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12392 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12393 if test -z "$ac_err"; then
12395 eval "ac_cv_header_$ac_safe=yes"
12398 echo "configure: failed program was:" >&5
12399 cat conftest.
$ac_ext >&5
12401 eval "ac_cv_header_$ac_safe=no"
12405 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12406 echo "$ac_t""yes" 1>&6
12407 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12408 cat >> confdefs.h
<<EOF
12409 #define $ac_tr_hdr 1
12413 echo "$ac_t""no" 1>&6
12418 if test "$ac_cv_header_iostream" = "yes" ; then
12421 cat >> confdefs.h
<<\EOF
12422 #define wxUSE_IOSTREAMH 1
12428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12429 ac_cpp
='$CPP $CPPFLAGS'
12430 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12431 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12432 cross_compiling
=$ac_cv_prog_cc_cross
12438 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12439 echo "configure:12440: checking if C++ compiler supports bool" >&5
12440 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12441 echo $ac_n "(cached) $ac_c" 1>&6
12446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12447 ac_cpp
='$CXXCPP $CPPFLAGS'
12448 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12449 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12450 cross_compiling
=$ac_cv_prog_cxx_cross
12453 cat > conftest.
$ac_ext <<EOF
12454 #line 12455 "configure"
12455 #include "confdefs.h"
12466 if { (eval echo configure
:12467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12472 echo "configure: failed program was:" >&5
12473 cat conftest.
$ac_ext >&5
12483 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12484 ac_cpp
='$CPP $CPPFLAGS'
12485 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12486 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12487 cross_compiling
=$ac_cv_prog_cc_cross
12492 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12494 if test "$wx_cv_cpp_bool" = "yes"; then
12495 cat >> confdefs.h
<<\EOF
12496 #define HAVE_BOOL 1
12503 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12504 echo "configure:12505: checking for wcslen in -lc" >&5
12505 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12507 echo $ac_n "(cached) $ac_c" 1>&6
12509 ac_save_LIBS
="$LIBS"
12511 cat > conftest.
$ac_ext <<EOF
12512 #line 12513 "configure"
12513 #include "confdefs.h"
12514 /* Override any gcc2 internal prototype to avoid an error. */
12515 /* We use char because int might match the return type of a gcc2
12516 builtin and then its argument prototype would still apply. */
12523 if { (eval echo configure
:12524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12525 eval "ac_cv_lib_$ac_lib_var=yes"
12527 echo "configure: failed program was:" >&5
12528 cat conftest.
$ac_ext >&5
12530 eval "ac_cv_lib_$ac_lib_var=no"
12533 LIBS
="$ac_save_LIBS"
12536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12537 echo "$ac_t""yes" 1>&6
12539 cat >> confdefs.h
<<\EOF
12540 #define HAVE_WCSLEN 1
12546 echo "$ac_t""no" 1>&6
12548 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12549 echo "configure:12550: checking for wcslen in -lw" >&5
12550 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12552 echo $ac_n "(cached) $ac_c" 1>&6
12554 ac_save_LIBS
="$LIBS"
12556 cat > conftest.
$ac_ext <<EOF
12557 #line 12558 "configure"
12558 #include "confdefs.h"
12559 /* Override any gcc2 internal prototype to avoid an error. */
12560 /* We use char because int might match the return type of a gcc2
12561 builtin and then its argument prototype would still apply. */
12568 if { (eval echo configure
:12569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12570 eval "ac_cv_lib_$ac_lib_var=yes"
12572 echo "configure: failed program was:" >&5
12573 cat conftest.
$ac_ext >&5
12575 eval "ac_cv_lib_$ac_lib_var=no"
12578 LIBS
="$ac_save_LIBS"
12581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12582 echo "$ac_t""yes" 1>&6
12584 cat >> confdefs.h
<<\EOF
12585 #define HAVE_WCSLEN 1
12591 echo "$ac_t""no" 1>&6
12598 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12599 echo "configure:12600: checking for vprintf" >&5
12600 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12601 echo $ac_n "(cached) $ac_c" 1>&6
12603 cat > conftest.
$ac_ext <<EOF
12604 #line 12605 "configure"
12605 #include "confdefs.h"
12606 /* System header to define __stub macros and hopefully few prototypes,
12607 which can conflict with char vprintf(); below. */
12608 #include <assert.h>
12609 /* Override any gcc2 internal prototype to avoid an error. */
12610 /* We use char because int might match the return type of a gcc2
12611 builtin and then its argument prototype would still apply. */
12616 /* The GNU C library defines this for functions which it implements
12617 to always fail with ENOSYS. Some functions are actually named
12618 something starting with __ and the normal name is an alias. */
12619 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12627 if { (eval echo configure
:12628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12629 eval "ac_cv_func_vprintf=yes"
12631 echo "configure: failed program was:" >&5
12632 cat conftest.
$ac_ext >&5
12634 eval "ac_cv_func_vprintf=no"
12639 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12640 echo "$ac_t""yes" 1>&6
12641 cat >> confdefs.h
<<\EOF
12642 #define HAVE_VPRINTF 1
12646 echo "$ac_t""no" 1>&6
12649 if test "$ac_cv_func_vprintf" != yes; then
12650 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12651 echo "configure:12652: checking for _doprnt" >&5
12652 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12653 echo $ac_n "(cached) $ac_c" 1>&6
12655 cat > conftest.
$ac_ext <<EOF
12656 #line 12657 "configure"
12657 #include "confdefs.h"
12658 /* System header to define __stub macros and hopefully few prototypes,
12659 which can conflict with char _doprnt(); below. */
12660 #include <assert.h>
12661 /* Override any gcc2 internal prototype to avoid an error. */
12662 /* We use char because int might match the return type of a gcc2
12663 builtin and then its argument prototype would still apply. */
12668 /* The GNU C library defines this for functions which it implements
12669 to always fail with ENOSYS. Some functions are actually named
12670 something starting with __ and the normal name is an alias. */
12671 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12679 if { (eval echo configure
:12680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12681 eval "ac_cv_func__doprnt=yes"
12683 echo "configure: failed program was:" >&5
12684 cat conftest.
$ac_ext >&5
12686 eval "ac_cv_func__doprnt=no"
12691 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12692 echo "$ac_t""yes" 1>&6
12693 cat >> confdefs.h
<<\EOF
12694 #define HAVE_DOPRNT 1
12698 echo "$ac_t""no" 1>&6
12709 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12710 echo "configure:12711: checking for vsnprintf" >&5
12711 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12712 echo $ac_n "(cached) $ac_c" 1>&6
12715 cat > conftest.
$ac_ext <<EOF
12716 #line 12717 "configure"
12717 #include "confdefs.h"
12720 #include <stdarg.h>
12724 int wx_test_vsnprintf(const char *, ...);
12726 wx_test_vsnprintf("%s");
12730 int wx_test_vsnprintf(const char *fmt, ...)
12735 va_start(argp, fmt);
12736 vsnprintf(s, 42, fmt, argp);
12741 if { (eval echo configure
:12742: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12744 wx_cv_func_vsnprintf
=yes
12747 echo "configure: failed program was:" >&5
12748 cat conftest.
$ac_ext >&5
12751 cat > conftest.
$ac_ext <<EOF
12752 #line 12753 "configure"
12753 #include "confdefs.h"
12756 #include <stdarg.h>
12760 int wx_test_vsnprintf(const char *, ...);
12762 wx_test_vsnprintf("%s");
12766 int wx_test_vsnprintf(const char *fmt, ...)
12771 va_start(argp, fmt);
12772 _vsnprintf(s, 42, fmt, argp);
12777 if { (eval echo configure
:12778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12780 wx_cv_func_vsnprintf
=yes
12783 echo "configure: failed program was:" >&5
12784 cat conftest.
$ac_ext >&5
12787 wx_cv_func_vsnprintf
=no
12797 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12799 if test "$wx_cv_func_vsnprintf" = yes; then
12800 cat >> confdefs.h
<<\EOF
12801 #define HAVE_VSNPRINTF 1
12805 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12808 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12809 echo "configure:12810: checking for vsscanf" >&5
12810 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12811 echo $ac_n "(cached) $ac_c" 1>&6
12814 cat > conftest.
$ac_ext <<EOF
12815 #line 12816 "configure"
12816 #include "confdefs.h"
12819 #include <stdarg.h>
12823 int wx_test_vsscanf(const char *, ...);
12825 wx_test_vsscanf("%d");
12829 int wx_test_vsscanf(const char *fmt, ...)
12832 va_start(argp, fmt);
12833 vsscanf("42", fmt, argp);
12838 if { (eval echo configure
:12839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12841 wx_cv_func_vsscanf
=yes
12844 echo "configure: failed program was:" >&5
12845 cat conftest.
$ac_ext >&5
12848 wx_cv_func_vsscanf
=no
12855 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12857 if test "$wx_cv_func_vsscanf" = yes; then
12858 cat >> confdefs.h
<<\EOF
12859 #define HAVE_VSSCANF 1
12864 if test "$TOOLKIT" != "MSW"; then
12869 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12870 ac_cpp
='$CXXCPP $CPPFLAGS'
12871 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12872 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12873 cross_compiling
=$ac_cv_prog_cxx_cross
12875 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12876 echo "configure:12877: checking if iconv() takes char**" >&5
12877 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12878 echo $ac_n "(cached) $ac_c" 1>&6
12881 cat > conftest.
$ac_ext <<EOF
12882 #line 12883 "configure"
12883 #include "confdefs.h"
12887 char **inbuf, **outbuf;
12889 size_t insz, outsz;
12890 iconv(cd, inbuf, &insz, outbuf, &outsz);
12894 if { (eval echo configure
:12895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12896 wx_cv_iconv_takes_char
=yes
12898 echo "configure: failed program was:" >&5
12899 cat conftest.
$ac_ext >&5
12901 wx_cv_iconv_takes_char
=no
12907 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12909 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12910 ac_cpp
='$CPP $CPPFLAGS'
12911 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12912 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12913 cross_compiling
=$ac_cv_prog_cc_cross
12915 if test "$wx_cv_iconv_takes_char" = yes ; then
12916 cat >> confdefs.h
<<\EOF
12917 #define WX_ICONV_TAKES_CHAR 1
12923 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12924 for ac_func
in sigaction
12926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12927 echo "configure:12928: checking for $ac_func" >&5
12928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12929 echo $ac_n "(cached) $ac_c" 1>&6
12931 cat > conftest.
$ac_ext <<EOF
12932 #line 12933 "configure"
12933 #include "confdefs.h"
12934 /* System header to define __stub macros and hopefully few prototypes,
12935 which can conflict with char $ac_func(); below. */
12936 #include <assert.h>
12937 /* Override any gcc2 internal prototype to avoid an error. */
12938 /* We use char because int might match the return type of a gcc2
12939 builtin and then its argument prototype would still apply. */
12944 /* The GNU C library defines this for functions which it implements
12945 to always fail with ENOSYS. Some functions are actually named
12946 something starting with __ and the normal name is an alias. */
12947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12955 if { (eval echo configure
:12956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12957 eval "ac_cv_func_$ac_func=yes"
12959 echo "configure: failed program was:" >&5
12960 cat conftest.
$ac_ext >&5
12962 eval "ac_cv_func_$ac_func=no"
12967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12968 echo "$ac_t""yes" 1>&6
12969 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12970 cat >> confdefs.h
<<EOF
12971 #define $ac_tr_func 1
12975 echo "$ac_t""no" 1>&6
12980 if test "$ac_cv_func_sigaction" = "no"; then
12981 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12982 wxUSE_ON_FATAL_EXCEPTION
=no
12985 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12989 ac_cpp
='$CXXCPP $CPPFLAGS'
12990 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12991 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12992 cross_compiling
=$ac_cv_prog_cxx_cross
12995 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12996 echo "configure:12997: checking for sa_handler type" >&5
12997 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12998 echo $ac_n "(cached) $ac_c" 1>&6
13001 cat > conftest.
$ac_ext <<EOF
13002 #line 13003 "configure"
13003 #include "confdefs.h"
13004 #include <signal.h>
13007 extern void testSigHandler(int);
13009 struct sigaction sa;
13010 sa.sa_handler = testSigHandler;
13014 if { (eval echo configure
:13015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13017 wx_cv_type_sa_handler
=int
13020 echo "configure: failed program was:" >&5
13021 cat conftest.
$ac_ext >&5
13024 wx_cv_type_sa_handler
=void
13031 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13034 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13035 ac_cpp
='$CPP $CPPFLAGS'
13036 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13037 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13038 cross_compiling
=$ac_cv_prog_cc_cross
13041 cat >> confdefs.h
<<EOF
13042 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13048 for ac_func
in vfork
13050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13051 echo "configure:13052: checking for $ac_func" >&5
13052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13053 echo $ac_n "(cached) $ac_c" 1>&6
13055 cat > conftest.
$ac_ext <<EOF
13056 #line 13057 "configure"
13057 #include "confdefs.h"
13058 /* System header to define __stub macros and hopefully few prototypes,
13059 which can conflict with char $ac_func(); below. */
13060 #include <assert.h>
13061 /* Override any gcc2 internal prototype to avoid an error. */
13062 /* We use char because int might match the return type of a gcc2
13063 builtin and then its argument prototype would still apply. */
13068 /* The GNU C library defines this for functions which it implements
13069 to always fail with ENOSYS. Some functions are actually named
13070 something starting with __ and the normal name is an alias. */
13071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13079 if { (eval echo configure
:13080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13081 eval "ac_cv_func_$ac_func=yes"
13083 echo "configure: failed program was:" >&5
13084 cat conftest.
$ac_ext >&5
13086 eval "ac_cv_func_$ac_func=no"
13091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13092 echo "$ac_t""yes" 1>&6
13093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13094 cat >> confdefs.h
<<EOF
13095 #define $ac_tr_func 1
13099 echo "$ac_t""no" 1>&6
13104 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13105 for ac_func
in fcntl flock
13107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13108 echo "configure:13109: checking for $ac_func" >&5
13109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13110 echo $ac_n "(cached) $ac_c" 1>&6
13112 cat > conftest.
$ac_ext <<EOF
13113 #line 13114 "configure"
13114 #include "confdefs.h"
13115 /* System header to define __stub macros and hopefully few prototypes,
13116 which can conflict with char $ac_func(); below. */
13117 #include <assert.h>
13118 /* Override any gcc2 internal prototype to avoid an error. */
13119 /* We use char because int might match the return type of a gcc2
13120 builtin and then its argument prototype would still apply. */
13125 /* The GNU C library defines this for functions which it implements
13126 to always fail with ENOSYS. Some functions are actually named
13127 something starting with __ and the normal name is an alias. */
13128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13136 if { (eval echo configure
:13137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13138 eval "ac_cv_func_$ac_func=yes"
13140 echo "configure: failed program was:" >&5
13141 cat conftest.
$ac_ext >&5
13143 eval "ac_cv_func_$ac_func=no"
13148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13149 echo "$ac_t""yes" 1>&6
13150 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13151 cat >> confdefs.h
<<EOF
13152 #define $ac_tr_func 1
13156 echo "$ac_t""no" 1>&6
13161 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13162 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13163 wxUSE_SNGLINST_CHECKER
=no
13167 for ac_func
in timegm
13169 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13170 echo "configure:13171: checking for $ac_func" >&5
13171 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13172 echo $ac_n "(cached) $ac_c" 1>&6
13174 cat > conftest.
$ac_ext <<EOF
13175 #line 13176 "configure"
13176 #include "confdefs.h"
13177 /* System header to define __stub macros and hopefully few prototypes,
13178 which can conflict with char $ac_func(); below. */
13179 #include <assert.h>
13180 /* Override any gcc2 internal prototype to avoid an error. */
13181 /* We use char because int might match the return type of a gcc2
13182 builtin and then its argument prototype would still apply. */
13187 /* The GNU C library defines this for functions which it implements
13188 to always fail with ENOSYS. Some functions are actually named
13189 something starting with __ and the normal name is an alias. */
13190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13198 if { (eval echo configure
:13199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13200 eval "ac_cv_func_$ac_func=yes"
13202 echo "configure: failed program was:" >&5
13203 cat conftest.
$ac_ext >&5
13205 eval "ac_cv_func_$ac_func=no"
13210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13211 echo "$ac_t""yes" 1>&6
13212 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13213 cat >> confdefs.h
<<EOF
13214 #define $ac_tr_func 1
13218 echo "$ac_t""no" 1>&6
13223 for ac_func
in putenv setenv
13225 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13226 echo "configure:13227: checking for $ac_func" >&5
13227 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13228 echo $ac_n "(cached) $ac_c" 1>&6
13230 cat > conftest.
$ac_ext <<EOF
13231 #line 13232 "configure"
13232 #include "confdefs.h"
13233 /* System header to define __stub macros and hopefully few prototypes,
13234 which can conflict with char $ac_func(); below. */
13235 #include <assert.h>
13236 /* Override any gcc2 internal prototype to avoid an error. */
13237 /* We use char because int might match the return type of a gcc2
13238 builtin and then its argument prototype would still apply. */
13243 /* The GNU C library defines this for functions which it implements
13244 to always fail with ENOSYS. Some functions are actually named
13245 something starting with __ and the normal name is an alias. */
13246 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13254 if { (eval echo configure
:13255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13256 eval "ac_cv_func_$ac_func=yes"
13258 echo "configure: failed program was:" >&5
13259 cat conftest.
$ac_ext >&5
13261 eval "ac_cv_func_$ac_func=no"
13266 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13267 echo "$ac_t""yes" 1>&6
13268 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13269 cat >> confdefs.h
<<EOF
13270 #define $ac_tr_func 1
13274 echo "$ac_t""no" 1>&6
13279 HAVE_SOME_SLEEP_FUNC
=0
13280 if test "$USE_BEOS" = 1; then
13281 cat >> confdefs.h
<<\EOF
13282 #define HAVE_SLEEP 1
13285 HAVE_SOME_SLEEP_FUNC
=1
13288 if test "$USE_DARWIN" = 1; then
13289 cat >> confdefs.h
<<\EOF
13290 #define HAVE_USLEEP 1
13293 HAVE_SOME_SLEEP_FUNC
=1
13296 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13298 for ac_func
in nanosleep
13300 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13301 echo "configure:13302: checking for $ac_func" >&5
13302 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13303 echo $ac_n "(cached) $ac_c" 1>&6
13305 cat > conftest.
$ac_ext <<EOF
13306 #line 13307 "configure"
13307 #include "confdefs.h"
13308 /* System header to define __stub macros and hopefully few prototypes,
13309 which can conflict with char $ac_func(); below. */
13310 #include <assert.h>
13311 /* Override any gcc2 internal prototype to avoid an error. */
13312 /* We use char because int might match the return type of a gcc2
13313 builtin and then its argument prototype would still apply. */
13318 /* The GNU C library defines this for functions which it implements
13319 to always fail with ENOSYS. Some functions are actually named
13320 something starting with __ and the normal name is an alias. */
13321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13329 if { (eval echo configure
:13330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13331 eval "ac_cv_func_$ac_func=yes"
13333 echo "configure: failed program was:" >&5
13334 cat conftest.
$ac_ext >&5
13336 eval "ac_cv_func_$ac_func=no"
13341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13342 echo "$ac_t""yes" 1>&6
13343 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13344 cat >> confdefs.h
<<EOF
13345 #define $ac_tr_func 1
13347 cat >> confdefs.h
<<\EOF
13348 #define HAVE_NANOSLEEP 1
13352 echo "$ac_t""no" 1>&6
13353 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13354 echo "configure:13355: checking for nanosleep in -lposix4" >&5
13355 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13357 echo $ac_n "(cached) $ac_c" 1>&6
13359 ac_save_LIBS
="$LIBS"
13360 LIBS
="-lposix4 $LIBS"
13361 cat > conftest.
$ac_ext <<EOF
13362 #line 13363 "configure"
13363 #include "confdefs.h"
13364 /* Override any gcc2 internal prototype to avoid an error. */
13365 /* We use char because int might match the return type of a gcc2
13366 builtin and then its argument prototype would still apply. */
13373 if { (eval echo configure
:13374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13375 eval "ac_cv_lib_$ac_lib_var=yes"
13377 echo "configure: failed program was:" >&5
13378 cat conftest.
$ac_ext >&5
13380 eval "ac_cv_lib_$ac_lib_var=no"
13383 LIBS
="$ac_save_LIBS"
13386 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13387 echo "$ac_t""yes" 1>&6
13389 cat >> confdefs.h
<<\EOF
13390 #define HAVE_NANOSLEEP 1
13393 POSIX4_LINK
="-lposix4"
13396 echo "$ac_t""no" 1>&6
13398 for ac_func
in usleep
13400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13401 echo "configure:13402: checking for $ac_func" >&5
13402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13403 echo $ac_n "(cached) $ac_c" 1>&6
13405 cat > conftest.
$ac_ext <<EOF
13406 #line 13407 "configure"
13407 #include "confdefs.h"
13408 /* System header to define __stub macros and hopefully few prototypes,
13409 which can conflict with char $ac_func(); below. */
13410 #include <assert.h>
13411 /* Override any gcc2 internal prototype to avoid an error. */
13412 /* We use char because int might match the return type of a gcc2
13413 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13429 if { (eval echo configure
:13430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13431 eval "ac_cv_func_$ac_func=yes"
13433 echo "configure: failed program was:" >&5
13434 cat conftest.
$ac_ext >&5
13436 eval "ac_cv_func_$ac_func=no"
13441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13442 echo "$ac_t""yes" 1>&6
13443 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13444 cat >> confdefs.h
<<EOF
13445 #define $ac_tr_func 1
13447 cat >> confdefs.h
<<\EOF
13448 #define HAVE_USLEEP 1
13452 echo "$ac_t""no" 1>&6
13453 echo "configure: warning: wxSleep() function will not work" 1>&2
13469 for ac_func
in uname gethostname
13471 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13472 echo "configure:13473: checking for $ac_func" >&5
13473 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13474 echo $ac_n "(cached) $ac_c" 1>&6
13476 cat > conftest.
$ac_ext <<EOF
13477 #line 13478 "configure"
13478 #include "confdefs.h"
13479 /* System header to define __stub macros and hopefully few prototypes,
13480 which can conflict with char $ac_func(); below. */
13481 #include <assert.h>
13482 /* Override any gcc2 internal prototype to avoid an error. */
13483 /* We use char because int might match the return type of a gcc2
13484 builtin and then its argument prototype would still apply. */
13489 /* The GNU C library defines this for functions which it implements
13490 to always fail with ENOSYS. Some functions are actually named
13491 something starting with __ and the normal name is an alias. */
13492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13500 if { (eval echo configure
:13501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13502 eval "ac_cv_func_$ac_func=yes"
13504 echo "configure: failed program was:" >&5
13505 cat conftest.
$ac_ext >&5
13507 eval "ac_cv_func_$ac_func=no"
13512 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13513 echo "$ac_t""yes" 1>&6
13514 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13515 cat >> confdefs.h
<<EOF
13516 #define $ac_tr_func 1
13520 echo "$ac_t""no" 1>&6
13527 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13528 ac_cpp
='$CXXCPP $CPPFLAGS'
13529 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13530 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13531 cross_compiling
=$ac_cv_prog_cxx_cross
13534 for ac_func
in strtok_r
13536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13537 echo "configure:13538: checking for $ac_func" >&5
13538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13539 echo $ac_n "(cached) $ac_c" 1>&6
13541 cat > conftest.
$ac_ext <<EOF
13542 #line 13543 "configure"
13543 #include "confdefs.h"
13544 /* System header to define __stub macros and hopefully few prototypes,
13545 which can conflict with char $ac_func(); below. */
13546 #include <assert.h>
13547 /* Override any gcc2 internal prototype to avoid an error. */
13551 /* We use char because int might match the return type of a gcc2
13552 builtin and then its argument prototype would still apply. */
13557 /* The GNU C library defines this for functions which it implements
13558 to always fail with ENOSYS. Some functions are actually named
13559 something starting with __ and the normal name is an alias. */
13560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13568 if { (eval echo configure
:13569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13570 eval "ac_cv_func_$ac_func=yes"
13572 echo "configure: failed program was:" >&5
13573 cat conftest.
$ac_ext >&5
13575 eval "ac_cv_func_$ac_func=no"
13580 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13581 echo "$ac_t""yes" 1>&6
13582 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13583 cat >> confdefs.h
<<EOF
13584 #define $ac_tr_func 1
13588 echo "$ac_t""no" 1>&6
13594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13595 ac_cpp
='$CPP $CPPFLAGS'
13596 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13597 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13598 cross_compiling
=$ac_cv_prog_cc_cross
13602 for ac_func
in inet_addr
13604 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13605 echo "configure:13606: checking for $ac_func" >&5
13606 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13607 echo $ac_n "(cached) $ac_c" 1>&6
13609 cat > conftest.
$ac_ext <<EOF
13610 #line 13611 "configure"
13611 #include "confdefs.h"
13612 /* System header to define __stub macros and hopefully few prototypes,
13613 which can conflict with char $ac_func(); below. */
13614 #include <assert.h>
13615 /* Override any gcc2 internal prototype to avoid an error. */
13616 /* We use char because int might match the return type of a gcc2
13617 builtin and then its argument prototype would still apply. */
13622 /* The GNU C library defines this for functions which it implements
13623 to always fail with ENOSYS. Some functions are actually named
13624 something starting with __ and the normal name is an alias. */
13625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13633 if { (eval echo configure
:13634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13635 eval "ac_cv_func_$ac_func=yes"
13637 echo "configure: failed program was:" >&5
13638 cat conftest.
$ac_ext >&5
13640 eval "ac_cv_func_$ac_func=no"
13645 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13646 echo "$ac_t""yes" 1>&6
13647 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13648 cat >> confdefs.h
<<EOF
13649 #define $ac_tr_func 1
13651 cat >> confdefs.h
<<\EOF
13652 #define HAVE_INET_ADDR 1
13656 echo "$ac_t""no" 1>&6
13657 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13658 echo "configure:13659: checking for inet_addr in -lnsl" >&5
13659 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13660 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13661 echo $ac_n "(cached) $ac_c" 1>&6
13663 ac_save_LIBS
="$LIBS"
13665 cat > conftest.
$ac_ext <<EOF
13666 #line 13667 "configure"
13667 #include "confdefs.h"
13668 /* Override any gcc2 internal prototype to avoid an error. */
13669 /* We use char because int might match the return type of a gcc2
13670 builtin and then its argument prototype would still apply. */
13677 if { (eval echo configure
:13678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13679 eval "ac_cv_lib_$ac_lib_var=yes"
13681 echo "configure: failed program was:" >&5
13682 cat conftest.
$ac_ext >&5
13684 eval "ac_cv_lib_$ac_lib_var=no"
13687 LIBS
="$ac_save_LIBS"
13690 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13691 echo "$ac_t""yes" 1>&6
13694 echo "$ac_t""no" 1>&6
13695 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13696 echo "configure:13697: checking for inet_addr in -lresolv" >&5
13697 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13698 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13699 echo $ac_n "(cached) $ac_c" 1>&6
13701 ac_save_LIBS
="$LIBS"
13702 LIBS
="-lresolv $LIBS"
13703 cat > conftest.
$ac_ext <<EOF
13704 #line 13705 "configure"
13705 #include "confdefs.h"
13706 /* Override any gcc2 internal prototype to avoid an error. */
13707 /* We use char because int might match the return type of a gcc2
13708 builtin and then its argument prototype would still apply. */
13715 if { (eval echo configure
:13716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13717 eval "ac_cv_lib_$ac_lib_var=yes"
13719 echo "configure: failed program was:" >&5
13720 cat conftest.
$ac_ext >&5
13722 eval "ac_cv_lib_$ac_lib_var=no"
13725 LIBS
="$ac_save_LIBS"
13728 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13729 echo "$ac_t""yes" 1>&6
13733 echo "$ac_t""no" 1>&6
13745 for ac_func
in inet_aton
13747 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13748 echo "configure:13749: checking for $ac_func" >&5
13749 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13750 echo $ac_n "(cached) $ac_c" 1>&6
13752 cat > conftest.
$ac_ext <<EOF
13753 #line 13754 "configure"
13754 #include "confdefs.h"
13755 /* System header to define __stub macros and hopefully few prototypes,
13756 which can conflict with char $ac_func(); below. */
13757 #include <assert.h>
13758 /* Override any gcc2 internal prototype to avoid an error. */
13759 /* We use char because int might match the return type of a gcc2
13760 builtin and then its argument prototype would still apply. */
13765 /* The GNU C library defines this for functions which it implements
13766 to always fail with ENOSYS. Some functions are actually named
13767 something starting with __ and the normal name is an alias. */
13768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13776 if { (eval echo configure
:13777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13778 eval "ac_cv_func_$ac_func=yes"
13780 echo "configure: failed program was:" >&5
13781 cat conftest.
$ac_ext >&5
13783 eval "ac_cv_func_$ac_func=no"
13788 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13789 echo "$ac_t""yes" 1>&6
13790 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13791 cat >> confdefs.h
<<EOF
13792 #define $ac_tr_func 1
13794 cat >> confdefs.h
<<\EOF
13795 #define HAVE_INET_ATON 1
13799 echo "$ac_t""no" 1>&6
13800 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13801 echo "configure:13802: checking for inet_aton in -l$INET_LINK" >&5
13802 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13803 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13804 echo $ac_n "(cached) $ac_c" 1>&6
13806 ac_save_LIBS
="$LIBS"
13807 LIBS
="-l$INET_LINK $LIBS"
13808 cat > conftest.
$ac_ext <<EOF
13809 #line 13810 "configure"
13810 #include "confdefs.h"
13811 /* Override any gcc2 internal prototype to avoid an error. */
13812 /* We use char because int might match the return type of a gcc2
13813 builtin and then its argument prototype would still apply. */
13820 if { (eval echo configure
:13821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13822 eval "ac_cv_lib_$ac_lib_var=yes"
13824 echo "configure: failed program was:" >&5
13825 cat conftest.
$ac_ext >&5
13827 eval "ac_cv_lib_$ac_lib_var=no"
13830 LIBS
="$ac_save_LIBS"
13833 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13834 echo "$ac_t""yes" 1>&6
13835 cat >> confdefs.h
<<\EOF
13836 #define HAVE_INET_ATON 1
13840 echo "$ac_t""no" 1>&6
13848 if test "x$INET_LINK" != "x"; then
13849 cat >> confdefs.h
<<\EOF
13850 #define HAVE_INET_ADDR 1
13853 INET_LINK
="-l$INET_LINK"
13859 cat > confcache
<<\EOF
13860 # This file is a shell script that caches the results of configure
13861 # tests run on this system so they can be shared between configure
13862 # scripts and configure runs. It is not useful on other systems.
13863 # If it contains results you don't want to keep, you may remove or edit it.
13865 # By default, configure uses ./config.cache as the cache file,
13866 # creating it if it does not exist already. You can give configure
13867 # the --cache-file=FILE option to use a different cache file; that is
13868 # what configure does when it calls configure scripts in
13869 # subdirectories, so they share the cache.
13870 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13871 # config.status only pays attention to the cache file if you give it the
13872 # --recheck option to rerun configure.
13875 # The following way of writing the cache mishandles newlines in values,
13876 # but we know of no workaround that is simple, portable, and efficient.
13877 # So, don't put newlines in cache variables' values.
13878 # Ultrix sh set writes to stderr and can't be redirected directly,
13879 # and sets the high bit in the cache file unless we assign to the vars.
13881 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13883 # `set' does not quote correctly, so add quotes (double-quote substitution
13884 # turns \\\\ into \\, and sed turns \\ into \).
13886 -e "s/'/'\\\\''/g" \
13887 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13890 # `set' quotes correctly as required by POSIX, so do not add quotes.
13891 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13894 if cmp -s $cache_file confcache
; then
13897 if test -w $cache_file; then
13898 echo "updating cache $cache_file"
13899 cat confcache
> $cache_file
13901 echo "not updating unwritable cache $cache_file"
13908 if test "$TOOLKIT" != "MSW"; then
13914 if test "$wxUSE_THREADS" = "yes" ; then
13915 if test "$wxUSE_WINE" = 1 ; then
13916 echo "configure: warning: Threads are not supported under WINE" 1>&2
13918 elif test "$USE_BEOS" = 1; then
13919 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13924 if test "$wxUSE_THREADS" = "yes" ; then
13926 if test "$USE_AIX" = 1; then
13927 THREADS_LIB
=pthreads
13929 THREADS_LIB
=pthread
13932 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13933 echo "configure:13934: checking for pthread_create in -l$THREADS_LIB" >&5
13934 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13935 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13936 echo $ac_n "(cached) $ac_c" 1>&6
13938 ac_save_LIBS
="$LIBS"
13939 LIBS
="-l$THREADS_LIB $LIBS"
13940 cat > conftest.
$ac_ext <<EOF
13941 #line 13942 "configure"
13942 #include "confdefs.h"
13943 /* Override any gcc2 internal prototype to avoid an error. */
13944 /* We use char because int might match the return type of a gcc2
13945 builtin and then its argument prototype would still apply. */
13946 char pthread_create();
13952 if { (eval echo configure
:13953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13954 eval "ac_cv_lib_$ac_lib_var=yes"
13956 echo "configure: failed program was:" >&5
13957 cat conftest.
$ac_ext >&5
13959 eval "ac_cv_lib_$ac_lib_var=no"
13962 LIBS
="$ac_save_LIBS"
13965 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13966 echo "$ac_t""yes" 1>&6
13968 THREADS_OBJ
="threadpsx.lo"
13969 THREADS_LINK
=$THREADS_LIB
13972 echo "$ac_t""no" 1>&6
13974 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13975 echo "configure:13976: checking for pthread_create in -lc_r" >&5
13976 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13978 echo $ac_n "(cached) $ac_c" 1>&6
13980 ac_save_LIBS
="$LIBS"
13982 cat > conftest.
$ac_ext <<EOF
13983 #line 13984 "configure"
13984 #include "confdefs.h"
13985 /* Override any gcc2 internal prototype to avoid an error. */
13986 /* We use char because int might match the return type of a gcc2
13987 builtin and then its argument prototype would still apply. */
13988 char pthread_create();
13994 if { (eval echo configure
:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13996 eval "ac_cv_lib_$ac_lib_var=yes"
13998 echo "configure: failed program was:" >&5
13999 cat conftest.
$ac_ext >&5
14001 eval "ac_cv_lib_$ac_lib_var=no"
14004 LIBS
="$ac_save_LIBS"
14007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14008 echo "$ac_t""yes" 1>&6
14010 THREADS_OBJ
="threadpsx.lo"
14014 echo "$ac_t""no" 1>&6
14016 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14017 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14018 echo "configure:14019: checking for sys/prctl.h" >&5
14019 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14020 echo $ac_n "(cached) $ac_c" 1>&6
14022 cat > conftest.
$ac_ext <<EOF
14023 #line 14024 "configure"
14024 #include "confdefs.h"
14025 #include <sys/prctl.h>
14027 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14028 { (eval echo configure
:14029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14029 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14030 if test -z "$ac_err"; then
14032 eval "ac_cv_header_$ac_safe=yes"
14035 echo "configure: failed program was:" >&5
14036 cat conftest.
$ac_ext >&5
14038 eval "ac_cv_header_$ac_safe=no"
14042 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14043 echo "$ac_t""yes" 1>&6
14045 THREADS_OBJ
="threadsgi.lo"
14048 echo "$ac_t""no" 1>&6
14058 if test -z "$THREADS_OBJ" ; then
14060 echo "configure: warning: No thread support on this system" 1>&2
14064 if test "$wxUSE_THREADS" = "yes" ; then
14065 for ac_func
in thr_setconcurrency
14067 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14068 echo "configure:14069: checking for $ac_func" >&5
14069 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14070 echo $ac_n "(cached) $ac_c" 1>&6
14072 cat > conftest.
$ac_ext <<EOF
14073 #line 14074 "configure"
14074 #include "confdefs.h"
14075 /* System header to define __stub macros and hopefully few prototypes,
14076 which can conflict with char $ac_func(); below. */
14077 #include <assert.h>
14078 /* Override any gcc2 internal prototype to avoid an error. */
14079 /* We use char because int might match the return type of a gcc2
14080 builtin and then its argument prototype would still apply. */
14085 /* The GNU C library defines this for functions which it implements
14086 to always fail with ENOSYS. Some functions are actually named
14087 something starting with __ and the normal name is an alias. */
14088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14096 if { (eval echo configure
:14097: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14098 eval "ac_cv_func_$ac_func=yes"
14100 echo "configure: failed program was:" >&5
14101 cat conftest.
$ac_ext >&5
14103 eval "ac_cv_func_$ac_func=no"
14108 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14109 echo "$ac_t""yes" 1>&6
14110 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14111 cat >> confdefs.h
<<EOF
14112 #define $ac_tr_func 1
14116 echo "$ac_t""no" 1>&6
14122 for ac_hdr
in sched.h
14124 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14125 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14126 echo "configure:14127: checking for $ac_hdr" >&5
14127 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14128 echo $ac_n "(cached) $ac_c" 1>&6
14130 cat > conftest.
$ac_ext <<EOF
14131 #line 14132 "configure"
14132 #include "confdefs.h"
14135 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14136 { (eval echo configure
:14137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14137 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14138 if test -z "$ac_err"; then
14140 eval "ac_cv_header_$ac_safe=yes"
14143 echo "configure: failed program was:" >&5
14144 cat conftest.
$ac_ext >&5
14146 eval "ac_cv_header_$ac_safe=no"
14150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14151 echo "$ac_t""yes" 1>&6
14152 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14153 cat >> confdefs.h
<<EOF
14154 #define $ac_tr_hdr 1
14158 echo "$ac_t""no" 1>&6
14163 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14164 echo "configure:14165: checking for sched_yield in -l$THREADS_LINK" >&5
14165 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14167 echo $ac_n "(cached) $ac_c" 1>&6
14169 ac_save_LIBS
="$LIBS"
14170 LIBS
="-l$THREADS_LINK $LIBS"
14171 cat > conftest.
$ac_ext <<EOF
14172 #line 14173 "configure"
14173 #include "confdefs.h"
14174 /* Override any gcc2 internal prototype to avoid an error. */
14175 /* We use char because int might match the return type of a gcc2
14176 builtin and then its argument prototype would still apply. */
14177 char sched_yield();
14183 if { (eval echo configure
:14184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14185 eval "ac_cv_lib_$ac_lib_var=yes"
14187 echo "configure: failed program was:" >&5
14188 cat conftest.
$ac_ext >&5
14190 eval "ac_cv_lib_$ac_lib_var=no"
14193 LIBS
="$ac_save_LIBS"
14196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14197 echo "$ac_t""yes" 1>&6
14198 cat >> confdefs.h
<<\EOF
14199 #define HAVE_SCHED_YIELD 1
14203 echo "$ac_t""no" 1>&6
14204 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14205 echo "configure:14206: checking for sched_yield in -lposix4" >&5
14206 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14208 echo $ac_n "(cached) $ac_c" 1>&6
14210 ac_save_LIBS
="$LIBS"
14211 LIBS
="-lposix4 $LIBS"
14212 cat > conftest.
$ac_ext <<EOF
14213 #line 14214 "configure"
14214 #include "confdefs.h"
14215 /* Override any gcc2 internal prototype to avoid an error. */
14216 /* We use char because int might match the return type of a gcc2
14217 builtin and then its argument prototype would still apply. */
14218 char sched_yield();
14224 if { (eval echo configure
:14225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14226 eval "ac_cv_lib_$ac_lib_var=yes"
14228 echo "configure: failed program was:" >&5
14229 cat conftest.
$ac_ext >&5
14231 eval "ac_cv_lib_$ac_lib_var=no"
14234 LIBS
="$ac_save_LIBS"
14237 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14238 echo "$ac_t""yes" 1>&6
14239 cat >> confdefs.h
<<\EOF
14240 #define HAVE_SCHED_YIELD 1
14242 POSIX4_LINK
="-lposix4"
14244 echo "$ac_t""no" 1>&6
14245 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14254 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14255 echo "configure:14256: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14256 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14258 echo $ac_n "(cached) $ac_c" 1>&6
14260 ac_save_LIBS
="$LIBS"
14261 LIBS
="-l$THREADS_LINK $LIBS"
14262 cat > conftest.
$ac_ext <<EOF
14263 #line 14264 "configure"
14264 #include "confdefs.h"
14265 /* Override any gcc2 internal prototype to avoid an error. */
14266 /* We use char because int might match the return type of a gcc2
14267 builtin and then its argument prototype would still apply. */
14268 char pthread_attr_getschedpolicy();
14271 pthread_attr_getschedpolicy()
14274 if { (eval echo configure
:14275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14276 eval "ac_cv_lib_$ac_lib_var=yes"
14278 echo "configure: failed program was:" >&5
14279 cat conftest.
$ac_ext >&5
14281 eval "ac_cv_lib_$ac_lib_var=no"
14284 LIBS
="$ac_save_LIBS"
14287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14288 echo "$ac_t""yes" 1>&6
14289 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14290 echo "configure:14291: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14291 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14293 echo $ac_n "(cached) $ac_c" 1>&6
14295 ac_save_LIBS
="$LIBS"
14296 LIBS
="-l$THREADS_LINK $LIBS"
14297 cat > conftest.
$ac_ext <<EOF
14298 #line 14299 "configure"
14299 #include "confdefs.h"
14300 /* Override any gcc2 internal prototype to avoid an error. */
14301 /* We use char because int might match the return type of a gcc2
14302 builtin and then its argument prototype would still apply. */
14303 char pthread_attr_setschedparam();
14306 pthread_attr_setschedparam()
14309 if { (eval echo configure
:14310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14311 eval "ac_cv_lib_$ac_lib_var=yes"
14313 echo "configure: failed program was:" >&5
14314 cat conftest.
$ac_ext >&5
14316 eval "ac_cv_lib_$ac_lib_var=no"
14319 LIBS
="$ac_save_LIBS"
14322 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14323 echo "$ac_t""yes" 1>&6
14324 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14325 echo "configure:14326: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14326 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14327 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14328 echo $ac_n "(cached) $ac_c" 1>&6
14330 ac_save_LIBS
="$LIBS"
14331 LIBS
="-l$THREADS_LINK $LIBS"
14332 cat > conftest.
$ac_ext <<EOF
14333 #line 14334 "configure"
14334 #include "confdefs.h"
14335 /* Override any gcc2 internal prototype to avoid an error. */
14336 /* We use char because int might match the return type of a gcc2
14337 builtin and then its argument prototype would still apply. */
14338 char sched_get_priority_max();
14341 sched_get_priority_max()
14344 if { (eval echo configure
:14345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14346 eval "ac_cv_lib_$ac_lib_var=yes"
14348 echo "configure: failed program was:" >&5
14349 cat conftest.
$ac_ext >&5
14351 eval "ac_cv_lib_$ac_lib_var=no"
14354 LIBS
="$ac_save_LIBS"
14357 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14358 echo "$ac_t""yes" 1>&6
14361 echo "$ac_t""no" 1>&6
14362 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14363 echo "configure:14364: checking for sched_get_priority_max in -lposix4" >&5
14364 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14365 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14366 echo $ac_n "(cached) $ac_c" 1>&6
14368 ac_save_LIBS
="$LIBS"
14369 LIBS
="-lposix4 $LIBS"
14370 cat > conftest.
$ac_ext <<EOF
14371 #line 14372 "configure"
14372 #include "confdefs.h"
14373 /* Override any gcc2 internal prototype to avoid an error. */
14374 /* We use char because int might match the return type of a gcc2
14375 builtin and then its argument prototype would still apply. */
14376 char sched_get_priority_max();
14379 sched_get_priority_max()
14382 if { (eval echo configure
:14383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14384 eval "ac_cv_lib_$ac_lib_var=yes"
14386 echo "configure: failed program was:" >&5
14387 cat conftest.
$ac_ext >&5
14389 eval "ac_cv_lib_$ac_lib_var=no"
14392 LIBS
="$ac_save_LIBS"
14395 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14396 echo "$ac_t""yes" 1>&6
14399 POSIX4_LINK
="-lposix4"
14402 echo "$ac_t""no" 1>&6
14410 echo "$ac_t""no" 1>&6
14415 echo "$ac_t""no" 1>&6
14419 if test "$HAVE_PRIOR_FUNCS" = 1; then
14420 cat >> confdefs.h
<<\EOF
14421 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14425 echo "configure: warning: Setting thread priority will not work" 1>&2
14428 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14429 echo "configure:14430: checking for pthread_cancel in -l$THREADS_LINK" >&5
14430 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14432 echo $ac_n "(cached) $ac_c" 1>&6
14434 ac_save_LIBS
="$LIBS"
14435 LIBS
="-l$THREADS_LINK $LIBS"
14436 cat > conftest.
$ac_ext <<EOF
14437 #line 14438 "configure"
14438 #include "confdefs.h"
14439 /* Override any gcc2 internal prototype to avoid an error. */
14440 /* We use char because int might match the return type of a gcc2
14441 builtin and then its argument prototype would still apply. */
14442 char pthread_cancel();
14448 if { (eval echo configure
:14449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14450 eval "ac_cv_lib_$ac_lib_var=yes"
14452 echo "configure: failed program was:" >&5
14453 cat conftest.
$ac_ext >&5
14455 eval "ac_cv_lib_$ac_lib_var=no"
14458 LIBS
="$ac_save_LIBS"
14461 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14462 echo "$ac_t""yes" 1>&6
14463 cat >> confdefs.h
<<\EOF
14464 #define HAVE_PTHREAD_CANCEL 1
14468 echo "$ac_t""no" 1>&6
14469 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14473 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14474 echo "configure:14475: checking for pthread_cleanup_push/pop" >&5
14475 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14476 echo $ac_n "(cached) $ac_c" 1>&6
14479 cat > conftest.
$ac_ext <<EOF
14480 #line 14481 "configure"
14481 #include "confdefs.h"
14482 #include <pthread.h>
14485 pthread_cleanup_push(NULL, NULL);
14486 pthread_cleanup_pop(0);
14490 if { (eval echo configure
:14491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14493 wx_cv_func_pthread_cleanup_push
=yes
14496 echo "configure: failed program was:" >&5
14497 cat conftest.
$ac_ext >&5
14500 wx_cv_func_pthread_cleanup_push
=no
14507 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14509 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14510 cat >> confdefs.h
<<\EOF
14511 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14517 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14518 echo "configure:14519: checking for pthread_mutexattr_t" >&5
14519 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14520 echo $ac_n "(cached) $ac_c" 1>&6
14523 cat > conftest.
$ac_ext <<EOF
14524 #line 14525 "configure"
14525 #include "confdefs.h"
14526 #include <pthread.h>
14529 pthread_mutexattr_t attr;
14530 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14534 if { (eval echo configure
:14535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14537 wx_cv_type_pthread_mutexattr_t
=yes
14540 echo "configure: failed program was:" >&5
14541 cat conftest.
$ac_ext >&5
14544 wx_cv_type_pthread_mutexattr_t
=no
14552 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14554 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14555 cat >> confdefs.h
<<\EOF
14556 #define HAVE_PTHREAD_MUTEXATTR_T 1
14560 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14561 echo "configure:14562: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14562 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14563 echo $ac_n "(cached) $ac_c" 1>&6
14566 cat > conftest.
$ac_ext <<EOF
14567 #line 14568 "configure"
14568 #include "confdefs.h"
14569 #include <pthread.h>
14572 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14576 if { (eval echo configure
:14577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14579 wx_cv_type_pthread_rec_mutex_init
=yes
14582 echo "configure: failed program was:" >&5
14583 cat conftest.
$ac_ext >&5
14586 wx_cv_type_pthread_rec_mutex_init
=no
14594 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14595 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14596 cat >> confdefs.h
<<\EOF
14597 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14601 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14605 THREADS_LINK
="-l$THREADS_LINK"
14607 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14608 CFLAGS
="${CFLAGS} -mt"
14609 CXXFLAGS
="${CXXFLAGS} -mt"
14610 LDFLAGS
="${LDFLAGS} -mt"
14616 if test "$wxUSE_THREADS" = "yes"; then
14617 cat >> confdefs.h
<<\EOF
14618 #define wxUSE_THREADS 1
14622 if test "x$wxUSE_DARWIN" != "x1"; then
14623 CFLAGS
="${CFLAGS} -D_REENTRANT"
14624 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14627 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14629 if test "$ac_cv_func_strtok_r" = "yes"; then
14630 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14631 echo "configure:14632: checking if -D_REENTRANT is needed" >&5
14632 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14633 CFLAGS
="${CFLAGS} -D_REENTRANT"
14634 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14635 echo "$ac_t""yes" 1>&6
14637 echo "$ac_t""no" 1>&6
14642 if test "$WXGTK20" = 1 ; then
14643 cat >> confdefs.h
<<EOF
14644 #define __WXGTK20__ $WXGTK20
14650 if test "$WXGTK12" = 1 ; then
14651 cat >> confdefs.h
<<EOF
14652 #define __WXGTK12__ $WXGTK12
14657 if test "$WXGTK127" = 1 ; then
14658 cat >> confdefs.h
<<EOF
14659 #define __WXGTK127__ $WXGTK127
14664 if test "$WXWINE" = 1 ; then
14665 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14668 if test "$wxUSE_MAC" = 1 ; then
14669 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
14670 CFLAGS
="${CFLAGS} -fpascal-strings"
14671 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14672 # Extract the first word of "Rez", so it can be a program name with args.
14673 set dummy Rez
; ac_word
=$2
14674 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14675 echo "configure:14676: checking for $ac_word" >&5
14676 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14677 echo $ac_n "(cached) $ac_c" 1>&6
14679 if test -n "$REZ"; then
14680 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14682 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14684 for ac_dir
in $ac_dummy; do
14685 test -z "$ac_dir" && ac_dir
=.
14686 if test -f $ac_dir/$ac_word; then
14687 ac_cv_prog_REZ
="Rez"
14692 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14695 REZ
="$ac_cv_prog_REZ"
14696 if test -n "$REZ"; then
14697 echo "$ac_t""$REZ" 1>&6
14699 echo "$ac_t""no" 1>&6
14702 # Extract the first word of "Derez", so it can be a program name with args.
14703 set dummy Derez
; ac_word
=$2
14704 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14705 echo "configure:14706: checking for $ac_word" >&5
14706 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14707 echo $ac_n "(cached) $ac_c" 1>&6
14709 if test -n "$DEREZ"; then
14710 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14712 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14714 for ac_dir
in $ac_dummy; do
14715 test -z "$ac_dir" && ac_dir
=.
14716 if test -f $ac_dir/$ac_word; then
14717 ac_cv_prog_DEREZ
="Derez"
14722 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14725 DEREZ
="$ac_cv_prog_DEREZ"
14726 if test -n "$DEREZ"; then
14727 echo "$ac_t""$DEREZ" 1>&6
14729 echo "$ac_t""no" 1>&6
14733 REZFLAGS
="-d __UNIX__ -useDF"
14734 DEREZFLAGS
="Carbon.r -useDF"
14735 RESFLAGS
="Carbon.r -t APPL"
14736 LIBWXMACRES
="\$(LIBWX_MACRES)"
14737 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14740 if test "$wxUSE_CYGWIN" = 1 ; then
14741 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14746 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14751 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14752 wxUSE_DEBUG_INFO
=yes
14756 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14757 cat >> confdefs.h
<<\EOF
14761 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14763 if test "$wxUSE_GTK" = 1 ; then
14764 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14768 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14769 cat >> confdefs.h
<<\EOF
14770 #define wxUSE_MEMORY_TRACING 1
14773 cat >> confdefs.h
<<\EOF
14774 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14777 cat >> confdefs.h
<<\EOF
14778 #define wxUSE_DEBUG_NEW_ALWAYS 1
14781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14784 if test "$wxUSE_DMALLOC" = "yes" ; then
14785 DMALLOC_LINK
="-ldmalloc"
14789 if test "$wxUSE_PROFILE" = "yes" ; then
14795 CODE_GEN_FLAGS_CXX
=
14796 if test "$GCC" = yes ; then
14797 if test "$wxUSE_NO_RTTI" = "yes" ; then
14798 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14800 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14801 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14803 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14804 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14806 if test "$wxUSE_NO_DEPS" = "no" ; then
14807 DEP_INFO_FLAGS
="-MMD"
14812 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14813 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14814 if test "$wxUSE_OPTIMISE" = "no" ; then
14817 if test "$GCC" = yes ; then
14820 i586
-*-*|i686
-*-* )
14821 OPTIMISE
="${OPTIMISE} "
14829 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14830 cat >> confdefs.h
<<\EOF
14831 #define WXWIN_COMPATIBILITY_2 1
14835 WXWIN_COMPATIBILITY_2_2
="yes"
14838 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14839 cat >> confdefs.h
<<\EOF
14840 #define WXWIN_COMPATIBILITY_2_2 1
14847 if test "$wxUSE_REGEX" != "no"; then
14848 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
14849 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
14850 echo "configure:14851: checking for regex.h" >&5
14851 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14852 echo $ac_n "(cached) $ac_c" 1>&6
14854 cat > conftest.
$ac_ext <<EOF
14855 #line 14856 "configure"
14856 #include "confdefs.h"
14859 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14860 { (eval echo configure
:14861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14861 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14862 if test -z "$ac_err"; then
14864 eval "ac_cv_header_$ac_safe=yes"
14867 echo "configure: failed program was:" >&5
14868 cat conftest.
$ac_ext >&5
14870 eval "ac_cv_header_$ac_safe=no"
14874 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14875 echo "$ac_t""yes" 1>&6
14876 for ac_func
in regcomp
14878 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14879 echo "configure:14880: checking for $ac_func" >&5
14880 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14881 echo $ac_n "(cached) $ac_c" 1>&6
14883 cat > conftest.
$ac_ext <<EOF
14884 #line 14885 "configure"
14885 #include "confdefs.h"
14886 /* System header to define __stub macros and hopefully few prototypes,
14887 which can conflict with char $ac_func(); below. */
14888 #include <assert.h>
14889 /* Override any gcc2 internal prototype to avoid an error. */
14890 /* We use char because int might match the return type of a gcc2
14891 builtin and then its argument prototype would still apply. */
14896 /* The GNU C library defines this for functions which it implements
14897 to always fail with ENOSYS. Some functions are actually named
14898 something starting with __ and the normal name is an alias. */
14899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14907 if { (eval echo configure
:14908: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14909 eval "ac_cv_func_$ac_func=yes"
14911 echo "configure: failed program was:" >&5
14912 cat conftest.
$ac_ext >&5
14914 eval "ac_cv_func_$ac_func=no"
14919 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14920 echo "$ac_t""yes" 1>&6
14921 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14922 cat >> confdefs.h
<<EOF
14923 #define $ac_tr_func 1
14927 echo "$ac_t""no" 1>&6
14932 echo "$ac_t""no" 1>&6
14936 if test "x$ac_cv_func_regcomp" != "xyes"; then
14937 if test "$wxUSE_REGEX" = "sys"; then
14938 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
14941 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
14944 cat >> confdefs.h
<<\EOF
14945 #define wxUSE_REGEX 1
14951 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14952 cat >> confdefs.h
<<\EOF
14953 #define wxUSE_ZLIB 1
14956 if test "$wxUSE_ZLIB" = "yes" ; then
14957 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14960 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14961 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14962 echo "configure:14963: checking for zlib.h" >&5
14963 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14964 echo $ac_n "(cached) $ac_c" 1>&6
14966 cat > conftest.
$ac_ext <<EOF
14967 #line 14968 "configure"
14968 #include "confdefs.h"
14971 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14972 { (eval echo configure
:14973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14973 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14974 if test -z "$ac_err"; then
14976 eval "ac_cv_header_$ac_safe=yes"
14979 echo "configure: failed program was:" >&5
14980 cat conftest.
$ac_ext >&5
14982 eval "ac_cv_header_$ac_safe=no"
14986 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14987 echo "$ac_t""yes" 1>&6
14988 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14989 echo "configure:14990: checking for deflate in -lz" >&5
14990 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14991 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14992 echo $ac_n "(cached) $ac_c" 1>&6
14994 ac_save_LIBS
="$LIBS"
14996 cat > conftest.
$ac_ext <<EOF
14997 #line 14998 "configure"
14998 #include "confdefs.h"
14999 /* Override any gcc2 internal prototype to avoid an error. */
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15008 if { (eval echo configure
:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15010 eval "ac_cv_lib_$ac_lib_var=yes"
15012 echo "configure: failed program was:" >&5
15013 cat conftest.
$ac_ext >&5
15015 eval "ac_cv_lib_$ac_lib_var=no"
15018 LIBS
="$ac_save_LIBS"
15021 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15022 echo "$ac_t""yes" 1>&6
15025 echo "$ac_t""no" 1>&6
15029 echo "$ac_t""no" 1>&6
15032 if test "x$ZLIB_LINK" = "x" ; then
15033 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15039 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15040 cat >> confdefs.h
<<\EOF
15041 #define wxUSE_LIBPNG 1
15044 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15045 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15049 if test "$wxUSE_LIBPNG" = "yes" ; then
15050 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15053 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15054 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15055 echo "configure:15056: checking for png.h" >&5
15056 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15057 echo $ac_n "(cached) $ac_c" 1>&6
15059 cat > conftest.
$ac_ext <<EOF
15060 #line 15061 "configure"
15061 #include "confdefs.h"
15064 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15065 { (eval echo configure
:15066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15066 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15067 if test -z "$ac_err"; then
15069 eval "ac_cv_header_$ac_safe=yes"
15072 echo "configure: failed program was:" >&5
15073 cat conftest.
$ac_ext >&5
15075 eval "ac_cv_header_$ac_safe=no"
15079 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15080 echo "$ac_t""yes" 1>&6
15081 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15082 echo "configure:15083: checking for png_check_sig in -lpng" >&5
15083 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15084 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15085 echo $ac_n "(cached) $ac_c" 1>&6
15087 ac_save_LIBS
="$LIBS"
15088 LIBS
="-lpng -lz -lm $LIBS"
15089 cat > conftest.
$ac_ext <<EOF
15090 #line 15091 "configure"
15091 #include "confdefs.h"
15092 /* Override any gcc2 internal prototype to avoid an error. */
15093 /* We use char because int might match the return type of a gcc2
15094 builtin and then its argument prototype would still apply. */
15095 char png_check_sig();
15101 if { (eval echo configure
:15102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15103 eval "ac_cv_lib_$ac_lib_var=yes"
15105 echo "configure: failed program was:" >&5
15106 cat conftest.
$ac_ext >&5
15108 eval "ac_cv_lib_$ac_lib_var=no"
15111 LIBS
="$ac_save_LIBS"
15114 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15115 echo "$ac_t""yes" 1>&6
15118 echo "$ac_t""no" 1>&6
15123 echo "$ac_t""no" 1>&6
15126 if test "x$PNG_LINK" = "x" ; then
15127 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15131 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15135 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15136 cat >> confdefs.h
<<\EOF
15137 #define wxUSE_LIBJPEG 1
15140 if test "$wxUSE_LIBJPEG" = "yes" ; then
15141 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15144 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15145 echo "configure:15146: checking for jpeglib.h" >&5
15146 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15147 echo $ac_n "(cached) $ac_c" 1>&6
15149 cat > conftest.
$ac_ext <<EOF
15150 #line 15151 "configure"
15151 #include "confdefs.h"
15153 #undef HAVE_STDLIB_H
15155 #include <jpeglib.h>
15162 if { (eval echo configure
:15163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15164 ac_cv_header_jpeglib_h
=yes
15166 echo "configure: failed program was:" >&5
15167 cat conftest.
$ac_ext >&5
15169 ac_cv_header_jpeglib_h
=no
15176 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15178 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15179 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15180 echo "configure:15181: checking for jpeg_read_header in -ljpeg" >&5
15181 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15182 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15183 echo $ac_n "(cached) $ac_c" 1>&6
15185 ac_save_LIBS
="$LIBS"
15186 LIBS
="-ljpeg $LIBS"
15187 cat > conftest.
$ac_ext <<EOF
15188 #line 15189 "configure"
15189 #include "confdefs.h"
15190 /* Override any gcc2 internal prototype to avoid an error. */
15191 /* We use char because int might match the return type of a gcc2
15192 builtin and then its argument prototype would still apply. */
15193 char jpeg_read_header();
15199 if { (eval echo configure
:15200: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15201 eval "ac_cv_lib_$ac_lib_var=yes"
15203 echo "configure: failed program was:" >&5
15204 cat conftest.
$ac_ext >&5
15206 eval "ac_cv_lib_$ac_lib_var=no"
15209 LIBS
="$ac_save_LIBS"
15212 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15213 echo "$ac_t""yes" 1>&6
15216 echo "$ac_t""no" 1>&6
15221 if test "x$JPEG_LINK" = "x" ; then
15222 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15228 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15229 cat >> confdefs.h
<<\EOF
15230 #define wxUSE_LIBTIFF 1
15233 if test "$wxUSE_LIBTIFF" = "yes" ; then
15234 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15237 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15238 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15239 echo "configure:15240: checking for tiffio.h" >&5
15240 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15241 echo $ac_n "(cached) $ac_c" 1>&6
15243 cat > conftest.
$ac_ext <<EOF
15244 #line 15245 "configure"
15245 #include "confdefs.h"
15246 #include <tiffio.h>
15248 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15249 { (eval echo configure
:15250: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15250 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15251 if test -z "$ac_err"; then
15253 eval "ac_cv_header_$ac_safe=yes"
15256 echo "configure: failed program was:" >&5
15257 cat conftest.
$ac_ext >&5
15259 eval "ac_cv_header_$ac_safe=no"
15263 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15264 echo "$ac_t""yes" 1>&6
15265 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15266 echo "configure:15267: checking for TIFFError in -ltiff" >&5
15267 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15268 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15269 echo $ac_n "(cached) $ac_c" 1>&6
15271 ac_save_LIBS
="$LIBS"
15272 LIBS
="-ltiff -lm $LIBS"
15273 cat > conftest.
$ac_ext <<EOF
15274 #line 15275 "configure"
15275 #include "confdefs.h"
15276 /* Override any gcc2 internal prototype to avoid an error. */
15277 /* We use char because int might match the return type of a gcc2
15278 builtin and then its argument prototype would still apply. */
15285 if { (eval echo configure
:15286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15287 eval "ac_cv_lib_$ac_lib_var=yes"
15289 echo "configure: failed program was:" >&5
15290 cat conftest.
$ac_ext >&5
15292 eval "ac_cv_lib_$ac_lib_var=no"
15295 LIBS
="$ac_save_LIBS"
15298 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15299 echo "$ac_t""yes" 1>&6
15302 echo "$ac_t""no" 1>&6
15306 echo "$ac_t""no" 1>&6
15309 if test "x$TIFF_LINK" = "x" ; then
15310 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15316 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15317 cat >> confdefs.h
<<\EOF
15318 #define wxUSE_FREETYPE 1
15321 if test "$wxUSE_FREETYPE" = "yes" ; then
15322 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15325 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15326 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15327 echo "configure:15328: checking for freetype.h" >&5
15328 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15329 echo $ac_n "(cached) $ac_c" 1>&6
15331 cat > conftest.
$ac_ext <<EOF
15332 #line 15333 "configure"
15333 #include "confdefs.h"
15334 #include <freetype.h>
15336 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15337 { (eval echo configure
:15338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15338 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15339 if test -z "$ac_err"; then
15341 eval "ac_cv_header_$ac_safe=yes"
15344 echo "configure: failed program was:" >&5
15345 cat conftest.
$ac_ext >&5
15347 eval "ac_cv_header_$ac_safe=no"
15351 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15352 echo "$ac_t""yes" 1>&6
15353 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15354 echo "configure:15355: checking for FT_Render_Glyph in -lfreetype" >&5
15355 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15356 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15357 echo $ac_n "(cached) $ac_c" 1>&6
15359 ac_save_LIBS
="$LIBS"
15360 LIBS
="-lfreetype -lm $LIBS"
15361 cat > conftest.
$ac_ext <<EOF
15362 #line 15363 "configure"
15363 #include "confdefs.h"
15364 /* Override any gcc2 internal prototype to avoid an error. */
15365 /* We use char because int might match the return type of a gcc2
15366 builtin and then its argument prototype would still apply. */
15367 char FT_Render_Glyph();
15373 if { (eval echo configure
:15374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15375 eval "ac_cv_lib_$ac_lib_var=yes"
15377 echo "configure: failed program was:" >&5
15378 cat conftest.
$ac_ext >&5
15380 eval "ac_cv_lib_$ac_lib_var=no"
15383 LIBS
="$ac_save_LIBS"
15386 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15387 echo "$ac_t""yes" 1>&6
15388 FREETYPE_LINK
="-lfreetype"
15390 echo "$ac_t""no" 1>&6
15395 echo "$ac_t""no" 1>&6
15398 if test "x$FREETYPE_LINK" = "x" ; then
15399 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15404 if test "$wxUSE_OPENGL" = "yes"; then
15405 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15406 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15407 echo "configure:15408: checking for GL/gl.h" >&5
15408 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15409 echo $ac_n "(cached) $ac_c" 1>&6
15411 cat > conftest.
$ac_ext <<EOF
15412 #line 15413 "configure"
15413 #include "confdefs.h"
15416 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15417 { (eval echo configure
:15418: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15418 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15419 if test -z "$ac_err"; then
15421 eval "ac_cv_header_$ac_safe=yes"
15424 echo "configure: failed program was:" >&5
15425 cat conftest.
$ac_ext >&5
15427 eval "ac_cv_header_$ac_safe=no"
15431 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15432 echo "$ac_t""yes" 1>&6
15434 cat >> confdefs.h
<<\EOF
15435 #define wxUSE_OPENGL 1
15438 cat >> confdefs.h
<<\EOF
15439 #define wxUSE_GLCANVAS 1
15442 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15443 echo "configure:15444: checking for glFlush in -lGL" >&5
15444 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15446 echo $ac_n "(cached) $ac_c" 1>&6
15448 ac_save_LIBS
="$LIBS"
15450 cat > conftest.
$ac_ext <<EOF
15451 #line 15452 "configure"
15452 #include "confdefs.h"
15453 /* Override any gcc2 internal prototype to avoid an error. */
15454 /* We use char because int might match the return type of a gcc2
15455 builtin and then its argument prototype would still apply. */
15462 if { (eval echo configure
:15463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15464 eval "ac_cv_lib_$ac_lib_var=yes"
15466 echo "configure: failed program was:" >&5
15467 cat conftest.
$ac_ext >&5
15469 eval "ac_cv_lib_$ac_lib_var=no"
15472 LIBS
="$ac_save_LIBS"
15475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15476 echo "$ac_t""yes" 1>&6
15478 OPENGL_LINK
="-lGL -lGLU"
15481 echo "$ac_t""no" 1>&6
15483 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15484 echo "configure:15485: checking for glFlush in -lMesaGL" >&5
15485 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15487 echo $ac_n "(cached) $ac_c" 1>&6
15489 ac_save_LIBS
="$LIBS"
15490 LIBS
="-lMesaGL $LIBS"
15491 cat > conftest.
$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15494 /* Override any gcc2 internal prototype to avoid an error. */
15495 /* We use char because int might match the return type of a gcc2
15496 builtin and then its argument prototype would still apply. */
15503 if { (eval echo configure
:15504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15505 eval "ac_cv_lib_$ac_lib_var=yes"
15507 echo "configure: failed program was:" >&5
15508 cat conftest.
$ac_ext >&5
15510 eval "ac_cv_lib_$ac_lib_var=no"
15513 LIBS
="$ac_save_LIBS"
15516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15517 echo "$ac_t""yes" 1>&6
15519 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15522 echo "$ac_t""no" 1>&6
15530 echo "$ac_t""no" 1>&6
15537 if test "$wxUSE_GUI" = "yes"; then
15538 cat >> confdefs.h
<<\EOF
15539 #define wxUSE_GUI 1
15544 cat >> confdefs.h
<<\EOF
15545 #define wxUSE_NOGUI 1
15551 if test "$wxUSE_UNIX" = "yes"; then
15552 cat >> confdefs.h
<<\EOF
15553 #define wxUSE_UNIX 1
15559 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15560 cat >> confdefs.h
<<\EOF
15561 #define wxUSE_APPLE_IEEE 1
15566 if test "$wxUSE_TIMER" = "yes"; then
15567 cat >> confdefs.h
<<\EOF
15568 #define wxUSE_TIMER 1
15573 if test "$wxUSE_WAVE" = "yes"; then
15574 cat >> confdefs.h
<<\EOF
15575 #define wxUSE_WAVE 1
15580 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15581 cat >> confdefs.h
<<\EOF
15582 #define wxUSE_CMDLINE_PARSER 1
15587 if test "$wxUSE_STOPWATCH" = "yes"; then
15588 cat >> confdefs.h
<<\EOF
15589 #define wxUSE_STOPWATCH 1
15594 if test "$wxUSE_DATETIME" = "yes"; then
15595 cat >> confdefs.h
<<\EOF
15596 #define wxUSE_DATETIME 1
15601 if test "$wxUSE_TIMEDATE" = "yes"; then
15602 cat >> confdefs.h
<<\EOF
15603 #define wxUSE_TIMEDATE 1
15608 if test "$wxUSE_FILE" = "yes"; then
15609 cat >> confdefs.h
<<\EOF
15610 #define wxUSE_FILE 1
15615 if test "$wxUSE_FFILE" = "yes"; then
15616 cat >> confdefs.h
<<\EOF
15617 #define wxUSE_FFILE 1
15622 if test "$wxUSE_FILESYSTEM" = "yes"; then
15623 cat >> confdefs.h
<<\EOF
15624 #define wxUSE_FILESYSTEM 1
15629 if test "$wxUSE_FS_INET" = "yes"; then
15630 cat >> confdefs.h
<<\EOF
15631 #define wxUSE_FS_INET 1
15636 if test "$wxUSE_FS_ZIP" = "yes"; then
15637 cat >> confdefs.h
<<\EOF
15638 #define wxUSE_FS_ZIP 1
15643 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15644 cat >> confdefs.h
<<\EOF
15645 #define wxUSE_ZIPSTREAM 1
15650 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15651 cat >> confdefs.h
<<\EOF
15652 #define wxUSE_ON_FATAL_EXCEPTION 1
15657 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15658 cat >> confdefs.h
<<\EOF
15659 #define wxUSE_SNGLINST_CHECKER 1
15664 if test "$wxUSE_BUSYINFO" = "yes"; then
15665 cat >> confdefs.h
<<\EOF
15666 #define wxUSE_BUSYINFO 1
15671 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15672 cat >> confdefs.h
<<\EOF
15673 #define wxUSE_STD_IOSTREAM 1
15678 if test "$wxUSE_TEXTFILE" = "yes"; then
15679 if test "$wxUSE_FILE" != "yes"; then
15680 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15682 cat >> confdefs.h
<<\EOF
15683 #define wxUSE_TEXTFILE 1
15689 if test "$wxUSE_CONFIG" = "yes" ; then
15690 if test "$wxUSE_TEXTFILE" != "yes"; then
15691 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15693 cat >> confdefs.h
<<\EOF
15694 #define wxUSE_CONFIG 1
15697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15701 if test "$wxUSE_INTL" = "yes" ; then
15702 if test "$wxUSE_FILE" != "yes"; then
15703 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15705 cat >> confdefs.h
<<\EOF
15706 #define wxUSE_INTL 1
15709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15710 GUIDIST
="$GUIDIST INTL_DIST"
15714 if test "$wxUSE_LOG" = "yes"; then
15715 cat >> confdefs.h
<<\EOF
15716 #define wxUSE_LOG 1
15720 if test "$wxUSE_LOGGUI" = "yes"; then
15721 cat >> confdefs.h
<<\EOF
15722 #define wxUSE_LOGGUI 1
15727 if test "$wxUSE_LOGWINDOW" = "yes"; then
15728 cat >> confdefs.h
<<\EOF
15729 #define wxUSE_LOGWINDOW 1
15735 if test "$wxUSE_LONGLONG" = "yes"; then
15736 cat >> confdefs.h
<<\EOF
15737 #define wxUSE_LONGLONG 1
15742 if test "$wxUSE_GEOMETRY" = "yes"; then
15743 cat >> confdefs.h
<<\EOF
15744 #define wxUSE_GEOMETRY 1
15749 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15750 cat >> confdefs.h
<<\EOF
15751 #define wxUSE_DIALUP_MANAGER 1
15754 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15757 if test "$wxUSE_STREAMS" = "yes" ; then
15758 cat >> confdefs.h
<<\EOF
15759 #define wxUSE_STREAMS 1
15765 if test "$wxUSE_DATETIME" = "yes"; then
15766 for ac_func
in strptime
15768 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15769 echo "configure:15770: checking for $ac_func" >&5
15770 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15771 echo $ac_n "(cached) $ac_c" 1>&6
15773 cat > conftest.
$ac_ext <<EOF
15774 #line 15775 "configure"
15775 #include "confdefs.h"
15776 /* System header to define __stub macros and hopefully few prototypes,
15777 which can conflict with char $ac_func(); below. */
15778 #include <assert.h>
15779 /* Override any gcc2 internal prototype to avoid an error. */
15780 /* We use char because int might match the return type of a gcc2
15781 builtin and then its argument prototype would still apply. */
15786 /* The GNU C library defines this for functions which it implements
15787 to always fail with ENOSYS. Some functions are actually named
15788 something starting with __ and the normal name is an alias. */
15789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15797 if { (eval echo configure
:15798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15799 eval "ac_cv_func_$ac_func=yes"
15801 echo "configure: failed program was:" >&5
15802 cat conftest.
$ac_ext >&5
15804 eval "ac_cv_func_$ac_func=no"
15809 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15810 echo "$ac_t""yes" 1>&6
15811 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15812 cat >> confdefs.h
<<EOF
15813 #define $ac_tr_func 1
15817 echo "$ac_t""no" 1>&6
15822 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15823 echo "configure:15824: checking for timezone variable in <time.h>" >&5
15824 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15825 echo $ac_n "(cached) $ac_c" 1>&6
15828 cat > conftest.
$ac_ext <<EOF
15829 #line 15830 "configure"
15830 #include "confdefs.h"
15841 if { (eval echo configure
:15842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15844 wx_cv_var_timezone
=timezone
15847 echo "configure: failed program was:" >&5
15848 cat conftest.
$ac_ext >&5
15851 cat > conftest.
$ac_ext <<EOF
15852 #line 15853 "configure"
15853 #include "confdefs.h"
15864 if { (eval echo configure
:15865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15867 wx_cv_var_timezone
=_timezone
15870 echo "configure: failed program was:" >&5
15871 cat conftest.
$ac_ext >&5
15874 cat > conftest.
$ac_ext <<EOF
15875 #line 15876 "configure"
15876 #include "confdefs.h"
15887 if { (eval echo configure
:15888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15890 wx_cv_var_timezone
=__timezone
15893 echo "configure: failed program was:" >&5
15894 cat conftest.
$ac_ext >&5
15896 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15912 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15914 cat >> confdefs.h
<<EOF
15915 #define WX_TIMEZONE $wx_cv_var_timezone
15919 for ac_func
in localtime
15921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15922 echo "configure:15923: checking for $ac_func" >&5
15923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15924 echo $ac_n "(cached) $ac_c" 1>&6
15926 cat > conftest.
$ac_ext <<EOF
15927 #line 15928 "configure"
15928 #include "confdefs.h"
15929 /* System header to define __stub macros and hopefully few prototypes,
15930 which can conflict with char $ac_func(); below. */
15931 #include <assert.h>
15932 /* Override any gcc2 internal prototype to avoid an error. */
15933 /* We use char because int might match the return type of a gcc2
15934 builtin and then its argument prototype would still apply. */
15939 /* The GNU C library defines this for functions which it implements
15940 to always fail with ENOSYS. Some functions are actually named
15941 something starting with __ and the normal name is an alias. */
15942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15950 if { (eval echo configure
:15951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15952 eval "ac_cv_func_$ac_func=yes"
15954 echo "configure: failed program was:" >&5
15955 cat conftest.
$ac_ext >&5
15957 eval "ac_cv_func_$ac_func=no"
15962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15963 echo "$ac_t""yes" 1>&6
15964 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15965 cat >> confdefs.h
<<EOF
15966 #define $ac_tr_func 1
15970 echo "$ac_t""no" 1>&6
15975 if test "$ac_cv_func_localtime" = "yes"; then
15976 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15977 echo "configure:15978: checking for tm_gmtoff in struct tm" >&5
15978 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15979 echo $ac_n "(cached) $ac_c" 1>&6
15982 cat > conftest.
$ac_ext <<EOF
15983 #line 15984 "configure"
15984 #include "confdefs.h"
15995 if { (eval echo configure
:15996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15998 wx_cv_struct_tm_has_gmtoff
=yes
16001 echo "configure: failed program was:" >&5
16002 cat conftest.
$ac_ext >&5
16004 wx_cv_struct_tm_has_gmtoff
=no
16011 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16014 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16015 cat >> confdefs.h
<<\EOF
16016 #define WX_GMTOFF_IN_TM 1
16021 for ac_func
in gettimeofday ftime
16023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16024 echo "configure:16025: checking for $ac_func" >&5
16025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16026 echo $ac_n "(cached) $ac_c" 1>&6
16028 cat > conftest.
$ac_ext <<EOF
16029 #line 16030 "configure"
16030 #include "confdefs.h"
16031 /* System header to define __stub macros and hopefully few prototypes,
16032 which can conflict with char $ac_func(); below. */
16033 #include <assert.h>
16034 /* Override any gcc2 internal prototype to avoid an error. */
16035 /* We use char because int might match the return type of a gcc2
16036 builtin and then its argument prototype would still apply. */
16041 /* The GNU C library defines this for functions which it implements
16042 to always fail with ENOSYS. Some functions are actually named
16043 something starting with __ and the normal name is an alias. */
16044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16052 if { (eval echo configure
:16053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16054 eval "ac_cv_func_$ac_func=yes"
16056 echo "configure: failed program was:" >&5
16057 cat conftest.
$ac_ext >&5
16059 eval "ac_cv_func_$ac_func=no"
16064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16065 echo "$ac_t""yes" 1>&6
16066 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16067 cat >> confdefs.h
<<EOF
16068 #define $ac_tr_func 1
16072 echo "$ac_t""no" 1>&6
16077 if test "$ac_cv_func_gettimeofday" = "yes"; then
16078 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16079 echo "configure:16080: checking whether gettimeofday takes two arguments" >&5
16080 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16081 echo $ac_n "(cached) $ac_c" 1>&6
16086 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16087 ac_cpp
='$CXXCPP $CPPFLAGS'
16088 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16089 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16090 cross_compiling
=$ac_cv_prog_cxx_cross
16093 cat > conftest.
$ac_ext <<EOF
16094 #line 16095 "configure"
16095 #include "confdefs.h"
16097 #include <sys/time.h>
16098 #include <unistd.h>
16103 struct timezone tz;
16104 gettimeofday(&tv, &tz);
16108 if { (eval echo configure
:16109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16110 wx_cv_func_gettimeofday_has_2_args
=yes
16112 echo "configure: failed program was:" >&5
16113 cat conftest.
$ac_ext >&5
16115 cat > conftest.
$ac_ext <<EOF
16116 #line 16117 "configure"
16117 #include "confdefs.h"
16119 #include <sys/time.h>
16120 #include <unistd.h>
16129 if { (eval echo configure
:16130: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16131 wx_cv_func_gettimeofday_has_2_args
=no
16133 echo "configure: failed program was:" >&5
16134 cat conftest.
$ac_ext >&5
16136 wx_cv_func_gettimeofday_has_2_args
=unknown
16144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16145 ac_cpp
='$CPP $CPPFLAGS'
16146 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16147 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16148 cross_compiling
=$ac_cv_prog_cc_cross
16153 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16155 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16156 cat >> confdefs.h
<<\EOF
16157 #define WX_GETTIMEOFDAY_NO_TZ 1
16163 cat >> confdefs.h
<<\EOF
16164 #define wxUSE_TIMEDATE 1
16167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16171 if test "$TOOLKIT" != "MSW"; then
16173 if test "$wxUSE_SOCKETS" = "yes"; then
16174 echo $ac_n "checking for socket""... $ac_c" 1>&6
16175 echo "configure:16176: checking for socket" >&5
16176 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16177 echo $ac_n "(cached) $ac_c" 1>&6
16179 cat > conftest.
$ac_ext <<EOF
16180 #line 16181 "configure"
16181 #include "confdefs.h"
16182 /* System header to define __stub macros and hopefully few prototypes,
16183 which can conflict with char socket(); below. */
16184 #include <assert.h>
16185 /* Override any gcc2 internal prototype to avoid an error. */
16186 /* We use char because int might match the return type of a gcc2
16187 builtin and then its argument prototype would still apply. */
16192 /* The GNU C library defines this for functions which it implements
16193 to always fail with ENOSYS. Some functions are actually named
16194 something starting with __ and the normal name is an alias. */
16195 #if defined (__stub_socket) || defined (__stub___socket)
16203 if { (eval echo configure
:16204: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16205 eval "ac_cv_func_socket=yes"
16207 echo "configure: failed program was:" >&5
16208 cat conftest.
$ac_ext >&5
16210 eval "ac_cv_func_socket=no"
16215 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16216 echo "$ac_t""yes" 1>&6
16219 echo "$ac_t""no" 1>&6
16220 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16221 echo "configure:16222: checking for socket in -lsocket" >&5
16222 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16223 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16224 echo $ac_n "(cached) $ac_c" 1>&6
16226 ac_save_LIBS
="$LIBS"
16227 LIBS
="-lsocket $LIBS"
16228 cat > conftest.
$ac_ext <<EOF
16229 #line 16230 "configure"
16230 #include "confdefs.h"
16231 /* Override any gcc2 internal prototype to avoid an error. */
16232 /* We use char because int might match the return type of a gcc2
16233 builtin and then its argument prototype would still apply. */
16240 if { (eval echo configure
:16241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16242 eval "ac_cv_lib_$ac_lib_var=yes"
16244 echo "configure: failed program was:" >&5
16245 cat conftest.
$ac_ext >&5
16247 eval "ac_cv_lib_$ac_lib_var=no"
16250 LIBS
="$ac_save_LIBS"
16253 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16254 echo "$ac_t""yes" 1>&6
16255 INET_LINK
="$INET_LINK -lsocket"
16257 echo "$ac_t""no" 1>&6
16259 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16271 if test "$wxUSE_SOCKETS" = "yes" ; then
16272 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16273 echo "configure:16274: checking what is the type of the third argument of getsockname" >&5
16274 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16275 echo $ac_n "(cached) $ac_c" 1>&6
16280 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16281 ac_cpp
='$CXXCPP $CPPFLAGS'
16282 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16283 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16284 cross_compiling
=$ac_cv_prog_cxx_cross
16287 cat > conftest.
$ac_ext <<EOF
16288 #line 16289 "configure"
16289 #include "confdefs.h"
16291 #include <sys/types.h>
16292 #include <sys/socket.h>
16297 getsockname(0, 0, &len);
16301 if { (eval echo configure
:16302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16303 wx_cv_type_getsockname3
=socklen_t
16305 echo "configure: failed program was:" >&5
16306 cat conftest.
$ac_ext >&5
16308 cat > conftest.
$ac_ext <<EOF
16309 #line 16310 "configure"
16310 #include "confdefs.h"
16312 #include <sys/types.h>
16313 #include <sys/socket.h>
16318 getsockname(0, 0, &len);
16322 if { (eval echo configure
:16323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16324 wx_cv_type_getsockname3
=size_t
16326 echo "configure: failed program was:" >&5
16327 cat conftest.
$ac_ext >&5
16329 cat > conftest.
$ac_ext <<EOF
16330 #line 16331 "configure"
16331 #include "confdefs.h"
16333 #include <sys/types.h>
16334 #include <sys/socket.h>
16339 getsockname(0, 0, &len);
16343 if { (eval echo configure
:16344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16345 wx_cv_type_getsockname3
=int
16347 echo "configure: failed program was:" >&5
16348 cat conftest.
$ac_ext >&5
16350 wx_cv_type_getsockname3
=unknown
16362 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16363 ac_cpp
='$CPP $CPPFLAGS'
16364 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16365 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16366 cross_compiling
=$ac_cv_prog_cc_cross
16371 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16373 if test "$wx_cv_type_getsockname3" = "unknown"; then
16375 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16377 cat >> confdefs.h
<<EOF
16378 #define SOCKLEN_T $wx_cv_type_getsockname3
16386 if test "$wxUSE_SOCKETS" = "yes" ; then
16387 cat >> confdefs.h
<<\EOF
16388 #define wxUSE_SOCKETS 1
16391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16392 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16396 if test "$wxUSE_GUI" = "yes"; then
16398 if test "$TOOLKIT" != "MSW"; then
16400 if test "$wxUSE_JOYSTICK" = "yes"; then
16401 for ac_hdr
in linux
/joystick.h
16403 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16404 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16405 echo "configure:16406: checking for $ac_hdr" >&5
16406 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16407 echo $ac_n "(cached) $ac_c" 1>&6
16409 cat > conftest.
$ac_ext <<EOF
16410 #line 16411 "configure"
16411 #include "confdefs.h"
16414 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16415 { (eval echo configure
:16416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16416 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16417 if test -z "$ac_err"; then
16419 eval "ac_cv_header_$ac_safe=yes"
16422 echo "configure: failed program was:" >&5
16423 cat conftest.
$ac_ext >&5
16425 eval "ac_cv_header_$ac_safe=no"
16429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16430 echo "$ac_t""yes" 1>&6
16431 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16432 cat >> confdefs.h
<<EOF
16433 #define $ac_tr_hdr 1
16437 echo "$ac_t""no" 1>&6
16441 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16443 echo "configure: warning: Joystick not supported by this system" 1>&2
16449 if test "$wxUSE_JOYSTICK" = "yes"; then
16450 cat >> confdefs.h
<<\EOF
16451 #define wxUSE_JOYSTICK 1
16454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16460 if test "$TOOLKIT" != "MSW"; then
16464 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16465 if test "$USE_DARWIN" = 1; then
16468 for ac_func
in dlopen
16470 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16471 echo "configure:16472: checking for $ac_func" >&5
16472 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16473 echo $ac_n "(cached) $ac_c" 1>&6
16475 cat > conftest.
$ac_ext <<EOF
16476 #line 16477 "configure"
16477 #include "confdefs.h"
16478 /* System header to define __stub macros and hopefully few prototypes,
16479 which can conflict with char $ac_func(); below. */
16480 #include <assert.h>
16481 /* Override any gcc2 internal prototype to avoid an error. */
16482 /* We use char because int might match the return type of a gcc2
16483 builtin and then its argument prototype would still apply. */
16488 /* The GNU C library defines this for functions which it implements
16489 to always fail with ENOSYS. Some functions are actually named
16490 something starting with __ and the normal name is an alias. */
16491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16499 if { (eval echo configure
:16500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16501 eval "ac_cv_func_$ac_func=yes"
16503 echo "configure: failed program was:" >&5
16504 cat conftest.
$ac_ext >&5
16506 eval "ac_cv_func_$ac_func=no"
16511 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16512 echo "$ac_t""yes" 1>&6
16513 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16514 cat >> confdefs.h
<<EOF
16515 #define $ac_tr_func 1
16518 cat >> confdefs.h
<<\EOF
16519 #define HAVE_DLOPEN 1
16525 echo "$ac_t""no" 1>&6
16526 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16527 echo "configure:16528: checking for dlopen in -ldl" >&5
16528 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16529 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16530 echo $ac_n "(cached) $ac_c" 1>&6
16532 ac_save_LIBS
="$LIBS"
16534 cat > conftest.
$ac_ext <<EOF
16535 #line 16536 "configure"
16536 #include "confdefs.h"
16537 /* Override any gcc2 internal prototype to avoid an error. */
16538 /* We use char because int might match the return type of a gcc2
16539 builtin and then its argument prototype would still apply. */
16546 if { (eval echo configure
:16547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16548 eval "ac_cv_lib_$ac_lib_var=yes"
16550 echo "configure: failed program was:" >&5
16551 cat conftest.
$ac_ext >&5
16553 eval "ac_cv_lib_$ac_lib_var=no"
16556 LIBS
="$ac_save_LIBS"
16559 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16560 echo "$ac_t""yes" 1>&6
16562 cat >> confdefs.h
<<\EOF
16563 #define HAVE_DLOPEN 1
16570 echo "$ac_t""no" 1>&6
16572 for ac_func
in shl_load
16574 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16575 echo "configure:16576: checking for $ac_func" >&5
16576 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16577 echo $ac_n "(cached) $ac_c" 1>&6
16579 cat > conftest.
$ac_ext <<EOF
16580 #line 16581 "configure"
16581 #include "confdefs.h"
16582 /* System header to define __stub macros and hopefully few prototypes,
16583 which can conflict with char $ac_func(); below. */
16584 #include <assert.h>
16585 /* Override any gcc2 internal prototype to avoid an error. */
16586 /* We use char because int might match the return type of a gcc2
16587 builtin and then its argument prototype would still apply. */
16592 /* The GNU C library defines this for functions which it implements
16593 to always fail with ENOSYS. Some functions are actually named
16594 something starting with __ and the normal name is an alias. */
16595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16603 if { (eval echo configure
:16604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16605 eval "ac_cv_func_$ac_func=yes"
16607 echo "configure: failed program was:" >&5
16608 cat conftest.
$ac_ext >&5
16610 eval "ac_cv_func_$ac_func=no"
16615 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16616 echo "$ac_t""yes" 1>&6
16617 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16618 cat >> confdefs.h
<<EOF
16619 #define $ac_tr_func 1
16622 cat >> confdefs.h
<<\EOF
16623 #define HAVE_SHL_LOAD 1
16629 echo "$ac_t""no" 1>&6
16630 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16631 echo "configure:16632: checking for dld in -lshl_load" >&5
16632 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16634 echo $ac_n "(cached) $ac_c" 1>&6
16636 ac_save_LIBS
="$LIBS"
16637 LIBS
="-lshl_load $LIBS"
16638 cat > conftest.
$ac_ext <<EOF
16639 #line 16640 "configure"
16640 #include "confdefs.h"
16641 /* Override any gcc2 internal prototype to avoid an error. */
16642 /* We use char because int might match the return type of a gcc2
16643 builtin and then its argument prototype would still apply. */
16650 if { (eval echo configure
:16651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16652 eval "ac_cv_lib_$ac_lib_var=yes"
16654 echo "configure: failed program was:" >&5
16655 cat conftest.
$ac_ext >&5
16657 eval "ac_cv_lib_$ac_lib_var=no"
16660 LIBS
="$ac_save_LIBS"
16663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16664 echo "$ac_t""yes" 1>&6
16670 echo "$ac_t""no" 1>&6
16685 if test "$HAVE_DL_FUNCS" = 1; then
16686 for ac_func
in dlerror
16688 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16689 echo "configure:16690: checking for $ac_func" >&5
16690 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16691 echo $ac_n "(cached) $ac_c" 1>&6
16693 cat > conftest.
$ac_ext <<EOF
16694 #line 16695 "configure"
16695 #include "confdefs.h"
16696 /* System header to define __stub macros and hopefully few prototypes,
16697 which can conflict with char $ac_func(); below. */
16698 #include <assert.h>
16699 /* Override any gcc2 internal prototype to avoid an error. */
16700 /* We use char because int might match the return type of a gcc2
16701 builtin and then its argument prototype would still apply. */
16706 /* The GNU C library defines this for functions which it implements
16707 to always fail with ENOSYS. Some functions are actually named
16708 something starting with __ and the normal name is an alias. */
16709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16717 if { (eval echo configure
:16718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16719 eval "ac_cv_func_$ac_func=yes"
16721 echo "configure: failed program was:" >&5
16722 cat conftest.
$ac_ext >&5
16724 eval "ac_cv_func_$ac_func=no"
16729 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16730 echo "$ac_t""yes" 1>&6
16731 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16732 cat >> confdefs.h
<<EOF
16733 #define $ac_tr_func 1
16735 cat >> confdefs.h
<<\EOF
16736 #define HAVE_DLERROR 1
16740 echo "$ac_t""no" 1>&6
16741 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16742 echo "configure:16743: checking for dlerror in -ldl" >&5
16743 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16744 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16745 echo $ac_n "(cached) $ac_c" 1>&6
16747 ac_save_LIBS
="$LIBS"
16749 cat > conftest.
$ac_ext <<EOF
16750 #line 16751 "configure"
16751 #include "confdefs.h"
16752 /* Override any gcc2 internal prototype to avoid an error. */
16753 /* We use char because int might match the return type of a gcc2
16754 builtin and then its argument prototype would still apply. */
16761 if { (eval echo configure
:16762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16763 eval "ac_cv_lib_$ac_lib_var=yes"
16765 echo "configure: failed program was:" >&5
16766 cat conftest.
$ac_ext >&5
16768 eval "ac_cv_lib_$ac_lib_var=no"
16771 LIBS
="$ac_save_LIBS"
16774 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16775 echo "$ac_t""yes" 1>&6
16776 cat >> confdefs.h
<<\EOF
16777 #define HAVE_DLERROR 1
16781 echo "$ac_t""no" 1>&6
16790 if test "$HAVE_DL_FUNCS" = 0; then
16791 if test "$HAVE_SHL_FUNCS" = 0; then
16792 if test "$USE_UNIX" = 1; then
16793 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16794 wxUSE_DYNLIB_CLASS
=no
16796 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16804 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16805 cat >> confdefs.h
<<\EOF
16806 #define wxUSE_DYNLIB_CLASS 1
16815 if test "$wxUSE_FONTMAP" = "yes" ; then
16816 cat >> confdefs.h
<<\EOF
16817 #define wxUSE_FONTMAP 1
16822 if test "$wxUSE_UNICODE" = "yes" ; then
16823 cat >> confdefs.h
<<\EOF
16824 #define wxUSE_UNICODE 1
16829 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16830 cat >> confdefs.h
<<\EOF
16831 #define wxUSE_WCSRTOMBS 1
16836 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16837 cat >> confdefs.h
<<\EOF
16838 #define wxUSE_EXPERIMENTAL_PRINTF 1
16844 if test "$wxUSE_SERIAL" = "yes" ; then
16845 cat >> confdefs.h
<<\EOF
16846 #define wxUSE_SERIAL 1
16853 if test "$wxUSE_ODBC" = "yes" ; then
16854 cat >> confdefs.h
<<\EOF
16855 #define wxUSE_ODBC 1
16858 WXODBCFLAG
="-D_IODBC_"
16859 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16863 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16864 cat >> confdefs.h
<<\EOF
16865 #define wxUSE_POSTSCRIPT 1
16870 cat >> confdefs.h
<<\EOF
16871 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16875 cat >> confdefs.h
<<\EOF
16876 #define wxUSE_NORMALIZED_PS_FONTS 1
16881 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16882 cat >> confdefs.h
<<\EOF
16883 #define wxUSE_CONSTRAINTS 1
16886 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16889 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16890 cat >> confdefs.h
<<\EOF
16891 #define wxUSE_MDI_ARCHITECTURE 1
16894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16897 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16898 cat >> confdefs.h
<<\EOF
16899 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16903 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16908 if test "$wxUSE_HELP" = "yes"; then
16909 cat >> confdefs.h
<<\EOF
16910 #define wxUSE_HELP 1
16913 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16915 if test "$USE_WIN32" = 1; then
16916 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
16917 cat >> confdefs.h
<<\EOF
16918 #define wxUSE_MS_HTML_HELP 1
16921 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
16922 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
16923 echo "configure:16924: checking for htmlhelp.h" >&5
16924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16925 echo $ac_n "(cached) $ac_c" 1>&6
16927 cat > conftest.
$ac_ext <<EOF
16928 #line 16929 "configure"
16929 #include "confdefs.h"
16930 #include <htmlhelp.h>
16932 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16933 { (eval echo configure
:16934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16934 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16935 if test -z "$ac_err"; then
16937 eval "ac_cv_header_$ac_safe=yes"
16940 echo "configure: failed program was:" >&5
16941 cat conftest.
$ac_ext >&5
16943 eval "ac_cv_header_$ac_safe=no"
16947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16948 echo "$ac_t""yes" 1>&6
16950 cat >> confdefs.h
<<\EOF
16951 #define wxUSE_MS_HTML_HELP 1
16956 echo "$ac_t""no" 1>&6
16958 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
16959 wxUSE_MS_HTML_HELP
=no
16966 if test "$wxUSE_WXHTML_HELP" = "yes"; then
16967 if test "$wxUSE_HTML" = "yes"; then
16968 cat >> confdefs.h
<<\EOF
16969 #define wxUSE_WXHTML_HELP 1
16973 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
16974 wxUSE_WXHTML_HELP
=no
16979 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16980 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16981 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16983 cat >> confdefs.h
<<\EOF
16984 #define wxUSE_PRINTING_ARCHITECTURE 1
16988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16991 if test "$wxUSE_PROLOGIO" = "yes" ; then
16992 cat >> confdefs.h
<<\EOF
16993 #define wxUSE_PROLOGIO 1
16998 if test "$wxUSE_RESOURCES" = "yes" ; then
16999 cat >> confdefs.h
<<\EOF
17000 #define wxUSE_RESOURCES 1
17003 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17006 if test "$wxUSE_X_RESOURCES" = "yes"; then
17007 cat >> confdefs.h
<<\EOF
17008 #define wxUSE_X_RESOURCES 1
17014 if test "$wxUSE_IPC" = "yes"; then
17015 if test "$wxUSE_SOCKETS" != "yes"; then
17016 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17019 cat >> confdefs.h
<<\EOF
17020 #define wxUSE_IPC 1
17025 if test "$wxUSE_CLIPBOARD" = "yes"; then
17026 cat >> confdefs.h
<<\EOF
17027 #define wxUSE_CLIPBOARD 1
17030 cat >> confdefs.h
<<\EOF
17031 #define wxUSE_DATAOBJ 1
17036 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17037 if test "$wxUSE_GTK" = 1; then
17038 if test "$WXGTK12" != 1; then
17039 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17040 wxUSE_DRAG_AND_DROP
=no
17044 if test "$wxUSE_MOTIF" = 1; then
17045 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17046 wxUSE_DRAG_AND_DROP
=no
17049 if test "$wxUSE_MAC" = 1; then
17050 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17051 wxUSE_DRAG_AND_DROP
=no
17054 if test "$USE_WIN32" = 1; then
17056 for ac_hdr
in ole2.h
17058 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17059 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17060 echo "configure:17061: checking for $ac_hdr" >&5
17061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17062 echo $ac_n "(cached) $ac_c" 1>&6
17064 cat > conftest.
$ac_ext <<EOF
17065 #line 17066 "configure"
17066 #include "confdefs.h"
17069 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17070 { (eval echo configure
:17071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17071 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17072 if test -z "$ac_err"; then
17074 eval "ac_cv_header_$ac_safe=yes"
17077 echo "configure: failed program was:" >&5
17078 cat conftest.
$ac_ext >&5
17080 eval "ac_cv_header_$ac_safe=no"
17084 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17085 echo "$ac_t""yes" 1>&6
17086 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17087 cat >> confdefs.h
<<EOF
17088 #define $ac_tr_hdr 1
17092 echo "$ac_t""no" 1>&6
17097 if test "$ac_cv_header_ole2_h" = "yes" ; then
17098 if test "$GCC" = yes ; then
17099 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17100 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17101 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17102 LIBS
="$LIBS -lole32 -luuid"
17103 cat >> confdefs.h
<<\EOF
17104 #define wxUSE_OLE 1
17108 if test "$wxUSE_METAFILE" = "yes"; then
17109 cat >> confdefs.h
<<\EOF
17110 #define wxUSE_METAFILE 1
17113 cat >> confdefs.h
<<\EOF
17114 #define wxUSE_ENH_METAFILE 1
17120 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17121 wxUSE_DRAG_AND_DROP
=no
17125 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17126 cat >> confdefs.h
<<\EOF
17127 #define wxUSE_DRAG_AND_DROP 1
17130 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17135 if test "$wxUSE_SPLINES" = "yes" ; then
17136 cat >> confdefs.h
<<\EOF
17137 #define wxUSE_SPLINES 1
17144 if test "$wxUSE_CONTROLS" = "yes"; then
17148 if test "$wxUSE_ACCEL" = "yes"; then
17149 cat >> confdefs.h
<<\EOF
17150 #define wxUSE_ACCEL 1
17156 if test "$wxUSE_BUTTON" = "yes"; then
17157 cat >> confdefs.h
<<\EOF
17158 #define wxUSE_BUTTON 1
17164 if test "$wxUSE_BMPBUTTON" = "yes"; then
17165 cat >> confdefs.h
<<\EOF
17166 #define wxUSE_BMPBUTTON 1
17172 if test "$wxUSE_CALCTRL" = "yes"; then
17173 cat >> confdefs.h
<<\EOF
17174 #define wxUSE_CALENDARCTRL 1
17178 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17181 if test "$wxUSE_CARET" = "yes"; then
17182 cat >> confdefs.h
<<\EOF
17183 #define wxUSE_CARET 1
17187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17190 if test "$wxUSE_COMBOBOX" = "yes"; then
17191 cat >> confdefs.h
<<\EOF
17192 #define wxUSE_COMBOBOX 1
17198 if test "$wxUSE_CHOICE" = "yes"; then
17199 cat >> confdefs.h
<<\EOF
17200 #define wxUSE_CHOICE 1
17206 if test "$wxUSE_CHECKBOX" = "yes"; then
17207 cat >> confdefs.h
<<\EOF
17208 #define wxUSE_CHECKBOX 1
17214 if test "$wxUSE_CHECKLST" = "yes"; then
17215 cat >> confdefs.h
<<\EOF
17216 #define wxUSE_CHECKLISTBOX 1
17220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17223 if test "$wxUSE_GAUGE" = "yes"; then
17224 cat >> confdefs.h
<<\EOF
17225 #define wxUSE_GAUGE 1
17231 if test "$wxUSE_NEW_GRID" = "yes"; then
17233 cat >> confdefs.h
<<\EOF
17234 #define wxUSE_NEW_GRID 1
17238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17241 if test "$wxUSE_GRID" = "yes"; then
17242 cat >> confdefs.h
<<\EOF
17243 #define wxUSE_GRID 1
17247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17250 if test "$wxUSE_IMAGLIST" = "yes"; then
17251 cat >> confdefs.h
<<\EOF
17252 #define wxUSE_IMAGLIST 1
17257 if test "$wxUSE_LISTBOX" = "yes"; then
17258 cat >> confdefs.h
<<\EOF
17259 #define wxUSE_LISTBOX 1
17265 if test "$wxUSE_LISTCTRL" = "yes"; then
17266 if test "$wxUSE_IMAGLIST" = "yes"; then
17267 cat >> confdefs.h
<<\EOF
17268 #define wxUSE_LISTCTRL 1
17272 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17274 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17278 if test "$wxUSE_NOTEBOOK" = "yes"; then
17279 cat >> confdefs.h
<<\EOF
17280 #define wxUSE_NOTEBOOK 1
17284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17287 if test "$wxUSE_RADIOBOX" = "yes"; then
17288 cat >> confdefs.h
<<\EOF
17289 #define wxUSE_RADIOBOX 1
17295 if test "$wxUSE_RADIOBTN" = "yes"; then
17296 cat >> confdefs.h
<<\EOF
17297 #define wxUSE_RADIOBTN 1
17303 if test "$wxUSE_SASH" = "yes"; then
17304 cat >> confdefs.h
<<\EOF
17305 #define wxUSE_SASH 1
17308 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17311 if test "$wxUSE_SCROLLBAR" = "yes"; then
17312 cat >> confdefs.h
<<\EOF
17313 #define wxUSE_SCROLLBAR 1
17317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17320 if test "$wxUSE_SLIDER" = "yes"; then
17321 cat >> confdefs.h
<<\EOF
17322 #define wxUSE_SLIDER 1
17328 if test "$wxUSE_SPINBTN" = "yes"; then
17329 cat >> confdefs.h
<<\EOF
17330 #define wxUSE_SPINBTN 1
17336 if test "$wxUSE_SPINCTRL" = "yes"; then
17337 cat >> confdefs.h
<<\EOF
17338 #define wxUSE_SPINCTRL 1
17344 if test "$wxUSE_SPLITTER" = "yes"; then
17345 cat >> confdefs.h
<<\EOF
17346 #define wxUSE_SPLITTER 1
17349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17352 if test "$wxUSE_STATBMP" = "yes"; then
17353 cat >> confdefs.h
<<\EOF
17354 #define wxUSE_STATBMP 1
17360 if test "$wxUSE_STATBOX" = "yes"; then
17361 cat >> confdefs.h
<<\EOF
17362 #define wxUSE_STATBOX 1
17368 if test "$wxUSE_STATTEXT" = "yes"; then
17369 cat >> confdefs.h
<<\EOF
17370 #define wxUSE_STATTEXT 1
17376 if test "$wxUSE_STATLINE" = "yes"; then
17377 if test "$wxUSE_WINE" = 1 ; then
17378 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17380 cat >> confdefs.h
<<\EOF
17381 #define wxUSE_STATLINE 1
17388 if test "$wxUSE_STATUSBAR" = "yes"; then
17389 cat >> confdefs.h
<<\EOF
17390 #define wxUSE_STATUSBAR 1
17395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17398 if test "$wxUSE_TABDIALOG" = "yes"; then
17399 cat >> confdefs.h
<<\EOF
17400 #define wxUSE_TAB_DIALOG 1
17403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17406 if test "$wxUSE_TEXTCTRL" = "yes"; then
17407 cat >> confdefs.h
<<\EOF
17408 #define wxUSE_TEXTCTRL 1
17412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17415 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17416 if test "$wxUSE_MAC" = 1; then
17417 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17421 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17422 cat >> confdefs.h
<<\EOF
17423 #define wxUSE_TOGGLEBTN 1
17430 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17431 cat >> confdefs.h
<<\EOF
17432 #define wxUSE_TOOLBAR_SIMPLE 1
17435 wxUSE_TOOLBAR
="yes"
17439 if test "$wxUSE_TOOLBAR" = "yes"; then
17440 cat >> confdefs.h
<<\EOF
17441 #define wxUSE_TOOLBAR 1
17446 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17447 wxUSE_TOOLBAR_NATIVE
="yes"
17450 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17451 cat >> confdefs.h
<<\EOF
17452 #define wxUSE_TOOLBAR_NATIVE 1
17458 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17461 if test "$wxUSE_TOOLTIPS" = "yes"; then
17462 if test "$wxUSE_MOTIF" = 1; then
17463 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17465 if test "$wxUSE_WINE" = 1; then
17466 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17468 cat >> confdefs.h
<<\EOF
17469 #define wxUSE_TOOLTIPS 1
17476 if test "$wxUSE_TREECTRL" = "yes"; then
17477 if test "$wxUSE_IMAGLIST" = "yes"; then
17478 cat >> confdefs.h
<<\EOF
17479 #define wxUSE_TREECTRL 1
17483 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17485 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17489 if test "$wxUSE_POPUPWIN" = "yes"; then
17490 if test "$wxUSE_MAC" = 1; then
17491 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17493 cat >> confdefs.h
<<\EOF
17494 #define wxUSE_POPUPWIN 1
17501 if test "$USES_CONTROLS" = 1; then
17502 cat >> confdefs.h
<<\EOF
17503 #define wxUSE_CONTROLS 1
17510 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17511 cat >> confdefs.h
<<\EOF
17512 #define wxUSE_DRAGIMAGE 1
17515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17518 if test "$wxUSE_MENUS" = "yes"; then
17519 cat >> confdefs.h
<<\EOF
17520 #define wxUSE_MENUS 1
17523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17526 if test "$wxUSE_METAFILE" = "yes"; then
17527 cat >> confdefs.h
<<\EOF
17528 #define wxUSE_METAFILE 1
17533 if test "$wxUSE_MIMETYPE" = "yes"; then
17534 cat >> confdefs.h
<<\EOF
17535 #define wxUSE_MIMETYPE 1
17540 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17541 cat >> confdefs.h
<<\EOF
17542 #define wxUSE_SYSTEM_OPTIONS 1
17547 if test "$wxUSE_MINIFRAME" = "yes"; then
17548 cat >> confdefs.h
<<\EOF
17549 #define wxUSE_MINIFRAME 1
17552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17555 if test "$wxUSE_HTML" = "yes"; then
17556 cat >> confdefs.h
<<\EOF
17557 #define wxUSE_HTML 1
17560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17561 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17564 if test "$wxUSE_VALIDATORS" = "yes"; then
17565 cat >> confdefs.h
<<\EOF
17566 #define wxUSE_VALIDATORS 1
17569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17572 if test "$wxUSE_IMAGE" = "yes" ; then
17573 cat >> confdefs.h
<<\EOF
17574 #define wxUSE_IMAGE 1
17579 if test "$wxUSE_GIF" = "yes" ; then
17580 cat >> confdefs.h
<<\EOF
17581 #define wxUSE_GIF 1
17586 if test "$wxUSE_PCX" = "yes" ; then
17587 cat >> confdefs.h
<<\EOF
17588 #define wxUSE_PCX 1
17593 if test "$wxUSE_PNM" = "yes" ; then
17594 cat >> confdefs.h
<<\EOF
17595 #define wxUSE_PNM 1
17600 if test "$wxUSE_XPM" = "yes" ; then
17601 cat >> confdefs.h
<<\EOF
17602 #define wxUSE_XPM 1
17608 if test "$wxUSE_CHOICEDLG" = "yes"; then
17609 cat >> confdefs.h
<<\EOF
17610 #define wxUSE_CHOICEDLG 1
17615 if test "$wxUSE_COLOURDLG" = "yes"; then
17616 cat >> confdefs.h
<<\EOF
17617 #define wxUSE_COLOURDLG 1
17622 if test "$wxUSE_FILEDLG" = "yes"; then
17623 cat >> confdefs.h
<<\EOF
17624 #define wxUSE_FILEDLG 1
17629 if test "$wxUSE_FONTDLG" = "yes"; then
17630 cat >> confdefs.h
<<\EOF
17631 #define wxUSE_FONTDLG 1
17636 if test "$wxUSE_DIRDLG" = "yes"; then
17637 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17638 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17640 if test "$wxUSE_TREECTRL" != "yes"; then
17641 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17643 cat >> confdefs.h
<<\EOF
17644 #define wxUSE_DIRDLG 1
17651 if test "$wxUSE_MSGDLG" = "yes"; then
17652 cat >> confdefs.h
<<\EOF
17653 #define wxUSE_MSGDLG 1
17658 if test "$wxUSE_NUMBERDLG" = "yes"; then
17659 cat >> confdefs.h
<<\EOF
17660 #define wxUSE_NUMBERDLG 1
17665 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17666 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17667 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17669 cat >> confdefs.h
<<\EOF
17670 #define wxUSE_PROGRESSDLG 1
17676 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17677 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17678 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17680 cat >> confdefs.h
<<\EOF
17681 #define wxUSE_STARTUP_TIPS 1
17687 if test "$wxUSE_TEXTDLG" = "yes"; then
17688 cat >> confdefs.h
<<\EOF
17689 #define wxUSE_TEXTDLG 1
17694 if test "$wxUSE_WIZARDDLG" = "yes"; then
17695 cat >> confdefs.h
<<\EOF
17696 #define wxUSE_WIZARDDLG 1
17699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17703 if test "$cross_compiling" = "yes"; then
17706 OSINFO
=`uname -s -r -m`
17707 OSINFO
="\"$OSINFO\""
17710 cat >> confdefs.h
<<EOF
17711 #define WXWIN_OS_DESCRIPTION $OSINFO
17716 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17717 OPENGL_LIBS
="$OPENGL_LINK"
17719 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17720 if test "$wxUSE_MAC" = 1 ; then
17721 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17723 if test "$wxUSE_GUI" = "yes"; then
17724 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17727 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17729 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17730 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17731 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17733 if test "$wxUSE_GTK" = 1; then
17734 WXCONFIG_INCLUDE
=""
17736 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17739 if test "$GXX" = yes ; then
17740 CXXWARNINGS
="-Wall"
17742 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17744 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17745 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17747 LDFLAGS
="$LDFLAGS $PROFILE"
17749 if test "$wxUSE_GUI" = "yes"; then
17751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17752 drawing dynamic event font fractal image \
17753 minimal richedit widgets"
17755 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17759 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17764 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17859 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17860 echo "configure:17861: checking whether ${MAKE-make} sets \${MAKE}" >&5
17861 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17862 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17863 echo $ac_n "(cached) $ac_c" 1>&6
17865 cat > conftestmake
<<\EOF
17867 @
echo 'ac_maketemp="${MAKE}"'
17869 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17870 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17871 if test -n "$ac_maketemp"; then
17872 eval ac_cv_prog_make_
${ac_make}_set
=yes
17874 eval ac_cv_prog_make_
${ac_make}_set
=no
17878 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17879 echo "$ac_t""yes" 1>&6
17882 echo "$ac_t""no" 1>&6
17883 SET_MAKE
="MAKE=${MAKE-make}"
17887 if test -d include
; then
17888 if test -d include
/wx
; then
17889 if test -d include
/wx
/${SETUPH_DIR}; then
17890 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17891 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17899 if test "$wxUSE_GUI" = "yes"; then
17900 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17901 wx_cv_path_ifs
=$PATH_IFS
17902 wx_cv_program_ext
=$PROGRAM_EXT
17903 wx_cv_target_library
=$WX_TARGET_LIBRARY
17904 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17905 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17906 wx_cv_target_library wx_cv_target_libtype
17907 subdirs
="demos samples utils contrib"
17912 cat > confcache
<<\EOF
17913 # This file is a shell script that caches the results of configure
17914 # tests run on this system so they can be shared between configure
17915 # scripts and configure runs. It is not useful on other systems.
17916 # If it contains results you don't want to keep, you may remove or edit it.
17918 # By default, configure uses ./config.cache as the cache file,
17919 # creating it if it does not exist already. You can give configure
17920 # the --cache-file=FILE option to use a different cache file; that is
17921 # what configure does when it calls configure scripts in
17922 # subdirectories, so they share the cache.
17923 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17924 # config.status only pays attention to the cache file if you give it the
17925 # --recheck option to rerun configure.
17928 # The following way of writing the cache mishandles newlines in values,
17929 # but we know of no workaround that is simple, portable, and efficient.
17930 # So, don't put newlines in cache variables' values.
17931 # Ultrix sh set writes to stderr and can't be redirected directly,
17932 # and sets the high bit in the cache file unless we assign to the vars.
17934 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17936 # `set' does not quote correctly, so add quotes (double-quote substitution
17937 # turns \\\\ into \\, and sed turns \\ into \).
17939 -e "s/'/'\\\\''/g" \
17940 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17943 # `set' quotes correctly as required by POSIX, so do not add quotes.
17944 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17947 if cmp -s $cache_file confcache
; then
17950 if test -w $cache_file; then
17951 echo "updating cache $cache_file"
17952 cat confcache
> $cache_file
17954 echo "not updating unwritable cache $cache_file"
17959 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17961 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17962 # Let make expand exec_prefix.
17963 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17965 # Any assignment to VPATH causes Sun make to only execute
17966 # the first set of double-colon rules, so remove it if not needed.
17967 # If there is a colon in the path, we need to keep it.
17968 if test "x$srcdir" = x.
; then
17969 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17972 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17974 DEFS
=-DHAVE_CONFIG_H
17976 # Without the "./", some shells look in PATH for config.status.
17977 : ${CONFIG_STATUS=./config.status}
17979 echo creating
$CONFIG_STATUS
17980 rm -f $CONFIG_STATUS
17981 cat > $CONFIG_STATUS <<EOF
17983 # Generated automatically by configure.
17984 # Run this file to recreate the current configuration.
17985 # This directory was configured as follows,
17986 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17988 # $0 $ac_configure_args
17990 # Compiler output produced by configure, useful for debugging
17991 # configure, is in ./config.log if it exists.
17993 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17996 case "\$ac_option" in
17997 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17998 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17999 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18000 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18001 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18003 -help | --help | --hel | --he | --h)
18004 echo "\$ac_cs_usage"; exit 0 ;;
18005 *) echo "\$ac_cs_usage"; exit 1 ;;
18009 ac_given_srcdir=$srcdir
18010 ac_given_INSTALL="$INSTALL"
18012 trap 'rm -fr `echo "
18018 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18020 cat >> $CONFIG_STATUS <<EOF
18022 # Protect against being on the right side of a sed subst in config.status.
18023 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18024 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18028 s%@CFLAGS@%$CFLAGS%g
18029 s%@CPPFLAGS@%$CPPFLAGS%g
18030 s%@CXXFLAGS@%$CXXFLAGS%g
18031 s%@FFLAGS@%$FFLAGS%g
18033 s%@LDFLAGS@%$LDFLAGS%g
18035 s%@exec_prefix@%$exec_prefix%g
18036 s%@prefix@%$prefix%g
18037 s%@program_transform_name@%$program_transform_name%g
18038 s%@bindir@%$bindir%g
18039 s%@sbindir@%$sbindir%g
18040 s%@libexecdir@%$libexecdir%g
18041 s%@datadir@%$datadir%g
18042 s%@sysconfdir@%$sysconfdir%g
18043 s%@sharedstatedir@%$sharedstatedir%g
18044 s%@localstatedir@%$localstatedir%g
18045 s%@libdir@%$libdir%g
18046 s%@includedir@%$includedir%g
18047 s%@oldincludedir@%$oldincludedir%g
18048 s%@infodir@%$infodir%g
18049 s%@mandir@%$mandir%g
18051 s%@host_alias@%$host_alias%g
18052 s%@host_cpu@%$host_cpu%g
18053 s%@host_vendor@%$host_vendor%g
18054 s%@host_os@%$host_os%g
18055 s%@target@%$target%g
18056 s%@target_alias@%$target_alias%g
18057 s%@target_cpu@%$target_cpu%g
18058 s%@target_vendor@%$target_vendor%g
18059 s%@target_os@%$target_os%g
18061 s%@build_alias@%$build_alias%g
18062 s%@build_cpu@%$build_cpu%g
18063 s%@build_vendor@%$build_vendor%g
18064 s%@build_os@%$build_os%g
18068 s%@CXXCPP@%$CXXCPP%g
18069 s%@RANLIB@%$RANLIB%g
18071 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18072 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18073 s%@INSTALL_DATA@%$INSTALL_DATA%g
18077 s%@LEXLIB@%$LEXLIB%g
18079 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18080 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18081 s%@GTK_LIBS@%$GTK_LIBS%g
18082 s%@GTK_CONFIG@%$GTK_CONFIG%g
18083 s%@X_CFLAGS@%$X_CFLAGS%g
18084 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18085 s%@X_LIBS@%$X_LIBS%g
18086 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18089 s%@LEX_STEM@%$LEX_STEM%g
18090 s%@PATH_IFS@%$PATH_IFS%g
18091 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18092 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18093 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18094 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18095 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18096 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18097 s%@WX_LIBRARY@%$WX_LIBRARY%g
18098 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18099 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18100 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18101 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18102 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18103 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18104 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18105 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18106 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18107 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18108 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18109 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18110 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18111 s%@WX_ALL@%$WX_ALL%g
18112 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18113 s%@SHARED_LD@%$SHARED_LD%g
18114 s%@PIC_FLAG@%$PIC_FLAG%g
18115 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18116 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18117 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18118 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18119 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18120 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18121 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18122 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18123 s%@USE_GUI@%$USE_GUI%g
18124 s%@AFMINSTALL@%$AFMINSTALL%g
18125 s%@SETUPH_DIR@%$SETUPH_DIR%g
18126 s%@TOOLKIT@%$TOOLKIT%g
18127 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18128 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18129 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18130 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18131 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18132 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18133 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18134 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18135 s%@GUIDIST@%$GUIDIST%g
18136 s%@PORT_FILES@%$PORT_FILES%g
18137 s%@DISTDIR@%$DISTDIR%g
18138 s%@RPM_SPEC@%$RPM_SPEC%g
18139 s%@RPM_FILES@%$RPM_FILES%g
18140 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18141 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18142 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18143 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18144 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18145 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18146 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18147 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18148 s%@EXTRADEFS@%$EXTRADEFS%g
18149 s%@LD_LIBS@%$LD_LIBS%g
18150 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18151 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18152 s%@RESPROGRAM@%$RESPROGRAM%g
18153 s%@RESCOMP@%$RESCOMP%g
18154 s%@RESFLAGS@%$RESFLAGS%g
18155 s%@REZFLAGS@%$REZFLAGS%g
18156 s%@DEREZFLAGS@%$DEREZFLAGS%g
18157 s%@LIBWXMACRES@%$LIBWXMACRES%g
18158 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18159 s%@DLLTOOL@%$DLLTOOL%g
18163 s%@MAKEINFO@%$MAKEINFO%g
18164 s%@SET_MAKE@%$SET_MAKE%g
18165 s%@subdirs@%$subdirs%g
18170 cat >> $CONFIG_STATUS <<\EOF
18172 # Split the substitutions into bite-sized pieces for seds with
18173 # small command number limits, like on Digital OSF/1 and HP-UX.
18174 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18175 ac_file
=1 # Number of current file.
18176 ac_beg
=1 # First line for current file.
18177 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18180 while $ac_more_lines; do
18181 if test $ac_beg -gt 1; then
18182 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18184 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18186 if test ! -s conftest.s
$ac_file; then
18187 ac_more_lines
=false
18188 rm -f conftest.s
$ac_file
18190 if test -z "$ac_sed_cmds"; then
18191 ac_sed_cmds
="sed -f conftest.s$ac_file"
18193 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18195 ac_file
=`expr $ac_file + 1`
18197 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18200 if test -z "$ac_sed_cmds"; then
18205 cat >> $CONFIG_STATUS <<EOF
18207 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18214 cat >> $CONFIG_STATUS <<\EOF
18215 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18216 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18218 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18219 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18220 *) ac_file_in
="${ac_file}.in" ;;
18223 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18225 # Remove last slash and all that follows it. Not all systems have dirname.
18226 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18227 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18228 # The file is in a subdirectory.
18229 test ! -d "$ac_dir" && mkdir "$ac_dir"
18230 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18231 # A "../" for each directory in $ac_dir_suffix.
18232 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18234 ac_dir_suffix
= ac_dots
=
18237 case "$ac_given_srcdir" in
18239 if test -z "$ac_dots"; then top_srcdir
=.
18240 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18241 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18242 *) # Relative path.
18243 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18244 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18247 case "$ac_given_INSTALL" in
18248 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18249 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18252 echo creating
"$ac_file"
18254 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18256 *Makefile
*) ac_comsub
="1i\\
18257 # $configure_input" ;;
18261 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18263 s%@configure_input@%$configure_input%g
18264 s%@srcdir@%$srcdir%g
18265 s%@top_srcdir@%$top_srcdir%g
18266 s%@INSTALL@%$INSTALL%g
18267 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18271 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18272 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18274 # ac_d sets the value in "#define NAME VALUE" lines.
18275 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18276 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18279 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18280 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18281 ac_uB
='\([ ]\)%\1#\2define\3'
18284 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18285 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18286 ac_eB
='$%\1#\2define\3'
18290 if test "${CONFIG_HEADERS+set}" != set; then
18292 cat >> $CONFIG_STATUS <<EOF
18293 CONFIG_HEADERS="setup.h:setup.h.in"
18295 cat >> $CONFIG_STATUS <<\EOF
18297 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18298 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18300 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18301 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18302 *) ac_file_in
="${ac_file}.in" ;;
18305 echo creating
$ac_file
18307 rm -f conftest.frag conftest.
in conftest.out
18308 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18309 cat $ac_file_inputs > conftest.
in
18313 # Transform confdefs.h into a sed script conftest.vals that substitutes
18314 # the proper values into config.h.in to produce config.h. And first:
18315 # Protect against being on the right side of a sed subst in config.status.
18316 # Protect against being in an unquoted here document in config.status.
18317 rm -f conftest.vals
18318 cat > conftest.hdr
<<\EOF
18321 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18325 sed -n -f conftest.hdr confdefs.h > conftest.vals
18328 # This sed command replaces #undef with comments. This is necessary, for
18329 # example, in the case of _POSIX_SOURCE, which is predefined and required
18330 # on some systems where configure will not decide to define it.
18331 cat >> conftest.vals <<\EOF
18332 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18335 # Break up conftest.vals because some shells have a limit on
18336 # the size of here documents, and old seds have small limits too.
18338 rm -f conftest.tail
18341 ac_lines=`grep -c . conftest.vals
`
18342 # grep -c gives empty output for an empty file on some AIX systems.
18343 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18344 # Write a limited-size here document to conftest.frag.
18345 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18346 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18348 sed -f conftest.frag conftest.in > conftest.out
18350 mv conftest.out conftest.in
18351 ' >> $CONFIG_STATUS
18352 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18353 rm -f conftest.vals
18354 mv conftest.tail conftest.vals
18356 rm -f conftest.vals
18358 cat >> $CONFIG_STATUS <<\EOF
18359 rm -f conftest.frag conftest.h
18360 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18361 cat conftest.in >> conftest.h
18363 if cmp -s $ac_file conftest.h 2>/dev/null; then
18364 echo "$ac_file is unchanged"
18367 # Remove last slash and all that follows it. Not all systems have dirname.
18368 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18369 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18370 # The file is in a subdirectory.
18371 test ! -d "$ac_dir" && mkdir "$ac_dir"
18374 mv conftest.h $ac_file
18379 cat >> $CONFIG_STATUS <<EOF
18381 SETUPH_DIR="${SETUPH_DIR}"
18382 TOOLKIT_NAME="${TOOLKIT_NAME}"
18387 cat >> $CONFIG_STATUS <<\EOF
18389 if test ! -f wx${TOOLKIT_NAME}-config; then
18391 mv wx-config wx${TOOLKIT_NAME}-config
18392 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18396 if test ! -d lib; then
18399 if test ! -d lib/wx; then
18402 if test ! -d lib/wx/include; then
18403 mkdir lib/wx/include
18405 if test ! -d lib/wx/include/wx; then
18406 mkdir lib/wx/include/wx
18408 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18409 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18411 if test -f setup.h; then
18412 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18416 if test ! -d include; then
18419 if test ! -d include/wx; then
18422 if test ! -d include/wx/${SETUPH_DIR}; then
18423 mkdir include/wx/${SETUPH_DIR}
18425 if test -f setup.h; then
18426 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18432 chmod +x $CONFIG_STATUS
18433 rm -fr confdefs* $ac_clean_files
18434 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18436 if test "$no_recursion" != yes; then
18438 # Remove --cache-file and --srcdir arguments so they do not pile up.
18439 ac_sub_configure_args=
18441 for ac_arg in $ac_configure_args; do
18442 if test -n "$ac_prev"; then
18447 -cache-file | --cache-file | --cache-fil | --cache-fi \
18448 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18449 ac_prev=cache_file ;;
18450 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18451 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18453 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18455 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18457 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18461 for ac_config_dir in demos samples utils contrib; do
18463 # Do not complain, so a configure script can configure whichever
18464 # parts of a large source tree are present.
18465 if test ! -d $srcdir/$ac_config_dir; then
18469 echo configuring in $ac_config_dir
18474 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18476 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18484 # A "../" for each directory in /$ac_config_dir.
18485 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18488 .) # No --srcdir option. We are building in place.
18489 ac_sub_srcdir=$srcdir ;;
18490 /*) # Absolute path.
18491 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18492 *) # Relative path.
18493 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18496 # Check for guested configure; otherwise get Cygnus style configure.
18497 if test -f $ac_sub_srcdir/configure; then
18498 ac_sub_configure=$ac_sub_srcdir/configure
18499 elif test -f $ac_sub_srcdir/configure.in; then
18500 ac_sub_configure=$ac_configure
18502 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18506 # The recursion is here.
18507 if test -n "$ac_sub_configure"; then
18509 # Make the cache file name correct relative to the subdirectory.
18510 case "$cache_file" in
18511 /*) ac_sub_cache_file=$cache_file ;;
18512 *) # Relative path.
18513 ac_sub_cache_file="$ac_dots$cache_file" ;;
18515 case "$ac_given_INSTALL" in
18516 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18517 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18520 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18521 # The eval makes quoting arguments work.
18522 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18525 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }