3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-burnt_name create set name in shared library "
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
107 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
109 --enable-debug_info create code with debugging information"
111 --enable-debug_gdb create code with extra GDB debugging information"
113 --enable-debug_cntxt use wxDebugContext"
115 --enable-mem_tracing create code with memory tracing"
117 --enable-profile create code with profiling information"
119 --enable-no_rtti create code without RTTI information"
121 --enable-no_exceptions create code without exceptions information"
123 --enable-permissive compile code disregarding strict ANSI"
125 --enable-no_deps create code without dependency information"
127 --enable-compat20 enable wxWin 2.0 compatibility"
129 --enable-compat22 enable wxWin 2.2 compatibility"
131 --enable-intl use internationalization system"
133 --enable-config use wxConfig (and derived) classes"
135 --enable-sockets use socket/network classes"
137 --enable-ipc use interprocess communication (wxSocket etc.)"
139 --enable-cmdline use wxCmdLineParser class"
141 --enable-datetime use wxDateTime class"
143 --enable-timedate use obsolete wxDate/wxTime classes"
145 --enable-stopwatch use wxStopWatch class"
147 --enable-dialupman use dialup network classes"
149 --enable-apple_ieee use the Apple IEEE codec"
151 --enable-timer use wxTimer class"
153 --enable-wave use wxWave class"
155 --enable-fraction use wxFraction class"
157 --enable-dynlib use wxLibrary class for DLL loading"
159 --enable-longlong use wxLongLong class"
161 --enable-geometry use geometry class"
163 --enable-log use logging system"
165 --enable-streams use wxStream etc classes"
167 --enable-file use wxFile classes"
169 --enable-ffile use wxFFile classes"
171 --enable-textfile use wxTextFile classes"
173 --enable-fontmap use font encodings conversion classes"
175 --enable-unicode compile wxString with Unicode support"
177 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-treelayout use wxTreeLayout classes"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-propsheet use wxPropertySheet class"
275 --enable-radiobox use wxRadioBox class"
277 --enable-radiobtn use wxRadioButton class"
279 --enable-sash use wxSashWindow class"
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
283 --enable-slider use wxSlider class"
285 --enable-spinbtn use wxSpinButton class"
287 --enable-spinctrl use wxSpinCtrl class"
289 --enable-splitter use wxSplitterWindow class"
291 --enable-statbmp use wxStaticBitmap class"
293 --enable-statbox use wxStaticBox class"
295 --enable-statline use wxStaticLine class"
297 --enable-stattext use wxStaticText class"
299 --enable-statusbar use wxStatusBar class"
301 --enable-tabdialog use wxTabControl class"
303 --enable-textctrl use wxTextCtrl class"
305 --enable-togglebtn use wxToggleButton class"
307 --enable-toolbar use wxToolBar class"
309 --enable-tbarnative use native wxToolBar class"
311 --enable-tbarsmpl use wxToolBarSimple class"
313 --enable-treectrl use wxTreeCtrl class"
315 --enable-popupwin use wxPopUpWindow class"
317 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
319 --enable-choicedlg use wxChoiceDialog"
321 --enable-coldlg use wxColourDialog"
323 --enable-filedlg use wxFileDialog"
325 --enable-finddlg use wxFindReplaceDialog"
327 --enable-fontdlg use wxFontDialog"
329 --enable-dirdlg use wxDirDialog"
331 --enable-msgdlg use wxMessageDialog"
333 --enable-numberdlg use wxNumberEntryDialog"
335 --enable-textdlg use wxTextDialog"
337 --enable-tipdlg use startup tips"
339 --enable-progressdlg use wxProgressDialog"
341 --enable-wizarddlg use wxWizard"
343 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
345 --enable-miniframe use wxMiniFrame class"
347 --enable-tooltips use wxToolTip class"
349 --enable-splines use spline drawing code"
351 --enable-validators use wxValidator and derived classes"
353 --enable-busyinfo use wxBusyInfo"
355 --enable-joystick compile in joystick support (Linux only)"
357 --enable-metafiles use wxMetaFile (Windows only)"
359 --enable-dragimage use wxDragImage"
361 --enable-image use wxImage class"
363 --enable-gif use gif images (GIF file format)"
365 --enable-pcx use pcx images (PCX file format)"
367 --enable-pnm use pnm images (PNM file format)"
369 --enable-xpm use xpm images (XPM file format)"
371 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
373 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
375 --disable-gtktest Do not try to compile and run a test GTK program"
377 --with-x use the X Window System"
379 # Initialize some variables set by options.
380 # The variables have the same names as the options, with
381 # dashes changed to underlines.
383 cache_file
=.
/config.cache
392 program_transform_name
=s
,x
,x
,
400 bindir
='${exec_prefix}/bin'
401 sbindir
='${exec_prefix}/sbin'
402 libexecdir
='${exec_prefix}/libexec'
403 datadir
='${prefix}/share'
404 sysconfdir
='${prefix}/etc'
405 sharedstatedir
='${prefix}/com'
406 localstatedir
='${prefix}/var'
407 libdir
='${exec_prefix}/lib'
408 includedir
='${prefix}/include'
409 oldincludedir
='/usr/include'
410 infodir
='${prefix}/info'
411 mandir
='${prefix}/man'
413 # Initialize some other variables.
416 SHELL
=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
424 # If the previous option needs an argument, assign it.
425 if test -n "$ac_prev"; then
426 eval "$ac_prev=\$ac_option"
432 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
436 # Accept the important Cygnus configure options, so we can diagnose typos.
440 -bindir | --bindir | --bindi | --bind | --bin | --bi)
442 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
443 bindir
="$ac_optarg" ;;
445 -build | --build | --buil | --bui | --bu)
447 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
448 build
="$ac_optarg" ;;
450 -cache-file | --cache-file | --cache-fil | --cache-fi \
451 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
452 ac_prev
=cache_file
;;
453 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
454 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
455 cache_file
="$ac_optarg" ;;
457 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
459 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
461 datadir
="$ac_optarg" ;;
463 -disable-* | --disable-*)
464 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
465 # Reject names that are not valid shell variable names.
466 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
467 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
469 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
470 eval "enable_${ac_feature}=no" ;;
472 -enable-* | --enable-*)
473 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
474 # Reject names that are not valid shell variable names.
475 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
476 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
478 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
483 eval "enable_${ac_feature}='$ac_optarg'" ;;
485 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
486 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
487 | --exec | --exe | --ex)
488 ac_prev
=exec_prefix
;;
489 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
490 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
491 | --exec=* | --exe=* | --ex=*)
492 exec_prefix
="$ac_optarg" ;;
494 -gas | --gas | --ga | --g)
495 # Obsolete; use --with-gas.
498 -help | --help | --hel | --he)
499 # Omit some internal or obsolete options to make the list less imposing.
500 # This message is too long to be a string in the A/UX 3.1 sh.
502 Usage: configure [options] [host]
503 Options: [defaults in brackets after descriptions]
505 --cache-file=FILE cache test results in FILE
506 --help print this message
507 --no-create do not create output files
508 --quiet, --silent do not print \`checking...' messages
509 --version print the version of autoconf that created configure
510 Directory and file names:
511 --prefix=PREFIX install architecture-independent files in PREFIX
513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
515 --bindir=DIR user executables in DIR [EPREFIX/bin]
516 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
517 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
518 --datadir=DIR read-only architecture-independent data in DIR
520 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
521 --sharedstatedir=DIR modifiable architecture-independent data in DIR
523 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
524 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
525 --includedir=DIR C header files in DIR [PREFIX/include]
526 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
527 --infodir=DIR info documentation in DIR [PREFIX/info]
528 --mandir=DIR man documentation in DIR [PREFIX/man]
529 --srcdir=DIR find the sources in DIR [configure dir or ..]
530 --program-prefix=PREFIX prepend PREFIX to installed program names
531 --program-suffix=SUFFIX append SUFFIX to installed program names
532 --program-transform-name=PROGRAM
533 run sed PROGRAM on installed program names
537 --build=BUILD configure for building on BUILD [BUILD=HOST]
538 --host=HOST configure for HOST [guessed]
539 --target=TARGET configure for TARGET [TARGET=HOST]
540 Features and packages:
541 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
542 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
543 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
544 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
545 --x-includes=DIR X include files are in DIR
546 --x-libraries=DIR X library files are in DIR
548 if test -n "$ac_help"; then
549 echo "--enable and --with options recognized:$ac_help"
553 -host | --host | --hos | --ho)
555 -host=* | --host=* | --hos=* | --ho=*)
558 -includedir | --includedir | --includedi | --included | --include \
559 | --includ | --inclu | --incl | --inc)
560 ac_prev
=includedir
;;
561 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
562 | --includ=* | --inclu=* | --incl=* | --inc=*)
563 includedir
="$ac_optarg" ;;
565 -infodir | --infodir | --infodi | --infod | --info | --inf)
567 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
568 infodir
="$ac_optarg" ;;
570 -libdir | --libdir | --libdi | --libd)
572 -libdir=* | --libdir=* | --libdi=* | --libd=*)
573 libdir
="$ac_optarg" ;;
575 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
576 | --libexe | --libex | --libe)
577 ac_prev
=libexecdir
;;
578 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
579 | --libexe=* | --libex=* | --libe=*)
580 libexecdir
="$ac_optarg" ;;
582 -localstatedir | --localstatedir | --localstatedi | --localstated \
583 | --localstate | --localstat | --localsta | --localst \
584 | --locals | --local | --loca | --loc | --lo)
585 ac_prev
=localstatedir
;;
586 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
587 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
588 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
589 localstatedir
="$ac_optarg" ;;
591 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
593 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
594 mandir
="$ac_optarg" ;;
597 # Obsolete; use --without-fp.
600 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
604 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
605 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
608 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
609 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
610 | --oldin | --oldi | --old | --ol | --o)
611 ac_prev
=oldincludedir
;;
612 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
613 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
614 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
615 oldincludedir
="$ac_optarg" ;;
617 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
619 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
620 prefix
="$ac_optarg" ;;
622 -program-prefix | --program-prefix | --program-prefi | --program-pref \
623 | --program-pre | --program-pr | --program-p)
624 ac_prev
=program_prefix
;;
625 -program-prefix=* | --program-prefix=* | --program-prefi=* \
626 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
627 program_prefix
="$ac_optarg" ;;
629 -program-suffix | --program-suffix | --program-suffi | --program-suff \
630 | --program-suf | --program-su | --program-s)
631 ac_prev
=program_suffix
;;
632 -program-suffix=* | --program-suffix=* | --program-suffi=* \
633 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
634 program_suffix
="$ac_optarg" ;;
636 -program-transform-name | --program-transform-name \
637 | --program-transform-nam | --program-transform-na \
638 | --program-transform-n | --program-transform- \
639 | --program-transform | --program-transfor \
640 | --program-transfo | --program-transf \
641 | --program-trans | --program-tran \
642 | --progr-tra | --program-tr | --program-t)
643 ac_prev
=program_transform_name
;;
644 -program-transform-name=* | --program-transform-name=* \
645 | --program-transform-nam=* | --program-transform-na=* \
646 | --program-transform-n=* | --program-transform-=* \
647 | --program-transform=* | --program-transfor=* \
648 | --program-transfo=* | --program-transf=* \
649 | --program-trans=* | --program-tran=* \
650 | --progr-tra=* | --program-tr=* | --program-t=*)
651 program_transform_name
="$ac_optarg" ;;
653 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
654 | -silent | --silent | --silen | --sile | --sil)
657 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
659 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
661 sbindir
="$ac_optarg" ;;
663 -sharedstatedir | --sharedstatedir | --sharedstatedi \
664 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
665 | --sharedst | --shareds | --shared | --share | --shar \
667 ac_prev
=sharedstatedir
;;
668 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
669 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
670 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
672 sharedstatedir
="$ac_optarg" ;;
674 -site | --site | --sit)
676 -site=* | --site=* | --sit=*)
679 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
681 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
682 srcdir
="$ac_optarg" ;;
684 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
685 | --syscon | --sysco | --sysc | --sys | --sy)
686 ac_prev
=sysconfdir
;;
687 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
688 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
689 sysconfdir
="$ac_optarg" ;;
691 -target | --target | --targe | --targ | --tar | --ta | --t)
693 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
694 target
="$ac_optarg" ;;
696 -v | -verbose | --verbose | --verbos | --verbo | --verb)
699 -version | --version | --versio | --versi | --vers)
700 echo "configure generated by autoconf version 2.13"
704 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
705 # Reject names that are not valid shell variable names.
706 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
707 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
709 ac_package
=`echo $ac_package| sed 's/-/_/g'`
714 eval "with_${ac_package}='$ac_optarg'" ;;
716 -without-* | --without-*)
717 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
718 # Reject names that are not valid shell variable names.
719 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
720 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
722 ac_package
=`echo $ac_package| sed 's/-/_/g'`
723 eval "with_${ac_package}=no" ;;
726 # Obsolete; use --with-x.
729 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
730 | --x-incl | --x-inc | --x-in | --x-i)
731 ac_prev
=x_includes
;;
732 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
733 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
734 x_includes
="$ac_optarg" ;;
736 -x-libraries | --x-libraries | --x-librarie | --x-librari \
737 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
738 ac_prev
=x_libraries
;;
739 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
740 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
741 x_libraries
="$ac_optarg" ;;
743 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
747 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
748 echo "configure: warning: $ac_option: invalid host type" 1>&2
750 if test "x$nonopt" != xNONE
; then
751 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
759 if test -n "$ac_prev"; then
760 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
763 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
765 # File descriptor usage:
768 # 2 errors and warnings
769 # 3 some systems may open it to /dev/tty
770 # 4 used on the Kubota Titan
771 # 6 checking for... messages and results
772 # 5 compiler messages saved in config.log
773 if test "$silent" = yes; then
781 This file contains any messages produced by compilers while
782 running configure, to aid debugging if configure makes a mistake.
785 # Strip out --no-create and --no-recursion so they do not pile up.
786 # Also quote any args containing shell metacharacters.
791 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
792 | --no-cr | --no-c) ;;
793 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
794 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
795 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
796 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
797 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
802 # Only set these to C if already set. These must not be set unconditionally
803 # because not all systems understand e.g. LANG=C (notably SCO).
804 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
805 # Non-C LC_CTYPE values break the ctype check.
806 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
807 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
808 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
809 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
811 # confdefs.h avoids OS command line length limits that DEFS can exceed.
812 rm -rf conftest
* confdefs.h
813 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
816 # A filename unique to this package, relative to the directory that
817 # configure is in, which we can look for to find out if srcdir is correct.
818 ac_unique_file
=wx
-config.
in
820 # Find the source files, if location was not specified.
821 if test -z "$srcdir"; then
822 ac_srcdir_defaulted
=yes
823 # Try the directory containing this script, then its parent.
825 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
826 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
828 if test ! -r $srcdir/$ac_unique_file; then
832 ac_srcdir_defaulted
=no
834 if test ! -r $srcdir/$ac_unique_file; then
835 if test "$ac_srcdir_defaulted" = yes; then
836 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
838 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
841 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
843 # Prefer explicitly selected file to automatically selected ones.
844 if test -z "$CONFIG_SITE"; then
845 if test "x$prefix" != xNONE
; then
846 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
848 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
851 for ac_site_file
in $CONFIG_SITE; do
852 if test -r "$ac_site_file"; then
853 echo "loading site script $ac_site_file"
858 if test -r "$cache_file"; then
859 echo "loading cache $cache_file"
862 echo "creating cache $cache_file"
867 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
868 ac_cpp
='$CPP $CPPFLAGS'
869 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
870 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
871 cross_compiling
=$ac_cv_prog_cc_cross
875 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
876 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
877 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
884 ac_n
= ac_c
='\c' ac_t
=
890 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
891 if test -f $ac_dir/install-sh; then
893 ac_install_sh
="$ac_aux_dir/install-sh -c"
895 elif test -f $ac_dir/install.sh
; then
897 ac_install_sh
="$ac_aux_dir/install.sh -c"
901 if test -z "$ac_aux_dir"; then
902 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
904 ac_config_guess
=$ac_aux_dir/config.guess
905 ac_config_sub
=$ac_aux_dir/config.sub
906 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
909 # Do some error checking and defaulting for the host and target type.
911 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
914 # 1. You are not allowed to specify --host, --target, and nonopt at the
916 # 2. Host defaults to nonopt.
917 # 3. If nonopt is not specified, then host defaults to the current host,
918 # as determined by config.guess.
919 # 4. Target and build default to nonopt.
920 # 5. If nonopt is not specified, then target and build default to host.
922 # The aliases save the names the user supplied, while $host etc.
923 # will get canonicalized.
924 case $host---$target---$nonopt in
925 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
926 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
930 # Make sure we can run config.sub.
931 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
932 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
935 echo $ac_n "checking host system type""... $ac_c" 1>&6
936 echo "configure:937: checking host system type" >&5
939 case "$host_alias" in
943 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
944 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
946 *) host_alias
=$nonopt ;;
950 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
951 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
952 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
953 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
954 echo "$ac_t""$host" 1>&6
956 echo $ac_n "checking target system type""... $ac_c" 1>&6
957 echo "configure:958: checking target system type" >&5
960 case "$target_alias" in
963 NONE
) target_alias
=$host_alias ;;
964 *) target_alias
=$nonopt ;;
968 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
969 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
970 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
971 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
972 echo "$ac_t""$target" 1>&6
974 echo $ac_n "checking build system type""... $ac_c" 1>&6
975 echo "configure:976: checking build system type" >&5
978 case "$build_alias" in
981 NONE
) build_alias
=$host_alias ;;
982 *) build_alias
=$nonopt ;;
986 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
987 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
988 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
989 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
990 echo "$ac_t""$build" 1>&6
992 test "$host_alias" != "$target_alias" &&
993 test "$program_prefix$program_suffix$program_transform_name" = \
995 program_prefix
=${target_alias}-
999 WX_MAJOR_VERSION_NUMBER
=2
1000 WX_MINOR_VERSION_NUMBER
=3
1003 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1004 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1039 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1041 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1046 DEFAULT_wxUSE_MOTIF
=0
1049 DEFAULT_wxUSE_WINE
=0
1051 DEFAULT_DEFAULT_wxUSE_GTK
=0
1052 DEFAULT_DEFAULT_wxUSE_MAC
=0
1053 DEFAULT_DEFAULT_wxUSE_MGL
=0
1054 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1055 DEFAULT_DEFAULT_wxUSE_MSW
=0
1056 DEFAULT_DEFAULT_wxUSE_PM
=0
1057 DEFAULT_DEFAULT_wxUSE_WINE
=0
1064 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1065 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1066 cat >> confdefs.h
<<\EOF
1073 cat >> confdefs.h
<<\EOF
1078 if test "x$TMP" = "xalpha"; then
1080 cat >> confdefs.h
<<\EOF
1085 DEFAULT_DEFAULT_wxUSE_GTK
=1
1087 *-*-irix5* | *-*-irix6* )
1090 cat >> confdefs.h
<<\EOF
1094 cat >> confdefs.h
<<\EOF
1098 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1109 #define __SOLARIS__ 1
1112 cat >> confdefs.h
<<\EOF
1116 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1117 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1123 cat >> confdefs.h
<<\EOF
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1135 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1140 cat >> confdefs.h
<<\EOF
1141 #define __FREEBSD__ 1
1144 cat >> confdefs.h
<<\EOF
1148 DEFAULT_DEFAULT_wxUSE_GTK
=1
1153 cat >> confdefs.h
<<\EOF
1154 #define __FREEBSD__ 1
1157 cat >> confdefs.h
<<\EOF
1158 #define __OPENBSD__ 1
1161 DEFAULT_DEFAULT_wxUSE_GTK
=1
1166 cat >> confdefs.h
<<\EOF
1167 #define __FREEBSD__ 1
1170 cat >> confdefs.h
<<\EOF
1171 #define __NETBSD__ 1
1174 DEFAULT_DEFAULT_wxUSE_GTK
=1
1179 cat >> confdefs.h
<<\EOF
1183 cat >> confdefs.h
<<\EOF
1187 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1188 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1193 cat >> confdefs.h
<<\EOF
1197 cat >> confdefs.h
<<\EOF
1201 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1206 cat >> confdefs.h
<<\EOF
1210 cat >> confdefs.h
<<\EOF
1214 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 cat >> confdefs.h
<<\EOF
1232 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1235 *-*-cygwin* | *-*-mingw32* )
1238 cat >> confdefs.h
<<\EOF
1242 cat >> confdefs.h
<<\EOF
1246 cat >> confdefs.h
<<\EOF
1247 #define __WINDOWS__ 1
1250 cat >> confdefs.h
<<\EOF
1251 #define __GNUWIN32__ 1
1254 cat >> confdefs.h
<<\EOF
1258 cat >> confdefs.h
<<\EOF
1259 #define WINVER 0x0400
1263 DEFAULT_DEFAULT_wxUSE_MSW
=1
1267 cat >> confdefs.h
<<\EOF
1272 DEFAULT_DEFAULT_wxUSE_PM
=1
1278 cat >> confdefs.h
<<\EOF
1282 cat >> confdefs.h
<<\EOF
1283 #define __DARWIN__ 1
1286 cat >> confdefs.h
<<\EOF
1290 DEFAULT_DEFAULT_wxUSE_MAC
=1
1295 cat >> confdefs.h
<<\EOF
1302 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1305 if test "$USE_UNIX" = 1 ; then
1307 cat >> confdefs.h
<<\EOF
1312 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1313 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1316 if test "$USE_BEOS" = 1; then
1317 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1318 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1321 if test "$USE_LINUX" = 1; then
1322 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1323 echo "configure:1324: checking for gettext in -lc" >&5
1324 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1325 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1326 echo $ac_n "(cached) $ac_c" 1>&6
1328 ac_save_LIBS
="$LIBS"
1330 cat > conftest.
$ac_ext <<EOF
1331 #line 1332 "configure"
1332 #include "confdefs.h"
1333 /* Override any gcc2 internal prototype to avoid an error. */
1334 /* We use char because int might match the return type of a gcc2
1335 builtin and then its argument prototype would still apply. */
1342 if { (eval echo configure
:1343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1344 eval "ac_cv_lib_$ac_lib_var=yes"
1346 echo "configure: failed program was:" >&5
1347 cat conftest.
$ac_ext >&5
1349 eval "ac_cv_lib_$ac_lib_var=no"
1352 LIBS
="$ac_save_LIBS"
1355 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1356 echo "$ac_t""yes" 1>&6
1357 cat >> confdefs.h
<<\EOF
1358 #define wxHAVE_GLIBC2 1
1362 echo "$ac_t""no" 1>&6
1370 wx_arg_cache_file
="configarg.cache"
1371 echo "loading argument cache $wx_arg_cache_file"
1372 rm -f ${wx_arg_cache_file}.tmp
1373 touch ${wx_arg_cache_file}.tmp
1374 touch ${wx_arg_cache_file}
1378 if test $DEBUG_CONFIGURE = 1; then
1379 DEFAULT_wxUSE_UNIVERSAL
=no
1381 DEFAULT_wxUSE_THREADS
=yes
1383 DEFAULT_wxUSE_SHARED
=yes
1384 DEFAULT_wxUSE_BURNT_NAME
=no
1385 DEFAULT_wxUSE_OPTIMISE
=no
1386 DEFAULT_wxUSE_PROFILE
=no
1387 DEFAULT_wxUSE_NO_DEPS
=no
1388 DEFAULT_wxUSE_NO_RTTI
=no
1389 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1390 DEFAULT_wxUSE_PERMISSIVE
=no
1391 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1392 DEFAULT_wxUSE_DEBUG_INFO
=yes
1393 DEFAULT_wxUSE_DEBUG_GDB
=yes
1394 DEFAULT_wxUSE_MEM_TRACING
=no
1395 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1396 DEFAULT_wxUSE_DMALLOC
=no
1397 DEFAULT_wxUSE_APPLE_IEEE
=no
1399 DEFAULT_wxUSE_LOG
=yes
1400 DEFAULT_wxUSE_LOGWINDOW
=no
1401 DEFAULT_wxUSE_LOGGUI
=no
1403 DEFAULT_wxUSE_GUI
=yes
1404 DEFAULT_wxUSE_CONTROLS
=no
1406 DEFAULT_wxUSE_REGEX
=no
1407 DEFAULT_wxUSE_ZLIB
=no
1408 DEFAULT_wxUSE_LIBPNG
=no
1409 DEFAULT_wxUSE_LIBJPEG
=no
1410 DEFAULT_wxUSE_LIBTIFF
=no
1411 DEFAULT_wxUSE_ODBC
=no
1412 DEFAULT_wxUSE_FREETYPE
=no
1413 DEFAULT_wxUSE_OPENGL
=no
1415 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1416 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1417 DEFAULT_wxUSE_STD_IOSTREAM
=no
1418 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1419 DEFAULT_wxUSE_DATETIME
=no
1420 DEFAULT_wxUSE_TIMEDATE
=no
1421 DEFAULT_wxUSE_TIMER
=no
1422 DEFAULT_wxUSE_STOPWATCH
=no
1423 DEFAULT_wxUSE_FILE
=no
1424 DEFAULT_wxUSE_FFILE
=no
1425 DEFAULT_wxUSE_TEXTFILE
=no
1426 DEFAULT_wxUSE_WAVE
=no
1427 DEFAULT_wxUSE_INTL
=no
1428 DEFAULT_wxUSE_CONFIG
=no
1429 DEFAULT_wxUSE_FONTMAP
=no
1430 DEFAULT_wxUSE_STREAMS
=no
1431 DEFAULT_wxUSE_SOCKETS
=no
1432 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1433 DEFAULT_wxUSE_SERIAL
=no
1434 DEFAULT_wxUSE_JOYSTICK
=no
1435 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1436 DEFAULT_wxUSE_LONGLONG
=no
1437 DEFAULT_wxUSE_GEOMETRY
=no
1439 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1440 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1441 DEFAULT_wxUSE_POSTSCRIPT
=no
1443 DEFAULT_wxUSE_X_RESOURCES
=no
1444 DEFAULT_wxUSE_CLIPBOARD
=no
1445 DEFAULT_wxUSE_TOOLTIPS
=no
1446 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1447 DEFAULT_wxUSE_DRAGIMAGE
=no
1448 DEFAULT_wxUSE_SPLINES
=no
1450 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1451 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1452 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1454 DEFAULT_wxUSE_PROLOGIO
=no
1455 DEFAULT_wxUSE_RESOURCES
=no
1456 DEFAULT_wxUSE_CONSTRAINTS
=no
1457 DEFAULT_wxUSE_IPC
=no
1458 DEFAULT_wxUSE_HELP
=no
1459 DEFAULT_wxUSE_MS_HTML_HELP
=no
1460 DEFAULT_wxUSE_WXHTML_HELP
=no
1461 DEFAULT_wxUSE_TREELAYOUT
=no
1462 DEFAULT_wxUSE_METAFILE
=no
1463 DEFAULT_wxUSE_MIMETYPE
=no
1464 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1466 DEFAULT_wxUSE_COMMONDLGS
=no
1467 DEFAULT_wxUSE_CHOICEDLG
=no
1468 DEFAULT_wxUSE_COLOURDLG
=no
1469 DEFAULT_wxUSE_DIRDLG
=no
1470 DEFAULT_wxUSE_FILEDLG
=no
1471 DEFAULT_wxUSE_FINDREPLDLG
=no
1472 DEFAULT_wxUSE_FONTDLG
=no
1473 DEFAULT_wxUSE_MSGDLG
=no
1474 DEFAULT_wxUSE_NUMBERDLG
=no
1475 DEFAULT_wxUSE_TEXTDLG
=no
1476 DEFAULT_wxUSE_STARTUP_TIPS
=no
1477 DEFAULT_wxUSE_PROGRESSDLG
=no
1478 DEFAULT_wxUSE_WIZARDDLG
=no
1480 DEFAULT_wxUSE_MENUS
=no
1481 DEFAULT_wxUSE_MINIFRAME
=no
1482 DEFAULT_wxUSE_HTML
=no
1483 DEFAULT_wxUSE_FILESYSTEM
=no
1484 DEFAULT_wxUSE_FS_INET
=no
1485 DEFAULT_wxUSE_FS_ZIP
=no
1486 DEFAULT_wxUSE_BUSYINFO
=no
1487 DEFAULT_wxUSE_ZIPSTREAM
=no
1488 DEFAULT_wxUSE_VALIDATORS
=no
1490 DEFAULT_wxUSE_ACCEL
=no
1491 DEFAULT_wxUSE_BUTTON
=no
1492 DEFAULT_wxUSE_BMPBUTTON
=no
1493 DEFAULT_wxUSE_CALCTRL
=no
1494 DEFAULT_wxUSE_CARET
=no
1495 DEFAULT_wxUSE_CHECKBOX
=no
1496 DEFAULT_wxUSE_CHECKLST
=no
1497 DEFAULT_wxUSE_CHOICE
=no
1498 DEFAULT_wxUSE_COMBOBOX
=no
1499 DEFAULT_wxUSE_GAUGE
=no
1500 DEFAULT_wxUSE_GRID
=no
1501 DEFAULT_wxUSE_NEW_GRID
=no
1502 DEFAULT_wxUSE_IMAGLIST
=no
1503 DEFAULT_wxUSE_LISTBOX
=no
1504 DEFAULT_wxUSE_LISTCTRL
=no
1505 DEFAULT_wxUSE_NOTEBOOK
=no
1506 DEFAULT_wxUSE_PROPSHEET
=no
1507 DEFAULT_wxUSE_RADIOBOX
=no
1508 DEFAULT_wxUSE_RADIOBTN
=no
1509 DEFAULT_wxUSE_SASH
=no
1510 DEFAULT_wxUSE_SCROLLBAR
=no
1511 DEFAULT_wxUSE_SLIDER
=no
1512 DEFAULT_wxUSE_SPINBTN
=no
1513 DEFAULT_wxUSE_SPINCTRL
=no
1514 DEFAULT_wxUSE_SPLITTER
=no
1515 DEFAULT_wxUSE_STATBMP
=no
1516 DEFAULT_wxUSE_STATBOX
=no
1517 DEFAULT_wxUSE_STATLINE
=no
1518 DEFAULT_wxUSE_STATTEXT
=no
1519 DEFAULT_wxUSE_STATUSBAR
=yes
1520 DEFAULT_wxUSE_TABDIALOG
=no
1521 DEFAULT_wxUSE_TEXTCTRL
=no
1522 DEFAULT_wxUSE_TOGGLEBTN
=no
1523 DEFAULT_wxUSE_TOOLBAR
=no
1524 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1525 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1526 DEFAULT_wxUSE_TREECTRL
=no
1527 DEFAULT_wxUSE_POPUPWIN
=no
1529 DEFAULT_wxUSE_UNICODE
=no
1530 DEFAULT_wxUSE_WCSRTOMBS
=no
1532 DEFAULT_wxUSE_IMAGE
=no
1533 DEFAULT_wxUSE_GIF
=no
1534 DEFAULT_wxUSE_PCX
=no
1535 DEFAULT_wxUSE_PNM
=no
1536 DEFAULT_wxUSE_XPM
=no
1538 DEFAULT_wxUSE_UNIVERSAL
=no
1540 DEFAULT_wxUSE_THREADS
=yes
1542 DEFAULT_wxUSE_SHARED
=yes
1543 DEFAULT_wxUSE_BURNT_NAME
=no
1544 DEFAULT_wxUSE_OPTIMISE
=yes
1545 DEFAULT_wxUSE_PROFILE
=no
1546 DEFAULT_wxUSE_NO_DEPS
=no
1547 DEFAULT_wxUSE_NO_RTTI
=no
1548 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1549 DEFAULT_wxUSE_PERMISSIVE
=no
1550 DEFAULT_wxUSE_DEBUG_FLAG
=no
1551 DEFAULT_wxUSE_DEBUG_INFO
=no
1552 DEFAULT_wxUSE_DEBUG_GDB
=no
1553 DEFAULT_wxUSE_MEM_TRACING
=no
1554 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1555 DEFAULT_wxUSE_DMALLOC
=no
1556 DEFAULT_wxUSE_APPLE_IEEE
=yes
1558 DEFAULT_wxUSE_LOG
=yes
1559 DEFAULT_wxUSE_LOGWINDOW
=yes
1560 DEFAULT_wxUSE_LOGGUI
=yes
1562 DEFAULT_wxUSE_GUI
=yes
1564 DEFAULT_wxUSE_REGEX
=yes
1565 DEFAULT_wxUSE_ZLIB
=yes
1566 DEFAULT_wxUSE_LIBPNG
=yes
1567 DEFAULT_wxUSE_LIBJPEG
=yes
1568 DEFAULT_wxUSE_LIBTIFF
=yes
1569 DEFAULT_wxUSE_ODBC
=no
1570 DEFAULT_wxUSE_FREETYPE
=no
1571 DEFAULT_wxUSE_OPENGL
=no
1573 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1574 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1575 DEFAULT_wxUSE_STD_IOSTREAM
=no
1576 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1577 DEFAULT_wxUSE_DATETIME
=yes
1578 DEFAULT_wxUSE_TIMEDATE
=no
1579 DEFAULT_wxUSE_TIMER
=yes
1580 DEFAULT_wxUSE_STOPWATCH
=yes
1581 DEFAULT_wxUSE_FILE
=yes
1582 DEFAULT_wxUSE_FFILE
=yes
1583 DEFAULT_wxUSE_TEXTFILE
=yes
1584 DEFAULT_wxUSE_WAVE
=no
1585 DEFAULT_wxUSE_INTL
=yes
1586 DEFAULT_wxUSE_CONFIG
=yes
1587 DEFAULT_wxUSE_FONTMAP
=yes
1588 DEFAULT_wxUSE_STREAMS
=yes
1589 DEFAULT_wxUSE_SOCKETS
=yes
1590 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1591 DEFAULT_wxUSE_SERIAL
=yes
1592 DEFAULT_wxUSE_JOYSTICK
=yes
1593 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1594 DEFAULT_wxUSE_LONGLONG
=yes
1595 DEFAULT_wxUSE_GEOMETRY
=yes
1597 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1598 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1599 DEFAULT_wxUSE_POSTSCRIPT
=yes
1601 DEFAULT_wxUSE_X_RESOURCES
=no
1602 DEFAULT_wxUSE_CLIPBOARD
=yes
1603 DEFAULT_wxUSE_TOOLTIPS
=yes
1604 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1605 DEFAULT_wxUSE_DRAGIMAGE
=yes
1606 DEFAULT_wxUSE_SPLINES
=yes
1608 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1609 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1610 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1612 DEFAULT_wxUSE_PROLOGIO
=yes
1613 DEFAULT_wxUSE_RESOURCES
=yes
1614 DEFAULT_wxUSE_CONSTRAINTS
=yes
1615 DEFAULT_wxUSE_IPC
=yes
1616 DEFAULT_wxUSE_HELP
=yes
1617 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1618 DEFAULT_wxUSE_WXHTML_HELP
=yes
1619 DEFAULT_wxUSE_TREELAYOUT
=yes
1620 DEFAULT_wxUSE_METAFILE
=yes
1621 DEFAULT_wxUSE_MIMETYPE
=yes
1622 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1624 DEFAULT_wxUSE_COMMONDLGS
=yes
1625 DEFAULT_wxUSE_CHOICEDLG
=yes
1626 DEFAULT_wxUSE_COLOURDLG
=yes
1627 DEFAULT_wxUSE_DIRDLG
=yes
1628 DEFAULT_wxUSE_FILEDLG
=yes
1629 DEFAULT_wxUSE_FINDREPLDLG
=yes
1630 DEFAULT_wxUSE_FONTDLG
=yes
1631 DEFAULT_wxUSE_MSGDLG
=yes
1632 DEFAULT_wxUSE_NUMBERDLG
=yes
1633 DEFAULT_wxUSE_TEXTDLG
=yes
1634 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1635 DEFAULT_wxUSE_PROGRESSDLG
=yes
1636 DEFAULT_wxUSE_WIZARDDLG
=yes
1638 DEFAULT_wxUSE_MENUS
=yes
1639 DEFAULT_wxUSE_MINIFRAME
=yes
1640 DEFAULT_wxUSE_HTML
=yes
1641 DEFAULT_wxUSE_FILESYSTEM
=yes
1642 DEFAULT_wxUSE_FS_INET
=yes
1643 DEFAULT_wxUSE_FS_ZIP
=yes
1644 DEFAULT_wxUSE_BUSYINFO
=yes
1645 DEFAULT_wxUSE_ZIPSTREAM
=yes
1646 DEFAULT_wxUSE_VALIDATORS
=yes
1648 DEFAULT_wxUSE_ACCEL
=yes
1649 DEFAULT_wxUSE_BUTTON
=yes
1650 DEFAULT_wxUSE_BMPBUTTON
=yes
1651 DEFAULT_wxUSE_CALCTRL
=yes
1652 DEFAULT_wxUSE_CARET
=yes
1653 DEFAULT_wxUSE_CHECKBOX
=yes
1654 DEFAULT_wxUSE_CHECKLST
=yes
1655 DEFAULT_wxUSE_CHOICE
=yes
1656 DEFAULT_wxUSE_COMBOBOX
=yes
1657 DEFAULT_wxUSE_GAUGE
=yes
1658 DEFAULT_wxUSE_GRID
=yes
1659 DEFAULT_wxUSE_NEW_GRID
=yes
1660 DEFAULT_wxUSE_IMAGLIST
=yes
1661 DEFAULT_wxUSE_LISTBOX
=yes
1662 DEFAULT_wxUSE_LISTCTRL
=yes
1663 DEFAULT_wxUSE_NOTEBOOK
=yes
1664 DEFAULT_wxUSE_PROPSHEET
=yes
1665 DEFAULT_wxUSE_RADIOBOX
=yes
1666 DEFAULT_wxUSE_RADIOBTN
=yes
1667 DEFAULT_wxUSE_SASH
=yes
1668 DEFAULT_wxUSE_SCROLLBAR
=yes
1669 DEFAULT_wxUSE_SLIDER
=yes
1670 DEFAULT_wxUSE_SPINBTN
=yes
1671 DEFAULT_wxUSE_SPINCTRL
=yes
1672 DEFAULT_wxUSE_SPLITTER
=yes
1673 DEFAULT_wxUSE_STATBMP
=yes
1674 DEFAULT_wxUSE_STATBOX
=yes
1675 DEFAULT_wxUSE_STATLINE
=yes
1676 DEFAULT_wxUSE_STATTEXT
=yes
1677 DEFAULT_wxUSE_STATUSBAR
=yes
1678 DEFAULT_wxUSE_TABDIALOG
=no
1679 DEFAULT_wxUSE_TEXTCTRL
=yes
1680 DEFAULT_wxUSE_TOGGLEBTN
=yes
1681 DEFAULT_wxUSE_TOOLBAR
=yes
1682 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1683 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1684 DEFAULT_wxUSE_TREECTRL
=yes
1685 DEFAULT_wxUSE_POPUPWIN
=yes
1687 DEFAULT_wxUSE_UNICODE
=no
1688 DEFAULT_wxUSE_WCSRTOMBS
=no
1690 DEFAULT_wxUSE_IMAGE
=yes
1691 DEFAULT_wxUSE_GIF
=yes
1692 DEFAULT_wxUSE_PCX
=yes
1693 DEFAULT_wxUSE_PNM
=yes
1694 DEFAULT_wxUSE_XPM
=yes
1699 for toolkit
in `echo $ALL_TOOLKITS`; do
1700 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1701 if test "x$LINE" != x
; then
1702 has_toolkit_in_cache
=1
1703 eval "DEFAULT_$LINE"
1704 eval "CACHE_$toolkit=1"
1710 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1711 echo "configure:1712: checking for --enable-gui" >&5
1713 # Check whether --enable-gui or --disable-gui was given.
1714 if test "${enable_gui+set}" = set; then
1715 enableval
="$enable_gui"
1717 if test "$enableval" = yes; then
1718 ac_cv_use_gui
='wxUSE_GUI=yes'
1720 ac_cv_use_gui
='wxUSE_GUI=no'
1725 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1726 if test "x$LINE" != x
; then
1727 eval "DEFAULT_$LINE"
1732 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1737 eval "$ac_cv_use_gui"
1738 if test "$no_cache" != 1; then
1739 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1742 if test "$wxUSE_GUI" = yes; then
1743 echo "$ac_t""yes" 1>&6
1745 echo "$ac_t""no" 1>&6
1749 if test "$wxUSE_GUI" = "yes"; then
1752 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1753 echo "configure:1754: checking for --enable-universal" >&5
1755 # Check whether --enable-universal or --disable-universal was given.
1756 if test "${enable_universal+set}" = set; then
1757 enableval
="$enable_universal"
1759 if test "$enableval" = yes; then
1760 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1762 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1767 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1768 if test "x$LINE" != x
; then
1769 eval "DEFAULT_$LINE"
1774 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1779 eval "$ac_cv_use_universal"
1780 if test "$no_cache" != 1; then
1781 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1784 if test "$wxUSE_UNIVERSAL" = yes; then
1785 echo "$ac_t""yes" 1>&6
1787 echo "$ac_t""no" 1>&6
1790 # Check whether --with-gtk or --without-gtk was given.
1791 if test "${with_gtk+set}" = set; then
1793 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1796 # Check whether --with-motif or --without-motif was given.
1797 if test "${with_motif+set}" = set; then
1798 withval
="$with_motif"
1799 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1802 # Check whether --with-mac or --without-mac was given.
1803 if test "${with_mac+set}" = set; then
1805 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1808 # Check whether --with-wine or --without-wine was given.
1809 if test "${with_wine+set}" = set; then
1810 withval
="$with_wine"
1811 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1814 # Check whether --with-cygwin or --without-cygwin was given.
1815 if test "${with_cygwin+set}" = set; then
1816 withval
="$with_cygwin"
1817 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1820 # Check whether --with-mingw or --without-mingw was given.
1821 if test "${with_mingw+set}" = set; then
1822 withval
="$with_mingw"
1823 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1826 # Check whether --with-pm or --without-pm was given.
1827 if test "${with_pm+set}" = set; then
1829 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1832 # Check whether --with-mgl or --without-mgl was given.
1833 if test "${with_mgl+set}" = set; then
1835 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1839 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1840 if test "${enable_gtk2+set}" = set; then
1841 enableval
="$enable_gtk2"
1849 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1850 echo "configure:1851: checking for --with-libpng" >&5
1852 # Check whether --with-libpng or --without-libpng was given.
1853 if test "${with_libpng+set}" = set; then
1854 withval
="$with_libpng"
1856 if test "$withval" = yes; then
1857 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1858 elif test "$withval" = no
; then
1859 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1860 elif test "$withval" = sys
; then
1861 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1863 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1868 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1869 if test "x$LINE" != x
; then
1870 eval "DEFAULT_$LINE"
1875 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1880 eval "$ac_cv_use_libpng"
1881 if test "$no_cache" != 1; then
1882 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1885 if test "$wxUSE_LIBPNG" = yes; then
1886 echo "$ac_t""yes" 1>&6
1887 elif test "$wxUSE_LIBPNG" = no
; then
1888 echo "$ac_t""no" 1>&6
1889 elif test "$wxUSE_LIBPNG" = sys
; then
1890 echo "$ac_t""system version" 1>&6
1892 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1896 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1897 echo "configure:1898: checking for --with-libjpeg" >&5
1899 # Check whether --with-libjpeg or --without-libjpeg was given.
1900 if test "${with_libjpeg+set}" = set; then
1901 withval
="$with_libjpeg"
1903 if test "$withval" = yes; then
1904 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1905 elif test "$withval" = no
; then
1906 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1907 elif test "$withval" = sys
; then
1908 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1910 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1915 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1916 if test "x$LINE" != x
; then
1917 eval "DEFAULT_$LINE"
1922 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1927 eval "$ac_cv_use_libjpeg"
1928 if test "$no_cache" != 1; then
1929 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1932 if test "$wxUSE_LIBJPEG" = yes; then
1933 echo "$ac_t""yes" 1>&6
1934 elif test "$wxUSE_LIBJPEG" = no
; then
1935 echo "$ac_t""no" 1>&6
1936 elif test "$wxUSE_LIBJPEG" = sys
; then
1937 echo "$ac_t""system version" 1>&6
1939 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1943 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1944 echo "configure:1945: checking for --with-libtiff" >&5
1946 # Check whether --with-libtiff or --without-libtiff was given.
1947 if test "${with_libtiff+set}" = set; then
1948 withval
="$with_libtiff"
1950 if test "$withval" = yes; then
1951 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1952 elif test "$withval" = no
; then
1953 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1954 elif test "$withval" = sys
; then
1955 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1957 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1962 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1963 if test "x$LINE" != x
; then
1964 eval "DEFAULT_$LINE"
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1974 eval "$ac_cv_use_libtiff"
1975 if test "$no_cache" != 1; then
1976 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1979 if test "$wxUSE_LIBTIFF" = yes; then
1980 echo "$ac_t""yes" 1>&6
1981 elif test "$wxUSE_LIBTIFF" = no
; then
1982 echo "$ac_t""no" 1>&6
1983 elif test "$wxUSE_LIBTIFF" = sys
; then
1984 echo "$ac_t""system version" 1>&6
1986 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1990 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1991 echo "configure:1992: checking for --with-freetype" >&5
1993 # Check whether --with-freetype or --without-freetype was given.
1994 if test "${with_freetype+set}" = set; then
1995 withval
="$with_freetype"
1997 if test "$withval" = yes; then
1998 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1999 elif test "$withval" = no
; then
2000 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2001 elif test "$withval" = sys
; then
2002 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2004 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2009 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2010 if test "x$LINE" != x
; then
2011 eval "DEFAULT_$LINE"
2016 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2021 eval "$ac_cv_use_freetype"
2022 if test "$no_cache" != 1; then
2023 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2026 if test "$wxUSE_FREETYPE" = yes; then
2027 echo "$ac_t""yes" 1>&6
2028 elif test "$wxUSE_FREETYPE" = no
; then
2029 echo "$ac_t""no" 1>&6
2030 elif test "$wxUSE_FREETYPE" = sys
; then
2031 echo "$ac_t""system version" 1>&6
2033 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2037 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2038 echo "configure:2039: checking for --with-opengl" >&5
2040 # Check whether --with-opengl or --without-opengl was given.
2041 if test "${with_opengl+set}" = set; then
2042 withval
="$with_opengl"
2044 if test "$withval" = yes; then
2045 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2047 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2052 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2053 if test "x$LINE" != x
; then
2054 eval "DEFAULT_$LINE"
2059 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2064 eval "$ac_cv_use_opengl"
2065 if test "$no_cache" != 1; then
2066 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2069 if test "$wxUSE_OPENGL" = yes; then
2070 echo "$ac_t""yes" 1>&6
2072 echo "$ac_t""no" 1>&6
2079 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2080 echo "configure:2081: checking for --with-dmalloc" >&5
2082 # Check whether --with-dmalloc or --without-dmalloc was given.
2083 if test "${with_dmalloc+set}" = set; then
2084 withval
="$with_dmalloc"
2086 if test "$withval" = yes; then
2087 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2089 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2094 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2095 if test "x$LINE" != x
; then
2096 eval "DEFAULT_$LINE"
2101 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2106 eval "$ac_cv_use_dmalloc"
2107 if test "$no_cache" != 1; then
2108 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2111 if test "$wxUSE_DMALLOC" = yes; then
2112 echo "$ac_t""yes" 1>&6
2114 echo "$ac_t""no" 1>&6
2118 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2119 echo "configure:2120: checking for --with-regex" >&5
2121 # Check whether --with-regex or --without-regex was given.
2122 if test "${with_regex+set}" = set; then
2123 withval
="$with_regex"
2125 if test "$withval" = yes; then
2126 ac_cv_use_regex
='wxUSE_REGEX=yes'
2127 elif test "$withval" = no
; then
2128 ac_cv_use_regex
='wxUSE_REGEX=no'
2129 elif test "$withval" = sys
; then
2130 ac_cv_use_regex
='wxUSE_REGEX=sys'
2132 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2137 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2138 if test "x$LINE" != x
; then
2139 eval "DEFAULT_$LINE"
2144 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2149 eval "$ac_cv_use_regex"
2150 if test "$no_cache" != 1; then
2151 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2154 if test "$wxUSE_REGEX" = yes; then
2155 echo "$ac_t""yes" 1>&6
2156 elif test "$wxUSE_REGEX" = no
; then
2157 echo "$ac_t""no" 1>&6
2158 elif test "$wxUSE_REGEX" = sys
; then
2159 echo "$ac_t""system version" 1>&6
2161 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2165 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2166 echo "configure:2167: checking for --with-zlib" >&5
2168 # Check whether --with-zlib or --without-zlib was given.
2169 if test "${with_zlib+set}" = set; then
2170 withval
="$with_zlib"
2172 if test "$withval" = yes; then
2173 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2174 elif test "$withval" = no
; then
2175 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2176 elif test "$withval" = sys
; then
2177 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2179 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2184 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2185 if test "x$LINE" != x
; then
2186 eval "DEFAULT_$LINE"
2191 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2196 eval "$ac_cv_use_zlib"
2197 if test "$no_cache" != 1; then
2198 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2201 if test "$wxUSE_ZLIB" = yes; then
2202 echo "$ac_t""yes" 1>&6
2203 elif test "$wxUSE_ZLIB" = no
; then
2204 echo "$ac_t""no" 1>&6
2205 elif test "$wxUSE_ZLIB" = sys
; then
2206 echo "$ac_t""system version" 1>&6
2208 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2212 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2213 echo "configure:2214: checking for --with-odbc" >&5
2215 # Check whether --with-odbc or --without-odbc was given.
2216 if test "${with_odbc+set}" = set; then
2217 withval
="$with_odbc"
2219 if test "$withval" = yes; then
2220 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2222 ac_cv_use_odbc
='wxUSE_ODBC=no'
2227 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2228 if test "x$LINE" != x
; then
2229 eval "DEFAULT_$LINE"
2234 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2239 eval "$ac_cv_use_odbc"
2240 if test "$no_cache" != 1; then
2241 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2244 if test "$wxUSE_ODBC" = yes; then
2245 echo "$ac_t""yes" 1>&6
2247 echo "$ac_t""no" 1>&6
2254 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2255 echo "configure:2256: checking for --enable-shared" >&5
2257 # Check whether --enable-shared or --disable-shared was given.
2258 if test "${enable_shared+set}" = set; then
2259 enableval
="$enable_shared"
2261 if test "$enableval" = yes; then
2262 ac_cv_use_shared
='wxUSE_SHARED=yes'
2264 ac_cv_use_shared
='wxUSE_SHARED=no'
2269 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2270 if test "x$LINE" != x
; then
2271 eval "DEFAULT_$LINE"
2276 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2281 eval "$ac_cv_use_shared"
2282 if test "$no_cache" != 1; then
2283 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2286 if test "$wxUSE_SHARED" = yes; then
2287 echo "$ac_t""yes" 1>&6
2289 echo "$ac_t""no" 1>&6
2293 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2294 echo "configure:2295: checking for --enable-burnt_name" >&5
2296 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2297 if test "${enable_burnt_name+set}" = set; then
2298 enableval
="$enable_burnt_name"
2300 if test "$enableval" = yes; then
2301 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2303 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2308 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2320 eval "$ac_cv_use_burnt_name"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_BURNT_NAME" = yes; then
2326 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no" 1>&6
2332 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2333 echo "configure:2334: checking for --enable-optimise" >&5
2335 # Check whether --enable-optimise or --disable-optimise was given.
2336 if test "${enable_optimise+set}" = set; then
2337 enableval
="$enable_optimise"
2339 if test "$enableval" = yes; then
2340 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2342 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2347 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x
; then
2349 eval "DEFAULT_$LINE"
2354 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2359 eval "$ac_cv_use_optimise"
2360 if test "$no_cache" != 1; then
2361 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2364 if test "$wxUSE_OPTIMISE" = yes; then
2365 echo "$ac_t""yes" 1>&6
2367 echo "$ac_t""no" 1>&6
2371 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2372 echo "configure:2373: checking for --enable-debug" >&5
2374 # Check whether --enable-debug or --disable-debug was given.
2375 if test "${enable_debug+set}" = set; then
2376 enableval
="$enable_debug"
2378 if test "$enableval" = yes; then
2379 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2381 ac_cv_use_debug
='wxUSE_DEBUG=no'
2386 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2387 if test "x$LINE" != x
; then
2388 eval "DEFAULT_$LINE"
2393 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2398 eval "$ac_cv_use_debug"
2399 if test "$no_cache" != 1; then
2400 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2403 if test "$wxUSE_DEBUG" = yes; then
2404 echo "$ac_t""yes" 1>&6
2406 echo "$ac_t""no" 1>&6
2410 if test "$wxUSE_DEBUG" = "yes"; then
2411 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2412 DEFAULT_wxUSE_DEBUG_INFO
=yes
2413 elif test "$wxUSE_DEBUG" = "no"; then
2414 DEFAULT_wxUSE_DEBUG_FLAG
=no
2415 DEFAULT_wxUSE_DEBUG_INFO
=no
2419 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2420 echo "configure:2421: checking for --enable-debug_flag" >&5
2422 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2423 if test "${enable_debug_flag+set}" = set; then
2424 enableval
="$enable_debug_flag"
2426 if test "$enableval" = yes; then
2427 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2429 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2434 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x
; then
2436 eval "DEFAULT_$LINE"
2441 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2446 eval "$ac_cv_use_debug_flag"
2447 if test "$no_cache" != 1; then
2448 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2451 if test "$wxUSE_DEBUG_FLAG" = yes; then
2452 echo "$ac_t""yes" 1>&6
2454 echo "$ac_t""no" 1>&6
2458 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2459 echo "configure:2460: checking for --enable-debug_info" >&5
2461 # Check whether --enable-debug_info or --disable-debug_info was given.
2462 if test "${enable_debug_info+set}" = set; then
2463 enableval
="$enable_debug_info"
2465 if test "$enableval" = yes; then
2466 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2468 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2473 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x
; then
2475 eval "DEFAULT_$LINE"
2480 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2485 eval "$ac_cv_use_debug_info"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2490 if test "$wxUSE_DEBUG_INFO" = yes; then
2491 echo "$ac_t""yes" 1>&6
2493 echo "$ac_t""no" 1>&6
2497 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2498 echo "configure:2499: checking for --enable-debug_gdb" >&5
2500 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2501 if test "${enable_debug_gdb+set}" = set; then
2502 enableval
="$enable_debug_gdb"
2504 if test "$enableval" = yes; then
2505 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2507 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2512 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x
; then
2514 eval "DEFAULT_$LINE"
2519 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2524 eval "$ac_cv_use_debug_gdb"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2529 if test "$wxUSE_DEBUG_GDB" = yes; then
2530 echo "$ac_t""yes" 1>&6
2532 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2537 echo "configure:2538: checking for --enable-debug_cntxt" >&5
2539 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2540 if test "${enable_debug_cntxt+set}" = set; then
2541 enableval
="$enable_debug_cntxt"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2546 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2551 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2563 eval "$ac_cv_use_debug_cntxt"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2575 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2576 echo "configure:2577: checking for --enable-mem_tracing" >&5
2578 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2579 if test "${enable_mem_tracing+set}" = set; then
2580 enableval
="$enable_mem_tracing"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2585 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2590 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2602 eval "$ac_cv_use_mem_tracing"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_MEM_TRACING" = yes; then
2608 echo "$ac_t""yes" 1>&6
2610 echo "$ac_t""no" 1>&6
2614 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2615 echo "configure:2616: checking for --enable-profile" >&5
2617 # Check whether --enable-profile or --disable-profile was given.
2618 if test "${enable_profile+set}" = set; then
2619 enableval
="$enable_profile"
2621 if test "$enableval" = yes; then
2622 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2624 ac_cv_use_profile
='wxUSE_PROFILE=no'
2629 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2630 if test "x$LINE" != x
; then
2631 eval "DEFAULT_$LINE"
2636 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2641 eval "$ac_cv_use_profile"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_PROFILE" = yes; then
2647 echo "$ac_t""yes" 1>&6
2649 echo "$ac_t""no" 1>&6
2653 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2654 echo "configure:2655: checking for --enable-no_rtti" >&5
2656 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2657 if test "${enable_no_rtti+set}" = set; then
2658 enableval
="$enable_no_rtti"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2663 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2668 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2680 eval "$ac_cv_use_no_rtti"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2685 if test "$wxUSE_NO_RTTI" = yes; then
2686 echo "$ac_t""yes" 1>&6
2688 echo "$ac_t""no" 1>&6
2692 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2693 echo "configure:2694: checking for --enable-no_exceptions" >&5
2695 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2696 if test "${enable_no_exceptions+set}" = set; then
2697 enableval
="$enable_no_exceptions"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2702 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2707 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2719 eval "$ac_cv_use_no_exceptions"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2725 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2731 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2732 echo "configure:2733: checking for --enable-permissive" >&5
2734 # Check whether --enable-permissive or --disable-permissive was given.
2735 if test "${enable_permissive+set}" = set; then
2736 enableval
="$enable_permissive"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2741 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2746 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x
; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2758 eval "$ac_cv_use_permissive"
2759 if test "$no_cache" != 1; then
2760 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2763 if test "$wxUSE_PERMISSIVE" = yes; then
2764 echo "$ac_t""yes" 1>&6
2766 echo "$ac_t""no" 1>&6
2770 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2771 echo "configure:2772: checking for --enable-no_deps" >&5
2773 # Check whether --enable-no_deps or --disable-no_deps was given.
2774 if test "${enable_no_deps+set}" = set; then
2775 enableval
="$enable_no_deps"
2777 if test "$enableval" = yes; then
2778 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2780 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2785 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2797 eval "$ac_cv_use_no_deps"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_NO_DEPS" = yes; then
2803 echo "$ac_t""yes" 1>&6
2805 echo "$ac_t""no" 1>&6
2810 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2811 echo "configure:2812: checking for --enable-compat20" >&5
2813 # Check whether --enable-compat20 or --disable-compat20 was given.
2814 if test "${enable_compat20+set}" = set; then
2815 enableval
="$enable_compat20"
2817 if test "$enableval" = yes; then
2818 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2820 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2825 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2826 if test "x$LINE" != x
; then
2827 eval "DEFAULT_$LINE"
2832 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2837 eval "$ac_cv_use_compat20"
2838 if test "$no_cache" != 1; then
2839 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2842 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2843 echo "$ac_t""yes" 1>&6
2845 echo "$ac_t""no" 1>&6
2849 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2850 echo "configure:2851: checking for --enable-compat22" >&5
2852 # Check whether --enable-compat22 or --disable-compat22 was given.
2853 if test "${enable_compat22+set}" = set; then
2854 enableval
="$enable_compat22"
2856 if test "$enableval" = yes; then
2857 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2859 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2864 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2865 if test "x$LINE" != x
; then
2866 eval "DEFAULT_$LINE"
2871 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2876 eval "$ac_cv_use_compat22"
2877 if test "$no_cache" != 1; then
2878 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2881 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2882 echo "$ac_t""yes" 1>&6
2884 echo "$ac_t""no" 1>&6
2890 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2891 echo "configure:2892: checking for --enable-intl" >&5
2893 # Check whether --enable-intl or --disable-intl was given.
2894 if test "${enable_intl+set}" = set; then
2895 enableval
="$enable_intl"
2897 if test "$enableval" = yes; then
2898 ac_cv_use_intl
='wxUSE_INTL=yes'
2900 ac_cv_use_intl
='wxUSE_INTL=no'
2905 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2906 if test "x$LINE" != x
; then
2907 eval "DEFAULT_$LINE"
2912 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2917 eval "$ac_cv_use_intl"
2918 if test "$no_cache" != 1; then
2919 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2922 if test "$wxUSE_INTL" = yes; then
2923 echo "$ac_t""yes" 1>&6
2925 echo "$ac_t""no" 1>&6
2929 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2930 echo "configure:2931: checking for --enable-config" >&5
2932 # Check whether --enable-config or --disable-config was given.
2933 if test "${enable_config+set}" = set; then
2934 enableval
="$enable_config"
2936 if test "$enableval" = yes; then
2937 ac_cv_use_config
='wxUSE_CONFIG=yes'
2939 ac_cv_use_config
='wxUSE_CONFIG=no'
2944 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2945 if test "x$LINE" != x
; then
2946 eval "DEFAULT_$LINE"
2951 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2956 eval "$ac_cv_use_config"
2957 if test "$no_cache" != 1; then
2958 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2961 if test "$wxUSE_CONFIG" = yes; then
2962 echo "$ac_t""yes" 1>&6
2964 echo "$ac_t""no" 1>&6
2969 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2970 echo "configure:2971: checking for --enable-sockets" >&5
2972 # Check whether --enable-sockets or --disable-sockets was given.
2973 if test "${enable_sockets+set}" = set; then
2974 enableval
="$enable_sockets"
2976 if test "$enableval" = yes; then
2977 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2979 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2984 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2985 if test "x$LINE" != x
; then
2986 eval "DEFAULT_$LINE"
2991 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2996 eval "$ac_cv_use_sockets"
2997 if test "$no_cache" != 1; then
2998 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3001 if test "$wxUSE_SOCKETS" = yes; then
3002 echo "$ac_t""yes" 1>&6
3004 echo "$ac_t""no" 1>&6
3009 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3010 echo "configure:3011: checking for --enable-ipc" >&5
3012 # Check whether --enable-ipc or --disable-ipc was given.
3013 if test "${enable_ipc+set}" = set; then
3014 enableval
="$enable_ipc"
3016 if test "$enableval" = yes; then
3017 ac_cv_use_ipc
='wxUSE_IPC=yes'
3019 ac_cv_use_ipc
='wxUSE_IPC=no'
3024 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3025 if test "x$LINE" != x
; then
3026 eval "DEFAULT_$LINE"
3031 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3036 eval "$ac_cv_use_ipc"
3037 if test "$no_cache" != 1; then
3038 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3041 if test "$wxUSE_IPC" = yes; then
3042 echo "$ac_t""yes" 1>&6
3044 echo "$ac_t""no" 1>&6
3049 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3050 echo "configure:3051: checking for --enable-cmdline" >&5
3052 # Check whether --enable-cmdline or --disable-cmdline was given.
3053 if test "${enable_cmdline+set}" = set; then
3054 enableval
="$enable_cmdline"
3056 if test "$enableval" = yes; then
3057 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3059 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3064 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x
; then
3066 eval "DEFAULT_$LINE"
3071 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3076 eval "$ac_cv_use_cmdline"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3081 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3082 echo "$ac_t""yes" 1>&6
3084 echo "$ac_t""no" 1>&6
3088 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3089 echo "configure:3090: checking for --enable-datetime" >&5
3091 # Check whether --enable-datetime or --disable-datetime was given.
3092 if test "${enable_datetime+set}" = set; then
3093 enableval
="$enable_datetime"
3095 if test "$enableval" = yes; then
3096 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3098 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3103 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3104 if test "x$LINE" != x
; then
3105 eval "DEFAULT_$LINE"
3110 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3115 eval "$ac_cv_use_datetime"
3116 if test "$no_cache" != 1; then
3117 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3120 if test "$wxUSE_DATETIME" = yes; then
3121 echo "$ac_t""yes" 1>&6
3123 echo "$ac_t""no" 1>&6
3127 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3128 echo "configure:3129: checking for --enable-timedate" >&5
3130 # Check whether --enable-timedate or --disable-timedate was given.
3131 if test "${enable_timedate+set}" = set; then
3132 enableval
="$enable_timedate"
3134 if test "$enableval" = yes; then
3135 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3137 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3142 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3143 if test "x$LINE" != x
; then
3144 eval "DEFAULT_$LINE"
3149 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3154 eval "$ac_cv_use_timedate"
3155 if test "$no_cache" != 1; then
3156 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3159 if test "$wxUSE_TIMEDATE" = yes; then
3160 echo "$ac_t""yes" 1>&6
3162 echo "$ac_t""no" 1>&6
3166 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3167 echo "configure:3168: checking for --enable-stopwatch" >&5
3169 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3170 if test "${enable_stopwatch+set}" = set; then
3171 enableval
="$enable_stopwatch"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3176 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3181 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3193 eval "$ac_cv_use_stopwatch"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_STOPWATCH" = yes; then
3199 echo "$ac_t""yes" 1>&6
3201 echo "$ac_t""no" 1>&6
3205 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3206 echo "configure:3207: checking for --enable-dialupman" >&5
3208 # Check whether --enable-dialupman or --disable-dialupman was given.
3209 if test "${enable_dialupman+set}" = set; then
3210 enableval
="$enable_dialupman"
3212 if test "$enableval" = yes; then
3213 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3215 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3220 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3221 if test "x$LINE" != x
; then
3222 eval "DEFAULT_$LINE"
3227 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3232 eval "$ac_cv_use_dialupman"
3233 if test "$no_cache" != 1; then
3234 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3237 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3238 echo "$ac_t""yes" 1>&6
3240 echo "$ac_t""no" 1>&6
3244 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3245 echo "configure:3246: checking for --enable-apple_ieee" >&5
3247 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3248 if test "${enable_apple_ieee+set}" = set; then
3249 enableval
="$enable_apple_ieee"
3251 if test "$enableval" = yes; then
3252 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3254 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3259 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3260 if test "x$LINE" != x
; then
3261 eval "DEFAULT_$LINE"
3266 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3271 eval "$ac_cv_use_apple_ieee"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_APPLE_IEEE" = yes; then
3277 echo "$ac_t""yes" 1>&6
3279 echo "$ac_t""no" 1>&6
3283 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3284 echo "configure:3285: checking for --enable-timer" >&5
3286 # Check whether --enable-timer or --disable-timer was given.
3287 if test "${enable_timer+set}" = set; then
3288 enableval
="$enable_timer"
3290 if test "$enableval" = yes; then
3291 ac_cv_use_timer
='wxUSE_TIMER=yes'
3293 ac_cv_use_timer
='wxUSE_TIMER=no'
3298 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3299 if test "x$LINE" != x
; then
3300 eval "DEFAULT_$LINE"
3305 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3310 eval "$ac_cv_use_timer"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3315 if test "$wxUSE_TIMER" = yes; then
3316 echo "$ac_t""yes" 1>&6
3318 echo "$ac_t""no" 1>&6
3322 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3323 echo "configure:3324: checking for --enable-wave" >&5
3325 # Check whether --enable-wave or --disable-wave was given.
3326 if test "${enable_wave+set}" = set; then
3327 enableval
="$enable_wave"
3329 if test "$enableval" = yes; then
3330 ac_cv_use_wave
='wxUSE_WAVE=yes'
3332 ac_cv_use_wave
='wxUSE_WAVE=no'
3337 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3338 if test "x$LINE" != x
; then
3339 eval "DEFAULT_$LINE"
3344 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3349 eval "$ac_cv_use_wave"
3350 if test "$no_cache" != 1; then
3351 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3354 if test "$wxUSE_WAVE" = yes; then
3355 echo "$ac_t""yes" 1>&6
3357 echo "$ac_t""no" 1>&6
3361 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3362 echo "configure:3363: checking for --enable-fraction" >&5
3364 # Check whether --enable-fraction or --disable-fraction was given.
3365 if test "${enable_fraction+set}" = set; then
3366 enableval
="$enable_fraction"
3368 if test "$enableval" = yes; then
3369 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3371 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3376 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3377 if test "x$LINE" != x
; then
3378 eval "DEFAULT_$LINE"
3383 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3388 eval "$ac_cv_use_fraction"
3389 if test "$no_cache" != 1; then
3390 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3393 if test "$wxUSE_FRACTION" = yes; then
3394 echo "$ac_t""yes" 1>&6
3396 echo "$ac_t""no" 1>&6
3400 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3401 echo "configure:3402: checking for --enable-dynlib" >&5
3403 # Check whether --enable-dynlib or --disable-dynlib was given.
3404 if test "${enable_dynlib+set}" = set; then
3405 enableval
="$enable_dynlib"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3410 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3415 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3427 eval "$ac_cv_use_dynlib"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3433 echo "$ac_t""yes" 1>&6
3435 echo "$ac_t""no" 1>&6
3439 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3440 echo "configure:3441: checking for --enable-longlong" >&5
3442 # Check whether --enable-longlong or --disable-longlong was given.
3443 if test "${enable_longlong+set}" = set; then
3444 enableval
="$enable_longlong"
3446 if test "$enableval" = yes; then
3447 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3449 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3454 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x
; then
3456 eval "DEFAULT_$LINE"
3461 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3466 eval "$ac_cv_use_longlong"
3467 if test "$no_cache" != 1; then
3468 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3471 if test "$wxUSE_LONGLONG" = yes; then
3472 echo "$ac_t""yes" 1>&6
3474 echo "$ac_t""no" 1>&6
3478 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3479 echo "configure:3480: checking for --enable-geometry" >&5
3481 # Check whether --enable-geometry or --disable-geometry was given.
3482 if test "${enable_geometry+set}" = set; then
3483 enableval
="$enable_geometry"
3485 if test "$enableval" = yes; then
3486 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3488 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3493 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3494 if test "x$LINE" != x
; then
3495 eval "DEFAULT_$LINE"
3500 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3505 eval "$ac_cv_use_geometry"
3506 if test "$no_cache" != 1; then
3507 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3510 if test "$wxUSE_GEOMETRY" = yes; then
3511 echo "$ac_t""yes" 1>&6
3513 echo "$ac_t""no" 1>&6
3517 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3518 echo "configure:3519: checking for --enable-log" >&5
3520 # Check whether --enable-log or --disable-log was given.
3521 if test "${enable_log+set}" = set; then
3522 enableval
="$enable_log"
3524 if test "$enableval" = yes; then
3525 ac_cv_use_log
='wxUSE_LOG=yes'
3527 ac_cv_use_log
='wxUSE_LOG=no'
3532 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x
; then
3534 eval "DEFAULT_$LINE"
3539 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3544 eval "$ac_cv_use_log"
3545 if test "$no_cache" != 1; then
3546 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3549 if test "$wxUSE_LOG" = yes; then
3550 echo "$ac_t""yes" 1>&6
3552 echo "$ac_t""no" 1>&6
3556 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3557 echo "configure:3558: checking for --enable-streams" >&5
3559 # Check whether --enable-streams or --disable-streams was given.
3560 if test "${enable_streams+set}" = set; then
3561 enableval
="$enable_streams"
3563 if test "$enableval" = yes; then
3564 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3566 ac_cv_use_streams
='wxUSE_STREAMS=no'
3571 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3572 if test "x$LINE" != x
; then
3573 eval "DEFAULT_$LINE"
3578 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3583 eval "$ac_cv_use_streams"
3584 if test "$no_cache" != 1; then
3585 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3588 if test "$wxUSE_STREAMS" = yes; then
3589 echo "$ac_t""yes" 1>&6
3591 echo "$ac_t""no" 1>&6
3595 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3596 echo "configure:3597: checking for --enable-file" >&5
3598 # Check whether --enable-file or --disable-file was given.
3599 if test "${enable_file+set}" = set; then
3600 enableval
="$enable_file"
3602 if test "$enableval" = yes; then
3603 ac_cv_use_file
='wxUSE_FILE=yes'
3605 ac_cv_use_file
='wxUSE_FILE=no'
3610 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x
; then
3612 eval "DEFAULT_$LINE"
3617 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3622 eval "$ac_cv_use_file"
3623 if test "$no_cache" != 1; then
3624 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3627 if test "$wxUSE_FILE" = yes; then
3628 echo "$ac_t""yes" 1>&6
3630 echo "$ac_t""no" 1>&6
3634 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3635 echo "configure:3636: checking for --enable-ffile" >&5
3637 # Check whether --enable-ffile or --disable-ffile was given.
3638 if test "${enable_ffile+set}" = set; then
3639 enableval
="$enable_ffile"
3641 if test "$enableval" = yes; then
3642 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3644 ac_cv_use_ffile
='wxUSE_FFILE=no'
3649 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3650 if test "x$LINE" != x
; then
3651 eval "DEFAULT_$LINE"
3656 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3661 eval "$ac_cv_use_ffile"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3666 if test "$wxUSE_FFILE" = yes; then
3667 echo "$ac_t""yes" 1>&6
3669 echo "$ac_t""no" 1>&6
3673 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3674 echo "configure:3675: checking for --enable-textfile" >&5
3676 # Check whether --enable-textfile or --disable-textfile was given.
3677 if test "${enable_textfile+set}" = set; then
3678 enableval
="$enable_textfile"
3680 if test "$enableval" = yes; then
3681 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3683 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3688 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x
; then
3690 eval "DEFAULT_$LINE"
3695 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3700 eval "$ac_cv_use_textfile"
3701 if test "$no_cache" != 1; then
3702 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3705 if test "$wxUSE_TEXTFILE" = yes; then
3706 echo "$ac_t""yes" 1>&6
3708 echo "$ac_t""no" 1>&6
3712 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3713 echo "configure:3714: checking for --enable-fontmap" >&5
3715 # Check whether --enable-fontmap or --disable-fontmap was given.
3716 if test "${enable_fontmap+set}" = set; then
3717 enableval
="$enable_fontmap"
3719 if test "$enableval" = yes; then
3720 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3722 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3727 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3728 if test "x$LINE" != x
; then
3729 eval "DEFAULT_$LINE"
3734 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3739 eval "$ac_cv_use_fontmap"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3744 if test "$wxUSE_FONTMAP" = yes; then
3745 echo "$ac_t""yes" 1>&6
3747 echo "$ac_t""no" 1>&6
3751 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3752 echo "configure:3753: checking for --enable-unicode" >&5
3754 # Check whether --enable-unicode or --disable-unicode was given.
3755 if test "${enable_unicode+set}" = set; then
3756 enableval
="$enable_unicode"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3761 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3766 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3778 eval "$ac_cv_use_unicode"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_UNICODE" = yes; then
3784 echo "$ac_t""yes" 1>&6
3786 echo "$ac_t""no" 1>&6
3790 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3791 echo "configure:3792: checking for --enable-wcsrtombs" >&5
3793 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3794 if test "${enable_wcsrtombs+set}" = set; then
3795 enableval
="$enable_wcsrtombs"
3797 if test "$enableval" = yes; then
3798 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3800 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3805 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x
; then
3807 eval "DEFAULT_$LINE"
3812 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3817 eval "$ac_cv_use_wcsrtombs"
3818 if test "$no_cache" != 1; then
3819 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3822 if test "$wxUSE_WCSRTOMBS" = yes; then
3823 echo "$ac_t""yes" 1>&6
3825 echo "$ac_t""no" 1>&6
3829 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3830 echo "configure:3831: checking for --enable-wxprintfv" >&5
3832 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3833 if test "${enable_wxprintfv+set}" = set; then
3834 enableval
="$enable_wxprintfv"
3836 if test "$enableval" = yes; then
3837 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3839 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3844 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x
; then
3846 eval "DEFAULT_$LINE"
3851 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3856 eval "$ac_cv_use_wxprintfv"
3857 if test "$no_cache" != 1; then
3858 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3861 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3862 echo "$ac_t""yes" 1>&6
3864 echo "$ac_t""no" 1>&6
3868 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3869 echo "configure:3870: checking for --enable-std_iostreams" >&5
3871 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3872 if test "${enable_std_iostreams+set}" = set; then
3873 enableval
="$enable_std_iostreams"
3875 if test "$enableval" = yes; then
3876 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3878 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3883 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3884 if test "x$LINE" != x
; then
3885 eval "DEFAULT_$LINE"
3890 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3895 eval "$ac_cv_use_std_iostreams"
3896 if test "$no_cache" != 1; then
3897 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3900 if test "$wxUSE_STD_IOSTREAM" = yes; then
3901 echo "$ac_t""yes" 1>&6
3903 echo "$ac_t""no" 1>&6
3907 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3908 echo "configure:3909: checking for --enable-filesystem" >&5
3910 # Check whether --enable-filesystem or --disable-filesystem was given.
3911 if test "${enable_filesystem+set}" = set; then
3912 enableval
="$enable_filesystem"
3914 if test "$enableval" = yes; then
3915 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3917 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3922 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3923 if test "x$LINE" != x
; then
3924 eval "DEFAULT_$LINE"
3929 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3934 eval "$ac_cv_use_filesystem"
3935 if test "$no_cache" != 1; then
3936 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3939 if test "$wxUSE_FILESYSTEM" = yes; then
3940 echo "$ac_t""yes" 1>&6
3942 echo "$ac_t""no" 1>&6
3946 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3947 echo "configure:3948: checking for --enable-fs_inet" >&5
3949 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3950 if test "${enable_fs_inet+set}" = set; then
3951 enableval
="$enable_fs_inet"
3953 if test "$enableval" = yes; then
3954 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3956 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3961 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3962 if test "x$LINE" != x
; then
3963 eval "DEFAULT_$LINE"
3968 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3973 eval "$ac_cv_use_fs_inet"
3974 if test "$no_cache" != 1; then
3975 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3978 if test "$wxUSE_FS_INET" = yes; then
3979 echo "$ac_t""yes" 1>&6
3981 echo "$ac_t""no" 1>&6
3985 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3986 echo "configure:3987: checking for --enable-fs_zip" >&5
3988 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3989 if test "${enable_fs_zip+set}" = set; then
3990 enableval
="$enable_fs_zip"
3992 if test "$enableval" = yes; then
3993 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3995 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4000 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x
; then
4002 eval "DEFAULT_$LINE"
4007 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4012 eval "$ac_cv_use_fs_zip"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4017 if test "$wxUSE_FS_ZIP" = yes; then
4018 echo "$ac_t""yes" 1>&6
4020 echo "$ac_t""no" 1>&6
4024 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4025 echo "configure:4026: checking for --enable-zipstream" >&5
4027 # Check whether --enable-zipstream or --disable-zipstream was given.
4028 if test "${enable_zipstream+set}" = set; then
4029 enableval
="$enable_zipstream"
4031 if test "$enableval" = yes; then
4032 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4034 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4039 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4040 if test "x$LINE" != x
; then
4041 eval "DEFAULT_$LINE"
4046 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4051 eval "$ac_cv_use_zipstream"
4052 if test "$no_cache" != 1; then
4053 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4056 if test "$wxUSE_ZIPSTREAM" = yes; then
4057 echo "$ac_t""yes" 1>&6
4059 echo "$ac_t""no" 1>&6
4064 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4065 echo "configure:4066: checking for --enable-catch_segvs" >&5
4067 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4068 if test "${enable_catch_segvs+set}" = set; then
4069 enableval
="$enable_catch_segvs"
4071 if test "$enableval" = yes; then
4072 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4074 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4079 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x
; then
4081 eval "DEFAULT_$LINE"
4086 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4091 eval "$ac_cv_use_catch_segvs"
4092 if test "$no_cache" != 1; then
4093 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4096 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4097 echo "$ac_t""yes" 1>&6
4099 echo "$ac_t""no" 1>&6
4103 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4104 echo "configure:4105: checking for --enable-snglinst" >&5
4106 # Check whether --enable-snglinst or --disable-snglinst was given.
4107 if test "${enable_snglinst+set}" = set; then
4108 enableval
="$enable_snglinst"
4110 if test "$enableval" = yes; then
4111 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4113 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4118 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4119 if test "x$LINE" != x
; then
4120 eval "DEFAULT_$LINE"
4125 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4130 eval "$ac_cv_use_snglinst"
4131 if test "$no_cache" != 1; then
4132 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4135 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4136 echo "$ac_t""yes" 1>&6
4138 echo "$ac_t""no" 1>&6
4143 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4144 echo "configure:4145: checking for --enable-mimetype" >&5
4146 # Check whether --enable-mimetype or --disable-mimetype was given.
4147 if test "${enable_mimetype+set}" = set; then
4148 enableval
="$enable_mimetype"
4150 if test "$enableval" = yes; then
4151 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4153 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4158 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4159 if test "x$LINE" != x
; then
4160 eval "DEFAULT_$LINE"
4165 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4170 eval "$ac_cv_use_mimetype"
4171 if test "$no_cache" != 1; then
4172 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4175 if test "$wxUSE_MIMETYPE" = yes; then
4176 echo "$ac_t""yes" 1>&6
4178 echo "$ac_t""no" 1>&6
4182 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4183 echo "configure:4184: checking for --enable-system_options" >&5
4185 # Check whether --enable-system_options or --disable-system_options was given.
4186 if test "${enable_system_options+set}" = set; then
4187 enableval
="$enable_system_options"
4189 if test "$enableval" = yes; then
4190 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4192 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4197 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x
; then
4199 eval "DEFAULT_$LINE"
4204 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4209 eval "$ac_cv_use_system_options"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4214 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4215 echo "$ac_t""yes" 1>&6
4217 echo "$ac_t""no" 1>&6
4223 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4224 echo "configure:4225: checking for --enable-threads" >&5
4226 # Check whether --enable-threads or --disable-threads was given.
4227 if test "${enable_threads+set}" = set; then
4228 enableval
="$enable_threads"
4230 if test "$enableval" = yes; then
4231 ac_cv_use_threads
='wxUSE_THREADS=yes'
4233 ac_cv_use_threads
='wxUSE_THREADS=no'
4238 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x
; then
4240 eval "DEFAULT_$LINE"
4245 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4250 eval "$ac_cv_use_threads"
4251 if test "$no_cache" != 1; then
4252 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4255 if test "$wxUSE_THREADS" = yes; then
4256 echo "$ac_t""yes" 1>&6
4258 echo "$ac_t""no" 1>&6
4262 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4263 echo "configure:4264: checking for --enable-serial" >&5
4265 # Check whether --enable-serial or --disable-serial was given.
4266 if test "${enable_serial+set}" = set; then
4267 enableval
="$enable_serial"
4269 if test "$enableval" = yes; then
4270 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4272 ac_cv_use_serial
='wxUSE_SERIAL=no'
4277 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4278 if test "x$LINE" != x
; then
4279 eval "DEFAULT_$LINE"
4284 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4289 eval "$ac_cv_use_serial"
4290 if test "$no_cache" != 1; then
4291 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4294 if test "$wxUSE_SERIAL" = yes; then
4295 echo "$ac_t""yes" 1>&6
4297 echo "$ac_t""no" 1>&6
4301 if test "$wxUSE_GUI" = "yes"; then
4305 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4306 echo "configure:4307: checking for --enable-docview" >&5
4308 # Check whether --enable-docview or --disable-docview was given.
4309 if test "${enable_docview+set}" = set; then
4310 enableval
="$enable_docview"
4312 if test "$enableval" = yes; then
4313 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4315 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4320 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4321 if test "x$LINE" != x
; then
4322 eval "DEFAULT_$LINE"
4327 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4332 eval "$ac_cv_use_docview"
4333 if test "$no_cache" != 1; then
4334 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4337 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4338 echo "$ac_t""yes" 1>&6
4340 echo "$ac_t""no" 1>&6
4344 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4345 echo "configure:4346: checking for --enable-help" >&5
4347 # Check whether --enable-help or --disable-help was given.
4348 if test "${enable_help+set}" = set; then
4349 enableval
="$enable_help"
4351 if test "$enableval" = yes; then
4352 ac_cv_use_help
='wxUSE_HELP=yes'
4354 ac_cv_use_help
='wxUSE_HELP=no'
4359 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x
; then
4361 eval "DEFAULT_$LINE"
4366 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4371 eval "$ac_cv_use_help"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4376 if test "$wxUSE_HELP" = yes; then
4377 echo "$ac_t""yes" 1>&6
4379 echo "$ac_t""no" 1>&6
4383 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4384 echo "configure:4385: checking for --enable-mshtmlhelp" >&5
4386 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4387 if test "${enable_mshtmlhelp+set}" = set; then
4388 enableval
="$enable_mshtmlhelp"
4390 if test "$enableval" = yes; then
4391 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4393 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4398 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4399 if test "x$LINE" != x
; then
4400 eval "DEFAULT_$LINE"
4405 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4410 eval "$ac_cv_use_mshtmlhelp"
4411 if test "$no_cache" != 1; then
4412 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4415 if test "$wxUSE_MS_HTML_HELP" = yes; then
4416 echo "$ac_t""yes" 1>&6
4418 echo "$ac_t""no" 1>&6
4422 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4423 echo "configure:4424: checking for --enable-html" >&5
4425 # Check whether --enable-html or --disable-html was given.
4426 if test "${enable_html+set}" = set; then
4427 enableval
="$enable_html"
4429 if test "$enableval" = yes; then
4430 ac_cv_use_html
='wxUSE_HTML=yes'
4432 ac_cv_use_html
='wxUSE_HTML=no'
4437 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4438 if test "x$LINE" != x
; then
4439 eval "DEFAULT_$LINE"
4444 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4449 eval "$ac_cv_use_html"
4450 if test "$no_cache" != 1; then
4451 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4454 if test "$wxUSE_HTML" = yes; then
4455 echo "$ac_t""yes" 1>&6
4457 echo "$ac_t""no" 1>&6
4461 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4462 echo "configure:4463: checking for --enable-htmlhelp" >&5
4464 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4465 if test "${enable_htmlhelp+set}" = set; then
4466 enableval
="$enable_htmlhelp"
4468 if test "$enableval" = yes; then
4469 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4471 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4476 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4477 if test "x$LINE" != x
; then
4478 eval "DEFAULT_$LINE"
4483 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4488 eval "$ac_cv_use_htmlhelp"
4489 if test "$no_cache" != 1; then
4490 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4493 if test "$wxUSE_WXHTML_HELP" = yes; then
4494 echo "$ac_t""yes" 1>&6
4496 echo "$ac_t""no" 1>&6
4500 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4501 echo "configure:4502: checking for --enable-constraints" >&5
4503 # Check whether --enable-constraints or --disable-constraints was given.
4504 if test "${enable_constraints+set}" = set; then
4505 enableval
="$enable_constraints"
4507 if test "$enableval" = yes; then
4508 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4510 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4515 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4516 if test "x$LINE" != x
; then
4517 eval "DEFAULT_$LINE"
4522 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4527 eval "$ac_cv_use_constraints"
4528 if test "$no_cache" != 1; then
4529 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4532 if test "$wxUSE_CONSTRAINTS" = yes; then
4533 echo "$ac_t""yes" 1>&6
4535 echo "$ac_t""no" 1>&6
4539 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4540 echo "configure:4541: checking for --enable-printarch" >&5
4542 # Check whether --enable-printarch or --disable-printarch was given.
4543 if test "${enable_printarch+set}" = set; then
4544 enableval
="$enable_printarch"
4546 if test "$enableval" = yes; then
4547 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4549 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4554 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4555 if test "x$LINE" != x
; then
4556 eval "DEFAULT_$LINE"
4561 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4566 eval "$ac_cv_use_printarch"
4567 if test "$no_cache" != 1; then
4568 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4571 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4572 echo "$ac_t""yes" 1>&6
4574 echo "$ac_t""no" 1>&6
4578 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4579 echo "configure:4580: checking for --enable-mdi" >&5
4581 # Check whether --enable-mdi or --disable-mdi was given.
4582 if test "${enable_mdi+set}" = set; then
4583 enableval
="$enable_mdi"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4588 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4593 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4605 eval "$ac_cv_use_mdi"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4611 echo "$ac_t""yes" 1>&6
4613 echo "$ac_t""no" 1>&6
4617 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4618 echo "configure:4619: checking for --enable-loggui" >&5
4620 # Check whether --enable-loggui or --disable-loggui was given.
4621 if test "${enable_loggui+set}" = set; then
4622 enableval
="$enable_loggui"
4624 if test "$enableval" = yes; then
4625 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4627 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4632 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4633 if test "x$LINE" != x
; then
4634 eval "DEFAULT_$LINE"
4639 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4644 eval "$ac_cv_use_loggui"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4649 if test "$wxUSE_LOGGUI" = yes; then
4650 echo "$ac_t""yes" 1>&6
4652 echo "$ac_t""no" 1>&6
4656 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4657 echo "configure:4658: checking for --enable-logwin" >&5
4659 # Check whether --enable-logwin or --disable-logwin was given.
4660 if test "${enable_logwin+set}" = set; then
4661 enableval
="$enable_logwin"
4663 if test "$enableval" = yes; then
4664 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4666 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4671 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4672 if test "x$LINE" != x
; then
4673 eval "DEFAULT_$LINE"
4678 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4683 eval "$ac_cv_use_logwin"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4688 if test "$wxUSE_LOGWINDOW" = yes; then
4689 echo "$ac_t""yes" 1>&6
4691 echo "$ac_t""no" 1>&6
4696 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4697 echo "configure:4698: checking for --enable-postscript" >&5
4699 # Check whether --enable-postscript or --disable-postscript was given.
4700 if test "${enable_postscript+set}" = set; then
4701 enableval
="$enable_postscript"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4706 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4711 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4723 eval "$ac_cv_use_postscript"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_POSTSCRIPT" = yes; then
4729 echo "$ac_t""yes" 1>&6
4731 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --enable-prologio" >&5
4741 # Check whether --enable-prologio or --disable-prologio was given.
4742 if test "${enable_prologio+set}" = set; then
4743 enableval
="$enable_prologio"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4748 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4753 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4765 eval "$ac_cv_use_prologio"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_PROLOGIO" = yes; then
4771 echo "$ac_t""yes" 1>&6
4773 echo "$ac_t""no" 1>&6
4777 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4778 echo "configure:4779: checking for --enable-resources" >&5
4780 # Check whether --enable-resources or --disable-resources was given.
4781 if test "${enable_resources+set}" = set; then
4782 enableval
="$enable_resources"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4787 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4792 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4804 eval "$ac_cv_use_resources"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_RESOURCES" = yes; then
4810 echo "$ac_t""yes" 1>&6
4812 echo "$ac_t""no" 1>&6
4817 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4818 echo "configure:4819: checking for --enable-xresources" >&5
4820 # Check whether --enable-xresources or --disable-xresources was given.
4821 if test "${enable_xresources+set}" = set; then
4822 enableval
="$enable_xresources"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4827 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4832 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4844 eval "$ac_cv_use_xresources"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_X_RESOURCES" = yes; then
4850 echo "$ac_t""yes" 1>&6
4852 echo "$ac_t""no" 1>&6
4858 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4859 echo "configure:4860: checking for --enable-clipboard" >&5
4861 # Check whether --enable-clipboard or --disable-clipboard was given.
4862 if test "${enable_clipboard+set}" = set; then
4863 enableval
="$enable_clipboard"
4865 if test "$enableval" = yes; then
4866 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4868 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4873 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4874 if test "x$LINE" != x
; then
4875 eval "DEFAULT_$LINE"
4880 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4885 eval "$ac_cv_use_clipboard"
4886 if test "$no_cache" != 1; then
4887 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4890 if test "$wxUSE_CLIPBOARD" = yes; then
4891 echo "$ac_t""yes" 1>&6
4893 echo "$ac_t""no" 1>&6
4897 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4898 echo "configure:4899: checking for --enable-dnd" >&5
4900 # Check whether --enable-dnd or --disable-dnd was given.
4901 if test "${enable_dnd+set}" = set; then
4902 enableval
="$enable_dnd"
4904 if test "$enableval" = yes; then
4905 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4907 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4912 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4913 if test "x$LINE" != x
; then
4914 eval "DEFAULT_$LINE"
4919 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4924 eval "$ac_cv_use_dnd"
4925 if test "$no_cache" != 1; then
4926 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4929 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4930 echo "$ac_t""yes" 1>&6
4932 echo "$ac_t""no" 1>&6
4936 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4937 echo "configure:4938: checking for --enable-metafile" >&5
4939 # Check whether --enable-metafile or --disable-metafile was given.
4940 if test "${enable_metafile+set}" = set; then
4941 enableval
="$enable_metafile"
4943 if test "$enableval" = yes; then
4944 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4946 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4951 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x
; then
4953 eval "DEFAULT_$LINE"
4958 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4963 eval "$ac_cv_use_metafile"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4968 if test "$wxUSE_METAFILE" = yes; then
4969 echo "$ac_t""yes" 1>&6
4971 echo "$ac_t""no" 1>&6
4976 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4977 echo "configure:4978: checking for --enable-treelayout" >&5
4979 # Check whether --enable-treelayout or --disable-treelayout was given.
4980 if test "${enable_treelayout+set}" = set; then
4981 enableval
="$enable_treelayout"
4983 if test "$enableval" = yes; then
4984 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4986 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4991 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x
; then
4993 eval "DEFAULT_$LINE"
4998 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5003 eval "$ac_cv_use_treelayout"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_TREELAYOUT" = yes; then
5009 echo "$ac_t""yes" 1>&6
5011 echo "$ac_t""no" 1>&6
5017 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5018 echo "configure:5019: checking for --enable-controls" >&5
5020 # Check whether --enable-controls or --disable-controls was given.
5021 if test "${enable_controls+set}" = set; then
5022 enableval
="$enable_controls"
5024 if test "$enableval" = yes; then
5025 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5027 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5032 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x
; then
5034 eval "DEFAULT_$LINE"
5039 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5044 eval "$ac_cv_use_controls"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5049 if test "$wxUSE_CONTROLS" = yes; then
5050 echo "$ac_t""yes" 1>&6
5052 echo "$ac_t""no" 1>&6
5056 if test "$wxUSE_CONTROLS" = "yes"; then
5057 DEFAULT_wxUSE_ACCEL
=yes
5058 DEFAULT_wxUSE_BMPBUTTON
=yes
5059 DEFAULT_wxUSE_BUTTON
=yes
5060 DEFAULT_wxUSE_CALCTRL
=no
5061 DEFAULT_wxUSE_CARET
=yes
5062 DEFAULT_wxUSE_COMBOBOX
=yes
5063 DEFAULT_wxUSE_CHECKBOX
=yes
5064 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5065 DEFAULT_wxUSE_CHOICE
=yes
5066 DEFAULT_wxUSE_GAUGE
=yes
5067 DEFAULT_wxUSE_GRID
=yes
5068 DEFAULT_wxUSE_NEW_GRID
=yes
5069 DEFAULT_wxUSE_IMAGLIST
=yes
5070 DEFAULT_wxUSE_LISTBOX
=yes
5071 DEFAULT_wxUSE_LISTCTRL
=yes
5072 DEFAULT_wxUSE_NOTEBOOK
=yes
5073 DEFAULT_wxUSE_PROPSHEET
=yes
5074 DEFAULT_wxUSE_RADIOBOX
=yes
5075 DEFAULT_wxUSE_RADIOBTN
=yes
5076 DEFAULT_wxUSE_SASH
=yes
5077 DEFAULT_wxUSE_SCROLLBAR
=yes
5078 DEFAULT_wxUSE_SLIDER
=yes
5079 DEFAULT_wxUSE_SPINBTN
=yes
5080 DEFAULT_wxUSE_SPINCTRL
=yes
5081 DEFAULT_wxUSE_SPLITTER
=yes
5082 DEFAULT_wxUSE_STATBMP
=yes
5083 DEFAULT_wxUSE_STATBOX
=yes
5084 DEFAULT_wxUSE_STATLINE
=yes
5085 DEFAULT_wxUSE_STATUSBAR
=yes
5086 DEFAULT_wxUSE_TAB_DIALOG
=yes
5087 DEFAULT_wxUSE_TOGGLEBTN
=yes
5088 DEFAULT_wxUSE_TOOLBAR
=yes
5089 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5090 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5091 DEFAULT_wxUSE_TOOLTIPS
=yes
5092 DEFAULT_wxUSE_TREECTRL
=yes
5093 DEFAULT_wxUSE_POPUPWIN
=yes
5094 elif test "$wxUSE_CONTROLS" = "no"; then
5095 DEFAULT_wxUSE_ACCEL
=no
5096 DEFAULT_wxUSE_BMPBUTTON
=no
5097 DEFAULT_wxUSE_BUTTON
=no
5098 DEFAULT_wxUSE_CALCTRL
=no
5099 DEFAULT_wxUSE_CARET
=no
5100 DEFAULT_wxUSE_COMBOBOX
=no
5101 DEFAULT_wxUSE_CHECKBOX
=no
5102 DEFAULT_wxUSE_CHECKLISTBOX
=no
5103 DEFAULT_wxUSE_CHOICE
=no
5104 DEFAULT_wxUSE_GAUGE
=no
5105 DEFAULT_wxUSE_GRID
=no
5106 DEFAULT_wxUSE_NEW_GRID
=no
5107 DEFAULT_wxUSE_IMAGLIST
=no
5108 DEFAULT_wxUSE_LISTBOX
=no
5109 DEFAULT_wxUSE_LISTCTRL
=no
5110 DEFAULT_wxUSE_NOTEBOOK
=no
5111 DEFAULT_wxUSE_PROPSHEET
=no
5112 DEFAULT_wxUSE_RADIOBOX
=no
5113 DEFAULT_wxUSE_RADIOBTN
=no
5114 DEFAULT_wxUSE_SASH
=no
5115 DEFAULT_wxUSE_SCROLLBAR
=no
5116 DEFAULT_wxUSE_SLIDER
=no
5117 DEFAULT_wxUSE_SPINBTN
=no
5118 DEFAULT_wxUSE_SPINCTRL
=no
5119 DEFAULT_wxUSE_SPLITTER
=no
5120 DEFAULT_wxUSE_STATBMP
=no
5121 DEFAULT_wxUSE_STATBOX
=no
5122 DEFAULT_wxUSE_STATLINE
=no
5123 DEFAULT_wxUSE_STATUSBAR
=no
5124 DEFAULT_wxUSE_TAB_DIALOG
=no
5125 DEFAULT_wxUSE_TOGGLEBTN
=no
5126 DEFAULT_wxUSE_TOOLBAR
=no
5127 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5128 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5129 DEFAULT_wxUSE_TOOLTIPS
=no
5130 DEFAULT_wxUSE_TREECTRL
=no
5131 DEFAULT_wxUSE_POPUPWIN
=no
5135 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5136 echo "configure:5137: checking for --enable-accel" >&5
5138 # Check whether --enable-accel or --disable-accel was given.
5139 if test "${enable_accel+set}" = set; then
5140 enableval
="$enable_accel"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5145 ac_cv_use_accel
='wxUSE_ACCEL=no'
5150 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x
; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5162 eval "$ac_cv_use_accel"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_ACCEL" = yes; then
5168 echo "$ac_t""yes" 1>&6
5170 echo "$ac_t""no" 1>&6
5174 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5175 echo "configure:5176: checking for --enable-button" >&5
5177 # Check whether --enable-button or --disable-button was given.
5178 if test "${enable_button+set}" = set; then
5179 enableval
="$enable_button"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_button
='wxUSE_BUTTON=yes'
5184 ac_cv_use_button
='wxUSE_BUTTON=no'
5189 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5201 eval "$ac_cv_use_button"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_BUTTON" = yes; then
5207 echo "$ac_t""yes" 1>&6
5209 echo "$ac_t""no" 1>&6
5213 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5214 echo "configure:5215: checking for --enable-bmpbutton" >&5
5216 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5217 if test "${enable_bmpbutton+set}" = set; then
5218 enableval
="$enable_bmpbutton"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5223 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5228 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x
; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5240 eval "$ac_cv_use_bmpbutton"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_BMPBUTTON" = yes; then
5246 echo "$ac_t""yes" 1>&6
5248 echo "$ac_t""no" 1>&6
5252 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5253 echo "configure:5254: checking for --enable-calendar" >&5
5255 # Check whether --enable-calendar or --disable-calendar was given.
5256 if test "${enable_calendar+set}" = set; then
5257 enableval
="$enable_calendar"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5262 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5267 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5279 eval "$ac_cv_use_calendar"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_CALCTRL" = yes; then
5285 echo "$ac_t""yes" 1>&6
5287 echo "$ac_t""no" 1>&6
5291 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5292 echo "configure:5293: checking for --enable-caret" >&5
5294 # Check whether --enable-caret or --disable-caret was given.
5295 if test "${enable_caret+set}" = set; then
5296 enableval
="$enable_caret"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_caret
='wxUSE_CARET=yes'
5301 ac_cv_use_caret
='wxUSE_CARET=no'
5306 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5318 eval "$ac_cv_use_caret"
5319 if test "$no_cache" != 1; then
5320 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5323 if test "$wxUSE_CARET" = yes; then
5324 echo "$ac_t""yes" 1>&6
5326 echo "$ac_t""no" 1>&6
5330 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5331 echo "configure:5332: checking for --enable-checkbox" >&5
5333 # Check whether --enable-checkbox or --disable-checkbox was given.
5334 if test "${enable_checkbox+set}" = set; then
5335 enableval
="$enable_checkbox"
5337 if test "$enableval" = yes; then
5338 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5340 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5345 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5346 if test "x$LINE" != x
; then
5347 eval "DEFAULT_$LINE"
5352 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5357 eval "$ac_cv_use_checkbox"
5358 if test "$no_cache" != 1; then
5359 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5362 if test "$wxUSE_CHECKBOX" = yes; then
5363 echo "$ac_t""yes" 1>&6
5365 echo "$ac_t""no" 1>&6
5369 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5370 echo "configure:5371: checking for --enable-checklst" >&5
5372 # Check whether --enable-checklst or --disable-checklst was given.
5373 if test "${enable_checklst+set}" = set; then
5374 enableval
="$enable_checklst"
5376 if test "$enableval" = yes; then
5377 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5379 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5384 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5385 if test "x$LINE" != x
; then
5386 eval "DEFAULT_$LINE"
5391 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5396 eval "$ac_cv_use_checklst"
5397 if test "$no_cache" != 1; then
5398 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5401 if test "$wxUSE_CHECKLST" = yes; then
5402 echo "$ac_t""yes" 1>&6
5404 echo "$ac_t""no" 1>&6
5408 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5409 echo "configure:5410: checking for --enable-choice" >&5
5411 # Check whether --enable-choice or --disable-choice was given.
5412 if test "${enable_choice+set}" = set; then
5413 enableval
="$enable_choice"
5415 if test "$enableval" = yes; then
5416 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5418 ac_cv_use_choice
='wxUSE_CHOICE=no'
5423 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5424 if test "x$LINE" != x
; then
5425 eval "DEFAULT_$LINE"
5430 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5435 eval "$ac_cv_use_choice"
5436 if test "$no_cache" != 1; then
5437 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5440 if test "$wxUSE_CHOICE" = yes; then
5441 echo "$ac_t""yes" 1>&6
5443 echo "$ac_t""no" 1>&6
5447 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5448 echo "configure:5449: checking for --enable-combobox" >&5
5450 # Check whether --enable-combobox or --disable-combobox was given.
5451 if test "${enable_combobox+set}" = set; then
5452 enableval
="$enable_combobox"
5454 if test "$enableval" = yes; then
5455 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5457 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5462 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5463 if test "x$LINE" != x
; then
5464 eval "DEFAULT_$LINE"
5469 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5474 eval "$ac_cv_use_combobox"
5475 if test "$no_cache" != 1; then
5476 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5479 if test "$wxUSE_COMBOBOX" = yes; then
5480 echo "$ac_t""yes" 1>&6
5482 echo "$ac_t""no" 1>&6
5486 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5487 echo "configure:5488: checking for --enable-gauge" >&5
5489 # Check whether --enable-gauge or --disable-gauge was given.
5490 if test "${enable_gauge+set}" = set; then
5491 enableval
="$enable_gauge"
5493 if test "$enableval" = yes; then
5494 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5496 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5501 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5502 if test "x$LINE" != x
; then
5503 eval "DEFAULT_$LINE"
5508 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5513 eval "$ac_cv_use_gauge"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5518 if test "$wxUSE_GAUGE" = yes; then
5519 echo "$ac_t""yes" 1>&6
5521 echo "$ac_t""no" 1>&6
5525 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5526 echo "configure:5527: checking for --enable-grid" >&5
5528 # Check whether --enable-grid or --disable-grid was given.
5529 if test "${enable_grid+set}" = set; then
5530 enableval
="$enable_grid"
5532 if test "$enableval" = yes; then
5533 ac_cv_use_grid
='wxUSE_GRID=yes'
5535 ac_cv_use_grid
='wxUSE_GRID=no'
5540 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5541 if test "x$LINE" != x
; then
5542 eval "DEFAULT_$LINE"
5547 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5552 eval "$ac_cv_use_grid"
5553 if test "$no_cache" != 1; then
5554 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5557 if test "$wxUSE_GRID" = yes; then
5558 echo "$ac_t""yes" 1>&6
5560 echo "$ac_t""no" 1>&6
5564 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5565 echo "configure:5566: checking for --enable-newgrid" >&5
5567 # Check whether --enable-newgrid or --disable-newgrid was given.
5568 if test "${enable_newgrid+set}" = set; then
5569 enableval
="$enable_newgrid"
5571 if test "$enableval" = yes; then
5572 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5574 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5579 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x
; then
5581 eval "DEFAULT_$LINE"
5586 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5591 eval "$ac_cv_use_newgrid"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5596 if test "$wxUSE_NEW_GRID" = yes; then
5597 echo "$ac_t""yes" 1>&6
5599 echo "$ac_t""no" 1>&6
5603 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5604 echo "configure:5605: checking for --enable-imaglist" >&5
5606 # Check whether --enable-imaglist or --disable-imaglist was given.
5607 if test "${enable_imaglist+set}" = set; then
5608 enableval
="$enable_imaglist"
5610 if test "$enableval" = yes; then
5611 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5613 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5618 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5619 if test "x$LINE" != x
; then
5620 eval "DEFAULT_$LINE"
5625 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5630 eval "$ac_cv_use_imaglist"
5631 if test "$no_cache" != 1; then
5632 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5635 if test "$wxUSE_IMAGLIST" = yes; then
5636 echo "$ac_t""yes" 1>&6
5638 echo "$ac_t""no" 1>&6
5642 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5643 echo "configure:5644: checking for --enable-listbox" >&5
5645 # Check whether --enable-listbox or --disable-listbox was given.
5646 if test "${enable_listbox+set}" = set; then
5647 enableval
="$enable_listbox"
5649 if test "$enableval" = yes; then
5650 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5652 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5657 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5658 if test "x$LINE" != x
; then
5659 eval "DEFAULT_$LINE"
5664 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5669 eval "$ac_cv_use_listbox"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5674 if test "$wxUSE_LISTBOX" = yes; then
5675 echo "$ac_t""yes" 1>&6
5677 echo "$ac_t""no" 1>&6
5681 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5682 echo "configure:5683: checking for --enable-listctrl" >&5
5684 # Check whether --enable-listctrl or --disable-listctrl was given.
5685 if test "${enable_listctrl+set}" = set; then
5686 enableval
="$enable_listctrl"
5688 if test "$enableval" = yes; then
5689 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5691 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5696 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5697 if test "x$LINE" != x
; then
5698 eval "DEFAULT_$LINE"
5703 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5708 eval "$ac_cv_use_listctrl"
5709 if test "$no_cache" != 1; then
5710 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5713 if test "$wxUSE_LISTCTRL" = yes; then
5714 echo "$ac_t""yes" 1>&6
5716 echo "$ac_t""no" 1>&6
5720 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5721 echo "configure:5722: checking for --enable-notebook" >&5
5723 # Check whether --enable-notebook or --disable-notebook was given.
5724 if test "${enable_notebook+set}" = set; then
5725 enableval
="$enable_notebook"
5727 if test "$enableval" = yes; then
5728 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5730 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5735 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5736 if test "x$LINE" != x
; then
5737 eval "DEFAULT_$LINE"
5742 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5747 eval "$ac_cv_use_notebook"
5748 if test "$no_cache" != 1; then
5749 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5752 if test "$wxUSE_NOTEBOOK" = yes; then
5753 echo "$ac_t""yes" 1>&6
5755 echo "$ac_t""no" 1>&6
5759 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5760 echo "configure:5761: checking for --enable-propsheet" >&5
5762 # Check whether --enable-propsheet or --disable-propsheet was given.
5763 if test "${enable_propsheet+set}" = set; then
5764 enableval
="$enable_propsheet"
5766 if test "$enableval" = yes; then
5767 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5769 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5774 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5775 if test "x$LINE" != x
; then
5776 eval "DEFAULT_$LINE"
5781 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5786 eval "$ac_cv_use_propsheet"
5787 if test "$no_cache" != 1; then
5788 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5791 if test "$wxUSE_PROPSHEET" = yes; then
5792 echo "$ac_t""yes" 1>&6
5794 echo "$ac_t""no" 1>&6
5798 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5799 echo "configure:5800: checking for --enable-radiobox" >&5
5801 # Check whether --enable-radiobox or --disable-radiobox was given.
5802 if test "${enable_radiobox+set}" = set; then
5803 enableval
="$enable_radiobox"
5805 if test "$enableval" = yes; then
5806 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5808 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5813 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5814 if test "x$LINE" != x
; then
5815 eval "DEFAULT_$LINE"
5820 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5825 eval "$ac_cv_use_radiobox"
5826 if test "$no_cache" != 1; then
5827 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5830 if test "$wxUSE_RADIOBOX" = yes; then
5831 echo "$ac_t""yes" 1>&6
5833 echo "$ac_t""no" 1>&6
5837 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5838 echo "configure:5839: checking for --enable-radiobtn" >&5
5840 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5841 if test "${enable_radiobtn+set}" = set; then
5842 enableval
="$enable_radiobtn"
5844 if test "$enableval" = yes; then
5845 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5847 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5852 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x
; then
5854 eval "DEFAULT_$LINE"
5859 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5864 eval "$ac_cv_use_radiobtn"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5869 if test "$wxUSE_RADIOBTN" = yes; then
5870 echo "$ac_t""yes" 1>&6
5872 echo "$ac_t""no" 1>&6
5876 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5877 echo "configure:5878: checking for --enable-sash" >&5
5879 # Check whether --enable-sash or --disable-sash was given.
5880 if test "${enable_sash+set}" = set; then
5881 enableval
="$enable_sash"
5883 if test "$enableval" = yes; then
5884 ac_cv_use_sash
='wxUSE_SASH=yes'
5886 ac_cv_use_sash
='wxUSE_SASH=no'
5891 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5892 if test "x$LINE" != x
; then
5893 eval "DEFAULT_$LINE"
5898 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5903 eval "$ac_cv_use_sash"
5904 if test "$no_cache" != 1; then
5905 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5908 if test "$wxUSE_SASH" = yes; then
5909 echo "$ac_t""yes" 1>&6
5911 echo "$ac_t""no" 1>&6
5915 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5916 echo "configure:5917: checking for --enable-scrollbar" >&5
5918 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5919 if test "${enable_scrollbar+set}" = set; then
5920 enableval
="$enable_scrollbar"
5922 if test "$enableval" = yes; then
5923 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5925 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5930 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5931 if test "x$LINE" != x
; then
5932 eval "DEFAULT_$LINE"
5937 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5942 eval "$ac_cv_use_scrollbar"
5943 if test "$no_cache" != 1; then
5944 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5947 if test "$wxUSE_SCROLLBAR" = yes; then
5948 echo "$ac_t""yes" 1>&6
5950 echo "$ac_t""no" 1>&6
5954 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5955 echo "configure:5956: checking for --enable-slider" >&5
5957 # Check whether --enable-slider or --disable-slider was given.
5958 if test "${enable_slider+set}" = set; then
5959 enableval
="$enable_slider"
5961 if test "$enableval" = yes; then
5962 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5964 ac_cv_use_slider
='wxUSE_SLIDER=no'
5969 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5970 if test "x$LINE" != x
; then
5971 eval "DEFAULT_$LINE"
5976 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5981 eval "$ac_cv_use_slider"
5982 if test "$no_cache" != 1; then
5983 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5986 if test "$wxUSE_SLIDER" = yes; then
5987 echo "$ac_t""yes" 1>&6
5989 echo "$ac_t""no" 1>&6
5993 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5994 echo "configure:5995: checking for --enable-spinbtn" >&5
5996 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5997 if test "${enable_spinbtn+set}" = set; then
5998 enableval
="$enable_spinbtn"
6000 if test "$enableval" = yes; then
6001 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6003 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6008 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x
; then
6010 eval "DEFAULT_$LINE"
6015 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6020 eval "$ac_cv_use_spinbtn"
6021 if test "$no_cache" != 1; then
6022 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6025 if test "$wxUSE_SPINBTN" = yes; then
6026 echo "$ac_t""yes" 1>&6
6028 echo "$ac_t""no" 1>&6
6032 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6033 echo "configure:6034: checking for --enable-spinctrl" >&5
6035 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6036 if test "${enable_spinctrl+set}" = set; then
6037 enableval
="$enable_spinctrl"
6039 if test "$enableval" = yes; then
6040 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6042 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6047 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6048 if test "x$LINE" != x
; then
6049 eval "DEFAULT_$LINE"
6054 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6059 eval "$ac_cv_use_spinctrl"
6060 if test "$no_cache" != 1; then
6061 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6064 if test "$wxUSE_SPINCTRL" = yes; then
6065 echo "$ac_t""yes" 1>&6
6067 echo "$ac_t""no" 1>&6
6071 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6072 echo "configure:6073: checking for --enable-splitter" >&5
6074 # Check whether --enable-splitter or --disable-splitter was given.
6075 if test "${enable_splitter+set}" = set; then
6076 enableval
="$enable_splitter"
6078 if test "$enableval" = yes; then
6079 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6081 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6086 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6087 if test "x$LINE" != x
; then
6088 eval "DEFAULT_$LINE"
6093 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6098 eval "$ac_cv_use_splitter"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6103 if test "$wxUSE_SPLITTER" = yes; then
6104 echo "$ac_t""yes" 1>&6
6106 echo "$ac_t""no" 1>&6
6110 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6111 echo "configure:6112: checking for --enable-statbmp" >&5
6113 # Check whether --enable-statbmp or --disable-statbmp was given.
6114 if test "${enable_statbmp+set}" = set; then
6115 enableval
="$enable_statbmp"
6117 if test "$enableval" = yes; then
6118 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6120 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6125 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6126 if test "x$LINE" != x
; then
6127 eval "DEFAULT_$LINE"
6132 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6137 eval "$ac_cv_use_statbmp"
6138 if test "$no_cache" != 1; then
6139 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6142 if test "$wxUSE_STATBMP" = yes; then
6143 echo "$ac_t""yes" 1>&6
6145 echo "$ac_t""no" 1>&6
6149 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6150 echo "configure:6151: checking for --enable-statbox" >&5
6152 # Check whether --enable-statbox or --disable-statbox was given.
6153 if test "${enable_statbox+set}" = set; then
6154 enableval
="$enable_statbox"
6156 if test "$enableval" = yes; then
6157 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6159 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6164 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6165 if test "x$LINE" != x
; then
6166 eval "DEFAULT_$LINE"
6171 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6176 eval "$ac_cv_use_statbox"
6177 if test "$no_cache" != 1; then
6178 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6181 if test "$wxUSE_STATBOX" = yes; then
6182 echo "$ac_t""yes" 1>&6
6184 echo "$ac_t""no" 1>&6
6188 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6189 echo "configure:6190: checking for --enable-statline" >&5
6191 # Check whether --enable-statline or --disable-statline was given.
6192 if test "${enable_statline+set}" = set; then
6193 enableval
="$enable_statline"
6195 if test "$enableval" = yes; then
6196 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6198 ac_cv_use_statline
='wxUSE_STATLINE=no'
6203 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6204 if test "x$LINE" != x
; then
6205 eval "DEFAULT_$LINE"
6210 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6215 eval "$ac_cv_use_statline"
6216 if test "$no_cache" != 1; then
6217 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6220 if test "$wxUSE_STATLINE" = yes; then
6221 echo "$ac_t""yes" 1>&6
6223 echo "$ac_t""no" 1>&6
6227 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6228 echo "configure:6229: checking for --enable-stattext" >&5
6230 # Check whether --enable-stattext or --disable-stattext was given.
6231 if test "${enable_stattext+set}" = set; then
6232 enableval
="$enable_stattext"
6234 if test "$enableval" = yes; then
6235 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6237 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6242 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6243 if test "x$LINE" != x
; then
6244 eval "DEFAULT_$LINE"
6249 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6254 eval "$ac_cv_use_stattext"
6255 if test "$no_cache" != 1; then
6256 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6259 if test "$wxUSE_STATTEXT" = yes; then
6260 echo "$ac_t""yes" 1>&6
6262 echo "$ac_t""no" 1>&6
6266 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6267 echo "configure:6268: checking for --enable-statusbar" >&5
6269 # Check whether --enable-statusbar or --disable-statusbar was given.
6270 if test "${enable_statusbar+set}" = set; then
6271 enableval
="$enable_statusbar"
6273 if test "$enableval" = yes; then
6274 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6276 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6281 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x
; then
6283 eval "DEFAULT_$LINE"
6288 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6293 eval "$ac_cv_use_statusbar"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_STATUSBAR" = yes; then
6299 echo "$ac_t""yes" 1>&6
6301 echo "$ac_t""no" 1>&6
6305 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6306 echo "configure:6307: checking for --enable-tabdialog" >&5
6308 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6309 if test "${enable_tabdialog+set}" = set; then
6310 enableval
="$enable_tabdialog"
6312 if test "$enableval" = yes; then
6313 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6315 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6320 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6321 if test "x$LINE" != x
; then
6322 eval "DEFAULT_$LINE"
6327 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6332 eval "$ac_cv_use_tabdialog"
6333 if test "$no_cache" != 1; then
6334 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6337 if test "$wxUSE_TABDIALOG" = yes; then
6338 echo "$ac_t""yes" 1>&6
6340 echo "$ac_t""no" 1>&6
6344 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6345 echo "configure:6346: checking for --enable-textctrl" >&5
6347 # Check whether --enable-textctrl or --disable-textctrl was given.
6348 if test "${enable_textctrl+set}" = set; then
6349 enableval
="$enable_textctrl"
6351 if test "$enableval" = yes; then
6352 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6354 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6359 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6360 if test "x$LINE" != x
; then
6361 eval "DEFAULT_$LINE"
6366 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6371 eval "$ac_cv_use_textctrl"
6372 if test "$no_cache" != 1; then
6373 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6376 if test "$wxUSE_TEXTCTRL" = yes; then
6377 echo "$ac_t""yes" 1>&6
6379 echo "$ac_t""no" 1>&6
6383 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6384 echo "configure:6385: checking for --enable-togglebtn" >&5
6386 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6387 if test "${enable_togglebtn+set}" = set; then
6388 enableval
="$enable_togglebtn"
6390 if test "$enableval" = yes; then
6391 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6393 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6398 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6399 if test "x$LINE" != x
; then
6400 eval "DEFAULT_$LINE"
6405 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6410 eval "$ac_cv_use_togglebtn"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6415 if test "$wxUSE_TOGGLEBTN" = yes; then
6416 echo "$ac_t""yes" 1>&6
6418 echo "$ac_t""no" 1>&6
6422 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6423 echo "configure:6424: checking for --enable-toolbar" >&5
6425 # Check whether --enable-toolbar or --disable-toolbar was given.
6426 if test "${enable_toolbar+set}" = set; then
6427 enableval
="$enable_toolbar"
6429 if test "$enableval" = yes; then
6430 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6432 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6437 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x
; then
6439 eval "DEFAULT_$LINE"
6444 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6449 eval "$ac_cv_use_toolbar"
6450 if test "$no_cache" != 1; then
6451 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6454 if test "$wxUSE_TOOLBAR" = yes; then
6455 echo "$ac_t""yes" 1>&6
6457 echo "$ac_t""no" 1>&6
6461 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6462 echo "configure:6463: checking for --enable-tbarnative" >&5
6464 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6465 if test "${enable_tbarnative+set}" = set; then
6466 enableval
="$enable_tbarnative"
6468 if test "$enableval" = yes; then
6469 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6471 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6476 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6477 if test "x$LINE" != x
; then
6478 eval "DEFAULT_$LINE"
6483 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6488 eval "$ac_cv_use_tbarnative"
6489 if test "$no_cache" != 1; then
6490 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6493 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6494 echo "$ac_t""yes" 1>&6
6496 echo "$ac_t""no" 1>&6
6500 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6501 echo "configure:6502: checking for --enable-tbarsmpl" >&5
6503 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6504 if test "${enable_tbarsmpl+set}" = set; then
6505 enableval
="$enable_tbarsmpl"
6507 if test "$enableval" = yes; then
6508 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6510 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6515 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6516 if test "x$LINE" != x
; then
6517 eval "DEFAULT_$LINE"
6522 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6527 eval "$ac_cv_use_tbarsmpl"
6528 if test "$no_cache" != 1; then
6529 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6532 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6533 echo "$ac_t""yes" 1>&6
6535 echo "$ac_t""no" 1>&6
6539 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6540 echo "configure:6541: checking for --enable-treectrl" >&5
6542 # Check whether --enable-treectrl or --disable-treectrl was given.
6543 if test "${enable_treectrl+set}" = set; then
6544 enableval
="$enable_treectrl"
6546 if test "$enableval" = yes; then
6547 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6549 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6554 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6555 if test "x$LINE" != x
; then
6556 eval "DEFAULT_$LINE"
6561 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6566 eval "$ac_cv_use_treectrl"
6567 if test "$no_cache" != 1; then
6568 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6571 if test "$wxUSE_TREECTRL" = yes; then
6572 echo "$ac_t""yes" 1>&6
6574 echo "$ac_t""no" 1>&6
6578 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6579 echo "configure:6580: checking for --enable-popupwin" >&5
6581 # Check whether --enable-popupwin or --disable-popupwin was given.
6582 if test "${enable_popupwin+set}" = set; then
6583 enableval
="$enable_popupwin"
6585 if test "$enableval" = yes; then
6586 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6588 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6593 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x
; then
6595 eval "DEFAULT_$LINE"
6600 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6605 eval "$ac_cv_use_popupwin"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6610 if test "$wxUSE_POPUPWIN" = yes; then
6611 echo "$ac_t""yes" 1>&6
6613 echo "$ac_t""no" 1>&6
6619 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6620 echo "configure:6621: checking for --enable-commondlg" >&5
6622 # Check whether --enable-commondlg or --disable-commondlg was given.
6623 if test "${enable_commondlg+set}" = set; then
6624 enableval
="$enable_commondlg"
6626 if test "$enableval" = yes; then
6627 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6629 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6634 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6635 if test "x$LINE" != x
; then
6636 eval "DEFAULT_$LINE"
6641 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6646 eval "$ac_cv_use_commondlg"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6651 if test "$wxUSE_COMMONDLGS" = yes; then
6652 echo "$ac_t""yes" 1>&6
6654 echo "$ac_t""no" 1>&6
6658 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6659 echo "configure:6660: checking for --enable-choicedlg" >&5
6661 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6662 if test "${enable_choicedlg+set}" = set; then
6663 enableval
="$enable_choicedlg"
6665 if test "$enableval" = yes; then
6666 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6668 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6673 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6674 if test "x$LINE" != x
; then
6675 eval "DEFAULT_$LINE"
6680 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6685 eval "$ac_cv_use_choicedlg"
6686 if test "$no_cache" != 1; then
6687 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6690 if test "$wxUSE_CHOICEDLG" = yes; then
6691 echo "$ac_t""yes" 1>&6
6693 echo "$ac_t""no" 1>&6
6697 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6698 echo "configure:6699: checking for --enable-coldlg" >&5
6700 # Check whether --enable-coldlg or --disable-coldlg was given.
6701 if test "${enable_coldlg+set}" = set; then
6702 enableval
="$enable_coldlg"
6704 if test "$enableval" = yes; then
6705 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6707 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6712 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6713 if test "x$LINE" != x
; then
6714 eval "DEFAULT_$LINE"
6719 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6724 eval "$ac_cv_use_coldlg"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6729 if test "$wxUSE_COLOURDLG" = yes; then
6730 echo "$ac_t""yes" 1>&6
6732 echo "$ac_t""no" 1>&6
6736 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6737 echo "configure:6738: checking for --enable-filedlg" >&5
6739 # Check whether --enable-filedlg or --disable-filedlg was given.
6740 if test "${enable_filedlg+set}" = set; then
6741 enableval
="$enable_filedlg"
6743 if test "$enableval" = yes; then
6744 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6746 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6751 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x
; then
6753 eval "DEFAULT_$LINE"
6758 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6763 eval "$ac_cv_use_filedlg"
6764 if test "$no_cache" != 1; then
6765 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6768 if test "$wxUSE_FILEDLG" = yes; then
6769 echo "$ac_t""yes" 1>&6
6771 echo "$ac_t""no" 1>&6
6775 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6776 echo "configure:6777: checking for --enable-filedlg" >&5
6778 # Check whether --enable-filedlg or --disable-filedlg was given.
6779 if test "${enable_filedlg+set}" = set; then
6780 enableval
="$enable_filedlg"
6782 if test "$enableval" = yes; then
6783 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6785 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6790 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6791 if test "x$LINE" != x
; then
6792 eval "DEFAULT_$LINE"
6797 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6802 eval "$ac_cv_use_filedlg"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6807 if test "$wxUSE_FINDREPLDLG" = yes; then
6808 echo "$ac_t""yes" 1>&6
6810 echo "$ac_t""no" 1>&6
6814 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6815 echo "configure:6816: checking for --enable-fontdlg" >&5
6817 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6818 if test "${enable_fontdlg+set}" = set; then
6819 enableval
="$enable_fontdlg"
6821 if test "$enableval" = yes; then
6822 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6824 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6829 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x
; then
6831 eval "DEFAULT_$LINE"
6836 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6841 eval "$ac_cv_use_fontdlg"
6842 if test "$no_cache" != 1; then
6843 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6846 if test "$wxUSE_FONTDLG" = yes; then
6847 echo "$ac_t""yes" 1>&6
6849 echo "$ac_t""no" 1>&6
6853 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6854 echo "configure:6855: checking for --enable-dirdlg" >&5
6856 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6857 if test "${enable_dirdlg+set}" = set; then
6858 enableval
="$enable_dirdlg"
6860 if test "$enableval" = yes; then
6861 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6863 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6868 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x
; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6880 eval "$ac_cv_use_dirdlg"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_DIRDLG" = yes; then
6886 echo "$ac_t""yes" 1>&6
6888 echo "$ac_t""no" 1>&6
6892 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6893 echo "configure:6894: checking for --enable-msgdlg" >&5
6895 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6896 if test "${enable_msgdlg+set}" = set; then
6897 enableval
="$enable_msgdlg"
6899 if test "$enableval" = yes; then
6900 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6902 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6907 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6908 if test "x$LINE" != x
; then
6909 eval "DEFAULT_$LINE"
6914 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6919 eval "$ac_cv_use_msgdlg"
6920 if test "$no_cache" != 1; then
6921 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6924 if test "$wxUSE_MSGDLG" = yes; then
6925 echo "$ac_t""yes" 1>&6
6927 echo "$ac_t""no" 1>&6
6931 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6932 echo "configure:6933: checking for --enable-numberdlg" >&5
6934 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6935 if test "${enable_numberdlg+set}" = set; then
6936 enableval
="$enable_numberdlg"
6938 if test "$enableval" = yes; then
6939 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6941 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6946 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6947 if test "x$LINE" != x
; then
6948 eval "DEFAULT_$LINE"
6953 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6958 eval "$ac_cv_use_numberdlg"
6959 if test "$no_cache" != 1; then
6960 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6963 if test "$wxUSE_NUMBERDLG" = yes; then
6964 echo "$ac_t""yes" 1>&6
6966 echo "$ac_t""no" 1>&6
6970 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6971 echo "configure:6972: checking for --enable-textdlg" >&5
6973 # Check whether --enable-textdlg or --disable-textdlg was given.
6974 if test "${enable_textdlg+set}" = set; then
6975 enableval
="$enable_textdlg"
6977 if test "$enableval" = yes; then
6978 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6980 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6985 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6986 if test "x$LINE" != x
; then
6987 eval "DEFAULT_$LINE"
6992 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6997 eval "$ac_cv_use_textdlg"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7002 if test "$wxUSE_TEXTDLG" = yes; then
7003 echo "$ac_t""yes" 1>&6
7005 echo "$ac_t""no" 1>&6
7009 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7010 echo "configure:7011: checking for --enable-tipdlg" >&5
7012 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7013 if test "${enable_tipdlg+set}" = set; then
7014 enableval
="$enable_tipdlg"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7019 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7024 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7036 eval "$ac_cv_use_tipdlg"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_STARTUP_TIPS" = yes; then
7042 echo "$ac_t""yes" 1>&6
7044 echo "$ac_t""no" 1>&6
7048 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7049 echo "configure:7050: checking for --enable-progressdlg" >&5
7051 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7052 if test "${enable_progressdlg+set}" = set; then
7053 enableval
="$enable_progressdlg"
7055 if test "$enableval" = yes; then
7056 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7058 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7063 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x
; then
7065 eval "DEFAULT_$LINE"
7070 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7075 eval "$ac_cv_use_progressdlg"
7076 if test "$no_cache" != 1; then
7077 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7080 if test "$wxUSE_PROGRESSDLG" = yes; then
7081 echo "$ac_t""yes" 1>&6
7083 echo "$ac_t""no" 1>&6
7087 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7088 echo "configure:7089: checking for --enable-wizarddlg" >&5
7090 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7091 if test "${enable_wizarddlg+set}" = set; then
7092 enableval
="$enable_wizarddlg"
7094 if test "$enableval" = yes; then
7095 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7097 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7102 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7103 if test "x$LINE" != x
; then
7104 eval "DEFAULT_$LINE"
7109 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7114 eval "$ac_cv_use_wizarddlg"
7115 if test "$no_cache" != 1; then
7116 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7119 if test "$wxUSE_WIZARDDLG" = yes; then
7120 echo "$ac_t""yes" 1>&6
7122 echo "$ac_t""no" 1>&6
7128 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7129 echo "configure:7130: checking for --enable-menus" >&5
7131 # Check whether --enable-menus or --disable-menus was given.
7132 if test "${enable_menus+set}" = set; then
7133 enableval
="$enable_menus"
7135 if test "$enableval" = yes; then
7136 ac_cv_use_menus
='wxUSE_MENUS=yes'
7138 ac_cv_use_menus
='wxUSE_MENUS=no'
7143 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7144 if test "x$LINE" != x
; then
7145 eval "DEFAULT_$LINE"
7150 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7155 eval "$ac_cv_use_menus"
7156 if test "$no_cache" != 1; then
7157 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7160 if test "$wxUSE_MENUS" = yes; then
7161 echo "$ac_t""yes" 1>&6
7163 echo "$ac_t""no" 1>&6
7167 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7168 echo "configure:7169: checking for --enable-miniframe" >&5
7170 # Check whether --enable-miniframe or --disable-miniframe was given.
7171 if test "${enable_miniframe+set}" = set; then
7172 enableval
="$enable_miniframe"
7174 if test "$enableval" = yes; then
7175 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7177 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7182 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7183 if test "x$LINE" != x
; then
7184 eval "DEFAULT_$LINE"
7189 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7194 eval "$ac_cv_use_miniframe"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7199 if test "$wxUSE_MINIFRAME" = yes; then
7200 echo "$ac_t""yes" 1>&6
7202 echo "$ac_t""no" 1>&6
7206 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7207 echo "configure:7208: checking for --enable-tooltips" >&5
7209 # Check whether --enable-tooltips or --disable-tooltips was given.
7210 if test "${enable_tooltips+set}" = set; then
7211 enableval
="$enable_tooltips"
7213 if test "$enableval" = yes; then
7214 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7216 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7221 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7222 if test "x$LINE" != x
; then
7223 eval "DEFAULT_$LINE"
7228 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7233 eval "$ac_cv_use_tooltips"
7234 if test "$no_cache" != 1; then
7235 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7238 if test "$wxUSE_TOOLTIPS" = yes; then
7239 echo "$ac_t""yes" 1>&6
7241 echo "$ac_t""no" 1>&6
7245 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7246 echo "configure:7247: checking for --enable-splines" >&5
7248 # Check whether --enable-splines or --disable-splines was given.
7249 if test "${enable_splines+set}" = set; then
7250 enableval
="$enable_splines"
7252 if test "$enableval" = yes; then
7253 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7255 ac_cv_use_splines
='wxUSE_SPLINES=no'
7260 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7261 if test "x$LINE" != x
; then
7262 eval "DEFAULT_$LINE"
7267 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7272 eval "$ac_cv_use_splines"
7273 if test "$no_cache" != 1; then
7274 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7277 if test "$wxUSE_SPLINES" = yes; then
7278 echo "$ac_t""yes" 1>&6
7280 echo "$ac_t""no" 1>&6
7284 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7285 echo "configure:7286: checking for --enable-validators" >&5
7287 # Check whether --enable-validators or --disable-validators was given.
7288 if test "${enable_validators+set}" = set; then
7289 enableval
="$enable_validators"
7291 if test "$enableval" = yes; then
7292 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7294 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7299 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7300 if test "x$LINE" != x
; then
7301 eval "DEFAULT_$LINE"
7306 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7311 eval "$ac_cv_use_validators"
7312 if test "$no_cache" != 1; then
7313 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7316 if test "$wxUSE_VALIDATORS" = yes; then
7317 echo "$ac_t""yes" 1>&6
7319 echo "$ac_t""no" 1>&6
7323 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7324 echo "configure:7325: checking for --enable-busyinfo" >&5
7326 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7327 if test "${enable_busyinfo+set}" = set; then
7328 enableval
="$enable_busyinfo"
7330 if test "$enableval" = yes; then
7331 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7333 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7338 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7339 if test "x$LINE" != x
; then
7340 eval "DEFAULT_$LINE"
7345 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7350 eval "$ac_cv_use_busyinfo"
7351 if test "$no_cache" != 1; then
7352 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7355 if test "$wxUSE_BUSYINFO" = yes; then
7356 echo "$ac_t""yes" 1>&6
7358 echo "$ac_t""no" 1>&6
7362 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7363 echo "configure:7364: checking for --enable-joystick" >&5
7365 # Check whether --enable-joystick or --disable-joystick was given.
7366 if test "${enable_joystick+set}" = set; then
7367 enableval
="$enable_joystick"
7369 if test "$enableval" = yes; then
7370 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7372 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7377 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7378 if test "x$LINE" != x
; then
7379 eval "DEFAULT_$LINE"
7384 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7389 eval "$ac_cv_use_joystick"
7390 if test "$no_cache" != 1; then
7391 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7394 if test "$wxUSE_JOYSTICK" = yes; then
7395 echo "$ac_t""yes" 1>&6
7397 echo "$ac_t""no" 1>&6
7401 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7402 echo "configure:7403: checking for --enable-metafile" >&5
7404 # Check whether --enable-metafile or --disable-metafile was given.
7405 if test "${enable_metafile+set}" = set; then
7406 enableval
="$enable_metafile"
7408 if test "$enableval" = yes; then
7409 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7411 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7416 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7417 if test "x$LINE" != x
; then
7418 eval "DEFAULT_$LINE"
7423 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7428 eval "$ac_cv_use_metafile"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_METAFILE" = yes; then
7434 echo "$ac_t""yes" 1>&6
7436 echo "$ac_t""no" 1>&6
7440 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7441 echo "configure:7442: checking for --enable-dragimage" >&5
7443 # Check whether --enable-dragimage or --disable-dragimage was given.
7444 if test "${enable_dragimage+set}" = set; then
7445 enableval
="$enable_dragimage"
7447 if test "$enableval" = yes; then
7448 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7450 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7455 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x
; then
7457 eval "DEFAULT_$LINE"
7462 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7467 eval "$ac_cv_use_dragimage"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7472 if test "$wxUSE_DRAGIMAGE" = yes; then
7473 echo "$ac_t""yes" 1>&6
7475 echo "$ac_t""no" 1>&6
7481 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7482 echo "configure:7483: checking for --enable-image" >&5
7484 # Check whether --enable-image or --disable-image was given.
7485 if test "${enable_image+set}" = set; then
7486 enableval
="$enable_image"
7488 if test "$enableval" = yes; then
7489 ac_cv_use_image
='wxUSE_IMAGE=yes'
7491 ac_cv_use_image
='wxUSE_IMAGE=no'
7496 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x
; then
7498 eval "DEFAULT_$LINE"
7503 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7508 eval "$ac_cv_use_image"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7513 if test "$wxUSE_IMAGE" = yes; then
7514 echo "$ac_t""yes" 1>&6
7516 echo "$ac_t""no" 1>&6
7520 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7521 echo "configure:7522: checking for --enable-gif" >&5
7523 # Check whether --enable-gif or --disable-gif was given.
7524 if test "${enable_gif+set}" = set; then
7525 enableval
="$enable_gif"
7527 if test "$enableval" = yes; then
7528 ac_cv_use_gif
='wxUSE_GIF=yes'
7530 ac_cv_use_gif
='wxUSE_GIF=no'
7535 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7536 if test "x$LINE" != x
; then
7537 eval "DEFAULT_$LINE"
7542 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7547 eval "$ac_cv_use_gif"
7548 if test "$no_cache" != 1; then
7549 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7552 if test "$wxUSE_GIF" = yes; then
7553 echo "$ac_t""yes" 1>&6
7555 echo "$ac_t""no" 1>&6
7559 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7560 echo "configure:7561: checking for --enable-pcx" >&5
7562 # Check whether --enable-pcx or --disable-pcx was given.
7563 if test "${enable_pcx+set}" = set; then
7564 enableval
="$enable_pcx"
7566 if test "$enableval" = yes; then
7567 ac_cv_use_pcx
='wxUSE_PCX=yes'
7569 ac_cv_use_pcx
='wxUSE_PCX=no'
7574 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7575 if test "x$LINE" != x
; then
7576 eval "DEFAULT_$LINE"
7581 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7586 eval "$ac_cv_use_pcx"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7591 if test "$wxUSE_PCX" = yes; then
7592 echo "$ac_t""yes" 1>&6
7594 echo "$ac_t""no" 1>&6
7598 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7599 echo "configure:7600: checking for --enable-pnm" >&5
7601 # Check whether --enable-pnm or --disable-pnm was given.
7602 if test "${enable_pnm+set}" = set; then
7603 enableval
="$enable_pnm"
7605 if test "$enableval" = yes; then
7606 ac_cv_use_pnm
='wxUSE_PNM=yes'
7608 ac_cv_use_pnm
='wxUSE_PNM=no'
7613 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7614 if test "x$LINE" != x
; then
7615 eval "DEFAULT_$LINE"
7620 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7625 eval "$ac_cv_use_pnm"
7626 if test "$no_cache" != 1; then
7627 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7630 if test "$wxUSE_PNM" = yes; then
7631 echo "$ac_t""yes" 1>&6
7633 echo "$ac_t""no" 1>&6
7637 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7638 echo "configure:7639: checking for --enable-pnm" >&5
7640 # Check whether --enable-pnm or --disable-pnm was given.
7641 if test "${enable_pnm+set}" = set; then
7642 enableval
="$enable_pnm"
7644 if test "$enableval" = yes; then
7645 ac_cv_use_pnm
='wxUSE_XPM=yes'
7647 ac_cv_use_pnm
='wxUSE_XPM=no'
7652 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7653 if test "x$LINE" != x
; then
7654 eval "DEFAULT_$LINE"
7659 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7664 eval "$ac_cv_use_pnm"
7665 if test "$no_cache" != 1; then
7666 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7669 if test "$wxUSE_XPM" = yes; then
7670 echo "$ac_t""yes" 1>&6
7672 echo "$ac_t""no" 1>&6
7679 echo "saving argument cache $wx_arg_cache_file"
7680 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7684 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7685 echo "configure:7686: checking for toolkit" >&5
7687 if test "$wxUSE_GUI" = "yes"; then
7689 if test "$USE_BEOS" = 1; then
7690 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7693 if test "$TOOLKIT_GIVEN" = 1; then
7694 for toolkit
in `echo $ALL_TOOLKITS`; do
7696 eval "value=\$${var}"
7697 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7700 for toolkit
in `echo $ALL_TOOLKITS`; do
7701 if test "$has_toolkit_in_cache" != 1; then
7702 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7704 var
=DEFAULT_wxUSE_
$toolkit
7706 eval "wxUSE_$toolkit=\$${var}"
7710 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7714 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7715 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7724 case "$NUM_TOOLKITS" in
7728 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7731 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7734 for toolkit
in `echo $ALL_TOOLKITS`; do
7736 eval "value=\$${var}"
7737 if test "x$value" != x
; then
7738 cache_var
=CACHE_
$toolkit
7739 eval "cache=\$${cache_var}"
7740 if test "$cache" = 1; then
7741 echo "$var=$value" >> ${wx_arg_cache_file}
7743 if test "$value" = 1; then
7744 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7745 echo "$ac_t""$toolkit_echo" 1>&6
7752 echo "$ac_t""base only" 1>&6
7756 cat > confcache
<<\EOF
7757 # This file is a shell script that caches the results of configure
7758 # tests run on this system so they can be shared between configure
7759 # scripts and configure runs. It is not useful on other systems.
7760 # If it contains results you don't want to keep, you may remove or edit it.
7762 # By default, configure uses ./config.cache as the cache file,
7763 # creating it if it does not exist already. You can give configure
7764 # the --cache-file=FILE option to use a different cache file; that is
7765 # what configure does when it calls configure scripts in
7766 # subdirectories, so they share the cache.
7767 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7768 # config.status only pays attention to the cache file if you give it the
7769 # --recheck option to rerun configure.
7772 # The following way of writing the cache mishandles newlines in values,
7773 # but we know of no workaround that is simple, portable, and efficient.
7774 # So, don't put newlines in cache variables' values.
7775 # Ultrix sh set writes to stderr and can't be redirected directly,
7776 # and sets the high bit in the cache file unless we assign to the vars.
7778 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7780 # `set' does not quote correctly, so add quotes (double-quote substitution
7781 # turns \\\\ into \\, and sed turns \\ into \).
7783 -e "s/'/'\\\\''/g" \
7784 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7787 # `set' quotes correctly as required by POSIX, so do not add quotes.
7788 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7791 if cmp -s $cache_file confcache
; then
7794 if test -w $cache_file; then
7795 echo "updating cache $cache_file"
7796 cat confcache
> $cache_file
7798 echo "not updating unwritable cache $cache_file"
7804 if test "$build" != "$host" ; then
7808 RANLIB
=$host_alias-ranlib
7809 DLLTOOL
=$host_alias-dlltool
7810 RESCOMP
=$host_alias-windres
7813 STRIP
=$host_alias-strip
7816 # Extract the first word of "gcc", so it can be a program name with args.
7817 set dummy gcc
; ac_word
=$2
7818 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7819 echo "configure:7820: checking for $ac_word" >&5
7820 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7821 echo $ac_n "(cached) $ac_c" 1>&6
7823 if test -n "$CC"; then
7824 ac_cv_prog_CC
="$CC" # Let the user override the test.
7826 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7828 for ac_dir
in $ac_dummy; do
7829 test -z "$ac_dir" && ac_dir
=.
7830 if test -f $ac_dir/$ac_word; then
7839 if test -n "$CC"; then
7840 echo "$ac_t""$CC" 1>&6
7842 echo "$ac_t""no" 1>&6
7845 if test -z "$CC"; then
7846 # Extract the first word of "cc", so it can be a program name with args.
7847 set dummy cc
; ac_word
=$2
7848 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7849 echo "configure:7850: checking for $ac_word" >&5
7850 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7851 echo $ac_n "(cached) $ac_c" 1>&6
7853 if test -n "$CC"; then
7854 ac_cv_prog_CC
="$CC" # Let the user override the test.
7856 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7859 for ac_dir
in $ac_dummy; do
7860 test -z "$ac_dir" && ac_dir
=.
7861 if test -f $ac_dir/$ac_word; then
7862 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7863 ac_prog_rejected
=yes
7871 if test $ac_prog_rejected = yes; then
7872 # We found a bogon in the path, so make sure we never use it.
7873 set dummy
$ac_cv_prog_CC
7875 if test $# -gt 0; then
7876 # We chose a different compiler from the bogus one.
7877 # However, it has the same basename, so the bogon will be chosen
7878 # first if we set CC to just the basename; use the full file name.
7880 set dummy
"$ac_dir/$ac_word" "$@"
7888 if test -n "$CC"; then
7889 echo "$ac_t""$CC" 1>&6
7891 echo "$ac_t""no" 1>&6
7894 if test -z "$CC"; then
7895 case "`uname -s`" in
7897 # Extract the first word of "cl", so it can be a program name with args.
7898 set dummy cl
; ac_word
=$2
7899 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7900 echo "configure:7901: checking for $ac_word" >&5
7901 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7902 echo $ac_n "(cached) $ac_c" 1>&6
7904 if test -n "$CC"; then
7905 ac_cv_prog_CC
="$CC" # Let the user override the test.
7907 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7909 for ac_dir
in $ac_dummy; do
7910 test -z "$ac_dir" && ac_dir
=.
7911 if test -f $ac_dir/$ac_word; then
7920 if test -n "$CC"; then
7921 echo "$ac_t""$CC" 1>&6
7923 echo "$ac_t""no" 1>&6
7928 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7931 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7932 echo "configure:7933: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7935 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7936 ac_cpp
='$CPP $CPPFLAGS'
7937 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7938 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7939 cross_compiling
=$ac_cv_prog_cc_cross
7941 cat > conftest.
$ac_ext << EOF
7943 #line 7944 "configure"
7944 #include "confdefs.h"
7948 if { (eval echo configure
:7949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7949 ac_cv_prog_cc_works
=yes
7950 # If we can't run a trivial program, we are probably using a cross compiler.
7951 if (.
/conftest
; exit) 2>/dev
/null
; then
7952 ac_cv_prog_cc_cross
=no
7954 ac_cv_prog_cc_cross
=yes
7957 echo "configure: failed program was:" >&5
7958 cat conftest.
$ac_ext >&5
7959 ac_cv_prog_cc_works
=no
7963 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7964 ac_cpp
='$CPP $CPPFLAGS'
7965 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7966 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7967 cross_compiling
=$ac_cv_prog_cc_cross
7969 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7970 if test $ac_cv_prog_cc_works = no
; then
7971 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7973 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7974 echo "configure:7975: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7975 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7976 cross_compiling
=$ac_cv_prog_cc_cross
7978 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7979 echo "configure:7980: checking whether we are using GNU C" >&5
7980 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7981 echo $ac_n "(cached) $ac_c" 1>&6
7983 cat > conftest.c
<<EOF
7988 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7995 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7997 if test $ac_cv_prog_gcc = yes; then
8003 ac_test_CFLAGS
="${CFLAGS+set}"
8004 ac_save_CFLAGS
="$CFLAGS"
8006 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8007 echo "configure:8008: checking whether ${CC-cc} accepts -g" >&5
8008 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8009 echo $ac_n "(cached) $ac_c" 1>&6
8011 echo 'void f(){}' > conftest.c
8012 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8021 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8022 if test "$ac_test_CFLAGS" = set; then
8023 CFLAGS
="$ac_save_CFLAGS"
8024 elif test $ac_cv_prog_cc_g = yes; then
8025 if test "$GCC" = yes; then
8031 if test "$GCC" = yes; then
8039 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8041 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8042 echo "configure:8043: checking how to run the C preprocessor" >&5
8043 # On Suns, sometimes $CPP names a directory.
8044 if test -n "$CPP" && test -d "$CPP"; then
8047 if test -z "$CPP"; then
8048 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8049 echo $ac_n "(cached) $ac_c" 1>&6
8051 # This must be in double quotes, not single quotes, because CPP may get
8052 # substituted into the Makefile and "${CC-cc}" will confuse make.
8054 # On the NeXT, cc -E runs the code through the compiler's parser,
8055 # not just through cpp.
8056 cat > conftest.
$ac_ext <<EOF
8057 #line 8058 "configure"
8058 #include "confdefs.h"
8062 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8063 { (eval echo configure
:8064: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8064 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8065 if test -z "$ac_err"; then
8069 echo "configure: failed program was:" >&5
8070 cat conftest.
$ac_ext >&5
8072 CPP
="${CC-cc} -E -traditional-cpp"
8073 cat > conftest.
$ac_ext <<EOF
8074 #line 8075 "configure"
8075 #include "confdefs.h"
8079 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8080 { (eval echo configure
:8081: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8081 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8082 if test -z "$ac_err"; then
8086 echo "configure: failed program was:" >&5
8087 cat conftest.
$ac_ext >&5
8089 CPP
="${CC-cc} -nologo -E"
8090 cat > conftest.
$ac_ext <<EOF
8091 #line 8092 "configure"
8092 #include "confdefs.h"
8096 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8097 { (eval echo configure
:8098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8098 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8099 if test -z "$ac_err"; then
8103 echo "configure: failed program was:" >&5
8104 cat conftest.
$ac_ext >&5
8113 ac_cv_prog_CPP
="$CPP"
8115 CPP
="$ac_cv_prog_CPP"
8117 ac_cv_prog_CPP
="$CPP"
8119 echo "$ac_t""$CPP" 1>&6
8122 if test $ac_cv_prog_gcc = yes; then
8123 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8124 echo "configure:8125: checking whether ${CC-cc} needs -traditional" >&5
8125 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8126 echo $ac_n "(cached) $ac_c" 1>&6
8128 ac_pattern
="Autoconf.*'x'"
8129 cat > conftest.
$ac_ext <<EOF
8130 #line 8131 "configure"
8131 #include "confdefs.h"
8135 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8136 egrep "$ac_pattern" >/dev
/null
2>&1; then
8138 ac_cv_prog_gcc_traditional
=yes
8141 ac_cv_prog_gcc_traditional
=no
8146 if test $ac_cv_prog_gcc_traditional = no
; then
8147 cat > conftest.
$ac_ext <<EOF
8148 #line 8149 "configure"
8149 #include "confdefs.h"
8153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8154 egrep "$ac_pattern" >/dev
/null
2>&1; then
8156 ac_cv_prog_gcc_traditional
=yes
8163 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8164 if test $ac_cv_prog_gcc_traditional = yes; then
8165 CC
="$CC -traditional"
8172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8173 ac_cpp
='$CXXCPP $CPPFLAGS'
8174 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8175 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8176 cross_compiling
=$ac_cv_prog_cxx_cross
8179 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8181 # Extract the first word of "$ac_prog", so it can be a program name with args.
8182 set dummy
$ac_prog; ac_word
=$2
8183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8184 echo "configure:8185: checking for $ac_word" >&5
8185 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8186 echo $ac_n "(cached) $ac_c" 1>&6
8188 if test -n "$CXX"; then
8189 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8191 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8193 for ac_dir
in $ac_dummy; do
8194 test -z "$ac_dir" && ac_dir
=.
8195 if test -f $ac_dir/$ac_word; then
8196 ac_cv_prog_CXX
="$ac_prog"
8203 CXX
="$ac_cv_prog_CXX"
8204 if test -n "$CXX"; then
8205 echo "$ac_t""$CXX" 1>&6
8207 echo "$ac_t""no" 1>&6
8210 test -n "$CXX" && break
8212 test -n "$CXX" || CXX
="gcc"
8215 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8216 echo "configure:8217: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8220 ac_cpp
='$CXXCPP $CPPFLAGS'
8221 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8222 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8223 cross_compiling
=$ac_cv_prog_cxx_cross
8225 cat > conftest.
$ac_ext << EOF
8227 #line 8228 "configure"
8228 #include "confdefs.h"
8230 int main(){return(0);}
8232 if { (eval echo configure
:8233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8233 ac_cv_prog_cxx_works
=yes
8234 # If we can't run a trivial program, we are probably using a cross compiler.
8235 if (.
/conftest
; exit) 2>/dev
/null
; then
8236 ac_cv_prog_cxx_cross
=no
8238 ac_cv_prog_cxx_cross
=yes
8241 echo "configure: failed program was:" >&5
8242 cat conftest.
$ac_ext >&5
8243 ac_cv_prog_cxx_works
=no
8247 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8248 ac_cpp
='$CXXCPP $CPPFLAGS'
8249 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8250 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8251 cross_compiling
=$ac_cv_prog_cxx_cross
8253 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8254 if test $ac_cv_prog_cxx_works = no
; then
8255 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8257 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8258 echo "configure:8259: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8259 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8260 cross_compiling
=$ac_cv_prog_cxx_cross
8262 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8263 echo "configure:8264: checking whether we are using GNU C++" >&5
8264 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8265 echo $ac_n "(cached) $ac_c" 1>&6
8267 cat > conftest.C
<<EOF
8272 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8279 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8281 if test $ac_cv_prog_gxx = yes; then
8287 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8288 ac_save_CXXFLAGS
="$CXXFLAGS"
8290 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8291 echo "configure:8292: checking whether ${CXX-g++} accepts -g" >&5
8292 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8293 echo $ac_n "(cached) $ac_c" 1>&6
8295 echo 'void f(){}' > conftest.cc
8296 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8297 ac_cv_prog_cxx_g
=yes
8305 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8306 if test "$ac_test_CXXFLAGS" = set; then
8307 CXXFLAGS
="$ac_save_CXXFLAGS"
8308 elif test $ac_cv_prog_cxx_g = yes; then
8309 if test "$GXX" = yes; then
8315 if test "$GXX" = yes; then
8323 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8324 echo "configure:8325: checking how to run the C++ preprocessor" >&5
8325 if test -z "$CXXCPP"; then
8326 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8327 echo $ac_n "(cached) $ac_c" 1>&6
8330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8331 ac_cpp
='$CXXCPP $CPPFLAGS'
8332 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8333 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8334 cross_compiling
=$ac_cv_prog_cxx_cross
8335 CXXCPP
="${CXX-g++} -E"
8336 cat > conftest.
$ac_ext <<EOF
8337 #line 8338 "configure"
8338 #include "confdefs.h"
8341 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8342 { (eval echo configure
:8343: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8343 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8344 if test -z "$ac_err"; then
8348 echo "configure: failed program was:" >&5
8349 cat conftest.
$ac_ext >&5
8354 ac_cv_prog_CXXCPP
="$CXXCPP"
8356 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8357 ac_cpp
='$CXXCPP $CPPFLAGS'
8358 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8359 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8360 cross_compiling
=$ac_cv_prog_cxx_cross
8363 CXXCPP
="$ac_cv_prog_CXXCPP"
8364 echo "$ac_t""$CXXCPP" 1>&6
8367 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8370 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8371 ac_cpp
='$CPP $CPPFLAGS'
8372 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8373 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8374 cross_compiling
=$ac_cv_prog_cc_cross
8377 # Extract the first word of "ranlib", so it can be a program name with args.
8378 set dummy ranlib
; ac_word
=$2
8379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8380 echo "configure:8381: checking for $ac_word" >&5
8381 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8382 echo $ac_n "(cached) $ac_c" 1>&6
8384 if test -n "$RANLIB"; then
8385 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8389 for ac_dir
in $ac_dummy; do
8390 test -z "$ac_dir" && ac_dir
=.
8391 if test -f $ac_dir/$ac_word; then
8392 ac_cv_prog_RANLIB
="ranlib"
8397 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8400 RANLIB
="$ac_cv_prog_RANLIB"
8401 if test -n "$RANLIB"; then
8402 echo "$ac_t""$RANLIB" 1>&6
8404 echo "$ac_t""no" 1>&6
8408 # Extract the first word of "ar", so it can be a program name with args.
8409 set dummy
ar; ac_word
=$2
8410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8411 echo "configure:8412: checking for $ac_word" >&5
8412 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8413 echo $ac_n "(cached) $ac_c" 1>&6
8415 if test -n "$AR"; then
8416 ac_cv_prog_AR
="$AR" # Let the user override the test.
8418 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8420 for ac_dir
in $ac_dummy; do
8421 test -z "$ac_dir" && ac_dir
=.
8422 if test -f $ac_dir/$ac_word; then
8428 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8432 if test -n "$AR"; then
8433 echo "$ac_t""$AR" 1>&6
8435 echo "$ac_t""no" 1>&6
8439 # Find a good install program. We prefer a C program (faster),
8440 # so one script is as good as another. But avoid the broken or
8441 # incompatible versions:
8442 # SysV /etc/install, /usr/sbin/install
8443 # SunOS /usr/etc/install
8444 # IRIX /sbin/install
8446 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8447 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8448 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8449 # ./install, which can be erroneously created by make from ./install.sh.
8450 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8451 echo "configure:8452: checking for a BSD compatible install" >&5
8452 if test -z "$INSTALL"; then
8453 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8454 echo $ac_n "(cached) $ac_c" 1>&6
8456 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8457 for ac_dir
in $PATH; do
8458 # Account for people who put trailing slashes in PATH elements.
8460 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8462 # OSF1 and SCO ODT 3.0 have their own names for install.
8463 # Don't use installbsd from OSF since it installs stuff as root
8465 for ac_prog
in ginstall scoinst
install; do
8466 if test -f $ac_dir/$ac_prog; then
8467 if test $ac_prog = install &&
8468 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8469 # AIX install. It has an incompatible calling convention.
8472 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8483 if test "${ac_cv_path_install+set}" = set; then
8484 INSTALL
="$ac_cv_path_install"
8486 # As a last resort, use the slow shell script. We don't cache a
8487 # path for INSTALL within a source directory, because that will
8488 # break other packages using the cache if that directory is
8489 # removed, or if the path is relative.
8490 INSTALL
="$ac_install_sh"
8493 echo "$ac_t""$INSTALL" 1>&6
8495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8496 # It thinks the first close brace ends the variable substitution.
8497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8501 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8504 # Extract the first word of "strip", so it can be a program name with args.
8505 set dummy strip
; ac_word
=$2
8506 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8507 echo "configure:8508: checking for $ac_word" >&5
8508 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8509 echo $ac_n "(cached) $ac_c" 1>&6
8511 if test -n "$STRIP"; then
8512 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8514 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8516 for ac_dir
in $ac_dummy; do
8517 test -z "$ac_dir" && ac_dir
=.
8518 if test -f $ac_dir/$ac_word; then
8519 ac_cv_prog_STRIP
="strip"
8524 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8527 STRIP
="$ac_cv_prog_STRIP"
8528 if test -n "$STRIP"; then
8529 echo "$ac_t""$STRIP" 1>&6
8531 echo "$ac_t""no" 1>&6
8535 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8536 echo "configure:8537: checking make for VPATH support" >&5
8537 cat - << EOF > confMake
8543 if test ! -d sub
; then
8546 echo dummy
> sub
/file
8547 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8549 rm -f sub
/file check final_file confMake
8551 if test "$RESULT" = 0; then
8552 echo "$ac_t""yes" 1>&6
8554 echo "$ac_t""no" 1>&6
8555 { echo "configure: error:
8556 You need a make-utility that is able to use the variable
8558 If your version of make does not support VPATH correctly,
8559 please install GNU-make (possibly as gmake), and start
8560 configure with the following command:
8561 export MAKE=gmake; ./configure for sh-type shells
8562 setenv MAKE gmake; ./configure for csh-type shells
8563 Also please do remember to use gmake in this case every time
8564 you are trying to compile.
8568 for ac_prog
in 'bison -y' byacc
8570 # Extract the first word of "$ac_prog", so it can be a program name with args.
8571 set dummy
$ac_prog; ac_word
=$2
8572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8573 echo "configure:8574: checking for $ac_word" >&5
8574 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8575 echo $ac_n "(cached) $ac_c" 1>&6
8577 if test -n "$YACC"; then
8578 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8580 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8582 for ac_dir
in $ac_dummy; do
8583 test -z "$ac_dir" && ac_dir
=.
8584 if test -f $ac_dir/$ac_word; then
8585 ac_cv_prog_YACC
="$ac_prog"
8592 YACC
="$ac_cv_prog_YACC"
8593 if test -n "$YACC"; then
8594 echo "$ac_t""$YACC" 1>&6
8596 echo "$ac_t""no" 1>&6
8599 test -n "$YACC" && break
8601 test -n "$YACC" || YACC
="yacc"
8604 # Extract the first word of "flex", so it can be a program name with args.
8605 set dummy flex
; ac_word
=$2
8606 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8607 echo "configure:8608: checking for $ac_word" >&5
8608 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8609 echo $ac_n "(cached) $ac_c" 1>&6
8611 if test -n "$LEX"; then
8612 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8614 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8616 for ac_dir
in $ac_dummy; do
8617 test -z "$ac_dir" && ac_dir
=.
8618 if test -f $ac_dir/$ac_word; then
8619 ac_cv_prog_LEX
="flex"
8624 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8627 LEX
="$ac_cv_prog_LEX"
8628 if test -n "$LEX"; then
8629 echo "$ac_t""$LEX" 1>&6
8631 echo "$ac_t""no" 1>&6
8634 if test -z "$LEXLIB"
8640 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8641 echo "configure:8642: checking for yywrap in -l$ac_lib" >&5
8642 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8643 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8646 ac_save_LIBS
="$LIBS"
8647 LIBS
="-l$ac_lib $LIBS"
8648 cat > conftest.
$ac_ext <<EOF
8649 #line 8650 "configure"
8650 #include "confdefs.h"
8651 /* Override any gcc2 internal prototype to avoid an error. */
8652 /* We use char because int might match the return type of a gcc2
8653 builtin and then its argument prototype would still apply. */
8660 if { (eval echo configure
:8661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8662 eval "ac_cv_lib_$ac_lib_var=yes"
8664 echo "configure: failed program was:" >&5
8665 cat conftest.
$ac_ext >&5
8667 eval "ac_cv_lib_$ac_lib_var=no"
8670 LIBS
="$ac_save_LIBS"
8673 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8674 echo "$ac_t""yes" 1>&6
8677 echo "$ac_t""no" 1>&6
8683 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8684 echo "configure:8685: checking whether ln -s works" >&5
8685 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8686 echo $ac_n "(cached) $ac_c" 1>&6
8689 if ln -s X conftestdata
2>/dev
/null
8692 ac_cv_prog_LN_S
="ln -s"
8697 LN_S
="$ac_cv_prog_LN_S"
8698 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8699 echo "$ac_t""yes" 1>&6
8701 echo "$ac_t""no" 1>&6
8707 /usr/local/include \
8709 /usr/Motif-1.2/include \
8710 /usr/Motif-2.1/include \
8712 /usr/include/Motif1.2 \
8713 /opt/xpm/include/X11 \
8714 /opt/GBxpm/include/ \
8715 /opt/GBxpm/X11/include/ \
8717 /usr/Motif1.2/include \
8719 /usr/openwin/include \
8723 /usr/X11R6/include \
8724 /usr/X11R6.4/include \
8725 /usr/X11R5/include \
8726 /usr/X11R4/include \
8728 /usr/include/X11R6 \
8729 /usr/include/X11R5 \
8730 /usr/include/X11R4 \
8732 /usr/local/X11R6/include \
8733 /usr/local/X11R5/include \
8734 /usr/local/X11R4/include \
8736 /usr/local/include/X11R6 \
8737 /usr/local/include/X11R5 \
8738 /usr/local/include/X11R4 \
8742 /usr/local/X11/include \
8743 /usr/local/include/X11 \
8747 /usr/XFree86/include/X11 \
8749 X:/XFree86/include \
8750 X:/XFree86/include/X11 \
8753 /usr/local/include/gtk \
8755 /usr/local/include/glib \
8758 /usr/local/include/qt \
8760 /usr/include/windows \
8762 /usr/local/include/wine \
8764 /usr/unsupported/include \
8765 /usr/athena/include \
8766 /usr/local/x11r5/include \
8767 /usr/lpp/Xamples/include \
8769 /usr/openwin/share/include \
8773 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8776 cat > confcache
<<\EOF
8777 # This file is a shell script that caches the results of configure
8778 # tests run on this system so they can be shared between configure
8779 # scripts and configure runs. It is not useful on other systems.
8780 # If it contains results you don't want to keep, you may remove or edit it.
8782 # By default, configure uses ./config.cache as the cache file,
8783 # creating it if it does not exist already. You can give configure
8784 # the --cache-file=FILE option to use a different cache file; that is
8785 # what configure does when it calls configure scripts in
8786 # subdirectories, so they share the cache.
8787 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8788 # config.status only pays attention to the cache file if you give it the
8789 # --recheck option to rerun configure.
8792 # The following way of writing the cache mishandles newlines in values,
8793 # but we know of no workaround that is simple, portable, and efficient.
8794 # So, don't put newlines in cache variables' values.
8795 # Ultrix sh set writes to stderr and can't be redirected directly,
8796 # and sets the high bit in the cache file unless we assign to the vars.
8798 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8800 # `set' does not quote correctly, so add quotes (double-quote substitution
8801 # turns \\\\ into \\, and sed turns \\ into \).
8803 -e "s/'/'\\\\''/g" \
8804 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8807 # `set' quotes correctly as required by POSIX, so do not add quotes.
8808 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8811 if cmp -s $cache_file confcache
; then
8814 if test -w $cache_file; then
8815 echo "updating cache $cache_file"
8816 cat confcache
> $cache_file
8818 echo "not updating unwritable cache $cache_file"
8827 if test "$wxUSE_GUI" = "yes"; then
8842 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8843 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
8844 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
8845 echo "configure:8846: checking for windows.h" >&5
8846 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8847 echo $ac_n "(cached) $ac_c" 1>&6
8849 cat > conftest.
$ac_ext <<EOF
8850 #line 8851 "configure"
8851 #include "confdefs.h"
8852 #include <windows.h>
8854 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8855 { (eval echo configure
:8856: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8856 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8857 if test -z "$ac_err"; then
8859 eval "ac_cv_header_$ac_safe=yes"
8862 echo "configure: failed program was:" >&5
8863 cat conftest.
$ac_ext >&5
8865 eval "ac_cv_header_$ac_safe=no"
8869 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8870 echo "$ac_t""yes" 1>&6
8873 echo "$ac_t""no" 1>&6
8875 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8880 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8882 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
8884 if test "$wxUSE_ODBC" = "yes" ; then
8885 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8888 if test "$wxUSE_MINGW" = 1; then
8889 LDFLAGS
="$LDFLAGS -mwindows"
8895 RCINCSWITCH
="--include-dir"
8896 RCDEFSWITCH
="--define"
8897 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8900 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8902 RESPROGRAM
="\$(RES_PROGRAM)"
8905 if test "$wxUSE_GTK" = 1; then
8906 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8907 echo "configure:8908: checking for GTK+ version" >&5
8909 gtk_version_cached
=1
8910 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8911 echo $ac_n "(cached) $ac_c" 1>&6
8914 gtk_version_cached
=0
8915 echo "$ac_t""""" 1>&6
8918 if test "x$wxUSE_GTK2" = "xyes"; then
8919 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8920 if test "${with_gtk_prefix+set}" = set; then
8921 withval
="$with_gtk_prefix"
8922 gtk_config_prefix
="$withval"
8924 gtk_config_prefix
=""
8927 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8928 if test "${with_gtk_exec_prefix+set}" = set; then
8929 withval
="$with_gtk_exec_prefix"
8930 gtk_config_exec_prefix
="$withval"
8932 gtk_config_exec_prefix
=""
8935 # Check whether --enable-gtktest or --disable-gtktest was given.
8936 if test "${enable_gtktest+set}" = set; then
8937 enableval
="$enable_gtktest"
8948 gtk_config_args
="$gtk_config_args gthread"
8953 if test x
$gtk_config_exec_prefix != x
; then
8954 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8955 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8956 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8959 if test x
$gtk_config_prefix != x
; then
8960 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8961 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8962 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8966 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8967 set dummy gtk
-config-2.0
; ac_word
=$2
8968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8969 echo "configure:8970: checking for $ac_word" >&5
8970 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8971 echo $ac_n "(cached) $ac_c" 1>&6
8973 case "$GTK_CONFIG_2_0" in
8975 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8978 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8981 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8983 for ac_dir
in $ac_dummy; do
8984 test -z "$ac_dir" && ac_dir
=.
8985 if test -f $ac_dir/$ac_word; then
8986 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8991 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8995 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8996 if test -n "$GTK_CONFIG_2_0"; then
8997 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8999 echo "$ac_t""no" 1>&6
9002 min_gtk_version
=1.3.1
9003 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9004 echo "configure:9005: checking for GTK - version >= $min_gtk_version" >&5
9006 if test "$GTK_CONFIG_2_0" = "no" ; then
9009 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9010 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9011 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9012 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9013 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9014 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9015 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9016 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9017 if test "x$enable_gtktest" = "xyes" ; then
9018 ac_save_CFLAGS
="$CFLAGS"
9019 ac_save_LIBS
="$LIBS"
9020 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9021 LIBS
="$GTK_LIBS $LIBS"
9023 if test "$cross_compiling" = yes; then
9024 echo $ac_n "cross compiling; assumed OK... $ac_c"
9026 cat > conftest.
$ac_ext <<EOF
9027 #line 9028 "configure"
9028 #include "confdefs.h"
9030 #include <gtk/gtk.h>
9037 int major, minor, micro;
9040 system ("touch conf.gtktest");
9042 /* HP/UX 9 (%@#!) writes to sscanf strings */
9043 tmp_version = g_strdup("$min_gtk_version");
9044 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9045 printf("%s, bad version string\n", "$min_gtk_version");
9049 if ((gtk_major_version != $gtk_config_major_version) ||
9050 (gtk_minor_version != $gtk_config_minor_version) ||
9051 (gtk_micro_version != $gtk_config_micro_version))
9053 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9054 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9055 gtk_major_version, gtk_minor_version, gtk_micro_version);
9056 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9057 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9058 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9059 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9060 printf("*** required on your system.\n");
9061 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9062 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9063 printf("*** before re-running configure\n");
9065 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9066 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9067 (gtk_minor_version != GTK_MINOR_VERSION) ||
9068 (gtk_micro_version != GTK_MICRO_VERSION))
9070 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9071 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9072 printf("*** library (version %d.%d.%d)\n",
9073 gtk_major_version, gtk_minor_version, gtk_micro_version);
9075 #endif /* defined (GTK_MAJOR_VERSION) ... */
9078 if ((gtk_major_version > major) ||
9079 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9080 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9086 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9087 gtk_major_version, gtk_minor_version, gtk_micro_version);
9088 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9089 major, minor, micro);
9090 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9092 printf("*** If you have already installed a sufficiently new version, this error\n");
9093 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9094 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9095 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9096 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9097 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9098 printf("*** so that the correct libraries are found at run-time))\n");
9105 if { (eval echo configure
:9106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9109 echo "configure: failed program was:" >&5
9110 cat conftest.
$ac_ext >&5
9117 CFLAGS
="$ac_save_CFLAGS"
9118 LIBS
="$ac_save_LIBS"
9121 if test "x$no_gtk" = x
; then
9122 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9125 echo "$ac_t""no" 1>&6
9126 if test "$GTK_CONFIG_2_0" = "no" ; then
9127 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9128 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9129 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9130 echo "*** full path to gtk-config-2.0."
9132 if test -f conf.gtktest
; then
9135 echo "*** Could not run GTK test program, checking why..."
9136 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9137 LIBS
="$LIBS $GTK_LIBS"
9138 cat > conftest.
$ac_ext <<EOF
9139 #line 9140 "configure"
9140 #include "confdefs.h"
9142 #include <gtk/gtk.h>
9146 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9149 if { (eval echo configure
:9150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9151 echo "*** The test program compiled, but did not run. This usually means"
9152 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9153 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9154 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9155 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9156 echo "*** is required on your system"
9158 echo "*** If you have an old version installed, it is best to remove it, although"
9159 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9161 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9162 echo "*** came with the system with the command"
9164 echo "*** rpm --erase --nodeps gtk gtk-devel"
9166 echo "configure: failed program was:" >&5
9167 cat conftest.
$ac_ext >&5
9169 echo "*** The test program failed to compile or link. See the file config.log for the"
9170 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9171 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9172 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9175 CFLAGS
="$ac_save_CFLAGS"
9176 LIBS
="$ac_save_LIBS"
9189 if test -z "$wx_cv_lib_gtk"; then
9191 if test x
$gtk_config_exec_prefix != x
; then
9192 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9193 if test x
${GTK_CONFIG+set} != xset
; then
9194 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9197 if test x
$gtk_config_prefix != x
; then
9198 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9199 if test x
${GTK_CONFIG+set} != xset
; then
9200 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9204 # Extract the first word of "gtk-config", so it can be a program name with args.
9205 set dummy gtk
-config; ac_word
=$2
9206 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9207 echo "configure:9208: checking for $ac_word" >&5
9208 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9209 echo $ac_n "(cached) $ac_c" 1>&6
9211 case "$GTK_CONFIG" in
9213 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9216 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9219 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9221 for ac_dir
in $ac_dummy; do
9222 test -z "$ac_dir" && ac_dir
=.
9223 if test -f $ac_dir/$ac_word; then
9224 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9229 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9233 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9234 if test -n "$GTK_CONFIG"; then
9235 echo "$ac_t""$GTK_CONFIG" 1>&6
9237 echo "$ac_t""no" 1>&6
9240 min_gtk_version
=1.2.7
9241 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9242 echo "configure:9243: checking for GTK - version >= $min_gtk_version" >&5
9244 if test "$GTK_CONFIG" != "no" ; then
9245 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9246 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9247 ac_save_CFLAGS
="$CFLAGS"
9248 ac_save_LIBS
="$LIBS"
9249 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9250 LIBS
="$LIBS $GTK_LIBS"
9251 if test "$cross_compiling" = yes; then
9252 echo $ac_n "cross compiling; assumed OK... $ac_c"
9254 cat > conftest.
$ac_ext <<EOF
9255 #line 9256 "configure"
9256 #include "confdefs.h"
9258 #include <gtk/gtk.h>
9259 #include <gtk/gtkfeatures.h>
9266 int major, minor, micro;
9268 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9269 printf("%s, bad version string\n", "$min_gtk_version");
9273 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9274 (GTK_MINOR_VERSION != gtk_minor_version) ||
9275 (GTK_MICRO_VERSION != gtk_micro_version)) {
9276 printf("Headers vs. library version mismatch!\n");
9280 if (gtk_minor_version == 1) return FALSE;
9282 return !((gtk_major_version > major) ||
9283 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9284 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9288 if { (eval echo configure
:9289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9292 echo "configure: failed program was:" >&5
9293 cat conftest.
$ac_ext >&5
9300 CFLAGS
="$ac_save_CFLAGS"
9301 LIBS
="$ac_save_LIBS"
9305 if test "x$no_gtk" = x
; then
9306 echo "$ac_t""yes" 1>&6
9309 echo "$ac_t""no" 1>&6
9319 if test -z "$wx_cv_lib_gtk"; then
9321 if test x
$gtk_config_exec_prefix != x
; then
9322 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9323 if test x
${GTK_CONFIG+set} != xset
; then
9324 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9327 if test x
$gtk_config_prefix != x
; then
9328 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9329 if test x
${GTK_CONFIG+set} != xset
; then
9330 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9334 # Extract the first word of "gtk-config", so it can be a program name with args.
9335 set dummy gtk
-config; ac_word
=$2
9336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9337 echo "configure:9338: checking for $ac_word" >&5
9338 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9339 echo $ac_n "(cached) $ac_c" 1>&6
9341 case "$GTK_CONFIG" in
9343 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9346 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9349 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9351 for ac_dir
in $ac_dummy; do
9352 test -z "$ac_dir" && ac_dir
=.
9353 if test -f $ac_dir/$ac_word; then
9354 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9359 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9363 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9364 if test -n "$GTK_CONFIG"; then
9365 echo "$ac_t""$GTK_CONFIG" 1>&6
9367 echo "$ac_t""no" 1>&6
9370 min_gtk_version
=1.2.3
9371 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9372 echo "configure:9373: checking for GTK - version >= $min_gtk_version" >&5
9374 if test "$GTK_CONFIG" != "no" ; then
9375 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9376 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9377 ac_save_CFLAGS
="$CFLAGS"
9378 ac_save_LIBS
="$LIBS"
9379 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9380 LIBS
="$LIBS $GTK_LIBS"
9381 if test "$cross_compiling" = yes; then
9382 echo $ac_n "cross compiling; assumed OK... $ac_c"
9384 cat > conftest.
$ac_ext <<EOF
9385 #line 9386 "configure"
9386 #include "confdefs.h"
9388 #include <gtk/gtk.h>
9389 #include <gtk/gtkfeatures.h>
9396 int major, minor, micro;
9398 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9399 printf("%s, bad version string\n", "$min_gtk_version");
9403 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9404 (GTK_MINOR_VERSION != gtk_minor_version) ||
9405 (GTK_MICRO_VERSION != gtk_micro_version)) {
9406 printf("Headers vs. library version mismatch!\n");
9410 if (gtk_minor_version == 1) return FALSE;
9412 return !((gtk_major_version > major) ||
9413 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9414 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9418 if { (eval echo configure
:9419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9422 echo "configure: failed program was:" >&5
9423 cat conftest.
$ac_ext >&5
9430 CFLAGS
="$ac_save_CFLAGS"
9431 LIBS
="$ac_save_LIBS"
9435 if test "x$no_gtk" = x
; then
9436 echo "$ac_t""yes" 1>&6
9439 echo "$ac_t""no" 1>&6
9449 if test -z "$wx_cv_lib_gtk"; then
9452 wx_cv_cflags_gtk
=$GTK_CFLAGS
9453 wx_cv_libs_gtk
=$GTK_LIBS
9460 if test "$gtk_version_cached" = 1; then
9461 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9464 case "$wx_cv_lib_gtk" in
9472 *) { echo "configure: error:
9473 Please check that gtk-config is in path, the directory
9474 where GTK+ libraries are installed (returned by
9475 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9476 equivalent variable and GTK+ is version 1.2.3 or above.
9481 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9482 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9484 AFMINSTALL
=afminstall
9488 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9489 echo "configure:9490: checking for gdk_im_open in -lgdk" >&5
9490 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9492 echo $ac_n "(cached) $ac_c" 1>&6
9494 ac_save_LIBS
="$LIBS"
9496 cat > conftest.
$ac_ext <<EOF
9497 #line 9498 "configure"
9498 #include "confdefs.h"
9499 /* Override any gcc2 internal prototype to avoid an error. */
9500 /* We use char because int might match the return type of a gcc2
9501 builtin and then its argument prototype would still apply. */
9508 if { (eval echo configure
:9509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9510 eval "ac_cv_lib_$ac_lib_var=yes"
9512 echo "configure: failed program was:" >&5
9513 cat conftest.
$ac_ext >&5
9515 eval "ac_cv_lib_$ac_lib_var=no"
9518 LIBS
="$ac_save_LIBS"
9521 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9522 echo "$ac_t""yes" 1>&6
9523 cat >> confdefs.h
<<\EOF
9528 echo "$ac_t""no" 1>&6
9533 if test "$wxUSE_MGL" = 1; then
9535 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9536 echo "configure:9537: checking for SciTech MGL library" >&5
9537 if test "x$MGL_ROOT" = x
; then
9538 echo "$ac_t""not found" 1>&6
9539 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9541 echo "$ac_t""$MGL_ROOT" 1>&6
9544 MGL_OS
=linux
/gcc
/glibc
9547 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9548 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9552 if test "x$MGL_LIB_TYPE" = x
; then
9553 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9554 MGL_LIB_TYPE
=release
9556 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9560 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9561 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9563 AFMINSTALL
=afminstall
9568 if test "$wxUSE_WINE" = 1; then
9569 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9570 echo "configure:9571: checking for WINE includes" >&5
9573 for ac_dir
in $SEARCH_INCLUDE;
9575 if test -f "$ac_dir/windows.h"; then
9576 ac_find_includes
=$ac_dir
9581 if test "$ac_find_includes" != "" ; then
9582 echo "$ac_t""found $ac_find_includes" 1>&6
9583 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9585 echo "$ac_t""no" 1>&6
9586 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9590 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9591 echo "configure:9592: checking for Xpm library" >&5
9594 for ac_dir
in $SEARCH_LIB;
9596 for ac_extension
in a so sl dylib
; do
9597 if test -f "$ac_dir/libXpm.$ac_extension"; then
9598 ac_find_libraries
=$ac_dir
9604 if test "$ac_find_libraries" != "" ; then
9605 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9607 cat >> confdefs.h
<<\EOF
9608 #define wxHAVE_LIB_XPM 1
9611 echo "$ac_t""found at $ac_find_libraries" 1>&6
9613 echo "$ac_t""no" 1>&6
9614 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9618 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9619 echo "configure:9620: checking for Mesa library" >&5
9622 for ac_dir
in $SEARCH_LIB;
9624 for ac_extension
in a so sl dylib
; do
9625 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9626 ac_find_libraries
=$ac_dir
9632 if test "$ac_find_libraries" != "" ; then
9633 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9634 MESA_LINK
="-lMesaGL"
9635 echo "$ac_t""found at $ac_find_libraries" 1>&6
9637 { echo "configure: error: no" 1>&2; exit 1; }
9640 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9641 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9648 # If we find X, set shell vars x_includes and x_libraries to the
9649 # paths, otherwise set no_x=yes.
9650 # Uses ac_ vars as temps to allow command line to override cache and checks.
9651 # --without-x overrides everything else, but does not touch the cache.
9652 echo $ac_n "checking for X""... $ac_c" 1>&6
9653 echo "configure:9654: checking for X" >&5
9655 # Check whether --with-x or --without-x was given.
9656 if test "${with_x+set}" = set; then
9661 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9662 if test "x$with_x" = xno
; then
9663 # The user explicitly disabled X.
9666 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9667 # Both variables are already set.
9670 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9671 echo $ac_n "(cached) $ac_c" 1>&6
9673 # One or both of the vars are not set, and there is no cached value.
9674 ac_x_includes
=NO ac_x_libraries
=NO
9676 if mkdir conftestdir
; then
9678 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9679 cat > Imakefile
<<'EOF'
9681 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9683 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9684 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9685 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9686 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9687 for ac_extension
in a so sl
; do
9688 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9689 test -f $ac_im_libdir/libX11.
$ac_extension; then
9690 ac_im_usrlibdir
=$ac_im_libdir; break
9693 # Screen out bogus values from the imake configuration. They are
9694 # bogus both because they are the default anyway, and because
9695 # using them would break gcc on systems where it needs fixed includes.
9696 case "$ac_im_incroot" in
9698 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9700 case "$ac_im_usrlibdir" in
9702 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9709 if test "$ac_x_includes" = NO
; then
9710 # Guess where to find include files, by looking for this one X11 .h file.
9711 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9713 # First, try using that file with no special directory specified.
9714 cat > conftest.
$ac_ext <<EOF
9715 #line 9716 "configure"
9716 #include "confdefs.h"
9717 #include <$x_direct_test_include>
9719 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9720 { (eval echo configure
:9721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9721 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9722 if test -z "$ac_err"; then
9724 # We can compile using X headers with no special include directory.
9728 echo "configure: failed program was:" >&5
9729 cat conftest.
$ac_ext >&5
9731 # Look for the header file in a standard set of common directories.
9732 # Check X11 before X11Rn because it is often a symlink to the current release.
9735 /usr
/X
11R
6/include \
9736 /usr
/X
11R
5/include \
9737 /usr
/X
11R
4/include \
9740 /usr
/include
/X11R6 \
9741 /usr
/include
/X11R5 \
9742 /usr
/include
/X11R4 \
9744 /usr
/local
/X
11/include \
9745 /usr
/local
/X
11R
6/include \
9746 /usr
/local
/X
11R
5/include \
9747 /usr
/local
/X
11R
4/include \
9749 /usr
/local
/include
/X11 \
9750 /usr
/local
/include
/X11R6 \
9751 /usr
/local
/include
/X11R5 \
9752 /usr
/local
/include
/X11R4 \
9756 /usr
/XFree
86/include
/X11 \
9759 /usr
/local
/include \
9760 /usr
/unsupported
/include \
9761 /usr
/athena
/include \
9762 /usr
/local
/x
11r
5/include \
9763 /usr
/lpp
/Xamples
/include \
9765 /usr
/openwin
/include \
9766 /usr
/openwin
/share
/include \
9769 if test -r "$ac_dir/$x_direct_test_include"; then
9770 ac_x_includes
=$ac_dir
9776 fi # $ac_x_includes = NO
9778 if test "$ac_x_libraries" = NO
; then
9779 # Check for the libraries.
9781 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9782 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9784 # See if we find them without any special options.
9785 # Don't add to $LIBS permanently.
9786 ac_save_LIBS
="$LIBS"
9787 LIBS
="-l$x_direct_test_library $LIBS"
9788 cat > conftest.
$ac_ext <<EOF
9789 #line 9790 "configure"
9790 #include "confdefs.h"
9793 ${x_direct_test_function}()
9796 if { (eval echo configure
:9797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9798 LIBS
="$ac_save_LIBS"
9799 # We can link X programs with no special library path.
9802 echo "configure: failed program was:" >&5
9803 cat conftest.
$ac_ext >&5
9805 LIBS
="$ac_save_LIBS"
9806 # First see if replacing the include by lib works.
9807 # Check X11 before X11Rn because it is often a symlink to the current release.
9808 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9819 /usr
/local
/X
11/lib \
9820 /usr
/local
/X
11R
6/lib \
9821 /usr
/local
/X
11R
5/lib \
9822 /usr
/local
/X
11R
4/lib \
9824 /usr
/local
/lib
/X11 \
9825 /usr
/local
/lib
/X11R6 \
9826 /usr
/local
/lib
/X11R5 \
9827 /usr
/local
/lib
/X11R4 \
9831 /usr
/XFree
86/lib
/X11 \
9835 /usr
/unsupported
/lib \
9837 /usr
/local
/x
11r
5/lib \
9838 /usr
/lpp
/Xamples
/lib \
9842 /usr
/openwin
/share
/lib \
9845 for ac_extension
in a so sl
; do
9846 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9847 ac_x_libraries
=$ac_dir
9854 fi # $ac_x_libraries = NO
9856 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9857 # Didn't find X anywhere. Cache the known absence of X.
9858 ac_cv_have_x
="have_x=no"
9860 # Record where we found X for the cache.
9861 ac_cv_have_x
="have_x=yes \
9862 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9866 eval "$ac_cv_have_x"
9869 if test "$have_x" != yes; then
9870 echo "$ac_t""$have_x" 1>&6
9873 # If each of the values was on the command line, it overrides each guess.
9874 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9875 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9876 # Update the cache value to reflect the command line values.
9877 ac_cv_have_x
="have_x=yes \
9878 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9879 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9882 if test "$no_x" = yes; then
9883 # Not all programs may use this symbol, but it does not hurt to define it.
9884 cat >> confdefs.h
<<\EOF
9885 #define X_DISPLAY_MISSING 1
9888 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9890 if test -n "$x_includes"; then
9891 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9894 # It would also be nice to do this for all -L options, not just this one.
9895 if test -n "$x_libraries"; then
9896 X_LIBS
="$X_LIBS -L$x_libraries"
9897 # For Solaris; some versions of Sun CC require a space after -R and
9898 # others require no space. Words are not sufficient . . . .
9899 case "`(uname -sr) 2>/dev/null`" in
9901 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9902 echo "configure:9903: checking whether -R must be followed by a space" >&5
9903 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9904 cat > conftest.
$ac_ext <<EOF
9905 #line 9906 "configure"
9906 #include "confdefs.h"
9912 if { (eval echo configure
:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9916 echo "configure: failed program was:" >&5
9917 cat conftest.
$ac_ext >&5
9922 if test $ac_R_nospace = yes; then
9923 echo "$ac_t""no" 1>&6
9924 X_LIBS
="$X_LIBS -R$x_libraries"
9926 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9927 cat > conftest.
$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9935 if { (eval echo configure
:9936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9939 echo "configure: failed program was:" >&5
9940 cat conftest.
$ac_ext >&5
9945 if test $ac_R_space = yes; then
9946 echo "$ac_t""yes" 1>&6
9947 X_LIBS
="$X_LIBS -R $x_libraries"
9949 echo "$ac_t""neither works" 1>&6
9952 LIBS
="$ac_xsave_LIBS"
9956 # Check for system-dependent libraries X programs must link with.
9957 # Do this before checking for the system-independent R6 libraries
9958 # (-lICE), since we may need -lsocket or whatever for X linking.
9960 if test "$ISC" = yes; then
9961 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9963 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9964 # libraries were built with DECnet support. And karl@cs.umb.edu says
9965 # the Alpha needs dnet_stub (dnet does not exist).
9966 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9967 echo "configure:9968: checking for dnet_ntoa in -ldnet" >&5
9968 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9970 echo $ac_n "(cached) $ac_c" 1>&6
9972 ac_save_LIBS
="$LIBS"
9974 cat > conftest.
$ac_ext <<EOF
9975 #line 9976 "configure"
9976 #include "confdefs.h"
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. */
9986 if { (eval echo configure
:9987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9988 eval "ac_cv_lib_$ac_lib_var=yes"
9990 echo "configure: failed program was:" >&5
9991 cat conftest.
$ac_ext >&5
9993 eval "ac_cv_lib_$ac_lib_var=no"
9996 LIBS
="$ac_save_LIBS"
9999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10000 echo "$ac_t""yes" 1>&6
10001 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10003 echo "$ac_t""no" 1>&6
10006 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10007 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10008 echo "configure:10009: checking for dnet_ntoa in -ldnet_stub" >&5
10009 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10010 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10011 echo $ac_n "(cached) $ac_c" 1>&6
10013 ac_save_LIBS
="$LIBS"
10014 LIBS
="-ldnet_stub $LIBS"
10015 cat > conftest.
$ac_ext <<EOF
10016 #line 10017 "configure"
10017 #include "confdefs.h"
10018 /* Override any gcc2 internal prototype to avoid an error. */
10019 /* We use char because int might match the return type of a gcc2
10020 builtin and then its argument prototype would still apply. */
10027 if { (eval echo configure
:10028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10029 eval "ac_cv_lib_$ac_lib_var=yes"
10031 echo "configure: failed program was:" >&5
10032 cat conftest.
$ac_ext >&5
10034 eval "ac_cv_lib_$ac_lib_var=no"
10037 LIBS
="$ac_save_LIBS"
10040 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10041 echo "$ac_t""yes" 1>&6
10042 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10044 echo "$ac_t""no" 1>&6
10049 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10050 # to get the SysV transport functions.
10051 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10053 # The nsl library prevents programs from opening the X display
10054 # on Irix 5.2, according to dickey@clark.net.
10055 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10056 echo "configure:10057: checking for gethostbyname" >&5
10057 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10060 cat > conftest.
$ac_ext <<EOF
10061 #line 10062 "configure"
10062 #include "confdefs.h"
10063 /* System header to define __stub macros and hopefully few prototypes,
10064 which can conflict with char gethostbyname(); below. */
10065 #include <assert.h>
10066 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10069 char gethostbyname();
10073 /* The GNU C library defines this for functions which it implements
10074 to always fail with ENOSYS. Some functions are actually named
10075 something starting with __ and the normal name is an alias. */
10076 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10084 if { (eval echo configure
:10085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10086 eval "ac_cv_func_gethostbyname=yes"
10088 echo "configure: failed program was:" >&5
10089 cat conftest.
$ac_ext >&5
10091 eval "ac_cv_func_gethostbyname=no"
10096 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10097 echo "$ac_t""yes" 1>&6
10100 echo "$ac_t""no" 1>&6
10103 if test $ac_cv_func_gethostbyname = no
; then
10104 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10105 echo "configure:10106: checking for gethostbyname in -lnsl" >&5
10106 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10107 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10108 echo $ac_n "(cached) $ac_c" 1>&6
10110 ac_save_LIBS
="$LIBS"
10112 cat > conftest.
$ac_ext <<EOF
10113 #line 10114 "configure"
10114 #include "confdefs.h"
10115 /* Override any gcc2 internal prototype to avoid an error. */
10116 /* We use char because int might match the return type of a gcc2
10117 builtin and then its argument prototype would still apply. */
10118 char gethostbyname();
10124 if { (eval echo configure
:10125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10126 eval "ac_cv_lib_$ac_lib_var=yes"
10128 echo "configure: failed program was:" >&5
10129 cat conftest.
$ac_ext >&5
10131 eval "ac_cv_lib_$ac_lib_var=no"
10134 LIBS
="$ac_save_LIBS"
10137 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10138 echo "$ac_t""yes" 1>&6
10139 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10141 echo "$ac_t""no" 1>&6
10146 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10147 # socket/setsockopt and other routines are undefined under SCO ODT
10148 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10149 # on later versions), says simon@lia.di.epfl.ch: it contains
10150 # gethostby* variants that don't use the nameserver (or something).
10151 # -lsocket must be given before -lnsl if both are needed.
10152 # We assume that if connect needs -lnsl, so does gethostbyname.
10153 echo $ac_n "checking for connect""... $ac_c" 1>&6
10154 echo "configure:10155: checking for connect" >&5
10155 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10156 echo $ac_n "(cached) $ac_c" 1>&6
10158 cat > conftest.
$ac_ext <<EOF
10159 #line 10160 "configure"
10160 #include "confdefs.h"
10161 /* System header to define __stub macros and hopefully few prototypes,
10162 which can conflict with char connect(); below. */
10163 #include <assert.h>
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 /* We use char because int might match the return type of a gcc2
10166 builtin and then its argument prototype would still apply. */
10171 /* The GNU C library defines this for functions which it implements
10172 to always fail with ENOSYS. Some functions are actually named
10173 something starting with __ and the normal name is an alias. */
10174 #if defined (__stub_connect) || defined (__stub___connect)
10182 if { (eval echo configure
:10183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10184 eval "ac_cv_func_connect=yes"
10186 echo "configure: failed program was:" >&5
10187 cat conftest.
$ac_ext >&5
10189 eval "ac_cv_func_connect=no"
10194 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10195 echo "$ac_t""yes" 1>&6
10198 echo "$ac_t""no" 1>&6
10201 if test $ac_cv_func_connect = no
; then
10202 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10203 echo "configure:10204: checking for connect in -lsocket" >&5
10204 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10205 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10206 echo $ac_n "(cached) $ac_c" 1>&6
10208 ac_save_LIBS
="$LIBS"
10209 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10210 cat > conftest.
$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10213 /* Override any gcc2 internal prototype to avoid an error. */
10214 /* We use char because int might match the return type of a gcc2
10215 builtin and then its argument prototype would still apply. */
10222 if { (eval echo configure
:10223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10224 eval "ac_cv_lib_$ac_lib_var=yes"
10226 echo "configure: failed program was:" >&5
10227 cat conftest.
$ac_ext >&5
10229 eval "ac_cv_lib_$ac_lib_var=no"
10232 LIBS
="$ac_save_LIBS"
10235 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10236 echo "$ac_t""yes" 1>&6
10237 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10239 echo "$ac_t""no" 1>&6
10244 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10245 echo $ac_n "checking for remove""... $ac_c" 1>&6
10246 echo "configure:10247: checking for remove" >&5
10247 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10248 echo $ac_n "(cached) $ac_c" 1>&6
10250 cat > conftest.
$ac_ext <<EOF
10251 #line 10252 "configure"
10252 #include "confdefs.h"
10253 /* System header to define __stub macros and hopefully few prototypes,
10254 which can conflict with char remove(); below. */
10255 #include <assert.h>
10256 /* Override any gcc2 internal prototype to avoid an error. */
10257 /* We use char because int might match the return type of a gcc2
10258 builtin and then its argument prototype would still apply. */
10263 /* The GNU C library defines this for functions which it implements
10264 to always fail with ENOSYS. Some functions are actually named
10265 something starting with __ and the normal name is an alias. */
10266 #if defined (__stub_remove) || defined (__stub___remove)
10274 if { (eval echo configure
:10275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10276 eval "ac_cv_func_remove=yes"
10278 echo "configure: failed program was:" >&5
10279 cat conftest.
$ac_ext >&5
10281 eval "ac_cv_func_remove=no"
10286 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10287 echo "$ac_t""yes" 1>&6
10290 echo "$ac_t""no" 1>&6
10293 if test $ac_cv_func_remove = no
; then
10294 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10295 echo "configure:10296: checking for remove in -lposix" >&5
10296 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10298 echo $ac_n "(cached) $ac_c" 1>&6
10300 ac_save_LIBS
="$LIBS"
10301 LIBS
="-lposix $LIBS"
10302 cat > conftest.
$ac_ext <<EOF
10303 #line 10304 "configure"
10304 #include "confdefs.h"
10305 /* Override any gcc2 internal prototype to avoid an error. */
10306 /* We use char because int might match the return type of a gcc2
10307 builtin and then its argument prototype would still apply. */
10314 if { (eval echo configure
:10315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10316 eval "ac_cv_lib_$ac_lib_var=yes"
10318 echo "configure: failed program was:" >&5
10319 cat conftest.
$ac_ext >&5
10321 eval "ac_cv_lib_$ac_lib_var=no"
10324 LIBS
="$ac_save_LIBS"
10327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10328 echo "$ac_t""yes" 1>&6
10329 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10331 echo "$ac_t""no" 1>&6
10336 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10337 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10338 echo "configure:10339: checking for shmat" >&5
10339 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10340 echo $ac_n "(cached) $ac_c" 1>&6
10342 cat > conftest.
$ac_ext <<EOF
10343 #line 10344 "configure"
10344 #include "confdefs.h"
10345 /* System header to define __stub macros and hopefully few prototypes,
10346 which can conflict with char shmat(); below. */
10347 #include <assert.h>
10348 /* Override any gcc2 internal prototype to avoid an error. */
10349 /* We use char because int might match the return type of a gcc2
10350 builtin and then its argument prototype would still apply. */
10355 /* The GNU C library defines this for functions which it implements
10356 to always fail with ENOSYS. Some functions are actually named
10357 something starting with __ and the normal name is an alias. */
10358 #if defined (__stub_shmat) || defined (__stub___shmat)
10366 if { (eval echo configure
:10367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10368 eval "ac_cv_func_shmat=yes"
10370 echo "configure: failed program was:" >&5
10371 cat conftest.
$ac_ext >&5
10373 eval "ac_cv_func_shmat=no"
10378 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10379 echo "$ac_t""yes" 1>&6
10382 echo "$ac_t""no" 1>&6
10385 if test $ac_cv_func_shmat = no
; then
10386 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10387 echo "configure:10388: checking for shmat in -lipc" >&5
10388 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10390 echo $ac_n "(cached) $ac_c" 1>&6
10392 ac_save_LIBS
="$LIBS"
10394 cat > conftest.
$ac_ext <<EOF
10395 #line 10396 "configure"
10396 #include "confdefs.h"
10397 /* Override any gcc2 internal prototype to avoid an error. */
10398 /* We use char because int might match the return type of a gcc2
10399 builtin and then its argument prototype would still apply. */
10406 if { (eval echo configure
:10407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10408 eval "ac_cv_lib_$ac_lib_var=yes"
10410 echo "configure: failed program was:" >&5
10411 cat conftest.
$ac_ext >&5
10413 eval "ac_cv_lib_$ac_lib_var=no"
10416 LIBS
="$ac_save_LIBS"
10419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10420 echo "$ac_t""yes" 1>&6
10421 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10423 echo "$ac_t""no" 1>&6
10429 # Check for libraries that X11R6 Xt/Xaw programs need.
10430 ac_save_LDFLAGS
="$LDFLAGS"
10431 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10432 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10433 # check for ICE first), but we must link in the order -lSM -lICE or
10434 # we get undefined symbols. So assume we have SM if we have ICE.
10435 # These have to be linked with before -lX11, unlike the other
10436 # libraries we check for below, so use a different variable.
10437 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10438 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10439 echo "configure:10440: checking for IceConnectionNumber in -lICE" >&5
10440 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10441 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10442 echo $ac_n "(cached) $ac_c" 1>&6
10444 ac_save_LIBS
="$LIBS"
10445 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10446 cat > conftest.
$ac_ext <<EOF
10447 #line 10448 "configure"
10448 #include "confdefs.h"
10449 /* Override any gcc2 internal prototype to avoid an error. */
10450 /* We use char because int might match the return type of a gcc2
10451 builtin and then its argument prototype would still apply. */
10452 char IceConnectionNumber();
10455 IceConnectionNumber()
10458 if { (eval echo configure
:10459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10460 eval "ac_cv_lib_$ac_lib_var=yes"
10462 echo "configure: failed program was:" >&5
10463 cat conftest.
$ac_ext >&5
10465 eval "ac_cv_lib_$ac_lib_var=no"
10468 LIBS
="$ac_save_LIBS"
10471 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10472 echo "$ac_t""yes" 1>&6
10473 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10475 echo "$ac_t""no" 1>&6
10478 LDFLAGS
="$ac_save_LDFLAGS"
10482 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10483 LDFLAGS
="$LDFLAGS $X_LIBS"
10485 if test "$wxUSE_MOTIF" = 1; then
10486 if test "$no_x" = "yes"; then
10487 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10490 GUI_TK_LIBRARY
="$X_LIBS"
10491 TOOLKIT_INCLUDE
="$X_CFLAGS"
10493 AFMINSTALL
=afminstall
10496 COMPILED_X_PROGRAM
=0
10498 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10499 echo "configure:10500: checking for Motif/Lesstif headers" >&5
10502 for ac_dir
in $SEARCH_INCLUDE;
10504 if test -f "$ac_dir/Xm/Xm.h"; then
10505 ac_find_includes
=$ac_dir
10510 if test "$ac_find_includes" != "" ; then
10511 echo "$ac_t""found $ac_find_includes" 1>&6
10513 cat > conftest.
$ac_ext <<EOF
10514 #line 10515 "configure"
10515 #include "confdefs.h"
10523 version = xmUseVersion;
10527 if { (eval echo configure
:10528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10530 echo "$ac_t""found in default search path" 1>&6
10531 COMPILED_X_PROGRAM
=1
10534 echo "configure: failed program was:" >&5
10535 cat conftest.
$ac_ext >&5
10538 echo "$ac_t""no" 1>&6
10539 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10546 if test "$COMPILED_X_PROGRAM" = 0; then
10547 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10548 echo "configure:10549: checking for Motif/Lesstif library" >&5
10551 for ac_dir
in $SEARCH_LIB;
10553 for ac_extension
in a so sl dylib
; do
10554 if test -f "$ac_dir/libXm.$ac_extension"; then
10555 ac_find_libraries
=$ac_dir
10561 if test "$ac_find_libraries" != "" ; then
10563 ac_path_to_include
=$ac_find_includes
10564 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10566 if test $result = 0; then
10567 ac_path_to_include
=""
10569 ac_path_to_include
="-I$ac_find_includes"
10573 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10575 if test $result = 0; then
10578 ac_path_to_link
="-L$ac_find_libraries"
10582 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10583 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10584 echo "$ac_t""found at $ac_find_libraries" 1>&6
10586 cat > conftest.
$ac_ext <<EOF
10587 #line 10588 "configure"
10588 #include "confdefs.h"
10596 version = xmUseVersion;
10600 if { (eval echo configure
:10601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10603 echo "$ac_t""found in default search path" 1>&6
10604 COMPILED_X_PROGRAM
=1
10607 echo "configure: failed program was:" >&5
10608 cat conftest.
$ac_ext >&5
10611 echo "$ac_t""no" 1>&6
10612 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10622 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10623 echo "configure:10624: checking for Xpm library" >&5
10626 for ac_dir
in $SEARCH_LIB;
10628 for ac_extension
in a so sl dylib
; do
10629 if test -f "$ac_dir/libXpm.$ac_extension"; then
10630 ac_find_libraries
=$ac_dir
10636 if test "$ac_find_libraries" != "" ; then
10638 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10640 if test $result = 0; then
10643 ac_path_to_link
="-L$ac_find_libraries"
10646 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10648 cat >> confdefs.h
<<\EOF
10649 #define wxHAVE_LIB_XPM 1
10652 echo "$ac_t""found at $ac_find_libraries" 1>&6
10654 cat > conftest.
$ac_ext <<EOF
10655 #line 10656 "configure"
10656 #include "confdefs.h"
10658 #include <X11/xpm.h>
10664 version = XpmLibraryVersion();
10668 if { (eval echo configure
:10669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10672 cat >> confdefs.h
<<\EOF
10673 #define wxHAVE_LIB_XPM 1
10676 echo "$ac_t""found in default search path" 1>&6
10677 COMPILED_X_PROGRAM
=0
10680 echo "configure: failed program was:" >&5
10681 cat conftest.
$ac_ext >&5
10684 echo "$ac_t""no" 1>&6
10685 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10692 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10693 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10698 if test "$wxUSE_MAC" = 1; then
10703 if test "$wxUSE_PM" = 1; then
10708 if test "$TOOLKIT" != "PM" ; then
10709 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10714 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10716 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10718 if test "$TOOLKIT_NAME" = "motif"; then
10719 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10722 if test "$wxUSE_UNIVERSAL" = "yes"; then
10723 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10724 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10725 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10728 SETUPH_DIR
="${TOOLKIT_DIR}"
10731 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10732 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10735 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10736 if test "$wxUSE_UNIVERSAL" = "yes"; then
10737 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10740 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10742 if test "$wxUSE_UNIVERSAL" = "yes"; then
10743 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10745 ALL_OBJECTS
="\$(GUIOBJS)"
10748 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10750 if test "$TOOLKIT" != "MSW"; then
10751 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10754 if test "$wxUSE_HTML" = "yes"; then
10755 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10758 if test "$TOOLKIT" != "MSW"; then
10759 if test "$wxUSE_ODBC" = "yes" ; then
10760 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10764 if test "x$REGEX_INCLUDE" != "x" ; then
10765 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10768 if test "$wxUSE_LIBJPEG" = "yes" ; then
10769 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10771 if test "$wxUSE_LIBTIFF" = "yes" ; then
10772 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10774 if test "$wxUSE_LIBPNG" = "yes" ; then
10775 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10777 if test "$wxUSE_ZLIB" = "yes" ; then
10778 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10780 if test "$wxUSE_FREETYPE" = "yes" ; then
10781 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10784 if test "$wxUSE_UNIVERSAL" = "yes"; then
10785 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10787 ALL_DEPFILES
="\$(GUIDEPS)"
10790 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10792 if test "$TOOLKIT" != "MSW"; then
10793 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10796 if test "$wxUSE_HTML" = "yes"; then
10797 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10800 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10801 if test "$wxUSE_UNIVERSAL" = "yes"; then
10802 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10804 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10805 RPM_SPEC
="wx\$(TOOLKIT).spec"
10807 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10808 DISTDIR
="wx\$(TOOLKIT)"
10816 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10817 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10819 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10822 TOOLKIT_DEF
="-D__WXBASE__"
10824 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10825 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10827 if test "x$REGEX_INCLUDE" != "x" ; then
10828 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
10831 if test "$wxUSE_ZLIB" = "yes" ; then
10832 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10835 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10837 PORT_FILES
="\${top_srcdir}/src/files.lst"
10838 RPM_FILES
="src/rpmfiles.lst"
10839 RPM_SPEC
="wxBase.spec"
10841 GUIDIST
="BASE_DIST"
10845 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10846 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10848 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10849 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10851 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10852 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10854 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10855 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10856 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10857 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10858 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10859 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10865 BURNT_LIBRARY_NAME
=
10866 WX_TARGET_LIBRARY_SONAME
=
10869 if test "$wxUSE_SHARED" = "yes"; then
10872 if test "$GCC" = yes ; then
10873 SHARED_LD
="${CXX} -shared -fPIC -o"
10876 LDFLAGS
="-L/usr/lib"
10878 SHARED_LD
="${CXX} -b -o"
10881 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10882 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10883 if test "$wxUSE_OPENGL" = "yes"; then
10884 WX_ALL_INSTALLED
="preinstall_gl"
10885 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10887 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10892 SHARED_LD
="${CXX} -shared -o"
10894 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10895 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10896 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10897 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10899 if test "$wxUSE_OPENGL" = "yes"; then
10900 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10901 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10903 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10904 WX_ALL
="CREATE_LINKS"
10907 *-*-irix5* | *-*-irix6* )
10908 if test "$GCC" = yes ; then
10909 SHARED_LD
="${CXX} -shared -o"
10912 SHARED_LD
="${CXX} -shared -o"
10914 if test "$wxUSE_OPENGL" = "yes"; then
10915 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10916 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10918 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10919 WX_ALL
="CREATE_LINKS"
10923 if test "$GCC" = yes ; then
10924 SHARED_LD
="${CXX} -shared -o"
10927 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10929 SHARED_LD
="${CXX} -G -o"
10932 if test "$wxUSE_OPENGL" = "yes"; then
10933 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10934 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10936 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10937 WX_ALL
="CREATE_LINKS"
10941 SHARED_LD
="${CXX} -shared -o"
10943 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10944 WX_ALL
="CREATE_LINKS"
10946 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10947 SHARED_LD
="${CXX} -shared -o"
10949 if test "$wxUSE_OPENGL" = "yes"; then
10950 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10951 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10953 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10954 WX_ALL
="CREATE_LINKS"
10958 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__DARWIN__ -D__POWERPC__"
10959 CFLAGS
="${CFLAGS} -fno-common"
10960 CPPFLAGS
="${CPPFLAGS} -fno-common"
10961 SHARED_LD
="${CXX} -dynamiclib -o"
10962 PIC_FLAG
="-dynamic -fPIC"
10963 if test "$wxUSE_OPENGL" = "yes"; then
10964 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10965 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10967 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10968 WX_ALL
="CREATE_LINKS"
10970 if test "$wxUSE_MAC" = 1 ; then
10971 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10973 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10974 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10975 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10976 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10977 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10978 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10979 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10980 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10983 SHARED_LD
="${CXX} -shared -o"
10985 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10986 WX_ALL
="CREATE_LINKS"
10989 SHARED_LD
="${CXX} -shared -o"
10991 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10992 WX_ALL
="CREATE_LINKS"
10995 SHARED_LD
="${CXX} -shared -o"
10997 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10998 WX_ALL
="CREATE_LINKS"
11001 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11002 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
11005 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11006 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11007 if test "$wxUSE_OPENGL" = "yes"; then
11008 WX_ALL_INSTALLED
="preinstall_gl"
11009 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11011 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11015 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11016 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11017 if test "$wxUSE_OPENGL" = "yes"; then
11018 WX_ALL_INSTALLED
="preinstall_gl"
11019 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11021 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11025 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11026 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11029 SHARED_LD
="${LD} -shared -o"
11031 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11032 WX_ALL
="CREATE_LINKS"
11035 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
11038 if test "x$WX_TARGET_LIBRARY" = "x"; then
11039 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11040 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11042 WX_TARGET_LIBRARY_TYPE
="so"
11044 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11045 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11047 if test "$wxUSE_OPENGL" = "yes"; then
11048 WX_ALL_INSTALLED
="preinstall_gl"
11049 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
11051 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
11054 if test "$wxUSE_GUI" = "no"; then
11055 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11058 WX_TARGET_LIBRARY_TYPE
="a"
11062 for ac_hdr
in strings.h
11064 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11065 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11066 echo "configure:11067: checking for $ac_hdr" >&5
11067 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11068 echo $ac_n "(cached) $ac_c" 1>&6
11070 cat > conftest.
$ac_ext <<EOF
11071 #line 11072 "configure"
11072 #include "confdefs.h"
11075 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11076 { (eval echo configure
:11077: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11077 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11078 if test -z "$ac_err"; then
11080 eval "ac_cv_header_$ac_safe=yes"
11083 echo "configure: failed program was:" >&5
11084 cat conftest.
$ac_ext >&5
11086 eval "ac_cv_header_$ac_safe=no"
11090 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11091 echo "$ac_t""yes" 1>&6
11092 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11093 cat >> confdefs.h
<<EOF
11094 #define $ac_tr_hdr 1
11098 echo "$ac_t""no" 1>&6
11102 for ac_hdr
in stdlib.h
11104 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11105 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11106 echo "configure:11107: checking for $ac_hdr" >&5
11107 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11108 echo $ac_n "(cached) $ac_c" 1>&6
11110 cat > conftest.
$ac_ext <<EOF
11111 #line 11112 "configure"
11112 #include "confdefs.h"
11115 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11116 { (eval echo configure
:11117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11117 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11118 if test -z "$ac_err"; then
11120 eval "ac_cv_header_$ac_safe=yes"
11123 echo "configure: failed program was:" >&5
11124 cat conftest.
$ac_ext >&5
11126 eval "ac_cv_header_$ac_safe=no"
11130 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11131 echo "$ac_t""yes" 1>&6
11132 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11133 cat >> confdefs.h
<<EOF
11134 #define $ac_tr_hdr 1
11138 echo "$ac_t""no" 1>&6
11142 for ac_hdr
in unistd.h
11144 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11145 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11146 echo "configure:11147: checking for $ac_hdr" >&5
11147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11148 echo $ac_n "(cached) $ac_c" 1>&6
11150 cat > conftest.
$ac_ext <<EOF
11151 #line 11152 "configure"
11152 #include "confdefs.h"
11155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11156 { (eval echo configure
:11157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11158 if test -z "$ac_err"; then
11160 eval "ac_cv_header_$ac_safe=yes"
11163 echo "configure: failed program was:" >&5
11164 cat conftest.
$ac_ext >&5
11166 eval "ac_cv_header_$ac_safe=no"
11170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11171 echo "$ac_t""yes" 1>&6
11172 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11173 cat >> confdefs.h
<<EOF
11174 #define $ac_tr_hdr 1
11178 echo "$ac_t""no" 1>&6
11182 for ac_hdr
in wchar.h
11184 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11185 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11186 echo "configure:11187: checking for $ac_hdr" >&5
11187 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11188 echo $ac_n "(cached) $ac_c" 1>&6
11190 cat > conftest.
$ac_ext <<EOF
11191 #line 11192 "configure"
11192 #include "confdefs.h"
11195 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11196 { (eval echo configure
:11197: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11197 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11198 if test -z "$ac_err"; then
11200 eval "ac_cv_header_$ac_safe=yes"
11203 echo "configure: failed program was:" >&5
11204 cat conftest.
$ac_ext >&5
11206 eval "ac_cv_header_$ac_safe=no"
11210 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11211 echo "$ac_t""yes" 1>&6
11212 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11213 cat >> confdefs.h
<<EOF
11214 #define $ac_tr_hdr 1
11218 echo "$ac_t""no" 1>&6
11222 for ac_hdr
in wcstr.h
11224 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11225 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11226 echo "configure:11227: checking for $ac_hdr" >&5
11227 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11228 echo $ac_n "(cached) $ac_c" 1>&6
11230 cat > conftest.
$ac_ext <<EOF
11231 #line 11232 "configure"
11232 #include "confdefs.h"
11235 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11236 { (eval echo configure
:11237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11237 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11238 if test -z "$ac_err"; then
11240 eval "ac_cv_header_$ac_safe=yes"
11243 echo "configure: failed program was:" >&5
11244 cat conftest.
$ac_ext >&5
11246 eval "ac_cv_header_$ac_safe=no"
11250 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11251 echo "$ac_t""yes" 1>&6
11252 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11253 cat >> confdefs.h
<<EOF
11254 #define $ac_tr_hdr 1
11258 echo "$ac_t""no" 1>&6
11262 for ac_hdr
in fnmatch.h
11264 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11265 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11266 echo "configure:11267: checking for $ac_hdr" >&5
11267 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11268 echo $ac_n "(cached) $ac_c" 1>&6
11270 cat > conftest.
$ac_ext <<EOF
11271 #line 11272 "configure"
11272 #include "confdefs.h"
11275 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11276 { (eval echo configure
:11277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11277 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11278 if test -z "$ac_err"; then
11280 eval "ac_cv_header_$ac_safe=yes"
11283 echo "configure: failed program was:" >&5
11284 cat conftest.
$ac_ext >&5
11286 eval "ac_cv_header_$ac_safe=no"
11290 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11291 echo "$ac_t""yes" 1>&6
11292 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11293 cat >> confdefs.h
<<EOF
11294 #define $ac_tr_hdr 1
11298 echo "$ac_t""no" 1>&6
11302 for ac_hdr
in iconv.h
11304 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11305 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11306 echo "configure:11307: checking for $ac_hdr" >&5
11307 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11308 echo $ac_n "(cached) $ac_c" 1>&6
11310 cat > conftest.
$ac_ext <<EOF
11311 #line 11312 "configure"
11312 #include "confdefs.h"
11315 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11316 { (eval echo configure
:11317: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11317 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11318 if test -z "$ac_err"; then
11320 eval "ac_cv_header_$ac_safe=yes"
11323 echo "configure: failed program was:" >&5
11324 cat conftest.
$ac_ext >&5
11326 eval "ac_cv_header_$ac_safe=no"
11330 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11331 echo "$ac_t""yes" 1>&6
11332 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11333 cat >> confdefs.h
<<EOF
11334 #define $ac_tr_hdr 1
11338 echo "$ac_t""no" 1>&6
11342 for ac_hdr
in langinfo.h
11344 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11345 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11346 echo "configure:11347: checking for $ac_hdr" >&5
11347 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11348 echo $ac_n "(cached) $ac_c" 1>&6
11350 cat > conftest.
$ac_ext <<EOF
11351 #line 11352 "configure"
11352 #include "confdefs.h"
11355 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11356 { (eval echo configure
:11357: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11357 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11358 if test -z "$ac_err"; then
11360 eval "ac_cv_header_$ac_safe=yes"
11363 echo "configure: failed program was:" >&5
11364 cat conftest.
$ac_ext >&5
11366 eval "ac_cv_header_$ac_safe=no"
11370 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11371 echo "$ac_t""yes" 1>&6
11372 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11373 cat >> confdefs.h
<<EOF
11374 #define $ac_tr_hdr 1
11378 echo "$ac_t""no" 1>&6
11383 if test "$wxUSE_GUI" = "yes"; then
11384 if test "$wxUSE_UNIX" = "yes"; then
11385 for ac_hdr
in X
11/XKBlib.h
11387 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11388 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11389 echo "configure:11390: checking for $ac_hdr" >&5
11390 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11391 echo $ac_n "(cached) $ac_c" 1>&6
11393 cat > conftest.
$ac_ext <<EOF
11394 #line 11395 "configure"
11395 #include "confdefs.h"
11398 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11399 { (eval echo configure
:11400: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11400 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11401 if test -z "$ac_err"; then
11403 eval "ac_cv_header_$ac_safe=yes"
11406 echo "configure: failed program was:" >&5
11407 cat conftest.
$ac_ext >&5
11409 eval "ac_cv_header_$ac_safe=no"
11413 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11414 echo "$ac_t""yes" 1>&6
11415 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11416 cat >> confdefs.h
<<EOF
11417 #define $ac_tr_hdr 1
11421 echo "$ac_t""no" 1>&6
11428 if test "$USE_WIN32" = 1; then
11429 for ac_hdr
in w32api.h
11431 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11432 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11433 echo "configure:11434: checking for $ac_hdr" >&5
11434 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11435 echo $ac_n "(cached) $ac_c" 1>&6
11437 cat > conftest.
$ac_ext <<EOF
11438 #line 11439 "configure"
11439 #include "confdefs.h"
11442 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11443 { (eval echo configure
:11444: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11444 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11445 if test -z "$ac_err"; then
11447 eval "ac_cv_header_$ac_safe=yes"
11450 echo "configure: failed program was:" >&5
11451 cat conftest.
$ac_ext >&5
11453 eval "ac_cv_header_$ac_safe=no"
11457 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11458 echo "$ac_t""yes" 1>&6
11459 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11460 cat >> confdefs.h
<<EOF
11461 #define $ac_tr_hdr 1
11465 echo "$ac_t""no" 1>&6
11472 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11473 echo "configure:11474: checking for ANSI C header files" >&5
11474 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11475 echo $ac_n "(cached) $ac_c" 1>&6
11477 cat > conftest.
$ac_ext <<EOF
11478 #line 11479 "configure"
11479 #include "confdefs.h"
11480 #include <stdlib.h>
11481 #include <stdarg.h>
11482 #include <string.h>
11485 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11486 { (eval echo configure
:11487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11487 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11488 if test -z "$ac_err"; then
11490 ac_cv_header_stdc
=yes
11493 echo "configure: failed program was:" >&5
11494 cat conftest.
$ac_ext >&5
11496 ac_cv_header_stdc
=no
11500 if test $ac_cv_header_stdc = yes; then
11501 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11502 cat > conftest.
$ac_ext <<EOF
11503 #line 11504 "configure"
11504 #include "confdefs.h"
11505 #include <string.h>
11507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11508 egrep "memchr" >/dev
/null
2>&1; then
11512 ac_cv_header_stdc
=no
11518 if test $ac_cv_header_stdc = yes; then
11519 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11520 cat > conftest.
$ac_ext <<EOF
11521 #line 11522 "configure"
11522 #include "confdefs.h"
11523 #include <stdlib.h>
11525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11526 egrep "free" >/dev
/null
2>&1; then
11530 ac_cv_header_stdc
=no
11536 if test $ac_cv_header_stdc = yes; then
11537 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11538 if test "$cross_compiling" = yes; then
11541 cat > conftest.
$ac_ext <<EOF
11542 #line 11543 "configure"
11543 #include "confdefs.h"
11545 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11546 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11547 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11548 int main () { int i; for (i = 0; i < 256; i++)
11549 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11553 if { (eval echo configure
:11554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11557 echo "configure: failed program was:" >&5
11558 cat conftest.
$ac_ext >&5
11560 ac_cv_header_stdc
=no
11568 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11569 if test $ac_cv_header_stdc = yes; then
11570 cat >> confdefs.h
<<\EOF
11571 #define STDC_HEADERS 1
11576 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11577 echo "configure:11578: checking for mode_t" >&5
11578 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11579 echo $ac_n "(cached) $ac_c" 1>&6
11581 cat > conftest.
$ac_ext <<EOF
11582 #line 11583 "configure"
11583 #include "confdefs.h"
11584 #include <sys/types.h>
11586 #include <stdlib.h>
11587 #include <stddef.h>
11590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11591 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11593 ac_cv_type_mode_t
=yes
11596 ac_cv_type_mode_t
=no
11601 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11602 if test $ac_cv_type_mode_t = no
; then
11603 cat >> confdefs.h
<<\EOF
11609 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11610 echo "configure:11611: checking for off_t" >&5
11611 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11612 echo $ac_n "(cached) $ac_c" 1>&6
11614 cat > conftest.
$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11617 #include <sys/types.h>
11619 #include <stdlib.h>
11620 #include <stddef.h>
11623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11624 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11626 ac_cv_type_off_t
=yes
11629 ac_cv_type_off_t
=no
11634 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11635 if test $ac_cv_type_off_t = no
; then
11636 cat >> confdefs.h
<<\EOF
11642 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11643 echo "configure:11644: checking for pid_t" >&5
11644 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11645 echo $ac_n "(cached) $ac_c" 1>&6
11647 cat > conftest.
$ac_ext <<EOF
11648 #line 11649 "configure"
11649 #include "confdefs.h"
11650 #include <sys/types.h>
11652 #include <stdlib.h>
11653 #include <stddef.h>
11656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11657 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11659 ac_cv_type_pid_t
=yes
11662 ac_cv_type_pid_t
=no
11667 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11668 if test $ac_cv_type_pid_t = no
; then
11669 cat >> confdefs.h
<<\EOF
11675 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11676 echo "configure:11677: checking for size_t" >&5
11677 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11678 echo $ac_n "(cached) $ac_c" 1>&6
11680 cat > conftest.
$ac_ext <<EOF
11681 #line 11682 "configure"
11682 #include "confdefs.h"
11683 #include <sys/types.h>
11685 #include <stdlib.h>
11686 #include <stddef.h>
11689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11690 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11692 ac_cv_type_size_t
=yes
11695 ac_cv_type_size_t
=no
11700 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11701 if test $ac_cv_type_size_t = no
; then
11702 cat >> confdefs.h
<<\EOF
11703 #define size_t unsigned
11708 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11709 echo "configure:11710: checking for uid_t in sys/types.h" >&5
11710 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11711 echo $ac_n "(cached) $ac_c" 1>&6
11713 cat > conftest.
$ac_ext <<EOF
11714 #line 11715 "configure"
11715 #include "confdefs.h"
11716 #include <sys/types.h>
11718 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11719 egrep "uid_t" >/dev
/null
2>&1; then
11721 ac_cv_type_uid_t
=yes
11724 ac_cv_type_uid_t
=no
11730 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11731 if test $ac_cv_type_uid_t = no
; then
11732 cat >> confdefs.h
<<\EOF
11736 cat >> confdefs.h
<<\EOF
11743 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11744 echo "configure:11745: checking for wchar_t" >&5
11745 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11746 echo $ac_n "(cached) $ac_c" 1>&6
11749 cat > conftest.
$ac_ext <<EOF
11750 #line 11751 "configure"
11751 #include "confdefs.h"
11757 ws = L"Hello, world!";
11761 if { (eval echo configure
:11762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11763 wx_cv_type_wchar_t
=yes
11765 echo "configure: failed program was:" >&5
11766 cat conftest.
$ac_ext >&5
11768 cat > conftest.
$ac_ext <<EOF
11769 #line 11770 "configure"
11770 #include "confdefs.h"
11771 #include <stdlib.h>
11776 ws = L"Hello, world!";
11780 if { (eval echo configure
:11781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11782 wx_cv_type_wchar_t
=yes
11784 echo "configure: failed program was:" >&5
11785 cat conftest.
$ac_ext >&5
11787 wx_cv_type_wchar_t
=no
11796 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11798 if test "$wx_cv_type_wchar_t" = "yes"; then
11799 cat >> confdefs.h
<<\EOF
11800 #define wxUSE_WCHAR_T 1
11807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11808 ac_cpp
='$CXXCPP $CPPFLAGS'
11809 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11810 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11811 cross_compiling
=$ac_cv_prog_cxx_cross
11813 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11814 echo "configure:11815: checking if size_t is unsigned int" >&5
11815 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11816 echo $ac_n "(cached) $ac_c" 1>&6
11818 cat > conftest.
$ac_ext <<EOF
11819 #line 11820 "configure"
11820 #include "confdefs.h"
11821 #include <stddef.h>
11826 struct Foo { void foo(size_t); void foo(unsigned int); };
11832 if { (eval echo configure
:11833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11834 wx_cv_size_t_is_uint
=no
11836 echo "configure: failed program was:" >&5
11837 cat conftest.
$ac_ext >&5
11839 wx_cv_size_t_is_uint
=yes
11846 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11848 if test "$wx_cv_size_t_is_uint" = "yes"; then
11849 cat >> confdefs.h
<<\EOF
11850 #define wxSIZE_T_IS_UINT 1
11854 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11855 echo "configure:11856: checking if size_t is unsigned long" >&5
11856 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11857 echo $ac_n "(cached) $ac_c" 1>&6
11859 cat > conftest.
$ac_ext <<EOF
11860 #line 11861 "configure"
11861 #include "confdefs.h"
11862 #include <stddef.h>
11867 struct Foo { void foo(size_t); void foo(unsigned long); };
11873 if { (eval echo configure
:11874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11875 wx_cv_size_t_is_ulong
=no
11877 echo "configure: failed program was:" >&5
11878 cat conftest.
$ac_ext >&5
11880 wx_cv_size_t_is_ulong
=yes
11887 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11889 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11890 cat >> confdefs.h
<<\EOF
11891 #define wxSIZE_T_IS_ULONG 1
11898 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11899 ac_cpp
='$CPP $CPPFLAGS'
11900 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11901 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11902 cross_compiling
=$ac_cv_prog_cc_cross
11906 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11907 echo "configure:11908: checking for pw_gecos in struct passwd" >&5
11908 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11909 echo $ac_n "(cached) $ac_c" 1>&6
11912 cat > conftest.
$ac_ext <<EOF
11913 #line 11914 "configure"
11914 #include "confdefs.h"
11924 if { (eval echo configure
:11925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11927 wx_cv_struct_pw_gecos
=yes
11930 echo "configure: failed program was:" >&5
11931 cat conftest.
$ac_ext >&5
11934 wx_cv_struct_pw_gecos
=no
11943 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11945 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11946 cat >> confdefs.h
<<\EOF
11947 #define HAVE_PW_GECOS 1
11953 echo $ac_n "checking for working const""... $ac_c" 1>&6
11954 echo "configure:11955: checking for working const" >&5
11955 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11956 echo $ac_n "(cached) $ac_c" 1>&6
11958 cat > conftest.
$ac_ext <<EOF
11959 #line 11960 "configure"
11960 #include "confdefs.h"
11964 /* Ultrix mips cc rejects this. */
11965 typedef int charset[2]; const charset x;
11966 /* SunOS 4.1.1 cc rejects this. */
11967 char const *const *ccp;
11969 /* NEC SVR4.0.2 mips cc rejects this. */
11970 struct point {int x, y;};
11971 static struct point const zero = {0,0};
11972 /* AIX XL C 1.02.0.0 rejects this.
11973 It does not let you subtract one const X* pointer from another in an arm
11974 of an if-expression whose if-part is not a constant expression */
11975 const char *g = "string";
11976 ccp = &g + (g ? g-g : 0);
11977 /* HPUX 7.0 cc rejects these. */
11980 ccp = (char const *const *) p;
11981 { /* SCO 3.2v4 cc rejects this. */
11983 char const *s = 0 ? (char *) 0 : (char const *) 0;
11987 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11988 int x[] = {25, 17};
11989 const int *foo = &x[0];
11992 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11993 typedef const int *iptr;
11997 { /* AIX XL C 1.02.0.0 rejects this saying
11998 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11999 struct s { int j; const int *ap[3]; };
12000 struct s *b; b->j = 5;
12002 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12003 const int foo = 10;
12008 if { (eval echo configure
:12009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12012 echo "configure: failed program was:" >&5
12013 cat conftest.
$ac_ext >&5
12020 echo "$ac_t""$ac_cv_c_const" 1>&6
12021 if test $ac_cv_c_const = no
; then
12022 cat >> confdefs.h
<<\EOF
12028 echo $ac_n "checking for inline""... $ac_c" 1>&6
12029 echo "configure:12030: checking for inline" >&5
12030 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12031 echo $ac_n "(cached) $ac_c" 1>&6
12034 for ac_kw
in inline __inline__ __inline
; do
12035 cat > conftest.
$ac_ext <<EOF
12036 #line 12037 "configure"
12037 #include "confdefs.h"
12043 if { (eval echo configure
:12044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12045 ac_cv_c_inline
=$ac_kw; break
12047 echo "configure: failed program was:" >&5
12048 cat conftest.
$ac_ext >&5
12055 echo "$ac_t""$ac_cv_c_inline" 1>&6
12056 case "$ac_cv_c_inline" in
12058 no
) cat >> confdefs.h
<<\EOF
12062 *) cat >> confdefs.h
<<EOF
12063 #define inline $ac_cv_c_inline
12069 echo $ac_n "checking size of char""... $ac_c" 1>&6
12070 echo "configure:12071: checking size of char" >&5
12071 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12072 echo $ac_n "(cached) $ac_c" 1>&6
12074 if test "$cross_compiling" = yes; then
12075 ac_cv_sizeof_char
=1
12077 cat > conftest.
$ac_ext <<EOF
12078 #line 12079 "configure"
12079 #include "confdefs.h"
12083 FILE *f=fopen("conftestval", "w");
12085 fprintf(f, "%d\n", sizeof(char));
12089 if { (eval echo configure
:12090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12091 ac_cv_sizeof_char
=`cat conftestval`
12093 echo "configure: failed program was:" >&5
12094 cat conftest.
$ac_ext >&5
12096 ac_cv_sizeof_char
=0
12102 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12103 cat >> confdefs.h
<<EOF
12104 #define SIZEOF_CHAR $ac_cv_sizeof_char
12108 echo $ac_n "checking size of short""... $ac_c" 1>&6
12109 echo "configure:12110: checking size of short" >&5
12110 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12111 echo $ac_n "(cached) $ac_c" 1>&6
12113 if test "$cross_compiling" = yes; then
12114 ac_cv_sizeof_short
=2
12116 cat > conftest.
$ac_ext <<EOF
12117 #line 12118 "configure"
12118 #include "confdefs.h"
12122 FILE *f=fopen("conftestval", "w");
12124 fprintf(f, "%d\n", sizeof(short));
12128 if { (eval echo configure
:12129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12130 ac_cv_sizeof_short
=`cat conftestval`
12132 echo "configure: failed program was:" >&5
12133 cat conftest.
$ac_ext >&5
12135 ac_cv_sizeof_short
=0
12141 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12142 cat >> confdefs.h
<<EOF
12143 #define SIZEOF_SHORT $ac_cv_sizeof_short
12147 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12148 echo "configure:12149: checking size of int *" >&5
12149 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12150 echo $ac_n "(cached) $ac_c" 1>&6
12152 if test "$cross_compiling" = yes; then
12153 ac_cv_sizeof_int_p
=4
12155 cat > conftest.
$ac_ext <<EOF
12156 #line 12157 "configure"
12157 #include "confdefs.h"
12161 FILE *f=fopen("conftestval", "w");
12163 fprintf(f, "%d\n", sizeof(int *));
12167 if { (eval echo configure
:12168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12169 ac_cv_sizeof_int_p
=`cat conftestval`
12171 echo "configure: failed program was:" >&5
12172 cat conftest.
$ac_ext >&5
12174 ac_cv_sizeof_int_p
=0
12180 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12181 cat >> confdefs.h
<<EOF
12182 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12186 echo $ac_n "checking size of int""... $ac_c" 1>&6
12187 echo "configure:12188: checking size of int" >&5
12188 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12189 echo $ac_n "(cached) $ac_c" 1>&6
12191 if test "$cross_compiling" = yes; then
12194 cat > conftest.
$ac_ext <<EOF
12195 #line 12196 "configure"
12196 #include "confdefs.h"
12200 FILE *f=fopen("conftestval", "w");
12202 fprintf(f, "%d\n", sizeof(int));
12206 if { (eval echo configure
:12207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12208 ac_cv_sizeof_int
=`cat conftestval`
12210 echo "configure: failed program was:" >&5
12211 cat conftest.
$ac_ext >&5
12219 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12220 cat >> confdefs.h
<<EOF
12221 #define SIZEOF_INT $ac_cv_sizeof_int
12225 echo $ac_n "checking size of long""... $ac_c" 1>&6
12226 echo "configure:12227: checking size of long" >&5
12227 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12228 echo $ac_n "(cached) $ac_c" 1>&6
12230 if test "$cross_compiling" = yes; then
12231 ac_cv_sizeof_long
=4
12233 cat > conftest.
$ac_ext <<EOF
12234 #line 12235 "configure"
12235 #include "confdefs.h"
12239 FILE *f=fopen("conftestval", "w");
12241 fprintf(f, "%d\n", sizeof(long));
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 ac_cv_sizeof_long
=`cat conftestval`
12249 echo "configure: failed program was:" >&5
12250 cat conftest.
$ac_ext >&5
12252 ac_cv_sizeof_long
=0
12258 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12259 cat >> confdefs.h
<<EOF
12260 #define SIZEOF_LONG $ac_cv_sizeof_long
12264 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12265 echo "configure:12266: checking size of long long" >&5
12266 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12267 echo $ac_n "(cached) $ac_c" 1>&6
12269 if test "$cross_compiling" = yes; then
12270 ac_cv_sizeof_long_long
=0
12272 cat > conftest.
$ac_ext <<EOF
12273 #line 12274 "configure"
12274 #include "confdefs.h"
12278 FILE *f=fopen("conftestval", "w");
12280 fprintf(f, "%d\n", sizeof(long long));
12284 if { (eval echo configure
:12285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12286 ac_cv_sizeof_long_long
=`cat conftestval`
12288 echo "configure: failed program was:" >&5
12289 cat conftest.
$ac_ext >&5
12291 ac_cv_sizeof_long_long
=0
12297 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12298 cat >> confdefs.h
<<EOF
12299 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12304 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12305 echo "configure:12306: checking size of wchar_t" >&5
12306 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12307 echo $ac_n "(cached) $ac_c" 1>&6
12310 if test "$cross_compiling" = yes; then
12311 wx_cv_sizeof_wchar_t
=4
12314 cat > conftest.
$ac_ext <<EOF
12315 #line 12316 "configure"
12316 #include "confdefs.h"
12318 #ifdef HAVE_WCHAR_H
12319 # include <wchar.h>
12321 #ifdef HAVE_STDLIB_H
12322 # include <stdlib.h>
12327 FILE *f=fopen("conftestval", "w");
12329 fprintf(f, "%i", sizeof(wchar_t));
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 wx_cv_sizeof_wchar_t
=`cat conftestval`
12338 echo "configure: failed program was:" >&5
12339 cat conftest.
$ac_ext >&5
12341 wx_cv_sizeof_wchar_t
=0
12349 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12351 cat >> confdefs.h
<<EOF
12352 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12356 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12357 echo "configure:12358: checking whether byte ordering is bigendian" >&5
12358 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12359 echo $ac_n "(cached) $ac_c" 1>&6
12361 ac_cv_c_bigendian
=unknown
12362 # See if sys/param.h defines the BYTE_ORDER macro.
12363 cat > conftest.
$ac_ext <<EOF
12364 #line 12365 "configure"
12365 #include "confdefs.h"
12366 #include <sys/types.h>
12367 #include <sys/param.h>
12370 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12371 bogus endian macros
12375 if { (eval echo configure
:12376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12377 # It does; now see whether it defined to BIG_ENDIAN or not.
12378 cat > conftest.
$ac_ext <<EOF
12379 #line 12380 "configure"
12380 #include "confdefs.h"
12381 #include <sys/types.h>
12382 #include <sys/param.h>
12385 #if BYTE_ORDER != BIG_ENDIAN
12390 if { (eval echo configure
:12391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12392 ac_cv_c_bigendian
=yes
12394 echo "configure: failed program was:" >&5
12395 cat conftest.
$ac_ext >&5
12397 ac_cv_c_bigendian
=no
12401 echo "configure: failed program was:" >&5
12402 cat conftest.
$ac_ext >&5
12405 if test $ac_cv_c_bigendian = unknown
; then
12406 if test "$cross_compiling" = yes; then
12407 ac_cv_c_bigendian
=unknown
12409 cat > conftest.
$ac_ext <<EOF
12410 #line 12411 "configure"
12411 #include "confdefs.h"
12413 /* Are we little or big endian? From Harbison&Steele. */
12417 char c[sizeof (long)];
12420 exit (u.c[sizeof (long) - 1] == 1);
12423 if { (eval echo configure
:12424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12425 ac_cv_c_bigendian
=no
12427 echo "configure: failed program was:" >&5
12428 cat conftest.
$ac_ext >&5
12430 ac_cv_c_bigendian
=yes
12438 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12439 if test $ac_cv_c_bigendian = unknown
; then
12440 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
12442 if test $ac_cv_c_bigendian = yes; then
12443 cat >> confdefs.h
<<\EOF
12444 #define WORDS_BIGENDIAN 1
12451 if test "$cross_compiling" = "yes"; then
12452 cat >> confdefs.h
<<\EOF
12453 #define wxUSE_IOSTREAMH 1
12459 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12460 ac_cpp
='$CXXCPP $CPPFLAGS'
12461 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12462 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12463 cross_compiling
=$ac_cv_prog_cxx_cross
12466 for ac_hdr
in iostream
12468 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12469 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12470 echo "configure:12471: checking for $ac_hdr" >&5
12471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12472 echo $ac_n "(cached) $ac_c" 1>&6
12474 cat > conftest.
$ac_ext <<EOF
12475 #line 12476 "configure"
12476 #include "confdefs.h"
12479 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12480 { (eval echo configure
:12481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12481 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12482 if test -z "$ac_err"; then
12484 eval "ac_cv_header_$ac_safe=yes"
12487 echo "configure: failed program was:" >&5
12488 cat conftest.
$ac_ext >&5
12490 eval "ac_cv_header_$ac_safe=no"
12494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12495 echo "$ac_t""yes" 1>&6
12496 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12497 cat >> confdefs.h
<<EOF
12498 #define $ac_tr_hdr 1
12502 echo "$ac_t""no" 1>&6
12507 if test "$ac_cv_header_iostream" = "yes" ; then
12510 cat >> confdefs.h
<<\EOF
12511 #define wxUSE_IOSTREAMH 1
12517 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12518 ac_cpp
='$CPP $CPPFLAGS'
12519 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12520 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12521 cross_compiling
=$ac_cv_prog_cc_cross
12527 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12528 echo "configure:12529: checking if C++ compiler supports bool" >&5
12529 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12530 echo $ac_n "(cached) $ac_c" 1>&6
12535 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12536 ac_cpp
='$CXXCPP $CPPFLAGS'
12537 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12538 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12539 cross_compiling
=$ac_cv_prog_cxx_cross
12542 cat > conftest.
$ac_ext <<EOF
12543 #line 12544 "configure"
12544 #include "confdefs.h"
12555 if { (eval echo configure
:12556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12561 echo "configure: failed program was:" >&5
12562 cat conftest.
$ac_ext >&5
12572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12573 ac_cpp
='$CPP $CPPFLAGS'
12574 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12575 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12576 cross_compiling
=$ac_cv_prog_cc_cross
12581 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12583 if test "$wx_cv_cpp_bool" = "yes"; then
12584 cat >> confdefs.h
<<\EOF
12585 #define HAVE_BOOL 1
12592 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12593 echo "configure:12594: checking for wcslen in -lc" >&5
12594 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12595 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12596 echo $ac_n "(cached) $ac_c" 1>&6
12598 ac_save_LIBS
="$LIBS"
12600 cat > conftest.
$ac_ext <<EOF
12601 #line 12602 "configure"
12602 #include "confdefs.h"
12603 /* Override any gcc2 internal prototype to avoid an error. */
12604 /* We use char because int might match the return type of a gcc2
12605 builtin and then its argument prototype would still apply. */
12612 if { (eval echo configure
:12613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12614 eval "ac_cv_lib_$ac_lib_var=yes"
12616 echo "configure: failed program was:" >&5
12617 cat conftest.
$ac_ext >&5
12619 eval "ac_cv_lib_$ac_lib_var=no"
12622 LIBS
="$ac_save_LIBS"
12625 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12626 echo "$ac_t""yes" 1>&6
12628 cat >> confdefs.h
<<\EOF
12629 #define HAVE_WCSLEN 1
12635 echo "$ac_t""no" 1>&6
12637 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12638 echo "configure:12639: checking for wcslen in -lw" >&5
12639 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12641 echo $ac_n "(cached) $ac_c" 1>&6
12643 ac_save_LIBS
="$LIBS"
12645 cat > conftest.
$ac_ext <<EOF
12646 #line 12647 "configure"
12647 #include "confdefs.h"
12648 /* Override any gcc2 internal prototype to avoid an error. */
12649 /* We use char because int might match the return type of a gcc2
12650 builtin and then its argument prototype would still apply. */
12657 if { (eval echo configure
:12658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12659 eval "ac_cv_lib_$ac_lib_var=yes"
12661 echo "configure: failed program was:" >&5
12662 cat conftest.
$ac_ext >&5
12664 eval "ac_cv_lib_$ac_lib_var=no"
12667 LIBS
="$ac_save_LIBS"
12670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12671 echo "$ac_t""yes" 1>&6
12673 cat >> confdefs.h
<<\EOF
12674 #define HAVE_WCSLEN 1
12680 echo "$ac_t""no" 1>&6
12687 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12688 echo "configure:12689: checking for vprintf" >&5
12689 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12690 echo $ac_n "(cached) $ac_c" 1>&6
12692 cat > conftest.
$ac_ext <<EOF
12693 #line 12694 "configure"
12694 #include "confdefs.h"
12695 /* System header to define __stub macros and hopefully few prototypes,
12696 which can conflict with char vprintf(); below. */
12697 #include <assert.h>
12698 /* Override any gcc2 internal prototype to avoid an error. */
12699 /* We use char because int might match the return type of a gcc2
12700 builtin and then its argument prototype would still apply. */
12705 /* The GNU C library defines this for functions which it implements
12706 to always fail with ENOSYS. Some functions are actually named
12707 something starting with __ and the normal name is an alias. */
12708 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12716 if { (eval echo configure
:12717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12718 eval "ac_cv_func_vprintf=yes"
12720 echo "configure: failed program was:" >&5
12721 cat conftest.
$ac_ext >&5
12723 eval "ac_cv_func_vprintf=no"
12728 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12729 echo "$ac_t""yes" 1>&6
12730 cat >> confdefs.h
<<\EOF
12731 #define HAVE_VPRINTF 1
12735 echo "$ac_t""no" 1>&6
12738 if test "$ac_cv_func_vprintf" != yes; then
12739 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12740 echo "configure:12741: checking for _doprnt" >&5
12741 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12742 echo $ac_n "(cached) $ac_c" 1>&6
12744 cat > conftest.
$ac_ext <<EOF
12745 #line 12746 "configure"
12746 #include "confdefs.h"
12747 /* System header to define __stub macros and hopefully few prototypes,
12748 which can conflict with char _doprnt(); below. */
12749 #include <assert.h>
12750 /* Override any gcc2 internal prototype to avoid an error. */
12751 /* We use char because int might match the return type of a gcc2
12752 builtin and then its argument prototype would still apply. */
12757 /* The GNU C library defines this for functions which it implements
12758 to always fail with ENOSYS. Some functions are actually named
12759 something starting with __ and the normal name is an alias. */
12760 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12768 if { (eval echo configure
:12769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12770 eval "ac_cv_func__doprnt=yes"
12772 echo "configure: failed program was:" >&5
12773 cat conftest.
$ac_ext >&5
12775 eval "ac_cv_func__doprnt=no"
12780 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12781 echo "$ac_t""yes" 1>&6
12782 cat >> confdefs.h
<<\EOF
12783 #define HAVE_DOPRNT 1
12787 echo "$ac_t""no" 1>&6
12798 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12799 echo "configure:12800: checking for vsnprintf" >&5
12800 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12801 echo $ac_n "(cached) $ac_c" 1>&6
12804 cat > conftest.
$ac_ext <<EOF
12805 #line 12806 "configure"
12806 #include "confdefs.h"
12809 #include <stdarg.h>
12813 int wx_test_vsnprintf(const char *, ...);
12815 wx_test_vsnprintf("%s");
12819 int wx_test_vsnprintf(const char *fmt, ...)
12824 va_start(argp, fmt);
12825 vsnprintf(s, 42, fmt, argp);
12830 if { (eval echo configure
:12831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12833 wx_cv_func_vsnprintf
=yes
12836 echo "configure: failed program was:" >&5
12837 cat conftest.
$ac_ext >&5
12840 cat > conftest.
$ac_ext <<EOF
12841 #line 12842 "configure"
12842 #include "confdefs.h"
12845 #include <stdarg.h>
12849 int wx_test_vsnprintf(const char *, ...);
12851 wx_test_vsnprintf("%s");
12855 int wx_test_vsnprintf(const char *fmt, ...)
12860 va_start(argp, fmt);
12861 _vsnprintf(s, 42, fmt, argp);
12866 if { (eval echo configure
:12867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12869 wx_cv_func_vsnprintf
=yes
12872 echo "configure: failed program was:" >&5
12873 cat conftest.
$ac_ext >&5
12876 wx_cv_func_vsnprintf
=no
12886 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12888 if test "$wx_cv_func_vsnprintf" = yes; then
12889 cat >> confdefs.h
<<\EOF
12890 #define HAVE_VSNPRINTF 1
12894 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12897 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12898 echo "configure:12899: checking for vsscanf" >&5
12899 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12900 echo $ac_n "(cached) $ac_c" 1>&6
12903 cat > conftest.
$ac_ext <<EOF
12904 #line 12905 "configure"
12905 #include "confdefs.h"
12908 #include <stdarg.h>
12912 int wx_test_vsscanf(const char *, ...);
12914 wx_test_vsscanf("%d");
12918 int wx_test_vsscanf(const char *fmt, ...)
12921 va_start(argp, fmt);
12922 vsscanf("42", fmt, argp);
12927 if { (eval echo configure
:12928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12930 wx_cv_func_vsscanf
=yes
12933 echo "configure: failed program was:" >&5
12934 cat conftest.
$ac_ext >&5
12937 wx_cv_func_vsscanf
=no
12944 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12946 if test "$wx_cv_func_vsscanf" = yes; then
12947 cat >> confdefs.h
<<\EOF
12948 #define HAVE_VSSCANF 1
12953 if test "$TOOLKIT" != "MSW"; then
12958 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12959 ac_cpp
='$CXXCPP $CPPFLAGS'
12960 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12961 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12962 cross_compiling
=$ac_cv_prog_cxx_cross
12964 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12965 echo "configure:12966: checking if iconv() takes char**" >&5
12966 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12967 echo $ac_n "(cached) $ac_c" 1>&6
12970 cat > conftest.
$ac_ext <<EOF
12971 #line 12972 "configure"
12972 #include "confdefs.h"
12976 char **inbuf, **outbuf;
12978 size_t insz, outsz;
12979 iconv(cd, inbuf, &insz, outbuf, &outsz);
12983 if { (eval echo configure
:12984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12985 wx_cv_iconv_takes_char
=yes
12987 echo "configure: failed program was:" >&5
12988 cat conftest.
$ac_ext >&5
12990 wx_cv_iconv_takes_char
=no
12996 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12998 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12999 ac_cpp
='$CPP $CPPFLAGS'
13000 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13001 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13002 cross_compiling
=$ac_cv_prog_cc_cross
13004 if test "$wx_cv_iconv_takes_char" = yes ; then
13005 cat >> confdefs.h
<<\EOF
13006 #define WX_ICONV_TAKES_CHAR 1
13012 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13013 for ac_func
in sigaction
13015 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13016 echo "configure:13017: checking for $ac_func" >&5
13017 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13018 echo $ac_n "(cached) $ac_c" 1>&6
13020 cat > conftest.
$ac_ext <<EOF
13021 #line 13022 "configure"
13022 #include "confdefs.h"
13023 /* System header to define __stub macros and hopefully few prototypes,
13024 which can conflict with char $ac_func(); below. */
13025 #include <assert.h>
13026 /* Override any gcc2 internal prototype to avoid an error. */
13027 /* We use char because int might match the return type of a gcc2
13028 builtin and then its argument prototype would still apply. */
13033 /* The GNU C library defines this for functions which it implements
13034 to always fail with ENOSYS. Some functions are actually named
13035 something starting with __ and the normal name is an alias. */
13036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13044 if { (eval echo configure
:13045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13046 eval "ac_cv_func_$ac_func=yes"
13048 echo "configure: failed program was:" >&5
13049 cat conftest.
$ac_ext >&5
13051 eval "ac_cv_func_$ac_func=no"
13056 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13057 echo "$ac_t""yes" 1>&6
13058 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13059 cat >> confdefs.h
<<EOF
13060 #define $ac_tr_func 1
13064 echo "$ac_t""no" 1>&6
13069 if test "$ac_cv_func_sigaction" = "no"; then
13070 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13071 wxUSE_ON_FATAL_EXCEPTION
=no
13074 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13078 ac_cpp
='$CXXCPP $CPPFLAGS'
13079 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13080 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13081 cross_compiling
=$ac_cv_prog_cxx_cross
13084 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13085 echo "configure:13086: checking for sa_handler type" >&5
13086 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13087 echo $ac_n "(cached) $ac_c" 1>&6
13090 cat > conftest.
$ac_ext <<EOF
13091 #line 13092 "configure"
13092 #include "confdefs.h"
13093 #include <signal.h>
13096 extern void testSigHandler(int);
13098 struct sigaction sa;
13099 sa.sa_handler = testSigHandler;
13103 if { (eval echo configure
:13104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13106 wx_cv_type_sa_handler
=int
13109 echo "configure: failed program was:" >&5
13110 cat conftest.
$ac_ext >&5
13113 wx_cv_type_sa_handler
=void
13120 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13124 ac_cpp
='$CPP $CPPFLAGS'
13125 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13126 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13127 cross_compiling
=$ac_cv_prog_cc_cross
13130 cat >> confdefs.h
<<EOF
13131 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13137 for ac_func
in vfork
13139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13140 echo "configure:13141: checking for $ac_func" >&5
13141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13142 echo $ac_n "(cached) $ac_c" 1>&6
13144 cat > conftest.
$ac_ext <<EOF
13145 #line 13146 "configure"
13146 #include "confdefs.h"
13147 /* System header to define __stub macros and hopefully few prototypes,
13148 which can conflict with char $ac_func(); below. */
13149 #include <assert.h>
13150 /* Override any gcc2 internal prototype to avoid an error. */
13151 /* We use char because int might match the return type of a gcc2
13152 builtin and then its argument prototype would still apply. */
13157 /* The GNU C library defines this for functions which it implements
13158 to always fail with ENOSYS. Some functions are actually named
13159 something starting with __ and the normal name is an alias. */
13160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13168 if { (eval echo configure
:13169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13170 eval "ac_cv_func_$ac_func=yes"
13172 echo "configure: failed program was:" >&5
13173 cat conftest.
$ac_ext >&5
13175 eval "ac_cv_func_$ac_func=no"
13180 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13181 echo "$ac_t""yes" 1>&6
13182 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13183 cat >> confdefs.h
<<EOF
13184 #define $ac_tr_func 1
13188 echo "$ac_t""no" 1>&6
13193 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13194 for ac_func
in fcntl flock
13196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13197 echo "configure:13198: checking for $ac_func" >&5
13198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13199 echo $ac_n "(cached) $ac_c" 1>&6
13201 cat > conftest.
$ac_ext <<EOF
13202 #line 13203 "configure"
13203 #include "confdefs.h"
13204 /* System header to define __stub macros and hopefully few prototypes,
13205 which can conflict with char $ac_func(); below. */
13206 #include <assert.h>
13207 /* Override any gcc2 internal prototype to avoid an error. */
13208 /* We use char because int might match the return type of a gcc2
13209 builtin and then its argument prototype would still apply. */
13214 /* The GNU C library defines this for functions which it implements
13215 to always fail with ENOSYS. Some functions are actually named
13216 something starting with __ and the normal name is an alias. */
13217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13225 if { (eval echo configure
:13226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13227 eval "ac_cv_func_$ac_func=yes"
13229 echo "configure: failed program was:" >&5
13230 cat conftest.
$ac_ext >&5
13232 eval "ac_cv_func_$ac_func=no"
13237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13238 echo "$ac_t""yes" 1>&6
13239 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13240 cat >> confdefs.h
<<EOF
13241 #define $ac_tr_func 1
13245 echo "$ac_t""no" 1>&6
13250 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13251 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13252 wxUSE_SNGLINST_CHECKER
=no
13256 for ac_func
in timegm
13258 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13259 echo "configure:13260: checking for $ac_func" >&5
13260 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13261 echo $ac_n "(cached) $ac_c" 1>&6
13263 cat > conftest.
$ac_ext <<EOF
13264 #line 13265 "configure"
13265 #include "confdefs.h"
13266 /* System header to define __stub macros and hopefully few prototypes,
13267 which can conflict with char $ac_func(); below. */
13268 #include <assert.h>
13269 /* Override any gcc2 internal prototype to avoid an error. */
13270 /* We use char because int might match the return type of a gcc2
13271 builtin and then its argument prototype would still apply. */
13276 /* The GNU C library defines this for functions which it implements
13277 to always fail with ENOSYS. Some functions are actually named
13278 something starting with __ and the normal name is an alias. */
13279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13287 if { (eval echo configure
:13288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13289 eval "ac_cv_func_$ac_func=yes"
13291 echo "configure: failed program was:" >&5
13292 cat conftest.
$ac_ext >&5
13294 eval "ac_cv_func_$ac_func=no"
13299 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13300 echo "$ac_t""yes" 1>&6
13301 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13302 cat >> confdefs.h
<<EOF
13303 #define $ac_tr_func 1
13307 echo "$ac_t""no" 1>&6
13312 for ac_func
in putenv setenv
13314 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13315 echo "configure:13316: checking for $ac_func" >&5
13316 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13317 echo $ac_n "(cached) $ac_c" 1>&6
13319 cat > conftest.
$ac_ext <<EOF
13320 #line 13321 "configure"
13321 #include "confdefs.h"
13322 /* System header to define __stub macros and hopefully few prototypes,
13323 which can conflict with char $ac_func(); below. */
13324 #include <assert.h>
13325 /* Override any gcc2 internal prototype to avoid an error. */
13326 /* We use char because int might match the return type of a gcc2
13327 builtin and then its argument prototype would still apply. */
13332 /* The GNU C library defines this for functions which it implements
13333 to always fail with ENOSYS. Some functions are actually named
13334 something starting with __ and the normal name is an alias. */
13335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13343 if { (eval echo configure
:13344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13345 eval "ac_cv_func_$ac_func=yes"
13347 echo "configure: failed program was:" >&5
13348 cat conftest.
$ac_ext >&5
13350 eval "ac_cv_func_$ac_func=no"
13355 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13356 echo "$ac_t""yes" 1>&6
13357 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13358 cat >> confdefs.h
<<EOF
13359 #define $ac_tr_func 1
13363 echo "$ac_t""no" 1>&6
13368 HAVE_SOME_SLEEP_FUNC
=0
13369 if test "$USE_BEOS" = 1; then
13370 cat >> confdefs.h
<<\EOF
13371 #define HAVE_SLEEP 1
13374 HAVE_SOME_SLEEP_FUNC
=1
13377 if test "$USE_DARWIN" = 1; then
13378 cat >> confdefs.h
<<\EOF
13379 #define HAVE_USLEEP 1
13382 HAVE_SOME_SLEEP_FUNC
=1
13385 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13387 for ac_func
in nanosleep
13389 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13390 echo "configure:13391: checking for $ac_func" >&5
13391 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13392 echo $ac_n "(cached) $ac_c" 1>&6
13394 cat > conftest.
$ac_ext <<EOF
13395 #line 13396 "configure"
13396 #include "confdefs.h"
13397 /* System header to define __stub macros and hopefully few prototypes,
13398 which can conflict with char $ac_func(); below. */
13399 #include <assert.h>
13400 /* Override any gcc2 internal prototype to avoid an error. */
13401 /* We use char because int might match the return type of a gcc2
13402 builtin and then its argument prototype would still apply. */
13407 /* The GNU C library defines this for functions which it implements
13408 to always fail with ENOSYS. Some functions are actually named
13409 something starting with __ and the normal name is an alias. */
13410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13418 if { (eval echo configure
:13419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13420 eval "ac_cv_func_$ac_func=yes"
13422 echo "configure: failed program was:" >&5
13423 cat conftest.
$ac_ext >&5
13425 eval "ac_cv_func_$ac_func=no"
13430 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13431 echo "$ac_t""yes" 1>&6
13432 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13433 cat >> confdefs.h
<<EOF
13434 #define $ac_tr_func 1
13436 cat >> confdefs.h
<<\EOF
13437 #define HAVE_NANOSLEEP 1
13441 echo "$ac_t""no" 1>&6
13442 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13443 echo "configure:13444: checking for nanosleep in -lposix4" >&5
13444 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13446 echo $ac_n "(cached) $ac_c" 1>&6
13448 ac_save_LIBS
="$LIBS"
13449 LIBS
="-lposix4 $LIBS"
13450 cat > conftest.
$ac_ext <<EOF
13451 #line 13452 "configure"
13452 #include "confdefs.h"
13453 /* Override any gcc2 internal prototype to avoid an error. */
13454 /* We use char because int might match the return type of a gcc2
13455 builtin and then its argument prototype would still apply. */
13462 if { (eval echo configure
:13463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13464 eval "ac_cv_lib_$ac_lib_var=yes"
13466 echo "configure: failed program was:" >&5
13467 cat conftest.
$ac_ext >&5
13469 eval "ac_cv_lib_$ac_lib_var=no"
13472 LIBS
="$ac_save_LIBS"
13475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13476 echo "$ac_t""yes" 1>&6
13478 cat >> confdefs.h
<<\EOF
13479 #define HAVE_NANOSLEEP 1
13482 POSIX4_LINK
="-lposix4"
13485 echo "$ac_t""no" 1>&6
13487 for ac_func
in usleep
13489 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13490 echo "configure:13491: checking for $ac_func" >&5
13491 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13492 echo $ac_n "(cached) $ac_c" 1>&6
13494 cat > conftest.
$ac_ext <<EOF
13495 #line 13496 "configure"
13496 #include "confdefs.h"
13497 /* System header to define __stub macros and hopefully few prototypes,
13498 which can conflict with char $ac_func(); below. */
13499 #include <assert.h>
13500 /* Override any gcc2 internal prototype to avoid an error. */
13501 /* We use char because int might match the return type of a gcc2
13502 builtin and then its argument prototype would still apply. */
13507 /* The GNU C library defines this for functions which it implements
13508 to always fail with ENOSYS. Some functions are actually named
13509 something starting with __ and the normal name is an alias. */
13510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13518 if { (eval echo configure
:13519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13520 eval "ac_cv_func_$ac_func=yes"
13522 echo "configure: failed program was:" >&5
13523 cat conftest.
$ac_ext >&5
13525 eval "ac_cv_func_$ac_func=no"
13530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13531 echo "$ac_t""yes" 1>&6
13532 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13533 cat >> confdefs.h
<<EOF
13534 #define $ac_tr_func 1
13536 cat >> confdefs.h
<<\EOF
13537 #define HAVE_USLEEP 1
13541 echo "$ac_t""no" 1>&6
13542 echo "configure: warning: wxSleep() function will not work" 1>&2
13558 for ac_func
in uname gethostname
13560 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13561 echo "configure:13562: checking for $ac_func" >&5
13562 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13563 echo $ac_n "(cached) $ac_c" 1>&6
13565 cat > conftest.
$ac_ext <<EOF
13566 #line 13567 "configure"
13567 #include "confdefs.h"
13568 /* System header to define __stub macros and hopefully few prototypes,
13569 which can conflict with char $ac_func(); below. */
13570 #include <assert.h>
13571 /* Override any gcc2 internal prototype to avoid an error. */
13572 /* We use char because int might match the return type of a gcc2
13573 builtin and then its argument prototype would still apply. */
13578 /* The GNU C library defines this for functions which it implements
13579 to always fail with ENOSYS. Some functions are actually named
13580 something starting with __ and the normal name is an alias. */
13581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13589 if { (eval echo configure
:13590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13591 eval "ac_cv_func_$ac_func=yes"
13593 echo "configure: failed program was:" >&5
13594 cat conftest.
$ac_ext >&5
13596 eval "ac_cv_func_$ac_func=no"
13601 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13602 echo "$ac_t""yes" 1>&6
13603 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13604 cat >> confdefs.h
<<EOF
13605 #define $ac_tr_func 1
13609 echo "$ac_t""no" 1>&6
13616 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13617 ac_cpp
='$CXXCPP $CPPFLAGS'
13618 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13619 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13620 cross_compiling
=$ac_cv_prog_cxx_cross
13623 for ac_func
in strtok_r
13625 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13626 echo "configure:13627: checking for $ac_func" >&5
13627 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13628 echo $ac_n "(cached) $ac_c" 1>&6
13630 cat > conftest.
$ac_ext <<EOF
13631 #line 13632 "configure"
13632 #include "confdefs.h"
13633 /* System header to define __stub macros and hopefully few prototypes,
13634 which can conflict with char $ac_func(); below. */
13635 #include <assert.h>
13636 /* Override any gcc2 internal prototype to avoid an error. */
13640 /* We use char because int might match the return type of a gcc2
13641 builtin and then its argument prototype would still apply. */
13646 /* The GNU C library defines this for functions which it implements
13647 to always fail with ENOSYS. Some functions are actually named
13648 something starting with __ and the normal name is an alias. */
13649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13657 if { (eval echo configure
:13658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13659 eval "ac_cv_func_$ac_func=yes"
13661 echo "configure: failed program was:" >&5
13662 cat conftest.
$ac_ext >&5
13664 eval "ac_cv_func_$ac_func=no"
13669 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13670 echo "$ac_t""yes" 1>&6
13671 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13672 cat >> confdefs.h
<<EOF
13673 #define $ac_tr_func 1
13677 echo "$ac_t""no" 1>&6
13683 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13684 ac_cpp
='$CPP $CPPFLAGS'
13685 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13686 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13687 cross_compiling
=$ac_cv_prog_cc_cross
13691 for ac_func
in inet_addr
13693 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13694 echo "configure:13695: checking for $ac_func" >&5
13695 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13696 echo $ac_n "(cached) $ac_c" 1>&6
13698 cat > conftest.
$ac_ext <<EOF
13699 #line 13700 "configure"
13700 #include "confdefs.h"
13701 /* System header to define __stub macros and hopefully few prototypes,
13702 which can conflict with char $ac_func(); below. */
13703 #include <assert.h>
13704 /* Override any gcc2 internal prototype to avoid an error. */
13705 /* We use char because int might match the return type of a gcc2
13706 builtin and then its argument prototype would still apply. */
13711 /* The GNU C library defines this for functions which it implements
13712 to always fail with ENOSYS. Some functions are actually named
13713 something starting with __ and the normal name is an alias. */
13714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13722 if { (eval echo configure
:13723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13724 eval "ac_cv_func_$ac_func=yes"
13726 echo "configure: failed program was:" >&5
13727 cat conftest.
$ac_ext >&5
13729 eval "ac_cv_func_$ac_func=no"
13734 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13735 echo "$ac_t""yes" 1>&6
13736 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13737 cat >> confdefs.h
<<EOF
13738 #define $ac_tr_func 1
13740 cat >> confdefs.h
<<\EOF
13741 #define HAVE_INET_ADDR 1
13745 echo "$ac_t""no" 1>&6
13746 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13747 echo "configure:13748: checking for inet_addr in -lnsl" >&5
13748 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13750 echo $ac_n "(cached) $ac_c" 1>&6
13752 ac_save_LIBS
="$LIBS"
13754 cat > conftest.
$ac_ext <<EOF
13755 #line 13756 "configure"
13756 #include "confdefs.h"
13757 /* Override any gcc2 internal prototype to avoid an error. */
13758 /* We use char because int might match the return type of a gcc2
13759 builtin and then its argument prototype would still apply. */
13766 if { (eval echo configure
:13767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13768 eval "ac_cv_lib_$ac_lib_var=yes"
13770 echo "configure: failed program was:" >&5
13771 cat conftest.
$ac_ext >&5
13773 eval "ac_cv_lib_$ac_lib_var=no"
13776 LIBS
="$ac_save_LIBS"
13779 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13780 echo "$ac_t""yes" 1>&6
13783 echo "$ac_t""no" 1>&6
13784 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13785 echo "configure:13786: checking for inet_addr in -lresolv" >&5
13786 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13788 echo $ac_n "(cached) $ac_c" 1>&6
13790 ac_save_LIBS
="$LIBS"
13791 LIBS
="-lresolv $LIBS"
13792 cat > conftest.
$ac_ext <<EOF
13793 #line 13794 "configure"
13794 #include "confdefs.h"
13795 /* Override any gcc2 internal prototype to avoid an error. */
13796 /* We use char because int might match the return type of a gcc2
13797 builtin and then its argument prototype would still apply. */
13804 if { (eval echo configure
:13805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13806 eval "ac_cv_lib_$ac_lib_var=yes"
13808 echo "configure: failed program was:" >&5
13809 cat conftest.
$ac_ext >&5
13811 eval "ac_cv_lib_$ac_lib_var=no"
13814 LIBS
="$ac_save_LIBS"
13817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13818 echo "$ac_t""yes" 1>&6
13822 echo "$ac_t""no" 1>&6
13834 for ac_func
in inet_aton
13836 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13837 echo "configure:13838: checking for $ac_func" >&5
13838 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13839 echo $ac_n "(cached) $ac_c" 1>&6
13841 cat > conftest.
$ac_ext <<EOF
13842 #line 13843 "configure"
13843 #include "confdefs.h"
13844 /* System header to define __stub macros and hopefully few prototypes,
13845 which can conflict with char $ac_func(); below. */
13846 #include <assert.h>
13847 /* Override any gcc2 internal prototype to avoid an error. */
13848 /* We use char because int might match the return type of a gcc2
13849 builtin and then its argument prototype would still apply. */
13854 /* The GNU C library defines this for functions which it implements
13855 to always fail with ENOSYS. Some functions are actually named
13856 something starting with __ and the normal name is an alias. */
13857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13865 if { (eval echo configure
:13866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13867 eval "ac_cv_func_$ac_func=yes"
13869 echo "configure: failed program was:" >&5
13870 cat conftest.
$ac_ext >&5
13872 eval "ac_cv_func_$ac_func=no"
13877 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13878 echo "$ac_t""yes" 1>&6
13879 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13880 cat >> confdefs.h
<<EOF
13881 #define $ac_tr_func 1
13883 cat >> confdefs.h
<<\EOF
13884 #define HAVE_INET_ATON 1
13888 echo "$ac_t""no" 1>&6
13889 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13890 echo "configure:13891: checking for inet_aton in -l$INET_LINK" >&5
13891 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13892 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13893 echo $ac_n "(cached) $ac_c" 1>&6
13895 ac_save_LIBS
="$LIBS"
13896 LIBS
="-l$INET_LINK $LIBS"
13897 cat > conftest.
$ac_ext <<EOF
13898 #line 13899 "configure"
13899 #include "confdefs.h"
13900 /* Override any gcc2 internal prototype to avoid an error. */
13901 /* We use char because int might match the return type of a gcc2
13902 builtin and then its argument prototype would still apply. */
13909 if { (eval echo configure
:13910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13911 eval "ac_cv_lib_$ac_lib_var=yes"
13913 echo "configure: failed program was:" >&5
13914 cat conftest.
$ac_ext >&5
13916 eval "ac_cv_lib_$ac_lib_var=no"
13919 LIBS
="$ac_save_LIBS"
13922 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13923 echo "$ac_t""yes" 1>&6
13924 cat >> confdefs.h
<<\EOF
13925 #define HAVE_INET_ATON 1
13929 echo "$ac_t""no" 1>&6
13937 if test "x$INET_LINK" != "x"; then
13938 cat >> confdefs.h
<<\EOF
13939 #define HAVE_INET_ADDR 1
13942 INET_LINK
="-l$INET_LINK"
13948 cat > confcache
<<\EOF
13949 # This file is a shell script that caches the results of configure
13950 # tests run on this system so they can be shared between configure
13951 # scripts and configure runs. It is not useful on other systems.
13952 # If it contains results you don't want to keep, you may remove or edit it.
13954 # By default, configure uses ./config.cache as the cache file,
13955 # creating it if it does not exist already. You can give configure
13956 # the --cache-file=FILE option to use a different cache file; that is
13957 # what configure does when it calls configure scripts in
13958 # subdirectories, so they share the cache.
13959 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13960 # config.status only pays attention to the cache file if you give it the
13961 # --recheck option to rerun configure.
13964 # The following way of writing the cache mishandles newlines in values,
13965 # but we know of no workaround that is simple, portable, and efficient.
13966 # So, don't put newlines in cache variables' values.
13967 # Ultrix sh set writes to stderr and can't be redirected directly,
13968 # and sets the high bit in the cache file unless we assign to the vars.
13970 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13972 # `set' does not quote correctly, so add quotes (double-quote substitution
13973 # turns \\\\ into \\, and sed turns \\ into \).
13975 -e "s/'/'\\\\''/g" \
13976 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13979 # `set' quotes correctly as required by POSIX, so do not add quotes.
13980 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13983 if cmp -s $cache_file confcache
; then
13986 if test -w $cache_file; then
13987 echo "updating cache $cache_file"
13988 cat confcache
> $cache_file
13990 echo "not updating unwritable cache $cache_file"
13997 if test "$TOOLKIT" != "MSW"; then
14003 if test "$wxUSE_THREADS" = "yes" ; then
14004 if test "$wxUSE_WINE" = 1 ; then
14005 echo "configure: warning: Threads are not supported under WINE" 1>&2
14007 elif test "$USE_BEOS" = 1; then
14008 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14013 if test "$wxUSE_THREADS" = "yes" ; then
14015 if test "$USE_AIX" = 1; then
14016 THREADS_LIB
=pthreads
14018 THREADS_LIB
=pthread
14021 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14022 echo "configure:14023: checking for pthread_create in -l$THREADS_LIB" >&5
14023 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14024 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14025 echo $ac_n "(cached) $ac_c" 1>&6
14027 ac_save_LIBS
="$LIBS"
14028 LIBS
="-l$THREADS_LIB $LIBS"
14029 cat > conftest.
$ac_ext <<EOF
14030 #line 14031 "configure"
14031 #include "confdefs.h"
14032 /* Override any gcc2 internal prototype to avoid an error. */
14033 /* We use char because int might match the return type of a gcc2
14034 builtin and then its argument prototype would still apply. */
14035 char pthread_create();
14041 if { (eval echo configure
:14042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14043 eval "ac_cv_lib_$ac_lib_var=yes"
14045 echo "configure: failed program was:" >&5
14046 cat conftest.
$ac_ext >&5
14048 eval "ac_cv_lib_$ac_lib_var=no"
14051 LIBS
="$ac_save_LIBS"
14054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14055 echo "$ac_t""yes" 1>&6
14057 THREADS_OBJ
="threadpsx.lo"
14058 THREADS_LINK
=$THREADS_LIB
14061 echo "$ac_t""no" 1>&6
14063 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14064 echo "configure:14065: checking for pthread_create in -lc_r" >&5
14065 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14066 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14067 echo $ac_n "(cached) $ac_c" 1>&6
14069 ac_save_LIBS
="$LIBS"
14071 cat > conftest.
$ac_ext <<EOF
14072 #line 14073 "configure"
14073 #include "confdefs.h"
14074 /* Override any gcc2 internal prototype to avoid an error. */
14075 /* We use char because int might match the return type of a gcc2
14076 builtin and then its argument prototype would still apply. */
14077 char pthread_create();
14083 if { (eval echo configure
:14084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14085 eval "ac_cv_lib_$ac_lib_var=yes"
14087 echo "configure: failed program was:" >&5
14088 cat conftest.
$ac_ext >&5
14090 eval "ac_cv_lib_$ac_lib_var=no"
14093 LIBS
="$ac_save_LIBS"
14096 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14097 echo "$ac_t""yes" 1>&6
14099 THREADS_OBJ
="threadpsx.lo"
14103 echo "$ac_t""no" 1>&6
14105 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14106 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14107 echo "configure:14108: checking for sys/prctl.h" >&5
14108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14109 echo $ac_n "(cached) $ac_c" 1>&6
14111 cat > conftest.
$ac_ext <<EOF
14112 #line 14113 "configure"
14113 #include "confdefs.h"
14114 #include <sys/prctl.h>
14116 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14117 { (eval echo configure
:14118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14118 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14119 if test -z "$ac_err"; then
14121 eval "ac_cv_header_$ac_safe=yes"
14124 echo "configure: failed program was:" >&5
14125 cat conftest.
$ac_ext >&5
14127 eval "ac_cv_header_$ac_safe=no"
14131 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14132 echo "$ac_t""yes" 1>&6
14134 THREADS_OBJ
="threadsgi.lo"
14137 echo "$ac_t""no" 1>&6
14147 if test -z "$THREADS_OBJ" ; then
14149 echo "configure: warning: No thread support on this system" 1>&2
14153 if test "$wxUSE_THREADS" = "yes" ; then
14154 for ac_func
in thr_setconcurrency
14156 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14157 echo "configure:14158: checking for $ac_func" >&5
14158 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14159 echo $ac_n "(cached) $ac_c" 1>&6
14161 cat > conftest.
$ac_ext <<EOF
14162 #line 14163 "configure"
14163 #include "confdefs.h"
14164 /* System header to define __stub macros and hopefully few prototypes,
14165 which can conflict with char $ac_func(); below. */
14166 #include <assert.h>
14167 /* Override any gcc2 internal prototype to avoid an error. */
14168 /* We use char because int might match the return type of a gcc2
14169 builtin and then its argument prototype would still apply. */
14174 /* The GNU C library defines this for functions which it implements
14175 to always fail with ENOSYS. Some functions are actually named
14176 something starting with __ and the normal name is an alias. */
14177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14185 if { (eval echo configure
:14186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14187 eval "ac_cv_func_$ac_func=yes"
14189 echo "configure: failed program was:" >&5
14190 cat conftest.
$ac_ext >&5
14192 eval "ac_cv_func_$ac_func=no"
14197 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14198 echo "$ac_t""yes" 1>&6
14199 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14200 cat >> confdefs.h
<<EOF
14201 #define $ac_tr_func 1
14205 echo "$ac_t""no" 1>&6
14211 for ac_hdr
in sched.h
14213 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14214 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14215 echo "configure:14216: checking for $ac_hdr" >&5
14216 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14217 echo $ac_n "(cached) $ac_c" 1>&6
14219 cat > conftest.
$ac_ext <<EOF
14220 #line 14221 "configure"
14221 #include "confdefs.h"
14224 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14225 { (eval echo configure
:14226: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14226 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14227 if test -z "$ac_err"; then
14229 eval "ac_cv_header_$ac_safe=yes"
14232 echo "configure: failed program was:" >&5
14233 cat conftest.
$ac_ext >&5
14235 eval "ac_cv_header_$ac_safe=no"
14239 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14240 echo "$ac_t""yes" 1>&6
14241 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14242 cat >> confdefs.h
<<EOF
14243 #define $ac_tr_hdr 1
14247 echo "$ac_t""no" 1>&6
14252 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14253 echo "configure:14254: checking for sched_yield in -l$THREADS_LINK" >&5
14254 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14255 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14256 echo $ac_n "(cached) $ac_c" 1>&6
14258 ac_save_LIBS
="$LIBS"
14259 LIBS
="-l$THREADS_LINK $LIBS"
14260 cat > conftest.
$ac_ext <<EOF
14261 #line 14262 "configure"
14262 #include "confdefs.h"
14263 /* Override any gcc2 internal prototype to avoid an error. */
14264 /* We use char because int might match the return type of a gcc2
14265 builtin and then its argument prototype would still apply. */
14266 char sched_yield();
14272 if { (eval echo configure
:14273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14274 eval "ac_cv_lib_$ac_lib_var=yes"
14276 echo "configure: failed program was:" >&5
14277 cat conftest.
$ac_ext >&5
14279 eval "ac_cv_lib_$ac_lib_var=no"
14282 LIBS
="$ac_save_LIBS"
14285 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14286 echo "$ac_t""yes" 1>&6
14287 cat >> confdefs.h
<<\EOF
14288 #define HAVE_SCHED_YIELD 1
14292 echo "$ac_t""no" 1>&6
14293 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14294 echo "configure:14295: checking for sched_yield in -lposix4" >&5
14295 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14296 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14297 echo $ac_n "(cached) $ac_c" 1>&6
14299 ac_save_LIBS
="$LIBS"
14300 LIBS
="-lposix4 $LIBS"
14301 cat > conftest.
$ac_ext <<EOF
14302 #line 14303 "configure"
14303 #include "confdefs.h"
14304 /* Override any gcc2 internal prototype to avoid an error. */
14305 /* We use char because int might match the return type of a gcc2
14306 builtin and then its argument prototype would still apply. */
14307 char sched_yield();
14313 if { (eval echo configure
:14314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14315 eval "ac_cv_lib_$ac_lib_var=yes"
14317 echo "configure: failed program was:" >&5
14318 cat conftest.
$ac_ext >&5
14320 eval "ac_cv_lib_$ac_lib_var=no"
14323 LIBS
="$ac_save_LIBS"
14326 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14327 echo "$ac_t""yes" 1>&6
14328 cat >> confdefs.h
<<\EOF
14329 #define HAVE_SCHED_YIELD 1
14331 POSIX4_LINK
="-lposix4"
14333 echo "$ac_t""no" 1>&6
14334 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14343 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14344 echo "configure:14345: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14345 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14346 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14347 echo $ac_n "(cached) $ac_c" 1>&6
14349 ac_save_LIBS
="$LIBS"
14350 LIBS
="-l$THREADS_LINK $LIBS"
14351 cat > conftest.
$ac_ext <<EOF
14352 #line 14353 "configure"
14353 #include "confdefs.h"
14354 /* Override any gcc2 internal prototype to avoid an error. */
14355 /* We use char because int might match the return type of a gcc2
14356 builtin and then its argument prototype would still apply. */
14357 char pthread_attr_getschedpolicy();
14360 pthread_attr_getschedpolicy()
14363 if { (eval echo configure
:14364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14365 eval "ac_cv_lib_$ac_lib_var=yes"
14367 echo "configure: failed program was:" >&5
14368 cat conftest.
$ac_ext >&5
14370 eval "ac_cv_lib_$ac_lib_var=no"
14373 LIBS
="$ac_save_LIBS"
14376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14377 echo "$ac_t""yes" 1>&6
14378 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14379 echo "configure:14380: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14380 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14381 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14382 echo $ac_n "(cached) $ac_c" 1>&6
14384 ac_save_LIBS
="$LIBS"
14385 LIBS
="-l$THREADS_LINK $LIBS"
14386 cat > conftest.
$ac_ext <<EOF
14387 #line 14388 "configure"
14388 #include "confdefs.h"
14389 /* Override any gcc2 internal prototype to avoid an error. */
14390 /* We use char because int might match the return type of a gcc2
14391 builtin and then its argument prototype would still apply. */
14392 char pthread_attr_setschedparam();
14395 pthread_attr_setschedparam()
14398 if { (eval echo configure
:14399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14400 eval "ac_cv_lib_$ac_lib_var=yes"
14402 echo "configure: failed program was:" >&5
14403 cat conftest.
$ac_ext >&5
14405 eval "ac_cv_lib_$ac_lib_var=no"
14408 LIBS
="$ac_save_LIBS"
14411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14412 echo "$ac_t""yes" 1>&6
14413 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14414 echo "configure:14415: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14415 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14416 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14417 echo $ac_n "(cached) $ac_c" 1>&6
14419 ac_save_LIBS
="$LIBS"
14420 LIBS
="-l$THREADS_LINK $LIBS"
14421 cat > conftest.
$ac_ext <<EOF
14422 #line 14423 "configure"
14423 #include "confdefs.h"
14424 /* Override any gcc2 internal prototype to avoid an error. */
14425 /* We use char because int might match the return type of a gcc2
14426 builtin and then its argument prototype would still apply. */
14427 char sched_get_priority_max();
14430 sched_get_priority_max()
14433 if { (eval echo configure
:14434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14435 eval "ac_cv_lib_$ac_lib_var=yes"
14437 echo "configure: failed program was:" >&5
14438 cat conftest.
$ac_ext >&5
14440 eval "ac_cv_lib_$ac_lib_var=no"
14443 LIBS
="$ac_save_LIBS"
14446 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14447 echo "$ac_t""yes" 1>&6
14450 echo "$ac_t""no" 1>&6
14451 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14452 echo "configure:14453: checking for sched_get_priority_max in -lposix4" >&5
14453 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14454 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14455 echo $ac_n "(cached) $ac_c" 1>&6
14457 ac_save_LIBS
="$LIBS"
14458 LIBS
="-lposix4 $LIBS"
14459 cat > conftest.
$ac_ext <<EOF
14460 #line 14461 "configure"
14461 #include "confdefs.h"
14462 /* Override any gcc2 internal prototype to avoid an error. */
14463 /* We use char because int might match the return type of a gcc2
14464 builtin and then its argument prototype would still apply. */
14465 char sched_get_priority_max();
14468 sched_get_priority_max()
14471 if { (eval echo configure
:14472: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14473 eval "ac_cv_lib_$ac_lib_var=yes"
14475 echo "configure: failed program was:" >&5
14476 cat conftest.
$ac_ext >&5
14478 eval "ac_cv_lib_$ac_lib_var=no"
14481 LIBS
="$ac_save_LIBS"
14484 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14485 echo "$ac_t""yes" 1>&6
14488 POSIX4_LINK
="-lposix4"
14491 echo "$ac_t""no" 1>&6
14499 echo "$ac_t""no" 1>&6
14504 echo "$ac_t""no" 1>&6
14508 if test "$HAVE_PRIOR_FUNCS" = 1; then
14509 cat >> confdefs.h
<<\EOF
14510 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14514 echo "configure: warning: Setting thread priority will not work" 1>&2
14517 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14518 echo "configure:14519: checking for pthread_cancel in -l$THREADS_LINK" >&5
14519 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14520 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14521 echo $ac_n "(cached) $ac_c" 1>&6
14523 ac_save_LIBS
="$LIBS"
14524 LIBS
="-l$THREADS_LINK $LIBS"
14525 cat > conftest.
$ac_ext <<EOF
14526 #line 14527 "configure"
14527 #include "confdefs.h"
14528 /* Override any gcc2 internal prototype to avoid an error. */
14529 /* We use char because int might match the return type of a gcc2
14530 builtin and then its argument prototype would still apply. */
14531 char pthread_cancel();
14537 if { (eval echo configure
:14538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14539 eval "ac_cv_lib_$ac_lib_var=yes"
14541 echo "configure: failed program was:" >&5
14542 cat conftest.
$ac_ext >&5
14544 eval "ac_cv_lib_$ac_lib_var=no"
14547 LIBS
="$ac_save_LIBS"
14550 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14551 echo "$ac_t""yes" 1>&6
14552 cat >> confdefs.h
<<\EOF
14553 #define HAVE_PTHREAD_CANCEL 1
14557 echo "$ac_t""no" 1>&6
14558 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14562 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14563 echo "configure:14564: checking for pthread_cleanup_push/pop" >&5
14564 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14565 echo $ac_n "(cached) $ac_c" 1>&6
14568 cat > conftest.
$ac_ext <<EOF
14569 #line 14570 "configure"
14570 #include "confdefs.h"
14571 #include <pthread.h>
14574 pthread_cleanup_push(NULL, NULL);
14575 pthread_cleanup_pop(0);
14579 if { (eval echo configure
:14580: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14582 wx_cv_func_pthread_cleanup_push
=yes
14585 echo "configure: failed program was:" >&5
14586 cat conftest.
$ac_ext >&5
14589 wx_cv_func_pthread_cleanup_push
=no
14596 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14598 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14599 cat >> confdefs.h
<<\EOF
14600 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14606 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14607 echo "configure:14608: checking for pthread_mutexattr_t" >&5
14608 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14609 echo $ac_n "(cached) $ac_c" 1>&6
14612 cat > conftest.
$ac_ext <<EOF
14613 #line 14614 "configure"
14614 #include "confdefs.h"
14615 #include <pthread.h>
14618 pthread_mutexattr_t attr;
14619 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14623 if { (eval echo configure
:14624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14626 wx_cv_type_pthread_mutexattr_t
=yes
14629 echo "configure: failed program was:" >&5
14630 cat conftest.
$ac_ext >&5
14633 wx_cv_type_pthread_mutexattr_t
=no
14641 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14643 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14644 cat >> confdefs.h
<<\EOF
14645 #define HAVE_PTHREAD_MUTEXATTR_T 1
14649 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14650 echo "configure:14651: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14651 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14652 echo $ac_n "(cached) $ac_c" 1>&6
14655 cat > conftest.
$ac_ext <<EOF
14656 #line 14657 "configure"
14657 #include "confdefs.h"
14658 #include <pthread.h>
14661 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14665 if { (eval echo configure
:14666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14668 wx_cv_type_pthread_rec_mutex_init
=yes
14671 echo "configure: failed program was:" >&5
14672 cat conftest.
$ac_ext >&5
14675 wx_cv_type_pthread_rec_mutex_init
=no
14683 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14684 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14685 cat >> confdefs.h
<<\EOF
14686 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14690 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14694 THREADS_LINK
="-l$THREADS_LINK"
14696 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14697 CFLAGS
="${CFLAGS} -mt"
14698 CXXFLAGS
="${CXXFLAGS} -mt"
14699 LDFLAGS
="${LDFLAGS} -mt"
14705 if test "$wxUSE_THREADS" = "yes"; then
14706 cat >> confdefs.h
<<\EOF
14707 #define wxUSE_THREADS 1
14711 if test "$USE_DARWIN" != 1; then
14712 CFLAGS
="${CFLAGS} -D_REENTRANT"
14713 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14716 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14718 if test "$ac_cv_func_strtok_r" = "yes"; then
14719 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14720 echo "configure:14721: checking if -D_REENTRANT is needed" >&5
14721 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14722 CFLAGS
="${CFLAGS} -D_REENTRANT"
14723 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14724 echo "$ac_t""yes" 1>&6
14726 echo "$ac_t""no" 1>&6
14731 if test "$WXGTK20" = 1 ; then
14732 cat >> confdefs.h
<<EOF
14733 #define __WXGTK20__ $WXGTK20
14739 if test "$WXGTK12" = 1 ; then
14740 cat >> confdefs.h
<<EOF
14741 #define __WXGTK12__ $WXGTK12
14746 if test "$WXGTK127" = 1 ; then
14747 cat >> confdefs.h
<<EOF
14748 #define __WXGTK127__ $WXGTK127
14753 if test "$WXWINE" = 1 ; then
14754 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14757 if test "$wxUSE_MAC" = 1 ; then
14758 TOOLKIT_DEF
="${TOOLKIT_DEF} -DTARGET_CARBON"
14759 CFLAGS
="${CFLAGS} -fpascal-strings"
14760 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fpascal-strings"
14761 # Extract the first word of "Rez", so it can be a program name with args.
14762 set dummy Rez
; ac_word
=$2
14763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14764 echo "configure:14765: checking for $ac_word" >&5
14765 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14766 echo $ac_n "(cached) $ac_c" 1>&6
14768 if test -n "$REZ"; then
14769 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14771 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14773 for ac_dir
in $ac_dummy; do
14774 test -z "$ac_dir" && ac_dir
=.
14775 if test -f $ac_dir/$ac_word; then
14776 ac_cv_prog_REZ
="Rez"
14781 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14784 REZ
="$ac_cv_prog_REZ"
14785 if test -n "$REZ"; then
14786 echo "$ac_t""$REZ" 1>&6
14788 echo "$ac_t""no" 1>&6
14791 # Extract the first word of "Derez", so it can be a program name with args.
14792 set dummy Derez
; ac_word
=$2
14793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14794 echo "configure:14795: checking for $ac_word" >&5
14795 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14796 echo $ac_n "(cached) $ac_c" 1>&6
14798 if test -n "$DEREZ"; then
14799 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14801 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14803 for ac_dir
in $ac_dummy; do
14804 test -z "$ac_dir" && ac_dir
=.
14805 if test -f $ac_dir/$ac_word; then
14806 ac_cv_prog_DEREZ
="Derez"
14811 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14814 DEREZ
="$ac_cv_prog_DEREZ"
14815 if test -n "$DEREZ"; then
14816 echo "$ac_t""$DEREZ" 1>&6
14818 echo "$ac_t""no" 1>&6
14822 REZFLAGS
="-d __UNIX__ -useDF"
14823 DEREZFLAGS
="Carbon.r -useDF"
14824 RESFLAGS
="Carbon.r -t APPL"
14825 LIBWXMACRES
="\$(LIBWX_MACRES)"
14826 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14829 if test "$wxUSE_CYGWIN" = 1 ; then
14830 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14835 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14840 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14841 wxUSE_DEBUG_INFO
=yes
14845 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14846 cat >> confdefs.h
<<\EOF
14850 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14852 if test "$wxUSE_GTK" = 1 ; then
14853 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14857 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14858 cat >> confdefs.h
<<\EOF
14859 #define wxUSE_MEMORY_TRACING 1
14862 cat >> confdefs.h
<<\EOF
14863 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14866 cat >> confdefs.h
<<\EOF
14867 #define wxUSE_DEBUG_NEW_ALWAYS 1
14870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14873 if test "$wxUSE_DMALLOC" = "yes" ; then
14874 DMALLOC_LINK
="-ldmalloc"
14878 if test "$wxUSE_PROFILE" = "yes" ; then
14884 CODE_GEN_FLAGS_CXX
=
14885 if test "$GCC" = yes ; then
14886 if test "$wxUSE_NO_RTTI" = "yes" ; then
14887 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14889 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14890 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14892 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14893 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14895 if test "$wxUSE_NO_DEPS" = "no" ; then
14896 DEP_INFO_FLAGS
="-MMD"
14901 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14902 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14903 if test "$wxUSE_OPTIMISE" = "no" ; then
14906 if test "$GCC" = yes ; then
14909 i586
-*-*|i686
-*-* )
14910 OPTIMISE
="${OPTIMISE} "
14918 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14919 cat >> confdefs.h
<<\EOF
14920 #define WXWIN_COMPATIBILITY_2 1
14924 WXWIN_COMPATIBILITY_2_2
="yes"
14927 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14928 cat >> confdefs.h
<<\EOF
14929 #define WXWIN_COMPATIBILITY_2_2 1
14936 if test "$wxUSE_REGEX" != "no"; then
14937 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
14938 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
14939 echo "configure:14940: checking for regex.h" >&5
14940 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14941 echo $ac_n "(cached) $ac_c" 1>&6
14943 cat > conftest.
$ac_ext <<EOF
14944 #line 14945 "configure"
14945 #include "confdefs.h"
14948 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14949 { (eval echo configure
:14950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14950 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14951 if test -z "$ac_err"; then
14953 eval "ac_cv_header_$ac_safe=yes"
14956 echo "configure: failed program was:" >&5
14957 cat conftest.
$ac_ext >&5
14959 eval "ac_cv_header_$ac_safe=no"
14963 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14964 echo "$ac_t""yes" 1>&6
14965 for ac_func
in regcomp
14967 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14968 echo "configure:14969: checking for $ac_func" >&5
14969 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14970 echo $ac_n "(cached) $ac_c" 1>&6
14972 cat > conftest.
$ac_ext <<EOF
14973 #line 14974 "configure"
14974 #include "confdefs.h"
14975 /* System header to define __stub macros and hopefully few prototypes,
14976 which can conflict with char $ac_func(); below. */
14977 #include <assert.h>
14978 /* Override any gcc2 internal prototype to avoid an error. */
14979 /* We use char because int might match the return type of a gcc2
14980 builtin and then its argument prototype would still apply. */
14985 /* The GNU C library defines this for functions which it implements
14986 to always fail with ENOSYS. Some functions are actually named
14987 something starting with __ and the normal name is an alias. */
14988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14996 if { (eval echo configure
:14997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14998 eval "ac_cv_func_$ac_func=yes"
15000 echo "configure: failed program was:" >&5
15001 cat conftest.
$ac_ext >&5
15003 eval "ac_cv_func_$ac_func=no"
15008 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15009 echo "$ac_t""yes" 1>&6
15010 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15011 cat >> confdefs.h
<<EOF
15012 #define $ac_tr_func 1
15016 echo "$ac_t""no" 1>&6
15021 echo "$ac_t""no" 1>&6
15025 if test "x$ac_cv_func_regcomp" != "xyes"; then
15026 if test "$wxUSE_REGEX" = "sys"; then
15027 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
15030 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
15033 cat >> confdefs.h
<<\EOF
15034 #define wxUSE_REGEX 1
15040 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15041 cat >> confdefs.h
<<\EOF
15042 #define wxUSE_ZLIB 1
15045 if test "$wxUSE_ZLIB" = "yes" ; then
15046 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15049 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15050 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15051 echo "configure:15052: checking for zlib.h" >&5
15052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15053 echo $ac_n "(cached) $ac_c" 1>&6
15055 cat > conftest.
$ac_ext <<EOF
15056 #line 15057 "configure"
15057 #include "confdefs.h"
15060 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15061 { (eval echo configure
:15062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15062 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15063 if test -z "$ac_err"; then
15065 eval "ac_cv_header_$ac_safe=yes"
15068 echo "configure: failed program was:" >&5
15069 cat conftest.
$ac_ext >&5
15071 eval "ac_cv_header_$ac_safe=no"
15075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15076 echo "$ac_t""yes" 1>&6
15077 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15078 echo "configure:15079: checking for deflate in -lz" >&5
15079 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15080 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15081 echo $ac_n "(cached) $ac_c" 1>&6
15083 ac_save_LIBS
="$LIBS"
15085 cat > conftest.
$ac_ext <<EOF
15086 #line 15087 "configure"
15087 #include "confdefs.h"
15088 /* Override any gcc2 internal prototype to avoid an error. */
15089 /* We use char because int might match the return type of a gcc2
15090 builtin and then its argument prototype would still apply. */
15097 if { (eval echo configure
:15098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15099 eval "ac_cv_lib_$ac_lib_var=yes"
15101 echo "configure: failed program was:" >&5
15102 cat conftest.
$ac_ext >&5
15104 eval "ac_cv_lib_$ac_lib_var=no"
15107 LIBS
="$ac_save_LIBS"
15110 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15111 echo "$ac_t""yes" 1>&6
15114 echo "$ac_t""no" 1>&6
15118 echo "$ac_t""no" 1>&6
15121 if test "x$ZLIB_LINK" = "x" ; then
15122 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15128 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15129 cat >> confdefs.h
<<\EOF
15130 #define wxUSE_LIBPNG 1
15133 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15134 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15138 if test "$wxUSE_LIBPNG" = "yes" ; then
15139 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15142 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15143 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15144 echo "configure:15145: checking for png.h" >&5
15145 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15146 echo $ac_n "(cached) $ac_c" 1>&6
15148 cat > conftest.
$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15153 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15154 { (eval echo configure
:15155: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15155 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15156 if test -z "$ac_err"; then
15158 eval "ac_cv_header_$ac_safe=yes"
15161 echo "configure: failed program was:" >&5
15162 cat conftest.
$ac_ext >&5
15164 eval "ac_cv_header_$ac_safe=no"
15168 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15169 echo "$ac_t""yes" 1>&6
15170 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15171 echo "configure:15172: checking for png_check_sig in -lpng" >&5
15172 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15174 echo $ac_n "(cached) $ac_c" 1>&6
15176 ac_save_LIBS
="$LIBS"
15177 LIBS
="-lpng -lz -lm $LIBS"
15178 cat > conftest.
$ac_ext <<EOF
15179 #line 15180 "configure"
15180 #include "confdefs.h"
15181 /* Override any gcc2 internal prototype to avoid an error. */
15182 /* We use char because int might match the return type of a gcc2
15183 builtin and then its argument prototype would still apply. */
15184 char png_check_sig();
15190 if { (eval echo configure
:15191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15192 eval "ac_cv_lib_$ac_lib_var=yes"
15194 echo "configure: failed program was:" >&5
15195 cat conftest.
$ac_ext >&5
15197 eval "ac_cv_lib_$ac_lib_var=no"
15200 LIBS
="$ac_save_LIBS"
15203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15204 echo "$ac_t""yes" 1>&6
15207 echo "$ac_t""no" 1>&6
15212 echo "$ac_t""no" 1>&6
15215 if test "x$PNG_LINK" = "x" ; then
15216 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15224 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15225 cat >> confdefs.h
<<\EOF
15226 #define wxUSE_LIBJPEG 1
15229 if test "$wxUSE_LIBJPEG" = "yes" ; then
15230 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15233 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15234 echo "configure:15235: checking for jpeglib.h" >&5
15235 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15236 echo $ac_n "(cached) $ac_c" 1>&6
15238 cat > conftest.
$ac_ext <<EOF
15239 #line 15240 "configure"
15240 #include "confdefs.h"
15242 #undef HAVE_STDLIB_H
15244 #include <jpeglib.h>
15251 if { (eval echo configure
:15252: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15253 ac_cv_header_jpeglib_h
=yes
15255 echo "configure: failed program was:" >&5
15256 cat conftest.
$ac_ext >&5
15258 ac_cv_header_jpeglib_h
=no
15265 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15267 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15268 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15269 echo "configure:15270: checking for jpeg_read_header in -ljpeg" >&5
15270 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15271 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15272 echo $ac_n "(cached) $ac_c" 1>&6
15274 ac_save_LIBS
="$LIBS"
15275 LIBS
="-ljpeg $LIBS"
15276 cat > conftest.
$ac_ext <<EOF
15277 #line 15278 "configure"
15278 #include "confdefs.h"
15279 /* Override any gcc2 internal prototype to avoid an error. */
15280 /* We use char because int might match the return type of a gcc2
15281 builtin and then its argument prototype would still apply. */
15282 char jpeg_read_header();
15288 if { (eval echo configure
:15289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15290 eval "ac_cv_lib_$ac_lib_var=yes"
15292 echo "configure: failed program was:" >&5
15293 cat conftest.
$ac_ext >&5
15295 eval "ac_cv_lib_$ac_lib_var=no"
15298 LIBS
="$ac_save_LIBS"
15301 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15302 echo "$ac_t""yes" 1>&6
15305 echo "$ac_t""no" 1>&6
15310 if test "x$JPEG_LINK" = "x" ; then
15311 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15317 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15318 cat >> confdefs.h
<<\EOF
15319 #define wxUSE_LIBTIFF 1
15322 if test "$wxUSE_LIBTIFF" = "yes" ; then
15323 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15326 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15327 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15328 echo "configure:15329: checking for tiffio.h" >&5
15329 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15330 echo $ac_n "(cached) $ac_c" 1>&6
15332 cat > conftest.
$ac_ext <<EOF
15333 #line 15334 "configure"
15334 #include "confdefs.h"
15335 #include <tiffio.h>
15337 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15338 { (eval echo configure
:15339: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15339 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15340 if test -z "$ac_err"; then
15342 eval "ac_cv_header_$ac_safe=yes"
15345 echo "configure: failed program was:" >&5
15346 cat conftest.
$ac_ext >&5
15348 eval "ac_cv_header_$ac_safe=no"
15352 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15353 echo "$ac_t""yes" 1>&6
15354 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15355 echo "configure:15356: checking for TIFFError in -ltiff" >&5
15356 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15358 echo $ac_n "(cached) $ac_c" 1>&6
15360 ac_save_LIBS
="$LIBS"
15361 LIBS
="-ltiff -lm $LIBS"
15362 cat > conftest.
$ac_ext <<EOF
15363 #line 15364 "configure"
15364 #include "confdefs.h"
15365 /* Override any gcc2 internal prototype to avoid an error. */
15366 /* We use char because int might match the return type of a gcc2
15367 builtin and then its argument prototype would still apply. */
15374 if { (eval echo configure
:15375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15376 eval "ac_cv_lib_$ac_lib_var=yes"
15378 echo "configure: failed program was:" >&5
15379 cat conftest.
$ac_ext >&5
15381 eval "ac_cv_lib_$ac_lib_var=no"
15384 LIBS
="$ac_save_LIBS"
15387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15388 echo "$ac_t""yes" 1>&6
15391 echo "$ac_t""no" 1>&6
15395 echo "$ac_t""no" 1>&6
15398 if test "x$TIFF_LINK" = "x" ; then
15399 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15405 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15406 cat >> confdefs.h
<<\EOF
15407 #define wxUSE_FREETYPE 1
15410 if test "$wxUSE_FREETYPE" = "yes" ; then
15411 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15414 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15415 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15416 echo "configure:15417: checking for freetype.h" >&5
15417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15418 echo $ac_n "(cached) $ac_c" 1>&6
15420 cat > conftest.
$ac_ext <<EOF
15421 #line 15422 "configure"
15422 #include "confdefs.h"
15423 #include <freetype.h>
15425 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15426 { (eval echo configure
:15427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15427 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15428 if test -z "$ac_err"; then
15430 eval "ac_cv_header_$ac_safe=yes"
15433 echo "configure: failed program was:" >&5
15434 cat conftest.
$ac_ext >&5
15436 eval "ac_cv_header_$ac_safe=no"
15440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15441 echo "$ac_t""yes" 1>&6
15442 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15443 echo "configure:15444: checking for FT_Render_Glyph in -lfreetype" >&5
15444 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | 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"
15449 LIBS
="-lfreetype -lm $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. */
15456 char FT_Render_Glyph();
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
15477 FREETYPE_LINK
="-lfreetype"
15479 echo "$ac_t""no" 1>&6
15484 echo "$ac_t""no" 1>&6
15487 if test "x$FREETYPE_LINK" = "x" ; then
15488 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15493 if test "$wxUSE_OPENGL" = "yes"; then
15494 if test "$wxUSE_MAC" = 1; then
15495 cat >> confdefs.h
<<\EOF
15496 #define wxUSE_OPENGL 1
15499 cat >> confdefs.h
<<\EOF
15500 #define wxUSE_GLCANVAS 1
15503 OPENGL_LINK
="-framework OpenGL -framework AGL"
15504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15506 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15507 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15508 echo "configure:15509: checking for GL/gl.h" >&5
15509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15510 echo $ac_n "(cached) $ac_c" 1>&6
15512 cat > conftest.
$ac_ext <<EOF
15513 #line 15514 "configure"
15514 #include "confdefs.h"
15517 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15518 { (eval echo configure
:15519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15519 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15520 if test -z "$ac_err"; then
15522 eval "ac_cv_header_$ac_safe=yes"
15525 echo "configure: failed program was:" >&5
15526 cat conftest.
$ac_ext >&5
15528 eval "ac_cv_header_$ac_safe=no"
15532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15533 echo "$ac_t""yes" 1>&6
15535 cat >> confdefs.h
<<\EOF
15536 #define wxUSE_OPENGL 1
15539 cat >> confdefs.h
<<\EOF
15540 #define wxUSE_GLCANVAS 1
15543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15544 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15545 echo "configure:15546: checking for glFlush in -lGL" >&5
15546 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15548 echo $ac_n "(cached) $ac_c" 1>&6
15550 ac_save_LIBS
="$LIBS"
15552 cat > conftest.
$ac_ext <<EOF
15553 #line 15554 "configure"
15554 #include "confdefs.h"
15555 /* Override any gcc2 internal prototype to avoid an error. */
15556 /* We use char because int might match the return type of a gcc2
15557 builtin and then its argument prototype would still apply. */
15564 if { (eval echo configure
:15565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15566 eval "ac_cv_lib_$ac_lib_var=yes"
15568 echo "configure: failed program was:" >&5
15569 cat conftest.
$ac_ext >&5
15571 eval "ac_cv_lib_$ac_lib_var=no"
15574 LIBS
="$ac_save_LIBS"
15577 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15578 echo "$ac_t""yes" 1>&6
15580 OPENGL_LINK
="-lGL -lGLU"
15583 echo "$ac_t""no" 1>&6
15585 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15586 echo "configure:15587: checking for glFlush in -lMesaGL" >&5
15587 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
15588 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15589 echo $ac_n "(cached) $ac_c" 1>&6
15591 ac_save_LIBS
="$LIBS"
15592 LIBS
="-lMesaGL $LIBS"
15593 cat > conftest.
$ac_ext <<EOF
15594 #line 15595 "configure"
15595 #include "confdefs.h"
15596 /* Override any gcc2 internal prototype to avoid an error. */
15597 /* We use char because int might match the return type of a gcc2
15598 builtin and then its argument prototype would still apply. */
15605 if { (eval echo configure
:15606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15607 eval "ac_cv_lib_$ac_lib_var=yes"
15609 echo "configure: failed program was:" >&5
15610 cat conftest.
$ac_ext >&5
15612 eval "ac_cv_lib_$ac_lib_var=no"
15615 LIBS
="$ac_save_LIBS"
15618 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15619 echo "$ac_t""yes" 1>&6
15621 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15624 echo "$ac_t""no" 1>&6
15632 echo "$ac_t""no" 1>&6
15640 if test "$wxUSE_GUI" = "yes"; then
15641 cat >> confdefs.h
<<\EOF
15642 #define wxUSE_GUI 1
15647 cat >> confdefs.h
<<\EOF
15648 #define wxUSE_NOGUI 1
15654 if test "$wxUSE_UNIX" = "yes"; then
15655 cat >> confdefs.h
<<\EOF
15656 #define wxUSE_UNIX 1
15662 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15663 cat >> confdefs.h
<<\EOF
15664 #define wxUSE_APPLE_IEEE 1
15669 if test "$wxUSE_TIMER" = "yes"; then
15670 cat >> confdefs.h
<<\EOF
15671 #define wxUSE_TIMER 1
15676 if test "$wxUSE_WAVE" = "yes"; then
15677 cat >> confdefs.h
<<\EOF
15678 #define wxUSE_WAVE 1
15683 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15684 cat >> confdefs.h
<<\EOF
15685 #define wxUSE_CMDLINE_PARSER 1
15690 if test "$wxUSE_STOPWATCH" = "yes"; then
15691 cat >> confdefs.h
<<\EOF
15692 #define wxUSE_STOPWATCH 1
15697 if test "$wxUSE_DATETIME" = "yes"; then
15698 cat >> confdefs.h
<<\EOF
15699 #define wxUSE_DATETIME 1
15704 if test "$wxUSE_TIMEDATE" = "yes"; then
15705 cat >> confdefs.h
<<\EOF
15706 #define wxUSE_TIMEDATE 1
15711 if test "$wxUSE_FILE" = "yes"; then
15712 cat >> confdefs.h
<<\EOF
15713 #define wxUSE_FILE 1
15718 if test "$wxUSE_FFILE" = "yes"; then
15719 cat >> confdefs.h
<<\EOF
15720 #define wxUSE_FFILE 1
15725 if test "$wxUSE_FILESYSTEM" = "yes"; then
15726 cat >> confdefs.h
<<\EOF
15727 #define wxUSE_FILESYSTEM 1
15732 if test "$wxUSE_FS_INET" = "yes"; then
15733 cat >> confdefs.h
<<\EOF
15734 #define wxUSE_FS_INET 1
15739 if test "$wxUSE_FS_ZIP" = "yes"; then
15740 cat >> confdefs.h
<<\EOF
15741 #define wxUSE_FS_ZIP 1
15746 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15747 cat >> confdefs.h
<<\EOF
15748 #define wxUSE_ZIPSTREAM 1
15753 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15754 cat >> confdefs.h
<<\EOF
15755 #define wxUSE_ON_FATAL_EXCEPTION 1
15760 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15761 cat >> confdefs.h
<<\EOF
15762 #define wxUSE_SNGLINST_CHECKER 1
15767 if test "$wxUSE_BUSYINFO" = "yes"; then
15768 cat >> confdefs.h
<<\EOF
15769 #define wxUSE_BUSYINFO 1
15774 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15775 cat >> confdefs.h
<<\EOF
15776 #define wxUSE_STD_IOSTREAM 1
15781 if test "$wxUSE_TEXTFILE" = "yes"; then
15782 if test "$wxUSE_FILE" != "yes"; then
15783 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15785 cat >> confdefs.h
<<\EOF
15786 #define wxUSE_TEXTFILE 1
15792 if test "$wxUSE_CONFIG" = "yes" ; then
15793 if test "$wxUSE_TEXTFILE" != "yes"; then
15794 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15796 cat >> confdefs.h
<<\EOF
15797 #define wxUSE_CONFIG 1
15800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15804 if test "$wxUSE_INTL" = "yes" ; then
15805 if test "$wxUSE_FILE" != "yes"; then
15806 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15808 cat >> confdefs.h
<<\EOF
15809 #define wxUSE_INTL 1
15812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15813 GUIDIST
="$GUIDIST INTL_DIST"
15817 if test "$wxUSE_LOG" = "yes"; then
15818 cat >> confdefs.h
<<\EOF
15819 #define wxUSE_LOG 1
15823 if test "$wxUSE_LOGGUI" = "yes"; then
15824 cat >> confdefs.h
<<\EOF
15825 #define wxUSE_LOGGUI 1
15830 if test "$wxUSE_LOGWINDOW" = "yes"; then
15831 cat >> confdefs.h
<<\EOF
15832 #define wxUSE_LOGWINDOW 1
15838 if test "$wxUSE_LONGLONG" = "yes"; then
15839 cat >> confdefs.h
<<\EOF
15840 #define wxUSE_LONGLONG 1
15845 if test "$wxUSE_GEOMETRY" = "yes"; then
15846 cat >> confdefs.h
<<\EOF
15847 #define wxUSE_GEOMETRY 1
15852 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15853 cat >> confdefs.h
<<\EOF
15854 #define wxUSE_DIALUP_MANAGER 1
15857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15860 if test "$wxUSE_STREAMS" = "yes" ; then
15861 cat >> confdefs.h
<<\EOF
15862 #define wxUSE_STREAMS 1
15868 if test "$wxUSE_DATETIME" = "yes"; then
15869 for ac_func
in strptime
15871 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15872 echo "configure:15873: checking for $ac_func" >&5
15873 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15874 echo $ac_n "(cached) $ac_c" 1>&6
15876 cat > conftest.
$ac_ext <<EOF
15877 #line 15878 "configure"
15878 #include "confdefs.h"
15879 /* System header to define __stub macros and hopefully few prototypes,
15880 which can conflict with char $ac_func(); below. */
15881 #include <assert.h>
15882 /* Override any gcc2 internal prototype to avoid an error. */
15883 /* We use char because int might match the return type of a gcc2
15884 builtin and then its argument prototype would still apply. */
15889 /* The GNU C library defines this for functions which it implements
15890 to always fail with ENOSYS. Some functions are actually named
15891 something starting with __ and the normal name is an alias. */
15892 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15900 if { (eval echo configure
:15901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15902 eval "ac_cv_func_$ac_func=yes"
15904 echo "configure: failed program was:" >&5
15905 cat conftest.
$ac_ext >&5
15907 eval "ac_cv_func_$ac_func=no"
15912 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15913 echo "$ac_t""yes" 1>&6
15914 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15915 cat >> confdefs.h
<<EOF
15916 #define $ac_tr_func 1
15920 echo "$ac_t""no" 1>&6
15925 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15926 echo "configure:15927: checking for timezone variable in <time.h>" >&5
15927 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15928 echo $ac_n "(cached) $ac_c" 1>&6
15931 cat > conftest.
$ac_ext <<EOF
15932 #line 15933 "configure"
15933 #include "confdefs.h"
15944 if { (eval echo configure
:15945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15947 wx_cv_var_timezone
=timezone
15950 echo "configure: failed program was:" >&5
15951 cat conftest.
$ac_ext >&5
15954 cat > conftest.
$ac_ext <<EOF
15955 #line 15956 "configure"
15956 #include "confdefs.h"
15967 if { (eval echo configure
:15968: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15970 wx_cv_var_timezone
=_timezone
15973 echo "configure: failed program was:" >&5
15974 cat conftest.
$ac_ext >&5
15977 cat > conftest.
$ac_ext <<EOF
15978 #line 15979 "configure"
15979 #include "confdefs.h"
15990 if { (eval echo configure
:15991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15993 wx_cv_var_timezone
=__timezone
15996 echo "configure: failed program was:" >&5
15997 cat conftest.
$ac_ext >&5
15999 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16015 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16017 cat >> confdefs.h
<<EOF
16018 #define WX_TIMEZONE $wx_cv_var_timezone
16022 for ac_func
in localtime
16024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16025 echo "configure:16026: checking for $ac_func" >&5
16026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16027 echo $ac_n "(cached) $ac_c" 1>&6
16029 cat > conftest.
$ac_ext <<EOF
16030 #line 16031 "configure"
16031 #include "confdefs.h"
16032 /* System header to define __stub macros and hopefully few prototypes,
16033 which can conflict with char $ac_func(); below. */
16034 #include <assert.h>
16035 /* Override any gcc2 internal prototype to avoid an error. */
16036 /* We use char because int might match the return type of a gcc2
16037 builtin and then its argument prototype would still apply. */
16042 /* The GNU C library defines this for functions which it implements
16043 to always fail with ENOSYS. Some functions are actually named
16044 something starting with __ and the normal name is an alias. */
16045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16053 if { (eval echo configure
:16054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16055 eval "ac_cv_func_$ac_func=yes"
16057 echo "configure: failed program was:" >&5
16058 cat conftest.
$ac_ext >&5
16060 eval "ac_cv_func_$ac_func=no"
16065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16066 echo "$ac_t""yes" 1>&6
16067 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16068 cat >> confdefs.h
<<EOF
16069 #define $ac_tr_func 1
16073 echo "$ac_t""no" 1>&6
16078 if test "$ac_cv_func_localtime" = "yes"; then
16079 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16080 echo "configure:16081: checking for tm_gmtoff in struct tm" >&5
16081 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16082 echo $ac_n "(cached) $ac_c" 1>&6
16085 cat > conftest.
$ac_ext <<EOF
16086 #line 16087 "configure"
16087 #include "confdefs.h"
16098 if { (eval echo configure
:16099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16101 wx_cv_struct_tm_has_gmtoff
=yes
16104 echo "configure: failed program was:" >&5
16105 cat conftest.
$ac_ext >&5
16107 wx_cv_struct_tm_has_gmtoff
=no
16114 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16117 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16118 cat >> confdefs.h
<<\EOF
16119 #define WX_GMTOFF_IN_TM 1
16124 for ac_func
in gettimeofday ftime
16126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16127 echo "configure:16128: checking for $ac_func" >&5
16128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16129 echo $ac_n "(cached) $ac_c" 1>&6
16131 cat > conftest.
$ac_ext <<EOF
16132 #line 16133 "configure"
16133 #include "confdefs.h"
16134 /* System header to define __stub macros and hopefully few prototypes,
16135 which can conflict with char $ac_func(); below. */
16136 #include <assert.h>
16137 /* Override any gcc2 internal prototype to avoid an error. */
16138 /* We use char because int might match the return type of a gcc2
16139 builtin and then its argument prototype would still apply. */
16144 /* The GNU C library defines this for functions which it implements
16145 to always fail with ENOSYS. Some functions are actually named
16146 something starting with __ and the normal name is an alias. */
16147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16155 if { (eval echo configure
:16156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16157 eval "ac_cv_func_$ac_func=yes"
16159 echo "configure: failed program was:" >&5
16160 cat conftest.
$ac_ext >&5
16162 eval "ac_cv_func_$ac_func=no"
16167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16168 echo "$ac_t""yes" 1>&6
16169 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16170 cat >> confdefs.h
<<EOF
16171 #define $ac_tr_func 1
16175 echo "$ac_t""no" 1>&6
16180 if test "$ac_cv_func_gettimeofday" = "yes"; then
16181 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16182 echo "configure:16183: checking whether gettimeofday takes two arguments" >&5
16183 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16184 echo $ac_n "(cached) $ac_c" 1>&6
16189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16190 ac_cpp
='$CXXCPP $CPPFLAGS'
16191 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16192 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16193 cross_compiling
=$ac_cv_prog_cxx_cross
16196 cat > conftest.
$ac_ext <<EOF
16197 #line 16198 "configure"
16198 #include "confdefs.h"
16200 #include <sys/time.h>
16201 #include <unistd.h>
16206 struct timezone tz;
16207 gettimeofday(&tv, &tz);
16211 if { (eval echo configure
:16212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16213 wx_cv_func_gettimeofday_has_2_args
=yes
16215 echo "configure: failed program was:" >&5
16216 cat conftest.
$ac_ext >&5
16218 cat > conftest.
$ac_ext <<EOF
16219 #line 16220 "configure"
16220 #include "confdefs.h"
16222 #include <sys/time.h>
16223 #include <unistd.h>
16232 if { (eval echo configure
:16233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16234 wx_cv_func_gettimeofday_has_2_args
=no
16236 echo "configure: failed program was:" >&5
16237 cat conftest.
$ac_ext >&5
16239 wx_cv_func_gettimeofday_has_2_args
=unknown
16247 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16248 ac_cpp
='$CPP $CPPFLAGS'
16249 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16250 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16251 cross_compiling
=$ac_cv_prog_cc_cross
16256 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16258 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16259 cat >> confdefs.h
<<\EOF
16260 #define WX_GETTIMEOFDAY_NO_TZ 1
16266 cat >> confdefs.h
<<\EOF
16267 #define wxUSE_TIMEDATE 1
16270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16274 if test "$TOOLKIT" != "MSW"; then
16276 if test "$wxUSE_SOCKETS" = "yes"; then
16277 echo $ac_n "checking for socket""... $ac_c" 1>&6
16278 echo "configure:16279: checking for socket" >&5
16279 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16280 echo $ac_n "(cached) $ac_c" 1>&6
16282 cat > conftest.
$ac_ext <<EOF
16283 #line 16284 "configure"
16284 #include "confdefs.h"
16285 /* System header to define __stub macros and hopefully few prototypes,
16286 which can conflict with char socket(); below. */
16287 #include <assert.h>
16288 /* Override any gcc2 internal prototype to avoid an error. */
16289 /* We use char because int might match the return type of a gcc2
16290 builtin and then its argument prototype would still apply. */
16295 /* The GNU C library defines this for functions which it implements
16296 to always fail with ENOSYS. Some functions are actually named
16297 something starting with __ and the normal name is an alias. */
16298 #if defined (__stub_socket) || defined (__stub___socket)
16306 if { (eval echo configure
:16307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16308 eval "ac_cv_func_socket=yes"
16310 echo "configure: failed program was:" >&5
16311 cat conftest.
$ac_ext >&5
16313 eval "ac_cv_func_socket=no"
16318 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16319 echo "$ac_t""yes" 1>&6
16322 echo "$ac_t""no" 1>&6
16323 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16324 echo "configure:16325: checking for socket in -lsocket" >&5
16325 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16326 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16327 echo $ac_n "(cached) $ac_c" 1>&6
16329 ac_save_LIBS
="$LIBS"
16330 LIBS
="-lsocket $LIBS"
16331 cat > conftest.
$ac_ext <<EOF
16332 #line 16333 "configure"
16333 #include "confdefs.h"
16334 /* Override any gcc2 internal prototype to avoid an error. */
16335 /* We use char because int might match the return type of a gcc2
16336 builtin and then its argument prototype would still apply. */
16343 if { (eval echo configure
:16344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16345 eval "ac_cv_lib_$ac_lib_var=yes"
16347 echo "configure: failed program was:" >&5
16348 cat conftest.
$ac_ext >&5
16350 eval "ac_cv_lib_$ac_lib_var=no"
16353 LIBS
="$ac_save_LIBS"
16356 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16357 echo "$ac_t""yes" 1>&6
16358 INET_LINK
="$INET_LINK -lsocket"
16360 echo "$ac_t""no" 1>&6
16362 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16374 if test "$wxUSE_SOCKETS" = "yes" ; then
16375 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16376 echo "configure:16377: checking what is the type of the third argument of getsockname" >&5
16377 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16378 echo $ac_n "(cached) $ac_c" 1>&6
16383 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16384 ac_cpp
='$CXXCPP $CPPFLAGS'
16385 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16386 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16387 cross_compiling
=$ac_cv_prog_cxx_cross
16390 cat > conftest.
$ac_ext <<EOF
16391 #line 16392 "configure"
16392 #include "confdefs.h"
16394 #include <sys/types.h>
16395 #include <sys/socket.h>
16400 getsockname(0, 0, &len);
16404 if { (eval echo configure
:16405: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16406 wx_cv_type_getsockname3
=socklen_t
16408 echo "configure: failed program was:" >&5
16409 cat conftest.
$ac_ext >&5
16411 cat > conftest.
$ac_ext <<EOF
16412 #line 16413 "configure"
16413 #include "confdefs.h"
16415 #include <sys/types.h>
16416 #include <sys/socket.h>
16421 getsockname(0, 0, &len);
16425 if { (eval echo configure
:16426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16427 wx_cv_type_getsockname3
=size_t
16429 echo "configure: failed program was:" >&5
16430 cat conftest.
$ac_ext >&5
16432 cat > conftest.
$ac_ext <<EOF
16433 #line 16434 "configure"
16434 #include "confdefs.h"
16436 #include <sys/types.h>
16437 #include <sys/socket.h>
16442 getsockname(0, 0, &len);
16446 if { (eval echo configure
:16447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16448 wx_cv_type_getsockname3
=int
16450 echo "configure: failed program was:" >&5
16451 cat conftest.
$ac_ext >&5
16453 wx_cv_type_getsockname3
=unknown
16465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16466 ac_cpp
='$CPP $CPPFLAGS'
16467 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16468 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16469 cross_compiling
=$ac_cv_prog_cc_cross
16474 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16476 if test "$wx_cv_type_getsockname3" = "unknown"; then
16478 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16480 cat >> confdefs.h
<<EOF
16481 #define SOCKLEN_T $wx_cv_type_getsockname3
16489 if test "$wxUSE_SOCKETS" = "yes" ; then
16490 cat >> confdefs.h
<<\EOF
16491 #define wxUSE_SOCKETS 1
16494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16495 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16499 if test "$wxUSE_GUI" = "yes"; then
16501 if test "$TOOLKIT" != "MSW"; then
16503 if test "$wxUSE_JOYSTICK" = "yes"; then
16504 for ac_hdr
in linux
/joystick.h
16506 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16507 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16508 echo "configure:16509: checking for $ac_hdr" >&5
16509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16510 echo $ac_n "(cached) $ac_c" 1>&6
16512 cat > conftest.
$ac_ext <<EOF
16513 #line 16514 "configure"
16514 #include "confdefs.h"
16517 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16518 { (eval echo configure
:16519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16519 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16520 if test -z "$ac_err"; then
16522 eval "ac_cv_header_$ac_safe=yes"
16525 echo "configure: failed program was:" >&5
16526 cat conftest.
$ac_ext >&5
16528 eval "ac_cv_header_$ac_safe=no"
16532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16533 echo "$ac_t""yes" 1>&6
16534 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16535 cat >> confdefs.h
<<EOF
16536 #define $ac_tr_hdr 1
16540 echo "$ac_t""no" 1>&6
16544 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16546 echo "configure: warning: Joystick not supported by this system" 1>&2
16552 if test "$wxUSE_JOYSTICK" = "yes"; then
16553 cat >> confdefs.h
<<\EOF
16554 #define wxUSE_JOYSTICK 1
16557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16563 if test "$TOOLKIT" != "MSW"; then
16567 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16568 if test "$USE_DARWIN" = 1; then
16571 for ac_func
in dlopen
16573 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16574 echo "configure:16575: checking for $ac_func" >&5
16575 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16576 echo $ac_n "(cached) $ac_c" 1>&6
16578 cat > conftest.
$ac_ext <<EOF
16579 #line 16580 "configure"
16580 #include "confdefs.h"
16581 /* System header to define __stub macros and hopefully few prototypes,
16582 which can conflict with char $ac_func(); below. */
16583 #include <assert.h>
16584 /* Override any gcc2 internal prototype to avoid an error. */
16585 /* We use char because int might match the return type of a gcc2
16586 builtin and then its argument prototype would still apply. */
16591 /* The GNU C library defines this for functions which it implements
16592 to always fail with ENOSYS. Some functions are actually named
16593 something starting with __ and the normal name is an alias. */
16594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16602 if { (eval echo configure
:16603: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16604 eval "ac_cv_func_$ac_func=yes"
16606 echo "configure: failed program was:" >&5
16607 cat conftest.
$ac_ext >&5
16609 eval "ac_cv_func_$ac_func=no"
16614 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16615 echo "$ac_t""yes" 1>&6
16616 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16617 cat >> confdefs.h
<<EOF
16618 #define $ac_tr_func 1
16621 cat >> confdefs.h
<<\EOF
16622 #define HAVE_DLOPEN 1
16628 echo "$ac_t""no" 1>&6
16629 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16630 echo "configure:16631: checking for dlopen in -ldl" >&5
16631 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16633 echo $ac_n "(cached) $ac_c" 1>&6
16635 ac_save_LIBS
="$LIBS"
16637 cat > conftest.
$ac_ext <<EOF
16638 #line 16639 "configure"
16639 #include "confdefs.h"
16640 /* Override any gcc2 internal prototype to avoid an error. */
16641 /* We use char because int might match the return type of a gcc2
16642 builtin and then its argument prototype would still apply. */
16649 if { (eval echo configure
:16650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16651 eval "ac_cv_lib_$ac_lib_var=yes"
16653 echo "configure: failed program was:" >&5
16654 cat conftest.
$ac_ext >&5
16656 eval "ac_cv_lib_$ac_lib_var=no"
16659 LIBS
="$ac_save_LIBS"
16662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16663 echo "$ac_t""yes" 1>&6
16665 cat >> confdefs.h
<<\EOF
16666 #define HAVE_DLOPEN 1
16673 echo "$ac_t""no" 1>&6
16675 for ac_func
in shl_load
16677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16678 echo "configure:16679: checking for $ac_func" >&5
16679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16680 echo $ac_n "(cached) $ac_c" 1>&6
16682 cat > conftest.
$ac_ext <<EOF
16683 #line 16684 "configure"
16684 #include "confdefs.h"
16685 /* System header to define __stub macros and hopefully few prototypes,
16686 which can conflict with char $ac_func(); below. */
16687 #include <assert.h>
16688 /* Override any gcc2 internal prototype to avoid an error. */
16689 /* We use char because int might match the return type of a gcc2
16690 builtin and then its argument prototype would still apply. */
16695 /* The GNU C library defines this for functions which it implements
16696 to always fail with ENOSYS. Some functions are actually named
16697 something starting with __ and the normal name is an alias. */
16698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16706 if { (eval echo configure
:16707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16708 eval "ac_cv_func_$ac_func=yes"
16710 echo "configure: failed program was:" >&5
16711 cat conftest.
$ac_ext >&5
16713 eval "ac_cv_func_$ac_func=no"
16718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16719 echo "$ac_t""yes" 1>&6
16720 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16721 cat >> confdefs.h
<<EOF
16722 #define $ac_tr_func 1
16725 cat >> confdefs.h
<<\EOF
16726 #define HAVE_SHL_LOAD 1
16732 echo "$ac_t""no" 1>&6
16733 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16734 echo "configure:16735: checking for dld in -lshl_load" >&5
16735 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16736 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16737 echo $ac_n "(cached) $ac_c" 1>&6
16739 ac_save_LIBS
="$LIBS"
16740 LIBS
="-lshl_load $LIBS"
16741 cat > conftest.
$ac_ext <<EOF
16742 #line 16743 "configure"
16743 #include "confdefs.h"
16744 /* Override any gcc2 internal prototype to avoid an error. */
16745 /* We use char because int might match the return type of a gcc2
16746 builtin and then its argument prototype would still apply. */
16753 if { (eval echo configure
:16754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16755 eval "ac_cv_lib_$ac_lib_var=yes"
16757 echo "configure: failed program was:" >&5
16758 cat conftest.
$ac_ext >&5
16760 eval "ac_cv_lib_$ac_lib_var=no"
16763 LIBS
="$ac_save_LIBS"
16766 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16767 echo "$ac_t""yes" 1>&6
16773 echo "$ac_t""no" 1>&6
16788 if test "$HAVE_DL_FUNCS" = 1; then
16789 for ac_func
in dlerror
16791 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16792 echo "configure:16793: checking for $ac_func" >&5
16793 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16794 echo $ac_n "(cached) $ac_c" 1>&6
16796 cat > conftest.
$ac_ext <<EOF
16797 #line 16798 "configure"
16798 #include "confdefs.h"
16799 /* System header to define __stub macros and hopefully few prototypes,
16800 which can conflict with char $ac_func(); below. */
16801 #include <assert.h>
16802 /* Override any gcc2 internal prototype to avoid an error. */
16803 /* We use char because int might match the return type of a gcc2
16804 builtin and then its argument prototype would still apply. */
16809 /* The GNU C library defines this for functions which it implements
16810 to always fail with ENOSYS. Some functions are actually named
16811 something starting with __ and the normal name is an alias. */
16812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16820 if { (eval echo configure
:16821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16822 eval "ac_cv_func_$ac_func=yes"
16824 echo "configure: failed program was:" >&5
16825 cat conftest.
$ac_ext >&5
16827 eval "ac_cv_func_$ac_func=no"
16832 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16833 echo "$ac_t""yes" 1>&6
16834 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16835 cat >> confdefs.h
<<EOF
16836 #define $ac_tr_func 1
16838 cat >> confdefs.h
<<\EOF
16839 #define HAVE_DLERROR 1
16843 echo "$ac_t""no" 1>&6
16844 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16845 echo "configure:16846: checking for dlerror in -ldl" >&5
16846 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16847 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16848 echo $ac_n "(cached) $ac_c" 1>&6
16850 ac_save_LIBS
="$LIBS"
16852 cat > conftest.
$ac_ext <<EOF
16853 #line 16854 "configure"
16854 #include "confdefs.h"
16855 /* Override any gcc2 internal prototype to avoid an error. */
16856 /* We use char because int might match the return type of a gcc2
16857 builtin and then its argument prototype would still apply. */
16864 if { (eval echo configure
:16865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16866 eval "ac_cv_lib_$ac_lib_var=yes"
16868 echo "configure: failed program was:" >&5
16869 cat conftest.
$ac_ext >&5
16871 eval "ac_cv_lib_$ac_lib_var=no"
16874 LIBS
="$ac_save_LIBS"
16877 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16878 echo "$ac_t""yes" 1>&6
16879 cat >> confdefs.h
<<\EOF
16880 #define HAVE_DLERROR 1
16884 echo "$ac_t""no" 1>&6
16893 if test "$HAVE_DL_FUNCS" = 0; then
16894 if test "$HAVE_SHL_FUNCS" = 0; then
16895 if test "$USE_UNIX" = 1; then
16896 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16897 wxUSE_DYNLIB_CLASS
=no
16899 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16907 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16908 cat >> confdefs.h
<<\EOF
16909 #define wxUSE_DYNLIB_CLASS 1
16918 if test "$wxUSE_FONTMAP" = "yes" ; then
16919 cat >> confdefs.h
<<\EOF
16920 #define wxUSE_FONTMAP 1
16925 if test "$wxUSE_UNICODE" = "yes" ; then
16926 cat >> confdefs.h
<<\EOF
16927 #define wxUSE_UNICODE 1
16932 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16933 cat >> confdefs.h
<<\EOF
16934 #define wxUSE_WCSRTOMBS 1
16939 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16940 cat >> confdefs.h
<<\EOF
16941 #define wxUSE_EXPERIMENTAL_PRINTF 1
16947 if test "$wxUSE_SERIAL" = "yes" ; then
16948 cat >> confdefs.h
<<\EOF
16949 #define wxUSE_SERIAL 1
16956 if test "$wxUSE_ODBC" = "yes" ; then
16957 cat >> confdefs.h
<<\EOF
16958 #define wxUSE_ODBC 1
16961 WXODBCFLAG
="-D_IODBC_"
16962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16966 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16967 cat >> confdefs.h
<<\EOF
16968 #define wxUSE_POSTSCRIPT 1
16973 cat >> confdefs.h
<<\EOF
16974 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16978 cat >> confdefs.h
<<\EOF
16979 #define wxUSE_NORMALIZED_PS_FONTS 1
16984 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16985 cat >> confdefs.h
<<\EOF
16986 #define wxUSE_CONSTRAINTS 1
16989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16992 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16993 cat >> confdefs.h
<<\EOF
16994 #define wxUSE_MDI_ARCHITECTURE 1
16997 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17000 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17001 cat >> confdefs.h
<<\EOF
17002 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17006 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17007 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17011 if test "$wxUSE_HELP" = "yes"; then
17012 cat >> confdefs.h
<<\EOF
17013 #define wxUSE_HELP 1
17016 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17018 if test "$USE_WIN32" = 1; then
17019 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17020 cat >> confdefs.h
<<\EOF
17021 #define wxUSE_MS_HTML_HELP 1
17024 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17025 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17026 echo "configure:17027: checking for htmlhelp.h" >&5
17027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17028 echo $ac_n "(cached) $ac_c" 1>&6
17030 cat > conftest.
$ac_ext <<EOF
17031 #line 17032 "configure"
17032 #include "confdefs.h"
17033 #include <htmlhelp.h>
17035 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17036 { (eval echo configure
:17037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17037 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17038 if test -z "$ac_err"; then
17040 eval "ac_cv_header_$ac_safe=yes"
17043 echo "configure: failed program was:" >&5
17044 cat conftest.
$ac_ext >&5
17046 eval "ac_cv_header_$ac_safe=no"
17050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17051 echo "$ac_t""yes" 1>&6
17053 cat >> confdefs.h
<<\EOF
17054 #define wxUSE_MS_HTML_HELP 1
17059 echo "$ac_t""no" 1>&6
17061 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h so it won't be compiled without it" 1>&2
17062 wxUSE_MS_HTML_HELP
=no
17069 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17070 if test "$wxUSE_HTML" = "yes"; then
17071 cat >> confdefs.h
<<\EOF
17072 #define wxUSE_WXHTML_HELP 1
17076 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17077 wxUSE_WXHTML_HELP
=no
17082 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17083 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17084 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17086 cat >> confdefs.h
<<\EOF
17087 #define wxUSE_PRINTING_ARCHITECTURE 1
17091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17094 if test "$wxUSE_PROLOGIO" = "yes" ; then
17095 cat >> confdefs.h
<<\EOF
17096 #define wxUSE_PROLOGIO 1
17101 if test "$wxUSE_RESOURCES" = "yes" ; then
17102 cat >> confdefs.h
<<\EOF
17103 #define wxUSE_RESOURCES 1
17106 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17109 if test "$wxUSE_X_RESOURCES" = "yes"; then
17110 cat >> confdefs.h
<<\EOF
17111 #define wxUSE_X_RESOURCES 1
17117 if test "$wxUSE_IPC" = "yes"; then
17118 if test "$wxUSE_SOCKETS" != "yes"; then
17119 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17122 cat >> confdefs.h
<<\EOF
17123 #define wxUSE_IPC 1
17128 if test "$wxUSE_CLIPBOARD" = "yes"; then
17129 cat >> confdefs.h
<<\EOF
17130 #define wxUSE_CLIPBOARD 1
17133 cat >> confdefs.h
<<\EOF
17134 #define wxUSE_DATAOBJ 1
17139 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17140 if test "$wxUSE_GTK" = 1; then
17141 if test "$WXGTK12" != 1; then
17142 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17143 wxUSE_DRAG_AND_DROP
=no
17147 if test "$wxUSE_MOTIF" = 1; then
17148 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17149 wxUSE_DRAG_AND_DROP
=no
17152 if test "$wxUSE_MAC" = 1; then
17153 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17154 wxUSE_DRAG_AND_DROP
=no
17157 if test "$USE_WIN32" = 1; then
17159 for ac_hdr
in ole2.h
17161 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17162 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17163 echo "configure:17164: checking for $ac_hdr" >&5
17164 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17165 echo $ac_n "(cached) $ac_c" 1>&6
17167 cat > conftest.
$ac_ext <<EOF
17168 #line 17169 "configure"
17169 #include "confdefs.h"
17172 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17173 { (eval echo configure
:17174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17174 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17175 if test -z "$ac_err"; then
17177 eval "ac_cv_header_$ac_safe=yes"
17180 echo "configure: failed program was:" >&5
17181 cat conftest.
$ac_ext >&5
17183 eval "ac_cv_header_$ac_safe=no"
17187 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17188 echo "$ac_t""yes" 1>&6
17189 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17190 cat >> confdefs.h
<<EOF
17191 #define $ac_tr_hdr 1
17195 echo "$ac_t""no" 1>&6
17200 if test "$ac_cv_header_ole2_h" = "yes" ; then
17201 if test "$GCC" = yes ; then
17202 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17203 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
17204 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17205 LIBS
="$LIBS -lole32 -luuid"
17206 cat >> confdefs.h
<<\EOF
17207 #define wxUSE_OLE 1
17211 if test "$wxUSE_METAFILE" = "yes"; then
17212 cat >> confdefs.h
<<\EOF
17213 #define wxUSE_METAFILE 1
17216 cat >> confdefs.h
<<\EOF
17217 #define wxUSE_ENH_METAFILE 1
17223 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
17224 wxUSE_DRAG_AND_DROP
=no
17228 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17229 cat >> confdefs.h
<<\EOF
17230 #define wxUSE_DRAG_AND_DROP 1
17233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17238 if test "$wxUSE_SPLINES" = "yes" ; then
17239 cat >> confdefs.h
<<\EOF
17240 #define wxUSE_SPLINES 1
17247 if test "$wxUSE_CONTROLS" = "yes"; then
17251 if test "$wxUSE_ACCEL" = "yes"; then
17252 cat >> confdefs.h
<<\EOF
17253 #define wxUSE_ACCEL 1
17259 if test "$wxUSE_BUTTON" = "yes"; then
17260 cat >> confdefs.h
<<\EOF
17261 #define wxUSE_BUTTON 1
17267 if test "$wxUSE_BMPBUTTON" = "yes"; then
17268 cat >> confdefs.h
<<\EOF
17269 #define wxUSE_BMPBUTTON 1
17275 if test "$wxUSE_CALCTRL" = "yes"; then
17276 cat >> confdefs.h
<<\EOF
17277 #define wxUSE_CALENDARCTRL 1
17281 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17284 if test "$wxUSE_CARET" = "yes"; then
17285 cat >> confdefs.h
<<\EOF
17286 #define wxUSE_CARET 1
17290 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17293 if test "$wxUSE_COMBOBOX" = "yes"; then
17294 cat >> confdefs.h
<<\EOF
17295 #define wxUSE_COMBOBOX 1
17301 if test "$wxUSE_CHOICE" = "yes"; then
17302 cat >> confdefs.h
<<\EOF
17303 #define wxUSE_CHOICE 1
17309 if test "$wxUSE_CHECKBOX" = "yes"; then
17310 cat >> confdefs.h
<<\EOF
17311 #define wxUSE_CHECKBOX 1
17317 if test "$wxUSE_CHECKLST" = "yes"; then
17318 cat >> confdefs.h
<<\EOF
17319 #define wxUSE_CHECKLISTBOX 1
17323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17326 if test "$wxUSE_GAUGE" = "yes"; then
17327 cat >> confdefs.h
<<\EOF
17328 #define wxUSE_GAUGE 1
17334 if test "$wxUSE_NEW_GRID" = "yes"; then
17336 cat >> confdefs.h
<<\EOF
17337 #define wxUSE_NEW_GRID 1
17341 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17344 if test "$wxUSE_GRID" = "yes"; then
17345 cat >> confdefs.h
<<\EOF
17346 #define wxUSE_GRID 1
17350 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17353 if test "$wxUSE_IMAGLIST" = "yes"; then
17354 cat >> confdefs.h
<<\EOF
17355 #define wxUSE_IMAGLIST 1
17360 if test "$wxUSE_LISTBOX" = "yes"; then
17361 cat >> confdefs.h
<<\EOF
17362 #define wxUSE_LISTBOX 1
17368 if test "$wxUSE_LISTCTRL" = "yes"; then
17369 if test "$wxUSE_IMAGLIST" = "yes"; then
17370 cat >> confdefs.h
<<\EOF
17371 #define wxUSE_LISTCTRL 1
17375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17377 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17381 if test "$wxUSE_NOTEBOOK" = "yes"; then
17382 cat >> confdefs.h
<<\EOF
17383 #define wxUSE_NOTEBOOK 1
17387 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17390 if test "$wxUSE_PROPSHEET" = "yes"; then
17391 cat >> confdefs.h
<<\EOF
17392 #define wxUSE_PROPSHEET 1
17396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17399 if test "$wxUSE_RADIOBOX" = "yes"; then
17400 cat >> confdefs.h
<<\EOF
17401 #define wxUSE_RADIOBOX 1
17407 if test "$wxUSE_RADIOBTN" = "yes"; then
17408 cat >> confdefs.h
<<\EOF
17409 #define wxUSE_RADIOBTN 1
17415 if test "$wxUSE_SASH" = "yes"; then
17416 cat >> confdefs.h
<<\EOF
17417 #define wxUSE_SASH 1
17420 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17423 if test "$wxUSE_SCROLLBAR" = "yes"; then
17424 cat >> confdefs.h
<<\EOF
17425 #define wxUSE_SCROLLBAR 1
17429 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17432 if test "$wxUSE_SLIDER" = "yes"; then
17433 cat >> confdefs.h
<<\EOF
17434 #define wxUSE_SLIDER 1
17440 if test "$wxUSE_SPINBTN" = "yes"; then
17441 cat >> confdefs.h
<<\EOF
17442 #define wxUSE_SPINBTN 1
17448 if test "$wxUSE_SPINCTRL" = "yes"; then
17449 cat >> confdefs.h
<<\EOF
17450 #define wxUSE_SPINCTRL 1
17456 if test "$wxUSE_SPLITTER" = "yes"; then
17457 cat >> confdefs.h
<<\EOF
17458 #define wxUSE_SPLITTER 1
17461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17464 if test "$wxUSE_STATBMP" = "yes"; then
17465 cat >> confdefs.h
<<\EOF
17466 #define wxUSE_STATBMP 1
17472 if test "$wxUSE_STATBOX" = "yes"; then
17473 cat >> confdefs.h
<<\EOF
17474 #define wxUSE_STATBOX 1
17480 if test "$wxUSE_STATTEXT" = "yes"; then
17481 cat >> confdefs.h
<<\EOF
17482 #define wxUSE_STATTEXT 1
17488 if test "$wxUSE_STATLINE" = "yes"; then
17489 if test "$wxUSE_WINE" = 1 ; then
17490 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17492 cat >> confdefs.h
<<\EOF
17493 #define wxUSE_STATLINE 1
17500 if test "$wxUSE_STATUSBAR" = "yes"; then
17501 cat >> confdefs.h
<<\EOF
17502 #define wxUSE_STATUSBAR 1
17507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17510 if test "$wxUSE_TABDIALOG" = "yes"; then
17511 cat >> confdefs.h
<<\EOF
17512 #define wxUSE_TAB_DIALOG 1
17515 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17518 if test "$wxUSE_TEXTCTRL" = "yes"; then
17519 cat >> confdefs.h
<<\EOF
17520 #define wxUSE_TEXTCTRL 1
17524 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17527 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17528 if test "$wxUSE_MAC" = 1; then
17529 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17533 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17534 cat >> confdefs.h
<<\EOF
17535 #define wxUSE_TOGGLEBTN 1
17542 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17543 cat >> confdefs.h
<<\EOF
17544 #define wxUSE_TOOLBAR_SIMPLE 1
17547 wxUSE_TOOLBAR
="yes"
17551 if test "$wxUSE_TOOLBAR" = "yes"; then
17552 cat >> confdefs.h
<<\EOF
17553 #define wxUSE_TOOLBAR 1
17558 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17559 wxUSE_TOOLBAR_NATIVE
="yes"
17562 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17563 cat >> confdefs.h
<<\EOF
17564 #define wxUSE_TOOLBAR_NATIVE 1
17570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17573 if test "$wxUSE_TOOLTIPS" = "yes"; then
17574 if test "$wxUSE_MOTIF" = 1; then
17575 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17577 if test "$wxUSE_WINE" = 1; then
17578 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17580 cat >> confdefs.h
<<\EOF
17581 #define wxUSE_TOOLTIPS 1
17588 if test "$wxUSE_TREECTRL" = "yes"; then
17589 if test "$wxUSE_IMAGLIST" = "yes"; then
17590 cat >> confdefs.h
<<\EOF
17591 #define wxUSE_TREECTRL 1
17595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17597 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17601 if test "$wxUSE_POPUPWIN" = "yes"; then
17602 if test "$wxUSE_MAC" = 1; then
17603 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17605 cat >> confdefs.h
<<\EOF
17606 #define wxUSE_POPUPWIN 1
17613 if test "$USES_CONTROLS" = 1; then
17614 cat >> confdefs.h
<<\EOF
17615 #define wxUSE_CONTROLS 1
17621 if test "$wxUSE_TREELAYOUT" = "yes"; then
17622 cat >> confdefs.h
<<\EOF
17623 #define wxUSE_TREELAYOUT 1
17626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17629 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17630 cat >> confdefs.h
<<\EOF
17631 #define wxUSE_DRAGIMAGE 1
17634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17637 if test "$wxUSE_MENUS" = "yes"; then
17638 cat >> confdefs.h
<<\EOF
17639 #define wxUSE_MENUS 1
17642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17645 if test "$wxUSE_METAFILE" = "yes"; then
17646 cat >> confdefs.h
<<\EOF
17647 #define wxUSE_METAFILE 1
17652 if test "$wxUSE_MIMETYPE" = "yes"; then
17653 cat >> confdefs.h
<<\EOF
17654 #define wxUSE_MIMETYPE 1
17659 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17660 cat >> confdefs.h
<<\EOF
17661 #define wxUSE_SYSTEM_OPTIONS 1
17666 if test "$wxUSE_MINIFRAME" = "yes"; then
17667 cat >> confdefs.h
<<\EOF
17668 #define wxUSE_MINIFRAME 1
17671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17674 if test "$wxUSE_HTML" = "yes"; then
17675 cat >> confdefs.h
<<\EOF
17676 #define wxUSE_HTML 1
17679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17680 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17683 if test "$wxUSE_VALIDATORS" = "yes"; then
17684 cat >> confdefs.h
<<\EOF
17685 #define wxUSE_VALIDATORS 1
17688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17691 if test "$wxUSE_IMAGE" = "yes" ; then
17692 cat >> confdefs.h
<<\EOF
17693 #define wxUSE_IMAGE 1
17698 if test "$wxUSE_GIF" = "yes" ; then
17699 cat >> confdefs.h
<<\EOF
17700 #define wxUSE_GIF 1
17705 if test "$wxUSE_PCX" = "yes" ; then
17706 cat >> confdefs.h
<<\EOF
17707 #define wxUSE_PCX 1
17712 if test "$wxUSE_PNM" = "yes" ; then
17713 cat >> confdefs.h
<<\EOF
17714 #define wxUSE_PNM 1
17719 if test "$wxUSE_XPM" = "yes" ; then
17720 cat >> confdefs.h
<<\EOF
17721 #define wxUSE_XPM 1
17727 if test "$wxUSE_CHOICEDLG" = "yes"; then
17728 cat >> confdefs.h
<<\EOF
17729 #define wxUSE_CHOICEDLG 1
17734 if test "$wxUSE_COLOURDLG" = "yes"; then
17735 cat >> confdefs.h
<<\EOF
17736 #define wxUSE_COLOURDLG 1
17741 if test "$wxUSE_FILEDLG" = "yes"; then
17742 cat >> confdefs.h
<<\EOF
17743 #define wxUSE_FILEDLG 1
17748 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17749 cat >> confdefs.h
<<\EOF
17750 #define wxUSE_FINDREPLDLG 1
17755 if test "$wxUSE_FONTDLG" = "yes"; then
17756 cat >> confdefs.h
<<\EOF
17757 #define wxUSE_FONTDLG 1
17762 if test "$wxUSE_DIRDLG" = "yes"; then
17763 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17764 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17766 if test "$wxUSE_TREECTRL" != "yes"; then
17767 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17769 cat >> confdefs.h
<<\EOF
17770 #define wxUSE_DIRDLG 1
17777 if test "$wxUSE_MSGDLG" = "yes"; then
17778 cat >> confdefs.h
<<\EOF
17779 #define wxUSE_MSGDLG 1
17784 if test "$wxUSE_NUMBERDLG" = "yes"; then
17785 cat >> confdefs.h
<<\EOF
17786 #define wxUSE_NUMBERDLG 1
17791 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17792 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17793 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17795 cat >> confdefs.h
<<\EOF
17796 #define wxUSE_PROGRESSDLG 1
17802 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17803 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17804 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17806 cat >> confdefs.h
<<\EOF
17807 #define wxUSE_STARTUP_TIPS 1
17813 if test "$wxUSE_TEXTDLG" = "yes"; then
17814 cat >> confdefs.h
<<\EOF
17815 #define wxUSE_TEXTDLG 1
17820 if test "$wxUSE_WIZARDDLG" = "yes"; then
17821 cat >> confdefs.h
<<\EOF
17822 #define wxUSE_WIZARDDLG 1
17825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17829 if test "$cross_compiling" = "yes"; then
17832 OSINFO
=`uname -s -r -m`
17833 OSINFO
="\"$OSINFO\""
17836 cat >> confdefs.h
<<EOF
17837 #define WXWIN_OS_DESCRIPTION $OSINFO
17842 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17843 OPENGL_LIBS
="$OPENGL_LINK"
17845 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17846 if test "$wxUSE_MAC" = 1 ; then
17847 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17849 if test "$wxUSE_GUI" = "yes"; then
17850 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17853 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17855 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include \
17856 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
17857 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17859 if test "$wxUSE_GTK" = 1; then
17860 WXCONFIG_INCLUDE
=""
17862 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17865 if test "$GXX" = yes ; then
17866 CXXWARNINGS
="-Wall"
17868 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17870 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17871 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17873 LDFLAGS
="$LDFLAGS $PROFILE"
17875 if test "$wxUSE_GUI" = "yes"; then
17877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17878 drawing dynamic erase event exec font image \
17879 minimal richedit rotate widgets"
17881 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17885 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17887 SAMPLES_SUBDIRS
="console"
17890 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17985 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17986 echo "configure:17987: checking whether ${MAKE-make} sets \${MAKE}" >&5
17987 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17988 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17989 echo $ac_n "(cached) $ac_c" 1>&6
17991 cat > conftestmake
<<\EOF
17993 @
echo 'ac_maketemp="${MAKE}"'
17995 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17996 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17997 if test -n "$ac_maketemp"; then
17998 eval ac_cv_prog_make_
${ac_make}_set
=yes
18000 eval ac_cv_prog_make_
${ac_make}_set
=no
18004 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18005 echo "$ac_t""yes" 1>&6
18008 echo "$ac_t""no" 1>&6
18009 SET_MAKE
="MAKE=${MAKE-make}"
18013 if test -d include
; then
18014 if test -d include
/wx
; then
18015 if test -d include
/wx
/${SETUPH_DIR}; then
18016 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
18017 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
18025 if test "$wxUSE_GUI" = "yes"; then
18026 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18027 wx_cv_path_ifs
=$PATH_IFS
18028 wx_cv_program_ext
=$PROGRAM_EXT
18029 wx_cv_target_library
=$WX_TARGET_LIBRARY
18030 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18031 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18032 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18033 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18034 subdirs
="demos samples utils contrib"
18039 cat > confcache
<<\EOF
18040 # This file is a shell script that caches the results of configure
18041 # tests run on this system so they can be shared between configure
18042 # scripts and configure runs. It is not useful on other systems.
18043 # If it contains results you don't want to keep, you may remove or edit it.
18045 # By default, configure uses ./config.cache as the cache file,
18046 # creating it if it does not exist already. You can give configure
18047 # the --cache-file=FILE option to use a different cache file; that is
18048 # what configure does when it calls configure scripts in
18049 # subdirectories, so they share the cache.
18050 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18051 # config.status only pays attention to the cache file if you give it the
18052 # --recheck option to rerun configure.
18055 # The following way of writing the cache mishandles newlines in values,
18056 # but we know of no workaround that is simple, portable, and efficient.
18057 # So, don't put newlines in cache variables' values.
18058 # Ultrix sh set writes to stderr and can't be redirected directly,
18059 # and sets the high bit in the cache file unless we assign to the vars.
18061 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18063 # `set' does not quote correctly, so add quotes (double-quote substitution
18064 # turns \\\\ into \\, and sed turns \\ into \).
18066 -e "s/'/'\\\\''/g" \
18067 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18070 # `set' quotes correctly as required by POSIX, so do not add quotes.
18071 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18074 if cmp -s $cache_file confcache
; then
18077 if test -w $cache_file; then
18078 echo "updating cache $cache_file"
18079 cat confcache
> $cache_file
18081 echo "not updating unwritable cache $cache_file"
18086 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18088 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18089 # Let make expand exec_prefix.
18090 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18092 # Any assignment to VPATH causes Sun make to only execute
18093 # the first set of double-colon rules, so remove it if not needed.
18094 # If there is a colon in the path, we need to keep it.
18095 if test "x$srcdir" = x.
; then
18096 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18099 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18101 DEFS
=-DHAVE_CONFIG_H
18103 # Without the "./", some shells look in PATH for config.status.
18104 : ${CONFIG_STATUS=./config.status}
18106 echo creating
$CONFIG_STATUS
18107 rm -f $CONFIG_STATUS
18108 cat > $CONFIG_STATUS <<EOF
18110 # Generated automatically by configure.
18111 # Run this file to recreate the current configuration.
18112 # This directory was configured as follows,
18113 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18115 # $0 $ac_configure_args
18117 # Compiler output produced by configure, useful for debugging
18118 # configure, is in ./config.log if it exists.
18120 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18123 case "\$ac_option" in
18124 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18125 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18126 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18127 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18128 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18130 -help | --help | --hel | --he | --h)
18131 echo "\$ac_cs_usage"; exit 0 ;;
18132 *) echo "\$ac_cs_usage"; exit 1 ;;
18136 ac_given_srcdir=$srcdir
18137 ac_given_INSTALL="$INSTALL"
18139 trap 'rm -fr `echo "
18145 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18147 cat >> $CONFIG_STATUS <<EOF
18149 # Protect against being on the right side of a sed subst in config.status.
18150 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18151 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18155 s%@CFLAGS@%$CFLAGS%g
18156 s%@CPPFLAGS@%$CPPFLAGS%g
18157 s%@CXXFLAGS@%$CXXFLAGS%g
18158 s%@FFLAGS@%$FFLAGS%g
18160 s%@LDFLAGS@%$LDFLAGS%g
18162 s%@exec_prefix@%$exec_prefix%g
18163 s%@prefix@%$prefix%g
18164 s%@program_transform_name@%$program_transform_name%g
18165 s%@bindir@%$bindir%g
18166 s%@sbindir@%$sbindir%g
18167 s%@libexecdir@%$libexecdir%g
18168 s%@datadir@%$datadir%g
18169 s%@sysconfdir@%$sysconfdir%g
18170 s%@sharedstatedir@%$sharedstatedir%g
18171 s%@localstatedir@%$localstatedir%g
18172 s%@libdir@%$libdir%g
18173 s%@includedir@%$includedir%g
18174 s%@oldincludedir@%$oldincludedir%g
18175 s%@infodir@%$infodir%g
18176 s%@mandir@%$mandir%g
18178 s%@host_alias@%$host_alias%g
18179 s%@host_cpu@%$host_cpu%g
18180 s%@host_vendor@%$host_vendor%g
18181 s%@host_os@%$host_os%g
18182 s%@target@%$target%g
18183 s%@target_alias@%$target_alias%g
18184 s%@target_cpu@%$target_cpu%g
18185 s%@target_vendor@%$target_vendor%g
18186 s%@target_os@%$target_os%g
18188 s%@build_alias@%$build_alias%g
18189 s%@build_cpu@%$build_cpu%g
18190 s%@build_vendor@%$build_vendor%g
18191 s%@build_os@%$build_os%g
18195 s%@CXXCPP@%$CXXCPP%g
18196 s%@RANLIB@%$RANLIB%g
18198 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18199 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18200 s%@INSTALL_DATA@%$INSTALL_DATA%g
18204 s%@LEXLIB@%$LEXLIB%g
18206 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18207 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18208 s%@GTK_LIBS@%$GTK_LIBS%g
18209 s%@GTK_CONFIG@%$GTK_CONFIG%g
18210 s%@X_CFLAGS@%$X_CFLAGS%g
18211 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18212 s%@X_LIBS@%$X_LIBS%g
18213 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18216 s%@LEX_STEM@%$LEX_STEM%g
18217 s%@PATH_IFS@%$PATH_IFS%g
18218 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18219 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18220 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18221 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
18222 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18223 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18224 s%@WX_LIBRARY@%$WX_LIBRARY%g
18225 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18226 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18227 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18228 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
18229 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18230 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
18231 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18232 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18233 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
18234 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18235 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18236 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18237 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
18238 s%@WX_ALL@%$WX_ALL%g
18239 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18240 s%@SHARED_LD@%$SHARED_LD%g
18241 s%@PIC_FLAG@%$PIC_FLAG%g
18242 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
18243 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18244 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18245 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
18246 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
18247 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18248 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18249 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18250 s%@USE_GUI@%$USE_GUI%g
18251 s%@AFMINSTALL@%$AFMINSTALL%g
18252 s%@SETUPH_DIR@%$SETUPH_DIR%g
18253 s%@TOOLKIT@%$TOOLKIT%g
18254 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
18255 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18256 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
18257 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
18258 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18259 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18260 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18261 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
18262 s%@GUIDIST@%$GUIDIST%g
18263 s%@PORT_FILES@%$PORT_FILES%g
18264 s%@DISTDIR@%$DISTDIR%g
18265 s%@RPM_SPEC@%$RPM_SPEC%g
18266 s%@RPM_FILES@%$RPM_FILES%g
18267 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
18268 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
18269 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
18270 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
18271 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18272 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
18273 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18274 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18275 s%@EXTRADEFS@%$EXTRADEFS%g
18276 s%@LD_LIBS@%$LD_LIBS%g
18277 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
18278 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
18279 s%@RESPROGRAM@%$RESPROGRAM%g
18280 s%@RESCOMP@%$RESCOMP%g
18281 s%@RESFLAGS@%$RESFLAGS%g
18282 s%@REZFLAGS@%$REZFLAGS%g
18283 s%@DEREZFLAGS@%$DEREZFLAGS%g
18284 s%@LIBWXMACRES@%$LIBWXMACRES%g
18285 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18286 s%@DLLTOOL@%$DLLTOOL%g
18290 s%@MAKEINFO@%$MAKEINFO%g
18291 s%@SET_MAKE@%$SET_MAKE%g
18292 s%@subdirs@%$subdirs%g
18297 cat >> $CONFIG_STATUS <<\EOF
18299 # Split the substitutions into bite-sized pieces for seds with
18300 # small command number limits, like on Digital OSF/1 and HP-UX.
18301 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18302 ac_file
=1 # Number of current file.
18303 ac_beg
=1 # First line for current file.
18304 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18307 while $ac_more_lines; do
18308 if test $ac_beg -gt 1; then
18309 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18311 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18313 if test ! -s conftest.s
$ac_file; then
18314 ac_more_lines
=false
18315 rm -f conftest.s
$ac_file
18317 if test -z "$ac_sed_cmds"; then
18318 ac_sed_cmds
="sed -f conftest.s$ac_file"
18320 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18322 ac_file
=`expr $ac_file + 1`
18324 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18327 if test -z "$ac_sed_cmds"; then
18332 cat >> $CONFIG_STATUS <<EOF
18334 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18341 cat >> $CONFIG_STATUS <<\EOF
18342 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18343 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18345 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18346 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18347 *) ac_file_in
="${ac_file}.in" ;;
18350 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18352 # Remove last slash and all that follows it. Not all systems have dirname.
18353 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18354 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18355 # The file is in a subdirectory.
18356 test ! -d "$ac_dir" && mkdir "$ac_dir"
18357 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18358 # A "../" for each directory in $ac_dir_suffix.
18359 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18361 ac_dir_suffix
= ac_dots
=
18364 case "$ac_given_srcdir" in
18366 if test -z "$ac_dots"; then top_srcdir
=.
18367 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18368 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18369 *) # Relative path.
18370 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18371 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18374 case "$ac_given_INSTALL" in
18375 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18376 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18379 echo creating
"$ac_file"
18381 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18383 *Makefile
*) ac_comsub
="1i\\
18384 # $configure_input" ;;
18388 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18390 s%@configure_input@%$configure_input%g
18391 s%@srcdir@%$srcdir%g
18392 s%@top_srcdir@%$top_srcdir%g
18393 s%@INSTALL@%$INSTALL%g
18394 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18398 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18399 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18401 # ac_d sets the value in "#define NAME VALUE" lines.
18402 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18403 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18406 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18407 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18408 ac_uB
='\([ ]\)%\1#\2define\3'
18411 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18412 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18413 ac_eB
='$%\1#\2define\3'
18417 if test "${CONFIG_HEADERS+set}" != set; then
18419 cat >> $CONFIG_STATUS <<EOF
18420 CONFIG_HEADERS="setup.h:setup.h.in"
18422 cat >> $CONFIG_STATUS <<\EOF
18424 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18425 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18427 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18428 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18429 *) ac_file_in
="${ac_file}.in" ;;
18432 echo creating
$ac_file
18434 rm -f conftest.frag conftest.
in conftest.out
18435 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18436 cat $ac_file_inputs > conftest.
in
18440 # Transform confdefs.h into a sed script conftest.vals that substitutes
18441 # the proper values into config.h.in to produce config.h. And first:
18442 # Protect against being on the right side of a sed subst in config.status.
18443 # Protect against being in an unquoted here document in config.status.
18444 rm -f conftest.vals
18445 cat > conftest.hdr
<<\EOF
18448 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18452 sed -n -f conftest.hdr confdefs.h > conftest.vals
18455 # This sed command replaces #undef with comments. This is necessary, for
18456 # example, in the case of _POSIX_SOURCE, which is predefined and required
18457 # on some systems where configure will not decide to define it.
18458 cat >> conftest.vals <<\EOF
18459 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18462 # Break up conftest.vals because some shells have a limit on
18463 # the size of here documents, and old seds have small limits too.
18465 rm -f conftest.tail
18468 ac_lines=`grep -c . conftest.vals
`
18469 # grep -c gives empty output for an empty file on some AIX systems.
18470 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18471 # Write a limited-size here document to conftest.frag.
18472 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18473 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18475 sed -f conftest.frag conftest.in > conftest.out
18477 mv conftest.out conftest.in
18478 ' >> $CONFIG_STATUS
18479 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18480 rm -f conftest.vals
18481 mv conftest.tail conftest.vals
18483 rm -f conftest.vals
18485 cat >> $CONFIG_STATUS <<\EOF
18486 rm -f conftest.frag conftest.h
18487 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18488 cat conftest.in >> conftest.h
18490 if cmp -s $ac_file conftest.h 2>/dev/null; then
18491 echo "$ac_file is unchanged"
18494 # Remove last slash and all that follows it. Not all systems have dirname.
18495 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18496 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18497 # The file is in a subdirectory.
18498 test ! -d "$ac_dir" && mkdir "$ac_dir"
18501 mv conftest.h $ac_file
18506 cat >> $CONFIG_STATUS <<EOF
18508 SETUPH_DIR="${SETUPH_DIR}"
18509 TOOLKIT_NAME="${TOOLKIT_NAME}"
18514 cat >> $CONFIG_STATUS <<\EOF
18516 if test ! -f wx${TOOLKIT_NAME}-config; then
18518 mv wx-config wx${TOOLKIT_NAME}-config
18519 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18523 if test ! -d lib; then
18526 if test ! -d lib/wx; then
18529 if test ! -d lib/wx/include; then
18530 mkdir lib/wx/include
18532 if test ! -d lib/wx/include/wx; then
18533 mkdir lib/wx/include/wx
18535 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18536 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18538 if test -f setup.h; then
18539 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18543 if test ! -d include; then
18546 if test ! -d include/wx; then
18549 if test ! -d include/wx/${SETUPH_DIR}; then
18550 mkdir include/wx/${SETUPH_DIR}
18552 if test -f setup.h; then
18553 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18559 chmod +x $CONFIG_STATUS
18560 rm -fr confdefs* $ac_clean_files
18561 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18563 if test "$no_recursion" != yes; then
18565 # Remove --cache-file and --srcdir arguments so they do not pile up.
18566 ac_sub_configure_args=
18568 for ac_arg in $ac_configure_args; do
18569 if test -n "$ac_prev"; then
18574 -cache-file | --cache-file | --cache-fil | --cache-fi \
18575 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18576 ac_prev=cache_file ;;
18577 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18578 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18580 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18582 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18584 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18588 for ac_config_dir in demos samples utils contrib; do
18590 # Do not complain, so a configure script can configure whichever
18591 # parts of a large source tree are present.
18592 if test ! -d $srcdir/$ac_config_dir; then
18596 echo configuring in $ac_config_dir
18601 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18603 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18611 # A "../" for each directory in /$ac_config_dir.
18612 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18615 .) # No --srcdir option. We are building in place.
18616 ac_sub_srcdir=$srcdir ;;
18617 /*) # Absolute path.
18618 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18619 *) # Relative path.
18620 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18623 # Check for guested configure; otherwise get Cygnus style configure.
18624 if test -f $ac_sub_srcdir/configure; then
18625 ac_sub_configure=$ac_sub_srcdir/configure
18626 elif test -f $ac_sub_srcdir/configure.in; then
18627 ac_sub_configure=$ac_configure
18629 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18633 # The recursion is here.
18634 if test -n "$ac_sub_configure"; then
18636 # Make the cache file name correct relative to the subdirectory.
18637 case "$cache_file" in
18638 /*) ac_sub_cache_file=$cache_file ;;
18639 *) # Relative path.
18640 ac_sub_cache_file="$ac_dots$cache_file" ;;
18642 case "$ac_given_INSTALL" in
18643 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18644 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18647 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18648 # The eval makes quoting arguments work.
18649 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18652 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }