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"
77 --with-mgl use SciTech MGL"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-regex enable support for wxRegEx class"
95 --with-zlib use zlib for LZW compression"
97 --with-odbc use the IODBC and wxODBC classes"
99 --enable-shared create shared library code"
101 --enable-soname set the DT_SONAME field in ELF shared libraries"
103 --enable-optimise create optimised code"
105 --enable-debug same as debug_flag and debug_info"
107 --enable-precomp enable use of precompiled headers (Mac OS X)"
109 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
111 --enable-debug_info create code with debugging information"
113 --enable-debug_gdb create code with extra GDB debugging information"
115 --enable-debug_cntxt use wxDebugContext"
117 --enable-mem_tracing create code with memory tracing"
119 --enable-profile create code with profiling information"
121 --enable-no_rtti create code without RTTI information"
123 --enable-no_exceptions create code without C++ exceptions handling"
125 --enable-permissive compile code disregarding strict ANSI"
127 --enable-no_deps create code without dependency information"
129 --enable-compat20 enable wxWindows 2.0 compatibility"
131 --enable-compat22 enable wxWindows 2.2 compatibility"
133 --enable-intl use internationalization system"
135 --enable-config use wxConfig (and derived) classes"
137 --enable-sockets use socket/network classes"
139 --enable-ipc use interprocess communication (wxSocket etc.)"
141 --enable-cmdline use wxCmdLineParser class"
143 --enable-datetime use wxDateTime class"
145 --enable-timedate use obsolete wxDate/wxTime classes"
147 --enable-stopwatch use wxStopWatch class"
149 --enable-dialupman use dialup network classes"
151 --enable-apple_ieee use the Apple IEEE codec"
153 --enable-timer use wxTimer class"
155 --enable-wave use wxWave class"
157 --enable-fraction use wxFraction class"
159 --enable-dynlib use wxLibrary class for DLL loading"
161 --enable-longlong use wxLongLong class"
163 --enable-geometry use geometry class"
165 --enable-log use logging system"
167 --enable-streams use wxStream etc classes"
169 --enable-file use wxFile classes"
171 --enable-ffile use wxFFile classes"
173 --enable-textfile use wxTextFile classes"
175 --enable-fontmap use font encodings conversion classes"
177 --enable-unicode compile wxString with Unicode support"
179 --enable-wxprintfv use wxWindows implementation of vprintf()"
181 --enable-std_iostreams use standard C++ stream classes"
183 --enable-filesystem use virtual file systems classes"
185 --enable-fs_inet use virtual HTTP/FTP filesystems"
187 --enable-fs_zip use virtual ZIP filesystems"
189 --enable-zipstream use wxZipInputStream"
191 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
193 --enable-snglinst use wxSingleInstanceChecker class"
195 --enable-mimetypes use wxMimeTypesManager"
197 --enable-sysoptions use wxSystemOptions"
199 --enable-threads use threads"
201 --enable-serial use class serialization"
203 --enable-docview use document view architecture"
205 --enable-help use help subsystem"
207 --enable-mshtmlhelp use MS HTML Help (win32)"
209 --enable-html use wxHTML sub-library"
211 --enable-htmlhelp use wxHTML-based help"
213 --enable-constraints use layout-constraints system"
215 --enable-printarch use printing architecture"
217 --enable-mdi use multiple document interface architecture"
219 --enable-loggui use standard GUI logger"
221 --enable-logwin use wxLogWindow"
223 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
225 --enable-prologio use Prolog IO library"
227 --enable-resources use wxWindows resources"
229 --enable-xresources use X resources for save (default for gtk+)"
231 --enable-clipboard use wxClipboard classes"
233 --enable-dnd use Drag'n'Drop classes"
235 --enable-metafile use win32 metafiles"
237 --enable-treelayout use wxTreeLayout classes"
239 --enable-controls use all usual controls"
241 --enable-accel use accelerators"
243 --enable-button use wxButton class"
245 --enable-bmpbutton use wxBitmapButton class"
247 --enable-calendar use wxCalendarCtrl class"
249 --enable-caret use wxCaret class"
251 --enable-checkbox use wxCheckBox class"
253 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
255 --enable-choice use wxChoice class"
257 --enable-combobox use wxComboBox classes"
259 --enable-gauge use wxGauge class"
261 --enable-grid use wxGrid class"
263 --enable-newgrid use new wxGrid class"
265 --enable-imaglist use wxImageList class"
267 --enable-listbox use wxListBox class"
269 --enable-listctrl use wxListCtrl class"
271 --enable-notebook use wxNotebook class"
273 --enable-propsheet use wxPropertySheet class"
275 --enable-radiobox use wxRadioBox class"
277 --enable-radiobtn use wxRadioButton class"
279 --enable-sash use wxSashWindow class"
281 --enable-scrollbar use wxScrollBar class and scrollable windows"
283 --enable-slider use wxSlider class"
285 --enable-spinbtn use wxSpinButton class"
287 --enable-spinctrl use wxSpinCtrl class"
289 --enable-splitter use wxSplitterWindow class"
291 --enable-statbmp use wxStaticBitmap class"
293 --enable-statbox use wxStaticBox class"
295 --enable-statline use wxStaticLine class"
297 --enable-stattext use wxStaticText class"
299 --enable-statusbar use wxStatusBar class"
301 --enable-tabdialog use wxTabControl class"
303 --enable-textctrl use wxTextCtrl class"
305 --enable-togglebtn use wxToggleButton class"
307 --enable-toolbar use wxToolBar class"
309 --enable-tbarnative use native wxToolBar class"
311 --enable-tbarsmpl use wxToolBarSimple class"
313 --enable-treectrl use wxTreeCtrl class"
315 --enable-popupwin use wxPopUpWindow class"
317 --enable-commondlg use all common dialogs"
319 --enable-choicedlg use wxChoiceDialog"
321 --enable-coldlg use wxColourDialog"
323 --enable-filedlg use wxFileDialog"
325 --enable-finddlg use wxFindReplaceDialog"
327 --enable-fontdlg use wxFontDialog"
329 --enable-dirdlg use wxDirDialog"
331 --enable-msgdlg use wxMessageDialog"
333 --enable-numberdlg use wxNumberEntryDialog"
335 --enable-splash use wxSplashScreen"
337 --enable-textdlg use wxTextDialog"
339 --enable-tipdlg use startup tips"
341 --enable-progressdlg use wxProgressDialog"
343 --enable-wizarddlg use wxWizard"
345 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
347 --enable-miniframe use wxMiniFrame class"
349 --enable-tooltips use wxToolTip class"
351 --enable-splines use spline drawing code"
353 --enable-validators use wxValidator and derived classes"
355 --enable-busyinfo use wxBusyInfo"
357 --enable-joystick use wxJoystick (Linux only)"
359 --enable-metafiles use wxMetaFile (Windows only)"
361 --enable-dragimage use wxDragImage"
363 --enable-palette use wxPalette class"
365 --enable-image use wxImage class"
367 --enable-gif use gif images (GIF file format)"
369 --enable-pcx use pcx images (PCX file format)"
371 --enable-pnm use pnm images (PNM file format)"
373 --enable-xpm use xpm images (XPM file format)"
375 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
377 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
379 --disable-gtktest Do not try to compile and run a test GTK program"
381 --with-x use the X Window System"
383 # Initialize some variables set by options.
384 # The variables have the same names as the options, with
385 # dashes changed to underlines.
387 cache_file
=.
/config.cache
396 program_transform_name
=s
,x
,x
,
404 bindir
='${exec_prefix}/bin'
405 sbindir
='${exec_prefix}/sbin'
406 libexecdir
='${exec_prefix}/libexec'
407 datadir
='${prefix}/share'
408 sysconfdir
='${prefix}/etc'
409 sharedstatedir
='${prefix}/com'
410 localstatedir
='${prefix}/var'
411 libdir
='${exec_prefix}/lib'
412 includedir
='${prefix}/include'
413 oldincludedir
='/usr/include'
414 infodir
='${prefix}/info'
415 mandir
='${prefix}/man'
417 # Initialize some other variables.
420 SHELL
=${CONFIG_SHELL-/bin/sh}
421 # Maximum number of lines to put in a shell here document.
428 # If the previous option needs an argument, assign it.
429 if test -n "$ac_prev"; then
430 eval "$ac_prev=\$ac_option"
436 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
440 # Accept the important Cygnus configure options, so we can diagnose typos.
444 -bindir | --bindir | --bindi | --bind | --bin | --bi)
446 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
447 bindir
="$ac_optarg" ;;
449 -build | --build | --buil | --bui | --bu)
451 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
452 build
="$ac_optarg" ;;
454 -cache-file | --cache-file | --cache-fil | --cache-fi \
455 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
456 ac_prev
=cache_file
;;
457 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
458 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
459 cache_file
="$ac_optarg" ;;
461 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
463 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
465 datadir
="$ac_optarg" ;;
467 -disable-* | --disable-*)
468 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
469 # Reject names that are not valid shell variable names.
470 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
471 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
473 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
474 eval "enable_${ac_feature}=no" ;;
476 -enable-* | --enable-*)
477 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
478 # Reject names that are not valid shell variable names.
479 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
480 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
482 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
487 eval "enable_${ac_feature}='$ac_optarg'" ;;
489 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
490 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
491 | --exec | --exe | --ex)
492 ac_prev
=exec_prefix
;;
493 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
494 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
495 | --exec=* | --exe=* | --ex=*)
496 exec_prefix
="$ac_optarg" ;;
498 -gas | --gas | --ga | --g)
499 # Obsolete; use --with-gas.
502 -help | --help | --hel | --he)
503 # Omit some internal or obsolete options to make the list less imposing.
504 # This message is too long to be a string in the A/UX 3.1 sh.
506 Usage: configure [options] [host]
507 Options: [defaults in brackets after descriptions]
509 --cache-file=FILE cache test results in FILE
510 --help print this message
511 --no-create do not create output files
512 --quiet, --silent do not print \`checking...' messages
513 --version print the version of autoconf that created configure
514 Directory and file names:
515 --prefix=PREFIX install architecture-independent files in PREFIX
517 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
519 --bindir=DIR user executables in DIR [EPREFIX/bin]
520 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
521 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
522 --datadir=DIR read-only architecture-independent data in DIR
524 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
525 --sharedstatedir=DIR modifiable architecture-independent data in DIR
527 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
528 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
529 --includedir=DIR C header files in DIR [PREFIX/include]
530 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
531 --infodir=DIR info documentation in DIR [PREFIX/info]
532 --mandir=DIR man documentation in DIR [PREFIX/man]
533 --srcdir=DIR find the sources in DIR [configure dir or ..]
534 --program-prefix=PREFIX prepend PREFIX to installed program names
535 --program-suffix=SUFFIX append SUFFIX to installed program names
536 --program-transform-name=PROGRAM
537 run sed PROGRAM on installed program names
541 --build=BUILD configure for building on BUILD [BUILD=HOST]
542 --host=HOST configure for HOST [guessed]
543 --target=TARGET configure for TARGET [TARGET=HOST]
544 Features and packages:
545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
547 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
548 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
549 --x-includes=DIR X include files are in DIR
550 --x-libraries=DIR X library files are in DIR
552 if test -n "$ac_help"; then
553 echo "--enable and --with options recognized:$ac_help"
557 -host | --host | --hos | --ho)
559 -host=* | --host=* | --hos=* | --ho=*)
562 -includedir | --includedir | --includedi | --included | --include \
563 | --includ | --inclu | --incl | --inc)
564 ac_prev
=includedir
;;
565 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
566 | --includ=* | --inclu=* | --incl=* | --inc=*)
567 includedir
="$ac_optarg" ;;
569 -infodir | --infodir | --infodi | --infod | --info | --inf)
571 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
572 infodir
="$ac_optarg" ;;
574 -libdir | --libdir | --libdi | --libd)
576 -libdir=* | --libdir=* | --libdi=* | --libd=*)
577 libdir
="$ac_optarg" ;;
579 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
580 | --libexe | --libex | --libe)
581 ac_prev
=libexecdir
;;
582 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
583 | --libexe=* | --libex=* | --libe=*)
584 libexecdir
="$ac_optarg" ;;
586 -localstatedir | --localstatedir | --localstatedi | --localstated \
587 | --localstate | --localstat | --localsta | --localst \
588 | --locals | --local | --loca | --loc | --lo)
589 ac_prev
=localstatedir
;;
590 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
591 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
592 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
593 localstatedir
="$ac_optarg" ;;
595 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
597 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
598 mandir
="$ac_optarg" ;;
601 # Obsolete; use --without-fp.
604 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
608 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
609 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
612 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
613 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
614 | --oldin | --oldi | --old | --ol | --o)
615 ac_prev
=oldincludedir
;;
616 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
617 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
618 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
619 oldincludedir
="$ac_optarg" ;;
621 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
623 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
624 prefix
="$ac_optarg" ;;
626 -program-prefix | --program-prefix | --program-prefi | --program-pref \
627 | --program-pre | --program-pr | --program-p)
628 ac_prev
=program_prefix
;;
629 -program-prefix=* | --program-prefix=* | --program-prefi=* \
630 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
631 program_prefix
="$ac_optarg" ;;
633 -program-suffix | --program-suffix | --program-suffi | --program-suff \
634 | --program-suf | --program-su | --program-s)
635 ac_prev
=program_suffix
;;
636 -program-suffix=* | --program-suffix=* | --program-suffi=* \
637 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
638 program_suffix
="$ac_optarg" ;;
640 -program-transform-name | --program-transform-name \
641 | --program-transform-nam | --program-transform-na \
642 | --program-transform-n | --program-transform- \
643 | --program-transform | --program-transfor \
644 | --program-transfo | --program-transf \
645 | --program-trans | --program-tran \
646 | --progr-tra | --program-tr | --program-t)
647 ac_prev
=program_transform_name
;;
648 -program-transform-name=* | --program-transform-name=* \
649 | --program-transform-nam=* | --program-transform-na=* \
650 | --program-transform-n=* | --program-transform-=* \
651 | --program-transform=* | --program-transfor=* \
652 | --program-transfo=* | --program-transf=* \
653 | --program-trans=* | --program-tran=* \
654 | --progr-tra=* | --program-tr=* | --program-t=*)
655 program_transform_name
="$ac_optarg" ;;
657 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
658 | -silent | --silent | --silen | --sile | --sil)
661 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
663 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
665 sbindir
="$ac_optarg" ;;
667 -sharedstatedir | --sharedstatedir | --sharedstatedi \
668 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
669 | --sharedst | --shareds | --shared | --share | --shar \
671 ac_prev
=sharedstatedir
;;
672 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
673 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
674 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
676 sharedstatedir
="$ac_optarg" ;;
678 -site | --site | --sit)
680 -site=* | --site=* | --sit=*)
683 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
685 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
686 srcdir
="$ac_optarg" ;;
688 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
689 | --syscon | --sysco | --sysc | --sys | --sy)
690 ac_prev
=sysconfdir
;;
691 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
692 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
693 sysconfdir
="$ac_optarg" ;;
695 -target | --target | --targe | --targ | --tar | --ta | --t)
697 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
698 target
="$ac_optarg" ;;
700 -v | -verbose | --verbose | --verbos | --verbo | --verb)
703 -version | --version | --versio | --versi | --vers)
704 echo "configure generated by autoconf version 2.13"
708 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
709 # Reject names that are not valid shell variable names.
710 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
711 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
713 ac_package
=`echo $ac_package| sed 's/-/_/g'`
718 eval "with_${ac_package}='$ac_optarg'" ;;
720 -without-* | --without-*)
721 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
722 # Reject names that are not valid shell variable names.
723 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
724 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
726 ac_package
=`echo $ac_package| sed 's/-/_/g'`
727 eval "with_${ac_package}=no" ;;
730 # Obsolete; use --with-x.
733 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
734 | --x-incl | --x-inc | --x-in | --x-i)
735 ac_prev
=x_includes
;;
736 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
737 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
738 x_includes
="$ac_optarg" ;;
740 -x-libraries | --x-libraries | --x-librarie | --x-librari \
741 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
742 ac_prev
=x_libraries
;;
743 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
744 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
745 x_libraries
="$ac_optarg" ;;
747 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
751 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
752 echo "configure: warning: $ac_option: invalid host type" 1>&2
754 if test "x$nonopt" != xNONE
; then
755 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
763 if test -n "$ac_prev"; then
764 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
767 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
769 # File descriptor usage:
772 # 2 errors and warnings
773 # 3 some systems may open it to /dev/tty
774 # 4 used on the Kubota Titan
775 # 6 checking for... messages and results
776 # 5 compiler messages saved in config.log
777 if test "$silent" = yes; then
785 This file contains any messages produced by compilers while
786 running configure, to aid debugging if configure makes a mistake.
789 # Strip out --no-create and --no-recursion so they do not pile up.
790 # Also quote any args containing shell metacharacters.
795 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
796 | --no-cr | --no-c) ;;
797 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
798 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
799 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
800 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
801 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
806 # Only set these to C if already set. These must not be set unconditionally
807 # because not all systems understand e.g. LANG=C (notably SCO).
808 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
809 # Non-C LC_CTYPE values break the ctype check.
810 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
811 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
812 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
813 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
815 # confdefs.h avoids OS command line length limits that DEFS can exceed.
816 rm -rf conftest
* confdefs.h
817 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
820 # A filename unique to this package, relative to the directory that
821 # configure is in, which we can look for to find out if srcdir is correct.
822 ac_unique_file
=wx
-config.
in
824 # Find the source files, if location was not specified.
825 if test -z "$srcdir"; then
826 ac_srcdir_defaulted
=yes
827 # Try the directory containing this script, then its parent.
829 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
830 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
832 if test ! -r $srcdir/$ac_unique_file; then
836 ac_srcdir_defaulted
=no
838 if test ! -r $srcdir/$ac_unique_file; then
839 if test "$ac_srcdir_defaulted" = yes; then
840 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
842 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
845 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
847 # Prefer explicitly selected file to automatically selected ones.
848 if test -z "$CONFIG_SITE"; then
849 if test "x$prefix" != xNONE
; then
850 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
852 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
855 for ac_site_file
in $CONFIG_SITE; do
856 if test -r "$ac_site_file"; then
857 echo "loading site script $ac_site_file"
862 if test -r "$cache_file"; then
863 echo "loading cache $cache_file"
866 echo "creating cache $cache_file"
871 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
872 ac_cpp
='$CPP $CPPFLAGS'
873 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
874 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
875 cross_compiling
=$ac_cv_prog_cc_cross
879 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
880 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
881 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
888 ac_n
= ac_c
='\c' ac_t
=
894 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
895 if test -f $ac_dir/install-sh; then
897 ac_install_sh
="$ac_aux_dir/install-sh -c"
899 elif test -f $ac_dir/install.sh
; then
901 ac_install_sh
="$ac_aux_dir/install.sh -c"
905 if test -z "$ac_aux_dir"; then
906 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
908 ac_config_guess
=$ac_aux_dir/config.guess
909 ac_config_sub
=$ac_aux_dir/config.sub
910 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
913 # Do some error checking and defaulting for the host and target type.
915 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
918 # 1. You are not allowed to specify --host, --target, and nonopt at the
920 # 2. Host defaults to nonopt.
921 # 3. If nonopt is not specified, then host defaults to the current host,
922 # as determined by config.guess.
923 # 4. Target and build default to nonopt.
924 # 5. If nonopt is not specified, then target and build default to host.
926 # The aliases save the names the user supplied, while $host etc.
927 # will get canonicalized.
928 case $host---$target---$nonopt in
929 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
930 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
934 # Make sure we can run config.sub.
935 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
936 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
939 echo $ac_n "checking host system type""... $ac_c" 1>&6
940 echo "configure:941: checking host system type" >&5
943 case "$host_alias" in
947 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
948 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
950 *) host_alias
=$nonopt ;;
954 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
955 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
956 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
957 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
958 echo "$ac_t""$host" 1>&6
960 echo $ac_n "checking target system type""... $ac_c" 1>&6
961 echo "configure:962: checking target system type" >&5
964 case "$target_alias" in
967 NONE
) target_alias
=$host_alias ;;
968 *) target_alias
=$nonopt ;;
972 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
973 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
974 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
975 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
976 echo "$ac_t""$target" 1>&6
978 echo $ac_n "checking build system type""... $ac_c" 1>&6
979 echo "configure:980: checking build system type" >&5
982 case "$build_alias" in
985 NONE
) build_alias
=$host_alias ;;
986 *) build_alias
=$nonopt ;;
990 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
991 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
992 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
993 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
994 echo "$ac_t""$build" 1>&6
996 test "$host_alias" != "$target_alias" &&
997 test "$program_prefix$program_suffix$program_transform_name" = \
999 program_prefix
=${target_alias}-
1003 WX_MAJOR_VERSION_NUMBER
=2
1004 WX_MINOR_VERSION_NUMBER
=3
1007 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1008 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1043 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1045 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1050 DEFAULT_wxUSE_MOTIF
=0
1053 DEFAULT_wxUSE_WINE
=0
1055 DEFAULT_DEFAULT_wxUSE_GTK
=0
1056 DEFAULT_DEFAULT_wxUSE_MAC
=0
1057 DEFAULT_DEFAULT_wxUSE_MGL
=0
1058 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1059 DEFAULT_DEFAULT_wxUSE_MSW
=0
1060 DEFAULT_DEFAULT_wxUSE_PM
=0
1061 DEFAULT_DEFAULT_wxUSE_WINE
=0
1069 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1070 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1072 cat >> confdefs.h
<<\EOF
1079 cat >> confdefs.h
<<\EOF
1084 if test "x$TMP" = "xalpha"; then
1086 cat >> confdefs.h
<<\EOF
1091 DEFAULT_DEFAULT_wxUSE_GTK
=1
1093 *-*-irix5* | *-*-irix6* )
1096 cat >> confdefs.h
<<\EOF
1100 cat >> confdefs.h
<<\EOF
1104 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1110 cat >> confdefs.h
<<\EOF
1114 cat >> confdefs.h
<<\EOF
1115 #define __SOLARIS__ 1
1118 cat >> confdefs.h
<<\EOF
1122 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1123 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1129 cat >> confdefs.h
<<\EOF
1133 cat >> confdefs.h
<<\EOF
1137 cat >> confdefs.h
<<\EOF
1141 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1146 cat >> confdefs.h
<<\EOF
1147 #define __FREEBSD__ 1
1150 cat >> confdefs.h
<<\EOF
1154 DEFAULT_DEFAULT_wxUSE_GTK
=1
1159 cat >> confdefs.h
<<\EOF
1160 #define __FREEBSD__ 1
1163 cat >> confdefs.h
<<\EOF
1164 #define __OPENBSD__ 1
1167 DEFAULT_DEFAULT_wxUSE_GTK
=1
1172 cat >> confdefs.h
<<\EOF
1173 #define __FREEBSD__ 1
1176 cat >> confdefs.h
<<\EOF
1177 #define __NETBSD__ 1
1180 DEFAULT_DEFAULT_wxUSE_GTK
=1
1185 cat >> confdefs.h
<<\EOF
1189 cat >> confdefs.h
<<\EOF
1193 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1194 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1199 cat >> confdefs.h
<<\EOF
1203 cat >> confdefs.h
<<\EOF
1207 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1212 cat >> confdefs.h
<<\EOF
1216 cat >> confdefs.h
<<\EOF
1220 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1226 cat >> confdefs.h
<<\EOF
1230 cat >> confdefs.h
<<\EOF
1234 cat >> confdefs.h
<<\EOF
1238 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1241 *-*-cygwin* | *-*-mingw32* )
1245 cat >> confdefs.h
<<\EOF
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1254 #define __WINDOWS__ 1
1257 cat >> confdefs.h
<<\EOF
1258 #define __GNUWIN32__ 1
1261 cat >> confdefs.h
<<\EOF
1265 cat >> confdefs.h
<<\EOF
1266 #define WINVER 0x0400
1271 DEFAULT_DEFAULT_wxUSE_MSW
=1
1275 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_PM
=1
1287 cat >> confdefs.h
<<\EOF
1291 cat >> confdefs.h
<<\EOF
1292 #define __DARWIN__ 1
1295 cat >> confdefs.h
<<\EOF
1296 #define __POWERPC__ 1
1299 DEFAULT_DEFAULT_wxUSE_MAC
=1
1304 cat >> confdefs.h
<<\EOF
1311 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1314 if test "$USE_UNIX" = 1 ; then
1316 cat >> confdefs.h
<<\EOF
1322 if test "$USE_LINUX" = 1; then
1323 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1324 echo "configure:1325: checking for glibc 2.1 or later" >&5
1325 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1326 echo $ac_n "(cached) $ac_c" 1>&6
1328 cat > conftest.
$ac_ext <<EOF
1329 #line 1330 "configure"
1330 #include "confdefs.h"
1331 #include <features.h>
1334 #if !__GLIBC_PREREQ(2, 1)
1340 if { (eval echo configure
:1341: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1346 echo "configure: failed program was:" >&5
1347 cat conftest.
$ac_ext >&5
1358 echo "$ac_t""$wx_lib_glibc21" 1>&6
1359 if test "$wx_lib_glibc21" = "yes"; then
1360 cat >> confdefs.h
<<\EOF
1361 #define wxHAVE_GLIBC2 1
1370 wx_arg_cache_file
="configarg.cache"
1371 echo "loading argument cache $wx_arg_cache_file"
1372 rm -f ${wx_arg_cache_file}.tmp
1373 touch ${wx_arg_cache_file}.tmp
1374 touch ${wx_arg_cache_file}
1378 if test $DEBUG_CONFIGURE = 1; then
1379 DEFAULT_wxUSE_UNIVERSAL
=no
1381 DEFAULT_wxUSE_THREADS
=yes
1383 DEFAULT_wxUSE_SHARED
=yes
1384 DEFAULT_wxUSE_SONAME
=no
1385 DEFAULT_wxUSE_OPTIMISE
=no
1386 DEFAULT_wxUSE_PROFILE
=no
1387 DEFAULT_wxUSE_NO_DEPS
=no
1388 DEFAULT_wxUSE_NO_RTTI
=no
1389 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1390 DEFAULT_wxUSE_PERMISSIVE
=no
1391 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1392 DEFAULT_wxUSE_DEBUG_INFO
=yes
1393 DEFAULT_wxUSE_DEBUG_GDB
=yes
1394 DEFAULT_wxUSE_MEM_TRACING
=no
1395 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1396 DEFAULT_wxUSE_DMALLOC
=no
1397 DEFAULT_wxUSE_PRECOMP
=yes
1398 DEFAULT_wxUSE_APPLE_IEEE
=no
1400 DEFAULT_wxUSE_LOG
=yes
1401 DEFAULT_wxUSE_LOGWINDOW
=no
1402 DEFAULT_wxUSE_LOGGUI
=no
1404 DEFAULT_wxUSE_GUI
=yes
1405 DEFAULT_wxUSE_CONTROLS
=no
1407 DEFAULT_wxUSE_REGEX
=no
1408 DEFAULT_wxUSE_ZLIB
=no
1409 DEFAULT_wxUSE_LIBPNG
=no
1410 DEFAULT_wxUSE_LIBJPEG
=no
1411 DEFAULT_wxUSE_LIBTIFF
=no
1412 DEFAULT_wxUSE_ODBC
=no
1413 DEFAULT_wxUSE_FREETYPE
=no
1414 DEFAULT_wxUSE_OPENGL
=no
1416 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1417 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1418 DEFAULT_wxUSE_STD_IOSTREAM
=no
1419 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1420 DEFAULT_wxUSE_DATETIME
=no
1421 DEFAULT_wxUSE_TIMEDATE
=no
1422 DEFAULT_wxUSE_TIMER
=no
1423 DEFAULT_wxUSE_STOPWATCH
=no
1424 DEFAULT_wxUSE_FILE
=no
1425 DEFAULT_wxUSE_FFILE
=no
1426 DEFAULT_wxUSE_TEXTFILE
=no
1427 DEFAULT_wxUSE_WAVE
=no
1428 DEFAULT_wxUSE_INTL
=no
1429 DEFAULT_wxUSE_CONFIG
=no
1430 DEFAULT_wxUSE_FONTMAP
=no
1431 DEFAULT_wxUSE_STREAMS
=no
1432 DEFAULT_wxUSE_SOCKETS
=no
1433 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1434 DEFAULT_wxUSE_SERIAL
=no
1435 DEFAULT_wxUSE_JOYSTICK
=no
1436 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1437 DEFAULT_wxUSE_LONGLONG
=no
1438 DEFAULT_wxUSE_GEOMETRY
=no
1440 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1441 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1442 DEFAULT_wxUSE_POSTSCRIPT
=no
1444 DEFAULT_wxUSE_X_RESOURCES
=no
1445 DEFAULT_wxUSE_CLIPBOARD
=no
1446 DEFAULT_wxUSE_TOOLTIPS
=no
1447 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1448 DEFAULT_wxUSE_DRAGIMAGE
=no
1449 DEFAULT_wxUSE_SPLINES
=no
1451 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1452 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1453 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1455 DEFAULT_wxUSE_PROLOGIO
=no
1456 DEFAULT_wxUSE_RESOURCES
=no
1457 DEFAULT_wxUSE_CONSTRAINTS
=no
1458 DEFAULT_wxUSE_IPC
=no
1459 DEFAULT_wxUSE_HELP
=no
1460 DEFAULT_wxUSE_MS_HTML_HELP
=no
1461 DEFAULT_wxUSE_WXHTML_HELP
=no
1462 DEFAULT_wxUSE_TREELAYOUT
=no
1463 DEFAULT_wxUSE_METAFILE
=no
1464 DEFAULT_wxUSE_MIMETYPE
=no
1465 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1467 DEFAULT_wxUSE_COMMONDLGS
=no
1468 DEFAULT_wxUSE_CHOICEDLG
=no
1469 DEFAULT_wxUSE_COLOURDLG
=no
1470 DEFAULT_wxUSE_DIRDLG
=no
1471 DEFAULT_wxUSE_FILEDLG
=no
1472 DEFAULT_wxUSE_FINDREPLDLG
=no
1473 DEFAULT_wxUSE_FONTDLG
=no
1474 DEFAULT_wxUSE_MSGDLG
=no
1475 DEFAULT_wxUSE_NUMBERDLG
=no
1476 DEFAULT_wxUSE_TEXTDLG
=no
1477 DEFAULT_wxUSE_SPLASH
=no
1478 DEFAULT_wxUSE_STARTUP_TIPS
=no
1479 DEFAULT_wxUSE_PROGRESSDLG
=no
1480 DEFAULT_wxUSE_WIZARDDLG
=no
1482 DEFAULT_wxUSE_MENUS
=no
1483 DEFAULT_wxUSE_MINIFRAME
=no
1484 DEFAULT_wxUSE_HTML
=no
1485 DEFAULT_wxUSE_FILESYSTEM
=no
1486 DEFAULT_wxUSE_FS_INET
=no
1487 DEFAULT_wxUSE_FS_ZIP
=no
1488 DEFAULT_wxUSE_BUSYINFO
=no
1489 DEFAULT_wxUSE_ZIPSTREAM
=no
1490 DEFAULT_wxUSE_VALIDATORS
=no
1492 DEFAULT_wxUSE_ACCEL
=no
1493 DEFAULT_wxUSE_BUTTON
=no
1494 DEFAULT_wxUSE_BMPBUTTON
=no
1495 DEFAULT_wxUSE_CALCTRL
=no
1496 DEFAULT_wxUSE_CARET
=no
1497 DEFAULT_wxUSE_CHECKBOX
=no
1498 DEFAULT_wxUSE_CHECKLST
=no
1499 DEFAULT_wxUSE_CHOICE
=no
1500 DEFAULT_wxUSE_COMBOBOX
=no
1501 DEFAULT_wxUSE_GAUGE
=no
1502 DEFAULT_wxUSE_GRID
=no
1503 DEFAULT_wxUSE_NEW_GRID
=no
1504 DEFAULT_wxUSE_IMAGLIST
=no
1505 DEFAULT_wxUSE_LISTBOX
=no
1506 DEFAULT_wxUSE_LISTCTRL
=no
1507 DEFAULT_wxUSE_NOTEBOOK
=no
1508 DEFAULT_wxUSE_PROPSHEET
=no
1509 DEFAULT_wxUSE_RADIOBOX
=no
1510 DEFAULT_wxUSE_RADIOBTN
=no
1511 DEFAULT_wxUSE_SASH
=no
1512 DEFAULT_wxUSE_SCROLLBAR
=no
1513 DEFAULT_wxUSE_SLIDER
=no
1514 DEFAULT_wxUSE_SPINBTN
=no
1515 DEFAULT_wxUSE_SPINCTRL
=no
1516 DEFAULT_wxUSE_SPLITTER
=no
1517 DEFAULT_wxUSE_STATBMP
=no
1518 DEFAULT_wxUSE_STATBOX
=no
1519 DEFAULT_wxUSE_STATLINE
=no
1520 DEFAULT_wxUSE_STATTEXT
=no
1521 DEFAULT_wxUSE_STATUSBAR
=yes
1522 DEFAULT_wxUSE_TABDIALOG
=no
1523 DEFAULT_wxUSE_TEXTCTRL
=no
1524 DEFAULT_wxUSE_TOGGLEBTN
=no
1525 DEFAULT_wxUSE_TOOLBAR
=no
1526 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1527 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1528 DEFAULT_wxUSE_TREECTRL
=no
1529 DEFAULT_wxUSE_POPUPWIN
=no
1531 DEFAULT_wxUSE_UNICODE
=no
1532 DEFAULT_wxUSE_WCSRTOMBS
=no
1534 DEFAULT_wxUSE_PALETTE
=no
1535 DEFAULT_wxUSE_IMAGE
=no
1536 DEFAULT_wxUSE_GIF
=no
1537 DEFAULT_wxUSE_PCX
=no
1538 DEFAULT_wxUSE_PNM
=no
1539 DEFAULT_wxUSE_XPM
=no
1541 DEFAULT_wxUSE_UNIVERSAL
=no
1543 DEFAULT_wxUSE_THREADS
=yes
1545 DEFAULT_wxUSE_SHARED
=yes
1546 DEFAULT_wxUSE_SONAME
=no
1547 DEFAULT_wxUSE_OPTIMISE
=yes
1548 DEFAULT_wxUSE_PROFILE
=no
1549 DEFAULT_wxUSE_NO_DEPS
=no
1550 DEFAULT_wxUSE_NO_RTTI
=no
1551 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1552 DEFAULT_wxUSE_PERMISSIVE
=no
1553 DEFAULT_wxUSE_DEBUG_FLAG
=no
1554 DEFAULT_wxUSE_DEBUG_INFO
=no
1555 DEFAULT_wxUSE_DEBUG_GDB
=no
1556 DEFAULT_wxUSE_MEM_TRACING
=no
1557 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1558 DEFAULT_wxUSE_DMALLOC
=no
1559 DEFAULT_wxUSE_PRECOMP
=yes
1560 DEFAULT_wxUSE_APPLE_IEEE
=yes
1562 DEFAULT_wxUSE_LOG
=yes
1563 DEFAULT_wxUSE_LOGWINDOW
=yes
1564 DEFAULT_wxUSE_LOGGUI
=yes
1566 DEFAULT_wxUSE_GUI
=yes
1568 DEFAULT_wxUSE_REGEX
=yes
1569 DEFAULT_wxUSE_ZLIB
=yes
1570 DEFAULT_wxUSE_LIBPNG
=yes
1571 DEFAULT_wxUSE_LIBJPEG
=yes
1572 DEFAULT_wxUSE_LIBTIFF
=yes
1573 DEFAULT_wxUSE_ODBC
=no
1574 DEFAULT_wxUSE_FREETYPE
=no
1575 DEFAULT_wxUSE_OPENGL
=no
1577 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1578 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1579 DEFAULT_wxUSE_STD_IOSTREAM
=no
1580 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1581 DEFAULT_wxUSE_DATETIME
=yes
1582 DEFAULT_wxUSE_TIMEDATE
=no
1583 DEFAULT_wxUSE_TIMER
=yes
1584 DEFAULT_wxUSE_STOPWATCH
=yes
1585 DEFAULT_wxUSE_FILE
=yes
1586 DEFAULT_wxUSE_FFILE
=yes
1587 DEFAULT_wxUSE_TEXTFILE
=yes
1588 DEFAULT_wxUSE_WAVE
=no
1589 DEFAULT_wxUSE_INTL
=yes
1590 DEFAULT_wxUSE_CONFIG
=yes
1591 DEFAULT_wxUSE_FONTMAP
=yes
1592 DEFAULT_wxUSE_STREAMS
=yes
1593 DEFAULT_wxUSE_SOCKETS
=yes
1594 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1595 DEFAULT_wxUSE_SERIAL
=yes
1596 DEFAULT_wxUSE_JOYSTICK
=yes
1597 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1598 DEFAULT_wxUSE_LONGLONG
=yes
1599 DEFAULT_wxUSE_GEOMETRY
=yes
1601 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1602 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1603 DEFAULT_wxUSE_POSTSCRIPT
=yes
1605 DEFAULT_wxUSE_X_RESOURCES
=no
1606 DEFAULT_wxUSE_CLIPBOARD
=yes
1607 DEFAULT_wxUSE_TOOLTIPS
=yes
1608 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1609 DEFAULT_wxUSE_DRAGIMAGE
=yes
1610 DEFAULT_wxUSE_SPLINES
=yes
1612 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1613 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1614 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1616 DEFAULT_wxUSE_PROLOGIO
=yes
1617 DEFAULT_wxUSE_RESOURCES
=yes
1618 DEFAULT_wxUSE_CONSTRAINTS
=yes
1619 DEFAULT_wxUSE_IPC
=yes
1620 DEFAULT_wxUSE_HELP
=yes
1621 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1622 DEFAULT_wxUSE_WXHTML_HELP
=yes
1623 DEFAULT_wxUSE_TREELAYOUT
=yes
1624 DEFAULT_wxUSE_METAFILE
=yes
1625 DEFAULT_wxUSE_MIMETYPE
=yes
1626 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1628 DEFAULT_wxUSE_COMMONDLGS
=yes
1629 DEFAULT_wxUSE_CHOICEDLG
=yes
1630 DEFAULT_wxUSE_COLOURDLG
=yes
1631 DEFAULT_wxUSE_DIRDLG
=yes
1632 DEFAULT_wxUSE_FILEDLG
=yes
1633 DEFAULT_wxUSE_FINDREPLDLG
=yes
1634 DEFAULT_wxUSE_FONTDLG
=yes
1635 DEFAULT_wxUSE_MSGDLG
=yes
1636 DEFAULT_wxUSE_NUMBERDLG
=yes
1637 DEFAULT_wxUSE_TEXTDLG
=yes
1638 DEFAULT_wxUSE_SPLASH
=yes
1639 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1640 DEFAULT_wxUSE_PROGRESSDLG
=yes
1641 DEFAULT_wxUSE_WIZARDDLG
=yes
1643 DEFAULT_wxUSE_MENUS
=yes
1644 DEFAULT_wxUSE_MINIFRAME
=yes
1645 DEFAULT_wxUSE_HTML
=yes
1646 DEFAULT_wxUSE_FILESYSTEM
=yes
1647 DEFAULT_wxUSE_FS_INET
=yes
1648 DEFAULT_wxUSE_FS_ZIP
=yes
1649 DEFAULT_wxUSE_BUSYINFO
=yes
1650 DEFAULT_wxUSE_ZIPSTREAM
=yes
1651 DEFAULT_wxUSE_VALIDATORS
=yes
1653 DEFAULT_wxUSE_ACCEL
=yes
1654 DEFAULT_wxUSE_BUTTON
=yes
1655 DEFAULT_wxUSE_BMPBUTTON
=yes
1656 DEFAULT_wxUSE_CALCTRL
=yes
1657 DEFAULT_wxUSE_CARET
=yes
1658 DEFAULT_wxUSE_CHECKBOX
=yes
1659 DEFAULT_wxUSE_CHECKLST
=yes
1660 DEFAULT_wxUSE_CHOICE
=yes
1661 DEFAULT_wxUSE_COMBOBOX
=yes
1662 DEFAULT_wxUSE_GAUGE
=yes
1663 DEFAULT_wxUSE_GRID
=yes
1664 DEFAULT_wxUSE_NEW_GRID
=yes
1665 DEFAULT_wxUSE_IMAGLIST
=yes
1666 DEFAULT_wxUSE_LISTBOX
=yes
1667 DEFAULT_wxUSE_LISTCTRL
=yes
1668 DEFAULT_wxUSE_NOTEBOOK
=yes
1669 DEFAULT_wxUSE_PROPSHEET
=yes
1670 DEFAULT_wxUSE_RADIOBOX
=yes
1671 DEFAULT_wxUSE_RADIOBTN
=yes
1672 DEFAULT_wxUSE_SASH
=yes
1673 DEFAULT_wxUSE_SCROLLBAR
=yes
1674 DEFAULT_wxUSE_SLIDER
=yes
1675 DEFAULT_wxUSE_SPINBTN
=yes
1676 DEFAULT_wxUSE_SPINCTRL
=yes
1677 DEFAULT_wxUSE_SPLITTER
=yes
1678 DEFAULT_wxUSE_STATBMP
=yes
1679 DEFAULT_wxUSE_STATBOX
=yes
1680 DEFAULT_wxUSE_STATLINE
=yes
1681 DEFAULT_wxUSE_STATTEXT
=yes
1682 DEFAULT_wxUSE_STATUSBAR
=yes
1683 DEFAULT_wxUSE_TABDIALOG
=no
1684 DEFAULT_wxUSE_TEXTCTRL
=yes
1685 DEFAULT_wxUSE_TOGGLEBTN
=yes
1686 DEFAULT_wxUSE_TOOLBAR
=yes
1687 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1688 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1689 DEFAULT_wxUSE_TREECTRL
=yes
1690 DEFAULT_wxUSE_POPUPWIN
=yes
1692 DEFAULT_wxUSE_UNICODE
=no
1693 DEFAULT_wxUSE_WCSRTOMBS
=no
1695 DEFAULT_wxUSE_PALETTE
=yes
1696 DEFAULT_wxUSE_IMAGE
=yes
1697 DEFAULT_wxUSE_GIF
=yes
1698 DEFAULT_wxUSE_PCX
=yes
1699 DEFAULT_wxUSE_PNM
=yes
1700 DEFAULT_wxUSE_XPM
=yes
1705 for toolkit
in `echo $ALL_TOOLKITS`; do
1706 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1707 if test "x$LINE" != x
; then
1708 has_toolkit_in_cache
=1
1709 eval "DEFAULT_$LINE"
1710 eval "CACHE_$toolkit=1"
1716 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1717 echo "configure:1718: checking for --enable-gui" >&5
1719 # Check whether --enable-gui or --disable-gui was given.
1720 if test "${enable_gui+set}" = set; then
1721 enableval
="$enable_gui"
1723 if test "$enableval" = yes; then
1724 ac_cv_use_gui
='wxUSE_GUI=yes'
1726 ac_cv_use_gui
='wxUSE_GUI=no'
1731 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1732 if test "x$LINE" != x
; then
1733 eval "DEFAULT_$LINE"
1738 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1743 eval "$ac_cv_use_gui"
1744 if test "$no_cache" != 1; then
1745 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1748 if test "$wxUSE_GUI" = yes; then
1749 echo "$ac_t""yes" 1>&6
1751 echo "$ac_t""no" 1>&6
1755 if test "$wxUSE_GUI" = "yes"; then
1758 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1759 echo "configure:1760: checking for --enable-universal" >&5
1761 # Check whether --enable-universal or --disable-universal was given.
1762 if test "${enable_universal+set}" = set; then
1763 enableval
="$enable_universal"
1765 if test "$enableval" = yes; then
1766 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1768 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1773 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1774 if test "x$LINE" != x
; then
1775 eval "DEFAULT_$LINE"
1780 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1785 eval "$ac_cv_use_universal"
1786 if test "$no_cache" != 1; then
1787 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1790 if test "$wxUSE_UNIVERSAL" = yes; then
1791 echo "$ac_t""yes" 1>&6
1793 echo "$ac_t""no" 1>&6
1796 # Check whether --with-gtk or --without-gtk was given.
1797 if test "${with_gtk+set}" = set; then
1799 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1802 # Check whether --with-motif or --without-motif was given.
1803 if test "${with_motif+set}" = set; then
1804 withval
="$with_motif"
1805 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1808 # Check whether --with-mac or --without-mac was given.
1809 if test "${with_mac+set}" = set; then
1811 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1814 # Check whether --with-wine or --without-wine was given.
1815 if test "${with_wine+set}" = set; then
1816 withval
="$with_wine"
1817 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1820 # Check whether --with-cygwin or --without-cygwin was given.
1821 if test "${with_cygwin+set}" = set; then
1822 withval
="$with_cygwin"
1823 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1826 # Check whether --with-mingw or --without-mingw was given.
1827 if test "${with_mingw+set}" = set; then
1828 withval
="$with_mingw"
1829 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1832 # Check whether --with-pm or --without-pm was given.
1833 if test "${with_pm+set}" = set; then
1835 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1838 # Check whether --with-mgl or --without-mgl was given.
1839 if test "${with_mgl+set}" = set; then
1841 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1845 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1846 if test "${enable_gtk2+set}" = set; then
1847 enableval
="$enable_gtk2"
1855 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1856 echo "configure:1857: checking for --with-libpng" >&5
1858 # Check whether --with-libpng or --without-libpng was given.
1859 if test "${with_libpng+set}" = set; then
1860 withval
="$with_libpng"
1862 if test "$withval" = yes; then
1863 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1864 elif test "$withval" = no
; then
1865 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1866 elif test "$withval" = sys
; then
1867 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1869 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1874 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1875 if test "x$LINE" != x
; then
1876 eval "DEFAULT_$LINE"
1881 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1886 eval "$ac_cv_use_libpng"
1887 if test "$no_cache" != 1; then
1888 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1891 if test "$wxUSE_LIBPNG" = yes; then
1892 echo "$ac_t""yes" 1>&6
1893 elif test "$wxUSE_LIBPNG" = no
; then
1894 echo "$ac_t""no" 1>&6
1895 elif test "$wxUSE_LIBPNG" = sys
; then
1896 echo "$ac_t""system version" 1>&6
1898 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1902 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1903 echo "configure:1904: checking for --with-libjpeg" >&5
1905 # Check whether --with-libjpeg or --without-libjpeg was given.
1906 if test "${with_libjpeg+set}" = set; then
1907 withval
="$with_libjpeg"
1909 if test "$withval" = yes; then
1910 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1911 elif test "$withval" = no
; then
1912 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1913 elif test "$withval" = sys
; then
1914 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1916 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1921 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1922 if test "x$LINE" != x
; then
1923 eval "DEFAULT_$LINE"
1928 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1933 eval "$ac_cv_use_libjpeg"
1934 if test "$no_cache" != 1; then
1935 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1938 if test "$wxUSE_LIBJPEG" = yes; then
1939 echo "$ac_t""yes" 1>&6
1940 elif test "$wxUSE_LIBJPEG" = no
; then
1941 echo "$ac_t""no" 1>&6
1942 elif test "$wxUSE_LIBJPEG" = sys
; then
1943 echo "$ac_t""system version" 1>&6
1945 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1949 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1950 echo "configure:1951: checking for --with-libtiff" >&5
1952 # Check whether --with-libtiff or --without-libtiff was given.
1953 if test "${with_libtiff+set}" = set; then
1954 withval
="$with_libtiff"
1956 if test "$withval" = yes; then
1957 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1958 elif test "$withval" = no
; then
1959 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1960 elif test "$withval" = sys
; then
1961 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1963 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1968 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1969 if test "x$LINE" != x
; then
1970 eval "DEFAULT_$LINE"
1975 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1980 eval "$ac_cv_use_libtiff"
1981 if test "$no_cache" != 1; then
1982 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1985 if test "$wxUSE_LIBTIFF" = yes; then
1986 echo "$ac_t""yes" 1>&6
1987 elif test "$wxUSE_LIBTIFF" = no
; then
1988 echo "$ac_t""no" 1>&6
1989 elif test "$wxUSE_LIBTIFF" = sys
; then
1990 echo "$ac_t""system version" 1>&6
1992 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1996 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1997 echo "configure:1998: checking for --with-freetype" >&5
1999 # Check whether --with-freetype or --without-freetype was given.
2000 if test "${with_freetype+set}" = set; then
2001 withval
="$with_freetype"
2003 if test "$withval" = yes; then
2004 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2005 elif test "$withval" = no
; then
2006 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2007 elif test "$withval" = sys
; then
2008 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2010 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2015 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2016 if test "x$LINE" != x
; then
2017 eval "DEFAULT_$LINE"
2022 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2027 eval "$ac_cv_use_freetype"
2028 if test "$no_cache" != 1; then
2029 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2032 if test "$wxUSE_FREETYPE" = yes; then
2033 echo "$ac_t""yes" 1>&6
2034 elif test "$wxUSE_FREETYPE" = no
; then
2035 echo "$ac_t""no" 1>&6
2036 elif test "$wxUSE_FREETYPE" = sys
; then
2037 echo "$ac_t""system version" 1>&6
2039 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2043 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2044 echo "configure:2045: checking for --with-opengl" >&5
2046 # Check whether --with-opengl or --without-opengl was given.
2047 if test "${with_opengl+set}" = set; then
2048 withval
="$with_opengl"
2050 if test "$withval" = yes; then
2051 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2053 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2058 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2059 if test "x$LINE" != x
; then
2060 eval "DEFAULT_$LINE"
2065 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2070 eval "$ac_cv_use_opengl"
2071 if test "$no_cache" != 1; then
2072 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2075 if test "$wxUSE_OPENGL" = yes; then
2076 echo "$ac_t""yes" 1>&6
2078 echo "$ac_t""no" 1>&6
2085 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2086 echo "configure:2087: checking for --with-dmalloc" >&5
2088 # Check whether --with-dmalloc or --without-dmalloc was given.
2089 if test "${with_dmalloc+set}" = set; then
2090 withval
="$with_dmalloc"
2092 if test "$withval" = yes; then
2093 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2095 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2100 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2101 if test "x$LINE" != x
; then
2102 eval "DEFAULT_$LINE"
2107 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2112 eval "$ac_cv_use_dmalloc"
2113 if test "$no_cache" != 1; then
2114 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2117 if test "$wxUSE_DMALLOC" = yes; then
2118 echo "$ac_t""yes" 1>&6
2120 echo "$ac_t""no" 1>&6
2124 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2125 echo "configure:2126: checking for --with-regex" >&5
2127 # Check whether --with-regex or --without-regex was given.
2128 if test "${with_regex+set}" = set; then
2129 withval
="$with_regex"
2131 if test "$withval" = yes; then
2132 ac_cv_use_regex
='wxUSE_REGEX=yes'
2133 elif test "$withval" = no
; then
2134 ac_cv_use_regex
='wxUSE_REGEX=no'
2135 elif test "$withval" = sys
; then
2136 ac_cv_use_regex
='wxUSE_REGEX=sys'
2138 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2143 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x
; then
2145 eval "DEFAULT_$LINE"
2150 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2155 eval "$ac_cv_use_regex"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2160 if test "$wxUSE_REGEX" = yes; then
2161 echo "$ac_t""yes" 1>&6
2162 elif test "$wxUSE_REGEX" = no
; then
2163 echo "$ac_t""no" 1>&6
2164 elif test "$wxUSE_REGEX" = sys
; then
2165 echo "$ac_t""system version" 1>&6
2167 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2171 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2172 echo "configure:2173: checking for --with-zlib" >&5
2174 # Check whether --with-zlib or --without-zlib was given.
2175 if test "${with_zlib+set}" = set; then
2176 withval
="$with_zlib"
2178 if test "$withval" = yes; then
2179 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2180 elif test "$withval" = no
; then
2181 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2182 elif test "$withval" = sys
; then
2183 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2185 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2190 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2191 if test "x$LINE" != x
; then
2192 eval "DEFAULT_$LINE"
2197 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2202 eval "$ac_cv_use_zlib"
2203 if test "$no_cache" != 1; then
2204 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2207 if test "$wxUSE_ZLIB" = yes; then
2208 echo "$ac_t""yes" 1>&6
2209 elif test "$wxUSE_ZLIB" = no
; then
2210 echo "$ac_t""no" 1>&6
2211 elif test "$wxUSE_ZLIB" = sys
; then
2212 echo "$ac_t""system version" 1>&6
2214 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2218 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2219 echo "configure:2220: checking for --with-odbc" >&5
2221 # Check whether --with-odbc or --without-odbc was given.
2222 if test "${with_odbc+set}" = set; then
2223 withval
="$with_odbc"
2225 if test "$withval" = yes; then
2226 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2228 ac_cv_use_odbc
='wxUSE_ODBC=no'
2233 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2234 if test "x$LINE" != x
; then
2235 eval "DEFAULT_$LINE"
2240 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2245 eval "$ac_cv_use_odbc"
2246 if test "$no_cache" != 1; then
2247 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2250 if test "$wxUSE_ODBC" = yes; then
2251 echo "$ac_t""yes" 1>&6
2253 echo "$ac_t""no" 1>&6
2259 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2260 echo "configure:2261: checking for --enable-shared" >&5
2262 # Check whether --enable-shared or --disable-shared was given.
2263 if test "${enable_shared+set}" = set; then
2264 enableval
="$enable_shared"
2266 if test "$enableval" = yes; then
2267 ac_cv_use_shared
='wxUSE_SHARED=yes'
2269 ac_cv_use_shared
='wxUSE_SHARED=no'
2274 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2275 if test "x$LINE" != x
; then
2276 eval "DEFAULT_$LINE"
2281 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2286 eval "$ac_cv_use_shared"
2287 if test "$no_cache" != 1; then
2288 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2291 if test "$wxUSE_SHARED" = yes; then
2292 echo "$ac_t""yes" 1>&6
2294 echo "$ac_t""no" 1>&6
2298 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2299 echo "configure:2300: checking for --enable-soname" >&5
2301 # Check whether --enable-soname or --disable-soname was given.
2302 if test "${enable_soname+set}" = set; then
2303 enableval
="$enable_soname"
2305 if test "$enableval" = yes; then
2306 ac_cv_use_soname
='wxUSE_SONAME=yes'
2308 ac_cv_use_soname
='wxUSE_SONAME=no'
2313 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2314 if test "x$LINE" != x
; then
2315 eval "DEFAULT_$LINE"
2320 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2325 eval "$ac_cv_use_soname"
2326 if test "$no_cache" != 1; then
2327 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2330 if test "$wxUSE_SONAME" = yes; then
2331 echo "$ac_t""yes" 1>&6
2333 echo "$ac_t""no" 1>&6
2337 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2338 echo "configure:2339: checking for --enable-optimise" >&5
2340 # Check whether --enable-optimise or --disable-optimise was given.
2341 if test "${enable_optimise+set}" = set; then
2342 enableval
="$enable_optimise"
2344 if test "$enableval" = yes; then
2345 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2347 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2352 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2353 if test "x$LINE" != x
; then
2354 eval "DEFAULT_$LINE"
2359 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2364 eval "$ac_cv_use_optimise"
2365 if test "$no_cache" != 1; then
2366 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2369 if test "$wxUSE_OPTIMISE" = yes; then
2370 echo "$ac_t""yes" 1>&6
2372 echo "$ac_t""no" 1>&6
2376 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2377 echo "configure:2378: checking for --enable-debug" >&5
2379 # Check whether --enable-debug or --disable-debug was given.
2380 if test "${enable_debug+set}" = set; then
2381 enableval
="$enable_debug"
2383 if test "$enableval" = yes; then
2384 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2386 ac_cv_use_debug
='wxUSE_DEBUG=no'
2391 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2392 if test "x$LINE" != x
; then
2393 eval "DEFAULT_$LINE"
2398 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2403 eval "$ac_cv_use_debug"
2404 if test "$no_cache" != 1; then
2405 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2408 if test "$wxUSE_DEBUG" = yes; then
2409 echo "$ac_t""yes" 1>&6
2411 echo "$ac_t""no" 1>&6
2416 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2417 echo "configure:2418: checking for --enable-precomp" >&5
2419 # Check whether --enable-precomp or --disable-precomp was given.
2420 if test "${enable_precomp+set}" = set; then
2421 enableval
="$enable_precomp"
2423 if test "$enableval" = yes; then
2424 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2426 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2431 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2432 if test "x$LINE" != x
; then
2433 eval "DEFAULT_$LINE"
2438 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2443 eval "$ac_cv_use_precomp"
2444 if test "$no_cache" != 1; then
2445 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2448 if test "$wxUSE_PRECOMP" = yes; then
2449 echo "$ac_t""yes" 1>&6
2451 echo "$ac_t""no" 1>&6
2455 if test "$wxUSE_DEBUG" = "yes"; then
2456 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2457 DEFAULT_wxUSE_DEBUG_INFO
=yes
2458 elif test "$wxUSE_DEBUG" = "no"; then
2459 DEFAULT_wxUSE_DEBUG_FLAG
=no
2460 DEFAULT_wxUSE_DEBUG_INFO
=no
2464 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2465 echo "configure:2466: checking for --enable-debug_flag" >&5
2467 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2468 if test "${enable_debug_flag+set}" = set; then
2469 enableval
="$enable_debug_flag"
2471 if test "$enableval" = yes; then
2472 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2474 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2479 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2480 if test "x$LINE" != x
; then
2481 eval "DEFAULT_$LINE"
2486 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2491 eval "$ac_cv_use_debug_flag"
2492 if test "$no_cache" != 1; then
2493 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2496 if test "$wxUSE_DEBUG_FLAG" = yes; then
2497 echo "$ac_t""yes" 1>&6
2499 echo "$ac_t""no" 1>&6
2503 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2504 echo "configure:2505: checking for --enable-debug_info" >&5
2506 # Check whether --enable-debug_info or --disable-debug_info was given.
2507 if test "${enable_debug_info+set}" = set; then
2508 enableval
="$enable_debug_info"
2510 if test "$enableval" = yes; then
2511 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2513 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2518 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2519 if test "x$LINE" != x
; then
2520 eval "DEFAULT_$LINE"
2525 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2530 eval "$ac_cv_use_debug_info"
2531 if test "$no_cache" != 1; then
2532 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2535 if test "$wxUSE_DEBUG_INFO" = yes; then
2536 echo "$ac_t""yes" 1>&6
2538 echo "$ac_t""no" 1>&6
2542 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2543 echo "configure:2544: checking for --enable-debug_gdb" >&5
2545 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2546 if test "${enable_debug_gdb+set}" = set; then
2547 enableval
="$enable_debug_gdb"
2549 if test "$enableval" = yes; then
2550 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2552 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2557 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x
; then
2559 eval "DEFAULT_$LINE"
2564 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2569 eval "$ac_cv_use_debug_gdb"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_DEBUG_GDB" = yes; then
2575 echo "$ac_t""yes" 1>&6
2577 echo "$ac_t""no" 1>&6
2581 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2582 echo "configure:2583: checking for --enable-debug_cntxt" >&5
2584 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2585 if test "${enable_debug_cntxt+set}" = set; then
2586 enableval
="$enable_debug_cntxt"
2588 if test "$enableval" = yes; then
2589 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2591 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2596 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2597 if test "x$LINE" != x
; then
2598 eval "DEFAULT_$LINE"
2603 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2608 eval "$ac_cv_use_debug_cntxt"
2609 if test "$no_cache" != 1; then
2610 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2613 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2614 echo "$ac_t""yes" 1>&6
2616 echo "$ac_t""no" 1>&6
2620 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2621 echo "configure:2622: checking for --enable-mem_tracing" >&5
2623 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2624 if test "${enable_mem_tracing+set}" = set; then
2625 enableval
="$enable_mem_tracing"
2627 if test "$enableval" = yes; then
2628 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2630 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2635 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2636 if test "x$LINE" != x
; then
2637 eval "DEFAULT_$LINE"
2642 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2647 eval "$ac_cv_use_mem_tracing"
2648 if test "$no_cache" != 1; then
2649 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2652 if test "$wxUSE_MEM_TRACING" = yes; then
2653 echo "$ac_t""yes" 1>&6
2655 echo "$ac_t""no" 1>&6
2659 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2660 echo "configure:2661: checking for --enable-profile" >&5
2662 # Check whether --enable-profile or --disable-profile was given.
2663 if test "${enable_profile+set}" = set; then
2664 enableval
="$enable_profile"
2666 if test "$enableval" = yes; then
2667 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2669 ac_cv_use_profile
='wxUSE_PROFILE=no'
2674 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2675 if test "x$LINE" != x
; then
2676 eval "DEFAULT_$LINE"
2681 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2686 eval "$ac_cv_use_profile"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2691 if test "$wxUSE_PROFILE" = yes; then
2692 echo "$ac_t""yes" 1>&6
2694 echo "$ac_t""no" 1>&6
2698 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2699 echo "configure:2700: checking for --enable-no_rtti" >&5
2701 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2702 if test "${enable_no_rtti+set}" = set; then
2703 enableval
="$enable_no_rtti"
2705 if test "$enableval" = yes; then
2706 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2708 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2713 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2714 if test "x$LINE" != x
; then
2715 eval "DEFAULT_$LINE"
2720 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2725 eval "$ac_cv_use_no_rtti"
2726 if test "$no_cache" != 1; then
2727 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2730 if test "$wxUSE_NO_RTTI" = yes; then
2731 echo "$ac_t""yes" 1>&6
2733 echo "$ac_t""no" 1>&6
2737 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2738 echo "configure:2739: checking for --enable-no_exceptions" >&5
2740 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2741 if test "${enable_no_exceptions+set}" = set; then
2742 enableval
="$enable_no_exceptions"
2744 if test "$enableval" = yes; then
2745 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2747 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2752 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2753 if test "x$LINE" != x
; then
2754 eval "DEFAULT_$LINE"
2759 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2764 eval "$ac_cv_use_no_exceptions"
2765 if test "$no_cache" != 1; then
2766 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2769 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2770 echo "$ac_t""yes" 1>&6
2772 echo "$ac_t""no" 1>&6
2776 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2777 echo "configure:2778: checking for --enable-permissive" >&5
2779 # Check whether --enable-permissive or --disable-permissive was given.
2780 if test "${enable_permissive+set}" = set; then
2781 enableval
="$enable_permissive"
2783 if test "$enableval" = yes; then
2784 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2786 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2791 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2792 if test "x$LINE" != x
; then
2793 eval "DEFAULT_$LINE"
2798 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2803 eval "$ac_cv_use_permissive"
2804 if test "$no_cache" != 1; then
2805 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2808 if test "$wxUSE_PERMISSIVE" = yes; then
2809 echo "$ac_t""yes" 1>&6
2811 echo "$ac_t""no" 1>&6
2815 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2816 echo "configure:2817: checking for --enable-no_deps" >&5
2818 # Check whether --enable-no_deps or --disable-no_deps was given.
2819 if test "${enable_no_deps+set}" = set; then
2820 enableval
="$enable_no_deps"
2822 if test "$enableval" = yes; then
2823 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2825 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2830 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2831 if test "x$LINE" != x
; then
2832 eval "DEFAULT_$LINE"
2837 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2842 eval "$ac_cv_use_no_deps"
2843 if test "$no_cache" != 1; then
2844 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2847 if test "$wxUSE_NO_DEPS" = yes; then
2848 echo "$ac_t""yes" 1>&6
2850 echo "$ac_t""no" 1>&6
2855 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2856 echo "configure:2857: checking for --enable-compat20" >&5
2858 # Check whether --enable-compat20 or --disable-compat20 was given.
2859 if test "${enable_compat20+set}" = set; then
2860 enableval
="$enable_compat20"
2862 if test "$enableval" = yes; then
2863 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2865 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2870 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2871 if test "x$LINE" != x
; then
2872 eval "DEFAULT_$LINE"
2877 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2882 eval "$ac_cv_use_compat20"
2883 if test "$no_cache" != 1; then
2884 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2887 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2888 echo "$ac_t""yes" 1>&6
2890 echo "$ac_t""no" 1>&6
2894 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2895 echo "configure:2896: checking for --enable-compat22" >&5
2897 # Check whether --enable-compat22 or --disable-compat22 was given.
2898 if test "${enable_compat22+set}" = set; then
2899 enableval
="$enable_compat22"
2901 if test "$enableval" = yes; then
2902 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2904 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2909 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x
; then
2911 eval "DEFAULT_$LINE"
2916 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2921 eval "$ac_cv_use_compat22"
2922 if test "$no_cache" != 1; then
2923 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2926 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2927 echo "$ac_t""yes" 1>&6
2929 echo "$ac_t""no" 1>&6
2935 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2936 echo "configure:2937: checking for --enable-intl" >&5
2938 # Check whether --enable-intl or --disable-intl was given.
2939 if test "${enable_intl+set}" = set; then
2940 enableval
="$enable_intl"
2942 if test "$enableval" = yes; then
2943 ac_cv_use_intl
='wxUSE_INTL=yes'
2945 ac_cv_use_intl
='wxUSE_INTL=no'
2950 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x
; then
2952 eval "DEFAULT_$LINE"
2957 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2962 eval "$ac_cv_use_intl"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_INTL" = yes; then
2968 echo "$ac_t""yes" 1>&6
2970 echo "$ac_t""no" 1>&6
2974 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2975 echo "configure:2976: checking for --enable-config" >&5
2977 # Check whether --enable-config or --disable-config was given.
2978 if test "${enable_config+set}" = set; then
2979 enableval
="$enable_config"
2981 if test "$enableval" = yes; then
2982 ac_cv_use_config
='wxUSE_CONFIG=yes'
2984 ac_cv_use_config
='wxUSE_CONFIG=no'
2989 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x
; then
2991 eval "DEFAULT_$LINE"
2996 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3001 eval "$ac_cv_use_config"
3002 if test "$no_cache" != 1; then
3003 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3006 if test "$wxUSE_CONFIG" = yes; then
3007 echo "$ac_t""yes" 1>&6
3009 echo "$ac_t""no" 1>&6
3014 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3015 echo "configure:3016: checking for --enable-sockets" >&5
3017 # Check whether --enable-sockets or --disable-sockets was given.
3018 if test "${enable_sockets+set}" = set; then
3019 enableval
="$enable_sockets"
3021 if test "$enableval" = yes; then
3022 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3024 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3029 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3041 eval "$ac_cv_use_sockets"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3046 if test "$wxUSE_SOCKETS" = yes; then
3047 echo "$ac_t""yes" 1>&6
3049 echo "$ac_t""no" 1>&6
3054 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3055 echo "configure:3056: checking for --enable-ipc" >&5
3057 # Check whether --enable-ipc or --disable-ipc was given.
3058 if test "${enable_ipc+set}" = set; then
3059 enableval
="$enable_ipc"
3061 if test "$enableval" = yes; then
3062 ac_cv_use_ipc
='wxUSE_IPC=yes'
3064 ac_cv_use_ipc
='wxUSE_IPC=no'
3069 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3070 if test "x$LINE" != x
; then
3071 eval "DEFAULT_$LINE"
3076 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3081 eval "$ac_cv_use_ipc"
3082 if test "$no_cache" != 1; then
3083 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3086 if test "$wxUSE_IPC" = yes; then
3087 echo "$ac_t""yes" 1>&6
3089 echo "$ac_t""no" 1>&6
3094 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3095 echo "configure:3096: checking for --enable-cmdline" >&5
3097 # Check whether --enable-cmdline or --disable-cmdline was given.
3098 if test "${enable_cmdline+set}" = set; then
3099 enableval
="$enable_cmdline"
3101 if test "$enableval" = yes; then
3102 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3104 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3109 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x
; then
3111 eval "DEFAULT_$LINE"
3116 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3121 eval "$ac_cv_use_cmdline"
3122 if test "$no_cache" != 1; then
3123 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3126 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3127 echo "$ac_t""yes" 1>&6
3129 echo "$ac_t""no" 1>&6
3133 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3134 echo "configure:3135: checking for --enable-datetime" >&5
3136 # Check whether --enable-datetime or --disable-datetime was given.
3137 if test "${enable_datetime+set}" = set; then
3138 enableval
="$enable_datetime"
3140 if test "$enableval" = yes; then
3141 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3143 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3148 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3149 if test "x$LINE" != x
; then
3150 eval "DEFAULT_$LINE"
3155 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3160 eval "$ac_cv_use_datetime"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3165 if test "$wxUSE_DATETIME" = yes; then
3166 echo "$ac_t""yes" 1>&6
3168 echo "$ac_t""no" 1>&6
3172 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3173 echo "configure:3174: checking for --enable-timedate" >&5
3175 # Check whether --enable-timedate or --disable-timedate was given.
3176 if test "${enable_timedate+set}" = set; then
3177 enableval
="$enable_timedate"
3179 if test "$enableval" = yes; then
3180 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3182 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3187 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x
; then
3189 eval "DEFAULT_$LINE"
3194 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3199 eval "$ac_cv_use_timedate"
3200 if test "$no_cache" != 1; then
3201 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3204 if test "$wxUSE_TIMEDATE" = yes; then
3205 echo "$ac_t""yes" 1>&6
3207 echo "$ac_t""no" 1>&6
3211 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3212 echo "configure:3213: checking for --enable-stopwatch" >&5
3214 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3215 if test "${enable_stopwatch+set}" = set; then
3216 enableval
="$enable_stopwatch"
3218 if test "$enableval" = yes; then
3219 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3221 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3226 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3227 if test "x$LINE" != x
; then
3228 eval "DEFAULT_$LINE"
3233 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3238 eval "$ac_cv_use_stopwatch"
3239 if test "$no_cache" != 1; then
3240 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3243 if test "$wxUSE_STOPWATCH" = yes; then
3244 echo "$ac_t""yes" 1>&6
3246 echo "$ac_t""no" 1>&6
3250 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3251 echo "configure:3252: checking for --enable-dialupman" >&5
3253 # Check whether --enable-dialupman or --disable-dialupman was given.
3254 if test "${enable_dialupman+set}" = set; then
3255 enableval
="$enable_dialupman"
3257 if test "$enableval" = yes; then
3258 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3260 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3265 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x
; then
3267 eval "DEFAULT_$LINE"
3272 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3277 eval "$ac_cv_use_dialupman"
3278 if test "$no_cache" != 1; then
3279 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3282 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3283 echo "$ac_t""yes" 1>&6
3285 echo "$ac_t""no" 1>&6
3289 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3290 echo "configure:3291: checking for --enable-apple_ieee" >&5
3292 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3293 if test "${enable_apple_ieee+set}" = set; then
3294 enableval
="$enable_apple_ieee"
3296 if test "$enableval" = yes; then
3297 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3299 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3304 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3305 if test "x$LINE" != x
; then
3306 eval "DEFAULT_$LINE"
3311 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3316 eval "$ac_cv_use_apple_ieee"
3317 if test "$no_cache" != 1; then
3318 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3321 if test "$wxUSE_APPLE_IEEE" = yes; then
3322 echo "$ac_t""yes" 1>&6
3324 echo "$ac_t""no" 1>&6
3328 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3329 echo "configure:3330: checking for --enable-timer" >&5
3331 # Check whether --enable-timer or --disable-timer was given.
3332 if test "${enable_timer+set}" = set; then
3333 enableval
="$enable_timer"
3335 if test "$enableval" = yes; then
3336 ac_cv_use_timer
='wxUSE_TIMER=yes'
3338 ac_cv_use_timer
='wxUSE_TIMER=no'
3343 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3344 if test "x$LINE" != x
; then
3345 eval "DEFAULT_$LINE"
3350 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3355 eval "$ac_cv_use_timer"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3360 if test "$wxUSE_TIMER" = yes; then
3361 echo "$ac_t""yes" 1>&6
3363 echo "$ac_t""no" 1>&6
3367 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3368 echo "configure:3369: checking for --enable-wave" >&5
3370 # Check whether --enable-wave or --disable-wave was given.
3371 if test "${enable_wave+set}" = set; then
3372 enableval
="$enable_wave"
3374 if test "$enableval" = yes; then
3375 ac_cv_use_wave
='wxUSE_WAVE=yes'
3377 ac_cv_use_wave
='wxUSE_WAVE=no'
3382 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x
; then
3384 eval "DEFAULT_$LINE"
3389 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3394 eval "$ac_cv_use_wave"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_WAVE" = yes; then
3400 echo "$ac_t""yes" 1>&6
3402 echo "$ac_t""no" 1>&6
3406 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3407 echo "configure:3408: checking for --enable-fraction" >&5
3409 # Check whether --enable-fraction or --disable-fraction was given.
3410 if test "${enable_fraction+set}" = set; then
3411 enableval
="$enable_fraction"
3413 if test "$enableval" = yes; then
3414 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3416 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3421 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3422 if test "x$LINE" != x
; then
3423 eval "DEFAULT_$LINE"
3428 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3433 eval "$ac_cv_use_fraction"
3434 if test "$no_cache" != 1; then
3435 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3438 if test "$wxUSE_FRACTION" = yes; then
3439 echo "$ac_t""yes" 1>&6
3441 echo "$ac_t""no" 1>&6
3445 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3446 echo "configure:3447: checking for --enable-dynlib" >&5
3448 # Check whether --enable-dynlib or --disable-dynlib was given.
3449 if test "${enable_dynlib+set}" = set; then
3450 enableval
="$enable_dynlib"
3452 if test "$enableval" = yes; then
3453 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3455 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3460 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x
; then
3462 eval "DEFAULT_$LINE"
3467 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3472 eval "$ac_cv_use_dynlib"
3473 if test "$no_cache" != 1; then
3474 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3477 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3478 echo "$ac_t""yes" 1>&6
3480 echo "$ac_t""no" 1>&6
3484 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3485 echo "configure:3486: checking for --enable-longlong" >&5
3487 # Check whether --enable-longlong or --disable-longlong was given.
3488 if test "${enable_longlong+set}" = set; then
3489 enableval
="$enable_longlong"
3491 if test "$enableval" = yes; then
3492 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3494 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3499 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x
; then
3501 eval "DEFAULT_$LINE"
3506 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3511 eval "$ac_cv_use_longlong"
3512 if test "$no_cache" != 1; then
3513 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3516 if test "$wxUSE_LONGLONG" = yes; then
3517 echo "$ac_t""yes" 1>&6
3519 echo "$ac_t""no" 1>&6
3523 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3524 echo "configure:3525: checking for --enable-geometry" >&5
3526 # Check whether --enable-geometry or --disable-geometry was given.
3527 if test "${enable_geometry+set}" = set; then
3528 enableval
="$enable_geometry"
3530 if test "$enableval" = yes; then
3531 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3533 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3538 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x
; then
3540 eval "DEFAULT_$LINE"
3545 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3550 eval "$ac_cv_use_geometry"
3551 if test "$no_cache" != 1; then
3552 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3555 if test "$wxUSE_GEOMETRY" = yes; then
3556 echo "$ac_t""yes" 1>&6
3558 echo "$ac_t""no" 1>&6
3562 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3563 echo "configure:3564: checking for --enable-log" >&5
3565 # Check whether --enable-log or --disable-log was given.
3566 if test "${enable_log+set}" = set; then
3567 enableval
="$enable_log"
3569 if test "$enableval" = yes; then
3570 ac_cv_use_log
='wxUSE_LOG=yes'
3572 ac_cv_use_log
='wxUSE_LOG=no'
3577 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3578 if test "x$LINE" != x
; then
3579 eval "DEFAULT_$LINE"
3584 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3589 eval "$ac_cv_use_log"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_LOG" = yes; then
3595 echo "$ac_t""yes" 1>&6
3597 echo "$ac_t""no" 1>&6
3601 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3602 echo "configure:3603: checking for --enable-streams" >&5
3604 # Check whether --enable-streams or --disable-streams was given.
3605 if test "${enable_streams+set}" = set; then
3606 enableval
="$enable_streams"
3608 if test "$enableval" = yes; then
3609 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3611 ac_cv_use_streams
='wxUSE_STREAMS=no'
3616 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x
; then
3618 eval "DEFAULT_$LINE"
3623 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3628 eval "$ac_cv_use_streams"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_STREAMS" = yes; then
3634 echo "$ac_t""yes" 1>&6
3636 echo "$ac_t""no" 1>&6
3640 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3641 echo "configure:3642: checking for --enable-file" >&5
3643 # Check whether --enable-file or --disable-file was given.
3644 if test "${enable_file+set}" = set; then
3645 enableval
="$enable_file"
3647 if test "$enableval" = yes; then
3648 ac_cv_use_file
='wxUSE_FILE=yes'
3650 ac_cv_use_file
='wxUSE_FILE=no'
3655 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3656 if test "x$LINE" != x
; then
3657 eval "DEFAULT_$LINE"
3662 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3667 eval "$ac_cv_use_file"
3668 if test "$no_cache" != 1; then
3669 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3672 if test "$wxUSE_FILE" = yes; then
3673 echo "$ac_t""yes" 1>&6
3675 echo "$ac_t""no" 1>&6
3679 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3680 echo "configure:3681: checking for --enable-ffile" >&5
3682 # Check whether --enable-ffile or --disable-ffile was given.
3683 if test "${enable_ffile+set}" = set; then
3684 enableval
="$enable_ffile"
3686 if test "$enableval" = yes; then
3687 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3689 ac_cv_use_ffile
='wxUSE_FFILE=no'
3694 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3695 if test "x$LINE" != x
; then
3696 eval "DEFAULT_$LINE"
3701 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3706 eval "$ac_cv_use_ffile"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3711 if test "$wxUSE_FFILE" = yes; then
3712 echo "$ac_t""yes" 1>&6
3714 echo "$ac_t""no" 1>&6
3718 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3719 echo "configure:3720: checking for --enable-textfile" >&5
3721 # Check whether --enable-textfile or --disable-textfile was given.
3722 if test "${enable_textfile+set}" = set; then
3723 enableval
="$enable_textfile"
3725 if test "$enableval" = yes; then
3726 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3728 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3733 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3734 if test "x$LINE" != x
; then
3735 eval "DEFAULT_$LINE"
3740 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3745 eval "$ac_cv_use_textfile"
3746 if test "$no_cache" != 1; then
3747 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3750 if test "$wxUSE_TEXTFILE" = yes; then
3751 echo "$ac_t""yes" 1>&6
3753 echo "$ac_t""no" 1>&6
3757 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3758 echo "configure:3759: checking for --enable-fontmap" >&5
3760 # Check whether --enable-fontmap or --disable-fontmap was given.
3761 if test "${enable_fontmap+set}" = set; then
3762 enableval
="$enable_fontmap"
3764 if test "$enableval" = yes; then
3765 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3767 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3772 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3773 if test "x$LINE" != x
; then
3774 eval "DEFAULT_$LINE"
3779 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3784 eval "$ac_cv_use_fontmap"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3789 if test "$wxUSE_FONTMAP" = yes; then
3790 echo "$ac_t""yes" 1>&6
3792 echo "$ac_t""no" 1>&6
3796 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3797 echo "configure:3798: checking for --enable-unicode" >&5
3799 # Check whether --enable-unicode or --disable-unicode was given.
3800 if test "${enable_unicode+set}" = set; then
3801 enableval
="$enable_unicode"
3803 if test "$enableval" = yes; then
3804 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3806 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3811 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3812 if test "x$LINE" != x
; then
3813 eval "DEFAULT_$LINE"
3818 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3823 eval "$ac_cv_use_unicode"
3824 if test "$no_cache" != 1; then
3825 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3828 if test "$wxUSE_UNICODE" = yes; then
3829 echo "$ac_t""yes" 1>&6
3831 echo "$ac_t""no" 1>&6
3835 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3836 echo "configure:3837: checking for --enable-wxprintfv" >&5
3838 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3839 if test "${enable_wxprintfv+set}" = set; then
3840 enableval
="$enable_wxprintfv"
3842 if test "$enableval" = yes; then
3843 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3845 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3850 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3851 if test "x$LINE" != x
; then
3852 eval "DEFAULT_$LINE"
3857 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3862 eval "$ac_cv_use_wxprintfv"
3863 if test "$no_cache" != 1; then
3864 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3867 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3868 echo "$ac_t""yes" 1>&6
3870 echo "$ac_t""no" 1>&6
3874 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3875 echo "configure:3876: checking for --enable-std_iostreams" >&5
3877 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3878 if test "${enable_std_iostreams+set}" = set; then
3879 enableval
="$enable_std_iostreams"
3881 if test "$enableval" = yes; then
3882 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3884 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3889 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x
; then
3891 eval "DEFAULT_$LINE"
3896 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3901 eval "$ac_cv_use_std_iostreams"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3906 if test "$wxUSE_STD_IOSTREAM" = yes; then
3907 echo "$ac_t""yes" 1>&6
3909 echo "$ac_t""no" 1>&6
3913 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3914 echo "configure:3915: checking for --enable-filesystem" >&5
3916 # Check whether --enable-filesystem or --disable-filesystem was given.
3917 if test "${enable_filesystem+set}" = set; then
3918 enableval
="$enable_filesystem"
3920 if test "$enableval" = yes; then
3921 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3923 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3928 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x
; then
3930 eval "DEFAULT_$LINE"
3935 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3940 eval "$ac_cv_use_filesystem"
3941 if test "$no_cache" != 1; then
3942 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3945 if test "$wxUSE_FILESYSTEM" = yes; then
3946 echo "$ac_t""yes" 1>&6
3948 echo "$ac_t""no" 1>&6
3952 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3953 echo "configure:3954: checking for --enable-fs_inet" >&5
3955 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3956 if test "${enable_fs_inet+set}" = set; then
3957 enableval
="$enable_fs_inet"
3959 if test "$enableval" = yes; then
3960 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3962 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3967 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3968 if test "x$LINE" != x
; then
3969 eval "DEFAULT_$LINE"
3974 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3979 eval "$ac_cv_use_fs_inet"
3980 if test "$no_cache" != 1; then
3981 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3984 if test "$wxUSE_FS_INET" = yes; then
3985 echo "$ac_t""yes" 1>&6
3987 echo "$ac_t""no" 1>&6
3991 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3992 echo "configure:3993: checking for --enable-fs_zip" >&5
3994 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3995 if test "${enable_fs_zip+set}" = set; then
3996 enableval
="$enable_fs_zip"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4001 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4006 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4018 eval "$ac_cv_use_fs_zip"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_FS_ZIP" = yes; then
4024 echo "$ac_t""yes" 1>&6
4026 echo "$ac_t""no" 1>&6
4030 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4031 echo "configure:4032: checking for --enable-zipstream" >&5
4033 # Check whether --enable-zipstream or --disable-zipstream was given.
4034 if test "${enable_zipstream+set}" = set; then
4035 enableval
="$enable_zipstream"
4037 if test "$enableval" = yes; then
4038 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4040 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4045 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x
; then
4047 eval "DEFAULT_$LINE"
4052 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4057 eval "$ac_cv_use_zipstream"
4058 if test "$no_cache" != 1; then
4059 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4062 if test "$wxUSE_ZIPSTREAM" = yes; then
4063 echo "$ac_t""yes" 1>&6
4065 echo "$ac_t""no" 1>&6
4070 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4071 echo "configure:4072: checking for --enable-catch_segvs" >&5
4073 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4074 if test "${enable_catch_segvs+set}" = set; then
4075 enableval
="$enable_catch_segvs"
4077 if test "$enableval" = yes; then
4078 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4080 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4085 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4086 if test "x$LINE" != x
; then
4087 eval "DEFAULT_$LINE"
4092 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4097 eval "$ac_cv_use_catch_segvs"
4098 if test "$no_cache" != 1; then
4099 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4102 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4103 echo "$ac_t""yes" 1>&6
4105 echo "$ac_t""no" 1>&6
4109 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4110 echo "configure:4111: checking for --enable-snglinst" >&5
4112 # Check whether --enable-snglinst or --disable-snglinst was given.
4113 if test "${enable_snglinst+set}" = set; then
4114 enableval
="$enable_snglinst"
4116 if test "$enableval" = yes; then
4117 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4119 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4124 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4125 if test "x$LINE" != x
; then
4126 eval "DEFAULT_$LINE"
4131 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4136 eval "$ac_cv_use_snglinst"
4137 if test "$no_cache" != 1; then
4138 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4141 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4142 echo "$ac_t""yes" 1>&6
4144 echo "$ac_t""no" 1>&6
4149 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4150 echo "configure:4151: checking for --enable-mimetype" >&5
4152 # Check whether --enable-mimetype or --disable-mimetype was given.
4153 if test "${enable_mimetype+set}" = set; then
4154 enableval
="$enable_mimetype"
4156 if test "$enableval" = yes; then
4157 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4159 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4164 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x
; then
4166 eval "DEFAULT_$LINE"
4171 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4176 eval "$ac_cv_use_mimetype"
4177 if test "$no_cache" != 1; then
4178 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4181 if test "$wxUSE_MIMETYPE" = yes; then
4182 echo "$ac_t""yes" 1>&6
4184 echo "$ac_t""no" 1>&6
4188 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4189 echo "configure:4190: checking for --enable-system_options" >&5
4191 # Check whether --enable-system_options or --disable-system_options was given.
4192 if test "${enable_system_options+set}" = set; then
4193 enableval
="$enable_system_options"
4195 if test "$enableval" = yes; then
4196 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4198 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4203 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4204 if test "x$LINE" != x
; then
4205 eval "DEFAULT_$LINE"
4210 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4215 eval "$ac_cv_use_system_options"
4216 if test "$no_cache" != 1; then
4217 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4220 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4221 echo "$ac_t""yes" 1>&6
4223 echo "$ac_t""no" 1>&6
4229 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4230 echo "configure:4231: checking for --enable-threads" >&5
4232 # Check whether --enable-threads or --disable-threads was given.
4233 if test "${enable_threads+set}" = set; then
4234 enableval
="$enable_threads"
4236 if test "$enableval" = yes; then
4237 ac_cv_use_threads
='wxUSE_THREADS=yes'
4239 ac_cv_use_threads
='wxUSE_THREADS=no'
4244 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4245 if test "x$LINE" != x
; then
4246 eval "DEFAULT_$LINE"
4251 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4256 eval "$ac_cv_use_threads"
4257 if test "$no_cache" != 1; then
4258 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4261 if test "$wxUSE_THREADS" = yes; then
4262 echo "$ac_t""yes" 1>&6
4264 echo "$ac_t""no" 1>&6
4268 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4269 echo "configure:4270: checking for --enable-serial" >&5
4271 # Check whether --enable-serial or --disable-serial was given.
4272 if test "${enable_serial+set}" = set; then
4273 enableval
="$enable_serial"
4275 if test "$enableval" = yes; then
4276 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4278 ac_cv_use_serial
='wxUSE_SERIAL=no'
4283 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4284 if test "x$LINE" != x
; then
4285 eval "DEFAULT_$LINE"
4290 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4295 eval "$ac_cv_use_serial"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4300 if test "$wxUSE_SERIAL" = yes; then
4301 echo "$ac_t""yes" 1>&6
4303 echo "$ac_t""no" 1>&6
4307 if test "$wxUSE_GUI" = "yes"; then
4311 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4312 echo "configure:4313: checking for --enable-docview" >&5
4314 # Check whether --enable-docview or --disable-docview was given.
4315 if test "${enable_docview+set}" = set; then
4316 enableval
="$enable_docview"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4321 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4326 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x
; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4338 eval "$ac_cv_use_docview"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4344 echo "$ac_t""yes" 1>&6
4346 echo "$ac_t""no" 1>&6
4350 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4351 echo "configure:4352: checking for --enable-help" >&5
4353 # Check whether --enable-help or --disable-help was given.
4354 if test "${enable_help+set}" = set; then
4355 enableval
="$enable_help"
4357 if test "$enableval" = yes; then
4358 ac_cv_use_help
='wxUSE_HELP=yes'
4360 ac_cv_use_help
='wxUSE_HELP=no'
4365 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4366 if test "x$LINE" != x
; then
4367 eval "DEFAULT_$LINE"
4372 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4377 eval "$ac_cv_use_help"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4382 if test "$wxUSE_HELP" = yes; then
4383 echo "$ac_t""yes" 1>&6
4385 echo "$ac_t""no" 1>&6
4389 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4390 echo "configure:4391: checking for --enable-mshtmlhelp" >&5
4392 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4393 if test "${enable_mshtmlhelp+set}" = set; then
4394 enableval
="$enable_mshtmlhelp"
4396 if test "$enableval" = yes; then
4397 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4399 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4404 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x
; then
4406 eval "DEFAULT_$LINE"
4411 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4416 eval "$ac_cv_use_mshtmlhelp"
4417 if test "$no_cache" != 1; then
4418 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4421 if test "$wxUSE_MS_HTML_HELP" = yes; then
4422 echo "$ac_t""yes" 1>&6
4424 echo "$ac_t""no" 1>&6
4428 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4429 echo "configure:4430: checking for --enable-html" >&5
4431 # Check whether --enable-html or --disable-html was given.
4432 if test "${enable_html+set}" = set; then
4433 enableval
="$enable_html"
4435 if test "$enableval" = yes; then
4436 ac_cv_use_html
='wxUSE_HTML=yes'
4438 ac_cv_use_html
='wxUSE_HTML=no'
4443 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x
; then
4445 eval "DEFAULT_$LINE"
4450 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4455 eval "$ac_cv_use_html"
4456 if test "$no_cache" != 1; then
4457 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4460 if test "$wxUSE_HTML" = yes; then
4461 echo "$ac_t""yes" 1>&6
4463 echo "$ac_t""no" 1>&6
4467 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4468 echo "configure:4469: checking for --enable-htmlhelp" >&5
4470 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4471 if test "${enable_htmlhelp+set}" = set; then
4472 enableval
="$enable_htmlhelp"
4474 if test "$enableval" = yes; then
4475 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4477 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4482 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4483 if test "x$LINE" != x
; then
4484 eval "DEFAULT_$LINE"
4489 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4494 eval "$ac_cv_use_htmlhelp"
4495 if test "$no_cache" != 1; then
4496 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4499 if test "$wxUSE_WXHTML_HELP" = yes; then
4500 echo "$ac_t""yes" 1>&6
4502 echo "$ac_t""no" 1>&6
4506 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4507 echo "configure:4508: checking for --enable-constraints" >&5
4509 # Check whether --enable-constraints or --disable-constraints was given.
4510 if test "${enable_constraints+set}" = set; then
4511 enableval
="$enable_constraints"
4513 if test "$enableval" = yes; then
4514 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4516 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4521 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4522 if test "x$LINE" != x
; then
4523 eval "DEFAULT_$LINE"
4528 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4533 eval "$ac_cv_use_constraints"
4534 if test "$no_cache" != 1; then
4535 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4538 if test "$wxUSE_CONSTRAINTS" = yes; then
4539 echo "$ac_t""yes" 1>&6
4541 echo "$ac_t""no" 1>&6
4545 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4546 echo "configure:4547: checking for --enable-printarch" >&5
4548 # Check whether --enable-printarch or --disable-printarch was given.
4549 if test "${enable_printarch+set}" = set; then
4550 enableval
="$enable_printarch"
4552 if test "$enableval" = yes; then
4553 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4555 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4560 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4561 if test "x$LINE" != x
; then
4562 eval "DEFAULT_$LINE"
4567 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4572 eval "$ac_cv_use_printarch"
4573 if test "$no_cache" != 1; then
4574 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4577 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4578 echo "$ac_t""yes" 1>&6
4580 echo "$ac_t""no" 1>&6
4584 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4585 echo "configure:4586: checking for --enable-mdi" >&5
4587 # Check whether --enable-mdi or --disable-mdi was given.
4588 if test "${enable_mdi+set}" = set; then
4589 enableval
="$enable_mdi"
4591 if test "$enableval" = yes; then
4592 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4594 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4599 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4600 if test "x$LINE" != x
; then
4601 eval "DEFAULT_$LINE"
4606 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4611 eval "$ac_cv_use_mdi"
4612 if test "$no_cache" != 1; then
4613 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4616 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4617 echo "$ac_t""yes" 1>&6
4619 echo "$ac_t""no" 1>&6
4623 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4624 echo "configure:4625: checking for --enable-loggui" >&5
4626 # Check whether --enable-loggui or --disable-loggui was given.
4627 if test "${enable_loggui+set}" = set; then
4628 enableval
="$enable_loggui"
4630 if test "$enableval" = yes; then
4631 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4633 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4638 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x
; then
4640 eval "DEFAULT_$LINE"
4645 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4650 eval "$ac_cv_use_loggui"
4651 if test "$no_cache" != 1; then
4652 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4655 if test "$wxUSE_LOGGUI" = yes; then
4656 echo "$ac_t""yes" 1>&6
4658 echo "$ac_t""no" 1>&6
4662 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4663 echo "configure:4664: checking for --enable-logwin" >&5
4665 # Check whether --enable-logwin or --disable-logwin was given.
4666 if test "${enable_logwin+set}" = set; then
4667 enableval
="$enable_logwin"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4672 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4677 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x
; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4689 eval "$ac_cv_use_logwin"
4690 if test "$no_cache" != 1; then
4691 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4694 if test "$wxUSE_LOGWINDOW" = yes; then
4695 echo "$ac_t""yes" 1>&6
4697 echo "$ac_t""no" 1>&6
4702 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4703 echo "configure:4704: checking for --enable-postscript" >&5
4705 # Check whether --enable-postscript or --disable-postscript was given.
4706 if test "${enable_postscript+set}" = set; then
4707 enableval
="$enable_postscript"
4709 if test "$enableval" = yes; then
4710 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4712 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4717 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4718 if test "x$LINE" != x
; then
4719 eval "DEFAULT_$LINE"
4724 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4729 eval "$ac_cv_use_postscript"
4730 if test "$no_cache" != 1; then
4731 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4734 if test "$wxUSE_POSTSCRIPT" = yes; then
4735 echo "$ac_t""yes" 1>&6
4737 echo "$ac_t""no" 1>&6
4744 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4745 echo "configure:4746: checking for --enable-prologio" >&5
4747 # Check whether --enable-prologio or --disable-prologio was given.
4748 if test "${enable_prologio+set}" = set; then
4749 enableval
="$enable_prologio"
4751 if test "$enableval" = yes; then
4752 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4754 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4759 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4760 if test "x$LINE" != x
; then
4761 eval "DEFAULT_$LINE"
4766 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4771 eval "$ac_cv_use_prologio"
4772 if test "$no_cache" != 1; then
4773 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4776 if test "$wxUSE_PROLOGIO" = yes; then
4777 echo "$ac_t""yes" 1>&6
4779 echo "$ac_t""no" 1>&6
4783 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4784 echo "configure:4785: checking for --enable-resources" >&5
4786 # Check whether --enable-resources or --disable-resources was given.
4787 if test "${enable_resources+set}" = set; then
4788 enableval
="$enable_resources"
4790 if test "$enableval" = yes; then
4791 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4793 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4798 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x
; then
4800 eval "DEFAULT_$LINE"
4805 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4810 eval "$ac_cv_use_resources"
4811 if test "$no_cache" != 1; then
4812 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4815 if test "$wxUSE_RESOURCES" = yes; then
4816 echo "$ac_t""yes" 1>&6
4818 echo "$ac_t""no" 1>&6
4823 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4824 echo "configure:4825: checking for --enable-xresources" >&5
4826 # Check whether --enable-xresources or --disable-xresources was given.
4827 if test "${enable_xresources+set}" = set; then
4828 enableval
="$enable_xresources"
4830 if test "$enableval" = yes; then
4831 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4833 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4838 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4839 if test "x$LINE" != x
; then
4840 eval "DEFAULT_$LINE"
4845 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4850 eval "$ac_cv_use_xresources"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4855 if test "$wxUSE_X_RESOURCES" = yes; then
4856 echo "$ac_t""yes" 1>&6
4858 echo "$ac_t""no" 1>&6
4864 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4865 echo "configure:4866: checking for --enable-clipboard" >&5
4867 # Check whether --enable-clipboard or --disable-clipboard was given.
4868 if test "${enable_clipboard+set}" = set; then
4869 enableval
="$enable_clipboard"
4871 if test "$enableval" = yes; then
4872 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4874 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4879 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4880 if test "x$LINE" != x
; then
4881 eval "DEFAULT_$LINE"
4886 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4891 eval "$ac_cv_use_clipboard"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_CLIPBOARD" = yes; then
4897 echo "$ac_t""yes" 1>&6
4899 echo "$ac_t""no" 1>&6
4903 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4904 echo "configure:4905: checking for --enable-dnd" >&5
4906 # Check whether --enable-dnd or --disable-dnd was given.
4907 if test "${enable_dnd+set}" = set; then
4908 enableval
="$enable_dnd"
4910 if test "$enableval" = yes; then
4911 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4913 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4918 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4919 if test "x$LINE" != x
; then
4920 eval "DEFAULT_$LINE"
4925 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4930 eval "$ac_cv_use_dnd"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4936 echo "$ac_t""yes" 1>&6
4938 echo "$ac_t""no" 1>&6
4942 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4943 echo "configure:4944: checking for --enable-metafile" >&5
4945 # Check whether --enable-metafile or --disable-metafile was given.
4946 if test "${enable_metafile+set}" = set; then
4947 enableval
="$enable_metafile"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4952 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4957 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4969 eval "$ac_cv_use_metafile"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_METAFILE" = yes; then
4975 echo "$ac_t""yes" 1>&6
4977 echo "$ac_t""no" 1>&6
4982 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4983 echo "configure:4984: checking for --enable-treelayout" >&5
4985 # Check whether --enable-treelayout or --disable-treelayout was given.
4986 if test "${enable_treelayout+set}" = set; then
4987 enableval
="$enable_treelayout"
4989 if test "$enableval" = yes; then
4990 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
4992 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
4997 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5004 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5009 eval "$ac_cv_use_treelayout"
5010 if test "$no_cache" != 1; then
5011 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5014 if test "$wxUSE_TREELAYOUT" = yes; then
5015 echo "$ac_t""yes" 1>&6
5017 echo "$ac_t""no" 1>&6
5023 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5024 echo "configure:5025: checking for --enable-controls" >&5
5026 # Check whether --enable-controls or --disable-controls was given.
5027 if test "${enable_controls+set}" = set; then
5028 enableval
="$enable_controls"
5030 if test "$enableval" = yes; then
5031 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5033 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5038 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5039 if test "x$LINE" != x
; then
5040 eval "DEFAULT_$LINE"
5045 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5050 eval "$ac_cv_use_controls"
5051 if test "$no_cache" != 1; then
5052 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5055 if test "$wxUSE_CONTROLS" = yes; then
5056 echo "$ac_t""yes" 1>&6
5058 echo "$ac_t""no" 1>&6
5062 if test "$wxUSE_CONTROLS" = "yes"; then
5063 DEFAULT_wxUSE_ACCEL
=yes
5064 DEFAULT_wxUSE_BMPBUTTON
=yes
5065 DEFAULT_wxUSE_BUTTON
=yes
5066 DEFAULT_wxUSE_CALCTRL
=no
5067 DEFAULT_wxUSE_CARET
=yes
5068 DEFAULT_wxUSE_COMBOBOX
=yes
5069 DEFAULT_wxUSE_CHECKBOX
=yes
5070 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5071 DEFAULT_wxUSE_CHOICE
=yes
5072 DEFAULT_wxUSE_GAUGE
=yes
5073 DEFAULT_wxUSE_GRID
=yes
5074 DEFAULT_wxUSE_NEW_GRID
=yes
5075 DEFAULT_wxUSE_IMAGLIST
=yes
5076 DEFAULT_wxUSE_LISTBOX
=yes
5077 DEFAULT_wxUSE_LISTCTRL
=yes
5078 DEFAULT_wxUSE_NOTEBOOK
=yes
5079 DEFAULT_wxUSE_PROPSHEET
=yes
5080 DEFAULT_wxUSE_RADIOBOX
=yes
5081 DEFAULT_wxUSE_RADIOBTN
=yes
5082 DEFAULT_wxUSE_SASH
=yes
5083 DEFAULT_wxUSE_SCROLLBAR
=yes
5084 DEFAULT_wxUSE_SLIDER
=yes
5085 DEFAULT_wxUSE_SPINBTN
=yes
5086 DEFAULT_wxUSE_SPINCTRL
=yes
5087 DEFAULT_wxUSE_SPLITTER
=yes
5088 DEFAULT_wxUSE_STATBMP
=yes
5089 DEFAULT_wxUSE_STATBOX
=yes
5090 DEFAULT_wxUSE_STATLINE
=yes
5091 DEFAULT_wxUSE_STATUSBAR
=yes
5092 DEFAULT_wxUSE_TAB_DIALOG
=yes
5093 DEFAULT_wxUSE_TOGGLEBTN
=yes
5094 DEFAULT_wxUSE_TOOLBAR
=yes
5095 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5096 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5097 DEFAULT_wxUSE_TOOLTIPS
=yes
5098 DEFAULT_wxUSE_TREECTRL
=yes
5099 DEFAULT_wxUSE_POPUPWIN
=yes
5100 elif test "$wxUSE_CONTROLS" = "no"; then
5101 DEFAULT_wxUSE_ACCEL
=no
5102 DEFAULT_wxUSE_BMPBUTTON
=no
5103 DEFAULT_wxUSE_BUTTON
=no
5104 DEFAULT_wxUSE_CALCTRL
=no
5105 DEFAULT_wxUSE_CARET
=no
5106 DEFAULT_wxUSE_COMBOBOX
=no
5107 DEFAULT_wxUSE_CHECKBOX
=no
5108 DEFAULT_wxUSE_CHECKLISTBOX
=no
5109 DEFAULT_wxUSE_CHOICE
=no
5110 DEFAULT_wxUSE_GAUGE
=no
5111 DEFAULT_wxUSE_GRID
=no
5112 DEFAULT_wxUSE_NEW_GRID
=no
5113 DEFAULT_wxUSE_IMAGLIST
=no
5114 DEFAULT_wxUSE_LISTBOX
=no
5115 DEFAULT_wxUSE_LISTCTRL
=no
5116 DEFAULT_wxUSE_NOTEBOOK
=no
5117 DEFAULT_wxUSE_PROPSHEET
=no
5118 DEFAULT_wxUSE_RADIOBOX
=no
5119 DEFAULT_wxUSE_RADIOBTN
=no
5120 DEFAULT_wxUSE_SASH
=no
5121 DEFAULT_wxUSE_SCROLLBAR
=no
5122 DEFAULT_wxUSE_SLIDER
=no
5123 DEFAULT_wxUSE_SPINBTN
=no
5124 DEFAULT_wxUSE_SPINCTRL
=no
5125 DEFAULT_wxUSE_SPLITTER
=no
5126 DEFAULT_wxUSE_STATBMP
=no
5127 DEFAULT_wxUSE_STATBOX
=no
5128 DEFAULT_wxUSE_STATLINE
=no
5129 DEFAULT_wxUSE_STATUSBAR
=no
5130 DEFAULT_wxUSE_TAB_DIALOG
=no
5131 DEFAULT_wxUSE_TOGGLEBTN
=no
5132 DEFAULT_wxUSE_TOOLBAR
=no
5133 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5134 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5135 DEFAULT_wxUSE_TOOLTIPS
=no
5136 DEFAULT_wxUSE_TREECTRL
=no
5137 DEFAULT_wxUSE_POPUPWIN
=no
5141 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5142 echo "configure:5143: checking for --enable-accel" >&5
5144 # Check whether --enable-accel or --disable-accel was given.
5145 if test "${enable_accel+set}" = set; then
5146 enableval
="$enable_accel"
5148 if test "$enableval" = yes; then
5149 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5151 ac_cv_use_accel
='wxUSE_ACCEL=no'
5156 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x
; then
5158 eval "DEFAULT_$LINE"
5163 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5168 eval "$ac_cv_use_accel"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5173 if test "$wxUSE_ACCEL" = yes; then
5174 echo "$ac_t""yes" 1>&6
5176 echo "$ac_t""no" 1>&6
5180 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5181 echo "configure:5182: checking for --enable-button" >&5
5183 # Check whether --enable-button or --disable-button was given.
5184 if test "${enable_button+set}" = set; then
5185 enableval
="$enable_button"
5187 if test "$enableval" = yes; then
5188 ac_cv_use_button
='wxUSE_BUTTON=yes'
5190 ac_cv_use_button
='wxUSE_BUTTON=no'
5195 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5196 if test "x$LINE" != x
; then
5197 eval "DEFAULT_$LINE"
5202 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5207 eval "$ac_cv_use_button"
5208 if test "$no_cache" != 1; then
5209 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5212 if test "$wxUSE_BUTTON" = yes; then
5213 echo "$ac_t""yes" 1>&6
5215 echo "$ac_t""no" 1>&6
5219 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5220 echo "configure:5221: checking for --enable-bmpbutton" >&5
5222 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5223 if test "${enable_bmpbutton+set}" = set; then
5224 enableval
="$enable_bmpbutton"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5229 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5234 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5246 eval "$ac_cv_use_bmpbutton"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5251 if test "$wxUSE_BMPBUTTON" = yes; then
5252 echo "$ac_t""yes" 1>&6
5254 echo "$ac_t""no" 1>&6
5258 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5259 echo "configure:5260: checking for --enable-calendar" >&5
5261 # Check whether --enable-calendar or --disable-calendar was given.
5262 if test "${enable_calendar+set}" = set; then
5263 enableval
="$enable_calendar"
5265 if test "$enableval" = yes; then
5266 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5268 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5273 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5274 if test "x$LINE" != x
; then
5275 eval "DEFAULT_$LINE"
5280 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5285 eval "$ac_cv_use_calendar"
5286 if test "$no_cache" != 1; then
5287 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5290 if test "$wxUSE_CALCTRL" = yes; then
5291 echo "$ac_t""yes" 1>&6
5293 echo "$ac_t""no" 1>&6
5297 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5298 echo "configure:5299: checking for --enable-caret" >&5
5300 # Check whether --enable-caret or --disable-caret was given.
5301 if test "${enable_caret+set}" = set; then
5302 enableval
="$enable_caret"
5304 if test "$enableval" = yes; then
5305 ac_cv_use_caret
='wxUSE_CARET=yes'
5307 ac_cv_use_caret
='wxUSE_CARET=no'
5312 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x
; then
5314 eval "DEFAULT_$LINE"
5319 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5324 eval "$ac_cv_use_caret"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5329 if test "$wxUSE_CARET" = yes; then
5330 echo "$ac_t""yes" 1>&6
5332 echo "$ac_t""no" 1>&6
5336 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5337 echo "configure:5338: checking for --enable-checkbox" >&5
5339 # Check whether --enable-checkbox or --disable-checkbox was given.
5340 if test "${enable_checkbox+set}" = set; then
5341 enableval
="$enable_checkbox"
5343 if test "$enableval" = yes; then
5344 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5346 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5351 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x
; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5363 eval "$ac_cv_use_checkbox"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_CHECKBOX" = yes; then
5369 echo "$ac_t""yes" 1>&6
5371 echo "$ac_t""no" 1>&6
5375 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5376 echo "configure:5377: checking for --enable-checklst" >&5
5378 # Check whether --enable-checklst or --disable-checklst was given.
5379 if test "${enable_checklst+set}" = set; then
5380 enableval
="$enable_checklst"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5385 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5390 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5402 eval "$ac_cv_use_checklst"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_CHECKLST" = yes; then
5408 echo "$ac_t""yes" 1>&6
5410 echo "$ac_t""no" 1>&6
5414 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5415 echo "configure:5416: checking for --enable-choice" >&5
5417 # Check whether --enable-choice or --disable-choice was given.
5418 if test "${enable_choice+set}" = set; then
5419 enableval
="$enable_choice"
5421 if test "$enableval" = yes; then
5422 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5424 ac_cv_use_choice
='wxUSE_CHOICE=no'
5429 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5436 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5441 eval "$ac_cv_use_choice"
5442 if test "$no_cache" != 1; then
5443 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5446 if test "$wxUSE_CHOICE" = yes; then
5447 echo "$ac_t""yes" 1>&6
5449 echo "$ac_t""no" 1>&6
5453 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5454 echo "configure:5455: checking for --enable-combobox" >&5
5456 # Check whether --enable-combobox or --disable-combobox was given.
5457 if test "${enable_combobox+set}" = set; then
5458 enableval
="$enable_combobox"
5460 if test "$enableval" = yes; then
5461 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5463 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5468 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5469 if test "x$LINE" != x
; then
5470 eval "DEFAULT_$LINE"
5475 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5480 eval "$ac_cv_use_combobox"
5481 if test "$no_cache" != 1; then
5482 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5485 if test "$wxUSE_COMBOBOX" = yes; then
5486 echo "$ac_t""yes" 1>&6
5488 echo "$ac_t""no" 1>&6
5492 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5493 echo "configure:5494: checking for --enable-gauge" >&5
5495 # Check whether --enable-gauge or --disable-gauge was given.
5496 if test "${enable_gauge+set}" = set; then
5497 enableval
="$enable_gauge"
5499 if test "$enableval" = yes; then
5500 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5502 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5507 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5508 if test "x$LINE" != x
; then
5509 eval "DEFAULT_$LINE"
5514 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5519 eval "$ac_cv_use_gauge"
5520 if test "$no_cache" != 1; then
5521 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5524 if test "$wxUSE_GAUGE" = yes; then
5525 echo "$ac_t""yes" 1>&6
5527 echo "$ac_t""no" 1>&6
5531 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5532 echo "configure:5533: checking for --enable-grid" >&5
5534 # Check whether --enable-grid or --disable-grid was given.
5535 if test "${enable_grid+set}" = set; then
5536 enableval
="$enable_grid"
5538 if test "$enableval" = yes; then
5539 ac_cv_use_grid
='wxUSE_GRID=yes'
5541 ac_cv_use_grid
='wxUSE_GRID=no'
5546 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5547 if test "x$LINE" != x
; then
5548 eval "DEFAULT_$LINE"
5553 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5558 eval "$ac_cv_use_grid"
5559 if test "$no_cache" != 1; then
5560 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5563 if test "$wxUSE_GRID" = yes; then
5564 echo "$ac_t""yes" 1>&6
5566 echo "$ac_t""no" 1>&6
5570 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5571 echo "configure:5572: checking for --enable-newgrid" >&5
5573 # Check whether --enable-newgrid or --disable-newgrid was given.
5574 if test "${enable_newgrid+set}" = set; then
5575 enableval
="$enable_newgrid"
5577 if test "$enableval" = yes; then
5578 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5580 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5585 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5586 if test "x$LINE" != x
; then
5587 eval "DEFAULT_$LINE"
5592 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5597 eval "$ac_cv_use_newgrid"
5598 if test "$no_cache" != 1; then
5599 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5602 if test "$wxUSE_NEW_GRID" = yes; then
5603 echo "$ac_t""yes" 1>&6
5605 echo "$ac_t""no" 1>&6
5609 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5610 echo "configure:5611: checking for --enable-imaglist" >&5
5612 # Check whether --enable-imaglist or --disable-imaglist was given.
5613 if test "${enable_imaglist+set}" = set; then
5614 enableval
="$enable_imaglist"
5616 if test "$enableval" = yes; then
5617 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5619 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5624 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5625 if test "x$LINE" != x
; then
5626 eval "DEFAULT_$LINE"
5631 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5636 eval "$ac_cv_use_imaglist"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5641 if test "$wxUSE_IMAGLIST" = yes; then
5642 echo "$ac_t""yes" 1>&6
5644 echo "$ac_t""no" 1>&6
5648 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5649 echo "configure:5650: checking for --enable-listbox" >&5
5651 # Check whether --enable-listbox or --disable-listbox was given.
5652 if test "${enable_listbox+set}" = set; then
5653 enableval
="$enable_listbox"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5658 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5663 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5675 eval "$ac_cv_use_listbox"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5680 if test "$wxUSE_LISTBOX" = yes; then
5681 echo "$ac_t""yes" 1>&6
5683 echo "$ac_t""no" 1>&6
5687 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5688 echo "configure:5689: checking for --enable-listctrl" >&5
5690 # Check whether --enable-listctrl or --disable-listctrl was given.
5691 if test "${enable_listctrl+set}" = set; then
5692 enableval
="$enable_listctrl"
5694 if test "$enableval" = yes; then
5695 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5697 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5702 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5709 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5714 eval "$ac_cv_use_listctrl"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5719 if test "$wxUSE_LISTCTRL" = yes; then
5720 echo "$ac_t""yes" 1>&6
5722 echo "$ac_t""no" 1>&6
5726 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5727 echo "configure:5728: checking for --enable-notebook" >&5
5729 # Check whether --enable-notebook or --disable-notebook was given.
5730 if test "${enable_notebook+set}" = set; then
5731 enableval
="$enable_notebook"
5733 if test "$enableval" = yes; then
5734 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5736 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5741 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5742 if test "x$LINE" != x
; then
5743 eval "DEFAULT_$LINE"
5748 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5753 eval "$ac_cv_use_notebook"
5754 if test "$no_cache" != 1; then
5755 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5758 if test "$wxUSE_NOTEBOOK" = yes; then
5759 echo "$ac_t""yes" 1>&6
5761 echo "$ac_t""no" 1>&6
5765 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5766 echo "configure:5767: checking for --enable-propsheet" >&5
5768 # Check whether --enable-propsheet or --disable-propsheet was given.
5769 if test "${enable_propsheet+set}" = set; then
5770 enableval
="$enable_propsheet"
5772 if test "$enableval" = yes; then
5773 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5775 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5780 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5781 if test "x$LINE" != x
; then
5782 eval "DEFAULT_$LINE"
5787 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5792 eval "$ac_cv_use_propsheet"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5797 if test "$wxUSE_PROPSHEET" = yes; then
5798 echo "$ac_t""yes" 1>&6
5800 echo "$ac_t""no" 1>&6
5804 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5805 echo "configure:5806: checking for --enable-radiobox" >&5
5807 # Check whether --enable-radiobox or --disable-radiobox was given.
5808 if test "${enable_radiobox+set}" = set; then
5809 enableval
="$enable_radiobox"
5811 if test "$enableval" = yes; then
5812 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5814 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5819 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5820 if test "x$LINE" != x
; then
5821 eval "DEFAULT_$LINE"
5826 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5831 eval "$ac_cv_use_radiobox"
5832 if test "$no_cache" != 1; then
5833 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5836 if test "$wxUSE_RADIOBOX" = yes; then
5837 echo "$ac_t""yes" 1>&6
5839 echo "$ac_t""no" 1>&6
5843 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5844 echo "configure:5845: checking for --enable-radiobtn" >&5
5846 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5847 if test "${enable_radiobtn+set}" = set; then
5848 enableval
="$enable_radiobtn"
5850 if test "$enableval" = yes; then
5851 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5853 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5858 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5859 if test "x$LINE" != x
; then
5860 eval "DEFAULT_$LINE"
5865 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5870 eval "$ac_cv_use_radiobtn"
5871 if test "$no_cache" != 1; then
5872 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5875 if test "$wxUSE_RADIOBTN" = yes; then
5876 echo "$ac_t""yes" 1>&6
5878 echo "$ac_t""no" 1>&6
5882 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5883 echo "configure:5884: checking for --enable-sash" >&5
5885 # Check whether --enable-sash or --disable-sash was given.
5886 if test "${enable_sash+set}" = set; then
5887 enableval
="$enable_sash"
5889 if test "$enableval" = yes; then
5890 ac_cv_use_sash
='wxUSE_SASH=yes'
5892 ac_cv_use_sash
='wxUSE_SASH=no'
5897 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5898 if test "x$LINE" != x
; then
5899 eval "DEFAULT_$LINE"
5904 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5909 eval "$ac_cv_use_sash"
5910 if test "$no_cache" != 1; then
5911 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5914 if test "$wxUSE_SASH" = yes; then
5915 echo "$ac_t""yes" 1>&6
5917 echo "$ac_t""no" 1>&6
5921 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5922 echo "configure:5923: checking for --enable-scrollbar" >&5
5924 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5925 if test "${enable_scrollbar+set}" = set; then
5926 enableval
="$enable_scrollbar"
5928 if test "$enableval" = yes; then
5929 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5931 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5936 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5937 if test "x$LINE" != x
; then
5938 eval "DEFAULT_$LINE"
5943 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5948 eval "$ac_cv_use_scrollbar"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_SCROLLBAR" = yes; then
5954 echo "$ac_t""yes" 1>&6
5956 echo "$ac_t""no" 1>&6
5960 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5961 echo "configure:5962: checking for --enable-slider" >&5
5963 # Check whether --enable-slider or --disable-slider was given.
5964 if test "${enable_slider+set}" = set; then
5965 enableval
="$enable_slider"
5967 if test "$enableval" = yes; then
5968 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5970 ac_cv_use_slider
='wxUSE_SLIDER=no'
5975 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x
; then
5977 eval "DEFAULT_$LINE"
5982 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5987 eval "$ac_cv_use_slider"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5992 if test "$wxUSE_SLIDER" = yes; then
5993 echo "$ac_t""yes" 1>&6
5995 echo "$ac_t""no" 1>&6
5999 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6000 echo "configure:6001: checking for --enable-spinbtn" >&5
6002 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6003 if test "${enable_spinbtn+set}" = set; then
6004 enableval
="$enable_spinbtn"
6006 if test "$enableval" = yes; then
6007 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6009 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6014 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x
; then
6016 eval "DEFAULT_$LINE"
6021 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6026 eval "$ac_cv_use_spinbtn"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6031 if test "$wxUSE_SPINBTN" = yes; then
6032 echo "$ac_t""yes" 1>&6
6034 echo "$ac_t""no" 1>&6
6038 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6039 echo "configure:6040: checking for --enable-spinctrl" >&5
6041 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6042 if test "${enable_spinctrl+set}" = set; then
6043 enableval
="$enable_spinctrl"
6045 if test "$enableval" = yes; then
6046 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6048 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6053 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6054 if test "x$LINE" != x
; then
6055 eval "DEFAULT_$LINE"
6060 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6065 eval "$ac_cv_use_spinctrl"
6066 if test "$no_cache" != 1; then
6067 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6070 if test "$wxUSE_SPINCTRL" = yes; then
6071 echo "$ac_t""yes" 1>&6
6073 echo "$ac_t""no" 1>&6
6077 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6078 echo "configure:6079: checking for --enable-splitter" >&5
6080 # Check whether --enable-splitter or --disable-splitter was given.
6081 if test "${enable_splitter+set}" = set; then
6082 enableval
="$enable_splitter"
6084 if test "$enableval" = yes; then
6085 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6087 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6092 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6093 if test "x$LINE" != x
; then
6094 eval "DEFAULT_$LINE"
6099 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6104 eval "$ac_cv_use_splitter"
6105 if test "$no_cache" != 1; then
6106 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6109 if test "$wxUSE_SPLITTER" = yes; then
6110 echo "$ac_t""yes" 1>&6
6112 echo "$ac_t""no" 1>&6
6116 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6117 echo "configure:6118: checking for --enable-statbmp" >&5
6119 # Check whether --enable-statbmp or --disable-statbmp was given.
6120 if test "${enable_statbmp+set}" = set; then
6121 enableval
="$enable_statbmp"
6123 if test "$enableval" = yes; then
6124 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6126 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6131 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x
; then
6133 eval "DEFAULT_$LINE"
6138 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6143 eval "$ac_cv_use_statbmp"
6144 if test "$no_cache" != 1; then
6145 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6148 if test "$wxUSE_STATBMP" = yes; then
6149 echo "$ac_t""yes" 1>&6
6151 echo "$ac_t""no" 1>&6
6155 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6156 echo "configure:6157: checking for --enable-statbox" >&5
6158 # Check whether --enable-statbox or --disable-statbox was given.
6159 if test "${enable_statbox+set}" = set; then
6160 enableval
="$enable_statbox"
6162 if test "$enableval" = yes; then
6163 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6165 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6170 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6171 if test "x$LINE" != x
; then
6172 eval "DEFAULT_$LINE"
6177 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6182 eval "$ac_cv_use_statbox"
6183 if test "$no_cache" != 1; then
6184 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6187 if test "$wxUSE_STATBOX" = yes; then
6188 echo "$ac_t""yes" 1>&6
6190 echo "$ac_t""no" 1>&6
6194 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6195 echo "configure:6196: checking for --enable-statline" >&5
6197 # Check whether --enable-statline or --disable-statline was given.
6198 if test "${enable_statline+set}" = set; then
6199 enableval
="$enable_statline"
6201 if test "$enableval" = yes; then
6202 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6204 ac_cv_use_statline
='wxUSE_STATLINE=no'
6209 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6210 if test "x$LINE" != x
; then
6211 eval "DEFAULT_$LINE"
6216 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6221 eval "$ac_cv_use_statline"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6226 if test "$wxUSE_STATLINE" = yes; then
6227 echo "$ac_t""yes" 1>&6
6229 echo "$ac_t""no" 1>&6
6233 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6234 echo "configure:6235: checking for --enable-stattext" >&5
6236 # Check whether --enable-stattext or --disable-stattext was given.
6237 if test "${enable_stattext+set}" = set; then
6238 enableval
="$enable_stattext"
6240 if test "$enableval" = yes; then
6241 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6243 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6248 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6249 if test "x$LINE" != x
; then
6250 eval "DEFAULT_$LINE"
6255 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6260 eval "$ac_cv_use_stattext"
6261 if test "$no_cache" != 1; then
6262 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6265 if test "$wxUSE_STATTEXT" = yes; then
6266 echo "$ac_t""yes" 1>&6
6268 echo "$ac_t""no" 1>&6
6272 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6273 echo "configure:6274: checking for --enable-statusbar" >&5
6275 # Check whether --enable-statusbar or --disable-statusbar was given.
6276 if test "${enable_statusbar+set}" = set; then
6277 enableval
="$enable_statusbar"
6279 if test "$enableval" = yes; then
6280 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6282 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6287 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6288 if test "x$LINE" != x
; then
6289 eval "DEFAULT_$LINE"
6294 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6299 eval "$ac_cv_use_statusbar"
6300 if test "$no_cache" != 1; then
6301 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6304 if test "$wxUSE_STATUSBAR" = yes; then
6305 echo "$ac_t""yes" 1>&6
6307 echo "$ac_t""no" 1>&6
6311 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6312 echo "configure:6313: checking for --enable-tabdialog" >&5
6314 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6315 if test "${enable_tabdialog+set}" = set; then
6316 enableval
="$enable_tabdialog"
6318 if test "$enableval" = yes; then
6319 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6321 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6326 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6327 if test "x$LINE" != x
; then
6328 eval "DEFAULT_$LINE"
6333 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6338 eval "$ac_cv_use_tabdialog"
6339 if test "$no_cache" != 1; then
6340 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6343 if test "$wxUSE_TABDIALOG" = yes; then
6344 echo "$ac_t""yes" 1>&6
6346 echo "$ac_t""no" 1>&6
6350 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6351 echo "configure:6352: checking for --enable-textctrl" >&5
6353 # Check whether --enable-textctrl or --disable-textctrl was given.
6354 if test "${enable_textctrl+set}" = set; then
6355 enableval
="$enable_textctrl"
6357 if test "$enableval" = yes; then
6358 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6360 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6365 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6366 if test "x$LINE" != x
; then
6367 eval "DEFAULT_$LINE"
6372 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6377 eval "$ac_cv_use_textctrl"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6382 if test "$wxUSE_TEXTCTRL" = yes; then
6383 echo "$ac_t""yes" 1>&6
6385 echo "$ac_t""no" 1>&6
6389 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6390 echo "configure:6391: checking for --enable-togglebtn" >&5
6392 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6393 if test "${enable_togglebtn+set}" = set; then
6394 enableval
="$enable_togglebtn"
6396 if test "$enableval" = yes; then
6397 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6399 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6404 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x
; then
6406 eval "DEFAULT_$LINE"
6411 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6416 eval "$ac_cv_use_togglebtn"
6417 if test "$no_cache" != 1; then
6418 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6421 if test "$wxUSE_TOGGLEBTN" = yes; then
6422 echo "$ac_t""yes" 1>&6
6424 echo "$ac_t""no" 1>&6
6428 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6429 echo "configure:6430: checking for --enable-toolbar" >&5
6431 # Check whether --enable-toolbar or --disable-toolbar was given.
6432 if test "${enable_toolbar+set}" = set; then
6433 enableval
="$enable_toolbar"
6435 if test "$enableval" = yes; then
6436 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6438 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6443 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6444 if test "x$LINE" != x
; then
6445 eval "DEFAULT_$LINE"
6450 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6455 eval "$ac_cv_use_toolbar"
6456 if test "$no_cache" != 1; then
6457 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6460 if test "$wxUSE_TOOLBAR" = yes; then
6461 echo "$ac_t""yes" 1>&6
6463 echo "$ac_t""no" 1>&6
6467 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6468 echo "configure:6469: checking for --enable-tbarnative" >&5
6470 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6471 if test "${enable_tbarnative+set}" = set; then
6472 enableval
="$enable_tbarnative"
6474 if test "$enableval" = yes; then
6475 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6477 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6482 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6483 if test "x$LINE" != x
; then
6484 eval "DEFAULT_$LINE"
6489 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6494 eval "$ac_cv_use_tbarnative"
6495 if test "$no_cache" != 1; then
6496 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6499 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6500 echo "$ac_t""yes" 1>&6
6502 echo "$ac_t""no" 1>&6
6506 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6507 echo "configure:6508: checking for --enable-tbarsmpl" >&5
6509 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6510 if test "${enable_tbarsmpl+set}" = set; then
6511 enableval
="$enable_tbarsmpl"
6513 if test "$enableval" = yes; then
6514 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6516 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6521 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x
; then
6523 eval "DEFAULT_$LINE"
6528 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6533 eval "$ac_cv_use_tbarsmpl"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6539 echo "$ac_t""yes" 1>&6
6541 echo "$ac_t""no" 1>&6
6545 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6546 echo "configure:6547: checking for --enable-treectrl" >&5
6548 # Check whether --enable-treectrl or --disable-treectrl was given.
6549 if test "${enable_treectrl+set}" = set; then
6550 enableval
="$enable_treectrl"
6552 if test "$enableval" = yes; then
6553 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6555 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6560 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x
; then
6562 eval "DEFAULT_$LINE"
6567 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6572 eval "$ac_cv_use_treectrl"
6573 if test "$no_cache" != 1; then
6574 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6577 if test "$wxUSE_TREECTRL" = yes; then
6578 echo "$ac_t""yes" 1>&6
6580 echo "$ac_t""no" 1>&6
6584 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6585 echo "configure:6586: checking for --enable-popupwin" >&5
6587 # Check whether --enable-popupwin or --disable-popupwin was given.
6588 if test "${enable_popupwin+set}" = set; then
6589 enableval
="$enable_popupwin"
6591 if test "$enableval" = yes; then
6592 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6594 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6599 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x
; then
6601 eval "DEFAULT_$LINE"
6606 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6611 eval "$ac_cv_use_popupwin"
6612 if test "$no_cache" != 1; then
6613 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6616 if test "$wxUSE_POPUPWIN" = yes; then
6617 echo "$ac_t""yes" 1>&6
6619 echo "$ac_t""no" 1>&6
6625 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6626 echo "configure:6627: checking for --enable-commondlg" >&5
6628 # Check whether --enable-commondlg or --disable-commondlg was given.
6629 if test "${enable_commondlg+set}" = set; then
6630 enableval
="$enable_commondlg"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6635 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6640 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6652 eval "$ac_cv_use_commondlg"
6653 if test "$no_cache" != 1; then
6654 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6657 if test "$wxUSE_COMMONDLGS" = yes; then
6658 echo "$ac_t""yes" 1>&6
6660 echo "$ac_t""no" 1>&6
6664 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6665 echo "configure:6666: checking for --enable-choicedlg" >&5
6667 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6668 if test "${enable_choicedlg+set}" = set; then
6669 enableval
="$enable_choicedlg"
6671 if test "$enableval" = yes; then
6672 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6674 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6679 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6680 if test "x$LINE" != x
; then
6681 eval "DEFAULT_$LINE"
6686 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6691 eval "$ac_cv_use_choicedlg"
6692 if test "$no_cache" != 1; then
6693 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6696 if test "$wxUSE_CHOICEDLG" = yes; then
6697 echo "$ac_t""yes" 1>&6
6699 echo "$ac_t""no" 1>&6
6703 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6704 echo "configure:6705: checking for --enable-coldlg" >&5
6706 # Check whether --enable-coldlg or --disable-coldlg was given.
6707 if test "${enable_coldlg+set}" = set; then
6708 enableval
="$enable_coldlg"
6710 if test "$enableval" = yes; then
6711 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6713 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6718 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6719 if test "x$LINE" != x
; then
6720 eval "DEFAULT_$LINE"
6725 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6730 eval "$ac_cv_use_coldlg"
6731 if test "$no_cache" != 1; then
6732 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6735 if test "$wxUSE_COLOURDLG" = yes; then
6736 echo "$ac_t""yes" 1>&6
6738 echo "$ac_t""no" 1>&6
6742 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6743 echo "configure:6744: checking for --enable-filedlg" >&5
6745 # Check whether --enable-filedlg or --disable-filedlg was given.
6746 if test "${enable_filedlg+set}" = set; then
6747 enableval
="$enable_filedlg"
6749 if test "$enableval" = yes; then
6750 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6752 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6757 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6758 if test "x$LINE" != x
; then
6759 eval "DEFAULT_$LINE"
6764 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6769 eval "$ac_cv_use_filedlg"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6774 if test "$wxUSE_FILEDLG" = yes; then
6775 echo "$ac_t""yes" 1>&6
6777 echo "$ac_t""no" 1>&6
6781 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6782 echo "configure:6783: checking for --enable-filedlg" >&5
6784 # Check whether --enable-filedlg or --disable-filedlg was given.
6785 if test "${enable_filedlg+set}" = set; then
6786 enableval
="$enable_filedlg"
6788 if test "$enableval" = yes; then
6789 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6791 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6796 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6797 if test "x$LINE" != x
; then
6798 eval "DEFAULT_$LINE"
6803 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6808 eval "$ac_cv_use_filedlg"
6809 if test "$no_cache" != 1; then
6810 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6813 if test "$wxUSE_FINDREPLDLG" = yes; then
6814 echo "$ac_t""yes" 1>&6
6816 echo "$ac_t""no" 1>&6
6820 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6821 echo "configure:6822: checking for --enable-fontdlg" >&5
6823 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6824 if test "${enable_fontdlg+set}" = set; then
6825 enableval
="$enable_fontdlg"
6827 if test "$enableval" = yes; then
6828 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6830 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6835 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6836 if test "x$LINE" != x
; then
6837 eval "DEFAULT_$LINE"
6842 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6847 eval "$ac_cv_use_fontdlg"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6852 if test "$wxUSE_FONTDLG" = yes; then
6853 echo "$ac_t""yes" 1>&6
6855 echo "$ac_t""no" 1>&6
6859 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6860 echo "configure:6861: checking for --enable-dirdlg" >&5
6862 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6863 if test "${enable_dirdlg+set}" = set; then
6864 enableval
="$enable_dirdlg"
6866 if test "$enableval" = yes; then
6867 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6869 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6874 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x
; then
6876 eval "DEFAULT_$LINE"
6881 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6886 eval "$ac_cv_use_dirdlg"
6887 if test "$no_cache" != 1; then
6888 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6891 if test "$wxUSE_DIRDLG" = yes; then
6892 echo "$ac_t""yes" 1>&6
6894 echo "$ac_t""no" 1>&6
6898 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6899 echo "configure:6900: checking for --enable-msgdlg" >&5
6901 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6902 if test "${enable_msgdlg+set}" = set; then
6903 enableval
="$enable_msgdlg"
6905 if test "$enableval" = yes; then
6906 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6908 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6913 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6914 if test "x$LINE" != x
; then
6915 eval "DEFAULT_$LINE"
6920 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6925 eval "$ac_cv_use_msgdlg"
6926 if test "$no_cache" != 1; then
6927 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6930 if test "$wxUSE_MSGDLG" = yes; then
6931 echo "$ac_t""yes" 1>&6
6933 echo "$ac_t""no" 1>&6
6937 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6938 echo "configure:6939: checking for --enable-numberdlg" >&5
6940 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6941 if test "${enable_numberdlg+set}" = set; then
6942 enableval
="$enable_numberdlg"
6944 if test "$enableval" = yes; then
6945 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6947 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6952 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6953 if test "x$LINE" != x
; then
6954 eval "DEFAULT_$LINE"
6959 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6964 eval "$ac_cv_use_numberdlg"
6965 if test "$no_cache" != 1; then
6966 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6969 if test "$wxUSE_NUMBERDLG" = yes; then
6970 echo "$ac_t""yes" 1>&6
6972 echo "$ac_t""no" 1>&6
6976 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6977 echo "configure:6978: checking for --enable-splash" >&5
6979 # Check whether --enable-splash or --disable-splash was given.
6980 if test "${enable_splash+set}" = set; then
6981 enableval
="$enable_splash"
6983 if test "$enableval" = yes; then
6984 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6986 ac_cv_use_splash
='wxUSE_SPLASH=no'
6991 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x
; then
6993 eval "DEFAULT_$LINE"
6998 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7003 eval "$ac_cv_use_splash"
7004 if test "$no_cache" != 1; then
7005 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7008 if test "$wxUSE_SPLASH" = yes; then
7009 echo "$ac_t""yes" 1>&6
7011 echo "$ac_t""no" 1>&6
7015 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7016 echo "configure:7017: checking for --enable-textdlg" >&5
7018 # Check whether --enable-textdlg or --disable-textdlg was given.
7019 if test "${enable_textdlg+set}" = set; then
7020 enableval
="$enable_textdlg"
7022 if test "$enableval" = yes; then
7023 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7025 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7030 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7031 if test "x$LINE" != x
; then
7032 eval "DEFAULT_$LINE"
7037 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7042 eval "$ac_cv_use_textdlg"
7043 if test "$no_cache" != 1; then
7044 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7047 if test "$wxUSE_TEXTDLG" = yes; then
7048 echo "$ac_t""yes" 1>&6
7050 echo "$ac_t""no" 1>&6
7054 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7055 echo "configure:7056: checking for --enable-tipdlg" >&5
7057 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7058 if test "${enable_tipdlg+set}" = set; then
7059 enableval
="$enable_tipdlg"
7061 if test "$enableval" = yes; then
7062 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7064 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7069 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7070 if test "x$LINE" != x
; then
7071 eval "DEFAULT_$LINE"
7076 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7081 eval "$ac_cv_use_tipdlg"
7082 if test "$no_cache" != 1; then
7083 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7086 if test "$wxUSE_STARTUP_TIPS" = yes; then
7087 echo "$ac_t""yes" 1>&6
7089 echo "$ac_t""no" 1>&6
7093 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7094 echo "configure:7095: checking for --enable-progressdlg" >&5
7096 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7097 if test "${enable_progressdlg+set}" = set; then
7098 enableval
="$enable_progressdlg"
7100 if test "$enableval" = yes; then
7101 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7103 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7108 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x
; then
7110 eval "DEFAULT_$LINE"
7115 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7120 eval "$ac_cv_use_progressdlg"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_PROGRESSDLG" = yes; then
7126 echo "$ac_t""yes" 1>&6
7128 echo "$ac_t""no" 1>&6
7132 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7133 echo "configure:7134: checking for --enable-wizarddlg" >&5
7135 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7136 if test "${enable_wizarddlg+set}" = set; then
7137 enableval
="$enable_wizarddlg"
7139 if test "$enableval" = yes; then
7140 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7142 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7147 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7148 if test "x$LINE" != x
; then
7149 eval "DEFAULT_$LINE"
7154 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7159 eval "$ac_cv_use_wizarddlg"
7160 if test "$no_cache" != 1; then
7161 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7164 if test "$wxUSE_WIZARDDLG" = yes; then
7165 echo "$ac_t""yes" 1>&6
7167 echo "$ac_t""no" 1>&6
7173 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7174 echo "configure:7175: checking for --enable-menus" >&5
7176 # Check whether --enable-menus or --disable-menus was given.
7177 if test "${enable_menus+set}" = set; then
7178 enableval
="$enable_menus"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_menus
='wxUSE_MENUS=yes'
7183 ac_cv_use_menus
='wxUSE_MENUS=no'
7188 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7200 eval "$ac_cv_use_menus"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7205 if test "$wxUSE_MENUS" = yes; then
7206 echo "$ac_t""yes" 1>&6
7208 echo "$ac_t""no" 1>&6
7212 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7213 echo "configure:7214: checking for --enable-miniframe" >&5
7215 # Check whether --enable-miniframe or --disable-miniframe was given.
7216 if test "${enable_miniframe+set}" = set; then
7217 enableval
="$enable_miniframe"
7219 if test "$enableval" = yes; then
7220 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7222 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7227 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x
; then
7229 eval "DEFAULT_$LINE"
7234 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7239 eval "$ac_cv_use_miniframe"
7240 if test "$no_cache" != 1; then
7241 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7244 if test "$wxUSE_MINIFRAME" = yes; then
7245 echo "$ac_t""yes" 1>&6
7247 echo "$ac_t""no" 1>&6
7251 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7252 echo "configure:7253: checking for --enable-tooltips" >&5
7254 # Check whether --enable-tooltips or --disable-tooltips was given.
7255 if test "${enable_tooltips+set}" = set; then
7256 enableval
="$enable_tooltips"
7258 if test "$enableval" = yes; then
7259 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7261 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7266 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7267 if test "x$LINE" != x
; then
7268 eval "DEFAULT_$LINE"
7273 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7278 eval "$ac_cv_use_tooltips"
7279 if test "$no_cache" != 1; then
7280 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7283 if test "$wxUSE_TOOLTIPS" = yes; then
7284 echo "$ac_t""yes" 1>&6
7286 echo "$ac_t""no" 1>&6
7290 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7291 echo "configure:7292: checking for --enable-splines" >&5
7293 # Check whether --enable-splines or --disable-splines was given.
7294 if test "${enable_splines+set}" = set; then
7295 enableval
="$enable_splines"
7297 if test "$enableval" = yes; then
7298 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7300 ac_cv_use_splines
='wxUSE_SPLINES=no'
7305 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7306 if test "x$LINE" != x
; then
7307 eval "DEFAULT_$LINE"
7312 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7317 eval "$ac_cv_use_splines"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7322 if test "$wxUSE_SPLINES" = yes; then
7323 echo "$ac_t""yes" 1>&6
7325 echo "$ac_t""no" 1>&6
7329 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7330 echo "configure:7331: checking for --enable-validators" >&5
7332 # Check whether --enable-validators or --disable-validators was given.
7333 if test "${enable_validators+set}" = set; then
7334 enableval
="$enable_validators"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7339 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7344 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7356 eval "$ac_cv_use_validators"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7361 if test "$wxUSE_VALIDATORS" = yes; then
7362 echo "$ac_t""yes" 1>&6
7364 echo "$ac_t""no" 1>&6
7368 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7369 echo "configure:7370: checking for --enable-busyinfo" >&5
7371 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7372 if test "${enable_busyinfo+set}" = set; then
7373 enableval
="$enable_busyinfo"
7375 if test "$enableval" = yes; then
7376 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7378 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7383 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7384 if test "x$LINE" != x
; then
7385 eval "DEFAULT_$LINE"
7390 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7395 eval "$ac_cv_use_busyinfo"
7396 if test "$no_cache" != 1; then
7397 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7400 if test "$wxUSE_BUSYINFO" = yes; then
7401 echo "$ac_t""yes" 1>&6
7403 echo "$ac_t""no" 1>&6
7407 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7408 echo "configure:7409: checking for --enable-joystick" >&5
7410 # Check whether --enable-joystick or --disable-joystick was given.
7411 if test "${enable_joystick+set}" = set; then
7412 enableval
="$enable_joystick"
7414 if test "$enableval" = yes; then
7415 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7417 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7422 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7423 if test "x$LINE" != x
; then
7424 eval "DEFAULT_$LINE"
7429 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7434 eval "$ac_cv_use_joystick"
7435 if test "$no_cache" != 1; then
7436 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7439 if test "$wxUSE_JOYSTICK" = yes; then
7440 echo "$ac_t""yes" 1>&6
7442 echo "$ac_t""no" 1>&6
7446 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7447 echo "configure:7448: checking for --enable-metafile" >&5
7449 # Check whether --enable-metafile or --disable-metafile was given.
7450 if test "${enable_metafile+set}" = set; then
7451 enableval
="$enable_metafile"
7453 if test "$enableval" = yes; then
7454 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7456 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7461 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7462 if test "x$LINE" != x
; then
7463 eval "DEFAULT_$LINE"
7468 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7473 eval "$ac_cv_use_metafile"
7474 if test "$no_cache" != 1; then
7475 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7478 if test "$wxUSE_METAFILE" = yes; then
7479 echo "$ac_t""yes" 1>&6
7481 echo "$ac_t""no" 1>&6
7485 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7486 echo "configure:7487: checking for --enable-dragimage" >&5
7488 # Check whether --enable-dragimage or --disable-dragimage was given.
7489 if test "${enable_dragimage+set}" = set; then
7490 enableval
="$enable_dragimage"
7492 if test "$enableval" = yes; then
7493 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7495 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7500 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7501 if test "x$LINE" != x
; then
7502 eval "DEFAULT_$LINE"
7507 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7512 eval "$ac_cv_use_dragimage"
7513 if test "$no_cache" != 1; then
7514 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7517 if test "$wxUSE_DRAGIMAGE" = yes; then
7518 echo "$ac_t""yes" 1>&6
7520 echo "$ac_t""no" 1>&6
7526 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7527 echo "configure:7528: checking for --enable-palette" >&5
7529 # Check whether --enable-palette or --disable-palette was given.
7530 if test "${enable_palette+set}" = set; then
7531 enableval
="$enable_palette"
7533 if test "$enableval" = yes; then
7534 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7536 ac_cv_use_palette
='wxUSE_PALETTE=no'
7541 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x
; then
7543 eval "DEFAULT_$LINE"
7548 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7553 eval "$ac_cv_use_palette"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7558 if test "$wxUSE_PALETTE" = yes; then
7559 echo "$ac_t""yes" 1>&6
7561 echo "$ac_t""no" 1>&6
7565 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7566 echo "configure:7567: checking for --enable-image" >&5
7568 # Check whether --enable-image or --disable-image was given.
7569 if test "${enable_image+set}" = set; then
7570 enableval
="$enable_image"
7572 if test "$enableval" = yes; then
7573 ac_cv_use_image
='wxUSE_IMAGE=yes'
7575 ac_cv_use_image
='wxUSE_IMAGE=no'
7580 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7581 if test "x$LINE" != x
; then
7582 eval "DEFAULT_$LINE"
7587 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7592 eval "$ac_cv_use_image"
7593 if test "$no_cache" != 1; then
7594 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7597 if test "$wxUSE_IMAGE" = yes; then
7598 echo "$ac_t""yes" 1>&6
7600 echo "$ac_t""no" 1>&6
7604 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7605 echo "configure:7606: checking for --enable-gif" >&5
7607 # Check whether --enable-gif or --disable-gif was given.
7608 if test "${enable_gif+set}" = set; then
7609 enableval
="$enable_gif"
7611 if test "$enableval" = yes; then
7612 ac_cv_use_gif
='wxUSE_GIF=yes'
7614 ac_cv_use_gif
='wxUSE_GIF=no'
7619 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x
; then
7621 eval "DEFAULT_$LINE"
7626 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7631 eval "$ac_cv_use_gif"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7636 if test "$wxUSE_GIF" = yes; then
7637 echo "$ac_t""yes" 1>&6
7639 echo "$ac_t""no" 1>&6
7643 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7644 echo "configure:7645: checking for --enable-pcx" >&5
7646 # Check whether --enable-pcx or --disable-pcx was given.
7647 if test "${enable_pcx+set}" = set; then
7648 enableval
="$enable_pcx"
7650 if test "$enableval" = yes; then
7651 ac_cv_use_pcx
='wxUSE_PCX=yes'
7653 ac_cv_use_pcx
='wxUSE_PCX=no'
7658 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x
; then
7660 eval "DEFAULT_$LINE"
7665 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7670 eval "$ac_cv_use_pcx"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7675 if test "$wxUSE_PCX" = yes; then
7676 echo "$ac_t""yes" 1>&6
7678 echo "$ac_t""no" 1>&6
7682 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7683 echo "configure:7684: checking for --enable-pnm" >&5
7685 # Check whether --enable-pnm or --disable-pnm was given.
7686 if test "${enable_pnm+set}" = set; then
7687 enableval
="$enable_pnm"
7689 if test "$enableval" = yes; then
7690 ac_cv_use_pnm
='wxUSE_PNM=yes'
7692 ac_cv_use_pnm
='wxUSE_PNM=no'
7697 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7698 if test "x$LINE" != x
; then
7699 eval "DEFAULT_$LINE"
7704 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7709 eval "$ac_cv_use_pnm"
7710 if test "$no_cache" != 1; then
7711 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7714 if test "$wxUSE_PNM" = yes; then
7715 echo "$ac_t""yes" 1>&6
7717 echo "$ac_t""no" 1>&6
7721 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7722 echo "configure:7723: checking for --enable-pnm" >&5
7724 # Check whether --enable-pnm or --disable-pnm was given.
7725 if test "${enable_pnm+set}" = set; then
7726 enableval
="$enable_pnm"
7728 if test "$enableval" = yes; then
7729 ac_cv_use_pnm
='wxUSE_XPM=yes'
7731 ac_cv_use_pnm
='wxUSE_XPM=no'
7736 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7737 if test "x$LINE" != x
; then
7738 eval "DEFAULT_$LINE"
7743 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7748 eval "$ac_cv_use_pnm"
7749 if test "$no_cache" != 1; then
7750 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7753 if test "$wxUSE_XPM" = yes; then
7754 echo "$ac_t""yes" 1>&6
7756 echo "$ac_t""no" 1>&6
7763 echo "saving argument cache $wx_arg_cache_file"
7764 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7768 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7769 echo "configure:7770: checking for toolkit" >&5
7771 if test "$wxUSE_GUI" = "yes"; then
7773 if test "$USE_BEOS" = 1; then
7774 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7777 if test "$TOOLKIT_GIVEN" = 1; then
7778 for toolkit
in `echo $ALL_TOOLKITS`; do
7780 eval "value=\$${var}"
7781 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7784 for toolkit
in `echo $ALL_TOOLKITS`; do
7785 if test "$has_toolkit_in_cache" != 1; then
7786 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7788 var
=DEFAULT_wxUSE_
$toolkit
7790 eval "wxUSE_$toolkit=\$${var}"
7794 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7795 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7800 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7801 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7810 case "$NUM_TOOLKITS" in
7814 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7817 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7820 for toolkit
in `echo $ALL_TOOLKITS`; do
7822 eval "value=\$${var}"
7823 if test "x$value" != x
; then
7824 cache_var
=CACHE_
$toolkit
7825 eval "cache=\$${cache_var}"
7826 if test "$cache" = 1; then
7827 echo "$var=$value" >> ${wx_arg_cache_file}
7829 if test "$value" = 1; then
7830 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7831 echo "$ac_t""$toolkit_echo" 1>&6
7837 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7841 cat > confcache
<<\EOF
7842 # This file is a shell script that caches the results of configure
7843 # tests run on this system so they can be shared between configure
7844 # scripts and configure runs. It is not useful on other systems.
7845 # If it contains results you don't want to keep, you may remove or edit it.
7847 # By default, configure uses ./config.cache as the cache file,
7848 # creating it if it does not exist already. You can give configure
7849 # the --cache-file=FILE option to use a different cache file; that is
7850 # what configure does when it calls configure scripts in
7851 # subdirectories, so they share the cache.
7852 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7853 # config.status only pays attention to the cache file if you give it the
7854 # --recheck option to rerun configure.
7857 # The following way of writing the cache mishandles newlines in values,
7858 # but we know of no workaround that is simple, portable, and efficient.
7859 # So, don't put newlines in cache variables' values.
7860 # Ultrix sh set writes to stderr and can't be redirected directly,
7861 # and sets the high bit in the cache file unless we assign to the vars.
7863 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7865 # `set' does not quote correctly, so add quotes (double-quote substitution
7866 # turns \\\\ into \\, and sed turns \\ into \).
7868 -e "s/'/'\\\\''/g" \
7869 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7872 # `set' quotes correctly as required by POSIX, so do not add quotes.
7873 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7876 if cmp -s $cache_file confcache
; then
7879 if test -w $cache_file; then
7880 echo "updating cache $cache_file"
7881 cat confcache
> $cache_file
7883 echo "not updating unwritable cache $cache_file"
7889 if test "$build" != "$host" ; then
7890 if test "$USE_WIN32" = 1 ; then
7894 RANLIB
=$host_alias-ranlib
7895 DLLTOOL
=$host_alias-dlltool
7896 RESCOMP
=$host_alias-windres
7899 STRIP
=$host_alias-strip
7901 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7905 # Extract the first word of "gcc", so it can be a program name with args.
7906 set dummy gcc
; ac_word
=$2
7907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7908 echo "configure:7909: checking for $ac_word" >&5
7909 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7910 echo $ac_n "(cached) $ac_c" 1>&6
7912 if test -n "$CC"; then
7913 ac_cv_prog_CC
="$CC" # Let the user override the test.
7915 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7917 for ac_dir
in $ac_dummy; do
7918 test -z "$ac_dir" && ac_dir
=.
7919 if test -f $ac_dir/$ac_word; then
7928 if test -n "$CC"; then
7929 echo "$ac_t""$CC" 1>&6
7931 echo "$ac_t""no" 1>&6
7934 if test -z "$CC"; then
7935 # Extract the first word of "cc", so it can be a program name with args.
7936 set dummy cc
; ac_word
=$2
7937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7938 echo "configure:7939: checking for $ac_word" >&5
7939 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7940 echo $ac_n "(cached) $ac_c" 1>&6
7942 if test -n "$CC"; then
7943 ac_cv_prog_CC
="$CC" # Let the user override the test.
7945 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7948 for ac_dir
in $ac_dummy; do
7949 test -z "$ac_dir" && ac_dir
=.
7950 if test -f $ac_dir/$ac_word; then
7951 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7952 ac_prog_rejected
=yes
7960 if test $ac_prog_rejected = yes; then
7961 # We found a bogon in the path, so make sure we never use it.
7962 set dummy
$ac_cv_prog_CC
7964 if test $# -gt 0; then
7965 # We chose a different compiler from the bogus one.
7966 # However, it has the same basename, so the bogon will be chosen
7967 # first if we set CC to just the basename; use the full file name.
7969 set dummy
"$ac_dir/$ac_word" "$@"
7977 if test -n "$CC"; then
7978 echo "$ac_t""$CC" 1>&6
7980 echo "$ac_t""no" 1>&6
7983 if test -z "$CC"; then
7984 case "`uname -s`" in
7986 # Extract the first word of "cl", so it can be a program name with args.
7987 set dummy cl
; ac_word
=$2
7988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7989 echo "configure:7990: checking for $ac_word" >&5
7990 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7991 echo $ac_n "(cached) $ac_c" 1>&6
7993 if test -n "$CC"; then
7994 ac_cv_prog_CC
="$CC" # Let the user override the test.
7996 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7998 for ac_dir
in $ac_dummy; do
7999 test -z "$ac_dir" && ac_dir
=.
8000 if test -f $ac_dir/$ac_word; then
8009 if test -n "$CC"; then
8010 echo "$ac_t""$CC" 1>&6
8012 echo "$ac_t""no" 1>&6
8017 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8020 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8021 echo "configure:8022: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8024 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8025 ac_cpp
='$CPP $CPPFLAGS'
8026 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8027 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8028 cross_compiling
=$ac_cv_prog_cc_cross
8030 cat > conftest.
$ac_ext << EOF
8032 #line 8033 "configure"
8033 #include "confdefs.h"
8037 if { (eval echo configure
:8038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8038 ac_cv_prog_cc_works
=yes
8039 # If we can't run a trivial program, we are probably using a cross compiler.
8040 if (.
/conftest
; exit) 2>/dev
/null
; then
8041 ac_cv_prog_cc_cross
=no
8043 ac_cv_prog_cc_cross
=yes
8046 echo "configure: failed program was:" >&5
8047 cat conftest.
$ac_ext >&5
8048 ac_cv_prog_cc_works
=no
8052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8053 ac_cpp
='$CPP $CPPFLAGS'
8054 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8055 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8056 cross_compiling
=$ac_cv_prog_cc_cross
8058 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8059 if test $ac_cv_prog_cc_works = no
; then
8060 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8062 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8063 echo "configure:8064: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8064 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8065 cross_compiling
=$ac_cv_prog_cc_cross
8067 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8068 echo "configure:8069: checking whether we are using GNU C" >&5
8069 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8070 echo $ac_n "(cached) $ac_c" 1>&6
8072 cat > conftest.c
<<EOF
8077 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8084 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8086 if test $ac_cv_prog_gcc = yes; then
8092 ac_test_CFLAGS
="${CFLAGS+set}"
8093 ac_save_CFLAGS
="$CFLAGS"
8095 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8096 echo "configure:8097: checking whether ${CC-cc} accepts -g" >&5
8097 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8098 echo $ac_n "(cached) $ac_c" 1>&6
8100 echo 'void f(){}' > conftest.c
8101 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8110 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8111 if test "$ac_test_CFLAGS" = set; then
8112 CFLAGS
="$ac_save_CFLAGS"
8113 elif test $ac_cv_prog_cc_g = yes; then
8114 if test "$GCC" = yes; then
8120 if test "$GCC" = yes; then
8128 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8130 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8131 echo "configure:8132: checking how to run the C preprocessor" >&5
8132 # On Suns, sometimes $CPP names a directory.
8133 if test -n "$CPP" && test -d "$CPP"; then
8136 if test -z "$CPP"; then
8137 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8138 echo $ac_n "(cached) $ac_c" 1>&6
8140 # This must be in double quotes, not single quotes, because CPP may get
8141 # substituted into the Makefile and "${CC-cc}" will confuse make.
8143 # On the NeXT, cc -E runs the code through the compiler's parser,
8144 # not just through cpp.
8145 cat > conftest.
$ac_ext <<EOF
8146 #line 8147 "configure"
8147 #include "confdefs.h"
8151 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8152 { (eval echo configure
:8153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8153 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8154 if test -z "$ac_err"; then
8158 echo "configure: failed program was:" >&5
8159 cat conftest.
$ac_ext >&5
8161 CPP
="${CC-cc} -E -traditional-cpp"
8162 cat > conftest.
$ac_ext <<EOF
8163 #line 8164 "configure"
8164 #include "confdefs.h"
8168 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8169 { (eval echo configure
:8170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8170 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8171 if test -z "$ac_err"; then
8175 echo "configure: failed program was:" >&5
8176 cat conftest.
$ac_ext >&5
8178 CPP
="${CC-cc} -nologo -E"
8179 cat > conftest.
$ac_ext <<EOF
8180 #line 8181 "configure"
8181 #include "confdefs.h"
8185 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8186 { (eval echo configure
:8187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8187 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8188 if test -z "$ac_err"; then
8192 echo "configure: failed program was:" >&5
8193 cat conftest.
$ac_ext >&5
8202 ac_cv_prog_CPP
="$CPP"
8204 CPP
="$ac_cv_prog_CPP"
8206 ac_cv_prog_CPP
="$CPP"
8208 echo "$ac_t""$CPP" 1>&6
8210 if test $ac_cv_prog_gcc = yes; then
8211 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8212 echo "configure:8213: checking whether ${CC-cc} needs -traditional" >&5
8213 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8214 echo $ac_n "(cached) $ac_c" 1>&6
8216 ac_pattern
="Autoconf.*'x'"
8217 cat > conftest.
$ac_ext <<EOF
8218 #line 8219 "configure"
8219 #include "confdefs.h"
8223 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8224 egrep "$ac_pattern" >/dev
/null
2>&1; then
8226 ac_cv_prog_gcc_traditional
=yes
8229 ac_cv_prog_gcc_traditional
=no
8234 if test $ac_cv_prog_gcc_traditional = no
; then
8235 cat > conftest.
$ac_ext <<EOF
8236 #line 8237 "configure"
8237 #include "confdefs.h"
8241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8242 egrep "$ac_pattern" >/dev
/null
2>&1; then
8244 ac_cv_prog_gcc_traditional
=yes
8251 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8252 if test $ac_cv_prog_gcc_traditional = yes; then
8253 CC
="$CC -traditional"
8260 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8261 ac_cpp
='$CXXCPP $CPPFLAGS'
8262 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8263 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8264 cross_compiling
=$ac_cv_prog_cxx_cross
8267 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8269 # Extract the first word of "$ac_prog", so it can be a program name with args.
8270 set dummy
$ac_prog; ac_word
=$2
8271 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8272 echo "configure:8273: checking for $ac_word" >&5
8273 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8274 echo $ac_n "(cached) $ac_c" 1>&6
8276 if test -n "$CXX"; then
8277 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8279 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8281 for ac_dir
in $ac_dummy; do
8282 test -z "$ac_dir" && ac_dir
=.
8283 if test -f $ac_dir/$ac_word; then
8284 ac_cv_prog_CXX
="$ac_prog"
8291 CXX
="$ac_cv_prog_CXX"
8292 if test -n "$CXX"; then
8293 echo "$ac_t""$CXX" 1>&6
8295 echo "$ac_t""no" 1>&6
8298 test -n "$CXX" && break
8300 test -n "$CXX" || CXX
="gcc"
8303 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8304 echo "configure:8305: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8308 ac_cpp
='$CXXCPP $CPPFLAGS'
8309 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8310 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8311 cross_compiling
=$ac_cv_prog_cxx_cross
8313 cat > conftest.
$ac_ext << EOF
8315 #line 8316 "configure"
8316 #include "confdefs.h"
8318 int main(){return(0);}
8320 if { (eval echo configure
:8321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8321 ac_cv_prog_cxx_works
=yes
8322 # If we can't run a trivial program, we are probably using a cross compiler.
8323 if (.
/conftest
; exit) 2>/dev
/null
; then
8324 ac_cv_prog_cxx_cross
=no
8326 ac_cv_prog_cxx_cross
=yes
8329 echo "configure: failed program was:" >&5
8330 cat conftest.
$ac_ext >&5
8331 ac_cv_prog_cxx_works
=no
8335 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8336 ac_cpp
='$CXXCPP $CPPFLAGS'
8337 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8338 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8339 cross_compiling
=$ac_cv_prog_cxx_cross
8341 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8342 if test $ac_cv_prog_cxx_works = no
; then
8343 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8345 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8346 echo "configure:8347: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8347 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8348 cross_compiling
=$ac_cv_prog_cxx_cross
8350 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8351 echo "configure:8352: checking whether we are using GNU C++" >&5
8352 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8353 echo $ac_n "(cached) $ac_c" 1>&6
8355 cat > conftest.C
<<EOF
8360 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8361: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8367 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8369 if test $ac_cv_prog_gxx = yes; then
8375 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8376 ac_save_CXXFLAGS
="$CXXFLAGS"
8378 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8379 echo "configure:8380: checking whether ${CXX-g++} accepts -g" >&5
8380 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8381 echo $ac_n "(cached) $ac_c" 1>&6
8383 echo 'void f(){}' > conftest.cc
8384 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8385 ac_cv_prog_cxx_g
=yes
8393 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8394 if test "$ac_test_CXXFLAGS" = set; then
8395 CXXFLAGS
="$ac_save_CXXFLAGS"
8396 elif test $ac_cv_prog_cxx_g = yes; then
8397 if test "$GXX" = yes; then
8403 if test "$GXX" = yes; then
8411 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8415 ac_cpp
='$CPP $CPPFLAGS'
8416 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8417 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8418 cross_compiling
=$ac_cv_prog_cc_cross
8421 # Extract the first word of "ranlib", so it can be a program name with args.
8422 set dummy ranlib
; ac_word
=$2
8423 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8424 echo "configure:8425: checking for $ac_word" >&5
8425 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8426 echo $ac_n "(cached) $ac_c" 1>&6
8428 if test -n "$RANLIB"; then
8429 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8431 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8433 for ac_dir
in $ac_dummy; do
8434 test -z "$ac_dir" && ac_dir
=.
8435 if test -f $ac_dir/$ac_word; then
8436 ac_cv_prog_RANLIB
="ranlib"
8441 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8444 RANLIB
="$ac_cv_prog_RANLIB"
8445 if test -n "$RANLIB"; then
8446 echo "$ac_t""$RANLIB" 1>&6
8448 echo "$ac_t""no" 1>&6
8452 # Extract the first word of "ar", so it can be a program name with args.
8453 set dummy
ar; ac_word
=$2
8454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8455 echo "configure:8456: checking for $ac_word" >&5
8456 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8457 echo $ac_n "(cached) $ac_c" 1>&6
8459 if test -n "$AR"; then
8460 ac_cv_prog_AR
="$AR" # Let the user override the test.
8462 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8464 for ac_dir
in $ac_dummy; do
8465 test -z "$ac_dir" && ac_dir
=.
8466 if test -f $ac_dir/$ac_word; then
8472 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8476 if test -n "$AR"; then
8477 echo "$ac_t""$AR" 1>&6
8479 echo "$ac_t""no" 1>&6
8483 # Find a good install program. We prefer a C program (faster),
8484 # so one script is as good as another. But avoid the broken or
8485 # incompatible versions:
8486 # SysV /etc/install, /usr/sbin/install
8487 # SunOS /usr/etc/install
8488 # IRIX /sbin/install
8490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8492 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8493 # ./install, which can be erroneously created by make from ./install.sh.
8494 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8495 echo "configure:8496: checking for a BSD compatible install" >&5
8496 if test -z "$INSTALL"; then
8497 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8498 echo $ac_n "(cached) $ac_c" 1>&6
8500 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8501 for ac_dir
in $PATH; do
8502 # Account for people who put trailing slashes in PATH elements.
8504 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8506 # OSF1 and SCO ODT 3.0 have their own names for install.
8507 # Don't use installbsd from OSF since it installs stuff as root
8509 for ac_prog
in ginstall scoinst
install; do
8510 if test -f $ac_dir/$ac_prog; then
8511 if test $ac_prog = install &&
8512 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8513 # AIX install. It has an incompatible calling convention.
8516 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8527 if test "${ac_cv_path_install+set}" = set; then
8528 INSTALL
="$ac_cv_path_install"
8530 # As a last resort, use the slow shell script. We don't cache a
8531 # path for INSTALL within a source directory, because that will
8532 # break other packages using the cache if that directory is
8533 # removed, or if the path is relative.
8534 INSTALL
="$ac_install_sh"
8537 echo "$ac_t""$INSTALL" 1>&6
8539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8540 # It thinks the first close brace ends the variable substitution.
8541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8545 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8548 # Extract the first word of "strip", so it can be a program name with args.
8549 set dummy strip
; ac_word
=$2
8550 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8551 echo "configure:8552: checking for $ac_word" >&5
8552 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8553 echo $ac_n "(cached) $ac_c" 1>&6
8555 if test -n "$STRIP"; then
8556 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8558 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8560 for ac_dir
in $ac_dummy; do
8561 test -z "$ac_dir" && ac_dir
=.
8562 if test -f $ac_dir/$ac_word; then
8563 ac_cv_prog_STRIP
="strip"
8568 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8571 STRIP
="$ac_cv_prog_STRIP"
8572 if test -n "$STRIP"; then
8573 echo "$ac_t""$STRIP" 1>&6
8575 echo "$ac_t""no" 1>&6
8579 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8580 echo "configure:8581: checking make for VPATH support" >&5
8581 cat - << EOF > confMake
8587 if test ! -d sub
; then
8590 echo dummy
> sub
/file
8591 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8593 rm -f sub
/file check final_file confMake
8595 if test "$RESULT" = 0; then
8596 echo "$ac_t""yes" 1>&6
8598 echo "$ac_t""no" 1>&6
8599 { echo "configure: error:
8600 You need a make-utility that is able to use the variable
8602 If your version of make does not support VPATH correctly,
8603 please install GNU-make (possibly as gmake), and start
8604 configure with the following command:
8605 export MAKE=gmake; ./configure for sh-type shells
8606 setenv MAKE gmake; ./configure for csh-type shells
8607 Also please do remember to use gmake in this case every time
8608 you are trying to compile.
8612 for ac_prog
in 'bison -y' byacc
8614 # Extract the first word of "$ac_prog", so it can be a program name with args.
8615 set dummy
$ac_prog; ac_word
=$2
8616 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8617 echo "configure:8618: checking for $ac_word" >&5
8618 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8619 echo $ac_n "(cached) $ac_c" 1>&6
8621 if test -n "$YACC"; then
8622 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8624 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8626 for ac_dir
in $ac_dummy; do
8627 test -z "$ac_dir" && ac_dir
=.
8628 if test -f $ac_dir/$ac_word; then
8629 ac_cv_prog_YACC
="$ac_prog"
8636 YACC
="$ac_cv_prog_YACC"
8637 if test -n "$YACC"; then
8638 echo "$ac_t""$YACC" 1>&6
8640 echo "$ac_t""no" 1>&6
8643 test -n "$YACC" && break
8645 test -n "$YACC" || YACC
="yacc"
8648 # Extract the first word of "flex", so it can be a program name with args.
8649 set dummy flex
; ac_word
=$2
8650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8651 echo "configure:8652: checking for $ac_word" >&5
8652 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8653 echo $ac_n "(cached) $ac_c" 1>&6
8655 if test -n "$LEX"; then
8656 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8658 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8660 for ac_dir
in $ac_dummy; do
8661 test -z "$ac_dir" && ac_dir
=.
8662 if test -f $ac_dir/$ac_word; then
8663 ac_cv_prog_LEX
="flex"
8668 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8671 LEX
="$ac_cv_prog_LEX"
8672 if test -n "$LEX"; then
8673 echo "$ac_t""$LEX" 1>&6
8675 echo "$ac_t""no" 1>&6
8678 if test -z "$LEXLIB"
8684 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8685 echo "configure:8686: checking for yywrap in -l$ac_lib" >&5
8686 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8687 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8688 echo $ac_n "(cached) $ac_c" 1>&6
8690 ac_save_LIBS
="$LIBS"
8691 LIBS
="-l$ac_lib $LIBS"
8692 cat > conftest.
$ac_ext <<EOF
8693 #line 8694 "configure"
8694 #include "confdefs.h"
8695 /* Override any gcc2 internal prototype to avoid an error. */
8696 /* We use char because int might match the return type of a gcc2
8697 builtin and then its argument prototype would still apply. */
8704 if { (eval echo configure
:8705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8706 eval "ac_cv_lib_$ac_lib_var=yes"
8708 echo "configure: failed program was:" >&5
8709 cat conftest.
$ac_ext >&5
8711 eval "ac_cv_lib_$ac_lib_var=no"
8714 LIBS
="$ac_save_LIBS"
8717 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8718 echo "$ac_t""yes" 1>&6
8721 echo "$ac_t""no" 1>&6
8727 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8728 echo "configure:8729: checking whether ln -s works" >&5
8729 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8730 echo $ac_n "(cached) $ac_c" 1>&6
8733 if ln -s X conftestdata
2>/dev
/null
8736 ac_cv_prog_LN_S
="ln -s"
8741 LN_S
="$ac_cv_prog_LN_S"
8742 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8743 echo "$ac_t""yes" 1>&6
8745 echo "$ac_t""no" 1>&6
8751 /usr/local/include \
8753 /usr/Motif-1.2/include \
8754 /usr/Motif-2.1/include \
8756 /usr/include/Motif1.2 \
8757 /opt/xpm/include/X11 \
8758 /opt/GBxpm/include/ \
8759 /opt/GBxpm/X11/include/ \
8761 /usr/Motif1.2/include \
8763 /usr/openwin/include \
8767 /usr/X11R6/include \
8768 /usr/X11R6.4/include \
8769 /usr/X11R5/include \
8770 /usr/X11R4/include \
8772 /usr/include/X11R6 \
8773 /usr/include/X11R5 \
8774 /usr/include/X11R4 \
8776 /usr/local/X11R6/include \
8777 /usr/local/X11R5/include \
8778 /usr/local/X11R4/include \
8780 /usr/local/include/X11R6 \
8781 /usr/local/include/X11R5 \
8782 /usr/local/include/X11R4 \
8786 /usr/local/X11/include \
8787 /usr/local/include/X11 \
8791 /usr/XFree86/include/X11 \
8793 X:/XFree86/include \
8794 X:/XFree86/include/X11 \
8797 /usr/local/include/gtk \
8799 /usr/local/include/glib \
8802 /usr/local/include/qt \
8804 /usr/include/windows \
8806 /usr/local/include/wine \
8808 /usr/unsupported/include \
8809 /usr/athena/include \
8810 /usr/local/x11r5/include \
8811 /usr/lpp/Xamples/include \
8813 /usr/openwin/share/include \
8817 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8820 cat > confcache
<<\EOF
8821 # This file is a shell script that caches the results of configure
8822 # tests run on this system so they can be shared between configure
8823 # scripts and configure runs. It is not useful on other systems.
8824 # If it contains results you don't want to keep, you may remove or edit it.
8826 # By default, configure uses ./config.cache as the cache file,
8827 # creating it if it does not exist already. You can give configure
8828 # the --cache-file=FILE option to use a different cache file; that is
8829 # what configure does when it calls configure scripts in
8830 # subdirectories, so they share the cache.
8831 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8832 # config.status only pays attention to the cache file if you give it the
8833 # --recheck option to rerun configure.
8836 # The following way of writing the cache mishandles newlines in values,
8837 # but we know of no workaround that is simple, portable, and efficient.
8838 # So, don't put newlines in cache variables' values.
8839 # Ultrix sh set writes to stderr and can't be redirected directly,
8840 # and sets the high bit in the cache file unless we assign to the vars.
8842 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8844 # `set' does not quote correctly, so add quotes (double-quote substitution
8845 # turns \\\\ into \\, and sed turns \\ into \).
8847 -e "s/'/'\\\\''/g" \
8848 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8851 # `set' quotes correctly as required by POSIX, so do not add quotes.
8852 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8855 if cmp -s $cache_file confcache
; then
8858 if test -w $cache_file; then
8859 echo "updating cache $cache_file"
8860 cat confcache
> $cache_file
8862 echo "not updating unwritable cache $cache_file"
8870 if test "$wxUSE_REGEX" != "no"; then
8871 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8872 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8873 echo "configure:8874: checking for regex.h" >&5
8874 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8875 echo $ac_n "(cached) $ac_c" 1>&6
8877 cat > conftest.
$ac_ext <<EOF
8878 #line 8879 "configure"
8879 #include "confdefs.h"
8882 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8883 { (eval echo configure
:8884: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8884 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8885 if test -z "$ac_err"; then
8887 eval "ac_cv_header_$ac_safe=yes"
8890 echo "configure: failed program was:" >&5
8891 cat conftest.
$ac_ext >&5
8893 eval "ac_cv_header_$ac_safe=no"
8897 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8898 echo "$ac_t""yes" 1>&6
8899 for ac_func
in regcomp
8901 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8902 echo "configure:8903: checking for $ac_func" >&5
8903 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8904 echo $ac_n "(cached) $ac_c" 1>&6
8906 cat > conftest.
$ac_ext <<EOF
8907 #line 8908 "configure"
8908 #include "confdefs.h"
8909 /* System header to define __stub macros and hopefully few prototypes,
8910 which can conflict with char $ac_func(); below. */
8912 /* Override any gcc2 internal prototype to avoid an error. */
8913 /* We use char because int might match the return type of a gcc2
8914 builtin and then its argument prototype would still apply. */
8919 /* The GNU C library defines this for functions which it implements
8920 to always fail with ENOSYS. Some functions are actually named
8921 something starting with __ and the normal name is an alias. */
8922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8930 if { (eval echo configure
:8931: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8932 eval "ac_cv_func_$ac_func=yes"
8934 echo "configure: failed program was:" >&5
8935 cat conftest.
$ac_ext >&5
8937 eval "ac_cv_func_$ac_func=no"
8942 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8943 echo "$ac_t""yes" 1>&6
8944 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8945 cat >> confdefs.h
<<EOF
8946 #define $ac_tr_func 1
8950 echo "$ac_t""no" 1>&6
8955 echo "$ac_t""no" 1>&6
8959 if test "x$ac_cv_func_regcomp" != "xyes"; then
8960 if test "$wxUSE_REGEX" = "sys"; then
8961 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8964 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8967 cat >> confdefs.h
<<\EOF
8968 #define wxUSE_REGEX 1
8980 if test "$USE_WIN32" = 1 ; then
8981 for ac_hdr
in w32api.h
8983 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8984 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8985 echo "configure:8986: checking for $ac_hdr" >&5
8986 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8987 echo $ac_n "(cached) $ac_c" 1>&6
8989 cat > conftest.
$ac_ext <<EOF
8990 #line 8991 "configure"
8991 #include "confdefs.h"
8994 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8995 { (eval echo configure
:8996: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8996 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8997 if test -z "$ac_err"; then
8999 eval "ac_cv_header_$ac_safe=yes"
9002 echo "configure: failed program was:" >&5
9003 cat conftest.
$ac_ext >&5
9005 eval "ac_cv_header_$ac_safe=no"
9009 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9010 echo "$ac_t""yes" 1>&6
9011 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9012 cat >> confdefs.h
<<EOF
9013 #define $ac_tr_hdr 1
9017 echo "$ac_t""no" 1>&6
9021 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9022 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9023 echo "configure:9024: checking for windows.h" >&5
9024 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9025 echo $ac_n "(cached) $ac_c" 1>&6
9027 cat > conftest.
$ac_ext <<EOF
9028 #line 9029 "configure"
9029 #include "confdefs.h"
9030 #include <windows.h>
9032 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9033 { (eval echo configure
:9034: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9034 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9035 if test -z "$ac_err"; then
9037 eval "ac_cv_header_$ac_safe=yes"
9040 echo "configure: failed program was:" >&5
9041 cat conftest.
$ac_ext >&5
9043 eval "ac_cv_header_$ac_safe=no"
9047 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9048 echo "$ac_t""yes" 1>&6
9051 echo "$ac_t""no" 1>&6
9053 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9058 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9059 echo "configure:9060: checking if w32api has good enough MSIE support" >&5
9060 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
9061 echo $ac_n "(cached) $ac_c" 1>&6
9064 cat > conftest.
$ac_ext <<EOF
9065 #line 9066 "configure"
9066 #include "confdefs.h"
9070 #define wxCHECK_W32API_VERSION( major, minor ) \
9071 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9072 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9073 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9075 #if !wxCHECK_W32API_VERSION(1,1)
9076 #error You need w32api 1.1 or newer
9081 if { (eval echo configure
:9082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9084 wx_cv_w32api_win_ie
=yes
9085 CPPFLAGS
="$CPPFLAGS -D_WIN_IE=0x400"
9088 echo "configure: failed program was:" >&5
9089 cat conftest.
$ac_ext >&5
9092 wx_cv_w32api_win_ie
=no
9099 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9101 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9103 if test "$wxUSE_CYGWIN" = 1; then
9104 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9107 if test "$wxUSE_ODBC" = "yes" ; then
9108 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9111 if test "$wxUSE_MINGW" = 1; then
9112 LDFLAGS
="$LDFLAGS -mwindows"
9115 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9116 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9119 if test "$wxUSE_GUI" = "yes"; then
9128 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9133 if test "$wxUSE_GTK" = 1; then
9134 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9135 echo "configure:9136: checking for GTK+ version" >&5
9137 gtk_version_cached
=1
9138 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9139 echo $ac_n "(cached) $ac_c" 1>&6
9142 gtk_version_cached
=0
9143 echo "$ac_t""""" 1>&6
9146 if test "x$wxUSE_GTK2" = "xyes"; then
9147 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9148 if test "${with_gtk_prefix+set}" = set; then
9149 withval
="$with_gtk_prefix"
9150 gtk_config_prefix
="$withval"
9152 gtk_config_prefix
=""
9155 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9156 if test "${with_gtk_exec_prefix+set}" = set; then
9157 withval
="$with_gtk_exec_prefix"
9158 gtk_config_exec_prefix
="$withval"
9160 gtk_config_exec_prefix
=""
9163 # Check whether --enable-gtktest or --disable-gtktest was given.
9164 if test "${enable_gtktest+set}" = set; then
9165 enableval
="$enable_gtktest"
9176 gtk_config_args
="$gtk_config_args gthread"
9181 if test x
$gtk_config_exec_prefix != x
; then
9182 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9183 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9184 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9187 if test x
$gtk_config_prefix != x
; then
9188 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9189 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9190 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9194 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9195 set dummy gtk
-config-2.0
; ac_word
=$2
9196 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9197 echo "configure:9198: checking for $ac_word" >&5
9198 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9199 echo $ac_n "(cached) $ac_c" 1>&6
9201 case "$GTK_CONFIG_2_0" in
9203 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9206 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9209 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9211 for ac_dir
in $ac_dummy; do
9212 test -z "$ac_dir" && ac_dir
=.
9213 if test -f $ac_dir/$ac_word; then
9214 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9219 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9223 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9224 if test -n "$GTK_CONFIG_2_0"; then
9225 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9227 echo "$ac_t""no" 1>&6
9230 min_gtk_version
=1.3.1
9231 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9232 echo "configure:9233: checking for GTK - version >= $min_gtk_version" >&5
9234 if test "$GTK_CONFIG_2_0" = "no" ; then
9237 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9238 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9239 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9240 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9241 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9242 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9243 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9244 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9245 if test "x$enable_gtktest" = "xyes" ; then
9246 ac_save_CFLAGS
="$CFLAGS"
9247 ac_save_LIBS
="$LIBS"
9248 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9249 LIBS
="$GTK_LIBS $LIBS"
9251 if test "$cross_compiling" = yes; then
9252 echo $ac_n "cross compiling; assumed OK... $ac_c"
9254 cat > conftest.
$ac_ext <<EOF
9255 #line 9256 "configure"
9256 #include "confdefs.h"
9258 #include <gtk/gtk.h>
9265 int major, minor, micro;
9268 system ("touch conf.gtktest");
9270 /* HP/UX 9 (%@#!) writes to sscanf strings */
9271 tmp_version = g_strdup("$min_gtk_version");
9272 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9273 printf("%s, bad version string\n", "$min_gtk_version");
9277 if ((gtk_major_version != $gtk_config_major_version) ||
9278 (gtk_minor_version != $gtk_config_minor_version) ||
9279 (gtk_micro_version != $gtk_config_micro_version))
9281 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9282 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9283 gtk_major_version, gtk_minor_version, gtk_micro_version);
9284 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9285 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9286 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9287 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9288 printf("*** required on your system.\n");
9289 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9290 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9291 printf("*** before re-running configure\n");
9293 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9294 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9295 (gtk_minor_version != GTK_MINOR_VERSION) ||
9296 (gtk_micro_version != GTK_MICRO_VERSION))
9298 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9299 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9300 printf("*** library (version %d.%d.%d)\n",
9301 gtk_major_version, gtk_minor_version, gtk_micro_version);
9303 #endif /* defined (GTK_MAJOR_VERSION) ... */
9306 if ((gtk_major_version > major) ||
9307 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9308 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9314 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9315 gtk_major_version, gtk_minor_version, gtk_micro_version);
9316 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9317 major, minor, micro);
9318 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9320 printf("*** If you have already installed a sufficiently new version, this error\n");
9321 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9322 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9323 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9324 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9325 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9326 printf("*** so that the correct libraries are found at run-time))\n");
9333 if { (eval echo configure
:9334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9337 echo "configure: failed program was:" >&5
9338 cat conftest.
$ac_ext >&5
9345 CFLAGS
="$ac_save_CFLAGS"
9346 LIBS
="$ac_save_LIBS"
9349 if test "x$no_gtk" = x
; then
9350 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9353 echo "$ac_t""no" 1>&6
9354 if test "$GTK_CONFIG_2_0" = "no" ; then
9355 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9356 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9357 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9358 echo "*** full path to gtk-config-2.0."
9360 if test -f conf.gtktest
; then
9363 echo "*** Could not run GTK test program, checking why..."
9364 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9365 LIBS
="$LIBS $GTK_LIBS"
9366 cat > conftest.
$ac_ext <<EOF
9367 #line 9368 "configure"
9368 #include "confdefs.h"
9370 #include <gtk/gtk.h>
9374 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9377 if { (eval echo configure
:9378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9379 echo "*** The test program compiled, but did not run. This usually means"
9380 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9381 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9382 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9383 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9384 echo "*** is required on your system"
9386 echo "*** If you have an old version installed, it is best to remove it, although"
9387 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9389 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9390 echo "*** came with the system with the command"
9392 echo "*** rpm --erase --nodeps gtk gtk-devel"
9394 echo "configure: failed program was:" >&5
9395 cat conftest.
$ac_ext >&5
9397 echo "*** The test program failed to compile or link. See the file config.log for the"
9398 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9399 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9400 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9403 CFLAGS
="$ac_save_CFLAGS"
9404 LIBS
="$ac_save_LIBS"
9417 if test -z "$wx_cv_lib_gtk"; then
9419 if test x
$gtk_config_exec_prefix != x
; then
9420 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9421 if test x
${GTK_CONFIG+set} != xset
; then
9422 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9425 if test x
$gtk_config_prefix != x
; then
9426 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9427 if test x
${GTK_CONFIG+set} != xset
; then
9428 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9432 # Extract the first word of "gtk-config", so it can be a program name with args.
9433 set dummy gtk
-config; ac_word
=$2
9434 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9435 echo "configure:9436: checking for $ac_word" >&5
9436 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9437 echo $ac_n "(cached) $ac_c" 1>&6
9439 case "$GTK_CONFIG" in
9441 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9444 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9447 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9449 for ac_dir
in $ac_dummy; do
9450 test -z "$ac_dir" && ac_dir
=.
9451 if test -f $ac_dir/$ac_word; then
9452 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9457 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9461 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9462 if test -n "$GTK_CONFIG"; then
9463 echo "$ac_t""$GTK_CONFIG" 1>&6
9465 echo "$ac_t""no" 1>&6
9468 min_gtk_version
=1.2.7
9469 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9470 echo "configure:9471: checking for GTK - version >= $min_gtk_version" >&5
9472 if test "$GTK_CONFIG" != "no" ; then
9473 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9474 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9475 ac_save_CFLAGS
="$CFLAGS"
9476 ac_save_LIBS
="$LIBS"
9477 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9478 LIBS
="$LIBS $GTK_LIBS"
9479 if test "$cross_compiling" = yes; then
9480 echo $ac_n "cross compiling; assumed OK... $ac_c"
9482 cat > conftest.
$ac_ext <<EOF
9483 #line 9484 "configure"
9484 #include "confdefs.h"
9486 #include <gtk/gtk.h>
9487 #include <gtk/gtkfeatures.h>
9494 int major, minor, micro;
9496 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9497 printf("%s, bad version string\n", "$min_gtk_version");
9501 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9502 (GTK_MINOR_VERSION != gtk_minor_version) ||
9503 (GTK_MICRO_VERSION != gtk_micro_version)) {
9504 printf("Headers vs. library version mismatch!\n");
9508 if (gtk_minor_version == 1) return FALSE;
9510 return !((gtk_major_version > major) ||
9511 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9512 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9516 if { (eval echo configure
:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9520 echo "configure: failed program was:" >&5
9521 cat conftest.
$ac_ext >&5
9528 CFLAGS
="$ac_save_CFLAGS"
9529 LIBS
="$ac_save_LIBS"
9533 if test "x$no_gtk" = x
; then
9534 echo "$ac_t""yes" 1>&6
9537 echo "$ac_t""no" 1>&6
9547 if test -z "$wx_cv_lib_gtk"; then
9549 if test x
$gtk_config_exec_prefix != x
; then
9550 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9551 if test x
${GTK_CONFIG+set} != xset
; then
9552 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9555 if test x
$gtk_config_prefix != x
; then
9556 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9557 if test x
${GTK_CONFIG+set} != xset
; then
9558 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9562 # Extract the first word of "gtk-config", so it can be a program name with args.
9563 set dummy gtk
-config; ac_word
=$2
9564 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9565 echo "configure:9566: checking for $ac_word" >&5
9566 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9567 echo $ac_n "(cached) $ac_c" 1>&6
9569 case "$GTK_CONFIG" in
9571 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9574 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9577 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9579 for ac_dir
in $ac_dummy; do
9580 test -z "$ac_dir" && ac_dir
=.
9581 if test -f $ac_dir/$ac_word; then
9582 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9587 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9591 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9592 if test -n "$GTK_CONFIG"; then
9593 echo "$ac_t""$GTK_CONFIG" 1>&6
9595 echo "$ac_t""no" 1>&6
9598 min_gtk_version
=1.2.3
9599 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9600 echo "configure:9601: checking for GTK - version >= $min_gtk_version" >&5
9602 if test "$GTK_CONFIG" != "no" ; then
9603 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9604 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9605 ac_save_CFLAGS
="$CFLAGS"
9606 ac_save_LIBS
="$LIBS"
9607 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9608 LIBS
="$LIBS $GTK_LIBS"
9609 if test "$cross_compiling" = yes; then
9610 echo $ac_n "cross compiling; assumed OK... $ac_c"
9612 cat > conftest.
$ac_ext <<EOF
9613 #line 9614 "configure"
9614 #include "confdefs.h"
9616 #include <gtk/gtk.h>
9617 #include <gtk/gtkfeatures.h>
9624 int major, minor, micro;
9626 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9627 printf("%s, bad version string\n", "$min_gtk_version");
9631 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9632 (GTK_MINOR_VERSION != gtk_minor_version) ||
9633 (GTK_MICRO_VERSION != gtk_micro_version)) {
9634 printf("Headers vs. library version mismatch!\n");
9638 if (gtk_minor_version == 1) return FALSE;
9640 return !((gtk_major_version > major) ||
9641 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9642 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9646 if { (eval echo configure
:9647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9650 echo "configure: failed program was:" >&5
9651 cat conftest.
$ac_ext >&5
9658 CFLAGS
="$ac_save_CFLAGS"
9659 LIBS
="$ac_save_LIBS"
9663 if test "x$no_gtk" = x
; then
9664 echo "$ac_t""yes" 1>&6
9667 echo "$ac_t""no" 1>&6
9677 if test -z "$wx_cv_lib_gtk"; then
9680 wx_cv_cflags_gtk
=$GTK_CFLAGS
9681 wx_cv_libs_gtk
=$GTK_LIBS
9688 if test "$gtk_version_cached" = 1; then
9689 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9692 case "$wx_cv_lib_gtk" in
9700 *) { echo "configure: error:
9701 Please check that gtk-config is in path, the directory
9702 where GTK+ libraries are installed (returned by
9703 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9704 equivalent variable and GTK+ is version 1.2.3 or above.
9709 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9710 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9712 AFMINSTALL
=afminstall
9716 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9717 echo "configure:9718: checking for gdk_im_open in -lgdk" >&5
9718 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9719 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9720 echo $ac_n "(cached) $ac_c" 1>&6
9722 ac_save_LIBS
="$LIBS"
9724 cat > conftest.
$ac_ext <<EOF
9725 #line 9726 "configure"
9726 #include "confdefs.h"
9727 /* Override any gcc2 internal prototype to avoid an error. */
9728 /* We use char because int might match the return type of a gcc2
9729 builtin and then its argument prototype would still apply. */
9736 if { (eval echo configure
:9737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9738 eval "ac_cv_lib_$ac_lib_var=yes"
9740 echo "configure: failed program was:" >&5
9741 cat conftest.
$ac_ext >&5
9743 eval "ac_cv_lib_$ac_lib_var=no"
9746 LIBS
="$ac_save_LIBS"
9749 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9750 echo "$ac_t""yes" 1>&6
9751 cat >> confdefs.h
<<\EOF
9756 echo "$ac_t""no" 1>&6
9761 if test "$wxUSE_MGL" = 1; then
9763 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9764 echo "configure:9765: checking for SciTech MGL library" >&5
9765 if test "x$MGL_ROOT" = x
; then
9766 echo "$ac_t""not found" 1>&6
9767 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9769 echo "$ac_t""$MGL_ROOT" 1>&6
9772 mgl_os
=linux
/gcc
/glibc
9775 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9776 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
9780 if test "x$mgl_lib_type" = x
; then
9781 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
9782 mgl_lib_type
=release
9784 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9788 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9789 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9791 AFMINSTALL
=afminstall
9796 if test "$wxUSE_WINE" = 1; then
9797 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9798 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9799 echo "configure:9800: checking for windows.h" >&5
9800 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9801 echo $ac_n "(cached) $ac_c" 1>&6
9803 cat > conftest.
$ac_ext <<EOF
9804 #line 9805 "configure"
9805 #include "confdefs.h"
9806 #include <windows.h>
9808 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9809 { (eval echo configure
:9810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9810 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9811 if test -z "$ac_err"; then
9813 eval "ac_cv_header_$ac_safe=yes"
9816 echo "configure: failed program was:" >&5
9817 cat conftest.
$ac_ext >&5
9819 eval "ac_cv_header_$ac_safe=no"
9823 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9824 echo "$ac_t""yes" 1>&6
9827 echo "$ac_t""no" 1>&6
9829 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9835 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9836 echo "configure:9837: checking for Xpm library" >&5
9839 for ac_dir
in $SEARCH_LIB;
9841 for ac_extension
in a so sl dylib
; do
9842 if test -f "$ac_dir/libXpm.$ac_extension"; then
9843 ac_find_libraries
=$ac_dir
9849 if test "$ac_find_libraries" != "" ; then
9850 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9852 cat >> confdefs.h
<<\EOF
9853 #define wxHAVE_LIB_XPM 1
9856 echo "$ac_t""found at $ac_find_libraries" 1>&6
9858 echo "$ac_t""no" 1>&6
9859 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9863 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9864 echo "configure:9865: checking for Mesa library" >&5
9867 for ac_dir
in $SEARCH_LIB;
9869 for ac_extension
in a so sl dylib
; do
9870 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9871 ac_find_libraries
=$ac_dir
9877 if test "$ac_find_libraries" != "" ; then
9878 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9879 mesa_link
="-lMesaGL"
9880 echo "$ac_t""found at $ac_find_libraries" 1>&6
9882 { echo "configure: error: no" 1>&2; exit 1; }
9885 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9888 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
9892 # If we find X, set shell vars x_includes and x_libraries to the
9893 # paths, otherwise set no_x=yes.
9894 # Uses ac_ vars as temps to allow command line to override cache and checks.
9895 # --without-x overrides everything else, but does not touch the cache.
9896 echo $ac_n "checking for X""... $ac_c" 1>&6
9897 echo "configure:9898: checking for X" >&5
9899 # Check whether --with-x or --without-x was given.
9900 if test "${with_x+set}" = set; then
9905 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9906 if test "x$with_x" = xno
; then
9907 # The user explicitly disabled X.
9910 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9911 # Both variables are already set.
9914 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9915 echo $ac_n "(cached) $ac_c" 1>&6
9917 # One or both of the vars are not set, and there is no cached value.
9918 ac_x_includes
=NO ac_x_libraries
=NO
9920 if mkdir conftestdir
; then
9922 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9923 cat > Imakefile
<<'EOF'
9925 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9927 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9928 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9929 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9930 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9931 for ac_extension
in a so sl
; do
9932 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9933 test -f $ac_im_libdir/libX11.
$ac_extension; then
9934 ac_im_usrlibdir
=$ac_im_libdir; break
9937 # Screen out bogus values from the imake configuration. They are
9938 # bogus both because they are the default anyway, and because
9939 # using them would break gcc on systems where it needs fixed includes.
9940 case "$ac_im_incroot" in
9942 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9944 case "$ac_im_usrlibdir" in
9946 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9953 if test "$ac_x_includes" = NO
; then
9954 # Guess where to find include files, by looking for this one X11 .h file.
9955 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9957 # First, try using that file with no special directory specified.
9958 cat > conftest.
$ac_ext <<EOF
9959 #line 9960 "configure"
9960 #include "confdefs.h"
9961 #include <$x_direct_test_include>
9963 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9964 { (eval echo configure
:9965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9965 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9966 if test -z "$ac_err"; then
9968 # We can compile using X headers with no special include directory.
9972 echo "configure: failed program was:" >&5
9973 cat conftest.
$ac_ext >&5
9975 # Look for the header file in a standard set of common directories.
9976 # Check X11 before X11Rn because it is often a symlink to the current release.
9979 /usr
/X
11R
6/include \
9980 /usr
/X
11R
5/include \
9981 /usr
/X
11R
4/include \
9984 /usr
/include
/X11R6 \
9985 /usr
/include
/X11R5 \
9986 /usr
/include
/X11R4 \
9988 /usr
/local
/X
11/include \
9989 /usr
/local
/X
11R
6/include \
9990 /usr
/local
/X
11R
5/include \
9991 /usr
/local
/X
11R
4/include \
9993 /usr
/local
/include
/X11 \
9994 /usr
/local
/include
/X11R6 \
9995 /usr
/local
/include
/X11R5 \
9996 /usr
/local
/include
/X11R4 \
10000 /usr
/XFree
86/include
/X11 \
10003 /usr
/local
/include \
10004 /usr
/unsupported
/include \
10005 /usr
/athena
/include \
10006 /usr
/local
/x
11r
5/include \
10007 /usr
/lpp
/Xamples
/include \
10009 /usr
/openwin
/include \
10010 /usr
/openwin
/share
/include \
10013 if test -r "$ac_dir/$x_direct_test_include"; then
10014 ac_x_includes
=$ac_dir
10020 fi # $ac_x_includes = NO
10022 if test "$ac_x_libraries" = NO
; then
10023 # Check for the libraries.
10025 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10026 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10028 # See if we find them without any special options.
10029 # Don't add to $LIBS permanently.
10030 ac_save_LIBS
="$LIBS"
10031 LIBS
="-l$x_direct_test_library $LIBS"
10032 cat > conftest.
$ac_ext <<EOF
10033 #line 10034 "configure"
10034 #include "confdefs.h"
10037 ${x_direct_test_function}()
10040 if { (eval echo configure
:10041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10042 LIBS
="$ac_save_LIBS"
10043 # We can link X programs with no special library path.
10046 echo "configure: failed program was:" >&5
10047 cat conftest.
$ac_ext >&5
10049 LIBS
="$ac_save_LIBS"
10050 # First see if replacing the include by lib works.
10051 # Check X11 before X11Rn because it is often a symlink to the current release.
10052 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10063 /usr
/local
/X
11/lib \
10064 /usr
/local
/X
11R
6/lib \
10065 /usr
/local
/X
11R
5/lib \
10066 /usr
/local
/X
11R
4/lib \
10068 /usr
/local
/lib
/X11 \
10069 /usr
/local
/lib
/X11R6 \
10070 /usr
/local
/lib
/X11R5 \
10071 /usr
/local
/lib
/X11R4 \
10075 /usr
/XFree
86/lib
/X11 \
10079 /usr
/unsupported
/lib \
10081 /usr
/local
/x
11r
5/lib \
10082 /usr
/lpp
/Xamples
/lib \
10086 /usr
/openwin
/share
/lib \
10089 for ac_extension
in a so sl
; do
10090 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10091 ac_x_libraries
=$ac_dir
10098 fi # $ac_x_libraries = NO
10100 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10101 # Didn't find X anywhere. Cache the known absence of X.
10102 ac_cv_have_x
="have_x=no"
10104 # Record where we found X for the cache.
10105 ac_cv_have_x
="have_x=yes \
10106 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10110 eval "$ac_cv_have_x"
10113 if test "$have_x" != yes; then
10114 echo "$ac_t""$have_x" 1>&6
10117 # If each of the values was on the command line, it overrides each guess.
10118 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10119 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10120 # Update the cache value to reflect the command line values.
10121 ac_cv_have_x
="have_x=yes \
10122 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10123 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10126 if test "$no_x" = yes; then
10127 # Not all programs may use this symbol, but it does not hurt to define it.
10128 cat >> confdefs.h
<<\EOF
10129 #define X_DISPLAY_MISSING 1
10132 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10134 if test -n "$x_includes"; then
10135 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10138 # It would also be nice to do this for all -L options, not just this one.
10139 if test -n "$x_libraries"; then
10140 X_LIBS
="$X_LIBS -L$x_libraries"
10141 # For Solaris; some versions of Sun CC require a space after -R and
10142 # others require no space. Words are not sufficient . . . .
10143 case "`(uname -sr) 2>/dev/null`" in
10145 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10146 echo "configure:10147: checking whether -R must be followed by a space" >&5
10147 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10148 cat > conftest.
$ac_ext <<EOF
10149 #line 10150 "configure"
10150 #include "confdefs.h"
10156 if { (eval echo configure
:10157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10160 echo "configure: failed program was:" >&5
10161 cat conftest.
$ac_ext >&5
10166 if test $ac_R_nospace = yes; then
10167 echo "$ac_t""no" 1>&6
10168 X_LIBS
="$X_LIBS -R$x_libraries"
10170 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10171 cat > conftest.
$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10179 if { (eval echo configure
:10180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10183 echo "configure: failed program was:" >&5
10184 cat conftest.
$ac_ext >&5
10189 if test $ac_R_space = yes; then
10190 echo "$ac_t""yes" 1>&6
10191 X_LIBS
="$X_LIBS -R $x_libraries"
10193 echo "$ac_t""neither works" 1>&6
10196 LIBS
="$ac_xsave_LIBS"
10200 # Check for system-dependent libraries X programs must link with.
10201 # Do this before checking for the system-independent R6 libraries
10202 # (-lICE), since we may need -lsocket or whatever for X linking.
10204 if test "$ISC" = yes; then
10205 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10207 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10208 # libraries were built with DECnet support. And karl@cs.umb.edu says
10209 # the Alpha needs dnet_stub (dnet does not exist).
10210 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10211 echo "configure:10212: checking for dnet_ntoa in -ldnet" >&5
10212 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10213 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10214 echo $ac_n "(cached) $ac_c" 1>&6
10216 ac_save_LIBS
="$LIBS"
10217 LIBS
="-ldnet $LIBS"
10218 cat > conftest.
$ac_ext <<EOF
10219 #line 10220 "configure"
10220 #include "confdefs.h"
10221 /* Override any gcc2 internal prototype to avoid an error. */
10222 /* We use char because int might match the return type of a gcc2
10223 builtin and then its argument prototype would still apply. */
10230 if { (eval echo configure
:10231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10232 eval "ac_cv_lib_$ac_lib_var=yes"
10234 echo "configure: failed program was:" >&5
10235 cat conftest.
$ac_ext >&5
10237 eval "ac_cv_lib_$ac_lib_var=no"
10240 LIBS
="$ac_save_LIBS"
10243 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10244 echo "$ac_t""yes" 1>&6
10245 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10247 echo "$ac_t""no" 1>&6
10250 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10251 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10252 echo "configure:10253: checking for dnet_ntoa in -ldnet_stub" >&5
10253 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10255 echo $ac_n "(cached) $ac_c" 1>&6
10257 ac_save_LIBS
="$LIBS"
10258 LIBS
="-ldnet_stub $LIBS"
10259 cat > conftest.
$ac_ext <<EOF
10260 #line 10261 "configure"
10261 #include "confdefs.h"
10262 /* Override any gcc2 internal prototype to avoid an error. */
10263 /* We use char because int might match the return type of a gcc2
10264 builtin and then its argument prototype would still apply. */
10271 if { (eval echo configure
:10272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10273 eval "ac_cv_lib_$ac_lib_var=yes"
10275 echo "configure: failed program was:" >&5
10276 cat conftest.
$ac_ext >&5
10278 eval "ac_cv_lib_$ac_lib_var=no"
10281 LIBS
="$ac_save_LIBS"
10284 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10285 echo "$ac_t""yes" 1>&6
10286 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10288 echo "$ac_t""no" 1>&6
10293 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10294 # to get the SysV transport functions.
10295 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10297 # The nsl library prevents programs from opening the X display
10298 # on Irix 5.2, according to dickey@clark.net.
10299 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10300 echo "configure:10301: checking for gethostbyname" >&5
10301 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10302 echo $ac_n "(cached) $ac_c" 1>&6
10304 cat > conftest.
$ac_ext <<EOF
10305 #line 10306 "configure"
10306 #include "confdefs.h"
10307 /* System header to define __stub macros and hopefully few prototypes,
10308 which can conflict with char gethostbyname(); below. */
10309 #include <assert.h>
10310 /* Override any gcc2 internal prototype to avoid an error. */
10311 /* We use char because int might match the return type of a gcc2
10312 builtin and then its argument prototype would still apply. */
10313 char gethostbyname();
10317 /* The GNU C library defines this for functions which it implements
10318 to always fail with ENOSYS. Some functions are actually named
10319 something starting with __ and the normal name is an alias. */
10320 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10328 if { (eval echo configure
:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10330 eval "ac_cv_func_gethostbyname=yes"
10332 echo "configure: failed program was:" >&5
10333 cat conftest.
$ac_ext >&5
10335 eval "ac_cv_func_gethostbyname=no"
10340 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10341 echo "$ac_t""yes" 1>&6
10344 echo "$ac_t""no" 1>&6
10347 if test $ac_cv_func_gethostbyname = no
; then
10348 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10349 echo "configure:10350: checking for gethostbyname in -lnsl" >&5
10350 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10351 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10352 echo $ac_n "(cached) $ac_c" 1>&6
10354 ac_save_LIBS
="$LIBS"
10356 cat > conftest.
$ac_ext <<EOF
10357 #line 10358 "configure"
10358 #include "confdefs.h"
10359 /* Override any gcc2 internal prototype to avoid an error. */
10360 /* We use char because int might match the return type of a gcc2
10361 builtin and then its argument prototype would still apply. */
10362 char gethostbyname();
10368 if { (eval echo configure
:10369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10370 eval "ac_cv_lib_$ac_lib_var=yes"
10372 echo "configure: failed program was:" >&5
10373 cat conftest.
$ac_ext >&5
10375 eval "ac_cv_lib_$ac_lib_var=no"
10378 LIBS
="$ac_save_LIBS"
10381 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10382 echo "$ac_t""yes" 1>&6
10383 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10385 echo "$ac_t""no" 1>&6
10390 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10391 # socket/setsockopt and other routines are undefined under SCO ODT
10392 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10393 # on later versions), says simon@lia.di.epfl.ch: it contains
10394 # gethostby* variants that don't use the nameserver (or something).
10395 # -lsocket must be given before -lnsl if both are needed.
10396 # We assume that if connect needs -lnsl, so does gethostbyname.
10397 echo $ac_n "checking for connect""... $ac_c" 1>&6
10398 echo "configure:10399: checking for connect" >&5
10399 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10400 echo $ac_n "(cached) $ac_c" 1>&6
10402 cat > conftest.
$ac_ext <<EOF
10403 #line 10404 "configure"
10404 #include "confdefs.h"
10405 /* System header to define __stub macros and hopefully few prototypes,
10406 which can conflict with char connect(); below. */
10407 #include <assert.h>
10408 /* Override any gcc2 internal prototype to avoid an error. */
10409 /* We use char because int might match the return type of a gcc2
10410 builtin and then its argument prototype would still apply. */
10415 /* The GNU C library defines this for functions which it implements
10416 to always fail with ENOSYS. Some functions are actually named
10417 something starting with __ and the normal name is an alias. */
10418 #if defined (__stub_connect) || defined (__stub___connect)
10426 if { (eval echo configure
:10427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10428 eval "ac_cv_func_connect=yes"
10430 echo "configure: failed program was:" >&5
10431 cat conftest.
$ac_ext >&5
10433 eval "ac_cv_func_connect=no"
10438 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10439 echo "$ac_t""yes" 1>&6
10442 echo "$ac_t""no" 1>&6
10445 if test $ac_cv_func_connect = no
; then
10446 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10447 echo "configure:10448: checking for connect in -lsocket" >&5
10448 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10449 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10450 echo $ac_n "(cached) $ac_c" 1>&6
10452 ac_save_LIBS
="$LIBS"
10453 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10454 cat > conftest.
$ac_ext <<EOF
10455 #line 10456 "configure"
10456 #include "confdefs.h"
10457 /* Override any gcc2 internal prototype to avoid an error. */
10458 /* We use char because int might match the return type of a gcc2
10459 builtin and then its argument prototype would still apply. */
10466 if { (eval echo configure
:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10468 eval "ac_cv_lib_$ac_lib_var=yes"
10470 echo "configure: failed program was:" >&5
10471 cat conftest.
$ac_ext >&5
10473 eval "ac_cv_lib_$ac_lib_var=no"
10476 LIBS
="$ac_save_LIBS"
10479 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10480 echo "$ac_t""yes" 1>&6
10481 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10483 echo "$ac_t""no" 1>&6
10488 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10489 echo $ac_n "checking for remove""... $ac_c" 1>&6
10490 echo "configure:10491: checking for remove" >&5
10491 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10492 echo $ac_n "(cached) $ac_c" 1>&6
10494 cat > conftest.
$ac_ext <<EOF
10495 #line 10496 "configure"
10496 #include "confdefs.h"
10497 /* System header to define __stub macros and hopefully few prototypes,
10498 which can conflict with char remove(); below. */
10499 #include <assert.h>
10500 /* Override any gcc2 internal prototype to avoid an error. */
10501 /* We use char because int might match the return type of a gcc2
10502 builtin and then its argument prototype would still apply. */
10507 /* The GNU C library defines this for functions which it implements
10508 to always fail with ENOSYS. Some functions are actually named
10509 something starting with __ and the normal name is an alias. */
10510 #if defined (__stub_remove) || defined (__stub___remove)
10518 if { (eval echo configure
:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10520 eval "ac_cv_func_remove=yes"
10522 echo "configure: failed program was:" >&5
10523 cat conftest.
$ac_ext >&5
10525 eval "ac_cv_func_remove=no"
10530 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10531 echo "$ac_t""yes" 1>&6
10534 echo "$ac_t""no" 1>&6
10537 if test $ac_cv_func_remove = no
; then
10538 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10539 echo "configure:10540: checking for remove in -lposix" >&5
10540 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10541 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10542 echo $ac_n "(cached) $ac_c" 1>&6
10544 ac_save_LIBS
="$LIBS"
10545 LIBS
="-lposix $LIBS"
10546 cat > conftest.
$ac_ext <<EOF
10547 #line 10548 "configure"
10548 #include "confdefs.h"
10549 /* Override any gcc2 internal prototype to avoid an error. */
10550 /* We use char because int might match the return type of a gcc2
10551 builtin and then its argument prototype would still apply. */
10558 if { (eval echo configure
:10559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10560 eval "ac_cv_lib_$ac_lib_var=yes"
10562 echo "configure: failed program was:" >&5
10563 cat conftest.
$ac_ext >&5
10565 eval "ac_cv_lib_$ac_lib_var=no"
10568 LIBS
="$ac_save_LIBS"
10571 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10572 echo "$ac_t""yes" 1>&6
10573 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10575 echo "$ac_t""no" 1>&6
10580 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10581 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10582 echo "configure:10583: checking for shmat" >&5
10583 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10584 echo $ac_n "(cached) $ac_c" 1>&6
10586 cat > conftest.
$ac_ext <<EOF
10587 #line 10588 "configure"
10588 #include "confdefs.h"
10589 /* System header to define __stub macros and hopefully few prototypes,
10590 which can conflict with char shmat(); below. */
10591 #include <assert.h>
10592 /* Override any gcc2 internal prototype to avoid an error. */
10593 /* We use char because int might match the return type of a gcc2
10594 builtin and then its argument prototype would still apply. */
10599 /* The GNU C library defines this for functions which it implements
10600 to always fail with ENOSYS. Some functions are actually named
10601 something starting with __ and the normal name is an alias. */
10602 #if defined (__stub_shmat) || defined (__stub___shmat)
10610 if { (eval echo configure
:10611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10612 eval "ac_cv_func_shmat=yes"
10614 echo "configure: failed program was:" >&5
10615 cat conftest.
$ac_ext >&5
10617 eval "ac_cv_func_shmat=no"
10622 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10623 echo "$ac_t""yes" 1>&6
10626 echo "$ac_t""no" 1>&6
10629 if test $ac_cv_func_shmat = no
; then
10630 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10631 echo "configure:10632: checking for shmat in -lipc" >&5
10632 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10634 echo $ac_n "(cached) $ac_c" 1>&6
10636 ac_save_LIBS
="$LIBS"
10638 cat > conftest.
$ac_ext <<EOF
10639 #line 10640 "configure"
10640 #include "confdefs.h"
10641 /* Override any gcc2 internal prototype to avoid an error. */
10642 /* We use char because int might match the return type of a gcc2
10643 builtin and then its argument prototype would still apply. */
10650 if { (eval echo configure
:10651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10652 eval "ac_cv_lib_$ac_lib_var=yes"
10654 echo "configure: failed program was:" >&5
10655 cat conftest.
$ac_ext >&5
10657 eval "ac_cv_lib_$ac_lib_var=no"
10660 LIBS
="$ac_save_LIBS"
10663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10664 echo "$ac_t""yes" 1>&6
10665 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10667 echo "$ac_t""no" 1>&6
10673 # Check for libraries that X11R6 Xt/Xaw programs need.
10674 ac_save_LDFLAGS
="$LDFLAGS"
10675 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10676 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10677 # check for ICE first), but we must link in the order -lSM -lICE or
10678 # we get undefined symbols. So assume we have SM if we have ICE.
10679 # These have to be linked with before -lX11, unlike the other
10680 # libraries we check for below, so use a different variable.
10681 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10682 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10683 echo "configure:10684: checking for IceConnectionNumber in -lICE" >&5
10684 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10686 echo $ac_n "(cached) $ac_c" 1>&6
10688 ac_save_LIBS
="$LIBS"
10689 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10690 cat > conftest.
$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10693 /* Override any gcc2 internal prototype to avoid an error. */
10694 /* We use char because int might match the return type of a gcc2
10695 builtin and then its argument prototype would still apply. */
10696 char IceConnectionNumber();
10699 IceConnectionNumber()
10702 if { (eval echo configure
:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10704 eval "ac_cv_lib_$ac_lib_var=yes"
10706 echo "configure: failed program was:" >&5
10707 cat conftest.
$ac_ext >&5
10709 eval "ac_cv_lib_$ac_lib_var=no"
10712 LIBS
="$ac_save_LIBS"
10715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10716 echo "$ac_t""yes" 1>&6
10717 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10719 echo "$ac_t""no" 1>&6
10722 LDFLAGS
="$ac_save_LDFLAGS"
10726 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10727 LDFLAGS
="$LDFLAGS $X_LIBS"
10729 if test "$wxUSE_MOTIF" = 1; then
10730 if test "$no_x" = "yes"; then
10731 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10734 GUI_TK_LIBRARY
="$X_LIBS"
10735 TOOLKIT_INCLUDE
="$X_CFLAGS"
10736 AFMINSTALL
=afminstall
10737 COMPILED_X_PROGRAM
=0
10739 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10740 echo "configure:10741: checking for Motif/Lesstif headers" >&5
10743 for ac_dir
in $SEARCH_INCLUDE;
10745 if test -f "$ac_dir/Xm/Xm.h"; then
10746 ac_find_includes
=$ac_dir
10751 if test "$ac_find_includes" != "" ; then
10752 echo "$ac_t""found $ac_find_includes" 1>&6
10754 cat > conftest.
$ac_ext <<EOF
10755 #line 10756 "configure"
10756 #include "confdefs.h"
10763 version = xmUseVersion;
10767 if { (eval echo configure
:10768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10770 echo "$ac_t""found in default search path" 1>&6
10771 COMPILED_X_PROGRAM
=1
10774 echo "configure: failed program was:" >&5
10775 cat conftest.
$ac_ext >&5
10778 echo "$ac_t""no" 1>&6
10779 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10786 if test "$COMPILED_X_PROGRAM" = 0; then
10787 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10788 echo "configure:10789: checking for Motif/Lesstif library" >&5
10791 for ac_dir
in $SEARCH_LIB;
10793 for ac_extension
in a so sl dylib
; do
10794 if test -f "$ac_dir/libXm.$ac_extension"; then
10795 ac_find_libraries
=$ac_dir
10801 if test "$ac_find_libraries" != "" ; then
10803 ac_path_to_include
=$ac_find_includes
10804 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10806 if test $result = 0; then
10807 ac_path_to_include
=""
10809 ac_path_to_include
="-I$ac_find_includes"
10813 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10815 if test $result = 0; then
10818 ac_path_to_link
="-L$ac_find_libraries"
10822 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10823 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10824 echo "$ac_t""found at $ac_find_libraries" 1>&6
10826 cat > conftest.
$ac_ext <<EOF
10827 #line 10828 "configure"
10828 #include "confdefs.h"
10835 version = xmUseVersion;
10839 if { (eval echo configure
:10840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10842 echo "$ac_t""found in default search path" 1>&6
10843 COMPILED_X_PROGRAM
=1
10846 echo "configure: failed program was:" >&5
10847 cat conftest.
$ac_ext >&5
10850 echo "$ac_t""no" 1>&6
10851 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10860 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10861 echo "configure:10862: checking for Xpm library" >&5
10864 for ac_dir
in $SEARCH_LIB;
10866 for ac_extension
in a so sl dylib
; do
10867 if test -f "$ac_dir/libXpm.$ac_extension"; then
10868 ac_find_libraries
=$ac_dir
10874 if test "$ac_find_libraries" != "" ; then
10876 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10878 if test $result = 0; then
10881 ac_path_to_link
="-L$ac_find_libraries"
10884 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10886 cat >> confdefs.h
<<\EOF
10887 #define wxHAVE_LIB_XPM 1
10890 echo "$ac_t""found at $ac_find_libraries" 1>&6
10892 cat > conftest.
$ac_ext <<EOF
10893 #line 10894 "configure"
10894 #include "confdefs.h"
10896 #include <X11/xpm.h>
10901 version = XpmLibraryVersion();
10905 if { (eval echo configure
:10906: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10909 cat >> confdefs.h
<<\EOF
10910 #define wxHAVE_LIB_XPM 1
10913 echo "$ac_t""found in default search path" 1>&6
10914 COMPILED_X_PROGRAM
=0
10917 echo "configure: failed program was:" >&5
10918 cat conftest.
$ac_ext >&5
10921 echo "$ac_t""no" 1>&6
10922 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10929 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10930 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10935 if test "$wxUSE_MAC" = 1; then
10936 if test "$wxUSE_PRECOMP" = "yes"; then
10937 CPPFLAGS
="${CPPFLAGS} -cpp-precomp"
10939 CFLAGS
="${CFLAGS} -fpascal-strings"
10940 CXXFLAGS
="${CXXFLAGS} -fpascal-strings"
10941 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
10947 if test "$wxUSE_PM" = 1; then
10952 if test "$TOOLKIT" = "PM" ; then
10955 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10958 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10960 if test "$wxUSE_UNIVERSAL" = "yes"; then
10961 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10962 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10963 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10964 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10967 ALL_OBJECTS
="\$(GUIOBJS)"
10970 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10972 if test "$TOOLKIT" != "MSW"; then
10973 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10976 if test "$wxUSE_HTML" = "yes"; then
10977 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10980 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10981 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10983 if test "$wxUSE_LIBJPEG" = "yes" ; then
10984 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10986 if test "$wxUSE_LIBTIFF" = "yes" ; then
10987 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10989 if test "$wxUSE_LIBPNG" = "yes" ; then
10990 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10992 if test "$wxUSE_FREETYPE" = "yes" ; then
10993 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10996 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10997 RPM_SPEC
="wx\$(TOOLKIT).spec"
10999 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11000 DISTDIR
="wx\$(TOOLKIT)"
11006 if test "$USE_WIN32" = 1 ; then
11007 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11008 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11012 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11013 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11016 PORT_FILES
="\${top_srcdir}/src/files.lst"
11017 RPM_FILES
="src/rpmfiles.lst"
11018 RPM_SPEC
="wxBase.spec"
11020 GUIDIST
="BASE_DIST"
11024 if test "x$REGEX_INCLUDE" != "x" ; then
11025 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11027 if test "$wxUSE_ZLIB" = "yes" ; then
11028 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11031 if test "$wxUSE_OPENGL" = "yes"; then
11032 if test "$wxUSE_MAC" = 1; then
11033 cat >> confdefs.h
<<\EOF
11034 #define wxUSE_OPENGL 1
11037 cat >> confdefs.h
<<\EOF
11038 #define wxUSE_GLCANVAS 1
11041 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11044 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11045 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11046 echo "configure:11047: checking for GL/gl.h" >&5
11047 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11048 echo $ac_n "(cached) $ac_c" 1>&6
11050 cat > conftest.
$ac_ext <<EOF
11051 #line 11052 "configure"
11052 #include "confdefs.h"
11055 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11056 { (eval echo configure
:11057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11057 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11058 if test -z "$ac_err"; then
11060 eval "ac_cv_header_$ac_safe=yes"
11063 echo "configure: failed program was:" >&5
11064 cat conftest.
$ac_ext >&5
11066 eval "ac_cv_header_$ac_safe=no"
11070 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11071 echo "$ac_t""yes" 1>&6
11073 cat >> confdefs.h
<<\EOF
11074 #define wxUSE_OPENGL 1
11077 cat >> confdefs.h
<<\EOF
11078 #define wxUSE_GLCANVAS 1
11081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11082 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11083 echo "configure:11084: checking for glFlush in -lGL" >&5
11084 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11085 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11086 echo $ac_n "(cached) $ac_c" 1>&6
11088 ac_save_LIBS
="$LIBS"
11090 cat > conftest.
$ac_ext <<EOF
11091 #line 11092 "configure"
11092 #include "confdefs.h"
11093 /* Override any gcc2 internal prototype to avoid an error. */
11094 /* We use char because int might match the return type of a gcc2
11095 builtin and then its argument prototype would still apply. */
11102 if { (eval echo configure
:11103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11104 eval "ac_cv_lib_$ac_lib_var=yes"
11106 echo "configure: failed program was:" >&5
11107 cat conftest.
$ac_ext >&5
11109 eval "ac_cv_lib_$ac_lib_var=no"
11112 LIBS
="$ac_save_LIBS"
11115 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11116 echo "$ac_t""yes" 1>&6
11118 OPENGL_LIBS
="-lGL -lGLU"
11121 echo "$ac_t""no" 1>&6
11123 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11124 echo "configure:11125: checking for glFlush in -lMesaGL" >&5
11125 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11126 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11127 echo $ac_n "(cached) $ac_c" 1>&6
11129 ac_save_LIBS
="$LIBS"
11130 LIBS
="-lMesaGL $LIBS"
11131 cat > conftest.
$ac_ext <<EOF
11132 #line 11133 "configure"
11133 #include "confdefs.h"
11134 /* Override any gcc2 internal prototype to avoid an error. */
11135 /* We use char because int might match the return type of a gcc2
11136 builtin and then its argument prototype would still apply. */
11143 if { (eval echo configure
:11144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11145 eval "ac_cv_lib_$ac_lib_var=yes"
11147 echo "configure: failed program was:" >&5
11148 cat conftest.
$ac_ext >&5
11150 eval "ac_cv_lib_$ac_lib_var=no"
11153 LIBS
="$ac_save_LIBS"
11156 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11157 echo "$ac_t""yes" 1>&6
11159 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11162 echo "$ac_t""no" 1>&6
11170 echo "$ac_t""no" 1>&6
11177 if test -z "$TOOLKIT_VPATH" ; then
11178 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11181 if test -n "$TOOLKIT" ; then
11182 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11185 if test "$wxUSE_CYGWIN" = 1 ; then
11186 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11190 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11192 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}d"
11195 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11196 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11198 if test "$cross_compiling" = "yes"; then
11199 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11200 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11203 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11204 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11206 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11208 if test "$wxUSE_OPENGL" = "yes"; then
11209 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11212 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11213 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11215 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11216 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11218 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11219 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11220 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11221 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11223 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11227 if test "$wxUSE_SHARED" = "yes"; then
11229 if test "$wxUSE_OPENGL" = "yes"; then
11230 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11231 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11233 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11234 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11237 if test "$GCC" = "yes"; then
11241 SHARED_LD
="${CXX} -shared -o"
11245 if test "$GCC" != "yes"; then
11246 LDFLAGS
="-L/usr/lib"
11248 SHARED_LD
="${CXX} -b -o"
11252 if test "$wxUSE_OPENGL" = "yes"; then
11253 WX_ALL_INSTALLED
="preinstall_gl"
11254 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11256 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11261 if test "$GCC" != "yes"; then
11262 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11263 echo "configure:11264: checking for Intel compiler" >&5
11264 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11265 echo $ac_n "(cached) $ac_c" 1>&6
11268 cat > conftest.
$ac_ext <<EOF
11269 #line 11270 "configure"
11270 #include "confdefs.h"
11274 #ifndef __INTEL_COMPILER
11280 if { (eval echo configure
:11281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11284 echo "configure: failed program was:" >&5
11285 cat conftest.
$ac_ext >&5
11294 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11295 if test "$wx_cv_prog_icc" = "yes"; then
11300 if test "$wxUSE_SONAME" = "yes" ; then
11301 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11302 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11303 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11308 if test "$GCC" = yes ; then
11309 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11311 SHARED_LD
="${CXX} -G -o"
11313 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11314 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11319 CFLAGS
="${CFLAGS} -fno-common"
11320 CXXFLAGS
="${CXXFLAGS} -fno-common"
11321 SHARED_LD
="${CXX} -dynamiclib -o"
11322 PIC_FLAG
="-dynamic -fPIC"
11326 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11329 *-*-cygwin* | *-*-mingw32* )
11330 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11331 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11332 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11334 if test "$wxUSE_OPENGL" = "yes"; then
11335 WX_ALL_INSTALLED
="preinstall_gl"
11336 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11338 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11348 SHARED_LD
="${LD} -shared -o"
11351 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11353 *-*-irix5* | *-*-irix6* | \
11360 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11363 if test "x$WX_TARGET_LIBRARY" = "x"; then
11364 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11365 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11368 WX_TARGET_LIBRARY_TYPE
="so"
11371 if test "$wxUSE_SHARED" = "no"; then
11373 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11374 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11377 if test "$wxUSE_OPENGL" = "yes"; then
11378 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11379 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11381 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11384 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11385 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11387 WX_TARGET_LIBRARY_TYPE
="a"
11390 if test "$wxUSE_MAC" = 1; then
11391 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
11392 # Extract the first word of "Rez", so it can be a program name with args.
11393 set dummy Rez
; ac_word
=$2
11394 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11395 echo "configure:11396: checking for $ac_word" >&5
11396 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11397 echo $ac_n "(cached) $ac_c" 1>&6
11399 if test -n "$RESCOMP"; then
11400 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11402 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11404 for ac_dir
in $ac_dummy; do
11405 test -z "$ac_dir" && ac_dir
=.
11406 if test -f $ac_dir/$ac_word; then
11407 ac_cv_prog_RESCOMP
="Rez"
11412 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11415 RESCOMP
="$ac_cv_prog_RESCOMP"
11416 if test -n "$RESCOMP"; then
11417 echo "$ac_t""$RESCOMP" 1>&6
11419 echo "$ac_t""no" 1>&6
11422 # Extract the first word of "Derez", so it can be a program name with args.
11423 set dummy Derez
; ac_word
=$2
11424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11425 echo "configure:11426: checking for $ac_word" >&5
11426 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11429 if test -n "$DEREZ"; then
11430 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
11432 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11434 for ac_dir
in $ac_dummy; do
11435 test -z "$ac_dir" && ac_dir
=.
11436 if test -f $ac_dir/$ac_word; then
11437 ac_cv_prog_DEREZ
="Derez"
11442 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
11445 DEREZ
="$ac_cv_prog_DEREZ"
11446 if test -n "$DEREZ"; then
11447 echo "$ac_t""$DEREZ" 1>&6
11449 echo "$ac_t""no" 1>&6
11452 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11453 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11457 for ac_hdr
in strings.h
11459 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11460 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11461 echo "configure:11462: checking for $ac_hdr" >&5
11462 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11463 echo $ac_n "(cached) $ac_c" 1>&6
11465 cat > conftest.
$ac_ext <<EOF
11466 #line 11467 "configure"
11467 #include "confdefs.h"
11470 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11471 { (eval echo configure
:11472: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11472 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11473 if test -z "$ac_err"; then
11475 eval "ac_cv_header_$ac_safe=yes"
11478 echo "configure: failed program was:" >&5
11479 cat conftest.
$ac_ext >&5
11481 eval "ac_cv_header_$ac_safe=no"
11485 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11486 echo "$ac_t""yes" 1>&6
11487 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11488 cat >> confdefs.h
<<EOF
11489 #define $ac_tr_hdr 1
11493 echo "$ac_t""no" 1>&6
11497 for ac_hdr
in stdlib.h
11499 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11500 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11501 echo "configure:11502: checking for $ac_hdr" >&5
11502 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11503 echo $ac_n "(cached) $ac_c" 1>&6
11505 cat > conftest.
$ac_ext <<EOF
11506 #line 11507 "configure"
11507 #include "confdefs.h"
11510 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11511 { (eval echo configure
:11512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11512 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11513 if test -z "$ac_err"; then
11515 eval "ac_cv_header_$ac_safe=yes"
11518 echo "configure: failed program was:" >&5
11519 cat conftest.
$ac_ext >&5
11521 eval "ac_cv_header_$ac_safe=no"
11525 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11526 echo "$ac_t""yes" 1>&6
11527 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11528 cat >> confdefs.h
<<EOF
11529 #define $ac_tr_hdr 1
11533 echo "$ac_t""no" 1>&6
11537 for ac_hdr
in unistd.h
11539 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11540 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11541 echo "configure:11542: checking for $ac_hdr" >&5
11542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11543 echo $ac_n "(cached) $ac_c" 1>&6
11545 cat > conftest.
$ac_ext <<EOF
11546 #line 11547 "configure"
11547 #include "confdefs.h"
11550 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11551 { (eval echo configure
:11552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11552 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11553 if test -z "$ac_err"; then
11555 eval "ac_cv_header_$ac_safe=yes"
11558 echo "configure: failed program was:" >&5
11559 cat conftest.
$ac_ext >&5
11561 eval "ac_cv_header_$ac_safe=no"
11565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11566 echo "$ac_t""yes" 1>&6
11567 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11568 cat >> confdefs.h
<<EOF
11569 #define $ac_tr_hdr 1
11573 echo "$ac_t""no" 1>&6
11577 for ac_hdr
in wchar.h
11579 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11581 echo "configure:11582: checking for $ac_hdr" >&5
11582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11583 echo $ac_n "(cached) $ac_c" 1>&6
11585 cat > conftest.
$ac_ext <<EOF
11586 #line 11587 "configure"
11587 #include "confdefs.h"
11590 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11591 { (eval echo configure
:11592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11592 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11593 if test -z "$ac_err"; then
11595 eval "ac_cv_header_$ac_safe=yes"
11598 echo "configure: failed program was:" >&5
11599 cat conftest.
$ac_ext >&5
11601 eval "ac_cv_header_$ac_safe=no"
11605 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11606 echo "$ac_t""yes" 1>&6
11607 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11608 cat >> confdefs.h
<<EOF
11609 #define $ac_tr_hdr 1
11613 echo "$ac_t""no" 1>&6
11617 for ac_hdr
in wcstr.h
11619 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11620 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11621 echo "configure:11622: checking for $ac_hdr" >&5
11622 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11623 echo $ac_n "(cached) $ac_c" 1>&6
11625 cat > conftest.
$ac_ext <<EOF
11626 #line 11627 "configure"
11627 #include "confdefs.h"
11630 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11631 { (eval echo configure
:11632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11632 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11633 if test -z "$ac_err"; then
11635 eval "ac_cv_header_$ac_safe=yes"
11638 echo "configure: failed program was:" >&5
11639 cat conftest.
$ac_ext >&5
11641 eval "ac_cv_header_$ac_safe=no"
11645 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11646 echo "$ac_t""yes" 1>&6
11647 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11648 cat >> confdefs.h
<<EOF
11649 #define $ac_tr_hdr 1
11653 echo "$ac_t""no" 1>&6
11657 for ac_hdr
in fnmatch.h
11659 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11660 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11661 echo "configure:11662: checking for $ac_hdr" >&5
11662 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11663 echo $ac_n "(cached) $ac_c" 1>&6
11665 cat > conftest.
$ac_ext <<EOF
11666 #line 11667 "configure"
11667 #include "confdefs.h"
11670 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11671 { (eval echo configure
:11672: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11672 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11673 if test -z "$ac_err"; then
11675 eval "ac_cv_header_$ac_safe=yes"
11678 echo "configure: failed program was:" >&5
11679 cat conftest.
$ac_ext >&5
11681 eval "ac_cv_header_$ac_safe=no"
11685 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11686 echo "$ac_t""yes" 1>&6
11687 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11688 cat >> confdefs.h
<<EOF
11689 #define $ac_tr_hdr 1
11693 echo "$ac_t""no" 1>&6
11697 for ac_hdr
in iconv.h
11699 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11700 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11701 echo "configure:11702: checking for $ac_hdr" >&5
11702 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11703 echo $ac_n "(cached) $ac_c" 1>&6
11705 cat > conftest.
$ac_ext <<EOF
11706 #line 11707 "configure"
11707 #include "confdefs.h"
11710 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11711 { (eval echo configure
:11712: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11712 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11713 if test -z "$ac_err"; then
11715 eval "ac_cv_header_$ac_safe=yes"
11718 echo "configure: failed program was:" >&5
11719 cat conftest.
$ac_ext >&5
11721 eval "ac_cv_header_$ac_safe=no"
11725 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11726 echo "$ac_t""yes" 1>&6
11727 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11728 cat >> confdefs.h
<<EOF
11729 #define $ac_tr_hdr 1
11733 echo "$ac_t""no" 1>&6
11737 for ac_hdr
in langinfo.h
11739 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11740 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11741 echo "configure:11742: checking for $ac_hdr" >&5
11742 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11743 echo $ac_n "(cached) $ac_c" 1>&6
11745 cat > conftest.
$ac_ext <<EOF
11746 #line 11747 "configure"
11747 #include "confdefs.h"
11750 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11751 { (eval echo configure
:11752: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11752 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11753 if test -z "$ac_err"; then
11755 eval "ac_cv_header_$ac_safe=yes"
11758 echo "configure: failed program was:" >&5
11759 cat conftest.
$ac_ext >&5
11761 eval "ac_cv_header_$ac_safe=no"
11765 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11766 echo "$ac_t""yes" 1>&6
11767 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11768 cat >> confdefs.h
<<EOF
11769 #define $ac_tr_hdr 1
11773 echo "$ac_t""no" 1>&6
11778 if test "$wxUSE_GUI" = "yes"; then
11779 if test "$wxUSE_UNIX" = "yes"; then
11780 for ac_hdr
in X
11/XKBlib.h
11782 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11783 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11784 echo "configure:11785: checking for $ac_hdr" >&5
11785 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11786 echo $ac_n "(cached) $ac_c" 1>&6
11788 cat > conftest.
$ac_ext <<EOF
11789 #line 11790 "configure"
11790 #include "confdefs.h"
11793 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11794 { (eval echo configure
:11795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11795 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11796 if test -z "$ac_err"; then
11798 eval "ac_cv_header_$ac_safe=yes"
11801 echo "configure: failed program was:" >&5
11802 cat conftest.
$ac_ext >&5
11804 eval "ac_cv_header_$ac_safe=no"
11808 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11809 echo "$ac_t""yes" 1>&6
11810 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11811 cat >> confdefs.h
<<EOF
11812 #define $ac_tr_hdr 1
11816 echo "$ac_t""no" 1>&6
11824 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11825 echo "configure:11826: checking for ANSI C header files" >&5
11826 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11827 echo $ac_n "(cached) $ac_c" 1>&6
11829 cat > conftest.
$ac_ext <<EOF
11830 #line 11831 "configure"
11831 #include "confdefs.h"
11832 #include <stdlib.h>
11833 #include <stdarg.h>
11834 #include <string.h>
11837 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11838 { (eval echo configure
:11839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11839 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11840 if test -z "$ac_err"; then
11842 ac_cv_header_stdc
=yes
11845 echo "configure: failed program was:" >&5
11846 cat conftest.
$ac_ext >&5
11848 ac_cv_header_stdc
=no
11852 if test $ac_cv_header_stdc = yes; then
11853 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11854 cat > conftest.
$ac_ext <<EOF
11855 #line 11856 "configure"
11856 #include "confdefs.h"
11857 #include <string.h>
11859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11860 egrep "memchr" >/dev
/null
2>&1; then
11864 ac_cv_header_stdc
=no
11870 if test $ac_cv_header_stdc = yes; then
11871 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11872 cat > conftest.
$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 #include <stdlib.h>
11877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11878 egrep "free" >/dev
/null
2>&1; then
11882 ac_cv_header_stdc
=no
11888 if test $ac_cv_header_stdc = yes; then
11889 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11890 if test "$cross_compiling" = yes; then
11893 cat > conftest.
$ac_ext <<EOF
11894 #line 11895 "configure"
11895 #include "confdefs.h"
11897 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11898 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11899 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11900 int main () { int i; for (i = 0; i < 256; i++)
11901 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11905 if { (eval echo configure
:11906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11909 echo "configure: failed program was:" >&5
11910 cat conftest.
$ac_ext >&5
11912 ac_cv_header_stdc
=no
11920 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11921 if test $ac_cv_header_stdc = yes; then
11922 cat >> confdefs.h
<<\EOF
11923 #define STDC_HEADERS 1
11928 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11929 echo "configure:11930: checking for mode_t" >&5
11930 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11931 echo $ac_n "(cached) $ac_c" 1>&6
11933 cat > conftest.
$ac_ext <<EOF
11934 #line 11935 "configure"
11935 #include "confdefs.h"
11936 #include <sys/types.h>
11938 #include <stdlib.h>
11939 #include <stddef.h>
11942 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11943 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11945 ac_cv_type_mode_t
=yes
11948 ac_cv_type_mode_t
=no
11953 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11954 if test $ac_cv_type_mode_t = no
; then
11955 cat >> confdefs.h
<<\EOF
11961 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11962 echo "configure:11963: checking for off_t" >&5
11963 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11964 echo $ac_n "(cached) $ac_c" 1>&6
11966 cat > conftest.
$ac_ext <<EOF
11967 #line 11968 "configure"
11968 #include "confdefs.h"
11969 #include <sys/types.h>
11971 #include <stdlib.h>
11972 #include <stddef.h>
11975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11976 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11978 ac_cv_type_off_t
=yes
11981 ac_cv_type_off_t
=no
11986 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11987 if test $ac_cv_type_off_t = no
; then
11988 cat >> confdefs.h
<<\EOF
11994 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11995 echo "configure:11996: checking for pid_t" >&5
11996 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11997 echo $ac_n "(cached) $ac_c" 1>&6
11999 cat > conftest.
$ac_ext <<EOF
12000 #line 12001 "configure"
12001 #include "confdefs.h"
12002 #include <sys/types.h>
12004 #include <stdlib.h>
12005 #include <stddef.h>
12008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12009 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12011 ac_cv_type_pid_t
=yes
12014 ac_cv_type_pid_t
=no
12019 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12020 if test $ac_cv_type_pid_t = no
; then
12021 cat >> confdefs.h
<<\EOF
12027 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12028 echo "configure:12029: checking for size_t" >&5
12029 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12030 echo $ac_n "(cached) $ac_c" 1>&6
12032 cat > conftest.
$ac_ext <<EOF
12033 #line 12034 "configure"
12034 #include "confdefs.h"
12035 #include <sys/types.h>
12037 #include <stdlib.h>
12038 #include <stddef.h>
12041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12042 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12044 ac_cv_type_size_t
=yes
12047 ac_cv_type_size_t
=no
12052 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12053 if test $ac_cv_type_size_t = no
; then
12054 cat >> confdefs.h
<<\EOF
12055 #define size_t unsigned
12060 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12061 echo "configure:12062: checking for uid_t in sys/types.h" >&5
12062 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12063 echo $ac_n "(cached) $ac_c" 1>&6
12065 cat > conftest.
$ac_ext <<EOF
12066 #line 12067 "configure"
12067 #include "confdefs.h"
12068 #include <sys/types.h>
12070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12071 egrep "uid_t" >/dev
/null
2>&1; then
12073 ac_cv_type_uid_t
=yes
12076 ac_cv_type_uid_t
=no
12082 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12083 if test $ac_cv_type_uid_t = no
; then
12084 cat >> confdefs.h
<<\EOF
12088 cat >> confdefs.h
<<\EOF
12095 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12096 echo "configure:12097: checking for wchar_t" >&5
12097 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12098 echo $ac_n "(cached) $ac_c" 1>&6
12101 cat > conftest.
$ac_ext <<EOF
12102 #line 12103 "configure"
12103 #include "confdefs.h"
12109 ws = L"Hello, world!";
12113 if { (eval echo configure
:12114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12115 wx_cv_type_wchar_t
=yes
12117 echo "configure: failed program was:" >&5
12118 cat conftest.
$ac_ext >&5
12120 cat > conftest.
$ac_ext <<EOF
12121 #line 12122 "configure"
12122 #include "confdefs.h"
12123 #include <stdlib.h>
12128 ws = L"Hello, world!";
12132 if { (eval echo configure
:12133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12134 wx_cv_type_wchar_t
=yes
12136 echo "configure: failed program was:" >&5
12137 cat conftest.
$ac_ext >&5
12139 wx_cv_type_wchar_t
=no
12148 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12150 if test "$wx_cv_type_wchar_t" = "yes"; then
12151 cat >> confdefs.h
<<\EOF
12152 #define wxUSE_WCHAR_T 1
12159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12160 ac_cpp
='$CXXCPP $CPPFLAGS'
12161 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12162 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12163 cross_compiling
=$ac_cv_prog_cxx_cross
12165 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12166 echo "configure:12167: checking if size_t is unsigned int" >&5
12167 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12168 echo $ac_n "(cached) $ac_c" 1>&6
12170 cat > conftest.
$ac_ext <<EOF
12171 #line 12172 "configure"
12172 #include "confdefs.h"
12173 #include <stddef.h>
12178 struct Foo { void foo(size_t); void foo(unsigned int); };
12184 if { (eval echo configure
:12185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12186 wx_cv_size_t_is_uint
=no
12188 echo "configure: failed program was:" >&5
12189 cat conftest.
$ac_ext >&5
12191 wx_cv_size_t_is_uint
=yes
12198 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12200 if test "$wx_cv_size_t_is_uint" = "yes"; then
12201 cat >> confdefs.h
<<\EOF
12202 #define wxSIZE_T_IS_UINT 1
12206 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12207 echo "configure:12208: checking if size_t is unsigned long" >&5
12208 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12209 echo $ac_n "(cached) $ac_c" 1>&6
12211 cat > conftest.
$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12214 #include <stddef.h>
12219 struct Foo { void foo(size_t); void foo(unsigned long); };
12225 if { (eval echo configure
:12226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12227 wx_cv_size_t_is_ulong
=no
12229 echo "configure: failed program was:" >&5
12230 cat conftest.
$ac_ext >&5
12232 wx_cv_size_t_is_ulong
=yes
12239 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12241 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12242 cat >> confdefs.h
<<\EOF
12243 #define wxSIZE_T_IS_ULONG 1
12250 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12251 ac_cpp
='$CPP $CPPFLAGS'
12252 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12253 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12254 cross_compiling
=$ac_cv_prog_cc_cross
12258 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12259 echo "configure:12260: checking for pw_gecos in struct passwd" >&5
12260 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12261 echo $ac_n "(cached) $ac_c" 1>&6
12264 cat > conftest.
$ac_ext <<EOF
12265 #line 12266 "configure"
12266 #include "confdefs.h"
12276 if { (eval echo configure
:12277: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12279 wx_cv_struct_pw_gecos
=yes
12282 echo "configure: failed program was:" >&5
12283 cat conftest.
$ac_ext >&5
12286 wx_cv_struct_pw_gecos
=no
12295 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12297 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12298 cat >> confdefs.h
<<\EOF
12299 #define HAVE_PW_GECOS 1
12305 echo $ac_n "checking for working const""... $ac_c" 1>&6
12306 echo "configure:12307: checking for working const" >&5
12307 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12308 echo $ac_n "(cached) $ac_c" 1>&6
12310 cat > conftest.
$ac_ext <<EOF
12311 #line 12312 "configure"
12312 #include "confdefs.h"
12316 /* Ultrix mips cc rejects this. */
12317 typedef int charset[2]; const charset x;
12318 /* SunOS 4.1.1 cc rejects this. */
12319 char const *const *ccp;
12321 /* NEC SVR4.0.2 mips cc rejects this. */
12322 struct point {int x, y;};
12323 static struct point const zero = {0,0};
12324 /* AIX XL C 1.02.0.0 rejects this.
12325 It does not let you subtract one const X* pointer from another in an arm
12326 of an if-expression whose if-part is not a constant expression */
12327 const char *g = "string";
12328 ccp = &g + (g ? g-g : 0);
12329 /* HPUX 7.0 cc rejects these. */
12332 ccp = (char const *const *) p;
12333 { /* SCO 3.2v4 cc rejects this. */
12335 char const *s = 0 ? (char *) 0 : (char const *) 0;
12339 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12340 int x[] = {25, 17};
12341 const int *foo = &x[0];
12344 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12345 typedef const int *iptr;
12349 { /* AIX XL C 1.02.0.0 rejects this saying
12350 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12351 struct s { int j; const int *ap[3]; };
12352 struct s *b; b->j = 5;
12354 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12355 const int foo = 10;
12360 if { (eval echo configure
:12361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12364 echo "configure: failed program was:" >&5
12365 cat conftest.
$ac_ext >&5
12372 echo "$ac_t""$ac_cv_c_const" 1>&6
12373 if test $ac_cv_c_const = no
; then
12374 cat >> confdefs.h
<<\EOF
12380 echo $ac_n "checking for inline""... $ac_c" 1>&6
12381 echo "configure:12382: checking for inline" >&5
12382 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12383 echo $ac_n "(cached) $ac_c" 1>&6
12386 for ac_kw
in inline __inline__ __inline
; do
12387 cat > conftest.
$ac_ext <<EOF
12388 #line 12389 "configure"
12389 #include "confdefs.h"
12395 if { (eval echo configure
:12396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12397 ac_cv_c_inline
=$ac_kw; break
12399 echo "configure: failed program was:" >&5
12400 cat conftest.
$ac_ext >&5
12407 echo "$ac_t""$ac_cv_c_inline" 1>&6
12408 case "$ac_cv_c_inline" in
12410 no
) cat >> confdefs.h
<<\EOF
12414 *) cat >> confdefs.h
<<EOF
12415 #define inline $ac_cv_c_inline
12421 echo $ac_n "checking size of char""... $ac_c" 1>&6
12422 echo "configure:12423: checking size of char" >&5
12423 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12424 echo $ac_n "(cached) $ac_c" 1>&6
12426 if test "$cross_compiling" = yes; then
12427 ac_cv_sizeof_char
=1
12429 cat > conftest.
$ac_ext <<EOF
12430 #line 12431 "configure"
12431 #include "confdefs.h"
12435 FILE *f=fopen("conftestval", "w");
12437 fprintf(f, "%d\n", sizeof(char));
12441 if { (eval echo configure
:12442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12443 ac_cv_sizeof_char
=`cat conftestval`
12445 echo "configure: failed program was:" >&5
12446 cat conftest.
$ac_ext >&5
12448 ac_cv_sizeof_char
=0
12454 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12455 cat >> confdefs.h
<<EOF
12456 #define SIZEOF_CHAR $ac_cv_sizeof_char
12460 echo $ac_n "checking size of short""... $ac_c" 1>&6
12461 echo "configure:12462: checking size of short" >&5
12462 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12463 echo $ac_n "(cached) $ac_c" 1>&6
12465 if test "$cross_compiling" = yes; then
12466 ac_cv_sizeof_short
=2
12468 cat > conftest.
$ac_ext <<EOF
12469 #line 12470 "configure"
12470 #include "confdefs.h"
12474 FILE *f=fopen("conftestval", "w");
12476 fprintf(f, "%d\n", sizeof(short));
12480 if { (eval echo configure
:12481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12482 ac_cv_sizeof_short
=`cat conftestval`
12484 echo "configure: failed program was:" >&5
12485 cat conftest.
$ac_ext >&5
12487 ac_cv_sizeof_short
=0
12493 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12494 cat >> confdefs.h
<<EOF
12495 #define SIZEOF_SHORT $ac_cv_sizeof_short
12499 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12500 echo "configure:12501: checking size of int *" >&5
12501 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12502 echo $ac_n "(cached) $ac_c" 1>&6
12504 if test "$cross_compiling" = yes; then
12505 ac_cv_sizeof_int_p
=4
12507 cat > conftest.
$ac_ext <<EOF
12508 #line 12509 "configure"
12509 #include "confdefs.h"
12513 FILE *f=fopen("conftestval", "w");
12515 fprintf(f, "%d\n", sizeof(int *));
12519 if { (eval echo configure
:12520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12521 ac_cv_sizeof_int_p
=`cat conftestval`
12523 echo "configure: failed program was:" >&5
12524 cat conftest.
$ac_ext >&5
12526 ac_cv_sizeof_int_p
=0
12532 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12533 cat >> confdefs.h
<<EOF
12534 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12538 echo $ac_n "checking size of int""... $ac_c" 1>&6
12539 echo "configure:12540: checking size of int" >&5
12540 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12541 echo $ac_n "(cached) $ac_c" 1>&6
12543 if test "$cross_compiling" = yes; then
12546 cat > conftest.
$ac_ext <<EOF
12547 #line 12548 "configure"
12548 #include "confdefs.h"
12552 FILE *f=fopen("conftestval", "w");
12554 fprintf(f, "%d\n", sizeof(int));
12558 if { (eval echo configure
:12559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12560 ac_cv_sizeof_int
=`cat conftestval`
12562 echo "configure: failed program was:" >&5
12563 cat conftest.
$ac_ext >&5
12571 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12572 cat >> confdefs.h
<<EOF
12573 #define SIZEOF_INT $ac_cv_sizeof_int
12577 echo $ac_n "checking size of long""... $ac_c" 1>&6
12578 echo "configure:12579: checking size of long" >&5
12579 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12580 echo $ac_n "(cached) $ac_c" 1>&6
12582 if test "$cross_compiling" = yes; then
12583 ac_cv_sizeof_long
=4
12585 cat > conftest.
$ac_ext <<EOF
12586 #line 12587 "configure"
12587 #include "confdefs.h"
12591 FILE *f=fopen("conftestval", "w");
12593 fprintf(f, "%d\n", sizeof(long));
12597 if { (eval echo configure
:12598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12599 ac_cv_sizeof_long
=`cat conftestval`
12601 echo "configure: failed program was:" >&5
12602 cat conftest.
$ac_ext >&5
12604 ac_cv_sizeof_long
=0
12610 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12611 cat >> confdefs.h
<<EOF
12612 #define SIZEOF_LONG $ac_cv_sizeof_long
12616 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12617 echo "configure:12618: checking size of long long" >&5
12618 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12619 echo $ac_n "(cached) $ac_c" 1>&6
12621 if test "$cross_compiling" = yes; then
12622 ac_cv_sizeof_long_long
=0
12624 cat > conftest.
$ac_ext <<EOF
12625 #line 12626 "configure"
12626 #include "confdefs.h"
12630 FILE *f=fopen("conftestval", "w");
12632 fprintf(f, "%d\n", sizeof(long long));
12636 if { (eval echo configure
:12637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12638 ac_cv_sizeof_long_long
=`cat conftestval`
12640 echo "configure: failed program was:" >&5
12641 cat conftest.
$ac_ext >&5
12643 ac_cv_sizeof_long_long
=0
12649 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12650 cat >> confdefs.h
<<EOF
12651 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12656 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12657 echo "configure:12658: checking size of wchar_t" >&5
12658 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12659 echo $ac_n "(cached) $ac_c" 1>&6
12662 if test "$cross_compiling" = yes; then
12663 wx_cv_sizeof_wchar_t
=4
12666 cat > conftest.
$ac_ext <<EOF
12667 #line 12668 "configure"
12668 #include "confdefs.h"
12670 #ifdef HAVE_WCHAR_H
12671 # include <wchar.h>
12673 #ifdef HAVE_STDLIB_H
12674 # include <stdlib.h>
12679 FILE *f=fopen("conftestval", "w");
12681 fprintf(f, "%i", sizeof(wchar_t));
12686 if { (eval echo configure
:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12688 wx_cv_sizeof_wchar_t
=`cat conftestval`
12690 echo "configure: failed program was:" >&5
12691 cat conftest.
$ac_ext >&5
12693 wx_cv_sizeof_wchar_t
=0
12701 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12703 cat >> confdefs.h
<<EOF
12704 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12708 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12709 echo "configure:12710: checking whether byte ordering is bigendian" >&5
12710 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12711 echo $ac_n "(cached) $ac_c" 1>&6
12713 ac_cv_c_bigendian
=unknown
12714 # See if sys/param.h defines the BYTE_ORDER macro.
12715 cat > conftest.
$ac_ext <<EOF
12716 #line 12717 "configure"
12717 #include "confdefs.h"
12718 #include <sys/types.h>
12719 #include <sys/param.h>
12722 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12723 bogus endian macros
12727 if { (eval echo configure
:12728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12729 # It does; now see whether it defined to BIG_ENDIAN or not.
12730 cat > conftest.
$ac_ext <<EOF
12731 #line 12732 "configure"
12732 #include "confdefs.h"
12733 #include <sys/types.h>
12734 #include <sys/param.h>
12737 #if BYTE_ORDER != BIG_ENDIAN
12742 if { (eval echo configure
:12743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12744 ac_cv_c_bigendian
=yes
12746 echo "configure: failed program was:" >&5
12747 cat conftest.
$ac_ext >&5
12749 ac_cv_c_bigendian
=no
12753 echo "configure: failed program was:" >&5
12754 cat conftest.
$ac_ext >&5
12757 if test $ac_cv_c_bigendian = unknown
; then
12758 if test "$cross_compiling" = yes; then
12759 ac_cv_c_bigendian
=unknown
12761 cat > conftest.
$ac_ext <<EOF
12762 #line 12763 "configure"
12763 #include "confdefs.h"
12765 /* Are we little or big endian? From Harbison&Steele. */
12769 char c[sizeof (long)];
12772 exit (u.c[sizeof (long) - 1] == 1);
12775 if { (eval echo configure
:12776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12777 ac_cv_c_bigendian
=no
12779 echo "configure: failed program was:" >&5
12780 cat conftest.
$ac_ext >&5
12782 ac_cv_c_bigendian
=yes
12790 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12791 if test $ac_cv_c_bigendian = unknown
; then
12792 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
12794 if test $ac_cv_c_bigendian = yes; then
12795 cat >> confdefs.h
<<\EOF
12796 #define WORDS_BIGENDIAN 1
12802 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12803 echo "configure:12804: checking how to run the C++ preprocessor" >&5
12804 if test -z "$CXXCPP"; then
12805 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12806 echo $ac_n "(cached) $ac_c" 1>&6
12809 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12810 ac_cpp
='$CXXCPP $CPPFLAGS'
12811 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12812 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12813 cross_compiling
=$ac_cv_prog_cxx_cross
12814 CXXCPP
="${CXX-g++} -E"
12815 cat > conftest.
$ac_ext <<EOF
12816 #line 12817 "configure"
12817 #include "confdefs.h"
12818 #include <stdlib.h>
12820 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12821 { (eval echo configure
:12822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12822 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12823 if test -z "$ac_err"; then
12827 echo "configure: failed program was:" >&5
12828 cat conftest.
$ac_ext >&5
12833 ac_cv_prog_CXXCPP
="$CXXCPP"
12835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12836 ac_cpp
='$CXXCPP $CPPFLAGS'
12837 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12838 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12839 cross_compiling
=$ac_cv_prog_cxx_cross
12842 CXXCPP
="$ac_cv_prog_CXXCPP"
12843 echo "$ac_t""$CXXCPP" 1>&6
12846 if test "$cross_compiling" = "yes"; then
12847 cat >> confdefs.h
<<\EOF
12848 #define wxUSE_IOSTREAMH 1
12854 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12855 ac_cpp
='$CXXCPP $CPPFLAGS'
12856 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12857 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12858 cross_compiling
=$ac_cv_prog_cxx_cross
12861 for ac_hdr
in iostream
12863 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12864 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12865 echo "configure:12866: checking for $ac_hdr" >&5
12866 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12867 echo $ac_n "(cached) $ac_c" 1>&6
12869 cat > conftest.
$ac_ext <<EOF
12870 #line 12871 "configure"
12871 #include "confdefs.h"
12874 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12875 { (eval echo configure
:12876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12876 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12877 if test -z "$ac_err"; then
12879 eval "ac_cv_header_$ac_safe=yes"
12882 echo "configure: failed program was:" >&5
12883 cat conftest.
$ac_ext >&5
12885 eval "ac_cv_header_$ac_safe=no"
12889 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12890 echo "$ac_t""yes" 1>&6
12891 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12892 cat >> confdefs.h
<<EOF
12893 #define $ac_tr_hdr 1
12897 echo "$ac_t""no" 1>&6
12902 if test "$ac_cv_header_iostream" = "yes" ; then
12905 cat >> confdefs.h
<<\EOF
12906 #define wxUSE_IOSTREAMH 1
12912 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12913 ac_cpp
='$CPP $CPPFLAGS'
12914 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12915 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12916 cross_compiling
=$ac_cv_prog_cc_cross
12922 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12923 echo "configure:12924: checking if C++ compiler supports bool" >&5
12924 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12925 echo $ac_n "(cached) $ac_c" 1>&6
12930 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12931 ac_cpp
='$CXXCPP $CPPFLAGS'
12932 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12933 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12934 cross_compiling
=$ac_cv_prog_cxx_cross
12937 cat > conftest.
$ac_ext <<EOF
12938 #line 12939 "configure"
12939 #include "confdefs.h"
12950 if { (eval echo configure
:12951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12956 echo "configure: failed program was:" >&5
12957 cat conftest.
$ac_ext >&5
12967 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12968 ac_cpp
='$CPP $CPPFLAGS'
12969 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12970 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12971 cross_compiling
=$ac_cv_prog_cc_cross
12976 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12978 if test "$wx_cv_cpp_bool" = "yes"; then
12979 cat >> confdefs.h
<<\EOF
12980 #define HAVE_BOOL 1
12987 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12988 echo "configure:12989: checking for wcslen in -lc" >&5
12989 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12990 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12991 echo $ac_n "(cached) $ac_c" 1>&6
12993 ac_save_LIBS
="$LIBS"
12995 cat > conftest.
$ac_ext <<EOF
12996 #line 12997 "configure"
12997 #include "confdefs.h"
12998 /* Override any gcc2 internal prototype to avoid an error. */
12999 /* We use char because int might match the return type of a gcc2
13000 builtin and then its argument prototype would still apply. */
13007 if { (eval echo configure
:13008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13009 eval "ac_cv_lib_$ac_lib_var=yes"
13011 echo "configure: failed program was:" >&5
13012 cat conftest.
$ac_ext >&5
13014 eval "ac_cv_lib_$ac_lib_var=no"
13017 LIBS
="$ac_save_LIBS"
13020 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13021 echo "$ac_t""yes" 1>&6
13023 cat >> confdefs.h
<<\EOF
13024 #define HAVE_WCSLEN 1
13030 echo "$ac_t""no" 1>&6
13032 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13033 echo "configure:13034: checking for wcslen in -lw" >&5
13034 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13036 echo $ac_n "(cached) $ac_c" 1>&6
13038 ac_save_LIBS
="$LIBS"
13040 cat > conftest.
$ac_ext <<EOF
13041 #line 13042 "configure"
13042 #include "confdefs.h"
13043 /* Override any gcc2 internal prototype to avoid an error. */
13044 /* We use char because int might match the return type of a gcc2
13045 builtin and then its argument prototype would still apply. */
13052 if { (eval echo configure
:13053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13054 eval "ac_cv_lib_$ac_lib_var=yes"
13056 echo "configure: failed program was:" >&5
13057 cat conftest.
$ac_ext >&5
13059 eval "ac_cv_lib_$ac_lib_var=no"
13062 LIBS
="$ac_save_LIBS"
13065 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13066 echo "$ac_t""yes" 1>&6
13068 cat >> confdefs.h
<<\EOF
13069 #define HAVE_WCSLEN 1
13075 echo "$ac_t""no" 1>&6
13077 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13078 echo "configure:13079: checking for wcslen in -lmsvcrt" >&5
13079 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13080 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13083 ac_save_LIBS
="$LIBS"
13084 LIBS
="-lmsvcrt $LIBS"
13085 cat > conftest.
$ac_ext <<EOF
13086 #line 13087 "configure"
13087 #include "confdefs.h"
13088 /* Override any gcc2 internal prototype to avoid an error. */
13089 /* We use char because int might match the return type of a gcc2
13090 builtin and then its argument prototype would still apply. */
13097 if { (eval echo configure
:13098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13099 eval "ac_cv_lib_$ac_lib_var=yes"
13101 echo "configure: failed program was:" >&5
13102 cat conftest.
$ac_ext >&5
13104 eval "ac_cv_lib_$ac_lib_var=no"
13107 LIBS
="$ac_save_LIBS"
13110 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13111 echo "$ac_t""yes" 1>&6
13113 cat >> confdefs.h
<<\EOF
13114 #define HAVE_WCSLEN 1
13120 echo "$ac_t""no" 1>&6
13130 for ac_func
in wcsrtombs
13132 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13133 echo "configure:13134: checking for $ac_func" >&5
13134 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13135 echo $ac_n "(cached) $ac_c" 1>&6
13137 cat > conftest.
$ac_ext <<EOF
13138 #line 13139 "configure"
13139 #include "confdefs.h"
13140 /* System header to define __stub macros and hopefully few prototypes,
13141 which can conflict with char $ac_func(); below. */
13142 #include <assert.h>
13143 /* Override any gcc2 internal prototype to avoid an error. */
13144 /* We use char because int might match the return type of a gcc2
13145 builtin and then its argument prototype would still apply. */
13150 /* The GNU C library defines this for functions which it implements
13151 to always fail with ENOSYS. Some functions are actually named
13152 something starting with __ and the normal name is an alias. */
13153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13161 if { (eval echo configure
:13162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13163 eval "ac_cv_func_$ac_func=yes"
13165 echo "configure: failed program was:" >&5
13166 cat conftest.
$ac_ext >&5
13168 eval "ac_cv_func_$ac_func=no"
13173 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13174 echo "$ac_t""yes" 1>&6
13175 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13176 cat >> confdefs.h
<<EOF
13177 #define $ac_tr_func 1
13181 echo "$ac_t""no" 1>&6
13186 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13187 echo "configure:13188: checking for vprintf" >&5
13188 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13189 echo $ac_n "(cached) $ac_c" 1>&6
13191 cat > conftest.
$ac_ext <<EOF
13192 #line 13193 "configure"
13193 #include "confdefs.h"
13194 /* System header to define __stub macros and hopefully few prototypes,
13195 which can conflict with char vprintf(); below. */
13196 #include <assert.h>
13197 /* Override any gcc2 internal prototype to avoid an error. */
13198 /* We use char because int might match the return type of a gcc2
13199 builtin and then its argument prototype would still apply. */
13204 /* The GNU C library defines this for functions which it implements
13205 to always fail with ENOSYS. Some functions are actually named
13206 something starting with __ and the normal name is an alias. */
13207 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13215 if { (eval echo configure
:13216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13217 eval "ac_cv_func_vprintf=yes"
13219 echo "configure: failed program was:" >&5
13220 cat conftest.
$ac_ext >&5
13222 eval "ac_cv_func_vprintf=no"
13227 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13228 echo "$ac_t""yes" 1>&6
13229 cat >> confdefs.h
<<\EOF
13230 #define HAVE_VPRINTF 1
13234 echo "$ac_t""no" 1>&6
13237 if test "$ac_cv_func_vprintf" != yes; then
13238 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13239 echo "configure:13240: checking for _doprnt" >&5
13240 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13241 echo $ac_n "(cached) $ac_c" 1>&6
13243 cat > conftest.
$ac_ext <<EOF
13244 #line 13245 "configure"
13245 #include "confdefs.h"
13246 /* System header to define __stub macros and hopefully few prototypes,
13247 which can conflict with char _doprnt(); below. */
13248 #include <assert.h>
13249 /* Override any gcc2 internal prototype to avoid an error. */
13250 /* We use char because int might match the return type of a gcc2
13251 builtin and then its argument prototype would still apply. */
13256 /* The GNU C library defines this for functions which it implements
13257 to always fail with ENOSYS. Some functions are actually named
13258 something starting with __ and the normal name is an alias. */
13259 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13267 if { (eval echo configure
:13268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13269 eval "ac_cv_func__doprnt=yes"
13271 echo "configure: failed program was:" >&5
13272 cat conftest.
$ac_ext >&5
13274 eval "ac_cv_func__doprnt=no"
13279 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13280 echo "$ac_t""yes" 1>&6
13281 cat >> confdefs.h
<<\EOF
13282 #define HAVE_DOPRNT 1
13286 echo "$ac_t""no" 1>&6
13296 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13297 echo "configure:13298: checking for vsnprintf" >&5
13298 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13299 echo $ac_n "(cached) $ac_c" 1>&6
13302 cat > conftest.
$ac_ext <<EOF
13303 #line 13304 "configure"
13304 #include "confdefs.h"
13307 #include <stdarg.h>
13311 int wx_test_vsnprintf(const char *, ...);
13313 wx_test_vsnprintf("%s");
13317 int wx_test_vsnprintf(const char *fmt, ...)
13322 va_start(argp, fmt);
13323 vsnprintf(s, 42, fmt, argp);
13328 if { (eval echo configure
:13329: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13331 wx_cv_func_vsnprintf
=yes
13334 echo "configure: failed program was:" >&5
13335 cat conftest.
$ac_ext >&5
13338 cat > conftest.
$ac_ext <<EOF
13339 #line 13340 "configure"
13340 #include "confdefs.h"
13343 #include <stdarg.h>
13347 int wx_test_vsnprintf(const char *, ...);
13349 wx_test_vsnprintf("%s");
13353 int wx_test_vsnprintf(const char *fmt, ...)
13358 va_start(argp, fmt);
13359 _vsnprintf(s, 42, fmt, argp);
13364 if { (eval echo configure
:13365: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13367 wx_cv_func_vsnprintf
=yes
13370 echo "configure: failed program was:" >&5
13371 cat conftest.
$ac_ext >&5
13374 wx_cv_func_vsnprintf
=no
13384 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13386 if test "$wx_cv_func_vsnprintf" = yes; then
13387 cat >> confdefs.h
<<\EOF
13388 #define HAVE_VSNPRINTF 1
13392 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13395 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13396 echo "configure:13397: checking for vsscanf" >&5
13397 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13398 echo $ac_n "(cached) $ac_c" 1>&6
13401 cat > conftest.
$ac_ext <<EOF
13402 #line 13403 "configure"
13403 #include "confdefs.h"
13406 #include <stdarg.h>
13410 int wx_test_vsscanf(const char *, ...);
13412 wx_test_vsscanf("%d");
13416 int wx_test_vsscanf(const char *fmt, ...)
13419 va_start(argp, fmt);
13420 vsscanf("42", fmt, argp);
13425 if { (eval echo configure
:13426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13428 wx_cv_func_vsscanf
=yes
13431 echo "configure: failed program was:" >&5
13432 cat conftest.
$ac_ext >&5
13435 wx_cv_func_vsscanf
=no
13442 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13444 if test "$wx_cv_func_vsscanf" = yes; then
13445 cat >> confdefs.h
<<\EOF
13446 #define HAVE_VSSCANF 1
13451 if test "$TOOLKIT" != "MSW"; then
13456 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13457 ac_cpp
='$CXXCPP $CPPFLAGS'
13458 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13459 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13460 cross_compiling
=$ac_cv_prog_cxx_cross
13462 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13463 echo "configure:13464: checking if iconv() takes char**" >&5
13464 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13465 echo $ac_n "(cached) $ac_c" 1>&6
13468 cat > conftest.
$ac_ext <<EOF
13469 #line 13470 "configure"
13470 #include "confdefs.h"
13474 char **inbuf, **outbuf;
13476 size_t insz, outsz;
13477 iconv(cd, inbuf, &insz, outbuf, &outsz);
13481 if { (eval echo configure
:13482: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13483 wx_cv_iconv_takes_char
=yes
13485 echo "configure: failed program was:" >&5
13486 cat conftest.
$ac_ext >&5
13488 wx_cv_iconv_takes_char
=no
13494 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13496 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13497 ac_cpp
='$CPP $CPPFLAGS'
13498 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13499 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13500 cross_compiling
=$ac_cv_prog_cc_cross
13502 if test "$wx_cv_iconv_takes_char" = yes ; then
13503 cat >> confdefs.h
<<\EOF
13504 #define WX_ICONV_TAKES_CHAR 1
13510 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13511 for ac_func
in sigaction
13513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13514 echo "configure:13515: checking for $ac_func" >&5
13515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13516 echo $ac_n "(cached) $ac_c" 1>&6
13518 cat > conftest.
$ac_ext <<EOF
13519 #line 13520 "configure"
13520 #include "confdefs.h"
13521 /* System header to define __stub macros and hopefully few prototypes,
13522 which can conflict with char $ac_func(); below. */
13523 #include <assert.h>
13524 /* Override any gcc2 internal prototype to avoid an error. */
13525 /* We use char because int might match the return type of a gcc2
13526 builtin and then its argument prototype would still apply. */
13531 /* The GNU C library defines this for functions which it implements
13532 to always fail with ENOSYS. Some functions are actually named
13533 something starting with __ and the normal name is an alias. */
13534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13542 if { (eval echo configure
:13543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13544 eval "ac_cv_func_$ac_func=yes"
13546 echo "configure: failed program was:" >&5
13547 cat conftest.
$ac_ext >&5
13549 eval "ac_cv_func_$ac_func=no"
13554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13555 echo "$ac_t""yes" 1>&6
13556 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13557 cat >> confdefs.h
<<EOF
13558 #define $ac_tr_func 1
13562 echo "$ac_t""no" 1>&6
13567 if test "$ac_cv_func_sigaction" = "no"; then
13568 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13569 wxUSE_ON_FATAL_EXCEPTION
=no
13572 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13576 ac_cpp
='$CXXCPP $CPPFLAGS'
13577 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13578 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13579 cross_compiling
=$ac_cv_prog_cxx_cross
13582 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13583 echo "configure:13584: checking for sa_handler type" >&5
13584 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13585 echo $ac_n "(cached) $ac_c" 1>&6
13588 cat > conftest.
$ac_ext <<EOF
13589 #line 13590 "configure"
13590 #include "confdefs.h"
13591 #include <signal.h>
13594 extern void testSigHandler(int);
13596 struct sigaction sa;
13597 sa.sa_handler = testSigHandler;
13601 if { (eval echo configure
:13602: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13604 wx_cv_type_sa_handler
=int
13607 echo "configure: failed program was:" >&5
13608 cat conftest.
$ac_ext >&5
13611 wx_cv_type_sa_handler
=void
13618 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13621 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13622 ac_cpp
='$CPP $CPPFLAGS'
13623 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13624 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13625 cross_compiling
=$ac_cv_prog_cc_cross
13628 cat >> confdefs.h
<<EOF
13629 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13635 for ac_func
in vfork
13637 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13638 echo "configure:13639: checking for $ac_func" >&5
13639 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13640 echo $ac_n "(cached) $ac_c" 1>&6
13642 cat > conftest.
$ac_ext <<EOF
13643 #line 13644 "configure"
13644 #include "confdefs.h"
13645 /* System header to define __stub macros and hopefully few prototypes,
13646 which can conflict with char $ac_func(); below. */
13647 #include <assert.h>
13648 /* Override any gcc2 internal prototype to avoid an error. */
13649 /* We use char because int might match the return type of a gcc2
13650 builtin and then its argument prototype would still apply. */
13655 /* The GNU C library defines this for functions which it implements
13656 to always fail with ENOSYS. Some functions are actually named
13657 something starting with __ and the normal name is an alias. */
13658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13666 if { (eval echo configure
:13667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13668 eval "ac_cv_func_$ac_func=yes"
13670 echo "configure: failed program was:" >&5
13671 cat conftest.
$ac_ext >&5
13673 eval "ac_cv_func_$ac_func=no"
13678 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13679 echo "$ac_t""yes" 1>&6
13680 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13681 cat >> confdefs.h
<<EOF
13682 #define $ac_tr_func 1
13686 echo "$ac_t""no" 1>&6
13691 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13692 echo "configure:13693: checking for statfs" >&5
13693 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13694 echo $ac_n "(cached) $ac_c" 1>&6
13696 cat > conftest.
$ac_ext <<EOF
13697 #line 13698 "configure"
13698 #include "confdefs.h"
13701 #include <sys/param.h>
13702 #include <sys/mount.h>
13704 #include <sys/vfs.h>
13718 if { (eval echo configure
:13719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13721 wx_cv_func_statfs
=yes
13724 echo "configure: failed program was:" >&5
13725 cat conftest.
$ac_ext >&5
13728 wx_cv_func_statfs
=no
13736 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13738 if test "$wx_cv_func_statfs" = "yes"; then
13739 cat >> confdefs.h
<<\EOF
13740 #define HAVE_STATFS 1
13744 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13747 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13748 for ac_func
in fcntl flock
13750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13751 echo "configure:13752: checking for $ac_func" >&5
13752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13753 echo $ac_n "(cached) $ac_c" 1>&6
13755 cat > conftest.
$ac_ext <<EOF
13756 #line 13757 "configure"
13757 #include "confdefs.h"
13758 /* System header to define __stub macros and hopefully few prototypes,
13759 which can conflict with char $ac_func(); below. */
13760 #include <assert.h>
13761 /* Override any gcc2 internal prototype to avoid an error. */
13762 /* We use char because int might match the return type of a gcc2
13763 builtin and then its argument prototype would still apply. */
13768 /* The GNU C library defines this for functions which it implements
13769 to always fail with ENOSYS. Some functions are actually named
13770 something starting with __ and the normal name is an alias. */
13771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13779 if { (eval echo configure
:13780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13781 eval "ac_cv_func_$ac_func=yes"
13783 echo "configure: failed program was:" >&5
13784 cat conftest.
$ac_ext >&5
13786 eval "ac_cv_func_$ac_func=no"
13791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13792 echo "$ac_t""yes" 1>&6
13793 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13794 cat >> confdefs.h
<<EOF
13795 #define $ac_tr_func 1
13799 echo "$ac_t""no" 1>&6
13804 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13805 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13806 wxUSE_SNGLINST_CHECKER
=no
13810 for ac_func
in timegm
13812 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13813 echo "configure:13814: checking for $ac_func" >&5
13814 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13815 echo $ac_n "(cached) $ac_c" 1>&6
13817 cat > conftest.
$ac_ext <<EOF
13818 #line 13819 "configure"
13819 #include "confdefs.h"
13820 /* System header to define __stub macros and hopefully few prototypes,
13821 which can conflict with char $ac_func(); below. */
13822 #include <assert.h>
13823 /* Override any gcc2 internal prototype to avoid an error. */
13824 /* We use char because int might match the return type of a gcc2
13825 builtin and then its argument prototype would still apply. */
13830 /* The GNU C library defines this for functions which it implements
13831 to always fail with ENOSYS. Some functions are actually named
13832 something starting with __ and the normal name is an alias. */
13833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13841 if { (eval echo configure
:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13843 eval "ac_cv_func_$ac_func=yes"
13845 echo "configure: failed program was:" >&5
13846 cat conftest.
$ac_ext >&5
13848 eval "ac_cv_func_$ac_func=no"
13853 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13854 echo "$ac_t""yes" 1>&6
13855 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13856 cat >> confdefs.h
<<EOF
13857 #define $ac_tr_func 1
13861 echo "$ac_t""no" 1>&6
13866 for ac_func
in putenv setenv
13868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13869 echo "configure:13870: checking for $ac_func" >&5
13870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13871 echo $ac_n "(cached) $ac_c" 1>&6
13873 cat > conftest.
$ac_ext <<EOF
13874 #line 13875 "configure"
13875 #include "confdefs.h"
13876 /* System header to define __stub macros and hopefully few prototypes,
13877 which can conflict with char $ac_func(); below. */
13878 #include <assert.h>
13879 /* Override any gcc2 internal prototype to avoid an error. */
13880 /* We use char because int might match the return type of a gcc2
13881 builtin and then its argument prototype would still apply. */
13886 /* The GNU C library defines this for functions which it implements
13887 to always fail with ENOSYS. Some functions are actually named
13888 something starting with __ and the normal name is an alias. */
13889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13897 if { (eval echo configure
:13898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13899 eval "ac_cv_func_$ac_func=yes"
13901 echo "configure: failed program was:" >&5
13902 cat conftest.
$ac_ext >&5
13904 eval "ac_cv_func_$ac_func=no"
13909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13910 echo "$ac_t""yes" 1>&6
13911 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13912 cat >> confdefs.h
<<EOF
13913 #define $ac_tr_func 1
13917 echo "$ac_t""no" 1>&6
13922 HAVE_SOME_SLEEP_FUNC
=0
13923 if test "$USE_BEOS" = 1; then
13924 cat >> confdefs.h
<<\EOF
13925 #define HAVE_SLEEP 1
13928 HAVE_SOME_SLEEP_FUNC
=1
13931 if test "$USE_DARWIN" = 1; then
13932 cat >> confdefs.h
<<\EOF
13933 #define HAVE_USLEEP 1
13936 HAVE_SOME_SLEEP_FUNC
=1
13939 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13941 for ac_func
in nanosleep
13943 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13944 echo "configure:13945: checking for $ac_func" >&5
13945 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13946 echo $ac_n "(cached) $ac_c" 1>&6
13948 cat > conftest.
$ac_ext <<EOF
13949 #line 13950 "configure"
13950 #include "confdefs.h"
13951 /* System header to define __stub macros and hopefully few prototypes,
13952 which can conflict with char $ac_func(); below. */
13953 #include <assert.h>
13954 /* Override any gcc2 internal prototype to avoid an error. */
13955 /* We use char because int might match the return type of a gcc2
13956 builtin and then its argument prototype would still apply. */
13961 /* The GNU C library defines this for functions which it implements
13962 to always fail with ENOSYS. Some functions are actually named
13963 something starting with __ and the normal name is an alias. */
13964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13972 if { (eval echo configure
:13973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13974 eval "ac_cv_func_$ac_func=yes"
13976 echo "configure: failed program was:" >&5
13977 cat conftest.
$ac_ext >&5
13979 eval "ac_cv_func_$ac_func=no"
13984 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13985 echo "$ac_t""yes" 1>&6
13986 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13987 cat >> confdefs.h
<<EOF
13988 #define $ac_tr_func 1
13990 cat >> confdefs.h
<<\EOF
13991 #define HAVE_NANOSLEEP 1
13995 echo "$ac_t""no" 1>&6
13996 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
13997 echo "configure:13998: checking for nanosleep in -lposix4" >&5
13998 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
13999 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14000 echo $ac_n "(cached) $ac_c" 1>&6
14002 ac_save_LIBS
="$LIBS"
14003 LIBS
="-lposix4 $LIBS"
14004 cat > conftest.
$ac_ext <<EOF
14005 #line 14006 "configure"
14006 #include "confdefs.h"
14007 /* Override any gcc2 internal prototype to avoid an error. */
14008 /* We use char because int might match the return type of a gcc2
14009 builtin and then its argument prototype would still apply. */
14016 if { (eval echo configure
:14017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14018 eval "ac_cv_lib_$ac_lib_var=yes"
14020 echo "configure: failed program was:" >&5
14021 cat conftest.
$ac_ext >&5
14023 eval "ac_cv_lib_$ac_lib_var=no"
14026 LIBS
="$ac_save_LIBS"
14029 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14030 echo "$ac_t""yes" 1>&6
14032 cat >> confdefs.h
<<\EOF
14033 #define HAVE_NANOSLEEP 1
14036 POSIX4_LINK
="-lposix4"
14039 echo "$ac_t""no" 1>&6
14041 for ac_func
in usleep
14043 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14044 echo "configure:14045: checking for $ac_func" >&5
14045 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14046 echo $ac_n "(cached) $ac_c" 1>&6
14048 cat > conftest.
$ac_ext <<EOF
14049 #line 14050 "configure"
14050 #include "confdefs.h"
14051 /* System header to define __stub macros and hopefully few prototypes,
14052 which can conflict with char $ac_func(); below. */
14053 #include <assert.h>
14054 /* Override any gcc2 internal prototype to avoid an error. */
14055 /* We use char because int might match the return type of a gcc2
14056 builtin and then its argument prototype would still apply. */
14061 /* The GNU C library defines this for functions which it implements
14062 to always fail with ENOSYS. Some functions are actually named
14063 something starting with __ and the normal name is an alias. */
14064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14072 if { (eval echo configure
:14073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14074 eval "ac_cv_func_$ac_func=yes"
14076 echo "configure: failed program was:" >&5
14077 cat conftest.
$ac_ext >&5
14079 eval "ac_cv_func_$ac_func=no"
14084 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14085 echo "$ac_t""yes" 1>&6
14086 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14087 cat >> confdefs.h
<<EOF
14088 #define $ac_tr_func 1
14090 cat >> confdefs.h
<<\EOF
14091 #define HAVE_USLEEP 1
14095 echo "$ac_t""no" 1>&6
14096 echo "configure: warning: wxSleep() function will not work" 1>&2
14112 for ac_func
in uname gethostname
14114 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14115 echo "configure:14116: checking for $ac_func" >&5
14116 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14117 echo $ac_n "(cached) $ac_c" 1>&6
14119 cat > conftest.
$ac_ext <<EOF
14120 #line 14121 "configure"
14121 #include "confdefs.h"
14122 /* System header to define __stub macros and hopefully few prototypes,
14123 which can conflict with char $ac_func(); below. */
14124 #include <assert.h>
14125 /* Override any gcc2 internal prototype to avoid an error. */
14126 /* We use char because int might match the return type of a gcc2
14127 builtin and then its argument prototype would still apply. */
14132 /* The GNU C library defines this for functions which it implements
14133 to always fail with ENOSYS. Some functions are actually named
14134 something starting with __ and the normal name is an alias. */
14135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14143 if { (eval echo configure
:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14145 eval "ac_cv_func_$ac_func=yes"
14147 echo "configure: failed program was:" >&5
14148 cat conftest.
$ac_ext >&5
14150 eval "ac_cv_func_$ac_func=no"
14155 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14156 echo "$ac_t""yes" 1>&6
14157 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14158 cat >> confdefs.h
<<EOF
14159 #define $ac_tr_func 1
14163 echo "$ac_t""no" 1>&6
14170 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14171 ac_cpp
='$CXXCPP $CPPFLAGS'
14172 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14173 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14174 cross_compiling
=$ac_cv_prog_cxx_cross
14177 for ac_func
in strtok_r
14179 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14180 echo "configure:14181: checking for $ac_func" >&5
14181 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14182 echo $ac_n "(cached) $ac_c" 1>&6
14184 cat > conftest.
$ac_ext <<EOF
14185 #line 14186 "configure"
14186 #include "confdefs.h"
14187 /* System header to define __stub macros and hopefully few prototypes,
14188 which can conflict with char $ac_func(); below. */
14189 #include <assert.h>
14190 /* Override any gcc2 internal prototype to avoid an error. */
14194 /* We use char because int might match the return type of a gcc2
14195 builtin and then its argument prototype would still apply. */
14200 /* The GNU C library defines this for functions which it implements
14201 to always fail with ENOSYS. Some functions are actually named
14202 something starting with __ and the normal name is an alias. */
14203 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14211 if { (eval echo configure
:14212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14213 eval "ac_cv_func_$ac_func=yes"
14215 echo "configure: failed program was:" >&5
14216 cat conftest.
$ac_ext >&5
14218 eval "ac_cv_func_$ac_func=no"
14223 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14224 echo "$ac_t""yes" 1>&6
14225 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14226 cat >> confdefs.h
<<EOF
14227 #define $ac_tr_func 1
14231 echo "$ac_t""no" 1>&6
14237 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14238 ac_cpp
='$CPP $CPPFLAGS'
14239 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14240 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14241 cross_compiling
=$ac_cv_prog_cc_cross
14245 for ac_func
in inet_addr
14247 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14248 echo "configure:14249: checking for $ac_func" >&5
14249 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14250 echo $ac_n "(cached) $ac_c" 1>&6
14252 cat > conftest.
$ac_ext <<EOF
14253 #line 14254 "configure"
14254 #include "confdefs.h"
14255 /* System header to define __stub macros and hopefully few prototypes,
14256 which can conflict with char $ac_func(); below. */
14257 #include <assert.h>
14258 /* Override any gcc2 internal prototype to avoid an error. */
14259 /* We use char because int might match the return type of a gcc2
14260 builtin and then its argument prototype would still apply. */
14265 /* The GNU C library defines this for functions which it implements
14266 to always fail with ENOSYS. Some functions are actually named
14267 something starting with __ and the normal name is an alias. */
14268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14276 if { (eval echo configure
:14277: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14278 eval "ac_cv_func_$ac_func=yes"
14280 echo "configure: failed program was:" >&5
14281 cat conftest.
$ac_ext >&5
14283 eval "ac_cv_func_$ac_func=no"
14288 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14289 echo "$ac_t""yes" 1>&6
14290 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14291 cat >> confdefs.h
<<EOF
14292 #define $ac_tr_func 1
14294 cat >> confdefs.h
<<\EOF
14295 #define HAVE_INET_ADDR 1
14299 echo "$ac_t""no" 1>&6
14300 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14301 echo "configure:14302: checking for inet_addr in -lnsl" >&5
14302 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14304 echo $ac_n "(cached) $ac_c" 1>&6
14306 ac_save_LIBS
="$LIBS"
14308 cat > conftest.
$ac_ext <<EOF
14309 #line 14310 "configure"
14310 #include "confdefs.h"
14311 /* Override any gcc2 internal prototype to avoid an error. */
14312 /* We use char because int might match the return type of a gcc2
14313 builtin and then its argument prototype would still apply. */
14320 if { (eval echo configure
:14321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14322 eval "ac_cv_lib_$ac_lib_var=yes"
14324 echo "configure: failed program was:" >&5
14325 cat conftest.
$ac_ext >&5
14327 eval "ac_cv_lib_$ac_lib_var=no"
14330 LIBS
="$ac_save_LIBS"
14333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14334 echo "$ac_t""yes" 1>&6
14337 echo "$ac_t""no" 1>&6
14338 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14339 echo "configure:14340: checking for inet_addr in -lresolv" >&5
14340 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14341 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14342 echo $ac_n "(cached) $ac_c" 1>&6
14344 ac_save_LIBS
="$LIBS"
14345 LIBS
="-lresolv $LIBS"
14346 cat > conftest.
$ac_ext <<EOF
14347 #line 14348 "configure"
14348 #include "confdefs.h"
14349 /* Override any gcc2 internal prototype to avoid an error. */
14350 /* We use char because int might match the return type of a gcc2
14351 builtin and then its argument prototype would still apply. */
14358 if { (eval echo configure
:14359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14360 eval "ac_cv_lib_$ac_lib_var=yes"
14362 echo "configure: failed program was:" >&5
14363 cat conftest.
$ac_ext >&5
14365 eval "ac_cv_lib_$ac_lib_var=no"
14368 LIBS
="$ac_save_LIBS"
14371 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14372 echo "$ac_t""yes" 1>&6
14376 echo "$ac_t""no" 1>&6
14388 for ac_func
in inet_aton
14390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14391 echo "configure:14392: checking for $ac_func" >&5
14392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14393 echo $ac_n "(cached) $ac_c" 1>&6
14395 cat > conftest.
$ac_ext <<EOF
14396 #line 14397 "configure"
14397 #include "confdefs.h"
14398 /* System header to define __stub macros and hopefully few prototypes,
14399 which can conflict with char $ac_func(); below. */
14400 #include <assert.h>
14401 /* Override any gcc2 internal prototype to avoid an error. */
14402 /* We use char because int might match the return type of a gcc2
14403 builtin and then its argument prototype would still apply. */
14408 /* The GNU C library defines this for functions which it implements
14409 to always fail with ENOSYS. Some functions are actually named
14410 something starting with __ and the normal name is an alias. */
14411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14419 if { (eval echo configure
:14420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14421 eval "ac_cv_func_$ac_func=yes"
14423 echo "configure: failed program was:" >&5
14424 cat conftest.
$ac_ext >&5
14426 eval "ac_cv_func_$ac_func=no"
14431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14432 echo "$ac_t""yes" 1>&6
14433 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14434 cat >> confdefs.h
<<EOF
14435 #define $ac_tr_func 1
14437 cat >> confdefs.h
<<\EOF
14438 #define HAVE_INET_ATON 1
14442 echo "$ac_t""no" 1>&6
14443 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14444 echo "configure:14445: checking for inet_aton in -l$INET_LINK" >&5
14445 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14447 echo $ac_n "(cached) $ac_c" 1>&6
14449 ac_save_LIBS
="$LIBS"
14450 LIBS
="-l$INET_LINK $LIBS"
14451 cat > conftest.
$ac_ext <<EOF
14452 #line 14453 "configure"
14453 #include "confdefs.h"
14454 /* Override any gcc2 internal prototype to avoid an error. */
14455 /* We use char because int might match the return type of a gcc2
14456 builtin and then its argument prototype would still apply. */
14463 if { (eval echo configure
:14464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14465 eval "ac_cv_lib_$ac_lib_var=yes"
14467 echo "configure: failed program was:" >&5
14468 cat conftest.
$ac_ext >&5
14470 eval "ac_cv_lib_$ac_lib_var=no"
14473 LIBS
="$ac_save_LIBS"
14476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14477 echo "$ac_t""yes" 1>&6
14478 cat >> confdefs.h
<<\EOF
14479 #define HAVE_INET_ATON 1
14483 echo "$ac_t""no" 1>&6
14491 if test "x$INET_LINK" != "x"; then
14492 cat >> confdefs.h
<<\EOF
14493 #define HAVE_INET_ADDR 1
14496 INET_LINK
="-l$INET_LINK"
14502 cat > confcache
<<\EOF
14503 # This file is a shell script that caches the results of configure
14504 # tests run on this system so they can be shared between configure
14505 # scripts and configure runs. It is not useful on other systems.
14506 # If it contains results you don't want to keep, you may remove or edit it.
14508 # By default, configure uses ./config.cache as the cache file,
14509 # creating it if it does not exist already. You can give configure
14510 # the --cache-file=FILE option to use a different cache file; that is
14511 # what configure does when it calls configure scripts in
14512 # subdirectories, so they share the cache.
14513 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14514 # config.status only pays attention to the cache file if you give it the
14515 # --recheck option to rerun configure.
14518 # The following way of writing the cache mishandles newlines in values,
14519 # but we know of no workaround that is simple, portable, and efficient.
14520 # So, don't put newlines in cache variables' values.
14521 # Ultrix sh set writes to stderr and can't be redirected directly,
14522 # and sets the high bit in the cache file unless we assign to the vars.
14524 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14526 # `set' does not quote correctly, so add quotes (double-quote substitution
14527 # turns \\\\ into \\, and sed turns \\ into \).
14529 -e "s/'/'\\\\''/g" \
14530 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14533 # `set' quotes correctly as required by POSIX, so do not add quotes.
14534 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14537 if cmp -s $cache_file confcache
; then
14540 if test -w $cache_file; then
14541 echo "updating cache $cache_file"
14542 cat confcache
> $cache_file
14544 echo "not updating unwritable cache $cache_file"
14551 if test "$TOOLKIT" != "MSW"; then
14557 CODE_GEN_FLAGS_CXX
=
14559 if test "$wxUSE_THREADS" = "yes" ; then
14560 if test "$wxUSE_WINE" = 1 ; then
14561 echo "configure: warning: Threads are not supported under WINE" 1>&2
14563 elif test "$USE_BEOS" = 1; then
14564 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14569 if test "$wxUSE_THREADS" = "yes" ; then
14571 if test "$USE_AIX" = 1; then
14572 THREADS_LIB
=pthreads
14574 THREADS_LIB
=pthread
14577 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14578 echo "configure:14579: checking for pthread_create in -l$THREADS_LIB" >&5
14579 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14580 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14581 echo $ac_n "(cached) $ac_c" 1>&6
14583 ac_save_LIBS
="$LIBS"
14584 LIBS
="-l$THREADS_LIB $LIBS"
14585 cat > conftest.
$ac_ext <<EOF
14586 #line 14587 "configure"
14587 #include "confdefs.h"
14588 /* Override any gcc2 internal prototype to avoid an error. */
14589 /* We use char because int might match the return type of a gcc2
14590 builtin and then its argument prototype would still apply. */
14591 char pthread_create();
14597 if { (eval echo configure
:14598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14599 eval "ac_cv_lib_$ac_lib_var=yes"
14601 echo "configure: failed program was:" >&5
14602 cat conftest.
$ac_ext >&5
14604 eval "ac_cv_lib_$ac_lib_var=no"
14607 LIBS
="$ac_save_LIBS"
14610 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14611 echo "$ac_t""yes" 1>&6
14613 THREADS_OBJ
="threadpsx.lo"
14614 THREADS_LINK
=$THREADS_LIB
14617 echo "$ac_t""no" 1>&6
14619 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14620 echo "configure:14621: checking for pthread_create in -lc_r" >&5
14621 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14623 echo $ac_n "(cached) $ac_c" 1>&6
14625 ac_save_LIBS
="$LIBS"
14627 cat > conftest.
$ac_ext <<EOF
14628 #line 14629 "configure"
14629 #include "confdefs.h"
14630 /* Override any gcc2 internal prototype to avoid an error. */
14631 /* We use char because int might match the return type of a gcc2
14632 builtin and then its argument prototype would still apply. */
14633 char pthread_create();
14639 if { (eval echo configure
:14640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14641 eval "ac_cv_lib_$ac_lib_var=yes"
14643 echo "configure: failed program was:" >&5
14644 cat conftest.
$ac_ext >&5
14646 eval "ac_cv_lib_$ac_lib_var=no"
14649 LIBS
="$ac_save_LIBS"
14652 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14653 echo "$ac_t""yes" 1>&6
14655 THREADS_OBJ
="threadpsx.lo"
14659 echo "$ac_t""no" 1>&6
14661 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14662 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14663 echo "configure:14664: checking for sys/prctl.h" >&5
14664 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14665 echo $ac_n "(cached) $ac_c" 1>&6
14667 cat > conftest.
$ac_ext <<EOF
14668 #line 14669 "configure"
14669 #include "confdefs.h"
14670 #include <sys/prctl.h>
14672 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14673 { (eval echo configure
:14674: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14674 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14675 if test -z "$ac_err"; then
14677 eval "ac_cv_header_$ac_safe=yes"
14680 echo "configure: failed program was:" >&5
14681 cat conftest.
$ac_ext >&5
14683 eval "ac_cv_header_$ac_safe=no"
14687 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14688 echo "$ac_t""yes" 1>&6
14690 THREADS_OBJ
="threadsgi.lo"
14693 echo "$ac_t""no" 1>&6
14703 if test -z "$THREADS_OBJ" ; then
14705 echo "configure: warning: No thread support on this system" 1>&2
14709 if test "$wxUSE_THREADS" = "yes" ; then
14710 for ac_func
in thr_setconcurrency
14712 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14713 echo "configure:14714: checking for $ac_func" >&5
14714 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14715 echo $ac_n "(cached) $ac_c" 1>&6
14717 cat > conftest.
$ac_ext <<EOF
14718 #line 14719 "configure"
14719 #include "confdefs.h"
14720 /* System header to define __stub macros and hopefully few prototypes,
14721 which can conflict with char $ac_func(); below. */
14722 #include <assert.h>
14723 /* Override any gcc2 internal prototype to avoid an error. */
14724 /* We use char because int might match the return type of a gcc2
14725 builtin and then its argument prototype would still apply. */
14730 /* The GNU C library defines this for functions which it implements
14731 to always fail with ENOSYS. Some functions are actually named
14732 something starting with __ and the normal name is an alias. */
14733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14741 if { (eval echo configure
:14742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14743 eval "ac_cv_func_$ac_func=yes"
14745 echo "configure: failed program was:" >&5
14746 cat conftest.
$ac_ext >&5
14748 eval "ac_cv_func_$ac_func=no"
14753 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14754 echo "$ac_t""yes" 1>&6
14755 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14756 cat >> confdefs.h
<<EOF
14757 #define $ac_tr_func 1
14761 echo "$ac_t""no" 1>&6
14767 for ac_hdr
in sched.h
14769 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14770 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14771 echo "configure:14772: checking for $ac_hdr" >&5
14772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14773 echo $ac_n "(cached) $ac_c" 1>&6
14775 cat > conftest.
$ac_ext <<EOF
14776 #line 14777 "configure"
14777 #include "confdefs.h"
14780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14781 { (eval echo configure
:14782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14783 if test -z "$ac_err"; then
14785 eval "ac_cv_header_$ac_safe=yes"
14788 echo "configure: failed program was:" >&5
14789 cat conftest.
$ac_ext >&5
14791 eval "ac_cv_header_$ac_safe=no"
14795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14796 echo "$ac_t""yes" 1>&6
14797 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14798 cat >> confdefs.h
<<EOF
14799 #define $ac_tr_hdr 1
14803 echo "$ac_t""no" 1>&6
14808 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14809 echo "configure:14810: checking for sched_yield in -l$THREADS_LINK" >&5
14810 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14812 echo $ac_n "(cached) $ac_c" 1>&6
14814 ac_save_LIBS
="$LIBS"
14815 LIBS
="-l$THREADS_LINK $LIBS"
14816 cat > conftest.
$ac_ext <<EOF
14817 #line 14818 "configure"
14818 #include "confdefs.h"
14819 /* Override any gcc2 internal prototype to avoid an error. */
14820 /* We use char because int might match the return type of a gcc2
14821 builtin and then its argument prototype would still apply. */
14822 char sched_yield();
14828 if { (eval echo configure
:14829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14830 eval "ac_cv_lib_$ac_lib_var=yes"
14832 echo "configure: failed program was:" >&5
14833 cat conftest.
$ac_ext >&5
14835 eval "ac_cv_lib_$ac_lib_var=no"
14838 LIBS
="$ac_save_LIBS"
14841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14842 echo "$ac_t""yes" 1>&6
14843 cat >> confdefs.h
<<\EOF
14844 #define HAVE_SCHED_YIELD 1
14848 echo "$ac_t""no" 1>&6
14849 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14850 echo "configure:14851: checking for sched_yield in -lposix4" >&5
14851 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14852 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14853 echo $ac_n "(cached) $ac_c" 1>&6
14855 ac_save_LIBS
="$LIBS"
14856 LIBS
="-lposix4 $LIBS"
14857 cat > conftest.
$ac_ext <<EOF
14858 #line 14859 "configure"
14859 #include "confdefs.h"
14860 /* Override any gcc2 internal prototype to avoid an error. */
14861 /* We use char because int might match the return type of a gcc2
14862 builtin and then its argument prototype would still apply. */
14863 char sched_yield();
14869 if { (eval echo configure
:14870: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14871 eval "ac_cv_lib_$ac_lib_var=yes"
14873 echo "configure: failed program was:" >&5
14874 cat conftest.
$ac_ext >&5
14876 eval "ac_cv_lib_$ac_lib_var=no"
14879 LIBS
="$ac_save_LIBS"
14882 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14883 echo "$ac_t""yes" 1>&6
14884 cat >> confdefs.h
<<\EOF
14885 #define HAVE_SCHED_YIELD 1
14887 POSIX4_LINK
="-lposix4"
14889 echo "$ac_t""no" 1>&6
14890 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14899 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14900 echo "configure:14901: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14901 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14902 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14903 echo $ac_n "(cached) $ac_c" 1>&6
14905 ac_save_LIBS
="$LIBS"
14906 LIBS
="-l$THREADS_LINK $LIBS"
14907 cat > conftest.
$ac_ext <<EOF
14908 #line 14909 "configure"
14909 #include "confdefs.h"
14910 /* Override any gcc2 internal prototype to avoid an error. */
14911 /* We use char because int might match the return type of a gcc2
14912 builtin and then its argument prototype would still apply. */
14913 char pthread_attr_getschedpolicy();
14916 pthread_attr_getschedpolicy()
14919 if { (eval echo configure
:14920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14921 eval "ac_cv_lib_$ac_lib_var=yes"
14923 echo "configure: failed program was:" >&5
14924 cat conftest.
$ac_ext >&5
14926 eval "ac_cv_lib_$ac_lib_var=no"
14929 LIBS
="$ac_save_LIBS"
14932 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14933 echo "$ac_t""yes" 1>&6
14934 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14935 echo "configure:14936: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14936 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14938 echo $ac_n "(cached) $ac_c" 1>&6
14940 ac_save_LIBS
="$LIBS"
14941 LIBS
="-l$THREADS_LINK $LIBS"
14942 cat > conftest.
$ac_ext <<EOF
14943 #line 14944 "configure"
14944 #include "confdefs.h"
14945 /* Override any gcc2 internal prototype to avoid an error. */
14946 /* We use char because int might match the return type of a gcc2
14947 builtin and then its argument prototype would still apply. */
14948 char pthread_attr_setschedparam();
14951 pthread_attr_setschedparam()
14954 if { (eval echo configure
:14955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14956 eval "ac_cv_lib_$ac_lib_var=yes"
14958 echo "configure: failed program was:" >&5
14959 cat conftest.
$ac_ext >&5
14961 eval "ac_cv_lib_$ac_lib_var=no"
14964 LIBS
="$ac_save_LIBS"
14967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14968 echo "$ac_t""yes" 1>&6
14969 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14970 echo "configure:14971: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14971 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14972 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14973 echo $ac_n "(cached) $ac_c" 1>&6
14975 ac_save_LIBS
="$LIBS"
14976 LIBS
="-l$THREADS_LINK $LIBS"
14977 cat > conftest.
$ac_ext <<EOF
14978 #line 14979 "configure"
14979 #include "confdefs.h"
14980 /* Override any gcc2 internal prototype to avoid an error. */
14981 /* We use char because int might match the return type of a gcc2
14982 builtin and then its argument prototype would still apply. */
14983 char sched_get_priority_max();
14986 sched_get_priority_max()
14989 if { (eval echo configure
:14990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14991 eval "ac_cv_lib_$ac_lib_var=yes"
14993 echo "configure: failed program was:" >&5
14994 cat conftest.
$ac_ext >&5
14996 eval "ac_cv_lib_$ac_lib_var=no"
14999 LIBS
="$ac_save_LIBS"
15002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15003 echo "$ac_t""yes" 1>&6
15006 echo "$ac_t""no" 1>&6
15007 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15008 echo "configure:15009: checking for sched_get_priority_max in -lposix4" >&5
15009 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15010 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15011 echo $ac_n "(cached) $ac_c" 1>&6
15013 ac_save_LIBS
="$LIBS"
15014 LIBS
="-lposix4 $LIBS"
15015 cat > conftest.
$ac_ext <<EOF
15016 #line 15017 "configure"
15017 #include "confdefs.h"
15018 /* Override any gcc2 internal prototype to avoid an error. */
15019 /* We use char because int might match the return type of a gcc2
15020 builtin and then its argument prototype would still apply. */
15021 char sched_get_priority_max();
15024 sched_get_priority_max()
15027 if { (eval echo configure
:15028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15029 eval "ac_cv_lib_$ac_lib_var=yes"
15031 echo "configure: failed program was:" >&5
15032 cat conftest.
$ac_ext >&5
15034 eval "ac_cv_lib_$ac_lib_var=no"
15037 LIBS
="$ac_save_LIBS"
15040 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15041 echo "$ac_t""yes" 1>&6
15044 POSIX4_LINK
="-lposix4"
15047 echo "$ac_t""no" 1>&6
15055 echo "$ac_t""no" 1>&6
15060 echo "$ac_t""no" 1>&6
15064 if test "$HAVE_PRIOR_FUNCS" = 1; then
15065 cat >> confdefs.h
<<\EOF
15066 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15070 echo "configure: warning: Setting thread priority will not work" 1>&2
15073 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15074 echo "configure:15075: checking for pthread_cancel in -l$THREADS_LINK" >&5
15075 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15077 echo $ac_n "(cached) $ac_c" 1>&6
15079 ac_save_LIBS
="$LIBS"
15080 LIBS
="-l$THREADS_LINK $LIBS"
15081 cat > conftest.
$ac_ext <<EOF
15082 #line 15083 "configure"
15083 #include "confdefs.h"
15084 /* Override any gcc2 internal prototype to avoid an error. */
15085 /* We use char because int might match the return type of a gcc2
15086 builtin and then its argument prototype would still apply. */
15087 char pthread_cancel();
15093 if { (eval echo configure
:15094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15095 eval "ac_cv_lib_$ac_lib_var=yes"
15097 echo "configure: failed program was:" >&5
15098 cat conftest.
$ac_ext >&5
15100 eval "ac_cv_lib_$ac_lib_var=no"
15103 LIBS
="$ac_save_LIBS"
15106 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15107 echo "$ac_t""yes" 1>&6
15108 cat >> confdefs.h
<<\EOF
15109 #define HAVE_PTHREAD_CANCEL 1
15113 echo "$ac_t""no" 1>&6
15114 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15118 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15119 echo "configure:15120: checking for pthread_cleanup_push/pop" >&5
15120 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15121 echo $ac_n "(cached) $ac_c" 1>&6
15124 cat > conftest.
$ac_ext <<EOF
15125 #line 15126 "configure"
15126 #include "confdefs.h"
15127 #include <pthread.h>
15130 pthread_cleanup_push(NULL, NULL);
15131 pthread_cleanup_pop(0);
15135 if { (eval echo configure
:15136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15138 wx_cv_func_pthread_cleanup_push
=yes
15141 echo "configure: failed program was:" >&5
15142 cat conftest.
$ac_ext >&5
15145 wx_cv_func_pthread_cleanup_push
=no
15152 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15154 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15155 cat >> confdefs.h
<<\EOF
15156 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15162 if test "x$wx_lib_glibc21" = "xyes"; then
15163 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15166 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15167 echo "configure:15168: checking for pthread_mutexattr_t" >&5
15168 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15169 echo $ac_n "(cached) $ac_c" 1>&6
15172 cat > conftest.
$ac_ext <<EOF
15173 #line 15174 "configure"
15174 #include "confdefs.h"
15175 #include <pthread.h>
15178 pthread_mutexattr_t attr;
15179 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15183 if { (eval echo configure
:15184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15186 wx_cv_type_pthread_mutexattr_t
=yes
15189 echo "configure: failed program was:" >&5
15190 cat conftest.
$ac_ext >&5
15193 wx_cv_type_pthread_mutexattr_t
=no
15201 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15203 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15204 cat >> confdefs.h
<<\EOF
15205 #define HAVE_PTHREAD_MUTEXATTR_T 1
15209 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15210 echo "configure:15211: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15211 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15212 echo $ac_n "(cached) $ac_c" 1>&6
15215 cat > conftest.
$ac_ext <<EOF
15216 #line 15217 "configure"
15217 #include "confdefs.h"
15218 #include <pthread.h>
15221 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15225 if { (eval echo configure
:15226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15228 wx_cv_type_pthread_rec_mutex_init
=yes
15231 echo "configure: failed program was:" >&5
15232 cat conftest.
$ac_ext >&5
15235 wx_cv_type_pthread_rec_mutex_init
=no
15243 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15244 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15245 cat >> confdefs.h
<<\EOF
15246 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15250 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15254 THREADS_LINK
="-l$THREADS_LINK"
15256 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15257 CPPFLAGS
="${CFLAGS} -mt"
15258 CXXFLAGS
="${CXXFLAGS} -mt"
15259 LDFLAGS
="${LDFLAGS} -mt"
15265 if test "$wxUSE_THREADS" = "yes"; then
15266 cat >> confdefs.h
<<\EOF
15267 #define wxUSE_THREADS 1
15271 if test "$USE_DARWIN" != 1; then
15272 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15277 if test "$ac_cv_func_strtok_r" = "yes"; then
15278 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15279 echo "configure:15280: checking if -D_REENTRANT is needed" >&5
15280 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15281 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15282 echo "$ac_t""yes" 1>&6
15284 echo "$ac_t""no" 1>&6
15289 if test "$WXGTK20" = 1 ; then
15290 cat >> confdefs.h
<<EOF
15291 #define __WXGTK20__ $WXGTK20
15297 if test "$WXGTK12" = 1 ; then
15298 cat >> confdefs.h
<<EOF
15299 #define __WXGTK12__ $WXGTK12
15304 if test "$WXGTK127" = 1 ; then
15305 cat >> confdefs.h
<<EOF
15306 #define __WXGTK127__ $WXGTK127
15313 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15318 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15319 wxUSE_DEBUG_INFO
=yes
15323 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15324 cat >> confdefs.h
<<\EOF
15328 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15330 if test "$wxUSE_GTK" = 1 ; then
15331 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15335 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15336 cat >> confdefs.h
<<\EOF
15337 #define wxUSE_MEMORY_TRACING 1
15340 cat >> confdefs.h
<<\EOF
15341 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15344 cat >> confdefs.h
<<\EOF
15345 #define wxUSE_DEBUG_NEW_ALWAYS 1
15348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15351 if test "$wxUSE_DMALLOC" = "yes" ; then
15352 DMALLOC_LINK
="-ldmalloc"
15356 if test "$wxUSE_PROFILE" = "yes" ; then
15360 if test "$GCC" = yes ; then
15361 if test "$wxUSE_NO_RTTI" = "yes" ; then
15362 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15364 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15365 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15367 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15368 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15370 if test "$wxUSE_NO_DEPS" = "no" ; then
15371 CFLAGS
="-MMD ${CFLAGS}"
15372 CXXFLAGS
="-MMD ${CXXFLAGS}"
15374 if test "$USE_WIN32" = 1 ; then
15375 # I'm not even really sure what this was ever added to solve,
15376 # but someone added it for mingw native builds, so I guess
15377 # they had a reason, right??
15378 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15383 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15384 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15385 if test "$wxUSE_OPTIMISE" = "no" ; then
15388 if test "$GCC" = yes ; then
15391 i586
-*-*|i686
-*-* )
15392 OPTIMISE
="${OPTIMISE} "
15400 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15401 cat >> confdefs.h
<<\EOF
15402 #define WXWIN_COMPATIBILITY_2 1
15406 WXWIN_COMPATIBILITY_2_2
="yes"
15409 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15410 cat >> confdefs.h
<<\EOF
15411 #define WXWIN_COMPATIBILITY_2_2 1
15418 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15419 cat >> confdefs.h
<<\EOF
15420 #define wxUSE_ZLIB 1
15423 if test "$wxUSE_ZLIB" = "yes" ; then
15424 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15427 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15428 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15429 echo "configure:15430: checking for zlib.h" >&5
15430 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15431 echo $ac_n "(cached) $ac_c" 1>&6
15433 cat > conftest.
$ac_ext <<EOF
15434 #line 15435 "configure"
15435 #include "confdefs.h"
15438 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15439 { (eval echo configure
:15440: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15440 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15441 if test -z "$ac_err"; then
15443 eval "ac_cv_header_$ac_safe=yes"
15446 echo "configure: failed program was:" >&5
15447 cat conftest.
$ac_ext >&5
15449 eval "ac_cv_header_$ac_safe=no"
15453 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15454 echo "$ac_t""yes" 1>&6
15455 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15456 echo "configure:15457: checking for deflate in -lz" >&5
15457 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15458 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15459 echo $ac_n "(cached) $ac_c" 1>&6
15461 ac_save_LIBS
="$LIBS"
15463 cat > conftest.
$ac_ext <<EOF
15464 #line 15465 "configure"
15465 #include "confdefs.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. */
15475 if { (eval echo configure
:15476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15477 eval "ac_cv_lib_$ac_lib_var=yes"
15479 echo "configure: failed program was:" >&5
15480 cat conftest.
$ac_ext >&5
15482 eval "ac_cv_lib_$ac_lib_var=no"
15485 LIBS
="$ac_save_LIBS"
15488 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15489 echo "$ac_t""yes" 1>&6
15492 echo "$ac_t""no" 1>&6
15496 echo "$ac_t""no" 1>&6
15499 if test "x$ZLIB_LINK" = "x" ; then
15500 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15506 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15507 cat >> confdefs.h
<<\EOF
15508 #define wxUSE_LIBPNG 1
15511 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15512 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15516 if test "$wxUSE_LIBPNG" = "yes" ; then
15517 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15520 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15521 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15522 echo "configure:15523: checking for png.h" >&5
15523 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15524 echo $ac_n "(cached) $ac_c" 1>&6
15526 cat > conftest.
$ac_ext <<EOF
15527 #line 15528 "configure"
15528 #include "confdefs.h"
15531 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15532 { (eval echo configure
:15533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15533 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15534 if test -z "$ac_err"; then
15536 eval "ac_cv_header_$ac_safe=yes"
15539 echo "configure: failed program was:" >&5
15540 cat conftest.
$ac_ext >&5
15542 eval "ac_cv_header_$ac_safe=no"
15546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15547 echo "$ac_t""yes" 1>&6
15548 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15549 echo "configure:15550: checking for png_check_sig in -lpng" >&5
15550 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15552 echo $ac_n "(cached) $ac_c" 1>&6
15554 ac_save_LIBS
="$LIBS"
15555 LIBS
="-lpng -lz -lm $LIBS"
15556 cat > conftest.
$ac_ext <<EOF
15557 #line 15558 "configure"
15558 #include "confdefs.h"
15559 /* Override any gcc2 internal prototype to avoid an error. */
15560 /* We use char because int might match the return type of a gcc2
15561 builtin and then its argument prototype would still apply. */
15562 char png_check_sig();
15568 if { (eval echo configure
:15569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15570 eval "ac_cv_lib_$ac_lib_var=yes"
15572 echo "configure: failed program was:" >&5
15573 cat conftest.
$ac_ext >&5
15575 eval "ac_cv_lib_$ac_lib_var=no"
15578 LIBS
="$ac_save_LIBS"
15581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15582 echo "$ac_t""yes" 1>&6
15585 echo "$ac_t""no" 1>&6
15590 echo "$ac_t""no" 1>&6
15593 if test "x$PNG_LINK" = "x" ; then
15594 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15602 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15603 cat >> confdefs.h
<<\EOF
15604 #define wxUSE_LIBJPEG 1
15607 if test "$wxUSE_LIBJPEG" = "yes" ; then
15608 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15611 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15612 echo "configure:15613: checking for jpeglib.h" >&5
15613 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15614 echo $ac_n "(cached) $ac_c" 1>&6
15616 cat > conftest.
$ac_ext <<EOF
15617 #line 15618 "configure"
15618 #include "confdefs.h"
15620 #undef HAVE_STDLIB_H
15622 #include <jpeglib.h>
15629 if { (eval echo configure
:15630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15631 ac_cv_header_jpeglib_h
=yes
15633 echo "configure: failed program was:" >&5
15634 cat conftest.
$ac_ext >&5
15636 ac_cv_header_jpeglib_h
=no
15643 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15645 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15646 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15647 echo "configure:15648: checking for jpeg_read_header in -ljpeg" >&5
15648 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15649 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15650 echo $ac_n "(cached) $ac_c" 1>&6
15652 ac_save_LIBS
="$LIBS"
15653 LIBS
="-ljpeg $LIBS"
15654 cat > conftest.
$ac_ext <<EOF
15655 #line 15656 "configure"
15656 #include "confdefs.h"
15657 /* Override any gcc2 internal prototype to avoid an error. */
15658 /* We use char because int might match the return type of a gcc2
15659 builtin and then its argument prototype would still apply. */
15660 char jpeg_read_header();
15666 if { (eval echo configure
:15667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15668 eval "ac_cv_lib_$ac_lib_var=yes"
15670 echo "configure: failed program was:" >&5
15671 cat conftest.
$ac_ext >&5
15673 eval "ac_cv_lib_$ac_lib_var=no"
15676 LIBS
="$ac_save_LIBS"
15679 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15680 echo "$ac_t""yes" 1>&6
15683 echo "$ac_t""no" 1>&6
15688 if test "x$JPEG_LINK" = "x" ; then
15689 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15695 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15696 cat >> confdefs.h
<<\EOF
15697 #define wxUSE_LIBTIFF 1
15700 if test "$wxUSE_LIBTIFF" = "yes" ; then
15701 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15704 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15705 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15706 echo "configure:15707: checking for tiffio.h" >&5
15707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15708 echo $ac_n "(cached) $ac_c" 1>&6
15710 cat > conftest.
$ac_ext <<EOF
15711 #line 15712 "configure"
15712 #include "confdefs.h"
15713 #include <tiffio.h>
15715 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15716 { (eval echo configure
:15717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15717 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15718 if test -z "$ac_err"; then
15720 eval "ac_cv_header_$ac_safe=yes"
15723 echo "configure: failed program was:" >&5
15724 cat conftest.
$ac_ext >&5
15726 eval "ac_cv_header_$ac_safe=no"
15730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15731 echo "$ac_t""yes" 1>&6
15732 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15733 echo "configure:15734: checking for TIFFError in -ltiff" >&5
15734 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15736 echo $ac_n "(cached) $ac_c" 1>&6
15738 ac_save_LIBS
="$LIBS"
15739 LIBS
="-ltiff -lm $LIBS"
15740 cat > conftest.
$ac_ext <<EOF
15741 #line 15742 "configure"
15742 #include "confdefs.h"
15743 /* Override any gcc2 internal prototype to avoid an error. */
15744 /* We use char because int might match the return type of a gcc2
15745 builtin and then its argument prototype would still apply. */
15752 if { (eval echo configure
:15753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15754 eval "ac_cv_lib_$ac_lib_var=yes"
15756 echo "configure: failed program was:" >&5
15757 cat conftest.
$ac_ext >&5
15759 eval "ac_cv_lib_$ac_lib_var=no"
15762 LIBS
="$ac_save_LIBS"
15765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15766 echo "$ac_t""yes" 1>&6
15769 echo "$ac_t""no" 1>&6
15773 echo "$ac_t""no" 1>&6
15776 if test "x$TIFF_LINK" = "x" ; then
15777 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15783 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15784 cat >> confdefs.h
<<\EOF
15785 #define wxUSE_FREETYPE 1
15788 if test "$wxUSE_FREETYPE" = "yes" ; then
15789 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15792 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15793 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15794 echo "configure:15795: checking for freetype.h" >&5
15795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15796 echo $ac_n "(cached) $ac_c" 1>&6
15798 cat > conftest.
$ac_ext <<EOF
15799 #line 15800 "configure"
15800 #include "confdefs.h"
15801 #include <freetype.h>
15803 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15804 { (eval echo configure
:15805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15805 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15806 if test -z "$ac_err"; then
15808 eval "ac_cv_header_$ac_safe=yes"
15811 echo "configure: failed program was:" >&5
15812 cat conftest.
$ac_ext >&5
15814 eval "ac_cv_header_$ac_safe=no"
15818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15819 echo "$ac_t""yes" 1>&6
15820 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15821 echo "configure:15822: checking for FT_Render_Glyph in -lfreetype" >&5
15822 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15824 echo $ac_n "(cached) $ac_c" 1>&6
15826 ac_save_LIBS
="$LIBS"
15827 LIBS
="-lfreetype -lm $LIBS"
15828 cat > conftest.
$ac_ext <<EOF
15829 #line 15830 "configure"
15830 #include "confdefs.h"
15831 /* Override any gcc2 internal prototype to avoid an error. */
15832 /* We use char because int might match the return type of a gcc2
15833 builtin and then its argument prototype would still apply. */
15834 char FT_Render_Glyph();
15840 if { (eval echo configure
:15841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15842 eval "ac_cv_lib_$ac_lib_var=yes"
15844 echo "configure: failed program was:" >&5
15845 cat conftest.
$ac_ext >&5
15847 eval "ac_cv_lib_$ac_lib_var=no"
15850 LIBS
="$ac_save_LIBS"
15853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15854 echo "$ac_t""yes" 1>&6
15855 FREETYPE_LINK
="-lfreetype"
15857 echo "$ac_t""no" 1>&6
15862 echo "$ac_t""no" 1>&6
15865 if test "x$FREETYPE_LINK" = "x" ; then
15866 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15872 if test "$wxUSE_GUI" = "yes"; then
15873 cat >> confdefs.h
<<\EOF
15874 #define wxUSE_GUI 1
15879 cat >> confdefs.h
<<\EOF
15880 #define wxUSE_NOGUI 1
15886 if test "$wxUSE_UNIX" = "yes"; then
15887 cat >> confdefs.h
<<\EOF
15888 #define wxUSE_UNIX 1
15894 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15895 cat >> confdefs.h
<<\EOF
15896 #define wxUSE_APPLE_IEEE 1
15901 if test "$wxUSE_TIMER" = "yes"; then
15902 cat >> confdefs.h
<<\EOF
15903 #define wxUSE_TIMER 1
15908 if test "$wxUSE_WAVE" = "yes"; then
15909 cat >> confdefs.h
<<\EOF
15910 #define wxUSE_WAVE 1
15915 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15916 cat >> confdefs.h
<<\EOF
15917 #define wxUSE_CMDLINE_PARSER 1
15922 if test "$wxUSE_STOPWATCH" = "yes"; then
15923 cat >> confdefs.h
<<\EOF
15924 #define wxUSE_STOPWATCH 1
15929 if test "$wxUSE_DATETIME" = "yes"; then
15930 cat >> confdefs.h
<<\EOF
15931 #define wxUSE_DATETIME 1
15936 if test "$wxUSE_TIMEDATE" = "yes"; then
15937 cat >> confdefs.h
<<\EOF
15938 #define wxUSE_TIMEDATE 1
15943 if test "$wxUSE_FILE" = "yes"; then
15944 cat >> confdefs.h
<<\EOF
15945 #define wxUSE_FILE 1
15950 if test "$wxUSE_FFILE" = "yes"; then
15951 cat >> confdefs.h
<<\EOF
15952 #define wxUSE_FFILE 1
15957 if test "$wxUSE_FILESYSTEM" = "yes"; then
15958 cat >> confdefs.h
<<\EOF
15959 #define wxUSE_FILESYSTEM 1
15964 if test "$wxUSE_FS_INET" = "yes"; then
15965 cat >> confdefs.h
<<\EOF
15966 #define wxUSE_FS_INET 1
15971 if test "$wxUSE_FS_ZIP" = "yes"; then
15972 cat >> confdefs.h
<<\EOF
15973 #define wxUSE_FS_ZIP 1
15978 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15979 cat >> confdefs.h
<<\EOF
15980 #define wxUSE_ZIPSTREAM 1
15985 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15986 cat >> confdefs.h
<<\EOF
15987 #define wxUSE_ON_FATAL_EXCEPTION 1
15992 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15993 cat >> confdefs.h
<<\EOF
15994 #define wxUSE_SNGLINST_CHECKER 1
15999 if test "$wxUSE_BUSYINFO" = "yes"; then
16000 cat >> confdefs.h
<<\EOF
16001 #define wxUSE_BUSYINFO 1
16006 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16007 cat >> confdefs.h
<<\EOF
16008 #define wxUSE_STD_IOSTREAM 1
16013 if test "$wxUSE_TEXTFILE" = "yes"; then
16014 if test "$wxUSE_FILE" != "yes"; then
16015 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
16017 cat >> confdefs.h
<<\EOF
16018 #define wxUSE_TEXTFILE 1
16024 if test "$wxUSE_CONFIG" = "yes" ; then
16025 if test "$wxUSE_TEXTFILE" != "yes"; then
16026 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16028 cat >> confdefs.h
<<\EOF
16029 #define wxUSE_CONFIG 1
16032 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16036 if test "$wxUSE_INTL" = "yes" ; then
16037 if test "$wxUSE_FILE" != "yes"; then
16038 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16040 cat >> confdefs.h
<<\EOF
16041 #define wxUSE_INTL 1
16044 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16045 GUIDIST
="$GUIDIST INTL_DIST"
16049 if test "$wxUSE_LOG" = "yes"; then
16050 cat >> confdefs.h
<<\EOF
16051 #define wxUSE_LOG 1
16055 if test "$wxUSE_LOGGUI" = "yes"; then
16056 cat >> confdefs.h
<<\EOF
16057 #define wxUSE_LOGGUI 1
16062 if test "$wxUSE_LOGWINDOW" = "yes"; then
16063 cat >> confdefs.h
<<\EOF
16064 #define wxUSE_LOGWINDOW 1
16070 if test "$wxUSE_LONGLONG" = "yes"; then
16071 cat >> confdefs.h
<<\EOF
16072 #define wxUSE_LONGLONG 1
16077 if test "$wxUSE_GEOMETRY" = "yes"; then
16078 cat >> confdefs.h
<<\EOF
16079 #define wxUSE_GEOMETRY 1
16084 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16085 cat >> confdefs.h
<<\EOF
16086 #define wxUSE_DIALUP_MANAGER 1
16089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16092 if test "$wxUSE_STREAMS" = "yes" ; then
16093 cat >> confdefs.h
<<\EOF
16094 #define wxUSE_STREAMS 1
16100 if test "$wxUSE_DATETIME" = "yes"; then
16101 for ac_func
in strptime
16103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16104 echo "configure:16105: checking for $ac_func" >&5
16105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16106 echo $ac_n "(cached) $ac_c" 1>&6
16108 cat > conftest.
$ac_ext <<EOF
16109 #line 16110 "configure"
16110 #include "confdefs.h"
16111 /* System header to define __stub macros and hopefully few prototypes,
16112 which can conflict with char $ac_func(); below. */
16113 #include <assert.h>
16114 /* Override any gcc2 internal prototype to avoid an error. */
16115 /* We use char because int might match the return type of a gcc2
16116 builtin and then its argument prototype would still apply. */
16121 /* The GNU C library defines this for functions which it implements
16122 to always fail with ENOSYS. Some functions are actually named
16123 something starting with __ and the normal name is an alias. */
16124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16132 if { (eval echo configure
:16133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16134 eval "ac_cv_func_$ac_func=yes"
16136 echo "configure: failed program was:" >&5
16137 cat conftest.
$ac_ext >&5
16139 eval "ac_cv_func_$ac_func=no"
16144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16145 echo "$ac_t""yes" 1>&6
16146 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16147 cat >> confdefs.h
<<EOF
16148 #define $ac_tr_func 1
16152 echo "$ac_t""no" 1>&6
16157 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16158 echo "configure:16159: checking for timezone variable in <time.h>" >&5
16159 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16160 echo $ac_n "(cached) $ac_c" 1>&6
16163 cat > conftest.
$ac_ext <<EOF
16164 #line 16165 "configure"
16165 #include "confdefs.h"
16176 if { (eval echo configure
:16177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16179 wx_cv_var_timezone
=timezone
16182 echo "configure: failed program was:" >&5
16183 cat conftest.
$ac_ext >&5
16186 cat > conftest.
$ac_ext <<EOF
16187 #line 16188 "configure"
16188 #include "confdefs.h"
16199 if { (eval echo configure
:16200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16202 wx_cv_var_timezone
=_timezone
16205 echo "configure: failed program was:" >&5
16206 cat conftest.
$ac_ext >&5
16209 cat > conftest.
$ac_ext <<EOF
16210 #line 16211 "configure"
16211 #include "confdefs.h"
16222 if { (eval echo configure
:16223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16225 wx_cv_var_timezone
=__timezone
16228 echo "configure: failed program was:" >&5
16229 cat conftest.
$ac_ext >&5
16231 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16247 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16249 cat >> confdefs.h
<<EOF
16250 #define WX_TIMEZONE $wx_cv_var_timezone
16254 for ac_func
in localtime
16256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16257 echo "configure:16258: checking for $ac_func" >&5
16258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16259 echo $ac_n "(cached) $ac_c" 1>&6
16261 cat > conftest.
$ac_ext <<EOF
16262 #line 16263 "configure"
16263 #include "confdefs.h"
16264 /* System header to define __stub macros and hopefully few prototypes,
16265 which can conflict with char $ac_func(); below. */
16266 #include <assert.h>
16267 /* Override any gcc2 internal prototype to avoid an error. */
16268 /* We use char because int might match the return type of a gcc2
16269 builtin and then its argument prototype would still apply. */
16274 /* The GNU C library defines this for functions which it implements
16275 to always fail with ENOSYS. Some functions are actually named
16276 something starting with __ and the normal name is an alias. */
16277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16285 if { (eval echo configure
:16286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16287 eval "ac_cv_func_$ac_func=yes"
16289 echo "configure: failed program was:" >&5
16290 cat conftest.
$ac_ext >&5
16292 eval "ac_cv_func_$ac_func=no"
16297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16298 echo "$ac_t""yes" 1>&6
16299 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16300 cat >> confdefs.h
<<EOF
16301 #define $ac_tr_func 1
16305 echo "$ac_t""no" 1>&6
16310 if test "$ac_cv_func_localtime" = "yes"; then
16311 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16312 echo "configure:16313: checking for tm_gmtoff in struct tm" >&5
16313 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16314 echo $ac_n "(cached) $ac_c" 1>&6
16317 cat > conftest.
$ac_ext <<EOF
16318 #line 16319 "configure"
16319 #include "confdefs.h"
16330 if { (eval echo configure
:16331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16333 wx_cv_struct_tm_has_gmtoff
=yes
16336 echo "configure: failed program was:" >&5
16337 cat conftest.
$ac_ext >&5
16339 wx_cv_struct_tm_has_gmtoff
=no
16346 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16349 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16350 cat >> confdefs.h
<<\EOF
16351 #define WX_GMTOFF_IN_TM 1
16356 for ac_func
in gettimeofday ftime
16358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16359 echo "configure:16360: checking for $ac_func" >&5
16360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16361 echo $ac_n "(cached) $ac_c" 1>&6
16363 cat > conftest.
$ac_ext <<EOF
16364 #line 16365 "configure"
16365 #include "confdefs.h"
16366 /* System header to define __stub macros and hopefully few prototypes,
16367 which can conflict with char $ac_func(); below. */
16368 #include <assert.h>
16369 /* Override any gcc2 internal prototype to avoid an error. */
16370 /* We use char because int might match the return type of a gcc2
16371 builtin and then its argument prototype would still apply. */
16376 /* The GNU C library defines this for functions which it implements
16377 to always fail with ENOSYS. Some functions are actually named
16378 something starting with __ and the normal name is an alias. */
16379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16387 if { (eval echo configure
:16388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16389 eval "ac_cv_func_$ac_func=yes"
16391 echo "configure: failed program was:" >&5
16392 cat conftest.
$ac_ext >&5
16394 eval "ac_cv_func_$ac_func=no"
16399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16400 echo "$ac_t""yes" 1>&6
16401 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16402 cat >> confdefs.h
<<EOF
16403 #define $ac_tr_func 1
16407 echo "$ac_t""no" 1>&6
16412 if test "$ac_cv_func_gettimeofday" = "yes"; then
16413 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16414 echo "configure:16415: checking whether gettimeofday takes two arguments" >&5
16415 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16416 echo $ac_n "(cached) $ac_c" 1>&6
16421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16422 ac_cpp
='$CXXCPP $CPPFLAGS'
16423 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16424 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16425 cross_compiling
=$ac_cv_prog_cxx_cross
16428 cat > conftest.
$ac_ext <<EOF
16429 #line 16430 "configure"
16430 #include "confdefs.h"
16432 #include <sys/time.h>
16433 #include <unistd.h>
16438 gettimeofday(&tv, NULL);
16442 if { (eval echo configure
:16443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16444 wx_cv_func_gettimeofday_has_2_args
=yes
16446 echo "configure: failed program was:" >&5
16447 cat conftest.
$ac_ext >&5
16449 cat > conftest.
$ac_ext <<EOF
16450 #line 16451 "configure"
16451 #include "confdefs.h"
16453 #include <sys/time.h>
16454 #include <unistd.h>
16463 if { (eval echo configure
:16464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16465 wx_cv_func_gettimeofday_has_2_args
=no
16467 echo "configure: failed program was:" >&5
16468 cat conftest.
$ac_ext >&5
16471 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16472 wx_cv_func_gettimeofday_has_2_args
=unknown
16481 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16482 ac_cpp
='$CPP $CPPFLAGS'
16483 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16484 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16485 cross_compiling
=$ac_cv_prog_cc_cross
16490 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16492 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16493 cat >> confdefs.h
<<\EOF
16494 #define WX_GETTIMEOFDAY_NO_TZ 1
16500 cat >> confdefs.h
<<\EOF
16501 #define wxUSE_TIMEDATE 1
16504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16508 if test "$TOOLKIT" != "MSW"; then
16510 if test "$wxUSE_SOCKETS" = "yes"; then
16511 echo $ac_n "checking for socket""... $ac_c" 1>&6
16512 echo "configure:16513: checking for socket" >&5
16513 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16514 echo $ac_n "(cached) $ac_c" 1>&6
16516 cat > conftest.
$ac_ext <<EOF
16517 #line 16518 "configure"
16518 #include "confdefs.h"
16519 /* System header to define __stub macros and hopefully few prototypes,
16520 which can conflict with char socket(); below. */
16521 #include <assert.h>
16522 /* Override any gcc2 internal prototype to avoid an error. */
16523 /* We use char because int might match the return type of a gcc2
16524 builtin and then its argument prototype would still apply. */
16529 /* The GNU C library defines this for functions which it implements
16530 to always fail with ENOSYS. Some functions are actually named
16531 something starting with __ and the normal name is an alias. */
16532 #if defined (__stub_socket) || defined (__stub___socket)
16540 if { (eval echo configure
:16541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16542 eval "ac_cv_func_socket=yes"
16544 echo "configure: failed program was:" >&5
16545 cat conftest.
$ac_ext >&5
16547 eval "ac_cv_func_socket=no"
16552 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16553 echo "$ac_t""yes" 1>&6
16556 echo "$ac_t""no" 1>&6
16557 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16558 echo "configure:16559: checking for socket in -lsocket" >&5
16559 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16560 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16561 echo $ac_n "(cached) $ac_c" 1>&6
16563 ac_save_LIBS
="$LIBS"
16564 LIBS
="-lsocket $LIBS"
16565 cat > conftest.
$ac_ext <<EOF
16566 #line 16567 "configure"
16567 #include "confdefs.h"
16568 /* Override any gcc2 internal prototype to avoid an error. */
16569 /* We use char because int might match the return type of a gcc2
16570 builtin and then its argument prototype would still apply. */
16577 if { (eval echo configure
:16578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16579 eval "ac_cv_lib_$ac_lib_var=yes"
16581 echo "configure: failed program was:" >&5
16582 cat conftest.
$ac_ext >&5
16584 eval "ac_cv_lib_$ac_lib_var=no"
16587 LIBS
="$ac_save_LIBS"
16590 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16591 echo "$ac_t""yes" 1>&6
16592 INET_LINK
="$INET_LINK -lsocket"
16594 echo "$ac_t""no" 1>&6
16596 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16608 if test "$wxUSE_SOCKETS" = "yes" ; then
16609 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16610 echo "configure:16611: checking what is the type of the third argument of getsockname" >&5
16611 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16612 echo $ac_n "(cached) $ac_c" 1>&6
16617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16618 ac_cpp
='$CXXCPP $CPPFLAGS'
16619 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16620 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16621 cross_compiling
=$ac_cv_prog_cxx_cross
16624 cat > conftest.
$ac_ext <<EOF
16625 #line 16626 "configure"
16626 #include "confdefs.h"
16628 #include <sys/types.h>
16629 #include <sys/socket.h>
16634 getsockname(0, 0, &len);
16638 if { (eval echo configure
:16639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16640 wx_cv_type_getsockname3
=socklen_t
16642 echo "configure: failed program was:" >&5
16643 cat conftest.
$ac_ext >&5
16645 cat > conftest.
$ac_ext <<EOF
16646 #line 16647 "configure"
16647 #include "confdefs.h"
16649 #include <sys/types.h>
16650 #include <sys/socket.h>
16655 getsockname(0, 0, &len);
16659 if { (eval echo configure
:16660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16661 wx_cv_type_getsockname3
=size_t
16663 echo "configure: failed program was:" >&5
16664 cat conftest.
$ac_ext >&5
16666 cat > conftest.
$ac_ext <<EOF
16667 #line 16668 "configure"
16668 #include "confdefs.h"
16670 #include <sys/types.h>
16671 #include <sys/socket.h>
16676 getsockname(0, 0, &len);
16680 if { (eval echo configure
:16681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16682 wx_cv_type_getsockname3
=int
16684 echo "configure: failed program was:" >&5
16685 cat conftest.
$ac_ext >&5
16687 wx_cv_type_getsockname3
=unknown
16699 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16700 ac_cpp
='$CPP $CPPFLAGS'
16701 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16702 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16703 cross_compiling
=$ac_cv_prog_cc_cross
16708 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16710 if test "$wx_cv_type_getsockname3" = "unknown"; then
16712 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16714 cat >> confdefs.h
<<EOF
16715 #define SOCKLEN_T $wx_cv_type_getsockname3
16722 if test "$wxUSE_SOCKETS" = "yes" ; then
16723 cat >> confdefs.h
<<\EOF
16724 #define wxUSE_SOCKETS 1
16727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16731 if test "$wxUSE_GUI" = "yes"; then
16733 if test "$TOOLKIT" != "MSW"; then
16734 if test "$wxUSE_JOYSTICK" = "yes"; then
16735 for ac_hdr
in linux
/joystick.h
16737 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16738 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16739 echo "configure:16740: checking for $ac_hdr" >&5
16740 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16741 echo $ac_n "(cached) $ac_c" 1>&6
16743 cat > conftest.
$ac_ext <<EOF
16744 #line 16745 "configure"
16745 #include "confdefs.h"
16748 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16749 { (eval echo configure
:16750: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16750 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16751 if test -z "$ac_err"; then
16753 eval "ac_cv_header_$ac_safe=yes"
16756 echo "configure: failed program was:" >&5
16757 cat conftest.
$ac_ext >&5
16759 eval "ac_cv_header_$ac_safe=no"
16763 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16764 echo "$ac_t""yes" 1>&6
16765 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16766 cat >> confdefs.h
<<EOF
16767 #define $ac_tr_hdr 1
16771 echo "$ac_t""no" 1>&6
16775 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16777 echo "configure: warning: Joystick not supported by this system" 1>&2
16782 if test "$wxUSE_JOYSTICK" = "yes"; then
16783 cat >> confdefs.h
<<\EOF
16784 #define wxUSE_JOYSTICK 1
16787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16792 if test "$TOOLKIT" != "MSW"; then
16796 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16797 if test "$USE_DARWIN" = 1; then
16800 for ac_func
in dlopen
16802 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16803 echo "configure:16804: checking for $ac_func" >&5
16804 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16805 echo $ac_n "(cached) $ac_c" 1>&6
16807 cat > conftest.
$ac_ext <<EOF
16808 #line 16809 "configure"
16809 #include "confdefs.h"
16810 /* System header to define __stub macros and hopefully few prototypes,
16811 which can conflict with char $ac_func(); below. */
16812 #include <assert.h>
16813 /* Override any gcc2 internal prototype to avoid an error. */
16814 /* We use char because int might match the return type of a gcc2
16815 builtin and then its argument prototype would still apply. */
16820 /* The GNU C library defines this for functions which it implements
16821 to always fail with ENOSYS. Some functions are actually named
16822 something starting with __ and the normal name is an alias. */
16823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16831 if { (eval echo configure
:16832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16833 eval "ac_cv_func_$ac_func=yes"
16835 echo "configure: failed program was:" >&5
16836 cat conftest.
$ac_ext >&5
16838 eval "ac_cv_func_$ac_func=no"
16843 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16844 echo "$ac_t""yes" 1>&6
16845 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16846 cat >> confdefs.h
<<EOF
16847 #define $ac_tr_func 1
16850 cat >> confdefs.h
<<\EOF
16851 #define HAVE_DLOPEN 1
16857 echo "$ac_t""no" 1>&6
16858 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16859 echo "configure:16860: checking for dlopen in -ldl" >&5
16860 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16862 echo $ac_n "(cached) $ac_c" 1>&6
16864 ac_save_LIBS
="$LIBS"
16866 cat > conftest.
$ac_ext <<EOF
16867 #line 16868 "configure"
16868 #include "confdefs.h"
16869 /* Override any gcc2 internal prototype to avoid an error. */
16870 /* We use char because int might match the return type of a gcc2
16871 builtin and then its argument prototype would still apply. */
16878 if { (eval echo configure
:16879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16880 eval "ac_cv_lib_$ac_lib_var=yes"
16882 echo "configure: failed program was:" >&5
16883 cat conftest.
$ac_ext >&5
16885 eval "ac_cv_lib_$ac_lib_var=no"
16888 LIBS
="$ac_save_LIBS"
16891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16892 echo "$ac_t""yes" 1>&6
16894 cat >> confdefs.h
<<\EOF
16895 #define HAVE_DLOPEN 1
16902 echo "$ac_t""no" 1>&6
16904 for ac_func
in shl_load
16906 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16907 echo "configure:16908: checking for $ac_func" >&5
16908 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16909 echo $ac_n "(cached) $ac_c" 1>&6
16911 cat > conftest.
$ac_ext <<EOF
16912 #line 16913 "configure"
16913 #include "confdefs.h"
16914 /* System header to define __stub macros and hopefully few prototypes,
16915 which can conflict with char $ac_func(); below. */
16916 #include <assert.h>
16917 /* Override any gcc2 internal prototype to avoid an error. */
16918 /* We use char because int might match the return type of a gcc2
16919 builtin and then its argument prototype would still apply. */
16924 /* The GNU C library defines this for functions which it implements
16925 to always fail with ENOSYS. Some functions are actually named
16926 something starting with __ and the normal name is an alias. */
16927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16935 if { (eval echo configure
:16936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16937 eval "ac_cv_func_$ac_func=yes"
16939 echo "configure: failed program was:" >&5
16940 cat conftest.
$ac_ext >&5
16942 eval "ac_cv_func_$ac_func=no"
16947 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16948 echo "$ac_t""yes" 1>&6
16949 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16950 cat >> confdefs.h
<<EOF
16951 #define $ac_tr_func 1
16954 cat >> confdefs.h
<<\EOF
16955 #define HAVE_SHL_LOAD 1
16961 echo "$ac_t""no" 1>&6
16962 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16963 echo "configure:16964: checking for dld in -lshl_load" >&5
16964 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16966 echo $ac_n "(cached) $ac_c" 1>&6
16968 ac_save_LIBS
="$LIBS"
16969 LIBS
="-lshl_load $LIBS"
16970 cat > conftest.
$ac_ext <<EOF
16971 #line 16972 "configure"
16972 #include "confdefs.h"
16973 /* Override any gcc2 internal prototype to avoid an error. */
16974 /* We use char because int might match the return type of a gcc2
16975 builtin and then its argument prototype would still apply. */
16982 if { (eval echo configure
:16983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16984 eval "ac_cv_lib_$ac_lib_var=yes"
16986 echo "configure: failed program was:" >&5
16987 cat conftest.
$ac_ext >&5
16989 eval "ac_cv_lib_$ac_lib_var=no"
16992 LIBS
="$ac_save_LIBS"
16995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16996 echo "$ac_t""yes" 1>&6
17002 echo "$ac_t""no" 1>&6
17017 if test "$HAVE_DL_FUNCS" = 1; then
17018 for ac_func
in dlerror
17020 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17021 echo "configure:17022: checking for $ac_func" >&5
17022 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17023 echo $ac_n "(cached) $ac_c" 1>&6
17025 cat > conftest.
$ac_ext <<EOF
17026 #line 17027 "configure"
17027 #include "confdefs.h"
17028 /* System header to define __stub macros and hopefully few prototypes,
17029 which can conflict with char $ac_func(); below. */
17030 #include <assert.h>
17031 /* Override any gcc2 internal prototype to avoid an error. */
17032 /* We use char because int might match the return type of a gcc2
17033 builtin and then its argument prototype would still apply. */
17038 /* The GNU C library defines this for functions which it implements
17039 to always fail with ENOSYS. Some functions are actually named
17040 something starting with __ and the normal name is an alias. */
17041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17049 if { (eval echo configure
:17050: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17051 eval "ac_cv_func_$ac_func=yes"
17053 echo "configure: failed program was:" >&5
17054 cat conftest.
$ac_ext >&5
17056 eval "ac_cv_func_$ac_func=no"
17061 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17062 echo "$ac_t""yes" 1>&6
17063 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17064 cat >> confdefs.h
<<EOF
17065 #define $ac_tr_func 1
17067 cat >> confdefs.h
<<\EOF
17068 #define HAVE_DLERROR 1
17072 echo "$ac_t""no" 1>&6
17073 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17074 echo "configure:17075: checking for dlerror in -ldl" >&5
17075 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17076 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17077 echo $ac_n "(cached) $ac_c" 1>&6
17079 ac_save_LIBS
="$LIBS"
17081 cat > conftest.
$ac_ext <<EOF
17082 #line 17083 "configure"
17083 #include "confdefs.h"
17084 /* Override any gcc2 internal prototype to avoid an error. */
17085 /* We use char because int might match the return type of a gcc2
17086 builtin and then its argument prototype would still apply. */
17093 if { (eval echo configure
:17094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17095 eval "ac_cv_lib_$ac_lib_var=yes"
17097 echo "configure: failed program was:" >&5
17098 cat conftest.
$ac_ext >&5
17100 eval "ac_cv_lib_$ac_lib_var=no"
17103 LIBS
="$ac_save_LIBS"
17106 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17107 echo "$ac_t""yes" 1>&6
17108 cat >> confdefs.h
<<\EOF
17109 #define HAVE_DLERROR 1
17113 echo "$ac_t""no" 1>&6
17122 if test "$HAVE_DL_FUNCS" = 0; then
17123 if test "$HAVE_SHL_FUNCS" = 0; then
17124 if test "$USE_UNIX" = 1; then
17125 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17126 wxUSE_DYNLIB_CLASS
=no
17128 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17135 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17136 cat >> confdefs.h
<<\EOF
17137 #define wxUSE_DYNLIB_CLASS 1
17146 if test "$wxUSE_FONTMAP" = "yes" ; then
17147 cat >> confdefs.h
<<\EOF
17148 #define wxUSE_FONTMAP 1
17153 if test "$wxUSE_UNICODE" = "yes" ; then
17154 cat >> confdefs.h
<<\EOF
17155 #define wxUSE_UNICODE 1
17160 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17161 cat >> confdefs.h
<<\EOF
17162 #define wxUSE_EXPERIMENTAL_PRINTF 1
17168 if test "$wxUSE_SERIAL" = "yes" ; then
17169 cat >> confdefs.h
<<\EOF
17170 #define wxUSE_SERIAL 1
17177 if test "$wxUSE_ODBC" = "yes" ; then
17178 cat >> confdefs.h
<<\EOF
17179 #define wxUSE_ODBC 1
17182 WXODBCFLAG
="-D_IODBC_"
17183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17187 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17188 cat >> confdefs.h
<<\EOF
17189 #define wxUSE_POSTSCRIPT 1
17194 cat >> confdefs.h
<<\EOF
17195 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17199 cat >> confdefs.h
<<\EOF
17200 #define wxUSE_NORMALIZED_PS_FONTS 1
17205 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17206 cat >> confdefs.h
<<\EOF
17207 #define wxUSE_CONSTRAINTS 1
17210 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17213 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17214 if test "$wxUSE_UNIVERSAL" = "yes"; then
17215 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17216 wxUSE_MDI_ARCHITECTURE
=no
17219 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17220 cat >> confdefs.h
<<\EOF
17221 #define wxUSE_MDI_ARCHITECTURE 1
17224 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17228 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17229 cat >> confdefs.h
<<\EOF
17230 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17234 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17235 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17239 if test "$wxUSE_HELP" = "yes"; then
17240 cat >> confdefs.h
<<\EOF
17241 #define wxUSE_HELP 1
17244 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17246 if test "$USE_WIN32" = 1; then
17247 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17248 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17249 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17250 echo "configure:17251: checking for htmlhelp.h" >&5
17251 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17252 echo $ac_n "(cached) $ac_c" 1>&6
17254 cat > conftest.
$ac_ext <<EOF
17255 #line 17256 "configure"
17256 #include "confdefs.h"
17257 #include <htmlhelp.h>
17259 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17260 { (eval echo configure
:17261: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17261 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17262 if test -z "$ac_err"; then
17264 eval "ac_cv_header_$ac_safe=yes"
17267 echo "configure: failed program was:" >&5
17268 cat conftest.
$ac_ext >&5
17270 eval "ac_cv_header_$ac_safe=no"
17274 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17275 echo "$ac_t""yes" 1>&6
17277 cat >> confdefs.h
<<\EOF
17278 #define wxUSE_MS_HTML_HELP 1
17283 echo "$ac_t""no" 1>&6
17285 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17286 wxUSE_MS_HTML_HELP
=no
17293 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17294 if test "$wxUSE_HTML" = "yes"; then
17295 cat >> confdefs.h
<<\EOF
17296 #define wxUSE_WXHTML_HELP 1
17300 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17301 wxUSE_WXHTML_HELP
=no
17306 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17307 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17308 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17310 cat >> confdefs.h
<<\EOF
17311 #define wxUSE_PRINTING_ARCHITECTURE 1
17315 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17318 if test "$wxUSE_PROLOGIO" = "yes" ; then
17319 cat >> confdefs.h
<<\EOF
17320 #define wxUSE_PROLOGIO 1
17325 if test "$wxUSE_RESOURCES" = "yes" ; then
17326 cat >> confdefs.h
<<\EOF
17327 #define wxUSE_RESOURCES 1
17330 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17333 if test "$wxUSE_X_RESOURCES" = "yes"; then
17334 cat >> confdefs.h
<<\EOF
17335 #define wxUSE_X_RESOURCES 1
17341 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17342 -o "$wxUSE_CLIPBOARD" = "yes" \
17343 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17344 for ac_hdr
in ole2.h
17346 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17347 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17348 echo "configure:17349: checking for $ac_hdr" >&5
17349 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17350 echo $ac_n "(cached) $ac_c" 1>&6
17352 cat > conftest.
$ac_ext <<EOF
17353 #line 17354 "configure"
17354 #include "confdefs.h"
17357 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17358 { (eval echo configure
:17359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17359 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17360 if test -z "$ac_err"; then
17362 eval "ac_cv_header_$ac_safe=yes"
17365 echo "configure: failed program was:" >&5
17366 cat conftest.
$ac_ext >&5
17368 eval "ac_cv_header_$ac_safe=no"
17372 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17373 echo "$ac_t""yes" 1>&6
17374 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17375 cat >> confdefs.h
<<EOF
17376 #define $ac_tr_hdr 1
17380 echo "$ac_t""no" 1>&6
17385 if test "$ac_cv_header_ole2_h" = "yes" ; then
17386 if test "$GCC" = yes ; then
17387 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17388 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17389 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17390 cat >> confdefs.h
<<\EOF
17391 #define wxUSE_OLE 1
17397 cat >> confdefs.h
<<\EOF
17398 #define wxUSE_DATAOBJ 1
17402 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17405 wxUSE_DRAG_AND_DROP
=no
17409 if test "$wxUSE_METAFILE" = "yes"; then
17410 cat >> confdefs.h
<<\EOF
17411 #define wxUSE_METAFILE 1
17415 cat >> confdefs.h
<<\EOF
17416 #define wxUSE_ENH_METAFILE 1
17422 if test "$wxUSE_IPC" = "yes"; then
17423 if test "$wxUSE_SOCKETS" != "yes"; then
17424 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17427 cat >> confdefs.h
<<\EOF
17428 #define wxUSE_IPC 1
17433 if test "$wxUSE_CLIPBOARD" = "yes"; then
17434 cat >> confdefs.h
<<\EOF
17435 #define wxUSE_CLIPBOARD 1
17439 cat >> confdefs.h
<<\EOF
17440 #define wxUSE_DATAOBJ 1
17445 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17446 if test "$wxUSE_GTK" = 1; then
17447 if test "$WXGTK12" != 1; then
17448 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17449 wxUSE_DRAG_AND_DROP
=no
17453 if test "$wxUSE_MOTIF" = 1; then
17454 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17455 wxUSE_DRAG_AND_DROP
=no
17458 if test "$wxUSE_MAC" = 1; then
17459 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17460 wxUSE_DRAG_AND_DROP
=no
17463 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17464 cat >> confdefs.h
<<\EOF
17465 #define wxUSE_DRAG_AND_DROP 1
17468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17473 if test "$wxUSE_SPLINES" = "yes" ; then
17474 cat >> confdefs.h
<<\EOF
17475 #define wxUSE_SPLINES 1
17482 if test "$wxUSE_CONTROLS" = "yes"; then
17486 if test "$wxUSE_ACCEL" = "yes"; then
17487 cat >> confdefs.h
<<\EOF
17488 #define wxUSE_ACCEL 1
17494 if test "$wxUSE_BUTTON" = "yes"; then
17495 cat >> confdefs.h
<<\EOF
17496 #define wxUSE_BUTTON 1
17502 if test "$wxUSE_BMPBUTTON" = "yes"; then
17503 cat >> confdefs.h
<<\EOF
17504 #define wxUSE_BMPBUTTON 1
17510 if test "$wxUSE_CALCTRL" = "yes"; then
17511 cat >> confdefs.h
<<\EOF
17512 #define wxUSE_CALENDARCTRL 1
17516 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17519 if test "$wxUSE_CARET" = "yes"; then
17520 cat >> confdefs.h
<<\EOF
17521 #define wxUSE_CARET 1
17525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17528 if test "$wxUSE_COMBOBOX" = "yes"; then
17529 cat >> confdefs.h
<<\EOF
17530 #define wxUSE_COMBOBOX 1
17536 if test "$wxUSE_CHOICE" = "yes"; then
17537 cat >> confdefs.h
<<\EOF
17538 #define wxUSE_CHOICE 1
17544 if test "$wxUSE_CHECKBOX" = "yes"; then
17545 cat >> confdefs.h
<<\EOF
17546 #define wxUSE_CHECKBOX 1
17552 if test "$wxUSE_CHECKLST" = "yes"; then
17553 cat >> confdefs.h
<<\EOF
17554 #define wxUSE_CHECKLISTBOX 1
17558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17561 if test "$wxUSE_GAUGE" = "yes"; then
17562 cat >> confdefs.h
<<\EOF
17563 #define wxUSE_GAUGE 1
17569 if test "$wxUSE_NEW_GRID" = "yes"; then
17571 cat >> confdefs.h
<<\EOF
17572 #define wxUSE_NEW_GRID 1
17576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17579 if test "$wxUSE_GRID" = "yes"; then
17580 cat >> confdefs.h
<<\EOF
17581 #define wxUSE_GRID 1
17585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17588 if test "$wxUSE_IMAGLIST" = "yes"; then
17589 cat >> confdefs.h
<<\EOF
17590 #define wxUSE_IMAGLIST 1
17595 if test "$wxUSE_LISTBOX" = "yes"; then
17596 cat >> confdefs.h
<<\EOF
17597 #define wxUSE_LISTBOX 1
17603 if test "$wxUSE_LISTCTRL" = "yes"; then
17604 if test "$wxUSE_IMAGLIST" = "yes"; then
17605 cat >> confdefs.h
<<\EOF
17606 #define wxUSE_LISTCTRL 1
17610 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17612 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17616 if test "$wxUSE_NOTEBOOK" = "yes"; then
17617 cat >> confdefs.h
<<\EOF
17618 #define wxUSE_NOTEBOOK 1
17622 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17625 if test "$wxUSE_PROPSHEET" = "yes"; then
17626 cat >> confdefs.h
<<\EOF
17627 #define wxUSE_PROPSHEET 1
17631 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17634 if test "$wxUSE_RADIOBOX" = "yes"; then
17635 cat >> confdefs.h
<<\EOF
17636 #define wxUSE_RADIOBOX 1
17642 if test "$wxUSE_RADIOBTN" = "yes"; then
17643 cat >> confdefs.h
<<\EOF
17644 #define wxUSE_RADIOBTN 1
17650 if test "$wxUSE_SASH" = "yes"; then
17651 cat >> confdefs.h
<<\EOF
17652 #define wxUSE_SASH 1
17655 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17658 if test "$wxUSE_SCROLLBAR" = "yes"; then
17659 cat >> confdefs.h
<<\EOF
17660 #define wxUSE_SCROLLBAR 1
17664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17667 if test "$wxUSE_SLIDER" = "yes"; then
17668 cat >> confdefs.h
<<\EOF
17669 #define wxUSE_SLIDER 1
17675 if test "$wxUSE_SPINBTN" = "yes"; then
17676 cat >> confdefs.h
<<\EOF
17677 #define wxUSE_SPINBTN 1
17683 if test "$wxUSE_SPINCTRL" = "yes"; then
17684 cat >> confdefs.h
<<\EOF
17685 #define wxUSE_SPINCTRL 1
17691 if test "$wxUSE_SPLITTER" = "yes"; then
17692 cat >> confdefs.h
<<\EOF
17693 #define wxUSE_SPLITTER 1
17696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17699 if test "$wxUSE_STATBMP" = "yes"; then
17700 cat >> confdefs.h
<<\EOF
17701 #define wxUSE_STATBMP 1
17707 if test "$wxUSE_STATBOX" = "yes"; then
17708 cat >> confdefs.h
<<\EOF
17709 #define wxUSE_STATBOX 1
17715 if test "$wxUSE_STATTEXT" = "yes"; then
17716 cat >> confdefs.h
<<\EOF
17717 #define wxUSE_STATTEXT 1
17723 if test "$wxUSE_STATLINE" = "yes"; then
17724 if test "$wxUSE_WINE" = 1 ; then
17725 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17727 cat >> confdefs.h
<<\EOF
17728 #define wxUSE_STATLINE 1
17735 if test "$wxUSE_STATUSBAR" = "yes"; then
17736 cat >> confdefs.h
<<\EOF
17737 #define wxUSE_STATUSBAR 1
17742 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17745 if test "$wxUSE_TABDIALOG" = "yes"; then
17746 cat >> confdefs.h
<<\EOF
17747 #define wxUSE_TAB_DIALOG 1
17750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17753 if test "$wxUSE_TEXTCTRL" = "yes"; then
17754 cat >> confdefs.h
<<\EOF
17755 #define wxUSE_TEXTCTRL 1
17759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17762 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17763 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
17764 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
17768 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17769 cat >> confdefs.h
<<\EOF
17770 #define wxUSE_TOGGLEBTN 1
17777 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17778 cat >> confdefs.h
<<\EOF
17779 #define wxUSE_TOOLBAR_SIMPLE 1
17782 wxUSE_TOOLBAR
="yes"
17786 if test "$wxUSE_TOOLBAR" = "yes"; then
17787 cat >> confdefs.h
<<\EOF
17788 #define wxUSE_TOOLBAR 1
17793 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17794 wxUSE_TOOLBAR_NATIVE
="yes"
17797 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17798 cat >> confdefs.h
<<\EOF
17799 #define wxUSE_TOOLBAR_NATIVE 1
17805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17808 if test "$wxUSE_TOOLTIPS" = "yes"; then
17809 if test "$wxUSE_MOTIF" = 1; then
17810 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17812 if test "$wxUSE_WINE" = 1; then
17813 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17815 cat >> confdefs.h
<<\EOF
17816 #define wxUSE_TOOLTIPS 1
17823 if test "$wxUSE_TREECTRL" = "yes"; then
17824 if test "$wxUSE_IMAGLIST" = "yes"; then
17825 cat >> confdefs.h
<<\EOF
17826 #define wxUSE_TREECTRL 1
17830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17832 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17836 if test "$wxUSE_POPUPWIN" = "yes"; then
17837 if test "$wxUSE_MAC" = 1; then
17838 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17840 cat >> confdefs.h
<<\EOF
17841 #define wxUSE_POPUPWIN 1
17848 if test "$USES_CONTROLS" = 1; then
17849 cat >> confdefs.h
<<\EOF
17850 #define wxUSE_CONTROLS 1
17856 if test "$wxUSE_TREELAYOUT" = "yes"; then
17857 cat >> confdefs.h
<<\EOF
17858 #define wxUSE_TREELAYOUT 1
17861 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17864 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17865 cat >> confdefs.h
<<\EOF
17866 #define wxUSE_DRAGIMAGE 1
17869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17872 if test "$wxUSE_MENUS" = "yes"; then
17873 cat >> confdefs.h
<<\EOF
17874 #define wxUSE_MENUS 1
17877 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17880 if test "$wxUSE_METAFILE" = "yes"; then
17881 cat >> confdefs.h
<<\EOF
17882 #define wxUSE_METAFILE 1
17887 if test "$wxUSE_MIMETYPE" = "yes"; then
17888 cat >> confdefs.h
<<\EOF
17889 #define wxUSE_MIMETYPE 1
17894 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17895 cat >> confdefs.h
<<\EOF
17896 #define wxUSE_SYSTEM_OPTIONS 1
17901 if test "$wxUSE_MINIFRAME" = "yes"; then
17902 cat >> confdefs.h
<<\EOF
17903 #define wxUSE_MINIFRAME 1
17906 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17909 if test "$wxUSE_HTML" = "yes"; then
17910 cat >> confdefs.h
<<\EOF
17911 #define wxUSE_HTML 1
17914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17917 if test "$wxUSE_VALIDATORS" = "yes"; then
17918 cat >> confdefs.h
<<\EOF
17919 #define wxUSE_VALIDATORS 1
17922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17925 if test "$wxUSE_PALETTE" = "yes" ; then
17926 cat >> confdefs.h
<<\EOF
17927 #define wxUSE_PALETTE 1
17932 if test "$wxUSE_IMAGE" = "yes" ; then
17933 cat >> confdefs.h
<<\EOF
17934 #define wxUSE_IMAGE 1
17939 if test "$wxUSE_GIF" = "yes" ; then
17940 cat >> confdefs.h
<<\EOF
17941 #define wxUSE_GIF 1
17946 if test "$wxUSE_PCX" = "yes" ; then
17947 cat >> confdefs.h
<<\EOF
17948 #define wxUSE_PCX 1
17953 if test "$wxUSE_PNM" = "yes" ; then
17954 cat >> confdefs.h
<<\EOF
17955 #define wxUSE_PNM 1
17960 if test "$wxUSE_XPM" = "yes" ; then
17961 cat >> confdefs.h
<<\EOF
17962 #define wxUSE_XPM 1
17968 if test "$wxUSE_CHOICEDLG" = "yes"; then
17969 cat >> confdefs.h
<<\EOF
17970 #define wxUSE_CHOICEDLG 1
17975 if test "$wxUSE_COLOURDLG" = "yes"; then
17976 cat >> confdefs.h
<<\EOF
17977 #define wxUSE_COLOURDLG 1
17982 if test "$wxUSE_FILEDLG" = "yes"; then
17983 cat >> confdefs.h
<<\EOF
17984 #define wxUSE_FILEDLG 1
17989 if test "$wxUSE_FINDREPLDLG" = "yes"; then
17990 cat >> confdefs.h
<<\EOF
17991 #define wxUSE_FINDREPLDLG 1
17996 if test "$wxUSE_FONTDLG" = "yes"; then
17997 cat >> confdefs.h
<<\EOF
17998 #define wxUSE_FONTDLG 1
18003 if test "$wxUSE_DIRDLG" = "yes"; then
18004 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18005 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18007 if test "$wxUSE_TREECTRL" != "yes"; then
18008 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18010 cat >> confdefs.h
<<\EOF
18011 #define wxUSE_DIRDLG 1
18018 if test "$wxUSE_MSGDLG" = "yes"; then
18019 cat >> confdefs.h
<<\EOF
18020 #define wxUSE_MSGDLG 1
18025 if test "$wxUSE_NUMBERDLG" = "yes"; then
18026 cat >> confdefs.h
<<\EOF
18027 #define wxUSE_NUMBERDLG 1
18032 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18033 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18034 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18036 cat >> confdefs.h
<<\EOF
18037 #define wxUSE_PROGRESSDLG 1
18043 if test "$wxUSE_SPLASH" = "yes"; then
18044 cat >> confdefs.h
<<\EOF
18045 #define wxUSE_SPLASH 1
18050 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18051 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18052 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18054 cat >> confdefs.h
<<\EOF
18055 #define wxUSE_STARTUP_TIPS 1
18061 if test "$wxUSE_TEXTDLG" = "yes"; then
18062 cat >> confdefs.h
<<\EOF
18063 #define wxUSE_TEXTDLG 1
18068 if test "$wxUSE_WIZARDDLG" = "yes"; then
18069 cat >> confdefs.h
<<\EOF
18070 #define wxUSE_WIZARDDLG 1
18073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18077 if test "$cross_compiling" = "yes"; then
18080 OSINFO
=`uname -s -r -m`
18081 OSINFO
="\"$OSINFO\""
18084 cat >> confdefs.h
<<EOF
18085 #define WXWIN_OS_DESCRIPTION $OSINFO
18090 if test "x$prefix" != "xNONE"; then
18093 wxPREFIX
=$ac_default_prefix
18096 cat >> confdefs.h
<<EOF
18097 #define wxINSTALL_PREFIX "$wxPREFIX"
18102 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18104 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18106 if test "$wxUSE_MAC" = 1 ; then
18107 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18110 if test "$wxUSE_GUI" = "yes"; then
18111 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18115 drawing dynamic erase event exec font image \
18116 minimal richedit rotate widgets"
18118 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18120 SAMPLES_SUBDIRS
="console"
18123 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18125 INCLUDES
="-I. -I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18126 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18127 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18129 if test "$wxUSE_GTK" = 1; then
18130 WXCONFIG_INCLUDE
=""
18132 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18135 if test "$GXX" = yes ; then
18136 CXXWARNINGS
="-Wall"
18138 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18140 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18141 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18143 LDFLAGS
="$LDFLAGS $PROFILE"
18145 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18228 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18229 echo "configure:18230: checking whether ${MAKE-make} sets \${MAKE}" >&5
18230 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18231 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18232 echo $ac_n "(cached) $ac_c" 1>&6
18234 cat > conftestmake
<<\EOF
18236 @
echo 'ac_maketemp="${MAKE}"'
18238 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18239 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18240 if test -n "$ac_maketemp"; then
18241 eval ac_cv_prog_make_
${ac_make}_set
=yes
18243 eval ac_cv_prog_make_
${ac_make}_set
=no
18247 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18248 echo "$ac_t""yes" 1>&6
18251 echo "$ac_t""no" 1>&6
18252 SET_MAKE
="MAKE=${MAKE-make}"
18256 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18257 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18262 if test "$wxUSE_GUI" = "yes"; then
18263 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18264 wx_cv_path_ifs
=$PATH_IFS
18265 wx_cv_program_ext
=$PROGRAM_EXT
18266 wx_cv_target_library
=$WX_TARGET_LIBRARY
18267 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18268 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18269 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18270 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18271 subdirs
="demos samples utils contrib"
18276 cat > confcache
<<\EOF
18277 # This file is a shell script that caches the results of configure
18278 # tests run on this system so they can be shared between configure
18279 # scripts and configure runs. It is not useful on other systems.
18280 # If it contains results you don't want to keep, you may remove or edit it.
18282 # By default, configure uses ./config.cache as the cache file,
18283 # creating it if it does not exist already. You can give configure
18284 # the --cache-file=FILE option to use a different cache file; that is
18285 # what configure does when it calls configure scripts in
18286 # subdirectories, so they share the cache.
18287 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18288 # config.status only pays attention to the cache file if you give it the
18289 # --recheck option to rerun configure.
18292 # The following way of writing the cache mishandles newlines in values,
18293 # but we know of no workaround that is simple, portable, and efficient.
18294 # So, don't put newlines in cache variables' values.
18295 # Ultrix sh set writes to stderr and can't be redirected directly,
18296 # and sets the high bit in the cache file unless we assign to the vars.
18298 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18300 # `set' does not quote correctly, so add quotes (double-quote substitution
18301 # turns \\\\ into \\, and sed turns \\ into \).
18303 -e "s/'/'\\\\''/g" \
18304 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18307 # `set' quotes correctly as required by POSIX, so do not add quotes.
18308 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18311 if cmp -s $cache_file confcache
; then
18314 if test -w $cache_file; then
18315 echo "updating cache $cache_file"
18316 cat confcache
> $cache_file
18318 echo "not updating unwritable cache $cache_file"
18323 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18325 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18326 # Let make expand exec_prefix.
18327 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18329 # Any assignment to VPATH causes Sun make to only execute
18330 # the first set of double-colon rules, so remove it if not needed.
18331 # If there is a colon in the path, we need to keep it.
18332 if test "x$srcdir" = x.
; then
18333 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18336 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18338 DEFS
=-DHAVE_CONFIG_H
18340 # Without the "./", some shells look in PATH for config.status.
18341 : ${CONFIG_STATUS=./config.status}
18343 echo creating
$CONFIG_STATUS
18344 rm -f $CONFIG_STATUS
18345 cat > $CONFIG_STATUS <<EOF
18347 # Generated automatically by configure.
18348 # Run this file to recreate the current configuration.
18349 # This directory was configured as follows,
18350 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18352 # $0 $ac_configure_args
18354 # Compiler output produced by configure, useful for debugging
18355 # configure, is in ./config.log if it exists.
18357 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18360 case "\$ac_option" in
18361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18362 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18363 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18364 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18365 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18367 -help | --help | --hel | --he | --h)
18368 echo "\$ac_cs_usage"; exit 0 ;;
18369 *) echo "\$ac_cs_usage"; exit 1 ;;
18373 ac_given_srcdir=$srcdir
18374 ac_given_INSTALL="$INSTALL"
18376 trap 'rm -fr `echo "
18382 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18384 cat >> $CONFIG_STATUS <<EOF
18386 # Protect against being on the right side of a sed subst in config.status.
18387 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18388 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18392 s%@CFLAGS@%$CFLAGS%g
18393 s%@CPPFLAGS@%$CPPFLAGS%g
18394 s%@CXXFLAGS@%$CXXFLAGS%g
18395 s%@FFLAGS@%$FFLAGS%g
18397 s%@LDFLAGS@%$LDFLAGS%g
18399 s%@exec_prefix@%$exec_prefix%g
18400 s%@prefix@%$prefix%g
18401 s%@program_transform_name@%$program_transform_name%g
18402 s%@bindir@%$bindir%g
18403 s%@sbindir@%$sbindir%g
18404 s%@libexecdir@%$libexecdir%g
18405 s%@datadir@%$datadir%g
18406 s%@sysconfdir@%$sysconfdir%g
18407 s%@sharedstatedir@%$sharedstatedir%g
18408 s%@localstatedir@%$localstatedir%g
18409 s%@libdir@%$libdir%g
18410 s%@includedir@%$includedir%g
18411 s%@oldincludedir@%$oldincludedir%g
18412 s%@infodir@%$infodir%g
18413 s%@mandir@%$mandir%g
18415 s%@host_alias@%$host_alias%g
18416 s%@host_cpu@%$host_cpu%g
18417 s%@host_vendor@%$host_vendor%g
18418 s%@host_os@%$host_os%g
18419 s%@target@%$target%g
18420 s%@target_alias@%$target_alias%g
18421 s%@target_cpu@%$target_cpu%g
18422 s%@target_vendor@%$target_vendor%g
18423 s%@target_os@%$target_os%g
18425 s%@build_alias@%$build_alias%g
18426 s%@build_cpu@%$build_cpu%g
18427 s%@build_vendor@%$build_vendor%g
18428 s%@build_os@%$build_os%g
18432 s%@RANLIB@%$RANLIB%g
18434 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18435 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18436 s%@INSTALL_DATA@%$INSTALL_DATA%g
18440 s%@LEXLIB@%$LEXLIB%g
18442 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18443 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18444 s%@GTK_LIBS@%$GTK_LIBS%g
18445 s%@GTK_CONFIG@%$GTK_CONFIG%g
18446 s%@X_CFLAGS@%$X_CFLAGS%g
18447 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18448 s%@X_LIBS@%$X_LIBS%g
18449 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18450 s%@RESCOMP@%$RESCOMP%g
18452 s%@CXXCPP@%$CXXCPP%g
18453 s%@LEX_STEM@%$LEX_STEM%g
18454 s%@PATH_IFS@%$PATH_IFS%g
18455 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18456 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18457 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18458 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18459 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18460 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18461 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18462 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18463 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18464 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18465 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18466 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18467 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18468 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18469 s%@WX_ALL@%$WX_ALL%g
18470 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18471 s%@SHARED_LD@%$SHARED_LD%g
18472 s%@PIC_FLAG@%$PIC_FLAG%g
18473 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18474 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18475 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18476 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18477 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18478 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18479 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18480 s%@USE_GUI@%$USE_GUI%g
18481 s%@AFMINSTALL@%$AFMINSTALL%g
18482 s%@TOOLKIT@%$TOOLKIT%g
18483 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18484 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18485 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18486 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18487 s%@cross_compiling@%$cross_compiling%g
18488 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18489 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18490 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18491 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18492 s%@GUIDIST@%$GUIDIST%g
18493 s%@PORT_FILES@%$PORT_FILES%g
18494 s%@DISTDIR@%$DISTDIR%g
18495 s%@RPM_SPEC@%$RPM_SPEC%g
18496 s%@RPM_FILES@%$RPM_FILES%g
18497 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18498 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18499 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18500 s%@EXTRADEFS@%$EXTRADEFS%g
18501 s%@LD_LIBS@%$LD_LIBS%g
18502 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18503 s%@RESFLAGS@%$RESFLAGS%g
18504 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18505 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18506 s%@LIBWXMACRES@%$LIBWXMACRES%g
18507 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18508 s%@DLLTOOL@%$DLLTOOL%g
18512 s%@MAKEINFO@%$MAKEINFO%g
18513 s%@SET_MAKE@%$SET_MAKE%g
18514 s%@subdirs@%$subdirs%g
18519 cat >> $CONFIG_STATUS <<\EOF
18521 # Split the substitutions into bite-sized pieces for seds with
18522 # small command number limits, like on Digital OSF/1 and HP-UX.
18523 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18524 ac_file
=1 # Number of current file.
18525 ac_beg
=1 # First line for current file.
18526 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18529 while $ac_more_lines; do
18530 if test $ac_beg -gt 1; then
18531 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18533 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18535 if test ! -s conftest.s
$ac_file; then
18536 ac_more_lines
=false
18537 rm -f conftest.s
$ac_file
18539 if test -z "$ac_sed_cmds"; then
18540 ac_sed_cmds
="sed -f conftest.s$ac_file"
18542 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18544 ac_file
=`expr $ac_file + 1`
18546 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18549 if test -z "$ac_sed_cmds"; then
18554 cat >> $CONFIG_STATUS <<EOF
18556 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18563 cat >> $CONFIG_STATUS <<\EOF
18564 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18565 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18567 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18568 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18569 *) ac_file_in
="${ac_file}.in" ;;
18572 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18574 # Remove last slash and all that follows it. Not all systems have dirname.
18575 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18576 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18577 # The file is in a subdirectory.
18578 test ! -d "$ac_dir" && mkdir "$ac_dir"
18579 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18580 # A "../" for each directory in $ac_dir_suffix.
18581 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18583 ac_dir_suffix
= ac_dots
=
18586 case "$ac_given_srcdir" in
18588 if test -z "$ac_dots"; then top_srcdir
=.
18589 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18590 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18591 *) # Relative path.
18592 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18593 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18596 case "$ac_given_INSTALL" in
18597 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18598 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18601 echo creating
"$ac_file"
18603 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18605 *Makefile
*) ac_comsub
="1i\\
18606 # $configure_input" ;;
18610 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18612 s%@configure_input@%$configure_input%g
18613 s%@srcdir@%$srcdir%g
18614 s%@top_srcdir@%$top_srcdir%g
18615 s%@INSTALL@%$INSTALL%g
18616 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18620 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18621 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18623 # ac_d sets the value in "#define NAME VALUE" lines.
18624 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18625 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18628 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18629 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18630 ac_uB
='\([ ]\)%\1#\2define\3'
18633 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18634 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18635 ac_eB
='$%\1#\2define\3'
18639 if test "${CONFIG_HEADERS+set}" != set; then
18641 cat >> $CONFIG_STATUS <<EOF
18642 CONFIG_HEADERS="setup.h:setup.h.in"
18644 cat >> $CONFIG_STATUS <<\EOF
18646 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18647 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18649 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18650 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18651 *) ac_file_in
="${ac_file}.in" ;;
18654 echo creating
$ac_file
18656 rm -f conftest.frag conftest.
in conftest.out
18657 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18658 cat $ac_file_inputs > conftest.
in
18662 # Transform confdefs.h into a sed script conftest.vals that substitutes
18663 # the proper values into config.h.in to produce config.h. And first:
18664 # Protect against being on the right side of a sed subst in config.status.
18665 # Protect against being in an unquoted here document in config.status.
18666 rm -f conftest.vals
18667 cat > conftest.hdr
<<\EOF
18670 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18674 sed -n -f conftest.hdr confdefs.h > conftest.vals
18677 # This sed command replaces #undef with comments. This is necessary, for
18678 # example, in the case of _POSIX_SOURCE, which is predefined and required
18679 # on some systems where configure will not decide to define it.
18680 cat >> conftest.vals <<\EOF
18681 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18684 # Break up conftest.vals because some shells have a limit on
18685 # the size of here documents, and old seds have small limits too.
18687 rm -f conftest.tail
18690 ac_lines=`grep -c . conftest.vals
`
18691 # grep -c gives empty output for an empty file on some AIX systems.
18692 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18693 # Write a limited-size here document to conftest.frag.
18694 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18695 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18697 sed -f conftest.frag conftest.in > conftest.out
18699 mv conftest.out conftest.in
18700 ' >> $CONFIG_STATUS
18701 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18702 rm -f conftest.vals
18703 mv conftest.tail conftest.vals
18705 rm -f conftest.vals
18707 cat >> $CONFIG_STATUS <<\EOF
18708 rm -f conftest.frag conftest.h
18709 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18710 cat conftest.in >> conftest.h
18712 if cmp -s $ac_file conftest.h 2>/dev/null; then
18713 echo "$ac_file is unchanged"
18716 # Remove last slash and all that follows it. Not all systems have dirname.
18717 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18718 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18719 # The file is in a subdirectory.
18720 test ! -d "$ac_dir" && mkdir "$ac_dir"
18723 mv conftest.h $ac_file
18728 cat >> $CONFIG_STATUS <<EOF
18730 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18735 cat >> $CONFIG_STATUS <<\EOF
18737 if test ! -L wx-config; then
18739 mv wx-config wx${TOOLCHAIN_NAME}-config
18740 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18743 if test ! -d lib; then
18746 if test ! -d lib/wx; then
18749 if test ! -d lib/wx/include; then
18750 mkdir lib/wx/include
18752 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18753 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18755 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18756 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18758 if test -f setup.h; then
18759 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18764 chmod +x $CONFIG_STATUS
18765 rm -fr confdefs* $ac_clean_files
18766 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18768 if test "$no_recursion" != yes; then
18770 # Remove --cache-file and --srcdir arguments so they do not pile up.
18771 ac_sub_configure_args=
18773 for ac_arg in $ac_configure_args; do
18774 if test -n "$ac_prev"; then
18779 -cache-file | --cache-file | --cache-fil | --cache-fi \
18780 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18781 ac_prev=cache_file ;;
18782 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18783 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18785 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18787 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18789 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18793 for ac_config_dir in demos samples utils contrib; do
18795 # Do not complain, so a configure script can configure whichever
18796 # parts of a large source tree are present.
18797 if test ! -d $srcdir/$ac_config_dir; then
18801 echo configuring in $ac_config_dir
18806 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18808 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18816 # A "../" for each directory in /$ac_config_dir.
18817 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18820 .) # No --srcdir option. We are building in place.
18821 ac_sub_srcdir=$srcdir ;;
18822 /*) # Absolute path.
18823 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18824 *) # Relative path.
18825 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18828 # Check for guested configure; otherwise get Cygnus style configure.
18829 if test -f $ac_sub_srcdir/configure; then
18830 ac_sub_configure=$ac_sub_srcdir/configure
18831 elif test -f $ac_sub_srcdir/configure.in; then
18832 ac_sub_configure=$ac_configure
18834 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18838 # The recursion is here.
18839 if test -n "$ac_sub_configure"; then
18841 # Make the cache file name correct relative to the subdirectory.
18842 case "$cache_file" in
18843 /*) ac_sub_cache_file=$cache_file ;;
18844 *) # Relative path.
18845 ac_sub_cache_file="$ac_dots$cache_file" ;;
18847 case "$ac_given_INSTALL" in
18848 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18849 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18852 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18853 # The eval makes quoting arguments work.
18854 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18857 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }