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
1044 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1046 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1051 DEFAULT_wxUSE_MOTIF
=0
1054 DEFAULT_wxUSE_WINE
=0
1056 DEFAULT_DEFAULT_wxUSE_GTK
=0
1057 DEFAULT_DEFAULT_wxUSE_MAC
=0
1058 DEFAULT_DEFAULT_wxUSE_MGL
=0
1059 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1060 DEFAULT_DEFAULT_wxUSE_MSW
=0
1061 DEFAULT_DEFAULT_wxUSE_PM
=0
1062 DEFAULT_DEFAULT_wxUSE_WINE
=0
1070 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1071 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1073 cat >> confdefs.h
<<\EOF
1080 cat >> confdefs.h
<<\EOF
1085 if test "x$TMP" = "xalpha"; then
1087 cat >> confdefs.h
<<\EOF
1092 if test "x$TMP" = "xia64"; then
1094 cat >> confdefs.h
<<\EOF
1099 DEFAULT_DEFAULT_wxUSE_GTK
=1
1101 *-*-irix5* | *-*-irix6* )
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1112 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1123 #define __SOLARIS__ 1
1126 cat >> confdefs.h
<<\EOF
1130 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1131 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1137 cat >> confdefs.h
<<\EOF
1141 cat >> confdefs.h
<<\EOF
1145 cat >> confdefs.h
<<\EOF
1149 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1154 cat >> confdefs.h
<<\EOF
1155 #define __FREEBSD__ 1
1158 cat >> confdefs.h
<<\EOF
1162 DEFAULT_DEFAULT_wxUSE_GTK
=1
1167 cat >> confdefs.h
<<\EOF
1168 #define __FREEBSD__ 1
1171 cat >> confdefs.h
<<\EOF
1172 #define __OPENBSD__ 1
1175 DEFAULT_DEFAULT_wxUSE_GTK
=1
1180 cat >> confdefs.h
<<\EOF
1181 #define __FREEBSD__ 1
1184 cat >> confdefs.h
<<\EOF
1185 #define __NETBSD__ 1
1188 DEFAULT_DEFAULT_wxUSE_GTK
=1
1193 cat >> confdefs.h
<<\EOF
1197 cat >> confdefs.h
<<\EOF
1201 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1202 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1207 cat >> confdefs.h
<<\EOF
1211 cat >> confdefs.h
<<\EOF
1215 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1234 cat >> confdefs.h
<<\EOF
1238 cat >> confdefs.h
<<\EOF
1242 cat >> confdefs.h
<<\EOF
1246 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1249 *-*-cygwin* | *-*-mingw32* )
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1261 cat >> confdefs.h
<<\EOF
1262 #define __WINDOWS__ 1
1265 cat >> confdefs.h
<<\EOF
1266 #define __GNUWIN32__ 1
1269 cat >> confdefs.h
<<\EOF
1273 cat >> confdefs.h
<<\EOF
1274 #define WINVER 0x0400
1279 DEFAULT_DEFAULT_wxUSE_MSW
=1
1283 cat >> confdefs.h
<<\EOF
1288 DEFAULT_DEFAULT_wxUSE_PM
=1
1295 cat >> confdefs.h
<<\EOF
1299 cat >> confdefs.h
<<\EOF
1300 #define __DARWIN__ 1
1303 cat >> confdefs.h
<<\EOF
1304 #define __POWERPC__ 1
1307 DEFAULT_DEFAULT_wxUSE_MAC
=1
1312 cat >> confdefs.h
<<\EOF
1319 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1322 if test "$USE_UNIX" = 1 ; then
1324 cat >> confdefs.h
<<\EOF
1330 if test "$USE_LINUX" = 1; then
1331 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1332 echo "configure:1333: checking for glibc 2.1 or later" >&5
1333 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1334 echo $ac_n "(cached) $ac_c" 1>&6
1336 cat > conftest.
$ac_ext <<EOF
1337 #line 1338 "configure"
1338 #include "confdefs.h"
1339 #include <features.h>
1342 #if !__GLIBC_PREREQ(2, 1)
1348 if { (eval echo configure
:1349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1354 echo "configure: failed program was:" >&5
1355 cat conftest.
$ac_ext >&5
1366 echo "$ac_t""$wx_lib_glibc21" 1>&6
1367 if test "$wx_lib_glibc21" = "yes"; then
1368 cat >> confdefs.h
<<\EOF
1369 #define wxHAVE_GLIBC2 1
1378 wx_arg_cache_file
="configarg.cache"
1379 echo "loading argument cache $wx_arg_cache_file"
1380 rm -f ${wx_arg_cache_file}.tmp
1381 touch ${wx_arg_cache_file}.tmp
1382 touch ${wx_arg_cache_file}
1386 if test $DEBUG_CONFIGURE = 1; then
1387 DEFAULT_wxUSE_UNIVERSAL
=no
1389 DEFAULT_wxUSE_THREADS
=yes
1391 DEFAULT_wxUSE_SHARED
=yes
1392 DEFAULT_wxUSE_SONAME
=no
1393 DEFAULT_wxUSE_OPTIMISE
=no
1394 DEFAULT_wxUSE_PROFILE
=no
1395 DEFAULT_wxUSE_NO_DEPS
=no
1396 DEFAULT_wxUSE_NO_RTTI
=no
1397 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1398 DEFAULT_wxUSE_PERMISSIVE
=no
1399 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1400 DEFAULT_wxUSE_DEBUG_INFO
=yes
1401 DEFAULT_wxUSE_DEBUG_GDB
=yes
1402 DEFAULT_wxUSE_MEM_TRACING
=no
1403 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1404 DEFAULT_wxUSE_DMALLOC
=no
1405 DEFAULT_wxUSE_PRECOMP
=yes
1406 DEFAULT_wxUSE_APPLE_IEEE
=no
1408 DEFAULT_wxUSE_LOG
=yes
1409 DEFAULT_wxUSE_LOGWINDOW
=no
1410 DEFAULT_wxUSE_LOGGUI
=no
1412 DEFAULT_wxUSE_GUI
=yes
1413 DEFAULT_wxUSE_CONTROLS
=no
1415 DEFAULT_wxUSE_REGEX
=no
1416 DEFAULT_wxUSE_ZLIB
=no
1417 DEFAULT_wxUSE_LIBPNG
=no
1418 DEFAULT_wxUSE_LIBJPEG
=no
1419 DEFAULT_wxUSE_LIBTIFF
=no
1420 DEFAULT_wxUSE_ODBC
=no
1421 DEFAULT_wxUSE_FREETYPE
=no
1422 DEFAULT_wxUSE_OPENGL
=no
1424 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1425 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1426 DEFAULT_wxUSE_STD_IOSTREAM
=no
1427 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1428 DEFAULT_wxUSE_DATETIME
=no
1429 DEFAULT_wxUSE_TIMEDATE
=no
1430 DEFAULT_wxUSE_TIMER
=no
1431 DEFAULT_wxUSE_STOPWATCH
=no
1432 DEFAULT_wxUSE_FILE
=no
1433 DEFAULT_wxUSE_FFILE
=no
1434 DEFAULT_wxUSE_TEXTFILE
=no
1435 DEFAULT_wxUSE_WAVE
=no
1436 DEFAULT_wxUSE_INTL
=no
1437 DEFAULT_wxUSE_CONFIG
=no
1438 DEFAULT_wxUSE_FONTMAP
=no
1439 DEFAULT_wxUSE_STREAMS
=no
1440 DEFAULT_wxUSE_SOCKETS
=no
1441 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1442 DEFAULT_wxUSE_SERIAL
=no
1443 DEFAULT_wxUSE_JOYSTICK
=no
1444 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1445 DEFAULT_wxUSE_LONGLONG
=no
1446 DEFAULT_wxUSE_GEOMETRY
=no
1448 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1449 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1450 DEFAULT_wxUSE_POSTSCRIPT
=no
1452 DEFAULT_wxUSE_X_RESOURCES
=no
1453 DEFAULT_wxUSE_CLIPBOARD
=no
1454 DEFAULT_wxUSE_TOOLTIPS
=no
1455 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1456 DEFAULT_wxUSE_DRAGIMAGE
=no
1457 DEFAULT_wxUSE_SPLINES
=no
1459 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1460 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1461 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1463 DEFAULT_wxUSE_PROLOGIO
=no
1464 DEFAULT_wxUSE_RESOURCES
=no
1465 DEFAULT_wxUSE_CONSTRAINTS
=no
1466 DEFAULT_wxUSE_IPC
=no
1467 DEFAULT_wxUSE_HELP
=no
1468 DEFAULT_wxUSE_MS_HTML_HELP
=no
1469 DEFAULT_wxUSE_WXHTML_HELP
=no
1470 DEFAULT_wxUSE_TREELAYOUT
=no
1471 DEFAULT_wxUSE_METAFILE
=no
1472 DEFAULT_wxUSE_MIMETYPE
=no
1473 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1475 DEFAULT_wxUSE_COMMONDLGS
=no
1476 DEFAULT_wxUSE_CHOICEDLG
=no
1477 DEFAULT_wxUSE_COLOURDLG
=no
1478 DEFAULT_wxUSE_DIRDLG
=no
1479 DEFAULT_wxUSE_FILEDLG
=no
1480 DEFAULT_wxUSE_FINDREPLDLG
=no
1481 DEFAULT_wxUSE_FONTDLG
=no
1482 DEFAULT_wxUSE_MSGDLG
=no
1483 DEFAULT_wxUSE_NUMBERDLG
=no
1484 DEFAULT_wxUSE_TEXTDLG
=no
1485 DEFAULT_wxUSE_SPLASH
=no
1486 DEFAULT_wxUSE_STARTUP_TIPS
=no
1487 DEFAULT_wxUSE_PROGRESSDLG
=no
1488 DEFAULT_wxUSE_WIZARDDLG
=no
1490 DEFAULT_wxUSE_MENUS
=no
1491 DEFAULT_wxUSE_MINIFRAME
=no
1492 DEFAULT_wxUSE_HTML
=no
1493 DEFAULT_wxUSE_FILESYSTEM
=no
1494 DEFAULT_wxUSE_FS_INET
=no
1495 DEFAULT_wxUSE_FS_ZIP
=no
1496 DEFAULT_wxUSE_BUSYINFO
=no
1497 DEFAULT_wxUSE_ZIPSTREAM
=no
1498 DEFAULT_wxUSE_VALIDATORS
=no
1500 DEFAULT_wxUSE_ACCEL
=no
1501 DEFAULT_wxUSE_BUTTON
=no
1502 DEFAULT_wxUSE_BMPBUTTON
=no
1503 DEFAULT_wxUSE_CALCTRL
=no
1504 DEFAULT_wxUSE_CARET
=no
1505 DEFAULT_wxUSE_CHECKBOX
=no
1506 DEFAULT_wxUSE_CHECKLST
=no
1507 DEFAULT_wxUSE_CHOICE
=no
1508 DEFAULT_wxUSE_COMBOBOX
=no
1509 DEFAULT_wxUSE_GAUGE
=no
1510 DEFAULT_wxUSE_GRID
=no
1511 DEFAULT_wxUSE_NEW_GRID
=no
1512 DEFAULT_wxUSE_IMAGLIST
=no
1513 DEFAULT_wxUSE_LISTBOX
=no
1514 DEFAULT_wxUSE_LISTCTRL
=no
1515 DEFAULT_wxUSE_NOTEBOOK
=no
1516 DEFAULT_wxUSE_PROPSHEET
=no
1517 DEFAULT_wxUSE_RADIOBOX
=no
1518 DEFAULT_wxUSE_RADIOBTN
=no
1519 DEFAULT_wxUSE_SASH
=no
1520 DEFAULT_wxUSE_SCROLLBAR
=no
1521 DEFAULT_wxUSE_SLIDER
=no
1522 DEFAULT_wxUSE_SPINBTN
=no
1523 DEFAULT_wxUSE_SPINCTRL
=no
1524 DEFAULT_wxUSE_SPLITTER
=no
1525 DEFAULT_wxUSE_STATBMP
=no
1526 DEFAULT_wxUSE_STATBOX
=no
1527 DEFAULT_wxUSE_STATLINE
=no
1528 DEFAULT_wxUSE_STATTEXT
=no
1529 DEFAULT_wxUSE_STATUSBAR
=yes
1530 DEFAULT_wxUSE_TABDIALOG
=no
1531 DEFAULT_wxUSE_TEXTCTRL
=no
1532 DEFAULT_wxUSE_TOGGLEBTN
=no
1533 DEFAULT_wxUSE_TOOLBAR
=no
1534 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1535 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1536 DEFAULT_wxUSE_TREECTRL
=no
1537 DEFAULT_wxUSE_POPUPWIN
=no
1539 DEFAULT_wxUSE_UNICODE
=no
1540 DEFAULT_wxUSE_WCSRTOMBS
=no
1542 DEFAULT_wxUSE_PALETTE
=no
1543 DEFAULT_wxUSE_IMAGE
=no
1544 DEFAULT_wxUSE_GIF
=no
1545 DEFAULT_wxUSE_PCX
=no
1546 DEFAULT_wxUSE_PNM
=no
1547 DEFAULT_wxUSE_XPM
=no
1549 DEFAULT_wxUSE_UNIVERSAL
=no
1551 DEFAULT_wxUSE_THREADS
=yes
1553 DEFAULT_wxUSE_SHARED
=yes
1554 DEFAULT_wxUSE_SONAME
=no
1555 DEFAULT_wxUSE_OPTIMISE
=yes
1556 DEFAULT_wxUSE_PROFILE
=no
1557 DEFAULT_wxUSE_NO_DEPS
=no
1558 DEFAULT_wxUSE_NO_RTTI
=no
1559 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1560 DEFAULT_wxUSE_PERMISSIVE
=no
1561 DEFAULT_wxUSE_DEBUG_FLAG
=no
1562 DEFAULT_wxUSE_DEBUG_INFO
=no
1563 DEFAULT_wxUSE_DEBUG_GDB
=no
1564 DEFAULT_wxUSE_MEM_TRACING
=no
1565 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1566 DEFAULT_wxUSE_DMALLOC
=no
1567 DEFAULT_wxUSE_PRECOMP
=yes
1568 DEFAULT_wxUSE_APPLE_IEEE
=yes
1570 DEFAULT_wxUSE_LOG
=yes
1571 DEFAULT_wxUSE_LOGWINDOW
=yes
1572 DEFAULT_wxUSE_LOGGUI
=yes
1574 DEFAULT_wxUSE_GUI
=yes
1576 DEFAULT_wxUSE_REGEX
=yes
1577 DEFAULT_wxUSE_ZLIB
=yes
1578 DEFAULT_wxUSE_LIBPNG
=yes
1579 DEFAULT_wxUSE_LIBJPEG
=yes
1580 DEFAULT_wxUSE_LIBTIFF
=yes
1581 DEFAULT_wxUSE_ODBC
=no
1582 DEFAULT_wxUSE_FREETYPE
=no
1583 DEFAULT_wxUSE_OPENGL
=no
1585 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1586 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1587 DEFAULT_wxUSE_STD_IOSTREAM
=no
1588 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1589 DEFAULT_wxUSE_DATETIME
=yes
1590 DEFAULT_wxUSE_TIMEDATE
=no
1591 DEFAULT_wxUSE_TIMER
=yes
1592 DEFAULT_wxUSE_STOPWATCH
=yes
1593 DEFAULT_wxUSE_FILE
=yes
1594 DEFAULT_wxUSE_FFILE
=yes
1595 DEFAULT_wxUSE_TEXTFILE
=yes
1596 DEFAULT_wxUSE_WAVE
=no
1597 DEFAULT_wxUSE_INTL
=yes
1598 DEFAULT_wxUSE_CONFIG
=yes
1599 DEFAULT_wxUSE_FONTMAP
=yes
1600 DEFAULT_wxUSE_STREAMS
=yes
1601 DEFAULT_wxUSE_SOCKETS
=yes
1602 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1603 DEFAULT_wxUSE_SERIAL
=yes
1604 DEFAULT_wxUSE_JOYSTICK
=yes
1605 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1606 DEFAULT_wxUSE_LONGLONG
=yes
1607 DEFAULT_wxUSE_GEOMETRY
=yes
1609 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1610 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1611 DEFAULT_wxUSE_POSTSCRIPT
=yes
1613 DEFAULT_wxUSE_X_RESOURCES
=no
1614 DEFAULT_wxUSE_CLIPBOARD
=yes
1615 DEFAULT_wxUSE_TOOLTIPS
=yes
1616 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1617 DEFAULT_wxUSE_DRAGIMAGE
=yes
1618 DEFAULT_wxUSE_SPLINES
=yes
1620 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1621 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1622 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1624 DEFAULT_wxUSE_PROLOGIO
=yes
1625 DEFAULT_wxUSE_RESOURCES
=yes
1626 DEFAULT_wxUSE_CONSTRAINTS
=yes
1627 DEFAULT_wxUSE_IPC
=yes
1628 DEFAULT_wxUSE_HELP
=yes
1629 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1630 DEFAULT_wxUSE_WXHTML_HELP
=yes
1631 DEFAULT_wxUSE_TREELAYOUT
=yes
1632 DEFAULT_wxUSE_METAFILE
=yes
1633 DEFAULT_wxUSE_MIMETYPE
=yes
1634 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1636 DEFAULT_wxUSE_COMMONDLGS
=yes
1637 DEFAULT_wxUSE_CHOICEDLG
=yes
1638 DEFAULT_wxUSE_COLOURDLG
=yes
1639 DEFAULT_wxUSE_DIRDLG
=yes
1640 DEFAULT_wxUSE_FILEDLG
=yes
1641 DEFAULT_wxUSE_FINDREPLDLG
=yes
1642 DEFAULT_wxUSE_FONTDLG
=yes
1643 DEFAULT_wxUSE_MSGDLG
=yes
1644 DEFAULT_wxUSE_NUMBERDLG
=yes
1645 DEFAULT_wxUSE_TEXTDLG
=yes
1646 DEFAULT_wxUSE_SPLASH
=yes
1647 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1648 DEFAULT_wxUSE_PROGRESSDLG
=yes
1649 DEFAULT_wxUSE_WIZARDDLG
=yes
1651 DEFAULT_wxUSE_MENUS
=yes
1652 DEFAULT_wxUSE_MINIFRAME
=yes
1653 DEFAULT_wxUSE_HTML
=yes
1654 DEFAULT_wxUSE_FILESYSTEM
=yes
1655 DEFAULT_wxUSE_FS_INET
=yes
1656 DEFAULT_wxUSE_FS_ZIP
=yes
1657 DEFAULT_wxUSE_BUSYINFO
=yes
1658 DEFAULT_wxUSE_ZIPSTREAM
=yes
1659 DEFAULT_wxUSE_VALIDATORS
=yes
1661 DEFAULT_wxUSE_ACCEL
=yes
1662 DEFAULT_wxUSE_BUTTON
=yes
1663 DEFAULT_wxUSE_BMPBUTTON
=yes
1664 DEFAULT_wxUSE_CALCTRL
=yes
1665 DEFAULT_wxUSE_CARET
=yes
1666 DEFAULT_wxUSE_CHECKBOX
=yes
1667 DEFAULT_wxUSE_CHECKLST
=yes
1668 DEFAULT_wxUSE_CHOICE
=yes
1669 DEFAULT_wxUSE_COMBOBOX
=yes
1670 DEFAULT_wxUSE_GAUGE
=yes
1671 DEFAULT_wxUSE_GRID
=yes
1672 DEFAULT_wxUSE_NEW_GRID
=yes
1673 DEFAULT_wxUSE_IMAGLIST
=yes
1674 DEFAULT_wxUSE_LISTBOX
=yes
1675 DEFAULT_wxUSE_LISTCTRL
=yes
1676 DEFAULT_wxUSE_NOTEBOOK
=yes
1677 DEFAULT_wxUSE_PROPSHEET
=yes
1678 DEFAULT_wxUSE_RADIOBOX
=yes
1679 DEFAULT_wxUSE_RADIOBTN
=yes
1680 DEFAULT_wxUSE_SASH
=yes
1681 DEFAULT_wxUSE_SCROLLBAR
=yes
1682 DEFAULT_wxUSE_SLIDER
=yes
1683 DEFAULT_wxUSE_SPINBTN
=yes
1684 DEFAULT_wxUSE_SPINCTRL
=yes
1685 DEFAULT_wxUSE_SPLITTER
=yes
1686 DEFAULT_wxUSE_STATBMP
=yes
1687 DEFAULT_wxUSE_STATBOX
=yes
1688 DEFAULT_wxUSE_STATLINE
=yes
1689 DEFAULT_wxUSE_STATTEXT
=yes
1690 DEFAULT_wxUSE_STATUSBAR
=yes
1691 DEFAULT_wxUSE_TABDIALOG
=no
1692 DEFAULT_wxUSE_TEXTCTRL
=yes
1693 DEFAULT_wxUSE_TOGGLEBTN
=yes
1694 DEFAULT_wxUSE_TOOLBAR
=yes
1695 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1696 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1697 DEFAULT_wxUSE_TREECTRL
=yes
1698 DEFAULT_wxUSE_POPUPWIN
=yes
1700 DEFAULT_wxUSE_UNICODE
=no
1701 DEFAULT_wxUSE_WCSRTOMBS
=no
1703 DEFAULT_wxUSE_PALETTE
=yes
1704 DEFAULT_wxUSE_IMAGE
=yes
1705 DEFAULT_wxUSE_GIF
=yes
1706 DEFAULT_wxUSE_PCX
=yes
1707 DEFAULT_wxUSE_PNM
=yes
1708 DEFAULT_wxUSE_XPM
=yes
1713 for toolkit
in `echo $ALL_TOOLKITS`; do
1714 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1715 if test "x$LINE" != x
; then
1716 has_toolkit_in_cache
=1
1717 eval "DEFAULT_$LINE"
1718 eval "CACHE_$toolkit=1"
1724 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1725 echo "configure:1726: checking for --enable-gui" >&5
1727 # Check whether --enable-gui or --disable-gui was given.
1728 if test "${enable_gui+set}" = set; then
1729 enableval
="$enable_gui"
1731 if test "$enableval" = yes; then
1732 ac_cv_use_gui
='wxUSE_GUI=yes'
1734 ac_cv_use_gui
='wxUSE_GUI=no'
1739 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1740 if test "x$LINE" != x
; then
1741 eval "DEFAULT_$LINE"
1746 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1751 eval "$ac_cv_use_gui"
1752 if test "$no_cache" != 1; then
1753 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1756 if test "$wxUSE_GUI" = yes; then
1757 echo "$ac_t""yes" 1>&6
1759 echo "$ac_t""no" 1>&6
1763 if test "$wxUSE_GUI" = "yes"; then
1766 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1767 echo "configure:1768: checking for --enable-universal" >&5
1769 # Check whether --enable-universal or --disable-universal was given.
1770 if test "${enable_universal+set}" = set; then
1771 enableval
="$enable_universal"
1773 if test "$enableval" = yes; then
1774 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1776 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1781 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1782 if test "x$LINE" != x
; then
1783 eval "DEFAULT_$LINE"
1788 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1793 eval "$ac_cv_use_universal"
1794 if test "$no_cache" != 1; then
1795 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1798 if test "$wxUSE_UNIVERSAL" = yes; then
1799 echo "$ac_t""yes" 1>&6
1801 echo "$ac_t""no" 1>&6
1804 # Check whether --with-gtk or --without-gtk was given.
1805 if test "${with_gtk+set}" = set; then
1807 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1810 # Check whether --with-motif or --without-motif was given.
1811 if test "${with_motif+set}" = set; then
1812 withval
="$with_motif"
1813 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1816 # Check whether --with-mac or --without-mac was given.
1817 if test "${with_mac+set}" = set; then
1819 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1822 # Check whether --with-wine or --without-wine was given.
1823 if test "${with_wine+set}" = set; then
1824 withval
="$with_wine"
1825 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1828 # Check whether --with-cygwin or --without-cygwin was given.
1829 if test "${with_cygwin+set}" = set; then
1830 withval
="$with_cygwin"
1831 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1834 # Check whether --with-mingw or --without-mingw was given.
1835 if test "${with_mingw+set}" = set; then
1836 withval
="$with_mingw"
1837 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1840 # Check whether --with-pm or --without-pm was given.
1841 if test "${with_pm+set}" = set; then
1843 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1846 # Check whether --with-mgl or --without-mgl was given.
1847 if test "${with_mgl+set}" = set; then
1849 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1853 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1854 if test "${enable_gtk2+set}" = set; then
1855 enableval
="$enable_gtk2"
1863 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1864 echo "configure:1865: checking for --with-libpng" >&5
1866 # Check whether --with-libpng or --without-libpng was given.
1867 if test "${with_libpng+set}" = set; then
1868 withval
="$with_libpng"
1870 if test "$withval" = yes; then
1871 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1872 elif test "$withval" = no
; then
1873 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1874 elif test "$withval" = sys
; then
1875 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1877 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1882 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1883 if test "x$LINE" != x
; then
1884 eval "DEFAULT_$LINE"
1889 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1894 eval "$ac_cv_use_libpng"
1895 if test "$no_cache" != 1; then
1896 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1899 if test "$wxUSE_LIBPNG" = yes; then
1900 echo "$ac_t""yes" 1>&6
1901 elif test "$wxUSE_LIBPNG" = no
; then
1902 echo "$ac_t""no" 1>&6
1903 elif test "$wxUSE_LIBPNG" = sys
; then
1904 echo "$ac_t""system version" 1>&6
1906 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1910 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1911 echo "configure:1912: checking for --with-libjpeg" >&5
1913 # Check whether --with-libjpeg or --without-libjpeg was given.
1914 if test "${with_libjpeg+set}" = set; then
1915 withval
="$with_libjpeg"
1917 if test "$withval" = yes; then
1918 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1919 elif test "$withval" = no
; then
1920 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1921 elif test "$withval" = sys
; then
1922 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1924 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1929 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1930 if test "x$LINE" != x
; then
1931 eval "DEFAULT_$LINE"
1936 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1941 eval "$ac_cv_use_libjpeg"
1942 if test "$no_cache" != 1; then
1943 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1946 if test "$wxUSE_LIBJPEG" = yes; then
1947 echo "$ac_t""yes" 1>&6
1948 elif test "$wxUSE_LIBJPEG" = no
; then
1949 echo "$ac_t""no" 1>&6
1950 elif test "$wxUSE_LIBJPEG" = sys
; then
1951 echo "$ac_t""system version" 1>&6
1953 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1957 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1958 echo "configure:1959: checking for --with-libtiff" >&5
1960 # Check whether --with-libtiff or --without-libtiff was given.
1961 if test "${with_libtiff+set}" = set; then
1962 withval
="$with_libtiff"
1964 if test "$withval" = yes; then
1965 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1966 elif test "$withval" = no
; then
1967 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1968 elif test "$withval" = sys
; then
1969 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1971 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1976 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1977 if test "x$LINE" != x
; then
1978 eval "DEFAULT_$LINE"
1983 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1988 eval "$ac_cv_use_libtiff"
1989 if test "$no_cache" != 1; then
1990 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1993 if test "$wxUSE_LIBTIFF" = yes; then
1994 echo "$ac_t""yes" 1>&6
1995 elif test "$wxUSE_LIBTIFF" = no
; then
1996 echo "$ac_t""no" 1>&6
1997 elif test "$wxUSE_LIBTIFF" = sys
; then
1998 echo "$ac_t""system version" 1>&6
2000 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
2004 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2005 echo "configure:2006: checking for --with-freetype" >&5
2007 # Check whether --with-freetype or --without-freetype was given.
2008 if test "${with_freetype+set}" = set; then
2009 withval
="$with_freetype"
2011 if test "$withval" = yes; then
2012 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2013 elif test "$withval" = no
; then
2014 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2015 elif test "$withval" = sys
; then
2016 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2018 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2023 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2024 if test "x$LINE" != x
; then
2025 eval "DEFAULT_$LINE"
2030 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2035 eval "$ac_cv_use_freetype"
2036 if test "$no_cache" != 1; then
2037 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2040 if test "$wxUSE_FREETYPE" = yes; then
2041 echo "$ac_t""yes" 1>&6
2042 elif test "$wxUSE_FREETYPE" = no
; then
2043 echo "$ac_t""no" 1>&6
2044 elif test "$wxUSE_FREETYPE" = sys
; then
2045 echo "$ac_t""system version" 1>&6
2047 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
2051 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2052 echo "configure:2053: checking for --with-opengl" >&5
2054 # Check whether --with-opengl or --without-opengl was given.
2055 if test "${with_opengl+set}" = set; then
2056 withval
="$with_opengl"
2058 if test "$withval" = yes; then
2059 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2061 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2066 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2067 if test "x$LINE" != x
; then
2068 eval "DEFAULT_$LINE"
2073 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2078 eval "$ac_cv_use_opengl"
2079 if test "$no_cache" != 1; then
2080 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2083 if test "$wxUSE_OPENGL" = yes; then
2084 echo "$ac_t""yes" 1>&6
2086 echo "$ac_t""no" 1>&6
2093 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2094 echo "configure:2095: checking for --with-dmalloc" >&5
2096 # Check whether --with-dmalloc or --without-dmalloc was given.
2097 if test "${with_dmalloc+set}" = set; then
2098 withval
="$with_dmalloc"
2100 if test "$withval" = yes; then
2101 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2103 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2108 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2109 if test "x$LINE" != x
; then
2110 eval "DEFAULT_$LINE"
2115 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2120 eval "$ac_cv_use_dmalloc"
2121 if test "$no_cache" != 1; then
2122 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2125 if test "$wxUSE_DMALLOC" = yes; then
2126 echo "$ac_t""yes" 1>&6
2128 echo "$ac_t""no" 1>&6
2132 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2133 echo "configure:2134: checking for --with-regex" >&5
2135 # Check whether --with-regex or --without-regex was given.
2136 if test "${with_regex+set}" = set; then
2137 withval
="$with_regex"
2139 if test "$withval" = yes; then
2140 ac_cv_use_regex
='wxUSE_REGEX=yes'
2141 elif test "$withval" = no
; then
2142 ac_cv_use_regex
='wxUSE_REGEX=no'
2143 elif test "$withval" = sys
; then
2144 ac_cv_use_regex
='wxUSE_REGEX=sys'
2146 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2151 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2152 if test "x$LINE" != x
; then
2153 eval "DEFAULT_$LINE"
2158 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2163 eval "$ac_cv_use_regex"
2164 if test "$no_cache" != 1; then
2165 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2168 if test "$wxUSE_REGEX" = yes; then
2169 echo "$ac_t""yes" 1>&6
2170 elif test "$wxUSE_REGEX" = no
; then
2171 echo "$ac_t""no" 1>&6
2172 elif test "$wxUSE_REGEX" = sys
; then
2173 echo "$ac_t""system version" 1>&6
2175 { echo "configure: error: Invalid value for --with-regex: should be yes, no or sys" 1>&2; exit 1; }
2179 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2180 echo "configure:2181: checking for --with-zlib" >&5
2182 # Check whether --with-zlib or --without-zlib was given.
2183 if test "${with_zlib+set}" = set; then
2184 withval
="$with_zlib"
2186 if test "$withval" = yes; then
2187 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2188 elif test "$withval" = no
; then
2189 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2190 elif test "$withval" = sys
; then
2191 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2193 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2198 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2199 if test "x$LINE" != x
; then
2200 eval "DEFAULT_$LINE"
2205 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2210 eval "$ac_cv_use_zlib"
2211 if test "$no_cache" != 1; then
2212 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2215 if test "$wxUSE_ZLIB" = yes; then
2216 echo "$ac_t""yes" 1>&6
2217 elif test "$wxUSE_ZLIB" = no
; then
2218 echo "$ac_t""no" 1>&6
2219 elif test "$wxUSE_ZLIB" = sys
; then
2220 echo "$ac_t""system version" 1>&6
2222 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2226 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2227 echo "configure:2228: checking for --with-odbc" >&5
2229 # Check whether --with-odbc or --without-odbc was given.
2230 if test "${with_odbc+set}" = set; then
2231 withval
="$with_odbc"
2233 if test "$withval" = yes; then
2234 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2236 ac_cv_use_odbc
='wxUSE_ODBC=no'
2241 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2242 if test "x$LINE" != x
; then
2243 eval "DEFAULT_$LINE"
2248 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2253 eval "$ac_cv_use_odbc"
2254 if test "$no_cache" != 1; then
2255 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2258 if test "$wxUSE_ODBC" = yes; then
2259 echo "$ac_t""yes" 1>&6
2261 echo "$ac_t""no" 1>&6
2267 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2268 echo "configure:2269: checking for --enable-shared" >&5
2270 # Check whether --enable-shared or --disable-shared was given.
2271 if test "${enable_shared+set}" = set; then
2272 enableval
="$enable_shared"
2274 if test "$enableval" = yes; then
2275 ac_cv_use_shared
='wxUSE_SHARED=yes'
2277 ac_cv_use_shared
='wxUSE_SHARED=no'
2282 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2283 if test "x$LINE" != x
; then
2284 eval "DEFAULT_$LINE"
2289 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2294 eval "$ac_cv_use_shared"
2295 if test "$no_cache" != 1; then
2296 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2299 if test "$wxUSE_SHARED" = yes; then
2300 echo "$ac_t""yes" 1>&6
2302 echo "$ac_t""no" 1>&6
2306 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2307 echo "configure:2308: checking for --enable-soname" >&5
2309 # Check whether --enable-soname or --disable-soname was given.
2310 if test "${enable_soname+set}" = set; then
2311 enableval
="$enable_soname"
2313 if test "$enableval" = yes; then
2314 ac_cv_use_soname
='wxUSE_SONAME=yes'
2316 ac_cv_use_soname
='wxUSE_SONAME=no'
2321 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2322 if test "x$LINE" != x
; then
2323 eval "DEFAULT_$LINE"
2328 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2333 eval "$ac_cv_use_soname"
2334 if test "$no_cache" != 1; then
2335 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2338 if test "$wxUSE_SONAME" = yes; then
2339 echo "$ac_t""yes" 1>&6
2341 echo "$ac_t""no" 1>&6
2345 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2346 echo "configure:2347: checking for --enable-optimise" >&5
2348 # Check whether --enable-optimise or --disable-optimise was given.
2349 if test "${enable_optimise+set}" = set; then
2350 enableval
="$enable_optimise"
2352 if test "$enableval" = yes; then
2353 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2355 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2360 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x
; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2372 eval "$ac_cv_use_optimise"
2373 if test "$no_cache" != 1; then
2374 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2377 if test "$wxUSE_OPTIMISE" = yes; then
2378 echo "$ac_t""yes" 1>&6
2380 echo "$ac_t""no" 1>&6
2384 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2385 echo "configure:2386: checking for --enable-debug" >&5
2387 # Check whether --enable-debug or --disable-debug was given.
2388 if test "${enable_debug+set}" = set; then
2389 enableval
="$enable_debug"
2391 if test "$enableval" = yes; then
2392 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2394 ac_cv_use_debug
='wxUSE_DEBUG=no'
2399 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x
; then
2401 eval "DEFAULT_$LINE"
2406 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2411 eval "$ac_cv_use_debug"
2412 if test "$no_cache" != 1; then
2413 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2416 if test "$wxUSE_DEBUG" = yes; then
2417 echo "$ac_t""yes" 1>&6
2419 echo "$ac_t""no" 1>&6
2424 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2425 echo "configure:2426: checking for --enable-precomp" >&5
2427 # Check whether --enable-precomp or --disable-precomp was given.
2428 if test "${enable_precomp+set}" = set; then
2429 enableval
="$enable_precomp"
2431 if test "$enableval" = yes; then
2432 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2434 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2439 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2440 if test "x$LINE" != x
; then
2441 eval "DEFAULT_$LINE"
2446 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2451 eval "$ac_cv_use_precomp"
2452 if test "$no_cache" != 1; then
2453 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2456 if test "$wxUSE_PRECOMP" = yes; then
2457 echo "$ac_t""yes" 1>&6
2459 echo "$ac_t""no" 1>&6
2463 if test "$wxUSE_DEBUG" = "yes"; then
2464 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2465 DEFAULT_wxUSE_DEBUG_INFO
=yes
2466 elif test "$wxUSE_DEBUG" = "no"; then
2467 DEFAULT_wxUSE_DEBUG_FLAG
=no
2468 DEFAULT_wxUSE_DEBUG_INFO
=no
2472 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2473 echo "configure:2474: checking for --enable-debug_flag" >&5
2475 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2476 if test "${enable_debug_flag+set}" = set; then
2477 enableval
="$enable_debug_flag"
2479 if test "$enableval" = yes; then
2480 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2482 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2487 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2488 if test "x$LINE" != x
; then
2489 eval "DEFAULT_$LINE"
2494 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2499 eval "$ac_cv_use_debug_flag"
2500 if test "$no_cache" != 1; then
2501 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2504 if test "$wxUSE_DEBUG_FLAG" = yes; then
2505 echo "$ac_t""yes" 1>&6
2507 echo "$ac_t""no" 1>&6
2511 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2512 echo "configure:2513: checking for --enable-debug_info" >&5
2514 # Check whether --enable-debug_info or --disable-debug_info was given.
2515 if test "${enable_debug_info+set}" = set; then
2516 enableval
="$enable_debug_info"
2518 if test "$enableval" = yes; then
2519 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2521 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2526 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2527 if test "x$LINE" != x
; then
2528 eval "DEFAULT_$LINE"
2533 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2538 eval "$ac_cv_use_debug_info"
2539 if test "$no_cache" != 1; then
2540 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2543 if test "$wxUSE_DEBUG_INFO" = yes; then
2544 echo "$ac_t""yes" 1>&6
2546 echo "$ac_t""no" 1>&6
2550 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2551 echo "configure:2552: checking for --enable-debug_gdb" >&5
2553 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2554 if test "${enable_debug_gdb+set}" = set; then
2555 enableval
="$enable_debug_gdb"
2557 if test "$enableval" = yes; then
2558 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2560 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2565 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2566 if test "x$LINE" != x
; then
2567 eval "DEFAULT_$LINE"
2572 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2577 eval "$ac_cv_use_debug_gdb"
2578 if test "$no_cache" != 1; then
2579 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2582 if test "$wxUSE_DEBUG_GDB" = yes; then
2583 echo "$ac_t""yes" 1>&6
2585 echo "$ac_t""no" 1>&6
2589 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2590 echo "configure:2591: checking for --enable-debug_cntxt" >&5
2592 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2593 if test "${enable_debug_cntxt+set}" = set; then
2594 enableval
="$enable_debug_cntxt"
2596 if test "$enableval" = yes; then
2597 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2599 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2604 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x
; then
2606 eval "DEFAULT_$LINE"
2611 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2616 eval "$ac_cv_use_debug_cntxt"
2617 if test "$no_cache" != 1; then
2618 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2621 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2622 echo "$ac_t""yes" 1>&6
2624 echo "$ac_t""no" 1>&6
2628 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2629 echo "configure:2630: checking for --enable-mem_tracing" >&5
2631 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2632 if test "${enable_mem_tracing+set}" = set; then
2633 enableval
="$enable_mem_tracing"
2635 if test "$enableval" = yes; then
2636 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2638 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2643 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x
; then
2645 eval "DEFAULT_$LINE"
2650 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2655 eval "$ac_cv_use_mem_tracing"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2660 if test "$wxUSE_MEM_TRACING" = yes; then
2661 echo "$ac_t""yes" 1>&6
2663 echo "$ac_t""no" 1>&6
2667 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2668 echo "configure:2669: checking for --enable-profile" >&5
2670 # Check whether --enable-profile or --disable-profile was given.
2671 if test "${enable_profile+set}" = set; then
2672 enableval
="$enable_profile"
2674 if test "$enableval" = yes; then
2675 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2677 ac_cv_use_profile
='wxUSE_PROFILE=no'
2682 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2683 if test "x$LINE" != x
; then
2684 eval "DEFAULT_$LINE"
2689 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2694 eval "$ac_cv_use_profile"
2695 if test "$no_cache" != 1; then
2696 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2699 if test "$wxUSE_PROFILE" = yes; then
2700 echo "$ac_t""yes" 1>&6
2702 echo "$ac_t""no" 1>&6
2706 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2707 echo "configure:2708: checking for --enable-no_rtti" >&5
2709 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2710 if test "${enable_no_rtti+set}" = set; then
2711 enableval
="$enable_no_rtti"
2713 if test "$enableval" = yes; then
2714 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2716 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2721 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2722 if test "x$LINE" != x
; then
2723 eval "DEFAULT_$LINE"
2728 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2733 eval "$ac_cv_use_no_rtti"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2738 if test "$wxUSE_NO_RTTI" = yes; then
2739 echo "$ac_t""yes" 1>&6
2741 echo "$ac_t""no" 1>&6
2745 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2746 echo "configure:2747: checking for --enable-no_exceptions" >&5
2748 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2749 if test "${enable_no_exceptions+set}" = set; then
2750 enableval
="$enable_no_exceptions"
2752 if test "$enableval" = yes; then
2753 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2755 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2760 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2761 if test "x$LINE" != x
; then
2762 eval "DEFAULT_$LINE"
2767 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2772 eval "$ac_cv_use_no_exceptions"
2773 if test "$no_cache" != 1; then
2774 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2777 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2778 echo "$ac_t""yes" 1>&6
2780 echo "$ac_t""no" 1>&6
2784 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2785 echo "configure:2786: checking for --enable-permissive" >&5
2787 # Check whether --enable-permissive or --disable-permissive was given.
2788 if test "${enable_permissive+set}" = set; then
2789 enableval
="$enable_permissive"
2791 if test "$enableval" = yes; then
2792 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2794 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2799 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2800 if test "x$LINE" != x
; then
2801 eval "DEFAULT_$LINE"
2806 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2811 eval "$ac_cv_use_permissive"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2816 if test "$wxUSE_PERMISSIVE" = yes; then
2817 echo "$ac_t""yes" 1>&6
2819 echo "$ac_t""no" 1>&6
2823 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2824 echo "configure:2825: checking for --enable-no_deps" >&5
2826 # Check whether --enable-no_deps or --disable-no_deps was given.
2827 if test "${enable_no_deps+set}" = set; then
2828 enableval
="$enable_no_deps"
2830 if test "$enableval" = yes; then
2831 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2833 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2838 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x
; then
2840 eval "DEFAULT_$LINE"
2845 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2850 eval "$ac_cv_use_no_deps"
2851 if test "$no_cache" != 1; then
2852 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2855 if test "$wxUSE_NO_DEPS" = yes; then
2856 echo "$ac_t""yes" 1>&6
2858 echo "$ac_t""no" 1>&6
2863 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2864 echo "configure:2865: checking for --enable-compat20" >&5
2866 # Check whether --enable-compat20 or --disable-compat20 was given.
2867 if test "${enable_compat20+set}" = set; then
2868 enableval
="$enable_compat20"
2870 if test "$enableval" = yes; then
2871 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2873 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2878 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2879 if test "x$LINE" != x
; then
2880 eval "DEFAULT_$LINE"
2885 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2890 eval "$ac_cv_use_compat20"
2891 if test "$no_cache" != 1; then
2892 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2895 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2896 echo "$ac_t""yes" 1>&6
2898 echo "$ac_t""no" 1>&6
2902 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2903 echo "configure:2904: checking for --enable-compat22" >&5
2905 # Check whether --enable-compat22 or --disable-compat22 was given.
2906 if test "${enable_compat22+set}" = set; then
2907 enableval
="$enable_compat22"
2909 if test "$enableval" = yes; then
2910 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2912 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2917 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2918 if test "x$LINE" != x
; then
2919 eval "DEFAULT_$LINE"
2924 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2929 eval "$ac_cv_use_compat22"
2930 if test "$no_cache" != 1; then
2931 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2934 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2935 echo "$ac_t""yes" 1>&6
2937 echo "$ac_t""no" 1>&6
2943 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2944 echo "configure:2945: checking for --enable-intl" >&5
2946 # Check whether --enable-intl or --disable-intl was given.
2947 if test "${enable_intl+set}" = set; then
2948 enableval
="$enable_intl"
2950 if test "$enableval" = yes; then
2951 ac_cv_use_intl
='wxUSE_INTL=yes'
2953 ac_cv_use_intl
='wxUSE_INTL=no'
2958 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2959 if test "x$LINE" != x
; then
2960 eval "DEFAULT_$LINE"
2965 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2970 eval "$ac_cv_use_intl"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2975 if test "$wxUSE_INTL" = yes; then
2976 echo "$ac_t""yes" 1>&6
2978 echo "$ac_t""no" 1>&6
2982 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2983 echo "configure:2984: checking for --enable-config" >&5
2985 # Check whether --enable-config or --disable-config was given.
2986 if test "${enable_config+set}" = set; then
2987 enableval
="$enable_config"
2989 if test "$enableval" = yes; then
2990 ac_cv_use_config
='wxUSE_CONFIG=yes'
2992 ac_cv_use_config
='wxUSE_CONFIG=no'
2997 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2998 if test "x$LINE" != x
; then
2999 eval "DEFAULT_$LINE"
3004 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3009 eval "$ac_cv_use_config"
3010 if test "$no_cache" != 1; then
3011 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3014 if test "$wxUSE_CONFIG" = yes; then
3015 echo "$ac_t""yes" 1>&6
3017 echo "$ac_t""no" 1>&6
3022 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3023 echo "configure:3024: checking for --enable-sockets" >&5
3025 # Check whether --enable-sockets or --disable-sockets was given.
3026 if test "${enable_sockets+set}" = set; then
3027 enableval
="$enable_sockets"
3029 if test "$enableval" = yes; then
3030 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3032 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3037 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3038 if test "x$LINE" != x
; then
3039 eval "DEFAULT_$LINE"
3044 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3049 eval "$ac_cv_use_sockets"
3050 if test "$no_cache" != 1; then
3051 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3054 if test "$wxUSE_SOCKETS" = yes; then
3055 echo "$ac_t""yes" 1>&6
3057 echo "$ac_t""no" 1>&6
3062 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3063 echo "configure:3064: checking for --enable-ipc" >&5
3065 # Check whether --enable-ipc or --disable-ipc was given.
3066 if test "${enable_ipc+set}" = set; then
3067 enableval
="$enable_ipc"
3069 if test "$enableval" = yes; then
3070 ac_cv_use_ipc
='wxUSE_IPC=yes'
3072 ac_cv_use_ipc
='wxUSE_IPC=no'
3077 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3089 eval "$ac_cv_use_ipc"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_IPC" = yes; then
3095 echo "$ac_t""yes" 1>&6
3097 echo "$ac_t""no" 1>&6
3102 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3103 echo "configure:3104: checking for --enable-cmdline" >&5
3105 # Check whether --enable-cmdline or --disable-cmdline was given.
3106 if test "${enable_cmdline+set}" = set; then
3107 enableval
="$enable_cmdline"
3109 if test "$enableval" = yes; then
3110 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3112 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3117 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x
; then
3119 eval "DEFAULT_$LINE"
3124 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3129 eval "$ac_cv_use_cmdline"
3130 if test "$no_cache" != 1; then
3131 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3134 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3135 echo "$ac_t""yes" 1>&6
3137 echo "$ac_t""no" 1>&6
3141 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3142 echo "configure:3143: checking for --enable-datetime" >&5
3144 # Check whether --enable-datetime or --disable-datetime was given.
3145 if test "${enable_datetime+set}" = set; then
3146 enableval
="$enable_datetime"
3148 if test "$enableval" = yes; then
3149 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3151 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3156 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3157 if test "x$LINE" != x
; then
3158 eval "DEFAULT_$LINE"
3163 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3168 eval "$ac_cv_use_datetime"
3169 if test "$no_cache" != 1; then
3170 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3173 if test "$wxUSE_DATETIME" = yes; then
3174 echo "$ac_t""yes" 1>&6
3176 echo "$ac_t""no" 1>&6
3180 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3181 echo "configure:3182: checking for --enable-timedate" >&5
3183 # Check whether --enable-timedate or --disable-timedate was given.
3184 if test "${enable_timedate+set}" = set; then
3185 enableval
="$enable_timedate"
3187 if test "$enableval" = yes; then
3188 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3190 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3195 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3196 if test "x$LINE" != x
; then
3197 eval "DEFAULT_$LINE"
3202 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3207 eval "$ac_cv_use_timedate"
3208 if test "$no_cache" != 1; then
3209 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3212 if test "$wxUSE_TIMEDATE" = yes; then
3213 echo "$ac_t""yes" 1>&6
3215 echo "$ac_t""no" 1>&6
3219 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3220 echo "configure:3221: checking for --enable-stopwatch" >&5
3222 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3223 if test "${enable_stopwatch+set}" = set; then
3224 enableval
="$enable_stopwatch"
3226 if test "$enableval" = yes; then
3227 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3229 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3234 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3235 if test "x$LINE" != x
; then
3236 eval "DEFAULT_$LINE"
3241 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3246 eval "$ac_cv_use_stopwatch"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3251 if test "$wxUSE_STOPWATCH" = yes; then
3252 echo "$ac_t""yes" 1>&6
3254 echo "$ac_t""no" 1>&6
3258 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3259 echo "configure:3260: checking for --enable-dialupman" >&5
3261 # Check whether --enable-dialupman or --disable-dialupman was given.
3262 if test "${enable_dialupman+set}" = set; then
3263 enableval
="$enable_dialupman"
3265 if test "$enableval" = yes; then
3266 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3268 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3273 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3274 if test "x$LINE" != x
; then
3275 eval "DEFAULT_$LINE"
3280 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3285 eval "$ac_cv_use_dialupman"
3286 if test "$no_cache" != 1; then
3287 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3290 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3291 echo "$ac_t""yes" 1>&6
3293 echo "$ac_t""no" 1>&6
3297 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3298 echo "configure:3299: checking for --enable-apple_ieee" >&5
3300 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3301 if test "${enable_apple_ieee+set}" = set; then
3302 enableval
="$enable_apple_ieee"
3304 if test "$enableval" = yes; then
3305 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3307 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3312 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x
; then
3314 eval "DEFAULT_$LINE"
3319 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3324 eval "$ac_cv_use_apple_ieee"
3325 if test "$no_cache" != 1; then
3326 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3329 if test "$wxUSE_APPLE_IEEE" = yes; then
3330 echo "$ac_t""yes" 1>&6
3332 echo "$ac_t""no" 1>&6
3336 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3337 echo "configure:3338: checking for --enable-timer" >&5
3339 # Check whether --enable-timer or --disable-timer was given.
3340 if test "${enable_timer+set}" = set; then
3341 enableval
="$enable_timer"
3343 if test "$enableval" = yes; then
3344 ac_cv_use_timer
='wxUSE_TIMER=yes'
3346 ac_cv_use_timer
='wxUSE_TIMER=no'
3351 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x
; then
3353 eval "DEFAULT_$LINE"
3358 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3363 eval "$ac_cv_use_timer"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_TIMER" = yes; then
3369 echo "$ac_t""yes" 1>&6
3371 echo "$ac_t""no" 1>&6
3375 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3376 echo "configure:3377: checking for --enable-wave" >&5
3378 # Check whether --enable-wave or --disable-wave was given.
3379 if test "${enable_wave+set}" = set; then
3380 enableval
="$enable_wave"
3382 if test "$enableval" = yes; then
3383 ac_cv_use_wave
='wxUSE_WAVE=yes'
3385 ac_cv_use_wave
='wxUSE_WAVE=no'
3390 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3391 if test "x$LINE" != x
; then
3392 eval "DEFAULT_$LINE"
3397 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3402 eval "$ac_cv_use_wave"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3407 if test "$wxUSE_WAVE" = yes; then
3408 echo "$ac_t""yes" 1>&6
3410 echo "$ac_t""no" 1>&6
3414 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3415 echo "configure:3416: checking for --enable-fraction" >&5
3417 # Check whether --enable-fraction or --disable-fraction was given.
3418 if test "${enable_fraction+set}" = set; then
3419 enableval
="$enable_fraction"
3421 if test "$enableval" = yes; then
3422 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3424 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3429 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3430 if test "x$LINE" != x
; then
3431 eval "DEFAULT_$LINE"
3436 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3441 eval "$ac_cv_use_fraction"
3442 if test "$no_cache" != 1; then
3443 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3446 if test "$wxUSE_FRACTION" = yes; then
3447 echo "$ac_t""yes" 1>&6
3449 echo "$ac_t""no" 1>&6
3453 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3454 echo "configure:3455: checking for --enable-dynlib" >&5
3456 # Check whether --enable-dynlib or --disable-dynlib was given.
3457 if test "${enable_dynlib+set}" = set; then
3458 enableval
="$enable_dynlib"
3460 if test "$enableval" = yes; then
3461 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3463 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3468 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x
; then
3470 eval "DEFAULT_$LINE"
3475 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3480 eval "$ac_cv_use_dynlib"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3485 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3486 echo "$ac_t""yes" 1>&6
3488 echo "$ac_t""no" 1>&6
3492 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3493 echo "configure:3494: checking for --enable-longlong" >&5
3495 # Check whether --enable-longlong or --disable-longlong was given.
3496 if test "${enable_longlong+set}" = set; then
3497 enableval
="$enable_longlong"
3499 if test "$enableval" = yes; then
3500 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3502 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3507 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x
; then
3509 eval "DEFAULT_$LINE"
3514 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3519 eval "$ac_cv_use_longlong"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3524 if test "$wxUSE_LONGLONG" = yes; then
3525 echo "$ac_t""yes" 1>&6
3527 echo "$ac_t""no" 1>&6
3531 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3532 echo "configure:3533: checking for --enable-geometry" >&5
3534 # Check whether --enable-geometry or --disable-geometry was given.
3535 if test "${enable_geometry+set}" = set; then
3536 enableval
="$enable_geometry"
3538 if test "$enableval" = yes; then
3539 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3541 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3546 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3547 if test "x$LINE" != x
; then
3548 eval "DEFAULT_$LINE"
3553 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3558 eval "$ac_cv_use_geometry"
3559 if test "$no_cache" != 1; then
3560 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3563 if test "$wxUSE_GEOMETRY" = yes; then
3564 echo "$ac_t""yes" 1>&6
3566 echo "$ac_t""no" 1>&6
3570 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3571 echo "configure:3572: checking for --enable-log" >&5
3573 # Check whether --enable-log or --disable-log was given.
3574 if test "${enable_log+set}" = set; then
3575 enableval
="$enable_log"
3577 if test "$enableval" = yes; then
3578 ac_cv_use_log
='wxUSE_LOG=yes'
3580 ac_cv_use_log
='wxUSE_LOG=no'
3585 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x
; then
3587 eval "DEFAULT_$LINE"
3592 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3597 eval "$ac_cv_use_log"
3598 if test "$no_cache" != 1; then
3599 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3602 if test "$wxUSE_LOG" = yes; then
3603 echo "$ac_t""yes" 1>&6
3605 echo "$ac_t""no" 1>&6
3609 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3610 echo "configure:3611: checking for --enable-streams" >&5
3612 # Check whether --enable-streams or --disable-streams was given.
3613 if test "${enable_streams+set}" = set; then
3614 enableval
="$enable_streams"
3616 if test "$enableval" = yes; then
3617 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3619 ac_cv_use_streams
='wxUSE_STREAMS=no'
3624 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x
; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3636 eval "$ac_cv_use_streams"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_STREAMS" = yes; then
3642 echo "$ac_t""yes" 1>&6
3644 echo "$ac_t""no" 1>&6
3648 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3649 echo "configure:3650: checking for --enable-file" >&5
3651 # Check whether --enable-file or --disable-file was given.
3652 if test "${enable_file+set}" = set; then
3653 enableval
="$enable_file"
3655 if test "$enableval" = yes; then
3656 ac_cv_use_file
='wxUSE_FILE=yes'
3658 ac_cv_use_file
='wxUSE_FILE=no'
3663 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3664 if test "x$LINE" != x
; then
3665 eval "DEFAULT_$LINE"
3670 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3675 eval "$ac_cv_use_file"
3676 if test "$no_cache" != 1; then
3677 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3680 if test "$wxUSE_FILE" = yes; then
3681 echo "$ac_t""yes" 1>&6
3683 echo "$ac_t""no" 1>&6
3687 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3688 echo "configure:3689: checking for --enable-ffile" >&5
3690 # Check whether --enable-ffile or --disable-ffile was given.
3691 if test "${enable_ffile+set}" = set; then
3692 enableval
="$enable_ffile"
3694 if test "$enableval" = yes; then
3695 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3697 ac_cv_use_ffile
='wxUSE_FFILE=no'
3702 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3703 if test "x$LINE" != x
; then
3704 eval "DEFAULT_$LINE"
3709 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3714 eval "$ac_cv_use_ffile"
3715 if test "$no_cache" != 1; then
3716 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3719 if test "$wxUSE_FFILE" = yes; then
3720 echo "$ac_t""yes" 1>&6
3722 echo "$ac_t""no" 1>&6
3726 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3727 echo "configure:3728: checking for --enable-textfile" >&5
3729 # Check whether --enable-textfile or --disable-textfile was given.
3730 if test "${enable_textfile+set}" = set; then
3731 enableval
="$enable_textfile"
3733 if test "$enableval" = yes; then
3734 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3736 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3741 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x
; then
3743 eval "DEFAULT_$LINE"
3748 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3753 eval "$ac_cv_use_textfile"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_TEXTFILE" = yes; then
3759 echo "$ac_t""yes" 1>&6
3761 echo "$ac_t""no" 1>&6
3765 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3766 echo "configure:3767: checking for --enable-fontmap" >&5
3768 # Check whether --enable-fontmap or --disable-fontmap was given.
3769 if test "${enable_fontmap+set}" = set; then
3770 enableval
="$enable_fontmap"
3772 if test "$enableval" = yes; then
3773 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3775 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3780 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3781 if test "x$LINE" != x
; then
3782 eval "DEFAULT_$LINE"
3787 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3792 eval "$ac_cv_use_fontmap"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3797 if test "$wxUSE_FONTMAP" = yes; then
3798 echo "$ac_t""yes" 1>&6
3800 echo "$ac_t""no" 1>&6
3804 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3805 echo "configure:3806: checking for --enable-unicode" >&5
3807 # Check whether --enable-unicode or --disable-unicode was given.
3808 if test "${enable_unicode+set}" = set; then
3809 enableval
="$enable_unicode"
3811 if test "$enableval" = yes; then
3812 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3814 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3819 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x
; then
3821 eval "DEFAULT_$LINE"
3826 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3831 eval "$ac_cv_use_unicode"
3832 if test "$no_cache" != 1; then
3833 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3836 if test "$wxUSE_UNICODE" = yes; then
3837 echo "$ac_t""yes" 1>&6
3839 echo "$ac_t""no" 1>&6
3843 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3844 echo "configure:3845: checking for --enable-wxprintfv" >&5
3846 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3847 if test "${enable_wxprintfv+set}" = set; then
3848 enableval
="$enable_wxprintfv"
3850 if test "$enableval" = yes; then
3851 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3853 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3858 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3859 if test "x$LINE" != x
; then
3860 eval "DEFAULT_$LINE"
3865 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3870 eval "$ac_cv_use_wxprintfv"
3871 if test "$no_cache" != 1; then
3872 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3875 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3876 echo "$ac_t""yes" 1>&6
3878 echo "$ac_t""no" 1>&6
3882 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3883 echo "configure:3884: checking for --enable-std_iostreams" >&5
3885 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3886 if test "${enable_std_iostreams+set}" = set; then
3887 enableval
="$enable_std_iostreams"
3889 if test "$enableval" = yes; then
3890 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3892 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3897 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3898 if test "x$LINE" != x
; then
3899 eval "DEFAULT_$LINE"
3904 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3909 eval "$ac_cv_use_std_iostreams"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_STD_IOSTREAM" = yes; then
3915 echo "$ac_t""yes" 1>&6
3917 echo "$ac_t""no" 1>&6
3921 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3922 echo "configure:3923: checking for --enable-filesystem" >&5
3924 # Check whether --enable-filesystem or --disable-filesystem was given.
3925 if test "${enable_filesystem+set}" = set; then
3926 enableval
="$enable_filesystem"
3928 if test "$enableval" = yes; then
3929 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3931 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3936 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x
; then
3938 eval "DEFAULT_$LINE"
3943 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3948 eval "$ac_cv_use_filesystem"
3949 if test "$no_cache" != 1; then
3950 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3953 if test "$wxUSE_FILESYSTEM" = yes; then
3954 echo "$ac_t""yes" 1>&6
3956 echo "$ac_t""no" 1>&6
3960 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3961 echo "configure:3962: checking for --enable-fs_inet" >&5
3963 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3964 if test "${enable_fs_inet+set}" = set; then
3965 enableval
="$enable_fs_inet"
3967 if test "$enableval" = yes; then
3968 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3970 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3975 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3976 if test "x$LINE" != x
; then
3977 eval "DEFAULT_$LINE"
3982 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3987 eval "$ac_cv_use_fs_inet"
3988 if test "$no_cache" != 1; then
3989 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3992 if test "$wxUSE_FS_INET" = yes; then
3993 echo "$ac_t""yes" 1>&6
3995 echo "$ac_t""no" 1>&6
3999 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4000 echo "configure:4001: checking for --enable-fs_zip" >&5
4002 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4003 if test "${enable_fs_zip+set}" = set; then
4004 enableval
="$enable_fs_zip"
4006 if test "$enableval" = yes; then
4007 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4009 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4014 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4015 if test "x$LINE" != x
; then
4016 eval "DEFAULT_$LINE"
4021 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4026 eval "$ac_cv_use_fs_zip"
4027 if test "$no_cache" != 1; then
4028 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4031 if test "$wxUSE_FS_ZIP" = yes; then
4032 echo "$ac_t""yes" 1>&6
4034 echo "$ac_t""no" 1>&6
4038 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4039 echo "configure:4040: checking for --enable-zipstream" >&5
4041 # Check whether --enable-zipstream or --disable-zipstream was given.
4042 if test "${enable_zipstream+set}" = set; then
4043 enableval
="$enable_zipstream"
4045 if test "$enableval" = yes; then
4046 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4048 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4053 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4054 if test "x$LINE" != x
; then
4055 eval "DEFAULT_$LINE"
4060 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4065 eval "$ac_cv_use_zipstream"
4066 if test "$no_cache" != 1; then
4067 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4070 if test "$wxUSE_ZIPSTREAM" = yes; then
4071 echo "$ac_t""yes" 1>&6
4073 echo "$ac_t""no" 1>&6
4078 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4079 echo "configure:4080: checking for --enable-catch_segvs" >&5
4081 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4082 if test "${enable_catch_segvs+set}" = set; then
4083 enableval
="$enable_catch_segvs"
4085 if test "$enableval" = yes; then
4086 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4088 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4093 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4094 if test "x$LINE" != x
; then
4095 eval "DEFAULT_$LINE"
4100 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4105 eval "$ac_cv_use_catch_segvs"
4106 if test "$no_cache" != 1; then
4107 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4110 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4111 echo "$ac_t""yes" 1>&6
4113 echo "$ac_t""no" 1>&6
4117 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4118 echo "configure:4119: checking for --enable-snglinst" >&5
4120 # Check whether --enable-snglinst or --disable-snglinst was given.
4121 if test "${enable_snglinst+set}" = set; then
4122 enableval
="$enable_snglinst"
4124 if test "$enableval" = yes; then
4125 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4127 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4132 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4133 if test "x$LINE" != x
; then
4134 eval "DEFAULT_$LINE"
4139 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4144 eval "$ac_cv_use_snglinst"
4145 if test "$no_cache" != 1; then
4146 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4149 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4150 echo "$ac_t""yes" 1>&6
4152 echo "$ac_t""no" 1>&6
4157 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4158 echo "configure:4159: checking for --enable-mimetype" >&5
4160 # Check whether --enable-mimetype or --disable-mimetype was given.
4161 if test "${enable_mimetype+set}" = set; then
4162 enableval
="$enable_mimetype"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4167 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4172 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4184 eval "$ac_cv_use_mimetype"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_MIMETYPE" = yes; then
4190 echo "$ac_t""yes" 1>&6
4192 echo "$ac_t""no" 1>&6
4196 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4197 echo "configure:4198: checking for --enable-system_options" >&5
4199 # Check whether --enable-system_options or --disable-system_options was given.
4200 if test "${enable_system_options+set}" = set; then
4201 enableval
="$enable_system_options"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4206 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4211 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x
; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4223 eval "$ac_cv_use_system_options"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4229 echo "$ac_t""yes" 1>&6
4231 echo "$ac_t""no" 1>&6
4237 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4238 echo "configure:4239: checking for --enable-threads" >&5
4240 # Check whether --enable-threads or --disable-threads was given.
4241 if test "${enable_threads+set}" = set; then
4242 enableval
="$enable_threads"
4244 if test "$enableval" = yes; then
4245 ac_cv_use_threads
='wxUSE_THREADS=yes'
4247 ac_cv_use_threads
='wxUSE_THREADS=no'
4252 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4253 if test "x$LINE" != x
; then
4254 eval "DEFAULT_$LINE"
4259 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4264 eval "$ac_cv_use_threads"
4265 if test "$no_cache" != 1; then
4266 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4269 if test "$wxUSE_THREADS" = yes; then
4270 echo "$ac_t""yes" 1>&6
4272 echo "$ac_t""no" 1>&6
4276 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4277 echo "configure:4278: checking for --enable-serial" >&5
4279 # Check whether --enable-serial or --disable-serial was given.
4280 if test "${enable_serial+set}" = set; then
4281 enableval
="$enable_serial"
4283 if test "$enableval" = yes; then
4284 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4286 ac_cv_use_serial
='wxUSE_SERIAL=no'
4291 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x
; then
4293 eval "DEFAULT_$LINE"
4298 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4303 eval "$ac_cv_use_serial"
4304 if test "$no_cache" != 1; then
4305 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4308 if test "$wxUSE_SERIAL" = yes; then
4309 echo "$ac_t""yes" 1>&6
4311 echo "$ac_t""no" 1>&6
4315 if test "$wxUSE_GUI" = "yes"; then
4319 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4320 echo "configure:4321: checking for --enable-docview" >&5
4322 # Check whether --enable-docview or --disable-docview was given.
4323 if test "${enable_docview+set}" = set; then
4324 enableval
="$enable_docview"
4326 if test "$enableval" = yes; then
4327 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4329 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4334 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4335 if test "x$LINE" != x
; then
4336 eval "DEFAULT_$LINE"
4341 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4346 eval "$ac_cv_use_docview"
4347 if test "$no_cache" != 1; then
4348 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4351 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4352 echo "$ac_t""yes" 1>&6
4354 echo "$ac_t""no" 1>&6
4358 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4359 echo "configure:4360: checking for --enable-help" >&5
4361 # Check whether --enable-help or --disable-help was given.
4362 if test "${enable_help+set}" = set; then
4363 enableval
="$enable_help"
4365 if test "$enableval" = yes; then
4366 ac_cv_use_help
='wxUSE_HELP=yes'
4368 ac_cv_use_help
='wxUSE_HELP=no'
4373 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4374 if test "x$LINE" != x
; then
4375 eval "DEFAULT_$LINE"
4380 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4385 eval "$ac_cv_use_help"
4386 if test "$no_cache" != 1; then
4387 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4390 if test "$wxUSE_HELP" = yes; then
4391 echo "$ac_t""yes" 1>&6
4393 echo "$ac_t""no" 1>&6
4397 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4398 echo "configure:4399: checking for --enable-mshtmlhelp" >&5
4400 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4401 if test "${enable_mshtmlhelp+set}" = set; then
4402 enableval
="$enable_mshtmlhelp"
4404 if test "$enableval" = yes; then
4405 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4407 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4412 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4413 if test "x$LINE" != x
; then
4414 eval "DEFAULT_$LINE"
4419 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4424 eval "$ac_cv_use_mshtmlhelp"
4425 if test "$no_cache" != 1; then
4426 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4429 if test "$wxUSE_MS_HTML_HELP" = yes; then
4430 echo "$ac_t""yes" 1>&6
4432 echo "$ac_t""no" 1>&6
4436 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4437 echo "configure:4438: checking for --enable-html" >&5
4439 # Check whether --enable-html or --disable-html was given.
4440 if test "${enable_html+set}" = set; then
4441 enableval
="$enable_html"
4443 if test "$enableval" = yes; then
4444 ac_cv_use_html
='wxUSE_HTML=yes'
4446 ac_cv_use_html
='wxUSE_HTML=no'
4451 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4452 if test "x$LINE" != x
; then
4453 eval "DEFAULT_$LINE"
4458 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4463 eval "$ac_cv_use_html"
4464 if test "$no_cache" != 1; then
4465 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4468 if test "$wxUSE_HTML" = yes; then
4469 echo "$ac_t""yes" 1>&6
4471 echo "$ac_t""no" 1>&6
4475 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4476 echo "configure:4477: checking for --enable-htmlhelp" >&5
4478 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4479 if test "${enable_htmlhelp+set}" = set; then
4480 enableval
="$enable_htmlhelp"
4482 if test "$enableval" = yes; then
4483 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4485 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4490 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x
; then
4492 eval "DEFAULT_$LINE"
4497 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4502 eval "$ac_cv_use_htmlhelp"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4507 if test "$wxUSE_WXHTML_HELP" = yes; then
4508 echo "$ac_t""yes" 1>&6
4510 echo "$ac_t""no" 1>&6
4514 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4515 echo "configure:4516: checking for --enable-constraints" >&5
4517 # Check whether --enable-constraints or --disable-constraints was given.
4518 if test "${enable_constraints+set}" = set; then
4519 enableval
="$enable_constraints"
4521 if test "$enableval" = yes; then
4522 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4524 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4529 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4530 if test "x$LINE" != x
; then
4531 eval "DEFAULT_$LINE"
4536 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4541 eval "$ac_cv_use_constraints"
4542 if test "$no_cache" != 1; then
4543 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4546 if test "$wxUSE_CONSTRAINTS" = yes; then
4547 echo "$ac_t""yes" 1>&6
4549 echo "$ac_t""no" 1>&6
4553 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4554 echo "configure:4555: checking for --enable-printarch" >&5
4556 # Check whether --enable-printarch or --disable-printarch was given.
4557 if test "${enable_printarch+set}" = set; then
4558 enableval
="$enable_printarch"
4560 if test "$enableval" = yes; then
4561 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4563 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4568 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x
; then
4570 eval "DEFAULT_$LINE"
4575 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4580 eval "$ac_cv_use_printarch"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4585 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4586 echo "$ac_t""yes" 1>&6
4588 echo "$ac_t""no" 1>&6
4592 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4593 echo "configure:4594: checking for --enable-mdi" >&5
4595 # Check whether --enable-mdi or --disable-mdi was given.
4596 if test "${enable_mdi+set}" = set; then
4597 enableval
="$enable_mdi"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4602 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4607 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4619 eval "$ac_cv_use_mdi"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4625 echo "$ac_t""yes" 1>&6
4627 echo "$ac_t""no" 1>&6
4631 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4632 echo "configure:4633: checking for --enable-loggui" >&5
4634 # Check whether --enable-loggui or --disable-loggui was given.
4635 if test "${enable_loggui+set}" = set; then
4636 enableval
="$enable_loggui"
4638 if test "$enableval" = yes; then
4639 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4641 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4646 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4647 if test "x$LINE" != x
; then
4648 eval "DEFAULT_$LINE"
4653 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4658 eval "$ac_cv_use_loggui"
4659 if test "$no_cache" != 1; then
4660 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4663 if test "$wxUSE_LOGGUI" = yes; then
4664 echo "$ac_t""yes" 1>&6
4666 echo "$ac_t""no" 1>&6
4670 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4671 echo "configure:4672: checking for --enable-logwin" >&5
4673 # Check whether --enable-logwin or --disable-logwin was given.
4674 if test "${enable_logwin+set}" = set; then
4675 enableval
="$enable_logwin"
4677 if test "$enableval" = yes; then
4678 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4680 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4685 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4686 if test "x$LINE" != x
; then
4687 eval "DEFAULT_$LINE"
4692 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4697 eval "$ac_cv_use_logwin"
4698 if test "$no_cache" != 1; then
4699 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4702 if test "$wxUSE_LOGWINDOW" = yes; then
4703 echo "$ac_t""yes" 1>&6
4705 echo "$ac_t""no" 1>&6
4710 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4711 echo "configure:4712: checking for --enable-postscript" >&5
4713 # Check whether --enable-postscript or --disable-postscript was given.
4714 if test "${enable_postscript+set}" = set; then
4715 enableval
="$enable_postscript"
4717 if test "$enableval" = yes; then
4718 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4720 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4725 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4726 if test "x$LINE" != x
; then
4727 eval "DEFAULT_$LINE"
4732 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4737 eval "$ac_cv_use_postscript"
4738 if test "$no_cache" != 1; then
4739 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4742 if test "$wxUSE_POSTSCRIPT" = yes; then
4743 echo "$ac_t""yes" 1>&6
4745 echo "$ac_t""no" 1>&6
4752 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4753 echo "configure:4754: checking for --enable-prologio" >&5
4755 # Check whether --enable-prologio or --disable-prologio was given.
4756 if test "${enable_prologio+set}" = set; then
4757 enableval
="$enable_prologio"
4759 if test "$enableval" = yes; then
4760 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4762 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4767 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4768 if test "x$LINE" != x
; then
4769 eval "DEFAULT_$LINE"
4774 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4779 eval "$ac_cv_use_prologio"
4780 if test "$no_cache" != 1; then
4781 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4784 if test "$wxUSE_PROLOGIO" = yes; then
4785 echo "$ac_t""yes" 1>&6
4787 echo "$ac_t""no" 1>&6
4791 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4792 echo "configure:4793: checking for --enable-resources" >&5
4794 # Check whether --enable-resources or --disable-resources was given.
4795 if test "${enable_resources+set}" = set; then
4796 enableval
="$enable_resources"
4798 if test "$enableval" = yes; then
4799 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4801 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4806 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4807 if test "x$LINE" != x
; then
4808 eval "DEFAULT_$LINE"
4813 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4818 eval "$ac_cv_use_resources"
4819 if test "$no_cache" != 1; then
4820 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4823 if test "$wxUSE_RESOURCES" = yes; then
4824 echo "$ac_t""yes" 1>&6
4826 echo "$ac_t""no" 1>&6
4831 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4832 echo "configure:4833: checking for --enable-xresources" >&5
4834 # Check whether --enable-xresources or --disable-xresources was given.
4835 if test "${enable_xresources+set}" = set; then
4836 enableval
="$enable_xresources"
4838 if test "$enableval" = yes; then
4839 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4841 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4846 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4853 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4858 eval "$ac_cv_use_xresources"
4859 if test "$no_cache" != 1; then
4860 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4863 if test "$wxUSE_X_RESOURCES" = yes; then
4864 echo "$ac_t""yes" 1>&6
4866 echo "$ac_t""no" 1>&6
4872 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4873 echo "configure:4874: checking for --enable-clipboard" >&5
4875 # Check whether --enable-clipboard or --disable-clipboard was given.
4876 if test "${enable_clipboard+set}" = set; then
4877 enableval
="$enable_clipboard"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4882 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4887 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4899 eval "$ac_cv_use_clipboard"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_CLIPBOARD" = yes; then
4905 echo "$ac_t""yes" 1>&6
4907 echo "$ac_t""no" 1>&6
4911 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4912 echo "configure:4913: checking for --enable-dnd" >&5
4914 # Check whether --enable-dnd or --disable-dnd was given.
4915 if test "${enable_dnd+set}" = set; then
4916 enableval
="$enable_dnd"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4921 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4926 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4938 eval "$ac_cv_use_dnd"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4944 echo "$ac_t""yes" 1>&6
4946 echo "$ac_t""no" 1>&6
4950 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4951 echo "configure:4952: checking for --enable-metafile" >&5
4953 # Check whether --enable-metafile or --disable-metafile was given.
4954 if test "${enable_metafile+set}" = set; then
4955 enableval
="$enable_metafile"
4957 if test "$enableval" = yes; then
4958 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4960 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4965 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x
; then
4967 eval "DEFAULT_$LINE"
4972 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4977 eval "$ac_cv_use_metafile"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4982 if test "$wxUSE_METAFILE" = yes; then
4983 echo "$ac_t""yes" 1>&6
4985 echo "$ac_t""no" 1>&6
4990 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
4991 echo "configure:4992: checking for --enable-treelayout" >&5
4993 # Check whether --enable-treelayout or --disable-treelayout was given.
4994 if test "${enable_treelayout+set}" = set; then
4995 enableval
="$enable_treelayout"
4997 if test "$enableval" = yes; then
4998 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5000 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5005 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x
; then
5007 eval "DEFAULT_$LINE"
5012 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5017 eval "$ac_cv_use_treelayout"
5018 if test "$no_cache" != 1; then
5019 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5022 if test "$wxUSE_TREELAYOUT" = yes; then
5023 echo "$ac_t""yes" 1>&6
5025 echo "$ac_t""no" 1>&6
5031 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5032 echo "configure:5033: checking for --enable-controls" >&5
5034 # Check whether --enable-controls or --disable-controls was given.
5035 if test "${enable_controls+set}" = set; then
5036 enableval
="$enable_controls"
5038 if test "$enableval" = yes; then
5039 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5041 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5046 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x
; then
5048 eval "DEFAULT_$LINE"
5053 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5058 eval "$ac_cv_use_controls"
5059 if test "$no_cache" != 1; then
5060 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5063 if test "$wxUSE_CONTROLS" = yes; then
5064 echo "$ac_t""yes" 1>&6
5066 echo "$ac_t""no" 1>&6
5070 if test "$wxUSE_CONTROLS" = "yes"; then
5071 DEFAULT_wxUSE_ACCEL
=yes
5072 DEFAULT_wxUSE_BMPBUTTON
=yes
5073 DEFAULT_wxUSE_BUTTON
=yes
5074 DEFAULT_wxUSE_CALCTRL
=no
5075 DEFAULT_wxUSE_CARET
=yes
5076 DEFAULT_wxUSE_COMBOBOX
=yes
5077 DEFAULT_wxUSE_CHECKBOX
=yes
5078 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5079 DEFAULT_wxUSE_CHOICE
=yes
5080 DEFAULT_wxUSE_GAUGE
=yes
5081 DEFAULT_wxUSE_GRID
=yes
5082 DEFAULT_wxUSE_NEW_GRID
=yes
5083 DEFAULT_wxUSE_IMAGLIST
=yes
5084 DEFAULT_wxUSE_LISTBOX
=yes
5085 DEFAULT_wxUSE_LISTCTRL
=yes
5086 DEFAULT_wxUSE_NOTEBOOK
=yes
5087 DEFAULT_wxUSE_PROPSHEET
=yes
5088 DEFAULT_wxUSE_RADIOBOX
=yes
5089 DEFAULT_wxUSE_RADIOBTN
=yes
5090 DEFAULT_wxUSE_SASH
=yes
5091 DEFAULT_wxUSE_SCROLLBAR
=yes
5092 DEFAULT_wxUSE_SLIDER
=yes
5093 DEFAULT_wxUSE_SPINBTN
=yes
5094 DEFAULT_wxUSE_SPINCTRL
=yes
5095 DEFAULT_wxUSE_SPLITTER
=yes
5096 DEFAULT_wxUSE_STATBMP
=yes
5097 DEFAULT_wxUSE_STATBOX
=yes
5098 DEFAULT_wxUSE_STATLINE
=yes
5099 DEFAULT_wxUSE_STATUSBAR
=yes
5100 DEFAULT_wxUSE_TAB_DIALOG
=yes
5101 DEFAULT_wxUSE_TOGGLEBTN
=yes
5102 DEFAULT_wxUSE_TOOLBAR
=yes
5103 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5104 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5105 DEFAULT_wxUSE_TOOLTIPS
=yes
5106 DEFAULT_wxUSE_TREECTRL
=yes
5107 DEFAULT_wxUSE_POPUPWIN
=yes
5108 elif test "$wxUSE_CONTROLS" = "no"; then
5109 DEFAULT_wxUSE_ACCEL
=no
5110 DEFAULT_wxUSE_BMPBUTTON
=no
5111 DEFAULT_wxUSE_BUTTON
=no
5112 DEFAULT_wxUSE_CALCTRL
=no
5113 DEFAULT_wxUSE_CARET
=no
5114 DEFAULT_wxUSE_COMBOBOX
=no
5115 DEFAULT_wxUSE_CHECKBOX
=no
5116 DEFAULT_wxUSE_CHECKLISTBOX
=no
5117 DEFAULT_wxUSE_CHOICE
=no
5118 DEFAULT_wxUSE_GAUGE
=no
5119 DEFAULT_wxUSE_GRID
=no
5120 DEFAULT_wxUSE_NEW_GRID
=no
5121 DEFAULT_wxUSE_IMAGLIST
=no
5122 DEFAULT_wxUSE_LISTBOX
=no
5123 DEFAULT_wxUSE_LISTCTRL
=no
5124 DEFAULT_wxUSE_NOTEBOOK
=no
5125 DEFAULT_wxUSE_PROPSHEET
=no
5126 DEFAULT_wxUSE_RADIOBOX
=no
5127 DEFAULT_wxUSE_RADIOBTN
=no
5128 DEFAULT_wxUSE_SASH
=no
5129 DEFAULT_wxUSE_SCROLLBAR
=no
5130 DEFAULT_wxUSE_SLIDER
=no
5131 DEFAULT_wxUSE_SPINBTN
=no
5132 DEFAULT_wxUSE_SPINCTRL
=no
5133 DEFAULT_wxUSE_SPLITTER
=no
5134 DEFAULT_wxUSE_STATBMP
=no
5135 DEFAULT_wxUSE_STATBOX
=no
5136 DEFAULT_wxUSE_STATLINE
=no
5137 DEFAULT_wxUSE_STATUSBAR
=no
5138 DEFAULT_wxUSE_TAB_DIALOG
=no
5139 DEFAULT_wxUSE_TOGGLEBTN
=no
5140 DEFAULT_wxUSE_TOOLBAR
=no
5141 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5142 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5143 DEFAULT_wxUSE_TOOLTIPS
=no
5144 DEFAULT_wxUSE_TREECTRL
=no
5145 DEFAULT_wxUSE_POPUPWIN
=no
5149 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5150 echo "configure:5151: checking for --enable-accel" >&5
5152 # Check whether --enable-accel or --disable-accel was given.
5153 if test "${enable_accel+set}" = set; then
5154 enableval
="$enable_accel"
5156 if test "$enableval" = yes; then
5157 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5159 ac_cv_use_accel
='wxUSE_ACCEL=no'
5164 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5165 if test "x$LINE" != x
; then
5166 eval "DEFAULT_$LINE"
5171 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5176 eval "$ac_cv_use_accel"
5177 if test "$no_cache" != 1; then
5178 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5181 if test "$wxUSE_ACCEL" = yes; then
5182 echo "$ac_t""yes" 1>&6
5184 echo "$ac_t""no" 1>&6
5188 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5189 echo "configure:5190: checking for --enable-button" >&5
5191 # Check whether --enable-button or --disable-button was given.
5192 if test "${enable_button+set}" = set; then
5193 enableval
="$enable_button"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_button
='wxUSE_BUTTON=yes'
5198 ac_cv_use_button
='wxUSE_BUTTON=no'
5203 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5215 eval "$ac_cv_use_button"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_BUTTON" = yes; then
5221 echo "$ac_t""yes" 1>&6
5223 echo "$ac_t""no" 1>&6
5227 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5228 echo "configure:5229: checking for --enable-bmpbutton" >&5
5230 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5231 if test "${enable_bmpbutton+set}" = set; then
5232 enableval
="$enable_bmpbutton"
5234 if test "$enableval" = yes; then
5235 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5237 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5242 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5243 if test "x$LINE" != x
; then
5244 eval "DEFAULT_$LINE"
5249 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5254 eval "$ac_cv_use_bmpbutton"
5255 if test "$no_cache" != 1; then
5256 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5259 if test "$wxUSE_BMPBUTTON" = yes; then
5260 echo "$ac_t""yes" 1>&6
5262 echo "$ac_t""no" 1>&6
5266 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5267 echo "configure:5268: checking for --enable-calendar" >&5
5269 # Check whether --enable-calendar or --disable-calendar was given.
5270 if test "${enable_calendar+set}" = set; then
5271 enableval
="$enable_calendar"
5273 if test "$enableval" = yes; then
5274 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5276 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5281 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5282 if test "x$LINE" != x
; then
5283 eval "DEFAULT_$LINE"
5288 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5293 eval "$ac_cv_use_calendar"
5294 if test "$no_cache" != 1; then
5295 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5298 if test "$wxUSE_CALCTRL" = yes; then
5299 echo "$ac_t""yes" 1>&6
5301 echo "$ac_t""no" 1>&6
5305 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5306 echo "configure:5307: checking for --enable-caret" >&5
5308 # Check whether --enable-caret or --disable-caret was given.
5309 if test "${enable_caret+set}" = set; then
5310 enableval
="$enable_caret"
5312 if test "$enableval" = yes; then
5313 ac_cv_use_caret
='wxUSE_CARET=yes'
5315 ac_cv_use_caret
='wxUSE_CARET=no'
5320 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5321 if test "x$LINE" != x
; then
5322 eval "DEFAULT_$LINE"
5327 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5332 eval "$ac_cv_use_caret"
5333 if test "$no_cache" != 1; then
5334 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5337 if test "$wxUSE_CARET" = yes; then
5338 echo "$ac_t""yes" 1>&6
5340 echo "$ac_t""no" 1>&6
5344 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5345 echo "configure:5346: checking for --enable-checkbox" >&5
5347 # Check whether --enable-checkbox or --disable-checkbox was given.
5348 if test "${enable_checkbox+set}" = set; then
5349 enableval
="$enable_checkbox"
5351 if test "$enableval" = yes; then
5352 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5354 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5359 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5360 if test "x$LINE" != x
; then
5361 eval "DEFAULT_$LINE"
5366 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5371 eval "$ac_cv_use_checkbox"
5372 if test "$no_cache" != 1; then
5373 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5376 if test "$wxUSE_CHECKBOX" = yes; then
5377 echo "$ac_t""yes" 1>&6
5379 echo "$ac_t""no" 1>&6
5383 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5384 echo "configure:5385: checking for --enable-checklst" >&5
5386 # Check whether --enable-checklst or --disable-checklst was given.
5387 if test "${enable_checklst+set}" = set; then
5388 enableval
="$enable_checklst"
5390 if test "$enableval" = yes; then
5391 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5393 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5398 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x
; then
5400 eval "DEFAULT_$LINE"
5405 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5410 eval "$ac_cv_use_checklst"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5415 if test "$wxUSE_CHECKLST" = yes; then
5416 echo "$ac_t""yes" 1>&6
5418 echo "$ac_t""no" 1>&6
5422 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5423 echo "configure:5424: checking for --enable-choice" >&5
5425 # Check whether --enable-choice or --disable-choice was given.
5426 if test "${enable_choice+set}" = set; then
5427 enableval
="$enable_choice"
5429 if test "$enableval" = yes; then
5430 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5432 ac_cv_use_choice
='wxUSE_CHOICE=no'
5437 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5438 if test "x$LINE" != x
; then
5439 eval "DEFAULT_$LINE"
5444 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5449 eval "$ac_cv_use_choice"
5450 if test "$no_cache" != 1; then
5451 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5454 if test "$wxUSE_CHOICE" = yes; then
5455 echo "$ac_t""yes" 1>&6
5457 echo "$ac_t""no" 1>&6
5461 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5462 echo "configure:5463: checking for --enable-combobox" >&5
5464 # Check whether --enable-combobox or --disable-combobox was given.
5465 if test "${enable_combobox+set}" = set; then
5466 enableval
="$enable_combobox"
5468 if test "$enableval" = yes; then
5469 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5471 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5476 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x
; then
5478 eval "DEFAULT_$LINE"
5483 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5488 eval "$ac_cv_use_combobox"
5489 if test "$no_cache" != 1; then
5490 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5493 if test "$wxUSE_COMBOBOX" = yes; then
5494 echo "$ac_t""yes" 1>&6
5496 echo "$ac_t""no" 1>&6
5500 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5501 echo "configure:5502: checking for --enable-gauge" >&5
5503 # Check whether --enable-gauge or --disable-gauge was given.
5504 if test "${enable_gauge+set}" = set; then
5505 enableval
="$enable_gauge"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5510 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5515 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5527 eval "$ac_cv_use_gauge"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_GAUGE" = yes; then
5533 echo "$ac_t""yes" 1>&6
5535 echo "$ac_t""no" 1>&6
5539 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5540 echo "configure:5541: checking for --enable-grid" >&5
5542 # Check whether --enable-grid or --disable-grid was given.
5543 if test "${enable_grid+set}" = set; then
5544 enableval
="$enable_grid"
5546 if test "$enableval" = yes; then
5547 ac_cv_use_grid
='wxUSE_GRID=yes'
5549 ac_cv_use_grid
='wxUSE_GRID=no'
5554 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x
; then
5556 eval "DEFAULT_$LINE"
5561 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5566 eval "$ac_cv_use_grid"
5567 if test "$no_cache" != 1; then
5568 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5571 if test "$wxUSE_GRID" = yes; then
5572 echo "$ac_t""yes" 1>&6
5574 echo "$ac_t""no" 1>&6
5578 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5579 echo "configure:5580: checking for --enable-newgrid" >&5
5581 # Check whether --enable-newgrid or --disable-newgrid was given.
5582 if test "${enable_newgrid+set}" = set; then
5583 enableval
="$enable_newgrid"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5588 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5593 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5605 eval "$ac_cv_use_newgrid"
5606 if test "$no_cache" != 1; then
5607 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5610 if test "$wxUSE_NEW_GRID" = yes; then
5611 echo "$ac_t""yes" 1>&6
5613 echo "$ac_t""no" 1>&6
5617 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5618 echo "configure:5619: checking for --enable-imaglist" >&5
5620 # Check whether --enable-imaglist or --disable-imaglist was given.
5621 if test "${enable_imaglist+set}" = set; then
5622 enableval
="$enable_imaglist"
5624 if test "$enableval" = yes; then
5625 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5627 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5632 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5633 if test "x$LINE" != x
; then
5634 eval "DEFAULT_$LINE"
5639 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5644 eval "$ac_cv_use_imaglist"
5645 if test "$no_cache" != 1; then
5646 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5649 if test "$wxUSE_IMAGLIST" = yes; then
5650 echo "$ac_t""yes" 1>&6
5652 echo "$ac_t""no" 1>&6
5656 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5657 echo "configure:5658: checking for --enable-listbox" >&5
5659 # Check whether --enable-listbox or --disable-listbox was given.
5660 if test "${enable_listbox+set}" = set; then
5661 enableval
="$enable_listbox"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5666 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5671 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x
; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5683 eval "$ac_cv_use_listbox"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_LISTBOX" = yes; then
5689 echo "$ac_t""yes" 1>&6
5691 echo "$ac_t""no" 1>&6
5695 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5696 echo "configure:5697: checking for --enable-listctrl" >&5
5698 # Check whether --enable-listctrl or --disable-listctrl was given.
5699 if test "${enable_listctrl+set}" = set; then
5700 enableval
="$enable_listctrl"
5702 if test "$enableval" = yes; then
5703 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5705 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5710 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5711 if test "x$LINE" != x
; then
5712 eval "DEFAULT_$LINE"
5717 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5722 eval "$ac_cv_use_listctrl"
5723 if test "$no_cache" != 1; then
5724 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5727 if test "$wxUSE_LISTCTRL" = yes; then
5728 echo "$ac_t""yes" 1>&6
5730 echo "$ac_t""no" 1>&6
5734 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5735 echo "configure:5736: checking for --enable-notebook" >&5
5737 # Check whether --enable-notebook or --disable-notebook was given.
5738 if test "${enable_notebook+set}" = set; then
5739 enableval
="$enable_notebook"
5741 if test "$enableval" = yes; then
5742 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5744 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5749 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5750 if test "x$LINE" != x
; then
5751 eval "DEFAULT_$LINE"
5756 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5761 eval "$ac_cv_use_notebook"
5762 if test "$no_cache" != 1; then
5763 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5766 if test "$wxUSE_NOTEBOOK" = yes; then
5767 echo "$ac_t""yes" 1>&6
5769 echo "$ac_t""no" 1>&6
5773 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
5774 echo "configure:5775: checking for --enable-propsheet" >&5
5776 # Check whether --enable-propsheet or --disable-propsheet was given.
5777 if test "${enable_propsheet+set}" = set; then
5778 enableval
="$enable_propsheet"
5780 if test "$enableval" = yes; then
5781 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
5783 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
5788 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
5789 if test "x$LINE" != x
; then
5790 eval "DEFAULT_$LINE"
5795 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
5800 eval "$ac_cv_use_propsheet"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
5805 if test "$wxUSE_PROPSHEET" = yes; then
5806 echo "$ac_t""yes" 1>&6
5808 echo "$ac_t""no" 1>&6
5812 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5813 echo "configure:5814: checking for --enable-radiobox" >&5
5815 # Check whether --enable-radiobox or --disable-radiobox was given.
5816 if test "${enable_radiobox+set}" = set; then
5817 enableval
="$enable_radiobox"
5819 if test "$enableval" = yes; then
5820 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5822 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5827 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x
; then
5829 eval "DEFAULT_$LINE"
5834 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5839 eval "$ac_cv_use_radiobox"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5844 if test "$wxUSE_RADIOBOX" = yes; then
5845 echo "$ac_t""yes" 1>&6
5847 echo "$ac_t""no" 1>&6
5851 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5852 echo "configure:5853: checking for --enable-radiobtn" >&5
5854 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5855 if test "${enable_radiobtn+set}" = set; then
5856 enableval
="$enable_radiobtn"
5858 if test "$enableval" = yes; then
5859 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5861 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5866 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x
; then
5868 eval "DEFAULT_$LINE"
5873 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5878 eval "$ac_cv_use_radiobtn"
5879 if test "$no_cache" != 1; then
5880 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5883 if test "$wxUSE_RADIOBTN" = yes; then
5884 echo "$ac_t""yes" 1>&6
5886 echo "$ac_t""no" 1>&6
5890 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5891 echo "configure:5892: checking for --enable-sash" >&5
5893 # Check whether --enable-sash or --disable-sash was given.
5894 if test "${enable_sash+set}" = set; then
5895 enableval
="$enable_sash"
5897 if test "$enableval" = yes; then
5898 ac_cv_use_sash
='wxUSE_SASH=yes'
5900 ac_cv_use_sash
='wxUSE_SASH=no'
5905 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5906 if test "x$LINE" != x
; then
5907 eval "DEFAULT_$LINE"
5912 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5917 eval "$ac_cv_use_sash"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_SASH" = yes; then
5923 echo "$ac_t""yes" 1>&6
5925 echo "$ac_t""no" 1>&6
5929 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5930 echo "configure:5931: checking for --enable-scrollbar" >&5
5932 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5933 if test "${enable_scrollbar+set}" = set; then
5934 enableval
="$enable_scrollbar"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5939 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5944 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5956 eval "$ac_cv_use_scrollbar"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_SCROLLBAR" = yes; then
5962 echo "$ac_t""yes" 1>&6
5964 echo "$ac_t""no" 1>&6
5968 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5969 echo "configure:5970: checking for --enable-slider" >&5
5971 # Check whether --enable-slider or --disable-slider was given.
5972 if test "${enable_slider+set}" = set; then
5973 enableval
="$enable_slider"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5978 ac_cv_use_slider
='wxUSE_SLIDER=no'
5983 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5995 eval "$ac_cv_use_slider"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_SLIDER" = yes; then
6001 echo "$ac_t""yes" 1>&6
6003 echo "$ac_t""no" 1>&6
6007 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6008 echo "configure:6009: checking for --enable-spinbtn" >&5
6010 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6011 if test "${enable_spinbtn+set}" = set; then
6012 enableval
="$enable_spinbtn"
6014 if test "$enableval" = yes; then
6015 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6017 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6022 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6023 if test "x$LINE" != x
; then
6024 eval "DEFAULT_$LINE"
6029 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6034 eval "$ac_cv_use_spinbtn"
6035 if test "$no_cache" != 1; then
6036 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6039 if test "$wxUSE_SPINBTN" = yes; then
6040 echo "$ac_t""yes" 1>&6
6042 echo "$ac_t""no" 1>&6
6046 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6047 echo "configure:6048: checking for --enable-spinctrl" >&5
6049 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6050 if test "${enable_spinctrl+set}" = set; then
6051 enableval
="$enable_spinctrl"
6053 if test "$enableval" = yes; then
6054 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6056 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6061 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6062 if test "x$LINE" != x
; then
6063 eval "DEFAULT_$LINE"
6068 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6073 eval "$ac_cv_use_spinctrl"
6074 if test "$no_cache" != 1; then
6075 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6078 if test "$wxUSE_SPINCTRL" = yes; then
6079 echo "$ac_t""yes" 1>&6
6081 echo "$ac_t""no" 1>&6
6085 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6086 echo "configure:6087: checking for --enable-splitter" >&5
6088 # Check whether --enable-splitter or --disable-splitter was given.
6089 if test "${enable_splitter+set}" = set; then
6090 enableval
="$enable_splitter"
6092 if test "$enableval" = yes; then
6093 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6095 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6100 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6101 if test "x$LINE" != x
; then
6102 eval "DEFAULT_$LINE"
6107 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6112 eval "$ac_cv_use_splitter"
6113 if test "$no_cache" != 1; then
6114 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6117 if test "$wxUSE_SPLITTER" = yes; then
6118 echo "$ac_t""yes" 1>&6
6120 echo "$ac_t""no" 1>&6
6124 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6125 echo "configure:6126: checking for --enable-statbmp" >&5
6127 # Check whether --enable-statbmp or --disable-statbmp was given.
6128 if test "${enable_statbmp+set}" = set; then
6129 enableval
="$enable_statbmp"
6131 if test "$enableval" = yes; then
6132 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6134 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6139 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x
; then
6141 eval "DEFAULT_$LINE"
6146 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6151 eval "$ac_cv_use_statbmp"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6156 if test "$wxUSE_STATBMP" = yes; then
6157 echo "$ac_t""yes" 1>&6
6159 echo "$ac_t""no" 1>&6
6163 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6164 echo "configure:6165: checking for --enable-statbox" >&5
6166 # Check whether --enable-statbox or --disable-statbox was given.
6167 if test "${enable_statbox+set}" = set; then
6168 enableval
="$enable_statbox"
6170 if test "$enableval" = yes; then
6171 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6173 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6178 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6179 if test "x$LINE" != x
; then
6180 eval "DEFAULT_$LINE"
6185 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6190 eval "$ac_cv_use_statbox"
6191 if test "$no_cache" != 1; then
6192 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6195 if test "$wxUSE_STATBOX" = yes; then
6196 echo "$ac_t""yes" 1>&6
6198 echo "$ac_t""no" 1>&6
6202 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6203 echo "configure:6204: checking for --enable-statline" >&5
6205 # Check whether --enable-statline or --disable-statline was given.
6206 if test "${enable_statline+set}" = set; then
6207 enableval
="$enable_statline"
6209 if test "$enableval" = yes; then
6210 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6212 ac_cv_use_statline
='wxUSE_STATLINE=no'
6217 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6218 if test "x$LINE" != x
; then
6219 eval "DEFAULT_$LINE"
6224 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6229 eval "$ac_cv_use_statline"
6230 if test "$no_cache" != 1; then
6231 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6234 if test "$wxUSE_STATLINE" = yes; then
6235 echo "$ac_t""yes" 1>&6
6237 echo "$ac_t""no" 1>&6
6241 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6242 echo "configure:6243: checking for --enable-stattext" >&5
6244 # Check whether --enable-stattext or --disable-stattext was given.
6245 if test "${enable_stattext+set}" = set; then
6246 enableval
="$enable_stattext"
6248 if test "$enableval" = yes; then
6249 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6251 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6256 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x
; then
6258 eval "DEFAULT_$LINE"
6263 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6268 eval "$ac_cv_use_stattext"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6273 if test "$wxUSE_STATTEXT" = yes; then
6274 echo "$ac_t""yes" 1>&6
6276 echo "$ac_t""no" 1>&6
6280 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6281 echo "configure:6282: checking for --enable-statusbar" >&5
6283 # Check whether --enable-statusbar or --disable-statusbar was given.
6284 if test "${enable_statusbar+set}" = set; then
6285 enableval
="$enable_statusbar"
6287 if test "$enableval" = yes; then
6288 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6290 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6295 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x
; then
6297 eval "DEFAULT_$LINE"
6302 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6307 eval "$ac_cv_use_statusbar"
6308 if test "$no_cache" != 1; then
6309 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6312 if test "$wxUSE_STATUSBAR" = yes; then
6313 echo "$ac_t""yes" 1>&6
6315 echo "$ac_t""no" 1>&6
6319 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6320 echo "configure:6321: checking for --enable-tabdialog" >&5
6322 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6323 if test "${enable_tabdialog+set}" = set; then
6324 enableval
="$enable_tabdialog"
6326 if test "$enableval" = yes; then
6327 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6329 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6334 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x
; then
6336 eval "DEFAULT_$LINE"
6341 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6346 eval "$ac_cv_use_tabdialog"
6347 if test "$no_cache" != 1; then
6348 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6351 if test "$wxUSE_TABDIALOG" = yes; then
6352 echo "$ac_t""yes" 1>&6
6354 echo "$ac_t""no" 1>&6
6358 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6359 echo "configure:6360: checking for --enable-textctrl" >&5
6361 # Check whether --enable-textctrl or --disable-textctrl was given.
6362 if test "${enable_textctrl+set}" = set; then
6363 enableval
="$enable_textctrl"
6365 if test "$enableval" = yes; then
6366 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6368 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6373 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6374 if test "x$LINE" != x
; then
6375 eval "DEFAULT_$LINE"
6380 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6385 eval "$ac_cv_use_textctrl"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6390 if test "$wxUSE_TEXTCTRL" = yes; then
6391 echo "$ac_t""yes" 1>&6
6393 echo "$ac_t""no" 1>&6
6397 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6398 echo "configure:6399: checking for --enable-togglebtn" >&5
6400 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6401 if test "${enable_togglebtn+set}" = set; then
6402 enableval
="$enable_togglebtn"
6404 if test "$enableval" = yes; then
6405 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6407 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6412 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6413 if test "x$LINE" != x
; then
6414 eval "DEFAULT_$LINE"
6419 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6424 eval "$ac_cv_use_togglebtn"
6425 if test "$no_cache" != 1; then
6426 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6429 if test "$wxUSE_TOGGLEBTN" = yes; then
6430 echo "$ac_t""yes" 1>&6
6432 echo "$ac_t""no" 1>&6
6436 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6437 echo "configure:6438: checking for --enable-toolbar" >&5
6439 # Check whether --enable-toolbar or --disable-toolbar was given.
6440 if test "${enable_toolbar+set}" = set; then
6441 enableval
="$enable_toolbar"
6443 if test "$enableval" = yes; then
6444 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6446 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6451 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6452 if test "x$LINE" != x
; then
6453 eval "DEFAULT_$LINE"
6458 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6463 eval "$ac_cv_use_toolbar"
6464 if test "$no_cache" != 1; then
6465 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6468 if test "$wxUSE_TOOLBAR" = yes; then
6469 echo "$ac_t""yes" 1>&6
6471 echo "$ac_t""no" 1>&6
6475 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6476 echo "configure:6477: checking for --enable-tbarnative" >&5
6478 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6479 if test "${enable_tbarnative+set}" = set; then
6480 enableval
="$enable_tbarnative"
6482 if test "$enableval" = yes; then
6483 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6485 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6490 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6491 if test "x$LINE" != x
; then
6492 eval "DEFAULT_$LINE"
6497 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6502 eval "$ac_cv_use_tbarnative"
6503 if test "$no_cache" != 1; then
6504 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6507 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6508 echo "$ac_t""yes" 1>&6
6510 echo "$ac_t""no" 1>&6
6514 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6515 echo "configure:6516: checking for --enable-tbarsmpl" >&5
6517 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6518 if test "${enable_tbarsmpl+set}" = set; then
6519 enableval
="$enable_tbarsmpl"
6521 if test "$enableval" = yes; then
6522 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6524 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6529 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6530 if test "x$LINE" != x
; then
6531 eval "DEFAULT_$LINE"
6536 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6541 eval "$ac_cv_use_tbarsmpl"
6542 if test "$no_cache" != 1; then
6543 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6546 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6547 echo "$ac_t""yes" 1>&6
6549 echo "$ac_t""no" 1>&6
6553 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6554 echo "configure:6555: checking for --enable-treectrl" >&5
6556 # Check whether --enable-treectrl or --disable-treectrl was given.
6557 if test "${enable_treectrl+set}" = set; then
6558 enableval
="$enable_treectrl"
6560 if test "$enableval" = yes; then
6561 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6563 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6568 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x
; then
6570 eval "DEFAULT_$LINE"
6575 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6580 eval "$ac_cv_use_treectrl"
6581 if test "$no_cache" != 1; then
6582 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6585 if test "$wxUSE_TREECTRL" = yes; then
6586 echo "$ac_t""yes" 1>&6
6588 echo "$ac_t""no" 1>&6
6592 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6593 echo "configure:6594: checking for --enable-popupwin" >&5
6595 # Check whether --enable-popupwin or --disable-popupwin was given.
6596 if test "${enable_popupwin+set}" = set; then
6597 enableval
="$enable_popupwin"
6599 if test "$enableval" = yes; then
6600 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6602 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6607 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6608 if test "x$LINE" != x
; then
6609 eval "DEFAULT_$LINE"
6614 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
6619 eval "$ac_cv_use_popupwin"
6620 if test "$no_cache" != 1; then
6621 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
6624 if test "$wxUSE_POPUPWIN" = yes; then
6625 echo "$ac_t""yes" 1>&6
6627 echo "$ac_t""no" 1>&6
6633 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6634 echo "configure:6635: checking for --enable-commondlg" >&5
6636 # Check whether --enable-commondlg or --disable-commondlg was given.
6637 if test "${enable_commondlg+set}" = set; then
6638 enableval
="$enable_commondlg"
6640 if test "$enableval" = yes; then
6641 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6643 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6648 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6649 if test "x$LINE" != x
; then
6650 eval "DEFAULT_$LINE"
6655 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6660 eval "$ac_cv_use_commondlg"
6661 if test "$no_cache" != 1; then
6662 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6665 if test "$wxUSE_COMMONDLGS" = yes; then
6666 echo "$ac_t""yes" 1>&6
6668 echo "$ac_t""no" 1>&6
6672 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6673 echo "configure:6674: checking for --enable-choicedlg" >&5
6675 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6676 if test "${enable_choicedlg+set}" = set; then
6677 enableval
="$enable_choicedlg"
6679 if test "$enableval" = yes; then
6680 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6682 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6687 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x
; then
6689 eval "DEFAULT_$LINE"
6694 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6699 eval "$ac_cv_use_choicedlg"
6700 if test "$no_cache" != 1; then
6701 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6704 if test "$wxUSE_CHOICEDLG" = yes; then
6705 echo "$ac_t""yes" 1>&6
6707 echo "$ac_t""no" 1>&6
6711 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6712 echo "configure:6713: checking for --enable-coldlg" >&5
6714 # Check whether --enable-coldlg or --disable-coldlg was given.
6715 if test "${enable_coldlg+set}" = set; then
6716 enableval
="$enable_coldlg"
6718 if test "$enableval" = yes; then
6719 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6721 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6726 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6727 if test "x$LINE" != x
; then
6728 eval "DEFAULT_$LINE"
6733 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6738 eval "$ac_cv_use_coldlg"
6739 if test "$no_cache" != 1; then
6740 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6743 if test "$wxUSE_COLOURDLG" = yes; then
6744 echo "$ac_t""yes" 1>&6
6746 echo "$ac_t""no" 1>&6
6750 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6751 echo "configure:6752: checking for --enable-filedlg" >&5
6753 # Check whether --enable-filedlg or --disable-filedlg was given.
6754 if test "${enable_filedlg+set}" = set; then
6755 enableval
="$enable_filedlg"
6757 if test "$enableval" = yes; then
6758 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6760 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6765 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6766 if test "x$LINE" != x
; then
6767 eval "DEFAULT_$LINE"
6772 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6777 eval "$ac_cv_use_filedlg"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6782 if test "$wxUSE_FILEDLG" = yes; then
6783 echo "$ac_t""yes" 1>&6
6785 echo "$ac_t""no" 1>&6
6789 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6790 echo "configure:6791: checking for --enable-filedlg" >&5
6792 # Check whether --enable-filedlg or --disable-filedlg was given.
6793 if test "${enable_filedlg+set}" = set; then
6794 enableval
="$enable_filedlg"
6796 if test "$enableval" = yes; then
6797 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=yes'
6799 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG=no'
6804 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
6805 if test "x$LINE" != x
; then
6806 eval "DEFAULT_$LINE"
6811 ac_cv_use_filedlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
6816 eval "$ac_cv_use_filedlg"
6817 if test "$no_cache" != 1; then
6818 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6821 if test "$wxUSE_FINDREPLDLG" = yes; then
6822 echo "$ac_t""yes" 1>&6
6824 echo "$ac_t""no" 1>&6
6828 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6829 echo "configure:6830: checking for --enable-fontdlg" >&5
6831 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6832 if test "${enable_fontdlg+set}" = set; then
6833 enableval
="$enable_fontdlg"
6835 if test "$enableval" = yes; then
6836 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6838 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6843 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x
; then
6845 eval "DEFAULT_$LINE"
6850 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6855 eval "$ac_cv_use_fontdlg"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6860 if test "$wxUSE_FONTDLG" = yes; then
6861 echo "$ac_t""yes" 1>&6
6863 echo "$ac_t""no" 1>&6
6867 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6868 echo "configure:6869: checking for --enable-dirdlg" >&5
6870 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6871 if test "${enable_dirdlg+set}" = set; then
6872 enableval
="$enable_dirdlg"
6874 if test "$enableval" = yes; then
6875 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6877 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6882 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6883 if test "x$LINE" != x
; then
6884 eval "DEFAULT_$LINE"
6889 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6894 eval "$ac_cv_use_dirdlg"
6895 if test "$no_cache" != 1; then
6896 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6899 if test "$wxUSE_DIRDLG" = yes; then
6900 echo "$ac_t""yes" 1>&6
6902 echo "$ac_t""no" 1>&6
6906 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6907 echo "configure:6908: checking for --enable-msgdlg" >&5
6909 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6910 if test "${enable_msgdlg+set}" = set; then
6911 enableval
="$enable_msgdlg"
6913 if test "$enableval" = yes; then
6914 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6916 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6921 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x
; then
6923 eval "DEFAULT_$LINE"
6928 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6933 eval "$ac_cv_use_msgdlg"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6938 if test "$wxUSE_MSGDLG" = yes; then
6939 echo "$ac_t""yes" 1>&6
6941 echo "$ac_t""no" 1>&6
6945 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6946 echo "configure:6947: checking for --enable-numberdlg" >&5
6948 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6949 if test "${enable_numberdlg+set}" = set; then
6950 enableval
="$enable_numberdlg"
6952 if test "$enableval" = yes; then
6953 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6955 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6960 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x
; then
6962 eval "DEFAULT_$LINE"
6967 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6972 eval "$ac_cv_use_numberdlg"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6977 if test "$wxUSE_NUMBERDLG" = yes; then
6978 echo "$ac_t""yes" 1>&6
6980 echo "$ac_t""no" 1>&6
6984 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
6985 echo "configure:6986: checking for --enable-splash" >&5
6987 # Check whether --enable-splash or --disable-splash was given.
6988 if test "${enable_splash+set}" = set; then
6989 enableval
="$enable_splash"
6991 if test "$enableval" = yes; then
6992 ac_cv_use_splash
='wxUSE_SPLASH=yes'
6994 ac_cv_use_splash
='wxUSE_SPLASH=no'
6999 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7000 if test "x$LINE" != x
; then
7001 eval "DEFAULT_$LINE"
7006 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7011 eval "$ac_cv_use_splash"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7016 if test "$wxUSE_SPLASH" = yes; then
7017 echo "$ac_t""yes" 1>&6
7019 echo "$ac_t""no" 1>&6
7023 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7024 echo "configure:7025: checking for --enable-textdlg" >&5
7026 # Check whether --enable-textdlg or --disable-textdlg was given.
7027 if test "${enable_textdlg+set}" = set; then
7028 enableval
="$enable_textdlg"
7030 if test "$enableval" = yes; then
7031 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7033 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7038 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x
; then
7040 eval "DEFAULT_$LINE"
7045 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7050 eval "$ac_cv_use_textdlg"
7051 if test "$no_cache" != 1; then
7052 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7055 if test "$wxUSE_TEXTDLG" = yes; then
7056 echo "$ac_t""yes" 1>&6
7058 echo "$ac_t""no" 1>&6
7062 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7063 echo "configure:7064: checking for --enable-tipdlg" >&5
7065 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7066 if test "${enable_tipdlg+set}" = set; then
7067 enableval
="$enable_tipdlg"
7069 if test "$enableval" = yes; then
7070 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7072 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7077 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7078 if test "x$LINE" != x
; then
7079 eval "DEFAULT_$LINE"
7084 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7089 eval "$ac_cv_use_tipdlg"
7090 if test "$no_cache" != 1; then
7091 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7094 if test "$wxUSE_STARTUP_TIPS" = yes; then
7095 echo "$ac_t""yes" 1>&6
7097 echo "$ac_t""no" 1>&6
7101 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7102 echo "configure:7103: checking for --enable-progressdlg" >&5
7104 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7105 if test "${enable_progressdlg+set}" = set; then
7106 enableval
="$enable_progressdlg"
7108 if test "$enableval" = yes; then
7109 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7111 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7116 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7117 if test "x$LINE" != x
; then
7118 eval "DEFAULT_$LINE"
7123 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7128 eval "$ac_cv_use_progressdlg"
7129 if test "$no_cache" != 1; then
7130 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7133 if test "$wxUSE_PROGRESSDLG" = yes; then
7134 echo "$ac_t""yes" 1>&6
7136 echo "$ac_t""no" 1>&6
7140 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7141 echo "configure:7142: checking for --enable-wizarddlg" >&5
7143 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7144 if test "${enable_wizarddlg+set}" = set; then
7145 enableval
="$enable_wizarddlg"
7147 if test "$enableval" = yes; then
7148 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7150 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7155 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7156 if test "x$LINE" != x
; then
7157 eval "DEFAULT_$LINE"
7162 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7167 eval "$ac_cv_use_wizarddlg"
7168 if test "$no_cache" != 1; then
7169 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7172 if test "$wxUSE_WIZARDDLG" = yes; then
7173 echo "$ac_t""yes" 1>&6
7175 echo "$ac_t""no" 1>&6
7181 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7182 echo "configure:7183: checking for --enable-menus" >&5
7184 # Check whether --enable-menus or --disable-menus was given.
7185 if test "${enable_menus+set}" = set; then
7186 enableval
="$enable_menus"
7188 if test "$enableval" = yes; then
7189 ac_cv_use_menus
='wxUSE_MENUS=yes'
7191 ac_cv_use_menus
='wxUSE_MENUS=no'
7196 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7197 if test "x$LINE" != x
; then
7198 eval "DEFAULT_$LINE"
7203 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7208 eval "$ac_cv_use_menus"
7209 if test "$no_cache" != 1; then
7210 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7213 if test "$wxUSE_MENUS" = yes; then
7214 echo "$ac_t""yes" 1>&6
7216 echo "$ac_t""no" 1>&6
7220 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7221 echo "configure:7222: checking for --enable-miniframe" >&5
7223 # Check whether --enable-miniframe or --disable-miniframe was given.
7224 if test "${enable_miniframe+set}" = set; then
7225 enableval
="$enable_miniframe"
7227 if test "$enableval" = yes; then
7228 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7230 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7235 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7236 if test "x$LINE" != x
; then
7237 eval "DEFAULT_$LINE"
7242 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7247 eval "$ac_cv_use_miniframe"
7248 if test "$no_cache" != 1; then
7249 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7252 if test "$wxUSE_MINIFRAME" = yes; then
7253 echo "$ac_t""yes" 1>&6
7255 echo "$ac_t""no" 1>&6
7259 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7260 echo "configure:7261: checking for --enable-tooltips" >&5
7262 # Check whether --enable-tooltips or --disable-tooltips was given.
7263 if test "${enable_tooltips+set}" = set; then
7264 enableval
="$enable_tooltips"
7266 if test "$enableval" = yes; then
7267 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7269 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7274 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7275 if test "x$LINE" != x
; then
7276 eval "DEFAULT_$LINE"
7281 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7286 eval "$ac_cv_use_tooltips"
7287 if test "$no_cache" != 1; then
7288 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7291 if test "$wxUSE_TOOLTIPS" = yes; then
7292 echo "$ac_t""yes" 1>&6
7294 echo "$ac_t""no" 1>&6
7298 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7299 echo "configure:7300: checking for --enable-splines" >&5
7301 # Check whether --enable-splines or --disable-splines was given.
7302 if test "${enable_splines+set}" = set; then
7303 enableval
="$enable_splines"
7305 if test "$enableval" = yes; then
7306 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7308 ac_cv_use_splines
='wxUSE_SPLINES=no'
7313 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7314 if test "x$LINE" != x
; then
7315 eval "DEFAULT_$LINE"
7320 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7325 eval "$ac_cv_use_splines"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7330 if test "$wxUSE_SPLINES" = yes; then
7331 echo "$ac_t""yes" 1>&6
7333 echo "$ac_t""no" 1>&6
7337 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7338 echo "configure:7339: checking for --enable-validators" >&5
7340 # Check whether --enable-validators or --disable-validators was given.
7341 if test "${enable_validators+set}" = set; then
7342 enableval
="$enable_validators"
7344 if test "$enableval" = yes; then
7345 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7347 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7352 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7353 if test "x$LINE" != x
; then
7354 eval "DEFAULT_$LINE"
7359 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7364 eval "$ac_cv_use_validators"
7365 if test "$no_cache" != 1; then
7366 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7369 if test "$wxUSE_VALIDATORS" = yes; then
7370 echo "$ac_t""yes" 1>&6
7372 echo "$ac_t""no" 1>&6
7376 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7377 echo "configure:7378: checking for --enable-busyinfo" >&5
7379 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7380 if test "${enable_busyinfo+set}" = set; then
7381 enableval
="$enable_busyinfo"
7383 if test "$enableval" = yes; then
7384 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7386 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7391 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x
; then
7393 eval "DEFAULT_$LINE"
7398 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7403 eval "$ac_cv_use_busyinfo"
7404 if test "$no_cache" != 1; then
7405 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7408 if test "$wxUSE_BUSYINFO" = yes; then
7409 echo "$ac_t""yes" 1>&6
7411 echo "$ac_t""no" 1>&6
7415 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7416 echo "configure:7417: checking for --enable-joystick" >&5
7418 # Check whether --enable-joystick or --disable-joystick was given.
7419 if test "${enable_joystick+set}" = set; then
7420 enableval
="$enable_joystick"
7422 if test "$enableval" = yes; then
7423 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7425 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7430 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x
; then
7432 eval "DEFAULT_$LINE"
7437 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7442 eval "$ac_cv_use_joystick"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_JOYSTICK" = yes; then
7448 echo "$ac_t""yes" 1>&6
7450 echo "$ac_t""no" 1>&6
7454 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7455 echo "configure:7456: checking for --enable-metafile" >&5
7457 # Check whether --enable-metafile or --disable-metafile was given.
7458 if test "${enable_metafile+set}" = set; then
7459 enableval
="$enable_metafile"
7461 if test "$enableval" = yes; then
7462 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7464 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7469 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x
; then
7471 eval "DEFAULT_$LINE"
7476 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7481 eval "$ac_cv_use_metafile"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7486 if test "$wxUSE_METAFILE" = yes; then
7487 echo "$ac_t""yes" 1>&6
7489 echo "$ac_t""no" 1>&6
7493 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7494 echo "configure:7495: checking for --enable-dragimage" >&5
7496 # Check whether --enable-dragimage or --disable-dragimage was given.
7497 if test "${enable_dragimage+set}" = set; then
7498 enableval
="$enable_dragimage"
7500 if test "$enableval" = yes; then
7501 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7503 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7508 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7509 if test "x$LINE" != x
; then
7510 eval "DEFAULT_$LINE"
7515 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7520 eval "$ac_cv_use_dragimage"
7521 if test "$no_cache" != 1; then
7522 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7525 if test "$wxUSE_DRAGIMAGE" = yes; then
7526 echo "$ac_t""yes" 1>&6
7528 echo "$ac_t""no" 1>&6
7534 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7535 echo "configure:7536: checking for --enable-palette" >&5
7537 # Check whether --enable-palette or --disable-palette was given.
7538 if test "${enable_palette+set}" = set; then
7539 enableval
="$enable_palette"
7541 if test "$enableval" = yes; then
7542 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7544 ac_cv_use_palette
='wxUSE_PALETTE=no'
7549 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7550 if test "x$LINE" != x
; then
7551 eval "DEFAULT_$LINE"
7556 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7561 eval "$ac_cv_use_palette"
7562 if test "$no_cache" != 1; then
7563 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7566 if test "$wxUSE_PALETTE" = yes; then
7567 echo "$ac_t""yes" 1>&6
7569 echo "$ac_t""no" 1>&6
7573 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7574 echo "configure:7575: checking for --enable-image" >&5
7576 # Check whether --enable-image or --disable-image was given.
7577 if test "${enable_image+set}" = set; then
7578 enableval
="$enable_image"
7580 if test "$enableval" = yes; then
7581 ac_cv_use_image
='wxUSE_IMAGE=yes'
7583 ac_cv_use_image
='wxUSE_IMAGE=no'
7588 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7589 if test "x$LINE" != x
; then
7590 eval "DEFAULT_$LINE"
7595 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7600 eval "$ac_cv_use_image"
7601 if test "$no_cache" != 1; then
7602 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7605 if test "$wxUSE_IMAGE" = yes; then
7606 echo "$ac_t""yes" 1>&6
7608 echo "$ac_t""no" 1>&6
7612 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7613 echo "configure:7614: checking for --enable-gif" >&5
7615 # Check whether --enable-gif or --disable-gif was given.
7616 if test "${enable_gif+set}" = set; then
7617 enableval
="$enable_gif"
7619 if test "$enableval" = yes; then
7620 ac_cv_use_gif
='wxUSE_GIF=yes'
7622 ac_cv_use_gif
='wxUSE_GIF=no'
7627 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7628 if test "x$LINE" != x
; then
7629 eval "DEFAULT_$LINE"
7634 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7639 eval "$ac_cv_use_gif"
7640 if test "$no_cache" != 1; then
7641 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7644 if test "$wxUSE_GIF" = yes; then
7645 echo "$ac_t""yes" 1>&6
7647 echo "$ac_t""no" 1>&6
7651 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7652 echo "configure:7653: checking for --enable-pcx" >&5
7654 # Check whether --enable-pcx or --disable-pcx was given.
7655 if test "${enable_pcx+set}" = set; then
7656 enableval
="$enable_pcx"
7658 if test "$enableval" = yes; then
7659 ac_cv_use_pcx
='wxUSE_PCX=yes'
7661 ac_cv_use_pcx
='wxUSE_PCX=no'
7666 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x
; then
7668 eval "DEFAULT_$LINE"
7673 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7678 eval "$ac_cv_use_pcx"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_PCX" = yes; then
7684 echo "$ac_t""yes" 1>&6
7686 echo "$ac_t""no" 1>&6
7690 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7691 echo "configure:7692: checking for --enable-pnm" >&5
7693 # Check whether --enable-pnm or --disable-pnm was given.
7694 if test "${enable_pnm+set}" = set; then
7695 enableval
="$enable_pnm"
7697 if test "$enableval" = yes; then
7698 ac_cv_use_pnm
='wxUSE_PNM=yes'
7700 ac_cv_use_pnm
='wxUSE_PNM=no'
7705 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x
; then
7707 eval "DEFAULT_$LINE"
7712 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7717 eval "$ac_cv_use_pnm"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7722 if test "$wxUSE_PNM" = yes; then
7723 echo "$ac_t""yes" 1>&6
7725 echo "$ac_t""no" 1>&6
7729 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7730 echo "configure:7731: checking for --enable-pnm" >&5
7732 # Check whether --enable-pnm or --disable-pnm was given.
7733 if test "${enable_pnm+set}" = set; then
7734 enableval
="$enable_pnm"
7736 if test "$enableval" = yes; then
7737 ac_cv_use_pnm
='wxUSE_XPM=yes'
7739 ac_cv_use_pnm
='wxUSE_XPM=no'
7744 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x
; then
7746 eval "DEFAULT_$LINE"
7751 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7756 eval "$ac_cv_use_pnm"
7757 if test "$no_cache" != 1; then
7758 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7761 if test "$wxUSE_XPM" = yes; then
7762 echo "$ac_t""yes" 1>&6
7764 echo "$ac_t""no" 1>&6
7771 echo "saving argument cache $wx_arg_cache_file"
7772 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7776 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7777 echo "configure:7778: checking for toolkit" >&5
7779 if test "$wxUSE_GUI" = "yes"; then
7781 if test "$USE_BEOS" = 1; then
7782 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7785 if test "$TOOLKIT_GIVEN" = 1; then
7786 for toolkit
in `echo $ALL_TOOLKITS`; do
7788 eval "value=\$${var}"
7789 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7792 for toolkit
in `echo $ALL_TOOLKITS`; do
7793 if test "$has_toolkit_in_cache" != 1; then
7794 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7796 var
=DEFAULT_wxUSE_
$toolkit
7798 eval "wxUSE_$toolkit=\$${var}"
7802 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
7803 + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} \
7808 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7809 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7818 case "$NUM_TOOLKITS" in
7822 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7825 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7828 for toolkit
in `echo $ALL_TOOLKITS`; do
7830 eval "value=\$${var}"
7831 if test "x$value" != x
; then
7832 cache_var
=CACHE_
$toolkit
7833 eval "cache=\$${cache_var}"
7834 if test "$cache" = 1; then
7835 echo "$var=$value" >> ${wx_arg_cache_file}
7837 if test "$value" = 1; then
7838 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7839 echo "$ac_t""$toolkit_echo" 1>&6
7845 echo "$ac_t""base ($host_alias hosted) only" 1>&6
7849 cat > confcache
<<\EOF
7850 # This file is a shell script that caches the results of configure
7851 # tests run on this system so they can be shared between configure
7852 # scripts and configure runs. It is not useful on other systems.
7853 # If it contains results you don't want to keep, you may remove or edit it.
7855 # By default, configure uses ./config.cache as the cache file,
7856 # creating it if it does not exist already. You can give configure
7857 # the --cache-file=FILE option to use a different cache file; that is
7858 # what configure does when it calls configure scripts in
7859 # subdirectories, so they share the cache.
7860 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7861 # config.status only pays attention to the cache file if you give it the
7862 # --recheck option to rerun configure.
7865 # The following way of writing the cache mishandles newlines in values,
7866 # but we know of no workaround that is simple, portable, and efficient.
7867 # So, don't put newlines in cache variables' values.
7868 # Ultrix sh set writes to stderr and can't be redirected directly,
7869 # and sets the high bit in the cache file unless we assign to the vars.
7871 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7873 # `set' does not quote correctly, so add quotes (double-quote substitution
7874 # turns \\\\ into \\, and sed turns \\ into \).
7876 -e "s/'/'\\\\''/g" \
7877 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7880 # `set' quotes correctly as required by POSIX, so do not add quotes.
7881 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7884 if cmp -s $cache_file confcache
; then
7887 if test -w $cache_file; then
7888 echo "updating cache $cache_file"
7889 cat confcache
> $cache_file
7891 echo "not updating unwritable cache $cache_file"
7897 if test "$build" != "$host" ; then
7898 if test "$USE_WIN32" = 1 ; then
7902 RANLIB
=$host_alias-ranlib
7903 DLLTOOL
=$host_alias-dlltool
7904 RESCOMP
=$host_alias-windres
7907 STRIP
=$host_alias-strip
7909 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
7913 # Extract the first word of "gcc", so it can be a program name with args.
7914 set dummy gcc
; ac_word
=$2
7915 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7916 echo "configure:7917: checking for $ac_word" >&5
7917 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7918 echo $ac_n "(cached) $ac_c" 1>&6
7920 if test -n "$CC"; then
7921 ac_cv_prog_CC
="$CC" # Let the user override the test.
7923 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7925 for ac_dir
in $ac_dummy; do
7926 test -z "$ac_dir" && ac_dir
=.
7927 if test -f $ac_dir/$ac_word; then
7936 if test -n "$CC"; then
7937 echo "$ac_t""$CC" 1>&6
7939 echo "$ac_t""no" 1>&6
7942 if test -z "$CC"; then
7943 # Extract the first word of "cc", so it can be a program name with args.
7944 set dummy cc
; ac_word
=$2
7945 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7946 echo "configure:7947: checking for $ac_word" >&5
7947 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7948 echo $ac_n "(cached) $ac_c" 1>&6
7950 if test -n "$CC"; then
7951 ac_cv_prog_CC
="$CC" # Let the user override the test.
7953 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7956 for ac_dir
in $ac_dummy; do
7957 test -z "$ac_dir" && ac_dir
=.
7958 if test -f $ac_dir/$ac_word; then
7959 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7960 ac_prog_rejected
=yes
7968 if test $ac_prog_rejected = yes; then
7969 # We found a bogon in the path, so make sure we never use it.
7970 set dummy
$ac_cv_prog_CC
7972 if test $# -gt 0; then
7973 # We chose a different compiler from the bogus one.
7974 # However, it has the same basename, so the bogon will be chosen
7975 # first if we set CC to just the basename; use the full file name.
7977 set dummy
"$ac_dir/$ac_word" "$@"
7985 if test -n "$CC"; then
7986 echo "$ac_t""$CC" 1>&6
7988 echo "$ac_t""no" 1>&6
7991 if test -z "$CC"; then
7992 case "`uname -s`" in
7994 # Extract the first word of "cl", so it can be a program name with args.
7995 set dummy cl
; ac_word
=$2
7996 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7997 echo "configure:7998: checking for $ac_word" >&5
7998 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7999 echo $ac_n "(cached) $ac_c" 1>&6
8001 if test -n "$CC"; then
8002 ac_cv_prog_CC
="$CC" # Let the user override the test.
8004 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8006 for ac_dir
in $ac_dummy; do
8007 test -z "$ac_dir" && ac_dir
=.
8008 if test -f $ac_dir/$ac_word; then
8017 if test -n "$CC"; then
8018 echo "$ac_t""$CC" 1>&6
8020 echo "$ac_t""no" 1>&6
8025 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8028 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8029 echo "configure:8030: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8032 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8033 ac_cpp
='$CPP $CPPFLAGS'
8034 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8035 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8036 cross_compiling
=$ac_cv_prog_cc_cross
8038 cat > conftest.
$ac_ext << EOF
8040 #line 8041 "configure"
8041 #include "confdefs.h"
8045 if { (eval echo configure
:8046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8046 ac_cv_prog_cc_works
=yes
8047 # If we can't run a trivial program, we are probably using a cross compiler.
8048 if (.
/conftest
; exit) 2>/dev
/null
; then
8049 ac_cv_prog_cc_cross
=no
8051 ac_cv_prog_cc_cross
=yes
8054 echo "configure: failed program was:" >&5
8055 cat conftest.
$ac_ext >&5
8056 ac_cv_prog_cc_works
=no
8060 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8061 ac_cpp
='$CPP $CPPFLAGS'
8062 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8063 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8064 cross_compiling
=$ac_cv_prog_cc_cross
8066 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8067 if test $ac_cv_prog_cc_works = no
; then
8068 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8070 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8071 echo "configure:8072: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8072 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8073 cross_compiling
=$ac_cv_prog_cc_cross
8075 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8076 echo "configure:8077: checking whether we are using GNU C" >&5
8077 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8078 echo $ac_n "(cached) $ac_c" 1>&6
8080 cat > conftest.c
<<EOF
8085 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8086: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8092 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8094 if test $ac_cv_prog_gcc = yes; then
8100 ac_test_CFLAGS
="${CFLAGS+set}"
8101 ac_save_CFLAGS
="$CFLAGS"
8103 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8104 echo "configure:8105: checking whether ${CC-cc} accepts -g" >&5
8105 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8106 echo $ac_n "(cached) $ac_c" 1>&6
8108 echo 'void f(){}' > conftest.c
8109 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8118 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8119 if test "$ac_test_CFLAGS" = set; then
8120 CFLAGS
="$ac_save_CFLAGS"
8121 elif test $ac_cv_prog_cc_g = yes; then
8122 if test "$GCC" = yes; then
8128 if test "$GCC" = yes; then
8136 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8138 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8139 echo "configure:8140: checking how to run the C preprocessor" >&5
8140 # On Suns, sometimes $CPP names a directory.
8141 if test -n "$CPP" && test -d "$CPP"; then
8144 if test -z "$CPP"; then
8145 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8146 echo $ac_n "(cached) $ac_c" 1>&6
8148 # This must be in double quotes, not single quotes, because CPP may get
8149 # substituted into the Makefile and "${CC-cc}" will confuse make.
8151 # On the NeXT, cc -E runs the code through the compiler's parser,
8152 # not just through cpp.
8153 cat > conftest.
$ac_ext <<EOF
8154 #line 8155 "configure"
8155 #include "confdefs.h"
8159 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8160 { (eval echo configure
:8161: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8161 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8162 if test -z "$ac_err"; then
8166 echo "configure: failed program was:" >&5
8167 cat conftest.
$ac_ext >&5
8169 CPP
="${CC-cc} -E -traditional-cpp"
8170 cat > conftest.
$ac_ext <<EOF
8171 #line 8172 "configure"
8172 #include "confdefs.h"
8176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8177 { (eval echo configure
:8178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8179 if test -z "$ac_err"; then
8183 echo "configure: failed program was:" >&5
8184 cat conftest.
$ac_ext >&5
8186 CPP
="${CC-cc} -nologo -E"
8187 cat > conftest.
$ac_ext <<EOF
8188 #line 8189 "configure"
8189 #include "confdefs.h"
8193 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8194 { (eval echo configure
:8195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8195 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8196 if test -z "$ac_err"; then
8200 echo "configure: failed program was:" >&5
8201 cat conftest.
$ac_ext >&5
8210 ac_cv_prog_CPP
="$CPP"
8212 CPP
="$ac_cv_prog_CPP"
8214 ac_cv_prog_CPP
="$CPP"
8216 echo "$ac_t""$CPP" 1>&6
8218 if test $ac_cv_prog_gcc = yes; then
8219 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8220 echo "configure:8221: checking whether ${CC-cc} needs -traditional" >&5
8221 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8222 echo $ac_n "(cached) $ac_c" 1>&6
8224 ac_pattern
="Autoconf.*'x'"
8225 cat > conftest.
$ac_ext <<EOF
8226 #line 8227 "configure"
8227 #include "confdefs.h"
8231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8232 egrep "$ac_pattern" >/dev
/null
2>&1; then
8234 ac_cv_prog_gcc_traditional
=yes
8237 ac_cv_prog_gcc_traditional
=no
8242 if test $ac_cv_prog_gcc_traditional = no
; then
8243 cat > conftest.
$ac_ext <<EOF
8244 #line 8245 "configure"
8245 #include "confdefs.h"
8249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8250 egrep "$ac_pattern" >/dev
/null
2>&1; then
8252 ac_cv_prog_gcc_traditional
=yes
8259 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8260 if test $ac_cv_prog_gcc_traditional = yes; then
8261 CC
="$CC -traditional"
8268 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8269 ac_cpp
='$CXXCPP $CPPFLAGS'
8270 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8271 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8272 cross_compiling
=$ac_cv_prog_cxx_cross
8275 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8277 # Extract the first word of "$ac_prog", so it can be a program name with args.
8278 set dummy
$ac_prog; ac_word
=$2
8279 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8280 echo "configure:8281: checking for $ac_word" >&5
8281 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8282 echo $ac_n "(cached) $ac_c" 1>&6
8284 if test -n "$CXX"; then
8285 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8287 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8289 for ac_dir
in $ac_dummy; do
8290 test -z "$ac_dir" && ac_dir
=.
8291 if test -f $ac_dir/$ac_word; then
8292 ac_cv_prog_CXX
="$ac_prog"
8299 CXX
="$ac_cv_prog_CXX"
8300 if test -n "$CXX"; then
8301 echo "$ac_t""$CXX" 1>&6
8303 echo "$ac_t""no" 1>&6
8306 test -n "$CXX" && break
8308 test -n "$CXX" || CXX
="gcc"
8311 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8312 echo "configure:8313: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8315 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8316 ac_cpp
='$CXXCPP $CPPFLAGS'
8317 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8318 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8319 cross_compiling
=$ac_cv_prog_cxx_cross
8321 cat > conftest.
$ac_ext << EOF
8323 #line 8324 "configure"
8324 #include "confdefs.h"
8326 int main(){return(0);}
8328 if { (eval echo configure
:8329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8329 ac_cv_prog_cxx_works
=yes
8330 # If we can't run a trivial program, we are probably using a cross compiler.
8331 if (.
/conftest
; exit) 2>/dev
/null
; then
8332 ac_cv_prog_cxx_cross
=no
8334 ac_cv_prog_cxx_cross
=yes
8337 echo "configure: failed program was:" >&5
8338 cat conftest.
$ac_ext >&5
8339 ac_cv_prog_cxx_works
=no
8343 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8344 ac_cpp
='$CXXCPP $CPPFLAGS'
8345 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8346 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8347 cross_compiling
=$ac_cv_prog_cxx_cross
8349 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8350 if test $ac_cv_prog_cxx_works = no
; then
8351 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8353 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8354 echo "configure:8355: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8355 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8356 cross_compiling
=$ac_cv_prog_cxx_cross
8358 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8359 echo "configure:8360: checking whether we are using GNU C++" >&5
8360 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8361 echo $ac_n "(cached) $ac_c" 1>&6
8363 cat > conftest.C
<<EOF
8368 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8375 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8377 if test $ac_cv_prog_gxx = yes; then
8383 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8384 ac_save_CXXFLAGS
="$CXXFLAGS"
8386 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8387 echo "configure:8388: checking whether ${CXX-g++} accepts -g" >&5
8388 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8389 echo $ac_n "(cached) $ac_c" 1>&6
8391 echo 'void f(){}' > conftest.cc
8392 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8393 ac_cv_prog_cxx_g
=yes
8401 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8402 if test "$ac_test_CXXFLAGS" = set; then
8403 CXXFLAGS
="$ac_save_CXXFLAGS"
8404 elif test $ac_cv_prog_cxx_g = yes; then
8405 if test "$GXX" = yes; then
8411 if test "$GXX" = yes; then
8419 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8422 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8423 ac_cpp
='$CPP $CPPFLAGS'
8424 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8425 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8426 cross_compiling
=$ac_cv_prog_cc_cross
8429 # Extract the first word of "ranlib", so it can be a program name with args.
8430 set dummy ranlib
; ac_word
=$2
8431 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8432 echo "configure:8433: checking for $ac_word" >&5
8433 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8434 echo $ac_n "(cached) $ac_c" 1>&6
8436 if test -n "$RANLIB"; then
8437 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8439 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8441 for ac_dir
in $ac_dummy; do
8442 test -z "$ac_dir" && ac_dir
=.
8443 if test -f $ac_dir/$ac_word; then
8444 ac_cv_prog_RANLIB
="ranlib"
8449 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8452 RANLIB
="$ac_cv_prog_RANLIB"
8453 if test -n "$RANLIB"; then
8454 echo "$ac_t""$RANLIB" 1>&6
8456 echo "$ac_t""no" 1>&6
8460 # Extract the first word of "ar", so it can be a program name with args.
8461 set dummy
ar; ac_word
=$2
8462 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8463 echo "configure:8464: checking for $ac_word" >&5
8464 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8465 echo $ac_n "(cached) $ac_c" 1>&6
8467 if test -n "$AR"; then
8468 ac_cv_prog_AR
="$AR" # Let the user override the test.
8470 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8472 for ac_dir
in $ac_dummy; do
8473 test -z "$ac_dir" && ac_dir
=.
8474 if test -f $ac_dir/$ac_word; then
8480 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8484 if test -n "$AR"; then
8485 echo "$ac_t""$AR" 1>&6
8487 echo "$ac_t""no" 1>&6
8491 # Find a good install program. We prefer a C program (faster),
8492 # so one script is as good as another. But avoid the broken or
8493 # incompatible versions:
8494 # SysV /etc/install, /usr/sbin/install
8495 # SunOS /usr/etc/install
8496 # IRIX /sbin/install
8498 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8499 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8500 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8501 # ./install, which can be erroneously created by make from ./install.sh.
8502 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8503 echo "configure:8504: checking for a BSD compatible install" >&5
8504 if test -z "$INSTALL"; then
8505 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8506 echo $ac_n "(cached) $ac_c" 1>&6
8508 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8509 for ac_dir
in $PATH; do
8510 # Account for people who put trailing slashes in PATH elements.
8512 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8514 # OSF1 and SCO ODT 3.0 have their own names for install.
8515 # Don't use installbsd from OSF since it installs stuff as root
8517 for ac_prog
in ginstall scoinst
install; do
8518 if test -f $ac_dir/$ac_prog; then
8519 if test $ac_prog = install &&
8520 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8521 # AIX install. It has an incompatible calling convention.
8524 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8535 if test "${ac_cv_path_install+set}" = set; then
8536 INSTALL
="$ac_cv_path_install"
8538 # As a last resort, use the slow shell script. We don't cache a
8539 # path for INSTALL within a source directory, because that will
8540 # break other packages using the cache if that directory is
8541 # removed, or if the path is relative.
8542 INSTALL
="$ac_install_sh"
8545 echo "$ac_t""$INSTALL" 1>&6
8547 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8548 # It thinks the first close brace ends the variable substitution.
8549 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8551 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8553 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8556 # Extract the first word of "strip", so it can be a program name with args.
8557 set dummy strip
; ac_word
=$2
8558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8559 echo "configure:8560: checking for $ac_word" >&5
8560 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8561 echo $ac_n "(cached) $ac_c" 1>&6
8563 if test -n "$STRIP"; then
8564 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8566 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8568 for ac_dir
in $ac_dummy; do
8569 test -z "$ac_dir" && ac_dir
=.
8570 if test -f $ac_dir/$ac_word; then
8571 ac_cv_prog_STRIP
="strip"
8576 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8579 STRIP
="$ac_cv_prog_STRIP"
8580 if test -n "$STRIP"; then
8581 echo "$ac_t""$STRIP" 1>&6
8583 echo "$ac_t""no" 1>&6
8587 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8588 echo "configure:8589: checking make for VPATH support" >&5
8589 cat - << EOF > confMake
8595 if test ! -d sub
; then
8598 echo dummy
> sub
/file
8599 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8601 rm -f sub
/file check final_file confMake
8603 if test "$RESULT" = 0; then
8604 echo "$ac_t""yes" 1>&6
8606 echo "$ac_t""no" 1>&6
8607 { echo "configure: error:
8608 You need a make-utility that is able to use the variable
8610 If your version of make does not support VPATH correctly,
8611 please install GNU-make (possibly as gmake), and start
8612 configure with the following command:
8613 export MAKE=gmake; ./configure for sh-type shells
8614 setenv MAKE gmake; ./configure for csh-type shells
8615 Also please do remember to use gmake in this case every time
8616 you are trying to compile.
8620 for ac_prog
in 'bison -y' byacc
8622 # Extract the first word of "$ac_prog", so it can be a program name with args.
8623 set dummy
$ac_prog; ac_word
=$2
8624 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8625 echo "configure:8626: checking for $ac_word" >&5
8626 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8627 echo $ac_n "(cached) $ac_c" 1>&6
8629 if test -n "$YACC"; then
8630 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8632 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8634 for ac_dir
in $ac_dummy; do
8635 test -z "$ac_dir" && ac_dir
=.
8636 if test -f $ac_dir/$ac_word; then
8637 ac_cv_prog_YACC
="$ac_prog"
8644 YACC
="$ac_cv_prog_YACC"
8645 if test -n "$YACC"; then
8646 echo "$ac_t""$YACC" 1>&6
8648 echo "$ac_t""no" 1>&6
8651 test -n "$YACC" && break
8653 test -n "$YACC" || YACC
="yacc"
8656 # Extract the first word of "flex", so it can be a program name with args.
8657 set dummy flex
; ac_word
=$2
8658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8659 echo "configure:8660: checking for $ac_word" >&5
8660 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8661 echo $ac_n "(cached) $ac_c" 1>&6
8663 if test -n "$LEX"; then
8664 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8666 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8668 for ac_dir
in $ac_dummy; do
8669 test -z "$ac_dir" && ac_dir
=.
8670 if test -f $ac_dir/$ac_word; then
8671 ac_cv_prog_LEX
="flex"
8676 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8679 LEX
="$ac_cv_prog_LEX"
8680 if test -n "$LEX"; then
8681 echo "$ac_t""$LEX" 1>&6
8683 echo "$ac_t""no" 1>&6
8686 if test -z "$LEXLIB"
8692 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8693 echo "configure:8694: checking for yywrap in -l$ac_lib" >&5
8694 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8695 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8696 echo $ac_n "(cached) $ac_c" 1>&6
8698 ac_save_LIBS
="$LIBS"
8699 LIBS
="-l$ac_lib $LIBS"
8700 cat > conftest.
$ac_ext <<EOF
8701 #line 8702 "configure"
8702 #include "confdefs.h"
8703 /* Override any gcc2 internal prototype to avoid an error. */
8704 /* We use char because int might match the return type of a gcc2
8705 builtin and then its argument prototype would still apply. */
8712 if { (eval echo configure
:8713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8714 eval "ac_cv_lib_$ac_lib_var=yes"
8716 echo "configure: failed program was:" >&5
8717 cat conftest.
$ac_ext >&5
8719 eval "ac_cv_lib_$ac_lib_var=no"
8722 LIBS
="$ac_save_LIBS"
8725 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8726 echo "$ac_t""yes" 1>&6
8729 echo "$ac_t""no" 1>&6
8735 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8736 echo "configure:8737: checking whether ln -s works" >&5
8737 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8738 echo $ac_n "(cached) $ac_c" 1>&6
8741 if ln -s X conftestdata
2>/dev
/null
8744 ac_cv_prog_LN_S
="ln -s"
8749 LN_S
="$ac_cv_prog_LN_S"
8750 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8751 echo "$ac_t""yes" 1>&6
8753 echo "$ac_t""no" 1>&6
8759 /usr/local/include \
8761 /usr/Motif-1.2/include \
8762 /usr/Motif-2.1/include \
8764 /usr/include/Motif1.2 \
8765 /opt/xpm/include/X11 \
8766 /opt/GBxpm/include/ \
8767 /opt/GBxpm/X11/include/ \
8769 /usr/Motif1.2/include \
8771 /usr/openwin/include \
8775 /usr/X11R6/include \
8776 /usr/X11R6.4/include \
8777 /usr/X11R5/include \
8778 /usr/X11R4/include \
8780 /usr/include/X11R6 \
8781 /usr/include/X11R5 \
8782 /usr/include/X11R4 \
8784 /usr/local/X11R6/include \
8785 /usr/local/X11R5/include \
8786 /usr/local/X11R4/include \
8788 /usr/local/include/X11R6 \
8789 /usr/local/include/X11R5 \
8790 /usr/local/include/X11R4 \
8794 /usr/local/X11/include \
8795 /usr/local/include/X11 \
8799 /usr/XFree86/include/X11 \
8801 X:/XFree86/include \
8802 X:/XFree86/include/X11 \
8805 /usr/local/include/gtk \
8807 /usr/local/include/glib \
8810 /usr/local/include/qt \
8812 /usr/include/windows \
8814 /usr/local/include/wine \
8816 /usr/unsupported/include \
8817 /usr/athena/include \
8818 /usr/local/x11r5/include \
8819 /usr/lpp/Xamples/include \
8821 /usr/openwin/share/include \
8825 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8828 cat > confcache
<<\EOF
8829 # This file is a shell script that caches the results of configure
8830 # tests run on this system so they can be shared between configure
8831 # scripts and configure runs. It is not useful on other systems.
8832 # If it contains results you don't want to keep, you may remove or edit it.
8834 # By default, configure uses ./config.cache as the cache file,
8835 # creating it if it does not exist already. You can give configure
8836 # the --cache-file=FILE option to use a different cache file; that is
8837 # what configure does when it calls configure scripts in
8838 # subdirectories, so they share the cache.
8839 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8840 # config.status only pays attention to the cache file if you give it the
8841 # --recheck option to rerun configure.
8844 # The following way of writing the cache mishandles newlines in values,
8845 # but we know of no workaround that is simple, portable, and efficient.
8846 # So, don't put newlines in cache variables' values.
8847 # Ultrix sh set writes to stderr and can't be redirected directly,
8848 # and sets the high bit in the cache file unless we assign to the vars.
8850 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8852 # `set' does not quote correctly, so add quotes (double-quote substitution
8853 # turns \\\\ into \\, and sed turns \\ into \).
8855 -e "s/'/'\\\\''/g" \
8856 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8859 # `set' quotes correctly as required by POSIX, so do not add quotes.
8860 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8863 if cmp -s $cache_file confcache
; then
8866 if test -w $cache_file; then
8867 echo "updating cache $cache_file"
8868 cat confcache
> $cache_file
8870 echo "not updating unwritable cache $cache_file"
8878 if test "$wxUSE_REGEX" != "no"; then
8879 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
8880 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
8881 echo "configure:8882: checking for regex.h" >&5
8882 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8883 echo $ac_n "(cached) $ac_c" 1>&6
8885 cat > conftest.
$ac_ext <<EOF
8886 #line 8887 "configure"
8887 #include "confdefs.h"
8890 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8891 { (eval echo configure
:8892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8892 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8893 if test -z "$ac_err"; then
8895 eval "ac_cv_header_$ac_safe=yes"
8898 echo "configure: failed program was:" >&5
8899 cat conftest.
$ac_ext >&5
8901 eval "ac_cv_header_$ac_safe=no"
8905 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8906 echo "$ac_t""yes" 1>&6
8907 for ac_func
in regcomp
8909 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
8910 echo "configure:8911: checking for $ac_func" >&5
8911 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
8912 echo $ac_n "(cached) $ac_c" 1>&6
8914 cat > conftest.
$ac_ext <<EOF
8915 #line 8916 "configure"
8916 #include "confdefs.h"
8917 /* System header to define __stub macros and hopefully few prototypes,
8918 which can conflict with char $ac_func(); below. */
8920 /* Override any gcc2 internal prototype to avoid an error. */
8921 /* We use char because int might match the return type of a gcc2
8922 builtin and then its argument prototype would still apply. */
8927 /* The GNU C library defines this for functions which it implements
8928 to always fail with ENOSYS. Some functions are actually named
8929 something starting with __ and the normal name is an alias. */
8930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8938 if { (eval echo configure
:8939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8940 eval "ac_cv_func_$ac_func=yes"
8942 echo "configure: failed program was:" >&5
8943 cat conftest.
$ac_ext >&5
8945 eval "ac_cv_func_$ac_func=no"
8950 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
8951 echo "$ac_t""yes" 1>&6
8952 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
8953 cat >> confdefs.h
<<EOF
8954 #define $ac_tr_func 1
8958 echo "$ac_t""no" 1>&6
8963 echo "$ac_t""no" 1>&6
8967 if test "x$ac_cv_func_regcomp" != "xyes"; then
8968 if test "$wxUSE_REGEX" = "sys"; then
8969 { echo "configure: error: system regex library not found! Use --with-regex to use the built-in regex library." 1>&2; exit 1; }
8972 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
8975 cat >> confdefs.h
<<\EOF
8976 #define wxUSE_REGEX 1
8988 if test "$USE_WIN32" = 1 ; then
8989 for ac_hdr
in w32api.h
8991 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8992 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8993 echo "configure:8994: checking for $ac_hdr" >&5
8994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8995 echo $ac_n "(cached) $ac_c" 1>&6
8997 cat > conftest.
$ac_ext <<EOF
8998 #line 8999 "configure"
8999 #include "confdefs.h"
9002 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9003 { (eval echo configure
:9004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9004 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9005 if test -z "$ac_err"; then
9007 eval "ac_cv_header_$ac_safe=yes"
9010 echo "configure: failed program was:" >&5
9011 cat conftest.
$ac_ext >&5
9013 eval "ac_cv_header_$ac_safe=no"
9017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9018 echo "$ac_t""yes" 1>&6
9019 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9020 cat >> confdefs.h
<<EOF
9021 #define $ac_tr_hdr 1
9025 echo "$ac_t""no" 1>&6
9029 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9030 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9031 echo "configure:9032: checking for windows.h" >&5
9032 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9033 echo $ac_n "(cached) $ac_c" 1>&6
9035 cat > conftest.
$ac_ext <<EOF
9036 #line 9037 "configure"
9037 #include "confdefs.h"
9038 #include <windows.h>
9040 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9041 { (eval echo configure
:9042: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9042 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9043 if test -z "$ac_err"; then
9045 eval "ac_cv_header_$ac_safe=yes"
9048 echo "configure: failed program was:" >&5
9049 cat conftest.
$ac_ext >&5
9051 eval "ac_cv_header_$ac_safe=no"
9055 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9056 echo "$ac_t""yes" 1>&6
9059 echo "$ac_t""no" 1>&6
9061 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9066 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9067 echo "configure:9068: checking if w32api has good enough MSIE support" >&5
9068 if eval "test \"`echo '$''{'wx_cv_w32api_win_ie'+set}'`\" = set"; then
9069 echo $ac_n "(cached) $ac_c" 1>&6
9072 cat > conftest.
$ac_ext <<EOF
9073 #line 9074 "configure"
9074 #include "confdefs.h"
9078 #define wxCHECK_W32API_VERSION( major, minor ) \
9079 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9080 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9081 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9083 #if !wxCHECK_W32API_VERSION(1,1)
9084 #error You need w32api 1.1 or newer
9089 if { (eval echo configure
:9090: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9092 wx_cv_w32api_win_ie
=yes
9093 CPPFLAGS
="$CPPFLAGS -D_WIN_IE=0x400"
9096 echo "configure: failed program was:" >&5
9097 cat conftest.
$ac_ext >&5
9100 wx_cv_w32api_win_ie
=no
9107 echo "$ac_t""$wx_cv_w32api_win_ie" 1>&6
9109 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
9111 if test "$wxUSE_CYGWIN" = 1; then
9112 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
9115 if test "$wxUSE_ODBC" = "yes" ; then
9116 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
9119 if test "$wxUSE_MINGW" = 1; then
9120 LDFLAGS
="$LDFLAGS -mwindows"
9123 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
9124 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
9127 if test "$wxUSE_GUI" = "yes"; then
9136 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
9141 if test "$wxUSE_GTK" = 1; then
9142 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
9143 echo "configure:9144: checking for GTK+ version" >&5
9145 gtk_version_cached
=1
9146 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
9147 echo $ac_n "(cached) $ac_c" 1>&6
9150 gtk_version_cached
=0
9151 echo "$ac_t""""" 1>&6
9154 if test "x$wxUSE_GTK2" = "xyes"; then
9155 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
9156 if test "${with_gtk_prefix+set}" = set; then
9157 withval
="$with_gtk_prefix"
9158 gtk_config_prefix
="$withval"
9160 gtk_config_prefix
=""
9163 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
9164 if test "${with_gtk_exec_prefix+set}" = set; then
9165 withval
="$with_gtk_exec_prefix"
9166 gtk_config_exec_prefix
="$withval"
9168 gtk_config_exec_prefix
=""
9171 # Check whether --enable-gtktest or --disable-gtktest was given.
9172 if test "${enable_gtktest+set}" = set; then
9173 enableval
="$enable_gtktest"
9184 gtk_config_args
="$gtk_config_args gthread"
9189 if test x
$gtk_config_exec_prefix != x
; then
9190 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9191 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9192 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
9195 if test x
$gtk_config_prefix != x
; then
9196 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9197 if test x
${GTK_CONFIG_2_0+set} != xset
; then
9198 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
9202 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
9203 set dummy gtk
-config-2.0
; ac_word
=$2
9204 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9205 echo "configure:9206: checking for $ac_word" >&5
9206 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
9207 echo $ac_n "(cached) $ac_c" 1>&6
9209 case "$GTK_CONFIG_2_0" in
9211 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
9214 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
9217 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9219 for ac_dir
in $ac_dummy; do
9220 test -z "$ac_dir" && ac_dir
=.
9221 if test -f $ac_dir/$ac_word; then
9222 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
9227 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
9231 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
9232 if test -n "$GTK_CONFIG_2_0"; then
9233 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
9235 echo "$ac_t""no" 1>&6
9238 min_gtk_version
=1.3.1
9239 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9240 echo "configure:9241: checking for GTK - version >= $min_gtk_version" >&5
9242 if test "$GTK_CONFIG_2_0" = "no" ; then
9245 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
9246 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
9247 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9248 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9249 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9250 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9251 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
9252 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9253 if test "x$enable_gtktest" = "xyes" ; then
9254 ac_save_CFLAGS
="$CFLAGS"
9255 ac_save_LIBS
="$LIBS"
9256 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9257 LIBS
="$GTK_LIBS $LIBS"
9259 if test "$cross_compiling" = yes; then
9260 echo $ac_n "cross compiling; assumed OK... $ac_c"
9262 cat > conftest.
$ac_ext <<EOF
9263 #line 9264 "configure"
9264 #include "confdefs.h"
9266 #include <gtk/gtk.h>
9273 int major, minor, micro;
9276 system ("touch conf.gtktest");
9278 /* HP/UX 9 (%@#!) writes to sscanf strings */
9279 tmp_version = g_strdup("$min_gtk_version");
9280 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9281 printf("%s, bad version string\n", "$min_gtk_version");
9285 if ((gtk_major_version != $gtk_config_major_version) ||
9286 (gtk_minor_version != $gtk_config_minor_version) ||
9287 (gtk_micro_version != $gtk_config_micro_version))
9289 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
9290 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
9291 gtk_major_version, gtk_minor_version, gtk_micro_version);
9292 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
9293 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
9294 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
9295 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
9296 printf("*** required on your system.\n");
9297 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
9298 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
9299 printf("*** before re-running configure\n");
9301 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
9302 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
9303 (gtk_minor_version != GTK_MINOR_VERSION) ||
9304 (gtk_micro_version != GTK_MICRO_VERSION))
9306 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
9307 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
9308 printf("*** library (version %d.%d.%d)\n",
9309 gtk_major_version, gtk_minor_version, gtk_micro_version);
9311 #endif /* defined (GTK_MAJOR_VERSION) ... */
9314 if ((gtk_major_version > major) ||
9315 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9316 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
9322 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
9323 gtk_major_version, gtk_minor_version, gtk_micro_version);
9324 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
9325 major, minor, micro);
9326 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
9328 printf("*** If you have already installed a sufficiently new version, this error\n");
9329 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
9330 printf("*** being found. The easiest way to fix this is to remove the old version\n");
9331 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
9332 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
9333 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
9334 printf("*** so that the correct libraries are found at run-time))\n");
9341 if { (eval echo configure
:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9345 echo "configure: failed program was:" >&5
9346 cat conftest.
$ac_ext >&5
9353 CFLAGS
="$ac_save_CFLAGS"
9354 LIBS
="$ac_save_LIBS"
9357 if test "x$no_gtk" = x
; then
9358 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
9361 echo "$ac_t""no" 1>&6
9362 if test "$GTK_CONFIG_2_0" = "no" ; then
9363 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
9364 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
9365 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
9366 echo "*** full path to gtk-config-2.0."
9368 if test -f conf.gtktest
; then
9371 echo "*** Could not run GTK test program, checking why..."
9372 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9373 LIBS
="$LIBS $GTK_LIBS"
9374 cat > conftest.
$ac_ext <<EOF
9375 #line 9376 "configure"
9376 #include "confdefs.h"
9378 #include <gtk/gtk.h>
9382 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
9385 if { (eval echo configure
:9386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9387 echo "*** The test program compiled, but did not run. This usually means"
9388 echo "*** that the run-time linker is not finding GTK or finding the wrong"
9389 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
9390 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
9391 echo "*** to the installed location Also, make sure you have run ldconfig if that"
9392 echo "*** is required on your system"
9394 echo "*** If you have an old version installed, it is best to remove it, although"
9395 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
9397 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
9398 echo "*** came with the system with the command"
9400 echo "*** rpm --erase --nodeps gtk gtk-devel"
9402 echo "configure: failed program was:" >&5
9403 cat conftest.
$ac_ext >&5
9405 echo "*** The test program failed to compile or link. See the file config.log for the"
9406 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
9407 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
9408 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
9411 CFLAGS
="$ac_save_CFLAGS"
9412 LIBS
="$ac_save_LIBS"
9425 if test -z "$wx_cv_lib_gtk"; then
9427 if test x
$gtk_config_exec_prefix != x
; then
9428 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9429 if test x
${GTK_CONFIG+set} != xset
; then
9430 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9433 if test x
$gtk_config_prefix != x
; then
9434 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9435 if test x
${GTK_CONFIG+set} != xset
; then
9436 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9440 # Extract the first word of "gtk-config", so it can be a program name with args.
9441 set dummy gtk
-config; ac_word
=$2
9442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9443 echo "configure:9444: checking for $ac_word" >&5
9444 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9445 echo $ac_n "(cached) $ac_c" 1>&6
9447 case "$GTK_CONFIG" in
9449 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9452 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9455 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9457 for ac_dir
in $ac_dummy; do
9458 test -z "$ac_dir" && ac_dir
=.
9459 if test -f $ac_dir/$ac_word; then
9460 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9465 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9469 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9470 if test -n "$GTK_CONFIG"; then
9471 echo "$ac_t""$GTK_CONFIG" 1>&6
9473 echo "$ac_t""no" 1>&6
9476 min_gtk_version
=1.2.7
9477 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9478 echo "configure:9479: checking for GTK - version >= $min_gtk_version" >&5
9480 if test "$GTK_CONFIG" != "no" ; then
9481 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9482 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9483 ac_save_CFLAGS
="$CFLAGS"
9484 ac_save_LIBS
="$LIBS"
9485 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9486 LIBS
="$LIBS $GTK_LIBS"
9487 if test "$cross_compiling" = yes; then
9488 echo $ac_n "cross compiling; assumed OK... $ac_c"
9490 cat > conftest.
$ac_ext <<EOF
9491 #line 9492 "configure"
9492 #include "confdefs.h"
9494 #include <gtk/gtk.h>
9495 #include <gtk/gtkfeatures.h>
9502 int major, minor, micro;
9504 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9505 printf("%s, bad version string\n", "$min_gtk_version");
9509 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9510 (GTK_MINOR_VERSION != gtk_minor_version) ||
9511 (GTK_MICRO_VERSION != gtk_micro_version)) {
9512 printf("Headers vs. library version mismatch!\n");
9516 if (gtk_minor_version == 1) return FALSE;
9518 return !((gtk_major_version > major) ||
9519 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9520 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9524 if { (eval echo configure
:9525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9528 echo "configure: failed program was:" >&5
9529 cat conftest.
$ac_ext >&5
9536 CFLAGS
="$ac_save_CFLAGS"
9537 LIBS
="$ac_save_LIBS"
9541 if test "x$no_gtk" = x
; then
9542 echo "$ac_t""yes" 1>&6
9545 echo "$ac_t""no" 1>&6
9555 if test -z "$wx_cv_lib_gtk"; then
9557 if test x
$gtk_config_exec_prefix != x
; then
9558 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
9559 if test x
${GTK_CONFIG+set} != xset
; then
9560 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
9563 if test x
$gtk_config_prefix != x
; then
9564 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
9565 if test x
${GTK_CONFIG+set} != xset
; then
9566 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
9570 # Extract the first word of "gtk-config", so it can be a program name with args.
9571 set dummy gtk
-config; ac_word
=$2
9572 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9573 echo "configure:9574: checking for $ac_word" >&5
9574 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
9575 echo $ac_n "(cached) $ac_c" 1>&6
9577 case "$GTK_CONFIG" in
9579 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
9582 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
9585 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9587 for ac_dir
in $ac_dummy; do
9588 test -z "$ac_dir" && ac_dir
=.
9589 if test -f $ac_dir/$ac_word; then
9590 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
9595 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
9599 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
9600 if test -n "$GTK_CONFIG"; then
9601 echo "$ac_t""$GTK_CONFIG" 1>&6
9603 echo "$ac_t""no" 1>&6
9606 min_gtk_version
=1.2.3
9607 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
9608 echo "configure:9609: checking for GTK - version >= $min_gtk_version" >&5
9610 if test "$GTK_CONFIG" != "no" ; then
9611 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
9612 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
9613 ac_save_CFLAGS
="$CFLAGS"
9614 ac_save_LIBS
="$LIBS"
9615 CFLAGS
="$CFLAGS $GTK_CFLAGS"
9616 LIBS
="$LIBS $GTK_LIBS"
9617 if test "$cross_compiling" = yes; then
9618 echo $ac_n "cross compiling; assumed OK... $ac_c"
9620 cat > conftest.
$ac_ext <<EOF
9621 #line 9622 "configure"
9622 #include "confdefs.h"
9624 #include <gtk/gtk.h>
9625 #include <gtk/gtkfeatures.h>
9632 int major, minor, micro;
9634 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
9635 printf("%s, bad version string\n", "$min_gtk_version");
9639 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
9640 (GTK_MINOR_VERSION != gtk_minor_version) ||
9641 (GTK_MICRO_VERSION != gtk_micro_version)) {
9642 printf("Headers vs. library version mismatch!\n");
9646 if (gtk_minor_version == 1) return FALSE;
9648 return !((gtk_major_version > major) ||
9649 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
9650 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9654 if { (eval echo configure
:9655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9658 echo "configure: failed program was:" >&5
9659 cat conftest.
$ac_ext >&5
9666 CFLAGS
="$ac_save_CFLAGS"
9667 LIBS
="$ac_save_LIBS"
9671 if test "x$no_gtk" = x
; then
9672 echo "$ac_t""yes" 1>&6
9675 echo "$ac_t""no" 1>&6
9685 if test -z "$wx_cv_lib_gtk"; then
9688 wx_cv_cflags_gtk
=$GTK_CFLAGS
9689 wx_cv_libs_gtk
=$GTK_LIBS
9696 if test "$gtk_version_cached" = 1; then
9697 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9700 case "$wx_cv_lib_gtk" in
9708 *) { echo "configure: error:
9709 Please check that gtk-config is in path, the directory
9710 where GTK+ libraries are installed (returned by
9711 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9712 equivalent variable and GTK+ is version 1.2.3 or above.
9717 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9718 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9720 AFMINSTALL
=afminstall
9724 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9725 echo "configure:9726: checking for gdk_im_open in -lgdk" >&5
9726 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9728 echo $ac_n "(cached) $ac_c" 1>&6
9730 ac_save_LIBS
="$LIBS"
9732 cat > conftest.
$ac_ext <<EOF
9733 #line 9734 "configure"
9734 #include "confdefs.h"
9735 /* Override any gcc2 internal prototype to avoid an error. */
9736 /* We use char because int might match the return type of a gcc2
9737 builtin and then its argument prototype would still apply. */
9744 if { (eval echo configure
:9745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9746 eval "ac_cv_lib_$ac_lib_var=yes"
9748 echo "configure: failed program was:" >&5
9749 cat conftest.
$ac_ext >&5
9751 eval "ac_cv_lib_$ac_lib_var=no"
9754 LIBS
="$ac_save_LIBS"
9757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9758 echo "$ac_t""yes" 1>&6
9759 cat >> confdefs.h
<<\EOF
9764 echo "$ac_t""no" 1>&6
9769 if test "$wxUSE_MGL" = 1; then
9771 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9772 echo "configure:9773: checking for SciTech MGL library" >&5
9773 if test "x$MGL_ROOT" = x
; then
9774 echo "$ac_t""not found" 1>&6
9775 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9777 echo "$ac_t""$MGL_ROOT" 1>&6
9780 mgl_os
=linux
/gcc
/glibc
9783 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9784 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
; then
9788 if test "x$mgl_lib_type" = x
; then
9789 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
; then
9790 mgl_lib_type
=release
9792 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9796 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9797 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
9799 AFMINSTALL
=afminstall
9804 if test "$wxUSE_WINE" = 1; then
9805 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9806 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9807 echo "configure:9808: checking for windows.h" >&5
9808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9809 echo $ac_n "(cached) $ac_c" 1>&6
9811 cat > conftest.
$ac_ext <<EOF
9812 #line 9813 "configure"
9813 #include "confdefs.h"
9814 #include <windows.h>
9816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9817 { (eval echo configure
:9818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9819 if test -z "$ac_err"; then
9821 eval "ac_cv_header_$ac_safe=yes"
9824 echo "configure: failed program was:" >&5
9825 cat conftest.
$ac_ext >&5
9827 eval "ac_cv_header_$ac_safe=no"
9831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9832 echo "$ac_t""yes" 1>&6
9835 echo "$ac_t""no" 1>&6
9837 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9843 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9844 echo "configure:9845: checking for Xpm library" >&5
9847 for ac_dir
in $SEARCH_LIB;
9849 for ac_extension
in a so sl dylib
; do
9850 if test -f "$ac_dir/libXpm.$ac_extension"; then
9851 ac_find_libraries
=$ac_dir
9857 if test "$ac_find_libraries" != "" ; then
9858 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9860 cat >> confdefs.h
<<\EOF
9861 #define wxHAVE_LIB_XPM 1
9864 echo "$ac_t""found at $ac_find_libraries" 1>&6
9866 echo "$ac_t""no" 1>&6
9867 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9871 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9872 echo "configure:9873: checking for Mesa library" >&5
9875 for ac_dir
in $SEARCH_LIB;
9877 for ac_extension
in a so sl dylib
; do
9878 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9879 ac_find_libraries
=$ac_dir
9885 if test "$ac_find_libraries" != "" ; then
9886 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9887 mesa_link
="-lMesaGL"
9888 echo "$ac_t""found at $ac_find_libraries" 1>&6
9890 { echo "configure: error: no" 1>&2; exit 1; }
9893 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine $mesa_link $xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9896 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
9900 # If we find X, set shell vars x_includes and x_libraries to the
9901 # paths, otherwise set no_x=yes.
9902 # Uses ac_ vars as temps to allow command line to override cache and checks.
9903 # --without-x overrides everything else, but does not touch the cache.
9904 echo $ac_n "checking for X""... $ac_c" 1>&6
9905 echo "configure:9906: checking for X" >&5
9907 # Check whether --with-x or --without-x was given.
9908 if test "${with_x+set}" = set; then
9913 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9914 if test "x$with_x" = xno
; then
9915 # The user explicitly disabled X.
9918 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9919 # Both variables are already set.
9922 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9925 # One or both of the vars are not set, and there is no cached value.
9926 ac_x_includes
=NO ac_x_libraries
=NO
9928 if mkdir conftestdir
; then
9930 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9931 cat > Imakefile
<<'EOF'
9933 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9935 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9936 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9937 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9938 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9939 for ac_extension
in a so sl
; do
9940 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9941 test -f $ac_im_libdir/libX11.
$ac_extension; then
9942 ac_im_usrlibdir
=$ac_im_libdir; break
9945 # Screen out bogus values from the imake configuration. They are
9946 # bogus both because they are the default anyway, and because
9947 # using them would break gcc on systems where it needs fixed includes.
9948 case "$ac_im_incroot" in
9950 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9952 case "$ac_im_usrlibdir" in
9954 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9961 if test "$ac_x_includes" = NO
; then
9962 # Guess where to find include files, by looking for this one X11 .h file.
9963 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9965 # First, try using that file with no special directory specified.
9966 cat > conftest.
$ac_ext <<EOF
9967 #line 9968 "configure"
9968 #include "confdefs.h"
9969 #include <$x_direct_test_include>
9971 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9972 { (eval echo configure
:9973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9973 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9974 if test -z "$ac_err"; then
9976 # We can compile using X headers with no special include directory.
9980 echo "configure: failed program was:" >&5
9981 cat conftest.
$ac_ext >&5
9983 # Look for the header file in a standard set of common directories.
9984 # Check X11 before X11Rn because it is often a symlink to the current release.
9987 /usr
/X
11R
6/include \
9988 /usr
/X
11R
5/include \
9989 /usr
/X
11R
4/include \
9992 /usr
/include
/X11R6 \
9993 /usr
/include
/X11R5 \
9994 /usr
/include
/X11R4 \
9996 /usr
/local
/X
11/include \
9997 /usr
/local
/X
11R
6/include \
9998 /usr
/local
/X
11R
5/include \
9999 /usr
/local
/X
11R
4/include \
10001 /usr
/local
/include
/X11 \
10002 /usr
/local
/include
/X11R6 \
10003 /usr
/local
/include
/X11R5 \
10004 /usr
/local
/include
/X11R4 \
10006 /usr
/X
386/include \
10007 /usr
/x
386/include \
10008 /usr
/XFree
86/include
/X11 \
10011 /usr
/local
/include \
10012 /usr
/unsupported
/include \
10013 /usr
/athena
/include \
10014 /usr
/local
/x
11r
5/include \
10015 /usr
/lpp
/Xamples
/include \
10017 /usr
/openwin
/include \
10018 /usr
/openwin
/share
/include \
10021 if test -r "$ac_dir/$x_direct_test_include"; then
10022 ac_x_includes
=$ac_dir
10028 fi # $ac_x_includes = NO
10030 if test "$ac_x_libraries" = NO
; then
10031 # Check for the libraries.
10033 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
10034 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
10036 # See if we find them without any special options.
10037 # Don't add to $LIBS permanently.
10038 ac_save_LIBS
="$LIBS"
10039 LIBS
="-l$x_direct_test_library $LIBS"
10040 cat > conftest.
$ac_ext <<EOF
10041 #line 10042 "configure"
10042 #include "confdefs.h"
10045 ${x_direct_test_function}()
10048 if { (eval echo configure
:10049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10050 LIBS
="$ac_save_LIBS"
10051 # We can link X programs with no special library path.
10054 echo "configure: failed program was:" >&5
10055 cat conftest.
$ac_ext >&5
10057 LIBS
="$ac_save_LIBS"
10058 # First see if replacing the include by lib works.
10059 # Check X11 before X11Rn because it is often a symlink to the current release.
10060 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
10071 /usr
/local
/X
11/lib \
10072 /usr
/local
/X
11R
6/lib \
10073 /usr
/local
/X
11R
5/lib \
10074 /usr
/local
/X
11R
4/lib \
10076 /usr
/local
/lib
/X11 \
10077 /usr
/local
/lib
/X11R6 \
10078 /usr
/local
/lib
/X11R5 \
10079 /usr
/local
/lib
/X11R4 \
10083 /usr
/XFree
86/lib
/X11 \
10087 /usr
/unsupported
/lib \
10089 /usr
/local
/x
11r
5/lib \
10090 /usr
/lpp
/Xamples
/lib \
10094 /usr
/openwin
/share
/lib \
10097 for ac_extension
in a so sl
; do
10098 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
10099 ac_x_libraries
=$ac_dir
10106 fi # $ac_x_libraries = NO
10108 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
10109 # Didn't find X anywhere. Cache the known absence of X.
10110 ac_cv_have_x
="have_x=no"
10112 # Record where we found X for the cache.
10113 ac_cv_have_x
="have_x=yes \
10114 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
10118 eval "$ac_cv_have_x"
10121 if test "$have_x" != yes; then
10122 echo "$ac_t""$have_x" 1>&6
10125 # If each of the values was on the command line, it overrides each guess.
10126 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10127 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10128 # Update the cache value to reflect the command line values.
10129 ac_cv_have_x
="have_x=yes \
10130 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
10131 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
10134 if test "$no_x" = yes; then
10135 # Not all programs may use this symbol, but it does not hurt to define it.
10136 cat >> confdefs.h
<<\EOF
10137 #define X_DISPLAY_MISSING 1
10140 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
10142 if test -n "$x_includes"; then
10143 X_CFLAGS
="$X_CFLAGS -I$x_includes"
10146 # It would also be nice to do this for all -L options, not just this one.
10147 if test -n "$x_libraries"; then
10148 X_LIBS
="$X_LIBS -L$x_libraries"
10149 # For Solaris; some versions of Sun CC require a space after -R and
10150 # others require no space. Words are not sufficient . . . .
10151 case "`(uname -sr) 2>/dev/null`" in
10153 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
10154 echo "configure:10155: checking whether -R must be followed by a space" >&5
10155 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
10156 cat > conftest.
$ac_ext <<EOF
10157 #line 10158 "configure"
10158 #include "confdefs.h"
10164 if { (eval echo configure
:10165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10168 echo "configure: failed program was:" >&5
10169 cat conftest.
$ac_ext >&5
10174 if test $ac_R_nospace = yes; then
10175 echo "$ac_t""no" 1>&6
10176 X_LIBS
="$X_LIBS -R$x_libraries"
10178 LIBS
="$ac_xsave_LIBS -R $x_libraries"
10179 cat > conftest.
$ac_ext <<EOF
10180 #line 10181 "configure"
10181 #include "confdefs.h"
10187 if { (eval echo configure
:10188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10191 echo "configure: failed program was:" >&5
10192 cat conftest.
$ac_ext >&5
10197 if test $ac_R_space = yes; then
10198 echo "$ac_t""yes" 1>&6
10199 X_LIBS
="$X_LIBS -R $x_libraries"
10201 echo "$ac_t""neither works" 1>&6
10204 LIBS
="$ac_xsave_LIBS"
10208 # Check for system-dependent libraries X programs must link with.
10209 # Do this before checking for the system-independent R6 libraries
10210 # (-lICE), since we may need -lsocket or whatever for X linking.
10212 if test "$ISC" = yes; then
10213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
10215 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
10216 # libraries were built with DECnet support. And karl@cs.umb.edu says
10217 # the Alpha needs dnet_stub (dnet does not exist).
10218 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
10219 echo "configure:10220: checking for dnet_ntoa in -ldnet" >&5
10220 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10221 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10222 echo $ac_n "(cached) $ac_c" 1>&6
10224 ac_save_LIBS
="$LIBS"
10225 LIBS
="-ldnet $LIBS"
10226 cat > conftest.
$ac_ext <<EOF
10227 #line 10228 "configure"
10228 #include "confdefs.h"
10229 /* Override any gcc2 internal prototype to avoid an error. */
10230 /* We use char because int might match the return type of a gcc2
10231 builtin and then its argument prototype would still apply. */
10238 if { (eval echo configure
:10239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10240 eval "ac_cv_lib_$ac_lib_var=yes"
10242 echo "configure: failed program was:" >&5
10243 cat conftest.
$ac_ext >&5
10245 eval "ac_cv_lib_$ac_lib_var=no"
10248 LIBS
="$ac_save_LIBS"
10251 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10252 echo "$ac_t""yes" 1>&6
10253 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
10255 echo "$ac_t""no" 1>&6
10258 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
10259 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
10260 echo "configure:10261: checking for dnet_ntoa in -ldnet_stub" >&5
10261 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
10262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10263 echo $ac_n "(cached) $ac_c" 1>&6
10265 ac_save_LIBS
="$LIBS"
10266 LIBS
="-ldnet_stub $LIBS"
10267 cat > conftest.
$ac_ext <<EOF
10268 #line 10269 "configure"
10269 #include "confdefs.h"
10270 /* Override any gcc2 internal prototype to avoid an error. */
10271 /* We use char because int might match the return type of a gcc2
10272 builtin and then its argument prototype would still apply. */
10279 if { (eval echo configure
:10280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10281 eval "ac_cv_lib_$ac_lib_var=yes"
10283 echo "configure: failed program was:" >&5
10284 cat conftest.
$ac_ext >&5
10286 eval "ac_cv_lib_$ac_lib_var=no"
10289 LIBS
="$ac_save_LIBS"
10292 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10293 echo "$ac_t""yes" 1>&6
10294 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
10296 echo "$ac_t""no" 1>&6
10301 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10302 # to get the SysV transport functions.
10303 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
10305 # The nsl library prevents programs from opening the X display
10306 # on Irix 5.2, according to dickey@clark.net.
10307 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
10308 echo "configure:10309: checking for gethostbyname" >&5
10309 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
10310 echo $ac_n "(cached) $ac_c" 1>&6
10312 cat > conftest.
$ac_ext <<EOF
10313 #line 10314 "configure"
10314 #include "confdefs.h"
10315 /* System header to define __stub macros and hopefully few prototypes,
10316 which can conflict with char gethostbyname(); below. */
10317 #include <assert.h>
10318 /* Override any gcc2 internal prototype to avoid an error. */
10319 /* We use char because int might match the return type of a gcc2
10320 builtin and then its argument prototype would still apply. */
10321 char gethostbyname();
10325 /* The GNU C library defines this for functions which it implements
10326 to always fail with ENOSYS. Some functions are actually named
10327 something starting with __ and the normal name is an alias. */
10328 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10336 if { (eval echo configure
:10337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10338 eval "ac_cv_func_gethostbyname=yes"
10340 echo "configure: failed program was:" >&5
10341 cat conftest.
$ac_ext >&5
10343 eval "ac_cv_func_gethostbyname=no"
10348 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
10349 echo "$ac_t""yes" 1>&6
10352 echo "$ac_t""no" 1>&6
10355 if test $ac_cv_func_gethostbyname = no
; then
10356 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
10357 echo "configure:10358: checking for gethostbyname in -lnsl" >&5
10358 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
10359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10360 echo $ac_n "(cached) $ac_c" 1>&6
10362 ac_save_LIBS
="$LIBS"
10364 cat > conftest.
$ac_ext <<EOF
10365 #line 10366 "configure"
10366 #include "confdefs.h"
10367 /* Override any gcc2 internal prototype to avoid an error. */
10368 /* We use char because int might match the return type of a gcc2
10369 builtin and then its argument prototype would still apply. */
10370 char gethostbyname();
10376 if { (eval echo configure
:10377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10378 eval "ac_cv_lib_$ac_lib_var=yes"
10380 echo "configure: failed program was:" >&5
10381 cat conftest.
$ac_ext >&5
10383 eval "ac_cv_lib_$ac_lib_var=no"
10386 LIBS
="$ac_save_LIBS"
10389 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10390 echo "$ac_t""yes" 1>&6
10391 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
10393 echo "$ac_t""no" 1>&6
10398 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10399 # socket/setsockopt and other routines are undefined under SCO ODT
10400 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10401 # on later versions), says simon@lia.di.epfl.ch: it contains
10402 # gethostby* variants that don't use the nameserver (or something).
10403 # -lsocket must be given before -lnsl if both are needed.
10404 # We assume that if connect needs -lnsl, so does gethostbyname.
10405 echo $ac_n "checking for connect""... $ac_c" 1>&6
10406 echo "configure:10407: checking for connect" >&5
10407 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
10408 echo $ac_n "(cached) $ac_c" 1>&6
10410 cat > conftest.
$ac_ext <<EOF
10411 #line 10412 "configure"
10412 #include "confdefs.h"
10413 /* System header to define __stub macros and hopefully few prototypes,
10414 which can conflict with char connect(); below. */
10415 #include <assert.h>
10416 /* Override any gcc2 internal prototype to avoid an error. */
10417 /* We use char because int might match the return type of a gcc2
10418 builtin and then its argument prototype would still apply. */
10423 /* The GNU C library defines this for functions which it implements
10424 to always fail with ENOSYS. Some functions are actually named
10425 something starting with __ and the normal name is an alias. */
10426 #if defined (__stub_connect) || defined (__stub___connect)
10434 if { (eval echo configure
:10435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10436 eval "ac_cv_func_connect=yes"
10438 echo "configure: failed program was:" >&5
10439 cat conftest.
$ac_ext >&5
10441 eval "ac_cv_func_connect=no"
10446 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
10447 echo "$ac_t""yes" 1>&6
10450 echo "$ac_t""no" 1>&6
10453 if test $ac_cv_func_connect = no
; then
10454 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
10455 echo "configure:10456: checking for connect in -lsocket" >&5
10456 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
10457 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10458 echo $ac_n "(cached) $ac_c" 1>&6
10460 ac_save_LIBS
="$LIBS"
10461 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
10462 cat > conftest.
$ac_ext <<EOF
10463 #line 10464 "configure"
10464 #include "confdefs.h"
10465 /* Override any gcc2 internal prototype to avoid an error. */
10466 /* We use char because int might match the return type of a gcc2
10467 builtin and then its argument prototype would still apply. */
10474 if { (eval echo configure
:10475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10476 eval "ac_cv_lib_$ac_lib_var=yes"
10478 echo "configure: failed program was:" >&5
10479 cat conftest.
$ac_ext >&5
10481 eval "ac_cv_lib_$ac_lib_var=no"
10484 LIBS
="$ac_save_LIBS"
10487 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10488 echo "$ac_t""yes" 1>&6
10489 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
10491 echo "$ac_t""no" 1>&6
10496 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
10497 echo $ac_n "checking for remove""... $ac_c" 1>&6
10498 echo "configure:10499: checking for remove" >&5
10499 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10502 cat > conftest.
$ac_ext <<EOF
10503 #line 10504 "configure"
10504 #include "confdefs.h"
10505 /* System header to define __stub macros and hopefully few prototypes,
10506 which can conflict with char remove(); below. */
10507 #include <assert.h>
10508 /* Override any gcc2 internal prototype to avoid an error. */
10509 /* We use char because int might match the return type of a gcc2
10510 builtin and then its argument prototype would still apply. */
10515 /* The GNU C library defines this for functions which it implements
10516 to always fail with ENOSYS. Some functions are actually named
10517 something starting with __ and the normal name is an alias. */
10518 #if defined (__stub_remove) || defined (__stub___remove)
10526 if { (eval echo configure
:10527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10528 eval "ac_cv_func_remove=yes"
10530 echo "configure: failed program was:" >&5
10531 cat conftest.
$ac_ext >&5
10533 eval "ac_cv_func_remove=no"
10538 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
10539 echo "$ac_t""yes" 1>&6
10542 echo "$ac_t""no" 1>&6
10545 if test $ac_cv_func_remove = no
; then
10546 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
10547 echo "configure:10548: checking for remove in -lposix" >&5
10548 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
10549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10550 echo $ac_n "(cached) $ac_c" 1>&6
10552 ac_save_LIBS
="$LIBS"
10553 LIBS
="-lposix $LIBS"
10554 cat > conftest.
$ac_ext <<EOF
10555 #line 10556 "configure"
10556 #include "confdefs.h"
10557 /* Override any gcc2 internal prototype to avoid an error. */
10558 /* We use char because int might match the return type of a gcc2
10559 builtin and then its argument prototype would still apply. */
10566 if { (eval echo configure
:10567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10568 eval "ac_cv_lib_$ac_lib_var=yes"
10570 echo "configure: failed program was:" >&5
10571 cat conftest.
$ac_ext >&5
10573 eval "ac_cv_lib_$ac_lib_var=no"
10576 LIBS
="$ac_save_LIBS"
10579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10580 echo "$ac_t""yes" 1>&6
10581 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
10583 echo "$ac_t""no" 1>&6
10588 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10589 echo $ac_n "checking for shmat""... $ac_c" 1>&6
10590 echo "configure:10591: checking for shmat" >&5
10591 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
10592 echo $ac_n "(cached) $ac_c" 1>&6
10594 cat > conftest.
$ac_ext <<EOF
10595 #line 10596 "configure"
10596 #include "confdefs.h"
10597 /* System header to define __stub macros and hopefully few prototypes,
10598 which can conflict with char shmat(); below. */
10599 #include <assert.h>
10600 /* Override any gcc2 internal prototype to avoid an error. */
10601 /* We use char because int might match the return type of a gcc2
10602 builtin and then its argument prototype would still apply. */
10607 /* The GNU C library defines this for functions which it implements
10608 to always fail with ENOSYS. Some functions are actually named
10609 something starting with __ and the normal name is an alias. */
10610 #if defined (__stub_shmat) || defined (__stub___shmat)
10618 if { (eval echo configure
:10619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10620 eval "ac_cv_func_shmat=yes"
10622 echo "configure: failed program was:" >&5
10623 cat conftest.
$ac_ext >&5
10625 eval "ac_cv_func_shmat=no"
10630 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
10631 echo "$ac_t""yes" 1>&6
10634 echo "$ac_t""no" 1>&6
10637 if test $ac_cv_func_shmat = no
; then
10638 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
10639 echo "configure:10640: checking for shmat in -lipc" >&5
10640 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
10641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10642 echo $ac_n "(cached) $ac_c" 1>&6
10644 ac_save_LIBS
="$LIBS"
10646 cat > conftest.
$ac_ext <<EOF
10647 #line 10648 "configure"
10648 #include "confdefs.h"
10649 /* Override any gcc2 internal prototype to avoid an error. */
10650 /* We use char because int might match the return type of a gcc2
10651 builtin and then its argument prototype would still apply. */
10658 if { (eval echo configure
:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10660 eval "ac_cv_lib_$ac_lib_var=yes"
10662 echo "configure: failed program was:" >&5
10663 cat conftest.
$ac_ext >&5
10665 eval "ac_cv_lib_$ac_lib_var=no"
10668 LIBS
="$ac_save_LIBS"
10671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10672 echo "$ac_t""yes" 1>&6
10673 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10675 echo "$ac_t""no" 1>&6
10681 # Check for libraries that X11R6 Xt/Xaw programs need.
10682 ac_save_LDFLAGS
="$LDFLAGS"
10683 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10684 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10685 # check for ICE first), but we must link in the order -lSM -lICE or
10686 # we get undefined symbols. So assume we have SM if we have ICE.
10687 # These have to be linked with before -lX11, unlike the other
10688 # libraries we check for below, so use a different variable.
10689 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10690 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10691 echo "configure:10692: checking for IceConnectionNumber in -lICE" >&5
10692 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10694 echo $ac_n "(cached) $ac_c" 1>&6
10696 ac_save_LIBS
="$LIBS"
10697 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10698 cat > conftest.
$ac_ext <<EOF
10699 #line 10700 "configure"
10700 #include "confdefs.h"
10701 /* Override any gcc2 internal prototype to avoid an error. */
10702 /* We use char because int might match the return type of a gcc2
10703 builtin and then its argument prototype would still apply. */
10704 char IceConnectionNumber();
10707 IceConnectionNumber()
10710 if { (eval echo configure
:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10712 eval "ac_cv_lib_$ac_lib_var=yes"
10714 echo "configure: failed program was:" >&5
10715 cat conftest.
$ac_ext >&5
10717 eval "ac_cv_lib_$ac_lib_var=no"
10720 LIBS
="$ac_save_LIBS"
10723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10724 echo "$ac_t""yes" 1>&6
10725 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10727 echo "$ac_t""no" 1>&6
10730 LDFLAGS
="$ac_save_LDFLAGS"
10734 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10735 LDFLAGS
="$LDFLAGS $X_LIBS"
10737 if test "$wxUSE_MOTIF" = 1; then
10738 if test "$no_x" = "yes"; then
10739 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10742 GUI_TK_LIBRARY
="$X_LIBS"
10743 TOOLKIT_INCLUDE
="$X_CFLAGS"
10744 AFMINSTALL
=afminstall
10745 COMPILED_X_PROGRAM
=0
10747 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10748 echo "configure:10749: checking for Motif/Lesstif headers" >&5
10751 for ac_dir
in $SEARCH_INCLUDE;
10753 if test -f "$ac_dir/Xm/Xm.h"; then
10754 ac_find_includes
=$ac_dir
10759 if test "$ac_find_includes" != "" ; then
10760 echo "$ac_t""found $ac_find_includes" 1>&6
10762 cat > conftest.
$ac_ext <<EOF
10763 #line 10764 "configure"
10764 #include "confdefs.h"
10771 version = xmUseVersion;
10775 if { (eval echo configure
:10776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10778 echo "$ac_t""found in default search path" 1>&6
10779 COMPILED_X_PROGRAM
=1
10782 echo "configure: failed program was:" >&5
10783 cat conftest.
$ac_ext >&5
10786 echo "$ac_t""no" 1>&6
10787 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10794 if test "$COMPILED_X_PROGRAM" = 0; then
10795 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10796 echo "configure:10797: checking for Motif/Lesstif library" >&5
10799 for ac_dir
in $SEARCH_LIB;
10801 for ac_extension
in a so sl dylib
; do
10802 if test -f "$ac_dir/libXm.$ac_extension"; then
10803 ac_find_libraries
=$ac_dir
10809 if test "$ac_find_libraries" != "" ; then
10811 ac_path_to_include
=$ac_find_includes
10812 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10814 if test $result = 0; then
10815 ac_path_to_include
=""
10817 ac_path_to_include
="-I$ac_find_includes"
10821 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10823 if test $result = 0; then
10826 ac_path_to_link
="-L$ac_find_libraries"
10830 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10831 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10832 echo "$ac_t""found at $ac_find_libraries" 1>&6
10834 cat > conftest.
$ac_ext <<EOF
10835 #line 10836 "configure"
10836 #include "confdefs.h"
10843 version = xmUseVersion;
10847 if { (eval echo configure
:10848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10850 echo "$ac_t""found in default search path" 1>&6
10851 COMPILED_X_PROGRAM
=1
10854 echo "configure: failed program was:" >&5
10855 cat conftest.
$ac_ext >&5
10858 echo "$ac_t""no" 1>&6
10859 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10868 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10869 echo "configure:10870: checking for Xpm library" >&5
10872 for ac_dir
in $SEARCH_LIB;
10874 for ac_extension
in a so sl dylib
; do
10875 if test -f "$ac_dir/libXpm.$ac_extension"; then
10876 ac_find_libraries
=$ac_dir
10882 if test "$ac_find_libraries" != "" ; then
10884 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10886 if test $result = 0; then
10889 ac_path_to_link
="-L$ac_find_libraries"
10892 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10894 cat >> confdefs.h
<<\EOF
10895 #define wxHAVE_LIB_XPM 1
10898 echo "$ac_t""found at $ac_find_libraries" 1>&6
10900 cat > conftest.
$ac_ext <<EOF
10901 #line 10902 "configure"
10902 #include "confdefs.h"
10904 #include <X11/xpm.h>
10909 version = XpmLibraryVersion();
10913 if { (eval echo configure
:10914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10917 cat >> confdefs.h
<<\EOF
10918 #define wxHAVE_LIB_XPM 1
10921 echo "$ac_t""found in default search path" 1>&6
10922 COMPILED_X_PROGRAM
=0
10925 echo "configure: failed program was:" >&5
10926 cat conftest.
$ac_ext >&5
10929 echo "$ac_t""no" 1>&6
10930 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10937 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm $xpm_link -lXmu -lXext -lXt -lX11"
10938 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10943 if test "$wxUSE_MAC" = 1; then
10944 if test "$wxUSE_PRECOMP" = "yes"; then
10945 CPPFLAGS
="${CPPFLAGS} -cpp-precomp"
10947 CPPFLAGS
="${CPPFLAGS} -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
10948 CFLAGS
="${CFLAGS} -fpascal-strings"
10949 CXXFLAGS
="${CXXFLAGS} -fpascal-strings"
10950 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DTARGET_CARBON"
10952 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
10957 if test "$wxUSE_PM" = 1; then
10962 if test "$TOOLKIT" = "PM" ; then
10965 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10968 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
10970 if test "$wxUSE_UNIVERSAL" = "yes"; then
10971 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10972 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10973 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
10974 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
10977 ALL_OBJECTS
="\$(GUIOBJS)"
10980 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10982 if test "$TOOLKIT" != "MSW"; then
10983 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10986 if test "$wxUSE_HTML" = "yes"; then
10987 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10990 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
10991 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10993 if test "$wxUSE_LIBJPEG" = "yes" ; then
10994 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10996 if test "$wxUSE_LIBTIFF" = "yes" ; then
10997 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10999 if test "$wxUSE_LIBPNG" = "yes" ; then
11000 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
11002 if test "$wxUSE_FREETYPE" = "yes" ; then
11003 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
11006 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
11007 RPM_SPEC
="wx\$(TOOLKIT).spec"
11009 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
11010 DISTDIR
="wx\$(TOOLKIT)"
11016 if test "$USE_WIN32" = 1 ; then
11017 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
11018 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
11022 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
11023 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
11026 PORT_FILES
="\${top_srcdir}/src/files.lst"
11027 RPM_FILES
="src/rpmfiles.lst"
11028 RPM_SPEC
="wxBase.spec"
11030 GUIDIST
="BASE_DIST"
11034 if test "x$REGEX_INCLUDE" != "x" ; then
11035 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
11037 if test "$wxUSE_ZLIB" = "yes" ; then
11038 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
11041 if test "$wxUSE_OPENGL" = "yes"; then
11042 if test "$wxUSE_MAC" = 1; then
11043 cat >> confdefs.h
<<\EOF
11044 #define wxUSE_OPENGL 1
11047 cat >> confdefs.h
<<\EOF
11048 #define wxUSE_GLCANVAS 1
11051 OPENGL_LIBS
="-framework OpenGL -framework AGL"
11052 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11054 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11055 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11056 echo "configure:11057: checking for GL/gl.h" >&5
11057 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11058 echo $ac_n "(cached) $ac_c" 1>&6
11060 cat > conftest.
$ac_ext <<EOF
11061 #line 11062 "configure"
11062 #include "confdefs.h"
11065 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11066 { (eval echo configure
:11067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11067 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11068 if test -z "$ac_err"; then
11070 eval "ac_cv_header_$ac_safe=yes"
11073 echo "configure: failed program was:" >&5
11074 cat conftest.
$ac_ext >&5
11076 eval "ac_cv_header_$ac_safe=no"
11080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11081 echo "$ac_t""yes" 1>&6
11083 cat >> confdefs.h
<<\EOF
11084 #define wxUSE_OPENGL 1
11087 cat >> confdefs.h
<<\EOF
11088 #define wxUSE_GLCANVAS 1
11091 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
11092 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
11093 echo "configure:11094: checking for glFlush in -lGL" >&5
11094 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
11095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11096 echo $ac_n "(cached) $ac_c" 1>&6
11098 ac_save_LIBS
="$LIBS"
11100 cat > conftest.
$ac_ext <<EOF
11101 #line 11102 "configure"
11102 #include "confdefs.h"
11103 /* Override any gcc2 internal prototype to avoid an error. */
11104 /* We use char because int might match the return type of a gcc2
11105 builtin and then its argument prototype would still apply. */
11112 if { (eval echo configure
:11113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11114 eval "ac_cv_lib_$ac_lib_var=yes"
11116 echo "configure: failed program was:" >&5
11117 cat conftest.
$ac_ext >&5
11119 eval "ac_cv_lib_$ac_lib_var=no"
11122 LIBS
="$ac_save_LIBS"
11125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11126 echo "$ac_t""yes" 1>&6
11128 OPENGL_LIBS
="-lGL -lGLU"
11131 echo "$ac_t""no" 1>&6
11133 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
11134 echo "configure:11135: checking for glFlush in -lMesaGL" >&5
11135 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
11136 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11137 echo $ac_n "(cached) $ac_c" 1>&6
11139 ac_save_LIBS
="$LIBS"
11140 LIBS
="-lMesaGL $LIBS"
11141 cat > conftest.
$ac_ext <<EOF
11142 #line 11143 "configure"
11143 #include "confdefs.h"
11144 /* Override any gcc2 internal prototype to avoid an error. */
11145 /* We use char because int might match the return type of a gcc2
11146 builtin and then its argument prototype would still apply. */
11153 if { (eval echo configure
:11154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11155 eval "ac_cv_lib_$ac_lib_var=yes"
11157 echo "configure: failed program was:" >&5
11158 cat conftest.
$ac_ext >&5
11160 eval "ac_cv_lib_$ac_lib_var=no"
11163 LIBS
="$ac_save_LIBS"
11166 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11167 echo "$ac_t""yes" 1>&6
11169 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
11172 echo "$ac_t""no" 1>&6
11180 echo "$ac_t""no" 1>&6
11187 if test -z "$TOOLKIT_VPATH" ; then
11188 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
11191 if test -n "$TOOLKIT" ; then
11192 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
11195 if test "$wxUSE_CYGWIN" = 1 ; then
11196 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11200 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
11202 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}d"
11205 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}-${WX_RELEASE}"
11206 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_debug_suffix}_gl-${WX_RELEASE}"
11208 if test "$cross_compiling" = "yes"; then
11209 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
11210 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
11213 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
11214 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
11216 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
11218 if test "$wxUSE_OPENGL" = "yes"; then
11219 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} $OPENGL_LIBS"
11222 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
11223 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
11225 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11226 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
11228 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
11229 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
11230 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
11231 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
11233 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
11237 if test "$wxUSE_SHARED" = "yes"; then
11239 if test "$wxUSE_OPENGL" = "yes"; then
11240 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
11241 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
11243 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
11244 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
11247 if test "$GCC" = "yes"; then
11251 SHARED_LD
="${CXX} -shared -o"
11255 if test "$GCC" != "yes"; then
11256 LDFLAGS
="-L/usr/lib"
11258 SHARED_LD
="${CXX} -b -o"
11262 if test "$wxUSE_OPENGL" = "yes"; then
11263 WX_ALL_INSTALLED
="preinstall_gl"
11264 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11266 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11271 if test "$GCC" != "yes"; then
11272 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
11273 echo "configure:11274: checking for Intel compiler" >&5
11274 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
11275 echo $ac_n "(cached) $ac_c" 1>&6
11278 cat > conftest.
$ac_ext <<EOF
11279 #line 11280 "configure"
11280 #include "confdefs.h"
11284 #ifndef __INTEL_COMPILER
11290 if { (eval echo configure
:11291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11294 echo "configure: failed program was:" >&5
11295 cat conftest.
$ac_ext >&5
11304 echo "$ac_t""$wx_cv_prog_icc" 1>&6
11305 if test "$wx_cv_prog_icc" = "yes"; then
11310 if test "$wxUSE_SONAME" = "yes" ; then
11311 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
11312 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
11313 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
11318 if test "$GCC" = yes ; then
11319 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
11321 SHARED_LD
="${CXX} -G -o"
11323 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
11324 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
11329 CFLAGS
="${CFLAGS} -fno-common"
11330 CXXFLAGS
="${CXXFLAGS} -fno-common"
11331 SHARED_LD
="${CXX} -dynamiclib -o"
11332 PIC_FLAG
="-dynamic -fPIC"
11336 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
11339 *-*-cygwin* | *-*-mingw32* )
11340 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_NAME_STATIC} -o"
11341 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXUSINGDLL=1"
11342 WXMSW_DLL_DEFINES
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
11344 if test "$wxUSE_OPENGL" = "yes"; then
11345 WX_ALL_INSTALLED
="preinstall_gl"
11346 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
11348 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
11358 SHARED_LD
="${LD} -shared -o"
11361 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
11363 *-*-irix5* | *-*-irix6* | \
11370 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
11373 if test "x$WX_TARGET_LIBRARY" = "x"; then
11374 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
11375 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
11378 WX_TARGET_LIBRARY_TYPE
="so"
11381 if test "$wxUSE_SHARED" = "no"; then
11383 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
11384 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
11387 if test "$wxUSE_OPENGL" = "yes"; then
11388 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
11389 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
11391 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
11394 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
11395 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
11397 WX_TARGET_LIBRARY_TYPE
="a"
11400 if test "$wxUSE_MAC" = 1; then
11401 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
11402 # Extract the first word of "Rez", so it can be a program name with args.
11403 set dummy Rez
; ac_word
=$2
11404 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11405 echo "configure:11406: checking for $ac_word" >&5
11406 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
11407 echo $ac_n "(cached) $ac_c" 1>&6
11409 if test -n "$RESCOMP"; then
11410 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
11412 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11414 for ac_dir
in $ac_dummy; do
11415 test -z "$ac_dir" && ac_dir
=.
11416 if test -f $ac_dir/$ac_word; then
11417 ac_cv_prog_RESCOMP
="Rez"
11422 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
11425 RESCOMP
="$ac_cv_prog_RESCOMP"
11426 if test -n "$RESCOMP"; then
11427 echo "$ac_t""$RESCOMP" 1>&6
11429 echo "$ac_t""no" 1>&6
11432 # Extract the first word of "Derez", so it can be a program name with args.
11433 set dummy Derez
; ac_word
=$2
11434 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11435 echo "configure:11436: checking for $ac_word" >&5
11436 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
11437 echo $ac_n "(cached) $ac_c" 1>&6
11439 if test -n "$DEREZ"; then
11440 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
11442 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11444 for ac_dir
in $ac_dummy; do
11445 test -z "$ac_dir" && ac_dir
=.
11446 if test -f $ac_dir/$ac_word; then
11447 ac_cv_prog_DEREZ
="Derez"
11452 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
11455 DEREZ
="$ac_cv_prog_DEREZ"
11456 if test -n "$DEREZ"; then
11457 echo "$ac_t""$DEREZ" 1>&6
11459 echo "$ac_t""no" 1>&6
11462 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
11463 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
11467 if test "$wxUSE_MAC" != 1; then
11468 for ac_hdr
in strings.h
11470 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11471 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11472 echo "configure:11473: checking for $ac_hdr" >&5
11473 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11474 echo $ac_n "(cached) $ac_c" 1>&6
11476 cat > conftest.
$ac_ext <<EOF
11477 #line 11478 "configure"
11478 #include "confdefs.h"
11481 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11482 { (eval echo configure
:11483: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11483 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11484 if test -z "$ac_err"; then
11486 eval "ac_cv_header_$ac_safe=yes"
11489 echo "configure: failed program was:" >&5
11490 cat conftest.
$ac_ext >&5
11492 eval "ac_cv_header_$ac_safe=no"
11496 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11497 echo "$ac_t""yes" 1>&6
11498 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11499 cat >> confdefs.h
<<EOF
11500 #define $ac_tr_hdr 1
11504 echo "$ac_t""no" 1>&6
11510 for ac_hdr
in stdlib.h
11512 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11513 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11514 echo "configure:11515: checking for $ac_hdr" >&5
11515 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11516 echo $ac_n "(cached) $ac_c" 1>&6
11518 cat > conftest.
$ac_ext <<EOF
11519 #line 11520 "configure"
11520 #include "confdefs.h"
11523 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11524 { (eval echo configure
:11525: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11525 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11526 if test -z "$ac_err"; then
11528 eval "ac_cv_header_$ac_safe=yes"
11531 echo "configure: failed program was:" >&5
11532 cat conftest.
$ac_ext >&5
11534 eval "ac_cv_header_$ac_safe=no"
11538 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11539 echo "$ac_t""yes" 1>&6
11540 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11541 cat >> confdefs.h
<<EOF
11542 #define $ac_tr_hdr 1
11546 echo "$ac_t""no" 1>&6
11550 for ac_hdr
in unistd.h
11552 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11553 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11554 echo "configure:11555: checking for $ac_hdr" >&5
11555 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11556 echo $ac_n "(cached) $ac_c" 1>&6
11558 cat > conftest.
$ac_ext <<EOF
11559 #line 11560 "configure"
11560 #include "confdefs.h"
11563 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11564 { (eval echo configure
:11565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11565 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11566 if test -z "$ac_err"; then
11568 eval "ac_cv_header_$ac_safe=yes"
11571 echo "configure: failed program was:" >&5
11572 cat conftest.
$ac_ext >&5
11574 eval "ac_cv_header_$ac_safe=no"
11578 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11579 echo "$ac_t""yes" 1>&6
11580 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11581 cat >> confdefs.h
<<EOF
11582 #define $ac_tr_hdr 1
11586 echo "$ac_t""no" 1>&6
11590 for ac_hdr
in wchar.h
11592 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11593 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11594 echo "configure:11595: checking for $ac_hdr" >&5
11595 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11596 echo $ac_n "(cached) $ac_c" 1>&6
11598 cat > conftest.
$ac_ext <<EOF
11599 #line 11600 "configure"
11600 #include "confdefs.h"
11603 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11604 { (eval echo configure
:11605: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11605 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11606 if test -z "$ac_err"; then
11608 eval "ac_cv_header_$ac_safe=yes"
11611 echo "configure: failed program was:" >&5
11612 cat conftest.
$ac_ext >&5
11614 eval "ac_cv_header_$ac_safe=no"
11618 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11619 echo "$ac_t""yes" 1>&6
11620 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11621 cat >> confdefs.h
<<EOF
11622 #define $ac_tr_hdr 1
11626 echo "$ac_t""no" 1>&6
11630 for ac_hdr
in wcstr.h
11632 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11633 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11634 echo "configure:11635: checking for $ac_hdr" >&5
11635 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11636 echo $ac_n "(cached) $ac_c" 1>&6
11638 cat > conftest.
$ac_ext <<EOF
11639 #line 11640 "configure"
11640 #include "confdefs.h"
11643 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11644 { (eval echo configure
:11645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11645 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11646 if test -z "$ac_err"; then
11648 eval "ac_cv_header_$ac_safe=yes"
11651 echo "configure: failed program was:" >&5
11652 cat conftest.
$ac_ext >&5
11654 eval "ac_cv_header_$ac_safe=no"
11658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11659 echo "$ac_t""yes" 1>&6
11660 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11661 cat >> confdefs.h
<<EOF
11662 #define $ac_tr_hdr 1
11666 echo "$ac_t""no" 1>&6
11670 for ac_hdr
in fnmatch.h
11672 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11673 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11674 echo "configure:11675: checking for $ac_hdr" >&5
11675 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11676 echo $ac_n "(cached) $ac_c" 1>&6
11678 cat > conftest.
$ac_ext <<EOF
11679 #line 11680 "configure"
11680 #include "confdefs.h"
11683 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11684 { (eval echo configure
:11685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11685 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11686 if test -z "$ac_err"; then
11688 eval "ac_cv_header_$ac_safe=yes"
11691 echo "configure: failed program was:" >&5
11692 cat conftest.
$ac_ext >&5
11694 eval "ac_cv_header_$ac_safe=no"
11698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11699 echo "$ac_t""yes" 1>&6
11700 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11701 cat >> confdefs.h
<<EOF
11702 #define $ac_tr_hdr 1
11706 echo "$ac_t""no" 1>&6
11710 for ac_hdr
in iconv.h
11712 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11713 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11714 echo "configure:11715: checking for $ac_hdr" >&5
11715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11716 echo $ac_n "(cached) $ac_c" 1>&6
11718 cat > conftest.
$ac_ext <<EOF
11719 #line 11720 "configure"
11720 #include "confdefs.h"
11723 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11724 { (eval echo configure
:11725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11725 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11726 if test -z "$ac_err"; then
11728 eval "ac_cv_header_$ac_safe=yes"
11731 echo "configure: failed program was:" >&5
11732 cat conftest.
$ac_ext >&5
11734 eval "ac_cv_header_$ac_safe=no"
11738 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11739 echo "$ac_t""yes" 1>&6
11740 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11741 cat >> confdefs.h
<<EOF
11742 #define $ac_tr_hdr 1
11746 echo "$ac_t""no" 1>&6
11750 for ac_hdr
in langinfo.h
11752 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11753 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11754 echo "configure:11755: checking for $ac_hdr" >&5
11755 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11756 echo $ac_n "(cached) $ac_c" 1>&6
11758 cat > conftest.
$ac_ext <<EOF
11759 #line 11760 "configure"
11760 #include "confdefs.h"
11763 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11764 { (eval echo configure
:11765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11765 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11766 if test -z "$ac_err"; then
11768 eval "ac_cv_header_$ac_safe=yes"
11771 echo "configure: failed program was:" >&5
11772 cat conftest.
$ac_ext >&5
11774 eval "ac_cv_header_$ac_safe=no"
11778 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11779 echo "$ac_t""yes" 1>&6
11780 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11781 cat >> confdefs.h
<<EOF
11782 #define $ac_tr_hdr 1
11786 echo "$ac_t""no" 1>&6
11791 if test "$wxUSE_GUI" = "yes"; then
11792 if test "$wxUSE_UNIX" = "yes"; then
11793 for ac_hdr
in X
11/XKBlib.h
11795 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11796 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11797 echo "configure:11798: checking for $ac_hdr" >&5
11798 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11799 echo $ac_n "(cached) $ac_c" 1>&6
11801 cat > conftest.
$ac_ext <<EOF
11802 #line 11803 "configure"
11803 #include "confdefs.h"
11806 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11807 { (eval echo configure
:11808: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11808 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11809 if test -z "$ac_err"; then
11811 eval "ac_cv_header_$ac_safe=yes"
11814 echo "configure: failed program was:" >&5
11815 cat conftest.
$ac_ext >&5
11817 eval "ac_cv_header_$ac_safe=no"
11821 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11822 echo "$ac_t""yes" 1>&6
11823 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11824 cat >> confdefs.h
<<EOF
11825 #define $ac_tr_hdr 1
11829 echo "$ac_t""no" 1>&6
11837 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
11838 echo "configure:11839: checking for ANSI C header files" >&5
11839 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
11840 echo $ac_n "(cached) $ac_c" 1>&6
11842 cat > conftest.
$ac_ext <<EOF
11843 #line 11844 "configure"
11844 #include "confdefs.h"
11845 #include <stdlib.h>
11846 #include <stdarg.h>
11847 #include <string.h>
11850 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11851 { (eval echo configure
:11852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11852 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11853 if test -z "$ac_err"; then
11855 ac_cv_header_stdc
=yes
11858 echo "configure: failed program was:" >&5
11859 cat conftest.
$ac_ext >&5
11861 ac_cv_header_stdc
=no
11865 if test $ac_cv_header_stdc = yes; then
11866 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11867 cat > conftest.
$ac_ext <<EOF
11868 #line 11869 "configure"
11869 #include "confdefs.h"
11870 #include <string.h>
11872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11873 egrep "memchr" >/dev
/null
2>&1; then
11877 ac_cv_header_stdc
=no
11883 if test $ac_cv_header_stdc = yes; then
11884 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11885 cat > conftest.
$ac_ext <<EOF
11886 #line 11887 "configure"
11887 #include "confdefs.h"
11888 #include <stdlib.h>
11890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11891 egrep "free" >/dev
/null
2>&1; then
11895 ac_cv_header_stdc
=no
11901 if test $ac_cv_header_stdc = yes; then
11902 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11903 if test "$cross_compiling" = yes; then
11906 cat > conftest.
$ac_ext <<EOF
11907 #line 11908 "configure"
11908 #include "confdefs.h"
11910 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11911 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11912 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11913 int main () { int i; for (i = 0; i < 256; i++)
11914 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11918 if { (eval echo configure
:11919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11922 echo "configure: failed program was:" >&5
11923 cat conftest.
$ac_ext >&5
11925 ac_cv_header_stdc
=no
11933 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11934 if test $ac_cv_header_stdc = yes; then
11935 cat >> confdefs.h
<<\EOF
11936 #define STDC_HEADERS 1
11941 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11942 echo "configure:11943: checking for mode_t" >&5
11943 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11944 echo $ac_n "(cached) $ac_c" 1>&6
11946 cat > conftest.
$ac_ext <<EOF
11947 #line 11948 "configure"
11948 #include "confdefs.h"
11949 #include <sys/types.h>
11951 #include <stdlib.h>
11952 #include <stddef.h>
11955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11956 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11958 ac_cv_type_mode_t
=yes
11961 ac_cv_type_mode_t
=no
11966 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11967 if test $ac_cv_type_mode_t = no
; then
11968 cat >> confdefs.h
<<\EOF
11974 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11975 echo "configure:11976: checking for off_t" >&5
11976 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11977 echo $ac_n "(cached) $ac_c" 1>&6
11979 cat > conftest.
$ac_ext <<EOF
11980 #line 11981 "configure"
11981 #include "confdefs.h"
11982 #include <sys/types.h>
11984 #include <stdlib.h>
11985 #include <stddef.h>
11988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11989 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11991 ac_cv_type_off_t
=yes
11994 ac_cv_type_off_t
=no
11999 echo "$ac_t""$ac_cv_type_off_t" 1>&6
12000 if test $ac_cv_type_off_t = no
; then
12001 cat >> confdefs.h
<<\EOF
12007 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
12008 echo "configure:12009: checking for pid_t" >&5
12009 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
12010 echo $ac_n "(cached) $ac_c" 1>&6
12012 cat > conftest.
$ac_ext <<EOF
12013 #line 12014 "configure"
12014 #include "confdefs.h"
12015 #include <sys/types.h>
12017 #include <stdlib.h>
12018 #include <stddef.h>
12021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12022 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12024 ac_cv_type_pid_t
=yes
12027 ac_cv_type_pid_t
=no
12032 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
12033 if test $ac_cv_type_pid_t = no
; then
12034 cat >> confdefs.h
<<\EOF
12040 echo $ac_n "checking for size_t""... $ac_c" 1>&6
12041 echo "configure:12042: checking for size_t" >&5
12042 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
12043 echo $ac_n "(cached) $ac_c" 1>&6
12045 cat > conftest.
$ac_ext <<EOF
12046 #line 12047 "configure"
12047 #include "confdefs.h"
12048 #include <sys/types.h>
12050 #include <stdlib.h>
12051 #include <stddef.h>
12054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12055 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12057 ac_cv_type_size_t
=yes
12060 ac_cv_type_size_t
=no
12065 echo "$ac_t""$ac_cv_type_size_t" 1>&6
12066 if test $ac_cv_type_size_t = no
; then
12067 cat >> confdefs.h
<<\EOF
12068 #define size_t unsigned
12073 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
12074 echo "configure:12075: checking for uid_t in sys/types.h" >&5
12075 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
12076 echo $ac_n "(cached) $ac_c" 1>&6
12078 cat > conftest.
$ac_ext <<EOF
12079 #line 12080 "configure"
12080 #include "confdefs.h"
12081 #include <sys/types.h>
12083 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12084 egrep "uid_t" >/dev
/null
2>&1; then
12086 ac_cv_type_uid_t
=yes
12089 ac_cv_type_uid_t
=no
12095 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
12096 if test $ac_cv_type_uid_t = no
; then
12097 cat >> confdefs.h
<<\EOF
12101 cat >> confdefs.h
<<\EOF
12108 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
12109 echo "configure:12110: checking for wchar_t" >&5
12110 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
12111 echo $ac_n "(cached) $ac_c" 1>&6
12114 cat > conftest.
$ac_ext <<EOF
12115 #line 12116 "configure"
12116 #include "confdefs.h"
12122 ws = L"Hello, world!";
12126 if { (eval echo configure
:12127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12128 wx_cv_type_wchar_t
=yes
12130 echo "configure: failed program was:" >&5
12131 cat conftest.
$ac_ext >&5
12133 cat > conftest.
$ac_ext <<EOF
12134 #line 12135 "configure"
12135 #include "confdefs.h"
12136 #include <stdlib.h>
12141 ws = L"Hello, world!";
12145 if { (eval echo configure
:12146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12147 wx_cv_type_wchar_t
=yes
12149 echo "configure: failed program was:" >&5
12150 cat conftest.
$ac_ext >&5
12152 wx_cv_type_wchar_t
=no
12161 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
12163 if test "$wx_cv_type_wchar_t" = "yes"; then
12164 cat >> confdefs.h
<<\EOF
12165 #define wxUSE_WCHAR_T 1
12172 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12173 ac_cpp
='$CXXCPP $CPPFLAGS'
12174 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12175 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12176 cross_compiling
=$ac_cv_prog_cxx_cross
12178 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
12179 echo "configure:12180: checking if size_t is unsigned int" >&5
12180 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
12181 echo $ac_n "(cached) $ac_c" 1>&6
12183 cat > conftest.
$ac_ext <<EOF
12184 #line 12185 "configure"
12185 #include "confdefs.h"
12186 #include <stddef.h>
12191 struct Foo { void foo(size_t); void foo(unsigned int); };
12197 if { (eval echo configure
:12198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12199 wx_cv_size_t_is_uint
=no
12201 echo "configure: failed program was:" >&5
12202 cat conftest.
$ac_ext >&5
12204 wx_cv_size_t_is_uint
=yes
12211 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
12213 if test "$wx_cv_size_t_is_uint" = "yes"; then
12214 cat >> confdefs.h
<<\EOF
12215 #define wxSIZE_T_IS_UINT 1
12219 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
12220 echo "configure:12221: checking if size_t is unsigned long" >&5
12221 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
12222 echo $ac_n "(cached) $ac_c" 1>&6
12224 cat > conftest.
$ac_ext <<EOF
12225 #line 12226 "configure"
12226 #include "confdefs.h"
12227 #include <stddef.h>
12232 struct Foo { void foo(size_t); void foo(unsigned long); };
12238 if { (eval echo configure
:12239: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12240 wx_cv_size_t_is_ulong
=no
12242 echo "configure: failed program was:" >&5
12243 cat conftest.
$ac_ext >&5
12245 wx_cv_size_t_is_ulong
=yes
12252 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
12254 if test "$wx_cv_size_t_is_ulong" = "yes"; then
12255 cat >> confdefs.h
<<\EOF
12256 #define wxSIZE_T_IS_ULONG 1
12263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12264 ac_cpp
='$CPP $CPPFLAGS'
12265 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12266 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12267 cross_compiling
=$ac_cv_prog_cc_cross
12271 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
12272 echo "configure:12273: checking for pw_gecos in struct passwd" >&5
12273 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
12274 echo $ac_n "(cached) $ac_c" 1>&6
12277 cat > conftest.
$ac_ext <<EOF
12278 #line 12279 "configure"
12279 #include "confdefs.h"
12289 if { (eval echo configure
:12290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12292 wx_cv_struct_pw_gecos
=yes
12295 echo "configure: failed program was:" >&5
12296 cat conftest.
$ac_ext >&5
12299 wx_cv_struct_pw_gecos
=no
12308 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
12310 if test "$wx_cv_struct_pw_gecos" = "yes"; then
12311 cat >> confdefs.h
<<\EOF
12312 #define HAVE_PW_GECOS 1
12318 echo $ac_n "checking for working const""... $ac_c" 1>&6
12319 echo "configure:12320: checking for working const" >&5
12320 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
12321 echo $ac_n "(cached) $ac_c" 1>&6
12323 cat > conftest.
$ac_ext <<EOF
12324 #line 12325 "configure"
12325 #include "confdefs.h"
12329 /* Ultrix mips cc rejects this. */
12330 typedef int charset[2]; const charset x;
12331 /* SunOS 4.1.1 cc rejects this. */
12332 char const *const *ccp;
12334 /* NEC SVR4.0.2 mips cc rejects this. */
12335 struct point {int x, y;};
12336 static struct point const zero = {0,0};
12337 /* AIX XL C 1.02.0.0 rejects this.
12338 It does not let you subtract one const X* pointer from another in an arm
12339 of an if-expression whose if-part is not a constant expression */
12340 const char *g = "string";
12341 ccp = &g + (g ? g-g : 0);
12342 /* HPUX 7.0 cc rejects these. */
12345 ccp = (char const *const *) p;
12346 { /* SCO 3.2v4 cc rejects this. */
12348 char const *s = 0 ? (char *) 0 : (char const *) 0;
12352 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12353 int x[] = {25, 17};
12354 const int *foo = &x[0];
12357 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12358 typedef const int *iptr;
12362 { /* AIX XL C 1.02.0.0 rejects this saying
12363 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12364 struct s { int j; const int *ap[3]; };
12365 struct s *b; b->j = 5;
12367 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12368 const int foo = 10;
12373 if { (eval echo configure
:12374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12377 echo "configure: failed program was:" >&5
12378 cat conftest.
$ac_ext >&5
12385 echo "$ac_t""$ac_cv_c_const" 1>&6
12386 if test $ac_cv_c_const = no
; then
12387 cat >> confdefs.h
<<\EOF
12393 echo $ac_n "checking for inline""... $ac_c" 1>&6
12394 echo "configure:12395: checking for inline" >&5
12395 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
12396 echo $ac_n "(cached) $ac_c" 1>&6
12399 for ac_kw
in inline __inline__ __inline
; do
12400 cat > conftest.
$ac_ext <<EOF
12401 #line 12402 "configure"
12402 #include "confdefs.h"
12408 if { (eval echo configure
:12409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12410 ac_cv_c_inline
=$ac_kw; break
12412 echo "configure: failed program was:" >&5
12413 cat conftest.
$ac_ext >&5
12420 echo "$ac_t""$ac_cv_c_inline" 1>&6
12421 case "$ac_cv_c_inline" in
12423 no
) cat >> confdefs.h
<<\EOF
12427 *) cat >> confdefs.h
<<EOF
12428 #define inline $ac_cv_c_inline
12434 echo $ac_n "checking size of char""... $ac_c" 1>&6
12435 echo "configure:12436: checking size of char" >&5
12436 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
12437 echo $ac_n "(cached) $ac_c" 1>&6
12439 if test "$cross_compiling" = yes; then
12440 ac_cv_sizeof_char
=1
12442 cat > conftest.
$ac_ext <<EOF
12443 #line 12444 "configure"
12444 #include "confdefs.h"
12446 #include <sys/types.h>
12449 FILE *f=fopen("conftestval", "w");
12451 fprintf(f, "%d\n", sizeof(char));
12455 if { (eval echo configure
:12456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12457 ac_cv_sizeof_char
=`cat conftestval`
12459 echo "configure: failed program was:" >&5
12460 cat conftest.
$ac_ext >&5
12462 ac_cv_sizeof_char
=0
12468 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
12469 cat >> confdefs.h
<<EOF
12470 #define SIZEOF_CHAR $ac_cv_sizeof_char
12474 echo $ac_n "checking size of short""... $ac_c" 1>&6
12475 echo "configure:12476: checking size of short" >&5
12476 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
12477 echo $ac_n "(cached) $ac_c" 1>&6
12479 if test "$cross_compiling" = yes; then
12480 ac_cv_sizeof_short
=2
12482 cat > conftest.
$ac_ext <<EOF
12483 #line 12484 "configure"
12484 #include "confdefs.h"
12486 #include <sys/types.h>
12489 FILE *f=fopen("conftestval", "w");
12491 fprintf(f, "%d\n", sizeof(short));
12495 if { (eval echo configure
:12496: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12497 ac_cv_sizeof_short
=`cat conftestval`
12499 echo "configure: failed program was:" >&5
12500 cat conftest.
$ac_ext >&5
12502 ac_cv_sizeof_short
=0
12508 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
12509 cat >> confdefs.h
<<EOF
12510 #define SIZEOF_SHORT $ac_cv_sizeof_short
12514 echo $ac_n "checking size of int *""... $ac_c" 1>&6
12515 echo "configure:12516: checking size of int *" >&5
12516 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
12517 echo $ac_n "(cached) $ac_c" 1>&6
12519 if test "$cross_compiling" = yes; then
12520 ac_cv_sizeof_int_p
=4
12522 cat > conftest.
$ac_ext <<EOF
12523 #line 12524 "configure"
12524 #include "confdefs.h"
12526 #include <sys/types.h>
12529 FILE *f=fopen("conftestval", "w");
12531 fprintf(f, "%d\n", sizeof(int *));
12535 if { (eval echo configure
:12536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12537 ac_cv_sizeof_int_p
=`cat conftestval`
12539 echo "configure: failed program was:" >&5
12540 cat conftest.
$ac_ext >&5
12542 ac_cv_sizeof_int_p
=0
12548 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
12549 cat >> confdefs.h
<<EOF
12550 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
12554 echo $ac_n "checking size of int""... $ac_c" 1>&6
12555 echo "configure:12556: checking size of int" >&5
12556 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
12557 echo $ac_n "(cached) $ac_c" 1>&6
12559 if test "$cross_compiling" = yes; then
12562 cat > conftest.
$ac_ext <<EOF
12563 #line 12564 "configure"
12564 #include "confdefs.h"
12566 #include <sys/types.h>
12569 FILE *f=fopen("conftestval", "w");
12571 fprintf(f, "%d\n", sizeof(int));
12575 if { (eval echo configure
:12576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12577 ac_cv_sizeof_int
=`cat conftestval`
12579 echo "configure: failed program was:" >&5
12580 cat conftest.
$ac_ext >&5
12588 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
12589 cat >> confdefs.h
<<EOF
12590 #define SIZEOF_INT $ac_cv_sizeof_int
12594 echo $ac_n "checking size of long""... $ac_c" 1>&6
12595 echo "configure:12596: checking size of long" >&5
12596 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
12597 echo $ac_n "(cached) $ac_c" 1>&6
12599 if test "$cross_compiling" = yes; then
12600 ac_cv_sizeof_long
=4
12602 cat > conftest.
$ac_ext <<EOF
12603 #line 12604 "configure"
12604 #include "confdefs.h"
12606 #include <sys/types.h>
12609 FILE *f=fopen("conftestval", "w");
12611 fprintf(f, "%d\n", sizeof(long));
12615 if { (eval echo configure
:12616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12617 ac_cv_sizeof_long
=`cat conftestval`
12619 echo "configure: failed program was:" >&5
12620 cat conftest.
$ac_ext >&5
12622 ac_cv_sizeof_long
=0
12628 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
12629 cat >> confdefs.h
<<EOF
12630 #define SIZEOF_LONG $ac_cv_sizeof_long
12634 echo $ac_n "checking size of long long""... $ac_c" 1>&6
12635 echo "configure:12636: checking size of long long" >&5
12636 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
12637 echo $ac_n "(cached) $ac_c" 1>&6
12639 if test "$cross_compiling" = yes; then
12640 ac_cv_sizeof_long_long
=0
12642 cat > conftest.
$ac_ext <<EOF
12643 #line 12644 "configure"
12644 #include "confdefs.h"
12646 #include <sys/types.h>
12649 FILE *f=fopen("conftestval", "w");
12651 fprintf(f, "%d\n", sizeof(long long));
12655 if { (eval echo configure
:12656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12657 ac_cv_sizeof_long_long
=`cat conftestval`
12659 echo "configure: failed program was:" >&5
12660 cat conftest.
$ac_ext >&5
12662 ac_cv_sizeof_long_long
=0
12668 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
12669 cat >> confdefs.h
<<EOF
12670 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
12675 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
12676 echo "configure:12677: checking size of wchar_t" >&5
12677 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
12678 echo $ac_n "(cached) $ac_c" 1>&6
12681 if test "$cross_compiling" = yes; then
12682 wx_cv_sizeof_wchar_t
=4
12685 cat > conftest.
$ac_ext <<EOF
12686 #line 12687 "configure"
12687 #include "confdefs.h"
12689 #ifdef HAVE_WCHAR_H
12690 # include <wchar.h>
12692 #ifdef HAVE_STDLIB_H
12693 # include <stdlib.h>
12698 FILE *f=fopen("conftestval", "w");
12700 fprintf(f, "%i", sizeof(wchar_t));
12705 if { (eval echo configure
:12706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12707 wx_cv_sizeof_wchar_t
=`cat conftestval`
12709 echo "configure: failed program was:" >&5
12710 cat conftest.
$ac_ext >&5
12712 wx_cv_sizeof_wchar_t
=0
12720 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
12722 cat >> confdefs.h
<<EOF
12723 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
12727 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
12728 echo "configure:12729: checking whether byte ordering is bigendian" >&5
12729 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
12730 echo $ac_n "(cached) $ac_c" 1>&6
12732 ac_cv_c_bigendian
=unknown
12733 # See if sys/param.h defines the BYTE_ORDER macro.
12734 cat > conftest.
$ac_ext <<EOF
12735 #line 12736 "configure"
12736 #include "confdefs.h"
12737 #include <sys/types.h>
12738 #include <sys/param.h>
12741 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12742 bogus endian macros
12746 if { (eval echo configure
:12747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12748 # It does; now see whether it defined to BIG_ENDIAN or not.
12749 cat > conftest.
$ac_ext <<EOF
12750 #line 12751 "configure"
12751 #include "confdefs.h"
12752 #include <sys/types.h>
12753 #include <sys/param.h>
12756 #if BYTE_ORDER != BIG_ENDIAN
12761 if { (eval echo configure
:12762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12763 ac_cv_c_bigendian
=yes
12765 echo "configure: failed program was:" >&5
12766 cat conftest.
$ac_ext >&5
12768 ac_cv_c_bigendian
=no
12772 echo "configure: failed program was:" >&5
12773 cat conftest.
$ac_ext >&5
12776 if test $ac_cv_c_bigendian = unknown
; then
12777 if test "$cross_compiling" = yes; then
12778 ac_cv_c_bigendian
=unknown
12780 cat > conftest.
$ac_ext <<EOF
12781 #line 12782 "configure"
12782 #include "confdefs.h"
12784 /* Are we little or big endian? From Harbison&Steele. */
12788 char c[sizeof (long)];
12791 exit (u.c[sizeof (long) - 1] == 1);
12794 if { (eval echo configure
:12795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12796 ac_cv_c_bigendian
=no
12798 echo "configure: failed program was:" >&5
12799 cat conftest.
$ac_ext >&5
12801 ac_cv_c_bigendian
=yes
12809 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
12810 if test $ac_cv_c_bigendian = unknown
; then
12811 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
12813 if test $ac_cv_c_bigendian = yes; then
12814 cat >> confdefs.h
<<\EOF
12815 #define WORDS_BIGENDIAN 1
12821 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
12822 echo "configure:12823: checking how to run the C++ preprocessor" >&5
12823 if test -z "$CXXCPP"; then
12824 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
12825 echo $ac_n "(cached) $ac_c" 1>&6
12828 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12829 ac_cpp
='$CXXCPP $CPPFLAGS'
12830 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12831 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12832 cross_compiling
=$ac_cv_prog_cxx_cross
12833 CXXCPP
="${CXX-g++} -E"
12834 cat > conftest.
$ac_ext <<EOF
12835 #line 12836 "configure"
12836 #include "confdefs.h"
12837 #include <stdlib.h>
12839 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12840 { (eval echo configure
:12841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12841 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12842 if test -z "$ac_err"; then
12846 echo "configure: failed program was:" >&5
12847 cat conftest.
$ac_ext >&5
12852 ac_cv_prog_CXXCPP
="$CXXCPP"
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 CXXCPP
="$ac_cv_prog_CXXCPP"
12862 echo "$ac_t""$CXXCPP" 1>&6
12865 if test "$cross_compiling" = "yes"; then
12866 cat >> confdefs.h
<<\EOF
12867 #define wxUSE_IOSTREAMH 1
12873 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12874 ac_cpp
='$CXXCPP $CPPFLAGS'
12875 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12876 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12877 cross_compiling
=$ac_cv_prog_cxx_cross
12880 for ac_hdr
in iostream
12882 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12883 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12884 echo "configure:12885: checking for $ac_hdr" >&5
12885 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12886 echo $ac_n "(cached) $ac_c" 1>&6
12888 cat > conftest.
$ac_ext <<EOF
12889 #line 12890 "configure"
12890 #include "confdefs.h"
12893 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12894 { (eval echo configure
:12895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12895 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12896 if test -z "$ac_err"; then
12898 eval "ac_cv_header_$ac_safe=yes"
12901 echo "configure: failed program was:" >&5
12902 cat conftest.
$ac_ext >&5
12904 eval "ac_cv_header_$ac_safe=no"
12908 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12909 echo "$ac_t""yes" 1>&6
12910 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12911 cat >> confdefs.h
<<EOF
12912 #define $ac_tr_hdr 1
12916 echo "$ac_t""no" 1>&6
12921 if test "$ac_cv_header_iostream" = "yes" ; then
12924 cat >> confdefs.h
<<\EOF
12925 #define wxUSE_IOSTREAMH 1
12931 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12932 ac_cpp
='$CPP $CPPFLAGS'
12933 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12934 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12935 cross_compiling
=$ac_cv_prog_cc_cross
12941 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12942 echo "configure:12943: checking if C++ compiler supports bool" >&5
12943 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12944 echo $ac_n "(cached) $ac_c" 1>&6
12949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12950 ac_cpp
='$CXXCPP $CPPFLAGS'
12951 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12952 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12953 cross_compiling
=$ac_cv_prog_cxx_cross
12956 cat > conftest.
$ac_ext <<EOF
12957 #line 12958 "configure"
12958 #include "confdefs.h"
12969 if { (eval echo configure
:12970: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12975 echo "configure: failed program was:" >&5
12976 cat conftest.
$ac_ext >&5
12986 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12987 ac_cpp
='$CPP $CPPFLAGS'
12988 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12989 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12990 cross_compiling
=$ac_cv_prog_cc_cross
12995 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12997 if test "$wx_cv_cpp_bool" = "yes"; then
12998 cat >> confdefs.h
<<\EOF
12999 #define HAVE_BOOL 1
13006 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
13007 echo "configure:13008: checking for wcslen in -lc" >&5
13008 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
13009 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13010 echo $ac_n "(cached) $ac_c" 1>&6
13012 ac_save_LIBS
="$LIBS"
13014 cat > conftest.
$ac_ext <<EOF
13015 #line 13016 "configure"
13016 #include "confdefs.h"
13017 /* Override any gcc2 internal prototype to avoid an error. */
13018 /* We use char because int might match the return type of a gcc2
13019 builtin and then its argument prototype would still apply. */
13026 if { (eval echo configure
:13027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13028 eval "ac_cv_lib_$ac_lib_var=yes"
13030 echo "configure: failed program was:" >&5
13031 cat conftest.
$ac_ext >&5
13033 eval "ac_cv_lib_$ac_lib_var=no"
13036 LIBS
="$ac_save_LIBS"
13039 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13040 echo "$ac_t""yes" 1>&6
13042 cat >> confdefs.h
<<\EOF
13043 #define HAVE_WCSLEN 1
13049 echo "$ac_t""no" 1>&6
13051 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
13052 echo "configure:13053: checking for wcslen in -lw" >&5
13053 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
13054 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13055 echo $ac_n "(cached) $ac_c" 1>&6
13057 ac_save_LIBS
="$LIBS"
13059 cat > conftest.
$ac_ext <<EOF
13060 #line 13061 "configure"
13061 #include "confdefs.h"
13062 /* Override any gcc2 internal prototype to avoid an error. */
13063 /* We use char because int might match the return type of a gcc2
13064 builtin and then its argument prototype would still apply. */
13071 if { (eval echo configure
:13072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13073 eval "ac_cv_lib_$ac_lib_var=yes"
13075 echo "configure: failed program was:" >&5
13076 cat conftest.
$ac_ext >&5
13078 eval "ac_cv_lib_$ac_lib_var=no"
13081 LIBS
="$ac_save_LIBS"
13084 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13085 echo "$ac_t""yes" 1>&6
13087 cat >> confdefs.h
<<\EOF
13088 #define HAVE_WCSLEN 1
13094 echo "$ac_t""no" 1>&6
13096 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
13097 echo "configure:13098: checking for wcslen in -lmsvcrt" >&5
13098 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
13099 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13100 echo $ac_n "(cached) $ac_c" 1>&6
13102 ac_save_LIBS
="$LIBS"
13103 LIBS
="-lmsvcrt $LIBS"
13104 cat > conftest.
$ac_ext <<EOF
13105 #line 13106 "configure"
13106 #include "confdefs.h"
13107 /* Override any gcc2 internal prototype to avoid an error. */
13108 /* We use char because int might match the return type of a gcc2
13109 builtin and then its argument prototype would still apply. */
13116 if { (eval echo configure
:13117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13118 eval "ac_cv_lib_$ac_lib_var=yes"
13120 echo "configure: failed program was:" >&5
13121 cat conftest.
$ac_ext >&5
13123 eval "ac_cv_lib_$ac_lib_var=no"
13126 LIBS
="$ac_save_LIBS"
13129 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13130 echo "$ac_t""yes" 1>&6
13132 cat >> confdefs.h
<<\EOF
13133 #define HAVE_WCSLEN 1
13139 echo "$ac_t""no" 1>&6
13149 for ac_func
in wcsrtombs
13151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13152 echo "configure:13153: checking for $ac_func" >&5
13153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13154 echo $ac_n "(cached) $ac_c" 1>&6
13156 cat > conftest.
$ac_ext <<EOF
13157 #line 13158 "configure"
13158 #include "confdefs.h"
13159 /* System header to define __stub macros and hopefully few prototypes,
13160 which can conflict with char $ac_func(); below. */
13161 #include <assert.h>
13162 /* Override any gcc2 internal prototype to avoid an error. */
13163 /* We use char because int might match the return type of a gcc2
13164 builtin and then its argument prototype would still apply. */
13169 /* The GNU C library defines this for functions which it implements
13170 to always fail with ENOSYS. Some functions are actually named
13171 something starting with __ and the normal name is an alias. */
13172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13180 if { (eval echo configure
:13181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13182 eval "ac_cv_func_$ac_func=yes"
13184 echo "configure: failed program was:" >&5
13185 cat conftest.
$ac_ext >&5
13187 eval "ac_cv_func_$ac_func=no"
13192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13193 echo "$ac_t""yes" 1>&6
13194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13195 cat >> confdefs.h
<<EOF
13196 #define $ac_tr_func 1
13200 echo "$ac_t""no" 1>&6
13205 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
13206 echo "configure:13207: checking for vprintf" >&5
13207 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
13208 echo $ac_n "(cached) $ac_c" 1>&6
13210 cat > conftest.
$ac_ext <<EOF
13211 #line 13212 "configure"
13212 #include "confdefs.h"
13213 /* System header to define __stub macros and hopefully few prototypes,
13214 which can conflict with char vprintf(); below. */
13215 #include <assert.h>
13216 /* Override any gcc2 internal prototype to avoid an error. */
13217 /* We use char because int might match the return type of a gcc2
13218 builtin and then its argument prototype would still apply. */
13223 /* The GNU C library defines this for functions which it implements
13224 to always fail with ENOSYS. Some functions are actually named
13225 something starting with __ and the normal name is an alias. */
13226 #if defined (__stub_vprintf) || defined (__stub___vprintf)
13234 if { (eval echo configure
:13235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13236 eval "ac_cv_func_vprintf=yes"
13238 echo "configure: failed program was:" >&5
13239 cat conftest.
$ac_ext >&5
13241 eval "ac_cv_func_vprintf=no"
13246 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
13247 echo "$ac_t""yes" 1>&6
13248 cat >> confdefs.h
<<\EOF
13249 #define HAVE_VPRINTF 1
13253 echo "$ac_t""no" 1>&6
13256 if test "$ac_cv_func_vprintf" != yes; then
13257 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
13258 echo "configure:13259: checking for _doprnt" >&5
13259 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
13260 echo $ac_n "(cached) $ac_c" 1>&6
13262 cat > conftest.
$ac_ext <<EOF
13263 #line 13264 "configure"
13264 #include "confdefs.h"
13265 /* System header to define __stub macros and hopefully few prototypes,
13266 which can conflict with char _doprnt(); below. */
13267 #include <assert.h>
13268 /* Override any gcc2 internal prototype to avoid an error. */
13269 /* We use char because int might match the return type of a gcc2
13270 builtin and then its argument prototype would still apply. */
13275 /* The GNU C library defines this for functions which it implements
13276 to always fail with ENOSYS. Some functions are actually named
13277 something starting with __ and the normal name is an alias. */
13278 #if defined (__stub__doprnt) || defined (__stub____doprnt)
13286 if { (eval echo configure
:13287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13288 eval "ac_cv_func__doprnt=yes"
13290 echo "configure: failed program was:" >&5
13291 cat conftest.
$ac_ext >&5
13293 eval "ac_cv_func__doprnt=no"
13298 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
13299 echo "$ac_t""yes" 1>&6
13300 cat >> confdefs.h
<<\EOF
13301 #define HAVE_DOPRNT 1
13305 echo "$ac_t""no" 1>&6
13315 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
13316 echo "configure:13317: checking for vsnprintf" >&5
13317 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
13318 echo $ac_n "(cached) $ac_c" 1>&6
13321 cat > conftest.
$ac_ext <<EOF
13322 #line 13323 "configure"
13323 #include "confdefs.h"
13326 #include <stdarg.h>
13330 int wx_test_vsnprintf(const char *, ...);
13332 wx_test_vsnprintf("%s");
13336 int wx_test_vsnprintf(const char *fmt, ...)
13341 va_start(argp, fmt);
13342 vsnprintf(s, 42, fmt, argp);
13347 if { (eval echo configure
:13348: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13350 wx_cv_func_vsnprintf
=yes
13353 echo "configure: failed program was:" >&5
13354 cat conftest.
$ac_ext >&5
13357 cat > conftest.
$ac_ext <<EOF
13358 #line 13359 "configure"
13359 #include "confdefs.h"
13362 #include <stdarg.h>
13366 int wx_test_vsnprintf(const char *, ...);
13368 wx_test_vsnprintf("%s");
13372 int wx_test_vsnprintf(const char *fmt, ...)
13377 va_start(argp, fmt);
13378 _vsnprintf(s, 42, fmt, argp);
13383 if { (eval echo configure
:13384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13386 wx_cv_func_vsnprintf
=yes
13389 echo "configure: failed program was:" >&5
13390 cat conftest.
$ac_ext >&5
13393 wx_cv_func_vsnprintf
=no
13403 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
13405 if test "$wx_cv_func_vsnprintf" = yes; then
13406 cat >> confdefs.h
<<\EOF
13407 #define HAVE_VSNPRINTF 1
13411 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
13414 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
13415 echo "configure:13416: checking for vsscanf" >&5
13416 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
13417 echo $ac_n "(cached) $ac_c" 1>&6
13420 cat > conftest.
$ac_ext <<EOF
13421 #line 13422 "configure"
13422 #include "confdefs.h"
13425 #include <stdarg.h>
13429 int wx_test_vsscanf(const char *, ...);
13431 wx_test_vsscanf("%d");
13435 int wx_test_vsscanf(const char *fmt, ...)
13438 va_start(argp, fmt);
13439 vsscanf("42", fmt, argp);
13444 if { (eval echo configure
:13445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13447 wx_cv_func_vsscanf
=yes
13450 echo "configure: failed program was:" >&5
13451 cat conftest.
$ac_ext >&5
13454 wx_cv_func_vsscanf
=no
13461 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
13463 if test "$wx_cv_func_vsscanf" = yes; then
13464 cat >> confdefs.h
<<\EOF
13465 #define HAVE_VSSCANF 1
13470 if test "$TOOLKIT" != "MSW"; then
13475 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13476 ac_cpp
='$CXXCPP $CPPFLAGS'
13477 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13478 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13479 cross_compiling
=$ac_cv_prog_cxx_cross
13481 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
13482 echo "configure:13483: checking if iconv() takes char**" >&5
13483 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
13484 echo $ac_n "(cached) $ac_c" 1>&6
13487 cat > conftest.
$ac_ext <<EOF
13488 #line 13489 "configure"
13489 #include "confdefs.h"
13493 char **inbuf, **outbuf;
13495 size_t insz, outsz;
13496 iconv(cd, inbuf, &insz, outbuf, &outsz);
13500 if { (eval echo configure
:13501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13502 wx_cv_iconv_takes_char
=yes
13504 echo "configure: failed program was:" >&5
13505 cat conftest.
$ac_ext >&5
13507 wx_cv_iconv_takes_char
=no
13513 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
13515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13516 ac_cpp
='$CPP $CPPFLAGS'
13517 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13518 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13519 cross_compiling
=$ac_cv_prog_cc_cross
13521 if test "$wx_cv_iconv_takes_char" = yes ; then
13522 cat >> confdefs.h
<<\EOF
13523 #define WX_ICONV_TAKES_CHAR 1
13529 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
13530 for ac_func
in sigaction
13532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13533 echo "configure:13534: checking for $ac_func" >&5
13534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13535 echo $ac_n "(cached) $ac_c" 1>&6
13537 cat > conftest.
$ac_ext <<EOF
13538 #line 13539 "configure"
13539 #include "confdefs.h"
13540 /* System header to define __stub macros and hopefully few prototypes,
13541 which can conflict with char $ac_func(); below. */
13542 #include <assert.h>
13543 /* Override any gcc2 internal prototype to avoid an error. */
13544 /* We use char because int might match the return type of a gcc2
13545 builtin and then its argument prototype would still apply. */
13550 /* The GNU C library defines this for functions which it implements
13551 to always fail with ENOSYS. Some functions are actually named
13552 something starting with __ and the normal name is an alias. */
13553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13561 if { (eval echo configure
:13562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13563 eval "ac_cv_func_$ac_func=yes"
13565 echo "configure: failed program was:" >&5
13566 cat conftest.
$ac_ext >&5
13568 eval "ac_cv_func_$ac_func=no"
13573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13574 echo "$ac_t""yes" 1>&6
13575 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13576 cat >> confdefs.h
<<EOF
13577 #define $ac_tr_func 1
13581 echo "$ac_t""no" 1>&6
13586 if test "$ac_cv_func_sigaction" = "no"; then
13587 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
13588 wxUSE_ON_FATAL_EXCEPTION
=no
13591 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13595 ac_cpp
='$CXXCPP $CPPFLAGS'
13596 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13597 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13598 cross_compiling
=$ac_cv_prog_cxx_cross
13601 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
13602 echo "configure:13603: checking for sa_handler type" >&5
13603 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
13604 echo $ac_n "(cached) $ac_c" 1>&6
13607 cat > conftest.
$ac_ext <<EOF
13608 #line 13609 "configure"
13609 #include "confdefs.h"
13610 #include <signal.h>
13613 extern void testSigHandler(int);
13615 struct sigaction sa;
13616 sa.sa_handler = testSigHandler;
13620 if { (eval echo configure
:13621: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13623 wx_cv_type_sa_handler
=int
13626 echo "configure: failed program was:" >&5
13627 cat conftest.
$ac_ext >&5
13630 wx_cv_type_sa_handler
=void
13637 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
13640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13641 ac_cpp
='$CPP $CPPFLAGS'
13642 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13643 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13644 cross_compiling
=$ac_cv_prog_cc_cross
13647 cat >> confdefs.h
<<EOF
13648 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
13654 for ac_func
in vfork
13656 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13657 echo "configure:13658: checking for $ac_func" >&5
13658 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13659 echo $ac_n "(cached) $ac_c" 1>&6
13661 cat > conftest.
$ac_ext <<EOF
13662 #line 13663 "configure"
13663 #include "confdefs.h"
13664 /* System header to define __stub macros and hopefully few prototypes,
13665 which can conflict with char $ac_func(); below. */
13666 #include <assert.h>
13667 /* Override any gcc2 internal prototype to avoid an error. */
13668 /* We use char because int might match the return type of a gcc2
13669 builtin and then its argument prototype would still apply. */
13674 /* The GNU C library defines this for functions which it implements
13675 to always fail with ENOSYS. Some functions are actually named
13676 something starting with __ and the normal name is an alias. */
13677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13685 if { (eval echo configure
:13686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13687 eval "ac_cv_func_$ac_func=yes"
13689 echo "configure: failed program was:" >&5
13690 cat conftest.
$ac_ext >&5
13692 eval "ac_cv_func_$ac_func=no"
13697 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13698 echo "$ac_t""yes" 1>&6
13699 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13700 cat >> confdefs.h
<<EOF
13701 #define $ac_tr_func 1
13705 echo "$ac_t""no" 1>&6
13710 echo $ac_n "checking for statfs""... $ac_c" 1>&6
13711 echo "configure:13712: checking for statfs" >&5
13712 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
13713 echo $ac_n "(cached) $ac_c" 1>&6
13715 cat > conftest.
$ac_ext <<EOF
13716 #line 13717 "configure"
13717 #include "confdefs.h"
13720 #include <sys/param.h>
13721 #include <sys/mount.h>
13723 #include <sys/vfs.h>
13737 if { (eval echo configure
:13738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13740 wx_cv_func_statfs
=yes
13743 echo "configure: failed program was:" >&5
13744 cat conftest.
$ac_ext >&5
13747 wx_cv_func_statfs
=no
13755 echo "$ac_t""$wx_cv_func_statfs" 1>&6
13757 if test "$wx_cv_func_statfs" = "yes"; then
13758 cat >> confdefs.h
<<\EOF
13759 #define HAVE_STATFS 1
13763 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
13766 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
13767 for ac_func
in fcntl flock
13769 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13770 echo "configure:13771: checking for $ac_func" >&5
13771 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13772 echo $ac_n "(cached) $ac_c" 1>&6
13774 cat > conftest.
$ac_ext <<EOF
13775 #line 13776 "configure"
13776 #include "confdefs.h"
13777 /* System header to define __stub macros and hopefully few prototypes,
13778 which can conflict with char $ac_func(); below. */
13779 #include <assert.h>
13780 /* Override any gcc2 internal prototype to avoid an error. */
13781 /* We use char because int might match the return type of a gcc2
13782 builtin and then its argument prototype would still apply. */
13787 /* The GNU C library defines this for functions which it implements
13788 to always fail with ENOSYS. Some functions are actually named
13789 something starting with __ and the normal name is an alias. */
13790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13798 if { (eval echo configure
:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13800 eval "ac_cv_func_$ac_func=yes"
13802 echo "configure: failed program was:" >&5
13803 cat conftest.
$ac_ext >&5
13805 eval "ac_cv_func_$ac_func=no"
13810 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13811 echo "$ac_t""yes" 1>&6
13812 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13813 cat >> confdefs.h
<<EOF
13814 #define $ac_tr_func 1
13818 echo "$ac_t""no" 1>&6
13823 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
13824 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
13825 wxUSE_SNGLINST_CHECKER
=no
13829 for ac_func
in timegm
13831 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13832 echo "configure:13833: checking for $ac_func" >&5
13833 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13834 echo $ac_n "(cached) $ac_c" 1>&6
13836 cat > conftest.
$ac_ext <<EOF
13837 #line 13838 "configure"
13838 #include "confdefs.h"
13839 /* System header to define __stub macros and hopefully few prototypes,
13840 which can conflict with char $ac_func(); below. */
13841 #include <assert.h>
13842 /* Override any gcc2 internal prototype to avoid an error. */
13843 /* We use char because int might match the return type of a gcc2
13844 builtin and then its argument prototype would still apply. */
13849 /* The GNU C library defines this for functions which it implements
13850 to always fail with ENOSYS. Some functions are actually named
13851 something starting with __ and the normal name is an alias. */
13852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13860 if { (eval echo configure
:13861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13862 eval "ac_cv_func_$ac_func=yes"
13864 echo "configure: failed program was:" >&5
13865 cat conftest.
$ac_ext >&5
13867 eval "ac_cv_func_$ac_func=no"
13872 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13873 echo "$ac_t""yes" 1>&6
13874 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13875 cat >> confdefs.h
<<EOF
13876 #define $ac_tr_func 1
13880 echo "$ac_t""no" 1>&6
13885 for ac_func
in putenv setenv
13887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13888 echo "configure:13889: checking for $ac_func" >&5
13889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13890 echo $ac_n "(cached) $ac_c" 1>&6
13892 cat > conftest.
$ac_ext <<EOF
13893 #line 13894 "configure"
13894 #include "confdefs.h"
13895 /* System header to define __stub macros and hopefully few prototypes,
13896 which can conflict with char $ac_func(); below. */
13897 #include <assert.h>
13898 /* Override any gcc2 internal prototype to avoid an error. */
13899 /* We use char because int might match the return type of a gcc2
13900 builtin and then its argument prototype would still apply. */
13905 /* The GNU C library defines this for functions which it implements
13906 to always fail with ENOSYS. Some functions are actually named
13907 something starting with __ and the normal name is an alias. */
13908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13916 if { (eval echo configure
:13917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13918 eval "ac_cv_func_$ac_func=yes"
13920 echo "configure: failed program was:" >&5
13921 cat conftest.
$ac_ext >&5
13923 eval "ac_cv_func_$ac_func=no"
13928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13929 echo "$ac_t""yes" 1>&6
13930 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13931 cat >> confdefs.h
<<EOF
13932 #define $ac_tr_func 1
13936 echo "$ac_t""no" 1>&6
13941 HAVE_SOME_SLEEP_FUNC
=0
13942 if test "$USE_BEOS" = 1; then
13943 cat >> confdefs.h
<<\EOF
13944 #define HAVE_SLEEP 1
13947 HAVE_SOME_SLEEP_FUNC
=1
13950 if test "$USE_DARWIN" = 1; then
13951 cat >> confdefs.h
<<\EOF
13952 #define HAVE_USLEEP 1
13955 HAVE_SOME_SLEEP_FUNC
=1
13958 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
13960 for ac_func
in nanosleep
13962 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13963 echo "configure:13964: checking for $ac_func" >&5
13964 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13965 echo $ac_n "(cached) $ac_c" 1>&6
13967 cat > conftest.
$ac_ext <<EOF
13968 #line 13969 "configure"
13969 #include "confdefs.h"
13970 /* System header to define __stub macros and hopefully few prototypes,
13971 which can conflict with char $ac_func(); below. */
13972 #include <assert.h>
13973 /* Override any gcc2 internal prototype to avoid an error. */
13974 /* We use char because int might match the return type of a gcc2
13975 builtin and then its argument prototype would still apply. */
13980 /* The GNU C library defines this for functions which it implements
13981 to always fail with ENOSYS. Some functions are actually named
13982 something starting with __ and the normal name is an alias. */
13983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13991 if { (eval echo configure
:13992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13993 eval "ac_cv_func_$ac_func=yes"
13995 echo "configure: failed program was:" >&5
13996 cat conftest.
$ac_ext >&5
13998 eval "ac_cv_func_$ac_func=no"
14003 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14004 echo "$ac_t""yes" 1>&6
14005 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14006 cat >> confdefs.h
<<EOF
14007 #define $ac_tr_func 1
14009 cat >> confdefs.h
<<\EOF
14010 #define HAVE_NANOSLEEP 1
14014 echo "$ac_t""no" 1>&6
14015 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
14016 echo "configure:14017: checking for nanosleep in -lposix4" >&5
14017 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
14018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14021 ac_save_LIBS
="$LIBS"
14022 LIBS
="-lposix4 $LIBS"
14023 cat > conftest.
$ac_ext <<EOF
14024 #line 14025 "configure"
14025 #include "confdefs.h"
14026 /* Override any gcc2 internal prototype to avoid an error. */
14027 /* We use char because int might match the return type of a gcc2
14028 builtin and then its argument prototype would still apply. */
14035 if { (eval echo configure
:14036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14037 eval "ac_cv_lib_$ac_lib_var=yes"
14039 echo "configure: failed program was:" >&5
14040 cat conftest.
$ac_ext >&5
14042 eval "ac_cv_lib_$ac_lib_var=no"
14045 LIBS
="$ac_save_LIBS"
14048 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14049 echo "$ac_t""yes" 1>&6
14051 cat >> confdefs.h
<<\EOF
14052 #define HAVE_NANOSLEEP 1
14055 POSIX4_LINK
="-lposix4"
14058 echo "$ac_t""no" 1>&6
14060 for ac_func
in usleep
14062 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14063 echo "configure:14064: checking for $ac_func" >&5
14064 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14065 echo $ac_n "(cached) $ac_c" 1>&6
14067 cat > conftest.
$ac_ext <<EOF
14068 #line 14069 "configure"
14069 #include "confdefs.h"
14070 /* System header to define __stub macros and hopefully few prototypes,
14071 which can conflict with char $ac_func(); below. */
14072 #include <assert.h>
14073 /* Override any gcc2 internal prototype to avoid an error. */
14074 /* We use char because int might match the return type of a gcc2
14075 builtin and then its argument prototype would still apply. */
14080 /* The GNU C library defines this for functions which it implements
14081 to always fail with ENOSYS. Some functions are actually named
14082 something starting with __ and the normal name is an alias. */
14083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14091 if { (eval echo configure
:14092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14093 eval "ac_cv_func_$ac_func=yes"
14095 echo "configure: failed program was:" >&5
14096 cat conftest.
$ac_ext >&5
14098 eval "ac_cv_func_$ac_func=no"
14103 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14104 echo "$ac_t""yes" 1>&6
14105 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14106 cat >> confdefs.h
<<EOF
14107 #define $ac_tr_func 1
14109 cat >> confdefs.h
<<\EOF
14110 #define HAVE_USLEEP 1
14114 echo "$ac_t""no" 1>&6
14115 echo "configure: warning: wxSleep() function will not work" 1>&2
14131 for ac_func
in uname gethostname
14133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14134 echo "configure:14135: checking for $ac_func" >&5
14135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14136 echo $ac_n "(cached) $ac_c" 1>&6
14138 cat > conftest.
$ac_ext <<EOF
14139 #line 14140 "configure"
14140 #include "confdefs.h"
14141 /* System header to define __stub macros and hopefully few prototypes,
14142 which can conflict with char $ac_func(); below. */
14143 #include <assert.h>
14144 /* Override any gcc2 internal prototype to avoid an error. */
14145 /* We use char because int might match the return type of a gcc2
14146 builtin and then its argument prototype would still apply. */
14151 /* The GNU C library defines this for functions which it implements
14152 to always fail with ENOSYS. Some functions are actually named
14153 something starting with __ and the normal name is an alias. */
14154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14162 if { (eval echo configure
:14163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14164 eval "ac_cv_func_$ac_func=yes"
14166 echo "configure: failed program was:" >&5
14167 cat conftest.
$ac_ext >&5
14169 eval "ac_cv_func_$ac_func=no"
14174 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14175 echo "$ac_t""yes" 1>&6
14176 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14177 cat >> confdefs.h
<<EOF
14178 #define $ac_tr_func 1
14182 echo "$ac_t""no" 1>&6
14189 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14190 ac_cpp
='$CXXCPP $CPPFLAGS'
14191 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14192 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14193 cross_compiling
=$ac_cv_prog_cxx_cross
14196 for ac_func
in strtok_r
14198 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14199 echo "configure:14200: checking for $ac_func" >&5
14200 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14201 echo $ac_n "(cached) $ac_c" 1>&6
14203 cat > conftest.
$ac_ext <<EOF
14204 #line 14205 "configure"
14205 #include "confdefs.h"
14206 /* System header to define __stub macros and hopefully few prototypes,
14207 which can conflict with char $ac_func(); below. */
14208 #include <assert.h>
14209 /* Override any gcc2 internal prototype to avoid an error. */
14213 /* We use char because int might match the return type of a gcc2
14214 builtin and then its argument prototype would still apply. */
14219 /* The GNU C library defines this for functions which it implements
14220 to always fail with ENOSYS. Some functions are actually named
14221 something starting with __ and the normal name is an alias. */
14222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14230 if { (eval echo configure
:14231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14232 eval "ac_cv_func_$ac_func=yes"
14234 echo "configure: failed program was:" >&5
14235 cat conftest.
$ac_ext >&5
14237 eval "ac_cv_func_$ac_func=no"
14242 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14243 echo "$ac_t""yes" 1>&6
14244 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14245 cat >> confdefs.h
<<EOF
14246 #define $ac_tr_func 1
14250 echo "$ac_t""no" 1>&6
14256 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14257 ac_cpp
='$CPP $CPPFLAGS'
14258 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14259 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14260 cross_compiling
=$ac_cv_prog_cc_cross
14264 for ac_func
in inet_addr
14266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14267 echo "configure:14268: checking for $ac_func" >&5
14268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14269 echo $ac_n "(cached) $ac_c" 1>&6
14271 cat > conftest.
$ac_ext <<EOF
14272 #line 14273 "configure"
14273 #include "confdefs.h"
14274 /* System header to define __stub macros and hopefully few prototypes,
14275 which can conflict with char $ac_func(); below. */
14276 #include <assert.h>
14277 /* Override any gcc2 internal prototype to avoid an error. */
14278 /* We use char because int might match the return type of a gcc2
14279 builtin and then its argument prototype would still apply. */
14284 /* The GNU C library defines this for functions which it implements
14285 to always fail with ENOSYS. Some functions are actually named
14286 something starting with __ and the normal name is an alias. */
14287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14295 if { (eval echo configure
:14296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14297 eval "ac_cv_func_$ac_func=yes"
14299 echo "configure: failed program was:" >&5
14300 cat conftest.
$ac_ext >&5
14302 eval "ac_cv_func_$ac_func=no"
14307 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14308 echo "$ac_t""yes" 1>&6
14309 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14310 cat >> confdefs.h
<<EOF
14311 #define $ac_tr_func 1
14313 cat >> confdefs.h
<<\EOF
14314 #define HAVE_INET_ADDR 1
14318 echo "$ac_t""no" 1>&6
14319 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
14320 echo "configure:14321: checking for inet_addr in -lnsl" >&5
14321 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
14322 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14323 echo $ac_n "(cached) $ac_c" 1>&6
14325 ac_save_LIBS
="$LIBS"
14327 cat > conftest.
$ac_ext <<EOF
14328 #line 14329 "configure"
14329 #include "confdefs.h"
14330 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14339 if { (eval echo configure
:14340: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14341 eval "ac_cv_lib_$ac_lib_var=yes"
14343 echo "configure: failed program was:" >&5
14344 cat conftest.
$ac_ext >&5
14346 eval "ac_cv_lib_$ac_lib_var=no"
14349 LIBS
="$ac_save_LIBS"
14352 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14353 echo "$ac_t""yes" 1>&6
14356 echo "$ac_t""no" 1>&6
14357 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
14358 echo "configure:14359: checking for inet_addr in -lresolv" >&5
14359 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
14360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14361 echo $ac_n "(cached) $ac_c" 1>&6
14363 ac_save_LIBS
="$LIBS"
14364 LIBS
="-lresolv $LIBS"
14365 cat > conftest.
$ac_ext <<EOF
14366 #line 14367 "configure"
14367 #include "confdefs.h"
14368 /* Override any gcc2 internal prototype to avoid an error. */
14369 /* We use char because int might match the return type of a gcc2
14370 builtin and then its argument prototype would still apply. */
14377 if { (eval echo configure
:14378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14379 eval "ac_cv_lib_$ac_lib_var=yes"
14381 echo "configure: failed program was:" >&5
14382 cat conftest.
$ac_ext >&5
14384 eval "ac_cv_lib_$ac_lib_var=no"
14387 LIBS
="$ac_save_LIBS"
14390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14391 echo "$ac_t""yes" 1>&6
14395 echo "$ac_t""no" 1>&6
14407 for ac_func
in inet_aton
14409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14410 echo "configure:14411: checking for $ac_func" >&5
14411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14412 echo $ac_n "(cached) $ac_c" 1>&6
14414 cat > conftest.
$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14417 /* System header to define __stub macros and hopefully few prototypes,
14418 which can conflict with char $ac_func(); below. */
14419 #include <assert.h>
14420 /* Override any gcc2 internal prototype to avoid an error. */
14421 /* We use char because int might match the return type of a gcc2
14422 builtin and then its argument prototype would still apply. */
14427 /* The GNU C library defines this for functions which it implements
14428 to always fail with ENOSYS. Some functions are actually named
14429 something starting with __ and the normal name is an alias. */
14430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14438 if { (eval echo configure
:14439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14440 eval "ac_cv_func_$ac_func=yes"
14442 echo "configure: failed program was:" >&5
14443 cat conftest.
$ac_ext >&5
14445 eval "ac_cv_func_$ac_func=no"
14450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14451 echo "$ac_t""yes" 1>&6
14452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14453 cat >> confdefs.h
<<EOF
14454 #define $ac_tr_func 1
14456 cat >> confdefs.h
<<\EOF
14457 #define HAVE_INET_ATON 1
14461 echo "$ac_t""no" 1>&6
14462 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
14463 echo "configure:14464: checking for inet_aton in -l$INET_LINK" >&5
14464 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
14465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14466 echo $ac_n "(cached) $ac_c" 1>&6
14468 ac_save_LIBS
="$LIBS"
14469 LIBS
="-l$INET_LINK $LIBS"
14470 cat > conftest.
$ac_ext <<EOF
14471 #line 14472 "configure"
14472 #include "confdefs.h"
14473 /* Override any gcc2 internal prototype to avoid an error. */
14474 /* We use char because int might match the return type of a gcc2
14475 builtin and then its argument prototype would still apply. */
14482 if { (eval echo configure
:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14484 eval "ac_cv_lib_$ac_lib_var=yes"
14486 echo "configure: failed program was:" >&5
14487 cat conftest.
$ac_ext >&5
14489 eval "ac_cv_lib_$ac_lib_var=no"
14492 LIBS
="$ac_save_LIBS"
14495 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14496 echo "$ac_t""yes" 1>&6
14497 cat >> confdefs.h
<<\EOF
14498 #define HAVE_INET_ATON 1
14502 echo "$ac_t""no" 1>&6
14510 if test "x$INET_LINK" != "x"; then
14511 cat >> confdefs.h
<<\EOF
14512 #define HAVE_INET_ADDR 1
14515 INET_LINK
="-l$INET_LINK"
14521 cat > confcache
<<\EOF
14522 # This file is a shell script that caches the results of configure
14523 # tests run on this system so they can be shared between configure
14524 # scripts and configure runs. It is not useful on other systems.
14525 # If it contains results you don't want to keep, you may remove or edit it.
14527 # By default, configure uses ./config.cache as the cache file,
14528 # creating it if it does not exist already. You can give configure
14529 # the --cache-file=FILE option to use a different cache file; that is
14530 # what configure does when it calls configure scripts in
14531 # subdirectories, so they share the cache.
14532 # Giving --cache-file=/dev/null disables caching, for debugging configure.
14533 # config.status only pays attention to the cache file if you give it the
14534 # --recheck option to rerun configure.
14537 # The following way of writing the cache mishandles newlines in values,
14538 # but we know of no workaround that is simple, portable, and efficient.
14539 # So, don't put newlines in cache variables' values.
14540 # Ultrix sh set writes to stderr and can't be redirected directly,
14541 # and sets the high bit in the cache file unless we assign to the vars.
14543 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14545 # `set' does not quote correctly, so add quotes (double-quote substitution
14546 # turns \\\\ into \\, and sed turns \\ into \).
14548 -e "s/'/'\\\\''/g" \
14549 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
14552 # `set' quotes correctly as required by POSIX, so do not add quotes.
14553 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
14556 if cmp -s $cache_file confcache
; then
14559 if test -w $cache_file; then
14560 echo "updating cache $cache_file"
14561 cat confcache
> $cache_file
14563 echo "not updating unwritable cache $cache_file"
14570 if test "$TOOLKIT" != "MSW"; then
14576 CODE_GEN_FLAGS_CXX
=
14578 if test "$wxUSE_THREADS" = "yes" ; then
14579 if test "$wxUSE_WINE" = 1 ; then
14580 echo "configure: warning: Threads are not supported under WINE" 1>&2
14582 elif test "$USE_BEOS" = 1; then
14583 echo "configure: warning: BeOS threads are not yet supported" 1>&2
14588 if test "$wxUSE_THREADS" = "yes" ; then
14590 if test "$USE_AIX" = 1; then
14591 THREADS_LIB
=pthreads
14593 THREADS_LIB
=pthread
14596 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
14597 echo "configure:14598: checking for pthread_create in -l$THREADS_LIB" >&5
14598 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
14599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14600 echo $ac_n "(cached) $ac_c" 1>&6
14602 ac_save_LIBS
="$LIBS"
14603 LIBS
="-l$THREADS_LIB $LIBS"
14604 cat > conftest.
$ac_ext <<EOF
14605 #line 14606 "configure"
14606 #include "confdefs.h"
14607 /* Override any gcc2 internal prototype to avoid an error. */
14608 /* We use char because int might match the return type of a gcc2
14609 builtin and then its argument prototype would still apply. */
14610 char pthread_create();
14616 if { (eval echo configure
:14617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14618 eval "ac_cv_lib_$ac_lib_var=yes"
14620 echo "configure: failed program was:" >&5
14621 cat conftest.
$ac_ext >&5
14623 eval "ac_cv_lib_$ac_lib_var=no"
14626 LIBS
="$ac_save_LIBS"
14629 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14630 echo "$ac_t""yes" 1>&6
14632 THREADS_OBJ
="threadpsx.lo"
14633 THREADS_LINK
=$THREADS_LIB
14636 echo "$ac_t""no" 1>&6
14638 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
14639 echo "configure:14640: checking for pthread_create in -lc_r" >&5
14640 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
14641 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14642 echo $ac_n "(cached) $ac_c" 1>&6
14644 ac_save_LIBS
="$LIBS"
14646 cat > conftest.
$ac_ext <<EOF
14647 #line 14648 "configure"
14648 #include "confdefs.h"
14649 /* Override any gcc2 internal prototype to avoid an error. */
14650 /* We use char because int might match the return type of a gcc2
14651 builtin and then its argument prototype would still apply. */
14652 char pthread_create();
14658 if { (eval echo configure
:14659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14660 eval "ac_cv_lib_$ac_lib_var=yes"
14662 echo "configure: failed program was:" >&5
14663 cat conftest.
$ac_ext >&5
14665 eval "ac_cv_lib_$ac_lib_var=no"
14668 LIBS
="$ac_save_LIBS"
14671 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14672 echo "$ac_t""yes" 1>&6
14674 THREADS_OBJ
="threadpsx.lo"
14678 echo "$ac_t""no" 1>&6
14680 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
14681 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
14682 echo "configure:14683: checking for sys/prctl.h" >&5
14683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14684 echo $ac_n "(cached) $ac_c" 1>&6
14686 cat > conftest.
$ac_ext <<EOF
14687 #line 14688 "configure"
14688 #include "confdefs.h"
14689 #include <sys/prctl.h>
14691 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14692 { (eval echo configure
:14693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14693 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14694 if test -z "$ac_err"; then
14696 eval "ac_cv_header_$ac_safe=yes"
14699 echo "configure: failed program was:" >&5
14700 cat conftest.
$ac_ext >&5
14702 eval "ac_cv_header_$ac_safe=no"
14706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14707 echo "$ac_t""yes" 1>&6
14709 THREADS_OBJ
="threadsgi.lo"
14712 echo "$ac_t""no" 1>&6
14722 if test -z "$THREADS_OBJ" ; then
14724 echo "configure: warning: No thread support on this system" 1>&2
14728 if test "$wxUSE_THREADS" = "yes" ; then
14729 for ac_func
in thr_setconcurrency
14731 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14732 echo "configure:14733: checking for $ac_func" >&5
14733 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14734 echo $ac_n "(cached) $ac_c" 1>&6
14736 cat > conftest.
$ac_ext <<EOF
14737 #line 14738 "configure"
14738 #include "confdefs.h"
14739 /* System header to define __stub macros and hopefully few prototypes,
14740 which can conflict with char $ac_func(); below. */
14741 #include <assert.h>
14742 /* Override any gcc2 internal prototype to avoid an error. */
14743 /* We use char because int might match the return type of a gcc2
14744 builtin and then its argument prototype would still apply. */
14749 /* The GNU C library defines this for functions which it implements
14750 to always fail with ENOSYS. Some functions are actually named
14751 something starting with __ and the normal name is an alias. */
14752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14760 if { (eval echo configure
:14761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14762 eval "ac_cv_func_$ac_func=yes"
14764 echo "configure: failed program was:" >&5
14765 cat conftest.
$ac_ext >&5
14767 eval "ac_cv_func_$ac_func=no"
14772 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14773 echo "$ac_t""yes" 1>&6
14774 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14775 cat >> confdefs.h
<<EOF
14776 #define $ac_tr_func 1
14780 echo "$ac_t""no" 1>&6
14786 for ac_hdr
in sched.h
14788 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14789 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14790 echo "configure:14791: checking for $ac_hdr" >&5
14791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14794 cat > conftest.
$ac_ext <<EOF
14795 #line 14796 "configure"
14796 #include "confdefs.h"
14799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14800 { (eval echo configure
:14801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14801 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14802 if test -z "$ac_err"; then
14804 eval "ac_cv_header_$ac_safe=yes"
14807 echo "configure: failed program was:" >&5
14808 cat conftest.
$ac_ext >&5
14810 eval "ac_cv_header_$ac_safe=no"
14814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14815 echo "$ac_t""yes" 1>&6
14816 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14817 cat >> confdefs.h
<<EOF
14818 #define $ac_tr_hdr 1
14822 echo "$ac_t""no" 1>&6
14827 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
14828 echo "configure:14829: checking for sched_yield in -l$THREADS_LINK" >&5
14829 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
14830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14831 echo $ac_n "(cached) $ac_c" 1>&6
14833 ac_save_LIBS
="$LIBS"
14834 LIBS
="-l$THREADS_LINK $LIBS"
14835 cat > conftest.
$ac_ext <<EOF
14836 #line 14837 "configure"
14837 #include "confdefs.h"
14838 /* Override any gcc2 internal prototype to avoid an error. */
14839 /* We use char because int might match the return type of a gcc2
14840 builtin and then its argument prototype would still apply. */
14841 char sched_yield();
14847 if { (eval echo configure
:14848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14849 eval "ac_cv_lib_$ac_lib_var=yes"
14851 echo "configure: failed program was:" >&5
14852 cat conftest.
$ac_ext >&5
14854 eval "ac_cv_lib_$ac_lib_var=no"
14857 LIBS
="$ac_save_LIBS"
14860 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14861 echo "$ac_t""yes" 1>&6
14862 cat >> confdefs.h
<<\EOF
14863 #define HAVE_SCHED_YIELD 1
14867 echo "$ac_t""no" 1>&6
14868 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
14869 echo "configure:14870: checking for sched_yield in -lposix4" >&5
14870 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
14871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14872 echo $ac_n "(cached) $ac_c" 1>&6
14874 ac_save_LIBS
="$LIBS"
14875 LIBS
="-lposix4 $LIBS"
14876 cat > conftest.
$ac_ext <<EOF
14877 #line 14878 "configure"
14878 #include "confdefs.h"
14879 /* Override any gcc2 internal prototype to avoid an error. */
14880 /* We use char because int might match the return type of a gcc2
14881 builtin and then its argument prototype would still apply. */
14882 char sched_yield();
14888 if { (eval echo configure
:14889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14890 eval "ac_cv_lib_$ac_lib_var=yes"
14892 echo "configure: failed program was:" >&5
14893 cat conftest.
$ac_ext >&5
14895 eval "ac_cv_lib_$ac_lib_var=no"
14898 LIBS
="$ac_save_LIBS"
14901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14902 echo "$ac_t""yes" 1>&6
14903 cat >> confdefs.h
<<\EOF
14904 #define HAVE_SCHED_YIELD 1
14906 POSIX4_LINK
="-lposix4"
14908 echo "$ac_t""no" 1>&6
14909 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
14918 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
14919 echo "configure:14920: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
14920 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
14921 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14922 echo $ac_n "(cached) $ac_c" 1>&6
14924 ac_save_LIBS
="$LIBS"
14925 LIBS
="-l$THREADS_LINK $LIBS"
14926 cat > conftest.
$ac_ext <<EOF
14927 #line 14928 "configure"
14928 #include "confdefs.h"
14929 /* Override any gcc2 internal prototype to avoid an error. */
14930 /* We use char because int might match the return type of a gcc2
14931 builtin and then its argument prototype would still apply. */
14932 char pthread_attr_getschedpolicy();
14935 pthread_attr_getschedpolicy()
14938 if { (eval echo configure
:14939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14940 eval "ac_cv_lib_$ac_lib_var=yes"
14942 echo "configure: failed program was:" >&5
14943 cat conftest.
$ac_ext >&5
14945 eval "ac_cv_lib_$ac_lib_var=no"
14948 LIBS
="$ac_save_LIBS"
14951 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14952 echo "$ac_t""yes" 1>&6
14953 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
14954 echo "configure:14955: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
14955 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
14956 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14957 echo $ac_n "(cached) $ac_c" 1>&6
14959 ac_save_LIBS
="$LIBS"
14960 LIBS
="-l$THREADS_LINK $LIBS"
14961 cat > conftest.
$ac_ext <<EOF
14962 #line 14963 "configure"
14963 #include "confdefs.h"
14964 /* Override any gcc2 internal prototype to avoid an error. */
14965 /* We use char because int might match the return type of a gcc2
14966 builtin and then its argument prototype would still apply. */
14967 char pthread_attr_setschedparam();
14970 pthread_attr_setschedparam()
14973 if { (eval echo configure
:14974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14975 eval "ac_cv_lib_$ac_lib_var=yes"
14977 echo "configure: failed program was:" >&5
14978 cat conftest.
$ac_ext >&5
14980 eval "ac_cv_lib_$ac_lib_var=no"
14983 LIBS
="$ac_save_LIBS"
14986 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14987 echo "$ac_t""yes" 1>&6
14988 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
14989 echo "configure:14990: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
14990 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
14991 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14992 echo $ac_n "(cached) $ac_c" 1>&6
14994 ac_save_LIBS
="$LIBS"
14995 LIBS
="-l$THREADS_LINK $LIBS"
14996 cat > conftest.
$ac_ext <<EOF
14997 #line 14998 "configure"
14998 #include "confdefs.h"
14999 /* Override any gcc2 internal prototype to avoid an error. */
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15002 char sched_get_priority_max();
15005 sched_get_priority_max()
15008 if { (eval echo configure
:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15010 eval "ac_cv_lib_$ac_lib_var=yes"
15012 echo "configure: failed program was:" >&5
15013 cat conftest.
$ac_ext >&5
15015 eval "ac_cv_lib_$ac_lib_var=no"
15018 LIBS
="$ac_save_LIBS"
15021 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15022 echo "$ac_t""yes" 1>&6
15025 echo "$ac_t""no" 1>&6
15026 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
15027 echo "configure:15028: checking for sched_get_priority_max in -lposix4" >&5
15028 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
15029 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15030 echo $ac_n "(cached) $ac_c" 1>&6
15032 ac_save_LIBS
="$LIBS"
15033 LIBS
="-lposix4 $LIBS"
15034 cat > conftest.
$ac_ext <<EOF
15035 #line 15036 "configure"
15036 #include "confdefs.h"
15037 /* Override any gcc2 internal prototype to avoid an error. */
15038 /* We use char because int might match the return type of a gcc2
15039 builtin and then its argument prototype would still apply. */
15040 char sched_get_priority_max();
15043 sched_get_priority_max()
15046 if { (eval echo configure
:15047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15048 eval "ac_cv_lib_$ac_lib_var=yes"
15050 echo "configure: failed program was:" >&5
15051 cat conftest.
$ac_ext >&5
15053 eval "ac_cv_lib_$ac_lib_var=no"
15056 LIBS
="$ac_save_LIBS"
15059 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15060 echo "$ac_t""yes" 1>&6
15063 POSIX4_LINK
="-lposix4"
15066 echo "$ac_t""no" 1>&6
15074 echo "$ac_t""no" 1>&6
15079 echo "$ac_t""no" 1>&6
15083 if test "$HAVE_PRIOR_FUNCS" = 1; then
15084 cat >> confdefs.h
<<\EOF
15085 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
15089 echo "configure: warning: Setting thread priority will not work" 1>&2
15092 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
15093 echo "configure:15094: checking for pthread_cancel in -l$THREADS_LINK" >&5
15094 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
15095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15096 echo $ac_n "(cached) $ac_c" 1>&6
15098 ac_save_LIBS
="$LIBS"
15099 LIBS
="-l$THREADS_LINK $LIBS"
15100 cat > conftest.
$ac_ext <<EOF
15101 #line 15102 "configure"
15102 #include "confdefs.h"
15103 /* Override any gcc2 internal prototype to avoid an error. */
15104 /* We use char because int might match the return type of a gcc2
15105 builtin and then its argument prototype would still apply. */
15106 char pthread_cancel();
15112 if { (eval echo configure
:15113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15114 eval "ac_cv_lib_$ac_lib_var=yes"
15116 echo "configure: failed program was:" >&5
15117 cat conftest.
$ac_ext >&5
15119 eval "ac_cv_lib_$ac_lib_var=no"
15122 LIBS
="$ac_save_LIBS"
15125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15126 echo "$ac_t""yes" 1>&6
15127 cat >> confdefs.h
<<\EOF
15128 #define HAVE_PTHREAD_CANCEL 1
15132 echo "$ac_t""no" 1>&6
15133 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
15137 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
15138 echo "configure:15139: checking for pthread_cleanup_push/pop" >&5
15139 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
15140 echo $ac_n "(cached) $ac_c" 1>&6
15143 cat > conftest.
$ac_ext <<EOF
15144 #line 15145 "configure"
15145 #include "confdefs.h"
15146 #include <pthread.h>
15149 pthread_cleanup_push(NULL, NULL);
15150 pthread_cleanup_pop(0);
15154 if { (eval echo configure
:15155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15157 wx_cv_func_pthread_cleanup_push
=yes
15160 echo "configure: failed program was:" >&5
15161 cat conftest.
$ac_ext >&5
15164 wx_cv_func_pthread_cleanup_push
=no
15171 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
15173 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
15174 cat >> confdefs.h
<<\EOF
15175 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
15181 if test "x$wx_lib_glibc21" = "xyes"; then
15182 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
15185 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
15186 echo "configure:15187: checking for pthread_mutexattr_t" >&5
15187 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
15188 echo $ac_n "(cached) $ac_c" 1>&6
15191 cat > conftest.
$ac_ext <<EOF
15192 #line 15193 "configure"
15193 #include "confdefs.h"
15194 #include <pthread.h>
15197 pthread_mutexattr_t attr;
15198 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
15202 if { (eval echo configure
:15203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15205 wx_cv_type_pthread_mutexattr_t
=yes
15208 echo "configure: failed program was:" >&5
15209 cat conftest.
$ac_ext >&5
15212 wx_cv_type_pthread_mutexattr_t
=no
15220 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
15222 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
15223 cat >> confdefs.h
<<\EOF
15224 #define HAVE_PTHREAD_MUTEXATTR_T 1
15228 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
15229 echo "configure:15230: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
15230 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
15231 echo $ac_n "(cached) $ac_c" 1>&6
15234 cat > conftest.
$ac_ext <<EOF
15235 #line 15236 "configure"
15236 #include "confdefs.h"
15237 #include <pthread.h>
15240 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
15244 if { (eval echo configure
:15245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15247 wx_cv_type_pthread_rec_mutex_init
=yes
15250 echo "configure: failed program was:" >&5
15251 cat conftest.
$ac_ext >&5
15254 wx_cv_type_pthread_rec_mutex_init
=no
15262 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
15263 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
15264 cat >> confdefs.h
<<\EOF
15265 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
15269 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
15273 THREADS_LINK
="-l$THREADS_LINK"
15275 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
15276 CPPFLAGS
="${CFLAGS} -mt"
15277 CXXFLAGS
="${CXXFLAGS} -mt"
15278 LDFLAGS
="${LDFLAGS} -mt"
15284 if test "$wxUSE_THREADS" = "yes"; then
15285 cat >> confdefs.h
<<\EOF
15286 #define wxUSE_THREADS 1
15290 if test "$USE_DARWIN" != 1; then
15291 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
15296 if test "$ac_cv_func_strtok_r" = "yes"; then
15297 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
15298 echo "configure:15299: checking if -D_REENTRANT is needed" >&5
15299 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
15300 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
15301 echo "$ac_t""yes" 1>&6
15303 echo "$ac_t""no" 1>&6
15308 if test "$WXGTK20" = 1 ; then
15309 cat >> confdefs.h
<<EOF
15310 #define __WXGTK20__ $WXGTK20
15316 if test "$WXGTK12" = 1 ; then
15317 cat >> confdefs.h
<<EOF
15318 #define __WXGTK12__ $WXGTK12
15323 if test "$WXGTK127" = 1 ; then
15324 cat >> confdefs.h
<<EOF
15325 #define __WXGTK127__ $WXGTK127
15332 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
15337 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
15338 wxUSE_DEBUG_INFO
=yes
15342 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
15343 cat >> confdefs.h
<<\EOF
15347 WXDEBUG_DEFINE
="-D__WXDEBUG__"
15349 if test "$wxUSE_GTK" = 1 ; then
15350 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
15354 if test "$wxUSE_MEM_TRACING" = "yes" ; then
15355 cat >> confdefs.h
<<\EOF
15356 #define wxUSE_MEMORY_TRACING 1
15359 cat >> confdefs.h
<<\EOF
15360 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
15363 cat >> confdefs.h
<<\EOF
15364 #define wxUSE_DEBUG_NEW_ALWAYS 1
15367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
15370 if test "$wxUSE_DMALLOC" = "yes" ; then
15371 DMALLOC_LINK
="-ldmalloc"
15375 if test "$wxUSE_PROFILE" = "yes" ; then
15379 if test "$GCC" = yes ; then
15380 if test "$wxUSE_NO_RTTI" = "yes" ; then
15381 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
15383 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
15384 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
15386 if test "$wxUSE_PERMISSIVE" = "yes" ; then
15387 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
15389 if test "$wxUSE_NO_DEPS" = "no" ; then
15390 CFLAGS
="-MMD ${CFLAGS}"
15391 CXXFLAGS
="-MMD ${CXXFLAGS}"
15393 if test "$USE_WIN32" = 1 ; then
15394 # I'm not even really sure what this was ever added to solve,
15395 # but someone added it for mingw native builds, so I guess
15396 # they had a reason, right??
15397 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
15402 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
15403 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
15404 if test "$wxUSE_OPTIMISE" = "no" ; then
15407 if test "$GCC" = yes ; then
15410 i586
-*-*|i686
-*-* )
15411 OPTIMISE
="${OPTIMISE} "
15419 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
15420 cat >> confdefs.h
<<\EOF
15421 #define WXWIN_COMPATIBILITY_2 1
15425 WXWIN_COMPATIBILITY_2_2
="yes"
15428 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
15429 cat >> confdefs.h
<<\EOF
15430 #define WXWIN_COMPATIBILITY_2_2 1
15437 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
15438 cat >> confdefs.h
<<\EOF
15439 #define wxUSE_ZLIB 1
15442 if test "$wxUSE_ZLIB" = "yes" ; then
15443 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
15446 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
15447 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
15448 echo "configure:15449: checking for zlib.h" >&5
15449 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15450 echo $ac_n "(cached) $ac_c" 1>&6
15452 cat > conftest.
$ac_ext <<EOF
15453 #line 15454 "configure"
15454 #include "confdefs.h"
15457 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15458 { (eval echo configure
:15459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15459 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15460 if test -z "$ac_err"; then
15462 eval "ac_cv_header_$ac_safe=yes"
15465 echo "configure: failed program was:" >&5
15466 cat conftest.
$ac_ext >&5
15468 eval "ac_cv_header_$ac_safe=no"
15472 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15473 echo "$ac_t""yes" 1>&6
15474 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
15475 echo "configure:15476: checking for deflate in -lz" >&5
15476 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
15477 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15478 echo $ac_n "(cached) $ac_c" 1>&6
15480 ac_save_LIBS
="$LIBS"
15482 cat > conftest.
$ac_ext <<EOF
15483 #line 15484 "configure"
15484 #include "confdefs.h"
15485 /* Override any gcc2 internal prototype to avoid an error. */
15486 /* We use char because int might match the return type of a gcc2
15487 builtin and then its argument prototype would still apply. */
15494 if { (eval echo configure
:15495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15496 eval "ac_cv_lib_$ac_lib_var=yes"
15498 echo "configure: failed program was:" >&5
15499 cat conftest.
$ac_ext >&5
15501 eval "ac_cv_lib_$ac_lib_var=no"
15504 LIBS
="$ac_save_LIBS"
15507 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15508 echo "$ac_t""yes" 1>&6
15511 echo "$ac_t""no" 1>&6
15515 echo "$ac_t""no" 1>&6
15518 if test "x$ZLIB_LINK" = "x" ; then
15519 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
15525 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
15526 cat >> confdefs.h
<<\EOF
15527 #define wxUSE_LIBPNG 1
15530 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
15531 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
15535 if test "$wxUSE_LIBPNG" = "yes" ; then
15536 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
15539 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
15540 echo $ac_n "checking for png.h""... $ac_c" 1>&6
15541 echo "configure:15542: checking for png.h" >&5
15542 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15543 echo $ac_n "(cached) $ac_c" 1>&6
15545 cat > conftest.
$ac_ext <<EOF
15546 #line 15547 "configure"
15547 #include "confdefs.h"
15550 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15551 { (eval echo configure
:15552: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15552 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15553 if test -z "$ac_err"; then
15555 eval "ac_cv_header_$ac_safe=yes"
15558 echo "configure: failed program was:" >&5
15559 cat conftest.
$ac_ext >&5
15561 eval "ac_cv_header_$ac_safe=no"
15565 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15566 echo "$ac_t""yes" 1>&6
15567 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
15568 echo "configure:15569: checking for png_check_sig in -lpng" >&5
15569 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
15570 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15571 echo $ac_n "(cached) $ac_c" 1>&6
15573 ac_save_LIBS
="$LIBS"
15574 LIBS
="-lpng -lz -lm $LIBS"
15575 cat > conftest.
$ac_ext <<EOF
15576 #line 15577 "configure"
15577 #include "confdefs.h"
15578 /* Override any gcc2 internal prototype to avoid an error. */
15579 /* We use char because int might match the return type of a gcc2
15580 builtin and then its argument prototype would still apply. */
15581 char png_check_sig();
15587 if { (eval echo configure
:15588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15589 eval "ac_cv_lib_$ac_lib_var=yes"
15591 echo "configure: failed program was:" >&5
15592 cat conftest.
$ac_ext >&5
15594 eval "ac_cv_lib_$ac_lib_var=no"
15597 LIBS
="$ac_save_LIBS"
15600 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15601 echo "$ac_t""yes" 1>&6
15604 echo "$ac_t""no" 1>&6
15609 echo "$ac_t""no" 1>&6
15612 if test "x$PNG_LINK" = "x" ; then
15613 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
15617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
15621 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
15622 cat >> confdefs.h
<<\EOF
15623 #define wxUSE_LIBJPEG 1
15626 if test "$wxUSE_LIBJPEG" = "yes" ; then
15627 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
15630 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
15631 echo "configure:15632: checking for jpeglib.h" >&5
15632 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
15633 echo $ac_n "(cached) $ac_c" 1>&6
15635 cat > conftest.
$ac_ext <<EOF
15636 #line 15637 "configure"
15637 #include "confdefs.h"
15639 #undef HAVE_STDLIB_H
15641 #include <jpeglib.h>
15648 if { (eval echo configure
:15649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15650 ac_cv_header_jpeglib_h
=yes
15652 echo "configure: failed program was:" >&5
15653 cat conftest.
$ac_ext >&5
15655 ac_cv_header_jpeglib_h
=no
15662 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
15664 if test "$ac_cv_header_jpeglib_h" = "yes"; then
15665 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
15666 echo "configure:15667: checking for jpeg_read_header in -ljpeg" >&5
15667 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
15668 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15669 echo $ac_n "(cached) $ac_c" 1>&6
15671 ac_save_LIBS
="$LIBS"
15672 LIBS
="-ljpeg $LIBS"
15673 cat > conftest.
$ac_ext <<EOF
15674 #line 15675 "configure"
15675 #include "confdefs.h"
15676 /* Override any gcc2 internal prototype to avoid an error. */
15677 /* We use char because int might match the return type of a gcc2
15678 builtin and then its argument prototype would still apply. */
15679 char jpeg_read_header();
15685 if { (eval echo configure
:15686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15687 eval "ac_cv_lib_$ac_lib_var=yes"
15689 echo "configure: failed program was:" >&5
15690 cat conftest.
$ac_ext >&5
15692 eval "ac_cv_lib_$ac_lib_var=no"
15695 LIBS
="$ac_save_LIBS"
15698 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15699 echo "$ac_t""yes" 1>&6
15702 echo "$ac_t""no" 1>&6
15707 if test "x$JPEG_LINK" = "x" ; then
15708 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
15714 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
15715 cat >> confdefs.h
<<\EOF
15716 #define wxUSE_LIBTIFF 1
15719 if test "$wxUSE_LIBTIFF" = "yes" ; then
15720 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
15723 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
15724 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
15725 echo "configure:15726: checking for tiffio.h" >&5
15726 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15727 echo $ac_n "(cached) $ac_c" 1>&6
15729 cat > conftest.
$ac_ext <<EOF
15730 #line 15731 "configure"
15731 #include "confdefs.h"
15732 #include <tiffio.h>
15734 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15735 { (eval echo configure
:15736: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15736 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15737 if test -z "$ac_err"; then
15739 eval "ac_cv_header_$ac_safe=yes"
15742 echo "configure: failed program was:" >&5
15743 cat conftest.
$ac_ext >&5
15745 eval "ac_cv_header_$ac_safe=no"
15749 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15750 echo "$ac_t""yes" 1>&6
15751 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
15752 echo "configure:15753: checking for TIFFError in -ltiff" >&5
15753 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
15754 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15755 echo $ac_n "(cached) $ac_c" 1>&6
15757 ac_save_LIBS
="$LIBS"
15758 LIBS
="-ltiff -lm $LIBS"
15759 cat > conftest.
$ac_ext <<EOF
15760 #line 15761 "configure"
15761 #include "confdefs.h"
15762 /* Override any gcc2 internal prototype to avoid an error. */
15763 /* We use char because int might match the return type of a gcc2
15764 builtin and then its argument prototype would still apply. */
15771 if { (eval echo configure
:15772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15773 eval "ac_cv_lib_$ac_lib_var=yes"
15775 echo "configure: failed program was:" >&5
15776 cat conftest.
$ac_ext >&5
15778 eval "ac_cv_lib_$ac_lib_var=no"
15781 LIBS
="$ac_save_LIBS"
15784 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15785 echo "$ac_t""yes" 1>&6
15788 echo "$ac_t""no" 1>&6
15792 echo "$ac_t""no" 1>&6
15795 if test "x$TIFF_LINK" = "x" ; then
15796 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
15802 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
15803 cat >> confdefs.h
<<\EOF
15804 #define wxUSE_FREETYPE 1
15807 if test "$wxUSE_FREETYPE" = "yes" ; then
15808 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
15811 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
15812 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
15813 echo "configure:15814: checking for freetype.h" >&5
15814 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15815 echo $ac_n "(cached) $ac_c" 1>&6
15817 cat > conftest.
$ac_ext <<EOF
15818 #line 15819 "configure"
15819 #include "confdefs.h"
15820 #include <freetype.h>
15822 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15823 { (eval echo configure
:15824: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15824 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15825 if test -z "$ac_err"; then
15827 eval "ac_cv_header_$ac_safe=yes"
15830 echo "configure: failed program was:" >&5
15831 cat conftest.
$ac_ext >&5
15833 eval "ac_cv_header_$ac_safe=no"
15837 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15838 echo "$ac_t""yes" 1>&6
15839 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
15840 echo "configure:15841: checking for FT_Render_Glyph in -lfreetype" >&5
15841 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
15842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15843 echo $ac_n "(cached) $ac_c" 1>&6
15845 ac_save_LIBS
="$LIBS"
15846 LIBS
="-lfreetype -lm $LIBS"
15847 cat > conftest.
$ac_ext <<EOF
15848 #line 15849 "configure"
15849 #include "confdefs.h"
15850 /* Override any gcc2 internal prototype to avoid an error. */
15851 /* We use char because int might match the return type of a gcc2
15852 builtin and then its argument prototype would still apply. */
15853 char FT_Render_Glyph();
15859 if { (eval echo configure
:15860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15861 eval "ac_cv_lib_$ac_lib_var=yes"
15863 echo "configure: failed program was:" >&5
15864 cat conftest.
$ac_ext >&5
15866 eval "ac_cv_lib_$ac_lib_var=no"
15869 LIBS
="$ac_save_LIBS"
15872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15873 echo "$ac_t""yes" 1>&6
15874 FREETYPE_LINK
="-lfreetype"
15876 echo "$ac_t""no" 1>&6
15881 echo "$ac_t""no" 1>&6
15884 if test "x$FREETYPE_LINK" = "x" ; then
15885 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
15891 if test "$wxUSE_GUI" = "yes"; then
15892 cat >> confdefs.h
<<\EOF
15893 #define wxUSE_GUI 1
15898 cat >> confdefs.h
<<\EOF
15899 #define wxUSE_NOGUI 1
15905 if test "$wxUSE_UNIX" = "yes"; then
15906 cat >> confdefs.h
<<\EOF
15907 #define wxUSE_UNIX 1
15913 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15914 cat >> confdefs.h
<<\EOF
15915 #define wxUSE_APPLE_IEEE 1
15920 if test "$wxUSE_TIMER" = "yes"; then
15921 cat >> confdefs.h
<<\EOF
15922 #define wxUSE_TIMER 1
15927 if test "$wxUSE_WAVE" = "yes"; then
15928 cat >> confdefs.h
<<\EOF
15929 #define wxUSE_WAVE 1
15934 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15935 cat >> confdefs.h
<<\EOF
15936 #define wxUSE_CMDLINE_PARSER 1
15941 if test "$wxUSE_STOPWATCH" = "yes"; then
15942 cat >> confdefs.h
<<\EOF
15943 #define wxUSE_STOPWATCH 1
15948 if test "$wxUSE_DATETIME" = "yes"; then
15949 cat >> confdefs.h
<<\EOF
15950 #define wxUSE_DATETIME 1
15955 if test "$wxUSE_TIMEDATE" = "yes"; then
15956 cat >> confdefs.h
<<\EOF
15957 #define wxUSE_TIMEDATE 1
15962 if test "$wxUSE_FILE" = "yes"; then
15963 cat >> confdefs.h
<<\EOF
15964 #define wxUSE_FILE 1
15969 if test "$wxUSE_FFILE" = "yes"; then
15970 cat >> confdefs.h
<<\EOF
15971 #define wxUSE_FFILE 1
15976 if test "$wxUSE_FILESYSTEM" = "yes"; then
15977 cat >> confdefs.h
<<\EOF
15978 #define wxUSE_FILESYSTEM 1
15983 if test "$wxUSE_FS_INET" = "yes"; then
15984 cat >> confdefs.h
<<\EOF
15985 #define wxUSE_FS_INET 1
15990 if test "$wxUSE_FS_ZIP" = "yes"; then
15991 cat >> confdefs.h
<<\EOF
15992 #define wxUSE_FS_ZIP 1
15997 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15998 cat >> confdefs.h
<<\EOF
15999 #define wxUSE_ZIPSTREAM 1
16004 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16005 cat >> confdefs.h
<<\EOF
16006 #define wxUSE_ON_FATAL_EXCEPTION 1
16011 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16012 cat >> confdefs.h
<<\EOF
16013 #define wxUSE_SNGLINST_CHECKER 1
16018 if test "$wxUSE_BUSYINFO" = "yes"; then
16019 cat >> confdefs.h
<<\EOF
16020 #define wxUSE_BUSYINFO 1
16025 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16026 cat >> confdefs.h
<<\EOF
16027 #define wxUSE_STD_IOSTREAM 1
16032 if test "$wxUSE_TEXTFILE" = "yes"; then
16033 if test "$wxUSE_FILE" != "yes"; then
16034 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
16036 cat >> confdefs.h
<<\EOF
16037 #define wxUSE_TEXTFILE 1
16043 if test "$wxUSE_CONFIG" = "yes" ; then
16044 if test "$wxUSE_TEXTFILE" != "yes"; then
16045 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
16047 cat >> confdefs.h
<<\EOF
16048 #define wxUSE_CONFIG 1
16051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
16055 if test "$wxUSE_INTL" = "yes" ; then
16056 if test "$wxUSE_FILE" != "yes"; then
16057 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
16059 cat >> confdefs.h
<<\EOF
16060 #define wxUSE_INTL 1
16063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
16064 GUIDIST
="$GUIDIST INTL_DIST"
16068 if test "$wxUSE_LOG" = "yes"; then
16069 cat >> confdefs.h
<<\EOF
16070 #define wxUSE_LOG 1
16074 if test "$wxUSE_LOGGUI" = "yes"; then
16075 cat >> confdefs.h
<<\EOF
16076 #define wxUSE_LOGGUI 1
16081 if test "$wxUSE_LOGWINDOW" = "yes"; then
16082 cat >> confdefs.h
<<\EOF
16083 #define wxUSE_LOGWINDOW 1
16089 if test "$wxUSE_LONGLONG" = "yes"; then
16090 cat >> confdefs.h
<<\EOF
16091 #define wxUSE_LONGLONG 1
16096 if test "$wxUSE_GEOMETRY" = "yes"; then
16097 cat >> confdefs.h
<<\EOF
16098 #define wxUSE_GEOMETRY 1
16103 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
16104 cat >> confdefs.h
<<\EOF
16105 #define wxUSE_DIALUP_MANAGER 1
16108 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
16111 if test "$wxUSE_STREAMS" = "yes" ; then
16112 cat >> confdefs.h
<<\EOF
16113 #define wxUSE_STREAMS 1
16119 if test "$wxUSE_DATETIME" = "yes"; then
16120 for ac_func
in strptime
16122 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16123 echo "configure:16124: checking for $ac_func" >&5
16124 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16125 echo $ac_n "(cached) $ac_c" 1>&6
16127 cat > conftest.
$ac_ext <<EOF
16128 #line 16129 "configure"
16129 #include "confdefs.h"
16130 /* System header to define __stub macros and hopefully few prototypes,
16131 which can conflict with char $ac_func(); below. */
16132 #include <assert.h>
16133 /* Override any gcc2 internal prototype to avoid an error. */
16134 /* We use char because int might match the return type of a gcc2
16135 builtin and then its argument prototype would still apply. */
16140 /* The GNU C library defines this for functions which it implements
16141 to always fail with ENOSYS. Some functions are actually named
16142 something starting with __ and the normal name is an alias. */
16143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16151 if { (eval echo configure
:16152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16153 eval "ac_cv_func_$ac_func=yes"
16155 echo "configure: failed program was:" >&5
16156 cat conftest.
$ac_ext >&5
16158 eval "ac_cv_func_$ac_func=no"
16163 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16164 echo "$ac_t""yes" 1>&6
16165 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16166 cat >> confdefs.h
<<EOF
16167 #define $ac_tr_func 1
16171 echo "$ac_t""no" 1>&6
16176 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
16177 echo "configure:16178: checking for timezone variable in <time.h>" >&5
16178 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
16179 echo $ac_n "(cached) $ac_c" 1>&6
16182 cat > conftest.
$ac_ext <<EOF
16183 #line 16184 "configure"
16184 #include "confdefs.h"
16195 if { (eval echo configure
:16196: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16198 wx_cv_var_timezone
=timezone
16201 echo "configure: failed program was:" >&5
16202 cat conftest.
$ac_ext >&5
16205 cat > conftest.
$ac_ext <<EOF
16206 #line 16207 "configure"
16207 #include "confdefs.h"
16218 if { (eval echo configure
:16219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16221 wx_cv_var_timezone
=_timezone
16224 echo "configure: failed program was:" >&5
16225 cat conftest.
$ac_ext >&5
16228 cat > conftest.
$ac_ext <<EOF
16229 #line 16230 "configure"
16230 #include "confdefs.h"
16241 if { (eval echo configure
:16242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16244 wx_cv_var_timezone
=__timezone
16247 echo "configure: failed program was:" >&5
16248 cat conftest.
$ac_ext >&5
16250 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
16266 echo "$ac_t""$wx_cv_var_timezone" 1>&6
16268 cat >> confdefs.h
<<EOF
16269 #define WX_TIMEZONE $wx_cv_var_timezone
16273 for ac_func
in localtime
16275 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16276 echo "configure:16277: checking for $ac_func" >&5
16277 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16278 echo $ac_n "(cached) $ac_c" 1>&6
16280 cat > conftest.
$ac_ext <<EOF
16281 #line 16282 "configure"
16282 #include "confdefs.h"
16283 /* System header to define __stub macros and hopefully few prototypes,
16284 which can conflict with char $ac_func(); below. */
16285 #include <assert.h>
16286 /* Override any gcc2 internal prototype to avoid an error. */
16287 /* We use char because int might match the return type of a gcc2
16288 builtin and then its argument prototype would still apply. */
16293 /* The GNU C library defines this for functions which it implements
16294 to always fail with ENOSYS. Some functions are actually named
16295 something starting with __ and the normal name is an alias. */
16296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16304 if { (eval echo configure
:16305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16306 eval "ac_cv_func_$ac_func=yes"
16308 echo "configure: failed program was:" >&5
16309 cat conftest.
$ac_ext >&5
16311 eval "ac_cv_func_$ac_func=no"
16316 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16317 echo "$ac_t""yes" 1>&6
16318 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16319 cat >> confdefs.h
<<EOF
16320 #define $ac_tr_func 1
16324 echo "$ac_t""no" 1>&6
16329 if test "$ac_cv_func_localtime" = "yes"; then
16330 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
16331 echo "configure:16332: checking for tm_gmtoff in struct tm" >&5
16332 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
16333 echo $ac_n "(cached) $ac_c" 1>&6
16336 cat > conftest.
$ac_ext <<EOF
16337 #line 16338 "configure"
16338 #include "confdefs.h"
16349 if { (eval echo configure
:16350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16352 wx_cv_struct_tm_has_gmtoff
=yes
16355 echo "configure: failed program was:" >&5
16356 cat conftest.
$ac_ext >&5
16358 wx_cv_struct_tm_has_gmtoff
=no
16365 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
16368 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
16369 cat >> confdefs.h
<<\EOF
16370 #define WX_GMTOFF_IN_TM 1
16375 for ac_func
in gettimeofday ftime
16377 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16378 echo "configure:16379: checking for $ac_func" >&5
16379 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16380 echo $ac_n "(cached) $ac_c" 1>&6
16382 cat > conftest.
$ac_ext <<EOF
16383 #line 16384 "configure"
16384 #include "confdefs.h"
16385 /* System header to define __stub macros and hopefully few prototypes,
16386 which can conflict with char $ac_func(); below. */
16387 #include <assert.h>
16388 /* Override any gcc2 internal prototype to avoid an error. */
16389 /* We use char because int might match the return type of a gcc2
16390 builtin and then its argument prototype would still apply. */
16395 /* The GNU C library defines this for functions which it implements
16396 to always fail with ENOSYS. Some functions are actually named
16397 something starting with __ and the normal name is an alias. */
16398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16406 if { (eval echo configure
:16407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16408 eval "ac_cv_func_$ac_func=yes"
16410 echo "configure: failed program was:" >&5
16411 cat conftest.
$ac_ext >&5
16413 eval "ac_cv_func_$ac_func=no"
16418 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16419 echo "$ac_t""yes" 1>&6
16420 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16421 cat >> confdefs.h
<<EOF
16422 #define $ac_tr_func 1
16426 echo "$ac_t""no" 1>&6
16431 if test "$ac_cv_func_gettimeofday" = "yes"; then
16432 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
16433 echo "configure:16434: checking whether gettimeofday takes two arguments" >&5
16434 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
16435 echo $ac_n "(cached) $ac_c" 1>&6
16440 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16441 ac_cpp
='$CXXCPP $CPPFLAGS'
16442 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16443 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16444 cross_compiling
=$ac_cv_prog_cxx_cross
16447 cat > conftest.
$ac_ext <<EOF
16448 #line 16449 "configure"
16449 #include "confdefs.h"
16451 #include <sys/time.h>
16452 #include <unistd.h>
16457 gettimeofday(&tv, NULL);
16461 if { (eval echo configure
:16462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16463 wx_cv_func_gettimeofday_has_2_args
=yes
16465 echo "configure: failed program was:" >&5
16466 cat conftest.
$ac_ext >&5
16468 cat > conftest.
$ac_ext <<EOF
16469 #line 16470 "configure"
16470 #include "confdefs.h"
16472 #include <sys/time.h>
16473 #include <unistd.h>
16482 if { (eval echo configure
:16483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16484 wx_cv_func_gettimeofday_has_2_args
=no
16486 echo "configure: failed program was:" >&5
16487 cat conftest.
$ac_ext >&5
16490 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
16491 wx_cv_func_gettimeofday_has_2_args
=unknown
16500 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16501 ac_cpp
='$CPP $CPPFLAGS'
16502 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16503 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16504 cross_compiling
=$ac_cv_prog_cc_cross
16509 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
16511 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
16512 cat >> confdefs.h
<<\EOF
16513 #define WX_GETTIMEOFDAY_NO_TZ 1
16519 cat >> confdefs.h
<<\EOF
16520 #define wxUSE_TIMEDATE 1
16523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
16527 if test "$TOOLKIT" != "MSW"; then
16529 if test "$wxUSE_SOCKETS" = "yes"; then
16530 echo $ac_n "checking for socket""... $ac_c" 1>&6
16531 echo "configure:16532: checking for socket" >&5
16532 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
16533 echo $ac_n "(cached) $ac_c" 1>&6
16535 cat > conftest.
$ac_ext <<EOF
16536 #line 16537 "configure"
16537 #include "confdefs.h"
16538 /* System header to define __stub macros and hopefully few prototypes,
16539 which can conflict with char socket(); below. */
16540 #include <assert.h>
16541 /* Override any gcc2 internal prototype to avoid an error. */
16542 /* We use char because int might match the return type of a gcc2
16543 builtin and then its argument prototype would still apply. */
16548 /* The GNU C library defines this for functions which it implements
16549 to always fail with ENOSYS. Some functions are actually named
16550 something starting with __ and the normal name is an alias. */
16551 #if defined (__stub_socket) || defined (__stub___socket)
16559 if { (eval echo configure
:16560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16561 eval "ac_cv_func_socket=yes"
16563 echo "configure: failed program was:" >&5
16564 cat conftest.
$ac_ext >&5
16566 eval "ac_cv_func_socket=no"
16571 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
16572 echo "$ac_t""yes" 1>&6
16575 echo "$ac_t""no" 1>&6
16576 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
16577 echo "configure:16578: checking for socket in -lsocket" >&5
16578 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
16579 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16580 echo $ac_n "(cached) $ac_c" 1>&6
16582 ac_save_LIBS
="$LIBS"
16583 LIBS
="-lsocket $LIBS"
16584 cat > conftest.
$ac_ext <<EOF
16585 #line 16586 "configure"
16586 #include "confdefs.h"
16587 /* Override any gcc2 internal prototype to avoid an error. */
16588 /* We use char because int might match the return type of a gcc2
16589 builtin and then its argument prototype would still apply. */
16596 if { (eval echo configure
:16597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16598 eval "ac_cv_lib_$ac_lib_var=yes"
16600 echo "configure: failed program was:" >&5
16601 cat conftest.
$ac_ext >&5
16603 eval "ac_cv_lib_$ac_lib_var=no"
16606 LIBS
="$ac_save_LIBS"
16609 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16610 echo "$ac_t""yes" 1>&6
16611 INET_LINK
="$INET_LINK -lsocket"
16613 echo "$ac_t""no" 1>&6
16615 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
16627 if test "$wxUSE_SOCKETS" = "yes" ; then
16628 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
16629 echo "configure:16630: checking what is the type of the third argument of getsockname" >&5
16630 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
16631 echo $ac_n "(cached) $ac_c" 1>&6
16636 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16637 ac_cpp
='$CXXCPP $CPPFLAGS'
16638 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16639 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16640 cross_compiling
=$ac_cv_prog_cxx_cross
16643 cat > conftest.
$ac_ext <<EOF
16644 #line 16645 "configure"
16645 #include "confdefs.h"
16647 #include <sys/types.h>
16648 #include <sys/socket.h>
16653 getsockname(0, 0, &len);
16657 if { (eval echo configure
:16658: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16659 wx_cv_type_getsockname3
=socklen_t
16661 echo "configure: failed program was:" >&5
16662 cat conftest.
$ac_ext >&5
16664 cat > conftest.
$ac_ext <<EOF
16665 #line 16666 "configure"
16666 #include "confdefs.h"
16668 #include <sys/types.h>
16669 #include <sys/socket.h>
16674 getsockname(0, 0, &len);
16678 if { (eval echo configure
:16679: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16680 wx_cv_type_getsockname3
=size_t
16682 echo "configure: failed program was:" >&5
16683 cat conftest.
$ac_ext >&5
16685 cat > conftest.
$ac_ext <<EOF
16686 #line 16687 "configure"
16687 #include "confdefs.h"
16689 #include <sys/types.h>
16690 #include <sys/socket.h>
16695 getsockname(0, 0, &len);
16699 if { (eval echo configure
:16700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16701 wx_cv_type_getsockname3
=int
16703 echo "configure: failed program was:" >&5
16704 cat conftest.
$ac_ext >&5
16706 wx_cv_type_getsockname3
=unknown
16718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16719 ac_cpp
='$CPP $CPPFLAGS'
16720 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16721 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16722 cross_compiling
=$ac_cv_prog_cc_cross
16727 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
16729 if test "$wx_cv_type_getsockname3" = "unknown"; then
16731 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
16733 cat >> confdefs.h
<<EOF
16734 #define SOCKLEN_T $wx_cv_type_getsockname3
16741 if test "$wxUSE_SOCKETS" = "yes" ; then
16742 cat >> confdefs.h
<<\EOF
16743 #define wxUSE_SOCKETS 1
16746 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
16750 if test "$wxUSE_GUI" = "yes"; then
16752 if test "$TOOLKIT" != "MSW"; then
16753 if test "$wxUSE_JOYSTICK" = "yes"; then
16754 for ac_hdr
in linux
/joystick.h
16756 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16757 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16758 echo "configure:16759: checking for $ac_hdr" >&5
16759 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16760 echo $ac_n "(cached) $ac_c" 1>&6
16762 cat > conftest.
$ac_ext <<EOF
16763 #line 16764 "configure"
16764 #include "confdefs.h"
16767 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16768 { (eval echo configure
:16769: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16769 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16770 if test -z "$ac_err"; then
16772 eval "ac_cv_header_$ac_safe=yes"
16775 echo "configure: failed program was:" >&5
16776 cat conftest.
$ac_ext >&5
16778 eval "ac_cv_header_$ac_safe=no"
16782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16783 echo "$ac_t""yes" 1>&6
16784 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16785 cat >> confdefs.h
<<EOF
16786 #define $ac_tr_hdr 1
16790 echo "$ac_t""no" 1>&6
16794 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
16796 echo "configure: warning: Joystick not supported by this system" 1>&2
16801 if test "$wxUSE_JOYSTICK" = "yes"; then
16802 cat >> confdefs.h
<<\EOF
16803 #define wxUSE_JOYSTICK 1
16806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
16811 if test "$TOOLKIT" != "MSW"; then
16815 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
16816 if test "$USE_DARWIN" = 1; then
16819 for ac_func
in dlopen
16821 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16822 echo "configure:16823: checking for $ac_func" >&5
16823 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16824 echo $ac_n "(cached) $ac_c" 1>&6
16826 cat > conftest.
$ac_ext <<EOF
16827 #line 16828 "configure"
16828 #include "confdefs.h"
16829 /* System header to define __stub macros and hopefully few prototypes,
16830 which can conflict with char $ac_func(); below. */
16831 #include <assert.h>
16832 /* Override any gcc2 internal prototype to avoid an error. */
16833 /* We use char because int might match the return type of a gcc2
16834 builtin and then its argument prototype would still apply. */
16839 /* The GNU C library defines this for functions which it implements
16840 to always fail with ENOSYS. Some functions are actually named
16841 something starting with __ and the normal name is an alias. */
16842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16850 if { (eval echo configure
:16851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16852 eval "ac_cv_func_$ac_func=yes"
16854 echo "configure: failed program was:" >&5
16855 cat conftest.
$ac_ext >&5
16857 eval "ac_cv_func_$ac_func=no"
16862 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16863 echo "$ac_t""yes" 1>&6
16864 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16865 cat >> confdefs.h
<<EOF
16866 #define $ac_tr_func 1
16869 cat >> confdefs.h
<<\EOF
16870 #define HAVE_DLOPEN 1
16876 echo "$ac_t""no" 1>&6
16877 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16878 echo "configure:16879: checking for dlopen in -ldl" >&5
16879 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16880 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16881 echo $ac_n "(cached) $ac_c" 1>&6
16883 ac_save_LIBS
="$LIBS"
16885 cat > conftest.
$ac_ext <<EOF
16886 #line 16887 "configure"
16887 #include "confdefs.h"
16888 /* Override any gcc2 internal prototype to avoid an error. */
16889 /* We use char because int might match the return type of a gcc2
16890 builtin and then its argument prototype would still apply. */
16897 if { (eval echo configure
:16898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16899 eval "ac_cv_lib_$ac_lib_var=yes"
16901 echo "configure: failed program was:" >&5
16902 cat conftest.
$ac_ext >&5
16904 eval "ac_cv_lib_$ac_lib_var=no"
16907 LIBS
="$ac_save_LIBS"
16910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16911 echo "$ac_t""yes" 1>&6
16913 cat >> confdefs.h
<<\EOF
16914 #define HAVE_DLOPEN 1
16921 echo "$ac_t""no" 1>&6
16923 for ac_func
in shl_load
16925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16926 echo "configure:16927: checking for $ac_func" >&5
16927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16928 echo $ac_n "(cached) $ac_c" 1>&6
16930 cat > conftest.
$ac_ext <<EOF
16931 #line 16932 "configure"
16932 #include "confdefs.h"
16933 /* System header to define __stub macros and hopefully few prototypes,
16934 which can conflict with char $ac_func(); below. */
16935 #include <assert.h>
16936 /* Override any gcc2 internal prototype to avoid an error. */
16937 /* We use char because int might match the return type of a gcc2
16938 builtin and then its argument prototype would still apply. */
16943 /* The GNU C library defines this for functions which it implements
16944 to always fail with ENOSYS. Some functions are actually named
16945 something starting with __ and the normal name is an alias. */
16946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16954 if { (eval echo configure
:16955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16956 eval "ac_cv_func_$ac_func=yes"
16958 echo "configure: failed program was:" >&5
16959 cat conftest.
$ac_ext >&5
16961 eval "ac_cv_func_$ac_func=no"
16966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16967 echo "$ac_t""yes" 1>&6
16968 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16969 cat >> confdefs.h
<<EOF
16970 #define $ac_tr_func 1
16973 cat >> confdefs.h
<<\EOF
16974 #define HAVE_SHL_LOAD 1
16980 echo "$ac_t""no" 1>&6
16981 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16982 echo "configure:16983: checking for dld in -lshl_load" >&5
16983 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16984 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16985 echo $ac_n "(cached) $ac_c" 1>&6
16987 ac_save_LIBS
="$LIBS"
16988 LIBS
="-lshl_load $LIBS"
16989 cat > conftest.
$ac_ext <<EOF
16990 #line 16991 "configure"
16991 #include "confdefs.h"
16992 /* Override any gcc2 internal prototype to avoid an error. */
16993 /* We use char because int might match the return type of a gcc2
16994 builtin and then its argument prototype would still apply. */
17001 if { (eval echo configure
:17002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17003 eval "ac_cv_lib_$ac_lib_var=yes"
17005 echo "configure: failed program was:" >&5
17006 cat conftest.
$ac_ext >&5
17008 eval "ac_cv_lib_$ac_lib_var=no"
17011 LIBS
="$ac_save_LIBS"
17014 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17015 echo "$ac_t""yes" 1>&6
17021 echo "$ac_t""no" 1>&6
17036 if test "$HAVE_DL_FUNCS" = 1; then
17037 for ac_func
in dlerror
17039 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17040 echo "configure:17041: checking for $ac_func" >&5
17041 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17042 echo $ac_n "(cached) $ac_c" 1>&6
17044 cat > conftest.
$ac_ext <<EOF
17045 #line 17046 "configure"
17046 #include "confdefs.h"
17047 /* System header to define __stub macros and hopefully few prototypes,
17048 which can conflict with char $ac_func(); below. */
17049 #include <assert.h>
17050 /* Override any gcc2 internal prototype to avoid an error. */
17051 /* We use char because int might match the return type of a gcc2
17052 builtin and then its argument prototype would still apply. */
17057 /* The GNU C library defines this for functions which it implements
17058 to always fail with ENOSYS. Some functions are actually named
17059 something starting with __ and the normal name is an alias. */
17060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17068 if { (eval echo configure
:17069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17070 eval "ac_cv_func_$ac_func=yes"
17072 echo "configure: failed program was:" >&5
17073 cat conftest.
$ac_ext >&5
17075 eval "ac_cv_func_$ac_func=no"
17080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17081 echo "$ac_t""yes" 1>&6
17082 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17083 cat >> confdefs.h
<<EOF
17084 #define $ac_tr_func 1
17086 cat >> confdefs.h
<<\EOF
17087 #define HAVE_DLERROR 1
17091 echo "$ac_t""no" 1>&6
17092 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
17093 echo "configure:17094: checking for dlerror in -ldl" >&5
17094 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
17095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17096 echo $ac_n "(cached) $ac_c" 1>&6
17098 ac_save_LIBS
="$LIBS"
17100 cat > conftest.
$ac_ext <<EOF
17101 #line 17102 "configure"
17102 #include "confdefs.h"
17103 /* Override any gcc2 internal prototype to avoid an error. */
17104 /* We use char because int might match the return type of a gcc2
17105 builtin and then its argument prototype would still apply. */
17112 if { (eval echo configure
:17113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17114 eval "ac_cv_lib_$ac_lib_var=yes"
17116 echo "configure: failed program was:" >&5
17117 cat conftest.
$ac_ext >&5
17119 eval "ac_cv_lib_$ac_lib_var=no"
17122 LIBS
="$ac_save_LIBS"
17125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17126 echo "$ac_t""yes" 1>&6
17127 cat >> confdefs.h
<<\EOF
17128 #define HAVE_DLERROR 1
17132 echo "$ac_t""no" 1>&6
17141 if test "$HAVE_DL_FUNCS" = 0; then
17142 if test "$HAVE_SHL_FUNCS" = 0; then
17143 if test "$USE_UNIX" = 1; then
17144 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
17145 wxUSE_DYNLIB_CLASS
=no
17147 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
17154 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17155 cat >> confdefs.h
<<\EOF
17156 #define wxUSE_DYNLIB_CLASS 1
17165 if test "$wxUSE_FONTMAP" = "yes" ; then
17166 cat >> confdefs.h
<<\EOF
17167 #define wxUSE_FONTMAP 1
17172 if test "$wxUSE_UNICODE" = "yes" ; then
17173 cat >> confdefs.h
<<\EOF
17174 #define wxUSE_UNICODE 1
17179 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
17180 cat >> confdefs.h
<<\EOF
17181 #define wxUSE_EXPERIMENTAL_PRINTF 1
17187 if test "$wxUSE_SERIAL" = "yes" ; then
17188 cat >> confdefs.h
<<\EOF
17189 #define wxUSE_SERIAL 1
17196 if test "$wxUSE_ODBC" = "yes" ; then
17197 cat >> confdefs.h
<<\EOF
17198 #define wxUSE_ODBC 1
17201 WXODBCFLAG
="-D_IODBC_"
17202 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
17206 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
17207 cat >> confdefs.h
<<\EOF
17208 #define wxUSE_POSTSCRIPT 1
17213 cat >> confdefs.h
<<\EOF
17214 #define wxUSE_AFM_FOR_POSTSCRIPT 1
17218 cat >> confdefs.h
<<\EOF
17219 #define wxUSE_NORMALIZED_PS_FONTS 1
17224 if test "$wxUSE_CONSTRAINTS" = "yes"; then
17225 cat >> confdefs.h
<<\EOF
17226 #define wxUSE_CONSTRAINTS 1
17229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
17232 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17233 if test "$wxUSE_UNIVERSAL" = "yes"; then
17234 echo "configure: warning: MDI is not supported for wxUNIVERSAL yet... disabled" 1>&2
17235 wxUSE_MDI_ARCHITECTURE
=no
17238 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17239 cat >> confdefs.h
<<\EOF
17240 #define wxUSE_MDI_ARCHITECTURE 1
17243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
17247 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
17248 cat >> confdefs.h
<<\EOF
17249 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
17252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
17253 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
17254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
17258 if test "$wxUSE_HELP" = "yes"; then
17259 cat >> confdefs.h
<<\EOF
17260 #define wxUSE_HELP 1
17263 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
17265 if test "$USE_WIN32" = 1; then
17266 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
17267 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
17268 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
17269 echo "configure:17270: checking for htmlhelp.h" >&5
17270 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17271 echo $ac_n "(cached) $ac_c" 1>&6
17273 cat > conftest.
$ac_ext <<EOF
17274 #line 17275 "configure"
17275 #include "confdefs.h"
17276 #include <htmlhelp.h>
17278 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17279 { (eval echo configure
:17280: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17280 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17281 if test -z "$ac_err"; then
17283 eval "ac_cv_header_$ac_safe=yes"
17286 echo "configure: failed program was:" >&5
17287 cat conftest.
$ac_ext >&5
17289 eval "ac_cv_header_$ac_safe=no"
17293 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17294 echo "$ac_t""yes" 1>&6
17296 cat >> confdefs.h
<<\EOF
17297 #define wxUSE_MS_HTML_HELP 1
17302 echo "$ac_t""no" 1>&6
17304 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
17305 wxUSE_MS_HTML_HELP
=no
17312 if test "$wxUSE_WXHTML_HELP" = "yes"; then
17313 if test "$wxUSE_HTML" = "yes"; then
17314 cat >> confdefs.h
<<\EOF
17315 #define wxUSE_WXHTML_HELP 1
17319 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
17320 wxUSE_WXHTML_HELP
=no
17325 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
17326 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17327 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
17329 cat >> confdefs.h
<<\EOF
17330 #define wxUSE_PRINTING_ARCHITECTURE 1
17334 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
17337 if test "$wxUSE_PROLOGIO" = "yes" ; then
17338 cat >> confdefs.h
<<\EOF
17339 #define wxUSE_PROLOGIO 1
17344 if test "$wxUSE_RESOURCES" = "yes" ; then
17345 cat >> confdefs.h
<<\EOF
17346 #define wxUSE_RESOURCES 1
17349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
17352 if test "$wxUSE_X_RESOURCES" = "yes"; then
17353 cat >> confdefs.h
<<\EOF
17354 #define wxUSE_X_RESOURCES 1
17360 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
17361 -o "$wxUSE_CLIPBOARD" = "yes" \
17362 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
17363 for ac_hdr
in ole2.h
17365 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17366 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17367 echo "configure:17368: checking for $ac_hdr" >&5
17368 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17369 echo $ac_n "(cached) $ac_c" 1>&6
17371 cat > conftest.
$ac_ext <<EOF
17372 #line 17373 "configure"
17373 #include "confdefs.h"
17376 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17377 { (eval echo configure
:17378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17378 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17379 if test -z "$ac_err"; then
17381 eval "ac_cv_header_$ac_safe=yes"
17384 echo "configure: failed program was:" >&5
17385 cat conftest.
$ac_ext >&5
17387 eval "ac_cv_header_$ac_safe=no"
17391 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17392 echo "$ac_t""yes" 1>&6
17393 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17394 cat >> confdefs.h
<<EOF
17395 #define $ac_tr_hdr 1
17399 echo "$ac_t""no" 1>&6
17404 if test "$ac_cv_header_ole2_h" = "yes" ; then
17405 if test "$GCC" = yes ; then
17406 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
17407 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
17408 LIBS
="$LIBS -lrpcrt4 -loleaut32 -lole32 -luuid"
17409 cat >> confdefs.h
<<\EOF
17410 #define wxUSE_OLE 1
17416 cat >> confdefs.h
<<\EOF
17417 #define wxUSE_DATAOBJ 1
17421 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
17424 wxUSE_DRAG_AND_DROP
=no
17428 if test "$wxUSE_METAFILE" = "yes"; then
17429 cat >> confdefs.h
<<\EOF
17430 #define wxUSE_METAFILE 1
17434 cat >> confdefs.h
<<\EOF
17435 #define wxUSE_ENH_METAFILE 1
17441 if test "$wxUSE_IPC" = "yes"; then
17442 if test "$wxUSE_SOCKETS" != "yes"; then
17443 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
17446 cat >> confdefs.h
<<\EOF
17447 #define wxUSE_IPC 1
17452 if test "$wxUSE_CLIPBOARD" = "yes"; then
17453 cat >> confdefs.h
<<\EOF
17454 #define wxUSE_CLIPBOARD 1
17458 cat >> confdefs.h
<<\EOF
17459 #define wxUSE_DATAOBJ 1
17464 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
17465 if test "$wxUSE_GTK" = 1; then
17466 if test "$WXGTK12" != 1; then
17467 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
17468 wxUSE_DRAG_AND_DROP
=no
17472 if test "$wxUSE_MOTIF" = 1; then
17473 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
17474 wxUSE_DRAG_AND_DROP
=no
17477 if test "$wxUSE_MAC" = 1; then
17478 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
17479 wxUSE_DRAG_AND_DROP
=no
17482 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
17483 cat >> confdefs.h
<<\EOF
17484 #define wxUSE_DRAG_AND_DROP 1
17487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
17492 if test "$wxUSE_SPLINES" = "yes" ; then
17493 cat >> confdefs.h
<<\EOF
17494 #define wxUSE_SPLINES 1
17501 if test "$wxUSE_CONTROLS" = "yes"; then
17505 if test "$wxUSE_ACCEL" = "yes"; then
17506 cat >> confdefs.h
<<\EOF
17507 #define wxUSE_ACCEL 1
17513 if test "$wxUSE_BUTTON" = "yes"; then
17514 cat >> confdefs.h
<<\EOF
17515 #define wxUSE_BUTTON 1
17521 if test "$wxUSE_BMPBUTTON" = "yes"; then
17522 cat >> confdefs.h
<<\EOF
17523 #define wxUSE_BMPBUTTON 1
17529 if test "$wxUSE_CALCTRL" = "yes"; then
17530 cat >> confdefs.h
<<\EOF
17531 #define wxUSE_CALENDARCTRL 1
17535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
17538 if test "$wxUSE_CARET" = "yes"; then
17539 cat >> confdefs.h
<<\EOF
17540 #define wxUSE_CARET 1
17544 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
17547 if test "$wxUSE_COMBOBOX" = "yes"; then
17548 cat >> confdefs.h
<<\EOF
17549 #define wxUSE_COMBOBOX 1
17555 if test "$wxUSE_CHOICE" = "yes"; then
17556 cat >> confdefs.h
<<\EOF
17557 #define wxUSE_CHOICE 1
17563 if test "$wxUSE_CHECKBOX" = "yes"; then
17564 cat >> confdefs.h
<<\EOF
17565 #define wxUSE_CHECKBOX 1
17571 if test "$wxUSE_CHECKLST" = "yes"; then
17572 cat >> confdefs.h
<<\EOF
17573 #define wxUSE_CHECKLISTBOX 1
17577 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
17580 if test "$wxUSE_GAUGE" = "yes"; then
17581 cat >> confdefs.h
<<\EOF
17582 #define wxUSE_GAUGE 1
17588 if test "$wxUSE_NEW_GRID" = "yes"; then
17590 cat >> confdefs.h
<<\EOF
17591 #define wxUSE_NEW_GRID 1
17595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
17598 if test "$wxUSE_GRID" = "yes"; then
17599 cat >> confdefs.h
<<\EOF
17600 #define wxUSE_GRID 1
17604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
17607 if test "$wxUSE_IMAGLIST" = "yes"; then
17608 cat >> confdefs.h
<<\EOF
17609 #define wxUSE_IMAGLIST 1
17614 if test "$wxUSE_LISTBOX" = "yes"; then
17615 cat >> confdefs.h
<<\EOF
17616 #define wxUSE_LISTBOX 1
17622 if test "$wxUSE_LISTCTRL" = "yes"; then
17623 if test "$wxUSE_IMAGLIST" = "yes"; then
17624 cat >> confdefs.h
<<\EOF
17625 #define wxUSE_LISTCTRL 1
17629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
17631 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
17635 if test "$wxUSE_NOTEBOOK" = "yes"; then
17636 cat >> confdefs.h
<<\EOF
17637 #define wxUSE_NOTEBOOK 1
17641 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
17644 if test "$wxUSE_PROPSHEET" = "yes"; then
17645 cat >> confdefs.h
<<\EOF
17646 #define wxUSE_PROPSHEET 1
17650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
17653 if test "$wxUSE_RADIOBOX" = "yes"; then
17654 cat >> confdefs.h
<<\EOF
17655 #define wxUSE_RADIOBOX 1
17661 if test "$wxUSE_RADIOBTN" = "yes"; then
17662 cat >> confdefs.h
<<\EOF
17663 #define wxUSE_RADIOBTN 1
17669 if test "$wxUSE_SASH" = "yes"; then
17670 cat >> confdefs.h
<<\EOF
17671 #define wxUSE_SASH 1
17674 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
17677 if test "$wxUSE_SCROLLBAR" = "yes"; then
17678 cat >> confdefs.h
<<\EOF
17679 #define wxUSE_SCROLLBAR 1
17683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
17686 if test "$wxUSE_SLIDER" = "yes"; then
17687 cat >> confdefs.h
<<\EOF
17688 #define wxUSE_SLIDER 1
17694 if test "$wxUSE_SPINBTN" = "yes"; then
17695 cat >> confdefs.h
<<\EOF
17696 #define wxUSE_SPINBTN 1
17702 if test "$wxUSE_SPINCTRL" = "yes"; then
17703 cat >> confdefs.h
<<\EOF
17704 #define wxUSE_SPINCTRL 1
17710 if test "$wxUSE_SPLITTER" = "yes"; then
17711 cat >> confdefs.h
<<\EOF
17712 #define wxUSE_SPLITTER 1
17715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
17718 if test "$wxUSE_STATBMP" = "yes"; then
17719 cat >> confdefs.h
<<\EOF
17720 #define wxUSE_STATBMP 1
17726 if test "$wxUSE_STATBOX" = "yes"; then
17727 cat >> confdefs.h
<<\EOF
17728 #define wxUSE_STATBOX 1
17734 if test "$wxUSE_STATTEXT" = "yes"; then
17735 cat >> confdefs.h
<<\EOF
17736 #define wxUSE_STATTEXT 1
17742 if test "$wxUSE_STATLINE" = "yes"; then
17743 if test "$wxUSE_WINE" = 1 ; then
17744 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
17746 cat >> confdefs.h
<<\EOF
17747 #define wxUSE_STATLINE 1
17754 if test "$wxUSE_STATUSBAR" = "yes"; then
17755 cat >> confdefs.h
<<\EOF
17756 #define wxUSE_STATUSBAR 1
17761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
17764 if test "$wxUSE_TABDIALOG" = "yes"; then
17765 cat >> confdefs.h
<<\EOF
17766 #define wxUSE_TAB_DIALOG 1
17769 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
17772 if test "$wxUSE_TEXTCTRL" = "yes"; then
17773 cat >> confdefs.h
<<\EOF
17774 #define wxUSE_TEXTCTRL 1
17778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
17781 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17782 if test "$wxUSE_MAC" = 1 -o "$wxUSE_UNIVERSAL" = "yes"; then
17783 echo "configure: warning: Toggle button not yet supported under Mac OS X or wxUNIVERSAL... disabled" 1>&2
17787 if test "$wxUSE_TOGGLEBTN" = "yes"; then
17788 cat >> confdefs.h
<<\EOF
17789 #define wxUSE_TOGGLEBTN 1
17796 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
17797 cat >> confdefs.h
<<\EOF
17798 #define wxUSE_TOOLBAR_SIMPLE 1
17801 wxUSE_TOOLBAR
="yes"
17805 if test "$wxUSE_TOOLBAR" = "yes"; then
17806 cat >> confdefs.h
<<\EOF
17807 #define wxUSE_TOOLBAR 1
17812 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
17813 wxUSE_TOOLBAR_NATIVE
="yes"
17816 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
17817 cat >> confdefs.h
<<\EOF
17818 #define wxUSE_TOOLBAR_NATIVE 1
17824 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
17827 if test "$wxUSE_TOOLTIPS" = "yes"; then
17828 if test "$wxUSE_MOTIF" = 1; then
17829 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
17831 if test "$wxUSE_WINE" = 1; then
17832 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
17834 cat >> confdefs.h
<<\EOF
17835 #define wxUSE_TOOLTIPS 1
17842 if test "$wxUSE_TREECTRL" = "yes"; then
17843 if test "$wxUSE_IMAGLIST" = "yes"; then
17844 cat >> confdefs.h
<<\EOF
17845 #define wxUSE_TREECTRL 1
17849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
17851 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
17855 if test "$wxUSE_POPUPWIN" = "yes"; then
17856 if test "$wxUSE_MAC" = 1; then
17857 echo "configure: warning: Popup window is not yet supported under Mac OS" 1>&2
17859 cat >> confdefs.h
<<\EOF
17860 #define wxUSE_POPUPWIN 1
17867 if test "$USES_CONTROLS" = 1; then
17868 cat >> confdefs.h
<<\EOF
17869 #define wxUSE_CONTROLS 1
17875 if test "$wxUSE_TREELAYOUT" = "yes"; then
17876 cat >> confdefs.h
<<\EOF
17877 #define wxUSE_TREELAYOUT 1
17880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
17883 if test "$wxUSE_DRAGIMAGE" = "yes"; then
17884 cat >> confdefs.h
<<\EOF
17885 #define wxUSE_DRAGIMAGE 1
17888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
17891 if test "$wxUSE_MENUS" = "yes"; then
17892 cat >> confdefs.h
<<\EOF
17893 #define wxUSE_MENUS 1
17896 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
17899 if test "$wxUSE_METAFILE" = "yes"; then
17900 cat >> confdefs.h
<<\EOF
17901 #define wxUSE_METAFILE 1
17906 if test "$wxUSE_MIMETYPE" = "yes"; then
17907 cat >> confdefs.h
<<\EOF
17908 #define wxUSE_MIMETYPE 1
17913 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
17914 cat >> confdefs.h
<<\EOF
17915 #define wxUSE_SYSTEM_OPTIONS 1
17920 if test "$wxUSE_MINIFRAME" = "yes"; then
17921 cat >> confdefs.h
<<\EOF
17922 #define wxUSE_MINIFRAME 1
17925 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
17928 if test "$wxUSE_HTML" = "yes"; then
17929 cat >> confdefs.h
<<\EOF
17930 #define wxUSE_HTML 1
17933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
17936 if test "$wxUSE_VALIDATORS" = "yes"; then
17937 cat >> confdefs.h
<<\EOF
17938 #define wxUSE_VALIDATORS 1
17941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
17944 if test "$wxUSE_PALETTE" = "yes" ; then
17945 cat >> confdefs.h
<<\EOF
17946 #define wxUSE_PALETTE 1
17951 if test "$wxUSE_IMAGE" = "yes" ; then
17952 cat >> confdefs.h
<<\EOF
17953 #define wxUSE_IMAGE 1
17958 if test "$wxUSE_GIF" = "yes" ; then
17959 cat >> confdefs.h
<<\EOF
17960 #define wxUSE_GIF 1
17965 if test "$wxUSE_PCX" = "yes" ; then
17966 cat >> confdefs.h
<<\EOF
17967 #define wxUSE_PCX 1
17972 if test "$wxUSE_PNM" = "yes" ; then
17973 cat >> confdefs.h
<<\EOF
17974 #define wxUSE_PNM 1
17979 if test "$wxUSE_XPM" = "yes" ; then
17980 cat >> confdefs.h
<<\EOF
17981 #define wxUSE_XPM 1
17987 if test "$wxUSE_CHOICEDLG" = "yes"; then
17988 cat >> confdefs.h
<<\EOF
17989 #define wxUSE_CHOICEDLG 1
17994 if test "$wxUSE_COLOURDLG" = "yes"; then
17995 cat >> confdefs.h
<<\EOF
17996 #define wxUSE_COLOURDLG 1
18001 if test "$wxUSE_FILEDLG" = "yes"; then
18002 cat >> confdefs.h
<<\EOF
18003 #define wxUSE_FILEDLG 1
18008 if test "$wxUSE_FINDREPLDLG" = "yes"; then
18009 cat >> confdefs.h
<<\EOF
18010 #define wxUSE_FINDREPLDLG 1
18015 if test "$wxUSE_FONTDLG" = "yes"; then
18016 cat >> confdefs.h
<<\EOF
18017 #define wxUSE_FONTDLG 1
18022 if test "$wxUSE_DIRDLG" = "yes"; then
18023 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18024 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
18026 if test "$wxUSE_TREECTRL" != "yes"; then
18027 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
18029 cat >> confdefs.h
<<\EOF
18030 #define wxUSE_DIRDLG 1
18037 if test "$wxUSE_MSGDLG" = "yes"; then
18038 cat >> confdefs.h
<<\EOF
18039 #define wxUSE_MSGDLG 1
18044 if test "$wxUSE_NUMBERDLG" = "yes"; then
18045 cat >> confdefs.h
<<\EOF
18046 #define wxUSE_NUMBERDLG 1
18051 if test "$wxUSE_PROGRESSDLG" = "yes"; then
18052 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18053 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
18055 cat >> confdefs.h
<<\EOF
18056 #define wxUSE_PROGRESSDLG 1
18062 if test "$wxUSE_SPLASH" = "yes"; then
18063 cat >> confdefs.h
<<\EOF
18064 #define wxUSE_SPLASH 1
18069 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
18070 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18071 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
18073 cat >> confdefs.h
<<\EOF
18074 #define wxUSE_STARTUP_TIPS 1
18080 if test "$wxUSE_TEXTDLG" = "yes"; then
18081 cat >> confdefs.h
<<\EOF
18082 #define wxUSE_TEXTDLG 1
18087 if test "$wxUSE_WIZARDDLG" = "yes"; then
18088 cat >> confdefs.h
<<\EOF
18089 #define wxUSE_WIZARDDLG 1
18092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
18096 if test "$cross_compiling" = "yes"; then
18099 OSINFO
=`uname -s -r -m`
18100 OSINFO
="\"$OSINFO\""
18103 cat >> confdefs.h
<<EOF
18104 #define WXWIN_OS_DESCRIPTION $OSINFO
18109 if test "x$prefix" != "xNONE"; then
18112 wxPREFIX
=$ac_default_prefix
18115 cat >> confdefs.h
<<EOF
18116 #define wxINSTALL_PREFIX "$wxPREFIX"
18121 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
18123 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
18125 if test "$wxUSE_MAC" = 1 ; then
18126 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
18129 if test "$wxUSE_GUI" = "yes"; then
18130 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
18133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
18134 drawing dynamic erase event exec font image \
18135 minimal richedit rotate widgets"
18137 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
18139 SAMPLES_SUBDIRS
="console"
18142 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
18144 INCLUDES
="-I. -I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
18145 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
18146 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
18148 if test "$wxUSE_GTK" = 1; then
18149 WXCONFIG_INCLUDE
=""
18151 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
18154 if test "$GXX" = yes ; then
18155 CXXWARNINGS
="-Wall"
18157 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
18159 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
18160 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
18162 LDFLAGS
="$LDFLAGS $PROFILE"
18164 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
18247 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
18248 echo "configure:18249: checking whether ${MAKE-make} sets \${MAKE}" >&5
18249 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
18250 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
18251 echo $ac_n "(cached) $ac_c" 1>&6
18253 cat > conftestmake
<<\EOF
18255 @
echo 'ac_maketemp="${MAKE}"'
18257 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
18258 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
18259 if test -n "$ac_maketemp"; then
18260 eval ac_cv_prog_make_
${ac_make}_set
=yes
18262 eval ac_cv_prog_make_
${ac_make}_set
=no
18266 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
18267 echo "$ac_t""yes" 1>&6
18270 echo "$ac_t""no" 1>&6
18271 SET_MAKE
="MAKE=${MAKE-make}"
18275 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
18276 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
18281 if test "$wxUSE_GUI" = "yes"; then
18282 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
18283 wx_cv_path_ifs
=$PATH_IFS
18284 wx_cv_program_ext
=$PROGRAM_EXT
18285 wx_cv_target_library
=$WX_TARGET_LIBRARY
18286 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
18287 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
18288 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
18289 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
18290 subdirs
="demos samples utils contrib"
18295 cat > confcache
<<\EOF
18296 # This file is a shell script that caches the results of configure
18297 # tests run on this system so they can be shared between configure
18298 # scripts and configure runs. It is not useful on other systems.
18299 # If it contains results you don't want to keep, you may remove or edit it.
18301 # By default, configure uses ./config.cache as the cache file,
18302 # creating it if it does not exist already. You can give configure
18303 # the --cache-file=FILE option to use a different cache file; that is
18304 # what configure does when it calls configure scripts in
18305 # subdirectories, so they share the cache.
18306 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18307 # config.status only pays attention to the cache file if you give it the
18308 # --recheck option to rerun configure.
18311 # The following way of writing the cache mishandles newlines in values,
18312 # but we know of no workaround that is simple, portable, and efficient.
18313 # So, don't put newlines in cache variables' values.
18314 # Ultrix sh set writes to stderr and can't be redirected directly,
18315 # and sets the high bit in the cache file unless we assign to the vars.
18317 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18319 # `set' does not quote correctly, so add quotes (double-quote substitution
18320 # turns \\\\ into \\, and sed turns \\ into \).
18322 -e "s/'/'\\\\''/g" \
18323 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18326 # `set' quotes correctly as required by POSIX, so do not add quotes.
18327 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18330 if cmp -s $cache_file confcache
; then
18333 if test -w $cache_file; then
18334 echo "updating cache $cache_file"
18335 cat confcache
> $cache_file
18337 echo "not updating unwritable cache $cache_file"
18342 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
18344 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
18345 # Let make expand exec_prefix.
18346 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
18348 # Any assignment to VPATH causes Sun make to only execute
18349 # the first set of double-colon rules, so remove it if not needed.
18350 # If there is a colon in the path, we need to keep it.
18351 if test "x$srcdir" = x.
; then
18352 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
18355 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
18357 DEFS
=-DHAVE_CONFIG_H
18359 # Without the "./", some shells look in PATH for config.status.
18360 : ${CONFIG_STATUS=./config.status}
18362 echo creating
$CONFIG_STATUS
18363 rm -f $CONFIG_STATUS
18364 cat > $CONFIG_STATUS <<EOF
18366 # Generated automatically by configure.
18367 # Run this file to recreate the current configuration.
18368 # This directory was configured as follows,
18369 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18371 # $0 $ac_configure_args
18373 # Compiler output produced by configure, useful for debugging
18374 # configure, is in ./config.log if it exists.
18376 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
18379 case "\$ac_option" in
18380 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18381 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
18382 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
18383 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
18384 echo "$CONFIG_STATUS generated by autoconf version 2.13"
18386 -help | --help | --hel | --he | --h)
18387 echo "\$ac_cs_usage"; exit 0 ;;
18388 *) echo "\$ac_cs_usage"; exit 1 ;;
18392 ac_given_srcdir=$srcdir
18393 ac_given_INSTALL="$INSTALL"
18395 trap 'rm -fr `echo "
18401 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
18403 cat >> $CONFIG_STATUS <<EOF
18405 # Protect against being on the right side of a sed subst in config.status.
18406 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
18407 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
18411 s%@CFLAGS@%$CFLAGS%g
18412 s%@CPPFLAGS@%$CPPFLAGS%g
18413 s%@CXXFLAGS@%$CXXFLAGS%g
18414 s%@FFLAGS@%$FFLAGS%g
18416 s%@LDFLAGS@%$LDFLAGS%g
18418 s%@exec_prefix@%$exec_prefix%g
18419 s%@prefix@%$prefix%g
18420 s%@program_transform_name@%$program_transform_name%g
18421 s%@bindir@%$bindir%g
18422 s%@sbindir@%$sbindir%g
18423 s%@libexecdir@%$libexecdir%g
18424 s%@datadir@%$datadir%g
18425 s%@sysconfdir@%$sysconfdir%g
18426 s%@sharedstatedir@%$sharedstatedir%g
18427 s%@localstatedir@%$localstatedir%g
18428 s%@libdir@%$libdir%g
18429 s%@includedir@%$includedir%g
18430 s%@oldincludedir@%$oldincludedir%g
18431 s%@infodir@%$infodir%g
18432 s%@mandir@%$mandir%g
18434 s%@host_alias@%$host_alias%g
18435 s%@host_cpu@%$host_cpu%g
18436 s%@host_vendor@%$host_vendor%g
18437 s%@host_os@%$host_os%g
18438 s%@target@%$target%g
18439 s%@target_alias@%$target_alias%g
18440 s%@target_cpu@%$target_cpu%g
18441 s%@target_vendor@%$target_vendor%g
18442 s%@target_os@%$target_os%g
18444 s%@build_alias@%$build_alias%g
18445 s%@build_cpu@%$build_cpu%g
18446 s%@build_vendor@%$build_vendor%g
18447 s%@build_os@%$build_os%g
18451 s%@RANLIB@%$RANLIB%g
18453 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
18454 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
18455 s%@INSTALL_DATA@%$INSTALL_DATA%g
18459 s%@LEXLIB@%$LEXLIB%g
18461 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
18462 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
18463 s%@GTK_LIBS@%$GTK_LIBS%g
18464 s%@GTK_CONFIG@%$GTK_CONFIG%g
18465 s%@X_CFLAGS@%$X_CFLAGS%g
18466 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
18467 s%@X_LIBS@%$X_LIBS%g
18468 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
18469 s%@RESCOMP@%$RESCOMP%g
18471 s%@CXXCPP@%$CXXCPP%g
18472 s%@LEX_STEM@%$LEX_STEM%g
18473 s%@PATH_IFS@%$PATH_IFS%g
18474 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
18475 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
18476 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
18477 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
18478 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
18479 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
18480 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
18481 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
18482 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
18483 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
18484 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
18485 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
18486 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
18487 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
18488 s%@WX_ALL@%$WX_ALL%g
18489 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
18490 s%@SHARED_LD@%$SHARED_LD%g
18491 s%@PIC_FLAG@%$PIC_FLAG%g
18492 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
18493 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
18494 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
18495 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
18496 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
18497 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
18498 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
18499 s%@USE_GUI@%$USE_GUI%g
18500 s%@AFMINSTALL@%$AFMINSTALL%g
18501 s%@TOOLKIT@%$TOOLKIT%g
18502 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
18503 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
18504 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
18505 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
18506 s%@cross_compiling@%$cross_compiling%g
18507 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
18508 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
18509 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
18510 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
18511 s%@GUIDIST@%$GUIDIST%g
18512 s%@PORT_FILES@%$PORT_FILES%g
18513 s%@DISTDIR@%$DISTDIR%g
18514 s%@RPM_SPEC@%$RPM_SPEC%g
18515 s%@RPM_FILES@%$RPM_FILES%g
18516 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
18517 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
18518 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
18519 s%@EXTRADEFS@%$EXTRADEFS%g
18520 s%@LD_LIBS@%$LD_LIBS%g
18521 s%@WXMSW_DLL_DEFINES@%$WXMSW_DLL_DEFINES%g
18522 s%@RESFLAGS@%$RESFLAGS%g
18523 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
18524 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
18525 s%@LIBWXMACRES@%$LIBWXMACRES%g
18526 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
18527 s%@DLLTOOL@%$DLLTOOL%g
18531 s%@MAKEINFO@%$MAKEINFO%g
18532 s%@SET_MAKE@%$SET_MAKE%g
18533 s%@subdirs@%$subdirs%g
18538 cat >> $CONFIG_STATUS <<\EOF
18540 # Split the substitutions into bite-sized pieces for seds with
18541 # small command number limits, like on Digital OSF/1 and HP-UX.
18542 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
18543 ac_file
=1 # Number of current file.
18544 ac_beg
=1 # First line for current file.
18545 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
18548 while $ac_more_lines; do
18549 if test $ac_beg -gt 1; then
18550 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
18552 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
18554 if test ! -s conftest.s
$ac_file; then
18555 ac_more_lines
=false
18556 rm -f conftest.s
$ac_file
18558 if test -z "$ac_sed_cmds"; then
18559 ac_sed_cmds
="sed -f conftest.s$ac_file"
18561 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
18563 ac_file
=`expr $ac_file + 1`
18565 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
18568 if test -z "$ac_sed_cmds"; then
18573 cat >> $CONFIG_STATUS <<EOF
18575 CONFIG_FILES=\${CONFIG_FILES-"wx-config
18582 cat >> $CONFIG_STATUS <<\EOF
18583 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
18584 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18586 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18587 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18588 *) ac_file_in
="${ac_file}.in" ;;
18591 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
18593 # Remove last slash and all that follows it. Not all systems have dirname.
18594 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18595 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
18596 # The file is in a subdirectory.
18597 test ! -d "$ac_dir" && mkdir "$ac_dir"
18598 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
18599 # A "../" for each directory in $ac_dir_suffix.
18600 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
18602 ac_dir_suffix
= ac_dots
=
18605 case "$ac_given_srcdir" in
18607 if test -z "$ac_dots"; then top_srcdir
=.
18608 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
18609 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
18610 *) # Relative path.
18611 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
18612 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
18615 case "$ac_given_INSTALL" in
18616 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
18617 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
18620 echo creating
"$ac_file"
18622 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
18624 *Makefile
*) ac_comsub
="1i\\
18625 # $configure_input" ;;
18629 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18631 s%@configure_input@%$configure_input%g
18632 s%@srcdir@%$srcdir%g
18633 s%@top_srcdir@%$top_srcdir%g
18634 s%@INSTALL@%$INSTALL%g
18635 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
18639 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18640 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18642 # ac_d sets the value in "#define NAME VALUE" lines.
18643 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18644 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
18647 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
18648 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18649 ac_uB
='\([ ]\)%\1#\2define\3'
18652 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18653 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18654 ac_eB
='$%\1#\2define\3'
18658 if test "${CONFIG_HEADERS+set}" != set; then
18660 cat >> $CONFIG_STATUS <<EOF
18661 CONFIG_HEADERS="setup.h:setup.h.in"
18663 cat >> $CONFIG_STATUS <<\EOF
18665 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
18666 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18668 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
18669 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
18670 *) ac_file_in
="${ac_file}.in" ;;
18673 echo creating
$ac_file
18675 rm -f conftest.frag conftest.
in conftest.out
18676 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
18677 cat $ac_file_inputs > conftest.
in
18681 # Transform confdefs.h into a sed script conftest.vals that substitutes
18682 # the proper values into config.h.in to produce config.h. And first:
18683 # Protect against being on the right side of a sed subst in config.status.
18684 # Protect against being in an unquoted here document in config.status.
18685 rm -f conftest.vals
18686 cat > conftest.hdr
<<\EOF
18689 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
18693 sed -n -f conftest.hdr confdefs.h > conftest.vals
18696 # This sed command replaces #undef with comments. This is necessary, for
18697 # example, in the case of _POSIX_SOURCE, which is predefined and required
18698 # on some systems where configure will not decide to define it.
18699 cat >> conftest.vals <<\EOF
18700 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
18703 # Break up conftest.vals because some shells have a limit on
18704 # the size of here documents, and old seds have small limits too.
18706 rm -f conftest.tail
18709 ac_lines=`grep -c . conftest.vals
`
18710 # grep -c gives empty output for an empty file on some AIX systems.
18711 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
18712 # Write a limited-size here document to conftest.frag.
18713 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
18714 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
18716 sed -f conftest.frag conftest.in > conftest.out
18718 mv conftest.out conftest.in
18719 ' >> $CONFIG_STATUS
18720 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
18721 rm -f conftest.vals
18722 mv conftest.tail conftest.vals
18724 rm -f conftest.vals
18726 cat >> $CONFIG_STATUS <<\EOF
18727 rm -f conftest.frag conftest.h
18728 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
18729 cat conftest.in >> conftest.h
18731 if cmp -s $ac_file conftest.h 2>/dev/null; then
18732 echo "$ac_file is unchanged"
18735 # Remove last slash and all that follows it. Not all systems have dirname.
18736 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
18737 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
18738 # The file is in a subdirectory.
18739 test ! -d "$ac_dir" && mkdir "$ac_dir"
18742 mv conftest.h $ac_file
18747 cat >> $CONFIG_STATUS <<EOF
18749 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
18754 cat >> $CONFIG_STATUS <<\EOF
18756 if test ! -L wx-config; then
18758 mv wx-config wx${TOOLCHAIN_NAME}-config
18759 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
18762 if test ! -d lib; then
18765 if test ! -d lib/wx; then
18768 if test ! -d lib/wx/include; then
18769 mkdir lib/wx/include
18771 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
18772 mkdir lib/wx/include/${TOOLCHAIN_NAME}
18774 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
18775 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
18777 if test -f setup.h; then
18778 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
18783 chmod +x $CONFIG_STATUS
18784 rm -fr confdefs* $ac_clean_files
18785 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
18787 if test "$no_recursion" != yes; then
18789 # Remove --cache-file and --srcdir arguments so they do not pile up.
18790 ac_sub_configure_args=
18792 for ac_arg in $ac_configure_args; do
18793 if test -n "$ac_prev"; then
18798 -cache-file | --cache-file | --cache-fil | --cache-fi \
18799 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
18800 ac_prev=cache_file ;;
18801 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
18802 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
18804 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
18806 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
18808 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
18812 for ac_config_dir in demos samples utils contrib; do
18814 # Do not complain, so a configure script can configure whichever
18815 # parts of a large source tree are present.
18816 if test ! -d $srcdir/$ac_config_dir; then
18820 echo configuring in $ac_config_dir
18825 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
18827 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
18835 # A "../" for each directory in /$ac_config_dir.
18836 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
18839 .) # No --srcdir option. We are building in place.
18840 ac_sub_srcdir=$srcdir ;;
18841 /*) # Absolute path.
18842 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
18843 *) # Relative path.
18844 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
18847 # Check for guested configure; otherwise get Cygnus style configure.
18848 if test -f $ac_sub_srcdir/configure; then
18849 ac_sub_configure=$ac_sub_srcdir/configure
18850 elif test -f $ac_sub_srcdir/configure.in; then
18851 ac_sub_configure=$ac_configure
18853 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
18857 # The recursion is here.
18858 if test -n "$ac_sub_configure"; then
18860 # Make the cache file name correct relative to the subdirectory.
18861 case "$cache_file" in
18862 /*) ac_sub_cache_file=$cache_file ;;
18863 *) # Relative path.
18864 ac_sub_cache_file="$ac_dots$cache_file" ;;
18866 case "$ac_given_INSTALL" in
18867 [/$]*) INSTALL="$ac_given_INSTALL" ;;
18868 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
18871 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
18872 # The eval makes quoting arguments work.
18873 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
18876 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }