3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-burnt_name create set name in shared library "
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
107 --enable-debug_info create code with debugging information"
109 --enable-debug_gdb create code with extra GDB debugging information"
111 --enable-debug_cntxt use wxDebugContext"
113 --enable-mem_tracing create code with memory tracing"
115 --enable-profile create code with profiling information"
117 --enable-no_rtti create code without RTTI information"
119 --enable-no_exceptions create code without exceptions information"
121 --enable-permissive compile code disregarding strict ANSI"
123 --enable-no_deps create code without dependency information"
125 --enable-compat20 enable wxWin 2.0 compatibility"
127 --enable-compat22 enable wxWin 2.2 compatibility"
129 --enable-intl use internationalization system"
131 --enable-config use wxConfig (and derived) classes"
133 --enable-sockets use socket/network classes"
135 --enable-ipc use interprocess communication (wxSocket etc.)"
137 --enable-cmdline use wxCmdLineParser class"
139 --enable-datetime use wxDateTime class"
141 --enable-timedate use obsolete wxDate/wxTime classes"
143 --enable-stopwatch use wxStopWatch class"
145 --enable-dialupman use dialup network classes"
147 --enable-apple_ieee use the Apple IEEE codec"
149 --enable-timer use wxTimer class"
151 --enable-wave use wxWave class"
153 --enable-fraction use wxFraction class"
155 --enable-dynlib use wxLibrary class for DLL loading"
157 --enable-longlong use wxLongLong class"
159 --enable-geometry use geometry class"
161 --enable-log use logging system"
163 --enable-streams use wxStream etc classes"
165 --enable-file use wxFile classes"
167 --enable-ffile use wxFFile classes"
169 --enable-textfile use wxTextFile classes"
171 --enable-fontmap use font encodings conversion classes"
173 --enable-unicode compile wxString with Unicode support"
175 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-threads use threads"
197 --enable-serial use class serialization"
199 --enable-docview use document view architecture"
201 --enable-help use help subsystem"
203 --enable-html use wxHTML sub-library"
205 --enable-htmlhelp use wxHTML-based help"
207 --enable-constraints use layout-constraints system"
209 --enable-printarch use printing architecture"
211 --enable-mdi use multiple document interface architecture"
213 --enable-loggui use standard GUI logger"
215 --enable-logwin use wxLogWindow"
217 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
219 --enable-prologio use Prolog IO library"
221 --enable-resources use wxWindows resources"
223 --enable-xresources use X resources for save (default for gtk+)"
225 --enable-clipboard use wxClipboard classes"
227 --enable-dnd use Drag'n'Drop classes"
229 --enable-metafile use win32 metafiles"
231 --enable-wxtree make wxTree library"
233 --enable-controls use all usual controls"
235 --enable-accel use accelerators"
237 --enable-button use wxButton class"
239 --enable-bmpbutton use wxBitmapButton class"
241 --enable-calendar use wxCalendarCtrl class"
243 --enable-caret use wxCaret class"
245 --enable-checkbox use wxCheckBox class"
247 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
249 --enable-choice use wxChoice class"
251 --enable-combobox use wxComboBox classes"
253 --enable-gauge use wxGauge class"
255 --enable-grid use wxGrid class"
257 --enable-newgrid use new wxGrid class"
259 --enable-imaglist use wxImageList class"
261 --enable-listbox use wxListBox class"
263 --enable-listctrl use wxListCtrl class"
265 --enable-notebook use wxNotebook class"
267 --enable-radiobox use wxRadioBox class"
269 --enable-radiobtn use wxRadioButton class"
271 --enable-sash use wxSashWindow class"
273 --enable-scrollbar use wxScrollBar class and scrollable windows"
275 --enable-slider use wxSlider class"
277 --enable-spinbtn use wxSpinButton class"
279 --enable-spinctrl use wxSpinCtrl class"
281 --enable-splitter use wxSplitterWindow class"
283 --enable-statbmp use wxStaticBitmap class"
285 --enable-statbox use wxStaticBox class"
287 --enable-statline use wxStaticLine class"
289 --enable-stattext use wxStaticText class"
291 --enable-statusbar use wxStatusBar class"
293 --enable-tabdialog use wxTabControl class"
295 --enable-textctrl use wxTextCtrl class"
297 --enable-togglebtn use wxToggleButton class"
299 --enable-toolbar use wxToolBar class"
301 --enable-tbarnative use native wxToolBar class"
303 --enable-tbarsmpl use wxToolBarSimple class"
305 --enable-treectrl use wxTreeCtrl class"
307 --enable-popupwin use wxPopUpWindow class"
309 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
311 --enable-choicedlg use wxChoiceDialog"
313 --enable-coldlg use wxColourDialog"
315 --enable-filedlg use wxFileDialog"
317 --enable-fontdlg use wxFontDialog"
319 --enable-dirdlg use wxDirDialog"
321 --enable-msgdlg use wxMessageDialog"
323 --enable-numberdlg use wxNumberEntryDialog"
325 --enable-textdlg use wxTextDialog"
327 --enable-tipdlg use startup tips"
329 --enable-progressdlg use wxProgressDialog"
331 --enable-wizarddlg use wxWizard"
333 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
335 --enable-miniframe use wxMiniFrame class"
337 --enable-tooltips use wxToolTip class"
339 --enable-splines use spline drawing code"
341 --enable-validators use wxValidator and derived classes"
343 --enable-busyinfo use wxBusyInfo"
345 --enable-joystick compile in joystick support (Linux only)"
347 --enable-metafiles use wxMetaFile (Windows only)"
349 --enable-dragimage use wxDragImage"
351 --enable-image use wxImage class"
353 --enable-gif use gif images (GIF file format)"
355 --enable-pcx use pcx images (PCX file format)"
357 --enable-pnm use pnm images (PNM file format)"
359 --enable-xpm use xpm images (XPM file format)"
361 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
363 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
365 --disable-gtktest Do not try to compile and run a test GTK program"
367 --with-x use the X Window System"
369 # Initialize some variables set by options.
370 # The variables have the same names as the options, with
371 # dashes changed to underlines.
373 cache_file
=.
/config.cache
382 program_transform_name
=s
,x
,x
,
390 bindir
='${exec_prefix}/bin'
391 sbindir
='${exec_prefix}/sbin'
392 libexecdir
='${exec_prefix}/libexec'
393 datadir
='${prefix}/share'
394 sysconfdir
='${prefix}/etc'
395 sharedstatedir
='${prefix}/com'
396 localstatedir
='${prefix}/var'
397 libdir
='${exec_prefix}/lib'
398 includedir
='${prefix}/include'
399 oldincludedir
='/usr/include'
400 infodir
='${prefix}/info'
401 mandir
='${prefix}/man'
403 # Initialize some other variables.
406 SHELL
=${CONFIG_SHELL-/bin/sh}
407 # Maximum number of lines to put in a shell here document.
414 # If the previous option needs an argument, assign it.
415 if test -n "$ac_prev"; then
416 eval "$ac_prev=\$ac_option"
422 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
426 # Accept the important Cygnus configure options, so we can diagnose typos.
430 -bindir | --bindir | --bindi | --bind | --bin | --bi)
432 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
433 bindir
="$ac_optarg" ;;
435 -build | --build | --buil | --bui | --bu)
437 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
438 build
="$ac_optarg" ;;
440 -cache-file | --cache-file | --cache-fil | --cache-fi \
441 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
442 ac_prev
=cache_file
;;
443 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
444 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
445 cache_file
="$ac_optarg" ;;
447 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
449 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
451 datadir
="$ac_optarg" ;;
453 -disable-* | --disable-*)
454 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
455 # Reject names that are not valid shell variable names.
456 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
457 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
459 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
460 eval "enable_${ac_feature}=no" ;;
462 -enable-* | --enable-*)
463 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
464 # Reject names that are not valid shell variable names.
465 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
466 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
468 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
473 eval "enable_${ac_feature}='$ac_optarg'" ;;
475 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
476 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
477 | --exec | --exe | --ex)
478 ac_prev
=exec_prefix
;;
479 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
480 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
481 | --exec=* | --exe=* | --ex=*)
482 exec_prefix
="$ac_optarg" ;;
484 -gas | --gas | --ga | --g)
485 # Obsolete; use --with-gas.
488 -help | --help | --hel | --he)
489 # Omit some internal or obsolete options to make the list less imposing.
490 # This message is too long to be a string in the A/UX 3.1 sh.
492 Usage: configure [options] [host]
493 Options: [defaults in brackets after descriptions]
495 --cache-file=FILE cache test results in FILE
496 --help print this message
497 --no-create do not create output files
498 --quiet, --silent do not print \`checking...' messages
499 --version print the version of autoconf that created configure
500 Directory and file names:
501 --prefix=PREFIX install architecture-independent files in PREFIX
503 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
505 --bindir=DIR user executables in DIR [EPREFIX/bin]
506 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
507 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
508 --datadir=DIR read-only architecture-independent data in DIR
510 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
511 --sharedstatedir=DIR modifiable architecture-independent data in DIR
513 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
514 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
515 --includedir=DIR C header files in DIR [PREFIX/include]
516 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
517 --infodir=DIR info documentation in DIR [PREFIX/info]
518 --mandir=DIR man documentation in DIR [PREFIX/man]
519 --srcdir=DIR find the sources in DIR [configure dir or ..]
520 --program-prefix=PREFIX prepend PREFIX to installed program names
521 --program-suffix=SUFFIX append SUFFIX to installed program names
522 --program-transform-name=PROGRAM
523 run sed PROGRAM on installed program names
527 --build=BUILD configure for building on BUILD [BUILD=HOST]
528 --host=HOST configure for HOST [guessed]
529 --target=TARGET configure for TARGET [TARGET=HOST]
530 Features and packages:
531 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
532 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
533 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
534 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
535 --x-includes=DIR X include files are in DIR
536 --x-libraries=DIR X library files are in DIR
538 if test -n "$ac_help"; then
539 echo "--enable and --with options recognized:$ac_help"
543 -host | --host | --hos | --ho)
545 -host=* | --host=* | --hos=* | --ho=*)
548 -includedir | --includedir | --includedi | --included | --include \
549 | --includ | --inclu | --incl | --inc)
550 ac_prev
=includedir
;;
551 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
552 | --includ=* | --inclu=* | --incl=* | --inc=*)
553 includedir
="$ac_optarg" ;;
555 -infodir | --infodir | --infodi | --infod | --info | --inf)
557 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
558 infodir
="$ac_optarg" ;;
560 -libdir | --libdir | --libdi | --libd)
562 -libdir=* | --libdir=* | --libdi=* | --libd=*)
563 libdir
="$ac_optarg" ;;
565 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
566 | --libexe | --libex | --libe)
567 ac_prev
=libexecdir
;;
568 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
569 | --libexe=* | --libex=* | --libe=*)
570 libexecdir
="$ac_optarg" ;;
572 -localstatedir | --localstatedir | --localstatedi | --localstated \
573 | --localstate | --localstat | --localsta | --localst \
574 | --locals | --local | --loca | --loc | --lo)
575 ac_prev
=localstatedir
;;
576 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
577 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
578 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
579 localstatedir
="$ac_optarg" ;;
581 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
583 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
584 mandir
="$ac_optarg" ;;
587 # Obsolete; use --without-fp.
590 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
594 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
595 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
598 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
599 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
600 | --oldin | --oldi | --old | --ol | --o)
601 ac_prev
=oldincludedir
;;
602 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
603 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
604 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
605 oldincludedir
="$ac_optarg" ;;
607 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
609 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
610 prefix
="$ac_optarg" ;;
612 -program-prefix | --program-prefix | --program-prefi | --program-pref \
613 | --program-pre | --program-pr | --program-p)
614 ac_prev
=program_prefix
;;
615 -program-prefix=* | --program-prefix=* | --program-prefi=* \
616 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
617 program_prefix
="$ac_optarg" ;;
619 -program-suffix | --program-suffix | --program-suffi | --program-suff \
620 | --program-suf | --program-su | --program-s)
621 ac_prev
=program_suffix
;;
622 -program-suffix=* | --program-suffix=* | --program-suffi=* \
623 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
624 program_suffix
="$ac_optarg" ;;
626 -program-transform-name | --program-transform-name \
627 | --program-transform-nam | --program-transform-na \
628 | --program-transform-n | --program-transform- \
629 | --program-transform | --program-transfor \
630 | --program-transfo | --program-transf \
631 | --program-trans | --program-tran \
632 | --progr-tra | --program-tr | --program-t)
633 ac_prev
=program_transform_name
;;
634 -program-transform-name=* | --program-transform-name=* \
635 | --program-transform-nam=* | --program-transform-na=* \
636 | --program-transform-n=* | --program-transform-=* \
637 | --program-transform=* | --program-transfor=* \
638 | --program-transfo=* | --program-transf=* \
639 | --program-trans=* | --program-tran=* \
640 | --progr-tra=* | --program-tr=* | --program-t=*)
641 program_transform_name
="$ac_optarg" ;;
643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
644 | -silent | --silent | --silen | --sile | --sil)
647 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
649 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
651 sbindir
="$ac_optarg" ;;
653 -sharedstatedir | --sharedstatedir | --sharedstatedi \
654 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
655 | --sharedst | --shareds | --shared | --share | --shar \
657 ac_prev
=sharedstatedir
;;
658 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
659 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
660 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
662 sharedstatedir
="$ac_optarg" ;;
664 -site | --site | --sit)
666 -site=* | --site=* | --sit=*)
669 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
671 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
672 srcdir
="$ac_optarg" ;;
674 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
675 | --syscon | --sysco | --sysc | --sys | --sy)
676 ac_prev
=sysconfdir
;;
677 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
678 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
679 sysconfdir
="$ac_optarg" ;;
681 -target | --target | --targe | --targ | --tar | --ta | --t)
683 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
684 target
="$ac_optarg" ;;
686 -v | -verbose | --verbose | --verbos | --verbo | --verb)
689 -version | --version | --versio | --versi | --vers)
690 echo "configure generated by autoconf version 2.13"
694 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
695 # Reject names that are not valid shell variable names.
696 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
697 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
699 ac_package
=`echo $ac_package| sed 's/-/_/g'`
704 eval "with_${ac_package}='$ac_optarg'" ;;
706 -without-* | --without-*)
707 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
708 # Reject names that are not valid shell variable names.
709 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
710 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
712 ac_package
=`echo $ac_package| sed 's/-/_/g'`
713 eval "with_${ac_package}=no" ;;
716 # Obsolete; use --with-x.
719 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
720 | --x-incl | --x-inc | --x-in | --x-i)
721 ac_prev
=x_includes
;;
722 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
723 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
724 x_includes
="$ac_optarg" ;;
726 -x-libraries | --x-libraries | --x-librarie | --x-librari \
727 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
728 ac_prev
=x_libraries
;;
729 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
730 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
731 x_libraries
="$ac_optarg" ;;
733 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
737 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
738 echo "configure: warning: $ac_option: invalid host type" 1>&2
740 if test "x$nonopt" != xNONE
; then
741 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
749 if test -n "$ac_prev"; then
750 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
753 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
755 # File descriptor usage:
758 # 2 errors and warnings
759 # 3 some systems may open it to /dev/tty
760 # 4 used on the Kubota Titan
761 # 6 checking for... messages and results
762 # 5 compiler messages saved in config.log
763 if test "$silent" = yes; then
771 This file contains any messages produced by compilers while
772 running configure, to aid debugging if configure makes a mistake.
775 # Strip out --no-create and --no-recursion so they do not pile up.
776 # Also quote any args containing shell metacharacters.
781 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
782 | --no-cr | --no-c) ;;
783 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
784 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
785 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
786 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
787 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
792 # Only set these to C if already set. These must not be set unconditionally
793 # because not all systems understand e.g. LANG=C (notably SCO).
794 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
795 # Non-C LC_CTYPE values break the ctype check.
796 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
797 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
798 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
799 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
801 # confdefs.h avoids OS command line length limits that DEFS can exceed.
802 rm -rf conftest
* confdefs.h
803 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
806 # A filename unique to this package, relative to the directory that
807 # configure is in, which we can look for to find out if srcdir is correct.
808 ac_unique_file
=wx
-config.
in
810 # Find the source files, if location was not specified.
811 if test -z "$srcdir"; then
812 ac_srcdir_defaulted
=yes
813 # Try the directory containing this script, then its parent.
815 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
816 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
818 if test ! -r $srcdir/$ac_unique_file; then
822 ac_srcdir_defaulted
=no
824 if test ! -r $srcdir/$ac_unique_file; then
825 if test "$ac_srcdir_defaulted" = yes; then
826 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
828 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
831 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
833 # Prefer explicitly selected file to automatically selected ones.
834 if test -z "$CONFIG_SITE"; then
835 if test "x$prefix" != xNONE
; then
836 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
838 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
841 for ac_site_file
in $CONFIG_SITE; do
842 if test -r "$ac_site_file"; then
843 echo "loading site script $ac_site_file"
848 if test -r "$cache_file"; then
849 echo "loading cache $cache_file"
852 echo "creating cache $cache_file"
857 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
858 ac_cpp
='$CPP $CPPFLAGS'
859 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
860 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
861 cross_compiling
=$ac_cv_prog_cc_cross
865 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
866 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
867 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
874 ac_n
= ac_c
='\c' ac_t
=
880 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
881 if test -f $ac_dir/install-sh; then
883 ac_install_sh
="$ac_aux_dir/install-sh -c"
885 elif test -f $ac_dir/install.sh
; then
887 ac_install_sh
="$ac_aux_dir/install.sh -c"
891 if test -z "$ac_aux_dir"; then
892 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
894 ac_config_guess
=$ac_aux_dir/config.guess
895 ac_config_sub
=$ac_aux_dir/config.sub
896 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
899 # Do some error checking and defaulting for the host and target type.
901 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
904 # 1. You are not allowed to specify --host, --target, and nonopt at the
906 # 2. Host defaults to nonopt.
907 # 3. If nonopt is not specified, then host defaults to the current host,
908 # as determined by config.guess.
909 # 4. Target and build default to nonopt.
910 # 5. If nonopt is not specified, then target and build default to host.
912 # The aliases save the names the user supplied, while $host etc.
913 # will get canonicalized.
914 case $host---$target---$nonopt in
915 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
916 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
920 # Make sure we can run config.sub.
921 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
922 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
925 echo $ac_n "checking host system type""... $ac_c" 1>&6
926 echo "configure:927: checking host system type" >&5
929 case "$host_alias" in
933 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
934 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
936 *) host_alias
=$nonopt ;;
940 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
941 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
942 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
943 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
944 echo "$ac_t""$host" 1>&6
946 echo $ac_n "checking target system type""... $ac_c" 1>&6
947 echo "configure:948: checking target system type" >&5
950 case "$target_alias" in
953 NONE
) target_alias
=$host_alias ;;
954 *) target_alias
=$nonopt ;;
958 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
959 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
960 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
961 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
962 echo "$ac_t""$target" 1>&6
964 echo $ac_n "checking build system type""... $ac_c" 1>&6
965 echo "configure:966: checking build system type" >&5
968 case "$build_alias" in
971 NONE
) build_alias
=$host_alias ;;
972 *) build_alias
=$nonopt ;;
976 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
977 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
978 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
979 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
980 echo "$ac_t""$build" 1>&6
982 test "$host_alias" != "$target_alias" &&
983 test "$program_prefix$program_suffix$program_transform_name" = \
985 program_prefix
=${target_alias}-
989 WX_MAJOR_VERSION_NUMBER
=2
990 WX_MINOR_VERSION_NUMBER
=3
993 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
994 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1028 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1030 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1035 DEFAULT_wxUSE_MOTIF
=0
1038 DEFAULT_wxUSE_WINE
=0
1040 DEFAULT_DEFAULT_wxUSE_GTK
=0
1041 DEFAULT_DEFAULT_wxUSE_MAC
=0
1042 DEFAULT_DEFAULT_wxUSE_MGL
=0
1043 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1044 DEFAULT_DEFAULT_wxUSE_MSW
=0
1045 DEFAULT_DEFAULT_wxUSE_PM
=0
1046 DEFAULT_DEFAULT_wxUSE_WINE
=0
1053 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1054 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1055 cat >> confdefs.h
<<\EOF
1062 cat >> confdefs.h
<<\EOF
1067 if test "x$TMP" = "xalpha"; then
1069 cat >> confdefs.h
<<\EOF
1074 DEFAULT_DEFAULT_wxUSE_GTK
=1
1076 *-*-irix5* | *-*-irix6* )
1079 cat >> confdefs.h
<<\EOF
1083 cat >> confdefs.h
<<\EOF
1087 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1093 cat >> confdefs.h
<<\EOF
1097 cat >> confdefs.h
<<\EOF
1098 #define __SOLARIS__ 1
1101 cat >> confdefs.h
<<\EOF
1105 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1106 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1112 cat >> confdefs.h
<<\EOF
1116 cat >> confdefs.h
<<\EOF
1120 cat >> confdefs.h
<<\EOF
1124 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1129 cat >> confdefs.h
<<\EOF
1130 #define __FREEBSD__ 1
1133 cat >> confdefs.h
<<\EOF
1137 DEFAULT_DEFAULT_wxUSE_GTK
=1
1142 cat >> confdefs.h
<<\EOF
1143 #define __FREEBSD__ 1
1146 cat >> confdefs.h
<<\EOF
1147 #define __OPENBSD__ 1
1150 DEFAULT_DEFAULT_wxUSE_GTK
=1
1155 cat >> confdefs.h
<<\EOF
1156 #define __FREEBSD__ 1
1159 cat >> confdefs.h
<<\EOF
1160 #define __NETBSD__ 1
1163 DEFAULT_DEFAULT_wxUSE_GTK
=1
1168 cat >> confdefs.h
<<\EOF
1172 cat >> confdefs.h
<<\EOF
1176 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1177 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1182 cat >> confdefs.h
<<\EOF
1186 cat >> confdefs.h
<<\EOF
1190 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1203 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1209 cat >> confdefs.h
<<\EOF
1213 cat >> confdefs.h
<<\EOF
1217 cat >> confdefs.h
<<\EOF
1221 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1224 *-*-cygwin* | *-*-mingw32* )
1227 cat >> confdefs.h
<<\EOF
1231 cat >> confdefs.h
<<\EOF
1235 cat >> confdefs.h
<<\EOF
1236 #define __WINDOWS__ 1
1239 cat >> confdefs.h
<<\EOF
1240 #define __GNUWIN32__ 1
1243 cat >> confdefs.h
<<\EOF
1247 cat >> confdefs.h
<<\EOF
1248 #define WINVER 0x0400
1252 DEFAULT_DEFAULT_wxUSE_MSW
=1
1256 cat >> confdefs.h
<<\EOF
1261 DEFAULT_DEFAULT_wxUSE_PM
=1
1267 cat >> confdefs.h
<<\EOF
1271 cat >> confdefs.h
<<\EOF
1275 cat >> confdefs.h
<<\EOF
1279 DEFAULT_DEFAULT_wxUSE_MAC
=1
1284 cat >> confdefs.h
<<\EOF
1291 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1294 if test "$USE_UNIX" = 1 ; then
1296 cat >> confdefs.h
<<\EOF
1301 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1302 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1305 if test "$USE_BEOS" = 1; then
1306 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1307 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1310 if test "$USE_LINUX" = 1; then
1311 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1312 echo "configure:1313: checking for gettext in -lc" >&5
1313 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1314 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1315 echo $ac_n "(cached) $ac_c" 1>&6
1317 ac_save_LIBS
="$LIBS"
1319 cat > conftest.
$ac_ext <<EOF
1320 #line 1321 "configure"
1321 #include "confdefs.h"
1322 /* Override any gcc2 internal prototype to avoid an error. */
1323 /* We use char because int might match the return type of a gcc2
1324 builtin and then its argument prototype would still apply. */
1331 if { (eval echo configure
:1332: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1333 eval "ac_cv_lib_$ac_lib_var=yes"
1335 echo "configure: failed program was:" >&5
1336 cat conftest.
$ac_ext >&5
1338 eval "ac_cv_lib_$ac_lib_var=no"
1341 LIBS
="$ac_save_LIBS"
1344 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1345 echo "$ac_t""yes" 1>&6
1346 cat >> confdefs.h
<<\EOF
1347 #define wxHAVE_GLIBC2 1
1351 echo "$ac_t""no" 1>&6
1359 wx_arg_cache_file
="configarg.cache"
1360 echo "loading argument cache $wx_arg_cache_file"
1361 rm -f ${wx_arg_cache_file}.tmp
1362 touch ${wx_arg_cache_file}.tmp
1363 touch ${wx_arg_cache_file}
1367 if test $DEBUG_CONFIGURE = 1; then
1368 DEFAULT_wxUSE_UNIVERSAL
=no
1370 DEFAULT_wxUSE_THREADS
=yes
1372 DEFAULT_wxUSE_SHARED
=yes
1373 DEFAULT_wxUSE_BURNT_NAME
=no
1374 DEFAULT_wxUSE_OPTIMISE
=no
1375 DEFAULT_wxUSE_PROFILE
=no
1376 DEFAULT_wxUSE_NO_DEPS
=no
1377 DEFAULT_wxUSE_NO_RTTI
=no
1378 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1379 DEFAULT_wxUSE_PERMISSIVE
=no
1380 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1381 DEFAULT_wxUSE_DEBUG_INFO
=yes
1382 DEFAULT_wxUSE_DEBUG_GDB
=yes
1383 DEFAULT_wxUSE_MEM_TRACING
=no
1384 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1385 DEFAULT_wxUSE_DMALLOC
=no
1386 DEFAULT_wxUSE_APPLE_IEEE
=no
1388 DEFAULT_wxUSE_LOG
=yes
1389 DEFAULT_wxUSE_LOGWINDOW
=no
1390 DEFAULT_wxUSE_LOGGUI
=no
1392 DEFAULT_wxUSE_GUI
=yes
1393 DEFAULT_wxUSE_CONTROLS
=no
1395 DEFAULT_wxUSE_ZLIB
=no
1396 DEFAULT_wxUSE_LIBPNG
=no
1397 DEFAULT_wxUSE_LIBJPEG
=no
1398 DEFAULT_wxUSE_LIBTIFF
=no
1399 DEFAULT_wxUSE_ODBC
=no
1400 DEFAULT_wxUSE_FREETYPE
=no
1401 DEFAULT_wxUSE_OPENGL
=no
1403 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1404 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1405 DEFAULT_wxUSE_STD_IOSTREAM
=no
1406 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1407 DEFAULT_wxUSE_DATETIME
=no
1408 DEFAULT_wxUSE_TIMEDATE
=no
1409 DEFAULT_wxUSE_TIMER
=no
1410 DEFAULT_wxUSE_STOPWATCH
=no
1411 DEFAULT_wxUSE_FILE
=no
1412 DEFAULT_wxUSE_FFILE
=no
1413 DEFAULT_wxUSE_TEXTFILE
=no
1414 DEFAULT_wxUSE_WAVE
=no
1415 DEFAULT_wxUSE_INTL
=no
1416 DEFAULT_wxUSE_CONFIG
=no
1417 DEFAULT_wxUSE_FONTMAP
=no
1418 DEFAULT_wxUSE_STREAMS
=no
1419 DEFAULT_wxUSE_SOCKETS
=no
1420 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1421 DEFAULT_wxUSE_SERIAL
=no
1422 DEFAULT_wxUSE_JOYSTICK
=no
1423 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1424 DEFAULT_wxUSE_LONGLONG
=no
1425 DEFAULT_wxUSE_GEOMETRY
=no
1427 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1428 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1429 DEFAULT_wxUSE_POSTSCRIPT
=no
1431 DEFAULT_wxUSE_X_RESOURCES
=no
1432 DEFAULT_wxUSE_CLIPBOARD
=no
1433 DEFAULT_wxUSE_TOOLTIPS
=no
1434 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1435 DEFAULT_wxUSE_DRAGIMAGE
=no
1436 DEFAULT_wxUSE_SPLINES
=no
1438 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1439 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1440 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1442 DEFAULT_wxUSE_PROLOGIO
=no
1443 DEFAULT_wxUSE_RESOURCES
=no
1444 DEFAULT_wxUSE_CONSTRAINTS
=no
1445 DEFAULT_wxUSE_IPC
=no
1446 DEFAULT_wxUSE_HELP
=no
1447 DEFAULT_wxUSE_WXHTML_HELP
=no
1448 DEFAULT_wxUSE_WXTREE
=no
1449 DEFAULT_wxUSE_METAFILE
=no
1450 DEFAULT_wxUSE_MIMETYPE
=no
1452 DEFAULT_wxUSE_COMMONDLGS
=no
1453 DEFAULT_wxUSE_CHOICEDLG
=no
1454 DEFAULT_wxUSE_COLOURDLG
=no
1455 DEFAULT_wxUSE_DIRDLG
=no
1456 DEFAULT_wxUSE_FILEDLG
=no
1457 DEFAULT_wxUSE_FONTDLG
=no
1458 DEFAULT_wxUSE_MSGDLG
=no
1459 DEFAULT_wxUSE_NUMBERDLG
=no
1460 DEFAULT_wxUSE_TEXTDLG
=no
1461 DEFAULT_wxUSE_STARTUP_TIPS
=no
1462 DEFAULT_wxUSE_PROGRESSDLG
=no
1463 DEFAULT_wxUSE_WIZARDDLG
=no
1465 DEFAULT_wxUSE_MENUS
=no
1466 DEFAULT_wxUSE_MINIFRAME
=no
1467 DEFAULT_wxUSE_HTML
=no
1468 DEFAULT_wxUSE_FILESYSTEM
=no
1469 DEFAULT_wxUSE_FS_INET
=no
1470 DEFAULT_wxUSE_FS_ZIP
=no
1471 DEFAULT_wxUSE_BUSYINFO
=no
1472 DEFAULT_wxUSE_ZIPSTREAM
=no
1473 DEFAULT_wxUSE_VALIDATORS
=no
1475 DEFAULT_wxUSE_ACCEL
=no
1476 DEFAULT_wxUSE_BUTTON
=no
1477 DEFAULT_wxUSE_BMPBUTTON
=no
1478 DEFAULT_wxUSE_CALCTRL
=no
1479 DEFAULT_wxUSE_CARET
=no
1480 DEFAULT_wxUSE_CHECKBOX
=no
1481 DEFAULT_wxUSE_CHECKLST
=no
1482 DEFAULT_wxUSE_CHOICE
=no
1483 DEFAULT_wxUSE_COMBOBOX
=no
1484 DEFAULT_wxUSE_GAUGE
=no
1485 DEFAULT_wxUSE_GRID
=no
1486 DEFAULT_wxUSE_NEW_GRID
=no
1487 DEFAULT_wxUSE_IMAGLIST
=no
1488 DEFAULT_wxUSE_LISTBOX
=no
1489 DEFAULT_wxUSE_LISTCTRL
=no
1490 DEFAULT_wxUSE_NOTEBOOK
=no
1491 DEFAULT_wxUSE_RADIOBOX
=no
1492 DEFAULT_wxUSE_RADIOBTN
=no
1493 DEFAULT_wxUSE_SASH
=no
1494 DEFAULT_wxUSE_SCROLLBAR
=no
1495 DEFAULT_wxUSE_SLIDER
=no
1496 DEFAULT_wxUSE_SPINBTN
=no
1497 DEFAULT_wxUSE_SPINCTRL
=no
1498 DEFAULT_wxUSE_SPLITTER
=no
1499 DEFAULT_wxUSE_STATBMP
=no
1500 DEFAULT_wxUSE_STATBOX
=no
1501 DEFAULT_wxUSE_STATLINE
=no
1502 DEFAULT_wxUSE_STATTEXT
=no
1503 DEFAULT_wxUSE_STATUSBAR
=yes
1504 DEFAULT_wxUSE_TABDIALOG
=no
1505 DEFAULT_wxUSE_TEXTCTRL
=no
1506 DEFAULT_wxUSE_TOGGLEBTN
=no
1507 DEFAULT_wxUSE_TOOLBAR
=no
1508 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1509 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1510 DEFAULT_wxUSE_TREECTRL
=no
1511 DEFAULT_wxUSE_POPUPWIN
=no
1513 DEFAULT_wxUSE_UNICODE
=no
1514 DEFAULT_wxUSE_WCSRTOMBS
=no
1516 DEFAULT_wxUSE_IMAGE
=no
1517 DEFAULT_wxUSE_GIF
=no
1518 DEFAULT_wxUSE_PCX
=no
1519 DEFAULT_wxUSE_PNM
=no
1520 DEFAULT_wxUSE_XPM
=no
1522 DEFAULT_wxUSE_UNIVERSAL
=no
1524 DEFAULT_wxUSE_THREADS
=yes
1526 DEFAULT_wxUSE_SHARED
=yes
1527 DEFAULT_wxUSE_BURNT_NAME
=no
1528 DEFAULT_wxUSE_OPTIMISE
=yes
1529 DEFAULT_wxUSE_PROFILE
=no
1530 DEFAULT_wxUSE_NO_DEPS
=no
1531 DEFAULT_wxUSE_NO_RTTI
=no
1532 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1533 DEFAULT_wxUSE_PERMISSIVE
=no
1534 DEFAULT_wxUSE_DEBUG_FLAG
=no
1535 DEFAULT_wxUSE_DEBUG_INFO
=no
1536 DEFAULT_wxUSE_DEBUG_GDB
=no
1537 DEFAULT_wxUSE_MEM_TRACING
=no
1538 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1539 DEFAULT_wxUSE_DMALLOC
=no
1540 DEFAULT_wxUSE_APPLE_IEEE
=yes
1542 DEFAULT_wxUSE_LOG
=yes
1543 DEFAULT_wxUSE_LOGWINDOW
=yes
1544 DEFAULT_wxUSE_LOGGUI
=yes
1546 DEFAULT_wxUSE_GUI
=yes
1548 DEFAULT_wxUSE_ZLIB
=yes
1549 DEFAULT_wxUSE_LIBPNG
=yes
1550 DEFAULT_wxUSE_LIBJPEG
=yes
1551 DEFAULT_wxUSE_LIBTIFF
=yes
1552 DEFAULT_wxUSE_ODBC
=no
1553 DEFAULT_wxUSE_FREETYPE
=no
1554 DEFAULT_wxUSE_OPENGL
=no
1556 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1557 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1558 DEFAULT_wxUSE_STD_IOSTREAM
=no
1559 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1560 DEFAULT_wxUSE_DATETIME
=yes
1561 DEFAULT_wxUSE_TIMEDATE
=no
1562 DEFAULT_wxUSE_TIMER
=yes
1563 DEFAULT_wxUSE_STOPWATCH
=yes
1564 DEFAULT_wxUSE_FILE
=yes
1565 DEFAULT_wxUSE_FFILE
=yes
1566 DEFAULT_wxUSE_TEXTFILE
=yes
1567 DEFAULT_wxUSE_WAVE
=no
1568 DEFAULT_wxUSE_INTL
=yes
1569 DEFAULT_wxUSE_CONFIG
=yes
1570 DEFAULT_wxUSE_FONTMAP
=yes
1571 DEFAULT_wxUSE_STREAMS
=yes
1572 DEFAULT_wxUSE_SOCKETS
=yes
1573 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1574 DEFAULT_wxUSE_SERIAL
=yes
1575 DEFAULT_wxUSE_JOYSTICK
=yes
1576 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1577 DEFAULT_wxUSE_LONGLONG
=yes
1578 DEFAULT_wxUSE_GEOMETRY
=yes
1580 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1581 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1582 DEFAULT_wxUSE_POSTSCRIPT
=yes
1584 DEFAULT_wxUSE_X_RESOURCES
=no
1585 DEFAULT_wxUSE_CLIPBOARD
=yes
1586 DEFAULT_wxUSE_TOOLTIPS
=yes
1587 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1588 DEFAULT_wxUSE_DRAGIMAGE
=yes
1589 DEFAULT_wxUSE_SPLINES
=yes
1591 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1592 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1593 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1595 DEFAULT_wxUSE_PROLOGIO
=yes
1596 DEFAULT_wxUSE_RESOURCES
=yes
1597 DEFAULT_wxUSE_CONSTRAINTS
=yes
1598 DEFAULT_wxUSE_IPC
=yes
1599 DEFAULT_wxUSE_HELP
=yes
1600 DEFAULT_wxUSE_WXHTML_HELP
=yes
1601 DEFAULT_wxUSE_WXTREE
=yes
1602 DEFAULT_wxUSE_METAFILE
=yes
1603 DEFAULT_wxUSE_MIMETYPE
=yes
1605 DEFAULT_wxUSE_COMMONDLGS
=yes
1606 DEFAULT_wxUSE_CHOICEDLG
=yes
1607 DEFAULT_wxUSE_COLOURDLG
=yes
1608 DEFAULT_wxUSE_DIRDLG
=yes
1609 DEFAULT_wxUSE_FILEDLG
=yes
1610 DEFAULT_wxUSE_FONTDLG
=yes
1611 DEFAULT_wxUSE_MSGDLG
=yes
1612 DEFAULT_wxUSE_NUMBERDLG
=yes
1613 DEFAULT_wxUSE_TEXTDLG
=yes
1614 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1615 DEFAULT_wxUSE_PROGRESSDLG
=yes
1616 DEFAULT_wxUSE_WIZARDDLG
=yes
1618 DEFAULT_wxUSE_MENUS
=yes
1619 DEFAULT_wxUSE_MINIFRAME
=yes
1620 DEFAULT_wxUSE_HTML
=yes
1621 DEFAULT_wxUSE_FILESYSTEM
=yes
1622 DEFAULT_wxUSE_FS_INET
=yes
1623 DEFAULT_wxUSE_FS_ZIP
=yes
1624 DEFAULT_wxUSE_BUSYINFO
=yes
1625 DEFAULT_wxUSE_ZIPSTREAM
=yes
1626 DEFAULT_wxUSE_VALIDATORS
=yes
1628 DEFAULT_wxUSE_ACCEL
=yes
1629 DEFAULT_wxUSE_BUTTON
=yes
1630 DEFAULT_wxUSE_BMPBUTTON
=yes
1631 DEFAULT_wxUSE_CALCTRL
=yes
1632 DEFAULT_wxUSE_CARET
=yes
1633 DEFAULT_wxUSE_CHECKBOX
=yes
1634 DEFAULT_wxUSE_CHECKLST
=yes
1635 DEFAULT_wxUSE_CHOICE
=yes
1636 DEFAULT_wxUSE_COMBOBOX
=yes
1637 DEFAULT_wxUSE_GAUGE
=yes
1638 DEFAULT_wxUSE_GRID
=yes
1639 DEFAULT_wxUSE_NEW_GRID
=yes
1640 DEFAULT_wxUSE_IMAGLIST
=yes
1641 DEFAULT_wxUSE_LISTBOX
=yes
1642 DEFAULT_wxUSE_LISTCTRL
=yes
1643 DEFAULT_wxUSE_NOTEBOOK
=yes
1644 DEFAULT_wxUSE_RADIOBOX
=yes
1645 DEFAULT_wxUSE_RADIOBTN
=yes
1646 DEFAULT_wxUSE_SASH
=yes
1647 DEFAULT_wxUSE_SCROLLBAR
=yes
1648 DEFAULT_wxUSE_SLIDER
=yes
1649 DEFAULT_wxUSE_SPINBTN
=yes
1650 DEFAULT_wxUSE_SPINCTRL
=yes
1651 DEFAULT_wxUSE_SPLITTER
=yes
1652 DEFAULT_wxUSE_STATBMP
=yes
1653 DEFAULT_wxUSE_STATBOX
=yes
1654 DEFAULT_wxUSE_STATLINE
=yes
1655 DEFAULT_wxUSE_STATTEXT
=yes
1656 DEFAULT_wxUSE_STATUSBAR
=yes
1657 DEFAULT_wxUSE_TABDIALOG
=no
1658 DEFAULT_wxUSE_TEXTCTRL
=yes
1659 DEFAULT_wxUSE_TOGGLEBTN
=yes
1660 DEFAULT_wxUSE_TOOLBAR
=yes
1661 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1662 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1663 DEFAULT_wxUSE_TREECTRL
=yes
1664 DEFAULT_wxUSE_POPUPWIN
=yes
1666 DEFAULT_wxUSE_UNICODE
=no
1667 DEFAULT_wxUSE_WCSRTOMBS
=no
1669 DEFAULT_wxUSE_IMAGE
=yes
1670 DEFAULT_wxUSE_GIF
=yes
1671 DEFAULT_wxUSE_PCX
=yes
1672 DEFAULT_wxUSE_PNM
=yes
1673 DEFAULT_wxUSE_XPM
=yes
1678 for toolkit
in `echo $ALL_TOOLKITS`; do
1679 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1680 if test "x$LINE" != x
; then
1681 has_toolkit_in_cache
=1
1682 eval "DEFAULT_$LINE"
1683 eval "CACHE_$toolkit=1"
1689 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1690 echo "configure:1691: checking for --enable-gui" >&5
1692 # Check whether --enable-gui or --disable-gui was given.
1693 if test "${enable_gui+set}" = set; then
1694 enableval
="$enable_gui"
1696 if test "$enableval" = yes; then
1697 ac_cv_use_gui
='wxUSE_GUI=yes'
1699 ac_cv_use_gui
='wxUSE_GUI=no'
1704 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1705 if test "x$LINE" != x
; then
1706 eval "DEFAULT_$LINE"
1711 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1716 eval "$ac_cv_use_gui"
1717 if test "$no_cache" != 1; then
1718 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1721 if test "$wxUSE_GUI" = yes; then
1722 echo "$ac_t""yes" 1>&6
1724 echo "$ac_t""no" 1>&6
1728 if test "$wxUSE_GUI" = "yes"; then
1731 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1732 echo "configure:1733: checking for --enable-universal" >&5
1734 # Check whether --enable-universal or --disable-universal was given.
1735 if test "${enable_universal+set}" = set; then
1736 enableval
="$enable_universal"
1738 if test "$enableval" = yes; then
1739 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1741 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1746 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1747 if test "x$LINE" != x
; then
1748 eval "DEFAULT_$LINE"
1753 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1758 eval "$ac_cv_use_universal"
1759 if test "$no_cache" != 1; then
1760 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1763 if test "$wxUSE_UNIVERSAL" = yes; then
1764 echo "$ac_t""yes" 1>&6
1766 echo "$ac_t""no" 1>&6
1769 # Check whether --with-gtk or --without-gtk was given.
1770 if test "${with_gtk+set}" = set; then
1772 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1775 # Check whether --with-motif or --without-motif was given.
1776 if test "${with_motif+set}" = set; then
1777 withval
="$with_motif"
1778 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1781 # Check whether --with-mac or --without-mac was given.
1782 if test "${with_mac+set}" = set; then
1784 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1787 # Check whether --with-wine or --without-wine was given.
1788 if test "${with_wine+set}" = set; then
1789 withval
="$with_wine"
1790 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1793 # Check whether --with-cygwin or --without-cygwin was given.
1794 if test "${with_cygwin+set}" = set; then
1795 withval
="$with_cygwin"
1796 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1799 # Check whether --with-mingw or --without-mingw was given.
1800 if test "${with_mingw+set}" = set; then
1801 withval
="$with_mingw"
1802 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1805 # Check whether --with-pm or --without-pm was given.
1806 if test "${with_pm+set}" = set; then
1808 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1811 # Check whether --with-mgl or --without-mgl was given.
1812 if test "${with_mgl+set}" = set; then
1814 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1818 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1819 if test "${enable_gtk2+set}" = set; then
1820 enableval
="$enable_gtk2"
1828 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1829 echo "configure:1830: checking for --with-libpng" >&5
1831 # Check whether --with-libpng or --without-libpng was given.
1832 if test "${with_libpng+set}" = set; then
1833 withval
="$with_libpng"
1835 if test "$withval" = yes; then
1836 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1837 elif test "$withval" = no
; then
1838 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1839 elif test "$withval" = sys
; then
1840 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1842 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1847 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1848 if test "x$LINE" != x
; then
1849 eval "DEFAULT_$LINE"
1854 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1859 eval "$ac_cv_use_libpng"
1860 if test "$no_cache" != 1; then
1861 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1864 if test "$wxUSE_LIBPNG" = yes; then
1865 echo "$ac_t""yes" 1>&6
1866 elif test "$wxUSE_LIBPNG" = no
; then
1867 echo "$ac_t""no" 1>&6
1868 elif test "$wxUSE_LIBPNG" = sys
; then
1869 echo "$ac_t""system version" 1>&6
1871 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1875 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1876 echo "configure:1877: checking for --with-libjpeg" >&5
1878 # Check whether --with-libjpeg or --without-libjpeg was given.
1879 if test "${with_libjpeg+set}" = set; then
1880 withval
="$with_libjpeg"
1882 if test "$withval" = yes; then
1883 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1884 elif test "$withval" = no
; then
1885 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1886 elif test "$withval" = sys
; then
1887 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1889 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1894 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1895 if test "x$LINE" != x
; then
1896 eval "DEFAULT_$LINE"
1901 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1906 eval "$ac_cv_use_libjpeg"
1907 if test "$no_cache" != 1; then
1908 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1911 if test "$wxUSE_LIBJPEG" = yes; then
1912 echo "$ac_t""yes" 1>&6
1913 elif test "$wxUSE_LIBJPEG" = no
; then
1914 echo "$ac_t""no" 1>&6
1915 elif test "$wxUSE_LIBJPEG" = sys
; then
1916 echo "$ac_t""system version" 1>&6
1918 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1922 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1923 echo "configure:1924: checking for --with-libtiff" >&5
1925 # Check whether --with-libtiff or --without-libtiff was given.
1926 if test "${with_libtiff+set}" = set; then
1927 withval
="$with_libtiff"
1929 if test "$withval" = yes; then
1930 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1931 elif test "$withval" = no
; then
1932 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1933 elif test "$withval" = sys
; then
1934 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1936 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1941 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1942 if test "x$LINE" != x
; then
1943 eval "DEFAULT_$LINE"
1948 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1953 eval "$ac_cv_use_libtiff"
1954 if test "$no_cache" != 1; then
1955 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1958 if test "$wxUSE_LIBTIFF" = yes; then
1959 echo "$ac_t""yes" 1>&6
1960 elif test "$wxUSE_LIBTIFF" = no
; then
1961 echo "$ac_t""no" 1>&6
1962 elif test "$wxUSE_LIBTIFF" = sys
; then
1963 echo "$ac_t""system version" 1>&6
1965 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1969 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1970 echo "configure:1971: checking for --with-freetype" >&5
1972 # Check whether --with-freetype or --without-freetype was given.
1973 if test "${with_freetype+set}" = set; then
1974 withval
="$with_freetype"
1976 if test "$withval" = yes; then
1977 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1978 elif test "$withval" = no
; then
1979 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1980 elif test "$withval" = sys
; then
1981 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1983 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1988 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1989 if test "x$LINE" != x
; then
1990 eval "DEFAULT_$LINE"
1995 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2000 eval "$ac_cv_use_freetype"
2001 if test "$no_cache" != 1; then
2002 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2005 if test "$wxUSE_FREETYPE" = yes; then
2006 echo "$ac_t""yes" 1>&6
2007 elif test "$wxUSE_FREETYPE" = no
; then
2008 echo "$ac_t""no" 1>&6
2009 elif test "$wxUSE_FREETYPE" = sys
; then
2010 echo "$ac_t""system version" 1>&6
2012 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2016 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2017 echo "configure:2018: checking for --with-opengl" >&5
2019 # Check whether --with-opengl or --without-opengl was given.
2020 if test "${with_opengl+set}" = set; then
2021 withval
="$with_opengl"
2023 if test "$withval" = yes; then
2024 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2026 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2031 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2032 if test "x$LINE" != x
; then
2033 eval "DEFAULT_$LINE"
2038 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2043 eval "$ac_cv_use_opengl"
2044 if test "$no_cache" != 1; then
2045 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2048 if test "$wxUSE_OPENGL" = yes; then
2049 echo "$ac_t""yes" 1>&6
2051 echo "$ac_t""no" 1>&6
2058 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2059 echo "configure:2060: checking for --with-dmalloc" >&5
2061 # Check whether --with-dmalloc or --without-dmalloc was given.
2062 if test "${with_dmalloc+set}" = set; then
2063 withval
="$with_dmalloc"
2065 if test "$withval" = yes; then
2066 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2068 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2073 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2074 if test "x$LINE" != x
; then
2075 eval "DEFAULT_$LINE"
2080 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2085 eval "$ac_cv_use_dmalloc"
2086 if test "$no_cache" != 1; then
2087 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2090 if test "$wxUSE_DMALLOC" = yes; then
2091 echo "$ac_t""yes" 1>&6
2093 echo "$ac_t""no" 1>&6
2097 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2098 echo "configure:2099: checking for --with-zlib" >&5
2100 # Check whether --with-zlib or --without-zlib was given.
2101 if test "${with_zlib+set}" = set; then
2102 withval
="$with_zlib"
2104 if test "$withval" = yes; then
2105 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2106 elif test "$withval" = no
; then
2107 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2108 elif test "$withval" = sys
; then
2109 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2111 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2116 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2117 if test "x$LINE" != x
; then
2118 eval "DEFAULT_$LINE"
2123 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2128 eval "$ac_cv_use_zlib"
2129 if test "$no_cache" != 1; then
2130 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2133 if test "$wxUSE_ZLIB" = yes; then
2134 echo "$ac_t""yes" 1>&6
2135 elif test "$wxUSE_ZLIB" = no
; then
2136 echo "$ac_t""no" 1>&6
2137 elif test "$wxUSE_ZLIB" = sys
; then
2138 echo "$ac_t""system version" 1>&6
2140 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2144 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2145 echo "configure:2146: checking for --with-odbc" >&5
2147 # Check whether --with-odbc or --without-odbc was given.
2148 if test "${with_odbc+set}" = set; then
2149 withval
="$with_odbc"
2151 if test "$withval" = yes; then
2152 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2154 ac_cv_use_odbc
='wxUSE_ODBC=no'
2159 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2160 if test "x$LINE" != x
; then
2161 eval "DEFAULT_$LINE"
2166 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2171 eval "$ac_cv_use_odbc"
2172 if test "$no_cache" != 1; then
2173 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2176 if test "$wxUSE_ODBC" = yes; then
2177 echo "$ac_t""yes" 1>&6
2179 echo "$ac_t""no" 1>&6
2186 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2187 echo "configure:2188: checking for --enable-shared" >&5
2189 # Check whether --enable-shared or --disable-shared was given.
2190 if test "${enable_shared+set}" = set; then
2191 enableval
="$enable_shared"
2193 if test "$enableval" = yes; then
2194 ac_cv_use_shared
='wxUSE_SHARED=yes'
2196 ac_cv_use_shared
='wxUSE_SHARED=no'
2201 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2202 if test "x$LINE" != x
; then
2203 eval "DEFAULT_$LINE"
2208 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2213 eval "$ac_cv_use_shared"
2214 if test "$no_cache" != 1; then
2215 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2218 if test "$wxUSE_SHARED" = yes; then
2219 echo "$ac_t""yes" 1>&6
2221 echo "$ac_t""no" 1>&6
2225 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2226 echo "configure:2227: checking for --enable-burnt_name" >&5
2228 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2229 if test "${enable_burnt_name+set}" = set; then
2230 enableval
="$enable_burnt_name"
2232 if test "$enableval" = yes; then
2233 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2235 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2240 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2241 if test "x$LINE" != x
; then
2242 eval "DEFAULT_$LINE"
2247 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2252 eval "$ac_cv_use_burnt_name"
2253 if test "$no_cache" != 1; then
2254 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2257 if test "$wxUSE_BURNT_NAME" = yes; then
2258 echo "$ac_t""yes" 1>&6
2260 echo "$ac_t""no" 1>&6
2264 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2265 echo "configure:2266: checking for --enable-optimise" >&5
2267 # Check whether --enable-optimise or --disable-optimise was given.
2268 if test "${enable_optimise+set}" = set; then
2269 enableval
="$enable_optimise"
2271 if test "$enableval" = yes; then
2272 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2274 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2279 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2280 if test "x$LINE" != x
; then
2281 eval "DEFAULT_$LINE"
2286 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2291 eval "$ac_cv_use_optimise"
2292 if test "$no_cache" != 1; then
2293 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2296 if test "$wxUSE_OPTIMISE" = yes; then
2297 echo "$ac_t""yes" 1>&6
2299 echo "$ac_t""no" 1>&6
2303 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2304 echo "configure:2305: checking for --enable-debug" >&5
2306 # Check whether --enable-debug or --disable-debug was given.
2307 if test "${enable_debug+set}" = set; then
2308 enableval
="$enable_debug"
2310 if test "$enableval" = yes; then
2311 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2313 ac_cv_use_debug
='wxUSE_DEBUG=no'
2318 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2319 if test "x$LINE" != x
; then
2320 eval "DEFAULT_$LINE"
2325 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2330 eval "$ac_cv_use_debug"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2335 if test "$wxUSE_DEBUG" = yes; then
2336 echo "$ac_t""yes" 1>&6
2338 echo "$ac_t""no" 1>&6
2342 if test "$wxUSE_DEBUG" = "yes"; then
2343 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2344 DEFAULT_wxUSE_DEBUG_INFO
=yes
2345 elif test "$wxUSE_DEBUG" = "no"; then
2346 DEFAULT_wxUSE_DEBUG_FLAG
=no
2347 DEFAULT_wxUSE_DEBUG_INFO
=no
2351 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2352 echo "configure:2353: checking for --enable-debug_flag" >&5
2354 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2355 if test "${enable_debug_flag+set}" = set; then
2356 enableval
="$enable_debug_flag"
2358 if test "$enableval" = yes; then
2359 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2361 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2366 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2367 if test "x$LINE" != x
; then
2368 eval "DEFAULT_$LINE"
2373 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2378 eval "$ac_cv_use_debug_flag"
2379 if test "$no_cache" != 1; then
2380 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2383 if test "$wxUSE_DEBUG_FLAG" = yes; then
2384 echo "$ac_t""yes" 1>&6
2386 echo "$ac_t""no" 1>&6
2390 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2391 echo "configure:2392: checking for --enable-debug_info" >&5
2393 # Check whether --enable-debug_info or --disable-debug_info was given.
2394 if test "${enable_debug_info+set}" = set; then
2395 enableval
="$enable_debug_info"
2397 if test "$enableval" = yes; then
2398 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2400 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2405 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2406 if test "x$LINE" != x
; then
2407 eval "DEFAULT_$LINE"
2412 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2417 eval "$ac_cv_use_debug_info"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2422 if test "$wxUSE_DEBUG_INFO" = yes; then
2423 echo "$ac_t""yes" 1>&6
2425 echo "$ac_t""no" 1>&6
2429 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2430 echo "configure:2431: checking for --enable-debug_gdb" >&5
2432 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2433 if test "${enable_debug_gdb+set}" = set; then
2434 enableval
="$enable_debug_gdb"
2436 if test "$enableval" = yes; then
2437 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2439 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2444 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2445 if test "x$LINE" != x
; then
2446 eval "DEFAULT_$LINE"
2451 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2456 eval "$ac_cv_use_debug_gdb"
2457 if test "$no_cache" != 1; then
2458 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2461 if test "$wxUSE_DEBUG_GDB" = yes; then
2462 echo "$ac_t""yes" 1>&6
2464 echo "$ac_t""no" 1>&6
2468 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2469 echo "configure:2470: checking for --enable-debug_cntxt" >&5
2471 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2472 if test "${enable_debug_cntxt+set}" = set; then
2473 enableval
="$enable_debug_cntxt"
2475 if test "$enableval" = yes; then
2476 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2478 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2483 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2484 if test "x$LINE" != x
; then
2485 eval "DEFAULT_$LINE"
2490 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2495 eval "$ac_cv_use_debug_cntxt"
2496 if test "$no_cache" != 1; then
2497 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2500 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2501 echo "$ac_t""yes" 1>&6
2503 echo "$ac_t""no" 1>&6
2507 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2508 echo "configure:2509: checking for --enable-mem_tracing" >&5
2510 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2511 if test "${enable_mem_tracing+set}" = set; then
2512 enableval
="$enable_mem_tracing"
2514 if test "$enableval" = yes; then
2515 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2517 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2522 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2523 if test "x$LINE" != x
; then
2524 eval "DEFAULT_$LINE"
2529 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2534 eval "$ac_cv_use_mem_tracing"
2535 if test "$no_cache" != 1; then
2536 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2539 if test "$wxUSE_MEM_TRACING" = yes; then
2540 echo "$ac_t""yes" 1>&6
2542 echo "$ac_t""no" 1>&6
2546 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2547 echo "configure:2548: checking for --enable-profile" >&5
2549 # Check whether --enable-profile or --disable-profile was given.
2550 if test "${enable_profile+set}" = set; then
2551 enableval
="$enable_profile"
2553 if test "$enableval" = yes; then
2554 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2556 ac_cv_use_profile
='wxUSE_PROFILE=no'
2561 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2562 if test "x$LINE" != x
; then
2563 eval "DEFAULT_$LINE"
2568 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2573 eval "$ac_cv_use_profile"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2578 if test "$wxUSE_PROFILE" = yes; then
2579 echo "$ac_t""yes" 1>&6
2581 echo "$ac_t""no" 1>&6
2585 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2586 echo "configure:2587: checking for --enable-no_rtti" >&5
2588 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2589 if test "${enable_no_rtti+set}" = set; then
2590 enableval
="$enable_no_rtti"
2592 if test "$enableval" = yes; then
2593 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2595 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2600 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2601 if test "x$LINE" != x
; then
2602 eval "DEFAULT_$LINE"
2607 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2612 eval "$ac_cv_use_no_rtti"
2613 if test "$no_cache" != 1; then
2614 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2617 if test "$wxUSE_NO_RTTI" = yes; then
2618 echo "$ac_t""yes" 1>&6
2620 echo "$ac_t""no" 1>&6
2624 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2625 echo "configure:2626: checking for --enable-no_exceptions" >&5
2627 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2628 if test "${enable_no_exceptions+set}" = set; then
2629 enableval
="$enable_no_exceptions"
2631 if test "$enableval" = yes; then
2632 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2634 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2639 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2640 if test "x$LINE" != x
; then
2641 eval "DEFAULT_$LINE"
2646 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2651 eval "$ac_cv_use_no_exceptions"
2652 if test "$no_cache" != 1; then
2653 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2656 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2657 echo "$ac_t""yes" 1>&6
2659 echo "$ac_t""no" 1>&6
2663 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2664 echo "configure:2665: checking for --enable-permissive" >&5
2666 # Check whether --enable-permissive or --disable-permissive was given.
2667 if test "${enable_permissive+set}" = set; then
2668 enableval
="$enable_permissive"
2670 if test "$enableval" = yes; then
2671 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2673 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2678 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2679 if test "x$LINE" != x
; then
2680 eval "DEFAULT_$LINE"
2685 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2690 eval "$ac_cv_use_permissive"
2691 if test "$no_cache" != 1; then
2692 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2695 if test "$wxUSE_PERMISSIVE" = yes; then
2696 echo "$ac_t""yes" 1>&6
2698 echo "$ac_t""no" 1>&6
2702 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2703 echo "configure:2704: checking for --enable-no_deps" >&5
2705 # Check whether --enable-no_deps or --disable-no_deps was given.
2706 if test "${enable_no_deps+set}" = set; then
2707 enableval
="$enable_no_deps"
2709 if test "$enableval" = yes; then
2710 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2712 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2717 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2718 if test "x$LINE" != x
; then
2719 eval "DEFAULT_$LINE"
2724 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2729 eval "$ac_cv_use_no_deps"
2730 if test "$no_cache" != 1; then
2731 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2734 if test "$wxUSE_NO_DEPS" = yes; then
2735 echo "$ac_t""yes" 1>&6
2737 echo "$ac_t""no" 1>&6
2742 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2743 echo "configure:2744: checking for --enable-compat20" >&5
2745 # Check whether --enable-compat20 or --disable-compat20 was given.
2746 if test "${enable_compat20+set}" = set; then
2747 enableval
="$enable_compat20"
2749 if test "$enableval" = yes; then
2750 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2752 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2757 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2758 if test "x$LINE" != x
; then
2759 eval "DEFAULT_$LINE"
2764 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2769 eval "$ac_cv_use_compat20"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2774 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2775 echo "$ac_t""yes" 1>&6
2777 echo "$ac_t""no" 1>&6
2781 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2782 echo "configure:2783: checking for --enable-compat22" >&5
2784 # Check whether --enable-compat22 or --disable-compat22 was given.
2785 if test "${enable_compat22+set}" = set; then
2786 enableval
="$enable_compat22"
2788 if test "$enableval" = yes; then
2789 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2791 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2796 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2797 if test "x$LINE" != x
; then
2798 eval "DEFAULT_$LINE"
2803 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2808 eval "$ac_cv_use_compat22"
2809 if test "$no_cache" != 1; then
2810 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2813 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2814 echo "$ac_t""yes" 1>&6
2816 echo "$ac_t""no" 1>&6
2822 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2823 echo "configure:2824: checking for --enable-intl" >&5
2825 # Check whether --enable-intl or --disable-intl was given.
2826 if test "${enable_intl+set}" = set; then
2827 enableval
="$enable_intl"
2829 if test "$enableval" = yes; then
2830 ac_cv_use_intl
='wxUSE_INTL=yes'
2832 ac_cv_use_intl
='wxUSE_INTL=no'
2837 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x
; then
2839 eval "DEFAULT_$LINE"
2844 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2849 eval "$ac_cv_use_intl"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2854 if test "$wxUSE_INTL" = yes; then
2855 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no" 1>&6
2861 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2862 echo "configure:2863: checking for --enable-config" >&5
2864 # Check whether --enable-config or --disable-config was given.
2865 if test "${enable_config+set}" = set; then
2866 enableval
="$enable_config"
2868 if test "$enableval" = yes; then
2869 ac_cv_use_config
='wxUSE_CONFIG=yes'
2871 ac_cv_use_config
='wxUSE_CONFIG=no'
2876 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2877 if test "x$LINE" != x
; then
2878 eval "DEFAULT_$LINE"
2883 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2888 eval "$ac_cv_use_config"
2889 if test "$no_cache" != 1; then
2890 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2893 if test "$wxUSE_CONFIG" = yes; then
2894 echo "$ac_t""yes" 1>&6
2896 echo "$ac_t""no" 1>&6
2901 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2902 echo "configure:2903: checking for --enable-sockets" >&5
2904 # Check whether --enable-sockets or --disable-sockets was given.
2905 if test "${enable_sockets+set}" = set; then
2906 enableval
="$enable_sockets"
2908 if test "$enableval" = yes; then
2909 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2911 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2916 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x
; then
2918 eval "DEFAULT_$LINE"
2923 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2928 eval "$ac_cv_use_sockets"
2929 if test "$no_cache" != 1; then
2930 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2933 if test "$wxUSE_SOCKETS" = yes; then
2934 echo "$ac_t""yes" 1>&6
2936 echo "$ac_t""no" 1>&6
2941 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2942 echo "configure:2943: checking for --enable-ipc" >&5
2944 # Check whether --enable-ipc or --disable-ipc was given.
2945 if test "${enable_ipc+set}" = set; then
2946 enableval
="$enable_ipc"
2948 if test "$enableval" = yes; then
2949 ac_cv_use_ipc
='wxUSE_IPC=yes'
2951 ac_cv_use_ipc
='wxUSE_IPC=no'
2956 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x
; then
2958 eval "DEFAULT_$LINE"
2963 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2968 eval "$ac_cv_use_ipc"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2973 if test "$wxUSE_IPC" = yes; then
2974 echo "$ac_t""yes" 1>&6
2976 echo "$ac_t""no" 1>&6
2981 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2982 echo "configure:2983: checking for --enable-cmdline" >&5
2984 # Check whether --enable-cmdline or --disable-cmdline was given.
2985 if test "${enable_cmdline+set}" = set; then
2986 enableval
="$enable_cmdline"
2988 if test "$enableval" = yes; then
2989 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2991 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2996 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2997 if test "x$LINE" != x
; then
2998 eval "DEFAULT_$LINE"
3003 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3008 eval "$ac_cv_use_cmdline"
3009 if test "$no_cache" != 1; then
3010 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3013 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3014 echo "$ac_t""yes" 1>&6
3016 echo "$ac_t""no" 1>&6
3020 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3021 echo "configure:3022: checking for --enable-datetime" >&5
3023 # Check whether --enable-datetime or --disable-datetime was given.
3024 if test "${enable_datetime+set}" = set; then
3025 enableval
="$enable_datetime"
3027 if test "$enableval" = yes; then
3028 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3030 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3035 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x
; then
3037 eval "DEFAULT_$LINE"
3042 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3047 eval "$ac_cv_use_datetime"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3052 if test "$wxUSE_DATETIME" = yes; then
3053 echo "$ac_t""yes" 1>&6
3055 echo "$ac_t""no" 1>&6
3059 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3060 echo "configure:3061: checking for --enable-timedate" >&5
3062 # Check whether --enable-timedate or --disable-timedate was given.
3063 if test "${enable_timedate+set}" = set; then
3064 enableval
="$enable_timedate"
3066 if test "$enableval" = yes; then
3067 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3069 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3074 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3075 if test "x$LINE" != x
; then
3076 eval "DEFAULT_$LINE"
3081 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3086 eval "$ac_cv_use_timedate"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3091 if test "$wxUSE_TIMEDATE" = yes; then
3092 echo "$ac_t""yes" 1>&6
3094 echo "$ac_t""no" 1>&6
3098 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3099 echo "configure:3100: checking for --enable-stopwatch" >&5
3101 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3102 if test "${enable_stopwatch+set}" = set; then
3103 enableval
="$enable_stopwatch"
3105 if test "$enableval" = yes; then
3106 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3108 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3113 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x
; then
3115 eval "DEFAULT_$LINE"
3120 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3125 eval "$ac_cv_use_stopwatch"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3130 if test "$wxUSE_STOPWATCH" = yes; then
3131 echo "$ac_t""yes" 1>&6
3133 echo "$ac_t""no" 1>&6
3137 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3138 echo "configure:3139: checking for --enable-dialupman" >&5
3140 # Check whether --enable-dialupman or --disable-dialupman was given.
3141 if test "${enable_dialupman+set}" = set; then
3142 enableval
="$enable_dialupman"
3144 if test "$enableval" = yes; then
3145 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3147 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3152 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x
; then
3154 eval "DEFAULT_$LINE"
3159 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3164 eval "$ac_cv_use_dialupman"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3169 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3170 echo "$ac_t""yes" 1>&6
3172 echo "$ac_t""no" 1>&6
3176 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3177 echo "configure:3178: checking for --enable-apple_ieee" >&5
3179 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3180 if test "${enable_apple_ieee+set}" = set; then
3181 enableval
="$enable_apple_ieee"
3183 if test "$enableval" = yes; then
3184 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3186 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3191 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3192 if test "x$LINE" != x
; then
3193 eval "DEFAULT_$LINE"
3198 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3203 eval "$ac_cv_use_apple_ieee"
3204 if test "$no_cache" != 1; then
3205 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3208 if test "$wxUSE_APPLE_IEEE" = yes; then
3209 echo "$ac_t""yes" 1>&6
3211 echo "$ac_t""no" 1>&6
3215 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3216 echo "configure:3217: checking for --enable-timer" >&5
3218 # Check whether --enable-timer or --disable-timer was given.
3219 if test "${enable_timer+set}" = set; then
3220 enableval
="$enable_timer"
3222 if test "$enableval" = yes; then
3223 ac_cv_use_timer
='wxUSE_TIMER=yes'
3225 ac_cv_use_timer
='wxUSE_TIMER=no'
3230 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x
; then
3232 eval "DEFAULT_$LINE"
3237 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3242 eval "$ac_cv_use_timer"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3247 if test "$wxUSE_TIMER" = yes; then
3248 echo "$ac_t""yes" 1>&6
3250 echo "$ac_t""no" 1>&6
3254 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3255 echo "configure:3256: checking for --enable-wave" >&5
3257 # Check whether --enable-wave or --disable-wave was given.
3258 if test "${enable_wave+set}" = set; then
3259 enableval
="$enable_wave"
3261 if test "$enableval" = yes; then
3262 ac_cv_use_wave
='wxUSE_WAVE=yes'
3264 ac_cv_use_wave
='wxUSE_WAVE=no'
3269 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3270 if test "x$LINE" != x
; then
3271 eval "DEFAULT_$LINE"
3276 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3281 eval "$ac_cv_use_wave"
3282 if test "$no_cache" != 1; then
3283 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3286 if test "$wxUSE_WAVE" = yes; then
3287 echo "$ac_t""yes" 1>&6
3289 echo "$ac_t""no" 1>&6
3293 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3294 echo "configure:3295: checking for --enable-fraction" >&5
3296 # Check whether --enable-fraction or --disable-fraction was given.
3297 if test "${enable_fraction+set}" = set; then
3298 enableval
="$enable_fraction"
3300 if test "$enableval" = yes; then
3301 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3303 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3308 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3309 if test "x$LINE" != x
; then
3310 eval "DEFAULT_$LINE"
3315 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3320 eval "$ac_cv_use_fraction"
3321 if test "$no_cache" != 1; then
3322 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3325 if test "$wxUSE_FRACTION" = yes; then
3326 echo "$ac_t""yes" 1>&6
3328 echo "$ac_t""no" 1>&6
3332 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3333 echo "configure:3334: checking for --enable-dynlib" >&5
3335 # Check whether --enable-dynlib or --disable-dynlib was given.
3336 if test "${enable_dynlib+set}" = set; then
3337 enableval
="$enable_dynlib"
3339 if test "$enableval" = yes; then
3340 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3342 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3347 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3359 eval "$ac_cv_use_dynlib"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3365 echo "$ac_t""yes" 1>&6
3367 echo "$ac_t""no" 1>&6
3371 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3372 echo "configure:3373: checking for --enable-longlong" >&5
3374 # Check whether --enable-longlong or --disable-longlong was given.
3375 if test "${enable_longlong+set}" = set; then
3376 enableval
="$enable_longlong"
3378 if test "$enableval" = yes; then
3379 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3381 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3386 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x
; then
3388 eval "DEFAULT_$LINE"
3393 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3398 eval "$ac_cv_use_longlong"
3399 if test "$no_cache" != 1; then
3400 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3403 if test "$wxUSE_LONGLONG" = yes; then
3404 echo "$ac_t""yes" 1>&6
3406 echo "$ac_t""no" 1>&6
3410 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3411 echo "configure:3412: checking for --enable-geometry" >&5
3413 # Check whether --enable-geometry or --disable-geometry was given.
3414 if test "${enable_geometry+set}" = set; then
3415 enableval
="$enable_geometry"
3417 if test "$enableval" = yes; then
3418 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3420 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3425 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3426 if test "x$LINE" != x
; then
3427 eval "DEFAULT_$LINE"
3432 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3437 eval "$ac_cv_use_geometry"
3438 if test "$no_cache" != 1; then
3439 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3442 if test "$wxUSE_GEOMETRY" = yes; then
3443 echo "$ac_t""yes" 1>&6
3445 echo "$ac_t""no" 1>&6
3449 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3450 echo "configure:3451: checking for --enable-log" >&5
3452 # Check whether --enable-log or --disable-log was given.
3453 if test "${enable_log+set}" = set; then
3454 enableval
="$enable_log"
3456 if test "$enableval" = yes; then
3457 ac_cv_use_log
='wxUSE_LOG=yes'
3459 ac_cv_use_log
='wxUSE_LOG=no'
3464 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3465 if test "x$LINE" != x
; then
3466 eval "DEFAULT_$LINE"
3471 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3476 eval "$ac_cv_use_log"
3477 if test "$no_cache" != 1; then
3478 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3481 if test "$wxUSE_LOG" = yes; then
3482 echo "$ac_t""yes" 1>&6
3484 echo "$ac_t""no" 1>&6
3488 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3489 echo "configure:3490: checking for --enable-streams" >&5
3491 # Check whether --enable-streams or --disable-streams was given.
3492 if test "${enable_streams+set}" = set; then
3493 enableval
="$enable_streams"
3495 if test "$enableval" = yes; then
3496 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3498 ac_cv_use_streams
='wxUSE_STREAMS=no'
3503 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x
; then
3505 eval "DEFAULT_$LINE"
3510 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3515 eval "$ac_cv_use_streams"
3516 if test "$no_cache" != 1; then
3517 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3520 if test "$wxUSE_STREAMS" = yes; then
3521 echo "$ac_t""yes" 1>&6
3523 echo "$ac_t""no" 1>&6
3527 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3528 echo "configure:3529: checking for --enable-file" >&5
3530 # Check whether --enable-file or --disable-file was given.
3531 if test "${enable_file+set}" = set; then
3532 enableval
="$enable_file"
3534 if test "$enableval" = yes; then
3535 ac_cv_use_file
='wxUSE_FILE=yes'
3537 ac_cv_use_file
='wxUSE_FILE=no'
3542 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3543 if test "x$LINE" != x
; then
3544 eval "DEFAULT_$LINE"
3549 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3554 eval "$ac_cv_use_file"
3555 if test "$no_cache" != 1; then
3556 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3559 if test "$wxUSE_FILE" = yes; then
3560 echo "$ac_t""yes" 1>&6
3562 echo "$ac_t""no" 1>&6
3566 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3567 echo "configure:3568: checking for --enable-ffile" >&5
3569 # Check whether --enable-ffile or --disable-ffile was given.
3570 if test "${enable_ffile+set}" = set; then
3571 enableval
="$enable_ffile"
3573 if test "$enableval" = yes; then
3574 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3576 ac_cv_use_ffile
='wxUSE_FFILE=no'
3581 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x
; then
3583 eval "DEFAULT_$LINE"
3588 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3593 eval "$ac_cv_use_ffile"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_FFILE" = yes; then
3599 echo "$ac_t""yes" 1>&6
3601 echo "$ac_t""no" 1>&6
3605 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3606 echo "configure:3607: checking for --enable-textfile" >&5
3608 # Check whether --enable-textfile or --disable-textfile was given.
3609 if test "${enable_textfile+set}" = set; then
3610 enableval
="$enable_textfile"
3612 if test "$enableval" = yes; then
3613 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3615 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3620 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3621 if test "x$LINE" != x
; then
3622 eval "DEFAULT_$LINE"
3627 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3632 eval "$ac_cv_use_textfile"
3633 if test "$no_cache" != 1; then
3634 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3637 if test "$wxUSE_TEXTFILE" = yes; then
3638 echo "$ac_t""yes" 1>&6
3640 echo "$ac_t""no" 1>&6
3644 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3645 echo "configure:3646: checking for --enable-fontmap" >&5
3647 # Check whether --enable-fontmap or --disable-fontmap was given.
3648 if test "${enable_fontmap+set}" = set; then
3649 enableval
="$enable_fontmap"
3651 if test "$enableval" = yes; then
3652 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3654 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3659 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3660 if test "x$LINE" != x
; then
3661 eval "DEFAULT_$LINE"
3666 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3671 eval "$ac_cv_use_fontmap"
3672 if test "$no_cache" != 1; then
3673 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3676 if test "$wxUSE_FONTMAP" = yes; then
3677 echo "$ac_t""yes" 1>&6
3679 echo "$ac_t""no" 1>&6
3683 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3684 echo "configure:3685: checking for --enable-unicode" >&5
3686 # Check whether --enable-unicode or --disable-unicode was given.
3687 if test "${enable_unicode+set}" = set; then
3688 enableval
="$enable_unicode"
3690 if test "$enableval" = yes; then
3691 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3693 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3698 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3699 if test "x$LINE" != x
; then
3700 eval "DEFAULT_$LINE"
3705 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3710 eval "$ac_cv_use_unicode"
3711 if test "$no_cache" != 1; then
3712 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3715 if test "$wxUSE_UNICODE" = yes; then
3716 echo "$ac_t""yes" 1>&6
3718 echo "$ac_t""no" 1>&6
3722 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3723 echo "configure:3724: checking for --enable-wcsrtombs" >&5
3725 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3726 if test "${enable_wcsrtombs+set}" = set; then
3727 enableval
="$enable_wcsrtombs"
3729 if test "$enableval" = yes; then
3730 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3732 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3737 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3738 if test "x$LINE" != x
; then
3739 eval "DEFAULT_$LINE"
3744 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3749 eval "$ac_cv_use_wcsrtombs"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3754 if test "$wxUSE_WCSRTOMBS" = yes; then
3755 echo "$ac_t""yes" 1>&6
3757 echo "$ac_t""no" 1>&6
3761 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3762 echo "configure:3763: checking for --enable-wxprintfv" >&5
3764 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3765 if test "${enable_wxprintfv+set}" = set; then
3766 enableval
="$enable_wxprintfv"
3768 if test "$enableval" = yes; then
3769 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3771 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3776 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x
; then
3778 eval "DEFAULT_$LINE"
3783 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3788 eval "$ac_cv_use_wxprintfv"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3794 echo "$ac_t""yes" 1>&6
3796 echo "$ac_t""no" 1>&6
3800 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3801 echo "configure:3802: checking for --enable-std_iostreams" >&5
3803 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3804 if test "${enable_std_iostreams+set}" = set; then
3805 enableval
="$enable_std_iostreams"
3807 if test "$enableval" = yes; then
3808 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3810 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3815 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3816 if test "x$LINE" != x
; then
3817 eval "DEFAULT_$LINE"
3822 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3827 eval "$ac_cv_use_std_iostreams"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3832 if test "$wxUSE_STD_IOSTREAM" = yes; then
3833 echo "$ac_t""yes" 1>&6
3835 echo "$ac_t""no" 1>&6
3839 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3840 echo "configure:3841: checking for --enable-filesystem" >&5
3842 # Check whether --enable-filesystem or --disable-filesystem was given.
3843 if test "${enable_filesystem+set}" = set; then
3844 enableval
="$enable_filesystem"
3846 if test "$enableval" = yes; then
3847 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3849 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3854 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3855 if test "x$LINE" != x
; then
3856 eval "DEFAULT_$LINE"
3861 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3866 eval "$ac_cv_use_filesystem"
3867 if test "$no_cache" != 1; then
3868 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3871 if test "$wxUSE_FILESYSTEM" = yes; then
3872 echo "$ac_t""yes" 1>&6
3874 echo "$ac_t""no" 1>&6
3878 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3879 echo "configure:3880: checking for --enable-fs_inet" >&5
3881 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3882 if test "${enable_fs_inet+set}" = set; then
3883 enableval
="$enable_fs_inet"
3885 if test "$enableval" = yes; then
3886 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3888 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3893 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3894 if test "x$LINE" != x
; then
3895 eval "DEFAULT_$LINE"
3900 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3905 eval "$ac_cv_use_fs_inet"
3906 if test "$no_cache" != 1; then
3907 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3910 if test "$wxUSE_FS_INET" = yes; then
3911 echo "$ac_t""yes" 1>&6
3913 echo "$ac_t""no" 1>&6
3917 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3918 echo "configure:3919: checking for --enable-fs_zip" >&5
3920 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3921 if test "${enable_fs_zip+set}" = set; then
3922 enableval
="$enable_fs_zip"
3924 if test "$enableval" = yes; then
3925 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3927 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3932 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3933 if test "x$LINE" != x
; then
3934 eval "DEFAULT_$LINE"
3939 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3944 eval "$ac_cv_use_fs_zip"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3949 if test "$wxUSE_FS_ZIP" = yes; then
3950 echo "$ac_t""yes" 1>&6
3952 echo "$ac_t""no" 1>&6
3956 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3957 echo "configure:3958: checking for --enable-zipstream" >&5
3959 # Check whether --enable-zipstream or --disable-zipstream was given.
3960 if test "${enable_zipstream+set}" = set; then
3961 enableval
="$enable_zipstream"
3963 if test "$enableval" = yes; then
3964 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3966 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3971 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3972 if test "x$LINE" != x
; then
3973 eval "DEFAULT_$LINE"
3978 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3983 eval "$ac_cv_use_zipstream"
3984 if test "$no_cache" != 1; then
3985 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3988 if test "$wxUSE_ZIPSTREAM" = yes; then
3989 echo "$ac_t""yes" 1>&6
3991 echo "$ac_t""no" 1>&6
3996 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3997 echo "configure:3998: checking for --enable-catch_segvs" >&5
3999 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4000 if test "${enable_catch_segvs+set}" = set; then
4001 enableval
="$enable_catch_segvs"
4003 if test "$enableval" = yes; then
4004 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4006 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4011 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x
; then
4013 eval "DEFAULT_$LINE"
4018 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4023 eval "$ac_cv_use_catch_segvs"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4029 echo "$ac_t""yes" 1>&6
4031 echo "$ac_t""no" 1>&6
4035 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4036 echo "configure:4037: checking for --enable-snglinst" >&5
4038 # Check whether --enable-snglinst or --disable-snglinst was given.
4039 if test "${enable_snglinst+set}" = set; then
4040 enableval
="$enable_snglinst"
4042 if test "$enableval" = yes; then
4043 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4045 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4050 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x
; then
4052 eval "DEFAULT_$LINE"
4057 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4062 eval "$ac_cv_use_snglinst"
4063 if test "$no_cache" != 1; then
4064 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4067 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4068 echo "$ac_t""yes" 1>&6
4070 echo "$ac_t""no" 1>&6
4075 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4076 echo "configure:4077: checking for --enable-mimetype" >&5
4078 # Check whether --enable-mimetype or --disable-mimetype was given.
4079 if test "${enable_mimetype+set}" = set; then
4080 enableval
="$enable_mimetype"
4082 if test "$enableval" = yes; then
4083 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4085 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4090 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4091 if test "x$LINE" != x
; then
4092 eval "DEFAULT_$LINE"
4097 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4102 eval "$ac_cv_use_mimetype"
4103 if test "$no_cache" != 1; then
4104 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4107 if test "$wxUSE_MIMETYPE" = yes; then
4108 echo "$ac_t""yes" 1>&6
4110 echo "$ac_t""no" 1>&6
4116 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4117 echo "configure:4118: checking for --enable-threads" >&5
4119 # Check whether --enable-threads or --disable-threads was given.
4120 if test "${enable_threads+set}" = set; then
4121 enableval
="$enable_threads"
4123 if test "$enableval" = yes; then
4124 ac_cv_use_threads
='wxUSE_THREADS=yes'
4126 ac_cv_use_threads
='wxUSE_THREADS=no'
4131 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4132 if test "x$LINE" != x
; then
4133 eval "DEFAULT_$LINE"
4138 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4143 eval "$ac_cv_use_threads"
4144 if test "$no_cache" != 1; then
4145 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4148 if test "$wxUSE_THREADS" = yes; then
4149 echo "$ac_t""yes" 1>&6
4151 echo "$ac_t""no" 1>&6
4155 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4156 echo "configure:4157: checking for --enable-serial" >&5
4158 # Check whether --enable-serial or --disable-serial was given.
4159 if test "${enable_serial+set}" = set; then
4160 enableval
="$enable_serial"
4162 if test "$enableval" = yes; then
4163 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4165 ac_cv_use_serial
='wxUSE_SERIAL=no'
4170 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4171 if test "x$LINE" != x
; then
4172 eval "DEFAULT_$LINE"
4177 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4182 eval "$ac_cv_use_serial"
4183 if test "$no_cache" != 1; then
4184 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4187 if test "$wxUSE_SERIAL" = yes; then
4188 echo "$ac_t""yes" 1>&6
4190 echo "$ac_t""no" 1>&6
4194 if test "$wxUSE_GUI" = "yes"; then
4198 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4199 echo "configure:4200: checking for --enable-docview" >&5
4201 # Check whether --enable-docview or --disable-docview was given.
4202 if test "${enable_docview+set}" = set; then
4203 enableval
="$enable_docview"
4205 if test "$enableval" = yes; then
4206 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4208 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4213 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x
; then
4215 eval "DEFAULT_$LINE"
4220 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4225 eval "$ac_cv_use_docview"
4226 if test "$no_cache" != 1; then
4227 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4230 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4231 echo "$ac_t""yes" 1>&6
4233 echo "$ac_t""no" 1>&6
4237 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4238 echo "configure:4239: checking for --enable-help" >&5
4240 # Check whether --enable-help or --disable-help was given.
4241 if test "${enable_help+set}" = set; then
4242 enableval
="$enable_help"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_help
='wxUSE_HELP=yes'
4247 ac_cv_use_help
='wxUSE_HELP=no'
4252 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x
; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4264 eval "$ac_cv_use_help"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4269 if test "$wxUSE_HELP" = yes; then
4270 echo "$ac_t""yes" 1>&6
4272 echo "$ac_t""no" 1>&6
4276 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4277 echo "configure:4278: checking for --enable-html" >&5
4279 # Check whether --enable-html or --disable-html was given.
4280 if test "${enable_html+set}" = set; then
4281 enableval
="$enable_html"
4283 if test "$enableval" = yes; then
4284 ac_cv_use_html
='wxUSE_HTML=yes'
4286 ac_cv_use_html
='wxUSE_HTML=no'
4291 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x
; then
4293 eval "DEFAULT_$LINE"
4298 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4303 eval "$ac_cv_use_html"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_HTML" = yes; then
4309 echo "$ac_t""yes" 1>&6
4311 echo "$ac_t""no" 1>&6
4315 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4316 echo "configure:4317: checking for --enable-htmlhelp" >&5
4318 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4319 if test "${enable_htmlhelp+set}" = set; then
4320 enableval
="$enable_htmlhelp"
4322 if test "$enableval" = yes; then
4323 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4325 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4330 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4331 if test "x$LINE" != x
; then
4332 eval "DEFAULT_$LINE"
4337 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4342 eval "$ac_cv_use_htmlhelp"
4343 if test "$no_cache" != 1; then
4344 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4347 if test "$wxUSE_WXHTML_HELP" = yes; then
4348 echo "$ac_t""yes" 1>&6
4350 echo "$ac_t""no" 1>&6
4354 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4355 echo "configure:4356: checking for --enable-constraints" >&5
4357 # Check whether --enable-constraints or --disable-constraints was given.
4358 if test "${enable_constraints+set}" = set; then
4359 enableval
="$enable_constraints"
4361 if test "$enableval" = yes; then
4362 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4364 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4369 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x
; then
4371 eval "DEFAULT_$LINE"
4376 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4381 eval "$ac_cv_use_constraints"
4382 if test "$no_cache" != 1; then
4383 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4386 if test "$wxUSE_CONSTRAINTS" = yes; then
4387 echo "$ac_t""yes" 1>&6
4389 echo "$ac_t""no" 1>&6
4393 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4394 echo "configure:4395: checking for --enable-printarch" >&5
4396 # Check whether --enable-printarch or --disable-printarch was given.
4397 if test "${enable_printarch+set}" = set; then
4398 enableval
="$enable_printarch"
4400 if test "$enableval" = yes; then
4401 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4403 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4408 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4409 if test "x$LINE" != x
; then
4410 eval "DEFAULT_$LINE"
4415 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4420 eval "$ac_cv_use_printarch"
4421 if test "$no_cache" != 1; then
4422 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4425 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4426 echo "$ac_t""yes" 1>&6
4428 echo "$ac_t""no" 1>&6
4432 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4433 echo "configure:4434: checking for --enable-mdi" >&5
4435 # Check whether --enable-mdi or --disable-mdi was given.
4436 if test "${enable_mdi+set}" = set; then
4437 enableval
="$enable_mdi"
4439 if test "$enableval" = yes; then
4440 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4442 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4447 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4448 if test "x$LINE" != x
; then
4449 eval "DEFAULT_$LINE"
4454 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4459 eval "$ac_cv_use_mdi"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4464 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4465 echo "$ac_t""yes" 1>&6
4467 echo "$ac_t""no" 1>&6
4471 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4472 echo "configure:4473: checking for --enable-loggui" >&5
4474 # Check whether --enable-loggui or --disable-loggui was given.
4475 if test "${enable_loggui+set}" = set; then
4476 enableval
="$enable_loggui"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4481 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4486 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4498 eval "$ac_cv_use_loggui"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_LOGGUI" = yes; then
4504 echo "$ac_t""yes" 1>&6
4506 echo "$ac_t""no" 1>&6
4510 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4511 echo "configure:4512: checking for --enable-logwin" >&5
4513 # Check whether --enable-logwin or --disable-logwin was given.
4514 if test "${enable_logwin+set}" = set; then
4515 enableval
="$enable_logwin"
4517 if test "$enableval" = yes; then
4518 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4520 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4525 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4532 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4537 eval "$ac_cv_use_logwin"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4542 if test "$wxUSE_LOGWINDOW" = yes; then
4543 echo "$ac_t""yes" 1>&6
4545 echo "$ac_t""no" 1>&6
4550 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4551 echo "configure:4552: checking for --enable-postscript" >&5
4553 # Check whether --enable-postscript or --disable-postscript was given.
4554 if test "${enable_postscript+set}" = set; then
4555 enableval
="$enable_postscript"
4557 if test "$enableval" = yes; then
4558 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4560 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4565 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4566 if test "x$LINE" != x
; then
4567 eval "DEFAULT_$LINE"
4572 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4577 eval "$ac_cv_use_postscript"
4578 if test "$no_cache" != 1; then
4579 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4582 if test "$wxUSE_POSTSCRIPT" = yes; then
4583 echo "$ac_t""yes" 1>&6
4585 echo "$ac_t""no" 1>&6
4592 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4593 echo "configure:4594: checking for --enable-prologio" >&5
4595 # Check whether --enable-prologio or --disable-prologio was given.
4596 if test "${enable_prologio+set}" = set; then
4597 enableval
="$enable_prologio"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4602 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4607 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4619 eval "$ac_cv_use_prologio"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_PROLOGIO" = yes; then
4625 echo "$ac_t""yes" 1>&6
4627 echo "$ac_t""no" 1>&6
4631 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4632 echo "configure:4633: checking for --enable-resources" >&5
4634 # Check whether --enable-resources or --disable-resources was given.
4635 if test "${enable_resources+set}" = set; then
4636 enableval
="$enable_resources"
4638 if test "$enableval" = yes; then
4639 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4641 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4646 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x
; then
4648 eval "DEFAULT_$LINE"
4653 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4658 eval "$ac_cv_use_resources"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_RESOURCES" = yes; then
4664 echo "$ac_t""yes" 1>&6
4666 echo "$ac_t""no" 1>&6
4671 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4672 echo "configure:4673: checking for --enable-xresources" >&5
4674 # Check whether --enable-xresources or --disable-xresources was given.
4675 if test "${enable_xresources+set}" = set; then
4676 enableval
="$enable_xresources"
4678 if test "$enableval" = yes; then
4679 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4681 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4686 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4687 if test "x$LINE" != x
; then
4688 eval "DEFAULT_$LINE"
4693 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4698 eval "$ac_cv_use_xresources"
4699 if test "$no_cache" != 1; then
4700 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4703 if test "$wxUSE_X_RESOURCES" = yes; then
4704 echo "$ac_t""yes" 1>&6
4706 echo "$ac_t""no" 1>&6
4712 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4713 echo "configure:4714: checking for --enable-clipboard" >&5
4715 # Check whether --enable-clipboard or --disable-clipboard was given.
4716 if test "${enable_clipboard+set}" = set; then
4717 enableval
="$enable_clipboard"
4719 if test "$enableval" = yes; then
4720 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4722 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4727 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4728 if test "x$LINE" != x
; then
4729 eval "DEFAULT_$LINE"
4734 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4739 eval "$ac_cv_use_clipboard"
4740 if test "$no_cache" != 1; then
4741 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4744 if test "$wxUSE_CLIPBOARD" = yes; then
4745 echo "$ac_t""yes" 1>&6
4747 echo "$ac_t""no" 1>&6
4751 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4752 echo "configure:4753: checking for --enable-dnd" >&5
4754 # Check whether --enable-dnd or --disable-dnd was given.
4755 if test "${enable_dnd+set}" = set; then
4756 enableval
="$enable_dnd"
4758 if test "$enableval" = yes; then
4759 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4761 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4766 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4767 if test "x$LINE" != x
; then
4768 eval "DEFAULT_$LINE"
4773 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4778 eval "$ac_cv_use_dnd"
4779 if test "$no_cache" != 1; then
4780 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4783 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4784 echo "$ac_t""yes" 1>&6
4786 echo "$ac_t""no" 1>&6
4790 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4791 echo "configure:4792: checking for --enable-metafile" >&5
4793 # Check whether --enable-metafile or --disable-metafile was given.
4794 if test "${enable_metafile+set}" = set; then
4795 enableval
="$enable_metafile"
4797 if test "$enableval" = yes; then
4798 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4800 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4805 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4806 if test "x$LINE" != x
; then
4807 eval "DEFAULT_$LINE"
4812 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4817 eval "$ac_cv_use_metafile"
4818 if test "$no_cache" != 1; then
4819 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4822 if test "$wxUSE_METAFILE" = yes; then
4823 echo "$ac_t""yes" 1>&6
4825 echo "$ac_t""no" 1>&6
4830 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4831 echo "configure:4832: checking for --enable-wxtree" >&5
4833 # Check whether --enable-wxtree or --disable-wxtree was given.
4834 if test "${enable_wxtree+set}" = set; then
4835 enableval
="$enable_wxtree"
4837 if test "$enableval" = yes; then
4838 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4840 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4845 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4846 if test "x$LINE" != x
; then
4847 eval "DEFAULT_$LINE"
4852 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4857 eval "$ac_cv_use_wxtree"
4858 if test "$no_cache" != 1; then
4859 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4862 if test "$wxUSE_WXTREE" = yes; then
4863 echo "$ac_t""yes" 1>&6
4865 echo "$ac_t""no" 1>&6
4871 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4872 echo "configure:4873: checking for --enable-controls" >&5
4874 # Check whether --enable-controls or --disable-controls was given.
4875 if test "${enable_controls+set}" = set; then
4876 enableval
="$enable_controls"
4878 if test "$enableval" = yes; then
4879 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4881 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4886 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4887 if test "x$LINE" != x
; then
4888 eval "DEFAULT_$LINE"
4893 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4898 eval "$ac_cv_use_controls"
4899 if test "$no_cache" != 1; then
4900 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4903 if test "$wxUSE_CONTROLS" = yes; then
4904 echo "$ac_t""yes" 1>&6
4906 echo "$ac_t""no" 1>&6
4910 if test "$wxUSE_CONTROLS" = "yes"; then
4911 DEFAULT_wxUSE_ACCEL
=yes
4912 DEFAULT_wxUSE_BMPBUTTON
=yes
4913 DEFAULT_wxUSE_BUTTON
=yes
4914 DEFAULT_wxUSE_CALCTRL
=no
4915 DEFAULT_wxUSE_CARET
=yes
4916 DEFAULT_wxUSE_COMBOBOX
=yes
4917 DEFAULT_wxUSE_CHECKBOX
=yes
4918 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4919 DEFAULT_wxUSE_CHOICE
=yes
4920 DEFAULT_wxUSE_GAUGE
=yes
4921 DEFAULT_wxUSE_GRID
=yes
4922 DEFAULT_wxUSE_NEW_GRID
=yes
4923 DEFAULT_wxUSE_IMAGLIST
=yes
4924 DEFAULT_wxUSE_LISTBOX
=yes
4925 DEFAULT_wxUSE_LISTCTRL
=yes
4926 DEFAULT_wxUSE_NOTEBOOK
=yes
4927 DEFAULT_wxUSE_RADIOBOX
=yes
4928 DEFAULT_wxUSE_RADIOBTN
=yes
4929 DEFAULT_wxUSE_SASH
=yes
4930 DEFAULT_wxUSE_SCROLLBAR
=yes
4931 DEFAULT_wxUSE_SLIDER
=yes
4932 DEFAULT_wxUSE_SPINBTN
=yes
4933 DEFAULT_wxUSE_SPINCTRL
=yes
4934 DEFAULT_wxUSE_SPLITTER
=yes
4935 DEFAULT_wxUSE_STATBMP
=yes
4936 DEFAULT_wxUSE_STATBOX
=yes
4937 DEFAULT_wxUSE_STATLINE
=yes
4938 DEFAULT_wxUSE_STATUSBAR
=yes
4939 DEFAULT_wxUSE_TAB_DIALOG
=yes
4940 DEFAULT_wxUSE_TOGGLEBTN
=yes
4941 DEFAULT_wxUSE_TOOLBAR
=yes
4942 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4943 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4944 DEFAULT_wxUSE_TOOLTIPS
=yes
4945 DEFAULT_wxUSE_TREECTRL
=yes
4946 DEFAULT_wxUSE_POPUPWIN
=yes
4947 elif test "$wxUSE_CONTROLS" = "no"; then
4948 DEFAULT_wxUSE_ACCEL
=no
4949 DEFAULT_wxUSE_BMPBUTTON
=no
4950 DEFAULT_wxUSE_BUTTON
=no
4951 DEFAULT_wxUSE_CALCTRL
=no
4952 DEFAULT_wxUSE_CARET
=no
4953 DEFAULT_wxUSE_COMBOBOX
=no
4954 DEFAULT_wxUSE_CHECKBOX
=no
4955 DEFAULT_wxUSE_CHECKLISTBOX
=no
4956 DEFAULT_wxUSE_CHOICE
=no
4957 DEFAULT_wxUSE_GAUGE
=no
4958 DEFAULT_wxUSE_GRID
=no
4959 DEFAULT_wxUSE_NEW_GRID
=no
4960 DEFAULT_wxUSE_IMAGLIST
=no
4961 DEFAULT_wxUSE_LISTBOX
=no
4962 DEFAULT_wxUSE_LISTCTRL
=no
4963 DEFAULT_wxUSE_NOTEBOOK
=no
4964 DEFAULT_wxUSE_RADIOBOX
=no
4965 DEFAULT_wxUSE_RADIOBTN
=no
4966 DEFAULT_wxUSE_SASH
=no
4967 DEFAULT_wxUSE_SCROLLBAR
=no
4968 DEFAULT_wxUSE_SLIDER
=no
4969 DEFAULT_wxUSE_SPINBTN
=no
4970 DEFAULT_wxUSE_SPINCTRL
=no
4971 DEFAULT_wxUSE_SPLITTER
=no
4972 DEFAULT_wxUSE_STATBMP
=no
4973 DEFAULT_wxUSE_STATBOX
=no
4974 DEFAULT_wxUSE_STATLINE
=no
4975 DEFAULT_wxUSE_STATUSBAR
=no
4976 DEFAULT_wxUSE_TAB_DIALOG
=no
4977 DEFAULT_wxUSE_TOGGLEBTN
=no
4978 DEFAULT_wxUSE_TOOLBAR
=no
4979 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4980 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4981 DEFAULT_wxUSE_TOOLTIPS
=no
4982 DEFAULT_wxUSE_TREECTRL
=no
4983 DEFAULT_wxUSE_POPUPWIN
=no
4987 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4988 echo "configure:4989: checking for --enable-accel" >&5
4990 # Check whether --enable-accel or --disable-accel was given.
4991 if test "${enable_accel+set}" = set; then
4992 enableval
="$enable_accel"
4994 if test "$enableval" = yes; then
4995 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4997 ac_cv_use_accel
='wxUSE_ACCEL=no'
5002 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x
; then
5004 eval "DEFAULT_$LINE"
5009 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5014 eval "$ac_cv_use_accel"
5015 if test "$no_cache" != 1; then
5016 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5019 if test "$wxUSE_ACCEL" = yes; then
5020 echo "$ac_t""yes" 1>&6
5022 echo "$ac_t""no" 1>&6
5026 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5027 echo "configure:5028: checking for --enable-button" >&5
5029 # Check whether --enable-button or --disable-button was given.
5030 if test "${enable_button+set}" = set; then
5031 enableval
="$enable_button"
5033 if test "$enableval" = yes; then
5034 ac_cv_use_button
='wxUSE_BUTTON=yes'
5036 ac_cv_use_button
='wxUSE_BUTTON=no'
5041 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5042 if test "x$LINE" != x
; then
5043 eval "DEFAULT_$LINE"
5048 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5053 eval "$ac_cv_use_button"
5054 if test "$no_cache" != 1; then
5055 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5058 if test "$wxUSE_BUTTON" = yes; then
5059 echo "$ac_t""yes" 1>&6
5061 echo "$ac_t""no" 1>&6
5065 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5066 echo "configure:5067: checking for --enable-bmpbutton" >&5
5068 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5069 if test "${enable_bmpbutton+set}" = set; then
5070 enableval
="$enable_bmpbutton"
5072 if test "$enableval" = yes; then
5073 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5075 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5080 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5087 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5092 eval "$ac_cv_use_bmpbutton"
5093 if test "$no_cache" != 1; then
5094 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5097 if test "$wxUSE_BMPBUTTON" = yes; then
5098 echo "$ac_t""yes" 1>&6
5100 echo "$ac_t""no" 1>&6
5104 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5105 echo "configure:5106: checking for --enable-calendar" >&5
5107 # Check whether --enable-calendar or --disable-calendar was given.
5108 if test "${enable_calendar+set}" = set; then
5109 enableval
="$enable_calendar"
5111 if test "$enableval" = yes; then
5112 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5114 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5119 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5120 if test "x$LINE" != x
; then
5121 eval "DEFAULT_$LINE"
5126 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5131 eval "$ac_cv_use_calendar"
5132 if test "$no_cache" != 1; then
5133 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5136 if test "$wxUSE_CALCTRL" = yes; then
5137 echo "$ac_t""yes" 1>&6
5139 echo "$ac_t""no" 1>&6
5143 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5144 echo "configure:5145: checking for --enable-caret" >&5
5146 # Check whether --enable-caret or --disable-caret was given.
5147 if test "${enable_caret+set}" = set; then
5148 enableval
="$enable_caret"
5150 if test "$enableval" = yes; then
5151 ac_cv_use_caret
='wxUSE_CARET=yes'
5153 ac_cv_use_caret
='wxUSE_CARET=no'
5158 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5159 if test "x$LINE" != x
; then
5160 eval "DEFAULT_$LINE"
5165 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5170 eval "$ac_cv_use_caret"
5171 if test "$no_cache" != 1; then
5172 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5175 if test "$wxUSE_CARET" = yes; then
5176 echo "$ac_t""yes" 1>&6
5178 echo "$ac_t""no" 1>&6
5182 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5183 echo "configure:5184: checking for --enable-checkbox" >&5
5185 # Check whether --enable-checkbox or --disable-checkbox was given.
5186 if test "${enable_checkbox+set}" = set; then
5187 enableval
="$enable_checkbox"
5189 if test "$enableval" = yes; then
5190 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5192 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5197 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5198 if test "x$LINE" != x
; then
5199 eval "DEFAULT_$LINE"
5204 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5209 eval "$ac_cv_use_checkbox"
5210 if test "$no_cache" != 1; then
5211 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5214 if test "$wxUSE_CHECKBOX" = yes; then
5215 echo "$ac_t""yes" 1>&6
5217 echo "$ac_t""no" 1>&6
5221 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5222 echo "configure:5223: checking for --enable-checklst" >&5
5224 # Check whether --enable-checklst or --disable-checklst was given.
5225 if test "${enable_checklst+set}" = set; then
5226 enableval
="$enable_checklst"
5228 if test "$enableval" = yes; then
5229 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5231 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5236 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5237 if test "x$LINE" != x
; then
5238 eval "DEFAULT_$LINE"
5243 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5248 eval "$ac_cv_use_checklst"
5249 if test "$no_cache" != 1; then
5250 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5253 if test "$wxUSE_CHECKLST" = yes; then
5254 echo "$ac_t""yes" 1>&6
5256 echo "$ac_t""no" 1>&6
5260 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5261 echo "configure:5262: checking for --enable-choice" >&5
5263 # Check whether --enable-choice or --disable-choice was given.
5264 if test "${enable_choice+set}" = set; then
5265 enableval
="$enable_choice"
5267 if test "$enableval" = yes; then
5268 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5270 ac_cv_use_choice
='wxUSE_CHOICE=no'
5275 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5276 if test "x$LINE" != x
; then
5277 eval "DEFAULT_$LINE"
5282 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5287 eval "$ac_cv_use_choice"
5288 if test "$no_cache" != 1; then
5289 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5292 if test "$wxUSE_CHOICE" = yes; then
5293 echo "$ac_t""yes" 1>&6
5295 echo "$ac_t""no" 1>&6
5299 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5300 echo "configure:5301: checking for --enable-combobox" >&5
5302 # Check whether --enable-combobox or --disable-combobox was given.
5303 if test "${enable_combobox+set}" = set; then
5304 enableval
="$enable_combobox"
5306 if test "$enableval" = yes; then
5307 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5309 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5314 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x
; then
5316 eval "DEFAULT_$LINE"
5321 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5326 eval "$ac_cv_use_combobox"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5331 if test "$wxUSE_COMBOBOX" = yes; then
5332 echo "$ac_t""yes" 1>&6
5334 echo "$ac_t""no" 1>&6
5338 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5339 echo "configure:5340: checking for --enable-gauge" >&5
5341 # Check whether --enable-gauge or --disable-gauge was given.
5342 if test "${enable_gauge+set}" = set; then
5343 enableval
="$enable_gauge"
5345 if test "$enableval" = yes; then
5346 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5348 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5353 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x
; then
5355 eval "DEFAULT_$LINE"
5360 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5365 eval "$ac_cv_use_gauge"
5366 if test "$no_cache" != 1; then
5367 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5370 if test "$wxUSE_GAUGE" = yes; then
5371 echo "$ac_t""yes" 1>&6
5373 echo "$ac_t""no" 1>&6
5377 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5378 echo "configure:5379: checking for --enable-grid" >&5
5380 # Check whether --enable-grid or --disable-grid was given.
5381 if test "${enable_grid+set}" = set; then
5382 enableval
="$enable_grid"
5384 if test "$enableval" = yes; then
5385 ac_cv_use_grid
='wxUSE_GRID=yes'
5387 ac_cv_use_grid
='wxUSE_GRID=no'
5392 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5393 if test "x$LINE" != x
; then
5394 eval "DEFAULT_$LINE"
5399 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5404 eval "$ac_cv_use_grid"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5409 if test "$wxUSE_GRID" = yes; then
5410 echo "$ac_t""yes" 1>&6
5412 echo "$ac_t""no" 1>&6
5416 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5417 echo "configure:5418: checking for --enable-newgrid" >&5
5419 # Check whether --enable-newgrid or --disable-newgrid was given.
5420 if test "${enable_newgrid+set}" = set; then
5421 enableval
="$enable_newgrid"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5426 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5431 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5443 eval "$ac_cv_use_newgrid"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_NEW_GRID" = yes; then
5449 echo "$ac_t""yes" 1>&6
5451 echo "$ac_t""no" 1>&6
5455 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5456 echo "configure:5457: checking for --enable-imaglist" >&5
5458 # Check whether --enable-imaglist or --disable-imaglist was given.
5459 if test "${enable_imaglist+set}" = set; then
5460 enableval
="$enable_imaglist"
5462 if test "$enableval" = yes; then
5463 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5465 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5470 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5477 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5482 eval "$ac_cv_use_imaglist"
5483 if test "$no_cache" != 1; then
5484 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5487 if test "$wxUSE_IMAGLIST" = yes; then
5488 echo "$ac_t""yes" 1>&6
5490 echo "$ac_t""no" 1>&6
5494 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5495 echo "configure:5496: checking for --enable-listbox" >&5
5497 # Check whether --enable-listbox or --disable-listbox was given.
5498 if test "${enable_listbox+set}" = set; then
5499 enableval
="$enable_listbox"
5501 if test "$enableval" = yes; then
5502 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5504 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5509 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5510 if test "x$LINE" != x
; then
5511 eval "DEFAULT_$LINE"
5516 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5521 eval "$ac_cv_use_listbox"
5522 if test "$no_cache" != 1; then
5523 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5526 if test "$wxUSE_LISTBOX" = yes; then
5527 echo "$ac_t""yes" 1>&6
5529 echo "$ac_t""no" 1>&6
5533 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5534 echo "configure:5535: checking for --enable-listctrl" >&5
5536 # Check whether --enable-listctrl or --disable-listctrl was given.
5537 if test "${enable_listctrl+set}" = set; then
5538 enableval
="$enable_listctrl"
5540 if test "$enableval" = yes; then
5541 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5543 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5548 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5549 if test "x$LINE" != x
; then
5550 eval "DEFAULT_$LINE"
5555 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5560 eval "$ac_cv_use_listctrl"
5561 if test "$no_cache" != 1; then
5562 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5565 if test "$wxUSE_LISTCTRL" = yes; then
5566 echo "$ac_t""yes" 1>&6
5568 echo "$ac_t""no" 1>&6
5572 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5573 echo "configure:5574: checking for --enable-notebook" >&5
5575 # Check whether --enable-notebook or --disable-notebook was given.
5576 if test "${enable_notebook+set}" = set; then
5577 enableval
="$enable_notebook"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5582 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5587 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x
; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5599 eval "$ac_cv_use_notebook"
5600 if test "$no_cache" != 1; then
5601 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5604 if test "$wxUSE_NOTEBOOK" = yes; then
5605 echo "$ac_t""yes" 1>&6
5607 echo "$ac_t""no" 1>&6
5611 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5612 echo "configure:5613: checking for --enable-radiobox" >&5
5614 # Check whether --enable-radiobox or --disable-radiobox was given.
5615 if test "${enable_radiobox+set}" = set; then
5616 enableval
="$enable_radiobox"
5618 if test "$enableval" = yes; then
5619 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5621 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5626 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5627 if test "x$LINE" != x
; then
5628 eval "DEFAULT_$LINE"
5633 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5638 eval "$ac_cv_use_radiobox"
5639 if test "$no_cache" != 1; then
5640 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5643 if test "$wxUSE_RADIOBOX" = yes; then
5644 echo "$ac_t""yes" 1>&6
5646 echo "$ac_t""no" 1>&6
5650 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5651 echo "configure:5652: checking for --enable-radiobtn" >&5
5653 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5654 if test "${enable_radiobtn+set}" = set; then
5655 enableval
="$enable_radiobtn"
5657 if test "$enableval" = yes; then
5658 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5660 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5665 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5666 if test "x$LINE" != x
; then
5667 eval "DEFAULT_$LINE"
5672 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5677 eval "$ac_cv_use_radiobtn"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5682 if test "$wxUSE_RADIOBTN" = yes; then
5683 echo "$ac_t""yes" 1>&6
5685 echo "$ac_t""no" 1>&6
5689 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5690 echo "configure:5691: checking for --enable-sash" >&5
5692 # Check whether --enable-sash or --disable-sash was given.
5693 if test "${enable_sash+set}" = set; then
5694 enableval
="$enable_sash"
5696 if test "$enableval" = yes; then
5697 ac_cv_use_sash
='wxUSE_SASH=yes'
5699 ac_cv_use_sash
='wxUSE_SASH=no'
5704 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5705 if test "x$LINE" != x
; then
5706 eval "DEFAULT_$LINE"
5711 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5716 eval "$ac_cv_use_sash"
5717 if test "$no_cache" != 1; then
5718 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5721 if test "$wxUSE_SASH" = yes; then
5722 echo "$ac_t""yes" 1>&6
5724 echo "$ac_t""no" 1>&6
5728 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5729 echo "configure:5730: checking for --enable-scrollbar" >&5
5731 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5732 if test "${enable_scrollbar+set}" = set; then
5733 enableval
="$enable_scrollbar"
5735 if test "$enableval" = yes; then
5736 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5738 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5743 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x
; then
5745 eval "DEFAULT_$LINE"
5750 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5755 eval "$ac_cv_use_scrollbar"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5760 if test "$wxUSE_SCROLLBAR" = yes; then
5761 echo "$ac_t""yes" 1>&6
5763 echo "$ac_t""no" 1>&6
5767 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5768 echo "configure:5769: checking for --enable-slider" >&5
5770 # Check whether --enable-slider or --disable-slider was given.
5771 if test "${enable_slider+set}" = set; then
5772 enableval
="$enable_slider"
5774 if test "$enableval" = yes; then
5775 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5777 ac_cv_use_slider
='wxUSE_SLIDER=no'
5782 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5783 if test "x$LINE" != x
; then
5784 eval "DEFAULT_$LINE"
5789 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5794 eval "$ac_cv_use_slider"
5795 if test "$no_cache" != 1; then
5796 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5799 if test "$wxUSE_SLIDER" = yes; then
5800 echo "$ac_t""yes" 1>&6
5802 echo "$ac_t""no" 1>&6
5806 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5807 echo "configure:5808: checking for --enable-spinbtn" >&5
5809 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5810 if test "${enable_spinbtn+set}" = set; then
5811 enableval
="$enable_spinbtn"
5813 if test "$enableval" = yes; then
5814 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5816 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5821 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5822 if test "x$LINE" != x
; then
5823 eval "DEFAULT_$LINE"
5828 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5833 eval "$ac_cv_use_spinbtn"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5838 if test "$wxUSE_SPINBTN" = yes; then
5839 echo "$ac_t""yes" 1>&6
5841 echo "$ac_t""no" 1>&6
5845 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5846 echo "configure:5847: checking for --enable-spinctrl" >&5
5848 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5849 if test "${enable_spinctrl+set}" = set; then
5850 enableval
="$enable_spinctrl"
5852 if test "$enableval" = yes; then
5853 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5855 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5860 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5861 if test "x$LINE" != x
; then
5862 eval "DEFAULT_$LINE"
5867 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5872 eval "$ac_cv_use_spinctrl"
5873 if test "$no_cache" != 1; then
5874 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5877 if test "$wxUSE_SPINCTRL" = yes; then
5878 echo "$ac_t""yes" 1>&6
5880 echo "$ac_t""no" 1>&6
5884 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5885 echo "configure:5886: checking for --enable-splitter" >&5
5887 # Check whether --enable-splitter or --disable-splitter was given.
5888 if test "${enable_splitter+set}" = set; then
5889 enableval
="$enable_splitter"
5891 if test "$enableval" = yes; then
5892 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5894 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5899 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5900 if test "x$LINE" != x
; then
5901 eval "DEFAULT_$LINE"
5906 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5911 eval "$ac_cv_use_splitter"
5912 if test "$no_cache" != 1; then
5913 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5916 if test "$wxUSE_SPLITTER" = yes; then
5917 echo "$ac_t""yes" 1>&6
5919 echo "$ac_t""no" 1>&6
5923 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5924 echo "configure:5925: checking for --enable-statbmp" >&5
5926 # Check whether --enable-statbmp or --disable-statbmp was given.
5927 if test "${enable_statbmp+set}" = set; then
5928 enableval
="$enable_statbmp"
5930 if test "$enableval" = yes; then
5931 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5933 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5938 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5939 if test "x$LINE" != x
; then
5940 eval "DEFAULT_$LINE"
5945 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5950 eval "$ac_cv_use_statbmp"
5951 if test "$no_cache" != 1; then
5952 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5955 if test "$wxUSE_STATBMP" = yes; then
5956 echo "$ac_t""yes" 1>&6
5958 echo "$ac_t""no" 1>&6
5962 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5963 echo "configure:5964: checking for --enable-statbox" >&5
5965 # Check whether --enable-statbox or --disable-statbox was given.
5966 if test "${enable_statbox+set}" = set; then
5967 enableval
="$enable_statbox"
5969 if test "$enableval" = yes; then
5970 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5972 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5977 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5978 if test "x$LINE" != x
; then
5979 eval "DEFAULT_$LINE"
5984 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5989 eval "$ac_cv_use_statbox"
5990 if test "$no_cache" != 1; then
5991 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5994 if test "$wxUSE_STATBOX" = yes; then
5995 echo "$ac_t""yes" 1>&6
5997 echo "$ac_t""no" 1>&6
6001 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6002 echo "configure:6003: checking for --enable-statline" >&5
6004 # Check whether --enable-statline or --disable-statline was given.
6005 if test "${enable_statline+set}" = set; then
6006 enableval
="$enable_statline"
6008 if test "$enableval" = yes; then
6009 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6011 ac_cv_use_statline
='wxUSE_STATLINE=no'
6016 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x
; then
6018 eval "DEFAULT_$LINE"
6023 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6028 eval "$ac_cv_use_statline"
6029 if test "$no_cache" != 1; then
6030 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6033 if test "$wxUSE_STATLINE" = yes; then
6034 echo "$ac_t""yes" 1>&6
6036 echo "$ac_t""no" 1>&6
6040 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6041 echo "configure:6042: checking for --enable-stattext" >&5
6043 # Check whether --enable-stattext or --disable-stattext was given.
6044 if test "${enable_stattext+set}" = set; then
6045 enableval
="$enable_stattext"
6047 if test "$enableval" = yes; then
6048 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6050 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6055 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6056 if test "x$LINE" != x
; then
6057 eval "DEFAULT_$LINE"
6062 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6067 eval "$ac_cv_use_stattext"
6068 if test "$no_cache" != 1; then
6069 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6072 if test "$wxUSE_STATTEXT" = yes; then
6073 echo "$ac_t""yes" 1>&6
6075 echo "$ac_t""no" 1>&6
6079 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6080 echo "configure:6081: checking for --enable-statusbar" >&5
6082 # Check whether --enable-statusbar or --disable-statusbar was given.
6083 if test "${enable_statusbar+set}" = set; then
6084 enableval
="$enable_statusbar"
6086 if test "$enableval" = yes; then
6087 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6089 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6094 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6095 if test "x$LINE" != x
; then
6096 eval "DEFAULT_$LINE"
6101 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6106 eval "$ac_cv_use_statusbar"
6107 if test "$no_cache" != 1; then
6108 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6111 if test "$wxUSE_STATUSBAR" = yes; then
6112 echo "$ac_t""yes" 1>&6
6114 echo "$ac_t""no" 1>&6
6118 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6119 echo "configure:6120: checking for --enable-tabdialog" >&5
6121 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6122 if test "${enable_tabdialog+set}" = set; then
6123 enableval
="$enable_tabdialog"
6125 if test "$enableval" = yes; then
6126 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6128 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6133 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6134 if test "x$LINE" != x
; then
6135 eval "DEFAULT_$LINE"
6140 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6145 eval "$ac_cv_use_tabdialog"
6146 if test "$no_cache" != 1; then
6147 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6150 if test "$wxUSE_TABDIALOG" = yes; then
6151 echo "$ac_t""yes" 1>&6
6153 echo "$ac_t""no" 1>&6
6157 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6158 echo "configure:6159: checking for --enable-textctrl" >&5
6160 # Check whether --enable-textctrl or --disable-textctrl was given.
6161 if test "${enable_textctrl+set}" = set; then
6162 enableval
="$enable_textctrl"
6164 if test "$enableval" = yes; then
6165 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6167 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6172 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x
; then
6174 eval "DEFAULT_$LINE"
6179 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6184 eval "$ac_cv_use_textctrl"
6185 if test "$no_cache" != 1; then
6186 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6189 if test "$wxUSE_TEXTCTRL" = yes; then
6190 echo "$ac_t""yes" 1>&6
6192 echo "$ac_t""no" 1>&6
6196 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6197 echo "configure:6198: checking for --enable-togglebtn" >&5
6199 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6200 if test "${enable_togglebtn+set}" = set; then
6201 enableval
="$enable_togglebtn"
6203 if test "$enableval" = yes; then
6204 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6206 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6211 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6212 if test "x$LINE" != x
; then
6213 eval "DEFAULT_$LINE"
6218 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6223 eval "$ac_cv_use_togglebtn"
6224 if test "$no_cache" != 1; then
6225 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6228 if test "$wxUSE_TOGGLEBTN" = yes; then
6229 echo "$ac_t""yes" 1>&6
6231 echo "$ac_t""no" 1>&6
6235 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6236 echo "configure:6237: checking for --enable-toolbar" >&5
6238 # Check whether --enable-toolbar or --disable-toolbar was given.
6239 if test "${enable_toolbar+set}" = set; then
6240 enableval
="$enable_toolbar"
6242 if test "$enableval" = yes; then
6243 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6245 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6250 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6251 if test "x$LINE" != x
; then
6252 eval "DEFAULT_$LINE"
6257 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6262 eval "$ac_cv_use_toolbar"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6267 if test "$wxUSE_TOOLBAR" = yes; then
6268 echo "$ac_t""yes" 1>&6
6270 echo "$ac_t""no" 1>&6
6274 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6275 echo "configure:6276: checking for --enable-tbarnative" >&5
6277 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6278 if test "${enable_tbarnative+set}" = set; then
6279 enableval
="$enable_tbarnative"
6281 if test "$enableval" = yes; then
6282 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6284 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6289 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6290 if test "x$LINE" != x
; then
6291 eval "DEFAULT_$LINE"
6296 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6301 eval "$ac_cv_use_tbarnative"
6302 if test "$no_cache" != 1; then
6303 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6306 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6307 echo "$ac_t""yes" 1>&6
6309 echo "$ac_t""no" 1>&6
6313 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6314 echo "configure:6315: checking for --enable-tbarsmpl" >&5
6316 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6317 if test "${enable_tbarsmpl+set}" = set; then
6318 enableval
="$enable_tbarsmpl"
6320 if test "$enableval" = yes; then
6321 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6323 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6328 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6329 if test "x$LINE" != x
; then
6330 eval "DEFAULT_$LINE"
6335 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6340 eval "$ac_cv_use_tbarsmpl"
6341 if test "$no_cache" != 1; then
6342 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6345 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6346 echo "$ac_t""yes" 1>&6
6348 echo "$ac_t""no" 1>&6
6352 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6353 echo "configure:6354: checking for --enable-treectrl" >&5
6355 # Check whether --enable-treectrl or --disable-treectrl was given.
6356 if test "${enable_treectrl+set}" = set; then
6357 enableval
="$enable_treectrl"
6359 if test "$enableval" = yes; then
6360 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6362 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6367 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6368 if test "x$LINE" != x
; then
6369 eval "DEFAULT_$LINE"
6374 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6379 eval "$ac_cv_use_treectrl"
6380 if test "$no_cache" != 1; then
6381 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6384 if test "$wxUSE_TREECTRL" = yes; then
6385 echo "$ac_t""yes" 1>&6
6387 echo "$ac_t""no" 1>&6
6391 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6392 echo "configure:6393: checking for --enable-popupwin" >&5
6394 # Check whether --enable-popupwin or --disable-popupwin was given.
6395 if test "${enable_popupwin+set}" = set; then
6396 enableval
="$enable_popupwin"
6398 if test "$enableval" = yes; then
6399 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6401 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6406 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6407 if test "x$LINE" != x
; then
6408 eval "DEFAULT_$LINE"
6413 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6418 eval "$ac_cv_use_popupwin"
6419 if test "$no_cache" != 1; then
6420 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6423 if test "$wxUSE_POPUPWIN" = yes; then
6424 echo "$ac_t""yes" 1>&6
6426 echo "$ac_t""no" 1>&6
6432 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6433 echo "configure:6434: checking for --enable-commondlg" >&5
6435 # Check whether --enable-commondlg or --disable-commondlg was given.
6436 if test "${enable_commondlg+set}" = set; then
6437 enableval
="$enable_commondlg"
6439 if test "$enableval" = yes; then
6440 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6442 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6447 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6448 if test "x$LINE" != x
; then
6449 eval "DEFAULT_$LINE"
6454 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6459 eval "$ac_cv_use_commondlg"
6460 if test "$no_cache" != 1; then
6461 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6464 if test "$wxUSE_COMMONDLGS" = yes; then
6465 echo "$ac_t""yes" 1>&6
6467 echo "$ac_t""no" 1>&6
6471 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6472 echo "configure:6473: checking for --enable-choicedlg" >&5
6474 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6475 if test "${enable_choicedlg+set}" = set; then
6476 enableval
="$enable_choicedlg"
6478 if test "$enableval" = yes; then
6479 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6481 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6486 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x
; then
6488 eval "DEFAULT_$LINE"
6493 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6498 eval "$ac_cv_use_choicedlg"
6499 if test "$no_cache" != 1; then
6500 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6503 if test "$wxUSE_CHOICEDLG" = yes; then
6504 echo "$ac_t""yes" 1>&6
6506 echo "$ac_t""no" 1>&6
6510 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6511 echo "configure:6512: checking for --enable-coldlg" >&5
6513 # Check whether --enable-coldlg or --disable-coldlg was given.
6514 if test "${enable_coldlg+set}" = set; then
6515 enableval
="$enable_coldlg"
6517 if test "$enableval" = yes; then
6518 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6520 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6525 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6526 if test "x$LINE" != x
; then
6527 eval "DEFAULT_$LINE"
6532 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6537 eval "$ac_cv_use_coldlg"
6538 if test "$no_cache" != 1; then
6539 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6542 if test "$wxUSE_COLOURDLG" = yes; then
6543 echo "$ac_t""yes" 1>&6
6545 echo "$ac_t""no" 1>&6
6549 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6550 echo "configure:6551: checking for --enable-filedlg" >&5
6552 # Check whether --enable-filedlg or --disable-filedlg was given.
6553 if test "${enable_filedlg+set}" = set; then
6554 enableval
="$enable_filedlg"
6556 if test "$enableval" = yes; then
6557 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6559 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6564 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x
; then
6566 eval "DEFAULT_$LINE"
6571 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6576 eval "$ac_cv_use_filedlg"
6577 if test "$no_cache" != 1; then
6578 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6581 if test "$wxUSE_FILEDLG" = yes; then
6582 echo "$ac_t""yes" 1>&6
6584 echo "$ac_t""no" 1>&6
6588 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6589 echo "configure:6590: checking for --enable-fontdlg" >&5
6591 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6592 if test "${enable_fontdlg+set}" = set; then
6593 enableval
="$enable_fontdlg"
6595 if test "$enableval" = yes; then
6596 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6598 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6603 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6604 if test "x$LINE" != x
; then
6605 eval "DEFAULT_$LINE"
6610 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6615 eval "$ac_cv_use_fontdlg"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6620 if test "$wxUSE_FONTDLG" = yes; then
6621 echo "$ac_t""yes" 1>&6
6623 echo "$ac_t""no" 1>&6
6627 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6628 echo "configure:6629: checking for --enable-dirdlg" >&5
6630 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6631 if test "${enable_dirdlg+set}" = set; then
6632 enableval
="$enable_dirdlg"
6634 if test "$enableval" = yes; then
6635 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6637 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6642 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6643 if test "x$LINE" != x
; then
6644 eval "DEFAULT_$LINE"
6649 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6654 eval "$ac_cv_use_dirdlg"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6659 if test "$wxUSE_DIRDLG" = yes; then
6660 echo "$ac_t""yes" 1>&6
6662 echo "$ac_t""no" 1>&6
6666 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6667 echo "configure:6668: checking for --enable-msgdlg" >&5
6669 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6670 if test "${enable_msgdlg+set}" = set; then
6671 enableval
="$enable_msgdlg"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6676 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6681 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6693 eval "$ac_cv_use_msgdlg"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6698 if test "$wxUSE_MSGDLG" = yes; then
6699 echo "$ac_t""yes" 1>&6
6701 echo "$ac_t""no" 1>&6
6705 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6706 echo "configure:6707: checking for --enable-numberdlg" >&5
6708 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6709 if test "${enable_numberdlg+set}" = set; then
6710 enableval
="$enable_numberdlg"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6715 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6720 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x
; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6732 eval "$ac_cv_use_numberdlg"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_NUMBERDLG" = yes; then
6738 echo "$ac_t""yes" 1>&6
6740 echo "$ac_t""no" 1>&6
6744 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6745 echo "configure:6746: checking for --enable-textdlg" >&5
6747 # Check whether --enable-textdlg or --disable-textdlg was given.
6748 if test "${enable_textdlg+set}" = set; then
6749 enableval
="$enable_textdlg"
6751 if test "$enableval" = yes; then
6752 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6754 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6759 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6760 if test "x$LINE" != x
; then
6761 eval "DEFAULT_$LINE"
6766 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6771 eval "$ac_cv_use_textdlg"
6772 if test "$no_cache" != 1; then
6773 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6776 if test "$wxUSE_TEXTDLG" = yes; then
6777 echo "$ac_t""yes" 1>&6
6779 echo "$ac_t""no" 1>&6
6783 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6784 echo "configure:6785: checking for --enable-tipdlg" >&5
6786 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6787 if test "${enable_tipdlg+set}" = set; then
6788 enableval
="$enable_tipdlg"
6790 if test "$enableval" = yes; then
6791 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6793 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6798 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x
; then
6800 eval "DEFAULT_$LINE"
6805 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6810 eval "$ac_cv_use_tipdlg"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6815 if test "$wxUSE_STARTUP_TIPS" = yes; then
6816 echo "$ac_t""yes" 1>&6
6818 echo "$ac_t""no" 1>&6
6822 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6823 echo "configure:6824: checking for --enable-progressdlg" >&5
6825 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6826 if test "${enable_progressdlg+set}" = set; then
6827 enableval
="$enable_progressdlg"
6829 if test "$enableval" = yes; then
6830 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6832 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6837 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6838 if test "x$LINE" != x
; then
6839 eval "DEFAULT_$LINE"
6844 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6849 eval "$ac_cv_use_progressdlg"
6850 if test "$no_cache" != 1; then
6851 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6854 if test "$wxUSE_PROGRESSDLG" = yes; then
6855 echo "$ac_t""yes" 1>&6
6857 echo "$ac_t""no" 1>&6
6861 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
6862 echo "configure:6863: checking for --enable-wizarddlg" >&5
6864 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
6865 if test "${enable_wizarddlg+set}" = set; then
6866 enableval
="$enable_wizarddlg"
6868 if test "$enableval" = yes; then
6869 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
6871 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
6876 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
6877 if test "x$LINE" != x
; then
6878 eval "DEFAULT_$LINE"
6883 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
6888 eval "$ac_cv_use_wizarddlg"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
6893 if test "$wxUSE_WIZARDDLG" = yes; then
6894 echo "$ac_t""yes" 1>&6
6896 echo "$ac_t""no" 1>&6
6902 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6903 echo "configure:6904: checking for --enable-menus" >&5
6905 # Check whether --enable-menus or --disable-menus was given.
6906 if test "${enable_menus+set}" = set; then
6907 enableval
="$enable_menus"
6909 if test "$enableval" = yes; then
6910 ac_cv_use_menus
='wxUSE_MENUS=yes'
6912 ac_cv_use_menus
='wxUSE_MENUS=no'
6917 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6918 if test "x$LINE" != x
; then
6919 eval "DEFAULT_$LINE"
6924 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6929 eval "$ac_cv_use_menus"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6934 if test "$wxUSE_MENUS" = yes; then
6935 echo "$ac_t""yes" 1>&6
6937 echo "$ac_t""no" 1>&6
6941 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6942 echo "configure:6943: checking for --enable-miniframe" >&5
6944 # Check whether --enable-miniframe or --disable-miniframe was given.
6945 if test "${enable_miniframe+set}" = set; then
6946 enableval
="$enable_miniframe"
6948 if test "$enableval" = yes; then
6949 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6951 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6956 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x
; then
6958 eval "DEFAULT_$LINE"
6963 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6968 eval "$ac_cv_use_miniframe"
6969 if test "$no_cache" != 1; then
6970 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6973 if test "$wxUSE_MINIFRAME" = yes; then
6974 echo "$ac_t""yes" 1>&6
6976 echo "$ac_t""no" 1>&6
6980 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6981 echo "configure:6982: checking for --enable-tooltips" >&5
6983 # Check whether --enable-tooltips or --disable-tooltips was given.
6984 if test "${enable_tooltips+set}" = set; then
6985 enableval
="$enable_tooltips"
6987 if test "$enableval" = yes; then
6988 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6990 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6995 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6996 if test "x$LINE" != x
; then
6997 eval "DEFAULT_$LINE"
7002 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7007 eval "$ac_cv_use_tooltips"
7008 if test "$no_cache" != 1; then
7009 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7012 if test "$wxUSE_TOOLTIPS" = yes; then
7013 echo "$ac_t""yes" 1>&6
7015 echo "$ac_t""no" 1>&6
7019 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7020 echo "configure:7021: checking for --enable-splines" >&5
7022 # Check whether --enable-splines or --disable-splines was given.
7023 if test "${enable_splines+set}" = set; then
7024 enableval
="$enable_splines"
7026 if test "$enableval" = yes; then
7027 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7029 ac_cv_use_splines
='wxUSE_SPLINES=no'
7034 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7035 if test "x$LINE" != x
; then
7036 eval "DEFAULT_$LINE"
7041 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7046 eval "$ac_cv_use_splines"
7047 if test "$no_cache" != 1; then
7048 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7051 if test "$wxUSE_SPLINES" = yes; then
7052 echo "$ac_t""yes" 1>&6
7054 echo "$ac_t""no" 1>&6
7058 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7059 echo "configure:7060: checking for --enable-validators" >&5
7061 # Check whether --enable-validators or --disable-validators was given.
7062 if test "${enable_validators+set}" = set; then
7063 enableval
="$enable_validators"
7065 if test "$enableval" = yes; then
7066 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7068 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7073 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7074 if test "x$LINE" != x
; then
7075 eval "DEFAULT_$LINE"
7080 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7085 eval "$ac_cv_use_validators"
7086 if test "$no_cache" != 1; then
7087 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7090 if test "$wxUSE_VALIDATORS" = yes; then
7091 echo "$ac_t""yes" 1>&6
7093 echo "$ac_t""no" 1>&6
7097 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7098 echo "configure:7099: checking for --enable-busyinfo" >&5
7100 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7101 if test "${enable_busyinfo+set}" = set; then
7102 enableval
="$enable_busyinfo"
7104 if test "$enableval" = yes; then
7105 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7107 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7112 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7113 if test "x$LINE" != x
; then
7114 eval "DEFAULT_$LINE"
7119 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7124 eval "$ac_cv_use_busyinfo"
7125 if test "$no_cache" != 1; then
7126 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7129 if test "$wxUSE_BUSYINFO" = yes; then
7130 echo "$ac_t""yes" 1>&6
7132 echo "$ac_t""no" 1>&6
7136 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7137 echo "configure:7138: checking for --enable-joystick" >&5
7139 # Check whether --enable-joystick or --disable-joystick was given.
7140 if test "${enable_joystick+set}" = set; then
7141 enableval
="$enable_joystick"
7143 if test "$enableval" = yes; then
7144 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7146 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7151 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7152 if test "x$LINE" != x
; then
7153 eval "DEFAULT_$LINE"
7158 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7163 eval "$ac_cv_use_joystick"
7164 if test "$no_cache" != 1; then
7165 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7168 if test "$wxUSE_JOYSTICK" = yes; then
7169 echo "$ac_t""yes" 1>&6
7171 echo "$ac_t""no" 1>&6
7175 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7176 echo "configure:7177: checking for --enable-metafile" >&5
7178 # Check whether --enable-metafile or --disable-metafile was given.
7179 if test "${enable_metafile+set}" = set; then
7180 enableval
="$enable_metafile"
7182 if test "$enableval" = yes; then
7183 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7185 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7190 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7191 if test "x$LINE" != x
; then
7192 eval "DEFAULT_$LINE"
7197 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7202 eval "$ac_cv_use_metafile"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7207 if test "$wxUSE_METAFILE" = yes; then
7208 echo "$ac_t""yes" 1>&6
7210 echo "$ac_t""no" 1>&6
7214 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7215 echo "configure:7216: checking for --enable-dragimage" >&5
7217 # Check whether --enable-dragimage or --disable-dragimage was given.
7218 if test "${enable_dragimage+set}" = set; then
7219 enableval
="$enable_dragimage"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7224 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7229 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7241 eval "$ac_cv_use_dragimage"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_DRAGIMAGE" = yes; then
7247 echo "$ac_t""yes" 1>&6
7249 echo "$ac_t""no" 1>&6
7255 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7256 echo "configure:7257: checking for --enable-image" >&5
7258 # Check whether --enable-image or --disable-image was given.
7259 if test "${enable_image+set}" = set; then
7260 enableval
="$enable_image"
7262 if test "$enableval" = yes; then
7263 ac_cv_use_image
='wxUSE_IMAGE=yes'
7265 ac_cv_use_image
='wxUSE_IMAGE=no'
7270 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7271 if test "x$LINE" != x
; then
7272 eval "DEFAULT_$LINE"
7277 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7282 eval "$ac_cv_use_image"
7283 if test "$no_cache" != 1; then
7284 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7287 if test "$wxUSE_IMAGE" = yes; then
7288 echo "$ac_t""yes" 1>&6
7290 echo "$ac_t""no" 1>&6
7294 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7295 echo "configure:7296: checking for --enable-gif" >&5
7297 # Check whether --enable-gif or --disable-gif was given.
7298 if test "${enable_gif+set}" = set; then
7299 enableval
="$enable_gif"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_gif
='wxUSE_GIF=yes'
7304 ac_cv_use_gif
='wxUSE_GIF=no'
7309 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7321 eval "$ac_cv_use_gif"
7322 if test "$no_cache" != 1; then
7323 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7326 if test "$wxUSE_GIF" = yes; then
7327 echo "$ac_t""yes" 1>&6
7329 echo "$ac_t""no" 1>&6
7333 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7334 echo "configure:7335: checking for --enable-pcx" >&5
7336 # Check whether --enable-pcx or --disable-pcx was given.
7337 if test "${enable_pcx+set}" = set; then
7338 enableval
="$enable_pcx"
7340 if test "$enableval" = yes; then
7341 ac_cv_use_pcx
='wxUSE_PCX=yes'
7343 ac_cv_use_pcx
='wxUSE_PCX=no'
7348 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x
; then
7350 eval "DEFAULT_$LINE"
7355 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7360 eval "$ac_cv_use_pcx"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_PCX" = yes; then
7366 echo "$ac_t""yes" 1>&6
7368 echo "$ac_t""no" 1>&6
7372 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7373 echo "configure:7374: checking for --enable-pnm" >&5
7375 # Check whether --enable-pnm or --disable-pnm was given.
7376 if test "${enable_pnm+set}" = set; then
7377 enableval
="$enable_pnm"
7379 if test "$enableval" = yes; then
7380 ac_cv_use_pnm
='wxUSE_PNM=yes'
7382 ac_cv_use_pnm
='wxUSE_PNM=no'
7387 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7388 if test "x$LINE" != x
; then
7389 eval "DEFAULT_$LINE"
7394 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7399 eval "$ac_cv_use_pnm"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7404 if test "$wxUSE_PNM" = yes; then
7405 echo "$ac_t""yes" 1>&6
7407 echo "$ac_t""no" 1>&6
7411 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7412 echo "configure:7413: checking for --enable-pnm" >&5
7414 # Check whether --enable-pnm or --disable-pnm was given.
7415 if test "${enable_pnm+set}" = set; then
7416 enableval
="$enable_pnm"
7418 if test "$enableval" = yes; then
7419 ac_cv_use_pnm
='wxUSE_XPM=yes'
7421 ac_cv_use_pnm
='wxUSE_XPM=no'
7426 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x
; then
7428 eval "DEFAULT_$LINE"
7433 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7438 eval "$ac_cv_use_pnm"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_XPM" = yes; then
7444 echo "$ac_t""yes" 1>&6
7446 echo "$ac_t""no" 1>&6
7453 echo "saving argument cache $wx_arg_cache_file"
7454 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7458 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7459 echo "configure:7460: checking for toolkit" >&5
7461 if test "$wxUSE_GUI" = "yes"; then
7463 if test "$USE_BEOS" = 1; then
7464 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7467 if test "$TOOLKIT_GIVEN" = 1; then
7468 for toolkit
in `echo $ALL_TOOLKITS`; do
7470 eval "value=\$${var}"
7471 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7474 for toolkit
in `echo $ALL_TOOLKITS`; do
7475 if test "$has_toolkit_in_cache" != 1; then
7476 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7478 var
=DEFAULT_wxUSE_
$toolkit
7480 eval "wxUSE_$toolkit=\$${var}"
7484 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7488 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7489 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7498 case "$NUM_TOOLKITS" in
7502 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7505 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7508 for toolkit
in `echo $ALL_TOOLKITS`; do
7510 eval "value=\$${var}"
7511 if test "x$value" != x
; then
7512 cache_var
=CACHE_
$toolkit
7513 eval "cache=\$${cache_var}"
7514 if test "$cache" = 1; then
7515 echo "$var=$value" >> ${wx_arg_cache_file}
7517 if test "$value" = 1; then
7518 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7519 echo "$ac_t""$toolkit_echo" 1>&6
7526 echo "$ac_t""base only" 1>&6
7530 cat > confcache
<<\EOF
7531 # This file is a shell script that caches the results of configure
7532 # tests run on this system so they can be shared between configure
7533 # scripts and configure runs. It is not useful on other systems.
7534 # If it contains results you don't want to keep, you may remove or edit it.
7536 # By default, configure uses ./config.cache as the cache file,
7537 # creating it if it does not exist already. You can give configure
7538 # the --cache-file=FILE option to use a different cache file; that is
7539 # what configure does when it calls configure scripts in
7540 # subdirectories, so they share the cache.
7541 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7542 # config.status only pays attention to the cache file if you give it the
7543 # --recheck option to rerun configure.
7546 # The following way of writing the cache mishandles newlines in values,
7547 # but we know of no workaround that is simple, portable, and efficient.
7548 # So, don't put newlines in cache variables' values.
7549 # Ultrix sh set writes to stderr and can't be redirected directly,
7550 # and sets the high bit in the cache file unless we assign to the vars.
7552 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7554 # `set' does not quote correctly, so add quotes (double-quote substitution
7555 # turns \\\\ into \\, and sed turns \\ into \).
7557 -e "s/'/'\\\\''/g" \
7558 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7561 # `set' quotes correctly as required by POSIX, so do not add quotes.
7562 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7565 if cmp -s $cache_file confcache
; then
7568 if test -w $cache_file; then
7569 echo "updating cache $cache_file"
7570 cat confcache
> $cache_file
7572 echo "not updating unwritable cache $cache_file"
7578 if test "$build" != "$host" ; then
7582 RANLIB
=$host_alias-ranlib
7583 DLLTOOL
=$host_alias-dlltool
7584 RESCOMP
=$host_alias-windres
7587 STRIP
=$host_alias-strip
7590 # Extract the first word of "gcc", so it can be a program name with args.
7591 set dummy gcc
; ac_word
=$2
7592 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7593 echo "configure:7594: checking for $ac_word" >&5
7594 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7595 echo $ac_n "(cached) $ac_c" 1>&6
7597 if test -n "$CC"; then
7598 ac_cv_prog_CC
="$CC" # Let the user override the test.
7600 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7602 for ac_dir
in $ac_dummy; do
7603 test -z "$ac_dir" && ac_dir
=.
7604 if test -f $ac_dir/$ac_word; then
7613 if test -n "$CC"; then
7614 echo "$ac_t""$CC" 1>&6
7616 echo "$ac_t""no" 1>&6
7619 if test -z "$CC"; then
7620 # Extract the first word of "cc", so it can be a program name with args.
7621 set dummy cc
; ac_word
=$2
7622 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7623 echo "configure:7624: checking for $ac_word" >&5
7624 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7625 echo $ac_n "(cached) $ac_c" 1>&6
7627 if test -n "$CC"; then
7628 ac_cv_prog_CC
="$CC" # Let the user override the test.
7630 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7633 for ac_dir
in $ac_dummy; do
7634 test -z "$ac_dir" && ac_dir
=.
7635 if test -f $ac_dir/$ac_word; then
7636 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7637 ac_prog_rejected
=yes
7645 if test $ac_prog_rejected = yes; then
7646 # We found a bogon in the path, so make sure we never use it.
7647 set dummy
$ac_cv_prog_CC
7649 if test $# -gt 0; then
7650 # We chose a different compiler from the bogus one.
7651 # However, it has the same basename, so the bogon will be chosen
7652 # first if we set CC to just the basename; use the full file name.
7654 set dummy
"$ac_dir/$ac_word" "$@"
7662 if test -n "$CC"; then
7663 echo "$ac_t""$CC" 1>&6
7665 echo "$ac_t""no" 1>&6
7668 if test -z "$CC"; then
7669 case "`uname -s`" in
7671 # Extract the first word of "cl", so it can be a program name with args.
7672 set dummy cl
; ac_word
=$2
7673 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7674 echo "configure:7675: checking for $ac_word" >&5
7675 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7676 echo $ac_n "(cached) $ac_c" 1>&6
7678 if test -n "$CC"; then
7679 ac_cv_prog_CC
="$CC" # Let the user override the test.
7681 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7683 for ac_dir
in $ac_dummy; do
7684 test -z "$ac_dir" && ac_dir
=.
7685 if test -f $ac_dir/$ac_word; then
7694 if test -n "$CC"; then
7695 echo "$ac_t""$CC" 1>&6
7697 echo "$ac_t""no" 1>&6
7702 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7705 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7706 echo "configure:7707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7710 ac_cpp
='$CPP $CPPFLAGS'
7711 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7712 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7713 cross_compiling
=$ac_cv_prog_cc_cross
7715 cat > conftest.
$ac_ext << EOF
7717 #line 7718 "configure"
7718 #include "confdefs.h"
7722 if { (eval echo configure
:7723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7723 ac_cv_prog_cc_works
=yes
7724 # If we can't run a trivial program, we are probably using a cross compiler.
7725 if (.
/conftest
; exit) 2>/dev
/null
; then
7726 ac_cv_prog_cc_cross
=no
7728 ac_cv_prog_cc_cross
=yes
7731 echo "configure: failed program was:" >&5
7732 cat conftest.
$ac_ext >&5
7733 ac_cv_prog_cc_works
=no
7737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7738 ac_cpp
='$CPP $CPPFLAGS'
7739 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7740 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7741 cross_compiling
=$ac_cv_prog_cc_cross
7743 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7744 if test $ac_cv_prog_cc_works = no
; then
7745 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7748 echo "configure:7749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7749 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7750 cross_compiling
=$ac_cv_prog_cc_cross
7752 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7753 echo "configure:7754: checking whether we are using GNU C" >&5
7754 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7755 echo $ac_n "(cached) $ac_c" 1>&6
7757 cat > conftest.c
<<EOF
7762 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7769 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7771 if test $ac_cv_prog_gcc = yes; then
7777 ac_test_CFLAGS
="${CFLAGS+set}"
7778 ac_save_CFLAGS
="$CFLAGS"
7780 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7781 echo "configure:7782: checking whether ${CC-cc} accepts -g" >&5
7782 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7783 echo $ac_n "(cached) $ac_c" 1>&6
7785 echo 'void f(){}' > conftest.c
7786 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7795 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7796 if test "$ac_test_CFLAGS" = set; then
7797 CFLAGS
="$ac_save_CFLAGS"
7798 elif test $ac_cv_prog_cc_g = yes; then
7799 if test "$GCC" = yes; then
7805 if test "$GCC" = yes; then
7813 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7815 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7816 echo "configure:7817: checking how to run the C preprocessor" >&5
7817 # On Suns, sometimes $CPP names a directory.
7818 if test -n "$CPP" && test -d "$CPP"; then
7821 if test -z "$CPP"; then
7822 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7823 echo $ac_n "(cached) $ac_c" 1>&6
7825 # This must be in double quotes, not single quotes, because CPP may get
7826 # substituted into the Makefile and "${CC-cc}" will confuse make.
7828 # On the NeXT, cc -E runs the code through the compiler's parser,
7829 # not just through cpp.
7830 cat > conftest.
$ac_ext <<EOF
7831 #line 7832 "configure"
7832 #include "confdefs.h"
7836 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7837 { (eval echo configure
:7838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7838 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7839 if test -z "$ac_err"; then
7843 echo "configure: failed program was:" >&5
7844 cat conftest.
$ac_ext >&5
7846 CPP
="${CC-cc} -E -traditional-cpp"
7847 cat > conftest.
$ac_ext <<EOF
7848 #line 7849 "configure"
7849 #include "confdefs.h"
7853 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7854 { (eval echo configure
:7855: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7855 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7856 if test -z "$ac_err"; then
7860 echo "configure: failed program was:" >&5
7861 cat conftest.
$ac_ext >&5
7863 CPP
="${CC-cc} -nologo -E"
7864 cat > conftest.
$ac_ext <<EOF
7865 #line 7866 "configure"
7866 #include "confdefs.h"
7870 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7871 { (eval echo configure
:7872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7872 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7873 if test -z "$ac_err"; then
7877 echo "configure: failed program was:" >&5
7878 cat conftest.
$ac_ext >&5
7887 ac_cv_prog_CPP
="$CPP"
7889 CPP
="$ac_cv_prog_CPP"
7891 ac_cv_prog_CPP
="$CPP"
7893 echo "$ac_t""$CPP" 1>&6
7896 if test $ac_cv_prog_gcc = yes; then
7897 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7898 echo "configure:7899: checking whether ${CC-cc} needs -traditional" >&5
7899 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7900 echo $ac_n "(cached) $ac_c" 1>&6
7902 ac_pattern
="Autoconf.*'x'"
7903 cat > conftest.
$ac_ext <<EOF
7904 #line 7905 "configure"
7905 #include "confdefs.h"
7909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7910 egrep "$ac_pattern" >/dev
/null
2>&1; then
7912 ac_cv_prog_gcc_traditional
=yes
7915 ac_cv_prog_gcc_traditional
=no
7920 if test $ac_cv_prog_gcc_traditional = no
; then
7921 cat > conftest.
$ac_ext <<EOF
7922 #line 7923 "configure"
7923 #include "confdefs.h"
7927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7928 egrep "$ac_pattern" >/dev
/null
2>&1; then
7930 ac_cv_prog_gcc_traditional
=yes
7937 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7938 if test $ac_cv_prog_gcc_traditional = yes; then
7939 CC
="$CC -traditional"
7946 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7947 ac_cpp
='$CXXCPP $CPPFLAGS'
7948 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7949 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7950 cross_compiling
=$ac_cv_prog_cxx_cross
7953 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7955 # Extract the first word of "$ac_prog", so it can be a program name with args.
7956 set dummy
$ac_prog; ac_word
=$2
7957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7958 echo "configure:7959: checking for $ac_word" >&5
7959 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7960 echo $ac_n "(cached) $ac_c" 1>&6
7962 if test -n "$CXX"; then
7963 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7965 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7967 for ac_dir
in $ac_dummy; do
7968 test -z "$ac_dir" && ac_dir
=.
7969 if test -f $ac_dir/$ac_word; then
7970 ac_cv_prog_CXX
="$ac_prog"
7977 CXX
="$ac_cv_prog_CXX"
7978 if test -n "$CXX"; then
7979 echo "$ac_t""$CXX" 1>&6
7981 echo "$ac_t""no" 1>&6
7984 test -n "$CXX" && break
7986 test -n "$CXX" || CXX
="gcc"
7989 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7990 echo "configure:7991: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7993 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7994 ac_cpp
='$CXXCPP $CPPFLAGS'
7995 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7996 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7997 cross_compiling
=$ac_cv_prog_cxx_cross
7999 cat > conftest.
$ac_ext << EOF
8001 #line 8002 "configure"
8002 #include "confdefs.h"
8004 int main(){return(0);}
8006 if { (eval echo configure
:8007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8007 ac_cv_prog_cxx_works
=yes
8008 # If we can't run a trivial program, we are probably using a cross compiler.
8009 if (.
/conftest
; exit) 2>/dev
/null
; then
8010 ac_cv_prog_cxx_cross
=no
8012 ac_cv_prog_cxx_cross
=yes
8015 echo "configure: failed program was:" >&5
8016 cat conftest.
$ac_ext >&5
8017 ac_cv_prog_cxx_works
=no
8021 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8022 ac_cpp
='$CXXCPP $CPPFLAGS'
8023 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8024 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8025 cross_compiling
=$ac_cv_prog_cxx_cross
8027 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8028 if test $ac_cv_prog_cxx_works = no
; then
8029 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8031 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8032 echo "configure:8033: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8033 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8034 cross_compiling
=$ac_cv_prog_cxx_cross
8036 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8037 echo "configure:8038: checking whether we are using GNU C++" >&5
8038 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8039 echo $ac_n "(cached) $ac_c" 1>&6
8041 cat > conftest.C
<<EOF
8046 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8047: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8053 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8055 if test $ac_cv_prog_gxx = yes; then
8061 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8062 ac_save_CXXFLAGS
="$CXXFLAGS"
8064 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8065 echo "configure:8066: checking whether ${CXX-g++} accepts -g" >&5
8066 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8067 echo $ac_n "(cached) $ac_c" 1>&6
8069 echo 'void f(){}' > conftest.cc
8070 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8071 ac_cv_prog_cxx_g
=yes
8079 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8080 if test "$ac_test_CXXFLAGS" = set; then
8081 CXXFLAGS
="$ac_save_CXXFLAGS"
8082 elif test $ac_cv_prog_cxx_g = yes; then
8083 if test "$GXX" = yes; then
8089 if test "$GXX" = yes; then
8097 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
8098 echo "configure:8099: checking how to run the C++ preprocessor" >&5
8099 if test -z "$CXXCPP"; then
8100 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
8101 echo $ac_n "(cached) $ac_c" 1>&6
8104 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8105 ac_cpp
='$CXXCPP $CPPFLAGS'
8106 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8107 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8108 cross_compiling
=$ac_cv_prog_cxx_cross
8109 CXXCPP
="${CXX-g++} -E"
8110 cat > conftest.
$ac_ext <<EOF
8111 #line 8112 "configure"
8112 #include "confdefs.h"
8115 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8116 { (eval echo configure
:8117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8117 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8118 if test -z "$ac_err"; then
8122 echo "configure: failed program was:" >&5
8123 cat conftest.
$ac_ext >&5
8128 ac_cv_prog_CXXCPP
="$CXXCPP"
8130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8131 ac_cpp
='$CXXCPP $CPPFLAGS'
8132 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8133 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8134 cross_compiling
=$ac_cv_prog_cxx_cross
8137 CXXCPP
="$ac_cv_prog_CXXCPP"
8138 echo "$ac_t""$CXXCPP" 1>&6
8141 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8144 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8145 ac_cpp
='$CPP $CPPFLAGS'
8146 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8147 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8148 cross_compiling
=$ac_cv_prog_cc_cross
8151 # Extract the first word of "ranlib", so it can be a program name with args.
8152 set dummy ranlib
; ac_word
=$2
8153 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8154 echo "configure:8155: checking for $ac_word" >&5
8155 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8156 echo $ac_n "(cached) $ac_c" 1>&6
8158 if test -n "$RANLIB"; then
8159 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8161 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8163 for ac_dir
in $ac_dummy; do
8164 test -z "$ac_dir" && ac_dir
=.
8165 if test -f $ac_dir/$ac_word; then
8166 ac_cv_prog_RANLIB
="ranlib"
8171 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8174 RANLIB
="$ac_cv_prog_RANLIB"
8175 if test -n "$RANLIB"; then
8176 echo "$ac_t""$RANLIB" 1>&6
8178 echo "$ac_t""no" 1>&6
8182 # Extract the first word of "ar", so it can be a program name with args.
8183 set dummy
ar; ac_word
=$2
8184 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8185 echo "configure:8186: checking for $ac_word" >&5
8186 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8187 echo $ac_n "(cached) $ac_c" 1>&6
8189 if test -n "$AR"; then
8190 ac_cv_prog_AR
="$AR" # Let the user override the test.
8192 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8194 for ac_dir
in $ac_dummy; do
8195 test -z "$ac_dir" && ac_dir
=.
8196 if test -f $ac_dir/$ac_word; then
8202 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8206 if test -n "$AR"; then
8207 echo "$ac_t""$AR" 1>&6
8209 echo "$ac_t""no" 1>&6
8213 # Find a good install program. We prefer a C program (faster),
8214 # so one script is as good as another. But avoid the broken or
8215 # incompatible versions:
8216 # SysV /etc/install, /usr/sbin/install
8217 # SunOS /usr/etc/install
8218 # IRIX /sbin/install
8220 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8221 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8222 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8223 # ./install, which can be erroneously created by make from ./install.sh.
8224 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8225 echo "configure:8226: checking for a BSD compatible install" >&5
8226 if test -z "$INSTALL"; then
8227 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8228 echo $ac_n "(cached) $ac_c" 1>&6
8230 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8231 for ac_dir
in $PATH; do
8232 # Account for people who put trailing slashes in PATH elements.
8234 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8236 # OSF1 and SCO ODT 3.0 have their own names for install.
8237 # Don't use installbsd from OSF since it installs stuff as root
8239 for ac_prog
in ginstall scoinst
install; do
8240 if test -f $ac_dir/$ac_prog; then
8241 if test $ac_prog = install &&
8242 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8243 # AIX install. It has an incompatible calling convention.
8246 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8257 if test "${ac_cv_path_install+set}" = set; then
8258 INSTALL
="$ac_cv_path_install"
8260 # As a last resort, use the slow shell script. We don't cache a
8261 # path for INSTALL within a source directory, because that will
8262 # break other packages using the cache if that directory is
8263 # removed, or if the path is relative.
8264 INSTALL
="$ac_install_sh"
8267 echo "$ac_t""$INSTALL" 1>&6
8269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8270 # It thinks the first close brace ends the variable substitution.
8271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8275 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8278 # Extract the first word of "strip", so it can be a program name with args.
8279 set dummy strip
; ac_word
=$2
8280 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8281 echo "configure:8282: checking for $ac_word" >&5
8282 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8283 echo $ac_n "(cached) $ac_c" 1>&6
8285 if test -n "$STRIP"; then
8286 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8288 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8290 for ac_dir
in $ac_dummy; do
8291 test -z "$ac_dir" && ac_dir
=.
8292 if test -f $ac_dir/$ac_word; then
8293 ac_cv_prog_STRIP
="strip"
8298 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8301 STRIP
="$ac_cv_prog_STRIP"
8302 if test -n "$STRIP"; then
8303 echo "$ac_t""$STRIP" 1>&6
8305 echo "$ac_t""no" 1>&6
8309 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8310 echo "configure:8311: checking make for VPATH support" >&5
8311 cat - << EOF > confMake
8317 if test ! -d sub
; then
8320 echo dummy
> sub
/file
8321 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8323 rm -f sub
/file check final_file confMake
8325 if test "$RESULT" = 0; then
8326 echo "$ac_t""yes" 1>&6
8328 echo "$ac_t""no" 1>&6
8329 { echo "configure: error:
8330 You need a make-utility that is able to use the variable
8332 If your version of make does not support VPATH correctly,
8333 please install GNU-make (possibly as gmake), and start
8334 configure with the following command:
8335 export MAKE=gmake; ./configure for sh-type shells
8336 setenv MAKE gmake; ./configure for csh-type shells
8337 Also please do remember to use gmake in this case every time
8338 you are trying to compile.
8342 for ac_prog
in 'bison -y' byacc
8344 # Extract the first word of "$ac_prog", so it can be a program name with args.
8345 set dummy
$ac_prog; ac_word
=$2
8346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8347 echo "configure:8348: checking for $ac_word" >&5
8348 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8349 echo $ac_n "(cached) $ac_c" 1>&6
8351 if test -n "$YACC"; then
8352 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8354 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8356 for ac_dir
in $ac_dummy; do
8357 test -z "$ac_dir" && ac_dir
=.
8358 if test -f $ac_dir/$ac_word; then
8359 ac_cv_prog_YACC
="$ac_prog"
8366 YACC
="$ac_cv_prog_YACC"
8367 if test -n "$YACC"; then
8368 echo "$ac_t""$YACC" 1>&6
8370 echo "$ac_t""no" 1>&6
8373 test -n "$YACC" && break
8375 test -n "$YACC" || YACC
="yacc"
8378 # Extract the first word of "flex", so it can be a program name with args.
8379 set dummy flex
; ac_word
=$2
8380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8381 echo "configure:8382: checking for $ac_word" >&5
8382 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8383 echo $ac_n "(cached) $ac_c" 1>&6
8385 if test -n "$LEX"; then
8386 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8388 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8390 for ac_dir
in $ac_dummy; do
8391 test -z "$ac_dir" && ac_dir
=.
8392 if test -f $ac_dir/$ac_word; then
8393 ac_cv_prog_LEX
="flex"
8398 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8401 LEX
="$ac_cv_prog_LEX"
8402 if test -n "$LEX"; then
8403 echo "$ac_t""$LEX" 1>&6
8405 echo "$ac_t""no" 1>&6
8408 if test -z "$LEXLIB"
8414 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8415 echo "configure:8416: checking for yywrap in -l$ac_lib" >&5
8416 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8417 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8418 echo $ac_n "(cached) $ac_c" 1>&6
8420 ac_save_LIBS
="$LIBS"
8421 LIBS
="-l$ac_lib $LIBS"
8422 cat > conftest.
$ac_ext <<EOF
8423 #line 8424 "configure"
8424 #include "confdefs.h"
8425 /* Override any gcc2 internal prototype to avoid an error. */
8426 /* We use char because int might match the return type of a gcc2
8427 builtin and then its argument prototype would still apply. */
8434 if { (eval echo configure
:8435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8436 eval "ac_cv_lib_$ac_lib_var=yes"
8438 echo "configure: failed program was:" >&5
8439 cat conftest.
$ac_ext >&5
8441 eval "ac_cv_lib_$ac_lib_var=no"
8444 LIBS
="$ac_save_LIBS"
8447 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8448 echo "$ac_t""yes" 1>&6
8451 echo "$ac_t""no" 1>&6
8457 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8458 echo "configure:8459: checking whether ln -s works" >&5
8459 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8460 echo $ac_n "(cached) $ac_c" 1>&6
8463 if ln -s X conftestdata
2>/dev
/null
8466 ac_cv_prog_LN_S
="ln -s"
8471 LN_S
="$ac_cv_prog_LN_S"
8472 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8473 echo "$ac_t""yes" 1>&6
8475 echo "$ac_t""no" 1>&6
8481 /usr/local/include \
8483 /usr/Motif-1.2/include \
8484 /usr/Motif-2.1/include \
8486 /usr/include/Motif1.2 \
8487 /opt/xpm/include/X11 \
8488 /opt/GBxpm/include/ \
8489 /opt/GBxpm/X11/include/ \
8491 /usr/Motif1.2/include \
8493 /usr/openwin/include \
8497 /usr/X11R6/include \
8498 /usr/X11R6.4/include \
8499 /usr/X11R5/include \
8500 /usr/X11R4/include \
8502 /usr/include/X11R6 \
8503 /usr/include/X11R5 \
8504 /usr/include/X11R4 \
8506 /usr/local/X11R6/include \
8507 /usr/local/X11R5/include \
8508 /usr/local/X11R4/include \
8510 /usr/local/include/X11R6 \
8511 /usr/local/include/X11R5 \
8512 /usr/local/include/X11R4 \
8516 /usr/local/X11/include \
8517 /usr/local/include/X11 \
8521 /usr/XFree86/include/X11 \
8523 X:/XFree86/include \
8524 X:/XFree86/include/X11 \
8527 /usr/local/include/gtk \
8529 /usr/local/include/glib \
8532 /usr/local/include/qt \
8534 /usr/include/windows \
8536 /usr/local/include/wine \
8538 /usr/unsupported/include \
8539 /usr/athena/include \
8540 /usr/local/x11r5/include \
8541 /usr/lpp/Xamples/include \
8543 /usr/openwin/share/include \
8547 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8550 cat > confcache
<<\EOF
8551 # This file is a shell script that caches the results of configure
8552 # tests run on this system so they can be shared between configure
8553 # scripts and configure runs. It is not useful on other systems.
8554 # If it contains results you don't want to keep, you may remove or edit it.
8556 # By default, configure uses ./config.cache as the cache file,
8557 # creating it if it does not exist already. You can give configure
8558 # the --cache-file=FILE option to use a different cache file; that is
8559 # what configure does when it calls configure scripts in
8560 # subdirectories, so they share the cache.
8561 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8562 # config.status only pays attention to the cache file if you give it the
8563 # --recheck option to rerun configure.
8566 # The following way of writing the cache mishandles newlines in values,
8567 # but we know of no workaround that is simple, portable, and efficient.
8568 # So, don't put newlines in cache variables' values.
8569 # Ultrix sh set writes to stderr and can't be redirected directly,
8570 # and sets the high bit in the cache file unless we assign to the vars.
8572 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8574 # `set' does not quote correctly, so add quotes (double-quote substitution
8575 # turns \\\\ into \\, and sed turns \\ into \).
8577 -e "s/'/'\\\\''/g" \
8578 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8581 # `set' quotes correctly as required by POSIX, so do not add quotes.
8582 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8585 if cmp -s $cache_file confcache
; then
8588 if test -w $cache_file; then
8589 echo "updating cache $cache_file"
8590 cat confcache
> $cache_file
8592 echo "not updating unwritable cache $cache_file"
8601 if test "$wxUSE_GUI" = "yes"; then
8616 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8617 if test "$cross_compiling" = "yes" ; then
8618 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8620 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8621 echo "configure:8622: checking for Windows headers" >&5
8624 for ac_dir
in $SEARCH_INCLUDE;
8626 if test -f "$ac_dir/windows.h"; then
8627 ac_find_includes
=$ac_dir
8632 if test "$ac_find_includes" != "" ; then
8633 echo "$ac_t""found $ac_find_includes" 1>&6
8634 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8636 echo "$ac_t""no" 1>&6
8637 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8641 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8642 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8644 if test "$wxUSE_ODBC" = "yes" ; then
8645 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8648 if test "$wxUSE_MINGW" = 1; then
8649 LDFLAGS
="$LDFLAGS -mwindows"
8655 RCINCSWITCH
="--include-dir"
8656 RCDEFSWITCH
="--define"
8657 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8660 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8662 RESPROGRAM
="\$(RES_PROGRAM)"
8665 if test "$wxUSE_GTK" = 1; then
8666 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8667 echo "configure:8668: checking for GTK+ version" >&5
8669 gtk_version_cached
=1
8670 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8671 echo $ac_n "(cached) $ac_c" 1>&6
8674 gtk_version_cached
=0
8675 echo "$ac_t""""" 1>&6
8678 if test "x$wxUSE_GTK2" = "xyes"; then
8679 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8680 if test "${with_gtk_prefix+set}" = set; then
8681 withval
="$with_gtk_prefix"
8682 gtk_config_prefix
="$withval"
8684 gtk_config_prefix
=""
8687 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8688 if test "${with_gtk_exec_prefix+set}" = set; then
8689 withval
="$with_gtk_exec_prefix"
8690 gtk_config_exec_prefix
="$withval"
8692 gtk_config_exec_prefix
=""
8695 # Check whether --enable-gtktest or --disable-gtktest was given.
8696 if test "${enable_gtktest+set}" = set; then
8697 enableval
="$enable_gtktest"
8708 gtk_config_args
="$gtk_config_args gthread"
8713 if test x
$gtk_config_exec_prefix != x
; then
8714 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8715 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8716 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8719 if test x
$gtk_config_prefix != x
; then
8720 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8721 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8722 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8726 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8727 set dummy gtk
-config-2.0
; ac_word
=$2
8728 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8729 echo "configure:8730: checking for $ac_word" >&5
8730 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8731 echo $ac_n "(cached) $ac_c" 1>&6
8733 case "$GTK_CONFIG_2_0" in
8735 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8738 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8741 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8743 for ac_dir
in $ac_dummy; do
8744 test -z "$ac_dir" && ac_dir
=.
8745 if test -f $ac_dir/$ac_word; then
8746 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8751 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8755 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8756 if test -n "$GTK_CONFIG_2_0"; then
8757 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8759 echo "$ac_t""no" 1>&6
8762 min_gtk_version
=1.3.1
8763 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8764 echo "configure:8765: checking for GTK - version >= $min_gtk_version" >&5
8766 if test "$GTK_CONFIG_2_0" = "no" ; then
8769 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8770 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8771 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8773 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8774 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8775 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8776 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8777 if test "x$enable_gtktest" = "xyes" ; then
8778 ac_save_CFLAGS
="$CFLAGS"
8779 ac_save_LIBS
="$LIBS"
8780 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8781 LIBS
="$GTK_LIBS $LIBS"
8783 if test "$cross_compiling" = yes; then
8784 echo $ac_n "cross compiling; assumed OK... $ac_c"
8786 cat > conftest.
$ac_ext <<EOF
8787 #line 8788 "configure"
8788 #include "confdefs.h"
8790 #include <gtk/gtk.h>
8797 int major, minor, micro;
8800 system ("touch conf.gtktest");
8802 /* HP/UX 9 (%@#!) writes to sscanf strings */
8803 tmp_version = g_strdup("$min_gtk_version");
8804 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8805 printf("%s, bad version string\n", "$min_gtk_version");
8809 if ((gtk_major_version != $gtk_config_major_version) ||
8810 (gtk_minor_version != $gtk_config_minor_version) ||
8811 (gtk_micro_version != $gtk_config_micro_version))
8813 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8814 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8815 gtk_major_version, gtk_minor_version, gtk_micro_version);
8816 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8817 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8818 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8819 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8820 printf("*** required on your system.\n");
8821 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8822 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8823 printf("*** before re-running configure\n");
8825 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8826 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8827 (gtk_minor_version != GTK_MINOR_VERSION) ||
8828 (gtk_micro_version != GTK_MICRO_VERSION))
8830 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8831 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8832 printf("*** library (version %d.%d.%d)\n",
8833 gtk_major_version, gtk_minor_version, gtk_micro_version);
8835 #endif /* defined (GTK_MAJOR_VERSION) ... */
8838 if ((gtk_major_version > major) ||
8839 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8840 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8846 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8847 gtk_major_version, gtk_minor_version, gtk_micro_version);
8848 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8849 major, minor, micro);
8850 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8852 printf("*** If you have already installed a sufficiently new version, this error\n");
8853 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8854 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8855 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8856 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8857 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8858 printf("*** so that the correct libraries are found at run-time))\n");
8865 if { (eval echo configure
:8866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8869 echo "configure: failed program was:" >&5
8870 cat conftest.
$ac_ext >&5
8877 CFLAGS
="$ac_save_CFLAGS"
8878 LIBS
="$ac_save_LIBS"
8881 if test "x$no_gtk" = x
; then
8882 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8885 echo "$ac_t""no" 1>&6
8886 if test "$GTK_CONFIG_2_0" = "no" ; then
8887 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8888 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8889 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8890 echo "*** full path to gtk-config-2.0."
8892 if test -f conf.gtktest
; then
8895 echo "*** Could not run GTK test program, checking why..."
8896 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8897 LIBS
="$LIBS $GTK_LIBS"
8898 cat > conftest.
$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8902 #include <gtk/gtk.h>
8906 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8909 if { (eval echo configure
:8910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8911 echo "*** The test program compiled, but did not run. This usually means"
8912 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8913 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8914 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8915 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8916 echo "*** is required on your system"
8918 echo "*** If you have an old version installed, it is best to remove it, although"
8919 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8921 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8922 echo "*** came with the system with the command"
8924 echo "*** rpm --erase --nodeps gtk gtk-devel"
8926 echo "configure: failed program was:" >&5
8927 cat conftest.
$ac_ext >&5
8929 echo "*** The test program failed to compile or link. See the file config.log for the"
8930 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8931 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8932 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8935 CFLAGS
="$ac_save_CFLAGS"
8936 LIBS
="$ac_save_LIBS"
8949 if test -z "$wx_cv_lib_gtk"; then
8951 if test x
$gtk_config_exec_prefix != x
; then
8952 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8953 if test x
${GTK_CONFIG+set} != xset
; then
8954 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8957 if test x
$gtk_config_prefix != x
; then
8958 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8959 if test x
${GTK_CONFIG+set} != xset
; then
8960 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8964 # Extract the first word of "gtk-config", so it can be a program name with args.
8965 set dummy gtk
-config; ac_word
=$2
8966 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8967 echo "configure:8968: checking for $ac_word" >&5
8968 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8969 echo $ac_n "(cached) $ac_c" 1>&6
8971 case "$GTK_CONFIG" in
8973 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8976 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8979 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8981 for ac_dir
in $ac_dummy; do
8982 test -z "$ac_dir" && ac_dir
=.
8983 if test -f $ac_dir/$ac_word; then
8984 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8989 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8993 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8994 if test -n "$GTK_CONFIG"; then
8995 echo "$ac_t""$GTK_CONFIG" 1>&6
8997 echo "$ac_t""no" 1>&6
9000 min_gtk_version
=1.2.7
9001 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9002 echo "configure:9003: checking for GTK - version >= $min_gtk_version" >&5
9004 if test "$GTK_CONFIG" != "no" ; then
9005 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9006 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9007 ac_save_CFLAGS
="$CFLAGS"
9008 ac_save_LIBS
="$LIBS"
9009 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9010 LIBS
="$LIBS $GTK_LIBS"
9011 if test "$cross_compiling" = yes; then
9012 echo $ac_n "cross compiling; assumed OK... $ac_c"
9014 cat > conftest.
$ac_ext <<EOF
9015 #line 9016 "configure"
9016 #include "confdefs.h"
9018 #include <gtk/gtk.h>
9019 #include <gtk/gtkfeatures.h>
9026 int major, minor, micro;
9028 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9029 printf("%s, bad version string\n", "$min_gtk_version");
9033 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9034 (GTK_MINOR_VERSION != gtk_minor_version) ||
9035 (GTK_MICRO_VERSION != gtk_micro_version)) {
9036 printf("Headers vs. library version mismatch!\n");
9040 if (gtk_minor_version == 1) return FALSE;
9042 return !((gtk_major_version > major) ||
9043 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9044 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9048 if { (eval echo configure
:9049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9052 echo "configure: failed program was:" >&5
9053 cat conftest.
$ac_ext >&5
9060 CFLAGS
="$ac_save_CFLAGS"
9061 LIBS
="$ac_save_LIBS"
9065 if test "x$no_gtk" = x
; then
9066 echo "$ac_t""yes" 1>&6
9069 echo "$ac_t""no" 1>&6
9079 if test -z "$wx_cv_lib_gtk"; then
9081 if test x
$gtk_config_exec_prefix != x
; then
9082 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9083 if test x
${GTK_CONFIG+set} != xset
; then
9084 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9087 if test x
$gtk_config_prefix != x
; then
9088 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9089 if test x
${GTK_CONFIG+set} != xset
; then
9090 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9094 # Extract the first word of "gtk-config", so it can be a program name with args.
9095 set dummy gtk
-config; ac_word
=$2
9096 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9097 echo "configure:9098: checking for $ac_word" >&5
9098 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9101 case "$GTK_CONFIG" in
9103 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9106 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9109 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9111 for ac_dir
in $ac_dummy; do
9112 test -z "$ac_dir" && ac_dir
=.
9113 if test -f $ac_dir/$ac_word; then
9114 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9119 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9123 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9124 if test -n "$GTK_CONFIG"; then
9125 echo "$ac_t""$GTK_CONFIG" 1>&6
9127 echo "$ac_t""no" 1>&6
9130 min_gtk_version
=1.2.3
9131 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9132 echo "configure:9133: checking for GTK - version >= $min_gtk_version" >&5
9134 if test "$GTK_CONFIG" != "no" ; then
9135 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9136 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9137 ac_save_CFLAGS
="$CFLAGS"
9138 ac_save_LIBS
="$LIBS"
9139 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9140 LIBS
="$LIBS $GTK_LIBS"
9141 if test "$cross_compiling" = yes; then
9142 echo $ac_n "cross compiling; assumed OK... $ac_c"
9144 cat > conftest.
$ac_ext <<EOF
9145 #line 9146 "configure"
9146 #include "confdefs.h"
9148 #include <gtk/gtk.h>
9149 #include <gtk/gtkfeatures.h>
9156 int major, minor, micro;
9158 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9159 printf("%s, bad version string\n", "$min_gtk_version");
9163 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9164 (GTK_MINOR_VERSION != gtk_minor_version) ||
9165 (GTK_MICRO_VERSION != gtk_micro_version)) {
9166 printf("Headers vs. library version mismatch!\n");
9170 if (gtk_minor_version == 1) return FALSE;
9172 return !((gtk_major_version > major) ||
9173 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9174 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9178 if { (eval echo configure
:9179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9182 echo "configure: failed program was:" >&5
9183 cat conftest.
$ac_ext >&5
9190 CFLAGS
="$ac_save_CFLAGS"
9191 LIBS
="$ac_save_LIBS"
9195 if test "x$no_gtk" = x
; then
9196 echo "$ac_t""yes" 1>&6
9199 echo "$ac_t""no" 1>&6
9209 if test -z "$wx_cv_lib_gtk"; then
9212 wx_cv_cflags_gtk
=$GTK_CFLAGS
9213 wx_cv_libs_gtk
=$GTK_LIBS
9220 if test "$gtk_version_cached" = 1; then
9221 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9224 case "$wx_cv_lib_gtk" in
9232 *) { echo "configure: error:
9233 Please check that gtk-config is in path, the directory
9234 where GTK+ libraries are installed (returned by
9235 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9236 equivalent variable and GTK+ is version 1.2.3 or above.
9241 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9242 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9244 AFMINSTALL
=afminstall
9248 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9249 echo "configure:9250: checking for gdk_im_open in -lgdk" >&5
9250 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9251 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9252 echo $ac_n "(cached) $ac_c" 1>&6
9254 ac_save_LIBS
="$LIBS"
9256 cat > conftest.
$ac_ext <<EOF
9257 #line 9258 "configure"
9258 #include "confdefs.h"
9259 /* Override any gcc2 internal prototype to avoid an error. */
9260 /* We use char because int might match the return type of a gcc2
9261 builtin and then its argument prototype would still apply. */
9268 if { (eval echo configure
:9269: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9270 eval "ac_cv_lib_$ac_lib_var=yes"
9272 echo "configure: failed program was:" >&5
9273 cat conftest.
$ac_ext >&5
9275 eval "ac_cv_lib_$ac_lib_var=no"
9278 LIBS
="$ac_save_LIBS"
9281 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9282 echo "$ac_t""yes" 1>&6
9283 cat >> confdefs.h
<<\EOF
9288 echo "$ac_t""no" 1>&6
9293 if test "$wxUSE_MGL" = 1; then
9295 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9296 echo "configure:9297: checking for SciTech MGL library" >&5
9297 if test "x$MGL_ROOT" = x
; then
9298 echo "$ac_t""not found" 1>&6
9299 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9301 echo "$ac_t""$MGL_ROOT" 1>&6
9304 MGL_OS
=linux
/gcc
/glibc
9307 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9308 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9312 if test "x$MGL_LIB_TYPE" = x
; then
9313 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9314 MGL_LIB_TYPE
=release
9316 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9320 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9321 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9323 AFMINSTALL
=afminstall
9328 if test "$wxUSE_WINE" = 1; then
9329 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9330 echo "configure:9331: checking for WINE includes" >&5
9333 for ac_dir
in $SEARCH_INCLUDE;
9335 if test -f "$ac_dir/windows.h"; then
9336 ac_find_includes
=$ac_dir
9341 if test "$ac_find_includes" != "" ; then
9342 echo "$ac_t""found $ac_find_includes" 1>&6
9343 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9345 echo "$ac_t""no" 1>&6
9346 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9350 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9351 echo "configure:9352: checking for Xpm library" >&5
9354 for ac_dir
in $SEARCH_LIB;
9356 for ac_extension
in a so sl
; do
9357 if test -f "$ac_dir/libXpm.$ac_extension"; then
9358 ac_find_libraries
=$ac_dir
9364 if test "$ac_find_libraries" != "" ; then
9365 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9367 cat >> confdefs.h
<<\EOF
9368 #define wxHAVE_LIB_XPM 1
9371 echo "$ac_t""found at $ac_find_libraries" 1>&6
9373 echo "$ac_t""no" 1>&6
9374 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9378 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9379 echo "configure:9380: checking for Mesa library" >&5
9382 for ac_dir
in $SEARCH_LIB;
9384 for ac_extension
in a so sl
; do
9385 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9386 ac_find_libraries
=$ac_dir
9392 if test "$ac_find_libraries" != "" ; then
9393 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9394 MESA_LINK
="-lMesaGL"
9395 echo "$ac_t""found at $ac_find_libraries" 1>&6
9397 { echo "configure: error: no" 1>&2; exit 1; }
9400 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9401 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9408 # If we find X, set shell vars x_includes and x_libraries to the
9409 # paths, otherwise set no_x=yes.
9410 # Uses ac_ vars as temps to allow command line to override cache and checks.
9411 # --without-x overrides everything else, but does not touch the cache.
9412 echo $ac_n "checking for X""... $ac_c" 1>&6
9413 echo "configure:9414: checking for X" >&5
9415 # Check whether --with-x or --without-x was given.
9416 if test "${with_x+set}" = set; then
9421 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9422 if test "x$with_x" = xno
; then
9423 # The user explicitly disabled X.
9426 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9427 # Both variables are already set.
9430 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9431 echo $ac_n "(cached) $ac_c" 1>&6
9433 # One or both of the vars are not set, and there is no cached value.
9434 ac_x_includes
=NO ac_x_libraries
=NO
9436 if mkdir conftestdir
; then
9438 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9439 cat > Imakefile
<<'EOF'
9441 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9443 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9445 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9446 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9447 for ac_extension
in a so sl
; do
9448 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9449 test -f $ac_im_libdir/libX11.
$ac_extension; then
9450 ac_im_usrlibdir
=$ac_im_libdir; break
9453 # Screen out bogus values from the imake configuration. They are
9454 # bogus both because they are the default anyway, and because
9455 # using them would break gcc on systems where it needs fixed includes.
9456 case "$ac_im_incroot" in
9458 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9460 case "$ac_im_usrlibdir" in
9462 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9469 if test "$ac_x_includes" = NO
; then
9470 # Guess where to find include files, by looking for this one X11 .h file.
9471 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9473 # First, try using that file with no special directory specified.
9474 cat > conftest.
$ac_ext <<EOF
9475 #line 9476 "configure"
9476 #include "confdefs.h"
9477 #include <$x_direct_test_include>
9479 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9480 { (eval echo configure
:9481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9481 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9482 if test -z "$ac_err"; then
9484 # We can compile using X headers with no special include directory.
9488 echo "configure: failed program was:" >&5
9489 cat conftest.
$ac_ext >&5
9491 # Look for the header file in a standard set of common directories.
9492 # Check X11 before X11Rn because it is often a symlink to the current release.
9495 /usr
/X
11R
6/include \
9496 /usr
/X
11R
5/include \
9497 /usr
/X
11R
4/include \
9500 /usr
/include
/X11R6 \
9501 /usr
/include
/X11R5 \
9502 /usr
/include
/X11R4 \
9504 /usr
/local
/X
11/include \
9505 /usr
/local
/X
11R
6/include \
9506 /usr
/local
/X
11R
5/include \
9507 /usr
/local
/X
11R
4/include \
9509 /usr
/local
/include
/X11 \
9510 /usr
/local
/include
/X11R6 \
9511 /usr
/local
/include
/X11R5 \
9512 /usr
/local
/include
/X11R4 \
9516 /usr
/XFree
86/include
/X11 \
9519 /usr
/local
/include \
9520 /usr
/unsupported
/include \
9521 /usr
/athena
/include \
9522 /usr
/local
/x
11r
5/include \
9523 /usr
/lpp
/Xamples
/include \
9525 /usr
/openwin
/include \
9526 /usr
/openwin
/share
/include \
9529 if test -r "$ac_dir/$x_direct_test_include"; then
9530 ac_x_includes
=$ac_dir
9536 fi # $ac_x_includes = NO
9538 if test "$ac_x_libraries" = NO
; then
9539 # Check for the libraries.
9541 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9542 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9544 # See if we find them without any special options.
9545 # Don't add to $LIBS permanently.
9546 ac_save_LIBS
="$LIBS"
9547 LIBS
="-l$x_direct_test_library $LIBS"
9548 cat > conftest.
$ac_ext <<EOF
9549 #line 9550 "configure"
9550 #include "confdefs.h"
9553 ${x_direct_test_function}()
9556 if { (eval echo configure
:9557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9558 LIBS
="$ac_save_LIBS"
9559 # We can link X programs with no special library path.
9562 echo "configure: failed program was:" >&5
9563 cat conftest.
$ac_ext >&5
9565 LIBS
="$ac_save_LIBS"
9566 # First see if replacing the include by lib works.
9567 # Check X11 before X11Rn because it is often a symlink to the current release.
9568 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9579 /usr
/local
/X
11/lib \
9580 /usr
/local
/X
11R
6/lib \
9581 /usr
/local
/X
11R
5/lib \
9582 /usr
/local
/X
11R
4/lib \
9584 /usr
/local
/lib
/X11 \
9585 /usr
/local
/lib
/X11R6 \
9586 /usr
/local
/lib
/X11R5 \
9587 /usr
/local
/lib
/X11R4 \
9591 /usr
/XFree
86/lib
/X11 \
9595 /usr
/unsupported
/lib \
9597 /usr
/local
/x
11r
5/lib \
9598 /usr
/lpp
/Xamples
/lib \
9602 /usr
/openwin
/share
/lib \
9605 for ac_extension
in a so sl
; do
9606 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9607 ac_x_libraries
=$ac_dir
9614 fi # $ac_x_libraries = NO
9616 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9617 # Didn't find X anywhere. Cache the known absence of X.
9618 ac_cv_have_x
="have_x=no"
9620 # Record where we found X for the cache.
9621 ac_cv_have_x
="have_x=yes \
9622 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9626 eval "$ac_cv_have_x"
9629 if test "$have_x" != yes; then
9630 echo "$ac_t""$have_x" 1>&6
9633 # If each of the values was on the command line, it overrides each guess.
9634 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9635 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9636 # Update the cache value to reflect the command line values.
9637 ac_cv_have_x
="have_x=yes \
9638 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9639 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9642 if test "$no_x" = yes; then
9643 # Not all programs may use this symbol, but it does not hurt to define it.
9644 cat >> confdefs.h
<<\EOF
9645 #define X_DISPLAY_MISSING 1
9648 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9650 if test -n "$x_includes"; then
9651 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9654 # It would also be nice to do this for all -L options, not just this one.
9655 if test -n "$x_libraries"; then
9656 X_LIBS
="$X_LIBS -L$x_libraries"
9657 # For Solaris; some versions of Sun CC require a space after -R and
9658 # others require no space. Words are not sufficient . . . .
9659 case "`(uname -sr) 2>/dev/null`" in
9661 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9662 echo "configure:9663: checking whether -R must be followed by a space" >&5
9663 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9664 cat > conftest.
$ac_ext <<EOF
9665 #line 9666 "configure"
9666 #include "confdefs.h"
9672 if { (eval echo configure
:9673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9676 echo "configure: failed program was:" >&5
9677 cat conftest.
$ac_ext >&5
9682 if test $ac_R_nospace = yes; then
9683 echo "$ac_t""no" 1>&6
9684 X_LIBS
="$X_LIBS -R$x_libraries"
9686 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9687 cat > conftest.
$ac_ext <<EOF
9688 #line 9689 "configure"
9689 #include "confdefs.h"
9695 if { (eval echo configure
:9696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9699 echo "configure: failed program was:" >&5
9700 cat conftest.
$ac_ext >&5
9705 if test $ac_R_space = yes; then
9706 echo "$ac_t""yes" 1>&6
9707 X_LIBS
="$X_LIBS -R $x_libraries"
9709 echo "$ac_t""neither works" 1>&6
9712 LIBS
="$ac_xsave_LIBS"
9716 # Check for system-dependent libraries X programs must link with.
9717 # Do this before checking for the system-independent R6 libraries
9718 # (-lICE), since we may need -lsocket or whatever for X linking.
9720 if test "$ISC" = yes; then
9721 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9723 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9724 # libraries were built with DECnet support. And karl@cs.umb.edu says
9725 # the Alpha needs dnet_stub (dnet does not exist).
9726 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9727 echo "configure:9728: checking for dnet_ntoa in -ldnet" >&5
9728 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9730 echo $ac_n "(cached) $ac_c" 1>&6
9732 ac_save_LIBS
="$LIBS"
9734 cat > conftest.
$ac_ext <<EOF
9735 #line 9736 "configure"
9736 #include "confdefs.h"
9737 /* Override any gcc2 internal prototype to avoid an error. */
9738 /* We use char because int might match the return type of a gcc2
9739 builtin and then its argument prototype would still apply. */
9746 if { (eval echo configure
:9747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9748 eval "ac_cv_lib_$ac_lib_var=yes"
9750 echo "configure: failed program was:" >&5
9751 cat conftest.
$ac_ext >&5
9753 eval "ac_cv_lib_$ac_lib_var=no"
9756 LIBS
="$ac_save_LIBS"
9759 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9760 echo "$ac_t""yes" 1>&6
9761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9763 echo "$ac_t""no" 1>&6
9766 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9767 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9768 echo "configure:9769: checking for dnet_ntoa in -ldnet_stub" >&5
9769 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9770 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9771 echo $ac_n "(cached) $ac_c" 1>&6
9773 ac_save_LIBS
="$LIBS"
9774 LIBS
="-ldnet_stub $LIBS"
9775 cat > conftest.
$ac_ext <<EOF
9776 #line 9777 "configure"
9777 #include "confdefs.h"
9778 /* Override any gcc2 internal prototype to avoid an error. */
9779 /* We use char because int might match the return type of a gcc2
9780 builtin and then its argument prototype would still apply. */
9787 if { (eval echo configure
:9788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9789 eval "ac_cv_lib_$ac_lib_var=yes"
9791 echo "configure: failed program was:" >&5
9792 cat conftest.
$ac_ext >&5
9794 eval "ac_cv_lib_$ac_lib_var=no"
9797 LIBS
="$ac_save_LIBS"
9800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9801 echo "$ac_t""yes" 1>&6
9802 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9804 echo "$ac_t""no" 1>&6
9809 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9810 # to get the SysV transport functions.
9811 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9813 # The nsl library prevents programs from opening the X display
9814 # on Irix 5.2, according to dickey@clark.net.
9815 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9816 echo "configure:9817: checking for gethostbyname" >&5
9817 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9818 echo $ac_n "(cached) $ac_c" 1>&6
9820 cat > conftest.
$ac_ext <<EOF
9821 #line 9822 "configure"
9822 #include "confdefs.h"
9823 /* System header to define __stub macros and hopefully few prototypes,
9824 which can conflict with char gethostbyname(); below. */
9826 /* Override any gcc2 internal prototype to avoid an error. */
9827 /* We use char because int might match the return type of a gcc2
9828 builtin and then its argument prototype would still apply. */
9829 char gethostbyname();
9833 /* The GNU C library defines this for functions which it implements
9834 to always fail with ENOSYS. Some functions are actually named
9835 something starting with __ and the normal name is an alias. */
9836 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9844 if { (eval echo configure
:9845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9846 eval "ac_cv_func_gethostbyname=yes"
9848 echo "configure: failed program was:" >&5
9849 cat conftest.
$ac_ext >&5
9851 eval "ac_cv_func_gethostbyname=no"
9856 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9857 echo "$ac_t""yes" 1>&6
9860 echo "$ac_t""no" 1>&6
9863 if test $ac_cv_func_gethostbyname = no
; then
9864 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9865 echo "configure:9866: checking for gethostbyname in -lnsl" >&5
9866 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9867 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9868 echo $ac_n "(cached) $ac_c" 1>&6
9870 ac_save_LIBS
="$LIBS"
9872 cat > conftest.
$ac_ext <<EOF
9873 #line 9874 "configure"
9874 #include "confdefs.h"
9875 /* Override any gcc2 internal prototype to avoid an error. */
9876 /* We use char because int might match the return type of a gcc2
9877 builtin and then its argument prototype would still apply. */
9878 char gethostbyname();
9884 if { (eval echo configure
:9885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9886 eval "ac_cv_lib_$ac_lib_var=yes"
9888 echo "configure: failed program was:" >&5
9889 cat conftest.
$ac_ext >&5
9891 eval "ac_cv_lib_$ac_lib_var=no"
9894 LIBS
="$ac_save_LIBS"
9897 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9898 echo "$ac_t""yes" 1>&6
9899 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9901 echo "$ac_t""no" 1>&6
9906 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9907 # socket/setsockopt and other routines are undefined under SCO ODT
9908 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9909 # on later versions), says simon@lia.di.epfl.ch: it contains
9910 # gethostby* variants that don't use the nameserver (or something).
9911 # -lsocket must be given before -lnsl if both are needed.
9912 # We assume that if connect needs -lnsl, so does gethostbyname.
9913 echo $ac_n "checking for connect""... $ac_c" 1>&6
9914 echo "configure:9915: checking for connect" >&5
9915 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9916 echo $ac_n "(cached) $ac_c" 1>&6
9918 cat > conftest.
$ac_ext <<EOF
9919 #line 9920 "configure"
9920 #include "confdefs.h"
9921 /* System header to define __stub macros and hopefully few prototypes,
9922 which can conflict with char connect(); below. */
9924 /* Override any gcc2 internal prototype to avoid an error. */
9925 /* We use char because int might match the return type of a gcc2
9926 builtin and then its argument prototype would still apply. */
9931 /* The GNU C library defines this for functions which it implements
9932 to always fail with ENOSYS. Some functions are actually named
9933 something starting with __ and the normal name is an alias. */
9934 #if defined (__stub_connect) || defined (__stub___connect)
9942 if { (eval echo configure
:9943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9944 eval "ac_cv_func_connect=yes"
9946 echo "configure: failed program was:" >&5
9947 cat conftest.
$ac_ext >&5
9949 eval "ac_cv_func_connect=no"
9954 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9955 echo "$ac_t""yes" 1>&6
9958 echo "$ac_t""no" 1>&6
9961 if test $ac_cv_func_connect = no
; then
9962 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9963 echo "configure:9964: checking for connect in -lsocket" >&5
9964 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9966 echo $ac_n "(cached) $ac_c" 1>&6
9968 ac_save_LIBS
="$LIBS"
9969 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9970 cat > conftest.
$ac_ext <<EOF
9971 #line 9972 "configure"
9972 #include "confdefs.h"
9973 /* Override any gcc2 internal prototype to avoid an error. */
9974 /* We use char because int might match the return type of a gcc2
9975 builtin and then its argument prototype would still apply. */
9982 if { (eval echo configure
:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9984 eval "ac_cv_lib_$ac_lib_var=yes"
9986 echo "configure: failed program was:" >&5
9987 cat conftest.
$ac_ext >&5
9989 eval "ac_cv_lib_$ac_lib_var=no"
9992 LIBS
="$ac_save_LIBS"
9995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9996 echo "$ac_t""yes" 1>&6
9997 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9999 echo "$ac_t""no" 1>&6
10004 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10005 echo $ac_n "checking for remove""... $ac_c" 1>&6
10006 echo "configure:10007: checking for remove" >&5
10007 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10008 echo $ac_n "(cached) $ac_c" 1>&6
10010 cat > conftest.
$ac_ext <<EOF
10011 #line 10012 "configure"
10012 #include "confdefs.h"
10013 /* System header to define __stub macros and hopefully few prototypes,
10014 which can conflict with char remove(); below. */
10015 #include <assert.h>
10016 /* Override any gcc2 internal prototype to avoid an error. */
10017 /* We use char because int might match the return type of a gcc2
10018 builtin and then its argument prototype would still apply. */
10023 /* The GNU C library defines this for functions which it implements
10024 to always fail with ENOSYS. Some functions are actually named
10025 something starting with __ and the normal name is an alias. */
10026 #if defined (__stub_remove) || defined (__stub___remove)
10034 if { (eval echo configure
:10035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10036 eval "ac_cv_func_remove=yes"
10038 echo "configure: failed program was:" >&5
10039 cat conftest.
$ac_ext >&5
10041 eval "ac_cv_func_remove=no"
10046 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10047 echo "$ac_t""yes" 1>&6
10050 echo "$ac_t""no" 1>&6
10053 if test $ac_cv_func_remove = no
; then
10054 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10055 echo "configure:10056: checking for remove in -lposix" >&5
10056 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10060 ac_save_LIBS
="$LIBS"
10061 LIBS
="-lposix $LIBS"
10062 cat > conftest.
$ac_ext <<EOF
10063 #line 10064 "configure"
10064 #include "confdefs.h"
10065 /* Override any gcc2 internal prototype to avoid an error. */
10066 /* We use char because int might match the return type of a gcc2
10067 builtin and then its argument prototype would still apply. */
10074 if { (eval echo configure
:10075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10076 eval "ac_cv_lib_$ac_lib_var=yes"
10078 echo "configure: failed program was:" >&5
10079 cat conftest.
$ac_ext >&5
10081 eval "ac_cv_lib_$ac_lib_var=no"
10084 LIBS
="$ac_save_LIBS"
10087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10088 echo "$ac_t""yes" 1>&6
10089 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10091 echo "$ac_t""no" 1>&6
10096 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10097 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10098 echo "configure:10099: checking for shmat" >&5
10099 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10100 echo $ac_n "(cached) $ac_c" 1>&6
10102 cat > conftest.
$ac_ext <<EOF
10103 #line 10104 "configure"
10104 #include "confdefs.h"
10105 /* System header to define __stub macros and hopefully few prototypes,
10106 which can conflict with char shmat(); below. */
10107 #include <assert.h>
10108 /* Override any gcc2 internal prototype to avoid an error. */
10109 /* We use char because int might match the return type of a gcc2
10110 builtin and then its argument prototype would still apply. */
10115 /* The GNU C library defines this for functions which it implements
10116 to always fail with ENOSYS. Some functions are actually named
10117 something starting with __ and the normal name is an alias. */
10118 #if defined (__stub_shmat) || defined (__stub___shmat)
10126 if { (eval echo configure
:10127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10128 eval "ac_cv_func_shmat=yes"
10130 echo "configure: failed program was:" >&5
10131 cat conftest.
$ac_ext >&5
10133 eval "ac_cv_func_shmat=no"
10138 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10139 echo "$ac_t""yes" 1>&6
10142 echo "$ac_t""no" 1>&6
10145 if test $ac_cv_func_shmat = no
; then
10146 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10147 echo "configure:10148: checking for shmat in -lipc" >&5
10148 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10150 echo $ac_n "(cached) $ac_c" 1>&6
10152 ac_save_LIBS
="$LIBS"
10154 cat > conftest.
$ac_ext <<EOF
10155 #line 10156 "configure"
10156 #include "confdefs.h"
10157 /* Override any gcc2 internal prototype to avoid an error. */
10158 /* We use char because int might match the return type of a gcc2
10159 builtin and then its argument prototype would still apply. */
10166 if { (eval echo configure
:10167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10168 eval "ac_cv_lib_$ac_lib_var=yes"
10170 echo "configure: failed program was:" >&5
10171 cat conftest.
$ac_ext >&5
10173 eval "ac_cv_lib_$ac_lib_var=no"
10176 LIBS
="$ac_save_LIBS"
10179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10180 echo "$ac_t""yes" 1>&6
10181 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10183 echo "$ac_t""no" 1>&6
10189 # Check for libraries that X11R6 Xt/Xaw programs need.
10190 ac_save_LDFLAGS
="$LDFLAGS"
10191 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10192 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10193 # check for ICE first), but we must link in the order -lSM -lICE or
10194 # we get undefined symbols. So assume we have SM if we have ICE.
10195 # These have to be linked with before -lX11, unlike the other
10196 # libraries we check for below, so use a different variable.
10197 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10198 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10199 echo "configure:10200: checking for IceConnectionNumber in -lICE" >&5
10200 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10202 echo $ac_n "(cached) $ac_c" 1>&6
10204 ac_save_LIBS
="$LIBS"
10205 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10206 cat > conftest.
$ac_ext <<EOF
10207 #line 10208 "configure"
10208 #include "confdefs.h"
10209 /* Override any gcc2 internal prototype to avoid an error. */
10210 /* We use char because int might match the return type of a gcc2
10211 builtin and then its argument prototype would still apply. */
10212 char IceConnectionNumber();
10215 IceConnectionNumber()
10218 if { (eval echo configure
:10219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10220 eval "ac_cv_lib_$ac_lib_var=yes"
10222 echo "configure: failed program was:" >&5
10223 cat conftest.
$ac_ext >&5
10225 eval "ac_cv_lib_$ac_lib_var=no"
10228 LIBS
="$ac_save_LIBS"
10231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10232 echo "$ac_t""yes" 1>&6
10233 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10235 echo "$ac_t""no" 1>&6
10238 LDFLAGS
="$ac_save_LDFLAGS"
10242 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10243 LDFLAGS
="$LDFLAGS $X_LIBS"
10245 if test "$wxUSE_MOTIF" = 1; then
10246 if test "$no_x" = "yes"; then
10247 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10250 GUI_TK_LIBRARY
="$X_LIBS"
10251 TOOLKIT_INCLUDE
="$X_CFLAGS"
10253 AFMINSTALL
=afminstall
10256 COMPILED_X_PROGRAM
=0
10258 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10259 echo "configure:10260: checking for Motif/Lesstif headers" >&5
10262 for ac_dir
in $SEARCH_INCLUDE;
10264 if test -f "$ac_dir/Xm/Xm.h"; then
10265 ac_find_includes
=$ac_dir
10270 if test "$ac_find_includes" != "" ; then
10271 echo "$ac_t""found $ac_find_includes" 1>&6
10273 cat > conftest.
$ac_ext <<EOF
10274 #line 10275 "configure"
10275 #include "confdefs.h"
10283 version = xmUseVersion;
10287 if { (eval echo configure
:10288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10290 echo "$ac_t""found in default search path" 1>&6
10291 COMPILED_X_PROGRAM
=1
10294 echo "configure: failed program was:" >&5
10295 cat conftest.
$ac_ext >&5
10298 echo "$ac_t""no" 1>&6
10299 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10306 if test "$COMPILED_X_PROGRAM" = 0; then
10307 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10308 echo "configure:10309: checking for Motif/Lesstif library" >&5
10311 for ac_dir
in $SEARCH_LIB;
10313 for ac_extension
in a so sl
; do
10314 if test -f "$ac_dir/libXm.$ac_extension"; then
10315 ac_find_libraries
=$ac_dir
10321 if test "$ac_find_libraries" != "" ; then
10323 ac_path_to_include
=$ac_find_includes
10324 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10326 if test $result = 0; then
10327 ac_path_to_include
=""
10329 ac_path_to_include
="-I$ac_find_includes"
10333 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10335 if test $result = 0; then
10338 ac_path_to_link
="-L$ac_find_libraries"
10342 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10343 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10344 echo "$ac_t""found at $ac_find_libraries" 1>&6
10346 cat > conftest.
$ac_ext <<EOF
10347 #line 10348 "configure"
10348 #include "confdefs.h"
10356 version = xmUseVersion;
10360 if { (eval echo configure
:10361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10363 echo "$ac_t""found in default search path" 1>&6
10364 COMPILED_X_PROGRAM
=1
10367 echo "configure: failed program was:" >&5
10368 cat conftest.
$ac_ext >&5
10371 echo "$ac_t""no" 1>&6
10372 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10382 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10383 echo "configure:10384: checking for Xpm library" >&5
10386 for ac_dir
in $SEARCH_LIB;
10388 for ac_extension
in a so sl
; do
10389 if test -f "$ac_dir/libXpm.$ac_extension"; then
10390 ac_find_libraries
=$ac_dir
10396 if test "$ac_find_libraries" != "" ; then
10398 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10400 if test $result = 0; then
10403 ac_path_to_link
="-L$ac_find_libraries"
10406 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10408 cat >> confdefs.h
<<\EOF
10409 #define wxHAVE_LIB_XPM 1
10412 echo "$ac_t""found at $ac_find_libraries" 1>&6
10414 cat > conftest.
$ac_ext <<EOF
10415 #line 10416 "configure"
10416 #include "confdefs.h"
10418 #include <X11/xpm.h>
10424 version = XpmLibraryVersion();
10428 if { (eval echo configure
:10429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10432 cat >> confdefs.h
<<\EOF
10433 #define wxHAVE_LIB_XPM 1
10436 echo "$ac_t""found in default search path" 1>&6
10437 COMPILED_X_PROGRAM
=0
10440 echo "configure: failed program was:" >&5
10441 cat conftest.
$ac_ext >&5
10444 echo "$ac_t""no" 1>&6
10445 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10452 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10453 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10458 if test "$wxUSE_MAC" = 1; then
10463 if test "$wxUSE_PM" = 1; then
10468 if test "$TOOLKIT" != "PM" ; then
10469 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10474 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10476 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10478 if test "$TOOLKIT_NAME" = "motif"; then
10479 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10482 if test "$wxUSE_UNIVERSAL" = "yes"; then
10483 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10484 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10485 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10488 SETUPH_DIR
="${TOOLKIT_DIR}"
10491 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10492 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10495 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10496 if test "$wxUSE_UNIVERSAL" = "yes"; then
10497 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10500 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10502 if test "$wxUSE_UNIVERSAL" = "yes"; then
10503 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10505 ALL_OBJECTS
="\$(GUIOBJS)"
10508 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10510 if test "$TOOLKIT" != "MSW"; then
10511 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10514 if test "$wxUSE_HTML" = "yes"; then
10515 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10518 if test "$TOOLKIT" != "MSW"; then
10519 if test "$wxUSE_ODBC" = "yes" ; then
10520 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10524 if test "$wxUSE_LIBJPEG" = "yes" ; then
10525 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10527 if test "$wxUSE_LIBTIFF" = "yes" ; then
10528 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10530 if test "$wxUSE_LIBPNG" = "yes" ; then
10531 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10533 if test "$wxUSE_ZLIB" = "yes" ; then
10534 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10536 if test "$wxUSE_FREETYPE" = "yes" ; then
10537 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10540 if test "$wxUSE_UNIVERSAL" = "yes"; then
10541 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10543 ALL_DEPFILES
="\$(GUIDEPS)"
10546 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10548 if test "$TOOLKIT" != "MSW"; then
10549 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10552 if test "$wxUSE_HTML" = "yes"; then
10553 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10556 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10557 if test "$wxUSE_UNIVERSAL" = "yes"; then
10558 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10560 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10561 RPM_SPEC
="wx\$(TOOLKIT).spec"
10563 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10564 DISTDIR
="wx\$(TOOLKIT)"
10570 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10571 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10573 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10576 TOOLKIT_DEF
="-D__WXBASE__"
10578 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10579 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10581 if test "$wxUSE_ZLIB" = "yes" ; then
10582 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10585 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10587 PORT_FILES
="src/files.lst"
10588 RPM_FILES
="src/rpmfiles.lst"
10589 RPM_SPEC
="wxBase.spec"
10591 GUIDIST
="BASE_DIST"
10595 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10596 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10598 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10599 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10601 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10602 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10604 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10605 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10606 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10607 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10608 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10609 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10615 BURNT_LIBRARY_NAME
=
10616 WX_TARGET_LIBRARY_SONAME
=
10619 if test "$wxUSE_SHARED" = "yes"; then
10622 if test "$GCC" = yes ; then
10623 SHARED_LD
="${CC} -shared -fPIC -o"
10626 LDFLAGS
="-L/usr/lib"
10628 SHARED_LD
="${CXX} -b -o"
10631 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10632 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10633 if test "$wxUSE_OPENGL" = "yes"; then
10634 WX_ALL_INSTALLED
="preinstall_gl"
10635 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10637 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10642 SHARED_LD
="${CC} -shared -o"
10644 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10645 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10646 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10647 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10649 if test "$wxUSE_OPENGL" = "yes"; then
10650 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10651 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10653 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10654 WX_ALL
="CREATE_LINKS"
10657 *-*-irix5* | *-*-irix6* )
10658 if test "$GCC" = yes ; then
10659 SHARED_LD
="${CC} -shared -o"
10662 SHARED_LD
="${CXX} -shared -o"
10664 if test "$wxUSE_OPENGL" = "yes"; then
10665 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10666 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10668 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10669 WX_ALL
="CREATE_LINKS"
10673 if test "$GCC" = yes ; then
10674 SHARED_LD
="${CC} -shared -o"
10677 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10679 SHARED_LD
="${CXX} -G -o"
10682 if test "$wxUSE_OPENGL" = "yes"; then
10683 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10684 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10686 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10687 WX_ALL
="CREATE_LINKS"
10691 SHARED_LD
="${CC} -shared -o"
10693 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10694 WX_ALL
="CREATE_LINKS"
10696 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10697 SHARED_LD
="${CC} -shared -o"
10699 if test "$wxUSE_OPENGL" = "yes"; then
10700 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10701 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10703 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10704 WX_ALL
="CREATE_LINKS"
10708 SHARED_LD
="${CXX} -dynamiclib -o"
10709 PIC_FLAG
="-dynamic -fPIC"
10710 if test "$wxUSE_OPENGL" = "yes"; then
10711 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10712 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10714 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10715 WX_ALL
="CREATE_LINKS"
10717 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10718 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10719 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10720 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10721 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10722 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10723 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10724 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10725 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10728 SHARED_LD
="${CXX} -shared -o"
10730 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10731 WX_ALL
="CREATE_LINKS"
10734 SHARED_LD
="${CXX} -shared -o"
10736 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10737 WX_ALL
="CREATE_LINKS"
10740 SHARED_LD
="${CC} -shared -o"
10742 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10743 WX_ALL
="CREATE_LINKS"
10746 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10747 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10750 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10751 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10752 if test "$wxUSE_OPENGL" = "yes"; then
10753 WX_ALL_INSTALLED
="preinstall_gl"
10754 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10756 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10760 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10761 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10762 if test "$wxUSE_OPENGL" = "yes"; then
10763 WX_ALL_INSTALLED
="preinstall_gl"
10764 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10766 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10770 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10771 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10774 SHARED_LD
="${LD} -shared -o"
10776 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10777 WX_ALL
="CREATE_LINKS"
10780 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10783 if test "x$WX_TARGET_LIBRARY" = "x"; then
10784 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10785 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10787 WX_TARGET_LIBRARY_TYPE
="so"
10789 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10790 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10792 if test "$wxUSE_OPENGL" = "yes"; then
10793 WX_ALL_INSTALLED
="preinstall_gl"
10794 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10796 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10799 if test "$wxUSE_GUI" = "no"; then
10800 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10803 WX_TARGET_LIBRARY_TYPE
="a"
10807 for ac_hdr
in strings.h
10809 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10811 echo "configure:10812: checking for $ac_hdr" >&5
10812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10813 echo $ac_n "(cached) $ac_c" 1>&6
10815 cat > conftest.
$ac_ext <<EOF
10816 #line 10817 "configure"
10817 #include "confdefs.h"
10820 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10821 { (eval echo configure
:10822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10822 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10823 if test -z "$ac_err"; then
10825 eval "ac_cv_header_$ac_safe=yes"
10828 echo "configure: failed program was:" >&5
10829 cat conftest.
$ac_ext >&5
10831 eval "ac_cv_header_$ac_safe=no"
10835 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10836 echo "$ac_t""yes" 1>&6
10837 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10838 cat >> confdefs.h
<<EOF
10839 #define $ac_tr_hdr 1
10843 echo "$ac_t""no" 1>&6
10847 for ac_hdr
in stdlib.h
10849 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10850 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10851 echo "configure:10852: checking for $ac_hdr" >&5
10852 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10853 echo $ac_n "(cached) $ac_c" 1>&6
10855 cat > conftest.
$ac_ext <<EOF
10856 #line 10857 "configure"
10857 #include "confdefs.h"
10860 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10861 { (eval echo configure
:10862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10862 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10863 if test -z "$ac_err"; then
10865 eval "ac_cv_header_$ac_safe=yes"
10868 echo "configure: failed program was:" >&5
10869 cat conftest.
$ac_ext >&5
10871 eval "ac_cv_header_$ac_safe=no"
10875 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10876 echo "$ac_t""yes" 1>&6
10877 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10878 cat >> confdefs.h
<<EOF
10879 #define $ac_tr_hdr 1
10883 echo "$ac_t""no" 1>&6
10887 for ac_hdr
in unistd.h
10889 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10891 echo "configure:10892: checking for $ac_hdr" >&5
10892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10893 echo $ac_n "(cached) $ac_c" 1>&6
10895 cat > conftest.
$ac_ext <<EOF
10896 #line 10897 "configure"
10897 #include "confdefs.h"
10900 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10901 { (eval echo configure
:10902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10902 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10903 if test -z "$ac_err"; then
10905 eval "ac_cv_header_$ac_safe=yes"
10908 echo "configure: failed program was:" >&5
10909 cat conftest.
$ac_ext >&5
10911 eval "ac_cv_header_$ac_safe=no"
10915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10916 echo "$ac_t""yes" 1>&6
10917 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10918 cat >> confdefs.h
<<EOF
10919 #define $ac_tr_hdr 1
10923 echo "$ac_t""no" 1>&6
10927 for ac_hdr
in wchar.h
10929 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10930 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10931 echo "configure:10932: checking for $ac_hdr" >&5
10932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10933 echo $ac_n "(cached) $ac_c" 1>&6
10935 cat > conftest.
$ac_ext <<EOF
10936 #line 10937 "configure"
10937 #include "confdefs.h"
10940 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10941 { (eval echo configure
:10942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10942 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10943 if test -z "$ac_err"; then
10945 eval "ac_cv_header_$ac_safe=yes"
10948 echo "configure: failed program was:" >&5
10949 cat conftest.
$ac_ext >&5
10951 eval "ac_cv_header_$ac_safe=no"
10955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10956 echo "$ac_t""yes" 1>&6
10957 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10958 cat >> confdefs.h
<<EOF
10959 #define $ac_tr_hdr 1
10963 echo "$ac_t""no" 1>&6
10967 for ac_hdr
in wcstr.h
10969 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10970 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10971 echo "configure:10972: checking for $ac_hdr" >&5
10972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10973 echo $ac_n "(cached) $ac_c" 1>&6
10975 cat > conftest.
$ac_ext <<EOF
10976 #line 10977 "configure"
10977 #include "confdefs.h"
10980 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10981 { (eval echo configure
:10982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10982 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10983 if test -z "$ac_err"; then
10985 eval "ac_cv_header_$ac_safe=yes"
10988 echo "configure: failed program was:" >&5
10989 cat conftest.
$ac_ext >&5
10991 eval "ac_cv_header_$ac_safe=no"
10995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10996 echo "$ac_t""yes" 1>&6
10997 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10998 cat >> confdefs.h
<<EOF
10999 #define $ac_tr_hdr 1
11003 echo "$ac_t""no" 1>&6
11007 for ac_hdr
in fnmatch.h
11009 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11010 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11011 echo "configure:11012: checking for $ac_hdr" >&5
11012 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11013 echo $ac_n "(cached) $ac_c" 1>&6
11015 cat > conftest.
$ac_ext <<EOF
11016 #line 11017 "configure"
11017 #include "confdefs.h"
11020 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11021 { (eval echo configure
:11022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11022 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11023 if test -z "$ac_err"; then
11025 eval "ac_cv_header_$ac_safe=yes"
11028 echo "configure: failed program was:" >&5
11029 cat conftest.
$ac_ext >&5
11031 eval "ac_cv_header_$ac_safe=no"
11035 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11036 echo "$ac_t""yes" 1>&6
11037 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11038 cat >> confdefs.h
<<EOF
11039 #define $ac_tr_hdr 1
11043 echo "$ac_t""no" 1>&6
11047 for ac_hdr
in iconv.h
11049 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11050 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11051 echo "configure:11052: checking for $ac_hdr" >&5
11052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11060 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11061 { (eval echo configure
:11062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11062 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11063 if test -z "$ac_err"; then
11065 eval "ac_cv_header_$ac_safe=yes"
11068 echo "configure: failed program was:" >&5
11069 cat conftest.
$ac_ext >&5
11071 eval "ac_cv_header_$ac_safe=no"
11075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11076 echo "$ac_t""yes" 1>&6
11077 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11078 cat >> confdefs.h
<<EOF
11079 #define $ac_tr_hdr 1
11083 echo "$ac_t""no" 1>&6
11087 for ac_hdr
in langinfo.h
11089 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11091 echo "configure:11092: checking for $ac_hdr" >&5
11092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11093 echo $ac_n "(cached) $ac_c" 1>&6
11095 cat > conftest.
$ac_ext <<EOF
11096 #line 11097 "configure"
11097 #include "confdefs.h"
11100 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11101 { (eval echo configure
:11102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11102 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11103 if test -z "$ac_err"; then
11105 eval "ac_cv_header_$ac_safe=yes"
11108 echo "configure: failed program was:" >&5
11109 cat conftest.
$ac_ext >&5
11111 eval "ac_cv_header_$ac_safe=no"
11115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11116 echo "$ac_t""yes" 1>&6
11117 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11118 cat >> confdefs.h
<<EOF
11119 #define $ac_tr_hdr 1
11123 echo "$ac_t""no" 1>&6
11128 if test "$wxUSE_GUI" = "yes"; then
11129 if test "$wxUSE_UNIX" = "yes"; then
11130 for ac_hdr
in X
11/XKBlib.h
11132 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11133 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11134 echo "configure:11135: checking for $ac_hdr" >&5
11135 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11136 echo $ac_n "(cached) $ac_c" 1>&6
11138 cat > conftest.
$ac_ext <<EOF
11139 #line 11140 "configure"
11140 #include "confdefs.h"
11143 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11144 { (eval echo configure
:11145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11145 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11146 if test -z "$ac_err"; then
11148 eval "ac_cv_header_$ac_safe=yes"
11151 echo "configure: failed program was:" >&5
11152 cat conftest.
$ac_ext >&5
11154 eval "ac_cv_header_$ac_safe=no"
11158 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11159 echo "$ac_t""yes" 1>&6
11160 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11161 cat >> confdefs.h
<<EOF
11162 #define $ac_tr_hdr 1
11166 echo "$ac_t""no" 1>&6
11174 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11175 echo "configure:11176: checking for ANSI C header files" >&5
11176 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11177 echo $ac_n "(cached) $ac_c" 1>&6
11179 cat > conftest.
$ac_ext <<EOF
11180 #line 11181 "configure"
11181 #include "confdefs.h"
11182 #include <stdlib.h>
11183 #include <stdarg.h>
11184 #include <string.h>
11187 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11188 { (eval echo configure
:11189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11189 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11190 if test -z "$ac_err"; then
11192 ac_cv_header_stdc
=yes
11195 echo "configure: failed program was:" >&5
11196 cat conftest.
$ac_ext >&5
11198 ac_cv_header_stdc
=no
11202 if test $ac_cv_header_stdc = yes; then
11203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11204 cat > conftest.
$ac_ext <<EOF
11205 #line 11206 "configure"
11206 #include "confdefs.h"
11207 #include <string.h>
11209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11210 egrep "memchr" >/dev
/null
2>&1; then
11214 ac_cv_header_stdc
=no
11220 if test $ac_cv_header_stdc = yes; then
11221 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11222 cat > conftest.
$ac_ext <<EOF
11223 #line 11224 "configure"
11224 #include "confdefs.h"
11225 #include <stdlib.h>
11227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11228 egrep "free" >/dev
/null
2>&1; then
11232 ac_cv_header_stdc
=no
11238 if test $ac_cv_header_stdc = yes; then
11239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11240 if test "$cross_compiling" = yes; then
11243 cat > conftest.
$ac_ext <<EOF
11244 #line 11245 "configure"
11245 #include "confdefs.h"
11247 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11248 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11249 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11250 int main () { int i; for (i = 0; i < 256; i++)
11251 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11255 if { (eval echo configure
:11256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11259 echo "configure: failed program was:" >&5
11260 cat conftest.
$ac_ext >&5
11262 ac_cv_header_stdc
=no
11270 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11271 if test $ac_cv_header_stdc = yes; then
11272 cat >> confdefs.h
<<\EOF
11273 #define STDC_HEADERS 1
11278 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11279 echo "configure:11280: checking for mode_t" >&5
11280 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11281 echo $ac_n "(cached) $ac_c" 1>&6
11283 cat > conftest.
$ac_ext <<EOF
11284 #line 11285 "configure"
11285 #include "confdefs.h"
11286 #include <sys/types.h>
11288 #include <stdlib.h>
11289 #include <stddef.h>
11292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11293 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11295 ac_cv_type_mode_t
=yes
11298 ac_cv_type_mode_t
=no
11303 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11304 if test $ac_cv_type_mode_t = no
; then
11305 cat >> confdefs.h
<<\EOF
11311 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11312 echo "configure:11313: checking for off_t" >&5
11313 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11314 echo $ac_n "(cached) $ac_c" 1>&6
11316 cat > conftest.
$ac_ext <<EOF
11317 #line 11318 "configure"
11318 #include "confdefs.h"
11319 #include <sys/types.h>
11321 #include <stdlib.h>
11322 #include <stddef.h>
11325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11326 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11328 ac_cv_type_off_t
=yes
11331 ac_cv_type_off_t
=no
11336 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11337 if test $ac_cv_type_off_t = no
; then
11338 cat >> confdefs.h
<<\EOF
11344 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11345 echo "configure:11346: checking for pid_t" >&5
11346 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11347 echo $ac_n "(cached) $ac_c" 1>&6
11349 cat > conftest.
$ac_ext <<EOF
11350 #line 11351 "configure"
11351 #include "confdefs.h"
11352 #include <sys/types.h>
11354 #include <stdlib.h>
11355 #include <stddef.h>
11358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11359 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11361 ac_cv_type_pid_t
=yes
11364 ac_cv_type_pid_t
=no
11369 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11370 if test $ac_cv_type_pid_t = no
; then
11371 cat >> confdefs.h
<<\EOF
11377 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11378 echo "configure:11379: checking for size_t" >&5
11379 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11380 echo $ac_n "(cached) $ac_c" 1>&6
11382 cat > conftest.
$ac_ext <<EOF
11383 #line 11384 "configure"
11384 #include "confdefs.h"
11385 #include <sys/types.h>
11387 #include <stdlib.h>
11388 #include <stddef.h>
11391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11392 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11394 ac_cv_type_size_t
=yes
11397 ac_cv_type_size_t
=no
11402 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11403 if test $ac_cv_type_size_t = no
; then
11404 cat >> confdefs.h
<<\EOF
11405 #define size_t unsigned
11410 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11411 echo "configure:11412: checking for uid_t in sys/types.h" >&5
11412 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11413 echo $ac_n "(cached) $ac_c" 1>&6
11415 cat > conftest.
$ac_ext <<EOF
11416 #line 11417 "configure"
11417 #include "confdefs.h"
11418 #include <sys/types.h>
11420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11421 egrep "uid_t" >/dev
/null
2>&1; then
11423 ac_cv_type_uid_t
=yes
11426 ac_cv_type_uid_t
=no
11432 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11433 if test $ac_cv_type_uid_t = no
; then
11434 cat >> confdefs.h
<<\EOF
11438 cat >> confdefs.h
<<\EOF
11445 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11446 echo "configure:11447: checking for wchar_t" >&5
11447 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11448 echo $ac_n "(cached) $ac_c" 1>&6
11451 cat > conftest.
$ac_ext <<EOF
11452 #line 11453 "configure"
11453 #include "confdefs.h"
11459 ws = L"Hello, world!";
11463 if { (eval echo configure
:11464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11465 wx_cv_type_wchar_t
=yes
11467 echo "configure: failed program was:" >&5
11468 cat conftest.
$ac_ext >&5
11470 cat > conftest.
$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11473 #include <stdlib.h>
11478 ws = L"Hello, world!";
11482 if { (eval echo configure
:11483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11484 wx_cv_type_wchar_t
=yes
11486 echo "configure: failed program was:" >&5
11487 cat conftest.
$ac_ext >&5
11489 wx_cv_type_wchar_t
=no
11498 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11500 if test "$wx_cv_type_wchar_t" = "yes"; then
11501 cat >> confdefs.h
<<\EOF
11502 #define wxUSE_WCHAR_T 1
11509 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11510 ac_cpp
='$CXXCPP $CPPFLAGS'
11511 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11512 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11513 cross_compiling
=$ac_cv_prog_cxx_cross
11515 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11516 echo "configure:11517: checking if size_t is unsigned int" >&5
11517 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11518 echo $ac_n "(cached) $ac_c" 1>&6
11520 cat > conftest.
$ac_ext <<EOF
11521 #line 11522 "configure"
11522 #include "confdefs.h"
11523 #include <stddef.h>
11528 struct Foo { void foo(size_t); void foo(unsigned int); };
11534 if { (eval echo configure
:11535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11536 wx_cv_size_t_is_uint
=no
11538 echo "configure: failed program was:" >&5
11539 cat conftest.
$ac_ext >&5
11541 wx_cv_size_t_is_uint
=yes
11548 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11550 if test "$wx_cv_size_t_is_uint" = "yes"; then
11551 cat >> confdefs.h
<<\EOF
11552 #define wxSIZE_T_IS_UINT 1
11556 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11557 echo "configure:11558: checking if size_t is unsigned long" >&5
11558 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11559 echo $ac_n "(cached) $ac_c" 1>&6
11561 cat > conftest.
$ac_ext <<EOF
11562 #line 11563 "configure"
11563 #include "confdefs.h"
11564 #include <stddef.h>
11569 struct Foo { void foo(size_t); void foo(unsigned long); };
11575 if { (eval echo configure
:11576: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11577 wx_cv_size_t_is_ulong
=no
11579 echo "configure: failed program was:" >&5
11580 cat conftest.
$ac_ext >&5
11582 wx_cv_size_t_is_ulong
=yes
11589 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11591 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11592 cat >> confdefs.h
<<\EOF
11593 #define wxSIZE_T_IS_ULONG 1
11600 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11601 ac_cpp
='$CPP $CPPFLAGS'
11602 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11603 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11604 cross_compiling
=$ac_cv_prog_cc_cross
11608 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11609 echo "configure:11610: checking for pw_gecos in struct passwd" >&5
11610 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11611 echo $ac_n "(cached) $ac_c" 1>&6
11614 cat > conftest.
$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11626 if { (eval echo configure
:11627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11629 wx_cv_struct_pw_gecos
=yes
11632 echo "configure: failed program was:" >&5
11633 cat conftest.
$ac_ext >&5
11636 wx_cv_struct_pw_gecos
=no
11645 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11647 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11648 cat >> confdefs.h
<<\EOF
11649 #define HAVE_PW_GECOS 1
11655 echo $ac_n "checking for working const""... $ac_c" 1>&6
11656 echo "configure:11657: checking for working const" >&5
11657 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11658 echo $ac_n "(cached) $ac_c" 1>&6
11660 cat > conftest.
$ac_ext <<EOF
11661 #line 11662 "configure"
11662 #include "confdefs.h"
11666 /* Ultrix mips cc rejects this. */
11667 typedef int charset[2]; const charset x;
11668 /* SunOS 4.1.1 cc rejects this. */
11669 char const *const *ccp;
11671 /* NEC SVR4.0.2 mips cc rejects this. */
11672 struct point {int x, y;};
11673 static struct point const zero = {0,0};
11674 /* AIX XL C 1.02.0.0 rejects this.
11675 It does not let you subtract one const X* pointer from another in an arm
11676 of an if-expression whose if-part is not a constant expression */
11677 const char *g = "string";
11678 ccp = &g + (g ? g-g : 0);
11679 /* HPUX 7.0 cc rejects these. */
11682 ccp = (char const *const *) p;
11683 { /* SCO 3.2v4 cc rejects this. */
11685 char const *s = 0 ? (char *) 0 : (char const *) 0;
11689 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11690 int x[] = {25, 17};
11691 const int *foo = &x[0];
11694 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11695 typedef const int *iptr;
11699 { /* AIX XL C 1.02.0.0 rejects this saying
11700 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11701 struct s { int j; const int *ap[3]; };
11702 struct s *b; b->j = 5;
11704 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11705 const int foo = 10;
11710 if { (eval echo configure
:11711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11714 echo "configure: failed program was:" >&5
11715 cat conftest.
$ac_ext >&5
11722 echo "$ac_t""$ac_cv_c_const" 1>&6
11723 if test $ac_cv_c_const = no
; then
11724 cat >> confdefs.h
<<\EOF
11730 echo $ac_n "checking for inline""... $ac_c" 1>&6
11731 echo "configure:11732: checking for inline" >&5
11732 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11733 echo $ac_n "(cached) $ac_c" 1>&6
11736 for ac_kw
in inline __inline__ __inline
; do
11737 cat > conftest.
$ac_ext <<EOF
11738 #line 11739 "configure"
11739 #include "confdefs.h"
11745 if { (eval echo configure
:11746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11747 ac_cv_c_inline
=$ac_kw; break
11749 echo "configure: failed program was:" >&5
11750 cat conftest.
$ac_ext >&5
11757 echo "$ac_t""$ac_cv_c_inline" 1>&6
11758 case "$ac_cv_c_inline" in
11760 no
) cat >> confdefs.h
<<\EOF
11764 *) cat >> confdefs.h
<<EOF
11765 #define inline $ac_cv_c_inline
11771 echo $ac_n "checking size of char""... $ac_c" 1>&6
11772 echo "configure:11773: checking size of char" >&5
11773 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11774 echo $ac_n "(cached) $ac_c" 1>&6
11776 if test "$cross_compiling" = yes; then
11777 ac_cv_sizeof_char
=1
11779 cat > conftest.
$ac_ext <<EOF
11780 #line 11781 "configure"
11781 #include "confdefs.h"
11785 FILE *f=fopen("conftestval", "w");
11787 fprintf(f, "%d\n", sizeof(char));
11791 if { (eval echo configure
:11792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11793 ac_cv_sizeof_char
=`cat conftestval`
11795 echo "configure: failed program was:" >&5
11796 cat conftest.
$ac_ext >&5
11798 ac_cv_sizeof_char
=0
11804 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11805 cat >> confdefs.h
<<EOF
11806 #define SIZEOF_CHAR $ac_cv_sizeof_char
11810 echo $ac_n "checking size of short""... $ac_c" 1>&6
11811 echo "configure:11812: checking size of short" >&5
11812 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11813 echo $ac_n "(cached) $ac_c" 1>&6
11815 if test "$cross_compiling" = yes; then
11816 ac_cv_sizeof_short
=2
11818 cat > conftest.
$ac_ext <<EOF
11819 #line 11820 "configure"
11820 #include "confdefs.h"
11824 FILE *f=fopen("conftestval", "w");
11826 fprintf(f, "%d\n", sizeof(short));
11830 if { (eval echo configure
:11831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11832 ac_cv_sizeof_short
=`cat conftestval`
11834 echo "configure: failed program was:" >&5
11835 cat conftest.
$ac_ext >&5
11837 ac_cv_sizeof_short
=0
11843 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11844 cat >> confdefs.h
<<EOF
11845 #define SIZEOF_SHORT $ac_cv_sizeof_short
11849 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11850 echo "configure:11851: checking size of int *" >&5
11851 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11852 echo $ac_n "(cached) $ac_c" 1>&6
11854 if test "$cross_compiling" = yes; then
11855 ac_cv_sizeof_int_p
=4
11857 cat > conftest.
$ac_ext <<EOF
11858 #line 11859 "configure"
11859 #include "confdefs.h"
11863 FILE *f=fopen("conftestval", "w");
11865 fprintf(f, "%d\n", sizeof(int *));
11869 if { (eval echo configure
:11870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11871 ac_cv_sizeof_int_p
=`cat conftestval`
11873 echo "configure: failed program was:" >&5
11874 cat conftest.
$ac_ext >&5
11876 ac_cv_sizeof_int_p
=0
11882 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11883 cat >> confdefs.h
<<EOF
11884 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11888 echo $ac_n "checking size of int""... $ac_c" 1>&6
11889 echo "configure:11890: checking size of int" >&5
11890 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11891 echo $ac_n "(cached) $ac_c" 1>&6
11893 if test "$cross_compiling" = yes; then
11896 cat > conftest.
$ac_ext <<EOF
11897 #line 11898 "configure"
11898 #include "confdefs.h"
11902 FILE *f=fopen("conftestval", "w");
11904 fprintf(f, "%d\n", sizeof(int));
11908 if { (eval echo configure
:11909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11910 ac_cv_sizeof_int
=`cat conftestval`
11912 echo "configure: failed program was:" >&5
11913 cat conftest.
$ac_ext >&5
11921 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11922 cat >> confdefs.h
<<EOF
11923 #define SIZEOF_INT $ac_cv_sizeof_int
11927 echo $ac_n "checking size of long""... $ac_c" 1>&6
11928 echo "configure:11929: checking size of long" >&5
11929 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11930 echo $ac_n "(cached) $ac_c" 1>&6
11932 if test "$cross_compiling" = yes; then
11933 ac_cv_sizeof_long
=4
11935 cat > conftest.
$ac_ext <<EOF
11936 #line 11937 "configure"
11937 #include "confdefs.h"
11941 FILE *f=fopen("conftestval", "w");
11943 fprintf(f, "%d\n", sizeof(long));
11947 if { (eval echo configure
:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11949 ac_cv_sizeof_long
=`cat conftestval`
11951 echo "configure: failed program was:" >&5
11952 cat conftest.
$ac_ext >&5
11954 ac_cv_sizeof_long
=0
11960 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11961 cat >> confdefs.h
<<EOF
11962 #define SIZEOF_LONG $ac_cv_sizeof_long
11966 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11967 echo "configure:11968: checking size of long long" >&5
11968 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11969 echo $ac_n "(cached) $ac_c" 1>&6
11971 if test "$cross_compiling" = yes; then
11972 ac_cv_sizeof_long_long
=0
11974 cat > conftest.
$ac_ext <<EOF
11975 #line 11976 "configure"
11976 #include "confdefs.h"
11980 FILE *f=fopen("conftestval", "w");
11982 fprintf(f, "%d\n", sizeof(long long));
11986 if { (eval echo configure
:11987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11988 ac_cv_sizeof_long_long
=`cat conftestval`
11990 echo "configure: failed program was:" >&5
11991 cat conftest.
$ac_ext >&5
11993 ac_cv_sizeof_long_long
=0
11999 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12000 cat >> confdefs.h
<<EOF
12001 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12006 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12007 echo "configure:12008: checking size of wchar_t" >&5
12008 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12009 echo $ac_n "(cached) $ac_c" 1>&6
12012 if test "$cross_compiling" = yes; then
12013 wx_cv_sizeof_wchar_t
=4
12016 cat > conftest.
$ac_ext <<EOF
12017 #line 12018 "configure"
12018 #include "confdefs.h"
12020 #ifdef HAVE_WCHAR_H
12021 # include <wchar.h>
12023 #ifdef HAVE_STDLIB_H
12024 # include <stdlib.h>
12029 FILE *f=fopen("conftestval", "w");
12031 fprintf(f, "%i", sizeof(wchar_t));
12036 if { (eval echo configure
:12037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12038 wx_cv_sizeof_wchar_t
=`cat conftestval`
12040 echo "configure: failed program was:" >&5
12041 cat conftest.
$ac_ext >&5
12043 wx_cv_sizeof_wchar_t
=0
12051 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12053 cat >> confdefs.h
<<EOF
12054 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12058 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12059 echo "configure:12060: checking whether byte ordering is bigendian" >&5
12060 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12061 echo $ac_n "(cached) $ac_c" 1>&6
12063 ac_cv_c_bigendian
=unknown
12064 # See if sys/param.h defines the BYTE_ORDER macro.
12065 cat > conftest.
$ac_ext <<EOF
12066 #line 12067 "configure"
12067 #include "confdefs.h"
12068 #include <sys/types.h>
12069 #include <sys/param.h>
12072 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12073 bogus endian macros
12077 if { (eval echo configure
:12078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12079 # It does; now see whether it defined to BIG_ENDIAN or not.
12080 cat > conftest.
$ac_ext <<EOF
12081 #line 12082 "configure"
12082 #include "confdefs.h"
12083 #include <sys/types.h>
12084 #include <sys/param.h>
12087 #if BYTE_ORDER != BIG_ENDIAN
12092 if { (eval echo configure
:12093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12094 ac_cv_c_bigendian
=yes
12096 echo "configure: failed program was:" >&5
12097 cat conftest.
$ac_ext >&5
12099 ac_cv_c_bigendian
=no
12103 echo "configure: failed program was:" >&5
12104 cat conftest.
$ac_ext >&5
12107 if test $ac_cv_c_bigendian = unknown
; then
12108 if test "$cross_compiling" = yes; then
12109 ac_cv_c_bigendian
=unknown
12111 cat > conftest.
$ac_ext <<EOF
12112 #line 12113 "configure"
12113 #include "confdefs.h"
12115 /* Are we little or big endian? From Harbison&Steele. */
12119 char c[sizeof (long)];
12122 exit (u.c[sizeof (long) - 1] == 1);
12125 if { (eval echo configure
:12126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12127 ac_cv_c_bigendian
=no
12129 echo "configure: failed program was:" >&5
12130 cat conftest.
$ac_ext >&5
12132 ac_cv_c_bigendian
=yes
12140 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12141 if test $ac_cv_c_bigendian = unknown
; then
12142 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
12144 if test $ac_cv_c_bigendian = yes; then
12145 cat >> confdefs.h
<<\EOF
12146 #define WORDS_BIGENDIAN 1
12153 if test "$cross_compiling" = "yes"; then
12154 cat >> confdefs.h
<<\EOF
12155 #define wxUSE_IOSTREAMH 1
12161 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12162 ac_cpp
='$CXXCPP $CPPFLAGS'
12163 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12164 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12165 cross_compiling
=$ac_cv_prog_cxx_cross
12168 for ac_hdr
in iostream
12170 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12171 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12172 echo "configure:12173: checking for $ac_hdr" >&5
12173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12174 echo $ac_n "(cached) $ac_c" 1>&6
12176 cat > conftest.
$ac_ext <<EOF
12177 #line 12178 "configure"
12178 #include "confdefs.h"
12181 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12182 { (eval echo configure
:12183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12183 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12184 if test -z "$ac_err"; then
12186 eval "ac_cv_header_$ac_safe=yes"
12189 echo "configure: failed program was:" >&5
12190 cat conftest.
$ac_ext >&5
12192 eval "ac_cv_header_$ac_safe=no"
12196 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12197 echo "$ac_t""yes" 1>&6
12198 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12199 cat >> confdefs.h
<<EOF
12200 #define $ac_tr_hdr 1
12204 echo "$ac_t""no" 1>&6
12209 if test "$ac_cv_header_iostream" = "yes" ; then
12212 cat >> confdefs.h
<<\EOF
12213 #define wxUSE_IOSTREAMH 1
12219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12220 ac_cpp
='$CPP $CPPFLAGS'
12221 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12222 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12223 cross_compiling
=$ac_cv_prog_cc_cross
12229 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12230 echo "configure:12231: checking if C++ compiler supports bool" >&5
12231 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12232 echo $ac_n "(cached) $ac_c" 1>&6
12237 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12238 ac_cpp
='$CXXCPP $CPPFLAGS'
12239 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12240 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12241 cross_compiling
=$ac_cv_prog_cxx_cross
12244 cat > conftest.
$ac_ext <<EOF
12245 #line 12246 "configure"
12246 #include "confdefs.h"
12257 if { (eval echo configure
:12258: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12263 echo "configure: failed program was:" >&5
12264 cat conftest.
$ac_ext >&5
12274 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12275 ac_cpp
='$CPP $CPPFLAGS'
12276 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12277 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12278 cross_compiling
=$ac_cv_prog_cc_cross
12283 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12285 if test "$wx_cv_cpp_bool" = "yes"; then
12286 cat >> confdefs.h
<<\EOF
12287 #define HAVE_BOOL 1
12294 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12295 echo "configure:12296: checking for wcslen in -lc" >&5
12296 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12298 echo $ac_n "(cached) $ac_c" 1>&6
12300 ac_save_LIBS
="$LIBS"
12302 cat > conftest.
$ac_ext <<EOF
12303 #line 12304 "configure"
12304 #include "confdefs.h"
12305 /* Override any gcc2 internal prototype to avoid an error. */
12306 /* We use char because int might match the return type of a gcc2
12307 builtin and then its argument prototype would still apply. */
12314 if { (eval echo configure
:12315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12316 eval "ac_cv_lib_$ac_lib_var=yes"
12318 echo "configure: failed program was:" >&5
12319 cat conftest.
$ac_ext >&5
12321 eval "ac_cv_lib_$ac_lib_var=no"
12324 LIBS
="$ac_save_LIBS"
12327 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12328 echo "$ac_t""yes" 1>&6
12330 cat >> confdefs.h
<<\EOF
12331 #define HAVE_WCSLEN 1
12337 echo "$ac_t""no" 1>&6
12339 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12340 echo "configure:12341: checking for wcslen in -lw" >&5
12341 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12342 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12343 echo $ac_n "(cached) $ac_c" 1>&6
12345 ac_save_LIBS
="$LIBS"
12347 cat > conftest.
$ac_ext <<EOF
12348 #line 12349 "configure"
12349 #include "confdefs.h"
12350 /* Override any gcc2 internal prototype to avoid an error. */
12351 /* We use char because int might match the return type of a gcc2
12352 builtin and then its argument prototype would still apply. */
12359 if { (eval echo configure
:12360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12361 eval "ac_cv_lib_$ac_lib_var=yes"
12363 echo "configure: failed program was:" >&5
12364 cat conftest.
$ac_ext >&5
12366 eval "ac_cv_lib_$ac_lib_var=no"
12369 LIBS
="$ac_save_LIBS"
12372 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12373 echo "$ac_t""yes" 1>&6
12375 cat >> confdefs.h
<<\EOF
12376 #define HAVE_WCSLEN 1
12382 echo "$ac_t""no" 1>&6
12389 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12390 echo "configure:12391: checking for vprintf" >&5
12391 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12392 echo $ac_n "(cached) $ac_c" 1>&6
12394 cat > conftest.
$ac_ext <<EOF
12395 #line 12396 "configure"
12396 #include "confdefs.h"
12397 /* System header to define __stub macros and hopefully few prototypes,
12398 which can conflict with char vprintf(); below. */
12399 #include <assert.h>
12400 /* Override any gcc2 internal prototype to avoid an error. */
12401 /* We use char because int might match the return type of a gcc2
12402 builtin and then its argument prototype would still apply. */
12407 /* The GNU C library defines this for functions which it implements
12408 to always fail with ENOSYS. Some functions are actually named
12409 something starting with __ and the normal name is an alias. */
12410 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12418 if { (eval echo configure
:12419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12420 eval "ac_cv_func_vprintf=yes"
12422 echo "configure: failed program was:" >&5
12423 cat conftest.
$ac_ext >&5
12425 eval "ac_cv_func_vprintf=no"
12430 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12431 echo "$ac_t""yes" 1>&6
12432 cat >> confdefs.h
<<\EOF
12433 #define HAVE_VPRINTF 1
12437 echo "$ac_t""no" 1>&6
12440 if test "$ac_cv_func_vprintf" != yes; then
12441 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12442 echo "configure:12443: checking for _doprnt" >&5
12443 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12444 echo $ac_n "(cached) $ac_c" 1>&6
12446 cat > conftest.
$ac_ext <<EOF
12447 #line 12448 "configure"
12448 #include "confdefs.h"
12449 /* System header to define __stub macros and hopefully few prototypes,
12450 which can conflict with char _doprnt(); below. */
12451 #include <assert.h>
12452 /* Override any gcc2 internal prototype to avoid an error. */
12453 /* We use char because int might match the return type of a gcc2
12454 builtin and then its argument prototype would still apply. */
12459 /* The GNU C library defines this for functions which it implements
12460 to always fail with ENOSYS. Some functions are actually named
12461 something starting with __ and the normal name is an alias. */
12462 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12470 if { (eval echo configure
:12471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12472 eval "ac_cv_func__doprnt=yes"
12474 echo "configure: failed program was:" >&5
12475 cat conftest.
$ac_ext >&5
12477 eval "ac_cv_func__doprnt=no"
12482 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12483 echo "$ac_t""yes" 1>&6
12484 cat >> confdefs.h
<<\EOF
12485 #define HAVE_DOPRNT 1
12489 echo "$ac_t""no" 1>&6
12500 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12501 echo "configure:12502: checking for vsnprintf" >&5
12502 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12503 echo $ac_n "(cached) $ac_c" 1>&6
12506 cat > conftest.
$ac_ext <<EOF
12507 #line 12508 "configure"
12508 #include "confdefs.h"
12511 #include <stdarg.h>
12515 int wx_test_vsnprintf(const char *, ...);
12517 wx_test_vsnprintf("%s");
12521 int wx_test_vsnprintf(const char *fmt, ...)
12526 va_start(argp, fmt);
12527 vsnprintf(s, 42, fmt, argp);
12532 if { (eval echo configure
:12533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12535 wx_cv_func_vsnprintf
=yes
12538 echo "configure: failed program was:" >&5
12539 cat conftest.
$ac_ext >&5
12542 cat > conftest.
$ac_ext <<EOF
12543 #line 12544 "configure"
12544 #include "confdefs.h"
12547 #include <stdarg.h>
12551 int wx_test_vsnprintf(const char *, ...);
12553 wx_test_vsnprintf("%s");
12557 int wx_test_vsnprintf(const char *fmt, ...)
12562 va_start(argp, fmt);
12563 _vsnprintf(s, 42, fmt, argp);
12568 if { (eval echo configure
:12569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12571 wx_cv_func_vsnprintf
=yes
12574 echo "configure: failed program was:" >&5
12575 cat conftest.
$ac_ext >&5
12578 wx_cv_func_vsnprintf
=no
12588 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12590 if test "$wx_cv_func_vsnprintf" = yes; then
12591 cat >> confdefs.h
<<\EOF
12592 #define HAVE_VSNPRINTF 1
12596 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12599 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12600 echo "configure:12601: checking for vsscanf" >&5
12601 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12602 echo $ac_n "(cached) $ac_c" 1>&6
12605 cat > conftest.
$ac_ext <<EOF
12606 #line 12607 "configure"
12607 #include "confdefs.h"
12610 #include <stdarg.h>
12614 int wx_test_vsscanf(const char *, ...);
12616 wx_test_vsscanf("%d");
12620 int wx_test_vsscanf(const char *fmt, ...)
12623 va_start(argp, fmt);
12624 vsscanf("42", fmt, argp);
12629 if { (eval echo configure
:12630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12632 wx_cv_func_vsscanf
=yes
12635 echo "configure: failed program was:" >&5
12636 cat conftest.
$ac_ext >&5
12639 wx_cv_func_vsscanf
=no
12646 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12648 if test "$wx_cv_func_vsscanf" = yes; then
12649 cat >> confdefs.h
<<\EOF
12650 #define HAVE_VSSCANF 1
12655 if test "$TOOLKIT" != "MSW"; then
12660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12661 ac_cpp
='$CXXCPP $CPPFLAGS'
12662 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12663 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12664 cross_compiling
=$ac_cv_prog_cxx_cross
12666 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12667 echo "configure:12668: checking if iconv() takes char**" >&5
12668 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12669 echo $ac_n "(cached) $ac_c" 1>&6
12672 cat > conftest.
$ac_ext <<EOF
12673 #line 12674 "configure"
12674 #include "confdefs.h"
12678 char **inbuf, **outbuf;
12680 size_t insz, outsz;
12681 iconv(cd, inbuf, &insz, outbuf, &outsz);
12685 if { (eval echo configure
:12686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12687 wx_cv_iconv_takes_char
=yes
12689 echo "configure: failed program was:" >&5
12690 cat conftest.
$ac_ext >&5
12692 wx_cv_iconv_takes_char
=no
12698 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12701 ac_cpp
='$CPP $CPPFLAGS'
12702 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12703 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12704 cross_compiling
=$ac_cv_prog_cc_cross
12706 if test "$wx_cv_iconv_takes_char" = yes ; then
12707 cat >> confdefs.h
<<\EOF
12708 #define WX_ICONV_TAKES_CHAR 1
12714 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12715 for ac_func
in sigaction
12717 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12718 echo "configure:12719: checking for $ac_func" >&5
12719 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12720 echo $ac_n "(cached) $ac_c" 1>&6
12722 cat > conftest.
$ac_ext <<EOF
12723 #line 12724 "configure"
12724 #include "confdefs.h"
12725 /* System header to define __stub macros and hopefully few prototypes,
12726 which can conflict with char $ac_func(); below. */
12727 #include <assert.h>
12728 /* Override any gcc2 internal prototype to avoid an error. */
12729 /* We use char because int might match the return type of a gcc2
12730 builtin and then its argument prototype would still apply. */
12735 /* The GNU C library defines this for functions which it implements
12736 to always fail with ENOSYS. Some functions are actually named
12737 something starting with __ and the normal name is an alias. */
12738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12746 if { (eval echo configure
:12747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12748 eval "ac_cv_func_$ac_func=yes"
12750 echo "configure: failed program was:" >&5
12751 cat conftest.
$ac_ext >&5
12753 eval "ac_cv_func_$ac_func=no"
12758 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12759 echo "$ac_t""yes" 1>&6
12760 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12761 cat >> confdefs.h
<<EOF
12762 #define $ac_tr_func 1
12766 echo "$ac_t""no" 1>&6
12771 if test "$ac_cv_func_sigaction" = "no"; then
12772 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12773 wxUSE_ON_FATAL_EXCEPTION
=no
12776 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12779 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12780 ac_cpp
='$CXXCPP $CPPFLAGS'
12781 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12782 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12783 cross_compiling
=$ac_cv_prog_cxx_cross
12786 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12787 echo "configure:12788: checking for sa_handler type" >&5
12788 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12789 echo $ac_n "(cached) $ac_c" 1>&6
12792 cat > conftest.
$ac_ext <<EOF
12793 #line 12794 "configure"
12794 #include "confdefs.h"
12795 #include <signal.h>
12798 extern void testSigHandler(int);
12800 struct sigaction sa;
12801 sa.sa_handler = testSigHandler;
12805 if { (eval echo configure
:12806: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12808 wx_cv_type_sa_handler
=int
12811 echo "configure: failed program was:" >&5
12812 cat conftest.
$ac_ext >&5
12815 wx_cv_type_sa_handler
=void
12822 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12826 ac_cpp
='$CPP $CPPFLAGS'
12827 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12828 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12829 cross_compiling
=$ac_cv_prog_cc_cross
12832 cat >> confdefs.h
<<EOF
12833 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12839 for ac_func
in vfork
12841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12842 echo "configure:12843: checking for $ac_func" >&5
12843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12844 echo $ac_n "(cached) $ac_c" 1>&6
12846 cat > conftest.
$ac_ext <<EOF
12847 #line 12848 "configure"
12848 #include "confdefs.h"
12849 /* System header to define __stub macros and hopefully few prototypes,
12850 which can conflict with char $ac_func(); below. */
12851 #include <assert.h>
12852 /* Override any gcc2 internal prototype to avoid an error. */
12853 /* We use char because int might match the return type of a gcc2
12854 builtin and then its argument prototype would still apply. */
12859 /* The GNU C library defines this for functions which it implements
12860 to always fail with ENOSYS. Some functions are actually named
12861 something starting with __ and the normal name is an alias. */
12862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12870 if { (eval echo configure
:12871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12872 eval "ac_cv_func_$ac_func=yes"
12874 echo "configure: failed program was:" >&5
12875 cat conftest.
$ac_ext >&5
12877 eval "ac_cv_func_$ac_func=no"
12882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12883 echo "$ac_t""yes" 1>&6
12884 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12885 cat >> confdefs.h
<<EOF
12886 #define $ac_tr_func 1
12890 echo "$ac_t""no" 1>&6
12895 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12896 for ac_func
in fcntl flock
12898 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12899 echo "configure:12900: checking for $ac_func" >&5
12900 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12901 echo $ac_n "(cached) $ac_c" 1>&6
12903 cat > conftest.
$ac_ext <<EOF
12904 #line 12905 "configure"
12905 #include "confdefs.h"
12906 /* System header to define __stub macros and hopefully few prototypes,
12907 which can conflict with char $ac_func(); below. */
12908 #include <assert.h>
12909 /* Override any gcc2 internal prototype to avoid an error. */
12910 /* We use char because int might match the return type of a gcc2
12911 builtin and then its argument prototype would still apply. */
12916 /* The GNU C library defines this for functions which it implements
12917 to always fail with ENOSYS. Some functions are actually named
12918 something starting with __ and the normal name is an alias. */
12919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12927 if { (eval echo configure
:12928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12929 eval "ac_cv_func_$ac_func=yes"
12931 echo "configure: failed program was:" >&5
12932 cat conftest.
$ac_ext >&5
12934 eval "ac_cv_func_$ac_func=no"
12939 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12940 echo "$ac_t""yes" 1>&6
12941 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12942 cat >> confdefs.h
<<EOF
12943 #define $ac_tr_func 1
12947 echo "$ac_t""no" 1>&6
12952 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12953 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12954 wxUSE_SNGLINST_CHECKER
=no
12958 for ac_func
in timegm
12960 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12961 echo "configure:12962: checking for $ac_func" >&5
12962 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12963 echo $ac_n "(cached) $ac_c" 1>&6
12965 cat > conftest.
$ac_ext <<EOF
12966 #line 12967 "configure"
12967 #include "confdefs.h"
12968 /* System header to define __stub macros and hopefully few prototypes,
12969 which can conflict with char $ac_func(); below. */
12970 #include <assert.h>
12971 /* Override any gcc2 internal prototype to avoid an error. */
12972 /* We use char because int might match the return type of a gcc2
12973 builtin and then its argument prototype would still apply. */
12978 /* The GNU C library defines this for functions which it implements
12979 to always fail with ENOSYS. Some functions are actually named
12980 something starting with __ and the normal name is an alias. */
12981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12989 if { (eval echo configure
:12990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12991 eval "ac_cv_func_$ac_func=yes"
12993 echo "configure: failed program was:" >&5
12994 cat conftest.
$ac_ext >&5
12996 eval "ac_cv_func_$ac_func=no"
13001 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13002 echo "$ac_t""yes" 1>&6
13003 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13004 cat >> confdefs.h
<<EOF
13005 #define $ac_tr_func 1
13009 echo "$ac_t""no" 1>&6
13014 for ac_func
in putenv setenv
13016 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13017 echo "configure:13018: checking for $ac_func" >&5
13018 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13019 echo $ac_n "(cached) $ac_c" 1>&6
13021 cat > conftest.
$ac_ext <<EOF
13022 #line 13023 "configure"
13023 #include "confdefs.h"
13024 /* System header to define __stub macros and hopefully few prototypes,
13025 which can conflict with char $ac_func(); below. */
13026 #include <assert.h>
13027 /* Override any gcc2 internal prototype to avoid an error. */
13028 /* We use char because int might match the return type of a gcc2
13029 builtin and then its argument prototype would still apply. */
13034 /* The GNU C library defines this for functions which it implements
13035 to always fail with ENOSYS. Some functions are actually named
13036 something starting with __ and the normal name is an alias. */
13037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13045 if { (eval echo configure
:13046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13047 eval "ac_cv_func_$ac_func=yes"
13049 echo "configure: failed program was:" >&5
13050 cat conftest.
$ac_ext >&5
13052 eval "ac_cv_func_$ac_func=no"
13057 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13058 echo "$ac_t""yes" 1>&6
13059 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13060 cat >> confdefs.h
<<EOF
13061 #define $ac_tr_func 1
13065 echo "$ac_t""no" 1>&6
13070 HAVE_SOME_SLEEP_FUNC
=0
13071 if test "$USE_BEOS" = 1; then
13072 cat >> confdefs.h
<<\EOF
13073 #define HAVE_SLEEP 1
13076 HAVE_SOME_SLEEP_FUNC
=1
13079 if test "$USE_MAC" = 1; then
13080 cat >> confdefs.h
<<\EOF
13081 #define HAVE_USLEEP 1
13084 HAVE_SOME_SLEEP_FUNC
=1
13087 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13089 for ac_func
in nanosleep
13091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13092 echo "configure:13093: checking for $ac_func" >&5
13093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13094 echo $ac_n "(cached) $ac_c" 1>&6
13096 cat > conftest.
$ac_ext <<EOF
13097 #line 13098 "configure"
13098 #include "confdefs.h"
13099 /* System header to define __stub macros and hopefully few prototypes,
13100 which can conflict with char $ac_func(); below. */
13101 #include <assert.h>
13102 /* Override any gcc2 internal prototype to avoid an error. */
13103 /* We use char because int might match the return type of a gcc2
13104 builtin and then its argument prototype would still apply. */
13109 /* The GNU C library defines this for functions which it implements
13110 to always fail with ENOSYS. Some functions are actually named
13111 something starting with __ and the normal name is an alias. */
13112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13120 if { (eval echo configure
:13121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13122 eval "ac_cv_func_$ac_func=yes"
13124 echo "configure: failed program was:" >&5
13125 cat conftest.
$ac_ext >&5
13127 eval "ac_cv_func_$ac_func=no"
13132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13133 echo "$ac_t""yes" 1>&6
13134 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13135 cat >> confdefs.h
<<EOF
13136 #define $ac_tr_func 1
13138 cat >> confdefs.h
<<\EOF
13139 #define HAVE_NANOSLEEP 1
13143 echo "$ac_t""no" 1>&6
13144 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13145 echo "configure:13146: checking for nanosleep in -lposix4" >&5
13146 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13148 echo $ac_n "(cached) $ac_c" 1>&6
13150 ac_save_LIBS
="$LIBS"
13151 LIBS
="-lposix4 $LIBS"
13152 cat > conftest.
$ac_ext <<EOF
13153 #line 13154 "configure"
13154 #include "confdefs.h"
13155 /* Override any gcc2 internal prototype to avoid an error. */
13156 /* We use char because int might match the return type of a gcc2
13157 builtin and then its argument prototype would still apply. */
13164 if { (eval echo configure
:13165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13166 eval "ac_cv_lib_$ac_lib_var=yes"
13168 echo "configure: failed program was:" >&5
13169 cat conftest.
$ac_ext >&5
13171 eval "ac_cv_lib_$ac_lib_var=no"
13174 LIBS
="$ac_save_LIBS"
13177 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13178 echo "$ac_t""yes" 1>&6
13180 cat >> confdefs.h
<<\EOF
13181 #define HAVE_NANOSLEEP 1
13184 POSIX4_LINK
="-lposix4"
13187 echo "$ac_t""no" 1>&6
13189 for ac_func
in usleep
13191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13192 echo "configure:13193: checking for $ac_func" >&5
13193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13194 echo $ac_n "(cached) $ac_c" 1>&6
13196 cat > conftest.
$ac_ext <<EOF
13197 #line 13198 "configure"
13198 #include "confdefs.h"
13199 /* System header to define __stub macros and hopefully few prototypes,
13200 which can conflict with char $ac_func(); below. */
13201 #include <assert.h>
13202 /* Override any gcc2 internal prototype to avoid an error. */
13203 /* We use char because int might match the return type of a gcc2
13204 builtin and then its argument prototype would still apply. */
13209 /* The GNU C library defines this for functions which it implements
13210 to always fail with ENOSYS. Some functions are actually named
13211 something starting with __ and the normal name is an alias. */
13212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13220 if { (eval echo configure
:13221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13222 eval "ac_cv_func_$ac_func=yes"
13224 echo "configure: failed program was:" >&5
13225 cat conftest.
$ac_ext >&5
13227 eval "ac_cv_func_$ac_func=no"
13232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13233 echo "$ac_t""yes" 1>&6
13234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13235 cat >> confdefs.h
<<EOF
13236 #define $ac_tr_func 1
13238 cat >> confdefs.h
<<\EOF
13239 #define HAVE_USLEEP 1
13243 echo "$ac_t""no" 1>&6
13244 echo "configure: warning: wxSleep() function will not work" 1>&2
13260 for ac_func
in uname gethostname
13262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13263 echo "configure:13264: checking for $ac_func" >&5
13264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13265 echo $ac_n "(cached) $ac_c" 1>&6
13267 cat > conftest.
$ac_ext <<EOF
13268 #line 13269 "configure"
13269 #include "confdefs.h"
13270 /* System header to define __stub macros and hopefully few prototypes,
13271 which can conflict with char $ac_func(); below. */
13272 #include <assert.h>
13273 /* Override any gcc2 internal prototype to avoid an error. */
13274 /* We use char because int might match the return type of a gcc2
13275 builtin and then its argument prototype would still apply. */
13280 /* The GNU C library defines this for functions which it implements
13281 to always fail with ENOSYS. Some functions are actually named
13282 something starting with __ and the normal name is an alias. */
13283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13291 if { (eval echo configure
:13292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13293 eval "ac_cv_func_$ac_func=yes"
13295 echo "configure: failed program was:" >&5
13296 cat conftest.
$ac_ext >&5
13298 eval "ac_cv_func_$ac_func=no"
13303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13304 echo "$ac_t""yes" 1>&6
13305 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13306 cat >> confdefs.h
<<EOF
13307 #define $ac_tr_func 1
13311 echo "$ac_t""no" 1>&6
13318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13319 ac_cpp
='$CXXCPP $CPPFLAGS'
13320 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13321 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13322 cross_compiling
=$ac_cv_prog_cxx_cross
13325 for ac_func
in strtok_r
13327 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13328 echo "configure:13329: checking for $ac_func" >&5
13329 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13330 echo $ac_n "(cached) $ac_c" 1>&6
13332 cat > conftest.
$ac_ext <<EOF
13333 #line 13334 "configure"
13334 #include "confdefs.h"
13335 /* System header to define __stub macros and hopefully few prototypes,
13336 which can conflict with char $ac_func(); below. */
13337 #include <assert.h>
13338 /* Override any gcc2 internal prototype to avoid an error. */
13342 /* We use char because int might match the return type of a gcc2
13343 builtin and then its argument prototype would still apply. */
13348 /* The GNU C library defines this for functions which it implements
13349 to always fail with ENOSYS. Some functions are actually named
13350 something starting with __ and the normal name is an alias. */
13351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13359 if { (eval echo configure
:13360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13361 eval "ac_cv_func_$ac_func=yes"
13363 echo "configure: failed program was:" >&5
13364 cat conftest.
$ac_ext >&5
13366 eval "ac_cv_func_$ac_func=no"
13371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13372 echo "$ac_t""yes" 1>&6
13373 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13374 cat >> confdefs.h
<<EOF
13375 #define $ac_tr_func 1
13379 echo "$ac_t""no" 1>&6
13385 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13386 ac_cpp
='$CPP $CPPFLAGS'
13387 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13388 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13389 cross_compiling
=$ac_cv_prog_cc_cross
13393 for ac_func
in inet_addr
13395 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13396 echo "configure:13397: checking for $ac_func" >&5
13397 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13398 echo $ac_n "(cached) $ac_c" 1>&6
13400 cat > conftest.
$ac_ext <<EOF
13401 #line 13402 "configure"
13402 #include "confdefs.h"
13403 /* System header to define __stub macros and hopefully few prototypes,
13404 which can conflict with char $ac_func(); below. */
13405 #include <assert.h>
13406 /* Override any gcc2 internal prototype to avoid an error. */
13407 /* We use char because int might match the return type of a gcc2
13408 builtin and then its argument prototype would still apply. */
13413 /* The GNU C library defines this for functions which it implements
13414 to always fail with ENOSYS. Some functions are actually named
13415 something starting with __ and the normal name is an alias. */
13416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13424 if { (eval echo configure
:13425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13426 eval "ac_cv_func_$ac_func=yes"
13428 echo "configure: failed program was:" >&5
13429 cat conftest.
$ac_ext >&5
13431 eval "ac_cv_func_$ac_func=no"
13436 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13437 echo "$ac_t""yes" 1>&6
13438 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13439 cat >> confdefs.h
<<EOF
13440 #define $ac_tr_func 1
13442 cat >> confdefs.h
<<\EOF
13443 #define HAVE_INET_ADDR 1
13447 echo "$ac_t""no" 1>&6
13448 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13449 echo "configure:13450: checking for inet_addr in -lnsl" >&5
13450 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13451 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13452 echo $ac_n "(cached) $ac_c" 1>&6
13454 ac_save_LIBS
="$LIBS"
13456 cat > conftest.
$ac_ext <<EOF
13457 #line 13458 "configure"
13458 #include "confdefs.h"
13459 /* Override any gcc2 internal prototype to avoid an error. */
13460 /* We use char because int might match the return type of a gcc2
13461 builtin and then its argument prototype would still apply. */
13468 if { (eval echo configure
:13469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13470 eval "ac_cv_lib_$ac_lib_var=yes"
13472 echo "configure: failed program was:" >&5
13473 cat conftest.
$ac_ext >&5
13475 eval "ac_cv_lib_$ac_lib_var=no"
13478 LIBS
="$ac_save_LIBS"
13481 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13482 echo "$ac_t""yes" 1>&6
13485 echo "$ac_t""no" 1>&6
13486 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13487 echo "configure:13488: checking for inet_addr in -lresolv" >&5
13488 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13489 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13490 echo $ac_n "(cached) $ac_c" 1>&6
13492 ac_save_LIBS
="$LIBS"
13493 LIBS
="-lresolv $LIBS"
13494 cat > conftest.
$ac_ext <<EOF
13495 #line 13496 "configure"
13496 #include "confdefs.h"
13497 /* Override any gcc2 internal prototype to avoid an error. */
13498 /* We use char because int might match the return type of a gcc2
13499 builtin and then its argument prototype would still apply. */
13506 if { (eval echo configure
:13507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13508 eval "ac_cv_lib_$ac_lib_var=yes"
13510 echo "configure: failed program was:" >&5
13511 cat conftest.
$ac_ext >&5
13513 eval "ac_cv_lib_$ac_lib_var=no"
13516 LIBS
="$ac_save_LIBS"
13519 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13520 echo "$ac_t""yes" 1>&6
13524 echo "$ac_t""no" 1>&6
13536 for ac_func
in inet_aton
13538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13539 echo "configure:13540: checking for $ac_func" >&5
13540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13541 echo $ac_n "(cached) $ac_c" 1>&6
13543 cat > conftest.
$ac_ext <<EOF
13544 #line 13545 "configure"
13545 #include "confdefs.h"
13546 /* System header to define __stub macros and hopefully few prototypes,
13547 which can conflict with char $ac_func(); below. */
13548 #include <assert.h>
13549 /* Override any gcc2 internal prototype to avoid an error. */
13550 /* We use char because int might match the return type of a gcc2
13551 builtin and then its argument prototype would still apply. */
13556 /* The GNU C library defines this for functions which it implements
13557 to always fail with ENOSYS. Some functions are actually named
13558 something starting with __ and the normal name is an alias. */
13559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13567 if { (eval echo configure
:13568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13569 eval "ac_cv_func_$ac_func=yes"
13571 echo "configure: failed program was:" >&5
13572 cat conftest.
$ac_ext >&5
13574 eval "ac_cv_func_$ac_func=no"
13579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13580 echo "$ac_t""yes" 1>&6
13581 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13582 cat >> confdefs.h
<<EOF
13583 #define $ac_tr_func 1
13585 cat >> confdefs.h
<<\EOF
13586 #define HAVE_INET_ATON 1
13590 echo "$ac_t""no" 1>&6
13591 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13592 echo "configure:13593: checking for inet_aton in -l$INET_LINK" >&5
13593 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13594 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13595 echo $ac_n "(cached) $ac_c" 1>&6
13597 ac_save_LIBS
="$LIBS"
13598 LIBS
="-l$INET_LINK $LIBS"
13599 cat > conftest.
$ac_ext <<EOF
13600 #line 13601 "configure"
13601 #include "confdefs.h"
13602 /* Override any gcc2 internal prototype to avoid an error. */
13603 /* We use char because int might match the return type of a gcc2
13604 builtin and then its argument prototype would still apply. */
13611 if { (eval echo configure
:13612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13613 eval "ac_cv_lib_$ac_lib_var=yes"
13615 echo "configure: failed program was:" >&5
13616 cat conftest.
$ac_ext >&5
13618 eval "ac_cv_lib_$ac_lib_var=no"
13621 LIBS
="$ac_save_LIBS"
13624 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13625 echo "$ac_t""yes" 1>&6
13626 cat >> confdefs.h
<<\EOF
13627 #define HAVE_INET_ATON 1
13631 echo "$ac_t""no" 1>&6
13639 if test "x$INET_LINK" != "x"; then
13640 cat >> confdefs.h
<<\EOF
13641 #define HAVE_INET_ADDR 1
13644 INET_LINK
="-l$INET_LINK"
13650 cat > confcache
<<\EOF
13651 # This file is a shell script that caches the results of configure
13652 # tests run on this system so they can be shared between configure
13653 # scripts and configure runs. It is not useful on other systems.
13654 # If it contains results you don't want to keep, you may remove or edit it.
13656 # By default, configure uses ./config.cache as the cache file,
13657 # creating it if it does not exist already. You can give configure
13658 # the --cache-file=FILE option to use a different cache file; that is
13659 # what configure does when it calls configure scripts in
13660 # subdirectories, so they share the cache.
13661 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13662 # config.status only pays attention to the cache file if you give it the
13663 # --recheck option to rerun configure.
13666 # The following way of writing the cache mishandles newlines in values,
13667 # but we know of no workaround that is simple, portable, and efficient.
13668 # So, don't put newlines in cache variables' values.
13669 # Ultrix sh set writes to stderr and can't be redirected directly,
13670 # and sets the high bit in the cache file unless we assign to the vars.
13672 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13674 # `set' does not quote correctly, so add quotes (double-quote substitution
13675 # turns \\\\ into \\, and sed turns \\ into \).
13677 -e "s/'/'\\\\''/g" \
13678 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13681 # `set' quotes correctly as required by POSIX, so do not add quotes.
13682 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13685 if cmp -s $cache_file confcache
; then
13688 if test -w $cache_file; then
13689 echo "updating cache $cache_file"
13690 cat confcache
> $cache_file
13692 echo "not updating unwritable cache $cache_file"
13699 if test "$TOOLKIT" != "MSW"; then
13705 if test "$wxUSE_THREADS" = "yes" ; then
13706 if test "$wxUSE_WINE" = 1 ; then
13707 echo "configure: warning: Threads are not supported under WINE" 1>&2
13709 elif test "$USE_BEOS" = 1; then
13710 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13715 if test "$wxUSE_THREADS" = "yes" ; then
13717 if test "$USE_AIX" = 1; then
13718 THREADS_LIB
=pthreads
13720 THREADS_LIB
=pthread
13723 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13724 echo "configure:13725: checking for pthread_create in -l$THREADS_LIB" >&5
13725 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13726 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13727 echo $ac_n "(cached) $ac_c" 1>&6
13729 ac_save_LIBS
="$LIBS"
13730 LIBS
="-l$THREADS_LIB $LIBS"
13731 cat > conftest.
$ac_ext <<EOF
13732 #line 13733 "configure"
13733 #include "confdefs.h"
13734 /* Override any gcc2 internal prototype to avoid an error. */
13735 /* We use char because int might match the return type of a gcc2
13736 builtin and then its argument prototype would still apply. */
13737 char pthread_create();
13743 if { (eval echo configure
:13744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13745 eval "ac_cv_lib_$ac_lib_var=yes"
13747 echo "configure: failed program was:" >&5
13748 cat conftest.
$ac_ext >&5
13750 eval "ac_cv_lib_$ac_lib_var=no"
13753 LIBS
="$ac_save_LIBS"
13756 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13757 echo "$ac_t""yes" 1>&6
13759 THREADS_OBJ
="threadpsx.lo"
13760 THREADS_LINK
=$THREADS_LIB
13763 echo "$ac_t""no" 1>&6
13765 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13766 echo "configure:13767: checking for pthread_create in -lc_r" >&5
13767 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13768 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13769 echo $ac_n "(cached) $ac_c" 1>&6
13771 ac_save_LIBS
="$LIBS"
13773 cat > conftest.
$ac_ext <<EOF
13774 #line 13775 "configure"
13775 #include "confdefs.h"
13776 /* Override any gcc2 internal prototype to avoid an error. */
13777 /* We use char because int might match the return type of a gcc2
13778 builtin and then its argument prototype would still apply. */
13779 char pthread_create();
13785 if { (eval echo configure
:13786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13787 eval "ac_cv_lib_$ac_lib_var=yes"
13789 echo "configure: failed program was:" >&5
13790 cat conftest.
$ac_ext >&5
13792 eval "ac_cv_lib_$ac_lib_var=no"
13795 LIBS
="$ac_save_LIBS"
13798 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13799 echo "$ac_t""yes" 1>&6
13801 THREADS_OBJ
="threadpsx.lo"
13805 echo "$ac_t""no" 1>&6
13807 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13808 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13809 echo "configure:13810: checking for sys/prctl.h" >&5
13810 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13811 echo $ac_n "(cached) $ac_c" 1>&6
13813 cat > conftest.
$ac_ext <<EOF
13814 #line 13815 "configure"
13815 #include "confdefs.h"
13816 #include <sys/prctl.h>
13818 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13819 { (eval echo configure
:13820: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13820 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13821 if test -z "$ac_err"; then
13823 eval "ac_cv_header_$ac_safe=yes"
13826 echo "configure: failed program was:" >&5
13827 cat conftest.
$ac_ext >&5
13829 eval "ac_cv_header_$ac_safe=no"
13833 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13834 echo "$ac_t""yes" 1>&6
13836 THREADS_OBJ
="threadsgi.lo"
13839 echo "$ac_t""no" 1>&6
13849 if test -z "$THREADS_OBJ" ; then
13851 echo "configure: warning: No thread support on this system" 1>&2
13855 if test "$wxUSE_THREADS" = "yes" ; then
13856 for ac_func
in thr_setconcurrency
13858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13859 echo "configure:13860: checking for $ac_func" >&5
13860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13861 echo $ac_n "(cached) $ac_c" 1>&6
13863 cat > conftest.
$ac_ext <<EOF
13864 #line 13865 "configure"
13865 #include "confdefs.h"
13866 /* System header to define __stub macros and hopefully few prototypes,
13867 which can conflict with char $ac_func(); below. */
13868 #include <assert.h>
13869 /* Override any gcc2 internal prototype to avoid an error. */
13870 /* We use char because int might match the return type of a gcc2
13871 builtin and then its argument prototype would still apply. */
13876 /* The GNU C library defines this for functions which it implements
13877 to always fail with ENOSYS. Some functions are actually named
13878 something starting with __ and the normal name is an alias. */
13879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13887 if { (eval echo configure
:13888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13889 eval "ac_cv_func_$ac_func=yes"
13891 echo "configure: failed program was:" >&5
13892 cat conftest.
$ac_ext >&5
13894 eval "ac_cv_func_$ac_func=no"
13899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13900 echo "$ac_t""yes" 1>&6
13901 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13902 cat >> confdefs.h
<<EOF
13903 #define $ac_tr_func 1
13907 echo "$ac_t""no" 1>&6
13913 for ac_hdr
in sched.h
13915 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13916 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13917 echo "configure:13918: checking for $ac_hdr" >&5
13918 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13919 echo $ac_n "(cached) $ac_c" 1>&6
13921 cat > conftest.
$ac_ext <<EOF
13922 #line 13923 "configure"
13923 #include "confdefs.h"
13926 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13927 { (eval echo configure
:13928: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13928 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13929 if test -z "$ac_err"; then
13931 eval "ac_cv_header_$ac_safe=yes"
13934 echo "configure: failed program was:" >&5
13935 cat conftest.
$ac_ext >&5
13937 eval "ac_cv_header_$ac_safe=no"
13941 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13942 echo "$ac_t""yes" 1>&6
13943 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13944 cat >> confdefs.h
<<EOF
13945 #define $ac_tr_hdr 1
13949 echo "$ac_t""no" 1>&6
13954 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13955 echo "configure:13956: checking for sched_yield in -l$THREADS_LINK" >&5
13956 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13958 echo $ac_n "(cached) $ac_c" 1>&6
13960 ac_save_LIBS
="$LIBS"
13961 LIBS
="-l$THREADS_LINK $LIBS"
13962 cat > conftest.
$ac_ext <<EOF
13963 #line 13964 "configure"
13964 #include "confdefs.h"
13965 /* Override any gcc2 internal prototype to avoid an error. */
13966 /* We use char because int might match the return type of a gcc2
13967 builtin and then its argument prototype would still apply. */
13968 char sched_yield();
13974 if { (eval echo configure
:13975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13976 eval "ac_cv_lib_$ac_lib_var=yes"
13978 echo "configure: failed program was:" >&5
13979 cat conftest.
$ac_ext >&5
13981 eval "ac_cv_lib_$ac_lib_var=no"
13984 LIBS
="$ac_save_LIBS"
13987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13988 echo "$ac_t""yes" 1>&6
13989 cat >> confdefs.h
<<\EOF
13990 #define HAVE_SCHED_YIELD 1
13994 echo "$ac_t""no" 1>&6
13995 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13996 echo "configure:13997: checking for sched_yield in -lposix4" >&5
13997 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13998 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13999 echo $ac_n "(cached) $ac_c" 1>&6
14001 ac_save_LIBS
="$LIBS"
14002 LIBS
="-lposix4 $LIBS"
14003 cat > conftest.
$ac_ext <<EOF
14004 #line 14005 "configure"
14005 #include "confdefs.h"
14006 /* Override any gcc2 internal prototype to avoid an error. */
14007 /* We use char because int might match the return type of a gcc2
14008 builtin and then its argument prototype would still apply. */
14009 char sched_yield();
14015 if { (eval echo configure
:14016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14017 eval "ac_cv_lib_$ac_lib_var=yes"
14019 echo "configure: failed program was:" >&5
14020 cat conftest.
$ac_ext >&5
14022 eval "ac_cv_lib_$ac_lib_var=no"
14025 LIBS
="$ac_save_LIBS"
14028 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14029 echo "$ac_t""yes" 1>&6
14030 cat >> confdefs.h
<<\EOF
14031 #define HAVE_SCHED_YIELD 1
14033 POSIX4_LINK
="-lposix4"
14035 echo "$ac_t""no" 1>&6
14036 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14045 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14046 echo "configure:14047: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14047 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14048 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14049 echo $ac_n "(cached) $ac_c" 1>&6
14051 ac_save_LIBS
="$LIBS"
14052 LIBS
="-l$THREADS_LINK $LIBS"
14053 cat > conftest.
$ac_ext <<EOF
14054 #line 14055 "configure"
14055 #include "confdefs.h"
14056 /* Override any gcc2 internal prototype to avoid an error. */
14057 /* We use char because int might match the return type of a gcc2
14058 builtin and then its argument prototype would still apply. */
14059 char pthread_attr_getschedpolicy();
14062 pthread_attr_getschedpolicy()
14065 if { (eval echo configure
:14066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14067 eval "ac_cv_lib_$ac_lib_var=yes"
14069 echo "configure: failed program was:" >&5
14070 cat conftest.
$ac_ext >&5
14072 eval "ac_cv_lib_$ac_lib_var=no"
14075 LIBS
="$ac_save_LIBS"
14078 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14079 echo "$ac_t""yes" 1>&6
14080 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14081 echo "configure:14082: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14082 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14084 echo $ac_n "(cached) $ac_c" 1>&6
14086 ac_save_LIBS
="$LIBS"
14087 LIBS
="-l$THREADS_LINK $LIBS"
14088 cat > conftest.
$ac_ext <<EOF
14089 #line 14090 "configure"
14090 #include "confdefs.h"
14091 /* Override any gcc2 internal prototype to avoid an error. */
14092 /* We use char because int might match the return type of a gcc2
14093 builtin and then its argument prototype would still apply. */
14094 char pthread_attr_setschedparam();
14097 pthread_attr_setschedparam()
14100 if { (eval echo configure
:14101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14102 eval "ac_cv_lib_$ac_lib_var=yes"
14104 echo "configure: failed program was:" >&5
14105 cat conftest.
$ac_ext >&5
14107 eval "ac_cv_lib_$ac_lib_var=no"
14110 LIBS
="$ac_save_LIBS"
14113 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14114 echo "$ac_t""yes" 1>&6
14115 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14116 echo "configure:14117: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14117 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14119 echo $ac_n "(cached) $ac_c" 1>&6
14121 ac_save_LIBS
="$LIBS"
14122 LIBS
="-l$THREADS_LINK $LIBS"
14123 cat > conftest.
$ac_ext <<EOF
14124 #line 14125 "configure"
14125 #include "confdefs.h"
14126 /* Override any gcc2 internal prototype to avoid an error. */
14127 /* We use char because int might match the return type of a gcc2
14128 builtin and then its argument prototype would still apply. */
14129 char sched_get_priority_max();
14132 sched_get_priority_max()
14135 if { (eval echo configure
:14136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14137 eval "ac_cv_lib_$ac_lib_var=yes"
14139 echo "configure: failed program was:" >&5
14140 cat conftest.
$ac_ext >&5
14142 eval "ac_cv_lib_$ac_lib_var=no"
14145 LIBS
="$ac_save_LIBS"
14148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14149 echo "$ac_t""yes" 1>&6
14152 echo "$ac_t""no" 1>&6
14153 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
14154 echo "configure:14155: checking for sched_get_priority_max in -lposix4" >&5
14155 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14157 echo $ac_n "(cached) $ac_c" 1>&6
14159 ac_save_LIBS
="$LIBS"
14160 LIBS
="-lposix4 $LIBS"
14161 cat > conftest.
$ac_ext <<EOF
14162 #line 14163 "configure"
14163 #include "confdefs.h"
14164 /* Override any gcc2 internal prototype to avoid an error. */
14165 /* We use char because int might match the return type of a gcc2
14166 builtin and then its argument prototype would still apply. */
14167 char sched_get_priority_max();
14170 sched_get_priority_max()
14173 if { (eval echo configure
:14174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14175 eval "ac_cv_lib_$ac_lib_var=yes"
14177 echo "configure: failed program was:" >&5
14178 cat conftest.
$ac_ext >&5
14180 eval "ac_cv_lib_$ac_lib_var=no"
14183 LIBS
="$ac_save_LIBS"
14186 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14187 echo "$ac_t""yes" 1>&6
14190 POSIX4_LINK
="-lposix4"
14193 echo "$ac_t""no" 1>&6
14201 echo "$ac_t""no" 1>&6
14206 echo "$ac_t""no" 1>&6
14210 if test "$HAVE_PRIOR_FUNCS" = 1; then
14211 cat >> confdefs.h
<<\EOF
14212 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14216 echo "configure: warning: Setting thread priority will not work" 1>&2
14219 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14220 echo "configure:14221: checking for pthread_cancel in -l$THREADS_LINK" >&5
14221 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14223 echo $ac_n "(cached) $ac_c" 1>&6
14225 ac_save_LIBS
="$LIBS"
14226 LIBS
="-l$THREADS_LINK $LIBS"
14227 cat > conftest.
$ac_ext <<EOF
14228 #line 14229 "configure"
14229 #include "confdefs.h"
14230 /* Override any gcc2 internal prototype to avoid an error. */
14231 /* We use char because int might match the return type of a gcc2
14232 builtin and then its argument prototype would still apply. */
14233 char pthread_cancel();
14239 if { (eval echo configure
:14240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14241 eval "ac_cv_lib_$ac_lib_var=yes"
14243 echo "configure: failed program was:" >&5
14244 cat conftest.
$ac_ext >&5
14246 eval "ac_cv_lib_$ac_lib_var=no"
14249 LIBS
="$ac_save_LIBS"
14252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14253 echo "$ac_t""yes" 1>&6
14254 cat >> confdefs.h
<<\EOF
14255 #define HAVE_PTHREAD_CANCEL 1
14259 echo "$ac_t""no" 1>&6
14260 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14264 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14265 echo "configure:14266: checking for pthread_cleanup_push/pop" >&5
14266 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14267 echo $ac_n "(cached) $ac_c" 1>&6
14270 cat > conftest.
$ac_ext <<EOF
14271 #line 14272 "configure"
14272 #include "confdefs.h"
14273 #include <pthread.h>
14276 pthread_cleanup_push(NULL, NULL);
14277 pthread_cleanup_pop(0);
14281 if { (eval echo configure
:14282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14284 wx_cv_func_pthread_cleanup_push
=yes
14287 echo "configure: failed program was:" >&5
14288 cat conftest.
$ac_ext >&5
14291 wx_cv_func_pthread_cleanup_push
=no
14298 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14300 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14301 cat >> confdefs.h
<<\EOF
14302 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14308 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14309 echo "configure:14310: checking for pthread_mutexattr_t" >&5
14310 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14311 echo $ac_n "(cached) $ac_c" 1>&6
14314 cat > conftest.
$ac_ext <<EOF
14315 #line 14316 "configure"
14316 #include "confdefs.h"
14317 #include <pthread.h>
14320 pthread_mutexattr_t attr;
14321 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14325 if { (eval echo configure
:14326: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14328 wx_cv_type_pthread_mutexattr_t
=yes
14331 echo "configure: failed program was:" >&5
14332 cat conftest.
$ac_ext >&5
14335 wx_cv_type_pthread_mutexattr_t
=no
14343 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14345 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14346 cat >> confdefs.h
<<\EOF
14347 #define HAVE_PTHREAD_MUTEXATTR_T 1
14351 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14352 echo "configure:14353: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14353 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14354 echo $ac_n "(cached) $ac_c" 1>&6
14357 cat > conftest.
$ac_ext <<EOF
14358 #line 14359 "configure"
14359 #include "confdefs.h"
14360 #include <pthread.h>
14363 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14367 if { (eval echo configure
:14368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14370 wx_cv_type_pthread_rec_mutex_init
=yes
14373 echo "configure: failed program was:" >&5
14374 cat conftest.
$ac_ext >&5
14377 wx_cv_type_pthread_rec_mutex_init
=no
14385 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14386 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14387 cat >> confdefs.h
<<\EOF
14388 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14392 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14396 THREADS_LINK
="-l$THREADS_LINK"
14398 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14399 CFLAGS
="${CFLAGS} -mt"
14400 CXXFLAGS
="${CXXFLAGS} -mt"
14401 LDFLAGS
="${LDFLAGS} -mt"
14407 if test "$wxUSE_THREADS" = "yes"; then
14408 cat >> confdefs.h
<<\EOF
14409 #define wxUSE_THREADS 1
14413 if test "$wxUSE_MAC" = "0"; then
14414 CFLAGS
="${CFLAGS} -D_REENTRANT"
14415 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14418 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14420 if test "$ac_cv_func_strtok_r" = "yes"; then
14421 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14422 echo "configure:14423: checking if -D_REENTRANT is needed" >&5
14423 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14424 CFLAGS
="${CFLAGS} -D_REENTRANT"
14425 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14426 echo "$ac_t""yes" 1>&6
14428 echo "$ac_t""no" 1>&6
14433 if test "$WXGTK20" = 1 ; then
14434 cat >> confdefs.h
<<EOF
14435 #define __WXGTK20__ $WXGTK20
14441 if test "$WXGTK12" = 1 ; then
14442 cat >> confdefs.h
<<EOF
14443 #define __WXGTK12__ $WXGTK12
14448 if test "$WXGTK127" = 1 ; then
14449 cat >> confdefs.h
<<EOF
14450 #define __WXGTK127__ $WXGTK127
14455 if test "$WXWINE" = 1 ; then
14456 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14459 if test "$wxUSE_MAC" = 1 ; then
14460 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14461 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14462 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14463 # Extract the first word of "Rez", so it can be a program name with args.
14464 set dummy Rez
; ac_word
=$2
14465 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14466 echo "configure:14467: checking for $ac_word" >&5
14467 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14468 echo $ac_n "(cached) $ac_c" 1>&6
14470 if test -n "$REZ"; then
14471 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14473 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14475 for ac_dir
in $ac_dummy; do
14476 test -z "$ac_dir" && ac_dir
=.
14477 if test -f $ac_dir/$ac_word; then
14478 ac_cv_prog_REZ
="Rez"
14483 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14486 REZ
="$ac_cv_prog_REZ"
14487 if test -n "$REZ"; then
14488 echo "$ac_t""$REZ" 1>&6
14490 echo "$ac_t""no" 1>&6
14493 # Extract the first word of "Derez", so it can be a program name with args.
14494 set dummy Derez
; ac_word
=$2
14495 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14496 echo "configure:14497: checking for $ac_word" >&5
14497 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14498 echo $ac_n "(cached) $ac_c" 1>&6
14500 if test -n "$DEREZ"; then
14501 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14503 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14505 for ac_dir
in $ac_dummy; do
14506 test -z "$ac_dir" && ac_dir
=.
14507 if test -f $ac_dir/$ac_word; then
14508 ac_cv_prog_DEREZ
="Derez"
14513 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14516 DEREZ
="$ac_cv_prog_DEREZ"
14517 if test -n "$DEREZ"; then
14518 echo "$ac_t""$DEREZ" 1>&6
14520 echo "$ac_t""no" 1>&6
14524 REZFLAGS
="-d __UNIX__ -useDF"
14525 DEREZFLAGS
="Carbon.r -useDF"
14526 RESFLAGS
="Carbon.r -t APPL"
14527 LIBWXMACRES
="\$(LIBWX_MACRES)"
14528 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14531 if test "$wxUSE_CYGWIN" = 1 ; then
14532 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14537 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14542 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14543 wxUSE_DEBUG_INFO
=yes
14547 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14548 cat >> confdefs.h
<<\EOF
14552 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14554 if test "$wxUSE_GTK" = 1 ; then
14555 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14559 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14560 cat >> confdefs.h
<<\EOF
14561 #define wxUSE_MEMORY_TRACING 1
14564 cat >> confdefs.h
<<\EOF
14565 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14568 cat >> confdefs.h
<<\EOF
14569 #define wxUSE_DEBUG_NEW_ALWAYS 1
14572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14575 if test "$wxUSE_DMALLOC" = "yes" ; then
14576 DMALLOC_LINK
="-ldmalloc"
14580 if test "$wxUSE_PROFILE" = "yes" ; then
14586 CODE_GEN_FLAGS_CXX
=
14587 if test "$GCC" = yes ; then
14588 if test "$wxUSE_NO_RTTI" = "yes" ; then
14589 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14591 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14592 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14594 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14595 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14597 if test "$wxUSE_NO_DEPS" = "no" ; then
14598 DEP_INFO_FLAGS
="-MMD"
14603 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14604 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14605 if test "$wxUSE_OPTIMISE" = "no" ; then
14608 if test "$GCC" = yes ; then
14611 i586
-*-*|i686
-*-* )
14612 OPTIMISE
="${OPTIMISE} "
14620 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14621 cat >> confdefs.h
<<\EOF
14622 #define WXWIN_COMPATIBILITY_2 1
14626 WXWIN_COMPATIBILITY_2_2
="yes"
14629 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14630 cat >> confdefs.h
<<\EOF
14631 #define WXWIN_COMPATIBILITY_2_2 1
14638 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14639 cat >> confdefs.h
<<\EOF
14640 #define wxUSE_ZLIB 1
14643 if test "$wxUSE_ZLIB" = "yes" ; then
14644 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14647 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14648 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14649 echo "configure:14650: checking for zlib.h" >&5
14650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14651 echo $ac_n "(cached) $ac_c" 1>&6
14653 cat > conftest.
$ac_ext <<EOF
14654 #line 14655 "configure"
14655 #include "confdefs.h"
14658 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14659 { (eval echo configure
:14660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14660 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14661 if test -z "$ac_err"; then
14663 eval "ac_cv_header_$ac_safe=yes"
14666 echo "configure: failed program was:" >&5
14667 cat conftest.
$ac_ext >&5
14669 eval "ac_cv_header_$ac_safe=no"
14673 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14674 echo "$ac_t""yes" 1>&6
14675 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14676 echo "configure:14677: checking for deflate in -lz" >&5
14677 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14679 echo $ac_n "(cached) $ac_c" 1>&6
14681 ac_save_LIBS
="$LIBS"
14683 cat > conftest.
$ac_ext <<EOF
14684 #line 14685 "configure"
14685 #include "confdefs.h"
14686 /* Override any gcc2 internal prototype to avoid an error. */
14687 /* We use char because int might match the return type of a gcc2
14688 builtin and then its argument prototype would still apply. */
14695 if { (eval echo configure
:14696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14697 eval "ac_cv_lib_$ac_lib_var=yes"
14699 echo "configure: failed program was:" >&5
14700 cat conftest.
$ac_ext >&5
14702 eval "ac_cv_lib_$ac_lib_var=no"
14705 LIBS
="$ac_save_LIBS"
14708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14709 echo "$ac_t""yes" 1>&6
14712 echo "$ac_t""no" 1>&6
14716 echo "$ac_t""no" 1>&6
14719 if test "x$ZLIB_LINK" = "x" ; then
14720 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14726 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14727 cat >> confdefs.h
<<\EOF
14728 #define wxUSE_LIBPNG 1
14731 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14732 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14736 if test "$wxUSE_LIBPNG" = "yes" ; then
14737 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14740 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14741 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14742 echo "configure:14743: checking for png.h" >&5
14743 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14744 echo $ac_n "(cached) $ac_c" 1>&6
14746 cat > conftest.
$ac_ext <<EOF
14747 #line 14748 "configure"
14748 #include "confdefs.h"
14751 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14752 { (eval echo configure
:14753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14753 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14754 if test -z "$ac_err"; then
14756 eval "ac_cv_header_$ac_safe=yes"
14759 echo "configure: failed program was:" >&5
14760 cat conftest.
$ac_ext >&5
14762 eval "ac_cv_header_$ac_safe=no"
14766 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14767 echo "$ac_t""yes" 1>&6
14768 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14769 echo "configure:14770: checking for png_check_sig in -lpng" >&5
14770 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14772 echo $ac_n "(cached) $ac_c" 1>&6
14774 ac_save_LIBS
="$LIBS"
14775 LIBS
="-lpng -lz -lm $LIBS"
14776 cat > conftest.
$ac_ext <<EOF
14777 #line 14778 "configure"
14778 #include "confdefs.h"
14779 /* Override any gcc2 internal prototype to avoid an error. */
14780 /* We use char because int might match the return type of a gcc2
14781 builtin and then its argument prototype would still apply. */
14782 char png_check_sig();
14788 if { (eval echo configure
:14789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14790 eval "ac_cv_lib_$ac_lib_var=yes"
14792 echo "configure: failed program was:" >&5
14793 cat conftest.
$ac_ext >&5
14795 eval "ac_cv_lib_$ac_lib_var=no"
14798 LIBS
="$ac_save_LIBS"
14801 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14802 echo "$ac_t""yes" 1>&6
14805 echo "$ac_t""no" 1>&6
14810 echo "$ac_t""no" 1>&6
14813 if test "x$PNG_LINK" = "x" ; then
14814 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14822 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14823 cat >> confdefs.h
<<\EOF
14824 #define wxUSE_LIBJPEG 1
14827 if test "$wxUSE_LIBJPEG" = "yes" ; then
14828 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14831 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14832 echo "configure:14833: checking for jpeglib.h" >&5
14833 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14834 echo $ac_n "(cached) $ac_c" 1>&6
14836 cat > conftest.
$ac_ext <<EOF
14837 #line 14838 "configure"
14838 #include "confdefs.h"
14840 #undef HAVE_STDLIB_H
14842 #include <jpeglib.h>
14849 if { (eval echo configure
:14850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14851 ac_cv_header_jpeglib_h
=yes
14853 echo "configure: failed program was:" >&5
14854 cat conftest.
$ac_ext >&5
14856 ac_cv_header_jpeglib_h
=no
14863 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14865 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14866 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14867 echo "configure:14868: checking for jpeg_read_header in -ljpeg" >&5
14868 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14869 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14870 echo $ac_n "(cached) $ac_c" 1>&6
14872 ac_save_LIBS
="$LIBS"
14873 LIBS
="-ljpeg $LIBS"
14874 cat > conftest.
$ac_ext <<EOF
14875 #line 14876 "configure"
14876 #include "confdefs.h"
14877 /* Override any gcc2 internal prototype to avoid an error. */
14878 /* We use char because int might match the return type of a gcc2
14879 builtin and then its argument prototype would still apply. */
14880 char jpeg_read_header();
14886 if { (eval echo configure
:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14888 eval "ac_cv_lib_$ac_lib_var=yes"
14890 echo "configure: failed program was:" >&5
14891 cat conftest.
$ac_ext >&5
14893 eval "ac_cv_lib_$ac_lib_var=no"
14896 LIBS
="$ac_save_LIBS"
14899 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14900 echo "$ac_t""yes" 1>&6
14903 echo "$ac_t""no" 1>&6
14908 if test "x$JPEG_LINK" = "x" ; then
14909 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14915 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14916 cat >> confdefs.h
<<\EOF
14917 #define wxUSE_LIBTIFF 1
14920 if test "$wxUSE_LIBTIFF" = "yes" ; then
14921 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14924 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14925 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14926 echo "configure:14927: checking for tiffio.h" >&5
14927 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14928 echo $ac_n "(cached) $ac_c" 1>&6
14930 cat > conftest.
$ac_ext <<EOF
14931 #line 14932 "configure"
14932 #include "confdefs.h"
14933 #include <tiffio.h>
14935 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14936 { (eval echo configure
:14937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14937 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14938 if test -z "$ac_err"; then
14940 eval "ac_cv_header_$ac_safe=yes"
14943 echo "configure: failed program was:" >&5
14944 cat conftest.
$ac_ext >&5
14946 eval "ac_cv_header_$ac_safe=no"
14950 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14951 echo "$ac_t""yes" 1>&6
14952 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14953 echo "configure:14954: checking for TIFFError in -ltiff" >&5
14954 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14955 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14956 echo $ac_n "(cached) $ac_c" 1>&6
14958 ac_save_LIBS
="$LIBS"
14959 LIBS
="-ltiff -lm $LIBS"
14960 cat > conftest.
$ac_ext <<EOF
14961 #line 14962 "configure"
14962 #include "confdefs.h"
14963 /* Override any gcc2 internal prototype to avoid an error. */
14964 /* We use char because int might match the return type of a gcc2
14965 builtin and then its argument prototype would still apply. */
14972 if { (eval echo configure
:14973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14974 eval "ac_cv_lib_$ac_lib_var=yes"
14976 echo "configure: failed program was:" >&5
14977 cat conftest.
$ac_ext >&5
14979 eval "ac_cv_lib_$ac_lib_var=no"
14982 LIBS
="$ac_save_LIBS"
14985 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14986 echo "$ac_t""yes" 1>&6
14989 echo "$ac_t""no" 1>&6
14993 echo "$ac_t""no" 1>&6
14996 if test "x$TIFF_LINK" = "x" ; then
14997 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15003 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15004 cat >> confdefs.h
<<\EOF
15005 #define wxUSE_FREETYPE 1
15008 if test "$wxUSE_FREETYPE" = "yes" ; then
15009 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15012 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15013 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15014 echo "configure:15015: checking for freetype.h" >&5
15015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15016 echo $ac_n "(cached) $ac_c" 1>&6
15018 cat > conftest.
$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 #include <freetype.h>
15023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15024 { (eval echo configure
:15025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15026 if test -z "$ac_err"; then
15028 eval "ac_cv_header_$ac_safe=yes"
15031 echo "configure: failed program was:" >&5
15032 cat conftest.
$ac_ext >&5
15034 eval "ac_cv_header_$ac_safe=no"
15038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15039 echo "$ac_t""yes" 1>&6
15040 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15041 echo "configure:15042: checking for FT_Render_Glyph in -lfreetype" >&5
15042 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15044 echo $ac_n "(cached) $ac_c" 1>&6
15046 ac_save_LIBS
="$LIBS"
15047 LIBS
="-lfreetype -lm $LIBS"
15048 cat > conftest.
$ac_ext <<EOF
15049 #line 15050 "configure"
15050 #include "confdefs.h"
15051 /* Override any gcc2 internal prototype to avoid an error. */
15052 /* We use char because int might match the return type of a gcc2
15053 builtin and then its argument prototype would still apply. */
15054 char FT_Render_Glyph();
15060 if { (eval echo configure
:15061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15062 eval "ac_cv_lib_$ac_lib_var=yes"
15064 echo "configure: failed program was:" >&5
15065 cat conftest.
$ac_ext >&5
15067 eval "ac_cv_lib_$ac_lib_var=no"
15070 LIBS
="$ac_save_LIBS"
15073 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15074 echo "$ac_t""yes" 1>&6
15075 FREETYPE_LINK
="-lfreetype"
15077 echo "$ac_t""no" 1>&6
15082 echo "$ac_t""no" 1>&6
15085 if test "x$FREETYPE_LINK" = "x" ; then
15086 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15091 if test "$wxUSE_OPENGL" = "yes"; then
15092 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15093 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15094 echo "configure:15095: checking for GL/gl.h" >&5
15095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15096 echo $ac_n "(cached) $ac_c" 1>&6
15098 cat > conftest.
$ac_ext <<EOF
15099 #line 15100 "configure"
15100 #include "confdefs.h"
15103 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15104 { (eval echo configure
:15105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15105 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15106 if test -z "$ac_err"; then
15108 eval "ac_cv_header_$ac_safe=yes"
15111 echo "configure: failed program was:" >&5
15112 cat conftest.
$ac_ext >&5
15114 eval "ac_cv_header_$ac_safe=no"
15118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15119 echo "$ac_t""yes" 1>&6
15121 cat >> confdefs.h
<<\EOF
15122 #define wxUSE_OPENGL 1
15125 cat >> confdefs.h
<<\EOF
15126 #define wxUSE_GLCANVAS 1
15129 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
15130 echo "configure:15131: checking for glFlush in -lGL" >&5
15131 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
15132 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15133 echo $ac_n "(cached) $ac_c" 1>&6
15135 ac_save_LIBS
="$LIBS"
15137 cat > conftest.
$ac_ext <<EOF
15138 #line 15139 "configure"
15139 #include "confdefs.h"
15140 /* Override any gcc2 internal prototype to avoid an error. */
15141 /* We use char because int might match the return type of a gcc2
15142 builtin and then its argument prototype would still apply. */
15149 if { (eval echo configure
:15150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15151 eval "ac_cv_lib_$ac_lib_var=yes"
15153 echo "configure: failed program was:" >&5
15154 cat conftest.
$ac_ext >&5
15156 eval "ac_cv_lib_$ac_lib_var=no"
15159 LIBS
="$ac_save_LIBS"
15162 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15163 echo "$ac_t""yes" 1>&6
15165 OPENGL_LINK
="-lGL -lGLU"
15168 echo "$ac_t""no" 1>&6
15170 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
15171 echo "configure:15172: checking for glFlush in -lMesaGL" >&5
15172 ac_lib_var
=`echo MesaGL'_'glFlush | 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
="-lMesaGL $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. */
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
15206 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15209 echo "$ac_t""no" 1>&6
15217 echo "$ac_t""no" 1>&6
15224 if test "$wxUSE_GUI" = "yes"; then
15225 cat >> confdefs.h
<<\EOF
15226 #define wxUSE_GUI 1
15231 cat >> confdefs.h
<<\EOF
15232 #define wxUSE_NOGUI 1
15238 if test "$wxUSE_UNIX" = "yes"; then
15239 cat >> confdefs.h
<<\EOF
15240 #define wxUSE_UNIX 1
15246 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15247 cat >> confdefs.h
<<\EOF
15248 #define wxUSE_APPLE_IEEE 1
15253 if test "$wxUSE_TIMER" = "yes"; then
15254 cat >> confdefs.h
<<\EOF
15255 #define wxUSE_TIMER 1
15260 if test "$wxUSE_WAVE" = "yes"; then
15261 cat >> confdefs.h
<<\EOF
15262 #define wxUSE_WAVE 1
15267 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15268 cat >> confdefs.h
<<\EOF
15269 #define wxUSE_CMDLINE_PARSER 1
15274 if test "$wxUSE_STOPWATCH" = "yes"; then
15275 cat >> confdefs.h
<<\EOF
15276 #define wxUSE_STOPWATCH 1
15281 if test "$wxUSE_DATETIME" = "yes"; then
15282 cat >> confdefs.h
<<\EOF
15283 #define wxUSE_DATETIME 1
15288 if test "$wxUSE_TIMEDATE" = "yes"; then
15289 cat >> confdefs.h
<<\EOF
15290 #define wxUSE_TIMEDATE 1
15295 if test "$wxUSE_FILE" = "yes"; then
15296 cat >> confdefs.h
<<\EOF
15297 #define wxUSE_FILE 1
15302 if test "$wxUSE_FFILE" = "yes"; then
15303 cat >> confdefs.h
<<\EOF
15304 #define wxUSE_FFILE 1
15309 if test "$wxUSE_FILESYSTEM" = "yes"; then
15310 cat >> confdefs.h
<<\EOF
15311 #define wxUSE_FILESYSTEM 1
15316 if test "$wxUSE_FS_INET" = "yes"; then
15317 cat >> confdefs.h
<<\EOF
15318 #define wxUSE_FS_INET 1
15323 if test "$wxUSE_FS_ZIP" = "yes"; then
15324 cat >> confdefs.h
<<\EOF
15325 #define wxUSE_FS_ZIP 1
15330 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15331 cat >> confdefs.h
<<\EOF
15332 #define wxUSE_ZIPSTREAM 1
15337 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15338 cat >> confdefs.h
<<\EOF
15339 #define wxUSE_ON_FATAL_EXCEPTION 1
15344 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15345 cat >> confdefs.h
<<\EOF
15346 #define wxUSE_SNGLINST_CHECKER 1
15351 if test "$wxUSE_BUSYINFO" = "yes"; then
15352 cat >> confdefs.h
<<\EOF
15353 #define wxUSE_BUSYINFO 1
15358 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15359 cat >> confdefs.h
<<\EOF
15360 #define wxUSE_STD_IOSTREAM 1
15365 if test "$wxUSE_TEXTFILE" = "yes"; then
15366 if test "$wxUSE_FILE" != "yes"; then
15367 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15369 cat >> confdefs.h
<<\EOF
15370 #define wxUSE_TEXTFILE 1
15376 if test "$wxUSE_CONFIG" = "yes" ; then
15377 if test "$wxUSE_TEXTFILE" != "yes"; then
15378 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15380 cat >> confdefs.h
<<\EOF
15381 #define wxUSE_CONFIG 1
15384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15388 if test "$wxUSE_INTL" = "yes" ; then
15389 if test "$wxUSE_FILE" != "yes"; then
15390 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15392 cat >> confdefs.h
<<\EOF
15393 #define wxUSE_INTL 1
15396 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15397 GUIDIST
="$GUIDIST INTL_DIST"
15401 if test "$wxUSE_LOG" = "yes"; then
15402 cat >> confdefs.h
<<\EOF
15403 #define wxUSE_LOG 1
15407 if test "$wxUSE_LOGGUI" = "yes"; then
15408 cat >> confdefs.h
<<\EOF
15409 #define wxUSE_LOGGUI 1
15414 if test "$wxUSE_LOGWINDOW" = "yes"; then
15415 cat >> confdefs.h
<<\EOF
15416 #define wxUSE_LOGWINDOW 1
15422 if test "$wxUSE_LONGLONG" = "yes"; then
15423 cat >> confdefs.h
<<\EOF
15424 #define wxUSE_LONGLONG 1
15429 if test "$wxUSE_GEOMETRY" = "yes"; then
15430 cat >> confdefs.h
<<\EOF
15431 #define wxUSE_GEOMETRY 1
15436 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15437 cat >> confdefs.h
<<\EOF
15438 #define wxUSE_DIALUP_MANAGER 1
15441 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15444 if test "$wxUSE_STREAMS" = "yes" ; then
15445 cat >> confdefs.h
<<\EOF
15446 #define wxUSE_STREAMS 1
15452 if test "$wxUSE_DATETIME" = "yes"; then
15453 for ac_func
in strptime
15455 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15456 echo "configure:15457: checking for $ac_func" >&5
15457 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15458 echo $ac_n "(cached) $ac_c" 1>&6
15460 cat > conftest.
$ac_ext <<EOF
15461 #line 15462 "configure"
15462 #include "confdefs.h"
15463 /* System header to define __stub macros and hopefully few prototypes,
15464 which can conflict with char $ac_func(); below. */
15465 #include <assert.h>
15466 /* Override any gcc2 internal prototype to avoid an error. */
15467 /* We use char because int might match the return type of a gcc2
15468 builtin and then its argument prototype would still apply. */
15473 /* The GNU C library defines this for functions which it implements
15474 to always fail with ENOSYS. Some functions are actually named
15475 something starting with __ and the normal name is an alias. */
15476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15484 if { (eval echo configure
:15485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15486 eval "ac_cv_func_$ac_func=yes"
15488 echo "configure: failed program was:" >&5
15489 cat conftest.
$ac_ext >&5
15491 eval "ac_cv_func_$ac_func=no"
15496 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15497 echo "$ac_t""yes" 1>&6
15498 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15499 cat >> confdefs.h
<<EOF
15500 #define $ac_tr_func 1
15504 echo "$ac_t""no" 1>&6
15509 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15510 echo "configure:15511: checking for timezone variable in <time.h>" >&5
15511 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15512 echo $ac_n "(cached) $ac_c" 1>&6
15515 cat > conftest.
$ac_ext <<EOF
15516 #line 15517 "configure"
15517 #include "confdefs.h"
15528 if { (eval echo configure
:15529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15531 wx_cv_var_timezone
=__timezone
15534 echo "configure: failed program was:" >&5
15535 cat conftest.
$ac_ext >&5
15538 cat > conftest.
$ac_ext <<EOF
15539 #line 15540 "configure"
15540 #include "confdefs.h"
15551 if { (eval echo configure
:15552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15554 wx_cv_var_timezone
=_timezone
15557 echo "configure: failed program was:" >&5
15558 cat conftest.
$ac_ext >&5
15561 cat > conftest.
$ac_ext <<EOF
15562 #line 15563 "configure"
15563 #include "confdefs.h"
15574 if { (eval echo configure
:15575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15577 wx_cv_var_timezone
=timezone
15580 echo "configure: failed program was:" >&5
15581 cat conftest.
$ac_ext >&5
15583 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15599 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15601 cat >> confdefs.h
<<EOF
15602 #define WX_TIMEZONE $wx_cv_var_timezone
15606 for ac_func
in localtime
15608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15609 echo "configure:15610: checking for $ac_func" >&5
15610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15611 echo $ac_n "(cached) $ac_c" 1>&6
15613 cat > conftest.
$ac_ext <<EOF
15614 #line 15615 "configure"
15615 #include "confdefs.h"
15616 /* System header to define __stub macros and hopefully few prototypes,
15617 which can conflict with char $ac_func(); below. */
15618 #include <assert.h>
15619 /* Override any gcc2 internal prototype to avoid an error. */
15620 /* We use char because int might match the return type of a gcc2
15621 builtin and then its argument prototype would still apply. */
15626 /* The GNU C library defines this for functions which it implements
15627 to always fail with ENOSYS. Some functions are actually named
15628 something starting with __ and the normal name is an alias. */
15629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15637 if { (eval echo configure
:15638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15639 eval "ac_cv_func_$ac_func=yes"
15641 echo "configure: failed program was:" >&5
15642 cat conftest.
$ac_ext >&5
15644 eval "ac_cv_func_$ac_func=no"
15649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15650 echo "$ac_t""yes" 1>&6
15651 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15652 cat >> confdefs.h
<<EOF
15653 #define $ac_tr_func 1
15657 echo "$ac_t""no" 1>&6
15662 if test "$ac_cv_func_localtime" = "yes"; then
15663 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15664 echo "configure:15665: checking for tm_gmtoff in struct tm" >&5
15665 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15666 echo $ac_n "(cached) $ac_c" 1>&6
15669 cat > conftest.
$ac_ext <<EOF
15670 #line 15671 "configure"
15671 #include "confdefs.h"
15682 if { (eval echo configure
:15683: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15685 wx_cv_struct_tm_has_gmtoff
=yes
15688 echo "configure: failed program was:" >&5
15689 cat conftest.
$ac_ext >&5
15691 wx_cv_struct_tm_has_gmtoff
=no
15698 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15701 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15702 cat >> confdefs.h
<<\EOF
15703 #define WX_GMTOFF_IN_TM 1
15708 for ac_func
in gettimeofday ftime
15710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15711 echo "configure:15712: checking for $ac_func" >&5
15712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15713 echo $ac_n "(cached) $ac_c" 1>&6
15715 cat > conftest.
$ac_ext <<EOF
15716 #line 15717 "configure"
15717 #include "confdefs.h"
15718 /* System header to define __stub macros and hopefully few prototypes,
15719 which can conflict with char $ac_func(); below. */
15720 #include <assert.h>
15721 /* Override any gcc2 internal prototype to avoid an error. */
15722 /* We use char because int might match the return type of a gcc2
15723 builtin and then its argument prototype would still apply. */
15728 /* The GNU C library defines this for functions which it implements
15729 to always fail with ENOSYS. Some functions are actually named
15730 something starting with __ and the normal name is an alias. */
15731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15739 if { (eval echo configure
:15740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15741 eval "ac_cv_func_$ac_func=yes"
15743 echo "configure: failed program was:" >&5
15744 cat conftest.
$ac_ext >&5
15746 eval "ac_cv_func_$ac_func=no"
15751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15752 echo "$ac_t""yes" 1>&6
15753 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15754 cat >> confdefs.h
<<EOF
15755 #define $ac_tr_func 1
15759 echo "$ac_t""no" 1>&6
15764 if test "$ac_cv_func_gettimeofday" = "yes"; then
15765 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15766 echo "configure:15767: checking whether gettimeofday takes two arguments" >&5
15767 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15768 echo $ac_n "(cached) $ac_c" 1>&6
15773 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15774 ac_cpp
='$CXXCPP $CPPFLAGS'
15775 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15776 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15777 cross_compiling
=$ac_cv_prog_cxx_cross
15780 cat > conftest.
$ac_ext <<EOF
15781 #line 15782 "configure"
15782 #include "confdefs.h"
15784 #include <sys/time.h>
15785 #include <unistd.h>
15790 struct timezone tz;
15791 gettimeofday(&tv, &tz);
15795 if { (eval echo configure
:15796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15797 wx_cv_func_gettimeofday_has_2_args
=yes
15799 echo "configure: failed program was:" >&5
15800 cat conftest.
$ac_ext >&5
15802 cat > conftest.
$ac_ext <<EOF
15803 #line 15804 "configure"
15804 #include "confdefs.h"
15806 #include <sys/time.h>
15807 #include <unistd.h>
15816 if { (eval echo configure
:15817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15818 wx_cv_func_gettimeofday_has_2_args
=no
15820 echo "configure: failed program was:" >&5
15821 cat conftest.
$ac_ext >&5
15823 wx_cv_func_gettimeofday_has_2_args
=unknown
15831 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15832 ac_cpp
='$CPP $CPPFLAGS'
15833 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15834 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15835 cross_compiling
=$ac_cv_prog_cc_cross
15840 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15842 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15843 cat >> confdefs.h
<<\EOF
15844 #define WX_GETTIMEOFDAY_NO_TZ 1
15850 cat >> confdefs.h
<<\EOF
15851 #define wxUSE_TIMEDATE 1
15854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15858 if test "$TOOLKIT" != "MSW"; then
15860 if test "$wxUSE_SOCKETS" = "yes"; then
15861 echo $ac_n "checking for socket""... $ac_c" 1>&6
15862 echo "configure:15863: checking for socket" >&5
15863 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15864 echo $ac_n "(cached) $ac_c" 1>&6
15866 cat > conftest.
$ac_ext <<EOF
15867 #line 15868 "configure"
15868 #include "confdefs.h"
15869 /* System header to define __stub macros and hopefully few prototypes,
15870 which can conflict with char socket(); below. */
15871 #include <assert.h>
15872 /* Override any gcc2 internal prototype to avoid an error. */
15873 /* We use char because int might match the return type of a gcc2
15874 builtin and then its argument prototype would still apply. */
15879 /* The GNU C library defines this for functions which it implements
15880 to always fail with ENOSYS. Some functions are actually named
15881 something starting with __ and the normal name is an alias. */
15882 #if defined (__stub_socket) || defined (__stub___socket)
15890 if { (eval echo configure
:15891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15892 eval "ac_cv_func_socket=yes"
15894 echo "configure: failed program was:" >&5
15895 cat conftest.
$ac_ext >&5
15897 eval "ac_cv_func_socket=no"
15902 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15903 echo "$ac_t""yes" 1>&6
15906 echo "$ac_t""no" 1>&6
15907 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15908 echo "configure:15909: checking for socket in -lsocket" >&5
15909 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15911 echo $ac_n "(cached) $ac_c" 1>&6
15913 ac_save_LIBS
="$LIBS"
15914 LIBS
="-lsocket $LIBS"
15915 cat > conftest.
$ac_ext <<EOF
15916 #line 15917 "configure"
15917 #include "confdefs.h"
15918 /* Override any gcc2 internal prototype to avoid an error. */
15919 /* We use char because int might match the return type of a gcc2
15920 builtin and then its argument prototype would still apply. */
15927 if { (eval echo configure
:15928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15929 eval "ac_cv_lib_$ac_lib_var=yes"
15931 echo "configure: failed program was:" >&5
15932 cat conftest.
$ac_ext >&5
15934 eval "ac_cv_lib_$ac_lib_var=no"
15937 LIBS
="$ac_save_LIBS"
15940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15941 echo "$ac_t""yes" 1>&6
15942 INET_LINK
="$INET_LINK -lsocket"
15944 echo "$ac_t""no" 1>&6
15946 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15958 if test "$wxUSE_SOCKETS" = "yes" ; then
15959 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15960 echo "configure:15961: checking what is the type of the third argument of getsockname" >&5
15961 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15962 echo $ac_n "(cached) $ac_c" 1>&6
15967 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15968 ac_cpp
='$CXXCPP $CPPFLAGS'
15969 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15970 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15971 cross_compiling
=$ac_cv_prog_cxx_cross
15974 cat > conftest.
$ac_ext <<EOF
15975 #line 15976 "configure"
15976 #include "confdefs.h"
15978 #include <sys/types.h>
15979 #include <sys/socket.h>
15984 getsockname(0, 0, &len);
15988 if { (eval echo configure
:15989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15990 wx_cv_type_getsockname3
=socklen_t
15992 echo "configure: failed program was:" >&5
15993 cat conftest.
$ac_ext >&5
15995 cat > conftest.
$ac_ext <<EOF
15996 #line 15997 "configure"
15997 #include "confdefs.h"
15999 #include <sys/types.h>
16000 #include <sys/socket.h>
16005 getsockname(0, 0, &len);
16009 if { (eval echo configure
:16010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16011 wx_cv_type_getsockname3
=size_t
16013 echo "configure: failed program was:" >&5
16014 cat conftest.
$ac_ext >&5
16016 cat > conftest.
$ac_ext <<EOF
16017 #line 16018 "configure"
16018 #include "confdefs.h"
16020 #include <sys/types.h>
16021 #include <sys/socket.h>
16026 getsockname(0, 0, &len);
16030 if { (eval echo configure
:16031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16032 wx_cv_type_getsockname3
=int
16034 echo "configure: failed program was:" >&5
16035 cat conftest.
$ac_ext >&5
16037 wx_cv_type_getsockname3
=unknown
16049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16050 ac_cpp
='$CPP $CPPFLAGS'
16051 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16052 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16053 cross_compiling
=$ac_cv_prog_cc_cross
16058 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16060 if test "$wx_cv_type_getsockname3" = "unknown"; then
16062 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16064 cat >> confdefs.h
<<EOF
16065 #define SOCKLEN_T $wx_cv_type_getsockname3
16073 if test "$wxUSE_SOCKETS" = "yes" ; then
16074 cat >> confdefs.h
<<\EOF
16075 #define wxUSE_SOCKETS 1
16078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16079 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
16083 if test "$wxUSE_GUI" = "yes"; then
16085 if test "$TOOLKIT" != "MSW"; then
16087 if test "$wxUSE_JOYSTICK" = "yes"; then
16088 for ac_hdr
in linux
/joystick.h
16090 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16091 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16092 echo "configure:16093: checking for $ac_hdr" >&5
16093 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16094 echo $ac_n "(cached) $ac_c" 1>&6
16096 cat > conftest.
$ac_ext <<EOF
16097 #line 16098 "configure"
16098 #include "confdefs.h"
16101 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16102 { (eval echo configure
:16103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16103 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16104 if test -z "$ac_err"; then
16106 eval "ac_cv_header_$ac_safe=yes"
16109 echo "configure: failed program was:" >&5
16110 cat conftest.
$ac_ext >&5
16112 eval "ac_cv_header_$ac_safe=no"
16116 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16117 echo "$ac_t""yes" 1>&6
16118 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16119 cat >> confdefs.h
<<EOF
16120 #define $ac_tr_hdr 1
16124 echo "$ac_t""no" 1>&6
16128 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16130 echo "configure: warning: Joystick not supported by this system" 1>&2
16136 if test "$wxUSE_JOYSTICK" = "yes"; then
16137 cat >> confdefs.h
<<\EOF
16138 #define wxUSE_JOYSTICK 1
16141 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16147 if test "$TOOLKIT" != "MSW"; then
16151 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16152 if test "$USE_MAC" = 1; then
16155 for ac_func
in dlopen
16157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16158 echo "configure:16159: checking for $ac_func" >&5
16159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16160 echo $ac_n "(cached) $ac_c" 1>&6
16162 cat > conftest.
$ac_ext <<EOF
16163 #line 16164 "configure"
16164 #include "confdefs.h"
16165 /* System header to define __stub macros and hopefully few prototypes,
16166 which can conflict with char $ac_func(); below. */
16167 #include <assert.h>
16168 /* Override any gcc2 internal prototype to avoid an error. */
16169 /* We use char because int might match the return type of a gcc2
16170 builtin and then its argument prototype would still apply. */
16175 /* The GNU C library defines this for functions which it implements
16176 to always fail with ENOSYS. Some functions are actually named
16177 something starting with __ and the normal name is an alias. */
16178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16186 if { (eval echo configure
:16187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16188 eval "ac_cv_func_$ac_func=yes"
16190 echo "configure: failed program was:" >&5
16191 cat conftest.
$ac_ext >&5
16193 eval "ac_cv_func_$ac_func=no"
16198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16199 echo "$ac_t""yes" 1>&6
16200 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16201 cat >> confdefs.h
<<EOF
16202 #define $ac_tr_func 1
16205 cat >> confdefs.h
<<\EOF
16206 #define HAVE_DLOPEN 1
16212 echo "$ac_t""no" 1>&6
16213 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16214 echo "configure:16215: checking for dlopen in -ldl" >&5
16215 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16216 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16217 echo $ac_n "(cached) $ac_c" 1>&6
16219 ac_save_LIBS
="$LIBS"
16221 cat > conftest.
$ac_ext <<EOF
16222 #line 16223 "configure"
16223 #include "confdefs.h"
16224 /* Override any gcc2 internal prototype to avoid an error. */
16225 /* We use char because int might match the return type of a gcc2
16226 builtin and then its argument prototype would still apply. */
16233 if { (eval echo configure
:16234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16235 eval "ac_cv_lib_$ac_lib_var=yes"
16237 echo "configure: failed program was:" >&5
16238 cat conftest.
$ac_ext >&5
16240 eval "ac_cv_lib_$ac_lib_var=no"
16243 LIBS
="$ac_save_LIBS"
16246 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16247 echo "$ac_t""yes" 1>&6
16249 cat >> confdefs.h
<<\EOF
16250 #define HAVE_DLOPEN 1
16257 echo "$ac_t""no" 1>&6
16259 for ac_func
in shl_load
16261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16262 echo "configure:16263: checking for $ac_func" >&5
16263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16264 echo $ac_n "(cached) $ac_c" 1>&6
16266 cat > conftest.
$ac_ext <<EOF
16267 #line 16268 "configure"
16268 #include "confdefs.h"
16269 /* System header to define __stub macros and hopefully few prototypes,
16270 which can conflict with char $ac_func(); below. */
16271 #include <assert.h>
16272 /* Override any gcc2 internal prototype to avoid an error. */
16273 /* We use char because int might match the return type of a gcc2
16274 builtin and then its argument prototype would still apply. */
16279 /* The GNU C library defines this for functions which it implements
16280 to always fail with ENOSYS. Some functions are actually named
16281 something starting with __ and the normal name is an alias. */
16282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16290 if { (eval echo configure
:16291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16292 eval "ac_cv_func_$ac_func=yes"
16294 echo "configure: failed program was:" >&5
16295 cat conftest.
$ac_ext >&5
16297 eval "ac_cv_func_$ac_func=no"
16302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16303 echo "$ac_t""yes" 1>&6
16304 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16305 cat >> confdefs.h
<<EOF
16306 #define $ac_tr_func 1
16309 cat >> confdefs.h
<<\EOF
16310 #define HAVE_SHL_LOAD 1
16316 echo "$ac_t""no" 1>&6
16317 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16318 echo "configure:16319: checking for dld in -lshl_load" >&5
16319 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16320 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16321 echo $ac_n "(cached) $ac_c" 1>&6
16323 ac_save_LIBS
="$LIBS"
16324 LIBS
="-lshl_load $LIBS"
16325 cat > conftest.
$ac_ext <<EOF
16326 #line 16327 "configure"
16327 #include "confdefs.h"
16328 /* Override any gcc2 internal prototype to avoid an error. */
16329 /* We use char because int might match the return type of a gcc2
16330 builtin and then its argument prototype would still apply. */
16337 if { (eval echo configure
:16338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16339 eval "ac_cv_lib_$ac_lib_var=yes"
16341 echo "configure: failed program was:" >&5
16342 cat conftest.
$ac_ext >&5
16344 eval "ac_cv_lib_$ac_lib_var=no"
16347 LIBS
="$ac_save_LIBS"
16350 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16351 echo "$ac_t""yes" 1>&6
16357 echo "$ac_t""no" 1>&6
16372 if test "$HAVE_DL_FUNCS" = 1; then
16373 for ac_func
in dlerror
16375 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16376 echo "configure:16377: checking for $ac_func" >&5
16377 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16378 echo $ac_n "(cached) $ac_c" 1>&6
16380 cat > conftest.
$ac_ext <<EOF
16381 #line 16382 "configure"
16382 #include "confdefs.h"
16383 /* System header to define __stub macros and hopefully few prototypes,
16384 which can conflict with char $ac_func(); below. */
16385 #include <assert.h>
16386 /* Override any gcc2 internal prototype to avoid an error. */
16387 /* We use char because int might match the return type of a gcc2
16388 builtin and then its argument prototype would still apply. */
16393 /* The GNU C library defines this for functions which it implements
16394 to always fail with ENOSYS. Some functions are actually named
16395 something starting with __ and the normal name is an alias. */
16396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16404 if { (eval echo configure
:16405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16406 eval "ac_cv_func_$ac_func=yes"
16408 echo "configure: failed program was:" >&5
16409 cat conftest.
$ac_ext >&5
16411 eval "ac_cv_func_$ac_func=no"
16416 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16417 echo "$ac_t""yes" 1>&6
16418 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16419 cat >> confdefs.h
<<EOF
16420 #define $ac_tr_func 1
16422 cat >> confdefs.h
<<\EOF
16423 #define HAVE_DLERROR 1
16427 echo "$ac_t""no" 1>&6
16428 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16429 echo "configure:16430: checking for dlerror in -ldl" >&5
16430 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16432 echo $ac_n "(cached) $ac_c" 1>&6
16434 ac_save_LIBS
="$LIBS"
16436 cat > conftest.
$ac_ext <<EOF
16437 #line 16438 "configure"
16438 #include "confdefs.h"
16439 /* Override any gcc2 internal prototype to avoid an error. */
16440 /* We use char because int might match the return type of a gcc2
16441 builtin and then its argument prototype would still apply. */
16448 if { (eval echo configure
:16449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16450 eval "ac_cv_lib_$ac_lib_var=yes"
16452 echo "configure: failed program was:" >&5
16453 cat conftest.
$ac_ext >&5
16455 eval "ac_cv_lib_$ac_lib_var=no"
16458 LIBS
="$ac_save_LIBS"
16461 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16462 echo "$ac_t""yes" 1>&6
16463 cat >> confdefs.h
<<\EOF
16464 #define HAVE_DLERROR 1
16468 echo "$ac_t""no" 1>&6
16477 if test "$HAVE_DL_FUNCS" = 0; then
16478 if test "$HAVE_SHL_FUNCS" = 0; then
16479 if test "$USE_UNIX" = 1; then
16480 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16481 wxUSE_DYNLIB_CLASS
=no
16483 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16491 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16492 cat >> confdefs.h
<<\EOF
16493 #define wxUSE_DYNLIB_CLASS 1
16502 if test "$wxUSE_FONTMAP" = "yes" ; then
16503 cat >> confdefs.h
<<\EOF
16504 #define wxUSE_FONTMAP 1
16509 if test "$wxUSE_UNICODE" = "yes" ; then
16510 cat >> confdefs.h
<<\EOF
16511 #define wxUSE_UNICODE 1
16516 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16517 cat >> confdefs.h
<<\EOF
16518 #define wxUSE_WCSRTOMBS 1
16523 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16524 cat >> confdefs.h
<<\EOF
16525 #define wxUSE_EXPERIMENTAL_PRINTF 1
16531 if test "$wxUSE_SERIAL" = "yes" ; then
16532 cat >> confdefs.h
<<\EOF
16533 #define wxUSE_SERIAL 1
16540 if test "$wxUSE_ODBC" = "yes" ; then
16541 cat >> confdefs.h
<<\EOF
16542 #define wxUSE_ODBC 1
16545 WXODBCFLAG
="-D_IODBC_"
16546 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16550 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16551 cat >> confdefs.h
<<\EOF
16552 #define wxUSE_POSTSCRIPT 1
16557 cat >> confdefs.h
<<\EOF
16558 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16562 cat >> confdefs.h
<<\EOF
16563 #define wxUSE_NORMALIZED_PS_FONTS 1
16568 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16569 cat >> confdefs.h
<<\EOF
16570 #define wxUSE_CONSTRAINTS 1
16573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16576 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16577 cat >> confdefs.h
<<\EOF
16578 #define wxUSE_MDI_ARCHITECTURE 1
16581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16584 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16585 cat >> confdefs.h
<<\EOF
16586 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16590 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16595 if test "$wxUSE_HELP" = "yes"; then
16596 cat >> confdefs.h
<<\EOF
16597 #define wxUSE_HELP 1
16600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16602 if test "$wxUSE_WXHTML_HELP" = "yes"; then
16603 cat >> confdefs.h
<<\EOF
16604 #define wxUSE_WXHTML_HELP 1
16610 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16611 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16612 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16614 cat >> confdefs.h
<<\EOF
16615 #define wxUSE_PRINTING_ARCHITECTURE 1
16619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16622 if test "$wxUSE_PROLOGIO" = "yes" ; then
16623 cat >> confdefs.h
<<\EOF
16624 #define wxUSE_PROLOGIO 1
16629 if test "$wxUSE_RESOURCES" = "yes" ; then
16630 cat >> confdefs.h
<<\EOF
16631 #define wxUSE_RESOURCES 1
16634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16637 if test "$wxUSE_X_RESOURCES" = "yes"; then
16638 cat >> confdefs.h
<<\EOF
16639 #define wxUSE_X_RESOURCES 1
16645 if test "$wxUSE_IPC" = "yes"; then
16646 if test "$wxUSE_SOCKETS" != "yes"; then
16647 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16650 cat >> confdefs.h
<<\EOF
16651 #define wxUSE_IPC 1
16656 if test "$wxUSE_CLIPBOARD" = "yes"; then
16657 cat >> confdefs.h
<<\EOF
16658 #define wxUSE_CLIPBOARD 1
16661 cat >> confdefs.h
<<\EOF
16662 #define wxUSE_DATAOBJ 1
16667 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16668 if test "$wxUSE_GTK" = 1; then
16669 if test "$WXGTK12" != 1; then
16670 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16671 wxUSE_DRAG_AND_DROP
=no
16675 if test "$wxUSE_MOTIF" = 1; then
16676 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16677 wxUSE_DRAG_AND_DROP
=no
16680 if test "$wxUSE_MAC" = 1; then
16681 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16682 wxUSE_DRAG_AND_DROP
=no
16685 if test "$USE_WIN32" = 1; then
16687 for ac_hdr
in ole2.h
16689 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16691 echo "configure:16692: checking for $ac_hdr" >&5
16692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16693 echo $ac_n "(cached) $ac_c" 1>&6
16695 cat > conftest.
$ac_ext <<EOF
16696 #line 16697 "configure"
16697 #include "confdefs.h"
16700 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16701 { (eval echo configure
:16702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16702 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16703 if test -z "$ac_err"; then
16705 eval "ac_cv_header_$ac_safe=yes"
16708 echo "configure: failed program was:" >&5
16709 cat conftest.
$ac_ext >&5
16711 eval "ac_cv_header_$ac_safe=no"
16715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16716 echo "$ac_t""yes" 1>&6
16717 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16718 cat >> confdefs.h
<<EOF
16719 #define $ac_tr_hdr 1
16723 echo "$ac_t""no" 1>&6
16728 if test "$ac_cv_header_ole2_h" = "yes" ; then
16729 if test "$GCC" = yes ; then
16730 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16731 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16732 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16733 LIBS
="$LIBS -lole32 -luuid"
16735 if test "$wxUSE_METAFILE" = "yes"; then
16736 cat >> confdefs.h
<<\EOF
16737 #define wxUSE_METAFILE 1
16740 cat >> confdefs.h
<<\EOF
16741 #define wxUSE_ENH_METAFILE 1
16747 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16748 wxUSE_DRAG_AND_DROP
=no
16752 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16753 cat >> confdefs.h
<<\EOF
16754 #define wxUSE_DRAG_AND_DROP 1
16757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16762 if test "$wxUSE_SPLINES" = "yes" ; then
16763 cat >> confdefs.h
<<\EOF
16764 #define wxUSE_SPLINES 1
16771 if test "$wxUSE_CONTROLS" = "yes"; then
16775 if test "$wxUSE_ACCEL" = "yes"; then
16776 cat >> confdefs.h
<<\EOF
16777 #define wxUSE_ACCEL 1
16783 if test "$wxUSE_BUTTON" = "yes"; then
16784 cat >> confdefs.h
<<\EOF
16785 #define wxUSE_BUTTON 1
16791 if test "$wxUSE_BMPBUTTON" = "yes"; then
16792 cat >> confdefs.h
<<\EOF
16793 #define wxUSE_BMPBUTTON 1
16799 if test "$wxUSE_CALCTRL" = "yes"; then
16800 cat >> confdefs.h
<<\EOF
16801 #define wxUSE_CALENDARCTRL 1
16805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16808 if test "$wxUSE_CARET" = "yes"; then
16809 cat >> confdefs.h
<<\EOF
16810 #define wxUSE_CARET 1
16814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16817 if test "$wxUSE_COMBOBOX" = "yes"; then
16818 cat >> confdefs.h
<<\EOF
16819 #define wxUSE_COMBOBOX 1
16825 if test "$wxUSE_CHOICE" = "yes"; then
16826 cat >> confdefs.h
<<\EOF
16827 #define wxUSE_CHOICE 1
16833 if test "$wxUSE_CHECKBOX" = "yes"; then
16834 cat >> confdefs.h
<<\EOF
16835 #define wxUSE_CHECKBOX 1
16841 if test "$wxUSE_CHECKLST" = "yes"; then
16842 cat >> confdefs.h
<<\EOF
16843 #define wxUSE_CHECKLISTBOX 1
16847 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16850 if test "$wxUSE_GAUGE" = "yes"; then
16851 cat >> confdefs.h
<<\EOF
16852 #define wxUSE_GAUGE 1
16858 if test "$wxUSE_NEW_GRID" = "yes"; then
16860 cat >> confdefs.h
<<\EOF
16861 #define wxUSE_NEW_GRID 1
16865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16868 if test "$wxUSE_GRID" = "yes"; then
16869 cat >> confdefs.h
<<\EOF
16870 #define wxUSE_GRID 1
16874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16877 if test "$wxUSE_IMAGLIST" = "yes"; then
16878 cat >> confdefs.h
<<\EOF
16879 #define wxUSE_IMAGLIST 1
16884 if test "$wxUSE_LISTBOX" = "yes"; then
16885 cat >> confdefs.h
<<\EOF
16886 #define wxUSE_LISTBOX 1
16892 if test "$wxUSE_LISTCTRL" = "yes"; then
16893 if test "$wxUSE_IMAGLIST" = "yes"; then
16894 cat >> confdefs.h
<<\EOF
16895 #define wxUSE_LISTCTRL 1
16899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16901 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16905 if test "$wxUSE_NOTEBOOK" = "yes"; then
16906 cat >> confdefs.h
<<\EOF
16907 #define wxUSE_NOTEBOOK 1
16911 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16914 if test "$wxUSE_RADIOBOX" = "yes"; then
16915 cat >> confdefs.h
<<\EOF
16916 #define wxUSE_RADIOBOX 1
16922 if test "$wxUSE_RADIOBTN" = "yes"; then
16923 cat >> confdefs.h
<<\EOF
16924 #define wxUSE_RADIOBTN 1
16930 if test "$wxUSE_SASH" = "yes"; then
16931 cat >> confdefs.h
<<\EOF
16932 #define wxUSE_SASH 1
16935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16938 if test "$wxUSE_SCROLLBAR" = "yes"; then
16939 cat >> confdefs.h
<<\EOF
16940 #define wxUSE_SCROLLBAR 1
16944 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16947 if test "$wxUSE_SLIDER" = "yes"; then
16948 cat >> confdefs.h
<<\EOF
16949 #define wxUSE_SLIDER 1
16955 if test "$wxUSE_SPINBTN" = "yes"; then
16956 cat >> confdefs.h
<<\EOF
16957 #define wxUSE_SPINBTN 1
16963 if test "$wxUSE_SPINCTRL" = "yes"; then
16964 cat >> confdefs.h
<<\EOF
16965 #define wxUSE_SPINCTRL 1
16971 if test "$wxUSE_SPLITTER" = "yes"; then
16972 cat >> confdefs.h
<<\EOF
16973 #define wxUSE_SPLITTER 1
16976 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16979 if test "$wxUSE_STATBMP" = "yes"; then
16980 cat >> confdefs.h
<<\EOF
16981 #define wxUSE_STATBMP 1
16987 if test "$wxUSE_STATBOX" = "yes"; then
16988 cat >> confdefs.h
<<\EOF
16989 #define wxUSE_STATBOX 1
16995 if test "$wxUSE_STATTEXT" = "yes"; then
16996 cat >> confdefs.h
<<\EOF
16997 #define wxUSE_STATTEXT 1
17003 if test "$wxUSE_STATLINE" = "yes"; then
17004 if test "$wxUSE_WINE" = 1 ; then
17005 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17007 cat >> confdefs.h
<<\EOF
17008 #define wxUSE_STATLINE 1
17015 if test "$wxUSE_STATUSBAR" = "yes"; then
17016 cat >> confdefs.h
<<\EOF
17017 #define wxUSE_STATUSBAR 1
17022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17025 if test "$wxUSE_TABDIALOG" = "yes"; then
17026 cat >> confdefs.h
<<\EOF
17027 #define wxUSE_TAB_DIALOG 1
17030 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17033 if test "$wxUSE_TEXTCTRL" = "yes"; then
17034 cat >> confdefs.h
<<\EOF
17035 #define wxUSE_TEXTCTRL 1
17039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17042 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17043 if test "$wxUSE_MAC" = 1; then
17044 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
17048 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17049 cat >> confdefs.h
<<\EOF
17050 #define wxUSE_TOGGLEBTN 1
17057 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17058 cat >> confdefs.h
<<\EOF
17059 #define wxUSE_TOOLBAR_SIMPLE 1
17062 wxUSE_TOOLBAR
="yes"
17066 if test "$wxUSE_TOOLBAR" = "yes"; then
17067 cat >> confdefs.h
<<\EOF
17068 #define wxUSE_TOOLBAR 1
17073 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17074 wxUSE_TOOLBAR_NATIVE
="yes"
17077 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17078 cat >> confdefs.h
<<\EOF
17079 #define wxUSE_TOOLBAR_NATIVE 1
17085 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17088 if test "$wxUSE_TOOLTIPS" = "yes"; then
17089 if test "$wxUSE_MOTIF" = 1; then
17090 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17092 if test "$wxUSE_WINE" = 1; then
17093 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17095 cat >> confdefs.h
<<\EOF
17096 #define wxUSE_TOOLTIPS 1
17103 if test "$wxUSE_TREECTRL" = "yes"; then
17104 if test "$wxUSE_IMAGLIST" = "yes"; then
17105 cat >> confdefs.h
<<\EOF
17106 #define wxUSE_TREECTRL 1
17110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17112 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17116 if test "$wxUSE_POPUPWIN" = "yes"; then
17117 if test "$wxUSE_MAC" = 1; then
17118 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17120 cat >> confdefs.h
<<\EOF
17121 #define wxUSE_POPUPWIN 1
17128 if test "$USES_CONTROLS" = 1; then
17129 cat >> confdefs.h
<<\EOF
17130 #define wxUSE_CONTROLS 1
17137 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17138 cat >> confdefs.h
<<\EOF
17139 #define wxUSE_DRAGIMAGE 1
17142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17145 if test "$wxUSE_MENUS" = "yes"; then
17146 cat >> confdefs.h
<<\EOF
17147 #define wxUSE_MENUS 1
17150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17153 if test "$wxUSE_METAFILE" = "yes"; then
17154 cat >> confdefs.h
<<\EOF
17155 #define wxUSE_METAFILE 1
17160 if test "$wxUSE_MIMETYPE" = "yes"; then
17161 cat >> confdefs.h
<<\EOF
17162 #define wxUSE_MIMETYPE 1
17167 if test "$wxUSE_MINIFRAME" = "yes"; then
17168 cat >> confdefs.h
<<\EOF
17169 #define wxUSE_MINIFRAME 1
17172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17175 if test "$wxUSE_HTML" = "yes"; then
17176 cat >> confdefs.h
<<\EOF
17177 #define wxUSE_HTML 1
17180 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17181 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
17184 if test "$wxUSE_VALIDATORS" = "yes"; then
17185 cat >> confdefs.h
<<\EOF
17186 #define wxUSE_VALIDATORS 1
17189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17192 if test "$wxUSE_IMAGE" = "yes" ; then
17193 cat >> confdefs.h
<<\EOF
17194 #define wxUSE_IMAGE 1
17199 if test "$wxUSE_GIF" = "yes" ; then
17200 cat >> confdefs.h
<<\EOF
17201 #define wxUSE_GIF 1
17206 if test "$wxUSE_PCX" = "yes" ; then
17207 cat >> confdefs.h
<<\EOF
17208 #define wxUSE_PCX 1
17213 if test "$wxUSE_PNM" = "yes" ; then
17214 cat >> confdefs.h
<<\EOF
17215 #define wxUSE_PNM 1
17220 if test "$wxUSE_XPM" = "yes" ; then
17221 cat >> confdefs.h
<<\EOF
17222 #define wxUSE_XPM 1
17228 if test "$wxUSE_CHOICEDLG" = "yes"; then
17229 cat >> confdefs.h
<<\EOF
17230 #define wxUSE_CHOICEDLG 1
17235 if test "$wxUSE_COLOURDLG" = "yes"; then
17236 cat >> confdefs.h
<<\EOF
17237 #define wxUSE_COLOURDLG 1
17242 if test "$wxUSE_FILEDLG" = "yes"; then
17243 cat >> confdefs.h
<<\EOF
17244 #define wxUSE_FILEDLG 1
17249 if test "$wxUSE_FONTDLG" = "yes"; then
17250 cat >> confdefs.h
<<\EOF
17251 #define wxUSE_FONTDLG 1
17256 if test "$wxUSE_DIRDLG" = "yes"; then
17257 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17258 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17260 if test "$wxUSE_TREECTRL" != "yes"; then
17261 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17263 cat >> confdefs.h
<<\EOF
17264 #define wxUSE_DIRDLG 1
17271 if test "$wxUSE_MSGDLG" = "yes"; then
17272 cat >> confdefs.h
<<\EOF
17273 #define wxUSE_MSGDLG 1
17278 if test "$wxUSE_NUMBERDLG" = "yes"; then
17279 cat >> confdefs.h
<<\EOF
17280 #define wxUSE_NUMBERDLG 1
17285 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17286 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17287 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17289 cat >> confdefs.h
<<\EOF
17290 #define wxUSE_PROGRESSDLG 1
17296 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17297 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17298 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17300 cat >> confdefs.h
<<\EOF
17301 #define wxUSE_STARTUP_TIPS 1
17307 if test "$wxUSE_TEXTDLG" = "yes"; then
17308 cat >> confdefs.h
<<\EOF
17309 #define wxUSE_TEXTDLG 1
17314 if test "$wxUSE_WIZARDDLG" = "yes"; then
17315 cat >> confdefs.h
<<\EOF
17316 #define wxUSE_WIZARDDLG 1
17319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
17323 if test "$cross_compiling" = "yes"; then
17326 OSINFO
=`uname -s -r -m`
17327 OSINFO
="\"$OSINFO\""
17330 cat >> confdefs.h
<<EOF
17331 #define WXWIN_OS_DESCRIPTION $OSINFO
17336 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17337 OPENGL_LIBS
="$OPENGL_LINK"
17339 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17340 if test "$USE_MAC" = 1 ; then
17341 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17343 if test "$wxUSE_GUI" = "yes"; then
17344 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17347 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17349 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17351 if test "$wxUSE_GTK" = 1; then
17352 WXCONFIG_INCLUDE
=""
17354 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17357 if test "$GXX" = yes ; then
17358 CXXWARNINGS
="-Wall"
17360 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17362 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17363 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17365 LDFLAGS
="$LDFLAGS $PROFILE"
17367 if test "$wxUSE_GUI" = "yes"; then
17369 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
17370 drawing dynamic event font fractal image \
17371 minimal richedit widgets"
17373 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17374 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17377 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17382 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17477 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17478 echo "configure:17479: checking whether ${MAKE-make} sets \${MAKE}" >&5
17479 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17480 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17481 echo $ac_n "(cached) $ac_c" 1>&6
17483 cat > conftestmake
<<\EOF
17485 @
echo 'ac_maketemp="${MAKE}"'
17487 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17488 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17489 if test -n "$ac_maketemp"; then
17490 eval ac_cv_prog_make_
${ac_make}_set
=yes
17492 eval ac_cv_prog_make_
${ac_make}_set
=no
17496 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17497 echo "$ac_t""yes" 1>&6
17500 echo "$ac_t""no" 1>&6
17501 SET_MAKE
="MAKE=${MAKE-make}"
17505 if test -d include
; then
17506 if test -d include
/wx
; then
17507 if test -d include
/wx
/${SETUPH_DIR}; then
17508 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17509 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17517 if test "$wxUSE_GUI" = "yes"; then
17518 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17519 wx_cv_path_ifs
=$PATH_IFS
17520 wx_cv_program_ext
=$PROGRAM_EXT
17521 wx_cv_target_library
=$WX_TARGET_LIBRARY
17522 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17523 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17524 wx_cv_target_library wx_cv_target_libtype
17525 subdirs
="demos samples utils contrib"
17530 cat > confcache
<<\EOF
17531 # This file is a shell script that caches the results of configure
17532 # tests run on this system so they can be shared between configure
17533 # scripts and configure runs. It is not useful on other systems.
17534 # If it contains results you don't want to keep, you may remove or edit it.
17536 # By default, configure uses ./config.cache as the cache file,
17537 # creating it if it does not exist already. You can give configure
17538 # the --cache-file=FILE option to use a different cache file; that is
17539 # what configure does when it calls configure scripts in
17540 # subdirectories, so they share the cache.
17541 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17542 # config.status only pays attention to the cache file if you give it the
17543 # --recheck option to rerun configure.
17546 # The following way of writing the cache mishandles newlines in values,
17547 # but we know of no workaround that is simple, portable, and efficient.
17548 # So, don't put newlines in cache variables' values.
17549 # Ultrix sh set writes to stderr and can't be redirected directly,
17550 # and sets the high bit in the cache file unless we assign to the vars.
17552 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17554 # `set' does not quote correctly, so add quotes (double-quote substitution
17555 # turns \\\\ into \\, and sed turns \\ into \).
17557 -e "s/'/'\\\\''/g" \
17558 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17561 # `set' quotes correctly as required by POSIX, so do not add quotes.
17562 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17565 if cmp -s $cache_file confcache
; then
17568 if test -w $cache_file; then
17569 echo "updating cache $cache_file"
17570 cat confcache
> $cache_file
17572 echo "not updating unwritable cache $cache_file"
17577 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17579 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17580 # Let make expand exec_prefix.
17581 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17583 # Any assignment to VPATH causes Sun make to only execute
17584 # the first set of double-colon rules, so remove it if not needed.
17585 # If there is a colon in the path, we need to keep it.
17586 if test "x$srcdir" = x.
; then
17587 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17590 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17592 DEFS
=-DHAVE_CONFIG_H
17594 # Without the "./", some shells look in PATH for config.status.
17595 : ${CONFIG_STATUS=./config.status}
17597 echo creating
$CONFIG_STATUS
17598 rm -f $CONFIG_STATUS
17599 cat > $CONFIG_STATUS <<EOF
17601 # Generated automatically by configure.
17602 # Run this file to recreate the current configuration.
17603 # This directory was configured as follows,
17604 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17606 # $0 $ac_configure_args
17608 # Compiler output produced by configure, useful for debugging
17609 # configure, is in ./config.log if it exists.
17611 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17614 case "\$ac_option" in
17615 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17616 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17617 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17618 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17619 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17621 -help | --help | --hel | --he | --h)
17622 echo "\$ac_cs_usage"; exit 0 ;;
17623 *) echo "\$ac_cs_usage"; exit 1 ;;
17627 ac_given_srcdir=$srcdir
17628 ac_given_INSTALL="$INSTALL"
17630 trap 'rm -fr `echo "
17636 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17638 cat >> $CONFIG_STATUS <<EOF
17640 # Protect against being on the right side of a sed subst in config.status.
17641 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17642 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17646 s%@CFLAGS@%$CFLAGS%g
17647 s%@CPPFLAGS@%$CPPFLAGS%g
17648 s%@CXXFLAGS@%$CXXFLAGS%g
17649 s%@FFLAGS@%$FFLAGS%g
17651 s%@LDFLAGS@%$LDFLAGS%g
17653 s%@exec_prefix@%$exec_prefix%g
17654 s%@prefix@%$prefix%g
17655 s%@program_transform_name@%$program_transform_name%g
17656 s%@bindir@%$bindir%g
17657 s%@sbindir@%$sbindir%g
17658 s%@libexecdir@%$libexecdir%g
17659 s%@datadir@%$datadir%g
17660 s%@sysconfdir@%$sysconfdir%g
17661 s%@sharedstatedir@%$sharedstatedir%g
17662 s%@localstatedir@%$localstatedir%g
17663 s%@libdir@%$libdir%g
17664 s%@includedir@%$includedir%g
17665 s%@oldincludedir@%$oldincludedir%g
17666 s%@infodir@%$infodir%g
17667 s%@mandir@%$mandir%g
17669 s%@host_alias@%$host_alias%g
17670 s%@host_cpu@%$host_cpu%g
17671 s%@host_vendor@%$host_vendor%g
17672 s%@host_os@%$host_os%g
17673 s%@target@%$target%g
17674 s%@target_alias@%$target_alias%g
17675 s%@target_cpu@%$target_cpu%g
17676 s%@target_vendor@%$target_vendor%g
17677 s%@target_os@%$target_os%g
17679 s%@build_alias@%$build_alias%g
17680 s%@build_cpu@%$build_cpu%g
17681 s%@build_vendor@%$build_vendor%g
17682 s%@build_os@%$build_os%g
17686 s%@CXXCPP@%$CXXCPP%g
17687 s%@RANLIB@%$RANLIB%g
17689 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17690 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17691 s%@INSTALL_DATA@%$INSTALL_DATA%g
17695 s%@LEXLIB@%$LEXLIB%g
17697 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17698 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17699 s%@GTK_LIBS@%$GTK_LIBS%g
17700 s%@GTK_CONFIG@%$GTK_CONFIG%g
17701 s%@X_CFLAGS@%$X_CFLAGS%g
17702 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17703 s%@X_LIBS@%$X_LIBS%g
17704 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17707 s%@LEX_STEM@%$LEX_STEM%g
17708 s%@PATH_IFS@%$PATH_IFS%g
17709 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17710 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17711 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17712 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17713 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17714 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17715 s%@WX_LIBRARY@%$WX_LIBRARY%g
17716 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17717 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17718 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17719 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17720 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17721 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17722 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17723 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17724 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17725 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17726 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17727 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17728 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17729 s%@WX_ALL@%$WX_ALL%g
17730 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17731 s%@SHARED_LD@%$SHARED_LD%g
17732 s%@PIC_FLAG@%$PIC_FLAG%g
17733 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17734 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17735 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17736 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17737 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17738 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17739 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17740 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17741 s%@USE_GUI@%$USE_GUI%g
17742 s%@AFMINSTALL@%$AFMINSTALL%g
17743 s%@SETUPH_DIR@%$SETUPH_DIR%g
17744 s%@TOOLKIT@%$TOOLKIT%g
17745 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17746 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17747 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17748 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17749 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17750 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17751 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17752 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17753 s%@GUIDIST@%$GUIDIST%g
17754 s%@PORT_FILES@%$PORT_FILES%g
17755 s%@DISTDIR@%$DISTDIR%g
17756 s%@RPM_SPEC@%$RPM_SPEC%g
17757 s%@RPM_FILES@%$RPM_FILES%g
17758 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17759 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17760 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17761 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17762 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17763 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17764 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17765 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17766 s%@EXTRADEFS@%$EXTRADEFS%g
17767 s%@LD_LIBS@%$LD_LIBS%g
17768 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17769 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17770 s%@RESPROGRAM@%$RESPROGRAM%g
17771 s%@RESCOMP@%$RESCOMP%g
17772 s%@RESFLAGS@%$RESFLAGS%g
17773 s%@REZFLAGS@%$REZFLAGS%g
17774 s%@DEREZFLAGS@%$DEREZFLAGS%g
17775 s%@LIBWXMACRES@%$LIBWXMACRES%g
17776 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17777 s%@DLLTOOL@%$DLLTOOL%g
17781 s%@MAKEINFO@%$MAKEINFO%g
17782 s%@SET_MAKE@%$SET_MAKE%g
17783 s%@subdirs@%$subdirs%g
17788 cat >> $CONFIG_STATUS <<\EOF
17790 # Split the substitutions into bite-sized pieces for seds with
17791 # small command number limits, like on Digital OSF/1 and HP-UX.
17792 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17793 ac_file
=1 # Number of current file.
17794 ac_beg
=1 # First line for current file.
17795 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17798 while $ac_more_lines; do
17799 if test $ac_beg -gt 1; then
17800 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17802 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17804 if test ! -s conftest.s
$ac_file; then
17805 ac_more_lines
=false
17806 rm -f conftest.s
$ac_file
17808 if test -z "$ac_sed_cmds"; then
17809 ac_sed_cmds
="sed -f conftest.s$ac_file"
17811 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17813 ac_file
=`expr $ac_file + 1`
17815 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17818 if test -z "$ac_sed_cmds"; then
17823 cat >> $CONFIG_STATUS <<EOF
17825 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17832 cat >> $CONFIG_STATUS <<\EOF
17833 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17834 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17836 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17837 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17838 *) ac_file_in
="${ac_file}.in" ;;
17841 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17843 # Remove last slash and all that follows it. Not all systems have dirname.
17844 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17845 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17846 # The file is in a subdirectory.
17847 test ! -d "$ac_dir" && mkdir "$ac_dir"
17848 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17849 # A "../" for each directory in $ac_dir_suffix.
17850 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17852 ac_dir_suffix
= ac_dots
=
17855 case "$ac_given_srcdir" in
17857 if test -z "$ac_dots"; then top_srcdir
=.
17858 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17859 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17860 *) # Relative path.
17861 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17862 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17865 case "$ac_given_INSTALL" in
17866 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17867 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17870 echo creating
"$ac_file"
17872 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17874 *Makefile
*) ac_comsub
="1i\\
17875 # $configure_input" ;;
17879 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17881 s%@configure_input@%$configure_input%g
17882 s%@srcdir@%$srcdir%g
17883 s%@top_srcdir@%$top_srcdir%g
17884 s%@INSTALL@%$INSTALL%g
17885 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17889 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17890 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17892 # ac_d sets the value in "#define NAME VALUE" lines.
17893 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17894 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17897 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17898 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17899 ac_uB
='\([ ]\)%\1#\2define\3'
17902 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17903 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17904 ac_eB
='$%\1#\2define\3'
17908 if test "${CONFIG_HEADERS+set}" != set; then
17910 cat >> $CONFIG_STATUS <<EOF
17911 CONFIG_HEADERS="setup.h:setup.h.in"
17913 cat >> $CONFIG_STATUS <<\EOF
17915 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17916 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17918 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17919 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17920 *) ac_file_in
="${ac_file}.in" ;;
17923 echo creating
$ac_file
17925 rm -f conftest.frag conftest.
in conftest.out
17926 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17927 cat $ac_file_inputs > conftest.
in
17931 # Transform confdefs.h into a sed script conftest.vals that substitutes
17932 # the proper values into config.h.in to produce config.h. And first:
17933 # Protect against being on the right side of a sed subst in config.status.
17934 # Protect against being in an unquoted here document in config.status.
17935 rm -f conftest.vals
17936 cat > conftest.hdr
<<\EOF
17939 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17943 sed -n -f conftest.hdr confdefs.h > conftest.vals
17946 # This sed command replaces #undef with comments. This is necessary, for
17947 # example, in the case of _POSIX_SOURCE, which is predefined and required
17948 # on some systems where configure will not decide to define it.
17949 cat >> conftest.vals <<\EOF
17950 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17953 # Break up conftest.vals because some shells have a limit on
17954 # the size of here documents, and old seds have small limits too.
17956 rm -f conftest.tail
17959 ac_lines=`grep -c . conftest.vals
`
17960 # grep -c gives empty output for an empty file on some AIX systems.
17961 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17962 # Write a limited-size here document to conftest.frag.
17963 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17964 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17966 sed -f conftest.frag conftest.in > conftest.out
17968 mv conftest.out conftest.in
17969 ' >> $CONFIG_STATUS
17970 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17971 rm -f conftest.vals
17972 mv conftest.tail conftest.vals
17974 rm -f conftest.vals
17976 cat >> $CONFIG_STATUS <<\EOF
17977 rm -f conftest.frag conftest.h
17978 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17979 cat conftest.in >> conftest.h
17981 if cmp -s $ac_file conftest.h 2>/dev/null; then
17982 echo "$ac_file is unchanged"
17985 # Remove last slash and all that follows it. Not all systems have dirname.
17986 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17987 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17988 # The file is in a subdirectory.
17989 test ! -d "$ac_dir" && mkdir "$ac_dir"
17992 mv conftest.h $ac_file
17997 cat >> $CONFIG_STATUS <<EOF
17999 SETUPH_DIR="${SETUPH_DIR}"
18000 TOOLKIT_NAME="${TOOLKIT_NAME}"
18005 cat >> $CONFIG_STATUS <<\EOF
18007 if test ! -f wx${TOOLKIT_NAME}-config; then
18009 mv wx-config wx${TOOLKIT_NAME}-config
18010 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
18014 if test ! -d lib; then
18017 if test ! -d lib/wx; then
18020 if test ! -d lib/wx/include; then
18021 mkdir lib/wx/include
18023 if test ! -d lib/wx/include/wx; then
18024 mkdir lib/wx/include/wx
18026 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
18027 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
18029 if test -f setup.h; then
18030 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
18034 if test ! -d include; then
18037 if test ! -d include/wx; then
18040 if test ! -d include/wx/${SETUPH_DIR}; then
18041 mkdir include/wx/${SETUPH_DIR}
18043 if test -f setup.h; then
18044 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
18050 chmod +x $CONFIG_STATUS
18051 rm -fr confdefs* $ac_clean_files
18052 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18054 if test "$no_recursion" != yes; then
18056 # Remove --cache-file and --srcdir arguments so they do not pile up.
18057 ac_sub_configure_args=
18059 for ac_arg in $ac_configure_args; do
18060 if test -n "$ac_prev"; then
18065 -cache-file | --cache-file | --cache-fil | --cache-fi \
18066 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18067 ac_prev=cache_file ;;
18068 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18069 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18071 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18073 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18075 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18079 for ac_config_dir in demos samples utils contrib; do
18081 # Do not complain, so a configure script can configure whichever
18082 # parts of a large source tree are present.
18083 if test ! -d $srcdir/$ac_config_dir; then
18087 echo configuring in $ac_config_dir
18092 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18094 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18102 # A "../" for each directory in /$ac_config_dir.
18103 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18106 .) # No --srcdir option. We are building in place.
18107 ac_sub_srcdir=$srcdir ;;
18108 /*) # Absolute path.
18109 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18110 *) # Relative path.
18111 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18114 # Check for guested configure; otherwise get Cygnus style configure.
18115 if test -f $ac_sub_srcdir/configure; then
18116 ac_sub_configure=$ac_sub_srcdir/configure
18117 elif test -f $ac_sub_srcdir/configure.in; then
18118 ac_sub_configure=$ac_configure
18120 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18124 # The recursion is here.
18125 if test -n "$ac_sub_configure"; then
18127 # Make the cache file name correct relative to the subdirectory.
18128 case "$cache_file" in
18129 /*) ac_sub_cache_file=$cache_file ;;
18130 *) # Relative path.
18131 ac_sub_cache_file="$ac_dots$cache_file" ;;
18133 case "$ac_given_INSTALL" in
18134 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18135 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18138 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18139 # The eval makes quoting arguments work.
18140 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18143 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }