3 # From configure.in Id: configure.in
52 # Configure paths for GTK+
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.13
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix
=/usr
/local
67 # Any additions from configure.in:
69 --enable-gui use GUI classes"
71 --enable-universal use wxWindows GUI controls instead of native ones"
75 --with-motif use Motif/Lesstif"
77 --with-mac use Mac OS X"
81 --with-msw use MS-Windows"
83 --with-pm use OS/2 Presentation Manager"
85 --with-mgl use SciTech MGL"
87 --with-microwin use MicroWindows"
89 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
91 --with-libpng use libpng (PNG image format)"
93 --with-libjpeg use libjpeg (JPEG file format)"
95 --with-libtiff use libtiff (TIFF file format)"
97 --with-freetype use freetype (font rasterizer)"
99 --with-opengl use OpenGL (or Mesa)"
101 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
103 --with-regex enable support for wxRegEx class"
105 --with-zlib use zlib for LZW compression"
107 --with-odbc use the IODBC and wxODBC classes"
109 --enable-shared create shared library code"
111 --enable-soname set the DT_SONAME field in ELF shared libraries"
113 --enable-optimise create optimised code"
115 --enable-debug same as debug_flag and debug_info"
117 --enable-precomp enable use of precompiled headers (Mac OS X)"
119 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
121 --enable-debug_info create code with debugging information"
123 --enable-debug_gdb create code with extra GDB debugging information"
125 --enable-debug_cntxt use wxDebugContext"
127 --enable-mem_tracing create code with memory tracing"
129 --enable-profile create code with profiling information"
131 --enable-no_rtti create code without RTTI information"
133 --enable-no_exceptions create code without C++ exceptions handling"
135 --enable-permissive compile code disregarding strict ANSI"
137 --enable-no_deps create code without dependency information"
139 --enable-compat20 enable wxWindows 2.0 compatibility"
141 --enable-compat22 enable wxWindows 2.2 compatibility"
143 --enable-intl use internationalization system"
145 --enable-config use wxConfig (and derived) classes"
147 --enable-protocols use wxProtocol and derived classes"
149 --enable-ftp use wxFTP (requires wxProtocol"
151 --enable-http use wxHTTP (requires wxProtocol"
153 --enable-fileproto use wxFileProto class (requires wxProtocol"
155 --enable-sockets use socket/network classes"
157 --enable-ipc use interprocess communication (wxSocket etc.)"
159 --enable-cmdline use wxCmdLineParser class"
161 --enable-datetime use wxDateTime class"
163 --enable-timedate use obsolete wxDate/wxTime classes"
165 --enable-stopwatch use wxStopWatch class"
167 --enable-dialupman use dialup network classes"
169 --enable-apple_ieee use the Apple IEEE codec"
171 --enable-timer use wxTimer class"
173 --enable-wave use wxWave class"
175 --enable-fraction use wxFraction class"
177 --enable-dynlib use wxLibrary class for DLL loading"
179 --enable-dynamicloader use (new) wxDynamicLibrary class"
181 --enable-longlong use wxLongLong class"
183 --enable-geometry use geometry class"
185 --enable-log use logging system"
187 --enable-streams use wxStream etc classes"
189 --enable-file use wxFile classes"
191 --enable-ffile use wxFFile classes"
193 --enable-textbuf use wxTextBuffer class"
195 --enable-textfile use wxTextFile class"
197 --enable-fontmap use font encodings conversion classes"
199 --enable-unicode compile wxString with Unicode support"
201 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
203 --enable-wxprintfv use wxWindows implementation of vprintf()"
205 --enable-std_iostreams use standard C++ stream classes"
207 --enable-filesystem use virtual file systems classes"
209 --enable-fs_inet use virtual HTTP/FTP filesystems"
211 --enable-fs_zip use virtual ZIP filesystems"
213 --enable-zipstream use wxZipInputStream"
215 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
217 --enable-snglinst use wxSingleInstanceChecker class"
219 --enable-mimetype use wxMimeTypesManager"
221 --enable-sysoptions use wxSystemOptions"
223 --enable-url use wxURL class"
225 --enable-protocol use wxProtocol class"
227 --enable-protocol-http HTTP support in wxProtocol"
229 --enable-protocol-ftp FTP support in wxProtocol"
231 --enable-protocol-file FILE support in wxProtocol"
233 --enable-threads use threads"
235 --enable-docview use document view architecture"
237 --enable-help use help subsystem"
239 --enable-mshtmlhelp use MS HTML Help (win32)"
241 --enable-html use wxHTML sub-library"
243 --enable-htmlhelp use wxHTML-based help"
245 --enable-constraints use layout-constraints system"
247 --enable-printarch use printing architecture"
249 --enable-mdi use multiple document interface architecture"
251 --enable-loggui use standard GUI logger"
253 --enable-logwin use wxLogWindow"
255 --enable-logdialog use wxLogDialog"
257 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
259 --enable-prologio use Prolog IO library"
261 --enable-resources use wxWindows resources"
263 --enable-xresources use X resources for save (default for gtk+)"
265 --enable-clipboard use wxClipboard classes"
267 --enable-dnd use Drag'n'Drop classes"
269 --enable-metafile use win32 metafiles"
271 --enable-treelayout use wxTreeLayout classes"
273 --enable-controls use all usual controls"
275 --enable-accel use accelerators"
277 --enable-button use wxButton class"
279 --enable-bmpbutton use wxBitmapButton class"
281 --enable-calendar use wxCalendarCtrl class"
283 --enable-caret use wxCaret class"
285 --enable-checkbox use wxCheckBox class"
287 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
289 --enable-choice use wxChoice class"
291 --enable-combobox use wxComboBox classes"
293 --enable-gauge use wxGauge class"
295 --enable-grid use wxGrid class"
297 --enable-newgrid use new wxGrid class"
299 --enable-imaglist use wxImageList class"
301 --enable-listbox use wxListBox class"
303 --enable-listctrl use wxListCtrl class"
305 --enable-notebook use wxNotebook class"
307 --enable-propsheet use wxPropertySheet class"
309 --enable-radiobox use wxRadioBox class"
311 --enable-radiobtn use wxRadioButton class"
313 --enable-sash use wxSashWindow class"
315 --enable-scrollbar use wxScrollBar class and scrollable windows"
317 --enable-slider use wxSlider class"
319 --enable-spinbtn use wxSpinButton class"
321 --enable-spinctrl use wxSpinCtrl class"
323 --enable-splitter use wxSplitterWindow class"
325 --enable-statbmp use wxStaticBitmap class"
327 --enable-statbox use wxStaticBox class"
329 --enable-statline use wxStaticLine class"
331 --enable-stattext use wxStaticText class"
333 --enable-statusbar use wxStatusBar class"
335 --enable-tabdialog use wxTabControl class"
337 --enable-textctrl use wxTextCtrl class"
339 --enable-togglebtn use wxToggleButton class"
341 --enable-toolbar use wxToolBar class"
343 --enable-tbarnative use native wxToolBar class"
345 --enable-tbarsmpl use wxToolBarSimple class"
347 --enable-treectrl use wxTreeCtrl class"
349 --enable-tipwindow use wxTipWindow class"
351 --enable-popupwin use wxPopUpWindow class"
353 --enable-commondlg use all common dialogs"
355 --enable-choicedlg use wxChoiceDialog"
357 --enable-coldlg use wxColourDialog"
359 --enable-filedlg use wxFileDialog"
361 --enable-finddlg use wxFindReplaceDialog"
363 --enable-fontdlg use wxFontDialog"
365 --enable-dirdlg use wxDirDialog"
367 --enable-msgdlg use wxMessageDialog"
369 --enable-numberdlg use wxNumberEntryDialog"
371 --enable-splash use wxSplashScreen"
373 --enable-textdlg use wxTextDialog"
375 --enable-tipdlg use startup tips"
377 --enable-progressdlg use wxProgressDialog"
379 --enable-wizarddlg use wxWizard"
381 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
383 --enable-miniframe use wxMiniFrame class"
385 --enable-tooltips use wxToolTip class"
387 --enable-splines use spline drawing code"
389 --enable-validators use wxValidator and derived classes"
391 --enable-busyinfo use wxBusyInfo"
393 --enable-joystick use wxJoystick (Linux only)"
395 --enable-metafiles use wxMetaFile (Windows only)"
397 --enable-dragimage use wxDragImage"
399 --enable-palette use wxPalette class"
401 --enable-image use wxImage class"
403 --enable-gif use gif images (GIF file format)"
405 --enable-pcx use pcx images (PCX file format)"
407 --enable-iff use iff images (IFF file format)"
409 --enable-pnm use pnm images (PNM file format)"
411 --enable-xpm use xpm images (XPM file format)"
413 --enable-icocur use Windows ICO and CUR formats"
415 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
417 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
419 --disable-gtktest Do not try to compile and run a test GTK program"
421 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
423 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
425 --disable-gtktest Do not try to compile and run a test GTK program"
427 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
429 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
431 --disable-gtktest Do not try to compile and run a test GTK program"
433 --with-x use the X Window System"
435 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
437 # Initialize some variables set by options.
438 # The variables have the same names as the options, with
439 # dashes changed to underlines.
441 cache_file
=.
/config.cache
450 program_transform_name
=s
,x
,x
,
458 bindir
='${exec_prefix}/bin'
459 sbindir
='${exec_prefix}/sbin'
460 libexecdir
='${exec_prefix}/libexec'
461 datadir
='${prefix}/share'
462 sysconfdir
='${prefix}/etc'
463 sharedstatedir
='${prefix}/com'
464 localstatedir
='${prefix}/var'
465 libdir
='${exec_prefix}/lib'
466 includedir
='${prefix}/include'
467 oldincludedir
='/usr/include'
468 infodir
='${prefix}/info'
469 mandir
='${prefix}/man'
471 # Initialize some other variables.
474 SHELL
=${CONFIG_SHELL-/bin/sh}
475 # Maximum number of lines to put in a shell here document.
482 # If the previous option needs an argument, assign it.
483 if test -n "$ac_prev"; then
484 eval "$ac_prev=\$ac_option"
490 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
494 # Accept the important Cygnus configure options, so we can diagnose typos.
498 -bindir | --bindir | --bindi | --bind | --bin | --bi)
500 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
501 bindir
="$ac_optarg" ;;
503 -build | --build | --buil | --bui | --bu)
505 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
506 build
="$ac_optarg" ;;
508 -cache-file | --cache-file | --cache-fil | --cache-fi \
509 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
510 ac_prev
=cache_file
;;
511 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
512 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
513 cache_file
="$ac_optarg" ;;
515 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
517 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
519 datadir
="$ac_optarg" ;;
521 -disable-* | --disable-*)
522 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
523 # Reject names that are not valid shell variable names.
524 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
525 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
527 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
528 eval "enable_${ac_feature}=no" ;;
530 -enable-* | --enable-*)
531 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
532 # Reject names that are not valid shell variable names.
533 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
534 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
536 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
541 eval "enable_${ac_feature}='$ac_optarg'" ;;
543 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
544 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
545 | --exec | --exe | --ex)
546 ac_prev
=exec_prefix
;;
547 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
548 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
549 | --exec=* | --exe=* | --ex=*)
550 exec_prefix
="$ac_optarg" ;;
552 -gas | --gas | --ga | --g)
553 # Obsolete; use --with-gas.
556 -help | --help | --hel | --he)
557 # Omit some internal or obsolete options to make the list less imposing.
558 # This message is too long to be a string in the A/UX 3.1 sh.
560 Usage: configure [options] [host]
561 Options: [defaults in brackets after descriptions]
563 --cache-file=FILE cache test results in FILE
564 --help print this message
565 --no-create do not create output files
566 --quiet, --silent do not print \`checking...' messages
567 --version print the version of autoconf that created configure
568 Directory and file names:
569 --prefix=PREFIX install architecture-independent files in PREFIX
571 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
573 --bindir=DIR user executables in DIR [EPREFIX/bin]
574 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
575 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
576 --datadir=DIR read-only architecture-independent data in DIR
578 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
579 --sharedstatedir=DIR modifiable architecture-independent data in DIR
581 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
582 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
583 --includedir=DIR C header files in DIR [PREFIX/include]
584 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
585 --infodir=DIR info documentation in DIR [PREFIX/info]
586 --mandir=DIR man documentation in DIR [PREFIX/man]
587 --srcdir=DIR find the sources in DIR [configure dir or ..]
588 --program-prefix=PREFIX prepend PREFIX to installed program names
589 --program-suffix=SUFFIX append SUFFIX to installed program names
590 --program-transform-name=PROGRAM
591 run sed PROGRAM on installed program names
595 --build=BUILD configure for building on BUILD [BUILD=HOST]
596 --host=HOST configure for HOST [guessed]
597 --target=TARGET configure for TARGET [TARGET=HOST]
598 Features and packages:
599 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
600 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
601 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
602 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
603 --x-includes=DIR X include files are in DIR
604 --x-libraries=DIR X library files are in DIR
606 if test -n "$ac_help"; then
607 echo "--enable and --with options recognized:$ac_help"
611 -host | --host | --hos | --ho)
613 -host=* | --host=* | --hos=* | --ho=*)
616 -includedir | --includedir | --includedi | --included | --include \
617 | --includ | --inclu | --incl | --inc)
618 ac_prev
=includedir
;;
619 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
620 | --includ=* | --inclu=* | --incl=* | --inc=*)
621 includedir
="$ac_optarg" ;;
623 -infodir | --infodir | --infodi | --infod | --info | --inf)
625 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
626 infodir
="$ac_optarg" ;;
628 -libdir | --libdir | --libdi | --libd)
630 -libdir=* | --libdir=* | --libdi=* | --libd=*)
631 libdir
="$ac_optarg" ;;
633 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
634 | --libexe | --libex | --libe)
635 ac_prev
=libexecdir
;;
636 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
637 | --libexe=* | --libex=* | --libe=*)
638 libexecdir
="$ac_optarg" ;;
640 -localstatedir | --localstatedir | --localstatedi | --localstated \
641 | --localstate | --localstat | --localsta | --localst \
642 | --locals | --local | --loca | --loc | --lo)
643 ac_prev
=localstatedir
;;
644 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
645 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
646 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
647 localstatedir
="$ac_optarg" ;;
649 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
651 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
652 mandir
="$ac_optarg" ;;
655 # Obsolete; use --without-fp.
658 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
662 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
663 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
666 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
667 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
668 | --oldin | --oldi | --old | --ol | --o)
669 ac_prev
=oldincludedir
;;
670 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
671 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
672 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
673 oldincludedir
="$ac_optarg" ;;
675 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
677 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
678 prefix
="$ac_optarg" ;;
680 -program-prefix | --program-prefix | --program-prefi | --program-pref \
681 | --program-pre | --program-pr | --program-p)
682 ac_prev
=program_prefix
;;
683 -program-prefix=* | --program-prefix=* | --program-prefi=* \
684 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
685 program_prefix
="$ac_optarg" ;;
687 -program-suffix | --program-suffix | --program-suffi | --program-suff \
688 | --program-suf | --program-su | --program-s)
689 ac_prev
=program_suffix
;;
690 -program-suffix=* | --program-suffix=* | --program-suffi=* \
691 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
692 program_suffix
="$ac_optarg" ;;
694 -program-transform-name | --program-transform-name \
695 | --program-transform-nam | --program-transform-na \
696 | --program-transform-n | --program-transform- \
697 | --program-transform | --program-transfor \
698 | --program-transfo | --program-transf \
699 | --program-trans | --program-tran \
700 | --progr-tra | --program-tr | --program-t)
701 ac_prev
=program_transform_name
;;
702 -program-transform-name=* | --program-transform-name=* \
703 | --program-transform-nam=* | --program-transform-na=* \
704 | --program-transform-n=* | --program-transform-=* \
705 | --program-transform=* | --program-transfor=* \
706 | --program-transfo=* | --program-transf=* \
707 | --program-trans=* | --program-tran=* \
708 | --progr-tra=* | --program-tr=* | --program-t=*)
709 program_transform_name
="$ac_optarg" ;;
711 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
712 | -silent | --silent | --silen | --sile | --sil)
715 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
717 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
719 sbindir
="$ac_optarg" ;;
721 -sharedstatedir | --sharedstatedir | --sharedstatedi \
722 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
723 | --sharedst | --shareds | --shared | --share | --shar \
725 ac_prev
=sharedstatedir
;;
726 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
727 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
728 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
730 sharedstatedir
="$ac_optarg" ;;
732 -site | --site | --sit)
734 -site=* | --site=* | --sit=*)
737 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
739 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
740 srcdir
="$ac_optarg" ;;
742 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
743 | --syscon | --sysco | --sysc | --sys | --sy)
744 ac_prev
=sysconfdir
;;
745 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
746 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
747 sysconfdir
="$ac_optarg" ;;
749 -target | --target | --targe | --targ | --tar | --ta | --t)
751 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
752 target
="$ac_optarg" ;;
754 -v | -verbose | --verbose | --verbos | --verbo | --verb)
757 -version | --version | --versio | --versi | --vers)
758 echo "configure generated by autoconf version 2.13"
762 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
763 # Reject names that are not valid shell variable names.
764 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
765 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
767 ac_package
=`echo $ac_package| sed 's/-/_/g'`
772 eval "with_${ac_package}='$ac_optarg'" ;;
774 -without-* | --without-*)
775 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
776 # Reject names that are not valid shell variable names.
777 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
778 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
780 ac_package
=`echo $ac_package| sed 's/-/_/g'`
781 eval "with_${ac_package}=no" ;;
784 # Obsolete; use --with-x.
787 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
788 | --x-incl | --x-inc | --x-in | --x-i)
789 ac_prev
=x_includes
;;
790 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
791 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
792 x_includes
="$ac_optarg" ;;
794 -x-libraries | --x-libraries | --x-librarie | --x-librari \
795 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
796 ac_prev
=x_libraries
;;
797 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
798 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
799 x_libraries
="$ac_optarg" ;;
801 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
805 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
806 echo "configure: warning: $ac_option: invalid host type" 1>&2
808 if test "x$nonopt" != xNONE
; then
809 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
817 if test -n "$ac_prev"; then
818 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
821 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
823 # File descriptor usage:
826 # 2 errors and warnings
827 # 3 some systems may open it to /dev/tty
828 # 4 used on the Kubota Titan
829 # 6 checking for... messages and results
830 # 5 compiler messages saved in config.log
831 if test "$silent" = yes; then
839 This file contains any messages produced by compilers while
840 running configure, to aid debugging if configure makes a mistake.
843 # Strip out --no-create and --no-recursion so they do not pile up.
844 # Also quote any args containing shell metacharacters.
849 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
850 | --no-cr | --no-c) ;;
851 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
853 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
854 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
855 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
860 # Only set these to C if already set. These must not be set unconditionally
861 # because not all systems understand e.g. LANG=C (notably SCO).
862 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
863 # Non-C LC_CTYPE values break the ctype check.
864 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
865 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
866 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
867 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
869 # confdefs.h avoids OS command line length limits that DEFS can exceed.
870 rm -rf conftest
* confdefs.h
871 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
874 # A filename unique to this package, relative to the directory that
875 # configure is in, which we can look for to find out if srcdir is correct.
876 ac_unique_file
=wx
-config.
in
878 # Find the source files, if location was not specified.
879 if test -z "$srcdir"; then
880 ac_srcdir_defaulted
=yes
881 # Try the directory containing this script, then its parent.
883 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
884 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
886 if test ! -r $srcdir/$ac_unique_file; then
890 ac_srcdir_defaulted
=no
892 if test ! -r $srcdir/$ac_unique_file; then
893 if test "$ac_srcdir_defaulted" = yes; then
894 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
896 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
899 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
901 # Prefer explicitly selected file to automatically selected ones.
902 if test -z "$CONFIG_SITE"; then
903 if test "x$prefix" != xNONE
; then
904 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
906 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
909 for ac_site_file
in $CONFIG_SITE; do
910 if test -r "$ac_site_file"; then
911 echo "loading site script $ac_site_file"
916 if test -r "$cache_file"; then
917 echo "loading cache $cache_file"
920 echo "creating cache $cache_file"
925 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
926 ac_cpp
='$CPP $CPPFLAGS'
927 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
928 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
929 cross_compiling
=$ac_cv_prog_cc_cross
933 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
934 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
935 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
942 ac_n
= ac_c
='\c' ac_t
=
948 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
949 if test -f $ac_dir/install-sh; then
951 ac_install_sh
="$ac_aux_dir/install-sh -c"
953 elif test -f $ac_dir/install.sh
; then
955 ac_install_sh
="$ac_aux_dir/install.sh -c"
959 if test -z "$ac_aux_dir"; then
960 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
962 ac_config_guess
=$ac_aux_dir/config.guess
963 ac_config_sub
=$ac_aux_dir/config.sub
964 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
967 # Do some error checking and defaulting for the host and target type.
969 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
972 # 1. You are not allowed to specify --host, --target, and nonopt at the
974 # 2. Host defaults to nonopt.
975 # 3. If nonopt is not specified, then host defaults to the current host,
976 # as determined by config.guess.
977 # 4. Target and build default to nonopt.
978 # 5. If nonopt is not specified, then target and build default to host.
980 # The aliases save the names the user supplied, while $host etc.
981 # will get canonicalized.
982 case $host---$target---$nonopt in
983 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
984 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
988 # Make sure we can run config.sub.
989 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
990 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
993 echo $ac_n "checking host system type""... $ac_c" 1>&6
994 echo "configure:995: checking host system type" >&5
997 case "$host_alias" in
1001 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1002 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1004 *) host_alias
=$nonopt ;;
1008 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1009 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1010 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1011 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1012 echo "$ac_t""$host" 1>&6
1014 echo $ac_n "checking target system type""... $ac_c" 1>&6
1015 echo "configure:1016: checking target system type" >&5
1017 target_alias
=$target
1018 case "$target_alias" in
1021 NONE
) target_alias
=$host_alias ;;
1022 *) target_alias
=$nonopt ;;
1026 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1027 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1028 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1029 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1030 echo "$ac_t""$target" 1>&6
1032 echo $ac_n "checking build system type""... $ac_c" 1>&6
1033 echo "configure:1034: checking build system type" >&5
1036 case "$build_alias" in
1039 NONE
) build_alias
=$host_alias ;;
1040 *) build_alias
=$nonopt ;;
1044 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1045 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1046 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1047 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1048 echo "$ac_t""$build" 1>&6
1050 test "$host_alias" != "$target_alias" &&
1051 test "$program_prefix$program_suffix$program_transform_name" = \
1053 program_prefix
=${target_alias}-
1057 WX_MAJOR_VERSION_NUMBER
=2
1058 WX_MINOR_VERSION_NUMBER
=3
1061 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1062 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1064 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1098 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1100 CPP_MT_FLAG
=-D_REENTRANT
1102 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1107 DEFAULT_wxUSE_MICROWIN
=0
1108 DEFAULT_wxUSE_MOTIF
=0
1111 DEFAULT_wxUSE_WINE
=0
1113 DEFAULT_DEFAULT_wxUSE_GTK
=0
1114 DEFAULT_DEFAULT_wxUSE_MAC
=0
1115 DEFAULT_DEFAULT_wxUSE_MGL
=0
1116 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1117 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1118 DEFAULT_DEFAULT_wxUSE_MSW
=0
1119 DEFAULT_DEFAULT_wxUSE_PM
=0
1120 DEFAULT_DEFAULT_wxUSE_WINE
=0
1128 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1129 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1131 cat >> confdefs.h
<<\EOF
1138 cat >> confdefs.h
<<\EOF
1143 if test "x$TMP" = "xalpha"; then
1145 cat >> confdefs.h
<<\EOF
1150 DEFAULT_DEFAULT_wxUSE_GTK
=1
1152 *-*-irix5* | *-*-irix6* )
1155 cat >> confdefs.h
<<\EOF
1159 cat >> confdefs.h
<<\EOF
1163 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1169 cat >> confdefs.h
<<\EOF
1173 cat >> confdefs.h
<<\EOF
1174 #define __SOLARIS__ 1
1177 cat >> confdefs.h
<<\EOF
1181 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1182 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1188 cat >> confdefs.h
<<\EOF
1192 cat >> confdefs.h
<<\EOF
1196 cat >> confdefs.h
<<\EOF
1200 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1205 CPP_MT_FLAG
=-D_THREAD_SAFE
1206 cat >> confdefs.h
<<\EOF
1207 #define __FREEBSD__ 1
1210 cat >> confdefs.h
<<\EOF
1214 DEFAULT_DEFAULT_wxUSE_GTK
=1
1219 cat >> confdefs.h
<<\EOF
1220 #define __FREEBSD__ 1
1223 cat >> confdefs.h
<<\EOF
1224 #define __OPENBSD__ 1
1227 DEFAULT_DEFAULT_wxUSE_GTK
=1
1232 cat >> confdefs.h
<<\EOF
1233 #define __FREEBSD__ 1
1236 cat >> confdefs.h
<<\EOF
1237 #define __NETBSD__ 1
1240 DEFAULT_DEFAULT_wxUSE_GTK
=1
1245 cat >> confdefs.h
<<\EOF
1249 cat >> confdefs.h
<<\EOF
1253 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1254 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1259 cat >> confdefs.h
<<\EOF
1263 cat >> confdefs.h
<<\EOF
1267 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1286 cat >> confdefs.h
<<\EOF
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1298 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1301 *-*-cygwin* | *-*-mingw32* )
1305 cat >> confdefs.h
<<\EOF
1309 cat >> confdefs.h
<<\EOF
1313 cat >> confdefs.h
<<\EOF
1314 #define __WINDOWS__ 1
1317 cat >> confdefs.h
<<\EOF
1318 #define __GNUWIN32__ 1
1321 cat >> confdefs.h
<<\EOF
1325 cat >> confdefs.h
<<\EOF
1326 #define WINVER 0x0400
1331 DEFAULT_DEFAULT_wxUSE_MSW
=1
1337 cat >> confdefs.h
<<\EOF
1342 DEFAULT_DEFAULT_wxUSE_MGL
=1
1343 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1346 *-pc-os2_emx | *-pc-os2-emx )
1347 cat >> confdefs.h
<<\EOF
1352 DEFAULT_DEFAULT_wxUSE_PM
=1
1360 cat >> confdefs.h
<<\EOF
1364 cat >> confdefs.h
<<\EOF
1365 #define __DARWIN__ 1
1368 cat >> confdefs.h
<<\EOF
1369 #define __POWERPC__ 1
1372 DEFAULT_DEFAULT_wxUSE_MAC
=1
1377 cat >> confdefs.h
<<\EOF
1384 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1387 if test "$USE_UNIX" = 1 ; then
1389 cat >> confdefs.h
<<\EOF
1395 if test "$USE_LINUX" = 1; then
1396 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1397 echo "configure:1398: checking for glibc 2.1 or later" >&5
1398 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1399 echo $ac_n "(cached) $ac_c" 1>&6
1402 cat > conftest.
$ac_ext <<EOF
1403 #line 1404 "configure"
1404 #include "confdefs.h"
1405 #include <features.h>
1408 #if !__GLIBC_PREREQ(2, 1)
1414 if { (eval echo configure
:1415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1420 echo "configure: failed program was:" >&5
1421 cat conftest.
$ac_ext >&5
1432 echo "$ac_t""$wx_lib_glibc21" 1>&6
1433 if test "$wx_lib_glibc21" = "yes"; then
1434 cat >> confdefs.h
<<\EOF
1435 #define wxHAVE_GLIBC2 1
1444 wx_arg_cache_file
="configarg.cache"
1445 echo "loading argument cache $wx_arg_cache_file"
1446 rm -f ${wx_arg_cache_file}.tmp
1447 touch ${wx_arg_cache_file}.tmp
1448 touch ${wx_arg_cache_file}
1452 if test $DEBUG_CONFIGURE = 1; then
1453 DEFAULT_wxUSE_UNIVERSAL
=no
1455 DEFAULT_wxUSE_THREADS
=yes
1457 DEFAULT_wxUSE_SHARED
=yes
1458 DEFAULT_wxUSE_SONAME
=no
1459 DEFAULT_wxUSE_OPTIMISE
=no
1460 DEFAULT_wxUSE_PROFILE
=no
1461 DEFAULT_wxUSE_NO_DEPS
=no
1462 DEFAULT_wxUSE_NO_RTTI
=yes
1463 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1464 DEFAULT_wxUSE_PERMISSIVE
=no
1465 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1466 DEFAULT_wxUSE_DEBUG_INFO
=yes
1467 DEFAULT_wxUSE_DEBUG_GDB
=yes
1468 DEFAULT_wxUSE_MEM_TRACING
=no
1469 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1470 DEFAULT_wxUSE_DMALLOC
=no
1471 DEFAULT_wxUSE_PRECOMP
=no
1472 DEFAULT_wxUSE_APPLE_IEEE
=no
1474 DEFAULT_wxUSE_LOG
=yes
1475 DEFAULT_wxUSE_LOGWINDOW
=no
1476 DEFAULT_wxUSE_LOGGUI
=no
1477 DEFAULT_wxUSE_LOGDIALOG
=no
1479 DEFAULT_wxUSE_GUI
=yes
1480 DEFAULT_wxUSE_CONTROLS
=no
1482 DEFAULT_wxUSE_REGEX
=no
1483 DEFAULT_wxUSE_ZLIB
=no
1484 DEFAULT_wxUSE_LIBPNG
=no
1485 DEFAULT_wxUSE_LIBJPEG
=no
1486 DEFAULT_wxUSE_LIBTIFF
=no
1487 DEFAULT_wxUSE_ODBC
=no
1488 DEFAULT_wxUSE_FREETYPE
=no
1489 DEFAULT_wxUSE_OPENGL
=no
1491 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1492 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1493 DEFAULT_wxUSE_STD_IOSTREAM
=no
1494 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1495 DEFAULT_wxUSE_DATETIME
=no
1496 DEFAULT_wxUSE_TIMEDATE
=no
1497 DEFAULT_wxUSE_TIMER
=no
1498 DEFAULT_wxUSE_STOPWATCH
=no
1499 DEFAULT_wxUSE_FILE
=no
1500 DEFAULT_wxUSE_FFILE
=no
1501 DEFAULT_wxUSE_TEXTBUFFER
=no
1502 DEFAULT_wxUSE_TEXTFILE
=no
1503 DEFAULT_wxUSE_WAVE
=no
1504 DEFAULT_wxUSE_INTL
=no
1505 DEFAULT_wxUSE_CONFIG
=no
1506 DEFAULT_wxUSE_FONTMAP
=no
1507 DEFAULT_wxUSE_STREAMS
=no
1508 DEFAULT_wxUSE_SOCKETS
=no
1509 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1510 DEFAULT_wxUSE_JOYSTICK
=no
1511 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1512 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1513 DEFAULT_wxUSE_LONGLONG
=no
1514 DEFAULT_wxUSE_GEOMETRY
=no
1516 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1517 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1518 DEFAULT_wxUSE_POSTSCRIPT
=no
1520 DEFAULT_wxUSE_X_RESOURCES
=no
1521 DEFAULT_wxUSE_CLIPBOARD
=no
1522 DEFAULT_wxUSE_TOOLTIPS
=no
1523 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1524 DEFAULT_wxUSE_DRAGIMAGE
=no
1525 DEFAULT_wxUSE_SPLINES
=no
1527 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1528 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1529 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1531 DEFAULT_wxUSE_PROLOGIO
=no
1532 DEFAULT_wxUSE_RESOURCES
=no
1533 DEFAULT_wxUSE_CONSTRAINTS
=no
1534 DEFAULT_wxUSE_IPC
=no
1535 DEFAULT_wxUSE_HELP
=no
1536 DEFAULT_wxUSE_MS_HTML_HELP
=no
1537 DEFAULT_wxUSE_WXHTML_HELP
=no
1538 DEFAULT_wxUSE_TREELAYOUT
=no
1539 DEFAULT_wxUSE_METAFILE
=no
1540 DEFAULT_wxUSE_MIMETYPE
=no
1541 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1542 DEFAULT_wxUSE_PROTOCOL
=no
1543 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1544 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1545 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1546 DEFAULT_wxUSE_URL
=no
1548 DEFAULT_wxUSE_COMMONDLGS
=no
1549 DEFAULT_wxUSE_CHOICEDLG
=no
1550 DEFAULT_wxUSE_COLOURDLG
=no
1551 DEFAULT_wxUSE_DIRDLG
=no
1552 DEFAULT_wxUSE_FILEDLG
=no
1553 DEFAULT_wxUSE_FINDREPLDLG
=no
1554 DEFAULT_wxUSE_FONTDLG
=no
1555 DEFAULT_wxUSE_MSGDLG
=no
1556 DEFAULT_wxUSE_NUMBERDLG
=no
1557 DEFAULT_wxUSE_TEXTDLG
=no
1558 DEFAULT_wxUSE_SPLASH
=no
1559 DEFAULT_wxUSE_STARTUP_TIPS
=no
1560 DEFAULT_wxUSE_PROGRESSDLG
=no
1561 DEFAULT_wxUSE_WIZARDDLG
=no
1563 DEFAULT_wxUSE_MENUS
=no
1564 DEFAULT_wxUSE_MINIFRAME
=no
1565 DEFAULT_wxUSE_HTML
=no
1566 DEFAULT_wxUSE_FILESYSTEM
=no
1567 DEFAULT_wxUSE_FS_INET
=no
1568 DEFAULT_wxUSE_FS_ZIP
=no
1569 DEFAULT_wxUSE_BUSYINFO
=no
1570 DEFAULT_wxUSE_ZIPSTREAM
=no
1571 DEFAULT_wxUSE_VALIDATORS
=no
1573 DEFAULT_wxUSE_ACCEL
=no
1574 DEFAULT_wxUSE_BUTTON
=no
1575 DEFAULT_wxUSE_BMPBUTTON
=no
1576 DEFAULT_wxUSE_CALCTRL
=no
1577 DEFAULT_wxUSE_CARET
=no
1578 DEFAULT_wxUSE_CHECKBOX
=no
1579 DEFAULT_wxUSE_CHECKLST
=no
1580 DEFAULT_wxUSE_CHOICE
=no
1581 DEFAULT_wxUSE_COMBOBOX
=no
1582 DEFAULT_wxUSE_GAUGE
=no
1583 DEFAULT_wxUSE_GRID
=no
1584 DEFAULT_wxUSE_NEW_GRID
=no
1585 DEFAULT_wxUSE_IMAGLIST
=no
1586 DEFAULT_wxUSE_LISTBOX
=no
1587 DEFAULT_wxUSE_LISTCTRL
=no
1588 DEFAULT_wxUSE_NOTEBOOK
=no
1589 DEFAULT_wxUSE_PROPSHEET
=no
1590 DEFAULT_wxUSE_RADIOBOX
=no
1591 DEFAULT_wxUSE_RADIOBTN
=no
1592 DEFAULT_wxUSE_SASH
=no
1593 DEFAULT_wxUSE_SCROLLBAR
=no
1594 DEFAULT_wxUSE_SLIDER
=no
1595 DEFAULT_wxUSE_SPINBTN
=no
1596 DEFAULT_wxUSE_SPINCTRL
=no
1597 DEFAULT_wxUSE_SPLITTER
=no
1598 DEFAULT_wxUSE_STATBMP
=no
1599 DEFAULT_wxUSE_STATBOX
=no
1600 DEFAULT_wxUSE_STATLINE
=no
1601 DEFAULT_wxUSE_STATTEXT
=no
1602 DEFAULT_wxUSE_STATUSBAR
=yes
1603 DEFAULT_wxUSE_TABDIALOG
=no
1604 DEFAULT_wxUSE_TEXTCTRL
=no
1605 DEFAULT_wxUSE_TOGGLEBTN
=no
1606 DEFAULT_wxUSE_TOOLBAR
=no
1607 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1608 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1609 DEFAULT_wxUSE_TREECTRL
=no
1610 DEFAULT_wxUSE_POPUPWIN
=no
1611 DEFAULT_wxUSE_TIPWINDOW
=no
1613 DEFAULT_wxUSE_UNICODE
=no
1614 DEFAULT_wxUSE_UNICODE_MSLU
=no
1615 DEFAULT_wxUSE_WCSRTOMBS
=no
1617 DEFAULT_wxUSE_PALETTE
=no
1618 DEFAULT_wxUSE_IMAGE
=no
1619 DEFAULT_wxUSE_GIF
=no
1620 DEFAULT_wxUSE_PCX
=no
1621 DEFAULT_wxUSE_PNM
=no
1622 DEFAULT_wxUSE_IFF
=no
1623 DEFAULT_wxUSE_XPM
=no
1624 DEFAULT_wxUSE_ICO_CUR
=no
1626 DEFAULT_wxUSE_UNIVERSAL
=no
1628 DEFAULT_wxUSE_THREADS
=yes
1630 DEFAULT_wxUSE_SHARED
=yes
1631 DEFAULT_wxUSE_SONAME
=no
1632 DEFAULT_wxUSE_OPTIMISE
=yes
1633 DEFAULT_wxUSE_PROFILE
=no
1634 DEFAULT_wxUSE_NO_DEPS
=no
1635 DEFAULT_wxUSE_NO_RTTI
=yes
1636 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1637 DEFAULT_wxUSE_PERMISSIVE
=no
1638 DEFAULT_wxUSE_DEBUG_FLAG
=no
1639 DEFAULT_wxUSE_DEBUG_INFO
=no
1640 DEFAULT_wxUSE_DEBUG_GDB
=no
1641 DEFAULT_wxUSE_MEM_TRACING
=no
1642 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1643 DEFAULT_wxUSE_DMALLOC
=no
1644 DEFAULT_wxUSE_PRECOMP
=no
1645 DEFAULT_wxUSE_APPLE_IEEE
=yes
1647 DEFAULT_wxUSE_LOG
=yes
1648 DEFAULT_wxUSE_LOGWINDOW
=yes
1649 DEFAULT_wxUSE_LOGGUI
=yes
1650 DEFAULT_wxUSE_LOGDIALOG
=yes
1652 DEFAULT_wxUSE_GUI
=yes
1654 DEFAULT_wxUSE_REGEX
=yes
1655 DEFAULT_wxUSE_ZLIB
=yes
1656 DEFAULT_wxUSE_LIBPNG
=yes
1657 DEFAULT_wxUSE_LIBJPEG
=yes
1658 DEFAULT_wxUSE_LIBTIFF
=yes
1659 DEFAULT_wxUSE_ODBC
=no
1660 DEFAULT_wxUSE_FREETYPE
=no
1661 DEFAULT_wxUSE_OPENGL
=no
1663 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1664 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1665 DEFAULT_wxUSE_STD_IOSTREAM
=no
1666 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1667 DEFAULT_wxUSE_DATETIME
=yes
1668 DEFAULT_wxUSE_TIMEDATE
=no
1669 DEFAULT_wxUSE_TIMER
=yes
1670 DEFAULT_wxUSE_STOPWATCH
=yes
1671 DEFAULT_wxUSE_FILE
=yes
1672 DEFAULT_wxUSE_FFILE
=yes
1673 DEFAULT_wxUSE_TEXTBUFFER
=yes
1674 DEFAULT_wxUSE_TEXTFILE
=yes
1675 DEFAULT_wxUSE_WAVE
=no
1676 DEFAULT_wxUSE_INTL
=yes
1677 DEFAULT_wxUSE_CONFIG
=yes
1678 DEFAULT_wxUSE_FONTMAP
=yes
1679 DEFAULT_wxUSE_STREAMS
=yes
1680 DEFAULT_wxUSE_SOCKETS
=yes
1681 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1682 DEFAULT_wxUSE_JOYSTICK
=yes
1683 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1684 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1685 DEFAULT_wxUSE_LONGLONG
=yes
1686 DEFAULT_wxUSE_GEOMETRY
=yes
1688 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1689 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1690 DEFAULT_wxUSE_POSTSCRIPT
=yes
1692 DEFAULT_wxUSE_X_RESOURCES
=no
1693 DEFAULT_wxUSE_CLIPBOARD
=yes
1694 DEFAULT_wxUSE_TOOLTIPS
=yes
1695 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1696 DEFAULT_wxUSE_DRAGIMAGE
=yes
1697 DEFAULT_wxUSE_SPLINES
=yes
1699 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1700 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1701 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1703 DEFAULT_wxUSE_PROLOGIO
=yes
1704 DEFAULT_wxUSE_RESOURCES
=yes
1705 DEFAULT_wxUSE_CONSTRAINTS
=yes
1706 DEFAULT_wxUSE_IPC
=yes
1707 DEFAULT_wxUSE_HELP
=yes
1708 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1709 DEFAULT_wxUSE_WXHTML_HELP
=yes
1710 DEFAULT_wxUSE_TREELAYOUT
=yes
1711 DEFAULT_wxUSE_METAFILE
=yes
1712 DEFAULT_wxUSE_MIMETYPE
=yes
1713 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1714 DEFAULT_wxUSE_PROTOCOL
=yes
1715 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1716 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1717 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1718 DEFAULT_wxUSE_URL
=yes
1720 DEFAULT_wxUSE_COMMONDLGS
=yes
1721 DEFAULT_wxUSE_CHOICEDLG
=yes
1722 DEFAULT_wxUSE_COLOURDLG
=yes
1723 DEFAULT_wxUSE_DIRDLG
=yes
1724 DEFAULT_wxUSE_FILEDLG
=yes
1725 DEFAULT_wxUSE_FINDREPLDLG
=yes
1726 DEFAULT_wxUSE_FONTDLG
=yes
1727 DEFAULT_wxUSE_MSGDLG
=yes
1728 DEFAULT_wxUSE_NUMBERDLG
=yes
1729 DEFAULT_wxUSE_TEXTDLG
=yes
1730 DEFAULT_wxUSE_SPLASH
=yes
1731 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1732 DEFAULT_wxUSE_PROGRESSDLG
=yes
1733 DEFAULT_wxUSE_WIZARDDLG
=yes
1735 DEFAULT_wxUSE_MENUS
=yes
1736 DEFAULT_wxUSE_MINIFRAME
=yes
1737 DEFAULT_wxUSE_HTML
=yes
1738 DEFAULT_wxUSE_FILESYSTEM
=yes
1739 DEFAULT_wxUSE_FS_INET
=yes
1740 DEFAULT_wxUSE_FS_ZIP
=yes
1741 DEFAULT_wxUSE_BUSYINFO
=yes
1742 DEFAULT_wxUSE_ZIPSTREAM
=yes
1743 DEFAULT_wxUSE_VALIDATORS
=yes
1745 DEFAULT_wxUSE_ACCEL
=yes
1746 DEFAULT_wxUSE_BUTTON
=yes
1747 DEFAULT_wxUSE_BMPBUTTON
=yes
1748 DEFAULT_wxUSE_CALCTRL
=yes
1749 DEFAULT_wxUSE_CARET
=yes
1750 DEFAULT_wxUSE_CHECKBOX
=yes
1751 DEFAULT_wxUSE_CHECKLST
=yes
1752 DEFAULT_wxUSE_CHOICE
=yes
1753 DEFAULT_wxUSE_COMBOBOX
=yes
1754 DEFAULT_wxUSE_GAUGE
=yes
1755 DEFAULT_wxUSE_GRID
=yes
1756 DEFAULT_wxUSE_NEW_GRID
=yes
1757 DEFAULT_wxUSE_IMAGLIST
=yes
1758 DEFAULT_wxUSE_LISTBOX
=yes
1759 DEFAULT_wxUSE_LISTCTRL
=yes
1760 DEFAULT_wxUSE_NOTEBOOK
=yes
1761 DEFAULT_wxUSE_PROPSHEET
=yes
1762 DEFAULT_wxUSE_RADIOBOX
=yes
1763 DEFAULT_wxUSE_RADIOBTN
=yes
1764 DEFAULT_wxUSE_SASH
=yes
1765 DEFAULT_wxUSE_SCROLLBAR
=yes
1766 DEFAULT_wxUSE_SLIDER
=yes
1767 DEFAULT_wxUSE_SPINBTN
=yes
1768 DEFAULT_wxUSE_SPINCTRL
=yes
1769 DEFAULT_wxUSE_SPLITTER
=yes
1770 DEFAULT_wxUSE_STATBMP
=yes
1771 DEFAULT_wxUSE_STATBOX
=yes
1772 DEFAULT_wxUSE_STATLINE
=yes
1773 DEFAULT_wxUSE_STATTEXT
=yes
1774 DEFAULT_wxUSE_STATUSBAR
=yes
1775 DEFAULT_wxUSE_TABDIALOG
=no
1776 DEFAULT_wxUSE_TEXTCTRL
=yes
1777 DEFAULT_wxUSE_TOGGLEBTN
=yes
1778 DEFAULT_wxUSE_TOOLBAR
=yes
1779 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1780 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1781 DEFAULT_wxUSE_TREECTRL
=yes
1782 DEFAULT_wxUSE_POPUPWIN
=yes
1783 DEFAULT_wxUSE_TIPWINDOW
=yes
1785 DEFAULT_wxUSE_UNICODE
=no
1786 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1787 DEFAULT_wxUSE_WCSRTOMBS
=no
1789 DEFAULT_wxUSE_PALETTE
=yes
1790 DEFAULT_wxUSE_IMAGE
=yes
1791 DEFAULT_wxUSE_GIF
=yes
1792 DEFAULT_wxUSE_PCX
=yes
1793 DEFAULT_wxUSE_IFF
=no
1794 DEFAULT_wxUSE_PNM
=yes
1795 DEFAULT_wxUSE_XPM
=yes
1796 DEFAULT_wxUSE_ICO_CUR
=yes
1801 for toolkit
in `echo $ALL_TOOLKITS`; do
1802 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1803 if test "x$LINE" != x
; then
1804 has_toolkit_in_cache
=1
1805 eval "DEFAULT_$LINE"
1806 eval "CACHE_$toolkit=1"
1812 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1813 echo "configure:1814: checking for --enable-gui" >&5
1815 # Check whether --enable-gui or --disable-gui was given.
1816 if test "${enable_gui+set}" = set; then
1817 enableval
="$enable_gui"
1819 if test "$enableval" = yes; then
1820 ac_cv_use_gui
='wxUSE_GUI=yes'
1822 ac_cv_use_gui
='wxUSE_GUI=no'
1827 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1839 eval "$ac_cv_use_gui"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_GUI" = yes; then
1845 echo "$ac_t""yes" 1>&6
1847 echo "$ac_t""no" 1>&6
1851 if test "$wxUSE_GUI" = "yes"; then
1854 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1855 echo "configure:1856: checking for --enable-universal" >&5
1857 # Check whether --enable-universal or --disable-universal was given.
1858 if test "${enable_universal+set}" = set; then
1859 enableval
="$enable_universal"
1861 if test "$enableval" = yes; then
1862 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1864 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1869 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1870 if test "x$LINE" != x
; then
1871 eval "DEFAULT_$LINE"
1876 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1881 eval "$ac_cv_use_universal"
1882 if test "$no_cache" != 1; then
1883 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1886 if test "$wxUSE_UNIVERSAL" = yes; then
1887 echo "$ac_t""yes" 1>&6
1889 echo "$ac_t""no" 1>&6
1892 # Check whether --with-gtk or --without-gtk was given.
1893 if test "${with_gtk+set}" = set; then
1895 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1898 # Check whether --with-motif or --without-motif was given.
1899 if test "${with_motif+set}" = set; then
1900 withval
="$with_motif"
1901 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1904 # Check whether --with-mac or --without-mac was given.
1905 if test "${with_mac+set}" = set; then
1907 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1910 # Check whether --with-wine or --without-wine was given.
1911 if test "${with_wine+set}" = set; then
1912 withval
="$with_wine"
1913 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1916 # Check whether --with-msw or --without-msw was given.
1917 if test "${with_msw+set}" = set; then
1919 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1922 # Check whether --with-pm or --without-pm was given.
1923 if test "${with_pm+set}" = set; then
1925 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1928 # Check whether --with-mgl or --without-mgl was given.
1929 if test "${with_mgl+set}" = set; then
1931 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1934 # Check whether --with-microwin or --without-microwin was given.
1935 if test "${with_microwin+set}" = set; then
1936 withval
="$with_microwin"
1937 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1941 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1942 if test "${enable_gtk2+set}" = set; then
1943 enableval
="$enable_gtk2"
1951 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1952 echo "configure:1953: checking for --with-libpng" >&5
1954 # Check whether --with-libpng or --without-libpng was given.
1955 if test "${with_libpng+set}" = set; then
1956 withval
="$with_libpng"
1958 if test "$withval" = yes; then
1959 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1960 elif test "$withval" = no
; then
1961 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1962 elif test "$withval" = sys
; then
1963 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1964 elif test "$withval" = builtin; then
1965 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1967 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1972 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1973 if test "x$LINE" != x
; then
1974 eval "DEFAULT_$LINE"
1979 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1984 eval "$ac_cv_use_libpng"
1985 if test "$no_cache" != 1; then
1986 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1989 if test "$wxUSE_LIBPNG" = yes; then
1990 echo "$ac_t""yes" 1>&6
1991 elif test "$wxUSE_LIBPNG" = no
; then
1992 echo "$ac_t""no" 1>&6
1993 elif test "$wxUSE_LIBPNG" = sys
; then
1994 echo "$ac_t""system version" 1>&6
1995 elif test "$wxUSE_LIBPNG" = builtin; then
1996 echo "$ac_t""builtin version" 1>&6
1998 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2002 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2003 echo "configure:2004: checking for --with-libjpeg" >&5
2005 # Check whether --with-libjpeg or --without-libjpeg was given.
2006 if test "${with_libjpeg+set}" = set; then
2007 withval
="$with_libjpeg"
2009 if test "$withval" = yes; then
2010 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2011 elif test "$withval" = no
; then
2012 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2013 elif test "$withval" = sys
; then
2014 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2015 elif test "$withval" = builtin; then
2016 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2018 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2023 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2024 if test "x$LINE" != x
; then
2025 eval "DEFAULT_$LINE"
2030 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2035 eval "$ac_cv_use_libjpeg"
2036 if test "$no_cache" != 1; then
2037 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2040 if test "$wxUSE_LIBJPEG" = yes; then
2041 echo "$ac_t""yes" 1>&6
2042 elif test "$wxUSE_LIBJPEG" = no
; then
2043 echo "$ac_t""no" 1>&6
2044 elif test "$wxUSE_LIBJPEG" = sys
; then
2045 echo "$ac_t""system version" 1>&6
2046 elif test "$wxUSE_LIBJPEG" = builtin; then
2047 echo "$ac_t""builtin version" 1>&6
2049 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2053 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2054 echo "configure:2055: checking for --with-libtiff" >&5
2056 # Check whether --with-libtiff or --without-libtiff was given.
2057 if test "${with_libtiff+set}" = set; then
2058 withval
="$with_libtiff"
2060 if test "$withval" = yes; then
2061 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2062 elif test "$withval" = no
; then
2063 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2064 elif test "$withval" = sys
; then
2065 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2066 elif test "$withval" = builtin; then
2067 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2069 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2074 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2075 if test "x$LINE" != x
; then
2076 eval "DEFAULT_$LINE"
2081 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2086 eval "$ac_cv_use_libtiff"
2087 if test "$no_cache" != 1; then
2088 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2091 if test "$wxUSE_LIBTIFF" = yes; then
2092 echo "$ac_t""yes" 1>&6
2093 elif test "$wxUSE_LIBTIFF" = no
; then
2094 echo "$ac_t""no" 1>&6
2095 elif test "$wxUSE_LIBTIFF" = sys
; then
2096 echo "$ac_t""system version" 1>&6
2097 elif test "$wxUSE_LIBTIFF" = builtin; then
2098 echo "$ac_t""builtin version" 1>&6
2100 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2104 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2105 echo "configure:2106: checking for --with-freetype" >&5
2107 # Check whether --with-freetype or --without-freetype was given.
2108 if test "${with_freetype+set}" = set; then
2109 withval
="$with_freetype"
2111 if test "$withval" = yes; then
2112 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2113 elif test "$withval" = no
; then
2114 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2115 elif test "$withval" = sys
; then
2116 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2117 elif test "$withval" = builtin; then
2118 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2120 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2125 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2126 if test "x$LINE" != x
; then
2127 eval "DEFAULT_$LINE"
2132 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2137 eval "$ac_cv_use_freetype"
2138 if test "$no_cache" != 1; then
2139 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2142 if test "$wxUSE_FREETYPE" = yes; then
2143 echo "$ac_t""yes" 1>&6
2144 elif test "$wxUSE_FREETYPE" = no
; then
2145 echo "$ac_t""no" 1>&6
2146 elif test "$wxUSE_FREETYPE" = sys
; then
2147 echo "$ac_t""system version" 1>&6
2148 elif test "$wxUSE_FREETYPE" = builtin; then
2149 echo "$ac_t""builtin version" 1>&6
2151 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2155 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2156 echo "configure:2157: checking for --with-opengl" >&5
2158 # Check whether --with-opengl or --without-opengl was given.
2159 if test "${with_opengl+set}" = set; then
2160 withval
="$with_opengl"
2162 if test "$withval" = yes; then
2163 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2165 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2170 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2171 if test "x$LINE" != x
; then
2172 eval "DEFAULT_$LINE"
2177 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2182 eval "$ac_cv_use_opengl"
2183 if test "$no_cache" != 1; then
2184 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2187 if test "$wxUSE_OPENGL" = yes; then
2188 echo "$ac_t""yes" 1>&6
2190 echo "$ac_t""no" 1>&6
2197 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2198 echo "configure:2199: checking for --with-dmalloc" >&5
2200 # Check whether --with-dmalloc or --without-dmalloc was given.
2201 if test "${with_dmalloc+set}" = set; then
2202 withval
="$with_dmalloc"
2204 if test "$withval" = yes; then
2205 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2207 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2212 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2213 if test "x$LINE" != x
; then
2214 eval "DEFAULT_$LINE"
2219 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2224 eval "$ac_cv_use_dmalloc"
2225 if test "$no_cache" != 1; then
2226 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2229 if test "$wxUSE_DMALLOC" = yes; then
2230 echo "$ac_t""yes" 1>&6
2232 echo "$ac_t""no" 1>&6
2236 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2237 echo "configure:2238: checking for --with-regex" >&5
2239 # Check whether --with-regex or --without-regex was given.
2240 if test "${with_regex+set}" = set; then
2241 withval
="$with_regex"
2243 if test "$withval" = yes; then
2244 ac_cv_use_regex
='wxUSE_REGEX=yes'
2245 elif test "$withval" = no
; then
2246 ac_cv_use_regex
='wxUSE_REGEX=no'
2247 elif test "$withval" = sys
; then
2248 ac_cv_use_regex
='wxUSE_REGEX=sys'
2249 elif test "$withval" = builtin; then
2250 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2252 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2257 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2258 if test "x$LINE" != x
; then
2259 eval "DEFAULT_$LINE"
2264 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2269 eval "$ac_cv_use_regex"
2270 if test "$no_cache" != 1; then
2271 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2274 if test "$wxUSE_REGEX" = yes; then
2275 echo "$ac_t""yes" 1>&6
2276 elif test "$wxUSE_REGEX" = no
; then
2277 echo "$ac_t""no" 1>&6
2278 elif test "$wxUSE_REGEX" = sys
; then
2279 echo "$ac_t""system version" 1>&6
2280 elif test "$wxUSE_REGEX" = builtin; then
2281 echo "$ac_t""builtin version" 1>&6
2283 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2287 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2288 echo "configure:2289: checking for --with-zlib" >&5
2290 # Check whether --with-zlib or --without-zlib was given.
2291 if test "${with_zlib+set}" = set; then
2292 withval
="$with_zlib"
2294 if test "$withval" = yes; then
2295 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2296 elif test "$withval" = no
; then
2297 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2298 elif test "$withval" = sys
; then
2299 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2300 elif test "$withval" = builtin; then
2301 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2303 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2308 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2320 eval "$ac_cv_use_zlib"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_ZLIB" = yes; then
2326 echo "$ac_t""yes" 1>&6
2327 elif test "$wxUSE_ZLIB" = no
; then
2328 echo "$ac_t""no" 1>&6
2329 elif test "$wxUSE_ZLIB" = sys
; then
2330 echo "$ac_t""system version" 1>&6
2331 elif test "$wxUSE_ZLIB" = builtin; then
2332 echo "$ac_t""builtin version" 1>&6
2334 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2338 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2339 echo "configure:2340: checking for --with-odbc" >&5
2341 # Check whether --with-odbc or --without-odbc was given.
2342 if test "${with_odbc+set}" = set; then
2343 withval
="$with_odbc"
2345 if test "$withval" = yes; then
2346 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2348 ac_cv_use_odbc
='wxUSE_ODBC=no'
2353 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2354 if test "x$LINE" != x
; then
2355 eval "DEFAULT_$LINE"
2360 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2365 eval "$ac_cv_use_odbc"
2366 if test "$no_cache" != 1; then
2367 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2370 if test "$wxUSE_ODBC" = yes; then
2371 echo "$ac_t""yes" 1>&6
2373 echo "$ac_t""no" 1>&6
2379 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2380 echo "configure:2381: checking for --enable-shared" >&5
2382 # Check whether --enable-shared or --disable-shared was given.
2383 if test "${enable_shared+set}" = set; then
2384 enableval
="$enable_shared"
2386 if test "$enableval" = yes; then
2387 ac_cv_use_shared
='wxUSE_SHARED=yes'
2389 ac_cv_use_shared
='wxUSE_SHARED=no'
2394 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2395 if test "x$LINE" != x
; then
2396 eval "DEFAULT_$LINE"
2401 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2406 eval "$ac_cv_use_shared"
2407 if test "$no_cache" != 1; then
2408 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2411 if test "$wxUSE_SHARED" = yes; then
2412 echo "$ac_t""yes" 1>&6
2414 echo "$ac_t""no" 1>&6
2418 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2419 echo "configure:2420: checking for --enable-soname" >&5
2421 # Check whether --enable-soname or --disable-soname was given.
2422 if test "${enable_soname+set}" = set; then
2423 enableval
="$enable_soname"
2425 if test "$enableval" = yes; then
2426 ac_cv_use_soname
='wxUSE_SONAME=yes'
2428 ac_cv_use_soname
='wxUSE_SONAME=no'
2433 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2434 if test "x$LINE" != x
; then
2435 eval "DEFAULT_$LINE"
2440 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2445 eval "$ac_cv_use_soname"
2446 if test "$no_cache" != 1; then
2447 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2450 if test "$wxUSE_SONAME" = yes; then
2451 echo "$ac_t""yes" 1>&6
2453 echo "$ac_t""no" 1>&6
2457 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2458 echo "configure:2459: checking for --enable-optimise" >&5
2460 # Check whether --enable-optimise or --disable-optimise was given.
2461 if test "${enable_optimise+set}" = set; then
2462 enableval
="$enable_optimise"
2464 if test "$enableval" = yes; then
2465 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2467 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2472 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2473 if test "x$LINE" != x
; then
2474 eval "DEFAULT_$LINE"
2479 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2484 eval "$ac_cv_use_optimise"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2489 if test "$wxUSE_OPTIMISE" = yes; then
2490 echo "$ac_t""yes" 1>&6
2492 echo "$ac_t""no" 1>&6
2496 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2497 echo "configure:2498: checking for --enable-debug" >&5
2499 # Check whether --enable-debug or --disable-debug was given.
2500 if test "${enable_debug+set}" = set; then
2501 enableval
="$enable_debug"
2503 if test "$enableval" = yes; then
2504 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2506 ac_cv_use_debug
='wxUSE_DEBUG=no'
2511 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2512 if test "x$LINE" != x
; then
2513 eval "DEFAULT_$LINE"
2518 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2523 eval "$ac_cv_use_debug"
2524 if test "$no_cache" != 1; then
2525 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2528 if test "$wxUSE_DEBUG" = yes; then
2529 echo "$ac_t""yes" 1>&6
2531 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2537 echo "configure:2538: checking for --enable-precomp" >&5
2539 # Check whether --enable-precomp or --disable-precomp was given.
2540 if test "${enable_precomp+set}" = set; then
2541 enableval
="$enable_precomp"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2546 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2551 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2563 eval "$ac_cv_use_precomp"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_PRECOMP" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2575 if test "$wxUSE_DEBUG" = "yes"; then
2576 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2577 DEFAULT_wxUSE_DEBUG_INFO
=yes
2578 elif test "$wxUSE_DEBUG" = "no"; then
2579 DEFAULT_wxUSE_DEBUG_FLAG
=no
2580 DEFAULT_wxUSE_DEBUG_INFO
=no
2584 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2585 echo "configure:2586: checking for --enable-debug_flag" >&5
2587 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2588 if test "${enable_debug_flag+set}" = set; then
2589 enableval
="$enable_debug_flag"
2591 if test "$enableval" = yes; then
2592 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2594 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2599 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2600 if test "x$LINE" != x
; then
2601 eval "DEFAULT_$LINE"
2606 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2611 eval "$ac_cv_use_debug_flag"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2616 if test "$wxUSE_DEBUG_FLAG" = yes; then
2617 echo "$ac_t""yes" 1>&6
2619 echo "$ac_t""no" 1>&6
2623 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2624 echo "configure:2625: checking for --enable-debug_info" >&5
2626 # Check whether --enable-debug_info or --disable-debug_info was given.
2627 if test "${enable_debug_info+set}" = set; then
2628 enableval
="$enable_debug_info"
2630 if test "$enableval" = yes; then
2631 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2633 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2638 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x
; then
2640 eval "DEFAULT_$LINE"
2645 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2650 eval "$ac_cv_use_debug_info"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2655 if test "$wxUSE_DEBUG_INFO" = yes; then
2656 echo "$ac_t""yes" 1>&6
2658 echo "$ac_t""no" 1>&6
2662 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2663 echo "configure:2664: checking for --enable-debug_gdb" >&5
2665 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2666 if test "${enable_debug_gdb+set}" = set; then
2667 enableval
="$enable_debug_gdb"
2669 if test "$enableval" = yes; then
2670 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2672 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2677 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2678 if test "x$LINE" != x
; then
2679 eval "DEFAULT_$LINE"
2684 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2689 eval "$ac_cv_use_debug_gdb"
2690 if test "$no_cache" != 1; then
2691 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2694 if test "$wxUSE_DEBUG_GDB" = yes; then
2695 echo "$ac_t""yes" 1>&6
2697 echo "$ac_t""no" 1>&6
2701 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2702 echo "configure:2703: checking for --enable-debug_cntxt" >&5
2704 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2705 if test "${enable_debug_cntxt+set}" = set; then
2706 enableval
="$enable_debug_cntxt"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2711 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2716 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2728 eval "$ac_cv_use_debug_cntxt"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2734 echo "$ac_t""yes" 1>&6
2736 echo "$ac_t""no" 1>&6
2740 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2741 echo "configure:2742: checking for --enable-mem_tracing" >&5
2743 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2744 if test "${enable_mem_tracing+set}" = set; then
2745 enableval
="$enable_mem_tracing"
2747 if test "$enableval" = yes; then
2748 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2750 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2755 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2756 if test "x$LINE" != x
; then
2757 eval "DEFAULT_$LINE"
2762 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2767 eval "$ac_cv_use_mem_tracing"
2768 if test "$no_cache" != 1; then
2769 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2772 if test "$wxUSE_MEM_TRACING" = yes; then
2773 echo "$ac_t""yes" 1>&6
2775 echo "$ac_t""no" 1>&6
2779 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2780 echo "configure:2781: checking for --enable-profile" >&5
2782 # Check whether --enable-profile or --disable-profile was given.
2783 if test "${enable_profile+set}" = set; then
2784 enableval
="$enable_profile"
2786 if test "$enableval" = yes; then
2787 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2789 ac_cv_use_profile
='wxUSE_PROFILE=no'
2794 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x
; then
2796 eval "DEFAULT_$LINE"
2801 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2806 eval "$ac_cv_use_profile"
2807 if test "$no_cache" != 1; then
2808 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2811 if test "$wxUSE_PROFILE" = yes; then
2812 echo "$ac_t""yes" 1>&6
2814 echo "$ac_t""no" 1>&6
2818 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2819 echo "configure:2820: checking for --enable-no_rtti" >&5
2821 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2822 if test "${enable_no_rtti+set}" = set; then
2823 enableval
="$enable_no_rtti"
2825 if test "$enableval" = yes; then
2826 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2828 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2833 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x
; then
2835 eval "DEFAULT_$LINE"
2840 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2845 eval "$ac_cv_use_no_rtti"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2850 if test "$wxUSE_NO_RTTI" = yes; then
2851 echo "$ac_t""yes" 1>&6
2853 echo "$ac_t""no" 1>&6
2857 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2858 echo "configure:2859: checking for --enable-no_exceptions" >&5
2860 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2861 if test "${enable_no_exceptions+set}" = set; then
2862 enableval
="$enable_no_exceptions"
2864 if test "$enableval" = yes; then
2865 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2867 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2872 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2873 if test "x$LINE" != x
; then
2874 eval "DEFAULT_$LINE"
2879 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2884 eval "$ac_cv_use_no_exceptions"
2885 if test "$no_cache" != 1; then
2886 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2889 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2890 echo "$ac_t""yes" 1>&6
2892 echo "$ac_t""no" 1>&6
2896 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2897 echo "configure:2898: checking for --enable-permissive" >&5
2899 # Check whether --enable-permissive or --disable-permissive was given.
2900 if test "${enable_permissive+set}" = set; then
2901 enableval
="$enable_permissive"
2903 if test "$enableval" = yes; then
2904 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2906 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2911 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x
; then
2913 eval "DEFAULT_$LINE"
2918 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2923 eval "$ac_cv_use_permissive"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2928 if test "$wxUSE_PERMISSIVE" = yes; then
2929 echo "$ac_t""yes" 1>&6
2931 echo "$ac_t""no" 1>&6
2935 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2936 echo "configure:2937: checking for --enable-no_deps" >&5
2938 # Check whether --enable-no_deps or --disable-no_deps was given.
2939 if test "${enable_no_deps+set}" = set; then
2940 enableval
="$enable_no_deps"
2942 if test "$enableval" = yes; then
2943 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2945 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2950 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x
; then
2952 eval "DEFAULT_$LINE"
2957 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2962 eval "$ac_cv_use_no_deps"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_NO_DEPS" = yes; then
2968 echo "$ac_t""yes" 1>&6
2970 echo "$ac_t""no" 1>&6
2975 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2976 echo "configure:2977: checking for --enable-compat20" >&5
2978 # Check whether --enable-compat20 or --disable-compat20 was given.
2979 if test "${enable_compat20+set}" = set; then
2980 enableval
="$enable_compat20"
2982 if test "$enableval" = yes; then
2983 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2985 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2990 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x
; then
2992 eval "DEFAULT_$LINE"
2997 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3002 eval "$ac_cv_use_compat20"
3003 if test "$no_cache" != 1; then
3004 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3007 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3008 echo "$ac_t""yes" 1>&6
3010 echo "$ac_t""no" 1>&6
3014 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3015 echo "configure:3016: checking for --enable-compat22" >&5
3017 # Check whether --enable-compat22 or --disable-compat22 was given.
3018 if test "${enable_compat22+set}" = set; then
3019 enableval
="$enable_compat22"
3021 if test "$enableval" = yes; then
3022 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3024 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3029 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3041 eval "$ac_cv_use_compat22"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3046 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3047 echo "$ac_t""yes" 1>&6
3049 echo "$ac_t""no" 1>&6
3055 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3056 echo "configure:3057: checking for --enable-intl" >&5
3058 # Check whether --enable-intl or --disable-intl was given.
3059 if test "${enable_intl+set}" = set; then
3060 enableval
="$enable_intl"
3062 if test "$enableval" = yes; then
3063 ac_cv_use_intl
='wxUSE_INTL=yes'
3065 ac_cv_use_intl
='wxUSE_INTL=no'
3070 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3082 eval "$ac_cv_use_intl"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_INTL" = yes; then
3088 echo "$ac_t""yes" 1>&6
3090 echo "$ac_t""no" 1>&6
3094 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3095 echo "configure:3096: checking for --enable-config" >&5
3097 # Check whether --enable-config or --disable-config was given.
3098 if test "${enable_config+set}" = set; then
3099 enableval
="$enable_config"
3101 if test "$enableval" = yes; then
3102 ac_cv_use_config
='wxUSE_CONFIG=yes'
3104 ac_cv_use_config
='wxUSE_CONFIG=no'
3109 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x
; then
3111 eval "DEFAULT_$LINE"
3116 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3121 eval "$ac_cv_use_config"
3122 if test "$no_cache" != 1; then
3123 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3126 if test "$wxUSE_CONFIG" = yes; then
3127 echo "$ac_t""yes" 1>&6
3129 echo "$ac_t""no" 1>&6
3134 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3135 echo "configure:3136: checking for --enable-protocols" >&5
3137 # Check whether --enable-protocols or --disable-protocols was given.
3138 if test "${enable_protocols+set}" = set; then
3139 enableval
="$enable_protocols"
3141 if test "$enableval" = yes; then
3142 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3144 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3149 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3161 eval "$ac_cv_use_protocols"
3162 if test "$no_cache" != 1; then
3163 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3166 if test "$wxUSE_PROTOCOL" = yes; then
3167 echo "$ac_t""yes" 1>&6
3169 echo "$ac_t""no" 1>&6
3173 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3174 echo "configure:3175: checking for --enable-ftp" >&5
3176 # Check whether --enable-ftp or --disable-ftp was given.
3177 if test "${enable_ftp+set}" = set; then
3178 enableval
="$enable_ftp"
3180 if test "$enableval" = yes; then
3181 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3183 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3188 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x
; then
3190 eval "DEFAULT_$LINE"
3195 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3200 eval "$ac_cv_use_ftp"
3201 if test "$no_cache" != 1; then
3202 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3205 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3206 echo "$ac_t""yes" 1>&6
3208 echo "$ac_t""no" 1>&6
3212 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3213 echo "configure:3214: checking for --enable-http" >&5
3215 # Check whether --enable-http or --disable-http was given.
3216 if test "${enable_http+set}" = set; then
3217 enableval
="$enable_http"
3219 if test "$enableval" = yes; then
3220 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3222 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3227 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x
; then
3229 eval "DEFAULT_$LINE"
3234 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3239 eval "$ac_cv_use_http"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3245 echo "$ac_t""yes" 1>&6
3247 echo "$ac_t""no" 1>&6
3251 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3252 echo "configure:3253: checking for --enable-fileproto" >&5
3254 # Check whether --enable-fileproto or --disable-fileproto was given.
3255 if test "${enable_fileproto+set}" = set; then
3256 enableval
="$enable_fileproto"
3258 if test "$enableval" = yes; then
3259 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3261 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3266 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x
; then
3268 eval "DEFAULT_$LINE"
3273 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3278 eval "$ac_cv_use_fileproto"
3279 if test "$no_cache" != 1; then
3280 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3283 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3284 echo "$ac_t""yes" 1>&6
3286 echo "$ac_t""no" 1>&6
3290 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3291 echo "configure:3292: checking for --enable-sockets" >&5
3293 # Check whether --enable-sockets or --disable-sockets was given.
3294 if test "${enable_sockets+set}" = set; then
3295 enableval
="$enable_sockets"
3297 if test "$enableval" = yes; then
3298 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3300 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3305 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3317 eval "$ac_cv_use_sockets"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3322 if test "$wxUSE_SOCKETS" = yes; then
3323 echo "$ac_t""yes" 1>&6
3325 echo "$ac_t""no" 1>&6
3330 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3331 echo "configure:3332: checking for --enable-ipc" >&5
3333 # Check whether --enable-ipc or --disable-ipc was given.
3334 if test "${enable_ipc+set}" = set; then
3335 enableval
="$enable_ipc"
3337 if test "$enableval" = yes; then
3338 ac_cv_use_ipc
='wxUSE_IPC=yes'
3340 ac_cv_use_ipc
='wxUSE_IPC=no'
3345 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x
; then
3347 eval "DEFAULT_$LINE"
3352 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3357 eval "$ac_cv_use_ipc"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_IPC" = yes; then
3363 echo "$ac_t""yes" 1>&6
3365 echo "$ac_t""no" 1>&6
3370 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3371 echo "configure:3372: checking for --enable-cmdline" >&5
3373 # Check whether --enable-cmdline or --disable-cmdline was given.
3374 if test "${enable_cmdline+set}" = set; then
3375 enableval
="$enable_cmdline"
3377 if test "$enableval" = yes; then
3378 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3380 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3385 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x
; then
3387 eval "DEFAULT_$LINE"
3392 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3397 eval "$ac_cv_use_cmdline"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3403 echo "$ac_t""yes" 1>&6
3405 echo "$ac_t""no" 1>&6
3409 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3410 echo "configure:3411: checking for --enable-datetime" >&5
3412 # Check whether --enable-datetime or --disable-datetime was given.
3413 if test "${enable_datetime+set}" = set; then
3414 enableval
="$enable_datetime"
3416 if test "$enableval" = yes; then
3417 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3419 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3424 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x
; then
3426 eval "DEFAULT_$LINE"
3431 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3436 eval "$ac_cv_use_datetime"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_DATETIME" = yes; then
3442 echo "$ac_t""yes" 1>&6
3444 echo "$ac_t""no" 1>&6
3448 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3449 echo "configure:3450: checking for --enable-timedate" >&5
3451 # Check whether --enable-timedate or --disable-timedate was given.
3452 if test "${enable_timedate+set}" = set; then
3453 enableval
="$enable_timedate"
3455 if test "$enableval" = yes; then
3456 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3458 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3463 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3464 if test "x$LINE" != x
; then
3465 eval "DEFAULT_$LINE"
3470 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3475 eval "$ac_cv_use_timedate"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3480 if test "$wxUSE_TIMEDATE" = yes; then
3481 echo "$ac_t""yes" 1>&6
3483 echo "$ac_t""no" 1>&6
3487 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3488 echo "configure:3489: checking for --enable-stopwatch" >&5
3490 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3491 if test "${enable_stopwatch+set}" = set; then
3492 enableval
="$enable_stopwatch"
3494 if test "$enableval" = yes; then
3495 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3497 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3502 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3514 eval "$ac_cv_use_stopwatch"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3519 if test "$wxUSE_STOPWATCH" = yes; then
3520 echo "$ac_t""yes" 1>&6
3522 echo "$ac_t""no" 1>&6
3526 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3527 echo "configure:3528: checking for --enable-dialupman" >&5
3529 # Check whether --enable-dialupman or --disable-dialupman was given.
3530 if test "${enable_dialupman+set}" = set; then
3531 enableval
="$enable_dialupman"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3536 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3541 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3553 eval "$ac_cv_use_dialupman"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3559 echo "$ac_t""yes" 1>&6
3561 echo "$ac_t""no" 1>&6
3565 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3566 echo "configure:3567: checking for --enable-apple_ieee" >&5
3568 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3569 if test "${enable_apple_ieee+set}" = set; then
3570 enableval
="$enable_apple_ieee"
3572 if test "$enableval" = yes; then
3573 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3575 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3580 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x
; then
3582 eval "DEFAULT_$LINE"
3587 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3592 eval "$ac_cv_use_apple_ieee"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_APPLE_IEEE" = yes; then
3598 echo "$ac_t""yes" 1>&6
3600 echo "$ac_t""no" 1>&6
3604 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3605 echo "configure:3606: checking for --enable-timer" >&5
3607 # Check whether --enable-timer or --disable-timer was given.
3608 if test "${enable_timer+set}" = set; then
3609 enableval
="$enable_timer"
3611 if test "$enableval" = yes; then
3612 ac_cv_use_timer
='wxUSE_TIMER=yes'
3614 ac_cv_use_timer
='wxUSE_TIMER=no'
3619 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3620 if test "x$LINE" != x
; then
3621 eval "DEFAULT_$LINE"
3626 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3631 eval "$ac_cv_use_timer"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3636 if test "$wxUSE_TIMER" = yes; then
3637 echo "$ac_t""yes" 1>&6
3639 echo "$ac_t""no" 1>&6
3643 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3644 echo "configure:3645: checking for --enable-wave" >&5
3646 # Check whether --enable-wave or --disable-wave was given.
3647 if test "${enable_wave+set}" = set; then
3648 enableval
="$enable_wave"
3650 if test "$enableval" = yes; then
3651 ac_cv_use_wave
='wxUSE_WAVE=yes'
3653 ac_cv_use_wave
='wxUSE_WAVE=no'
3658 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x
; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3670 eval "$ac_cv_use_wave"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3675 if test "$wxUSE_WAVE" = yes; then
3676 echo "$ac_t""yes" 1>&6
3678 echo "$ac_t""no" 1>&6
3682 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3683 echo "configure:3684: checking for --enable-fraction" >&5
3685 # Check whether --enable-fraction or --disable-fraction was given.
3686 if test "${enable_fraction+set}" = set; then
3687 enableval
="$enable_fraction"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3692 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3697 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3709 eval "$ac_cv_use_fraction"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3714 if test "$wxUSE_FRACTION" = yes; then
3715 echo "$ac_t""yes" 1>&6
3717 echo "$ac_t""no" 1>&6
3721 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3722 echo "configure:3723: checking for --enable-dynlib" >&5
3724 # Check whether --enable-dynlib or --disable-dynlib was given.
3725 if test "${enable_dynlib+set}" = set; then
3726 enableval
="$enable_dynlib"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3731 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3736 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x
; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3748 eval "$ac_cv_use_dynlib"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3754 echo "$ac_t""yes" 1>&6
3756 echo "$ac_t""no" 1>&6
3760 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3761 echo "configure:3762: checking for --enable-dynamicloader" >&5
3763 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3764 if test "${enable_dynamicloader+set}" = set; then
3765 enableval
="$enable_dynamicloader"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3770 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3775 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x
; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3787 eval "$ac_cv_use_dynamicloader"
3788 if test "$no_cache" != 1; then
3789 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3792 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3793 echo "$ac_t""yes" 1>&6
3795 echo "$ac_t""no" 1>&6
3799 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3800 echo "configure:3801: checking for --enable-longlong" >&5
3802 # Check whether --enable-longlong or --disable-longlong was given.
3803 if test "${enable_longlong+set}" = set; then
3804 enableval
="$enable_longlong"
3806 if test "$enableval" = yes; then
3807 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3809 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3814 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x
; then
3816 eval "DEFAULT_$LINE"
3821 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3826 eval "$ac_cv_use_longlong"
3827 if test "$no_cache" != 1; then
3828 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3831 if test "$wxUSE_LONGLONG" = yes; then
3832 echo "$ac_t""yes" 1>&6
3834 echo "$ac_t""no" 1>&6
3838 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3839 echo "configure:3840: checking for --enable-geometry" >&5
3841 # Check whether --enable-geometry or --disable-geometry was given.
3842 if test "${enable_geometry+set}" = set; then
3843 enableval
="$enable_geometry"
3845 if test "$enableval" = yes; then
3846 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3848 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3853 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x
; then
3855 eval "DEFAULT_$LINE"
3860 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3865 eval "$ac_cv_use_geometry"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3870 if test "$wxUSE_GEOMETRY" = yes; then
3871 echo "$ac_t""yes" 1>&6
3873 echo "$ac_t""no" 1>&6
3877 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3878 echo "configure:3879: checking for --enable-log" >&5
3880 # Check whether --enable-log or --disable-log was given.
3881 if test "${enable_log+set}" = set; then
3882 enableval
="$enable_log"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_log
='wxUSE_LOG=yes'
3887 ac_cv_use_log
='wxUSE_LOG=no'
3892 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x
; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3904 eval "$ac_cv_use_log"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_LOG" = yes; then
3910 echo "$ac_t""yes" 1>&6
3912 echo "$ac_t""no" 1>&6
3916 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3917 echo "configure:3918: checking for --enable-streams" >&5
3919 # Check whether --enable-streams or --disable-streams was given.
3920 if test "${enable_streams+set}" = set; then
3921 enableval
="$enable_streams"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3926 ac_cv_use_streams
='wxUSE_STREAMS=no'
3931 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3943 eval "$ac_cv_use_streams"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3948 if test "$wxUSE_STREAMS" = yes; then
3949 echo "$ac_t""yes" 1>&6
3951 echo "$ac_t""no" 1>&6
3955 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3956 echo "configure:3957: checking for --enable-file" >&5
3958 # Check whether --enable-file or --disable-file was given.
3959 if test "${enable_file+set}" = set; then
3960 enableval
="$enable_file"
3962 if test "$enableval" = yes; then
3963 ac_cv_use_file
='wxUSE_FILE=yes'
3965 ac_cv_use_file
='wxUSE_FILE=no'
3970 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3971 if test "x$LINE" != x
; then
3972 eval "DEFAULT_$LINE"
3977 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3982 eval "$ac_cv_use_file"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_FILE" = yes; then
3988 echo "$ac_t""yes" 1>&6
3990 echo "$ac_t""no" 1>&6
3994 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3995 echo "configure:3996: checking for --enable-ffile" >&5
3997 # Check whether --enable-ffile or --disable-ffile was given.
3998 if test "${enable_ffile+set}" = set; then
3999 enableval
="$enable_ffile"
4001 if test "$enableval" = yes; then
4002 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4004 ac_cv_use_ffile
='wxUSE_FFILE=no'
4009 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x
; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4021 eval "$ac_cv_use_ffile"
4022 if test "$no_cache" != 1; then
4023 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4026 if test "$wxUSE_FFILE" = yes; then
4027 echo "$ac_t""yes" 1>&6
4029 echo "$ac_t""no" 1>&6
4033 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4034 echo "configure:4035: checking for --enable-textbuf" >&5
4036 # Check whether --enable-textbuf or --disable-textbuf was given.
4037 if test "${enable_textbuf+set}" = set; then
4038 enableval
="$enable_textbuf"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4043 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4048 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4060 eval "$ac_cv_use_textbuf"
4061 if test "$no_cache" != 1; then
4062 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4065 if test "$wxUSE_TEXTBUFFER" = yes; then
4066 echo "$ac_t""yes" 1>&6
4068 echo "$ac_t""no" 1>&6
4072 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4073 echo "configure:4074: checking for --enable-textfile" >&5
4075 # Check whether --enable-textfile or --disable-textfile was given.
4076 if test "${enable_textfile+set}" = set; then
4077 enableval
="$enable_textfile"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4082 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4087 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4099 eval "$ac_cv_use_textfile"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_TEXTFILE" = yes; then
4105 echo "$ac_t""yes" 1>&6
4107 echo "$ac_t""no" 1>&6
4111 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4112 echo "configure:4113: checking for --enable-fontmap" >&5
4114 # Check whether --enable-fontmap or --disable-fontmap was given.
4115 if test "${enable_fontmap+set}" = set; then
4116 enableval
="$enable_fontmap"
4118 if test "$enableval" = yes; then
4119 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4121 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4126 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x
; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4138 eval "$ac_cv_use_fontmap"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_FONTMAP" = yes; then
4144 echo "$ac_t""yes" 1>&6
4146 echo "$ac_t""no" 1>&6
4150 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4151 echo "configure:4152: checking for --enable-unicode" >&5
4153 # Check whether --enable-unicode or --disable-unicode was given.
4154 if test "${enable_unicode+set}" = set; then
4155 enableval
="$enable_unicode"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4160 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4165 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4177 eval "$ac_cv_use_unicode"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4182 if test "$wxUSE_UNICODE" = yes; then
4183 echo "$ac_t""yes" 1>&6
4185 echo "$ac_t""no" 1>&6
4189 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4190 echo "configure:4191: checking for --enable-mslu" >&5
4192 # Check whether --enable-mslu or --disable-mslu was given.
4193 if test "${enable_mslu+set}" = set; then
4194 enableval
="$enable_mslu"
4196 if test "$enableval" = yes; then
4197 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4199 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4204 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x
; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4216 eval "$ac_cv_use_mslu"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_UNICODE_MSLU" = yes; then
4222 echo "$ac_t""yes" 1>&6
4224 echo "$ac_t""no" 1>&6
4228 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4229 echo "configure:4230: checking for --enable-wxprintfv" >&5
4231 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4232 if test "${enable_wxprintfv+set}" = set; then
4233 enableval
="$enable_wxprintfv"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4238 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4243 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4255 eval "$ac_cv_use_wxprintfv"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4261 echo "$ac_t""yes" 1>&6
4263 echo "$ac_t""no" 1>&6
4267 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4268 echo "configure:4269: checking for --enable-std_iostreams" >&5
4270 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4271 if test "${enable_std_iostreams+set}" = set; then
4272 enableval
="$enable_std_iostreams"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4277 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4282 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x
; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4294 eval "$ac_cv_use_std_iostreams"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4299 if test "$wxUSE_STD_IOSTREAM" = yes; then
4300 echo "$ac_t""yes" 1>&6
4302 echo "$ac_t""no" 1>&6
4306 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4307 echo "configure:4308: checking for --enable-filesystem" >&5
4309 # Check whether --enable-filesystem or --disable-filesystem was given.
4310 if test "${enable_filesystem+set}" = set; then
4311 enableval
="$enable_filesystem"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4316 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4321 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x
; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4333 eval "$ac_cv_use_filesystem"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_FILESYSTEM" = yes; then
4339 echo "$ac_t""yes" 1>&6
4341 echo "$ac_t""no" 1>&6
4345 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4346 echo "configure:4347: checking for --enable-fs_inet" >&5
4348 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4349 if test "${enable_fs_inet+set}" = set; then
4350 enableval
="$enable_fs_inet"
4352 if test "$enableval" = yes; then
4353 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4355 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4360 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4367 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4372 eval "$ac_cv_use_fs_inet"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_FS_INET" = yes; then
4378 echo "$ac_t""yes" 1>&6
4380 echo "$ac_t""no" 1>&6
4384 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4385 echo "configure:4386: checking for --enable-fs_zip" >&5
4387 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4388 if test "${enable_fs_zip+set}" = set; then
4389 enableval
="$enable_fs_zip"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4394 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4399 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x
; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4411 eval "$ac_cv_use_fs_zip"
4412 if test "$no_cache" != 1; then
4413 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4416 if test "$wxUSE_FS_ZIP" = yes; then
4417 echo "$ac_t""yes" 1>&6
4419 echo "$ac_t""no" 1>&6
4423 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4424 echo "configure:4425: checking for --enable-zipstream" >&5
4426 # Check whether --enable-zipstream or --disable-zipstream was given.
4427 if test "${enable_zipstream+set}" = set; then
4428 enableval
="$enable_zipstream"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4433 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4438 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x
; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4450 eval "$ac_cv_use_zipstream"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_ZIPSTREAM" = yes; then
4456 echo "$ac_t""yes" 1>&6
4458 echo "$ac_t""no" 1>&6
4463 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4464 echo "configure:4465: checking for --enable-catch_segvs" >&5
4466 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4467 if test "${enable_catch_segvs+set}" = set; then
4468 enableval
="$enable_catch_segvs"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4473 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4478 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4490 eval "$ac_cv_use_catch_segvs"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4495 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4496 echo "$ac_t""yes" 1>&6
4498 echo "$ac_t""no" 1>&6
4502 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4503 echo "configure:4504: checking for --enable-snglinst" >&5
4505 # Check whether --enable-snglinst or --disable-snglinst was given.
4506 if test "${enable_snglinst+set}" = set; then
4507 enableval
="$enable_snglinst"
4509 if test "$enableval" = yes; then
4510 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4512 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4517 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4518 if test "x$LINE" != x
; then
4519 eval "DEFAULT_$LINE"
4524 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4529 eval "$ac_cv_use_snglinst"
4530 if test "$no_cache" != 1; then
4531 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4534 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4535 echo "$ac_t""yes" 1>&6
4537 echo "$ac_t""no" 1>&6
4542 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4543 echo "configure:4544: checking for --enable-mimetype" >&5
4545 # Check whether --enable-mimetype or --disable-mimetype was given.
4546 if test "${enable_mimetype+set}" = set; then
4547 enableval
="$enable_mimetype"
4549 if test "$enableval" = yes; then
4550 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4552 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4557 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x
; then
4559 eval "DEFAULT_$LINE"
4564 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4569 eval "$ac_cv_use_mimetype"
4570 if test "$no_cache" != 1; then
4571 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4574 if test "$wxUSE_MIMETYPE" = yes; then
4575 echo "$ac_t""yes" 1>&6
4577 echo "$ac_t""no" 1>&6
4581 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4582 echo "configure:4583: checking for --enable-system_options" >&5
4584 # Check whether --enable-system_options or --disable-system_options was given.
4585 if test "${enable_system_options+set}" = set; then
4586 enableval
="$enable_system_options"
4588 if test "$enableval" = yes; then
4589 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4591 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4596 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4597 if test "x$LINE" != x
; then
4598 eval "DEFAULT_$LINE"
4603 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4608 eval "$ac_cv_use_system_options"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4613 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4614 echo "$ac_t""yes" 1>&6
4616 echo "$ac_t""no" 1>&6
4621 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4622 echo "configure:4623: checking for --enable-url" >&5
4624 # Check whether --enable-url or --disable-url was given.
4625 if test "${enable_url+set}" = set; then
4626 enableval
="$enable_url"
4628 if test "$enableval" = yes; then
4629 ac_cv_use_url
='wxUSE_URL=yes'
4631 ac_cv_use_url
='wxUSE_URL=no'
4636 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4637 if test "x$LINE" != x
; then
4638 eval "DEFAULT_$LINE"
4643 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4648 eval "$ac_cv_use_url"
4649 if test "$no_cache" != 1; then
4650 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4653 if test "$wxUSE_URL" = yes; then
4654 echo "$ac_t""yes" 1>&6
4656 echo "$ac_t""no" 1>&6
4660 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4661 echo "configure:4662: checking for --enable-protocol" >&5
4663 # Check whether --enable-protocol or --disable-protocol was given.
4664 if test "${enable_protocol+set}" = set; then
4665 enableval
="$enable_protocol"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4670 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4675 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4687 eval "$ac_cv_use_protocol"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4692 if test "$wxUSE_PROTOCOL" = yes; then
4693 echo "$ac_t""yes" 1>&6
4695 echo "$ac_t""no" 1>&6
4699 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4700 echo "configure:4701: checking for --enable-protocol_http" >&5
4702 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4703 if test "${enable_protocol_http+set}" = set; then
4704 enableval
="$enable_protocol_http"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4709 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4714 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4726 eval "$ac_cv_use_protocol_http"
4727 if test "$no_cache" != 1; then
4728 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4731 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4732 echo "$ac_t""yes" 1>&6
4734 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --enable-protocol_ftp" >&5
4741 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4742 if test "${enable_protocol_ftp+set}" = set; then
4743 enableval
="$enable_protocol_ftp"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4748 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4753 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4765 eval "$ac_cv_use_protocol_ftp"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4771 echo "$ac_t""yes" 1>&6
4773 echo "$ac_t""no" 1>&6
4777 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4778 echo "configure:4779: checking for --enable-protocol_file" >&5
4780 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4781 if test "${enable_protocol_file+set}" = set; then
4782 enableval
="$enable_protocol_file"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4787 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4792 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4804 eval "$ac_cv_use_protocol_file"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4810 echo "$ac_t""yes" 1>&6
4812 echo "$ac_t""no" 1>&6
4819 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4820 echo "configure:4821: checking for --enable-threads" >&5
4822 # Check whether --enable-threads or --disable-threads was given.
4823 if test "${enable_threads+set}" = set; then
4824 enableval
="$enable_threads"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_threads
='wxUSE_THREADS=yes'
4829 ac_cv_use_threads
='wxUSE_THREADS=no'
4834 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4846 eval "$ac_cv_use_threads"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_THREADS" = yes; then
4852 echo "$ac_t""yes" 1>&6
4854 echo "$ac_t""no" 1>&6
4858 if test "$wxUSE_GUI" = "yes"; then
4862 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4863 echo "configure:4864: checking for --enable-docview" >&5
4865 # Check whether --enable-docview or --disable-docview was given.
4866 if test "${enable_docview+set}" = set; then
4867 enableval
="$enable_docview"
4869 if test "$enableval" = yes; then
4870 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4872 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4877 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4884 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4889 eval "$ac_cv_use_docview"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4895 echo "$ac_t""yes" 1>&6
4897 echo "$ac_t""no" 1>&6
4901 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4902 echo "configure:4903: checking for --enable-help" >&5
4904 # Check whether --enable-help or --disable-help was given.
4905 if test "${enable_help+set}" = set; then
4906 enableval
="$enable_help"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_help
='wxUSE_HELP=yes'
4911 ac_cv_use_help
='wxUSE_HELP=no'
4916 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4928 eval "$ac_cv_use_help"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_HELP" = yes; then
4934 echo "$ac_t""yes" 1>&6
4936 echo "$ac_t""no" 1>&6
4940 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4941 echo "configure:4942: checking for --enable-mshtmlhelp" >&5
4943 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4944 if test "${enable_mshtmlhelp+set}" = set; then
4945 enableval
="$enable_mshtmlhelp"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4950 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4955 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4967 eval "$ac_cv_use_mshtmlhelp"
4968 if test "$no_cache" != 1; then
4969 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4972 if test "$wxUSE_MS_HTML_HELP" = yes; then
4973 echo "$ac_t""yes" 1>&6
4975 echo "$ac_t""no" 1>&6
4979 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4980 echo "configure:4981: checking for --enable-html" >&5
4982 # Check whether --enable-html or --disable-html was given.
4983 if test "${enable_html+set}" = set; then
4984 enableval
="$enable_html"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_html
='wxUSE_HTML=yes'
4989 ac_cv_use_html
='wxUSE_HTML=no'
4994 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x
; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5006 eval "$ac_cv_use_html"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5011 if test "$wxUSE_HTML" = yes; then
5012 echo "$ac_t""yes" 1>&6
5014 echo "$ac_t""no" 1>&6
5018 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5019 echo "configure:5020: checking for --enable-htmlhelp" >&5
5021 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5022 if test "${enable_htmlhelp+set}" = set; then
5023 enableval
="$enable_htmlhelp"
5025 if test "$enableval" = yes; then
5026 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5028 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5033 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x
; then
5035 eval "DEFAULT_$LINE"
5040 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5045 eval "$ac_cv_use_htmlhelp"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_WXHTML_HELP" = yes; then
5051 echo "$ac_t""yes" 1>&6
5053 echo "$ac_t""no" 1>&6
5057 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5058 echo "configure:5059: checking for --enable-constraints" >&5
5060 # Check whether --enable-constraints or --disable-constraints was given.
5061 if test "${enable_constraints+set}" = set; then
5062 enableval
="$enable_constraints"
5064 if test "$enableval" = yes; then
5065 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5067 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5072 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x
; then
5074 eval "DEFAULT_$LINE"
5079 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5084 eval "$ac_cv_use_constraints"
5085 if test "$no_cache" != 1; then
5086 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5089 if test "$wxUSE_CONSTRAINTS" = yes; then
5090 echo "$ac_t""yes" 1>&6
5092 echo "$ac_t""no" 1>&6
5096 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5097 echo "configure:5098: checking for --enable-printarch" >&5
5099 # Check whether --enable-printarch or --disable-printarch was given.
5100 if test "${enable_printarch+set}" = set; then
5101 enableval
="$enable_printarch"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5106 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5111 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x
; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5123 eval "$ac_cv_use_printarch"
5124 if test "$no_cache" != 1; then
5125 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5128 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5129 echo "$ac_t""yes" 1>&6
5131 echo "$ac_t""no" 1>&6
5135 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5136 echo "configure:5137: checking for --enable-mdi" >&5
5138 # Check whether --enable-mdi or --disable-mdi was given.
5139 if test "${enable_mdi+set}" = set; then
5140 enableval
="$enable_mdi"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5145 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5150 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x
; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5162 eval "$ac_cv_use_mdi"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5168 echo "$ac_t""yes" 1>&6
5170 echo "$ac_t""no" 1>&6
5174 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5175 echo "configure:5176: checking for --enable-loggui" >&5
5177 # Check whether --enable-loggui or --disable-loggui was given.
5178 if test "${enable_loggui+set}" = set; then
5179 enableval
="$enable_loggui"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5184 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5189 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5201 eval "$ac_cv_use_loggui"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_LOGGUI" = yes; then
5207 echo "$ac_t""yes" 1>&6
5209 echo "$ac_t""no" 1>&6
5213 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5214 echo "configure:5215: checking for --enable-logwin" >&5
5216 # Check whether --enable-logwin or --disable-logwin was given.
5217 if test "${enable_logwin+set}" = set; then
5218 enableval
="$enable_logwin"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5223 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5228 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x
; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5240 eval "$ac_cv_use_logwin"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_LOGWINDOW" = yes; then
5246 echo "$ac_t""yes" 1>&6
5248 echo "$ac_t""no" 1>&6
5252 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5253 echo "configure:5254: checking for --enable-logdialog" >&5
5255 # Check whether --enable-logdialog or --disable-logdialog was given.
5256 if test "${enable_logdialog+set}" = set; then
5257 enableval
="$enable_logdialog"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5262 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5267 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5279 eval "$ac_cv_use_logdialog"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_LOGDIALOG" = yes; then
5285 echo "$ac_t""yes" 1>&6
5287 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5293 echo "configure:5294: checking for --enable-postscript" >&5
5295 # Check whether --enable-postscript or --disable-postscript was given.
5296 if test "${enable_postscript+set}" = set; then
5297 enableval
="$enable_postscript"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5302 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5307 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5319 eval "$ac_cv_use_postscript"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_POSTSCRIPT" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5334 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5335 echo "configure:5336: checking for --enable-prologio" >&5
5337 # Check whether --enable-prologio or --disable-prologio was given.
5338 if test "${enable_prologio+set}" = set; then
5339 enableval
="$enable_prologio"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5344 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5349 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5361 eval "$ac_cv_use_prologio"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_PROLOGIO" = yes; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5373 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5374 echo "configure:5375: checking for --enable-resources" >&5
5376 # Check whether --enable-resources or --disable-resources was given.
5377 if test "${enable_resources+set}" = set; then
5378 enableval
="$enable_resources"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5383 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5388 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5400 eval "$ac_cv_use_resources"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_RESOURCES" = yes; then
5406 echo "$ac_t""yes" 1>&6
5408 echo "$ac_t""no" 1>&6
5413 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5414 echo "configure:5415: checking for --enable-xresources" >&5
5416 # Check whether --enable-xresources or --disable-xresources was given.
5417 if test "${enable_xresources+set}" = set; then
5418 enableval
="$enable_xresources"
5420 if test "$enableval" = yes; then
5421 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5423 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5428 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x
; then
5430 eval "DEFAULT_$LINE"
5435 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5440 eval "$ac_cv_use_xresources"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_X_RESOURCES" = yes; then
5446 echo "$ac_t""yes" 1>&6
5448 echo "$ac_t""no" 1>&6
5454 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5455 echo "configure:5456: checking for --enable-clipboard" >&5
5457 # Check whether --enable-clipboard or --disable-clipboard was given.
5458 if test "${enable_clipboard+set}" = set; then
5459 enableval
="$enable_clipboard"
5461 if test "$enableval" = yes; then
5462 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5464 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5469 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x
; then
5471 eval "DEFAULT_$LINE"
5476 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5481 eval "$ac_cv_use_clipboard"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_CLIPBOARD" = yes; then
5487 echo "$ac_t""yes" 1>&6
5489 echo "$ac_t""no" 1>&6
5493 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5494 echo "configure:5495: checking for --enable-dnd" >&5
5496 # Check whether --enable-dnd or --disable-dnd was given.
5497 if test "${enable_dnd+set}" = set; then
5498 enableval
="$enable_dnd"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5503 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5508 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x
; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5520 eval "$ac_cv_use_dnd"
5521 if test "$no_cache" != 1; then
5522 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5525 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5526 echo "$ac_t""yes" 1>&6
5528 echo "$ac_t""no" 1>&6
5532 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5533 echo "configure:5534: checking for --enable-metafile" >&5
5535 # Check whether --enable-metafile or --disable-metafile was given.
5536 if test "${enable_metafile+set}" = set; then
5537 enableval
="$enable_metafile"
5539 if test "$enableval" = yes; then
5540 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5542 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5547 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5548 if test "x$LINE" != x
; then
5549 eval "DEFAULT_$LINE"
5554 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5559 eval "$ac_cv_use_metafile"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_METAFILE" = yes; then
5565 echo "$ac_t""yes" 1>&6
5567 echo "$ac_t""no" 1>&6
5572 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5573 echo "configure:5574: checking for --enable-treelayout" >&5
5575 # Check whether --enable-treelayout or --disable-treelayout was given.
5576 if test "${enable_treelayout+set}" = set; then
5577 enableval
="$enable_treelayout"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5582 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5587 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x
; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5599 eval "$ac_cv_use_treelayout"
5600 if test "$no_cache" != 1; then
5601 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5604 if test "$wxUSE_TREELAYOUT" = yes; then
5605 echo "$ac_t""yes" 1>&6
5607 echo "$ac_t""no" 1>&6
5613 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5614 echo "configure:5615: checking for --enable-controls" >&5
5616 # Check whether --enable-controls or --disable-controls was given.
5617 if test "${enable_controls+set}" = set; then
5618 enableval
="$enable_controls"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5623 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5628 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5640 eval "$ac_cv_use_controls"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5645 if test "$wxUSE_CONTROLS" = yes; then
5646 echo "$ac_t""yes" 1>&6
5648 echo "$ac_t""no" 1>&6
5652 if test "$wxUSE_CONTROLS" = "yes"; then
5653 DEFAULT_wxUSE_ACCEL
=yes
5654 DEFAULT_wxUSE_BMPBUTTON
=yes
5655 DEFAULT_wxUSE_BUTTON
=yes
5656 DEFAULT_wxUSE_CALCTRL
=no
5657 DEFAULT_wxUSE_CARET
=yes
5658 DEFAULT_wxUSE_COMBOBOX
=yes
5659 DEFAULT_wxUSE_CHECKBOX
=yes
5660 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5661 DEFAULT_wxUSE_CHOICE
=yes
5662 DEFAULT_wxUSE_GAUGE
=yes
5663 DEFAULT_wxUSE_GRID
=yes
5664 DEFAULT_wxUSE_NEW_GRID
=yes
5665 DEFAULT_wxUSE_IMAGLIST
=yes
5666 DEFAULT_wxUSE_LISTBOX
=yes
5667 DEFAULT_wxUSE_LISTCTRL
=yes
5668 DEFAULT_wxUSE_NOTEBOOK
=yes
5669 DEFAULT_wxUSE_PROPSHEET
=yes
5670 DEFAULT_wxUSE_RADIOBOX
=yes
5671 DEFAULT_wxUSE_RADIOBTN
=yes
5672 DEFAULT_wxUSE_SASH
=yes
5673 DEFAULT_wxUSE_SCROLLBAR
=yes
5674 DEFAULT_wxUSE_SLIDER
=yes
5675 DEFAULT_wxUSE_SPINBTN
=yes
5676 DEFAULT_wxUSE_SPINCTRL
=yes
5677 DEFAULT_wxUSE_SPLITTER
=yes
5678 DEFAULT_wxUSE_STATBMP
=yes
5679 DEFAULT_wxUSE_STATBOX
=yes
5680 DEFAULT_wxUSE_STATLINE
=yes
5681 DEFAULT_wxUSE_STATUSBAR
=yes
5682 DEFAULT_wxUSE_TAB_DIALOG
=yes
5683 DEFAULT_wxUSE_TOGGLEBTN
=yes
5684 DEFAULT_wxUSE_TOOLBAR
=yes
5685 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5686 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5687 DEFAULT_wxUSE_TOOLTIPS
=yes
5688 DEFAULT_wxUSE_TREECTRL
=yes
5689 DEFAULT_wxUSE_POPUPWIN
=yes
5690 DEFAULT_wxUSE_TIPWINDOW
=yes
5691 elif test "$wxUSE_CONTROLS" = "no"; then
5692 DEFAULT_wxUSE_ACCEL
=no
5693 DEFAULT_wxUSE_BMPBUTTON
=no
5694 DEFAULT_wxUSE_BUTTON
=no
5695 DEFAULT_wxUSE_CALCTRL
=no
5696 DEFAULT_wxUSE_CARET
=no
5697 DEFAULT_wxUSE_COMBOBOX
=no
5698 DEFAULT_wxUSE_CHECKBOX
=no
5699 DEFAULT_wxUSE_CHECKLISTBOX
=no
5700 DEFAULT_wxUSE_CHOICE
=no
5701 DEFAULT_wxUSE_GAUGE
=no
5702 DEFAULT_wxUSE_GRID
=no
5703 DEFAULT_wxUSE_NEW_GRID
=no
5704 DEFAULT_wxUSE_IMAGLIST
=no
5705 DEFAULT_wxUSE_LISTBOX
=no
5706 DEFAULT_wxUSE_LISTCTRL
=no
5707 DEFAULT_wxUSE_NOTEBOOK
=no
5708 DEFAULT_wxUSE_PROPSHEET
=no
5709 DEFAULT_wxUSE_RADIOBOX
=no
5710 DEFAULT_wxUSE_RADIOBTN
=no
5711 DEFAULT_wxUSE_SASH
=no
5712 DEFAULT_wxUSE_SCROLLBAR
=no
5713 DEFAULT_wxUSE_SLIDER
=no
5714 DEFAULT_wxUSE_SPINBTN
=no
5715 DEFAULT_wxUSE_SPINCTRL
=no
5716 DEFAULT_wxUSE_SPLITTER
=no
5717 DEFAULT_wxUSE_STATBMP
=no
5718 DEFAULT_wxUSE_STATBOX
=no
5719 DEFAULT_wxUSE_STATLINE
=no
5720 DEFAULT_wxUSE_STATUSBAR
=no
5721 DEFAULT_wxUSE_TAB_DIALOG
=no
5722 DEFAULT_wxUSE_TOGGLEBTN
=no
5723 DEFAULT_wxUSE_TOOLBAR
=no
5724 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5725 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5726 DEFAULT_wxUSE_TOOLTIPS
=no
5727 DEFAULT_wxUSE_TREECTRL
=no
5728 DEFAULT_wxUSE_POPUPWIN
=no
5729 DEFAULT_wxUSE_TIPWINDOW
=no
5733 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5734 echo "configure:5735: checking for --enable-accel" >&5
5736 # Check whether --enable-accel or --disable-accel was given.
5737 if test "${enable_accel+set}" = set; then
5738 enableval
="$enable_accel"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5743 ac_cv_use_accel
='wxUSE_ACCEL=no'
5748 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5760 eval "$ac_cv_use_accel"
5761 if test "$no_cache" != 1; then
5762 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5765 if test "$wxUSE_ACCEL" = yes; then
5766 echo "$ac_t""yes" 1>&6
5768 echo "$ac_t""no" 1>&6
5772 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5773 echo "configure:5774: checking for --enable-button" >&5
5775 # Check whether --enable-button or --disable-button was given.
5776 if test "${enable_button+set}" = set; then
5777 enableval
="$enable_button"
5779 if test "$enableval" = yes; then
5780 ac_cv_use_button
='wxUSE_BUTTON=yes'
5782 ac_cv_use_button
='wxUSE_BUTTON=no'
5787 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x
; then
5789 eval "DEFAULT_$LINE"
5794 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5799 eval "$ac_cv_use_button"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5804 if test "$wxUSE_BUTTON" = yes; then
5805 echo "$ac_t""yes" 1>&6
5807 echo "$ac_t""no" 1>&6
5811 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5812 echo "configure:5813: checking for --enable-bmpbutton" >&5
5814 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5815 if test "${enable_bmpbutton+set}" = set; then
5816 enableval
="$enable_bmpbutton"
5818 if test "$enableval" = yes; then
5819 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5821 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5826 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x
; then
5828 eval "DEFAULT_$LINE"
5833 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5838 eval "$ac_cv_use_bmpbutton"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_BMPBUTTON" = yes; then
5844 echo "$ac_t""yes" 1>&6
5846 echo "$ac_t""no" 1>&6
5850 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5851 echo "configure:5852: checking for --enable-calendar" >&5
5853 # Check whether --enable-calendar or --disable-calendar was given.
5854 if test "${enable_calendar+set}" = set; then
5855 enableval
="$enable_calendar"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5860 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5865 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5877 eval "$ac_cv_use_calendar"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_CALCTRL" = yes; then
5883 echo "$ac_t""yes" 1>&6
5885 echo "$ac_t""no" 1>&6
5889 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5890 echo "configure:5891: checking for --enable-caret" >&5
5892 # Check whether --enable-caret or --disable-caret was given.
5893 if test "${enable_caret+set}" = set; then
5894 enableval
="$enable_caret"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_caret
='wxUSE_CARET=yes'
5899 ac_cv_use_caret
='wxUSE_CARET=no'
5904 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5916 eval "$ac_cv_use_caret"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_CARET" = yes; then
5922 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5928 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5929 echo "configure:5930: checking for --enable-checkbox" >&5
5931 # Check whether --enable-checkbox or --disable-checkbox was given.
5932 if test "${enable_checkbox+set}" = set; then
5933 enableval
="$enable_checkbox"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5938 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5943 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x
; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5955 eval "$ac_cv_use_checkbox"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_CHECKBOX" = yes; then
5961 echo "$ac_t""yes" 1>&6
5963 echo "$ac_t""no" 1>&6
5967 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5968 echo "configure:5969: checking for --enable-checklst" >&5
5970 # Check whether --enable-checklst or --disable-checklst was given.
5971 if test "${enable_checklst+set}" = set; then
5972 enableval
="$enable_checklst"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5977 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5982 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5994 eval "$ac_cv_use_checklst"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_CHECKLST" = yes; then
6000 echo "$ac_t""yes" 1>&6
6002 echo "$ac_t""no" 1>&6
6006 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6007 echo "configure:6008: checking for --enable-choice" >&5
6009 # Check whether --enable-choice or --disable-choice was given.
6010 if test "${enable_choice+set}" = set; then
6011 enableval
="$enable_choice"
6013 if test "$enableval" = yes; then
6014 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6016 ac_cv_use_choice
='wxUSE_CHOICE=no'
6021 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x
; then
6023 eval "DEFAULT_$LINE"
6028 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6033 eval "$ac_cv_use_choice"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_CHOICE" = yes; then
6039 echo "$ac_t""yes" 1>&6
6041 echo "$ac_t""no" 1>&6
6045 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6046 echo "configure:6047: checking for --enable-combobox" >&5
6048 # Check whether --enable-combobox or --disable-combobox was given.
6049 if test "${enable_combobox+set}" = set; then
6050 enableval
="$enable_combobox"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6055 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6060 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6072 eval "$ac_cv_use_combobox"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6077 if test "$wxUSE_COMBOBOX" = yes; then
6078 echo "$ac_t""yes" 1>&6
6080 echo "$ac_t""no" 1>&6
6084 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6085 echo "configure:6086: checking for --enable-gauge" >&5
6087 # Check whether --enable-gauge or --disable-gauge was given.
6088 if test "${enable_gauge+set}" = set; then
6089 enableval
="$enable_gauge"
6091 if test "$enableval" = yes; then
6092 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6094 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6099 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x
; then
6101 eval "DEFAULT_$LINE"
6106 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6111 eval "$ac_cv_use_gauge"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6116 if test "$wxUSE_GAUGE" = yes; then
6117 echo "$ac_t""yes" 1>&6
6119 echo "$ac_t""no" 1>&6
6123 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6124 echo "configure:6125: checking for --enable-grid" >&5
6126 # Check whether --enable-grid or --disable-grid was given.
6127 if test "${enable_grid+set}" = set; then
6128 enableval
="$enable_grid"
6130 if test "$enableval" = yes; then
6131 ac_cv_use_grid
='wxUSE_GRID=yes'
6133 ac_cv_use_grid
='wxUSE_GRID=no'
6138 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x
; then
6140 eval "DEFAULT_$LINE"
6145 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6150 eval "$ac_cv_use_grid"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_GRID" = yes; then
6156 echo "$ac_t""yes" 1>&6
6158 echo "$ac_t""no" 1>&6
6162 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6163 echo "configure:6164: checking for --enable-newgrid" >&5
6165 # Check whether --enable-newgrid or --disable-newgrid was given.
6166 if test "${enable_newgrid+set}" = set; then
6167 enableval
="$enable_newgrid"
6169 if test "$enableval" = yes; then
6170 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6172 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6177 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6178 if test "x$LINE" != x
; then
6179 eval "DEFAULT_$LINE"
6184 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6189 eval "$ac_cv_use_newgrid"
6190 if test "$no_cache" != 1; then
6191 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6194 if test "$wxUSE_NEW_GRID" = yes; then
6195 echo "$ac_t""yes" 1>&6
6197 echo "$ac_t""no" 1>&6
6201 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6202 echo "configure:6203: checking for --enable-imaglist" >&5
6204 # Check whether --enable-imaglist or --disable-imaglist was given.
6205 if test "${enable_imaglist+set}" = set; then
6206 enableval
="$enable_imaglist"
6208 if test "$enableval" = yes; then
6209 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6211 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6216 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x
; then
6218 eval "DEFAULT_$LINE"
6223 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6228 eval "$ac_cv_use_imaglist"
6229 if test "$no_cache" != 1; then
6230 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6233 if test "$wxUSE_IMAGLIST" = yes; then
6234 echo "$ac_t""yes" 1>&6
6236 echo "$ac_t""no" 1>&6
6240 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6241 echo "configure:6242: checking for --enable-listbox" >&5
6243 # Check whether --enable-listbox or --disable-listbox was given.
6244 if test "${enable_listbox+set}" = set; then
6245 enableval
="$enable_listbox"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6250 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6255 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x
; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6267 eval "$ac_cv_use_listbox"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_LISTBOX" = yes; then
6273 echo "$ac_t""yes" 1>&6
6275 echo "$ac_t""no" 1>&6
6279 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6280 echo "configure:6281: checking for --enable-listctrl" >&5
6282 # Check whether --enable-listctrl or --disable-listctrl was given.
6283 if test "${enable_listctrl+set}" = set; then
6284 enableval
="$enable_listctrl"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6289 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6294 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6306 eval "$ac_cv_use_listctrl"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_LISTCTRL" = yes; then
6312 echo "$ac_t""yes" 1>&6
6314 echo "$ac_t""no" 1>&6
6318 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6319 echo "configure:6320: checking for --enable-notebook" >&5
6321 # Check whether --enable-notebook or --disable-notebook was given.
6322 if test "${enable_notebook+set}" = set; then
6323 enableval
="$enable_notebook"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6328 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6333 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6345 eval "$ac_cv_use_notebook"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_NOTEBOOK" = yes; then
6351 echo "$ac_t""yes" 1>&6
6353 echo "$ac_t""no" 1>&6
6357 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6358 echo "configure:6359: checking for --enable-propsheet" >&5
6360 # Check whether --enable-propsheet or --disable-propsheet was given.
6361 if test "${enable_propsheet+set}" = set; then
6362 enableval
="$enable_propsheet"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6367 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6372 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x
; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6384 eval "$ac_cv_use_propsheet"
6385 if test "$no_cache" != 1; then
6386 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6389 if test "$wxUSE_PROPSHEET" = yes; then
6390 echo "$ac_t""yes" 1>&6
6392 echo "$ac_t""no" 1>&6
6396 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6397 echo "configure:6398: checking for --enable-radiobox" >&5
6399 # Check whether --enable-radiobox or --disable-radiobox was given.
6400 if test "${enable_radiobox+set}" = set; then
6401 enableval
="$enable_radiobox"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6406 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6411 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x
; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6423 eval "$ac_cv_use_radiobox"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6428 if test "$wxUSE_RADIOBOX" = yes; then
6429 echo "$ac_t""yes" 1>&6
6431 echo "$ac_t""no" 1>&6
6435 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6436 echo "configure:6437: checking for --enable-radiobtn" >&5
6438 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6439 if test "${enable_radiobtn+set}" = set; then
6440 enableval
="$enable_radiobtn"
6442 if test "$enableval" = yes; then
6443 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6445 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6450 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x
; then
6452 eval "DEFAULT_$LINE"
6457 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6462 eval "$ac_cv_use_radiobtn"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6467 if test "$wxUSE_RADIOBTN" = yes; then
6468 echo "$ac_t""yes" 1>&6
6470 echo "$ac_t""no" 1>&6
6474 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6475 echo "configure:6476: checking for --enable-sash" >&5
6477 # Check whether --enable-sash or --disable-sash was given.
6478 if test "${enable_sash+set}" = set; then
6479 enableval
="$enable_sash"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_sash
='wxUSE_SASH=yes'
6484 ac_cv_use_sash
='wxUSE_SASH=no'
6489 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x
; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6501 eval "$ac_cv_use_sash"
6502 if test "$no_cache" != 1; then
6503 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6506 if test "$wxUSE_SASH" = yes; then
6507 echo "$ac_t""yes" 1>&6
6509 echo "$ac_t""no" 1>&6
6513 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6514 echo "configure:6515: checking for --enable-scrollbar" >&5
6516 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6517 if test "${enable_scrollbar+set}" = set; then
6518 enableval
="$enable_scrollbar"
6520 if test "$enableval" = yes; then
6521 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6523 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6528 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x
; then
6530 eval "DEFAULT_$LINE"
6535 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6540 eval "$ac_cv_use_scrollbar"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6545 if test "$wxUSE_SCROLLBAR" = yes; then
6546 echo "$ac_t""yes" 1>&6
6548 echo "$ac_t""no" 1>&6
6552 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6553 echo "configure:6554: checking for --enable-slider" >&5
6555 # Check whether --enable-slider or --disable-slider was given.
6556 if test "${enable_slider+set}" = set; then
6557 enableval
="$enable_slider"
6559 if test "$enableval" = yes; then
6560 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6562 ac_cv_use_slider
='wxUSE_SLIDER=no'
6567 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x
; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6579 eval "$ac_cv_use_slider"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6584 if test "$wxUSE_SLIDER" = yes; then
6585 echo "$ac_t""yes" 1>&6
6587 echo "$ac_t""no" 1>&6
6591 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6592 echo "configure:6593: checking for --enable-spinbtn" >&5
6594 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6595 if test "${enable_spinbtn+set}" = set; then
6596 enableval
="$enable_spinbtn"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6601 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6606 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6618 eval "$ac_cv_use_spinbtn"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_SPINBTN" = yes; then
6624 echo "$ac_t""yes" 1>&6
6626 echo "$ac_t""no" 1>&6
6630 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6631 echo "configure:6632: checking for --enable-spinctrl" >&5
6633 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6634 if test "${enable_spinctrl+set}" = set; then
6635 enableval
="$enable_spinctrl"
6637 if test "$enableval" = yes; then
6638 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6640 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6645 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x
; then
6647 eval "DEFAULT_$LINE"
6652 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6657 eval "$ac_cv_use_spinctrl"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_SPINCTRL" = yes; then
6663 echo "$ac_t""yes" 1>&6
6665 echo "$ac_t""no" 1>&6
6669 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6670 echo "configure:6671: checking for --enable-splitter" >&5
6672 # Check whether --enable-splitter or --disable-splitter was given.
6673 if test "${enable_splitter+set}" = set; then
6674 enableval
="$enable_splitter"
6676 if test "$enableval" = yes; then
6677 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6679 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6684 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x
; then
6686 eval "DEFAULT_$LINE"
6691 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6696 eval "$ac_cv_use_splitter"
6697 if test "$no_cache" != 1; then
6698 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6701 if test "$wxUSE_SPLITTER" = yes; then
6702 echo "$ac_t""yes" 1>&6
6704 echo "$ac_t""no" 1>&6
6708 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6709 echo "configure:6710: checking for --enable-statbmp" >&5
6711 # Check whether --enable-statbmp or --disable-statbmp was given.
6712 if test "${enable_statbmp+set}" = set; then
6713 enableval
="$enable_statbmp"
6715 if test "$enableval" = yes; then
6716 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6718 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6723 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x
; then
6725 eval "DEFAULT_$LINE"
6730 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6735 eval "$ac_cv_use_statbmp"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_STATBMP" = yes; then
6741 echo "$ac_t""yes" 1>&6
6743 echo "$ac_t""no" 1>&6
6747 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6748 echo "configure:6749: checking for --enable-statbox" >&5
6750 # Check whether --enable-statbox or --disable-statbox was given.
6751 if test "${enable_statbox+set}" = set; then
6752 enableval
="$enable_statbox"
6754 if test "$enableval" = yes; then
6755 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6757 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6762 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x
; then
6764 eval "DEFAULT_$LINE"
6769 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6774 eval "$ac_cv_use_statbox"
6775 if test "$no_cache" != 1; then
6776 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6779 if test "$wxUSE_STATBOX" = yes; then
6780 echo "$ac_t""yes" 1>&6
6782 echo "$ac_t""no" 1>&6
6786 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6787 echo "configure:6788: checking for --enable-statline" >&5
6789 # Check whether --enable-statline or --disable-statline was given.
6790 if test "${enable_statline+set}" = set; then
6791 enableval
="$enable_statline"
6793 if test "$enableval" = yes; then
6794 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6796 ac_cv_use_statline
='wxUSE_STATLINE=no'
6801 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x
; then
6803 eval "DEFAULT_$LINE"
6808 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6813 eval "$ac_cv_use_statline"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6818 if test "$wxUSE_STATLINE" = yes; then
6819 echo "$ac_t""yes" 1>&6
6821 echo "$ac_t""no" 1>&6
6825 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6826 echo "configure:6827: checking for --enable-stattext" >&5
6828 # Check whether --enable-stattext or --disable-stattext was given.
6829 if test "${enable_stattext+set}" = set; then
6830 enableval
="$enable_stattext"
6832 if test "$enableval" = yes; then
6833 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6835 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6840 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x
; then
6842 eval "DEFAULT_$LINE"
6847 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6852 eval "$ac_cv_use_stattext"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6857 if test "$wxUSE_STATTEXT" = yes; then
6858 echo "$ac_t""yes" 1>&6
6860 echo "$ac_t""no" 1>&6
6864 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6865 echo "configure:6866: checking for --enable-statusbar" >&5
6867 # Check whether --enable-statusbar or --disable-statusbar was given.
6868 if test "${enable_statusbar+set}" = set; then
6869 enableval
="$enable_statusbar"
6871 if test "$enableval" = yes; then
6872 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6874 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6879 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x
; then
6881 eval "DEFAULT_$LINE"
6886 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6891 eval "$ac_cv_use_statusbar"
6892 if test "$no_cache" != 1; then
6893 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6896 if test "$wxUSE_STATUSBAR" = yes; then
6897 echo "$ac_t""yes" 1>&6
6899 echo "$ac_t""no" 1>&6
6903 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6904 echo "configure:6905: checking for --enable-tabdialog" >&5
6906 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6907 if test "${enable_tabdialog+set}" = set; then
6908 enableval
="$enable_tabdialog"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6913 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6918 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6930 eval "$ac_cv_use_tabdialog"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6935 if test "$wxUSE_TABDIALOG" = yes; then
6936 echo "$ac_t""yes" 1>&6
6938 echo "$ac_t""no" 1>&6
6942 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6943 echo "configure:6944: checking for --enable-textctrl" >&5
6945 # Check whether --enable-textctrl or --disable-textctrl was given.
6946 if test "${enable_textctrl+set}" = set; then
6947 enableval
="$enable_textctrl"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6952 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6957 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6969 eval "$ac_cv_use_textctrl"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6974 if test "$wxUSE_TEXTCTRL" = yes; then
6975 echo "$ac_t""yes" 1>&6
6977 echo "$ac_t""no" 1>&6
6981 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6982 echo "configure:6983: checking for --enable-togglebtn" >&5
6984 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6985 if test "${enable_togglebtn+set}" = set; then
6986 enableval
="$enable_togglebtn"
6988 if test "$enableval" = yes; then
6989 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6991 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6996 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x
; then
6998 eval "DEFAULT_$LINE"
7003 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7008 eval "$ac_cv_use_togglebtn"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_TOGGLEBTN" = yes; then
7014 echo "$ac_t""yes" 1>&6
7016 echo "$ac_t""no" 1>&6
7020 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7021 echo "configure:7022: checking for --enable-toolbar" >&5
7023 # Check whether --enable-toolbar or --disable-toolbar was given.
7024 if test "${enable_toolbar+set}" = set; then
7025 enableval
="$enable_toolbar"
7027 if test "$enableval" = yes; then
7028 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7030 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7035 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x
; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7047 eval "$ac_cv_use_toolbar"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_TOOLBAR" = yes; then
7053 echo "$ac_t""yes" 1>&6
7055 echo "$ac_t""no" 1>&6
7059 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7060 echo "configure:7061: checking for --enable-tbarnative" >&5
7062 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7063 if test "${enable_tbarnative+set}" = set; then
7064 enableval
="$enable_tbarnative"
7066 if test "$enableval" = yes; then
7067 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7069 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7074 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x
; then
7076 eval "DEFAULT_$LINE"
7081 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7086 eval "$ac_cv_use_tbarnative"
7087 if test "$no_cache" != 1; then
7088 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7091 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7092 echo "$ac_t""yes" 1>&6
7094 echo "$ac_t""no" 1>&6
7098 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7099 echo "configure:7100: checking for --enable-tbarsmpl" >&5
7101 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7102 if test "${enable_tbarsmpl+set}" = set; then
7103 enableval
="$enable_tbarsmpl"
7105 if test "$enableval" = yes; then
7106 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7108 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7113 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7114 if test "x$LINE" != x
; then
7115 eval "DEFAULT_$LINE"
7120 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7125 eval "$ac_cv_use_tbarsmpl"
7126 if test "$no_cache" != 1; then
7127 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7130 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7131 echo "$ac_t""yes" 1>&6
7133 echo "$ac_t""no" 1>&6
7137 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7138 echo "configure:7139: checking for --enable-treectrl" >&5
7140 # Check whether --enable-treectrl or --disable-treectrl was given.
7141 if test "${enable_treectrl+set}" = set; then
7142 enableval
="$enable_treectrl"
7144 if test "$enableval" = yes; then
7145 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7147 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7152 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x
; then
7154 eval "DEFAULT_$LINE"
7159 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7164 eval "$ac_cv_use_treectrl"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_TREECTRL" = yes; then
7170 echo "$ac_t""yes" 1>&6
7172 echo "$ac_t""no" 1>&6
7176 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7177 echo "configure:7178: checking for --enable-tipwindow" >&5
7179 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7180 if test "${enable_tipwindow+set}" = set; then
7181 enableval
="$enable_tipwindow"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7186 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7191 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x
; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7203 eval "$ac_cv_use_tipwindow"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7208 if test "$wxUSE_TIPWINDOW" = yes; then
7209 echo "$ac_t""yes" 1>&6
7211 echo "$ac_t""no" 1>&6
7215 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7216 echo "configure:7217: checking for --enable-popupwin" >&5
7218 # Check whether --enable-popupwin or --disable-popupwin was given.
7219 if test "${enable_popupwin+set}" = set; then
7220 enableval
="$enable_popupwin"
7222 if test "$enableval" = yes; then
7223 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7225 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7230 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x
; then
7232 eval "DEFAULT_$LINE"
7237 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7242 eval "$ac_cv_use_popupwin"
7243 if test "$no_cache" != 1; then
7244 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7247 if test "$wxUSE_POPUPWIN" = yes; then
7248 echo "$ac_t""yes" 1>&6
7250 echo "$ac_t""no" 1>&6
7256 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7257 echo "configure:7258: checking for --enable-commondlg" >&5
7259 # Check whether --enable-commondlg or --disable-commondlg was given.
7260 if test "${enable_commondlg+set}" = set; then
7261 enableval
="$enable_commondlg"
7263 if test "$enableval" = yes; then
7264 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7266 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7271 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x
; then
7273 eval "DEFAULT_$LINE"
7278 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7283 eval "$ac_cv_use_commondlg"
7284 if test "$no_cache" != 1; then
7285 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7288 if test "$wxUSE_COMMONDLGS" = yes; then
7289 echo "$ac_t""yes" 1>&6
7291 echo "$ac_t""no" 1>&6
7295 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7296 echo "configure:7297: checking for --enable-choicedlg" >&5
7298 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7299 if test "${enable_choicedlg+set}" = set; then
7300 enableval
="$enable_choicedlg"
7302 if test "$enableval" = yes; then
7303 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7305 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7310 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7311 if test "x$LINE" != x
; then
7312 eval "DEFAULT_$LINE"
7317 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7322 eval "$ac_cv_use_choicedlg"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_CHOICEDLG" = yes; then
7328 echo "$ac_t""yes" 1>&6
7330 echo "$ac_t""no" 1>&6
7334 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7335 echo "configure:7336: checking for --enable-coldlg" >&5
7337 # Check whether --enable-coldlg or --disable-coldlg was given.
7338 if test "${enable_coldlg+set}" = set; then
7339 enableval
="$enable_coldlg"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7344 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7349 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7361 eval "$ac_cv_use_coldlg"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_COLOURDLG" = yes; then
7367 echo "$ac_t""yes" 1>&6
7369 echo "$ac_t""no" 1>&6
7373 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7374 echo "configure:7375: checking for --enable-filedlg" >&5
7376 # Check whether --enable-filedlg or --disable-filedlg was given.
7377 if test "${enable_filedlg+set}" = set; then
7378 enableval
="$enable_filedlg"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7383 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7388 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7400 eval "$ac_cv_use_filedlg"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_FILEDLG" = yes; then
7406 echo "$ac_t""yes" 1>&6
7408 echo "$ac_t""no" 1>&6
7412 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7413 echo "configure:7414: checking for --enable-finddlg" >&5
7415 # Check whether --enable-finddlg or --disable-finddlg was given.
7416 if test "${enable_finddlg+set}" = set; then
7417 enableval
="$enable_finddlg"
7419 if test "$enableval" = yes; then
7420 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7422 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7427 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x
; then
7429 eval "DEFAULT_$LINE"
7434 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7439 eval "$ac_cv_use_finddlg"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7444 if test "$wxUSE_FINDREPLDLG" = yes; then
7445 echo "$ac_t""yes" 1>&6
7447 echo "$ac_t""no" 1>&6
7451 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7452 echo "configure:7453: checking for --enable-fontdlg" >&5
7454 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7455 if test "${enable_fontdlg+set}" = set; then
7456 enableval
="$enable_fontdlg"
7458 if test "$enableval" = yes; then
7459 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7461 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7466 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7467 if test "x$LINE" != x
; then
7468 eval "DEFAULT_$LINE"
7473 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7478 eval "$ac_cv_use_fontdlg"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7483 if test "$wxUSE_FONTDLG" = yes; then
7484 echo "$ac_t""yes" 1>&6
7486 echo "$ac_t""no" 1>&6
7490 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7491 echo "configure:7492: checking for --enable-dirdlg" >&5
7493 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7494 if test "${enable_dirdlg+set}" = set; then
7495 enableval
="$enable_dirdlg"
7497 if test "$enableval" = yes; then
7498 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7500 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7505 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7506 if test "x$LINE" != x
; then
7507 eval "DEFAULT_$LINE"
7512 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7517 eval "$ac_cv_use_dirdlg"
7518 if test "$no_cache" != 1; then
7519 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7522 if test "$wxUSE_DIRDLG" = yes; then
7523 echo "$ac_t""yes" 1>&6
7525 echo "$ac_t""no" 1>&6
7529 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7530 echo "configure:7531: checking for --enable-msgdlg" >&5
7532 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7533 if test "${enable_msgdlg+set}" = set; then
7534 enableval
="$enable_msgdlg"
7536 if test "$enableval" = yes; then
7537 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7539 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7544 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x
; then
7546 eval "DEFAULT_$LINE"
7551 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7556 eval "$ac_cv_use_msgdlg"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7561 if test "$wxUSE_MSGDLG" = yes; then
7562 echo "$ac_t""yes" 1>&6
7564 echo "$ac_t""no" 1>&6
7568 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7569 echo "configure:7570: checking for --enable-numberdlg" >&5
7571 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7572 if test "${enable_numberdlg+set}" = set; then
7573 enableval
="$enable_numberdlg"
7575 if test "$enableval" = yes; then
7576 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7578 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7583 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7584 if test "x$LINE" != x
; then
7585 eval "DEFAULT_$LINE"
7590 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7595 eval "$ac_cv_use_numberdlg"
7596 if test "$no_cache" != 1; then
7597 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7600 if test "$wxUSE_NUMBERDLG" = yes; then
7601 echo "$ac_t""yes" 1>&6
7603 echo "$ac_t""no" 1>&6
7607 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7608 echo "configure:7609: checking for --enable-splash" >&5
7610 # Check whether --enable-splash or --disable-splash was given.
7611 if test "${enable_splash+set}" = set; then
7612 enableval
="$enable_splash"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7617 ac_cv_use_splash
='wxUSE_SPLASH=no'
7622 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x
; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7634 eval "$ac_cv_use_splash"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7639 if test "$wxUSE_SPLASH" = yes; then
7640 echo "$ac_t""yes" 1>&6
7642 echo "$ac_t""no" 1>&6
7646 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7647 echo "configure:7648: checking for --enable-textdlg" >&5
7649 # Check whether --enable-textdlg or --disable-textdlg was given.
7650 if test "${enable_textdlg+set}" = set; then
7651 enableval
="$enable_textdlg"
7653 if test "$enableval" = yes; then
7654 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7656 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7661 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x
; then
7663 eval "DEFAULT_$LINE"
7668 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7673 eval "$ac_cv_use_textdlg"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_TEXTDLG" = yes; then
7679 echo "$ac_t""yes" 1>&6
7681 echo "$ac_t""no" 1>&6
7685 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7686 echo "configure:7687: checking for --enable-tipdlg" >&5
7688 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7689 if test "${enable_tipdlg+set}" = set; then
7690 enableval
="$enable_tipdlg"
7692 if test "$enableval" = yes; then
7693 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7695 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7700 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7701 if test "x$LINE" != x
; then
7702 eval "DEFAULT_$LINE"
7707 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7712 eval "$ac_cv_use_tipdlg"
7713 if test "$no_cache" != 1; then
7714 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7717 if test "$wxUSE_STARTUP_TIPS" = yes; then
7718 echo "$ac_t""yes" 1>&6
7720 echo "$ac_t""no" 1>&6
7724 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7725 echo "configure:7726: checking for --enable-progressdlg" >&5
7727 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7728 if test "${enable_progressdlg+set}" = set; then
7729 enableval
="$enable_progressdlg"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7734 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7739 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x
; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7751 eval "$ac_cv_use_progressdlg"
7752 if test "$no_cache" != 1; then
7753 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7756 if test "$wxUSE_PROGRESSDLG" = yes; then
7757 echo "$ac_t""yes" 1>&6
7759 echo "$ac_t""no" 1>&6
7763 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7764 echo "configure:7765: checking for --enable-wizarddlg" >&5
7766 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7767 if test "${enable_wizarddlg+set}" = set; then
7768 enableval
="$enable_wizarddlg"
7770 if test "$enableval" = yes; then
7771 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7773 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7778 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7779 if test "x$LINE" != x
; then
7780 eval "DEFAULT_$LINE"
7785 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7790 eval "$ac_cv_use_wizarddlg"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7795 if test "$wxUSE_WIZARDDLG" = yes; then
7796 echo "$ac_t""yes" 1>&6
7798 echo "$ac_t""no" 1>&6
7804 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7805 echo "configure:7806: checking for --enable-menus" >&5
7807 # Check whether --enable-menus or --disable-menus was given.
7808 if test "${enable_menus+set}" = set; then
7809 enableval
="$enable_menus"
7811 if test "$enableval" = yes; then
7812 ac_cv_use_menus
='wxUSE_MENUS=yes'
7814 ac_cv_use_menus
='wxUSE_MENUS=no'
7819 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x
; then
7821 eval "DEFAULT_$LINE"
7826 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7831 eval "$ac_cv_use_menus"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7836 if test "$wxUSE_MENUS" = yes; then
7837 echo "$ac_t""yes" 1>&6
7839 echo "$ac_t""no" 1>&6
7843 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7844 echo "configure:7845: checking for --enable-miniframe" >&5
7846 # Check whether --enable-miniframe or --disable-miniframe was given.
7847 if test "${enable_miniframe+set}" = set; then
7848 enableval
="$enable_miniframe"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7853 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7858 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x
; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7870 eval "$ac_cv_use_miniframe"
7871 if test "$no_cache" != 1; then
7872 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7875 if test "$wxUSE_MINIFRAME" = yes; then
7876 echo "$ac_t""yes" 1>&6
7878 echo "$ac_t""no" 1>&6
7882 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7883 echo "configure:7884: checking for --enable-tooltips" >&5
7885 # Check whether --enable-tooltips or --disable-tooltips was given.
7886 if test "${enable_tooltips+set}" = set; then
7887 enableval
="$enable_tooltips"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7892 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7897 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x
; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7909 eval "$ac_cv_use_tooltips"
7910 if test "$no_cache" != 1; then
7911 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7914 if test "$wxUSE_TOOLTIPS" = yes; then
7915 echo "$ac_t""yes" 1>&6
7917 echo "$ac_t""no" 1>&6
7921 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7922 echo "configure:7923: checking for --enable-splines" >&5
7924 # Check whether --enable-splines or --disable-splines was given.
7925 if test "${enable_splines+set}" = set; then
7926 enableval
="$enable_splines"
7928 if test "$enableval" = yes; then
7929 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7931 ac_cv_use_splines
='wxUSE_SPLINES=no'
7936 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x
; then
7938 eval "DEFAULT_$LINE"
7943 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7948 eval "$ac_cv_use_splines"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7953 if test "$wxUSE_SPLINES" = yes; then
7954 echo "$ac_t""yes" 1>&6
7956 echo "$ac_t""no" 1>&6
7960 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7961 echo "configure:7962: checking for --enable-validators" >&5
7963 # Check whether --enable-validators or --disable-validators was given.
7964 if test "${enable_validators+set}" = set; then
7965 enableval
="$enable_validators"
7967 if test "$enableval" = yes; then
7968 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7970 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7975 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x
; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7987 eval "$ac_cv_use_validators"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7992 if test "$wxUSE_VALIDATORS" = yes; then
7993 echo "$ac_t""yes" 1>&6
7995 echo "$ac_t""no" 1>&6
7999 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8000 echo "configure:8001: checking for --enable-busyinfo" >&5
8002 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8003 if test "${enable_busyinfo+set}" = set; then
8004 enableval
="$enable_busyinfo"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8009 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8014 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8026 eval "$ac_cv_use_busyinfo"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_BUSYINFO" = yes; then
8032 echo "$ac_t""yes" 1>&6
8034 echo "$ac_t""no" 1>&6
8038 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8039 echo "configure:8040: checking for --enable-joystick" >&5
8041 # Check whether --enable-joystick or --disable-joystick was given.
8042 if test "${enable_joystick+set}" = set; then
8043 enableval
="$enable_joystick"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8048 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8053 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8065 eval "$ac_cv_use_joystick"
8066 if test "$no_cache" != 1; then
8067 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8070 if test "$wxUSE_JOYSTICK" = yes; then
8071 echo "$ac_t""yes" 1>&6
8073 echo "$ac_t""no" 1>&6
8077 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8078 echo "configure:8079: checking for --enable-metafile" >&5
8080 # Check whether --enable-metafile or --disable-metafile was given.
8081 if test "${enable_metafile+set}" = set; then
8082 enableval
="$enable_metafile"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8087 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8092 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x
; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8104 eval "$ac_cv_use_metafile"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_METAFILE" = yes; then
8110 echo "$ac_t""yes" 1>&6
8112 echo "$ac_t""no" 1>&6
8116 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8117 echo "configure:8118: checking for --enable-dragimage" >&5
8119 # Check whether --enable-dragimage or --disable-dragimage was given.
8120 if test "${enable_dragimage+set}" = set; then
8121 enableval
="$enable_dragimage"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8126 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8131 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x
; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8143 eval "$ac_cv_use_dragimage"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_DRAGIMAGE" = yes; then
8149 echo "$ac_t""yes" 1>&6
8151 echo "$ac_t""no" 1>&6
8157 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8158 echo "configure:8159: checking for --enable-palette" >&5
8160 # Check whether --enable-palette or --disable-palette was given.
8161 if test "${enable_palette+set}" = set; then
8162 enableval
="$enable_palette"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8167 ac_cv_use_palette
='wxUSE_PALETTE=no'
8172 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x
; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8184 eval "$ac_cv_use_palette"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_PALETTE" = yes; then
8190 echo "$ac_t""yes" 1>&6
8192 echo "$ac_t""no" 1>&6
8196 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8197 echo "configure:8198: checking for --enable-image" >&5
8199 # Check whether --enable-image or --disable-image was given.
8200 if test "${enable_image+set}" = set; then
8201 enableval
="$enable_image"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_image
='wxUSE_IMAGE=yes'
8206 ac_cv_use_image
='wxUSE_IMAGE=no'
8211 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8223 eval "$ac_cv_use_image"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_IMAGE" = yes; then
8229 echo "$ac_t""yes" 1>&6
8231 echo "$ac_t""no" 1>&6
8235 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8236 echo "configure:8237: checking for --enable-gif" >&5
8238 # Check whether --enable-gif or --disable-gif was given.
8239 if test "${enable_gif+set}" = set; then
8240 enableval
="$enable_gif"
8242 if test "$enableval" = yes; then
8243 ac_cv_use_gif
='wxUSE_GIF=yes'
8245 ac_cv_use_gif
='wxUSE_GIF=no'
8250 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x
; then
8252 eval "DEFAULT_$LINE"
8257 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8262 eval "$ac_cv_use_gif"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_GIF" = yes; then
8268 echo "$ac_t""yes" 1>&6
8270 echo "$ac_t""no" 1>&6
8274 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8275 echo "configure:8276: checking for --enable-pcx" >&5
8277 # Check whether --enable-pcx or --disable-pcx was given.
8278 if test "${enable_pcx+set}" = set; then
8279 enableval
="$enable_pcx"
8281 if test "$enableval" = yes; then
8282 ac_cv_use_pcx
='wxUSE_PCX=yes'
8284 ac_cv_use_pcx
='wxUSE_PCX=no'
8289 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x
; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8301 eval "$ac_cv_use_pcx"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_PCX" = yes; then
8307 echo "$ac_t""yes" 1>&6
8309 echo "$ac_t""no" 1>&6
8313 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8314 echo "configure:8315: checking for --enable-iff" >&5
8316 # Check whether --enable-iff or --disable-iff was given.
8317 if test "${enable_iff+set}" = set; then
8318 enableval
="$enable_iff"
8320 if test "$enableval" = yes; then
8321 ac_cv_use_iff
='wxUSE_IFF=yes'
8323 ac_cv_use_iff
='wxUSE_IFF=no'
8328 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8329 if test "x$LINE" != x
; then
8330 eval "DEFAULT_$LINE"
8335 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8340 eval "$ac_cv_use_iff"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8345 if test "$wxUSE_IFF" = yes; then
8346 echo "$ac_t""yes" 1>&6
8348 echo "$ac_t""no" 1>&6
8352 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8353 echo "configure:8354: checking for --enable-pnm" >&5
8355 # Check whether --enable-pnm or --disable-pnm was given.
8356 if test "${enable_pnm+set}" = set; then
8357 enableval
="$enable_pnm"
8359 if test "$enableval" = yes; then
8360 ac_cv_use_pnm
='wxUSE_PNM=yes'
8362 ac_cv_use_pnm
='wxUSE_PNM=no'
8367 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8368 if test "x$LINE" != x
; then
8369 eval "DEFAULT_$LINE"
8374 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8379 eval "$ac_cv_use_pnm"
8380 if test "$no_cache" != 1; then
8381 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8384 if test "$wxUSE_PNM" = yes; then
8385 echo "$ac_t""yes" 1>&6
8387 echo "$ac_t""no" 1>&6
8391 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8392 echo "configure:8393: checking for --enable-xpm" >&5
8394 # Check whether --enable-xpm or --disable-xpm was given.
8395 if test "${enable_xpm+set}" = set; then
8396 enableval
="$enable_xpm"
8398 if test "$enableval" = yes; then
8399 ac_cv_use_xpm
='wxUSE_XPM=yes'
8401 ac_cv_use_xpm
='wxUSE_XPM=no'
8406 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8407 if test "x$LINE" != x
; then
8408 eval "DEFAULT_$LINE"
8413 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8418 eval "$ac_cv_use_xpm"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8423 if test "$wxUSE_XPM" = yes; then
8424 echo "$ac_t""yes" 1>&6
8426 echo "$ac_t""no" 1>&6
8430 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8431 echo "configure:8432: checking for --enable-ico_cur" >&5
8433 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8434 if test "${enable_ico_cur+set}" = set; then
8435 enableval
="$enable_ico_cur"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8440 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8445 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x
; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8457 eval "$ac_cv_use_ico_cur"
8458 if test "$no_cache" != 1; then
8459 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8462 if test "$wxUSE_ICO_CUR" = yes; then
8463 echo "$ac_t""yes" 1>&6
8465 echo "$ac_t""no" 1>&6
8472 echo "saving argument cache $wx_arg_cache_file"
8473 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8477 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8478 echo "configure:8479: checking for toolkit" >&5
8480 if test "$wxUSE_GUI" = "yes"; then
8482 if test "$USE_BEOS" = 1; then
8483 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8486 if test "$TOOLKIT_GIVEN" = 1; then
8487 for toolkit
in `echo $ALL_TOOLKITS`; do
8489 eval "value=\$${var}"
8490 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8493 for toolkit
in `echo $ALL_TOOLKITS`; do
8494 if test "$has_toolkit_in_cache" != 1; then
8495 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8497 var
=DEFAULT_wxUSE_
$toolkit
8499 eval "wxUSE_$toolkit=\$${var}"
8503 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8504 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8507 *-pc-os2_emx | *-pc-os2-emx )
8508 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8509 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8518 case "$NUM_TOOLKITS" in
8522 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8525 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8528 for toolkit
in `echo $ALL_TOOLKITS`; do
8530 eval "value=\$${var}"
8531 if test "x$value" != x
; then
8532 cache_var
=CACHE_
$toolkit
8533 eval "cache=\$${cache_var}"
8534 if test "$cache" = 1; then
8535 echo "$var=$value" >> ${wx_arg_cache_file}
8537 if test "$value" = 1; then
8538 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8539 echo "$ac_t""$toolkit_echo" 1>&6
8545 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8549 cat > confcache
<<\EOF
8550 # This file is a shell script that caches the results of configure
8551 # tests run on this system so they can be shared between configure
8552 # scripts and configure runs. It is not useful on other systems.
8553 # If it contains results you don't want to keep, you may remove or edit it.
8555 # By default, configure uses ./config.cache as the cache file,
8556 # creating it if it does not exist already. You can give configure
8557 # the --cache-file=FILE option to use a different cache file; that is
8558 # what configure does when it calls configure scripts in
8559 # subdirectories, so they share the cache.
8560 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8561 # config.status only pays attention to the cache file if you give it the
8562 # --recheck option to rerun configure.
8565 # The following way of writing the cache mishandles newlines in values,
8566 # but we know of no workaround that is simple, portable, and efficient.
8567 # So, don't put newlines in cache variables' values.
8568 # Ultrix sh set writes to stderr and can't be redirected directly,
8569 # and sets the high bit in the cache file unless we assign to the vars.
8571 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8573 # `set' does not quote correctly, so add quotes (double-quote substitution
8574 # turns \\\\ into \\, and sed turns \\ into \).
8576 -e "s/'/'\\\\''/g" \
8577 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8580 # `set' quotes correctly as required by POSIX, so do not add quotes.
8581 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8584 if cmp -s $cache_file confcache
; then
8587 if test -w $cache_file; then
8588 echo "updating cache $cache_file"
8589 cat confcache
> $cache_file
8591 echo "not updating unwritable cache $cache_file"
8597 if test "$build" != "$host" ; then
8598 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8602 RANLIB
=$host_alias-ranlib
8603 DLLTOOL
=$host_alias-dlltool
8604 RESCOMP
=$host_alias-windres
8607 STRIP
=$host_alias-strip
8609 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8613 # Extract the first word of "gcc", so it can be a program name with args.
8614 set dummy gcc
; ac_word
=$2
8615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8616 echo "configure:8617: checking for $ac_word" >&5
8617 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8618 echo $ac_n "(cached) $ac_c" 1>&6
8620 if test -n "$CC"; then
8621 ac_cv_prog_CC
="$CC" # Let the user override the test.
8623 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8625 for ac_dir
in $ac_dummy; do
8626 test -z "$ac_dir" && ac_dir
=.
8627 if test -f $ac_dir/$ac_word; then
8636 if test -n "$CC"; then
8637 echo "$ac_t""$CC" 1>&6
8639 echo "$ac_t""no" 1>&6
8642 if test -z "$CC"; then
8643 # Extract the first word of "cc", so it can be a program name with args.
8644 set dummy cc
; ac_word
=$2
8645 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8646 echo "configure:8647: checking for $ac_word" >&5
8647 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8648 echo $ac_n "(cached) $ac_c" 1>&6
8650 if test -n "$CC"; then
8651 ac_cv_prog_CC
="$CC" # Let the user override the test.
8653 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8656 for ac_dir
in $ac_dummy; do
8657 test -z "$ac_dir" && ac_dir
=.
8658 if test -f $ac_dir/$ac_word; then
8659 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8660 ac_prog_rejected
=yes
8668 if test $ac_prog_rejected = yes; then
8669 # We found a bogon in the path, so make sure we never use it.
8670 set dummy
$ac_cv_prog_CC
8672 if test $# -gt 0; then
8673 # We chose a different compiler from the bogus one.
8674 # However, it has the same basename, so the bogon will be chosen
8675 # first if we set CC to just the basename; use the full file name.
8677 set dummy
"$ac_dir/$ac_word" "$@"
8685 if test -n "$CC"; then
8686 echo "$ac_t""$CC" 1>&6
8688 echo "$ac_t""no" 1>&6
8691 if test -z "$CC"; then
8692 case "`uname -s`" in
8694 # Extract the first word of "cl", so it can be a program name with args.
8695 set dummy cl
; ac_word
=$2
8696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8697 echo "configure:8698: checking for $ac_word" >&5
8698 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8699 echo $ac_n "(cached) $ac_c" 1>&6
8701 if test -n "$CC"; then
8702 ac_cv_prog_CC
="$CC" # Let the user override the test.
8704 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8706 for ac_dir
in $ac_dummy; do
8707 test -z "$ac_dir" && ac_dir
=.
8708 if test -f $ac_dir/$ac_word; then
8717 if test -n "$CC"; then
8718 echo "$ac_t""$CC" 1>&6
8720 echo "$ac_t""no" 1>&6
8725 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8728 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8729 echo "configure:8730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8732 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8733 ac_cpp
='$CPP $CPPFLAGS'
8734 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8735 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8736 cross_compiling
=$ac_cv_prog_cc_cross
8738 cat > conftest.
$ac_ext << EOF
8740 #line 8741 "configure"
8741 #include "confdefs.h"
8745 if { (eval echo configure
:8746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8746 ac_cv_prog_cc_works
=yes
8747 # If we can't run a trivial program, we are probably using a cross compiler.
8748 if (.
/conftest
; exit) 2>/dev
/null
; then
8749 ac_cv_prog_cc_cross
=no
8751 ac_cv_prog_cc_cross
=yes
8754 echo "configure: failed program was:" >&5
8755 cat conftest.
$ac_ext >&5
8756 ac_cv_prog_cc_works
=no
8760 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8761 ac_cpp
='$CPP $CPPFLAGS'
8762 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8763 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8764 cross_compiling
=$ac_cv_prog_cc_cross
8766 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8767 if test $ac_cv_prog_cc_works = no
; then
8768 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8770 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8771 echo "configure:8772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8772 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8773 cross_compiling
=$ac_cv_prog_cc_cross
8775 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8776 echo "configure:8777: checking whether we are using GNU C" >&5
8777 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8778 echo $ac_n "(cached) $ac_c" 1>&6
8780 cat > conftest.c
<<EOF
8785 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8792 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8794 if test $ac_cv_prog_gcc = yes; then
8800 ac_test_CFLAGS
="${CFLAGS+set}"
8801 ac_save_CFLAGS
="$CFLAGS"
8803 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8804 echo "configure:8805: checking whether ${CC-cc} accepts -g" >&5
8805 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8806 echo $ac_n "(cached) $ac_c" 1>&6
8808 echo 'void f(){}' > conftest.c
8809 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8818 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8819 if test "$ac_test_CFLAGS" = set; then
8820 CFLAGS
="$ac_save_CFLAGS"
8821 elif test $ac_cv_prog_cc_g = yes; then
8822 if test "$GCC" = yes; then
8828 if test "$GCC" = yes; then
8836 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8838 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8839 echo "configure:8840: checking how to run the C preprocessor" >&5
8840 # On Suns, sometimes $CPP names a directory.
8841 if test -n "$CPP" && test -d "$CPP"; then
8844 if test -z "$CPP"; then
8845 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8846 echo $ac_n "(cached) $ac_c" 1>&6
8848 # This must be in double quotes, not single quotes, because CPP may get
8849 # substituted into the Makefile and "${CC-cc}" will confuse make.
8851 # On the NeXT, cc -E runs the code through the compiler's parser,
8852 # not just through cpp.
8853 cat > conftest.
$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8859 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8860 { (eval echo configure
:8861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8861 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8862 if test -z "$ac_err"; then
8866 echo "configure: failed program was:" >&5
8867 cat conftest.
$ac_ext >&5
8869 CPP
="${CC-cc} -E -traditional-cpp"
8870 cat > conftest.
$ac_ext <<EOF
8871 #line 8872 "configure"
8872 #include "confdefs.h"
8876 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8877 { (eval echo configure
:8878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8878 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8879 if test -z "$ac_err"; then
8883 echo "configure: failed program was:" >&5
8884 cat conftest.
$ac_ext >&5
8886 CPP
="${CC-cc} -nologo -E"
8887 cat > conftest.
$ac_ext <<EOF
8888 #line 8889 "configure"
8889 #include "confdefs.h"
8893 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8894 { (eval echo configure
:8895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8895 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8896 if test -z "$ac_err"; then
8900 echo "configure: failed program was:" >&5
8901 cat conftest.
$ac_ext >&5
8910 ac_cv_prog_CPP
="$CPP"
8912 CPP
="$ac_cv_prog_CPP"
8914 ac_cv_prog_CPP
="$CPP"
8916 echo "$ac_t""$CPP" 1>&6
8918 if test $ac_cv_prog_gcc = yes; then
8919 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8920 echo "configure:8921: checking whether ${CC-cc} needs -traditional" >&5
8921 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8922 echo $ac_n "(cached) $ac_c" 1>&6
8924 ac_pattern
="Autoconf.*'x'"
8925 cat > conftest.
$ac_ext <<EOF
8926 #line 8927 "configure"
8927 #include "confdefs.h"
8931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8932 egrep "$ac_pattern" >/dev
/null
2>&1; then
8934 ac_cv_prog_gcc_traditional
=yes
8937 ac_cv_prog_gcc_traditional
=no
8942 if test $ac_cv_prog_gcc_traditional = no
; then
8943 cat > conftest.
$ac_ext <<EOF
8944 #line 8945 "configure"
8945 #include "confdefs.h"
8949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8950 egrep "$ac_pattern" >/dev
/null
2>&1; then
8952 ac_cv_prog_gcc_traditional
=yes
8959 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8960 if test $ac_cv_prog_gcc_traditional = yes; then
8961 CC
="$CC -traditional"
8968 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8969 ac_cpp
='$CXXCPP $CPPFLAGS'
8970 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8971 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8972 cross_compiling
=$ac_cv_prog_cxx_cross
8975 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8977 # Extract the first word of "$ac_prog", so it can be a program name with args.
8978 set dummy
$ac_prog; ac_word
=$2
8979 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8980 echo "configure:8981: checking for $ac_word" >&5
8981 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8982 echo $ac_n "(cached) $ac_c" 1>&6
8984 if test -n "$CXX"; then
8985 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8987 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8989 for ac_dir
in $ac_dummy; do
8990 test -z "$ac_dir" && ac_dir
=.
8991 if test -f $ac_dir/$ac_word; then
8992 ac_cv_prog_CXX
="$ac_prog"
8999 CXX
="$ac_cv_prog_CXX"
9000 if test -n "$CXX"; then
9001 echo "$ac_t""$CXX" 1>&6
9003 echo "$ac_t""no" 1>&6
9006 test -n "$CXX" && break
9008 test -n "$CXX" || CXX
="gcc"
9011 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9012 echo "configure:9013: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9016 ac_cpp
='$CXXCPP $CPPFLAGS'
9017 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9018 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9019 cross_compiling
=$ac_cv_prog_cxx_cross
9021 cat > conftest.
$ac_ext << EOF
9023 #line 9024 "configure"
9024 #include "confdefs.h"
9026 int main(){return(0);}
9028 if { (eval echo configure
:9029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9029 ac_cv_prog_cxx_works
=yes
9030 # If we can't run a trivial program, we are probably using a cross compiler.
9031 if (.
/conftest
; exit) 2>/dev
/null
; then
9032 ac_cv_prog_cxx_cross
=no
9034 ac_cv_prog_cxx_cross
=yes
9037 echo "configure: failed program was:" >&5
9038 cat conftest.
$ac_ext >&5
9039 ac_cv_prog_cxx_works
=no
9043 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9044 ac_cpp
='$CXXCPP $CPPFLAGS'
9045 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9046 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9047 cross_compiling
=$ac_cv_prog_cxx_cross
9049 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9050 if test $ac_cv_prog_cxx_works = no
; then
9051 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9053 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9054 echo "configure:9055: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9055 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9056 cross_compiling
=$ac_cv_prog_cxx_cross
9058 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9059 echo "configure:9060: checking whether we are using GNU C++" >&5
9060 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9061 echo $ac_n "(cached) $ac_c" 1>&6
9063 cat > conftest.C
<<EOF
9068 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9075 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9077 if test $ac_cv_prog_gxx = yes; then
9083 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9084 ac_save_CXXFLAGS
="$CXXFLAGS"
9086 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9087 echo "configure:9088: checking whether ${CXX-g++} accepts -g" >&5
9088 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9089 echo $ac_n "(cached) $ac_c" 1>&6
9091 echo 'void f(){}' > conftest.cc
9092 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9093 ac_cv_prog_cxx_g
=yes
9101 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9102 if test "$ac_test_CXXFLAGS" = set; then
9103 CXXFLAGS
="$ac_save_CXXFLAGS"
9104 elif test $ac_cv_prog_cxx_g = yes; then
9105 if test "$GXX" = yes; then
9111 if test "$GXX" = yes; then
9119 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9122 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9123 ac_cpp
='$CPP $CPPFLAGS'
9124 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9125 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9126 cross_compiling
=$ac_cv_prog_cc_cross
9129 # Extract the first word of "ranlib", so it can be a program name with args.
9130 set dummy ranlib
; ac_word
=$2
9131 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9132 echo "configure:9133: checking for $ac_word" >&5
9133 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9134 echo $ac_n "(cached) $ac_c" 1>&6
9136 if test -n "$RANLIB"; then
9137 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9139 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9141 for ac_dir
in $ac_dummy; do
9142 test -z "$ac_dir" && ac_dir
=.
9143 if test -f $ac_dir/$ac_word; then
9144 ac_cv_prog_RANLIB
="ranlib"
9149 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9152 RANLIB
="$ac_cv_prog_RANLIB"
9153 if test -n "$RANLIB"; then
9154 echo "$ac_t""$RANLIB" 1>&6
9156 echo "$ac_t""no" 1>&6
9160 # Extract the first word of "ar", so it can be a program name with args.
9161 set dummy
ar; ac_word
=$2
9162 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9163 echo "configure:9164: checking for $ac_word" >&5
9164 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9165 echo $ac_n "(cached) $ac_c" 1>&6
9167 if test -n "$AR"; then
9168 ac_cv_prog_AR
="$AR" # Let the user override the test.
9170 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9172 for ac_dir
in $ac_dummy; do
9173 test -z "$ac_dir" && ac_dir
=.
9174 if test -f $ac_dir/$ac_word; then
9180 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9184 if test -n "$AR"; then
9185 echo "$ac_t""$AR" 1>&6
9187 echo "$ac_t""no" 1>&6
9191 # Find a good install program. We prefer a C program (faster),
9192 # so one script is as good as another. But avoid the broken or
9193 # incompatible versions:
9194 # SysV /etc/install, /usr/sbin/install
9195 # SunOS /usr/etc/install
9196 # IRIX /sbin/install
9198 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9199 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9200 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9201 # ./install, which can be erroneously created by make from ./install.sh.
9202 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9203 echo "configure:9204: checking for a BSD compatible install" >&5
9204 if test -z "$INSTALL"; then
9205 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9206 echo $ac_n "(cached) $ac_c" 1>&6
9208 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9209 for ac_dir
in $PATH; do
9210 # Account for people who put trailing slashes in PATH elements.
9212 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9214 # OSF1 and SCO ODT 3.0 have their own names for install.
9215 # Don't use installbsd from OSF since it installs stuff as root
9217 for ac_prog
in ginstall scoinst
install; do
9218 if test -f $ac_dir/$ac_prog; then
9219 if test $ac_prog = install &&
9220 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9221 # AIX install. It has an incompatible calling convention.
9224 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9235 if test "${ac_cv_path_install+set}" = set; then
9236 INSTALL
="$ac_cv_path_install"
9238 # As a last resort, use the slow shell script. We don't cache a
9239 # path for INSTALL within a source directory, because that will
9240 # break other packages using the cache if that directory is
9241 # removed, or if the path is relative.
9242 INSTALL
="$ac_install_sh"
9245 echo "$ac_t""$INSTALL" 1>&6
9247 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9248 # It thinks the first close brace ends the variable substitution.
9249 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9251 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9253 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9258 INSTALL_PROGRAM
="cp -fp"
9259 INSTALL_DATA
="cp -fp"
9265 # Extract the first word of "strip", so it can be a program name with args.
9266 set dummy strip
; ac_word
=$2
9267 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9268 echo "configure:9269: checking for $ac_word" >&5
9269 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9270 echo $ac_n "(cached) $ac_c" 1>&6
9272 if test -n "$STRIP"; then
9273 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9275 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9277 for ac_dir
in $ac_dummy; do
9278 test -z "$ac_dir" && ac_dir
=.
9279 if test -f $ac_dir/$ac_word; then
9280 ac_cv_prog_STRIP
="strip"
9285 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9288 STRIP
="$ac_cv_prog_STRIP"
9289 if test -n "$STRIP"; then
9290 echo "$ac_t""$STRIP" 1>&6
9292 echo "$ac_t""no" 1>&6
9296 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9297 echo "configure:9298: checking if make is GNU make" >&5
9298 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9299 echo $ac_n "(cached) $ac_c" 1>&6
9302 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9304 wx_cv_prog_makeisgnu
="yes"
9306 wx_cv_prog_makeisgnu
="no"
9311 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9313 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9321 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9322 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9323 echo "configure:9324: checking if make supports VPATH" >&5
9324 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9325 echo $ac_n "(cached) $ac_c" 1>&6
9328 cat - << EOF > confMake
9334 if test ! -d sub
; then
9337 echo dummy
> sub
/file
9338 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9340 rm -f sub
/file check final_file confMake
9342 if test "$RESULT" = 0; then
9343 wx_cv_prog_makevpath
="yes"
9345 wx_cv_prog_makevpath
="no"
9350 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9352 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9353 { echo "configure: error:
9354 You need a make-utility that is able to use the variable
9356 If your version of make does not support VPATH correctly,
9357 please install GNU-make (possibly as gmake), and start
9358 configure with the following command:
9359 export MAKE=gmake; ./configure for sh-type shells
9360 setenv MAKE gmake; ./configure for csh-type shells
9361 Also please do remember to use gmake in this case every time
9362 you are trying to compile.
9365 for ac_prog
in 'bison -y' byacc
9367 # Extract the first word of "$ac_prog", so it can be a program name with args.
9368 set dummy
$ac_prog; ac_word
=$2
9369 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9370 echo "configure:9371: checking for $ac_word" >&5
9371 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9372 echo $ac_n "(cached) $ac_c" 1>&6
9374 if test -n "$YACC"; then
9375 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9377 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9379 for ac_dir
in $ac_dummy; do
9380 test -z "$ac_dir" && ac_dir
=.
9381 if test -f $ac_dir/$ac_word; then
9382 ac_cv_prog_YACC
="$ac_prog"
9389 YACC
="$ac_cv_prog_YACC"
9390 if test -n "$YACC"; then
9391 echo "$ac_t""$YACC" 1>&6
9393 echo "$ac_t""no" 1>&6
9396 test -n "$YACC" && break
9398 test -n "$YACC" || YACC
="yacc"
9401 # Extract the first word of "flex", so it can be a program name with args.
9402 set dummy flex
; ac_word
=$2
9403 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9404 echo "configure:9405: checking for $ac_word" >&5
9405 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9406 echo $ac_n "(cached) $ac_c" 1>&6
9408 if test -n "$LEX"; then
9409 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9411 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9413 for ac_dir
in $ac_dummy; do
9414 test -z "$ac_dir" && ac_dir
=.
9415 if test -f $ac_dir/$ac_word; then
9416 ac_cv_prog_LEX
="flex"
9421 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9424 LEX
="$ac_cv_prog_LEX"
9425 if test -n "$LEX"; then
9426 echo "$ac_t""$LEX" 1>&6
9428 echo "$ac_t""no" 1>&6
9431 if test -z "$LEXLIB"
9437 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9438 echo "configure:9439: checking for yywrap in -l$ac_lib" >&5
9439 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9440 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9441 echo $ac_n "(cached) $ac_c" 1>&6
9443 ac_save_LIBS
="$LIBS"
9444 LIBS
="-l$ac_lib $LIBS"
9445 cat > conftest.
$ac_ext <<EOF
9446 #line 9447 "configure"
9447 #include "confdefs.h"
9448 /* Override any gcc2 internal prototype to avoid an error. */
9449 /* We use char because int might match the return type of a gcc2
9450 builtin and then its argument prototype would still apply. */
9457 if { (eval echo configure
:9458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9459 eval "ac_cv_lib_$ac_lib_var=yes"
9461 echo "configure: failed program was:" >&5
9462 cat conftest.
$ac_ext >&5
9464 eval "ac_cv_lib_$ac_lib_var=no"
9467 LIBS
="$ac_save_LIBS"
9470 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9471 echo "$ac_t""yes" 1>&6
9474 echo "$ac_t""no" 1>&6
9480 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9481 echo "configure:9482: checking whether ln -s works" >&5
9482 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9483 echo $ac_n "(cached) $ac_c" 1>&6
9486 if ln -s X conftestdata
2>/dev
/null
9489 ac_cv_prog_LN_S
="ln -s"
9494 LN_S
="$ac_cv_prog_LN_S"
9495 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9496 echo "$ac_t""yes" 1>&6
9498 echo "$ac_t""no" 1>&6
9504 /usr/local/include \
9506 /usr/Motif-1.2/include \
9507 /usr/Motif-2.1/include \
9509 /usr/include/Motif1.2 \
9510 /opt/xpm/include/X11 \
9511 /opt/GBxpm/include/ \
9512 /opt/GBxpm/X11/include/ \
9514 /usr/Motif1.2/include \
9516 /usr/openwin/include \
9520 /usr/X11R6/include \
9521 /usr/X11R6.4/include \
9522 /usr/X11R5/include \
9523 /usr/X11R4/include \
9525 /usr/include/X11R6 \
9526 /usr/include/X11R5 \
9527 /usr/include/X11R4 \
9529 /usr/local/X11R6/include \
9530 /usr/local/X11R5/include \
9531 /usr/local/X11R4/include \
9533 /usr/local/include/X11R6 \
9534 /usr/local/include/X11R5 \
9535 /usr/local/include/X11R4 \
9539 /usr/local/X11/include \
9540 /usr/local/include/X11 \
9544 /usr/XFree86/include/X11 \
9546 X:/XFree86/include \
9547 X:/XFree86/include/X11 \
9550 /usr/local/include/gtk \
9552 /usr/local/include/glib \
9555 /usr/local/include/qt \
9557 /usr/include/windows \
9559 /usr/local/include/wine \
9561 /usr/unsupported/include \
9562 /usr/athena/include \
9563 /usr/local/x11r5/include \
9564 /usr/lpp/Xamples/include \
9566 /usr/openwin/share/include \
9570 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9573 cat > confcache
<<\EOF
9574 # This file is a shell script that caches the results of configure
9575 # tests run on this system so they can be shared between configure
9576 # scripts and configure runs. It is not useful on other systems.
9577 # If it contains results you don't want to keep, you may remove or edit it.
9579 # By default, configure uses ./config.cache as the cache file,
9580 # creating it if it does not exist already. You can give configure
9581 # the --cache-file=FILE option to use a different cache file; that is
9582 # what configure does when it calls configure scripts in
9583 # subdirectories, so they share the cache.
9584 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9585 # config.status only pays attention to the cache file if you give it the
9586 # --recheck option to rerun configure.
9589 # The following way of writing the cache mishandles newlines in values,
9590 # but we know of no workaround that is simple, portable, and efficient.
9591 # So, don't put newlines in cache variables' values.
9592 # Ultrix sh set writes to stderr and can't be redirected directly,
9593 # and sets the high bit in the cache file unless we assign to the vars.
9595 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9597 # `set' does not quote correctly, so add quotes (double-quote substitution
9598 # turns \\\\ into \\, and sed turns \\ into \).
9600 -e "s/'/'\\\\''/g" \
9601 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9604 # `set' quotes correctly as required by POSIX, so do not add quotes.
9605 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9608 if cmp -s $cache_file confcache
; then
9611 if test -w $cache_file; then
9612 echo "updating cache $cache_file"
9613 cat confcache
> $cache_file
9615 echo "not updating unwritable cache $cache_file"
9624 if test "$wxUSE_REGEX" != "no"; then
9625 cat >> confdefs.h
<<\EOF
9626 #define wxUSE_REGEX 1
9630 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9631 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9632 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9633 echo "configure:9634: checking for regex.h" >&5
9634 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9635 echo $ac_n "(cached) $ac_c" 1>&6
9637 cat > conftest.
$ac_ext <<EOF
9638 #line 9639 "configure"
9639 #include "confdefs.h"
9642 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9643 { (eval echo configure
:9644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9644 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9645 if test -z "$ac_err"; then
9647 eval "ac_cv_header_$ac_safe=yes"
9650 echo "configure: failed program was:" >&5
9651 cat conftest.
$ac_ext >&5
9653 eval "ac_cv_header_$ac_safe=no"
9657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9658 echo "$ac_t""yes" 1>&6
9659 for ac_func
in regcomp
9661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9662 echo "configure:9663: checking for $ac_func" >&5
9663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9664 echo $ac_n "(cached) $ac_c" 1>&6
9666 cat > conftest.
$ac_ext <<EOF
9667 #line 9668 "configure"
9668 #include "confdefs.h"
9669 /* System header to define __stub macros and hopefully few prototypes,
9670 which can conflict with char $ac_func(); below. */
9672 /* Override any gcc2 internal prototype to avoid an error. */
9673 /* We use char because int might match the return type of a gcc2
9674 builtin and then its argument prototype would still apply. */
9679 /* The GNU C library defines this for functions which it implements
9680 to always fail with ENOSYS. Some functions are actually named
9681 something starting with __ and the normal name is an alias. */
9682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9690 if { (eval echo configure
:9691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9692 eval "ac_cv_func_$ac_func=yes"
9694 echo "configure: failed program was:" >&5
9695 cat conftest.
$ac_ext >&5
9697 eval "ac_cv_func_$ac_func=no"
9702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9703 echo "$ac_t""yes" 1>&6
9704 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9705 cat >> confdefs.h
<<EOF
9706 #define $ac_tr_func 1
9710 echo "$ac_t""no" 1>&6
9715 echo "$ac_t""no" 1>&6
9719 if test "x$ac_cv_func_regcomp" != "xyes"; then
9720 if test "$wxUSE_REGEX" = "sys" ; then
9721 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9723 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9731 if test "$wxUSE_REGEX" = "builtin" ; then
9732 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9739 if test "$wxUSE_ZLIB" != "no" ; then
9740 cat >> confdefs.h
<<\EOF
9741 #define wxUSE_ZLIB 1
9745 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9746 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9747 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9748 echo "configure:9749: checking for zlib.h" >&5
9749 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9750 echo $ac_n "(cached) $ac_c" 1>&6
9752 cat > conftest.
$ac_ext <<EOF
9753 #line 9754 "configure"
9754 #include "confdefs.h"
9757 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9758 { (eval echo configure
:9759: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9759 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9760 if test -z "$ac_err"; then
9762 eval "ac_cv_header_$ac_safe=yes"
9765 echo "configure: failed program was:" >&5
9766 cat conftest.
$ac_ext >&5
9768 eval "ac_cv_header_$ac_safe=no"
9772 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9773 echo "$ac_t""yes" 1>&6
9774 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9775 echo "configure:9776: checking for deflate in -lz" >&5
9776 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9777 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9778 echo $ac_n "(cached) $ac_c" 1>&6
9780 ac_save_LIBS
="$LIBS"
9782 cat > conftest.
$ac_ext <<EOF
9783 #line 9784 "configure"
9784 #include "confdefs.h"
9785 /* Override any gcc2 internal prototype to avoid an error. */
9786 /* We use char because int might match the return type of a gcc2
9787 builtin and then its argument prototype would still apply. */
9794 if { (eval echo configure
:9795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9796 eval "ac_cv_lib_$ac_lib_var=yes"
9798 echo "configure: failed program was:" >&5
9799 cat conftest.
$ac_ext >&5
9801 eval "ac_cv_lib_$ac_lib_var=no"
9804 LIBS
="$ac_save_LIBS"
9807 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9808 echo "$ac_t""yes" 1>&6
9811 echo "$ac_t""no" 1>&6
9815 echo "$ac_t""no" 1>&6
9819 if test "x$ZLIB_LINK" = "x" ; then
9820 if test "$wxUSE_ZLIB" = "sys" ; then
9821 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9823 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9831 if test "$wxUSE_ZLIB" = "builtin" ; then
9832 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9839 if test "$wxUSE_LIBPNG" != "no" ; then
9840 cat >> confdefs.h
<<\EOF
9841 #define wxUSE_LIBPNG 1
9845 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9846 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9847 wxUSE_LIBPNG
=builtin
9850 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9851 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9852 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9853 echo "configure:9854: checking for png.h" >&5
9854 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9855 echo $ac_n "(cached) $ac_c" 1>&6
9857 cat > conftest.
$ac_ext <<EOF
9858 #line 9859 "configure"
9859 #include "confdefs.h"
9862 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9863 { (eval echo configure
:9864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9864 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9865 if test -z "$ac_err"; then
9867 eval "ac_cv_header_$ac_safe=yes"
9870 echo "configure: failed program was:" >&5
9871 cat conftest.
$ac_ext >&5
9873 eval "ac_cv_header_$ac_safe=no"
9877 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9878 echo "$ac_t""yes" 1>&6
9879 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9880 echo "configure:9881: checking for png_check_sig in -lpng" >&5
9881 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9882 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9883 echo $ac_n "(cached) $ac_c" 1>&6
9885 ac_save_LIBS
="$LIBS"
9886 LIBS
="-lpng -lz -lm $LIBS"
9887 cat > conftest.
$ac_ext <<EOF
9888 #line 9889 "configure"
9889 #include "confdefs.h"
9890 /* Override any gcc2 internal prototype to avoid an error. */
9891 /* We use char because int might match the return type of a gcc2
9892 builtin and then its argument prototype would still apply. */
9893 char png_check_sig();
9899 if { (eval echo configure
:9900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9901 eval "ac_cv_lib_$ac_lib_var=yes"
9903 echo "configure: failed program was:" >&5
9904 cat conftest.
$ac_ext >&5
9906 eval "ac_cv_lib_$ac_lib_var=no"
9909 LIBS
="$ac_save_LIBS"
9912 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9913 echo "$ac_t""yes" 1>&6
9916 echo "$ac_t""no" 1>&6
9921 echo "$ac_t""no" 1>&6
9925 if test "x$PNG_LINK" = "x" ; then
9926 if test "$wxUSE_LIBPNG" = "sys" ; then
9927 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9929 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9930 wxUSE_LIBPNG
=builtin
9937 if test "$wxUSE_LIBPNG" = "builtin" ; then
9938 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9947 if test "$wxUSE_LIBJPEG" != "no" ; then
9948 cat >> confdefs.h
<<\EOF
9949 #define wxUSE_LIBJPEG 1
9953 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9954 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9955 echo "configure:9956: checking for jpeglib.h" >&5
9956 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9957 echo $ac_n "(cached) $ac_c" 1>&6
9959 cat > conftest.
$ac_ext <<EOF
9960 #line 9961 "configure"
9961 #include "confdefs.h"
9963 #undef HAVE_STDLIB_H
9965 #include <jpeglib.h>
9972 if { (eval echo configure
:9973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9974 ac_cv_header_jpeglib_h
=yes
9976 echo "configure: failed program was:" >&5
9977 cat conftest.
$ac_ext >&5
9979 ac_cv_header_jpeglib_h
=no
9986 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9988 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9989 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9990 echo "configure:9991: checking for jpeg_read_header in -ljpeg" >&5
9991 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9993 echo $ac_n "(cached) $ac_c" 1>&6
9995 ac_save_LIBS
="$LIBS"
9997 cat > conftest.
$ac_ext <<EOF
9998 #line 9999 "configure"
9999 #include "confdefs.h"
10000 /* Override any gcc2 internal prototype to avoid an error. */
10001 /* We use char because int might match the return type of a gcc2
10002 builtin and then its argument prototype would still apply. */
10003 char jpeg_read_header();
10009 if { (eval echo configure
:10010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10011 eval "ac_cv_lib_$ac_lib_var=yes"
10013 echo "configure: failed program was:" >&5
10014 cat conftest.
$ac_ext >&5
10016 eval "ac_cv_lib_$ac_lib_var=no"
10019 LIBS
="$ac_save_LIBS"
10022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10023 echo "$ac_t""yes" 1>&6
10024 JPEG_LINK
=" -ljpeg"
10026 echo "$ac_t""no" 1>&6
10031 if test "x$JPEG_LINK" = "x" ; then
10032 if test "$wxUSE_LIBJPEG" = "sys" ; then
10033 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10035 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10036 wxUSE_LIBJPEG
=builtin
10043 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10044 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10051 if test "$wxUSE_LIBTIFF" != "no" ; then
10052 cat >> confdefs.h
<<\EOF
10053 #define wxUSE_LIBTIFF 1
10057 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10058 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10059 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10060 echo "configure:10061: checking for tiffio.h" >&5
10061 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10062 echo $ac_n "(cached) $ac_c" 1>&6
10064 cat > conftest.
$ac_ext <<EOF
10065 #line 10066 "configure"
10066 #include "confdefs.h"
10067 #include <tiffio.h>
10069 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10070 { (eval echo configure
:10071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10071 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10072 if test -z "$ac_err"; then
10074 eval "ac_cv_header_$ac_safe=yes"
10077 echo "configure: failed program was:" >&5
10078 cat conftest.
$ac_ext >&5
10080 eval "ac_cv_header_$ac_safe=no"
10084 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10085 echo "$ac_t""yes" 1>&6
10086 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10087 echo "configure:10088: checking for TIFFError in -ltiff" >&5
10088 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10089 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10090 echo $ac_n "(cached) $ac_c" 1>&6
10092 ac_save_LIBS
="$LIBS"
10093 LIBS
="-ltiff -lm $LIBS"
10094 cat > conftest.
$ac_ext <<EOF
10095 #line 10096 "configure"
10096 #include "confdefs.h"
10097 /* Override any gcc2 internal prototype to avoid an error. */
10098 /* We use char because int might match the return type of a gcc2
10099 builtin and then its argument prototype would still apply. */
10106 if { (eval echo configure
:10107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10108 eval "ac_cv_lib_$ac_lib_var=yes"
10110 echo "configure: failed program was:" >&5
10111 cat conftest.
$ac_ext >&5
10113 eval "ac_cv_lib_$ac_lib_var=no"
10116 LIBS
="$ac_save_LIBS"
10119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10120 echo "$ac_t""yes" 1>&6
10121 TIFF_LINK
=" -ltiff"
10123 echo "$ac_t""no" 1>&6
10128 echo "$ac_t""no" 1>&6
10132 if test "x$TIFF_LINK" = "x" ; then
10133 if test "$wxUSE_LIBTIFF" = "sys" ; then
10134 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10136 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10137 wxUSE_LIBTIFF
=builtin
10144 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10145 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10152 if test "$wxUSE_FREETYPE" != "no" ; then
10153 cat >> confdefs.h
<<\EOF
10154 #define wxUSE_FREETYPE 1
10158 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10159 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10160 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10161 echo "configure:10162: checking for freetype.h" >&5
10162 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10163 echo $ac_n "(cached) $ac_c" 1>&6
10165 cat > conftest.
$ac_ext <<EOF
10166 #line 10167 "configure"
10167 #include "confdefs.h"
10168 #include <freetype.h>
10170 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10171 { (eval echo configure
:10172: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10172 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10173 if test -z "$ac_err"; then
10175 eval "ac_cv_header_$ac_safe=yes"
10178 echo "configure: failed program was:" >&5
10179 cat conftest.
$ac_ext >&5
10181 eval "ac_cv_header_$ac_safe=no"
10185 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10186 echo "$ac_t""yes" 1>&6
10187 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10188 echo "configure:10189: checking for FT_Render_Glyph in -lfreetype" >&5
10189 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10190 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10191 echo $ac_n "(cached) $ac_c" 1>&6
10193 ac_save_LIBS
="$LIBS"
10194 LIBS
="-lfreetype -lm $LIBS"
10195 cat > conftest.
$ac_ext <<EOF
10196 #line 10197 "configure"
10197 #include "confdefs.h"
10198 /* Override any gcc2 internal prototype to avoid an error. */
10199 /* We use char because int might match the return type of a gcc2
10200 builtin and then its argument prototype would still apply. */
10201 char FT_Render_Glyph();
10207 if { (eval echo configure
:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10209 eval "ac_cv_lib_$ac_lib_var=yes"
10211 echo "configure: failed program was:" >&5
10212 cat conftest.
$ac_ext >&5
10214 eval "ac_cv_lib_$ac_lib_var=no"
10217 LIBS
="$ac_save_LIBS"
10220 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10221 echo "$ac_t""yes" 1>&6
10222 FREETYPE_LINK
=" -lfreetype"
10224 echo "$ac_t""no" 1>&6
10229 echo "$ac_t""no" 1>&6
10233 if test "x$FREETYPE_LINK" = "x" ; then
10234 if test "$wxUSE_FREETYPE" = "sys" ; then
10235 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10237 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10238 wxUSE_FREETYPE
=builtin
10245 if test "$wxUSE_FREETYPE" = "builtin" ; then
10246 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
10257 if test "$USE_WIN32" = 1 ; then
10258 for ac_hdr
in w32api.h
10260 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10261 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10262 echo "configure:10263: checking for $ac_hdr" >&5
10263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10264 echo $ac_n "(cached) $ac_c" 1>&6
10266 cat > conftest.
$ac_ext <<EOF
10267 #line 10268 "configure"
10268 #include "confdefs.h"
10271 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10272 { (eval echo configure
:10273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10273 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10274 if test -z "$ac_err"; then
10276 eval "ac_cv_header_$ac_safe=yes"
10279 echo "configure: failed program was:" >&5
10280 cat conftest.
$ac_ext >&5
10282 eval "ac_cv_header_$ac_safe=no"
10286 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10287 echo "$ac_t""yes" 1>&6
10288 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10289 cat >> confdefs.h
<<EOF
10290 #define $ac_tr_hdr 1
10294 echo "$ac_t""no" 1>&6
10298 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10299 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10300 echo "configure:10301: checking for windows.h" >&5
10301 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10302 echo $ac_n "(cached) $ac_c" 1>&6
10304 cat > conftest.
$ac_ext <<EOF
10305 #line 10306 "configure"
10306 #include "confdefs.h"
10307 #include <windows.h>
10309 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10310 { (eval echo configure
:10311: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10311 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10312 if test -z "$ac_err"; then
10314 eval "ac_cv_header_$ac_safe=yes"
10317 echo "configure: failed program was:" >&5
10318 cat conftest.
$ac_ext >&5
10320 eval "ac_cv_header_$ac_safe=no"
10324 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10325 echo "$ac_t""yes" 1>&6
10328 echo "$ac_t""no" 1>&6
10330 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10335 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10336 echo "configure:10337: checking if w32api has good enough MSIE support" >&5
10337 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10338 echo $ac_n "(cached) $ac_c" 1>&6
10341 cat > conftest.
$ac_ext <<EOF
10342 #line 10343 "configure"
10343 #include "confdefs.h"
10344 #include <w32api.h>
10347 #define wxCHECK_W32API_VERSION( major, minor ) \
10348 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10349 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10350 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10352 #if !wxCHECK_W32API_VERSION(1,1)
10353 #error You need w32api 1.1 or newer
10358 if { (eval echo configure
:10359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10361 wx_cv_w32api_win32_ie
=yes
10364 echo "configure: failed program was:" >&5
10365 cat conftest.
$ac_ext >&5
10368 wx_cv_w32api_win32_ie
=no
10375 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10376 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10377 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10380 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10384 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10385 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10388 if test "$wxUSE_ODBC" = "yes" ; then
10389 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10392 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10393 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10396 if test "$wxUSE_GUI" = "yes"; then
10405 if test "$wxUSE_MSW" = 1 ; then
10411 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10415 if test "$wxUSE_GTK" = 1; then
10416 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10417 echo "configure:10418: checking for GTK+ version" >&5
10419 gtk_version_cached
=1
10420 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10421 echo $ac_n "(cached) $ac_c" 1>&6
10424 gtk_version_cached
=0
10425 echo "$ac_t""" 1>&6
10428 if test "$wxUSE_THREADS" = "yes"; then
10429 GTK_MODULES
=gthread
10433 if test "x$wxUSE_GTK2" = "xyes"; then
10434 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10435 if test "${with_gtk_prefix+set}" = set; then
10436 withval
="$with_gtk_prefix"
10437 gtk_config_prefix
="$withval"
10439 gtk_config_prefix
=""
10442 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10443 if test "${with_gtk_exec_prefix+set}" = set; then
10444 withval
="$with_gtk_exec_prefix"
10445 gtk_config_exec_prefix
="$withval"
10447 gtk_config_exec_prefix
=""
10450 # Check whether --enable-gtktest or --disable-gtktest was given.
10451 if test "${enable_gtktest+set}" = set; then
10452 enableval
="$enable_gtktest"
10459 for module
in .
$GTK_MODULES
10463 gtk_config_args
="$gtk_config_args gthread"
10468 if test x
$gtk_config_exec_prefix != x
; then
10469 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10470 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10471 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10474 if test x
$gtk_config_prefix != x
; then
10475 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10476 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10477 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10481 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10482 set dummy gtk
-config-2.0
; ac_word
=$2
10483 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10484 echo "configure:10485: checking for $ac_word" >&5
10485 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10486 echo $ac_n "(cached) $ac_c" 1>&6
10488 case "$GTK_CONFIG_2_0" in
10490 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10493 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10496 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10498 for ac_dir
in $ac_dummy; do
10499 test -z "$ac_dir" && ac_dir
=.
10500 if test -f $ac_dir/$ac_word; then
10501 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10506 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10510 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10511 if test -n "$GTK_CONFIG_2_0"; then
10512 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10514 echo "$ac_t""no" 1>&6
10517 min_gtk_version
=1.3.1
10518 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10519 echo "configure:10520: checking for GTK - version >= $min_gtk_version" >&5
10521 if test "$GTK_CONFIG_2_0" = "no" ; then
10524 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10525 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10526 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10528 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10530 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10532 if test "x$enable_gtktest" = "xyes" ; then
10533 ac_save_CFLAGS
="$CFLAGS"
10534 ac_save_LIBS
="$LIBS"
10535 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10536 LIBS
="$GTK_LIBS $LIBS"
10538 if test "$cross_compiling" = yes; then
10539 echo $ac_n "cross compiling; assumed OK... $ac_c"
10541 cat > conftest.
$ac_ext <<EOF
10542 #line 10543 "configure"
10543 #include "confdefs.h"
10545 #include <gtk/gtk.h>
10547 #include <stdlib.h>
10552 int major, minor, micro;
10555 system ("touch conf.gtktest");
10557 /* HP/UX 9 (%@#!) writes to sscanf strings */
10558 tmp_version = g_strdup("$min_gtk_version");
10559 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10560 printf("%s, bad version string\n", "$min_gtk_version");
10564 if ((gtk_major_version != $gtk_config_major_version) ||
10565 (gtk_minor_version != $gtk_config_minor_version) ||
10566 (gtk_micro_version != $gtk_config_micro_version))
10568 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10569 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10570 gtk_major_version, gtk_minor_version, gtk_micro_version);
10571 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10572 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10573 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10574 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10575 printf("*** required on your system.\n");
10576 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10577 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10578 printf("*** before re-running configure\n");
10580 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10581 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10582 (gtk_minor_version != GTK_MINOR_VERSION) ||
10583 (gtk_micro_version != GTK_MICRO_VERSION))
10585 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10586 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10587 printf("*** library (version %d.%d.%d)\n",
10588 gtk_major_version, gtk_minor_version, gtk_micro_version);
10590 #endif /* defined (GTK_MAJOR_VERSION) ... */
10593 if ((gtk_major_version > major) ||
10594 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10595 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10601 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10602 gtk_major_version, gtk_minor_version, gtk_micro_version);
10603 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10604 major, minor, micro);
10605 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10607 printf("*** If you have already installed a sufficiently new version, this error\n");
10608 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10609 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10610 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10611 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10612 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10613 printf("*** so that the correct libraries are found at run-time))\n");
10620 if { (eval echo configure
:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10624 echo "configure: failed program was:" >&5
10625 cat conftest.
$ac_ext >&5
10632 CFLAGS
="$ac_save_CFLAGS"
10633 LIBS
="$ac_save_LIBS"
10636 if test "x$no_gtk" = x
; then
10637 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10640 echo "$ac_t""no" 1>&6
10641 if test "$GTK_CONFIG_2_0" = "no" ; then
10642 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10643 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10644 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10645 echo "*** full path to gtk-config-2.0."
10647 if test -f conf.gtktest
; then
10650 echo "*** Could not run GTK test program, checking why..."
10651 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10652 LIBS
="$LIBS $GTK_LIBS"
10653 cat > conftest.
$ac_ext <<EOF
10654 #line 10655 "configure"
10655 #include "confdefs.h"
10657 #include <gtk/gtk.h>
10661 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10664 if { (eval echo configure
:10665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10666 echo "*** The test program compiled, but did not run. This usually means"
10667 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10668 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10669 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10670 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10671 echo "*** is required on your system"
10673 echo "*** If you have an old version installed, it is best to remove it, although"
10674 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10676 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10677 echo "*** came with the system with the command"
10679 echo "*** rpm --erase --nodeps gtk gtk-devel"
10681 echo "configure: failed program was:" >&5
10682 cat conftest.
$ac_ext >&5
10684 echo "*** The test program failed to compile or link. See the file config.log for the"
10685 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10686 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10687 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10690 CFLAGS
="$ac_save_CFLAGS"
10691 LIBS
="$ac_save_LIBS"
10704 if test -z "$wx_cv_lib_gtk"; then
10705 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10706 if test "${with_gtk_prefix+set}" = set; then
10707 withval
="$with_gtk_prefix"
10708 gtk_config_prefix
="$withval"
10710 gtk_config_prefix
=""
10713 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10714 if test "${with_gtk_exec_prefix+set}" = set; then
10715 withval
="$with_gtk_exec_prefix"
10716 gtk_config_exec_prefix
="$withval"
10718 gtk_config_exec_prefix
=""
10721 # Check whether --enable-gtktest or --disable-gtktest was given.
10722 if test "${enable_gtktest+set}" = set; then
10723 enableval
="$enable_gtktest"
10730 for module
in .
$GTK_MODULES
10734 gtk_config_args
="$gtk_config_args gthread"
10739 if test x
$gtk_config_exec_prefix != x
; then
10740 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10741 if test x
${GTK_CONFIG+set} != xset
; then
10742 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10745 if test x
$gtk_config_prefix != x
; then
10746 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10747 if test x
${GTK_CONFIG+set} != xset
; then
10748 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10752 # Extract the first word of "gtk-config", so it can be a program name with args.
10753 set dummy gtk
-config; ac_word
=$2
10754 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10755 echo "configure:10756: checking for $ac_word" >&5
10756 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10757 echo $ac_n "(cached) $ac_c" 1>&6
10759 case "$GTK_CONFIG" in
10761 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10764 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10767 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10769 for ac_dir
in $ac_dummy; do
10770 test -z "$ac_dir" && ac_dir
=.
10771 if test -f $ac_dir/$ac_word; then
10772 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10777 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10781 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10782 if test -n "$GTK_CONFIG"; then
10783 echo "$ac_t""$GTK_CONFIG" 1>&6
10785 echo "$ac_t""no" 1>&6
10788 min_gtk_version
=1.2.7
10789 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10790 echo "configure:10791: checking for GTK - version >= $min_gtk_version" >&5
10792 if test "$GTK_CONFIG" = "no" ; then
10795 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10796 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10797 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10798 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10799 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10800 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10801 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10802 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10803 if test "x$enable_gtktest" = "xyes" ; then
10804 ac_save_CFLAGS
="$CFLAGS"
10805 ac_save_LIBS
="$LIBS"
10806 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10807 LIBS
="$GTK_LIBS $LIBS"
10809 if test "$cross_compiling" = yes; then
10810 echo $ac_n "cross compiling; assumed OK... $ac_c"
10812 cat > conftest.
$ac_ext <<EOF
10813 #line 10814 "configure"
10814 #include "confdefs.h"
10816 #include <gtk/gtk.h>
10818 #include <stdlib.h>
10823 int major, minor, micro;
10826 system ("touch conf.gtktest");
10828 /* HP/UX 9 (%@#!) writes to sscanf strings */
10829 tmp_version = g_strdup("$min_gtk_version");
10830 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10831 printf("%s, bad version string\n", "$min_gtk_version");
10835 if ((gtk_major_version != $gtk_config_major_version) ||
10836 (gtk_minor_version != $gtk_config_minor_version) ||
10837 (gtk_micro_version != $gtk_config_micro_version))
10839 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10840 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10841 gtk_major_version, gtk_minor_version, gtk_micro_version);
10842 printf ("*** was found! If gtk-config was correct, then it is best\n");
10843 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10844 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10845 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10846 printf("*** required on your system.\n");
10847 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10848 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10849 printf("*** before re-running configure\n");
10851 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10852 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10853 (gtk_minor_version != GTK_MINOR_VERSION) ||
10854 (gtk_micro_version != GTK_MICRO_VERSION))
10856 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10857 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10858 printf("*** library (version %d.%d.%d)\n",
10859 gtk_major_version, gtk_minor_version, gtk_micro_version);
10861 #endif /* defined (GTK_MAJOR_VERSION) ... */
10864 if ((gtk_major_version > major) ||
10865 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10866 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10872 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10873 gtk_major_version, gtk_minor_version, gtk_micro_version);
10874 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10875 major, minor, micro);
10876 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10878 printf("*** If you have already installed a sufficiently new version, this error\n");
10879 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10880 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10881 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10882 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10883 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10884 printf("*** so that the correct libraries are found at run-time))\n");
10891 if { (eval echo configure
:10892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10895 echo "configure: failed program was:" >&5
10896 cat conftest.
$ac_ext >&5
10903 CFLAGS
="$ac_save_CFLAGS"
10904 LIBS
="$ac_save_LIBS"
10907 if test "x$no_gtk" = x
; then
10908 echo "$ac_t""yes" 1>&6
10909 wx_cv_lib_gtk
=1.2.7
10911 echo "$ac_t""no" 1>&6
10912 if test "$GTK_CONFIG" = "no" ; then
10913 echo "*** The gtk-config script installed by GTK could not be found"
10914 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10915 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10916 echo "*** full path to gtk-config."
10918 if test -f conf.gtktest
; then
10921 echo "*** Could not run GTK test program, checking why..."
10922 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10923 LIBS
="$LIBS $GTK_LIBS"
10924 cat > conftest.
$ac_ext <<EOF
10925 #line 10926 "configure"
10926 #include "confdefs.h"
10928 #include <gtk/gtk.h>
10932 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10935 if { (eval echo configure
:10936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10937 echo "*** The test program compiled, but did not run. This usually means"
10938 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10939 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10940 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10941 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10942 echo "*** is required on your system"
10944 echo "*** If you have an old version installed, it is best to remove it, although"
10945 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10947 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10948 echo "*** came with the system with the command"
10950 echo "*** rpm --erase --nodeps gtk gtk-devel"
10952 echo "configure: failed program was:" >&5
10953 cat conftest.
$ac_ext >&5
10955 echo "*** The test program failed to compile or link. See the file config.log for the"
10956 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10957 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10958 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10961 CFLAGS
="$ac_save_CFLAGS"
10962 LIBS
="$ac_save_LIBS"
10975 if test -z "$wx_cv_lib_gtk"; then
10976 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10977 if test "${with_gtk_prefix+set}" = set; then
10978 withval
="$with_gtk_prefix"
10979 gtk_config_prefix
="$withval"
10981 gtk_config_prefix
=""
10984 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10985 if test "${with_gtk_exec_prefix+set}" = set; then
10986 withval
="$with_gtk_exec_prefix"
10987 gtk_config_exec_prefix
="$withval"
10989 gtk_config_exec_prefix
=""
10992 # Check whether --enable-gtktest or --disable-gtktest was given.
10993 if test "${enable_gtktest+set}" = set; then
10994 enableval
="$enable_gtktest"
11001 for module
in .
$GTK_MODULES
11005 gtk_config_args
="$gtk_config_args gthread"
11010 if test x
$gtk_config_exec_prefix != x
; then
11011 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
11012 if test x
${GTK_CONFIG+set} != xset
; then
11013 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
11016 if test x
$gtk_config_prefix != x
; then
11017 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
11018 if test x
${GTK_CONFIG+set} != xset
; then
11019 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
11023 # Extract the first word of "gtk-config", so it can be a program name with args.
11024 set dummy gtk
-config; ac_word
=$2
11025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11026 echo "configure:11027: checking for $ac_word" >&5
11027 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
11028 echo $ac_n "(cached) $ac_c" 1>&6
11030 case "$GTK_CONFIG" in
11032 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
11035 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
11038 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11040 for ac_dir
in $ac_dummy; do
11041 test -z "$ac_dir" && ac_dir
=.
11042 if test -f $ac_dir/$ac_word; then
11043 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
11048 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
11052 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
11053 if test -n "$GTK_CONFIG"; then
11054 echo "$ac_t""$GTK_CONFIG" 1>&6
11056 echo "$ac_t""no" 1>&6
11059 min_gtk_version
=1.2.3
11060 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
11061 echo "configure:11062: checking for GTK - version >= $min_gtk_version" >&5
11063 if test "$GTK_CONFIG" = "no" ; then
11066 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
11067 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
11068 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
11069 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11070 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
11071 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11072 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
11073 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11074 if test "x$enable_gtktest" = "xyes" ; then
11075 ac_save_CFLAGS
="$CFLAGS"
11076 ac_save_LIBS
="$LIBS"
11077 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11078 LIBS
="$GTK_LIBS $LIBS"
11080 if test "$cross_compiling" = yes; then
11081 echo $ac_n "cross compiling; assumed OK... $ac_c"
11083 cat > conftest.
$ac_ext <<EOF
11084 #line 11085 "configure"
11085 #include "confdefs.h"
11087 #include <gtk/gtk.h>
11089 #include <stdlib.h>
11094 int major, minor, micro;
11097 system ("touch conf.gtktest");
11099 /* HP/UX 9 (%@#!) writes to sscanf strings */
11100 tmp_version = g_strdup("$min_gtk_version");
11101 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11102 printf("%s, bad version string\n", "$min_gtk_version");
11106 if ((gtk_major_version != $gtk_config_major_version) ||
11107 (gtk_minor_version != $gtk_config_minor_version) ||
11108 (gtk_micro_version != $gtk_config_micro_version))
11110 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11111 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11112 gtk_major_version, gtk_minor_version, gtk_micro_version);
11113 printf ("*** was found! If gtk-config was correct, then it is best\n");
11114 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11115 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11116 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11117 printf("*** required on your system.\n");
11118 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11119 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11120 printf("*** before re-running configure\n");
11122 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11123 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11124 (gtk_minor_version != GTK_MINOR_VERSION) ||
11125 (gtk_micro_version != GTK_MICRO_VERSION))
11127 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11128 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11129 printf("*** library (version %d.%d.%d)\n",
11130 gtk_major_version, gtk_minor_version, gtk_micro_version);
11132 #endif /* defined (GTK_MAJOR_VERSION) ... */
11135 if ((gtk_major_version > major) ||
11136 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11137 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11143 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11144 gtk_major_version, gtk_minor_version, gtk_micro_version);
11145 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11146 major, minor, micro);
11147 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11149 printf("*** If you have already installed a sufficiently new version, this error\n");
11150 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11151 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11152 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11153 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11154 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11155 printf("*** so that the correct libraries are found at run-time))\n");
11162 if { (eval echo configure
:11163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11166 echo "configure: failed program was:" >&5
11167 cat conftest.
$ac_ext >&5
11174 CFLAGS
="$ac_save_CFLAGS"
11175 LIBS
="$ac_save_LIBS"
11178 if test "x$no_gtk" = x
; then
11179 echo "$ac_t""yes" 1>&6
11180 wx_cv_lib_gtk
=1.2.3
11182 echo "$ac_t""no" 1>&6
11183 if test "$GTK_CONFIG" = "no" ; then
11184 echo "*** The gtk-config script installed by GTK could not be found"
11185 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11186 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11187 echo "*** full path to gtk-config."
11189 if test -f conf.gtktest
; then
11192 echo "*** Could not run GTK test program, checking why..."
11193 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11194 LIBS
="$LIBS $GTK_LIBS"
11195 cat > conftest.
$ac_ext <<EOF
11196 #line 11197 "configure"
11197 #include "confdefs.h"
11199 #include <gtk/gtk.h>
11203 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11206 if { (eval echo configure
:11207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11208 echo "*** The test program compiled, but did not run. This usually means"
11209 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11210 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11211 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11212 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11213 echo "*** is required on your system"
11215 echo "*** If you have an old version installed, it is best to remove it, although"
11216 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11218 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11219 echo "*** came with the system with the command"
11221 echo "*** rpm --erase --nodeps gtk gtk-devel"
11223 echo "configure: failed program was:" >&5
11224 cat conftest.
$ac_ext >&5
11226 echo "*** The test program failed to compile or link. See the file config.log for the"
11227 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11228 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11229 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11232 CFLAGS
="$ac_save_CFLAGS"
11233 LIBS
="$ac_save_LIBS"
11246 if test -z "$wx_cv_lib_gtk"; then
11249 wx_cv_cflags_gtk
=$GTK_CFLAGS
11250 wx_cv_libs_gtk
=$GTK_LIBS
11257 if test "$gtk_version_cached" = 1; then
11258 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11261 case "$wx_cv_lib_gtk" in
11269 *) { echo "configure: error:
11270 Please check that gtk-config is in path, the directory
11271 where GTK+ libraries are installed (returned by
11272 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11273 equivalent variable and GTK+ is version 1.2.3 or above.
11278 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11279 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11281 AFMINSTALL
=afminstall
11285 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11286 echo "configure:11287: checking for gdk_im_open in -lgdk" >&5
11287 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11289 echo $ac_n "(cached) $ac_c" 1>&6
11291 ac_save_LIBS
="$LIBS"
11293 cat > conftest.
$ac_ext <<EOF
11294 #line 11295 "configure"
11295 #include "confdefs.h"
11296 /* Override any gcc2 internal prototype to avoid an error. */
11297 /* We use char because int might match the return type of a gcc2
11298 builtin and then its argument prototype would still apply. */
11299 char gdk_im_open();
11305 if { (eval echo configure
:11306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11307 eval "ac_cv_lib_$ac_lib_var=yes"
11309 echo "configure: failed program was:" >&5
11310 cat conftest.
$ac_ext >&5
11312 eval "ac_cv_lib_$ac_lib_var=no"
11315 LIBS
="$ac_save_LIBS"
11318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11319 echo "$ac_t""yes" 1>&6
11320 cat >> confdefs.h
<<\EOF
11325 echo "$ac_t""no" 1>&6
11330 if test "$wxUSE_MGL" = 1; then
11331 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11332 echo "configure:11333: checking for SciTech MGL library" >&5
11333 if test "x$MGL_ROOT" = x
; then
11334 echo "$ac_t""not found" 1>&6
11335 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11337 echo "$ac_t""$MGL_ROOT" 1>&6
11342 mgl_os
=linux
/gcc
/glibc
11348 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11353 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11354 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11355 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11359 if test "x$mgl_lib_type" = x
; then
11360 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11361 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11362 mgl_lib_type
=release
11364 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11368 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11369 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11371 AFMINSTALL
=afminstall
11376 if test "$wxUSE_MICROWIN" = 1; then
11377 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11378 echo "configure:11379: checking for MicroWindows" >&5
11379 if test "x$MICROWINDOWS" = x
; then
11380 echo "$ac_t""not found" 1>&6
11381 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11383 echo "$ac_t""$MICROWINDOWS" 1>&6
11386 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11387 echo "$ac_t""MicroWindows' libraries found." 1>&6
11389 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11392 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11393 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11395 AFMINSTALL
=afminstall
11397 GUIDIST
=MICROWIN_DIST
11399 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11402 if test "$wxUSE_WINE" = 1; then
11403 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11404 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11405 echo "configure:11406: checking for windows.h" >&5
11406 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11407 echo $ac_n "(cached) $ac_c" 1>&6
11409 cat > conftest.
$ac_ext <<EOF
11410 #line 11411 "configure"
11411 #include "confdefs.h"
11412 #include <windows.h>
11414 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11415 { (eval echo configure
:11416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11416 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11417 if test -z "$ac_err"; then
11419 eval "ac_cv_header_$ac_safe=yes"
11422 echo "configure: failed program was:" >&5
11423 cat conftest.
$ac_ext >&5
11425 eval "ac_cv_header_$ac_safe=no"
11429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11430 echo "$ac_t""yes" 1>&6
11433 echo "$ac_t""no" 1>&6
11435 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11441 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11442 echo "configure:11443: checking for Xpm library" >&5
11445 for ac_dir
in $SEARCH_LIB;
11447 for ac_extension
in a so sl dylib
; do
11448 if test -f "$ac_dir/libXpm.$ac_extension"; then
11449 ac_find_libraries
=$ac_dir
11455 if test "$ac_find_libraries" != "" ; then
11456 GUI_TK_LIBRARY
="-L$ac_find_libraries"
11458 cat >> confdefs.h
<<\EOF
11459 #define wxHAVE_LIB_XPM 1
11462 echo "$ac_t""found at $ac_find_libraries" 1>&6
11464 echo "$ac_t""no" 1>&6
11465 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11469 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11470 echo "configure:11471: checking for Mesa library" >&5
11473 for ac_dir
in $SEARCH_LIB;
11475 for ac_extension
in a so sl dylib
; do
11476 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11477 ac_find_libraries
=$ac_dir
11483 if test "$ac_find_libraries" != "" ; then
11484 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
11485 mesa_link
=" -lMesaGL"
11486 echo "$ac_t""found at $ac_find_libraries" 1>&6
11488 { echo "configure: error: no" 1>&2; exit 1; }
11491 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11494 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
11497 if test "$wxUSE_MOTIF" = 1; then
11498 # If we find X, set shell vars x_includes and x_libraries to the
11499 # paths, otherwise set no_x=yes.
11500 # Uses ac_ vars as temps to allow command line to override cache and checks.
11501 # --without-x overrides everything else, but does not touch the cache.
11502 echo $ac_n "checking for X""... $ac_c" 1>&6
11503 echo "configure:11504: checking for X" >&5
11505 # Check whether --with-x or --without-x was given.
11506 if test "${with_x+set}" = set; then
11511 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11512 if test "x$with_x" = xno
; then
11513 # The user explicitly disabled X.
11516 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11517 # Both variables are already set.
11520 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11521 echo $ac_n "(cached) $ac_c" 1>&6
11523 # One or both of the vars are not set, and there is no cached value.
11524 ac_x_includes
=NO ac_x_libraries
=NO
11526 if mkdir conftestdir
; then
11528 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11529 cat > Imakefile
<<'EOF'
11531 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11533 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11534 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11535 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11536 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11537 for ac_extension
in a so sl
; do
11538 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11539 test -f $ac_im_libdir/libX11.
$ac_extension; then
11540 ac_im_usrlibdir
=$ac_im_libdir; break
11543 # Screen out bogus values from the imake configuration. They are
11544 # bogus both because they are the default anyway, and because
11545 # using them would break gcc on systems where it needs fixed includes.
11546 case "$ac_im_incroot" in
11548 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11550 case "$ac_im_usrlibdir" in
11551 /usr
/lib
| /lib
) ;;
11552 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11559 if test "$ac_x_includes" = NO
; then
11560 # Guess where to find include files, by looking for this one X11 .h file.
11561 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11563 # First, try using that file with no special directory specified.
11564 cat > conftest.
$ac_ext <<EOF
11565 #line 11566 "configure"
11566 #include "confdefs.h"
11567 #include <$x_direct_test_include>
11569 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11570 { (eval echo configure
:11571: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11571 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11572 if test -z "$ac_err"; then
11574 # We can compile using X headers with no special include directory.
11578 echo "configure: failed program was:" >&5
11579 cat conftest.
$ac_ext >&5
11581 # Look for the header file in a standard set of common directories.
11582 # Check X11 before X11Rn because it is often a symlink to the current release.
11585 /usr
/X
11R
6/include \
11586 /usr
/X
11R
5/include \
11587 /usr
/X
11R
4/include \
11590 /usr
/include
/X11R6 \
11591 /usr
/include
/X11R5 \
11592 /usr
/include
/X11R4 \
11594 /usr
/local
/X
11/include \
11595 /usr
/local
/X
11R
6/include \
11596 /usr
/local
/X
11R
5/include \
11597 /usr
/local
/X
11R
4/include \
11599 /usr
/local
/include
/X11 \
11600 /usr
/local
/include
/X11R6 \
11601 /usr
/local
/include
/X11R5 \
11602 /usr
/local
/include
/X11R4 \
11604 /usr
/X
386/include \
11605 /usr
/x
386/include \
11606 /usr
/XFree
86/include
/X11 \
11609 /usr
/local
/include \
11610 /usr
/unsupported
/include \
11611 /usr
/athena
/include \
11612 /usr
/local
/x
11r
5/include \
11613 /usr
/lpp
/Xamples
/include \
11615 /usr
/openwin
/include \
11616 /usr
/openwin
/share
/include \
11619 if test -r "$ac_dir/$x_direct_test_include"; then
11620 ac_x_includes
=$ac_dir
11626 fi # $ac_x_includes = NO
11628 if test "$ac_x_libraries" = NO
; then
11629 # Check for the libraries.
11631 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11632 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11634 # See if we find them without any special options.
11635 # Don't add to $LIBS permanently.
11636 ac_save_LIBS
="$LIBS"
11637 LIBS
="-l$x_direct_test_library $LIBS"
11638 cat > conftest.
$ac_ext <<EOF
11639 #line 11640 "configure"
11640 #include "confdefs.h"
11643 ${x_direct_test_function}()
11646 if { (eval echo configure
:11647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11648 LIBS
="$ac_save_LIBS"
11649 # We can link X programs with no special library path.
11652 echo "configure: failed program was:" >&5
11653 cat conftest.
$ac_ext >&5
11655 LIBS
="$ac_save_LIBS"
11656 # First see if replacing the include by lib works.
11657 # Check X11 before X11Rn because it is often a symlink to the current release.
11658 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11669 /usr
/local
/X
11/lib \
11670 /usr
/local
/X
11R
6/lib \
11671 /usr
/local
/X
11R
5/lib \
11672 /usr
/local
/X
11R
4/lib \
11674 /usr
/local
/lib
/X11 \
11675 /usr
/local
/lib
/X11R6 \
11676 /usr
/local
/lib
/X11R5 \
11677 /usr
/local
/lib
/X11R4 \
11681 /usr
/XFree
86/lib
/X11 \
11685 /usr
/unsupported
/lib \
11687 /usr
/local
/x
11r
5/lib \
11688 /usr
/lpp
/Xamples
/lib \
11692 /usr
/openwin
/share
/lib \
11695 for ac_extension
in a so sl
; do
11696 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11697 ac_x_libraries
=$ac_dir
11704 fi # $ac_x_libraries = NO
11706 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11707 # Didn't find X anywhere. Cache the known absence of X.
11708 ac_cv_have_x
="have_x=no"
11710 # Record where we found X for the cache.
11711 ac_cv_have_x
="have_x=yes \
11712 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11716 eval "$ac_cv_have_x"
11719 if test "$have_x" != yes; then
11720 echo "$ac_t""$have_x" 1>&6
11723 # If each of the values was on the command line, it overrides each guess.
11724 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11725 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11726 # Update the cache value to reflect the command line values.
11727 ac_cv_have_x
="have_x=yes \
11728 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11729 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11732 if test "$no_x" = yes; then
11733 # Not all programs may use this symbol, but it does not hurt to define it.
11734 cat >> confdefs.h
<<\EOF
11735 #define X_DISPLAY_MISSING 1
11738 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11740 if test -n "$x_includes"; then
11741 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11744 # It would also be nice to do this for all -L options, not just this one.
11745 if test -n "$x_libraries"; then
11746 X_LIBS
="$X_LIBS -L$x_libraries"
11747 # For Solaris; some versions of Sun CC require a space after -R and
11748 # others require no space. Words are not sufficient . . . .
11749 case "`(uname -sr) 2>/dev/null`" in
11751 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11752 echo "configure:11753: checking whether -R must be followed by a space" >&5
11753 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11754 cat > conftest.
$ac_ext <<EOF
11755 #line 11756 "configure"
11756 #include "confdefs.h"
11762 if { (eval echo configure
:11763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11766 echo "configure: failed program was:" >&5
11767 cat conftest.
$ac_ext >&5
11772 if test $ac_R_nospace = yes; then
11773 echo "$ac_t""no" 1>&6
11774 X_LIBS
="$X_LIBS -R$x_libraries"
11776 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11777 cat > conftest.
$ac_ext <<EOF
11778 #line 11779 "configure"
11779 #include "confdefs.h"
11785 if { (eval echo configure
:11786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11789 echo "configure: failed program was:" >&5
11790 cat conftest.
$ac_ext >&5
11795 if test $ac_R_space = yes; then
11796 echo "$ac_t""yes" 1>&6
11797 X_LIBS
="$X_LIBS -R $x_libraries"
11799 echo "$ac_t""neither works" 1>&6
11802 LIBS
="$ac_xsave_LIBS"
11806 # Check for system-dependent libraries X programs must link with.
11807 # Do this before checking for the system-independent R6 libraries
11808 # (-lICE), since we may need -lsocket or whatever for X linking.
11810 if test "$ISC" = yes; then
11811 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11813 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11814 # libraries were built with DECnet support. And karl@cs.umb.edu says
11815 # the Alpha needs dnet_stub (dnet does not exist).
11816 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11817 echo "configure:11818: checking for dnet_ntoa in -ldnet" >&5
11818 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11820 echo $ac_n "(cached) $ac_c" 1>&6
11822 ac_save_LIBS
="$LIBS"
11823 LIBS
="-ldnet $LIBS"
11824 cat > conftest.
$ac_ext <<EOF
11825 #line 11826 "configure"
11826 #include "confdefs.h"
11827 /* Override any gcc2 internal prototype to avoid an error. */
11828 /* We use char because int might match the return type of a gcc2
11829 builtin and then its argument prototype would still apply. */
11836 if { (eval echo configure
:11837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11838 eval "ac_cv_lib_$ac_lib_var=yes"
11840 echo "configure: failed program was:" >&5
11841 cat conftest.
$ac_ext >&5
11843 eval "ac_cv_lib_$ac_lib_var=no"
11846 LIBS
="$ac_save_LIBS"
11849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11850 echo "$ac_t""yes" 1>&6
11851 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11853 echo "$ac_t""no" 1>&6
11856 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11857 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11858 echo "configure:11859: checking for dnet_ntoa in -ldnet_stub" >&5
11859 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11860 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11861 echo $ac_n "(cached) $ac_c" 1>&6
11863 ac_save_LIBS
="$LIBS"
11864 LIBS
="-ldnet_stub $LIBS"
11865 cat > conftest.
$ac_ext <<EOF
11866 #line 11867 "configure"
11867 #include "confdefs.h"
11868 /* Override any gcc2 internal prototype to avoid an error. */
11869 /* We use char because int might match the return type of a gcc2
11870 builtin and then its argument prototype would still apply. */
11877 if { (eval echo configure
:11878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11879 eval "ac_cv_lib_$ac_lib_var=yes"
11881 echo "configure: failed program was:" >&5
11882 cat conftest.
$ac_ext >&5
11884 eval "ac_cv_lib_$ac_lib_var=no"
11887 LIBS
="$ac_save_LIBS"
11890 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11891 echo "$ac_t""yes" 1>&6
11892 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11894 echo "$ac_t""no" 1>&6
11899 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11900 # to get the SysV transport functions.
11901 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11903 # The nsl library prevents programs from opening the X display
11904 # on Irix 5.2, according to dickey@clark.net.
11905 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11906 echo "configure:11907: checking for gethostbyname" >&5
11907 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11908 echo $ac_n "(cached) $ac_c" 1>&6
11910 cat > conftest.
$ac_ext <<EOF
11911 #line 11912 "configure"
11912 #include "confdefs.h"
11913 /* System header to define __stub macros and hopefully few prototypes,
11914 which can conflict with char gethostbyname(); below. */
11915 #include <assert.h>
11916 /* Override any gcc2 internal prototype to avoid an error. */
11917 /* We use char because int might match the return type of a gcc2
11918 builtin and then its argument prototype would still apply. */
11919 char gethostbyname();
11923 /* The GNU C library defines this for functions which it implements
11924 to always fail with ENOSYS. Some functions are actually named
11925 something starting with __ and the normal name is an alias. */
11926 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11934 if { (eval echo configure
:11935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11936 eval "ac_cv_func_gethostbyname=yes"
11938 echo "configure: failed program was:" >&5
11939 cat conftest.
$ac_ext >&5
11941 eval "ac_cv_func_gethostbyname=no"
11946 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11947 echo "$ac_t""yes" 1>&6
11950 echo "$ac_t""no" 1>&6
11953 if test $ac_cv_func_gethostbyname = no
; then
11954 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11955 echo "configure:11956: checking for gethostbyname in -lnsl" >&5
11956 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11957 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11958 echo $ac_n "(cached) $ac_c" 1>&6
11960 ac_save_LIBS
="$LIBS"
11962 cat > conftest.
$ac_ext <<EOF
11963 #line 11964 "configure"
11964 #include "confdefs.h"
11965 /* Override any gcc2 internal prototype to avoid an error. */
11966 /* We use char because int might match the return type of a gcc2
11967 builtin and then its argument prototype would still apply. */
11968 char gethostbyname();
11974 if { (eval echo configure
:11975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11976 eval "ac_cv_lib_$ac_lib_var=yes"
11978 echo "configure: failed program was:" >&5
11979 cat conftest.
$ac_ext >&5
11981 eval "ac_cv_lib_$ac_lib_var=no"
11984 LIBS
="$ac_save_LIBS"
11987 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11988 echo "$ac_t""yes" 1>&6
11989 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11991 echo "$ac_t""no" 1>&6
11996 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11997 # socket/setsockopt and other routines are undefined under SCO ODT
11998 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11999 # on later versions), says simon@lia.di.epfl.ch: it contains
12000 # gethostby* variants that don't use the nameserver (or something).
12001 # -lsocket must be given before -lnsl if both are needed.
12002 # We assume that if connect needs -lnsl, so does gethostbyname.
12003 echo $ac_n "checking for connect""... $ac_c" 1>&6
12004 echo "configure:12005: checking for connect" >&5
12005 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12006 echo $ac_n "(cached) $ac_c" 1>&6
12008 cat > conftest.
$ac_ext <<EOF
12009 #line 12010 "configure"
12010 #include "confdefs.h"
12011 /* System header to define __stub macros and hopefully few prototypes,
12012 which can conflict with char connect(); below. */
12013 #include <assert.h>
12014 /* Override any gcc2 internal prototype to avoid an error. */
12015 /* We use char because int might match the return type of a gcc2
12016 builtin and then its argument prototype would still apply. */
12021 /* The GNU C library defines this for functions which it implements
12022 to always fail with ENOSYS. Some functions are actually named
12023 something starting with __ and the normal name is an alias. */
12024 #if defined (__stub_connect) || defined (__stub___connect)
12032 if { (eval echo configure
:12033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12034 eval "ac_cv_func_connect=yes"
12036 echo "configure: failed program was:" >&5
12037 cat conftest.
$ac_ext >&5
12039 eval "ac_cv_func_connect=no"
12044 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12045 echo "$ac_t""yes" 1>&6
12048 echo "$ac_t""no" 1>&6
12051 if test $ac_cv_func_connect = no
; then
12052 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12053 echo "configure:12054: checking for connect in -lsocket" >&5
12054 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12056 echo $ac_n "(cached) $ac_c" 1>&6
12058 ac_save_LIBS
="$LIBS"
12059 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12060 cat > conftest.
$ac_ext <<EOF
12061 #line 12062 "configure"
12062 #include "confdefs.h"
12063 /* Override any gcc2 internal prototype to avoid an error. */
12064 /* We use char because int might match the return type of a gcc2
12065 builtin and then its argument prototype would still apply. */
12072 if { (eval echo configure
:12073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12074 eval "ac_cv_lib_$ac_lib_var=yes"
12076 echo "configure: failed program was:" >&5
12077 cat conftest.
$ac_ext >&5
12079 eval "ac_cv_lib_$ac_lib_var=no"
12082 LIBS
="$ac_save_LIBS"
12085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12086 echo "$ac_t""yes" 1>&6
12087 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12089 echo "$ac_t""no" 1>&6
12094 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12095 echo $ac_n "checking for remove""... $ac_c" 1>&6
12096 echo "configure:12097: checking for remove" >&5
12097 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12098 echo $ac_n "(cached) $ac_c" 1>&6
12100 cat > conftest.
$ac_ext <<EOF
12101 #line 12102 "configure"
12102 #include "confdefs.h"
12103 /* System header to define __stub macros and hopefully few prototypes,
12104 which can conflict with char remove(); below. */
12105 #include <assert.h>
12106 /* Override any gcc2 internal prototype to avoid an error. */
12107 /* We use char because int might match the return type of a gcc2
12108 builtin and then its argument prototype would still apply. */
12113 /* The GNU C library defines this for functions which it implements
12114 to always fail with ENOSYS. Some functions are actually named
12115 something starting with __ and the normal name is an alias. */
12116 #if defined (__stub_remove) || defined (__stub___remove)
12124 if { (eval echo configure
:12125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12126 eval "ac_cv_func_remove=yes"
12128 echo "configure: failed program was:" >&5
12129 cat conftest.
$ac_ext >&5
12131 eval "ac_cv_func_remove=no"
12136 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12137 echo "$ac_t""yes" 1>&6
12140 echo "$ac_t""no" 1>&6
12143 if test $ac_cv_func_remove = no
; then
12144 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12145 echo "configure:12146: checking for remove in -lposix" >&5
12146 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12148 echo $ac_n "(cached) $ac_c" 1>&6
12150 ac_save_LIBS
="$LIBS"
12151 LIBS
="-lposix $LIBS"
12152 cat > conftest.
$ac_ext <<EOF
12153 #line 12154 "configure"
12154 #include "confdefs.h"
12155 /* Override any gcc2 internal prototype to avoid an error. */
12156 /* We use char because int might match the return type of a gcc2
12157 builtin and then its argument prototype would still apply. */
12164 if { (eval echo configure
:12165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12166 eval "ac_cv_lib_$ac_lib_var=yes"
12168 echo "configure: failed program was:" >&5
12169 cat conftest.
$ac_ext >&5
12171 eval "ac_cv_lib_$ac_lib_var=no"
12174 LIBS
="$ac_save_LIBS"
12177 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12178 echo "$ac_t""yes" 1>&6
12179 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12181 echo "$ac_t""no" 1>&6
12186 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12187 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12188 echo "configure:12189: checking for shmat" >&5
12189 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12190 echo $ac_n "(cached) $ac_c" 1>&6
12192 cat > conftest.
$ac_ext <<EOF
12193 #line 12194 "configure"
12194 #include "confdefs.h"
12195 /* System header to define __stub macros and hopefully few prototypes,
12196 which can conflict with char shmat(); below. */
12197 #include <assert.h>
12198 /* Override any gcc2 internal prototype to avoid an error. */
12199 /* We use char because int might match the return type of a gcc2
12200 builtin and then its argument prototype would still apply. */
12205 /* The GNU C library defines this for functions which it implements
12206 to always fail with ENOSYS. Some functions are actually named
12207 something starting with __ and the normal name is an alias. */
12208 #if defined (__stub_shmat) || defined (__stub___shmat)
12216 if { (eval echo configure
:12217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12218 eval "ac_cv_func_shmat=yes"
12220 echo "configure: failed program was:" >&5
12221 cat conftest.
$ac_ext >&5
12223 eval "ac_cv_func_shmat=no"
12228 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12229 echo "$ac_t""yes" 1>&6
12232 echo "$ac_t""no" 1>&6
12235 if test $ac_cv_func_shmat = no
; then
12236 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12237 echo "configure:12238: checking for shmat in -lipc" >&5
12238 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12240 echo $ac_n "(cached) $ac_c" 1>&6
12242 ac_save_LIBS
="$LIBS"
12244 cat > conftest.
$ac_ext <<EOF
12245 #line 12246 "configure"
12246 #include "confdefs.h"
12247 /* Override any gcc2 internal prototype to avoid an error. */
12248 /* We use char because int might match the return type of a gcc2
12249 builtin and then its argument prototype would still apply. */
12256 if { (eval echo configure
:12257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12258 eval "ac_cv_lib_$ac_lib_var=yes"
12260 echo "configure: failed program was:" >&5
12261 cat conftest.
$ac_ext >&5
12263 eval "ac_cv_lib_$ac_lib_var=no"
12266 LIBS
="$ac_save_LIBS"
12269 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12270 echo "$ac_t""yes" 1>&6
12271 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12273 echo "$ac_t""no" 1>&6
12279 # Check for libraries that X11R6 Xt/Xaw programs need.
12280 ac_save_LDFLAGS
="$LDFLAGS"
12281 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12282 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12283 # check for ICE first), but we must link in the order -lSM -lICE or
12284 # we get undefined symbols. So assume we have SM if we have ICE.
12285 # These have to be linked with before -lX11, unlike the other
12286 # libraries we check for below, so use a different variable.
12287 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12288 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12289 echo "configure:12290: checking for IceConnectionNumber in -lICE" >&5
12290 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12292 echo $ac_n "(cached) $ac_c" 1>&6
12294 ac_save_LIBS
="$LIBS"
12295 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12296 cat > conftest.
$ac_ext <<EOF
12297 #line 12298 "configure"
12298 #include "confdefs.h"
12299 /* Override any gcc2 internal prototype to avoid an error. */
12300 /* We use char because int might match the return type of a gcc2
12301 builtin and then its argument prototype would still apply. */
12302 char IceConnectionNumber();
12305 IceConnectionNumber()
12308 if { (eval echo configure
:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12310 eval "ac_cv_lib_$ac_lib_var=yes"
12312 echo "configure: failed program was:" >&5
12313 cat conftest.
$ac_ext >&5
12315 eval "ac_cv_lib_$ac_lib_var=no"
12318 LIBS
="$ac_save_LIBS"
12321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12322 echo "$ac_t""yes" 1>&6
12323 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12325 echo "$ac_t""no" 1>&6
12328 LDFLAGS
="$ac_save_LDFLAGS"
12333 if test "$no_x" = "yes"; then
12334 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12337 GUI_TK_LIBRARY
="$X_LIBS"
12338 TOOLKIT_INCLUDE
="$X_CFLAGS"
12339 AFMINSTALL
=afminstall
12340 COMPILED_X_PROGRAM
=0
12342 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12343 echo "configure:12344: checking for Motif/Lesstif headers" >&5
12346 for ac_dir
in $SEARCH_INCLUDE;
12348 if test -f "$ac_dir/Xm/Xm.h"; then
12349 ac_find_includes
=$ac_dir
12354 if test "$ac_find_includes" != "" ; then
12355 echo "$ac_t""found $ac_find_includes" 1>&6
12357 cat > conftest.
$ac_ext <<EOF
12358 #line 12359 "configure"
12359 #include "confdefs.h"
12366 version = xmUseVersion;
12370 if { (eval echo configure
:12371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12373 echo "$ac_t""found in default search path" 1>&6
12374 COMPILED_X_PROGRAM
=1
12377 echo "configure: failed program was:" >&5
12378 cat conftest.
$ac_ext >&5
12381 echo "$ac_t""no" 1>&6
12382 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12389 if test "$COMPILED_X_PROGRAM" = 0; then
12390 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12391 echo "configure:12392: checking for Motif/Lesstif library" >&5
12394 for ac_dir
in $SEARCH_LIB;
12396 for ac_extension
in a so sl dylib
; do
12397 if test -f "$ac_dir/libXm.$ac_extension"; then
12398 ac_find_libraries
=$ac_dir
12404 if test "$ac_find_libraries" != "" ; then
12406 ac_path_to_include
=$ac_find_includes
12407 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12409 if test $result = 0; then
12410 ac_path_to_include
=""
12412 ac_path_to_include
=" -I$ac_find_includes"
12416 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12418 if test $result = 0; then
12421 ac_path_to_link
=" -L$ac_find_libraries"
12425 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12426 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12427 echo "$ac_t""found at $ac_find_libraries" 1>&6
12429 cat > conftest.
$ac_ext <<EOF
12430 #line 12431 "configure"
12431 #include "confdefs.h"
12438 version = xmUseVersion;
12442 if { (eval echo configure
:12443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12445 echo "$ac_t""found in default search path" 1>&6
12446 COMPILED_X_PROGRAM
=1
12449 echo "configure: failed program was:" >&5
12450 cat conftest.
$ac_ext >&5
12453 echo "$ac_t""no" 1>&6
12454 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12463 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12464 echo "configure:12465: checking for Xpm library" >&5
12467 for ac_dir
in $SEARCH_LIB;
12469 for ac_extension
in a so sl dylib
; do
12470 if test -f "$ac_dir/libXpm.$ac_extension"; then
12471 ac_find_libraries
=$ac_dir
12477 if test "$ac_find_libraries" != "" ; then
12479 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12481 if test $result = 0; then
12484 ac_path_to_link
=" -L$ac_find_libraries"
12487 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12489 cat >> confdefs.h
<<\EOF
12490 #define wxHAVE_LIB_XPM 1
12493 echo "$ac_t""found at $ac_find_libraries" 1>&6
12495 cat > conftest.
$ac_ext <<EOF
12496 #line 12497 "configure"
12497 #include "confdefs.h"
12499 #include <X11/xpm.h>
12504 version = XpmLibraryVersion();
12508 if { (eval echo configure
:12509: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12512 cat >> confdefs.h
<<\EOF
12513 #define wxHAVE_LIB_XPM 1
12516 echo "$ac_t""found in default search path" 1>&6
12517 COMPILED_X_PROGRAM
=0
12520 echo "configure: failed program was:" >&5
12521 cat conftest.
$ac_ext >&5
12524 echo "$ac_t""no" 1>&6
12525 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12532 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12533 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12538 if test "$wxUSE_MAC" = 1; then
12539 if test "$wxUSE_PRECOMP" = "yes"; then
12540 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12542 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12543 CFLAGS
="$CFLAGS -fpascal-strings"
12544 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
12546 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12551 if test "$wxUSE_PM" = 1; then
12556 if test "$TOOLKIT" = "PM" ; then
12559 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12562 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12564 if test "$wxUSE_UNIVERSAL" = "yes"; then
12565 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12567 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
12568 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
12570 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12571 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12572 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12575 ALL_OBJECTS
="\$(GUIOBJS)"
12576 ALL_SOURCES
="\$(ALL_SOURCES)"
12577 ALL_HEADERS
="\$(ALL_HEADERS)"
12580 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12582 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12583 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12586 if test "$wxUSE_HTML" = "yes"; then
12587 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12590 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12591 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12593 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12594 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12596 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12597 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12599 if test "$wxUSE_LIBPNG" = "builtin" ; then
12600 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12602 if test "$wxUSE_FREETYPE" = "builtin" ; then
12603 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12606 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12607 DISTDIR
="wx\$(TOOLKIT)"
12613 if test "$USE_WIN32" = 1 ; then
12614 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12615 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12619 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12620 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12623 PORT_FILES
="\${top_srcdir}/src/files.lst"
12625 GUIDIST
="BASE_DIST"
12629 if test "$wxUSE_REGEX" = "builtin" ; then
12630 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12632 if test "$wxUSE_ZLIB" = "builtin" ; then
12633 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12636 if test "$wxUSE_OPENGL" = "yes"; then
12637 if test "$wxUSE_MAC" = 1; then
12638 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12641 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12642 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12643 echo "configure:12644: checking for GL/gl.h" >&5
12644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12645 echo $ac_n "(cached) $ac_c" 1>&6
12647 cat > conftest.
$ac_ext <<EOF
12648 #line 12649 "configure"
12649 #include "confdefs.h"
12652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12653 { (eval echo configure
:12654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12655 if test -z "$ac_err"; then
12657 eval "ac_cv_header_$ac_safe=yes"
12660 echo "configure: failed program was:" >&5
12661 cat conftest.
$ac_ext >&5
12663 eval "ac_cv_header_$ac_safe=no"
12667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12668 echo "$ac_t""yes" 1>&6
12670 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12671 echo "configure:12672: checking for -lGL" >&5
12674 for ac_dir
in $SEARCH_LIB;
12676 for ac_extension
in a so sl dylib
; do
12677 if test -f "$ac_dir/libGL.$ac_extension"; then
12678 ac_find_libraries
=$ac_dir
12684 if test "$ac_find_libraries" != "" ; then
12686 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12688 if test $result = 0; then
12691 ac_path_to_link
=" -L$ac_find_libraries"
12694 if test "$ac_path_to_link" = " -L/usr/lib" ; then
12695 LDFLAGS_GL
="$LDFLAGS"
12697 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12699 OPENGL_LIBS
="-lGL -lGLU"
12700 echo "$ac_t""yes" 1>&6
12702 echo "$ac_t""no" 1>&6
12703 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12704 echo "configure:12705: checking for -lMesaGL" >&5
12707 for ac_dir
in $SEARCH_LIB;
12709 for ac_extension
in a so sl dylib
; do
12710 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12711 ac_find_libraries
=$ac_dir
12717 if test "$ac_find_libraries" != "" ; then
12719 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12721 if test $result = 0; then
12724 ac_path_to_link
=" -L$ac_find_libraries"
12727 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12728 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12729 echo "$ac_t""yes" 1>&6
12731 echo "$ac_t""no" 1>&6
12736 echo "$ac_t""no" 1>&6
12741 # AC_CHECK_HEADER(GL/gl.h,
12743 # AC_CHECK_LIB(GL, glFlush,
12745 # OPENGL_LIBS="-lGL -lGLU"
12748 # AC_CHECK_LIB(MesaGL, glFlush,
12750 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12758 if test "x$OPENGL_LIBS" = "x"; then
12759 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12763 if test "$wxUSE_OPENGL" = "yes"; then
12764 cat >> confdefs.h
<<\EOF
12765 #define wxUSE_OPENGL 1
12768 cat >> confdefs.h
<<\EOF
12769 #define wxUSE_GLCANVAS 1
12772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12776 if test -z "$TOOLKIT_VPATH" ; then
12777 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12780 if test -n "$TOOLKIT" ; then
12781 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12784 lib_unicode_suffix
=
12785 if test "$wxUSE_UNICODE" = "yes"; then
12786 lib_unicode_suffix
=u
12790 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12794 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12795 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12797 if test "$cross_compiling" = "yes"; then
12798 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12799 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12802 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12803 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12805 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12806 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12808 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12809 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12810 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12811 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12813 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12814 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12817 *-*-cygwin* | *-*-mingw32* )
12821 if test "$cross_compiling" != "yes"; then
12822 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12823 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12824 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12825 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12827 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12828 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12833 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12834 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12836 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12837 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12839 if test "$wxUSE_OPENGL" = "yes"; then
12840 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12841 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12846 if test "$wxUSE_SHARED" = "yes"; then
12848 if test "$wxUSE_OPENGL" = "yes"; then
12849 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12850 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12852 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12853 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12856 if test "$GCC" = "yes"; then
12860 SHARED_LD
="${CXX} -shared -o"
12864 if test "$GCC" == "yes"; then
12865 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
12867 LDFLAGS
="$LDFLAGS -L/usr/lib"
12869 SHARED_LD
="${CXX} -b -o"
12873 if test "$wxUSE_OPENGL" = "yes"; then
12874 WX_ALL_INSTALLED
="preinstall_gl"
12875 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12877 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12882 if test "$GCC" != "yes"; then
12883 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12884 echo "configure:12885: checking for Intel compiler" >&5
12885 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12886 echo $ac_n "(cached) $ac_c" 1>&6
12889 cat > conftest.
$ac_ext <<EOF
12890 #line 12891 "configure"
12891 #include "confdefs.h"
12895 #ifndef __INTEL_COMPILER
12901 if { (eval echo configure
:12902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12905 echo "configure: failed program was:" >&5
12906 cat conftest.
$ac_ext >&5
12915 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12916 if test "$wx_cv_prog_icc" = "yes"; then
12921 if test "$wxUSE_SONAME" = "yes" ; then
12922 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12923 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12924 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12929 if test "$GCC" = yes ; then
12930 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12932 SHARED_LD
="${CXX} -G -o"
12934 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12935 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
12940 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12941 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12942 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12943 PIC_FLAG
="-dynamic -fPIC"
12947 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12950 *-*-cygwin* | *-*-mingw32* )
12952 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12954 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12955 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12957 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12959 if test "$wxUSE_OPENGL" = "yes"; then
12960 WX_ALL_INSTALLED
="preinstall_gl"
12961 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12963 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12967 *-pc-os2_emx | *-pc-os2-emx )
12972 SHARED_LD
="${LD} -shared -o"
12975 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12977 *-*-irix5* | *-*-irix6* | \
12984 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12987 if test "x$WX_TARGET_LIBRARY" = "x"; then
12988 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12989 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12992 WX_TARGET_LIBRARY_TYPE
="so"
12993 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12996 if test "$wxUSE_SHARED" = "no"; then
12998 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12999 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13002 if test "$wxUSE_MAC" = 1; then
13003 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13006 if test "$wxUSE_OPENGL" = "yes"; then
13007 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13008 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13010 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13013 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13014 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13016 WX_TARGET_LIBRARY_TYPE
="a"
13017 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13020 if test "$wxUSE_MAC" = 1; then
13021 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13022 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13023 # Extract the first word of "Rez", so it can be a program name with args.
13024 set dummy Rez
; ac_word
=$2
13025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13026 echo "configure:13027: checking for $ac_word" >&5
13027 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13028 echo $ac_n "(cached) $ac_c" 1>&6
13030 if test -n "$RESCOMP"; then
13031 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13033 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13035 for ac_dir
in $ac_dummy; do
13036 test -z "$ac_dir" && ac_dir
=.
13037 if test -f $ac_dir/$ac_word; then
13038 ac_cv_prog_RESCOMP
="Rez"
13043 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13046 RESCOMP
="$ac_cv_prog_RESCOMP"
13047 if test -n "$RESCOMP"; then
13048 echo "$ac_t""$RESCOMP" 1>&6
13050 echo "$ac_t""no" 1>&6
13053 # Extract the first word of "DeRez", so it can be a program name with args.
13054 set dummy DeRez
; ac_word
=$2
13055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13056 echo "configure:13057: checking for $ac_word" >&5
13057 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13058 echo $ac_n "(cached) $ac_c" 1>&6
13060 if test -n "$DEREZ"; then
13061 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13063 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13065 for ac_dir
in $ac_dummy; do
13066 test -z "$ac_dir" && ac_dir
=.
13067 if test -f $ac_dir/$ac_word; then
13068 ac_cv_prog_DEREZ
="DeRez"
13073 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13076 DEREZ
="$ac_cv_prog_DEREZ"
13077 if test -n "$DEREZ"; then
13078 echo "$ac_t""$DEREZ" 1>&6
13080 echo "$ac_t""no" 1>&6
13083 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13084 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13085 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13089 if test "$wxUSE_MAC" != 1; then
13090 for ac_hdr
in strings.h
13092 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13093 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13094 echo "configure:13095: checking for $ac_hdr" >&5
13095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13096 echo $ac_n "(cached) $ac_c" 1>&6
13098 cat > conftest.
$ac_ext <<EOF
13099 #line 13100 "configure"
13100 #include "confdefs.h"
13103 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13104 { (eval echo configure
:13105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13105 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13106 if test -z "$ac_err"; then
13108 eval "ac_cv_header_$ac_safe=yes"
13111 echo "configure: failed program was:" >&5
13112 cat conftest.
$ac_ext >&5
13114 eval "ac_cv_header_$ac_safe=no"
13118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13119 echo "$ac_t""yes" 1>&6
13120 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13121 cat >> confdefs.h
<<EOF
13122 #define $ac_tr_hdr 1
13126 echo "$ac_t""no" 1>&6
13132 for ac_hdr
in stdlib.h
13134 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13135 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13136 echo "configure:13137: checking for $ac_hdr" >&5
13137 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13138 echo $ac_n "(cached) $ac_c" 1>&6
13140 cat > conftest.
$ac_ext <<EOF
13141 #line 13142 "configure"
13142 #include "confdefs.h"
13145 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13146 { (eval echo configure
:13147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13147 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13148 if test -z "$ac_err"; then
13150 eval "ac_cv_header_$ac_safe=yes"
13153 echo "configure: failed program was:" >&5
13154 cat conftest.
$ac_ext >&5
13156 eval "ac_cv_header_$ac_safe=no"
13160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13161 echo "$ac_t""yes" 1>&6
13162 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13163 cat >> confdefs.h
<<EOF
13164 #define $ac_tr_hdr 1
13168 echo "$ac_t""no" 1>&6
13172 for ac_hdr
in malloc.h
13174 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13175 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13176 echo "configure:13177: checking for $ac_hdr" >&5
13177 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13178 echo $ac_n "(cached) $ac_c" 1>&6
13180 cat > conftest.
$ac_ext <<EOF
13181 #line 13182 "configure"
13182 #include "confdefs.h"
13185 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13186 { (eval echo configure
:13187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13187 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13188 if test -z "$ac_err"; then
13190 eval "ac_cv_header_$ac_safe=yes"
13193 echo "configure: failed program was:" >&5
13194 cat conftest.
$ac_ext >&5
13196 eval "ac_cv_header_$ac_safe=no"
13200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13201 echo "$ac_t""yes" 1>&6
13202 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13203 cat >> confdefs.h
<<EOF
13204 #define $ac_tr_hdr 1
13208 echo "$ac_t""no" 1>&6
13212 for ac_hdr
in unistd.h
13214 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13215 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13216 echo "configure:13217: checking for $ac_hdr" >&5
13217 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13218 echo $ac_n "(cached) $ac_c" 1>&6
13220 cat > conftest.
$ac_ext <<EOF
13221 #line 13222 "configure"
13222 #include "confdefs.h"
13225 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13226 { (eval echo configure
:13227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13227 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13228 if test -z "$ac_err"; then
13230 eval "ac_cv_header_$ac_safe=yes"
13233 echo "configure: failed program was:" >&5
13234 cat conftest.
$ac_ext >&5
13236 eval "ac_cv_header_$ac_safe=no"
13240 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13241 echo "$ac_t""yes" 1>&6
13242 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13243 cat >> confdefs.h
<<EOF
13244 #define $ac_tr_hdr 1
13248 echo "$ac_t""no" 1>&6
13252 for ac_hdr
in wchar.h
13254 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13255 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13256 echo "configure:13257: checking for $ac_hdr" >&5
13257 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13258 echo $ac_n "(cached) $ac_c" 1>&6
13260 cat > conftest.
$ac_ext <<EOF
13261 #line 13262 "configure"
13262 #include "confdefs.h"
13265 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13266 { (eval echo configure
:13267: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13267 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13268 if test -z "$ac_err"; then
13270 eval "ac_cv_header_$ac_safe=yes"
13273 echo "configure: failed program was:" >&5
13274 cat conftest.
$ac_ext >&5
13276 eval "ac_cv_header_$ac_safe=no"
13280 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13281 echo "$ac_t""yes" 1>&6
13282 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13283 cat >> confdefs.h
<<EOF
13284 #define $ac_tr_hdr 1
13288 echo "$ac_t""no" 1>&6
13292 for ac_hdr
in wcstr.h
13294 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13295 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13296 echo "configure:13297: checking for $ac_hdr" >&5
13297 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13298 echo $ac_n "(cached) $ac_c" 1>&6
13300 cat > conftest.
$ac_ext <<EOF
13301 #line 13302 "configure"
13302 #include "confdefs.h"
13305 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13306 { (eval echo configure
:13307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13307 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13308 if test -z "$ac_err"; then
13310 eval "ac_cv_header_$ac_safe=yes"
13313 echo "configure: failed program was:" >&5
13314 cat conftest.
$ac_ext >&5
13316 eval "ac_cv_header_$ac_safe=no"
13320 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13321 echo "$ac_t""yes" 1>&6
13322 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13323 cat >> confdefs.h
<<EOF
13324 #define $ac_tr_hdr 1
13328 echo "$ac_t""no" 1>&6
13332 for ac_hdr
in wctype.h
13334 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13335 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13336 echo "configure:13337: checking for $ac_hdr" >&5
13337 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13338 echo $ac_n "(cached) $ac_c" 1>&6
13340 cat > conftest.
$ac_ext <<EOF
13341 #line 13342 "configure"
13342 #include "confdefs.h"
13345 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13346 { (eval echo configure
:13347: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13347 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13348 if test -z "$ac_err"; then
13350 eval "ac_cv_header_$ac_safe=yes"
13353 echo "configure: failed program was:" >&5
13354 cat conftest.
$ac_ext >&5
13356 eval "ac_cv_header_$ac_safe=no"
13360 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13361 echo "$ac_t""yes" 1>&6
13362 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13363 cat >> confdefs.h
<<EOF
13364 #define $ac_tr_hdr 1
13368 echo "$ac_t""no" 1>&6
13372 for ac_hdr
in fnmatch.h
13374 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13375 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13376 echo "configure:13377: checking for $ac_hdr" >&5
13377 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13378 echo $ac_n "(cached) $ac_c" 1>&6
13380 cat > conftest.
$ac_ext <<EOF
13381 #line 13382 "configure"
13382 #include "confdefs.h"
13385 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13386 { (eval echo configure
:13387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13387 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13388 if test -z "$ac_err"; then
13390 eval "ac_cv_header_$ac_safe=yes"
13393 echo "configure: failed program was:" >&5
13394 cat conftest.
$ac_ext >&5
13396 eval "ac_cv_header_$ac_safe=no"
13400 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13401 echo "$ac_t""yes" 1>&6
13402 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13403 cat >> confdefs.h
<<EOF
13404 #define $ac_tr_hdr 1
13408 echo "$ac_t""no" 1>&6
13412 for ac_hdr
in langinfo.h
13414 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13415 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13416 echo "configure:13417: checking for $ac_hdr" >&5
13417 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13418 echo $ac_n "(cached) $ac_c" 1>&6
13420 cat > conftest.
$ac_ext <<EOF
13421 #line 13422 "configure"
13422 #include "confdefs.h"
13425 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13426 { (eval echo configure
:13427: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13427 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13428 if test -z "$ac_err"; then
13430 eval "ac_cv_header_$ac_safe=yes"
13433 echo "configure: failed program was:" >&5
13434 cat conftest.
$ac_ext >&5
13436 eval "ac_cv_header_$ac_safe=no"
13440 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13441 echo "$ac_t""yes" 1>&6
13442 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13443 cat >> confdefs.h
<<EOF
13444 #define $ac_tr_hdr 1
13448 echo "$ac_t""no" 1>&6
13453 if test "$wxUSE_GUI" = "yes"; then
13454 if test "$wxUSE_UNIX" = "yes"; then
13455 for ac_hdr
in X
11/XKBlib.h
13457 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13458 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13459 echo "configure:13460: checking for $ac_hdr" >&5
13460 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13461 echo $ac_n "(cached) $ac_c" 1>&6
13463 cat > conftest.
$ac_ext <<EOF
13464 #line 13465 "configure"
13465 #include "confdefs.h"
13468 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13469 { (eval echo configure
:13470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13470 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13471 if test -z "$ac_err"; then
13473 eval "ac_cv_header_$ac_safe=yes"
13476 echo "configure: failed program was:" >&5
13477 cat conftest.
$ac_ext >&5
13479 eval "ac_cv_header_$ac_safe=no"
13483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13484 echo "$ac_t""yes" 1>&6
13485 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13486 cat >> confdefs.h
<<EOF
13487 #define $ac_tr_hdr 1
13491 echo "$ac_t""no" 1>&6
13499 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13500 echo "configure:13501: checking for ANSI C header files" >&5
13501 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13502 echo $ac_n "(cached) $ac_c" 1>&6
13504 cat > conftest.
$ac_ext <<EOF
13505 #line 13506 "configure"
13506 #include "confdefs.h"
13507 #include <stdlib.h>
13508 #include <stdarg.h>
13509 #include <string.h>
13512 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13513 { (eval echo configure
:13514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13514 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13515 if test -z "$ac_err"; then
13517 ac_cv_header_stdc
=yes
13520 echo "configure: failed program was:" >&5
13521 cat conftest.
$ac_ext >&5
13523 ac_cv_header_stdc
=no
13527 if test $ac_cv_header_stdc = yes; then
13528 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13529 cat > conftest.
$ac_ext <<EOF
13530 #line 13531 "configure"
13531 #include "confdefs.h"
13532 #include <string.h>
13534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13535 egrep "memchr" >/dev
/null
2>&1; then
13539 ac_cv_header_stdc
=no
13545 if test $ac_cv_header_stdc = yes; then
13546 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13547 cat > conftest.
$ac_ext <<EOF
13548 #line 13549 "configure"
13549 #include "confdefs.h"
13550 #include <stdlib.h>
13552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13553 egrep "free" >/dev
/null
2>&1; then
13557 ac_cv_header_stdc
=no
13563 if test $ac_cv_header_stdc = yes; then
13564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13565 if test "$cross_compiling" = yes; then
13568 cat > conftest.
$ac_ext <<EOF
13569 #line 13570 "configure"
13570 #include "confdefs.h"
13572 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13573 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13575 int main () { int i; for (i = 0; i < 256; i++)
13576 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13580 if { (eval echo configure
:13581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13584 echo "configure: failed program was:" >&5
13585 cat conftest.
$ac_ext >&5
13587 ac_cv_header_stdc
=no
13595 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13596 if test $ac_cv_header_stdc = yes; then
13597 cat >> confdefs.h
<<\EOF
13598 #define STDC_HEADERS 1
13603 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13604 echo "configure:13605: checking for mode_t" >&5
13605 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13606 echo $ac_n "(cached) $ac_c" 1>&6
13608 cat > conftest.
$ac_ext <<EOF
13609 #line 13610 "configure"
13610 #include "confdefs.h"
13611 #include <sys/types.h>
13613 #include <stdlib.h>
13614 #include <stddef.h>
13617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13618 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13620 ac_cv_type_mode_t
=yes
13623 ac_cv_type_mode_t
=no
13628 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13629 if test $ac_cv_type_mode_t = no
; then
13630 cat >> confdefs.h
<<\EOF
13636 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13637 echo "configure:13638: checking for off_t" >&5
13638 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13639 echo $ac_n "(cached) $ac_c" 1>&6
13641 cat > conftest.
$ac_ext <<EOF
13642 #line 13643 "configure"
13643 #include "confdefs.h"
13644 #include <sys/types.h>
13646 #include <stdlib.h>
13647 #include <stddef.h>
13650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13651 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13653 ac_cv_type_off_t
=yes
13656 ac_cv_type_off_t
=no
13661 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13662 if test $ac_cv_type_off_t = no
; then
13663 cat >> confdefs.h
<<\EOF
13669 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13670 echo "configure:13671: checking for pid_t" >&5
13671 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13672 echo $ac_n "(cached) $ac_c" 1>&6
13674 cat > conftest.
$ac_ext <<EOF
13675 #line 13676 "configure"
13676 #include "confdefs.h"
13677 #include <sys/types.h>
13679 #include <stdlib.h>
13680 #include <stddef.h>
13683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13684 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13686 ac_cv_type_pid_t
=yes
13689 ac_cv_type_pid_t
=no
13694 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13695 if test $ac_cv_type_pid_t = no
; then
13696 cat >> confdefs.h
<<\EOF
13702 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13703 echo "configure:13704: checking for size_t" >&5
13704 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13705 echo $ac_n "(cached) $ac_c" 1>&6
13707 cat > conftest.
$ac_ext <<EOF
13708 #line 13709 "configure"
13709 #include "confdefs.h"
13710 #include <sys/types.h>
13712 #include <stdlib.h>
13713 #include <stddef.h>
13716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13717 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13719 ac_cv_type_size_t
=yes
13722 ac_cv_type_size_t
=no
13727 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13728 if test $ac_cv_type_size_t = no
; then
13729 cat >> confdefs.h
<<\EOF
13730 #define size_t unsigned
13735 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13736 echo "configure:13737: checking for uid_t in sys/types.h" >&5
13737 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13738 echo $ac_n "(cached) $ac_c" 1>&6
13740 cat > conftest.
$ac_ext <<EOF
13741 #line 13742 "configure"
13742 #include "confdefs.h"
13743 #include <sys/types.h>
13745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13746 egrep "uid_t" >/dev
/null
2>&1; then
13748 ac_cv_type_uid_t
=yes
13751 ac_cv_type_uid_t
=no
13757 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13758 if test $ac_cv_type_uid_t = no
; then
13759 cat >> confdefs.h
<<\EOF
13763 cat >> confdefs.h
<<\EOF
13770 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13771 echo "configure:13772: checking for wchar_t" >&5
13772 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13773 echo $ac_n "(cached) $ac_c" 1>&6
13776 cat > conftest.
$ac_ext <<EOF
13777 #line 13778 "configure"
13778 #include "confdefs.h"
13780 #ifdef HAVE_WCHAR_H
13782 # include <stddef.h>
13784 # include <wchar.h>
13786 #ifdef HAVE_STDLIB_H
13787 # include <stdlib.h>
13794 ws = L"Hello, world!";
13798 if { (eval echo configure
:13799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13800 wx_cv_type_wchar_t
=yes
13802 echo "configure: failed program was:" >&5
13803 cat conftest.
$ac_ext >&5
13805 wx_cv_type_wchar_t
=no
13812 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13814 if test "$wx_cv_type_wchar_t" = "yes"; then
13815 cat >> confdefs.h
<<\EOF
13816 #define wxUSE_WCHAR_T 1
13823 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13824 ac_cpp
='$CXXCPP $CPPFLAGS'
13825 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13826 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13827 cross_compiling
=$ac_cv_prog_cxx_cross
13829 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13830 echo "configure:13831: checking if size_t is unsigned int" >&5
13831 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13832 echo $ac_n "(cached) $ac_c" 1>&6
13834 cat > conftest.
$ac_ext <<EOF
13835 #line 13836 "configure"
13836 #include "confdefs.h"
13837 #include <stddef.h>
13842 struct Foo { void foo(size_t); void foo(unsigned int); };
13848 if { (eval echo configure
:13849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13850 wx_cv_size_t_is_uint
=no
13852 echo "configure: failed program was:" >&5
13853 cat conftest.
$ac_ext >&5
13855 wx_cv_size_t_is_uint
=yes
13862 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13864 if test "$wx_cv_size_t_is_uint" = "yes"; then
13865 cat >> confdefs.h
<<\EOF
13866 #define wxSIZE_T_IS_UINT 1
13870 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13871 echo "configure:13872: checking if size_t is unsigned long" >&5
13872 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13873 echo $ac_n "(cached) $ac_c" 1>&6
13875 cat > conftest.
$ac_ext <<EOF
13876 #line 13877 "configure"
13877 #include "confdefs.h"
13878 #include <stddef.h>
13883 struct Foo { void foo(size_t); void foo(unsigned long); };
13889 if { (eval echo configure
:13890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13891 wx_cv_size_t_is_ulong
=no
13893 echo "configure: failed program was:" >&5
13894 cat conftest.
$ac_ext >&5
13896 wx_cv_size_t_is_ulong
=yes
13903 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13905 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13906 cat >> confdefs.h
<<\EOF
13907 #define wxSIZE_T_IS_ULONG 1
13914 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13915 ac_cpp
='$CPP $CPPFLAGS'
13916 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13917 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13918 cross_compiling
=$ac_cv_prog_cc_cross
13922 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13923 echo "configure:13924: checking for pw_gecos in struct passwd" >&5
13924 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13925 echo $ac_n "(cached) $ac_c" 1>&6
13928 cat > conftest.
$ac_ext <<EOF
13929 #line 13930 "configure"
13930 #include "confdefs.h"
13940 if { (eval echo configure
:13941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13943 wx_cv_struct_pw_gecos
=yes
13946 echo "configure: failed program was:" >&5
13947 cat conftest.
$ac_ext >&5
13950 wx_cv_struct_pw_gecos
=no
13959 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13961 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13962 cat >> confdefs.h
<<\EOF
13963 #define HAVE_PW_GECOS 1
13969 echo $ac_n "checking for working const""... $ac_c" 1>&6
13970 echo "configure:13971: checking for working const" >&5
13971 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13972 echo $ac_n "(cached) $ac_c" 1>&6
13974 cat > conftest.
$ac_ext <<EOF
13975 #line 13976 "configure"
13976 #include "confdefs.h"
13980 /* Ultrix mips cc rejects this. */
13981 typedef int charset[2]; const charset x;
13982 /* SunOS 4.1.1 cc rejects this. */
13983 char const *const *ccp;
13985 /* NEC SVR4.0.2 mips cc rejects this. */
13986 struct point {int x, y;};
13987 static struct point const zero = {0,0};
13988 /* AIX XL C 1.02.0.0 rejects this.
13989 It does not let you subtract one const X* pointer from another in an arm
13990 of an if-expression whose if-part is not a constant expression */
13991 const char *g = "string";
13992 ccp = &g + (g ? g-g : 0);
13993 /* HPUX 7.0 cc rejects these. */
13996 ccp = (char const *const *) p;
13997 { /* SCO 3.2v4 cc rejects this. */
13999 char const *s = 0 ? (char *) 0 : (char const *) 0;
14003 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14004 int x[] = {25, 17};
14005 const int *foo = &x[0];
14008 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14009 typedef const int *iptr;
14013 { /* AIX XL C 1.02.0.0 rejects this saying
14014 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14015 struct s { int j; const int *ap[3]; };
14016 struct s *b; b->j = 5;
14018 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14019 const int foo = 10;
14024 if { (eval echo configure
:14025: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14028 echo "configure: failed program was:" >&5
14029 cat conftest.
$ac_ext >&5
14036 echo "$ac_t""$ac_cv_c_const" 1>&6
14037 if test $ac_cv_c_const = no
; then
14038 cat >> confdefs.h
<<\EOF
14044 echo $ac_n "checking for inline""... $ac_c" 1>&6
14045 echo "configure:14046: checking for inline" >&5
14046 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14047 echo $ac_n "(cached) $ac_c" 1>&6
14050 for ac_kw
in inline __inline__ __inline
; do
14051 cat > conftest.
$ac_ext <<EOF
14052 #line 14053 "configure"
14053 #include "confdefs.h"
14059 if { (eval echo configure
:14060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14061 ac_cv_c_inline
=$ac_kw; break
14063 echo "configure: failed program was:" >&5
14064 cat conftest.
$ac_ext >&5
14071 echo "$ac_t""$ac_cv_c_inline" 1>&6
14072 case "$ac_cv_c_inline" in
14074 no
) cat >> confdefs.h
<<\EOF
14078 *) cat >> confdefs.h
<<EOF
14079 #define inline $ac_cv_c_inline
14085 echo $ac_n "checking size of char""... $ac_c" 1>&6
14086 echo "configure:14087: checking size of char" >&5
14087 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14088 echo $ac_n "(cached) $ac_c" 1>&6
14090 if test "$cross_compiling" = yes; then
14091 ac_cv_sizeof_char
=1
14093 cat > conftest.
$ac_ext <<EOF
14094 #line 14095 "configure"
14095 #include "confdefs.h"
14099 FILE *f=fopen("conftestval", "w");
14101 fprintf(f, "%d\n", sizeof(char));
14105 if { (eval echo configure
:14106: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14107 ac_cv_sizeof_char
=`cat conftestval`
14109 echo "configure: failed program was:" >&5
14110 cat conftest.
$ac_ext >&5
14112 ac_cv_sizeof_char
=0
14118 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14119 cat >> confdefs.h
<<EOF
14120 #define SIZEOF_CHAR $ac_cv_sizeof_char
14124 echo $ac_n "checking size of short""... $ac_c" 1>&6
14125 echo "configure:14126: checking size of short" >&5
14126 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14127 echo $ac_n "(cached) $ac_c" 1>&6
14129 if test "$cross_compiling" = yes; then
14130 ac_cv_sizeof_short
=2
14132 cat > conftest.
$ac_ext <<EOF
14133 #line 14134 "configure"
14134 #include "confdefs.h"
14138 FILE *f=fopen("conftestval", "w");
14140 fprintf(f, "%d\n", sizeof(short));
14144 if { (eval echo configure
:14145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14146 ac_cv_sizeof_short
=`cat conftestval`
14148 echo "configure: failed program was:" >&5
14149 cat conftest.
$ac_ext >&5
14151 ac_cv_sizeof_short
=0
14157 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14158 cat >> confdefs.h
<<EOF
14159 #define SIZEOF_SHORT $ac_cv_sizeof_short
14163 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14164 echo "configure:14165: checking size of int *" >&5
14165 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14166 echo $ac_n "(cached) $ac_c" 1>&6
14168 if test "$cross_compiling" = yes; then
14169 ac_cv_sizeof_int_p
=4
14171 cat > conftest.
$ac_ext <<EOF
14172 #line 14173 "configure"
14173 #include "confdefs.h"
14177 FILE *f=fopen("conftestval", "w");
14179 fprintf(f, "%d\n", sizeof(int *));
14183 if { (eval echo configure
:14184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14185 ac_cv_sizeof_int_p
=`cat conftestval`
14187 echo "configure: failed program was:" >&5
14188 cat conftest.
$ac_ext >&5
14190 ac_cv_sizeof_int_p
=0
14196 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14197 cat >> confdefs.h
<<EOF
14198 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14202 echo $ac_n "checking size of int""... $ac_c" 1>&6
14203 echo "configure:14204: checking size of int" >&5
14204 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14205 echo $ac_n "(cached) $ac_c" 1>&6
14207 if test "$cross_compiling" = yes; then
14210 cat > conftest.
$ac_ext <<EOF
14211 #line 14212 "configure"
14212 #include "confdefs.h"
14216 FILE *f=fopen("conftestval", "w");
14218 fprintf(f, "%d\n", sizeof(int));
14222 if { (eval echo configure
:14223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14224 ac_cv_sizeof_int
=`cat conftestval`
14226 echo "configure: failed program was:" >&5
14227 cat conftest.
$ac_ext >&5
14235 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14236 cat >> confdefs.h
<<EOF
14237 #define SIZEOF_INT $ac_cv_sizeof_int
14241 echo $ac_n "checking size of long""... $ac_c" 1>&6
14242 echo "configure:14243: checking size of long" >&5
14243 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14244 echo $ac_n "(cached) $ac_c" 1>&6
14246 if test "$cross_compiling" = yes; then
14247 ac_cv_sizeof_long
=4
14249 cat > conftest.
$ac_ext <<EOF
14250 #line 14251 "configure"
14251 #include "confdefs.h"
14255 FILE *f=fopen("conftestval", "w");
14257 fprintf(f, "%d\n", sizeof(long));
14261 if { (eval echo configure
:14262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14263 ac_cv_sizeof_long
=`cat conftestval`
14265 echo "configure: failed program was:" >&5
14266 cat conftest.
$ac_ext >&5
14268 ac_cv_sizeof_long
=0
14274 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14275 cat >> confdefs.h
<<EOF
14276 #define SIZEOF_LONG $ac_cv_sizeof_long
14280 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14281 echo "configure:14282: checking size of long long" >&5
14282 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14283 echo $ac_n "(cached) $ac_c" 1>&6
14285 if test "$cross_compiling" = yes; then
14286 ac_cv_sizeof_long_long
=0
14288 cat > conftest.
$ac_ext <<EOF
14289 #line 14290 "configure"
14290 #include "confdefs.h"
14294 FILE *f=fopen("conftestval", "w");
14296 fprintf(f, "%d\n", sizeof(long long));
14300 if { (eval echo configure
:14301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14302 ac_cv_sizeof_long_long
=`cat conftestval`
14304 echo "configure: failed program was:" >&5
14305 cat conftest.
$ac_ext >&5
14307 ac_cv_sizeof_long_long
=0
14313 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14314 cat >> confdefs.h
<<EOF
14315 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14320 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14321 echo "configure:14322: checking size of wchar_t" >&5
14322 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14323 echo $ac_n "(cached) $ac_c" 1>&6
14326 if test "$cross_compiling" = yes; then
14327 wx_cv_sizeof_wchar_t
=4
14330 cat > conftest.
$ac_ext <<EOF
14331 #line 14332 "configure"
14332 #include "confdefs.h"
14334 #ifdef HAVE_WCHAR_H
14336 # include <stddef.h>
14338 # include <wchar.h>
14340 #ifdef HAVE_STDLIB_H
14341 # include <stdlib.h>
14346 FILE *f=fopen("conftestval", "w");
14348 fprintf(f, "%i", sizeof(wchar_t));
14353 if { (eval echo configure
:14354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14355 wx_cv_sizeof_wchar_t
=`cat conftestval`
14357 echo "configure: failed program was:" >&5
14358 cat conftest.
$ac_ext >&5
14360 wx_cv_sizeof_wchar_t
=0
14368 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14370 cat >> confdefs.h
<<EOF
14371 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14375 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14376 echo "configure:14377: checking whether byte ordering is bigendian" >&5
14377 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14378 echo $ac_n "(cached) $ac_c" 1>&6
14380 ac_cv_c_bigendian
=unknown
14381 # See if sys/param.h defines the BYTE_ORDER macro.
14382 cat > conftest.
$ac_ext <<EOF
14383 #line 14384 "configure"
14384 #include "confdefs.h"
14385 #include <sys/types.h>
14386 #include <sys/param.h>
14389 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14390 bogus endian macros
14394 if { (eval echo configure
:14395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14396 # It does; now see whether it defined to BIG_ENDIAN or not.
14397 cat > conftest.
$ac_ext <<EOF
14398 #line 14399 "configure"
14399 #include "confdefs.h"
14400 #include <sys/types.h>
14401 #include <sys/param.h>
14404 #if BYTE_ORDER != BIG_ENDIAN
14409 if { (eval echo configure
:14410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14411 ac_cv_c_bigendian
=yes
14413 echo "configure: failed program was:" >&5
14414 cat conftest.
$ac_ext >&5
14416 ac_cv_c_bigendian
=no
14420 echo "configure: failed program was:" >&5
14421 cat conftest.
$ac_ext >&5
14424 if test $ac_cv_c_bigendian = unknown
; then
14425 if test "$cross_compiling" = yes; then
14426 ac_cv_c_bigendian
=unknown
14428 cat > conftest.
$ac_ext <<EOF
14429 #line 14430 "configure"
14430 #include "confdefs.h"
14432 /* Are we little or big endian? From Harbison&Steele. */
14436 char c[sizeof (long)];
14439 exit (u.c[sizeof (long) - 1] == 1);
14442 if { (eval echo configure
:14443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14444 ac_cv_c_bigendian
=no
14446 echo "configure: failed program was:" >&5
14447 cat conftest.
$ac_ext >&5
14449 ac_cv_c_bigendian
=yes
14457 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14458 if test $ac_cv_c_bigendian = unknown
; then
14459 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
14461 if test $ac_cv_c_bigendian = yes; then
14462 cat >> confdefs.h
<<\EOF
14463 #define WORDS_BIGENDIAN 1
14469 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14470 echo "configure:14471: checking how to run the C++ preprocessor" >&5
14471 if test -z "$CXXCPP"; then
14472 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14473 echo $ac_n "(cached) $ac_c" 1>&6
14476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14477 ac_cpp
='$CXXCPP $CPPFLAGS'
14478 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14479 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14480 cross_compiling
=$ac_cv_prog_cxx_cross
14481 CXXCPP
="${CXX-g++} -E"
14482 cat > conftest.
$ac_ext <<EOF
14483 #line 14484 "configure"
14484 #include "confdefs.h"
14485 #include <stdlib.h>
14487 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14488 { (eval echo configure
:14489: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14489 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14490 if test -z "$ac_err"; then
14494 echo "configure: failed program was:" >&5
14495 cat conftest.
$ac_ext >&5
14500 ac_cv_prog_CXXCPP
="$CXXCPP"
14502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14503 ac_cpp
='$CXXCPP $CPPFLAGS'
14504 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14505 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14506 cross_compiling
=$ac_cv_prog_cxx_cross
14509 CXXCPP
="$ac_cv_prog_CXXCPP"
14510 echo "$ac_t""$CXXCPP" 1>&6
14513 if test "$cross_compiling" = "yes"; then
14514 cat >> confdefs.h
<<\EOF
14515 #define wxUSE_IOSTREAMH 1
14521 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14522 ac_cpp
='$CXXCPP $CPPFLAGS'
14523 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14524 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14525 cross_compiling
=$ac_cv_prog_cxx_cross
14528 for ac_hdr
in iostream
14530 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14531 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14532 echo "configure:14533: checking for $ac_hdr" >&5
14533 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14534 echo $ac_n "(cached) $ac_c" 1>&6
14536 cat > conftest.
$ac_ext <<EOF
14537 #line 14538 "configure"
14538 #include "confdefs.h"
14541 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14542 { (eval echo configure
:14543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14543 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14544 if test -z "$ac_err"; then
14546 eval "ac_cv_header_$ac_safe=yes"
14549 echo "configure: failed program was:" >&5
14550 cat conftest.
$ac_ext >&5
14552 eval "ac_cv_header_$ac_safe=no"
14556 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14557 echo "$ac_t""yes" 1>&6
14558 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14559 cat >> confdefs.h
<<EOF
14560 #define $ac_tr_hdr 1
14564 echo "$ac_t""no" 1>&6
14569 if test "$ac_cv_header_iostream" = "yes" ; then
14572 cat >> confdefs.h
<<\EOF
14573 #define wxUSE_IOSTREAMH 1
14579 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14580 ac_cpp
='$CPP $CPPFLAGS'
14581 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14582 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14583 cross_compiling
=$ac_cv_prog_cc_cross
14589 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14590 echo "configure:14591: checking if C++ compiler supports bool" >&5
14591 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14592 echo $ac_n "(cached) $ac_c" 1>&6
14597 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14598 ac_cpp
='$CXXCPP $CPPFLAGS'
14599 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14600 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14601 cross_compiling
=$ac_cv_prog_cxx_cross
14604 cat > conftest.
$ac_ext <<EOF
14605 #line 14606 "configure"
14606 #include "confdefs.h"
14617 if { (eval echo configure
:14618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14623 echo "configure: failed program was:" >&5
14624 cat conftest.
$ac_ext >&5
14634 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14635 ac_cpp
='$CPP $CPPFLAGS'
14636 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14637 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14638 cross_compiling
=$ac_cv_prog_cc_cross
14643 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14645 if test "$wx_cv_cpp_bool" = "yes"; then
14646 cat >> confdefs.h
<<\EOF
14647 #define HAVE_BOOL 1
14654 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14655 echo "configure:14656: checking for wcslen in -lc" >&5
14656 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14657 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14658 echo $ac_n "(cached) $ac_c" 1>&6
14660 ac_save_LIBS
="$LIBS"
14662 cat > conftest.
$ac_ext <<EOF
14663 #line 14664 "configure"
14664 #include "confdefs.h"
14665 /* Override any gcc2 internal prototype to avoid an error. */
14666 /* We use char because int might match the return type of a gcc2
14667 builtin and then its argument prototype would still apply. */
14674 if { (eval echo configure
:14675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14676 eval "ac_cv_lib_$ac_lib_var=yes"
14678 echo "configure: failed program was:" >&5
14679 cat conftest.
$ac_ext >&5
14681 eval "ac_cv_lib_$ac_lib_var=no"
14684 LIBS
="$ac_save_LIBS"
14687 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14688 echo "$ac_t""yes" 1>&6
14690 cat >> confdefs.h
<<\EOF
14691 #define HAVE_WCSLEN 1
14697 echo "$ac_t""no" 1>&6
14699 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14700 echo "configure:14701: checking for wcslen in -lw" >&5
14701 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14702 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14703 echo $ac_n "(cached) $ac_c" 1>&6
14705 ac_save_LIBS
="$LIBS"
14707 cat > conftest.
$ac_ext <<EOF
14708 #line 14709 "configure"
14709 #include "confdefs.h"
14710 /* Override any gcc2 internal prototype to avoid an error. */
14711 /* We use char because int might match the return type of a gcc2
14712 builtin and then its argument prototype would still apply. */
14719 if { (eval echo configure
:14720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14721 eval "ac_cv_lib_$ac_lib_var=yes"
14723 echo "configure: failed program was:" >&5
14724 cat conftest.
$ac_ext >&5
14726 eval "ac_cv_lib_$ac_lib_var=no"
14729 LIBS
="$ac_save_LIBS"
14732 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14733 echo "$ac_t""yes" 1>&6
14735 cat >> confdefs.h
<<\EOF
14736 #define HAVE_WCSLEN 1
14742 echo "$ac_t""no" 1>&6
14744 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14745 echo "configure:14746: checking for wcslen in -lmsvcrt" >&5
14746 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14748 echo $ac_n "(cached) $ac_c" 1>&6
14750 ac_save_LIBS
="$LIBS"
14751 LIBS
="-lmsvcrt $LIBS"
14752 cat > conftest.
$ac_ext <<EOF
14753 #line 14754 "configure"
14754 #include "confdefs.h"
14755 /* Override any gcc2 internal prototype to avoid an error. */
14756 /* We use char because int might match the return type of a gcc2
14757 builtin and then its argument prototype would still apply. */
14764 if { (eval echo configure
:14765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14766 eval "ac_cv_lib_$ac_lib_var=yes"
14768 echo "configure: failed program was:" >&5
14769 cat conftest.
$ac_ext >&5
14771 eval "ac_cv_lib_$ac_lib_var=no"
14774 LIBS
="$ac_save_LIBS"
14777 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14778 echo "$ac_t""yes" 1>&6
14780 cat >> confdefs.h
<<\EOF
14781 #define HAVE_WCSLEN 1
14787 echo "$ac_t""no" 1>&6
14797 for ac_func
in wcsrtombs
14799 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14800 echo "configure:14801: checking for $ac_func" >&5
14801 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14802 echo $ac_n "(cached) $ac_c" 1>&6
14804 cat > conftest.
$ac_ext <<EOF
14805 #line 14806 "configure"
14806 #include "confdefs.h"
14807 /* System header to define __stub macros and hopefully few prototypes,
14808 which can conflict with char $ac_func(); below. */
14809 #include <assert.h>
14810 /* Override any gcc2 internal prototype to avoid an error. */
14811 /* We use char because int might match the return type of a gcc2
14812 builtin and then its argument prototype would still apply. */
14817 /* The GNU C library defines this for functions which it implements
14818 to always fail with ENOSYS. Some functions are actually named
14819 something starting with __ and the normal name is an alias. */
14820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14828 if { (eval echo configure
:14829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14830 eval "ac_cv_func_$ac_func=yes"
14832 echo "configure: failed program was:" >&5
14833 cat conftest.
$ac_ext >&5
14835 eval "ac_cv_func_$ac_func=no"
14840 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14841 echo "$ac_t""yes" 1>&6
14842 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14843 cat >> confdefs.h
<<EOF
14844 #define $ac_tr_func 1
14848 echo "$ac_t""no" 1>&6
14853 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14854 echo "configure:14855: checking for vprintf" >&5
14855 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14856 echo $ac_n "(cached) $ac_c" 1>&6
14858 cat > conftest.
$ac_ext <<EOF
14859 #line 14860 "configure"
14860 #include "confdefs.h"
14861 /* System header to define __stub macros and hopefully few prototypes,
14862 which can conflict with char vprintf(); below. */
14863 #include <assert.h>
14864 /* Override any gcc2 internal prototype to avoid an error. */
14865 /* We use char because int might match the return type of a gcc2
14866 builtin and then its argument prototype would still apply. */
14871 /* The GNU C library defines this for functions which it implements
14872 to always fail with ENOSYS. Some functions are actually named
14873 something starting with __ and the normal name is an alias. */
14874 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14882 if { (eval echo configure
:14883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14884 eval "ac_cv_func_vprintf=yes"
14886 echo "configure: failed program was:" >&5
14887 cat conftest.
$ac_ext >&5
14889 eval "ac_cv_func_vprintf=no"
14894 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14895 echo "$ac_t""yes" 1>&6
14896 cat >> confdefs.h
<<\EOF
14897 #define HAVE_VPRINTF 1
14901 echo "$ac_t""no" 1>&6
14904 if test "$ac_cv_func_vprintf" != yes; then
14905 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14906 echo "configure:14907: checking for _doprnt" >&5
14907 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14908 echo $ac_n "(cached) $ac_c" 1>&6
14910 cat > conftest.
$ac_ext <<EOF
14911 #line 14912 "configure"
14912 #include "confdefs.h"
14913 /* System header to define __stub macros and hopefully few prototypes,
14914 which can conflict with char _doprnt(); below. */
14915 #include <assert.h>
14916 /* Override any gcc2 internal prototype to avoid an error. */
14917 /* We use char because int might match the return type of a gcc2
14918 builtin and then its argument prototype would still apply. */
14923 /* The GNU C library defines this for functions which it implements
14924 to always fail with ENOSYS. Some functions are actually named
14925 something starting with __ and the normal name is an alias. */
14926 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14934 if { (eval echo configure
:14935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14936 eval "ac_cv_func__doprnt=yes"
14938 echo "configure: failed program was:" >&5
14939 cat conftest.
$ac_ext >&5
14941 eval "ac_cv_func__doprnt=no"
14946 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14947 echo "$ac_t""yes" 1>&6
14948 cat >> confdefs.h
<<\EOF
14949 #define HAVE_DOPRNT 1
14953 echo "$ac_t""no" 1>&6
14963 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14964 echo "configure:14965: checking for vsnprintf" >&5
14965 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14966 echo $ac_n "(cached) $ac_c" 1>&6
14969 cat > conftest.
$ac_ext <<EOF
14970 #line 14971 "configure"
14971 #include "confdefs.h"
14974 #include <stdarg.h>
14978 int wx_test_vsnprintf(const char *, ...);
14980 wx_test_vsnprintf("%s");
14984 int wx_test_vsnprintf(const char *fmt, ...)
14989 va_start(argp, fmt);
14990 vsnprintf(s, 42, fmt, argp);
14995 if { (eval echo configure
:14996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14998 wx_cv_func_vsnprintf
=yes
15001 echo "configure: failed program was:" >&5
15002 cat conftest.
$ac_ext >&5
15005 cat > conftest.
$ac_ext <<EOF
15006 #line 15007 "configure"
15007 #include "confdefs.h"
15010 #include <stdarg.h>
15014 int wx_test_vsnprintf(const char *, ...);
15016 wx_test_vsnprintf("%s");
15020 int wx_test_vsnprintf(const char *fmt, ...)
15025 va_start(argp, fmt);
15026 _vsnprintf(s, 42, fmt, argp);
15031 if { (eval echo configure
:15032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15034 wx_cv_func_vsnprintf
=yes
15037 echo "configure: failed program was:" >&5
15038 cat conftest.
$ac_ext >&5
15041 wx_cv_func_vsnprintf
=no
15051 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15053 if test "$wx_cv_func_vsnprintf" = yes; then
15054 cat >> confdefs.h
<<\EOF
15055 #define HAVE_VSNPRINTF 1
15059 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15062 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15063 echo "configure:15064: checking for vsscanf" >&5
15064 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15065 echo $ac_n "(cached) $ac_c" 1>&6
15068 cat > conftest.
$ac_ext <<EOF
15069 #line 15070 "configure"
15070 #include "confdefs.h"
15073 #include <stdarg.h>
15077 int wx_test_vsscanf(const char *, ...);
15079 wx_test_vsscanf("%d");
15083 int wx_test_vsscanf(const char *fmt, ...)
15086 va_start(argp, fmt);
15087 vsscanf("42", fmt, argp);
15092 if { (eval echo configure
:15093: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15095 wx_cv_func_vsscanf
=yes
15098 echo "configure: failed program was:" >&5
15099 cat conftest.
$ac_ext >&5
15102 wx_cv_func_vsscanf
=no
15109 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15111 if test "$wx_cv_func_vsscanf" = yes; then
15112 cat >> confdefs.h
<<\EOF
15113 #define HAVE_VSSCANF 1
15118 if test "$TOOLKIT" != "MSW"; then
15123 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15124 ac_cpp
='$CXXCPP $CPPFLAGS'
15125 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15126 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15127 cross_compiling
=$ac_cv_prog_cxx_cross
15131 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15132 if test "${with_libiconv_prefix+set}" = set; then
15133 withval
="$with_libiconv_prefix"
15135 for dir
in `echo "$withval" | tr : ' '`; do
15136 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15137 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15143 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15144 echo "configure:15145: checking for iconv" >&5
15145 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15146 echo $ac_n "(cached) $ac_c" 1>&6
15149 am_cv_func_iconv
="no, consider installing GNU libiconv"
15151 cat > conftest.
$ac_ext <<EOF
15152 #line 15153 "configure"
15153 #include "confdefs.h"
15154 #include <stdlib.h>
15157 iconv_t cd = iconv_open("","");
15158 iconv(cd,NULL,NULL,NULL,NULL);
15162 if { (eval echo configure
:15163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15164 am_cv_func_iconv
=yes
15166 echo "configure: failed program was:" >&5
15167 cat conftest.
$ac_ext >&5
15170 if test "$am_cv_func_iconv" != yes; then
15171 am_save_LIBS
="$LIBS"
15172 LIBS
="$LIBS -liconv"
15173 cat > conftest.
$ac_ext <<EOF
15174 #line 15175 "configure"
15175 #include "confdefs.h"
15176 #include <stdlib.h>
15179 iconv_t cd = iconv_open("","");
15180 iconv(cd,NULL,NULL,NULL,NULL);
15184 if { (eval echo configure
:15185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15186 am_cv_lib_iconv
=yes
15187 am_cv_func_iconv
=yes
15189 echo "configure: failed program was:" >&5
15190 cat conftest.
$ac_ext >&5
15193 LIBS
="$am_save_LIBS"
15198 echo "$ac_t""$am_cv_func_iconv" 1>&6
15199 if test "$am_cv_func_iconv" = yes; then
15200 cat >> confdefs.h
<<\EOF
15201 #define HAVE_ICONV 1
15204 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15205 echo "configure:15206: checking if iconv needs const" >&5
15206 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15207 echo $ac_n "(cached) $ac_c" 1>&6
15209 cat > conftest.
$ac_ext <<EOF
15210 #line 15211 "configure"
15211 #include "confdefs.h"
15213 #include <stdlib.h>
15219 #if defined(__STDC__) || defined(__cplusplus)
15220 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15229 if { (eval echo configure
:15230: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15231 wx_cv_func_iconv_const
="no"
15233 echo "configure: failed program was:" >&5
15234 cat conftest.
$ac_ext >&5
15236 wx_cv_func_iconv_const
="yes"
15243 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15246 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15247 iconv_const
="const"
15250 cat >> confdefs.h
<<EOF
15251 #define ICONV_CONST $iconv_const
15256 if test "$am_cv_lib_iconv" = yes; then
15261 LIBS
="$LIBICONV $LIBS"
15263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15264 ac_cpp
='$CPP $CPPFLAGS'
15265 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15266 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15267 cross_compiling
=$ac_cv_prog_cc_cross
15270 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15271 for ac_func
in sigaction
15273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15274 echo "configure:15275: checking for $ac_func" >&5
15275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15276 echo $ac_n "(cached) $ac_c" 1>&6
15278 cat > conftest.
$ac_ext <<EOF
15279 #line 15280 "configure"
15280 #include "confdefs.h"
15281 /* System header to define __stub macros and hopefully few prototypes,
15282 which can conflict with char $ac_func(); below. */
15283 #include <assert.h>
15284 /* Override any gcc2 internal prototype to avoid an error. */
15285 /* We use char because int might match the return type of a gcc2
15286 builtin and then its argument prototype would still apply. */
15291 /* The GNU C library defines this for functions which it implements
15292 to always fail with ENOSYS. Some functions are actually named
15293 something starting with __ and the normal name is an alias. */
15294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15302 if { (eval echo configure
:15303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15304 eval "ac_cv_func_$ac_func=yes"
15306 echo "configure: failed program was:" >&5
15307 cat conftest.
$ac_ext >&5
15309 eval "ac_cv_func_$ac_func=no"
15314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15315 echo "$ac_t""yes" 1>&6
15316 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15317 cat >> confdefs.h
<<EOF
15318 #define $ac_tr_func 1
15322 echo "$ac_t""no" 1>&6
15327 if test "$ac_cv_func_sigaction" = "no"; then
15328 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15329 wxUSE_ON_FATAL_EXCEPTION
=no
15332 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15335 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15336 ac_cpp
='$CXXCPP $CPPFLAGS'
15337 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15338 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15339 cross_compiling
=$ac_cv_prog_cxx_cross
15342 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15343 echo "configure:15344: checking for sa_handler type" >&5
15344 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15345 echo $ac_n "(cached) $ac_c" 1>&6
15348 cat > conftest.
$ac_ext <<EOF
15349 #line 15350 "configure"
15350 #include "confdefs.h"
15351 #include <signal.h>
15354 extern void testSigHandler(int);
15356 struct sigaction sa;
15357 sa.sa_handler = testSigHandler;
15361 if { (eval echo configure
:15362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15364 wx_cv_type_sa_handler
=int
15367 echo "configure: failed program was:" >&5
15368 cat conftest.
$ac_ext >&5
15371 wx_cv_type_sa_handler
=void
15378 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15381 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15382 ac_cpp
='$CPP $CPPFLAGS'
15383 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15384 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15385 cross_compiling
=$ac_cv_prog_cc_cross
15388 cat >> confdefs.h
<<EOF
15389 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15395 for ac_func
in vfork
15397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15398 echo "configure:15399: checking for $ac_func" >&5
15399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15400 echo $ac_n "(cached) $ac_c" 1>&6
15402 cat > conftest.
$ac_ext <<EOF
15403 #line 15404 "configure"
15404 #include "confdefs.h"
15405 /* System header to define __stub macros and hopefully few prototypes,
15406 which can conflict with char $ac_func(); below. */
15407 #include <assert.h>
15408 /* Override any gcc2 internal prototype to avoid an error. */
15409 /* We use char because int might match the return type of a gcc2
15410 builtin and then its argument prototype would still apply. */
15415 /* The GNU C library defines this for functions which it implements
15416 to always fail with ENOSYS. Some functions are actually named
15417 something starting with __ and the normal name is an alias. */
15418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15426 if { (eval echo configure
:15427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15428 eval "ac_cv_func_$ac_func=yes"
15430 echo "configure: failed program was:" >&5
15431 cat conftest.
$ac_ext >&5
15433 eval "ac_cv_func_$ac_func=no"
15438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15439 echo "$ac_t""yes" 1>&6
15440 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15441 cat >> confdefs.h
<<EOF
15442 #define $ac_tr_func 1
15446 echo "$ac_t""no" 1>&6
15451 for ac_func
in mkstemp mktemp
15453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15454 echo "configure:15455: checking for $ac_func" >&5
15455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15456 echo $ac_n "(cached) $ac_c" 1>&6
15458 cat > conftest.
$ac_ext <<EOF
15459 #line 15460 "configure"
15460 #include "confdefs.h"
15461 /* System header to define __stub macros and hopefully few prototypes,
15462 which can conflict with char $ac_func(); below. */
15463 #include <assert.h>
15464 /* Override any gcc2 internal prototype to avoid an error. */
15465 /* We use char because int might match the return type of a gcc2
15466 builtin and then its argument prototype would still apply. */
15471 /* The GNU C library defines this for functions which it implements
15472 to always fail with ENOSYS. Some functions are actually named
15473 something starting with __ and the normal name is an alias. */
15474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15482 if { (eval echo configure
:15483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15484 eval "ac_cv_func_$ac_func=yes"
15486 echo "configure: failed program was:" >&5
15487 cat conftest.
$ac_ext >&5
15489 eval "ac_cv_func_$ac_func=no"
15494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15495 echo "$ac_t""yes" 1>&6
15496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15497 cat >> confdefs.h
<<EOF
15498 #define $ac_tr_func 1
15502 echo "$ac_t""no" 1>&6
15507 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15508 echo "configure:15509: checking for statfs" >&5
15509 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15510 echo $ac_n "(cached) $ac_c" 1>&6
15512 cat > conftest.
$ac_ext <<EOF
15513 #line 15514 "configure"
15514 #include "confdefs.h"
15516 #if defined(__BSD__)
15517 #include <sys/param.h>
15518 #include <sys/mount.h>
15520 #include <sys/vfs.h>
15534 if { (eval echo configure
:15535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15537 wx_cv_func_statfs
=yes
15540 echo "configure: failed program was:" >&5
15541 cat conftest.
$ac_ext >&5
15544 wx_cv_func_statfs
=no
15552 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15554 if test "$wx_cv_func_statfs" = "yes"; then
15555 cat >> confdefs.h
<<\EOF
15556 #define HAVE_STATFS 1
15560 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15561 echo "configure:15562: checking for statvfs" >&5
15562 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15563 echo $ac_n "(cached) $ac_c" 1>&6
15565 cat > conftest.
$ac_ext <<EOF
15566 #line 15567 "configure"
15567 #include "confdefs.h"
15569 #include <sys/statvfs.h>
15582 if { (eval echo configure
:15583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15585 wx_cv_func_statvfs
=yes
15588 echo "configure: failed program was:" >&5
15589 cat conftest.
$ac_ext >&5
15592 wx_cv_func_statvfs
=no
15600 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15602 if test "$wx_cv_func_statvfs" = "yes"; then
15603 cat >> confdefs.h
<<\EOF
15604 #define HAVE_STATVFS 1
15608 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15612 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15613 for ac_func
in fcntl flock
15615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15616 echo "configure:15617: checking for $ac_func" >&5
15617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15618 echo $ac_n "(cached) $ac_c" 1>&6
15620 cat > conftest.
$ac_ext <<EOF
15621 #line 15622 "configure"
15622 #include "confdefs.h"
15623 /* System header to define __stub macros and hopefully few prototypes,
15624 which can conflict with char $ac_func(); below. */
15625 #include <assert.h>
15626 /* Override any gcc2 internal prototype to avoid an error. */
15627 /* We use char because int might match the return type of a gcc2
15628 builtin and then its argument prototype would still apply. */
15633 /* The GNU C library defines this for functions which it implements
15634 to always fail with ENOSYS. Some functions are actually named
15635 something starting with __ and the normal name is an alias. */
15636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15644 if { (eval echo configure
:15645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15646 eval "ac_cv_func_$ac_func=yes"
15648 echo "configure: failed program was:" >&5
15649 cat conftest.
$ac_ext >&5
15651 eval "ac_cv_func_$ac_func=no"
15656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15657 echo "$ac_t""yes" 1>&6
15658 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15659 cat >> confdefs.h
<<EOF
15660 #define $ac_tr_func 1
15664 echo "$ac_t""no" 1>&6
15669 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15670 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15671 wxUSE_SNGLINST_CHECKER
=no
15675 for ac_func
in timegm
15677 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15678 echo "configure:15679: checking for $ac_func" >&5
15679 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15680 echo $ac_n "(cached) $ac_c" 1>&6
15682 cat > conftest.
$ac_ext <<EOF
15683 #line 15684 "configure"
15684 #include "confdefs.h"
15685 /* System header to define __stub macros and hopefully few prototypes,
15686 which can conflict with char $ac_func(); below. */
15687 #include <assert.h>
15688 /* Override any gcc2 internal prototype to avoid an error. */
15689 /* We use char because int might match the return type of a gcc2
15690 builtin and then its argument prototype would still apply. */
15695 /* The GNU C library defines this for functions which it implements
15696 to always fail with ENOSYS. Some functions are actually named
15697 something starting with __ and the normal name is an alias. */
15698 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15706 if { (eval echo configure
:15707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15708 eval "ac_cv_func_$ac_func=yes"
15710 echo "configure: failed program was:" >&5
15711 cat conftest.
$ac_ext >&5
15713 eval "ac_cv_func_$ac_func=no"
15718 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15719 echo "$ac_t""yes" 1>&6
15720 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15721 cat >> confdefs.h
<<EOF
15722 #define $ac_tr_func 1
15726 echo "$ac_t""no" 1>&6
15731 for ac_func
in putenv setenv
15733 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15734 echo "configure:15735: checking for $ac_func" >&5
15735 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15736 echo $ac_n "(cached) $ac_c" 1>&6
15738 cat > conftest.
$ac_ext <<EOF
15739 #line 15740 "configure"
15740 #include "confdefs.h"
15741 /* System header to define __stub macros and hopefully few prototypes,
15742 which can conflict with char $ac_func(); below. */
15743 #include <assert.h>
15744 /* Override any gcc2 internal prototype to avoid an error. */
15745 /* We use char because int might match the return type of a gcc2
15746 builtin and then its argument prototype would still apply. */
15751 /* The GNU C library defines this for functions which it implements
15752 to always fail with ENOSYS. Some functions are actually named
15753 something starting with __ and the normal name is an alias. */
15754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15762 if { (eval echo configure
:15763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15764 eval "ac_cv_func_$ac_func=yes"
15766 echo "configure: failed program was:" >&5
15767 cat conftest.
$ac_ext >&5
15769 eval "ac_cv_func_$ac_func=no"
15774 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15775 echo "$ac_t""yes" 1>&6
15776 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15777 cat >> confdefs.h
<<EOF
15778 #define $ac_tr_func 1
15782 echo "$ac_t""no" 1>&6
15787 HAVE_SOME_SLEEP_FUNC
=0
15788 if test "$USE_BEOS" = 1; then
15789 cat >> confdefs.h
<<\EOF
15790 #define HAVE_SLEEP 1
15793 HAVE_SOME_SLEEP_FUNC
=1
15796 if test "$USE_DARWIN" = 1; then
15797 cat >> confdefs.h
<<\EOF
15798 #define HAVE_USLEEP 1
15801 HAVE_SOME_SLEEP_FUNC
=1
15804 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15806 for ac_func
in nanosleep
15808 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15809 echo "configure:15810: checking for $ac_func" >&5
15810 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15811 echo $ac_n "(cached) $ac_c" 1>&6
15813 cat > conftest.
$ac_ext <<EOF
15814 #line 15815 "configure"
15815 #include "confdefs.h"
15816 /* System header to define __stub macros and hopefully few prototypes,
15817 which can conflict with char $ac_func(); below. */
15818 #include <assert.h>
15819 /* Override any gcc2 internal prototype to avoid an error. */
15820 /* We use char because int might match the return type of a gcc2
15821 builtin and then its argument prototype would still apply. */
15826 /* The GNU C library defines this for functions which it implements
15827 to always fail with ENOSYS. Some functions are actually named
15828 something starting with __ and the normal name is an alias. */
15829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15837 if { (eval echo configure
:15838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15839 eval "ac_cv_func_$ac_func=yes"
15841 echo "configure: failed program was:" >&5
15842 cat conftest.
$ac_ext >&5
15844 eval "ac_cv_func_$ac_func=no"
15849 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15850 echo "$ac_t""yes" 1>&6
15851 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15852 cat >> confdefs.h
<<EOF
15853 #define $ac_tr_func 1
15855 cat >> confdefs.h
<<\EOF
15856 #define HAVE_NANOSLEEP 1
15860 echo "$ac_t""no" 1>&6
15861 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15862 echo "configure:15863: checking for nanosleep in -lposix4" >&5
15863 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15865 echo $ac_n "(cached) $ac_c" 1>&6
15867 ac_save_LIBS
="$LIBS"
15868 LIBS
="-lposix4 $LIBS"
15869 cat > conftest.
$ac_ext <<EOF
15870 #line 15871 "configure"
15871 #include "confdefs.h"
15872 /* Override any gcc2 internal prototype to avoid an error. */
15873 /* We use char because int might match the return type of a gcc2
15874 builtin and then its argument prototype would still apply. */
15881 if { (eval echo configure
:15882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15883 eval "ac_cv_lib_$ac_lib_var=yes"
15885 echo "configure: failed program was:" >&5
15886 cat conftest.
$ac_ext >&5
15888 eval "ac_cv_lib_$ac_lib_var=no"
15891 LIBS
="$ac_save_LIBS"
15894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15895 echo "$ac_t""yes" 1>&6
15897 cat >> confdefs.h
<<\EOF
15898 #define HAVE_NANOSLEEP 1
15901 POSIX4_LINK
=" -lposix4"
15904 echo "$ac_t""no" 1>&6
15906 for ac_func
in usleep
15908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15909 echo "configure:15910: checking for $ac_func" >&5
15910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15911 echo $ac_n "(cached) $ac_c" 1>&6
15913 cat > conftest.
$ac_ext <<EOF
15914 #line 15915 "configure"
15915 #include "confdefs.h"
15916 /* System header to define __stub macros and hopefully few prototypes,
15917 which can conflict with char $ac_func(); below. */
15918 #include <assert.h>
15919 /* Override any gcc2 internal prototype to avoid an error. */
15920 /* We use char because int might match the return type of a gcc2
15921 builtin and then its argument prototype would still apply. */
15926 /* The GNU C library defines this for functions which it implements
15927 to always fail with ENOSYS. Some functions are actually named
15928 something starting with __ and the normal name is an alias. */
15929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15937 if { (eval echo configure
:15938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15939 eval "ac_cv_func_$ac_func=yes"
15941 echo "configure: failed program was:" >&5
15942 cat conftest.
$ac_ext >&5
15944 eval "ac_cv_func_$ac_func=no"
15949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15950 echo "$ac_t""yes" 1>&6
15951 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15952 cat >> confdefs.h
<<EOF
15953 #define $ac_tr_func 1
15955 cat >> confdefs.h
<<\EOF
15956 #define HAVE_USLEEP 1
15960 echo "$ac_t""no" 1>&6
15961 echo "configure: warning: wxSleep() function will not work" 1>&2
15977 for ac_func
in uname gethostname
15979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15980 echo "configure:15981: checking for $ac_func" >&5
15981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15982 echo $ac_n "(cached) $ac_c" 1>&6
15984 cat > conftest.
$ac_ext <<EOF
15985 #line 15986 "configure"
15986 #include "confdefs.h"
15987 /* System header to define __stub macros and hopefully few prototypes,
15988 which can conflict with char $ac_func(); below. */
15989 #include <assert.h>
15990 /* Override any gcc2 internal prototype to avoid an error. */
15991 /* We use char because int might match the return type of a gcc2
15992 builtin and then its argument prototype would still apply. */
15997 /* The GNU C library defines this for functions which it implements
15998 to always fail with ENOSYS. Some functions are actually named
15999 something starting with __ and the normal name is an alias. */
16000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16008 if { (eval echo configure
:16009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16010 eval "ac_cv_func_$ac_func=yes"
16012 echo "configure: failed program was:" >&5
16013 cat conftest.
$ac_ext >&5
16015 eval "ac_cv_func_$ac_func=no"
16020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16021 echo "$ac_t""yes" 1>&6
16022 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16023 cat >> confdefs.h
<<EOF
16024 #define $ac_tr_func 1
16028 echo "$ac_t""no" 1>&6
16035 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16036 ac_cpp
='$CXXCPP $CPPFLAGS'
16037 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16038 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16039 cross_compiling
=$ac_cv_prog_cxx_cross
16042 for ac_func
in strtok_r
16044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16045 echo "configure:16046: checking for $ac_func" >&5
16046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16047 echo $ac_n "(cached) $ac_c" 1>&6
16049 cat > conftest.
$ac_ext <<EOF
16050 #line 16051 "configure"
16051 #include "confdefs.h"
16052 /* System header to define __stub macros and hopefully few prototypes,
16053 which can conflict with char $ac_func(); below. */
16054 #include <assert.h>
16055 /* Override any gcc2 internal prototype to avoid an error. */
16059 /* We use char because int might match the return type of a gcc2
16060 builtin and then its argument prototype would still apply. */
16065 /* The GNU C library defines this for functions which it implements
16066 to always fail with ENOSYS. Some functions are actually named
16067 something starting with __ and the normal name is an alias. */
16068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16076 if { (eval echo configure
:16077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16078 eval "ac_cv_func_$ac_func=yes"
16080 echo "configure: failed program was:" >&5
16081 cat conftest.
$ac_ext >&5
16083 eval "ac_cv_func_$ac_func=no"
16088 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16089 echo "$ac_t""yes" 1>&6
16090 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16091 cat >> confdefs.h
<<EOF
16092 #define $ac_tr_func 1
16096 echo "$ac_t""no" 1>&6
16102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16103 ac_cpp
='$CPP $CPPFLAGS'
16104 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16105 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16106 cross_compiling
=$ac_cv_prog_cc_cross
16110 for ac_func
in inet_addr
16112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16113 echo "configure:16114: checking for $ac_func" >&5
16114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16115 echo $ac_n "(cached) $ac_c" 1>&6
16117 cat > conftest.
$ac_ext <<EOF
16118 #line 16119 "configure"
16119 #include "confdefs.h"
16120 /* System header to define __stub macros and hopefully few prototypes,
16121 which can conflict with char $ac_func(); below. */
16122 #include <assert.h>
16123 /* Override any gcc2 internal prototype to avoid an error. */
16124 /* We use char because int might match the return type of a gcc2
16125 builtin and then its argument prototype would still apply. */
16130 /* The GNU C library defines this for functions which it implements
16131 to always fail with ENOSYS. Some functions are actually named
16132 something starting with __ and the normal name is an alias. */
16133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16141 if { (eval echo configure
:16142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16143 eval "ac_cv_func_$ac_func=yes"
16145 echo "configure: failed program was:" >&5
16146 cat conftest.
$ac_ext >&5
16148 eval "ac_cv_func_$ac_func=no"
16153 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16154 echo "$ac_t""yes" 1>&6
16155 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16156 cat >> confdefs.h
<<EOF
16157 #define $ac_tr_func 1
16159 cat >> confdefs.h
<<\EOF
16160 #define HAVE_INET_ADDR 1
16164 echo "$ac_t""no" 1>&6
16165 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16166 echo "configure:16167: checking for inet_addr in -lnsl" >&5
16167 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16168 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16169 echo $ac_n "(cached) $ac_c" 1>&6
16171 ac_save_LIBS
="$LIBS"
16173 cat > conftest.
$ac_ext <<EOF
16174 #line 16175 "configure"
16175 #include "confdefs.h"
16176 /* Override any gcc2 internal prototype to avoid an error. */
16177 /* We use char because int might match the return type of a gcc2
16178 builtin and then its argument prototype would still apply. */
16185 if { (eval echo configure
:16186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16187 eval "ac_cv_lib_$ac_lib_var=yes"
16189 echo "configure: failed program was:" >&5
16190 cat conftest.
$ac_ext >&5
16192 eval "ac_cv_lib_$ac_lib_var=no"
16195 LIBS
="$ac_save_LIBS"
16198 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16199 echo "$ac_t""yes" 1>&6
16202 echo "$ac_t""no" 1>&6
16203 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16204 echo "configure:16205: checking for inet_addr in -lresolv" >&5
16205 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16206 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16207 echo $ac_n "(cached) $ac_c" 1>&6
16209 ac_save_LIBS
="$LIBS"
16210 LIBS
="-lresolv $LIBS"
16211 cat > conftest.
$ac_ext <<EOF
16212 #line 16213 "configure"
16213 #include "confdefs.h"
16214 /* Override any gcc2 internal prototype to avoid an error. */
16215 /* We use char because int might match the return type of a gcc2
16216 builtin and then its argument prototype would still apply. */
16223 if { (eval echo configure
:16224: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16225 eval "ac_cv_lib_$ac_lib_var=yes"
16227 echo "configure: failed program was:" >&5
16228 cat conftest.
$ac_ext >&5
16230 eval "ac_cv_lib_$ac_lib_var=no"
16233 LIBS
="$ac_save_LIBS"
16236 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16237 echo "$ac_t""yes" 1>&6
16241 echo "$ac_t""no" 1>&6
16253 for ac_func
in inet_aton
16255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16256 echo "configure:16257: checking for $ac_func" >&5
16257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16258 echo $ac_n "(cached) $ac_c" 1>&6
16260 cat > conftest.
$ac_ext <<EOF
16261 #line 16262 "configure"
16262 #include "confdefs.h"
16263 /* System header to define __stub macros and hopefully few prototypes,
16264 which can conflict with char $ac_func(); below. */
16265 #include <assert.h>
16266 /* Override any gcc2 internal prototype to avoid an error. */
16267 /* We use char because int might match the return type of a gcc2
16268 builtin and then its argument prototype would still apply. */
16273 /* The GNU C library defines this for functions which it implements
16274 to always fail with ENOSYS. Some functions are actually named
16275 something starting with __ and the normal name is an alias. */
16276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16284 if { (eval echo configure
:16285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16286 eval "ac_cv_func_$ac_func=yes"
16288 echo "configure: failed program was:" >&5
16289 cat conftest.
$ac_ext >&5
16291 eval "ac_cv_func_$ac_func=no"
16296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16297 echo "$ac_t""yes" 1>&6
16298 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16299 cat >> confdefs.h
<<EOF
16300 #define $ac_tr_func 1
16302 cat >> confdefs.h
<<\EOF
16303 #define HAVE_INET_ATON 1
16307 echo "$ac_t""no" 1>&6
16308 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16309 echo "configure:16310: checking for inet_aton in -l$INET_LINK" >&5
16310 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16311 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16312 echo $ac_n "(cached) $ac_c" 1>&6
16314 ac_save_LIBS
="$LIBS"
16315 LIBS
="-l$INET_LINK $LIBS"
16316 cat > conftest.
$ac_ext <<EOF
16317 #line 16318 "configure"
16318 #include "confdefs.h"
16319 /* Override any gcc2 internal prototype to avoid an error. */
16320 /* We use char because int might match the return type of a gcc2
16321 builtin and then its argument prototype would still apply. */
16328 if { (eval echo configure
:16329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16330 eval "ac_cv_lib_$ac_lib_var=yes"
16332 echo "configure: failed program was:" >&5
16333 cat conftest.
$ac_ext >&5
16335 eval "ac_cv_lib_$ac_lib_var=no"
16338 LIBS
="$ac_save_LIBS"
16341 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16342 echo "$ac_t""yes" 1>&6
16343 cat >> confdefs.h
<<\EOF
16344 #define HAVE_INET_ATON 1
16348 echo "$ac_t""no" 1>&6
16356 if test "x$INET_LINK" != "x"; then
16357 cat >> confdefs.h
<<\EOF
16358 #define HAVE_INET_ADDR 1
16361 INET_LINK
=" -l$INET_LINK"
16367 cat > confcache
<<\EOF
16368 # This file is a shell script that caches the results of configure
16369 # tests run on this system so they can be shared between configure
16370 # scripts and configure runs. It is not useful on other systems.
16371 # If it contains results you don't want to keep, you may remove or edit it.
16373 # By default, configure uses ./config.cache as the cache file,
16374 # creating it if it does not exist already. You can give configure
16375 # the --cache-file=FILE option to use a different cache file; that is
16376 # what configure does when it calls configure scripts in
16377 # subdirectories, so they share the cache.
16378 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16379 # config.status only pays attention to the cache file if you give it the
16380 # --recheck option to rerun configure.
16383 # The following way of writing the cache mishandles newlines in values,
16384 # but we know of no workaround that is simple, portable, and efficient.
16385 # So, don't put newlines in cache variables' values.
16386 # Ultrix sh set writes to stderr and can't be redirected directly,
16387 # and sets the high bit in the cache file unless we assign to the vars.
16389 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16391 # `set' does not quote correctly, so add quotes (double-quote substitution
16392 # turns \\\\ into \\, and sed turns \\ into \).
16394 -e "s/'/'\\\\''/g" \
16395 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16398 # `set' quotes correctly as required by POSIX, so do not add quotes.
16399 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16402 if cmp -s $cache_file confcache
; then
16405 if test -w $cache_file; then
16406 echo "updating cache $cache_file"
16407 cat confcache
> $cache_file
16409 echo "not updating unwritable cache $cache_file"
16416 if test "$TOOLKIT" != "MSW"; then
16422 CODE_GEN_FLAGS_CXX
=
16424 if test "$wxUSE_THREADS" = "yes" ; then
16425 if test "$wxUSE_WINE" = 1 ; then
16426 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16428 elif test "$USE_BEOS" = 1; then
16429 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16434 if test "$wxUSE_THREADS" = "yes" ; then
16436 if test "$USE_AIX" = 1; then
16437 THREADS_LIB
=pthreads
16439 THREADS_LIB
=pthread
16442 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16443 echo "configure:16444: checking for pthread_create in -l$THREADS_LIB" >&5
16444 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16445 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16446 echo $ac_n "(cached) $ac_c" 1>&6
16448 ac_save_LIBS
="$LIBS"
16449 LIBS
="-l$THREADS_LIB $LIBS"
16450 cat > conftest.
$ac_ext <<EOF
16451 #line 16452 "configure"
16452 #include "confdefs.h"
16453 /* Override any gcc2 internal prototype to avoid an error. */
16454 /* We use char because int might match the return type of a gcc2
16455 builtin and then its argument prototype would still apply. */
16456 char pthread_create();
16462 if { (eval echo configure
:16463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16464 eval "ac_cv_lib_$ac_lib_var=yes"
16466 echo "configure: failed program was:" >&5
16467 cat conftest.
$ac_ext >&5
16469 eval "ac_cv_lib_$ac_lib_var=no"
16472 LIBS
="$ac_save_LIBS"
16475 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16476 echo "$ac_t""yes" 1>&6
16478 THREADS_OBJ
="threadpsx.lo"
16479 THREADS_LINK
=$THREADS_LIB
16482 echo "$ac_t""no" 1>&6
16484 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16485 echo "configure:16486: checking for pthread_create in -lc_r" >&5
16486 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16488 echo $ac_n "(cached) $ac_c" 1>&6
16490 ac_save_LIBS
="$LIBS"
16492 cat > conftest.
$ac_ext <<EOF
16493 #line 16494 "configure"
16494 #include "confdefs.h"
16495 /* Override any gcc2 internal prototype to avoid an error. */
16496 /* We use char because int might match the return type of a gcc2
16497 builtin and then its argument prototype would still apply. */
16498 char pthread_create();
16504 if { (eval echo configure
:16505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16506 eval "ac_cv_lib_$ac_lib_var=yes"
16508 echo "configure: failed program was:" >&5
16509 cat conftest.
$ac_ext >&5
16511 eval "ac_cv_lib_$ac_lib_var=no"
16514 LIBS
="$ac_save_LIBS"
16517 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16518 echo "$ac_t""yes" 1>&6
16520 THREADS_OBJ
="threadpsx.lo"
16524 echo "$ac_t""no" 1>&6
16526 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16527 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16528 echo "configure:16529: checking for sys/prctl.h" >&5
16529 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16530 echo $ac_n "(cached) $ac_c" 1>&6
16532 cat > conftest.
$ac_ext <<EOF
16533 #line 16534 "configure"
16534 #include "confdefs.h"
16535 #include <sys/prctl.h>
16537 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16538 { (eval echo configure
:16539: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16539 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16540 if test -z "$ac_err"; then
16542 eval "ac_cv_header_$ac_safe=yes"
16545 echo "configure: failed program was:" >&5
16546 cat conftest.
$ac_ext >&5
16548 eval "ac_cv_header_$ac_safe=no"
16552 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16553 echo "$ac_t""yes" 1>&6
16555 THREADS_OBJ
="threadsgi.lo"
16558 echo "$ac_t""no" 1>&6
16568 if test -z "$THREADS_OBJ" ; then
16570 echo "configure: warning: No thread support on this system... disabled" 1>&2
16574 if test "$wxUSE_THREADS" = "yes" ; then
16575 for ac_func
in thr_setconcurrency
16577 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16578 echo "configure:16579: checking for $ac_func" >&5
16579 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16580 echo $ac_n "(cached) $ac_c" 1>&6
16582 cat > conftest.
$ac_ext <<EOF
16583 #line 16584 "configure"
16584 #include "confdefs.h"
16585 /* System header to define __stub macros and hopefully few prototypes,
16586 which can conflict with char $ac_func(); below. */
16587 #include <assert.h>
16588 /* Override any gcc2 internal prototype to avoid an error. */
16589 /* We use char because int might match the return type of a gcc2
16590 builtin and then its argument prototype would still apply. */
16595 /* The GNU C library defines this for functions which it implements
16596 to always fail with ENOSYS. Some functions are actually named
16597 something starting with __ and the normal name is an alias. */
16598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16606 if { (eval echo configure
:16607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16608 eval "ac_cv_func_$ac_func=yes"
16610 echo "configure: failed program was:" >&5
16611 cat conftest.
$ac_ext >&5
16613 eval "ac_cv_func_$ac_func=no"
16618 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16619 echo "$ac_t""yes" 1>&6
16620 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16621 cat >> confdefs.h
<<EOF
16622 #define $ac_tr_func 1
16626 echo "$ac_t""no" 1>&6
16632 for ac_hdr
in sched.h
16634 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16635 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16636 echo "configure:16637: checking for $ac_hdr" >&5
16637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16638 echo $ac_n "(cached) $ac_c" 1>&6
16640 cat > conftest.
$ac_ext <<EOF
16641 #line 16642 "configure"
16642 #include "confdefs.h"
16645 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16646 { (eval echo configure
:16647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16647 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16648 if test -z "$ac_err"; then
16650 eval "ac_cv_header_$ac_safe=yes"
16653 echo "configure: failed program was:" >&5
16654 cat conftest.
$ac_ext >&5
16656 eval "ac_cv_header_$ac_safe=no"
16660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16661 echo "$ac_t""yes" 1>&6
16662 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16663 cat >> confdefs.h
<<EOF
16664 #define $ac_tr_hdr 1
16668 echo "$ac_t""no" 1>&6
16673 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16674 echo "configure:16675: checking for sched_yield in -l$THREADS_LINK" >&5
16675 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16676 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16677 echo $ac_n "(cached) $ac_c" 1>&6
16679 ac_save_LIBS
="$LIBS"
16680 LIBS
="-l$THREADS_LINK $LIBS"
16681 cat > conftest.
$ac_ext <<EOF
16682 #line 16683 "configure"
16683 #include "confdefs.h"
16684 /* Override any gcc2 internal prototype to avoid an error. */
16685 /* We use char because int might match the return type of a gcc2
16686 builtin and then its argument prototype would still apply. */
16687 char sched_yield();
16693 if { (eval echo configure
:16694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16695 eval "ac_cv_lib_$ac_lib_var=yes"
16697 echo "configure: failed program was:" >&5
16698 cat conftest.
$ac_ext >&5
16700 eval "ac_cv_lib_$ac_lib_var=no"
16703 LIBS
="$ac_save_LIBS"
16706 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16707 echo "$ac_t""yes" 1>&6
16708 cat >> confdefs.h
<<\EOF
16709 #define HAVE_SCHED_YIELD 1
16713 echo "$ac_t""no" 1>&6
16714 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16715 echo "configure:16716: checking for sched_yield in -lposix4" >&5
16716 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16718 echo $ac_n "(cached) $ac_c" 1>&6
16720 ac_save_LIBS
="$LIBS"
16721 LIBS
="-lposix4 $LIBS"
16722 cat > conftest.
$ac_ext <<EOF
16723 #line 16724 "configure"
16724 #include "confdefs.h"
16725 /* Override any gcc2 internal prototype to avoid an error. */
16726 /* We use char because int might match the return type of a gcc2
16727 builtin and then its argument prototype would still apply. */
16728 char sched_yield();
16734 if { (eval echo configure
:16735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16736 eval "ac_cv_lib_$ac_lib_var=yes"
16738 echo "configure: failed program was:" >&5
16739 cat conftest.
$ac_ext >&5
16741 eval "ac_cv_lib_$ac_lib_var=no"
16744 LIBS
="$ac_save_LIBS"
16747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16748 echo "$ac_t""yes" 1>&6
16749 cat >> confdefs.h
<<\EOF
16750 #define HAVE_SCHED_YIELD 1
16752 POSIX4_LINK
=" -lposix4"
16754 echo "$ac_t""no" 1>&6
16755 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16764 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16765 echo "configure:16766: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16766 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16767 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16768 echo $ac_n "(cached) $ac_c" 1>&6
16770 ac_save_LIBS
="$LIBS"
16771 LIBS
="-l$THREADS_LINK $LIBS"
16772 cat > conftest.
$ac_ext <<EOF
16773 #line 16774 "configure"
16774 #include "confdefs.h"
16775 /* Override any gcc2 internal prototype to avoid an error. */
16776 /* We use char because int might match the return type of a gcc2
16777 builtin and then its argument prototype would still apply. */
16778 char pthread_attr_getschedpolicy();
16781 pthread_attr_getschedpolicy()
16784 if { (eval echo configure
:16785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16786 eval "ac_cv_lib_$ac_lib_var=yes"
16788 echo "configure: failed program was:" >&5
16789 cat conftest.
$ac_ext >&5
16791 eval "ac_cv_lib_$ac_lib_var=no"
16794 LIBS
="$ac_save_LIBS"
16797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16798 echo "$ac_t""yes" 1>&6
16799 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16800 echo "configure:16801: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16801 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16802 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16803 echo $ac_n "(cached) $ac_c" 1>&6
16805 ac_save_LIBS
="$LIBS"
16806 LIBS
="-l$THREADS_LINK $LIBS"
16807 cat > conftest.
$ac_ext <<EOF
16808 #line 16809 "configure"
16809 #include "confdefs.h"
16810 /* Override any gcc2 internal prototype to avoid an error. */
16811 /* We use char because int might match the return type of a gcc2
16812 builtin and then its argument prototype would still apply. */
16813 char pthread_attr_setschedparam();
16816 pthread_attr_setschedparam()
16819 if { (eval echo configure
:16820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16821 eval "ac_cv_lib_$ac_lib_var=yes"
16823 echo "configure: failed program was:" >&5
16824 cat conftest.
$ac_ext >&5
16826 eval "ac_cv_lib_$ac_lib_var=no"
16829 LIBS
="$ac_save_LIBS"
16832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16833 echo "$ac_t""yes" 1>&6
16834 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16835 echo "configure:16836: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16836 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16837 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16838 echo $ac_n "(cached) $ac_c" 1>&6
16840 ac_save_LIBS
="$LIBS"
16841 LIBS
="-l$THREADS_LINK $LIBS"
16842 cat > conftest.
$ac_ext <<EOF
16843 #line 16844 "configure"
16844 #include "confdefs.h"
16845 /* Override any gcc2 internal prototype to avoid an error. */
16846 /* We use char because int might match the return type of a gcc2
16847 builtin and then its argument prototype would still apply. */
16848 char sched_get_priority_max();
16851 sched_get_priority_max()
16854 if { (eval echo configure
:16855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16856 eval "ac_cv_lib_$ac_lib_var=yes"
16858 echo "configure: failed program was:" >&5
16859 cat conftest.
$ac_ext >&5
16861 eval "ac_cv_lib_$ac_lib_var=no"
16864 LIBS
="$ac_save_LIBS"
16867 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16868 echo "$ac_t""yes" 1>&6
16871 echo "$ac_t""no" 1>&6
16872 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16873 echo "configure:16874: checking for sched_get_priority_max in -lposix4" >&5
16874 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16876 echo $ac_n "(cached) $ac_c" 1>&6
16878 ac_save_LIBS
="$LIBS"
16879 LIBS
="-lposix4 $LIBS"
16880 cat > conftest.
$ac_ext <<EOF
16881 #line 16882 "configure"
16882 #include "confdefs.h"
16883 /* Override any gcc2 internal prototype to avoid an error. */
16884 /* We use char because int might match the return type of a gcc2
16885 builtin and then its argument prototype would still apply. */
16886 char sched_get_priority_max();
16889 sched_get_priority_max()
16892 if { (eval echo configure
:16893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16894 eval "ac_cv_lib_$ac_lib_var=yes"
16896 echo "configure: failed program was:" >&5
16897 cat conftest.
$ac_ext >&5
16899 eval "ac_cv_lib_$ac_lib_var=no"
16902 LIBS
="$ac_save_LIBS"
16905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16906 echo "$ac_t""yes" 1>&6
16909 POSIX4_LINK
=" -lposix4"
16912 echo "$ac_t""no" 1>&6
16920 echo "$ac_t""no" 1>&6
16925 echo "$ac_t""no" 1>&6
16929 if test "$HAVE_PRIOR_FUNCS" = 1; then
16930 cat >> confdefs.h
<<\EOF
16931 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16935 echo "configure: warning: Setting thread priority will not work" 1>&2
16938 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16939 echo "configure:16940: checking for pthread_cancel in -l$THREADS_LINK" >&5
16940 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16941 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16942 echo $ac_n "(cached) $ac_c" 1>&6
16944 ac_save_LIBS
="$LIBS"
16945 LIBS
="-l$THREADS_LINK $LIBS"
16946 cat > conftest.
$ac_ext <<EOF
16947 #line 16948 "configure"
16948 #include "confdefs.h"
16949 /* Override any gcc2 internal prototype to avoid an error. */
16950 /* We use char because int might match the return type of a gcc2
16951 builtin and then its argument prototype would still apply. */
16952 char pthread_cancel();
16958 if { (eval echo configure
:16959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16960 eval "ac_cv_lib_$ac_lib_var=yes"
16962 echo "configure: failed program was:" >&5
16963 cat conftest.
$ac_ext >&5
16965 eval "ac_cv_lib_$ac_lib_var=no"
16968 LIBS
="$ac_save_LIBS"
16971 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16972 echo "$ac_t""yes" 1>&6
16973 cat >> confdefs.h
<<\EOF
16974 #define HAVE_PTHREAD_CANCEL 1
16978 echo "$ac_t""no" 1>&6
16979 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16983 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16984 echo "configure:16985: checking for pthread_cleanup_push/pop" >&5
16985 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16986 echo $ac_n "(cached) $ac_c" 1>&6
16989 cat > conftest.
$ac_ext <<EOF
16990 #line 16991 "configure"
16991 #include "confdefs.h"
16992 #include <pthread.h>
16995 pthread_cleanup_push(NULL, NULL);
16996 pthread_cleanup_pop(0);
17000 if { (eval echo configure
:17001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17003 wx_cv_func_pthread_cleanup_push
=yes
17006 echo "configure: failed program was:" >&5
17007 cat conftest.
$ac_ext >&5
17010 wx_cv_func_pthread_cleanup_push
=no
17017 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17019 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17020 cat >> confdefs.h
<<\EOF
17021 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17027 if test "x$wx_lib_glibc21" = "xyes"; then
17028 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17031 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17032 echo "configure:17033: checking for pthread_mutexattr_t" >&5
17033 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17034 echo $ac_n "(cached) $ac_c" 1>&6
17037 cat > conftest.
$ac_ext <<EOF
17038 #line 17039 "configure"
17039 #include "confdefs.h"
17040 #include <pthread.h>
17043 pthread_mutexattr_t attr;
17044 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17048 if { (eval echo configure
:17049: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17051 wx_cv_type_pthread_mutexattr_t
=yes
17054 echo "configure: failed program was:" >&5
17055 cat conftest.
$ac_ext >&5
17058 wx_cv_type_pthread_mutexattr_t
=no
17066 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17068 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17069 cat >> confdefs.h
<<\EOF
17070 #define HAVE_PTHREAD_MUTEXATTR_T 1
17074 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17075 echo "configure:17076: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17076 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17077 echo $ac_n "(cached) $ac_c" 1>&6
17080 cat > conftest.
$ac_ext <<EOF
17081 #line 17082 "configure"
17082 #include "confdefs.h"
17083 #include <pthread.h>
17086 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17090 if { (eval echo configure
:17091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17093 wx_cv_type_pthread_rec_mutex_init
=yes
17096 echo "configure: failed program was:" >&5
17097 cat conftest.
$ac_ext >&5
17100 wx_cv_type_pthread_rec_mutex_init
=no
17108 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17109 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17110 cat >> confdefs.h
<<\EOF
17111 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17115 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17119 THREADS_LINK
=" -l$THREADS_LINK"
17121 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17122 CPPFLAGS
="$CFLAGS -mt"
17123 CXXFLAGS
="$CXXFLAGS -mt"
17124 LDFLAGS
="$LDFLAGS -mt"
17130 if test "$wxUSE_THREADS" = "yes"; then
17131 cat >> confdefs.h
<<\EOF
17132 #define wxUSE_THREADS 1
17136 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17138 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17140 if test "$ac_cv_func_strtok_r" = "yes"; then
17141 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17142 echo "configure:17143: checking if -D_REENTRANT is needed" >&5
17143 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17144 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17145 echo "$ac_t""yes" 1>&6
17147 echo "$ac_t""no" 1>&6
17152 if test "$WXGTK20" = 1 ; then
17153 cat >> confdefs.h
<<EOF
17154 #define __WXGTK20__ $WXGTK20
17160 if test "$WXGTK12" = 1 ; then
17161 cat >> confdefs.h
<<EOF
17162 #define __WXGTK12__ $WXGTK12
17167 if test "$WXGTK127" = 1 ; then
17168 cat >> confdefs.h
<<EOF
17169 #define __WXGTK127__ $WXGTK127
17176 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17181 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17182 wxUSE_DEBUG_INFO
=yes
17186 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17187 cat >> confdefs.h
<<\EOF
17191 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17193 if test "$wxUSE_GTK" = 1 ; then
17194 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17198 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17199 cat >> confdefs.h
<<\EOF
17200 #define wxUSE_MEMORY_TRACING 1
17203 cat >> confdefs.h
<<\EOF
17204 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17207 cat >> confdefs.h
<<\EOF
17208 #define wxUSE_DEBUG_NEW_ALWAYS 1
17211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17214 if test "$wxUSE_DMALLOC" = "yes" ; then
17215 DMALLOC_LIBS
="-ldmalloc"
17219 if test "$wxUSE_PROFILE" = "yes" ; then
17223 if test "$GCC" = "yes" ; then
17224 if test "$wxUSE_NO_RTTI" = "yes" ; then
17225 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17227 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17228 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17230 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17231 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17233 if test "$USE_WIN32" = 1 ; then
17234 # I'm not even really sure what this was ever added to solve,
17235 # but someone added it for mingw native builds, so I guess
17236 # they had a reason, right??
17237 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17242 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17243 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17244 if test "$wxUSE_OPTIMISE" = "no" ; then
17247 if test "$GCC" = yes ; then
17250 i586
-*-*|i686
-*-* )
17251 OPTIMISE
="${OPTIMISE} "
17259 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17260 cat >> confdefs.h
<<\EOF
17261 #define WXWIN_COMPATIBILITY_2 1
17265 WXWIN_COMPATIBILITY_2_2
="yes"
17268 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17269 cat >> confdefs.h
<<\EOF
17270 #define WXWIN_COMPATIBILITY_2_2 1
17276 if test "$wxUSE_GUI" = "yes"; then
17277 cat >> confdefs.h
<<\EOF
17278 #define wxUSE_GUI 1
17283 cat >> confdefs.h
<<\EOF
17284 #define wxUSE_NOGUI 1
17290 if test "$wxUSE_UNIX" = "yes"; then
17291 cat >> confdefs.h
<<\EOF
17292 #define wxUSE_UNIX 1
17298 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17299 cat >> confdefs.h
<<\EOF
17300 #define wxUSE_APPLE_IEEE 1
17305 if test "$wxUSE_TIMER" = "yes"; then
17306 cat >> confdefs.h
<<\EOF
17307 #define wxUSE_TIMER 1
17312 if test "$wxUSE_WAVE" = "yes"; then
17313 cat >> confdefs.h
<<\EOF
17314 #define wxUSE_WAVE 1
17319 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17320 cat >> confdefs.h
<<\EOF
17321 #define wxUSE_CMDLINE_PARSER 1
17326 if test "$wxUSE_STOPWATCH" = "yes"; then
17327 cat >> confdefs.h
<<\EOF
17328 #define wxUSE_STOPWATCH 1
17333 if test "$wxUSE_DATETIME" = "yes"; then
17334 cat >> confdefs.h
<<\EOF
17335 #define wxUSE_DATETIME 1
17340 if test "$wxUSE_TIMEDATE" = "yes"; then
17341 cat >> confdefs.h
<<\EOF
17342 #define wxUSE_TIMEDATE 1
17347 if test "$wxUSE_FILE" = "yes"; then
17348 cat >> confdefs.h
<<\EOF
17349 #define wxUSE_FILE 1
17354 if test "$wxUSE_FFILE" = "yes"; then
17355 cat >> confdefs.h
<<\EOF
17356 #define wxUSE_FFILE 1
17361 if test "$wxUSE_FILESYSTEM" = "yes"; then
17362 cat >> confdefs.h
<<\EOF
17363 #define wxUSE_FILESYSTEM 1
17368 if test "$wxUSE_FS_INET" = "yes"; then
17369 cat >> confdefs.h
<<\EOF
17370 #define wxUSE_FS_INET 1
17375 if test "$wxUSE_FS_ZIP" = "yes"; then
17376 cat >> confdefs.h
<<\EOF
17377 #define wxUSE_FS_ZIP 1
17382 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17383 cat >> confdefs.h
<<\EOF
17384 #define wxUSE_ZIPSTREAM 1
17389 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17390 cat >> confdefs.h
<<\EOF
17391 #define wxUSE_ON_FATAL_EXCEPTION 1
17396 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17397 cat >> confdefs.h
<<\EOF
17398 #define wxUSE_SNGLINST_CHECKER 1
17403 if test "$wxUSE_BUSYINFO" = "yes"; then
17404 cat >> confdefs.h
<<\EOF
17405 #define wxUSE_BUSYINFO 1
17410 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17411 cat >> confdefs.h
<<\EOF
17412 #define wxUSE_STD_IOSTREAM 1
17417 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17418 cat >> confdefs.h
<<\EOF
17419 #define wxUSE_TEXTBUFFER 1
17424 if test "$wxUSE_TEXTFILE" = "yes"; then
17425 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17426 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17428 cat >> confdefs.h
<<\EOF
17429 #define wxUSE_TEXTFILE 1
17435 if test "$wxUSE_CONFIG" = "yes" ; then
17436 if test "$wxUSE_TEXTFILE" != "yes"; then
17437 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17439 cat >> confdefs.h
<<\EOF
17440 #define wxUSE_CONFIG 1
17443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
17447 if test "$wxUSE_INTL" = "yes" ; then
17448 if test "$wxUSE_FILE" != "yes"; then
17449 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17451 cat >> confdefs.h
<<\EOF
17452 #define wxUSE_INTL 1
17455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
17456 GUIDIST
="$GUIDIST INTL_DIST"
17460 if test "$wxUSE_LOG" = "yes"; then
17461 cat >> confdefs.h
<<\EOF
17462 #define wxUSE_LOG 1
17466 if test "$wxUSE_LOGGUI" = "yes"; then
17467 cat >> confdefs.h
<<\EOF
17468 #define wxUSE_LOGGUI 1
17473 if test "$wxUSE_LOGWINDOW" = "yes"; then
17474 cat >> confdefs.h
<<\EOF
17475 #define wxUSE_LOGWINDOW 1
17480 if test "$wxUSE_LOGDIALOG" = "yes"; then
17481 cat >> confdefs.h
<<\EOF
17482 #define wxUSE_LOG_DIALOG 1
17488 if test "$wxUSE_LONGLONG" = "yes"; then
17489 cat >> confdefs.h
<<\EOF
17490 #define wxUSE_LONGLONG 1
17495 if test "$wxUSE_GEOMETRY" = "yes"; then
17496 cat >> confdefs.h
<<\EOF
17497 #define wxUSE_GEOMETRY 1
17502 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17503 cat >> confdefs.h
<<\EOF
17504 #define wxUSE_DIALUP_MANAGER 1
17507 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
17510 if test "$wxUSE_STREAMS" = "yes" ; then
17511 cat >> confdefs.h
<<\EOF
17512 #define wxUSE_STREAMS 1
17518 if test "$wxUSE_DATETIME" = "yes"; then
17519 for ac_func
in strptime
17521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17522 echo "configure:17523: checking for $ac_func" >&5
17523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17524 echo $ac_n "(cached) $ac_c" 1>&6
17526 cat > conftest.
$ac_ext <<EOF
17527 #line 17528 "configure"
17528 #include "confdefs.h"
17529 /* System header to define __stub macros and hopefully few prototypes,
17530 which can conflict with char $ac_func(); below. */
17531 #include <assert.h>
17532 /* Override any gcc2 internal prototype to avoid an error. */
17533 /* We use char because int might match the return type of a gcc2
17534 builtin and then its argument prototype would still apply. */
17539 /* The GNU C library defines this for functions which it implements
17540 to always fail with ENOSYS. Some functions are actually named
17541 something starting with __ and the normal name is an alias. */
17542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17550 if { (eval echo configure
:17551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17552 eval "ac_cv_func_$ac_func=yes"
17554 echo "configure: failed program was:" >&5
17555 cat conftest.
$ac_ext >&5
17557 eval "ac_cv_func_$ac_func=no"
17562 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17563 echo "$ac_t""yes" 1>&6
17564 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17565 cat >> confdefs.h
<<EOF
17566 #define $ac_tr_func 1
17570 echo "$ac_t""no" 1>&6
17575 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17576 echo "configure:17577: checking for timezone variable in <time.h>" >&5
17577 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17578 echo $ac_n "(cached) $ac_c" 1>&6
17581 cat > conftest.
$ac_ext <<EOF
17582 #line 17583 "configure"
17583 #include "confdefs.h"
17594 if { (eval echo configure
:17595: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17597 wx_cv_var_timezone
=timezone
17600 echo "configure: failed program was:" >&5
17601 cat conftest.
$ac_ext >&5
17604 cat > conftest.
$ac_ext <<EOF
17605 #line 17606 "configure"
17606 #include "confdefs.h"
17617 if { (eval echo configure
:17618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17620 wx_cv_var_timezone
=_timezone
17623 echo "configure: failed program was:" >&5
17624 cat conftest.
$ac_ext >&5
17627 cat > conftest.
$ac_ext <<EOF
17628 #line 17629 "configure"
17629 #include "confdefs.h"
17640 if { (eval echo configure
:17641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17643 wx_cv_var_timezone
=__timezone
17646 echo "configure: failed program was:" >&5
17647 cat conftest.
$ac_ext >&5
17650 if test "$USE_DOS" = 0 ; then
17651 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17669 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17671 if test "x$wx_cv_var_timezone" != x
; then
17672 cat >> confdefs.h
<<EOF
17673 #define WX_TIMEZONE $wx_cv_var_timezone
17678 for ac_func
in localtime
17680 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17681 echo "configure:17682: checking for $ac_func" >&5
17682 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17683 echo $ac_n "(cached) $ac_c" 1>&6
17685 cat > conftest.
$ac_ext <<EOF
17686 #line 17687 "configure"
17687 #include "confdefs.h"
17688 /* System header to define __stub macros and hopefully few prototypes,
17689 which can conflict with char $ac_func(); below. */
17690 #include <assert.h>
17691 /* Override any gcc2 internal prototype to avoid an error. */
17692 /* We use char because int might match the return type of a gcc2
17693 builtin and then its argument prototype would still apply. */
17698 /* The GNU C library defines this for functions which it implements
17699 to always fail with ENOSYS. Some functions are actually named
17700 something starting with __ and the normal name is an alias. */
17701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17709 if { (eval echo configure
:17710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17711 eval "ac_cv_func_$ac_func=yes"
17713 echo "configure: failed program was:" >&5
17714 cat conftest.
$ac_ext >&5
17716 eval "ac_cv_func_$ac_func=no"
17721 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17722 echo "$ac_t""yes" 1>&6
17723 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17724 cat >> confdefs.h
<<EOF
17725 #define $ac_tr_func 1
17729 echo "$ac_t""no" 1>&6
17734 if test "$ac_cv_func_localtime" = "yes"; then
17735 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17736 echo "configure:17737: checking for tm_gmtoff in struct tm" >&5
17737 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17738 echo $ac_n "(cached) $ac_c" 1>&6
17741 cat > conftest.
$ac_ext <<EOF
17742 #line 17743 "configure"
17743 #include "confdefs.h"
17754 if { (eval echo configure
:17755: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17757 wx_cv_struct_tm_has_gmtoff
=yes
17760 echo "configure: failed program was:" >&5
17761 cat conftest.
$ac_ext >&5
17763 wx_cv_struct_tm_has_gmtoff
=no
17770 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17773 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17774 cat >> confdefs.h
<<\EOF
17775 #define WX_GMTOFF_IN_TM 1
17780 for ac_func
in gettimeofday ftime
17782 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17783 echo "configure:17784: checking for $ac_func" >&5
17784 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17785 echo $ac_n "(cached) $ac_c" 1>&6
17787 cat > conftest.
$ac_ext <<EOF
17788 #line 17789 "configure"
17789 #include "confdefs.h"
17790 /* System header to define __stub macros and hopefully few prototypes,
17791 which can conflict with char $ac_func(); below. */
17792 #include <assert.h>
17793 /* Override any gcc2 internal prototype to avoid an error. */
17794 /* We use char because int might match the return type of a gcc2
17795 builtin and then its argument prototype would still apply. */
17800 /* The GNU C library defines this for functions which it implements
17801 to always fail with ENOSYS. Some functions are actually named
17802 something starting with __ and the normal name is an alias. */
17803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17811 if { (eval echo configure
:17812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17813 eval "ac_cv_func_$ac_func=yes"
17815 echo "configure: failed program was:" >&5
17816 cat conftest.
$ac_ext >&5
17818 eval "ac_cv_func_$ac_func=no"
17823 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17824 echo "$ac_t""yes" 1>&6
17825 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17826 cat >> confdefs.h
<<EOF
17827 #define $ac_tr_func 1
17831 echo "$ac_t""no" 1>&6
17836 if test "$ac_cv_func_gettimeofday" = "yes"; then
17837 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17838 echo "configure:17839: checking whether gettimeofday takes two arguments" >&5
17839 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17840 echo $ac_n "(cached) $ac_c" 1>&6
17845 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17846 ac_cpp
='$CXXCPP $CPPFLAGS'
17847 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17848 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17849 cross_compiling
=$ac_cv_prog_cxx_cross
17852 cat > conftest.
$ac_ext <<EOF
17853 #line 17854 "configure"
17854 #include "confdefs.h"
17856 #include <sys/time.h>
17857 #include <unistd.h>
17862 gettimeofday(&tv, NULL);
17866 if { (eval echo configure
:17867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17868 wx_cv_func_gettimeofday_has_2_args
=yes
17870 echo "configure: failed program was:" >&5
17871 cat conftest.
$ac_ext >&5
17873 cat > conftest.
$ac_ext <<EOF
17874 #line 17875 "configure"
17875 #include "confdefs.h"
17877 #include <sys/time.h>
17878 #include <unistd.h>
17887 if { (eval echo configure
:17888: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17889 wx_cv_func_gettimeofday_has_2_args
=no
17891 echo "configure: failed program was:" >&5
17892 cat conftest.
$ac_ext >&5
17895 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17896 wx_cv_func_gettimeofday_has_2_args
=unknown
17905 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17906 ac_cpp
='$CPP $CPPFLAGS'
17907 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17908 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17909 cross_compiling
=$ac_cv_prog_cc_cross
17914 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17916 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17917 cat >> confdefs.h
<<\EOF
17918 #define WX_GETTIMEOFDAY_NO_TZ 1
17924 cat >> confdefs.h
<<\EOF
17925 #define wxUSE_TIMEDATE 1
17928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17932 if test "$TOOLKIT" != "MSW"; then
17934 if test "$wxUSE_SOCKETS" = "yes"; then
17935 echo $ac_n "checking for socket""... $ac_c" 1>&6
17936 echo "configure:17937: checking for socket" >&5
17937 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17938 echo $ac_n "(cached) $ac_c" 1>&6
17940 cat > conftest.
$ac_ext <<EOF
17941 #line 17942 "configure"
17942 #include "confdefs.h"
17943 /* System header to define __stub macros and hopefully few prototypes,
17944 which can conflict with char socket(); below. */
17945 #include <assert.h>
17946 /* Override any gcc2 internal prototype to avoid an error. */
17947 /* We use char because int might match the return type of a gcc2
17948 builtin and then its argument prototype would still apply. */
17953 /* The GNU C library defines this for functions which it implements
17954 to always fail with ENOSYS. Some functions are actually named
17955 something starting with __ and the normal name is an alias. */
17956 #if defined (__stub_socket) || defined (__stub___socket)
17964 if { (eval echo configure
:17965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17966 eval "ac_cv_func_socket=yes"
17968 echo "configure: failed program was:" >&5
17969 cat conftest.
$ac_ext >&5
17971 eval "ac_cv_func_socket=no"
17976 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17977 echo "$ac_t""yes" 1>&6
17980 echo "$ac_t""no" 1>&6
17981 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17982 echo "configure:17983: checking for socket in -lsocket" >&5
17983 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17984 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17985 echo $ac_n "(cached) $ac_c" 1>&6
17987 ac_save_LIBS
="$LIBS"
17988 LIBS
="-lsocket $LIBS"
17989 cat > conftest.
$ac_ext <<EOF
17990 #line 17991 "configure"
17991 #include "confdefs.h"
17992 /* Override any gcc2 internal prototype to avoid an error. */
17993 /* We use char because int might match the return type of a gcc2
17994 builtin and then its argument prototype would still apply. */
18001 if { (eval echo configure
:18002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18003 eval "ac_cv_lib_$ac_lib_var=yes"
18005 echo "configure: failed program was:" >&5
18006 cat conftest.
$ac_ext >&5
18008 eval "ac_cv_lib_$ac_lib_var=no"
18011 LIBS
="$ac_save_LIBS"
18014 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18015 echo "$ac_t""yes" 1>&6
18016 INET_LINK
="$INET_LINK -lsocket"
18018 echo "$ac_t""no" 1>&6
18020 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18032 if test "$wxUSE_SOCKETS" = "yes" ; then
18033 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18034 echo "configure:18035: checking what is the type of the third argument of getsockname" >&5
18035 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18036 echo $ac_n "(cached) $ac_c" 1>&6
18041 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18042 ac_cpp
='$CXXCPP $CPPFLAGS'
18043 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18044 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18045 cross_compiling
=$ac_cv_prog_cxx_cross
18048 cat > conftest.
$ac_ext <<EOF
18049 #line 18050 "configure"
18050 #include "confdefs.h"
18052 #include <sys/types.h>
18053 #include <sys/socket.h>
18058 getsockname(0, 0, &len);
18062 if { (eval echo configure
:18063: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18064 wx_cv_type_getsockname3
=socklen_t
18066 echo "configure: failed program was:" >&5
18067 cat conftest.
$ac_ext >&5
18069 cat > conftest.
$ac_ext <<EOF
18070 #line 18071 "configure"
18071 #include "confdefs.h"
18073 #include <sys/types.h>
18074 #include <sys/socket.h>
18079 getsockname(0, 0, &len);
18083 if { (eval echo configure
:18084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18085 wx_cv_type_getsockname3
=size_t
18087 echo "configure: failed program was:" >&5
18088 cat conftest.
$ac_ext >&5
18090 cat > conftest.
$ac_ext <<EOF
18091 #line 18092 "configure"
18092 #include "confdefs.h"
18094 #include <sys/types.h>
18095 #include <sys/socket.h>
18100 getsockname(0, 0, &len);
18104 if { (eval echo configure
:18105: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18106 wx_cv_type_getsockname3
=int
18108 echo "configure: failed program was:" >&5
18109 cat conftest.
$ac_ext >&5
18111 wx_cv_type_getsockname3
=unknown
18123 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18124 ac_cpp
='$CPP $CPPFLAGS'
18125 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18126 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18127 cross_compiling
=$ac_cv_prog_cc_cross
18132 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18134 if test "$wx_cv_type_getsockname3" = "unknown"; then
18136 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18138 cat >> confdefs.h
<<EOF
18139 #define SOCKLEN_T $wx_cv_type_getsockname3
18146 if test "$wxUSE_SOCKETS" = "yes" ; then
18147 cat >> confdefs.h
<<\EOF
18148 #define wxUSE_SOCKETS 1
18151 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18155 if test "$wxUSE_GUI" = "yes"; then
18157 if test "$TOOLKIT" = "MAC"; then
18158 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18161 if test "$TOOLKIT" = "MOTIF"; then
18162 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18166 if test "$TOOLKIT" != "MSW"; then
18167 if test "$wxUSE_JOYSTICK" = "yes"; then
18168 for ac_hdr
in linux
/joystick.h
18170 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18171 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18172 echo "configure:18173: checking for $ac_hdr" >&5
18173 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18174 echo $ac_n "(cached) $ac_c" 1>&6
18176 cat > conftest.
$ac_ext <<EOF
18177 #line 18178 "configure"
18178 #include "confdefs.h"
18181 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18182 { (eval echo configure
:18183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18183 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18184 if test -z "$ac_err"; then
18186 eval "ac_cv_header_$ac_safe=yes"
18189 echo "configure: failed program was:" >&5
18190 cat conftest.
$ac_ext >&5
18192 eval "ac_cv_header_$ac_safe=no"
18196 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18197 echo "$ac_t""yes" 1>&6
18198 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18199 cat >> confdefs.h
<<EOF
18200 #define $ac_tr_hdr 1
18204 echo "$ac_t""no" 1>&6
18208 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18210 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18215 if test "$wxUSE_JOYSTICK" = "yes"; then
18216 cat >> confdefs.h
<<\EOF
18217 #define wxUSE_JOYSTICK 1
18220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18225 if test "$TOOLKIT" != "MSW"; then
18229 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18230 if test "$USE_DARWIN" = 1; then
18233 for ac_func
in dlopen
18235 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18236 echo "configure:18237: checking for $ac_func" >&5
18237 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18238 echo $ac_n "(cached) $ac_c" 1>&6
18240 cat > conftest.
$ac_ext <<EOF
18241 #line 18242 "configure"
18242 #include "confdefs.h"
18243 /* System header to define __stub macros and hopefully few prototypes,
18244 which can conflict with char $ac_func(); below. */
18245 #include <assert.h>
18246 /* Override any gcc2 internal prototype to avoid an error. */
18247 /* We use char because int might match the return type of a gcc2
18248 builtin and then its argument prototype would still apply. */
18253 /* The GNU C library defines this for functions which it implements
18254 to always fail with ENOSYS. Some functions are actually named
18255 something starting with __ and the normal name is an alias. */
18256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18264 if { (eval echo configure
:18265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18266 eval "ac_cv_func_$ac_func=yes"
18268 echo "configure: failed program was:" >&5
18269 cat conftest.
$ac_ext >&5
18271 eval "ac_cv_func_$ac_func=no"
18276 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18277 echo "$ac_t""yes" 1>&6
18278 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18279 cat >> confdefs.h
<<EOF
18280 #define $ac_tr_func 1
18283 cat >> confdefs.h
<<\EOF
18284 #define HAVE_DLOPEN 1
18290 echo "$ac_t""no" 1>&6
18291 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18292 echo "configure:18293: checking for dlopen in -ldl" >&5
18293 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18295 echo $ac_n "(cached) $ac_c" 1>&6
18297 ac_save_LIBS
="$LIBS"
18299 cat > conftest.
$ac_ext <<EOF
18300 #line 18301 "configure"
18301 #include "confdefs.h"
18302 /* Override any gcc2 internal prototype to avoid an error. */
18303 /* We use char because int might match the return type of a gcc2
18304 builtin and then its argument prototype would still apply. */
18311 if { (eval echo configure
:18312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18313 eval "ac_cv_lib_$ac_lib_var=yes"
18315 echo "configure: failed program was:" >&5
18316 cat conftest.
$ac_ext >&5
18318 eval "ac_cv_lib_$ac_lib_var=no"
18321 LIBS
="$ac_save_LIBS"
18324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18325 echo "$ac_t""yes" 1>&6
18327 cat >> confdefs.h
<<\EOF
18328 #define HAVE_DLOPEN 1
18332 DL_LINK
=" -ldl$DL_LINK"
18335 echo "$ac_t""no" 1>&6
18337 for ac_func
in shl_load
18339 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18340 echo "configure:18341: checking for $ac_func" >&5
18341 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18342 echo $ac_n "(cached) $ac_c" 1>&6
18344 cat > conftest.
$ac_ext <<EOF
18345 #line 18346 "configure"
18346 #include "confdefs.h"
18347 /* System header to define __stub macros and hopefully few prototypes,
18348 which can conflict with char $ac_func(); below. */
18349 #include <assert.h>
18350 /* Override any gcc2 internal prototype to avoid an error. */
18351 /* We use char because int might match the return type of a gcc2
18352 builtin and then its argument prototype would still apply. */
18357 /* The GNU C library defines this for functions which it implements
18358 to always fail with ENOSYS. Some functions are actually named
18359 something starting with __ and the normal name is an alias. */
18360 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18368 if { (eval echo configure
:18369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18370 eval "ac_cv_func_$ac_func=yes"
18372 echo "configure: failed program was:" >&5
18373 cat conftest.
$ac_ext >&5
18375 eval "ac_cv_func_$ac_func=no"
18380 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18381 echo "$ac_t""yes" 1>&6
18382 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18383 cat >> confdefs.h
<<EOF
18384 #define $ac_tr_func 1
18387 cat >> confdefs.h
<<\EOF
18388 #define HAVE_SHL_LOAD 1
18394 echo "$ac_t""no" 1>&6
18395 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18396 echo "configure:18397: checking for dld in -lshl_load" >&5
18397 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18399 echo $ac_n "(cached) $ac_c" 1>&6
18401 ac_save_LIBS
="$LIBS"
18402 LIBS
="-lshl_load $LIBS"
18403 cat > conftest.
$ac_ext <<EOF
18404 #line 18405 "configure"
18405 #include "confdefs.h"
18406 /* Override any gcc2 internal prototype to avoid an error. */
18407 /* We use char because int might match the return type of a gcc2
18408 builtin and then its argument prototype would still apply. */
18415 if { (eval echo configure
:18416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18417 eval "ac_cv_lib_$ac_lib_var=yes"
18419 echo "configure: failed program was:" >&5
18420 cat conftest.
$ac_ext >&5
18422 eval "ac_cv_lib_$ac_lib_var=no"
18425 LIBS
="$ac_save_LIBS"
18428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18429 echo "$ac_t""yes" 1>&6
18432 DL_LINK
=" -ldld$DL_LINK"
18435 echo "$ac_t""no" 1>&6
18450 if test "$HAVE_DL_FUNCS" = 1; then
18451 for ac_func
in dlerror
18453 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18454 echo "configure:18455: checking for $ac_func" >&5
18455 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18456 echo $ac_n "(cached) $ac_c" 1>&6
18458 cat > conftest.
$ac_ext <<EOF
18459 #line 18460 "configure"
18460 #include "confdefs.h"
18461 /* System header to define __stub macros and hopefully few prototypes,
18462 which can conflict with char $ac_func(); below. */
18463 #include <assert.h>
18464 /* Override any gcc2 internal prototype to avoid an error. */
18465 /* We use char because int might match the return type of a gcc2
18466 builtin and then its argument prototype would still apply. */
18471 /* The GNU C library defines this for functions which it implements
18472 to always fail with ENOSYS. Some functions are actually named
18473 something starting with __ and the normal name is an alias. */
18474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18482 if { (eval echo configure
:18483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18484 eval "ac_cv_func_$ac_func=yes"
18486 echo "configure: failed program was:" >&5
18487 cat conftest.
$ac_ext >&5
18489 eval "ac_cv_func_$ac_func=no"
18494 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18495 echo "$ac_t""yes" 1>&6
18496 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18497 cat >> confdefs.h
<<EOF
18498 #define $ac_tr_func 1
18500 cat >> confdefs.h
<<\EOF
18501 #define HAVE_DLERROR 1
18505 echo "$ac_t""no" 1>&6
18506 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18507 echo "configure:18508: checking for dlerror in -ldl" >&5
18508 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18510 echo $ac_n "(cached) $ac_c" 1>&6
18512 ac_save_LIBS
="$LIBS"
18514 cat > conftest.
$ac_ext <<EOF
18515 #line 18516 "configure"
18516 #include "confdefs.h"
18517 /* Override any gcc2 internal prototype to avoid an error. */
18518 /* We use char because int might match the return type of a gcc2
18519 builtin and then its argument prototype would still apply. */
18526 if { (eval echo configure
:18527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18528 eval "ac_cv_lib_$ac_lib_var=yes"
18530 echo "configure: failed program was:" >&5
18531 cat conftest.
$ac_ext >&5
18533 eval "ac_cv_lib_$ac_lib_var=no"
18536 LIBS
="$ac_save_LIBS"
18539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18540 echo "$ac_t""yes" 1>&6
18541 cat >> confdefs.h
<<\EOF
18542 #define HAVE_DLERROR 1
18546 echo "$ac_t""no" 1>&6
18555 if test "$HAVE_DL_FUNCS" = 0; then
18556 if test "$HAVE_SHL_FUNCS" = 0; then
18557 if test "$USE_UNIX" = 1; then
18558 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18559 wxUSE_DYNAMIC_LOADER
=no
18560 wxUSE_DYNLIB_CLASS
=no
18562 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18569 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18570 cat >> confdefs.h
<<\EOF
18571 #define wxUSE_DYNAMIC_LOADER 1
18574 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18575 cat >> confdefs.h
<<\EOF
18576 #define wxUSE_DYNLIB_CLASS 1
18582 if test "$wxUSE_FONTMAP" = "yes" ; then
18583 cat >> confdefs.h
<<\EOF
18584 #define wxUSE_FONTMAP 1
18589 if test "$wxUSE_UNICODE" = "yes" ; then
18590 cat >> confdefs.h
<<\EOF
18591 #define wxUSE_UNICODE 1
18595 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18596 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18597 echo "configure:18598: checking for main in -lunicows" >&5
18598 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18600 echo $ac_n "(cached) $ac_c" 1>&6
18602 ac_save_LIBS
="$LIBS"
18603 LIBS
="-lunicows $LIBS"
18604 cat > conftest.
$ac_ext <<EOF
18605 #line 18606 "configure"
18606 #include "confdefs.h"
18612 if { (eval echo configure
:18613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18614 eval "ac_cv_lib_$ac_lib_var=yes"
18616 echo "configure: failed program was:" >&5
18617 cat conftest.
$ac_ext >&5
18619 eval "ac_cv_lib_$ac_lib_var=no"
18622 LIBS
="$ac_save_LIBS"
18625 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18626 echo "$ac_t""yes" 1>&6
18628 cat >> confdefs.h
<<\EOF
18629 #define wxUSE_UNICODE_MSLU 1
18634 echo "$ac_t""no" 1>&6
18636 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18637 Applications will only run on Windows NT/2000/XP!" 1>&2
18638 wxUSE_UNICODE_MSLU
=no
18645 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18646 cat >> confdefs.h
<<\EOF
18647 #define wxUSE_EXPERIMENTAL_PRINTF 1
18655 if test "$wxUSE_ODBC" = "yes" ; then
18656 cat >> confdefs.h
<<\EOF
18657 #define wxUSE_ODBC 1
18660 WXODBCFLAG
="-D_IODBC_"
18661 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
18665 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18666 cat >> confdefs.h
<<\EOF
18667 #define wxUSE_POSTSCRIPT 1
18672 cat >> confdefs.h
<<\EOF
18673 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18677 cat >> confdefs.h
<<\EOF
18678 #define wxUSE_NORMALIZED_PS_FONTS 1
18683 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18684 cat >> confdefs.h
<<\EOF
18685 #define wxUSE_CONSTRAINTS 1
18688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18691 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18692 if test "$wxUSE_UNIVERSAL" = "yes"; then
18693 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18694 wxUSE_MDI_ARCHITECTURE
=no
18697 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18698 cat >> confdefs.h
<<\EOF
18699 #define wxUSE_MDI_ARCHITECTURE 1
18702 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18706 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18707 cat >> confdefs.h
<<\EOF
18708 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18711 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18712 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18713 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18717 if test "$wxUSE_HELP" = "yes"; then
18718 cat >> confdefs.h
<<\EOF
18719 #define wxUSE_HELP 1
18722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18724 if test "$wxUSE_MSW" = 1; then
18725 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18726 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18727 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18728 echo "configure:18729: checking for htmlhelp.h" >&5
18729 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18730 echo $ac_n "(cached) $ac_c" 1>&6
18732 cat > conftest.
$ac_ext <<EOF
18733 #line 18734 "configure"
18734 #include "confdefs.h"
18735 #include <htmlhelp.h>
18737 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18738 { (eval echo configure
:18739: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18739 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18740 if test -z "$ac_err"; then
18742 eval "ac_cv_header_$ac_safe=yes"
18745 echo "configure: failed program was:" >&5
18746 cat conftest.
$ac_ext >&5
18748 eval "ac_cv_header_$ac_safe=no"
18752 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18753 echo "$ac_t""yes" 1>&6
18755 cat >> confdefs.h
<<\EOF
18756 #define wxUSE_MS_HTML_HELP 1
18761 echo "$ac_t""no" 1>&6
18763 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18764 wxUSE_MS_HTML_HELP
=no
18771 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18772 if test "$wxUSE_HTML" = "yes"; then
18773 cat >> confdefs.h
<<\EOF
18774 #define wxUSE_WXHTML_HELP 1
18778 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18779 wxUSE_WXHTML_HELP
=no
18784 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18785 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18786 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18788 cat >> confdefs.h
<<\EOF
18789 #define wxUSE_PRINTING_ARCHITECTURE 1
18793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18796 if test "$wxUSE_PROLOGIO" = "yes" ; then
18797 cat >> confdefs.h
<<\EOF
18798 #define wxUSE_PROLOGIO 1
18803 if test "$wxUSE_RESOURCES" = "yes" ; then
18804 cat >> confdefs.h
<<\EOF
18805 #define wxUSE_RESOURCES 1
18808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18811 if test "$wxUSE_X_RESOURCES" = "yes"; then
18812 cat >> confdefs.h
<<\EOF
18813 #define wxUSE_X_RESOURCES 1
18819 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18820 -o "$wxUSE_CLIPBOARD" = "yes" \
18821 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18822 for ac_hdr
in ole2.h
18824 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18825 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18826 echo "configure:18827: checking for $ac_hdr" >&5
18827 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18828 echo $ac_n "(cached) $ac_c" 1>&6
18830 cat > conftest.
$ac_ext <<EOF
18831 #line 18832 "configure"
18832 #include "confdefs.h"
18835 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18836 { (eval echo configure
:18837: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18837 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18838 if test -z "$ac_err"; then
18840 eval "ac_cv_header_$ac_safe=yes"
18843 echo "configure: failed program was:" >&5
18844 cat conftest.
$ac_ext >&5
18846 eval "ac_cv_header_$ac_safe=no"
18850 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18851 echo "$ac_t""yes" 1>&6
18852 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18853 cat >> confdefs.h
<<EOF
18854 #define $ac_tr_hdr 1
18858 echo "$ac_t""no" 1>&6
18863 if test "$ac_cv_header_ole2_h" = "yes" ; then
18864 if test "$GCC" = yes ; then
18865 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18866 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18867 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18868 cat >> confdefs.h
<<\EOF
18869 #define wxUSE_OLE 1
18875 cat >> confdefs.h
<<\EOF
18876 #define wxUSE_DATAOBJ 1
18880 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18883 wxUSE_DRAG_AND_DROP
=no
18887 if test "$wxUSE_METAFILE" = "yes"; then
18888 cat >> confdefs.h
<<\EOF
18889 #define wxUSE_METAFILE 1
18893 cat >> confdefs.h
<<\EOF
18894 #define wxUSE_ENH_METAFILE 1
18900 if test "$wxUSE_IPC" = "yes"; then
18901 if test "$wxUSE_SOCKETS" != "yes"; then
18902 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18905 cat >> confdefs.h
<<\EOF
18906 #define wxUSE_IPC 1
18911 if test "$wxUSE_CLIPBOARD" = "yes"; then
18912 cat >> confdefs.h
<<\EOF
18913 #define wxUSE_CLIPBOARD 1
18917 cat >> confdefs.h
<<\EOF
18918 #define wxUSE_DATAOBJ 1
18923 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18924 if test "$wxUSE_GTK" = 1; then
18925 if test "$WXGTK12" != 1; then
18926 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18927 wxUSE_DRAG_AND_DROP
=no
18931 if test "$wxUSE_MOTIF" = 1; then
18932 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18933 wxUSE_DRAG_AND_DROP
=no
18936 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18937 cat >> confdefs.h
<<\EOF
18938 #define wxUSE_DRAG_AND_DROP 1
18941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18946 if test "$wxUSE_SPLINES" = "yes" ; then
18947 cat >> confdefs.h
<<\EOF
18948 #define wxUSE_SPLINES 1
18955 if test "$wxUSE_CONTROLS" = "yes"; then
18959 if test "$wxUSE_ACCEL" = "yes"; then
18960 cat >> confdefs.h
<<\EOF
18961 #define wxUSE_ACCEL 1
18967 if test "$wxUSE_BUTTON" = "yes"; then
18968 cat >> confdefs.h
<<\EOF
18969 #define wxUSE_BUTTON 1
18975 if test "$wxUSE_BMPBUTTON" = "yes"; then
18976 cat >> confdefs.h
<<\EOF
18977 #define wxUSE_BMPBUTTON 1
18983 if test "$wxUSE_CALCTRL" = "yes"; then
18984 cat >> confdefs.h
<<\EOF
18985 #define wxUSE_CALENDARCTRL 1
18989 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18992 if test "$wxUSE_CARET" = "yes"; then
18993 cat >> confdefs.h
<<\EOF
18994 #define wxUSE_CARET 1
18998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19001 if test "$wxUSE_COMBOBOX" = "yes"; then
19002 cat >> confdefs.h
<<\EOF
19003 #define wxUSE_COMBOBOX 1
19009 if test "$wxUSE_CHOICE" = "yes"; then
19010 cat >> confdefs.h
<<\EOF
19011 #define wxUSE_CHOICE 1
19017 if test "$wxUSE_CHECKBOX" = "yes"; then
19018 cat >> confdefs.h
<<\EOF
19019 #define wxUSE_CHECKBOX 1
19025 if test "$wxUSE_CHECKLST" = "yes"; then
19026 cat >> confdefs.h
<<\EOF
19027 #define wxUSE_CHECKLISTBOX 1
19031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19034 if test "$wxUSE_GAUGE" = "yes"; then
19035 cat >> confdefs.h
<<\EOF
19036 #define wxUSE_GAUGE 1
19042 if test "$wxUSE_NEW_GRID" = "yes"; then
19044 cat >> confdefs.h
<<\EOF
19045 #define wxUSE_NEW_GRID 1
19049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19052 if test "$wxUSE_GRID" = "yes"; then
19053 cat >> confdefs.h
<<\EOF
19054 #define wxUSE_GRID 1
19058 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19061 if test "$wxUSE_IMAGLIST" = "yes"; then
19062 cat >> confdefs.h
<<\EOF
19063 #define wxUSE_IMAGLIST 1
19068 if test "$wxUSE_LISTBOX" = "yes"; then
19069 cat >> confdefs.h
<<\EOF
19070 #define wxUSE_LISTBOX 1
19076 if test "$wxUSE_LISTCTRL" = "yes"; then
19077 if test "$wxUSE_IMAGLIST" = "yes"; then
19078 cat >> confdefs.h
<<\EOF
19079 #define wxUSE_LISTCTRL 1
19083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19085 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19089 if test "$wxUSE_NOTEBOOK" = "yes"; then
19090 cat >> confdefs.h
<<\EOF
19091 #define wxUSE_NOTEBOOK 1
19095 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19098 if test "$wxUSE_PROPSHEET" = "yes"; then
19099 cat >> confdefs.h
<<\EOF
19100 #define wxUSE_PROPSHEET 1
19104 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19107 if test "$wxUSE_RADIOBOX" = "yes"; then
19108 cat >> confdefs.h
<<\EOF
19109 #define wxUSE_RADIOBOX 1
19115 if test "$wxUSE_RADIOBTN" = "yes"; then
19116 cat >> confdefs.h
<<\EOF
19117 #define wxUSE_RADIOBTN 1
19123 if test "$wxUSE_SASH" = "yes"; then
19124 cat >> confdefs.h
<<\EOF
19125 #define wxUSE_SASH 1
19128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19131 if test "$wxUSE_SCROLLBAR" = "yes"; then
19132 cat >> confdefs.h
<<\EOF
19133 #define wxUSE_SCROLLBAR 1
19137 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19140 if test "$wxUSE_SLIDER" = "yes"; then
19141 cat >> confdefs.h
<<\EOF
19142 #define wxUSE_SLIDER 1
19148 if test "$wxUSE_SPINBTN" = "yes"; then
19149 cat >> confdefs.h
<<\EOF
19150 #define wxUSE_SPINBTN 1
19156 if test "$wxUSE_SPINCTRL" = "yes"; then
19157 cat >> confdefs.h
<<\EOF
19158 #define wxUSE_SPINCTRL 1
19164 if test "$wxUSE_SPLITTER" = "yes"; then
19165 cat >> confdefs.h
<<\EOF
19166 #define wxUSE_SPLITTER 1
19169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19172 if test "$wxUSE_STATBMP" = "yes"; then
19173 cat >> confdefs.h
<<\EOF
19174 #define wxUSE_STATBMP 1
19180 if test "$wxUSE_STATBOX" = "yes"; then
19181 cat >> confdefs.h
<<\EOF
19182 #define wxUSE_STATBOX 1
19188 if test "$wxUSE_STATTEXT" = "yes"; then
19189 cat >> confdefs.h
<<\EOF
19190 #define wxUSE_STATTEXT 1
19196 if test "$wxUSE_STATLINE" = "yes"; then
19197 if test "$wxUSE_WINE" = 1 ; then
19198 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19200 cat >> confdefs.h
<<\EOF
19201 #define wxUSE_STATLINE 1
19208 if test "$wxUSE_STATUSBAR" = "yes"; then
19209 cat >> confdefs.h
<<\EOF
19210 #define wxUSE_STATUSBAR 1
19215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19218 if test "$wxUSE_TABDIALOG" = "yes"; then
19219 cat >> confdefs.h
<<\EOF
19220 #define wxUSE_TAB_DIALOG 1
19223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19226 if test "$wxUSE_TEXTCTRL" = "yes"; then
19227 cat >> confdefs.h
<<\EOF
19228 #define wxUSE_TEXTCTRL 1
19232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19235 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19236 if test "$wxUSE_MAC" = 1; then
19237 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19240 if test "$wxUSE_UNIVERSAL" = "yes"; then
19241 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19245 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19246 cat >> confdefs.h
<<\EOF
19247 #define wxUSE_TOGGLEBTN 1
19254 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19255 cat >> confdefs.h
<<\EOF
19256 #define wxUSE_TOOLBAR_SIMPLE 1
19259 wxUSE_TOOLBAR
="yes"
19263 if test "$wxUSE_TOOLBAR" = "yes"; then
19264 cat >> confdefs.h
<<\EOF
19265 #define wxUSE_TOOLBAR 1
19270 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19271 wxUSE_TOOLBAR_NATIVE
="yes"
19274 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19275 cat >> confdefs.h
<<\EOF
19276 #define wxUSE_TOOLBAR_NATIVE 1
19282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19285 if test "$wxUSE_TOOLTIPS" = "yes"; then
19286 if test "$wxUSE_MOTIF" = 1; then
19287 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19289 if test "$wxUSE_WINE" = 1; then
19290 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19292 if test "$wxUSE_UNIVERSAL" = "yes"; then
19293 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19295 cat >> confdefs.h
<<\EOF
19296 #define wxUSE_TOOLTIPS 1
19304 if test "$wxUSE_TREECTRL" = "yes"; then
19305 if test "$wxUSE_IMAGLIST" = "yes"; then
19306 cat >> confdefs.h
<<\EOF
19307 #define wxUSE_TREECTRL 1
19311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19313 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19317 if test "$wxUSE_POPUPWIN" = "yes"; then
19318 if test "$wxUSE_MAC" = 1; then
19319 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19321 if test "$wxUSE_MOTIF" = 1; then
19322 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19324 cat >> confdefs.h
<<\EOF
19325 #define wxUSE_POPUPWIN 1
19334 if test "$wxUSE_TIPWINDOW" = "yes"; then
19335 cat >> confdefs.h
<<\EOF
19336 #define wxUSE_TIPWINDOW 1
19341 if test "$USES_CONTROLS" = 1; then
19342 cat >> confdefs.h
<<\EOF
19343 #define wxUSE_CONTROLS 1
19349 if test "$wxUSE_TREELAYOUT" = "yes"; then
19350 cat >> confdefs.h
<<\EOF
19351 #define wxUSE_TREELAYOUT 1
19354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
19357 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19358 cat >> confdefs.h
<<\EOF
19359 #define wxUSE_DRAGIMAGE 1
19362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
19365 if test "$wxUSE_MENUS" = "yes"; then
19366 cat >> confdefs.h
<<\EOF
19367 #define wxUSE_MENUS 1
19370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
19373 if test "$wxUSE_METAFILE" = "yes"; then
19374 cat >> confdefs.h
<<\EOF
19375 #define wxUSE_METAFILE 1
19380 if test "$wxUSE_MIMETYPE" = "yes"; then
19381 cat >> confdefs.h
<<\EOF
19382 #define wxUSE_MIMETYPE 1
19387 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19388 cat >> confdefs.h
<<\EOF
19389 #define wxUSE_SYSTEM_OPTIONS 1
19394 if test "$wxUSE_PROTOCOL" = "yes"; then
19395 if test "$wxUSE_SOCKETS" != "yes"; then
19396 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19400 if test "$wxUSE_PROTOCOL" = "yes"; then
19401 cat >> confdefs.h
<<\EOF
19402 #define wxUSE_PROTOCOL 1
19406 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19407 cat >> confdefs.h
<<\EOF
19408 #define wxUSE_PROTOCOL_HTTP 1
19412 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19413 cat >> confdefs.h
<<\EOF
19414 #define wxUSE_PROTOCOL_FTP 1
19418 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19419 cat >> confdefs.h
<<\EOF
19420 #define wxUSE_PROTOCOL_FILE 1
19427 if test "$wxUSE_URL" = "yes"; then
19428 if test "$wxUSE_PROTOCOL" != "yes"; then
19429 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
19432 if test "$wxUSE_URL" = "yes"; then
19433 cat >> confdefs.h
<<\EOF
19434 #define wxUSE_URL 1
19440 if test "$wxUSE_MINIFRAME" = "yes"; then
19441 cat >> confdefs.h
<<\EOF
19442 #define wxUSE_MINIFRAME 1
19445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
19448 if test "$wxUSE_HTML" = "yes"; then
19449 cat >> confdefs.h
<<\EOF
19450 #define wxUSE_HTML 1
19453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
19456 if test "$wxUSE_VALIDATORS" = "yes"; then
19457 cat >> confdefs.h
<<\EOF
19458 #define wxUSE_VALIDATORS 1
19461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
19464 if test "$wxUSE_PALETTE" = "yes" ; then
19465 cat >> confdefs.h
<<\EOF
19466 #define wxUSE_PALETTE 1
19471 if test "$wxUSE_IMAGE" = "yes" ; then
19472 cat >> confdefs.h
<<\EOF
19473 #define wxUSE_IMAGE 1
19478 if test "$wxUSE_GIF" = "yes" ; then
19479 cat >> confdefs.h
<<\EOF
19480 #define wxUSE_GIF 1
19485 if test "$wxUSE_PCX" = "yes" ; then
19486 cat >> confdefs.h
<<\EOF
19487 #define wxUSE_PCX 1
19492 if test "$wxUSE_IFF" = "yes" ; then
19493 cat >> confdefs.h
<<\EOF
19494 #define wxUSE_IFF 1
19499 if test "$wxUSE_PNM" = "yes" ; then
19500 cat >> confdefs.h
<<\EOF
19501 #define wxUSE_PNM 1
19506 if test "$wxUSE_XPM" = "yes" ; then
19507 cat >> confdefs.h
<<\EOF
19508 #define wxUSE_XPM 1
19513 if test "$wxUSE_ICO_CUR" = "yes" ; then
19514 cat >> confdefs.h
<<\EOF
19515 #define wxUSE_ICO_CUR 1
19520 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19521 LIBS
=" -lunicows $LIBS"
19525 if test "$wxUSE_CHOICEDLG" = "yes"; then
19526 cat >> confdefs.h
<<\EOF
19527 #define wxUSE_CHOICEDLG 1
19532 if test "$wxUSE_COLOURDLG" = "yes"; then
19533 cat >> confdefs.h
<<\EOF
19534 #define wxUSE_COLOURDLG 1
19539 if test "$wxUSE_FILEDLG" = "yes"; then
19540 cat >> confdefs.h
<<\EOF
19541 #define wxUSE_FILEDLG 1
19546 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19547 cat >> confdefs.h
<<\EOF
19548 #define wxUSE_FINDREPLDLG 1
19553 if test "$wxUSE_FONTDLG" = "yes"; then
19554 cat >> confdefs.h
<<\EOF
19555 #define wxUSE_FONTDLG 1
19560 if test "$wxUSE_DIRDLG" = "yes"; then
19561 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19562 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19564 if test "$wxUSE_TREECTRL" != "yes"; then
19565 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19567 cat >> confdefs.h
<<\EOF
19568 #define wxUSE_DIRDLG 1
19575 if test "$wxUSE_MSGDLG" = "yes"; then
19576 cat >> confdefs.h
<<\EOF
19577 #define wxUSE_MSGDLG 1
19582 if test "$wxUSE_NUMBERDLG" = "yes"; then
19583 cat >> confdefs.h
<<\EOF
19584 #define wxUSE_NUMBERDLG 1
19589 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19590 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19591 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19593 cat >> confdefs.h
<<\EOF
19594 #define wxUSE_PROGRESSDLG 1
19600 if test "$wxUSE_SPLASH" = "yes"; then
19601 cat >> confdefs.h
<<\EOF
19602 #define wxUSE_SPLASH 1
19607 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19608 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19609 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19611 cat >> confdefs.h
<<\EOF
19612 #define wxUSE_STARTUP_TIPS 1
19618 if test "$wxUSE_TEXTDLG" = "yes"; then
19619 cat >> confdefs.h
<<\EOF
19620 #define wxUSE_TEXTDLG 1
19625 if test "$wxUSE_WIZARDDLG" = "yes"; then
19626 cat >> confdefs.h
<<\EOF
19627 #define wxUSE_WIZARDDLG 1
19630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
19634 if test "$cross_compiling" = "yes"; then
19637 OSINFO
=`uname -s -r -m`
19638 OSINFO
="\"$OSINFO\""
19641 cat >> confdefs.h
<<EOF
19642 #define WXWIN_OS_DESCRIPTION $OSINFO
19647 if test "x$prefix" != "xNONE"; then
19650 wxPREFIX
=$ac_default_prefix
19653 cat >> confdefs.h
<<EOF
19654 #define wxINSTALL_PREFIX "$wxPREFIX"
19661 if test "$wxUSE_MAC" = 1 ; then
19662 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
19666 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19668 if test "$wxUSE_GUI" = "yes"; then
19670 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
19674 drawing dynamic erase event exec font image \
19675 minimal richedit rotate widgets"
19677 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19679 SAMPLES_SUBDIRS
="console"
19683 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19684 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19685 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19687 if test "$wxUSE_GTK" = 1; then
19690 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
19693 if test "$GXX" = yes ; then
19694 CXXWARNINGS
="-Wall"
19696 if test "$wxUSE_NO_DEPS" = "no" ; then
19697 CFLAGS
="-MMD $CFLAGS"
19698 CXXFLAGS
="-MMD $CXXFLAGS"
19702 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19704 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19705 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19707 LDFLAGS
="$LDFLAGS$PROFILE"
19709 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19797 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19798 echo "configure:19799: checking whether ${MAKE-make} sets \${MAKE}" >&5
19799 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19800 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19801 echo $ac_n "(cached) $ac_c" 1>&6
19803 cat > conftestmake
<<\EOF
19805 @
echo 'ac_maketemp="${MAKE}"'
19807 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19808 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19809 if test -n "$ac_maketemp"; then
19810 eval ac_cv_prog_make_
${ac_make}_set
=yes
19812 eval ac_cv_prog_make_
${ac_make}_set
=no
19816 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19817 echo "$ac_t""yes" 1>&6
19820 echo "$ac_t""no" 1>&6
19821 SET_MAKE
="MAKE=${MAKE-make}"
19825 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19826 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19831 if test "$wxUSE_GUI" = "yes"; then
19832 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19833 wx_cv_if_gnu_make
=$IF_GNU_MAKE
19834 wx_cv_path_ifs
=$PATH_IFS
19835 wx_cv_program_ext
=$PROGRAM_EXT
19836 wx_cv_target_library
=$WX_TARGET_LIBRARY
19837 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19838 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19839 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
19840 wx_cv_path_ifs wx_cv_program_ext \
19841 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19842 subdirs
="demos samples utils contrib"
19847 cat > confcache
<<\EOF
19848 # This file is a shell script that caches the results of configure
19849 # tests run on this system so they can be shared between configure
19850 # scripts and configure runs. It is not useful on other systems.
19851 # If it contains results you don't want to keep, you may remove or edit it.
19853 # By default, configure uses ./config.cache as the cache file,
19854 # creating it if it does not exist already. You can give configure
19855 # the --cache-file=FILE option to use a different cache file; that is
19856 # what configure does when it calls configure scripts in
19857 # subdirectories, so they share the cache.
19858 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19859 # config.status only pays attention to the cache file if you give it the
19860 # --recheck option to rerun configure.
19863 # The following way of writing the cache mishandles newlines in values,
19864 # but we know of no workaround that is simple, portable, and efficient.
19865 # So, don't put newlines in cache variables' values.
19866 # Ultrix sh set writes to stderr and can't be redirected directly,
19867 # and sets the high bit in the cache file unless we assign to the vars.
19869 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19871 # `set' does not quote correctly, so add quotes (double-quote substitution
19872 # turns \\\\ into \\, and sed turns \\ into \).
19874 -e "s/'/'\\\\''/g" \
19875 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19878 # `set' quotes correctly as required by POSIX, so do not add quotes.
19879 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19882 if cmp -s $cache_file confcache
; then
19885 if test -w $cache_file; then
19886 echo "updating cache $cache_file"
19887 cat confcache
> $cache_file
19889 echo "not updating unwritable cache $cache_file"
19894 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19896 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19897 # Let make expand exec_prefix.
19898 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19900 # Any assignment to VPATH causes Sun make to only execute
19901 # the first set of double-colon rules, so remove it if not needed.
19902 # If there is a colon in the path, we need to keep it.
19903 if test "x$srcdir" = x.
; then
19904 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19907 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19909 DEFS
=-DHAVE_CONFIG_H
19911 # Without the "./", some shells look in PATH for config.status.
19912 : ${CONFIG_STATUS=./config.status}
19914 echo creating
$CONFIG_STATUS
19915 rm -f $CONFIG_STATUS
19916 cat > $CONFIG_STATUS <<EOF
19918 # Generated automatically by configure.
19919 # Run this file to recreate the current configuration.
19920 # This directory was configured as follows,
19921 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19923 # $0 $ac_configure_args
19925 # Compiler output produced by configure, useful for debugging
19926 # configure, is in ./config.log if it exists.
19928 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19931 case "\$ac_option" in
19932 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19933 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19934 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19935 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19936 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19938 -help | --help | --hel | --he | --h)
19939 echo "\$ac_cs_usage"; exit 0 ;;
19940 *) echo "\$ac_cs_usage"; exit 1 ;;
19944 ac_given_srcdir=$srcdir
19945 ac_given_INSTALL="$INSTALL"
19947 trap 'rm -fr `echo "
19953 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19955 cat >> $CONFIG_STATUS <<EOF
19957 # Protect against being on the right side of a sed subst in config.status.
19958 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19959 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19963 s%@CFLAGS@%$CFLAGS%g
19964 s%@CPPFLAGS@%$CPPFLAGS%g
19965 s%@CXXFLAGS@%$CXXFLAGS%g
19966 s%@FFLAGS@%$FFLAGS%g
19968 s%@LDFLAGS@%$LDFLAGS%g
19970 s%@exec_prefix@%$exec_prefix%g
19971 s%@prefix@%$prefix%g
19972 s%@program_transform_name@%$program_transform_name%g
19973 s%@bindir@%$bindir%g
19974 s%@sbindir@%$sbindir%g
19975 s%@libexecdir@%$libexecdir%g
19976 s%@datadir@%$datadir%g
19977 s%@sysconfdir@%$sysconfdir%g
19978 s%@sharedstatedir@%$sharedstatedir%g
19979 s%@localstatedir@%$localstatedir%g
19980 s%@libdir@%$libdir%g
19981 s%@includedir@%$includedir%g
19982 s%@oldincludedir@%$oldincludedir%g
19983 s%@infodir@%$infodir%g
19984 s%@mandir@%$mandir%g
19986 s%@host_alias@%$host_alias%g
19987 s%@host_cpu@%$host_cpu%g
19988 s%@host_vendor@%$host_vendor%g
19989 s%@host_os@%$host_os%g
19990 s%@target@%$target%g
19991 s%@target_alias@%$target_alias%g
19992 s%@target_cpu@%$target_cpu%g
19993 s%@target_vendor@%$target_vendor%g
19994 s%@target_os@%$target_os%g
19996 s%@build_alias@%$build_alias%g
19997 s%@build_cpu@%$build_cpu%g
19998 s%@build_vendor@%$build_vendor%g
19999 s%@build_os@%$build_os%g
20003 s%@RANLIB@%$RANLIB%g
20005 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20006 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20007 s%@INSTALL_DATA@%$INSTALL_DATA%g
20009 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20012 s%@LEXLIB@%$LEXLIB%g
20014 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
20015 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20016 s%@GTK_LIBS@%$GTK_LIBS%g
20017 s%@GTK_CONFIG@%$GTK_CONFIG%g
20018 s%@X_CFLAGS@%$X_CFLAGS%g
20019 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20020 s%@X_LIBS@%$X_LIBS%g
20021 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20022 s%@RESCOMP@%$RESCOMP%g
20024 s%@CXXCPP@%$CXXCPP%g
20025 s%@LIBICONV@%$LIBICONV%g
20026 s%@LEX_STEM@%$LEX_STEM%g
20027 s%@PATH_IFS@%$PATH_IFS%g
20028 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20029 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20030 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20031 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20032 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20033 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20034 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20035 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20036 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20037 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20038 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20039 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20040 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20041 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20042 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20043 s%@WX_ALL@%$WX_ALL%g
20044 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20045 s%@SHARED_LD@%$SHARED_LD%g
20046 s%@PIC_FLAG@%$PIC_FLAG%g
20047 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20048 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20049 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20050 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20051 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20052 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20053 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20054 s%@USE_GUI@%$USE_GUI%g
20055 s%@AFMINSTALL@%$AFMINSTALL%g
20056 s%@TOOLKIT@%$TOOLKIT%g
20057 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20058 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20059 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20060 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20061 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20062 s%@cross_compiling@%$cross_compiling%g
20063 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20064 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20065 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20066 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20067 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20068 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20069 s%@ALL_HEADERS@%$ALL_HEADERS%g
20070 s%@ALL_SOURCES@%$ALL_SOURCES%g
20071 s%@GUIDIST@%$GUIDIST%g
20072 s%@PORT_FILES@%$PORT_FILES%g
20073 s%@DISTDIR@%$DISTDIR%g
20074 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20075 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20076 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20077 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20078 s%@EXTRADEFS@%$EXTRADEFS%g
20079 s%@RESFLAGS@%$RESFLAGS%g
20080 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20081 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20082 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20083 s%@LIBWXMACRES@%$LIBWXMACRES%g
20084 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20085 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20086 s%@DLLTOOL@%$DLLTOOL%g
20090 s%@MAKEINFO@%$MAKEINFO%g
20091 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20092 s%@SET_MAKE@%$SET_MAKE%g
20093 s%@subdirs@%$subdirs%g
20098 cat >> $CONFIG_STATUS <<\EOF
20100 # Split the substitutions into bite-sized pieces for seds with
20101 # small command number limits, like on Digital OSF/1 and HP-UX.
20102 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20103 ac_file
=1 # Number of current file.
20104 ac_beg
=1 # First line for current file.
20105 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20108 while $ac_more_lines; do
20109 if test $ac_beg -gt 1; then
20110 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20112 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20114 if test ! -s conftest.s
$ac_file; then
20115 ac_more_lines
=false
20116 rm -f conftest.s
$ac_file
20118 if test -z "$ac_sed_cmds"; then
20119 ac_sed_cmds
="sed -f conftest.s$ac_file"
20121 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20123 ac_file
=`expr $ac_file + 1`
20125 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20128 if test -z "$ac_sed_cmds"; then
20133 cat >> $CONFIG_STATUS <<EOF
20135 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20142 cat >> $CONFIG_STATUS <<\EOF
20143 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20144 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20146 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20147 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20148 *) ac_file_in
="${ac_file}.in" ;;
20151 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20153 # Remove last slash and all that follows it. Not all systems have dirname.
20154 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20155 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20156 # The file is in a subdirectory.
20157 test ! -d "$ac_dir" && mkdir "$ac_dir"
20158 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20159 # A "../" for each directory in $ac_dir_suffix.
20160 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20162 ac_dir_suffix
= ac_dots
=
20165 case "$ac_given_srcdir" in
20167 if test -z "$ac_dots"; then top_srcdir
=.
20168 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20169 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20170 *) # Relative path.
20171 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20172 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20175 case "$ac_given_INSTALL" in
20176 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20177 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20180 echo creating
"$ac_file"
20182 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20184 *Makefile
*) ac_comsub
="1i\\
20185 # $configure_input" ;;
20189 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20191 s%@configure_input@%$configure_input%g
20192 s%@srcdir@%$srcdir%g
20193 s%@top_srcdir@%$top_srcdir%g
20194 s%@INSTALL@%$INSTALL%g
20195 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20199 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20200 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20202 # ac_d sets the value in "#define NAME VALUE" lines.
20203 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20204 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20207 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20208 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20209 ac_uB
='\([ ]\)%\1#\2define\3'
20212 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20213 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20214 ac_eB
='$%\1#\2define\3'
20218 if test "${CONFIG_HEADERS+set}" != set; then
20220 cat >> $CONFIG_STATUS <<EOF
20221 CONFIG_HEADERS="setup.h:setup.h.in"
20223 cat >> $CONFIG_STATUS <<\EOF
20225 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20226 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20228 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20229 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20230 *) ac_file_in
="${ac_file}.in" ;;
20233 echo creating
$ac_file
20235 rm -f conftest.frag conftest.
in conftest.out
20236 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20237 cat $ac_file_inputs > conftest.
in
20241 # Transform confdefs.h into a sed script conftest.vals that substitutes
20242 # the proper values into config.h.in to produce config.h. And first:
20243 # Protect against being on the right side of a sed subst in config.status.
20244 # Protect against being in an unquoted here document in config.status.
20245 rm -f conftest.vals
20246 cat > conftest.hdr
<<\EOF
20249 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20253 sed -n -f conftest.hdr confdefs.h > conftest.vals
20256 # This sed command replaces #undef with comments. This is necessary, for
20257 # example, in the case of _POSIX_SOURCE, which is predefined and required
20258 # on some systems where configure will not decide to define it.
20259 cat >> conftest.vals <<\EOF
20260 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20263 # Break up conftest.vals because some shells have a limit on
20264 # the size of here documents, and old seds have small limits too.
20266 rm -f conftest.tail
20269 ac_lines=`grep -c . conftest.vals
`
20270 # grep -c gives empty output for an empty file on some AIX systems.
20271 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20272 # Write a limited-size here document to conftest.frag.
20273 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20274 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20276 sed -f conftest.frag conftest.in > conftest.out
20278 mv conftest.out conftest.in
20279 ' >> $CONFIG_STATUS
20280 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20281 rm -f conftest.vals
20282 mv conftest.tail conftest.vals
20284 rm -f conftest.vals
20286 cat >> $CONFIG_STATUS <<\EOF
20287 rm -f conftest.frag conftest.h
20288 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20289 cat conftest.in >> conftest.h
20291 if cmp -s $ac_file conftest.h 2>/dev/null; then
20292 echo "$ac_file is unchanged"
20295 # Remove last slash and all that follows it. Not all systems have dirname.
20296 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20297 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20298 # The file is in a subdirectory.
20299 test ! -d "$ac_dir" && mkdir "$ac_dir"
20302 mv conftest.h $ac_file
20307 cat >> $CONFIG_STATUS <<EOF
20309 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20314 cat >> $CONFIG_STATUS <<\EOF
20316 if test ! -h wx-config; then
20318 mv wx-config wx${TOOLCHAIN_NAME}-config
20319 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20322 if test ! -d lib; then
20325 if test ! -d lib/wx; then
20328 if test ! -d lib/wx/include; then
20329 mkdir lib/wx/include
20331 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20332 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20334 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20335 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20337 if test -f setup.h; then
20338 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20343 chmod +x $CONFIG_STATUS
20344 rm -fr confdefs* $ac_clean_files
20345 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20347 if test "$no_recursion" != yes; then
20349 # Remove --cache-file and --srcdir arguments so they do not pile up.
20350 ac_sub_configure_args=
20352 for ac_arg in $ac_configure_args; do
20353 if test -n "$ac_prev"; then
20358 -cache-file | --cache-file | --cache-fil | --cache-fi \
20359 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20360 ac_prev=cache_file ;;
20361 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20362 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20364 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20366 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20368 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20372 for ac_config_dir in demos samples utils contrib; do
20374 # Do not complain, so a configure script can configure whichever
20375 # parts of a large source tree are present.
20376 if test ! -d $srcdir/$ac_config_dir; then
20380 echo configuring in $ac_config_dir
20385 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20387 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20395 # A "../" for each directory in /$ac_config_dir.
20396 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20399 .) # No --srcdir option. We are building in place.
20400 ac_sub_srcdir=$srcdir ;;
20401 /*) # Absolute path.
20402 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20403 *) # Relative path.
20404 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20407 # Check for guested configure; otherwise get Cygnus style configure.
20408 if test -f $ac_sub_srcdir/configure; then
20409 ac_sub_configure=$ac_sub_srcdir/configure
20410 elif test -f $ac_sub_srcdir/configure.in; then
20411 ac_sub_configure=$ac_configure
20413 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20417 # The recursion is here.
20418 if test -n "$ac_sub_configure"; then
20420 # Make the cache file name correct relative to the subdirectory.
20421 case "$cache_file" in
20422 /*) ac_sub_cache_file=$cache_file ;;
20423 *) # Relative path.
20424 ac_sub_cache_file="$ac_dots$cache_file" ;;
20426 case "$ac_given_INSTALL" in
20427 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20428 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20431 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
20432 # The eval makes quoting arguments work.
20433 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
20436 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }