3 # From configure.in Id: configure.in
54 # Configure paths for GTK+
59 # Guess values for system-dependent variables and create Makefiles.
60 # Generated automatically using autoconf version 2.13
61 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
63 # This configure script is free software; the Free Software Foundation
64 # gives unlimited permission to copy, distribute and modify it.
68 ac_default_prefix
=/usr
/local
69 # Any additions from configure.in:
71 --enable-gui use GUI classes"
73 --enable-universal use wxWindows GUI controls instead of native ones"
77 --with-motif use Motif/Lesstif"
79 --with-mac use Mac OS X"
83 --with-msw use MS-Windows"
85 --with-pm use OS/2 Presentation Manager"
87 --with-mgl use SciTech MGL"
89 --with-microwin use MicroWindows"
91 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
93 --with-libpng use libpng (PNG image format)"
95 --with-libjpeg use libjpeg (JPEG file format)"
97 --with-libtiff use libtiff (TIFF file format)"
99 --with-freetype use freetype (font rasterizer)"
101 --with-opengl use OpenGL (or Mesa)"
103 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
105 --with-regex enable support for wxRegEx class"
107 --with-zlib use zlib for LZW compression"
109 --with-odbc use the IODBC and wxODBC classes"
111 --enable-shared create shared library code"
113 --enable-soname set the DT_SONAME field in ELF shared libraries"
115 --enable-optimise create optimised code"
117 --enable-debug same as debug_flag and debug_info"
119 --enable-precomp enable use of precompiled headers (Mac OS X)"
121 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
123 --enable-debug_info create code with debugging information"
125 --enable-debug_gdb create code with extra GDB debugging information"
127 --enable-debug_cntxt use wxDebugContext"
129 --enable-mem_tracing create code with memory tracing"
131 --enable-profile create code with profiling information"
133 --enable-no_rtti create code without RTTI information"
135 --enable-no_exceptions create code without C++ exceptions handling"
137 --enable-permissive compile code disregarding strict ANSI"
139 --enable-no_deps create code without dependency information"
141 --enable-compat20 enable wxWindows 2.0 compatibility"
143 --enable-compat22 enable wxWindows 2.2 compatibility"
145 --enable-intl use internationalization system"
147 --enable-config use wxConfig (and derived) classes"
149 --enable-protocols use wxProtocol and derived classes"
151 --enable-ftp use wxFTP (requires wxProtocol"
153 --enable-http use wxHTTP (requires wxProtocol"
155 --enable-fileproto use wxFileProto class (requires wxProtocol"
157 --enable-sockets use socket/network classes"
159 --enable-ipc use interprocess communication (wxSocket etc.)"
161 --enable-cmdline use wxCmdLineParser class"
163 --enable-datetime use wxDateTime class"
165 --enable-timedate use obsolete wxDate/wxTime classes"
167 --enable-stopwatch use wxStopWatch class"
169 --enable-dialupman use dialup network classes"
171 --enable-apple_ieee use the Apple IEEE codec"
173 --enable-timer use wxTimer class"
175 --enable-wave use wxWave class"
177 --enable-fraction use wxFraction class"
179 --enable-dynlib use wxLibrary class for DLL loading"
181 --enable-dynamicloader use (new) wxDynamicLibrary class"
183 --enable-longlong use wxLongLong class"
185 --enable-geometry use geometry class"
187 --enable-log use logging system"
189 --enable-streams use wxStream etc classes"
191 --enable-file use wxFile classes"
193 --enable-ffile use wxFFile classes"
195 --enable-textbuf use wxTextBuffer class"
197 --enable-textfile use wxTextFile class"
199 --enable-fontmap use font encodings conversion classes"
201 --enable-unicode compile wxString with Unicode support"
203 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
205 --enable-wxprintfv use wxWindows implementation of vprintf()"
207 --enable-std_iostreams use standard C++ stream classes"
209 --enable-filesystem use virtual file systems classes"
211 --enable-fs_inet use virtual HTTP/FTP filesystems"
213 --enable-fs_zip use virtual ZIP filesystems"
215 --enable-zipstream use wxZipInputStream"
217 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
219 --enable-snglinst use wxSingleInstanceChecker class"
221 --enable-mimetype use wxMimeTypesManager"
223 --enable-sysoptions use wxSystemOptions"
225 --enable-url use wxURL class"
227 --enable-protocol use wxProtocol class"
229 --enable-protocol-http HTTP support in wxProtocol"
231 --enable-protocol-ftp FTP support in wxProtocol"
233 --enable-protocol-file FILE support in wxProtocol"
235 --enable-threads use threads"
237 --enable-docview use document view architecture"
239 --enable-help use help subsystem"
241 --enable-mshtmlhelp use MS HTML Help (win32)"
243 --enable-html use wxHTML sub-library"
245 --enable-htmlhelp use wxHTML-based help"
247 --enable-constraints use layout-constraints system"
249 --enable-printarch use printing architecture"
251 --enable-mdi use multiple document interface architecture"
253 --enable-loggui use standard GUI logger"
255 --enable-logwin use wxLogWindow"
257 --enable-logdialog use wxLogDialog"
259 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
261 --enable-prologio use Prolog IO library"
263 --enable-resources use wxWindows resources"
265 --enable-xresources use X resources for save (default for gtk+)"
267 --enable-clipboard use wxClipboard classes"
269 --enable-dnd use Drag'n'Drop classes"
271 --enable-metafile use win32 metafiles"
273 --enable-treelayout use wxTreeLayout classes"
275 --enable-controls use all usual controls"
277 --enable-accel use accelerators"
279 --enable-button use wxButton class"
281 --enable-bmpbutton use wxBitmapButton class"
283 --enable-calendar use wxCalendarCtrl class"
285 --enable-caret use wxCaret class"
287 --enable-checkbox use wxCheckBox class"
289 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
291 --enable-choice use wxChoice class"
293 --enable-combobox use wxComboBox classes"
295 --enable-gauge use wxGauge class"
297 --enable-grid use wxGrid class"
299 --enable-newgrid use new wxGrid class"
301 --enable-imaglist use wxImageList class"
303 --enable-listbox use wxListBox class"
305 --enable-listctrl use wxListCtrl class"
307 --enable-notebook use wxNotebook class"
309 --enable-propsheet use wxPropertySheet class"
311 --enable-radiobox use wxRadioBox class"
313 --enable-radiobtn use wxRadioButton class"
315 --enable-sash use wxSashWindow class"
317 --enable-scrollbar use wxScrollBar class and scrollable windows"
319 --enable-slider use wxSlider class"
321 --enable-spinbtn use wxSpinButton class"
323 --enable-spinctrl use wxSpinCtrl class"
325 --enable-splitter use wxSplitterWindow class"
327 --enable-statbmp use wxStaticBitmap class"
329 --enable-statbox use wxStaticBox class"
331 --enable-statline use wxStaticLine class"
333 --enable-stattext use wxStaticText class"
335 --enable-statusbar use wxStatusBar class"
337 --enable-tabdialog use wxTabControl class"
339 --enable-textctrl use wxTextCtrl class"
341 --enable-togglebtn use wxToggleButton class"
343 --enable-toolbar use wxToolBar class"
345 --enable-tbarnative use native wxToolBar class"
347 --enable-tbarsmpl use wxToolBarSimple class"
349 --enable-treectrl use wxTreeCtrl class"
351 --enable-tipwindow use wxTipWindow class"
353 --enable-popupwin use wxPopUpWindow class"
355 --enable-commondlg use all common dialogs"
357 --enable-choicedlg use wxChoiceDialog"
359 --enable-coldlg use wxColourDialog"
361 --enable-filedlg use wxFileDialog"
363 --enable-finddlg use wxFindReplaceDialog"
365 --enable-fontdlg use wxFontDialog"
367 --enable-dirdlg use wxDirDialog"
369 --enable-msgdlg use wxMessageDialog"
371 --enable-numberdlg use wxNumberEntryDialog"
373 --enable-splash use wxSplashScreen"
375 --enable-textdlg use wxTextDialog"
377 --enable-tipdlg use startup tips"
379 --enable-progressdlg use wxProgressDialog"
381 --enable-wizarddlg use wxWizard"
383 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
385 --enable-miniframe use wxMiniFrame class"
387 --enable-tooltips use wxToolTip class"
389 --enable-splines use spline drawing code"
391 --enable-validators use wxValidator and derived classes"
393 --enable-busyinfo use wxBusyInfo"
395 --enable-joystick use wxJoystick (Linux only)"
397 --enable-metafiles use wxMetaFile (Windows only)"
399 --enable-dragimage use wxDragImage"
401 --enable-palette use wxPalette class"
403 --enable-image use wxImage class"
405 --enable-gif use gif images (GIF file format)"
407 --enable-pcx use pcx images (PCX file format)"
409 --enable-iff use iff images (IFF file format)"
411 --enable-pnm use pnm images (PNM file format)"
413 --enable-xpm use xpm images (XPM file format)"
415 --enable-icocur use Windows ICO and CUR formats"
417 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
419 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
421 --disable-gtktest Do not try to compile and run a test GTK program"
423 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
425 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
427 --disable-gtktest Do not try to compile and run a test GTK program"
429 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
431 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
433 --disable-gtktest Do not try to compile and run a test GTK program"
435 --with-x use the X Window System"
437 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
439 # Initialize some variables set by options.
440 # The variables have the same names as the options, with
441 # dashes changed to underlines.
443 cache_file
=.
/config.cache
452 program_transform_name
=s
,x
,x
,
460 bindir
='${exec_prefix}/bin'
461 sbindir
='${exec_prefix}/sbin'
462 libexecdir
='${exec_prefix}/libexec'
463 datadir
='${prefix}/share'
464 sysconfdir
='${prefix}/etc'
465 sharedstatedir
='${prefix}/com'
466 localstatedir
='${prefix}/var'
467 libdir
='${exec_prefix}/lib'
468 includedir
='${prefix}/include'
469 oldincludedir
='/usr/include'
470 infodir
='${prefix}/info'
471 mandir
='${prefix}/man'
473 # Initialize some other variables.
476 SHELL
=${CONFIG_SHELL-/bin/sh}
477 # Maximum number of lines to put in a shell here document.
484 # If the previous option needs an argument, assign it.
485 if test -n "$ac_prev"; then
486 eval "$ac_prev=\$ac_option"
492 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
496 # Accept the important Cygnus configure options, so we can diagnose typos.
500 -bindir | --bindir | --bindi | --bind | --bin | --bi)
502 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
503 bindir
="$ac_optarg" ;;
505 -build | --build | --buil | --bui | --bu)
507 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
508 build
="$ac_optarg" ;;
510 -cache-file | --cache-file | --cache-fil | --cache-fi \
511 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
512 ac_prev
=cache_file
;;
513 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
514 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
515 cache_file
="$ac_optarg" ;;
517 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
519 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
521 datadir
="$ac_optarg" ;;
523 -disable-* | --disable-*)
524 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
525 # Reject names that are not valid shell variable names.
526 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
527 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
529 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
530 eval "enable_${ac_feature}=no" ;;
532 -enable-* | --enable-*)
533 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
534 # Reject names that are not valid shell variable names.
535 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
536 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
538 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
543 eval "enable_${ac_feature}='$ac_optarg'" ;;
545 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
546 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
547 | --exec | --exe | --ex)
548 ac_prev
=exec_prefix
;;
549 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
550 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
551 | --exec=* | --exe=* | --ex=*)
552 exec_prefix
="$ac_optarg" ;;
554 -gas | --gas | --ga | --g)
555 # Obsolete; use --with-gas.
558 -help | --help | --hel | --he)
559 # Omit some internal or obsolete options to make the list less imposing.
560 # This message is too long to be a string in the A/UX 3.1 sh.
562 Usage: configure [options] [host]
563 Options: [defaults in brackets after descriptions]
565 --cache-file=FILE cache test results in FILE
566 --help print this message
567 --no-create do not create output files
568 --quiet, --silent do not print \`checking...' messages
569 --version print the version of autoconf that created configure
570 Directory and file names:
571 --prefix=PREFIX install architecture-independent files in PREFIX
573 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
575 --bindir=DIR user executables in DIR [EPREFIX/bin]
576 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
577 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
578 --datadir=DIR read-only architecture-independent data in DIR
580 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
581 --sharedstatedir=DIR modifiable architecture-independent data in DIR
583 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
584 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
585 --includedir=DIR C header files in DIR [PREFIX/include]
586 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
587 --infodir=DIR info documentation in DIR [PREFIX/info]
588 --mandir=DIR man documentation in DIR [PREFIX/man]
589 --srcdir=DIR find the sources in DIR [configure dir or ..]
590 --program-prefix=PREFIX prepend PREFIX to installed program names
591 --program-suffix=SUFFIX append SUFFIX to installed program names
592 --program-transform-name=PROGRAM
593 run sed PROGRAM on installed program names
597 --build=BUILD configure for building on BUILD [BUILD=HOST]
598 --host=HOST configure for HOST [guessed]
599 --target=TARGET configure for TARGET [TARGET=HOST]
600 Features and packages:
601 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
602 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
603 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
604 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
605 --x-includes=DIR X include files are in DIR
606 --x-libraries=DIR X library files are in DIR
608 if test -n "$ac_help"; then
609 echo "--enable and --with options recognized:$ac_help"
613 -host | --host | --hos | --ho)
615 -host=* | --host=* | --hos=* | --ho=*)
618 -includedir | --includedir | --includedi | --included | --include \
619 | --includ | --inclu | --incl | --inc)
620 ac_prev
=includedir
;;
621 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
622 | --includ=* | --inclu=* | --incl=* | --inc=*)
623 includedir
="$ac_optarg" ;;
625 -infodir | --infodir | --infodi | --infod | --info | --inf)
627 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
628 infodir
="$ac_optarg" ;;
630 -libdir | --libdir | --libdi | --libd)
632 -libdir=* | --libdir=* | --libdi=* | --libd=*)
633 libdir
="$ac_optarg" ;;
635 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
636 | --libexe | --libex | --libe)
637 ac_prev
=libexecdir
;;
638 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
639 | --libexe=* | --libex=* | --libe=*)
640 libexecdir
="$ac_optarg" ;;
642 -localstatedir | --localstatedir | --localstatedi | --localstated \
643 | --localstate | --localstat | --localsta | --localst \
644 | --locals | --local | --loca | --loc | --lo)
645 ac_prev
=localstatedir
;;
646 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
647 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
648 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
649 localstatedir
="$ac_optarg" ;;
651 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
653 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
654 mandir
="$ac_optarg" ;;
657 # Obsolete; use --without-fp.
660 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
664 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
665 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
668 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
669 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
670 | --oldin | --oldi | --old | --ol | --o)
671 ac_prev
=oldincludedir
;;
672 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
673 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
674 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
675 oldincludedir
="$ac_optarg" ;;
677 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
679 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
680 prefix
="$ac_optarg" ;;
682 -program-prefix | --program-prefix | --program-prefi | --program-pref \
683 | --program-pre | --program-pr | --program-p)
684 ac_prev
=program_prefix
;;
685 -program-prefix=* | --program-prefix=* | --program-prefi=* \
686 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
687 program_prefix
="$ac_optarg" ;;
689 -program-suffix | --program-suffix | --program-suffi | --program-suff \
690 | --program-suf | --program-su | --program-s)
691 ac_prev
=program_suffix
;;
692 -program-suffix=* | --program-suffix=* | --program-suffi=* \
693 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
694 program_suffix
="$ac_optarg" ;;
696 -program-transform-name | --program-transform-name \
697 | --program-transform-nam | --program-transform-na \
698 | --program-transform-n | --program-transform- \
699 | --program-transform | --program-transfor \
700 | --program-transfo | --program-transf \
701 | --program-trans | --program-tran \
702 | --progr-tra | --program-tr | --program-t)
703 ac_prev
=program_transform_name
;;
704 -program-transform-name=* | --program-transform-name=* \
705 | --program-transform-nam=* | --program-transform-na=* \
706 | --program-transform-n=* | --program-transform-=* \
707 | --program-transform=* | --program-transfor=* \
708 | --program-transfo=* | --program-transf=* \
709 | --program-trans=* | --program-tran=* \
710 | --progr-tra=* | --program-tr=* | --program-t=*)
711 program_transform_name
="$ac_optarg" ;;
713 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
714 | -silent | --silent | --silen | --sile | --sil)
717 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
719 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
721 sbindir
="$ac_optarg" ;;
723 -sharedstatedir | --sharedstatedir | --sharedstatedi \
724 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
725 | --sharedst | --shareds | --shared | --share | --shar \
727 ac_prev
=sharedstatedir
;;
728 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
729 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
730 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
732 sharedstatedir
="$ac_optarg" ;;
734 -site | --site | --sit)
736 -site=* | --site=* | --sit=*)
739 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
741 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
742 srcdir
="$ac_optarg" ;;
744 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
745 | --syscon | --sysco | --sysc | --sys | --sy)
746 ac_prev
=sysconfdir
;;
747 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
748 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
749 sysconfdir
="$ac_optarg" ;;
751 -target | --target | --targe | --targ | --tar | --ta | --t)
753 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
754 target
="$ac_optarg" ;;
756 -v | -verbose | --verbose | --verbos | --verbo | --verb)
759 -version | --version | --versio | --versi | --vers)
760 echo "configure generated by autoconf version 2.13"
764 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
765 # Reject names that are not valid shell variable names.
766 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
767 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
769 ac_package
=`echo $ac_package| sed 's/-/_/g'`
774 eval "with_${ac_package}='$ac_optarg'" ;;
776 -without-* | --without-*)
777 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
778 # Reject names that are not valid shell variable names.
779 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
780 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
782 ac_package
=`echo $ac_package| sed 's/-/_/g'`
783 eval "with_${ac_package}=no" ;;
786 # Obsolete; use --with-x.
789 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
790 | --x-incl | --x-inc | --x-in | --x-i)
791 ac_prev
=x_includes
;;
792 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
793 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
794 x_includes
="$ac_optarg" ;;
796 -x-libraries | --x-libraries | --x-librarie | --x-librari \
797 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
798 ac_prev
=x_libraries
;;
799 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
800 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
801 x_libraries
="$ac_optarg" ;;
803 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
807 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
808 echo "configure: warning: $ac_option: invalid host type" 1>&2
810 if test "x$nonopt" != xNONE
; then
811 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
819 if test -n "$ac_prev"; then
820 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
823 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
825 # File descriptor usage:
828 # 2 errors and warnings
829 # 3 some systems may open it to /dev/tty
830 # 4 used on the Kubota Titan
831 # 6 checking for... messages and results
832 # 5 compiler messages saved in config.log
833 if test "$silent" = yes; then
841 This file contains any messages produced by compilers while
842 running configure, to aid debugging if configure makes a mistake.
845 # Strip out --no-create and --no-recursion so they do not pile up.
846 # Also quote any args containing shell metacharacters.
851 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
852 | --no-cr | --no-c) ;;
853 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
854 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
855 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
856 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
857 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
862 # Only set these to C if already set. These must not be set unconditionally
863 # because not all systems understand e.g. LANG=C (notably SCO).
864 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
865 # Non-C LC_CTYPE values break the ctype check.
866 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
867 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
868 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
869 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
871 # confdefs.h avoids OS command line length limits that DEFS can exceed.
872 rm -rf conftest
* confdefs.h
873 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
876 # A filename unique to this package, relative to the directory that
877 # configure is in, which we can look for to find out if srcdir is correct.
878 ac_unique_file
=wx
-config.
in
880 # Find the source files, if location was not specified.
881 if test -z "$srcdir"; then
882 ac_srcdir_defaulted
=yes
883 # Try the directory containing this script, then its parent.
885 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
886 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
888 if test ! -r $srcdir/$ac_unique_file; then
892 ac_srcdir_defaulted
=no
894 if test ! -r $srcdir/$ac_unique_file; then
895 if test "$ac_srcdir_defaulted" = yes; then
896 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
898 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
901 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
903 # Prefer explicitly selected file to automatically selected ones.
904 if test -z "$CONFIG_SITE"; then
905 if test "x$prefix" != xNONE
; then
906 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
908 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
911 for ac_site_file
in $CONFIG_SITE; do
912 if test -r "$ac_site_file"; then
913 echo "loading site script $ac_site_file"
918 if test -r "$cache_file"; then
919 echo "loading cache $cache_file"
922 echo "creating cache $cache_file"
927 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
928 ac_cpp
='$CPP $CPPFLAGS'
929 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
930 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
931 cross_compiling
=$ac_cv_prog_cc_cross
935 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
936 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
937 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
944 ac_n
= ac_c
='\c' ac_t
=
950 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
951 if test -f $ac_dir/install-sh; then
953 ac_install_sh
="$ac_aux_dir/install-sh -c"
955 elif test -f $ac_dir/install.sh
; then
957 ac_install_sh
="$ac_aux_dir/install.sh -c"
961 if test -z "$ac_aux_dir"; then
962 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
964 ac_config_guess
=$ac_aux_dir/config.guess
965 ac_config_sub
=$ac_aux_dir/config.sub
966 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
969 # Do some error checking and defaulting for the host and target type.
971 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
974 # 1. You are not allowed to specify --host, --target, and nonopt at the
976 # 2. Host defaults to nonopt.
977 # 3. If nonopt is not specified, then host defaults to the current host,
978 # as determined by config.guess.
979 # 4. Target and build default to nonopt.
980 # 5. If nonopt is not specified, then target and build default to host.
982 # The aliases save the names the user supplied, while $host etc.
983 # will get canonicalized.
984 case $host---$target---$nonopt in
985 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
986 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
990 # Make sure we can run config.sub.
991 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
992 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
995 echo $ac_n "checking host system type""... $ac_c" 1>&6
996 echo "configure:997: checking host system type" >&5
999 case "$host_alias" in
1003 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1004 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1006 *) host_alias
=$nonopt ;;
1010 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1011 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1012 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1013 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1014 echo "$ac_t""$host" 1>&6
1016 echo $ac_n "checking target system type""... $ac_c" 1>&6
1017 echo "configure:1018: checking target system type" >&5
1019 target_alias
=$target
1020 case "$target_alias" in
1023 NONE
) target_alias
=$host_alias ;;
1024 *) target_alias
=$nonopt ;;
1028 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1029 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1030 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1031 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1032 echo "$ac_t""$target" 1>&6
1034 echo $ac_n "checking build system type""... $ac_c" 1>&6
1035 echo "configure:1036: checking build system type" >&5
1038 case "$build_alias" in
1041 NONE
) build_alias
=$host_alias ;;
1042 *) build_alias
=$nonopt ;;
1046 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1047 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1048 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1049 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1050 echo "$ac_t""$build" 1>&6
1052 test "$host_alias" != "$target_alias" &&
1053 test "$program_prefix$program_suffix$program_transform_name" = \
1055 program_prefix
=${target_alias}-
1059 WX_MAJOR_VERSION_NUMBER
=2
1060 WX_MINOR_VERSION_NUMBER
=3
1063 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1064 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1066 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1100 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1102 CPP_MT_FLAG
=-D_REENTRANT
1104 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1109 DEFAULT_wxUSE_MICROWIN
=0
1110 DEFAULT_wxUSE_MOTIF
=0
1113 DEFAULT_wxUSE_WINE
=0
1115 DEFAULT_DEFAULT_wxUSE_GTK
=0
1116 DEFAULT_DEFAULT_wxUSE_MAC
=0
1117 DEFAULT_DEFAULT_wxUSE_MGL
=0
1118 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1119 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1120 DEFAULT_DEFAULT_wxUSE_MSW
=0
1121 DEFAULT_DEFAULT_wxUSE_PM
=0
1122 DEFAULT_DEFAULT_wxUSE_WINE
=0
1130 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1131 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1133 cat >> confdefs.h
<<\EOF
1140 cat >> confdefs.h
<<\EOF
1145 if test "x$TMP" = "xalpha"; then
1147 cat >> confdefs.h
<<\EOF
1152 DEFAULT_DEFAULT_wxUSE_GTK
=1
1154 *-*-irix5* | *-*-irix6* )
1157 cat >> confdefs.h
<<\EOF
1161 cat >> confdefs.h
<<\EOF
1165 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1171 cat >> confdefs.h
<<\EOF
1175 cat >> confdefs.h
<<\EOF
1176 #define __SOLARIS__ 1
1179 cat >> confdefs.h
<<\EOF
1183 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1184 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1190 cat >> confdefs.h
<<\EOF
1194 cat >> confdefs.h
<<\EOF
1198 cat >> confdefs.h
<<\EOF
1202 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1207 CPP_MT_FLAG
=-D_THREAD_SAFE
1208 cat >> confdefs.h
<<\EOF
1209 #define __FREEBSD__ 1
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_GTK
=1
1221 cat >> confdefs.h
<<\EOF
1222 #define __FREEBSD__ 1
1225 cat >> confdefs.h
<<\EOF
1226 #define __OPENBSD__ 1
1229 DEFAULT_DEFAULT_wxUSE_GTK
=1
1234 cat >> confdefs.h
<<\EOF
1235 #define __FREEBSD__ 1
1238 cat >> confdefs.h
<<\EOF
1239 #define __NETBSD__ 1
1242 DEFAULT_DEFAULT_wxUSE_GTK
=1
1247 cat >> confdefs.h
<<\EOF
1251 cat >> confdefs.h
<<\EOF
1255 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1256 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1261 cat >> confdefs.h
<<\EOF
1265 cat >> confdefs.h
<<\EOF
1269 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1274 cat >> confdefs.h
<<\EOF
1278 cat >> confdefs.h
<<\EOF
1282 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1288 cat >> confdefs.h
<<\EOF
1292 cat >> confdefs.h
<<\EOF
1296 cat >> confdefs.h
<<\EOF
1300 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1303 *-*-cygwin* | *-*-mingw32* )
1307 cat >> confdefs.h
<<\EOF
1311 cat >> confdefs.h
<<\EOF
1315 cat >> confdefs.h
<<\EOF
1316 #define __WINDOWS__ 1
1319 cat >> confdefs.h
<<\EOF
1320 #define __GNUWIN32__ 1
1323 cat >> confdefs.h
<<\EOF
1327 cat >> confdefs.h
<<\EOF
1328 #define WINVER 0x0400
1333 DEFAULT_DEFAULT_wxUSE_MSW
=1
1339 cat >> confdefs.h
<<\EOF
1344 DEFAULT_DEFAULT_wxUSE_MGL
=1
1345 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1348 *-pc-os2_emx | *-pc-os2-emx )
1349 cat >> confdefs.h
<<\EOF
1354 DEFAULT_DEFAULT_wxUSE_PM
=1
1362 cat >> confdefs.h
<<\EOF
1366 cat >> confdefs.h
<<\EOF
1367 #define __DARWIN__ 1
1370 cat >> confdefs.h
<<\EOF
1371 #define __POWERPC__ 1
1374 DEFAULT_DEFAULT_wxUSE_MAC
=1
1379 cat >> confdefs.h
<<\EOF
1386 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1389 if test "$USE_UNIX" = 1 ; then
1391 cat >> confdefs.h
<<\EOF
1397 if test "$USE_LINUX" = 1; then
1398 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1399 echo "configure:1400: checking for glibc 2.1 or later" >&5
1400 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1401 echo $ac_n "(cached) $ac_c" 1>&6
1404 cat > conftest.
$ac_ext <<EOF
1405 #line 1406 "configure"
1406 #include "confdefs.h"
1407 #include <features.h>
1410 #if !__GLIBC_PREREQ(2, 1)
1416 if { (eval echo configure
:1417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1422 echo "configure: failed program was:" >&5
1423 cat conftest.
$ac_ext >&5
1434 echo "$ac_t""$wx_lib_glibc21" 1>&6
1435 if test "$wx_lib_glibc21" = "yes"; then
1436 cat >> confdefs.h
<<\EOF
1437 #define wxHAVE_GLIBC2 1
1446 wx_arg_cache_file
="configarg.cache"
1447 echo "loading argument cache $wx_arg_cache_file"
1448 rm -f ${wx_arg_cache_file}.tmp
1449 touch ${wx_arg_cache_file}.tmp
1450 touch ${wx_arg_cache_file}
1454 if test $DEBUG_CONFIGURE = 1; then
1455 DEFAULT_wxUSE_UNIVERSAL
=no
1457 DEFAULT_wxUSE_THREADS
=yes
1459 DEFAULT_wxUSE_SHARED
=yes
1460 DEFAULT_wxUSE_SONAME
=no
1461 DEFAULT_wxUSE_OPTIMISE
=no
1462 DEFAULT_wxUSE_PROFILE
=no
1463 DEFAULT_wxUSE_NO_DEPS
=no
1464 DEFAULT_wxUSE_NO_RTTI
=yes
1465 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1466 DEFAULT_wxUSE_PERMISSIVE
=no
1467 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1468 DEFAULT_wxUSE_DEBUG_INFO
=yes
1469 DEFAULT_wxUSE_DEBUG_GDB
=yes
1470 DEFAULT_wxUSE_MEM_TRACING
=no
1471 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1472 DEFAULT_wxUSE_DMALLOC
=no
1473 DEFAULT_wxUSE_PRECOMP
=no
1474 DEFAULT_wxUSE_APPLE_IEEE
=no
1476 DEFAULT_wxUSE_LOG
=yes
1477 DEFAULT_wxUSE_LOGWINDOW
=no
1478 DEFAULT_wxUSE_LOGGUI
=no
1479 DEFAULT_wxUSE_LOGDIALOG
=no
1481 DEFAULT_wxUSE_GUI
=yes
1482 DEFAULT_wxUSE_CONTROLS
=no
1484 DEFAULT_wxUSE_REGEX
=no
1485 DEFAULT_wxUSE_ZLIB
=no
1486 DEFAULT_wxUSE_LIBPNG
=no
1487 DEFAULT_wxUSE_LIBJPEG
=no
1488 DEFAULT_wxUSE_LIBTIFF
=no
1489 DEFAULT_wxUSE_ODBC
=no
1490 DEFAULT_wxUSE_FREETYPE
=no
1491 DEFAULT_wxUSE_OPENGL
=no
1493 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1494 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1495 DEFAULT_wxUSE_STD_IOSTREAM
=no
1496 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1497 DEFAULT_wxUSE_DATETIME
=no
1498 DEFAULT_wxUSE_TIMEDATE
=no
1499 DEFAULT_wxUSE_TIMER
=no
1500 DEFAULT_wxUSE_STOPWATCH
=no
1501 DEFAULT_wxUSE_FILE
=no
1502 DEFAULT_wxUSE_FFILE
=no
1503 DEFAULT_wxUSE_TEXTBUFFER
=no
1504 DEFAULT_wxUSE_TEXTFILE
=no
1505 DEFAULT_wxUSE_WAVE
=no
1506 DEFAULT_wxUSE_INTL
=no
1507 DEFAULT_wxUSE_CONFIG
=no
1508 DEFAULT_wxUSE_FONTMAP
=no
1509 DEFAULT_wxUSE_STREAMS
=no
1510 DEFAULT_wxUSE_SOCKETS
=no
1511 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1512 DEFAULT_wxUSE_JOYSTICK
=no
1513 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1514 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1515 DEFAULT_wxUSE_LONGLONG
=no
1516 DEFAULT_wxUSE_GEOMETRY
=no
1518 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1519 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1520 DEFAULT_wxUSE_POSTSCRIPT
=no
1522 DEFAULT_wxUSE_X_RESOURCES
=no
1523 DEFAULT_wxUSE_CLIPBOARD
=no
1524 DEFAULT_wxUSE_TOOLTIPS
=no
1525 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1526 DEFAULT_wxUSE_DRAGIMAGE
=no
1527 DEFAULT_wxUSE_SPLINES
=no
1529 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1530 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1531 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1533 DEFAULT_wxUSE_PROLOGIO
=no
1534 DEFAULT_wxUSE_RESOURCES
=no
1535 DEFAULT_wxUSE_CONSTRAINTS
=no
1536 DEFAULT_wxUSE_IPC
=no
1537 DEFAULT_wxUSE_HELP
=no
1538 DEFAULT_wxUSE_MS_HTML_HELP
=no
1539 DEFAULT_wxUSE_WXHTML_HELP
=no
1540 DEFAULT_wxUSE_TREELAYOUT
=no
1541 DEFAULT_wxUSE_METAFILE
=no
1542 DEFAULT_wxUSE_MIMETYPE
=no
1543 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1544 DEFAULT_wxUSE_PROTOCOL
=no
1545 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1546 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1547 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1548 DEFAULT_wxUSE_URL
=no
1550 DEFAULT_wxUSE_COMMONDLGS
=no
1551 DEFAULT_wxUSE_CHOICEDLG
=no
1552 DEFAULT_wxUSE_COLOURDLG
=no
1553 DEFAULT_wxUSE_DIRDLG
=no
1554 DEFAULT_wxUSE_FILEDLG
=no
1555 DEFAULT_wxUSE_FINDREPLDLG
=no
1556 DEFAULT_wxUSE_FONTDLG
=no
1557 DEFAULT_wxUSE_MSGDLG
=no
1558 DEFAULT_wxUSE_NUMBERDLG
=no
1559 DEFAULT_wxUSE_TEXTDLG
=no
1560 DEFAULT_wxUSE_SPLASH
=no
1561 DEFAULT_wxUSE_STARTUP_TIPS
=no
1562 DEFAULT_wxUSE_PROGRESSDLG
=no
1563 DEFAULT_wxUSE_WIZARDDLG
=no
1565 DEFAULT_wxUSE_MENUS
=no
1566 DEFAULT_wxUSE_MINIFRAME
=no
1567 DEFAULT_wxUSE_HTML
=no
1568 DEFAULT_wxUSE_FILESYSTEM
=no
1569 DEFAULT_wxUSE_FS_INET
=no
1570 DEFAULT_wxUSE_FS_ZIP
=no
1571 DEFAULT_wxUSE_BUSYINFO
=no
1572 DEFAULT_wxUSE_ZIPSTREAM
=no
1573 DEFAULT_wxUSE_VALIDATORS
=no
1575 DEFAULT_wxUSE_ACCEL
=no
1576 DEFAULT_wxUSE_BUTTON
=no
1577 DEFAULT_wxUSE_BMPBUTTON
=no
1578 DEFAULT_wxUSE_CALCTRL
=no
1579 DEFAULT_wxUSE_CARET
=no
1580 DEFAULT_wxUSE_CHECKBOX
=no
1581 DEFAULT_wxUSE_CHECKLST
=no
1582 DEFAULT_wxUSE_CHOICE
=no
1583 DEFAULT_wxUSE_COMBOBOX
=no
1584 DEFAULT_wxUSE_GAUGE
=no
1585 DEFAULT_wxUSE_GRID
=no
1586 DEFAULT_wxUSE_NEW_GRID
=no
1587 DEFAULT_wxUSE_IMAGLIST
=no
1588 DEFAULT_wxUSE_LISTBOX
=no
1589 DEFAULT_wxUSE_LISTCTRL
=no
1590 DEFAULT_wxUSE_NOTEBOOK
=no
1591 DEFAULT_wxUSE_PROPSHEET
=no
1592 DEFAULT_wxUSE_RADIOBOX
=no
1593 DEFAULT_wxUSE_RADIOBTN
=no
1594 DEFAULT_wxUSE_SASH
=no
1595 DEFAULT_wxUSE_SCROLLBAR
=no
1596 DEFAULT_wxUSE_SLIDER
=no
1597 DEFAULT_wxUSE_SPINBTN
=no
1598 DEFAULT_wxUSE_SPINCTRL
=no
1599 DEFAULT_wxUSE_SPLITTER
=no
1600 DEFAULT_wxUSE_STATBMP
=no
1601 DEFAULT_wxUSE_STATBOX
=no
1602 DEFAULT_wxUSE_STATLINE
=no
1603 DEFAULT_wxUSE_STATTEXT
=no
1604 DEFAULT_wxUSE_STATUSBAR
=yes
1605 DEFAULT_wxUSE_TABDIALOG
=no
1606 DEFAULT_wxUSE_TEXTCTRL
=no
1607 DEFAULT_wxUSE_TOGGLEBTN
=no
1608 DEFAULT_wxUSE_TOOLBAR
=no
1609 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1610 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1611 DEFAULT_wxUSE_TREECTRL
=no
1612 DEFAULT_wxUSE_POPUPWIN
=no
1613 DEFAULT_wxUSE_TIPWINDOW
=no
1615 DEFAULT_wxUSE_UNICODE
=no
1616 DEFAULT_wxUSE_UNICODE_MSLU
=no
1617 DEFAULT_wxUSE_WCSRTOMBS
=no
1619 DEFAULT_wxUSE_PALETTE
=no
1620 DEFAULT_wxUSE_IMAGE
=no
1621 DEFAULT_wxUSE_GIF
=no
1622 DEFAULT_wxUSE_PCX
=no
1623 DEFAULT_wxUSE_PNM
=no
1624 DEFAULT_wxUSE_IFF
=no
1625 DEFAULT_wxUSE_XPM
=no
1626 DEFAULT_wxUSE_ICO_CUR
=no
1628 DEFAULT_wxUSE_UNIVERSAL
=no
1630 DEFAULT_wxUSE_THREADS
=yes
1632 DEFAULT_wxUSE_SHARED
=yes
1633 DEFAULT_wxUSE_SONAME
=no
1634 DEFAULT_wxUSE_OPTIMISE
=yes
1635 DEFAULT_wxUSE_PROFILE
=no
1636 DEFAULT_wxUSE_NO_DEPS
=no
1637 DEFAULT_wxUSE_NO_RTTI
=yes
1638 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1639 DEFAULT_wxUSE_PERMISSIVE
=no
1640 DEFAULT_wxUSE_DEBUG_FLAG
=no
1641 DEFAULT_wxUSE_DEBUG_INFO
=no
1642 DEFAULT_wxUSE_DEBUG_GDB
=no
1643 DEFAULT_wxUSE_MEM_TRACING
=no
1644 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1645 DEFAULT_wxUSE_DMALLOC
=no
1646 DEFAULT_wxUSE_PRECOMP
=no
1647 DEFAULT_wxUSE_APPLE_IEEE
=yes
1649 DEFAULT_wxUSE_LOG
=yes
1650 DEFAULT_wxUSE_LOGWINDOW
=yes
1651 DEFAULT_wxUSE_LOGGUI
=yes
1652 DEFAULT_wxUSE_LOGDIALOG
=yes
1654 DEFAULT_wxUSE_GUI
=yes
1656 DEFAULT_wxUSE_REGEX
=yes
1657 DEFAULT_wxUSE_ZLIB
=yes
1658 DEFAULT_wxUSE_LIBPNG
=yes
1659 DEFAULT_wxUSE_LIBJPEG
=yes
1660 DEFAULT_wxUSE_LIBTIFF
=yes
1661 DEFAULT_wxUSE_ODBC
=no
1662 DEFAULT_wxUSE_FREETYPE
=no
1663 DEFAULT_wxUSE_OPENGL
=no
1665 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1666 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1667 DEFAULT_wxUSE_STD_IOSTREAM
=no
1668 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1669 DEFAULT_wxUSE_DATETIME
=yes
1670 DEFAULT_wxUSE_TIMEDATE
=no
1671 DEFAULT_wxUSE_TIMER
=yes
1672 DEFAULT_wxUSE_STOPWATCH
=yes
1673 DEFAULT_wxUSE_FILE
=yes
1674 DEFAULT_wxUSE_FFILE
=yes
1675 DEFAULT_wxUSE_TEXTBUFFER
=yes
1676 DEFAULT_wxUSE_TEXTFILE
=yes
1677 DEFAULT_wxUSE_WAVE
=no
1678 DEFAULT_wxUSE_INTL
=yes
1679 DEFAULT_wxUSE_CONFIG
=yes
1680 DEFAULT_wxUSE_FONTMAP
=yes
1681 DEFAULT_wxUSE_STREAMS
=yes
1682 DEFAULT_wxUSE_SOCKETS
=yes
1683 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1684 DEFAULT_wxUSE_JOYSTICK
=yes
1685 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1686 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1687 DEFAULT_wxUSE_LONGLONG
=yes
1688 DEFAULT_wxUSE_GEOMETRY
=yes
1690 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1691 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1692 DEFAULT_wxUSE_POSTSCRIPT
=yes
1694 DEFAULT_wxUSE_X_RESOURCES
=no
1695 DEFAULT_wxUSE_CLIPBOARD
=yes
1696 DEFAULT_wxUSE_TOOLTIPS
=yes
1697 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1698 DEFAULT_wxUSE_DRAGIMAGE
=yes
1699 DEFAULT_wxUSE_SPLINES
=yes
1701 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1702 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1703 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1705 DEFAULT_wxUSE_PROLOGIO
=yes
1706 DEFAULT_wxUSE_RESOURCES
=yes
1707 DEFAULT_wxUSE_CONSTRAINTS
=yes
1708 DEFAULT_wxUSE_IPC
=yes
1709 DEFAULT_wxUSE_HELP
=yes
1710 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1711 DEFAULT_wxUSE_WXHTML_HELP
=yes
1712 DEFAULT_wxUSE_TREELAYOUT
=yes
1713 DEFAULT_wxUSE_METAFILE
=yes
1714 DEFAULT_wxUSE_MIMETYPE
=yes
1715 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1716 DEFAULT_wxUSE_PROTOCOL
=yes
1717 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1718 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1719 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1720 DEFAULT_wxUSE_URL
=yes
1722 DEFAULT_wxUSE_COMMONDLGS
=yes
1723 DEFAULT_wxUSE_CHOICEDLG
=yes
1724 DEFAULT_wxUSE_COLOURDLG
=yes
1725 DEFAULT_wxUSE_DIRDLG
=yes
1726 DEFAULT_wxUSE_FILEDLG
=yes
1727 DEFAULT_wxUSE_FINDREPLDLG
=yes
1728 DEFAULT_wxUSE_FONTDLG
=yes
1729 DEFAULT_wxUSE_MSGDLG
=yes
1730 DEFAULT_wxUSE_NUMBERDLG
=yes
1731 DEFAULT_wxUSE_TEXTDLG
=yes
1732 DEFAULT_wxUSE_SPLASH
=yes
1733 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1734 DEFAULT_wxUSE_PROGRESSDLG
=yes
1735 DEFAULT_wxUSE_WIZARDDLG
=yes
1737 DEFAULT_wxUSE_MENUS
=yes
1738 DEFAULT_wxUSE_MINIFRAME
=yes
1739 DEFAULT_wxUSE_HTML
=yes
1740 DEFAULT_wxUSE_FILESYSTEM
=yes
1741 DEFAULT_wxUSE_FS_INET
=yes
1742 DEFAULT_wxUSE_FS_ZIP
=yes
1743 DEFAULT_wxUSE_BUSYINFO
=yes
1744 DEFAULT_wxUSE_ZIPSTREAM
=yes
1745 DEFAULT_wxUSE_VALIDATORS
=yes
1747 DEFAULT_wxUSE_ACCEL
=yes
1748 DEFAULT_wxUSE_BUTTON
=yes
1749 DEFAULT_wxUSE_BMPBUTTON
=yes
1750 DEFAULT_wxUSE_CALCTRL
=yes
1751 DEFAULT_wxUSE_CARET
=yes
1752 DEFAULT_wxUSE_CHECKBOX
=yes
1753 DEFAULT_wxUSE_CHECKLST
=yes
1754 DEFAULT_wxUSE_CHOICE
=yes
1755 DEFAULT_wxUSE_COMBOBOX
=yes
1756 DEFAULT_wxUSE_GAUGE
=yes
1757 DEFAULT_wxUSE_GRID
=yes
1758 DEFAULT_wxUSE_NEW_GRID
=yes
1759 DEFAULT_wxUSE_IMAGLIST
=yes
1760 DEFAULT_wxUSE_LISTBOX
=yes
1761 DEFAULT_wxUSE_LISTCTRL
=yes
1762 DEFAULT_wxUSE_NOTEBOOK
=yes
1763 DEFAULT_wxUSE_PROPSHEET
=yes
1764 DEFAULT_wxUSE_RADIOBOX
=yes
1765 DEFAULT_wxUSE_RADIOBTN
=yes
1766 DEFAULT_wxUSE_SASH
=yes
1767 DEFAULT_wxUSE_SCROLLBAR
=yes
1768 DEFAULT_wxUSE_SLIDER
=yes
1769 DEFAULT_wxUSE_SPINBTN
=yes
1770 DEFAULT_wxUSE_SPINCTRL
=yes
1771 DEFAULT_wxUSE_SPLITTER
=yes
1772 DEFAULT_wxUSE_STATBMP
=yes
1773 DEFAULT_wxUSE_STATBOX
=yes
1774 DEFAULT_wxUSE_STATLINE
=yes
1775 DEFAULT_wxUSE_STATTEXT
=yes
1776 DEFAULT_wxUSE_STATUSBAR
=yes
1777 DEFAULT_wxUSE_TABDIALOG
=no
1778 DEFAULT_wxUSE_TEXTCTRL
=yes
1779 DEFAULT_wxUSE_TOGGLEBTN
=yes
1780 DEFAULT_wxUSE_TOOLBAR
=yes
1781 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1782 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1783 DEFAULT_wxUSE_TREECTRL
=yes
1784 DEFAULT_wxUSE_POPUPWIN
=yes
1785 DEFAULT_wxUSE_TIPWINDOW
=yes
1787 DEFAULT_wxUSE_UNICODE
=no
1788 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1789 DEFAULT_wxUSE_WCSRTOMBS
=no
1791 DEFAULT_wxUSE_PALETTE
=yes
1792 DEFAULT_wxUSE_IMAGE
=yes
1793 DEFAULT_wxUSE_GIF
=yes
1794 DEFAULT_wxUSE_PCX
=yes
1795 DEFAULT_wxUSE_IFF
=no
1796 DEFAULT_wxUSE_PNM
=yes
1797 DEFAULT_wxUSE_XPM
=yes
1798 DEFAULT_wxUSE_ICO_CUR
=yes
1803 for toolkit
in `echo $ALL_TOOLKITS`; do
1804 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1805 if test "x$LINE" != x
; then
1806 has_toolkit_in_cache
=1
1807 eval "DEFAULT_$LINE"
1808 eval "CACHE_$toolkit=1"
1814 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1815 echo "configure:1816: checking for --enable-gui" >&5
1817 # Check whether --enable-gui or --disable-gui was given.
1818 if test "${enable_gui+set}" = set; then
1819 enableval
="$enable_gui"
1821 if test "$enableval" = yes; then
1822 ac_cv_use_gui
='wxUSE_GUI=yes'
1824 ac_cv_use_gui
='wxUSE_GUI=no'
1829 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1830 if test "x$LINE" != x
; then
1831 eval "DEFAULT_$LINE"
1836 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1841 eval "$ac_cv_use_gui"
1842 if test "$no_cache" != 1; then
1843 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1846 if test "$wxUSE_GUI" = yes; then
1847 echo "$ac_t""yes" 1>&6
1849 echo "$ac_t""no" 1>&6
1853 if test "$wxUSE_GUI" = "yes"; then
1856 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1857 echo "configure:1858: checking for --enable-universal" >&5
1859 # Check whether --enable-universal or --disable-universal was given.
1860 if test "${enable_universal+set}" = set; then
1861 enableval
="$enable_universal"
1863 if test "$enableval" = yes; then
1864 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1866 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1871 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1872 if test "x$LINE" != x
; then
1873 eval "DEFAULT_$LINE"
1878 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1883 eval "$ac_cv_use_universal"
1884 if test "$no_cache" != 1; then
1885 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1888 if test "$wxUSE_UNIVERSAL" = yes; then
1889 echo "$ac_t""yes" 1>&6
1891 echo "$ac_t""no" 1>&6
1894 # Check whether --with-gtk or --without-gtk was given.
1895 if test "${with_gtk+set}" = set; then
1897 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1900 # Check whether --with-motif or --without-motif was given.
1901 if test "${with_motif+set}" = set; then
1902 withval
="$with_motif"
1903 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1906 # Check whether --with-mac or --without-mac was given.
1907 if test "${with_mac+set}" = set; then
1909 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1912 # Check whether --with-wine or --without-wine was given.
1913 if test "${with_wine+set}" = set; then
1914 withval
="$with_wine"
1915 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1918 # Check whether --with-msw or --without-msw was given.
1919 if test "${with_msw+set}" = set; then
1921 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1924 # Check whether --with-pm or --without-pm was given.
1925 if test "${with_pm+set}" = set; then
1927 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1930 # Check whether --with-mgl or --without-mgl was given.
1931 if test "${with_mgl+set}" = set; then
1933 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1936 # Check whether --with-microwin or --without-microwin was given.
1937 if test "${with_microwin+set}" = set; then
1938 withval
="$with_microwin"
1939 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1943 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1944 if test "${enable_gtk2+set}" = set; then
1945 enableval
="$enable_gtk2"
1953 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1954 echo "configure:1955: checking for --with-libpng" >&5
1956 # Check whether --with-libpng or --without-libpng was given.
1957 if test "${with_libpng+set}" = set; then
1958 withval
="$with_libpng"
1960 if test "$withval" = yes; then
1961 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1962 elif test "$withval" = no
; then
1963 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1964 elif test "$withval" = sys
; then
1965 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1966 elif test "$withval" = builtin; then
1967 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1969 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1974 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1975 if test "x$LINE" != x
; then
1976 eval "DEFAULT_$LINE"
1981 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1986 eval "$ac_cv_use_libpng"
1987 if test "$no_cache" != 1; then
1988 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1991 if test "$wxUSE_LIBPNG" = yes; then
1992 echo "$ac_t""yes" 1>&6
1993 elif test "$wxUSE_LIBPNG" = no
; then
1994 echo "$ac_t""no" 1>&6
1995 elif test "$wxUSE_LIBPNG" = sys
; then
1996 echo "$ac_t""system version" 1>&6
1997 elif test "$wxUSE_LIBPNG" = builtin; then
1998 echo "$ac_t""builtin version" 1>&6
2000 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2004 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2005 echo "configure:2006: checking for --with-libjpeg" >&5
2007 # Check whether --with-libjpeg or --without-libjpeg was given.
2008 if test "${with_libjpeg+set}" = set; then
2009 withval
="$with_libjpeg"
2011 if test "$withval" = yes; then
2012 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2013 elif test "$withval" = no
; then
2014 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2015 elif test "$withval" = sys
; then
2016 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2017 elif test "$withval" = builtin; then
2018 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2020 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2025 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2026 if test "x$LINE" != x
; then
2027 eval "DEFAULT_$LINE"
2032 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2037 eval "$ac_cv_use_libjpeg"
2038 if test "$no_cache" != 1; then
2039 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2042 if test "$wxUSE_LIBJPEG" = yes; then
2043 echo "$ac_t""yes" 1>&6
2044 elif test "$wxUSE_LIBJPEG" = no
; then
2045 echo "$ac_t""no" 1>&6
2046 elif test "$wxUSE_LIBJPEG" = sys
; then
2047 echo "$ac_t""system version" 1>&6
2048 elif test "$wxUSE_LIBJPEG" = builtin; then
2049 echo "$ac_t""builtin version" 1>&6
2051 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2055 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2056 echo "configure:2057: checking for --with-libtiff" >&5
2058 # Check whether --with-libtiff or --without-libtiff was given.
2059 if test "${with_libtiff+set}" = set; then
2060 withval
="$with_libtiff"
2062 if test "$withval" = yes; then
2063 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2064 elif test "$withval" = no
; then
2065 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2066 elif test "$withval" = sys
; then
2067 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2068 elif test "$withval" = builtin; then
2069 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2071 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2076 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2077 if test "x$LINE" != x
; then
2078 eval "DEFAULT_$LINE"
2083 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2088 eval "$ac_cv_use_libtiff"
2089 if test "$no_cache" != 1; then
2090 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2093 if test "$wxUSE_LIBTIFF" = yes; then
2094 echo "$ac_t""yes" 1>&6
2095 elif test "$wxUSE_LIBTIFF" = no
; then
2096 echo "$ac_t""no" 1>&6
2097 elif test "$wxUSE_LIBTIFF" = sys
; then
2098 echo "$ac_t""system version" 1>&6
2099 elif test "$wxUSE_LIBTIFF" = builtin; then
2100 echo "$ac_t""builtin version" 1>&6
2102 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2106 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2107 echo "configure:2108: checking for --with-freetype" >&5
2109 # Check whether --with-freetype or --without-freetype was given.
2110 if test "${with_freetype+set}" = set; then
2111 withval
="$with_freetype"
2113 if test "$withval" = yes; then
2114 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2115 elif test "$withval" = no
; then
2116 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2117 elif test "$withval" = sys
; then
2118 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2119 elif test "$withval" = builtin; then
2120 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2122 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2127 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2128 if test "x$LINE" != x
; then
2129 eval "DEFAULT_$LINE"
2134 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2139 eval "$ac_cv_use_freetype"
2140 if test "$no_cache" != 1; then
2141 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2144 if test "$wxUSE_FREETYPE" = yes; then
2145 echo "$ac_t""yes" 1>&6
2146 elif test "$wxUSE_FREETYPE" = no
; then
2147 echo "$ac_t""no" 1>&6
2148 elif test "$wxUSE_FREETYPE" = sys
; then
2149 echo "$ac_t""system version" 1>&6
2150 elif test "$wxUSE_FREETYPE" = builtin; then
2151 echo "$ac_t""builtin version" 1>&6
2153 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2157 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2158 echo "configure:2159: checking for --with-opengl" >&5
2160 # Check whether --with-opengl or --without-opengl was given.
2161 if test "${with_opengl+set}" = set; then
2162 withval
="$with_opengl"
2164 if test "$withval" = yes; then
2165 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2167 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2172 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2173 if test "x$LINE" != x
; then
2174 eval "DEFAULT_$LINE"
2179 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2184 eval "$ac_cv_use_opengl"
2185 if test "$no_cache" != 1; then
2186 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2189 if test "$wxUSE_OPENGL" = yes; then
2190 echo "$ac_t""yes" 1>&6
2192 echo "$ac_t""no" 1>&6
2199 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2200 echo "configure:2201: checking for --with-dmalloc" >&5
2202 # Check whether --with-dmalloc or --without-dmalloc was given.
2203 if test "${with_dmalloc+set}" = set; then
2204 withval
="$with_dmalloc"
2206 if test "$withval" = yes; then
2207 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2209 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2214 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2215 if test "x$LINE" != x
; then
2216 eval "DEFAULT_$LINE"
2221 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2226 eval "$ac_cv_use_dmalloc"
2227 if test "$no_cache" != 1; then
2228 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2231 if test "$wxUSE_DMALLOC" = yes; then
2232 echo "$ac_t""yes" 1>&6
2234 echo "$ac_t""no" 1>&6
2238 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2239 echo "configure:2240: checking for --with-regex" >&5
2241 # Check whether --with-regex or --without-regex was given.
2242 if test "${with_regex+set}" = set; then
2243 withval
="$with_regex"
2245 if test "$withval" = yes; then
2246 ac_cv_use_regex
='wxUSE_REGEX=yes'
2247 elif test "$withval" = no
; then
2248 ac_cv_use_regex
='wxUSE_REGEX=no'
2249 elif test "$withval" = sys
; then
2250 ac_cv_use_regex
='wxUSE_REGEX=sys'
2251 elif test "$withval" = builtin; then
2252 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2254 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2259 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2260 if test "x$LINE" != x
; then
2261 eval "DEFAULT_$LINE"
2266 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2271 eval "$ac_cv_use_regex"
2272 if test "$no_cache" != 1; then
2273 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2276 if test "$wxUSE_REGEX" = yes; then
2277 echo "$ac_t""yes" 1>&6
2278 elif test "$wxUSE_REGEX" = no
; then
2279 echo "$ac_t""no" 1>&6
2280 elif test "$wxUSE_REGEX" = sys
; then
2281 echo "$ac_t""system version" 1>&6
2282 elif test "$wxUSE_REGEX" = builtin; then
2283 echo "$ac_t""builtin version" 1>&6
2285 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2289 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2290 echo "configure:2291: checking for --with-zlib" >&5
2292 # Check whether --with-zlib or --without-zlib was given.
2293 if test "${with_zlib+set}" = set; then
2294 withval
="$with_zlib"
2296 if test "$withval" = yes; then
2297 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2298 elif test "$withval" = no
; then
2299 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2300 elif test "$withval" = sys
; then
2301 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2302 elif test "$withval" = builtin; then
2303 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2305 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2310 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2311 if test "x$LINE" != x
; then
2312 eval "DEFAULT_$LINE"
2317 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2322 eval "$ac_cv_use_zlib"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2327 if test "$wxUSE_ZLIB" = yes; then
2328 echo "$ac_t""yes" 1>&6
2329 elif test "$wxUSE_ZLIB" = no
; then
2330 echo "$ac_t""no" 1>&6
2331 elif test "$wxUSE_ZLIB" = sys
; then
2332 echo "$ac_t""system version" 1>&6
2333 elif test "$wxUSE_ZLIB" = builtin; then
2334 echo "$ac_t""builtin version" 1>&6
2336 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2340 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2341 echo "configure:2342: checking for --with-odbc" >&5
2343 # Check whether --with-odbc or --without-odbc was given.
2344 if test "${with_odbc+set}" = set; then
2345 withval
="$with_odbc"
2347 if test "$withval" = yes; then
2348 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2350 ac_cv_use_odbc
='wxUSE_ODBC=no'
2355 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2356 if test "x$LINE" != x
; then
2357 eval "DEFAULT_$LINE"
2362 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2367 eval "$ac_cv_use_odbc"
2368 if test "$no_cache" != 1; then
2369 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2372 if test "$wxUSE_ODBC" = yes; then
2373 echo "$ac_t""yes" 1>&6
2375 echo "$ac_t""no" 1>&6
2381 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2382 echo "configure:2383: checking for --enable-shared" >&5
2384 # Check whether --enable-shared or --disable-shared was given.
2385 if test "${enable_shared+set}" = set; then
2386 enableval
="$enable_shared"
2388 if test "$enableval" = yes; then
2389 ac_cv_use_shared
='wxUSE_SHARED=yes'
2391 ac_cv_use_shared
='wxUSE_SHARED=no'
2396 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2397 if test "x$LINE" != x
; then
2398 eval "DEFAULT_$LINE"
2403 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2408 eval "$ac_cv_use_shared"
2409 if test "$no_cache" != 1; then
2410 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2413 if test "$wxUSE_SHARED" = yes; then
2414 echo "$ac_t""yes" 1>&6
2416 echo "$ac_t""no" 1>&6
2420 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2421 echo "configure:2422: checking for --enable-soname" >&5
2423 # Check whether --enable-soname or --disable-soname was given.
2424 if test "${enable_soname+set}" = set; then
2425 enableval
="$enable_soname"
2427 if test "$enableval" = yes; then
2428 ac_cv_use_soname
='wxUSE_SONAME=yes'
2430 ac_cv_use_soname
='wxUSE_SONAME=no'
2435 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2436 if test "x$LINE" != x
; then
2437 eval "DEFAULT_$LINE"
2442 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2447 eval "$ac_cv_use_soname"
2448 if test "$no_cache" != 1; then
2449 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2452 if test "$wxUSE_SONAME" = yes; then
2453 echo "$ac_t""yes" 1>&6
2455 echo "$ac_t""no" 1>&6
2459 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2460 echo "configure:2461: checking for --enable-optimise" >&5
2462 # Check whether --enable-optimise or --disable-optimise was given.
2463 if test "${enable_optimise+set}" = set; then
2464 enableval
="$enable_optimise"
2466 if test "$enableval" = yes; then
2467 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2469 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2474 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2475 if test "x$LINE" != x
; then
2476 eval "DEFAULT_$LINE"
2481 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2486 eval "$ac_cv_use_optimise"
2487 if test "$no_cache" != 1; then
2488 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2491 if test "$wxUSE_OPTIMISE" = yes; then
2492 echo "$ac_t""yes" 1>&6
2494 echo "$ac_t""no" 1>&6
2498 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2499 echo "configure:2500: checking for --enable-debug" >&5
2501 # Check whether --enable-debug or --disable-debug was given.
2502 if test "${enable_debug+set}" = set; then
2503 enableval
="$enable_debug"
2505 if test "$enableval" = yes; then
2506 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2508 ac_cv_use_debug
='wxUSE_DEBUG=no'
2513 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2514 if test "x$LINE" != x
; then
2515 eval "DEFAULT_$LINE"
2520 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2525 eval "$ac_cv_use_debug"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2530 if test "$wxUSE_DEBUG" = yes; then
2531 echo "$ac_t""yes" 1>&6
2533 echo "$ac_t""no" 1>&6
2538 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2539 echo "configure:2540: checking for --enable-precomp" >&5
2541 # Check whether --enable-precomp or --disable-precomp was given.
2542 if test "${enable_precomp+set}" = set; then
2543 enableval
="$enable_precomp"
2545 if test "$enableval" = yes; then
2546 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2548 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2553 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2554 if test "x$LINE" != x
; then
2555 eval "DEFAULT_$LINE"
2560 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2565 eval "$ac_cv_use_precomp"
2566 if test "$no_cache" != 1; then
2567 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2570 if test "$wxUSE_PRECOMP" = yes; then
2571 echo "$ac_t""yes" 1>&6
2573 echo "$ac_t""no" 1>&6
2577 if test "$wxUSE_DEBUG" = "yes"; then
2578 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2579 DEFAULT_wxUSE_DEBUG_INFO
=yes
2580 elif test "$wxUSE_DEBUG" = "no"; then
2581 DEFAULT_wxUSE_DEBUG_FLAG
=no
2582 DEFAULT_wxUSE_DEBUG_INFO
=no
2586 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2587 echo "configure:2588: checking for --enable-debug_flag" >&5
2589 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2590 if test "${enable_debug_flag+set}" = set; then
2591 enableval
="$enable_debug_flag"
2593 if test "$enableval" = yes; then
2594 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2596 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2601 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2602 if test "x$LINE" != x
; then
2603 eval "DEFAULT_$LINE"
2608 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2613 eval "$ac_cv_use_debug_flag"
2614 if test "$no_cache" != 1; then
2615 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2618 if test "$wxUSE_DEBUG_FLAG" = yes; then
2619 echo "$ac_t""yes" 1>&6
2621 echo "$ac_t""no" 1>&6
2625 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2626 echo "configure:2627: checking for --enable-debug_info" >&5
2628 # Check whether --enable-debug_info or --disable-debug_info was given.
2629 if test "${enable_debug_info+set}" = set; then
2630 enableval
="$enable_debug_info"
2632 if test "$enableval" = yes; then
2633 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2635 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2640 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2641 if test "x$LINE" != x
; then
2642 eval "DEFAULT_$LINE"
2647 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2652 eval "$ac_cv_use_debug_info"
2653 if test "$no_cache" != 1; then
2654 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2657 if test "$wxUSE_DEBUG_INFO" = yes; then
2658 echo "$ac_t""yes" 1>&6
2660 echo "$ac_t""no" 1>&6
2664 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2665 echo "configure:2666: checking for --enable-debug_gdb" >&5
2667 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2668 if test "${enable_debug_gdb+set}" = set; then
2669 enableval
="$enable_debug_gdb"
2671 if test "$enableval" = yes; then
2672 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2674 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2679 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2680 if test "x$LINE" != x
; then
2681 eval "DEFAULT_$LINE"
2686 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2691 eval "$ac_cv_use_debug_gdb"
2692 if test "$no_cache" != 1; then
2693 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2696 if test "$wxUSE_DEBUG_GDB" = yes; then
2697 echo "$ac_t""yes" 1>&6
2699 echo "$ac_t""no" 1>&6
2703 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2704 echo "configure:2705: checking for --enable-debug_cntxt" >&5
2706 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2707 if test "${enable_debug_cntxt+set}" = set; then
2708 enableval
="$enable_debug_cntxt"
2710 if test "$enableval" = yes; then
2711 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2713 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2718 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x
; then
2720 eval "DEFAULT_$LINE"
2725 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2730 eval "$ac_cv_use_debug_cntxt"
2731 if test "$no_cache" != 1; then
2732 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2735 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2736 echo "$ac_t""yes" 1>&6
2738 echo "$ac_t""no" 1>&6
2742 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2743 echo "configure:2744: checking for --enable-mem_tracing" >&5
2745 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2746 if test "${enable_mem_tracing+set}" = set; then
2747 enableval
="$enable_mem_tracing"
2749 if test "$enableval" = yes; then
2750 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2752 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2757 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2758 if test "x$LINE" != x
; then
2759 eval "DEFAULT_$LINE"
2764 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2769 eval "$ac_cv_use_mem_tracing"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2774 if test "$wxUSE_MEM_TRACING" = yes; then
2775 echo "$ac_t""yes" 1>&6
2777 echo "$ac_t""no" 1>&6
2781 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2782 echo "configure:2783: checking for --enable-profile" >&5
2784 # Check whether --enable-profile or --disable-profile was given.
2785 if test "${enable_profile+set}" = set; then
2786 enableval
="$enable_profile"
2788 if test "$enableval" = yes; then
2789 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2791 ac_cv_use_profile
='wxUSE_PROFILE=no'
2796 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2797 if test "x$LINE" != x
; then
2798 eval "DEFAULT_$LINE"
2803 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2808 eval "$ac_cv_use_profile"
2809 if test "$no_cache" != 1; then
2810 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2813 if test "$wxUSE_PROFILE" = yes; then
2814 echo "$ac_t""yes" 1>&6
2816 echo "$ac_t""no" 1>&6
2820 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2821 echo "configure:2822: checking for --enable-no_rtti" >&5
2823 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2824 if test "${enable_no_rtti+set}" = set; then
2825 enableval
="$enable_no_rtti"
2827 if test "$enableval" = yes; then
2828 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2830 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2835 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2836 if test "x$LINE" != x
; then
2837 eval "DEFAULT_$LINE"
2842 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2847 eval "$ac_cv_use_no_rtti"
2848 if test "$no_cache" != 1; then
2849 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2852 if test "$wxUSE_NO_RTTI" = yes; then
2853 echo "$ac_t""yes" 1>&6
2855 echo "$ac_t""no" 1>&6
2859 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2860 echo "configure:2861: checking for --enable-no_exceptions" >&5
2862 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2863 if test "${enable_no_exceptions+set}" = set; then
2864 enableval
="$enable_no_exceptions"
2866 if test "$enableval" = yes; then
2867 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2869 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2874 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2875 if test "x$LINE" != x
; then
2876 eval "DEFAULT_$LINE"
2881 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2886 eval "$ac_cv_use_no_exceptions"
2887 if test "$no_cache" != 1; then
2888 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2891 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2892 echo "$ac_t""yes" 1>&6
2894 echo "$ac_t""no" 1>&6
2898 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2899 echo "configure:2900: checking for --enable-permissive" >&5
2901 # Check whether --enable-permissive or --disable-permissive was given.
2902 if test "${enable_permissive+set}" = set; then
2903 enableval
="$enable_permissive"
2905 if test "$enableval" = yes; then
2906 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2908 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2913 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2914 if test "x$LINE" != x
; then
2915 eval "DEFAULT_$LINE"
2920 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2925 eval "$ac_cv_use_permissive"
2926 if test "$no_cache" != 1; then
2927 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2930 if test "$wxUSE_PERMISSIVE" = yes; then
2931 echo "$ac_t""yes" 1>&6
2933 echo "$ac_t""no" 1>&6
2937 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2938 echo "configure:2939: checking for --enable-no_deps" >&5
2940 # Check whether --enable-no_deps or --disable-no_deps was given.
2941 if test "${enable_no_deps+set}" = set; then
2942 enableval
="$enable_no_deps"
2944 if test "$enableval" = yes; then
2945 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2947 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2952 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2953 if test "x$LINE" != x
; then
2954 eval "DEFAULT_$LINE"
2959 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2964 eval "$ac_cv_use_no_deps"
2965 if test "$no_cache" != 1; then
2966 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2969 if test "$wxUSE_NO_DEPS" = yes; then
2970 echo "$ac_t""yes" 1>&6
2972 echo "$ac_t""no" 1>&6
2977 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2978 echo "configure:2979: checking for --enable-compat20" >&5
2980 # Check whether --enable-compat20 or --disable-compat20 was given.
2981 if test "${enable_compat20+set}" = set; then
2982 enableval
="$enable_compat20"
2984 if test "$enableval" = yes; then
2985 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2987 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2992 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2993 if test "x$LINE" != x
; then
2994 eval "DEFAULT_$LINE"
2999 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3004 eval "$ac_cv_use_compat20"
3005 if test "$no_cache" != 1; then
3006 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3009 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3010 echo "$ac_t""yes" 1>&6
3012 echo "$ac_t""no" 1>&6
3016 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3017 echo "configure:3018: checking for --enable-compat22" >&5
3019 # Check whether --enable-compat22 or --disable-compat22 was given.
3020 if test "${enable_compat22+set}" = set; then
3021 enableval
="$enable_compat22"
3023 if test "$enableval" = yes; then
3024 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3026 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3031 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x
; then
3033 eval "DEFAULT_$LINE"
3038 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3043 eval "$ac_cv_use_compat22"
3044 if test "$no_cache" != 1; then
3045 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3048 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3049 echo "$ac_t""yes" 1>&6
3051 echo "$ac_t""no" 1>&6
3057 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3058 echo "configure:3059: checking for --enable-intl" >&5
3060 # Check whether --enable-intl or --disable-intl was given.
3061 if test "${enable_intl+set}" = set; then
3062 enableval
="$enable_intl"
3064 if test "$enableval" = yes; then
3065 ac_cv_use_intl
='wxUSE_INTL=yes'
3067 ac_cv_use_intl
='wxUSE_INTL=no'
3072 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3073 if test "x$LINE" != x
; then
3074 eval "DEFAULT_$LINE"
3079 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3084 eval "$ac_cv_use_intl"
3085 if test "$no_cache" != 1; then
3086 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3089 if test "$wxUSE_INTL" = yes; then
3090 echo "$ac_t""yes" 1>&6
3092 echo "$ac_t""no" 1>&6
3096 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3097 echo "configure:3098: checking for --enable-config" >&5
3099 # Check whether --enable-config or --disable-config was given.
3100 if test "${enable_config+set}" = set; then
3101 enableval
="$enable_config"
3103 if test "$enableval" = yes; then
3104 ac_cv_use_config
='wxUSE_CONFIG=yes'
3106 ac_cv_use_config
='wxUSE_CONFIG=no'
3111 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3112 if test "x$LINE" != x
; then
3113 eval "DEFAULT_$LINE"
3118 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3123 eval "$ac_cv_use_config"
3124 if test "$no_cache" != 1; then
3125 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3128 if test "$wxUSE_CONFIG" = yes; then
3129 echo "$ac_t""yes" 1>&6
3131 echo "$ac_t""no" 1>&6
3136 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3137 echo "configure:3138: checking for --enable-protocols" >&5
3139 # Check whether --enable-protocols or --disable-protocols was given.
3140 if test "${enable_protocols+set}" = set; then
3141 enableval
="$enable_protocols"
3143 if test "$enableval" = yes; then
3144 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3146 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3151 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3152 if test "x$LINE" != x
; then
3153 eval "DEFAULT_$LINE"
3158 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3163 eval "$ac_cv_use_protocols"
3164 if test "$no_cache" != 1; then
3165 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3168 if test "$wxUSE_PROTOCOL" = yes; then
3169 echo "$ac_t""yes" 1>&6
3171 echo "$ac_t""no" 1>&6
3175 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3176 echo "configure:3177: checking for --enable-ftp" >&5
3178 # Check whether --enable-ftp or --disable-ftp was given.
3179 if test "${enable_ftp+set}" = set; then
3180 enableval
="$enable_ftp"
3182 if test "$enableval" = yes; then
3183 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3185 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3190 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3191 if test "x$LINE" != x
; then
3192 eval "DEFAULT_$LINE"
3197 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3202 eval "$ac_cv_use_ftp"
3203 if test "$no_cache" != 1; then
3204 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3207 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3208 echo "$ac_t""yes" 1>&6
3210 echo "$ac_t""no" 1>&6
3214 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3215 echo "configure:3216: checking for --enable-http" >&5
3217 # Check whether --enable-http or --disable-http was given.
3218 if test "${enable_http+set}" = set; then
3219 enableval
="$enable_http"
3221 if test "$enableval" = yes; then
3222 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3224 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3229 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3230 if test "x$LINE" != x
; then
3231 eval "DEFAULT_$LINE"
3236 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3241 eval "$ac_cv_use_http"
3242 if test "$no_cache" != 1; then
3243 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3246 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3247 echo "$ac_t""yes" 1>&6
3249 echo "$ac_t""no" 1>&6
3253 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3254 echo "configure:3255: checking for --enable-fileproto" >&5
3256 # Check whether --enable-fileproto or --disable-fileproto was given.
3257 if test "${enable_fileproto+set}" = set; then
3258 enableval
="$enable_fileproto"
3260 if test "$enableval" = yes; then
3261 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3263 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3268 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3269 if test "x$LINE" != x
; then
3270 eval "DEFAULT_$LINE"
3275 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3280 eval "$ac_cv_use_fileproto"
3281 if test "$no_cache" != 1; then
3282 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3285 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3286 echo "$ac_t""yes" 1>&6
3288 echo "$ac_t""no" 1>&6
3292 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3293 echo "configure:3294: checking for --enable-sockets" >&5
3295 # Check whether --enable-sockets or --disable-sockets was given.
3296 if test "${enable_sockets+set}" = set; then
3297 enableval
="$enable_sockets"
3299 if test "$enableval" = yes; then
3300 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3302 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3307 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x
; then
3309 eval "DEFAULT_$LINE"
3314 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3319 eval "$ac_cv_use_sockets"
3320 if test "$no_cache" != 1; then
3321 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3324 if test "$wxUSE_SOCKETS" = yes; then
3325 echo "$ac_t""yes" 1>&6
3327 echo "$ac_t""no" 1>&6
3332 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3333 echo "configure:3334: checking for --enable-ipc" >&5
3335 # Check whether --enable-ipc or --disable-ipc was given.
3336 if test "${enable_ipc+set}" = set; then
3337 enableval
="$enable_ipc"
3339 if test "$enableval" = yes; then
3340 ac_cv_use_ipc
='wxUSE_IPC=yes'
3342 ac_cv_use_ipc
='wxUSE_IPC=no'
3347 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x
; then
3349 eval "DEFAULT_$LINE"
3354 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3359 eval "$ac_cv_use_ipc"
3360 if test "$no_cache" != 1; then
3361 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3364 if test "$wxUSE_IPC" = yes; then
3365 echo "$ac_t""yes" 1>&6
3367 echo "$ac_t""no" 1>&6
3372 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3373 echo "configure:3374: checking for --enable-cmdline" >&5
3375 # Check whether --enable-cmdline or --disable-cmdline was given.
3376 if test "${enable_cmdline+set}" = set; then
3377 enableval
="$enable_cmdline"
3379 if test "$enableval" = yes; then
3380 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3382 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3387 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3388 if test "x$LINE" != x
; then
3389 eval "DEFAULT_$LINE"
3394 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3399 eval "$ac_cv_use_cmdline"
3400 if test "$no_cache" != 1; then
3401 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3404 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3405 echo "$ac_t""yes" 1>&6
3407 echo "$ac_t""no" 1>&6
3411 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3412 echo "configure:3413: checking for --enable-datetime" >&5
3414 # Check whether --enable-datetime or --disable-datetime was given.
3415 if test "${enable_datetime+set}" = set; then
3416 enableval
="$enable_datetime"
3418 if test "$enableval" = yes; then
3419 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3421 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3426 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3427 if test "x$LINE" != x
; then
3428 eval "DEFAULT_$LINE"
3433 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3438 eval "$ac_cv_use_datetime"
3439 if test "$no_cache" != 1; then
3440 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3443 if test "$wxUSE_DATETIME" = yes; then
3444 echo "$ac_t""yes" 1>&6
3446 echo "$ac_t""no" 1>&6
3450 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3451 echo "configure:3452: checking for --enable-timedate" >&5
3453 # Check whether --enable-timedate or --disable-timedate was given.
3454 if test "${enable_timedate+set}" = set; then
3455 enableval
="$enable_timedate"
3457 if test "$enableval" = yes; then
3458 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3460 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3465 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3466 if test "x$LINE" != x
; then
3467 eval "DEFAULT_$LINE"
3472 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3477 eval "$ac_cv_use_timedate"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3482 if test "$wxUSE_TIMEDATE" = yes; then
3483 echo "$ac_t""yes" 1>&6
3485 echo "$ac_t""no" 1>&6
3489 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3490 echo "configure:3491: checking for --enable-stopwatch" >&5
3492 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3493 if test "${enable_stopwatch+set}" = set; then
3494 enableval
="$enable_stopwatch"
3496 if test "$enableval" = yes; then
3497 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3499 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3504 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3505 if test "x$LINE" != x
; then
3506 eval "DEFAULT_$LINE"
3511 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3516 eval "$ac_cv_use_stopwatch"
3517 if test "$no_cache" != 1; then
3518 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3521 if test "$wxUSE_STOPWATCH" = yes; then
3522 echo "$ac_t""yes" 1>&6
3524 echo "$ac_t""no" 1>&6
3528 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3529 echo "configure:3530: checking for --enable-dialupman" >&5
3531 # Check whether --enable-dialupman or --disable-dialupman was given.
3532 if test "${enable_dialupman+set}" = set; then
3533 enableval
="$enable_dialupman"
3535 if test "$enableval" = yes; then
3536 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3538 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3543 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3544 if test "x$LINE" != x
; then
3545 eval "DEFAULT_$LINE"
3550 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3555 eval "$ac_cv_use_dialupman"
3556 if test "$no_cache" != 1; then
3557 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3560 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3561 echo "$ac_t""yes" 1>&6
3563 echo "$ac_t""no" 1>&6
3567 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3568 echo "configure:3569: checking for --enable-apple_ieee" >&5
3570 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3571 if test "${enable_apple_ieee+set}" = set; then
3572 enableval
="$enable_apple_ieee"
3574 if test "$enableval" = yes; then
3575 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3577 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3582 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3583 if test "x$LINE" != x
; then
3584 eval "DEFAULT_$LINE"
3589 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3594 eval "$ac_cv_use_apple_ieee"
3595 if test "$no_cache" != 1; then
3596 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3599 if test "$wxUSE_APPLE_IEEE" = yes; then
3600 echo "$ac_t""yes" 1>&6
3602 echo "$ac_t""no" 1>&6
3606 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3607 echo "configure:3608: checking for --enable-timer" >&5
3609 # Check whether --enable-timer or --disable-timer was given.
3610 if test "${enable_timer+set}" = set; then
3611 enableval
="$enable_timer"
3613 if test "$enableval" = yes; then
3614 ac_cv_use_timer
='wxUSE_TIMER=yes'
3616 ac_cv_use_timer
='wxUSE_TIMER=no'
3621 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3622 if test "x$LINE" != x
; then
3623 eval "DEFAULT_$LINE"
3628 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3633 eval "$ac_cv_use_timer"
3634 if test "$no_cache" != 1; then
3635 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3638 if test "$wxUSE_TIMER" = yes; then
3639 echo "$ac_t""yes" 1>&6
3641 echo "$ac_t""no" 1>&6
3645 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3646 echo "configure:3647: checking for --enable-wave" >&5
3648 # Check whether --enable-wave or --disable-wave was given.
3649 if test "${enable_wave+set}" = set; then
3650 enableval
="$enable_wave"
3652 if test "$enableval" = yes; then
3653 ac_cv_use_wave
='wxUSE_WAVE=yes'
3655 ac_cv_use_wave
='wxUSE_WAVE=no'
3660 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3661 if test "x$LINE" != x
; then
3662 eval "DEFAULT_$LINE"
3667 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3672 eval "$ac_cv_use_wave"
3673 if test "$no_cache" != 1; then
3674 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3677 if test "$wxUSE_WAVE" = yes; then
3678 echo "$ac_t""yes" 1>&6
3680 echo "$ac_t""no" 1>&6
3684 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3685 echo "configure:3686: checking for --enable-fraction" >&5
3687 # Check whether --enable-fraction or --disable-fraction was given.
3688 if test "${enable_fraction+set}" = set; then
3689 enableval
="$enable_fraction"
3691 if test "$enableval" = yes; then
3692 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3694 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3699 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3700 if test "x$LINE" != x
; then
3701 eval "DEFAULT_$LINE"
3706 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3711 eval "$ac_cv_use_fraction"
3712 if test "$no_cache" != 1; then
3713 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3716 if test "$wxUSE_FRACTION" = yes; then
3717 echo "$ac_t""yes" 1>&6
3719 echo "$ac_t""no" 1>&6
3723 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3724 echo "configure:3725: checking for --enable-dynlib" >&5
3726 # Check whether --enable-dynlib or --disable-dynlib was given.
3727 if test "${enable_dynlib+set}" = set; then
3728 enableval
="$enable_dynlib"
3730 if test "$enableval" = yes; then
3731 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3733 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3738 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3739 if test "x$LINE" != x
; then
3740 eval "DEFAULT_$LINE"
3745 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3750 eval "$ac_cv_use_dynlib"
3751 if test "$no_cache" != 1; then
3752 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3755 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3756 echo "$ac_t""yes" 1>&6
3758 echo "$ac_t""no" 1>&6
3762 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3763 echo "configure:3764: checking for --enable-dynamicloader" >&5
3765 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3766 if test "${enable_dynamicloader+set}" = set; then
3767 enableval
="$enable_dynamicloader"
3769 if test "$enableval" = yes; then
3770 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3772 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3777 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x
; then
3779 eval "DEFAULT_$LINE"
3784 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3789 eval "$ac_cv_use_dynamicloader"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3794 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3795 echo "$ac_t""yes" 1>&6
3797 echo "$ac_t""no" 1>&6
3801 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3802 echo "configure:3803: checking for --enable-longlong" >&5
3804 # Check whether --enable-longlong or --disable-longlong was given.
3805 if test "${enable_longlong+set}" = set; then
3806 enableval
="$enable_longlong"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3811 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3816 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x
; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3828 eval "$ac_cv_use_longlong"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3833 if test "$wxUSE_LONGLONG" = yes; then
3834 echo "$ac_t""yes" 1>&6
3836 echo "$ac_t""no" 1>&6
3840 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3841 echo "configure:3842: checking for --enable-geometry" >&5
3843 # Check whether --enable-geometry or --disable-geometry was given.
3844 if test "${enable_geometry+set}" = set; then
3845 enableval
="$enable_geometry"
3847 if test "$enableval" = yes; then
3848 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3850 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3855 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3856 if test "x$LINE" != x
; then
3857 eval "DEFAULT_$LINE"
3862 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3867 eval "$ac_cv_use_geometry"
3868 if test "$no_cache" != 1; then
3869 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3872 if test "$wxUSE_GEOMETRY" = yes; then
3873 echo "$ac_t""yes" 1>&6
3875 echo "$ac_t""no" 1>&6
3879 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3880 echo "configure:3881: checking for --enable-log" >&5
3882 # Check whether --enable-log or --disable-log was given.
3883 if test "${enable_log+set}" = set; then
3884 enableval
="$enable_log"
3886 if test "$enableval" = yes; then
3887 ac_cv_use_log
='wxUSE_LOG=yes'
3889 ac_cv_use_log
='wxUSE_LOG=no'
3894 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3895 if test "x$LINE" != x
; then
3896 eval "DEFAULT_$LINE"
3901 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3906 eval "$ac_cv_use_log"
3907 if test "$no_cache" != 1; then
3908 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3911 if test "$wxUSE_LOG" = yes; then
3912 echo "$ac_t""yes" 1>&6
3914 echo "$ac_t""no" 1>&6
3918 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3919 echo "configure:3920: checking for --enable-streams" >&5
3921 # Check whether --enable-streams or --disable-streams was given.
3922 if test "${enable_streams+set}" = set; then
3923 enableval
="$enable_streams"
3925 if test "$enableval" = yes; then
3926 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3928 ac_cv_use_streams
='wxUSE_STREAMS=no'
3933 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x
; then
3935 eval "DEFAULT_$LINE"
3940 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3945 eval "$ac_cv_use_streams"
3946 if test "$no_cache" != 1; then
3947 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3950 if test "$wxUSE_STREAMS" = yes; then
3951 echo "$ac_t""yes" 1>&6
3953 echo "$ac_t""no" 1>&6
3957 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3958 echo "configure:3959: checking for --enable-file" >&5
3960 # Check whether --enable-file or --disable-file was given.
3961 if test "${enable_file+set}" = set; then
3962 enableval
="$enable_file"
3964 if test "$enableval" = yes; then
3965 ac_cv_use_file
='wxUSE_FILE=yes'
3967 ac_cv_use_file
='wxUSE_FILE=no'
3972 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3973 if test "x$LINE" != x
; then
3974 eval "DEFAULT_$LINE"
3979 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3984 eval "$ac_cv_use_file"
3985 if test "$no_cache" != 1; then
3986 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3989 if test "$wxUSE_FILE" = yes; then
3990 echo "$ac_t""yes" 1>&6
3992 echo "$ac_t""no" 1>&6
3996 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3997 echo "configure:3998: checking for --enable-ffile" >&5
3999 # Check whether --enable-ffile or --disable-ffile was given.
4000 if test "${enable_ffile+set}" = set; then
4001 enableval
="$enable_ffile"
4003 if test "$enableval" = yes; then
4004 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4006 ac_cv_use_ffile
='wxUSE_FFILE=no'
4011 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4012 if test "x$LINE" != x
; then
4013 eval "DEFAULT_$LINE"
4018 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4023 eval "$ac_cv_use_ffile"
4024 if test "$no_cache" != 1; then
4025 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4028 if test "$wxUSE_FFILE" = yes; then
4029 echo "$ac_t""yes" 1>&6
4031 echo "$ac_t""no" 1>&6
4035 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4036 echo "configure:4037: checking for --enable-textbuf" >&5
4038 # Check whether --enable-textbuf or --disable-textbuf was given.
4039 if test "${enable_textbuf+set}" = set; then
4040 enableval
="$enable_textbuf"
4042 if test "$enableval" = yes; then
4043 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4045 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4050 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4051 if test "x$LINE" != x
; then
4052 eval "DEFAULT_$LINE"
4057 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4062 eval "$ac_cv_use_textbuf"
4063 if test "$no_cache" != 1; then
4064 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4067 if test "$wxUSE_TEXTBUFFER" = yes; then
4068 echo "$ac_t""yes" 1>&6
4070 echo "$ac_t""no" 1>&6
4074 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4075 echo "configure:4076: checking for --enable-textfile" >&5
4077 # Check whether --enable-textfile or --disable-textfile was given.
4078 if test "${enable_textfile+set}" = set; then
4079 enableval
="$enable_textfile"
4081 if test "$enableval" = yes; then
4082 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4084 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4089 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4090 if test "x$LINE" != x
; then
4091 eval "DEFAULT_$LINE"
4096 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4101 eval "$ac_cv_use_textfile"
4102 if test "$no_cache" != 1; then
4103 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4106 if test "$wxUSE_TEXTFILE" = yes; then
4107 echo "$ac_t""yes" 1>&6
4109 echo "$ac_t""no" 1>&6
4113 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4114 echo "configure:4115: checking for --enable-fontmap" >&5
4116 # Check whether --enable-fontmap or --disable-fontmap was given.
4117 if test "${enable_fontmap+set}" = set; then
4118 enableval
="$enable_fontmap"
4120 if test "$enableval" = yes; then
4121 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4123 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4128 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4129 if test "x$LINE" != x
; then
4130 eval "DEFAULT_$LINE"
4135 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4140 eval "$ac_cv_use_fontmap"
4141 if test "$no_cache" != 1; then
4142 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4145 if test "$wxUSE_FONTMAP" = yes; then
4146 echo "$ac_t""yes" 1>&6
4148 echo "$ac_t""no" 1>&6
4152 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4153 echo "configure:4154: checking for --enable-unicode" >&5
4155 # Check whether --enable-unicode or --disable-unicode was given.
4156 if test "${enable_unicode+set}" = set; then
4157 enableval
="$enable_unicode"
4159 if test "$enableval" = yes; then
4160 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4162 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4167 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4168 if test "x$LINE" != x
; then
4169 eval "DEFAULT_$LINE"
4174 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4179 eval "$ac_cv_use_unicode"
4180 if test "$no_cache" != 1; then
4181 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4184 if test "$wxUSE_UNICODE" = yes; then
4185 echo "$ac_t""yes" 1>&6
4187 echo "$ac_t""no" 1>&6
4191 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4192 echo "configure:4193: checking for --enable-mslu" >&5
4194 # Check whether --enable-mslu or --disable-mslu was given.
4195 if test "${enable_mslu+set}" = set; then
4196 enableval
="$enable_mslu"
4198 if test "$enableval" = yes; then
4199 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4201 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4206 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4207 if test "x$LINE" != x
; then
4208 eval "DEFAULT_$LINE"
4213 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4218 eval "$ac_cv_use_mslu"
4219 if test "$no_cache" != 1; then
4220 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4223 if test "$wxUSE_UNICODE_MSLU" = yes; then
4224 echo "$ac_t""yes" 1>&6
4226 echo "$ac_t""no" 1>&6
4230 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4231 echo "configure:4232: checking for --enable-wxprintfv" >&5
4233 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4234 if test "${enable_wxprintfv+set}" = set; then
4235 enableval
="$enable_wxprintfv"
4237 if test "$enableval" = yes; then
4238 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4240 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4245 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4246 if test "x$LINE" != x
; then
4247 eval "DEFAULT_$LINE"
4252 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4257 eval "$ac_cv_use_wxprintfv"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4262 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4263 echo "$ac_t""yes" 1>&6
4265 echo "$ac_t""no" 1>&6
4269 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4270 echo "configure:4271: checking for --enable-std_iostreams" >&5
4272 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4273 if test "${enable_std_iostreams+set}" = set; then
4274 enableval
="$enable_std_iostreams"
4276 if test "$enableval" = yes; then
4277 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4279 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4284 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x
; then
4286 eval "DEFAULT_$LINE"
4291 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4296 eval "$ac_cv_use_std_iostreams"
4297 if test "$no_cache" != 1; then
4298 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4301 if test "$wxUSE_STD_IOSTREAM" = yes; then
4302 echo "$ac_t""yes" 1>&6
4304 echo "$ac_t""no" 1>&6
4308 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4309 echo "configure:4310: checking for --enable-filesystem" >&5
4311 # Check whether --enable-filesystem or --disable-filesystem was given.
4312 if test "${enable_filesystem+set}" = set; then
4313 enableval
="$enable_filesystem"
4315 if test "$enableval" = yes; then
4316 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4318 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4323 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4324 if test "x$LINE" != x
; then
4325 eval "DEFAULT_$LINE"
4330 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4335 eval "$ac_cv_use_filesystem"
4336 if test "$no_cache" != 1; then
4337 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4340 if test "$wxUSE_FILESYSTEM" = yes; then
4341 echo "$ac_t""yes" 1>&6
4343 echo "$ac_t""no" 1>&6
4347 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4348 echo "configure:4349: checking for --enable-fs_inet" >&5
4350 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4351 if test "${enable_fs_inet+set}" = set; then
4352 enableval
="$enable_fs_inet"
4354 if test "$enableval" = yes; then
4355 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4357 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4362 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4363 if test "x$LINE" != x
; then
4364 eval "DEFAULT_$LINE"
4369 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4374 eval "$ac_cv_use_fs_inet"
4375 if test "$no_cache" != 1; then
4376 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4379 if test "$wxUSE_FS_INET" = yes; then
4380 echo "$ac_t""yes" 1>&6
4382 echo "$ac_t""no" 1>&6
4386 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4387 echo "configure:4388: checking for --enable-fs_zip" >&5
4389 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4390 if test "${enable_fs_zip+set}" = set; then
4391 enableval
="$enable_fs_zip"
4393 if test "$enableval" = yes; then
4394 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4396 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4401 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4402 if test "x$LINE" != x
; then
4403 eval "DEFAULT_$LINE"
4408 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4413 eval "$ac_cv_use_fs_zip"
4414 if test "$no_cache" != 1; then
4415 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4418 if test "$wxUSE_FS_ZIP" = yes; then
4419 echo "$ac_t""yes" 1>&6
4421 echo "$ac_t""no" 1>&6
4425 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4426 echo "configure:4427: checking for --enable-zipstream" >&5
4428 # Check whether --enable-zipstream or --disable-zipstream was given.
4429 if test "${enable_zipstream+set}" = set; then
4430 enableval
="$enable_zipstream"
4432 if test "$enableval" = yes; then
4433 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4435 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4440 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x
; then
4442 eval "DEFAULT_$LINE"
4447 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4452 eval "$ac_cv_use_zipstream"
4453 if test "$no_cache" != 1; then
4454 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4457 if test "$wxUSE_ZIPSTREAM" = yes; then
4458 echo "$ac_t""yes" 1>&6
4460 echo "$ac_t""no" 1>&6
4465 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4466 echo "configure:4467: checking for --enable-catch_segvs" >&5
4468 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4469 if test "${enable_catch_segvs+set}" = set; then
4470 enableval
="$enable_catch_segvs"
4472 if test "$enableval" = yes; then
4473 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4475 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4480 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4481 if test "x$LINE" != x
; then
4482 eval "DEFAULT_$LINE"
4487 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4492 eval "$ac_cv_use_catch_segvs"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4497 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4498 echo "$ac_t""yes" 1>&6
4500 echo "$ac_t""no" 1>&6
4504 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4505 echo "configure:4506: checking for --enable-snglinst" >&5
4507 # Check whether --enable-snglinst or --disable-snglinst was given.
4508 if test "${enable_snglinst+set}" = set; then
4509 enableval
="$enable_snglinst"
4511 if test "$enableval" = yes; then
4512 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4514 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4519 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4520 if test "x$LINE" != x
; then
4521 eval "DEFAULT_$LINE"
4526 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4531 eval "$ac_cv_use_snglinst"
4532 if test "$no_cache" != 1; then
4533 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4536 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4537 echo "$ac_t""yes" 1>&6
4539 echo "$ac_t""no" 1>&6
4544 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4545 echo "configure:4546: checking for --enable-mimetype" >&5
4547 # Check whether --enable-mimetype or --disable-mimetype was given.
4548 if test "${enable_mimetype+set}" = set; then
4549 enableval
="$enable_mimetype"
4551 if test "$enableval" = yes; then
4552 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4554 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4559 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x
; then
4561 eval "DEFAULT_$LINE"
4566 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4571 eval "$ac_cv_use_mimetype"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_MIMETYPE" = yes; then
4577 echo "$ac_t""yes" 1>&6
4579 echo "$ac_t""no" 1>&6
4583 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4584 echo "configure:4585: checking for --enable-system_options" >&5
4586 # Check whether --enable-system_options or --disable-system_options was given.
4587 if test "${enable_system_options+set}" = set; then
4588 enableval
="$enable_system_options"
4590 if test "$enableval" = yes; then
4591 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4593 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4598 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4599 if test "x$LINE" != x
; then
4600 eval "DEFAULT_$LINE"
4605 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4610 eval "$ac_cv_use_system_options"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4615 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4616 echo "$ac_t""yes" 1>&6
4618 echo "$ac_t""no" 1>&6
4623 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4624 echo "configure:4625: checking for --enable-url" >&5
4626 # Check whether --enable-url or --disable-url was given.
4627 if test "${enable_url+set}" = set; then
4628 enableval
="$enable_url"
4630 if test "$enableval" = yes; then
4631 ac_cv_use_url
='wxUSE_URL=yes'
4633 ac_cv_use_url
='wxUSE_URL=no'
4638 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x
; then
4640 eval "DEFAULT_$LINE"
4645 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4650 eval "$ac_cv_use_url"
4651 if test "$no_cache" != 1; then
4652 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4655 if test "$wxUSE_URL" = yes; then
4656 echo "$ac_t""yes" 1>&6
4658 echo "$ac_t""no" 1>&6
4662 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4663 echo "configure:4664: checking for --enable-protocol" >&5
4665 # Check whether --enable-protocol or --disable-protocol was given.
4666 if test "${enable_protocol+set}" = set; then
4667 enableval
="$enable_protocol"
4669 if test "$enableval" = yes; then
4670 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4672 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4677 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4678 if test "x$LINE" != x
; then
4679 eval "DEFAULT_$LINE"
4684 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4689 eval "$ac_cv_use_protocol"
4690 if test "$no_cache" != 1; then
4691 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4694 if test "$wxUSE_PROTOCOL" = yes; then
4695 echo "$ac_t""yes" 1>&6
4697 echo "$ac_t""no" 1>&6
4701 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4702 echo "configure:4703: checking for --enable-protocol_http" >&5
4704 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4705 if test "${enable_protocol_http+set}" = set; then
4706 enableval
="$enable_protocol_http"
4708 if test "$enableval" = yes; then
4709 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4711 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4716 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x
; then
4718 eval "DEFAULT_$LINE"
4723 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4728 eval "$ac_cv_use_protocol_http"
4729 if test "$no_cache" != 1; then
4730 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4733 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4734 echo "$ac_t""yes" 1>&6
4736 echo "$ac_t""no" 1>&6
4740 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4741 echo "configure:4742: checking for --enable-protocol_ftp" >&5
4743 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4744 if test "${enable_protocol_ftp+set}" = set; then
4745 enableval
="$enable_protocol_ftp"
4747 if test "$enableval" = yes; then
4748 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4750 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4755 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x
; then
4757 eval "DEFAULT_$LINE"
4762 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4767 eval "$ac_cv_use_protocol_ftp"
4768 if test "$no_cache" != 1; then
4769 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4772 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4773 echo "$ac_t""yes" 1>&6
4775 echo "$ac_t""no" 1>&6
4779 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4780 echo "configure:4781: checking for --enable-protocol_file" >&5
4782 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4783 if test "${enable_protocol_file+set}" = set; then
4784 enableval
="$enable_protocol_file"
4786 if test "$enableval" = yes; then
4787 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4789 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4794 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4795 if test "x$LINE" != x
; then
4796 eval "DEFAULT_$LINE"
4801 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4806 eval "$ac_cv_use_protocol_file"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4811 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4812 echo "$ac_t""yes" 1>&6
4814 echo "$ac_t""no" 1>&6
4821 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4822 echo "configure:4823: checking for --enable-threads" >&5
4824 # Check whether --enable-threads or --disable-threads was given.
4825 if test "${enable_threads+set}" = set; then
4826 enableval
="$enable_threads"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_threads
='wxUSE_THREADS=yes'
4831 ac_cv_use_threads
='wxUSE_THREADS=no'
4836 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4848 eval "$ac_cv_use_threads"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_THREADS" = yes; then
4854 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no" 1>&6
4860 if test "$wxUSE_GUI" = "yes"; then
4864 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4865 echo "configure:4866: checking for --enable-docview" >&5
4867 # Check whether --enable-docview or --disable-docview was given.
4868 if test "${enable_docview+set}" = set; then
4869 enableval
="$enable_docview"
4871 if test "$enableval" = yes; then
4872 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4874 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4879 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4880 if test "x$LINE" != x
; then
4881 eval "DEFAULT_$LINE"
4886 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4891 eval "$ac_cv_use_docview"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4896 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4897 echo "$ac_t""yes" 1>&6
4899 echo "$ac_t""no" 1>&6
4903 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4904 echo "configure:4905: checking for --enable-help" >&5
4906 # Check whether --enable-help or --disable-help was given.
4907 if test "${enable_help+set}" = set; then
4908 enableval
="$enable_help"
4910 if test "$enableval" = yes; then
4911 ac_cv_use_help
='wxUSE_HELP=yes'
4913 ac_cv_use_help
='wxUSE_HELP=no'
4918 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4919 if test "x$LINE" != x
; then
4920 eval "DEFAULT_$LINE"
4925 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4930 eval "$ac_cv_use_help"
4931 if test "$no_cache" != 1; then
4932 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4935 if test "$wxUSE_HELP" = yes; then
4936 echo "$ac_t""yes" 1>&6
4938 echo "$ac_t""no" 1>&6
4942 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4943 echo "configure:4944: checking for --enable-mshtmlhelp" >&5
4945 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4946 if test "${enable_mshtmlhelp+set}" = set; then
4947 enableval
="$enable_mshtmlhelp"
4949 if test "$enableval" = yes; then
4950 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4952 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4957 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4958 if test "x$LINE" != x
; then
4959 eval "DEFAULT_$LINE"
4964 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4969 eval "$ac_cv_use_mshtmlhelp"
4970 if test "$no_cache" != 1; then
4971 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4974 if test "$wxUSE_MS_HTML_HELP" = yes; then
4975 echo "$ac_t""yes" 1>&6
4977 echo "$ac_t""no" 1>&6
4981 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4982 echo "configure:4983: checking for --enable-html" >&5
4984 # Check whether --enable-html or --disable-html was given.
4985 if test "${enable_html+set}" = set; then
4986 enableval
="$enable_html"
4988 if test "$enableval" = yes; then
4989 ac_cv_use_html
='wxUSE_HTML=yes'
4991 ac_cv_use_html
='wxUSE_HTML=no'
4996 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4997 if test "x$LINE" != x
; then
4998 eval "DEFAULT_$LINE"
5003 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5008 eval "$ac_cv_use_html"
5009 if test "$no_cache" != 1; then
5010 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5013 if test "$wxUSE_HTML" = yes; then
5014 echo "$ac_t""yes" 1>&6
5016 echo "$ac_t""no" 1>&6
5020 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5021 echo "configure:5022: checking for --enable-htmlhelp" >&5
5023 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5024 if test "${enable_htmlhelp+set}" = set; then
5025 enableval
="$enable_htmlhelp"
5027 if test "$enableval" = yes; then
5028 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5030 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5035 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5036 if test "x$LINE" != x
; then
5037 eval "DEFAULT_$LINE"
5042 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5047 eval "$ac_cv_use_htmlhelp"
5048 if test "$no_cache" != 1; then
5049 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5052 if test "$wxUSE_WXHTML_HELP" = yes; then
5053 echo "$ac_t""yes" 1>&6
5055 echo "$ac_t""no" 1>&6
5059 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5060 echo "configure:5061: checking for --enable-constraints" >&5
5062 # Check whether --enable-constraints or --disable-constraints was given.
5063 if test "${enable_constraints+set}" = set; then
5064 enableval
="$enable_constraints"
5066 if test "$enableval" = yes; then
5067 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5069 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5074 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x
; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5086 eval "$ac_cv_use_constraints"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_CONSTRAINTS" = yes; then
5092 echo "$ac_t""yes" 1>&6
5094 echo "$ac_t""no" 1>&6
5098 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5099 echo "configure:5100: checking for --enable-printarch" >&5
5101 # Check whether --enable-printarch or --disable-printarch was given.
5102 if test "${enable_printarch+set}" = set; then
5103 enableval
="$enable_printarch"
5105 if test "$enableval" = yes; then
5106 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5108 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5113 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5114 if test "x$LINE" != x
; then
5115 eval "DEFAULT_$LINE"
5120 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5125 eval "$ac_cv_use_printarch"
5126 if test "$no_cache" != 1; then
5127 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5130 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5131 echo "$ac_t""yes" 1>&6
5133 echo "$ac_t""no" 1>&6
5137 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5138 echo "configure:5139: checking for --enable-mdi" >&5
5140 # Check whether --enable-mdi or --disable-mdi was given.
5141 if test "${enable_mdi+set}" = set; then
5142 enableval
="$enable_mdi"
5144 if test "$enableval" = yes; then
5145 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5147 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5152 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5153 if test "x$LINE" != x
; then
5154 eval "DEFAULT_$LINE"
5159 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5164 eval "$ac_cv_use_mdi"
5165 if test "$no_cache" != 1; then
5166 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5169 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5170 echo "$ac_t""yes" 1>&6
5172 echo "$ac_t""no" 1>&6
5176 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5177 echo "configure:5178: checking for --enable-loggui" >&5
5179 # Check whether --enable-loggui or --disable-loggui was given.
5180 if test "${enable_loggui+set}" = set; then
5181 enableval
="$enable_loggui"
5183 if test "$enableval" = yes; then
5184 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5186 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5191 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x
; then
5193 eval "DEFAULT_$LINE"
5198 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5203 eval "$ac_cv_use_loggui"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5208 if test "$wxUSE_LOGGUI" = yes; then
5209 echo "$ac_t""yes" 1>&6
5211 echo "$ac_t""no" 1>&6
5215 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5216 echo "configure:5217: checking for --enable-logwin" >&5
5218 # Check whether --enable-logwin or --disable-logwin was given.
5219 if test "${enable_logwin+set}" = set; then
5220 enableval
="$enable_logwin"
5222 if test "$enableval" = yes; then
5223 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5225 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5230 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x
; then
5232 eval "DEFAULT_$LINE"
5237 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5242 eval "$ac_cv_use_logwin"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5247 if test "$wxUSE_LOGWINDOW" = yes; then
5248 echo "$ac_t""yes" 1>&6
5250 echo "$ac_t""no" 1>&6
5254 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5255 echo "configure:5256: checking for --enable-logdialog" >&5
5257 # Check whether --enable-logdialog or --disable-logdialog was given.
5258 if test "${enable_logdialog+set}" = set; then
5259 enableval
="$enable_logdialog"
5261 if test "$enableval" = yes; then
5262 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5264 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5269 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5270 if test "x$LINE" != x
; then
5271 eval "DEFAULT_$LINE"
5276 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5281 eval "$ac_cv_use_logdialog"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5286 if test "$wxUSE_LOGDIALOG" = yes; then
5287 echo "$ac_t""yes" 1>&6
5289 echo "$ac_t""no" 1>&6
5294 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5295 echo "configure:5296: checking for --enable-postscript" >&5
5297 # Check whether --enable-postscript or --disable-postscript was given.
5298 if test "${enable_postscript+set}" = set; then
5299 enableval
="$enable_postscript"
5301 if test "$enableval" = yes; then
5302 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5304 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5309 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5310 if test "x$LINE" != x
; then
5311 eval "DEFAULT_$LINE"
5316 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5321 eval "$ac_cv_use_postscript"
5322 if test "$no_cache" != 1; then
5323 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5326 if test "$wxUSE_POSTSCRIPT" = yes; then
5327 echo "$ac_t""yes" 1>&6
5329 echo "$ac_t""no" 1>&6
5336 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5337 echo "configure:5338: checking for --enable-prologio" >&5
5339 # Check whether --enable-prologio or --disable-prologio was given.
5340 if test "${enable_prologio+set}" = set; then
5341 enableval
="$enable_prologio"
5343 if test "$enableval" = yes; then
5344 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5346 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5351 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x
; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5363 eval "$ac_cv_use_prologio"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_PROLOGIO" = yes; then
5369 echo "$ac_t""yes" 1>&6
5371 echo "$ac_t""no" 1>&6
5375 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5376 echo "configure:5377: checking for --enable-resources" >&5
5378 # Check whether --enable-resources or --disable-resources was given.
5379 if test "${enable_resources+set}" = set; then
5380 enableval
="$enable_resources"
5382 if test "$enableval" = yes; then
5383 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5385 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5390 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x
; then
5392 eval "DEFAULT_$LINE"
5397 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5402 eval "$ac_cv_use_resources"
5403 if test "$no_cache" != 1; then
5404 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5407 if test "$wxUSE_RESOURCES" = yes; then
5408 echo "$ac_t""yes" 1>&6
5410 echo "$ac_t""no" 1>&6
5415 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5416 echo "configure:5417: checking for --enable-xresources" >&5
5418 # Check whether --enable-xresources or --disable-xresources was given.
5419 if test "${enable_xresources+set}" = set; then
5420 enableval
="$enable_xresources"
5422 if test "$enableval" = yes; then
5423 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5425 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5430 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5431 if test "x$LINE" != x
; then
5432 eval "DEFAULT_$LINE"
5437 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5442 eval "$ac_cv_use_xresources"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5447 if test "$wxUSE_X_RESOURCES" = yes; then
5448 echo "$ac_t""yes" 1>&6
5450 echo "$ac_t""no" 1>&6
5456 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5457 echo "configure:5458: checking for --enable-clipboard" >&5
5459 # Check whether --enable-clipboard or --disable-clipboard was given.
5460 if test "${enable_clipboard+set}" = set; then
5461 enableval
="$enable_clipboard"
5463 if test "$enableval" = yes; then
5464 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5466 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5471 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5472 if test "x$LINE" != x
; then
5473 eval "DEFAULT_$LINE"
5478 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5483 eval "$ac_cv_use_clipboard"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5488 if test "$wxUSE_CLIPBOARD" = yes; then
5489 echo "$ac_t""yes" 1>&6
5491 echo "$ac_t""no" 1>&6
5495 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5496 echo "configure:5497: checking for --enable-dnd" >&5
5498 # Check whether --enable-dnd or --disable-dnd was given.
5499 if test "${enable_dnd+set}" = set; then
5500 enableval
="$enable_dnd"
5502 if test "$enableval" = yes; then
5503 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5505 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5510 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5511 if test "x$LINE" != x
; then
5512 eval "DEFAULT_$LINE"
5517 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5522 eval "$ac_cv_use_dnd"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5528 echo "$ac_t""yes" 1>&6
5530 echo "$ac_t""no" 1>&6
5534 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5535 echo "configure:5536: checking for --enable-metafile" >&5
5537 # Check whether --enable-metafile or --disable-metafile was given.
5538 if test "${enable_metafile+set}" = set; then
5539 enableval
="$enable_metafile"
5541 if test "$enableval" = yes; then
5542 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5544 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5549 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5550 if test "x$LINE" != x
; then
5551 eval "DEFAULT_$LINE"
5556 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5561 eval "$ac_cv_use_metafile"
5562 if test "$no_cache" != 1; then
5563 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5566 if test "$wxUSE_METAFILE" = yes; then
5567 echo "$ac_t""yes" 1>&6
5569 echo "$ac_t""no" 1>&6
5574 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5575 echo "configure:5576: checking for --enable-treelayout" >&5
5577 # Check whether --enable-treelayout or --disable-treelayout was given.
5578 if test "${enable_treelayout+set}" = set; then
5579 enableval
="$enable_treelayout"
5581 if test "$enableval" = yes; then
5582 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5584 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5589 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5590 if test "x$LINE" != x
; then
5591 eval "DEFAULT_$LINE"
5596 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5601 eval "$ac_cv_use_treelayout"
5602 if test "$no_cache" != 1; then
5603 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5606 if test "$wxUSE_TREELAYOUT" = yes; then
5607 echo "$ac_t""yes" 1>&6
5609 echo "$ac_t""no" 1>&6
5615 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5616 echo "configure:5617: checking for --enable-controls" >&5
5618 # Check whether --enable-controls or --disable-controls was given.
5619 if test "${enable_controls+set}" = set; then
5620 enableval
="$enable_controls"
5622 if test "$enableval" = yes; then
5623 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5625 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5630 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x
; then
5632 eval "DEFAULT_$LINE"
5637 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5642 eval "$ac_cv_use_controls"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_CONTROLS" = yes; then
5648 echo "$ac_t""yes" 1>&6
5650 echo "$ac_t""no" 1>&6
5654 if test "$wxUSE_CONTROLS" = "yes"; then
5655 DEFAULT_wxUSE_ACCEL
=yes
5656 DEFAULT_wxUSE_BMPBUTTON
=yes
5657 DEFAULT_wxUSE_BUTTON
=yes
5658 DEFAULT_wxUSE_CALCTRL
=no
5659 DEFAULT_wxUSE_CARET
=yes
5660 DEFAULT_wxUSE_COMBOBOX
=yes
5661 DEFAULT_wxUSE_CHECKBOX
=yes
5662 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5663 DEFAULT_wxUSE_CHOICE
=yes
5664 DEFAULT_wxUSE_GAUGE
=yes
5665 DEFAULT_wxUSE_GRID
=yes
5666 DEFAULT_wxUSE_NEW_GRID
=yes
5667 DEFAULT_wxUSE_IMAGLIST
=yes
5668 DEFAULT_wxUSE_LISTBOX
=yes
5669 DEFAULT_wxUSE_LISTCTRL
=yes
5670 DEFAULT_wxUSE_NOTEBOOK
=yes
5671 DEFAULT_wxUSE_PROPSHEET
=yes
5672 DEFAULT_wxUSE_RADIOBOX
=yes
5673 DEFAULT_wxUSE_RADIOBTN
=yes
5674 DEFAULT_wxUSE_SASH
=yes
5675 DEFAULT_wxUSE_SCROLLBAR
=yes
5676 DEFAULT_wxUSE_SLIDER
=yes
5677 DEFAULT_wxUSE_SPINBTN
=yes
5678 DEFAULT_wxUSE_SPINCTRL
=yes
5679 DEFAULT_wxUSE_SPLITTER
=yes
5680 DEFAULT_wxUSE_STATBMP
=yes
5681 DEFAULT_wxUSE_STATBOX
=yes
5682 DEFAULT_wxUSE_STATLINE
=yes
5683 DEFAULT_wxUSE_STATUSBAR
=yes
5684 DEFAULT_wxUSE_TAB_DIALOG
=yes
5685 DEFAULT_wxUSE_TOGGLEBTN
=yes
5686 DEFAULT_wxUSE_TOOLBAR
=yes
5687 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5688 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5689 DEFAULT_wxUSE_TOOLTIPS
=yes
5690 DEFAULT_wxUSE_TREECTRL
=yes
5691 DEFAULT_wxUSE_POPUPWIN
=yes
5692 DEFAULT_wxUSE_TIPWINDOW
=yes
5693 elif test "$wxUSE_CONTROLS" = "no"; then
5694 DEFAULT_wxUSE_ACCEL
=no
5695 DEFAULT_wxUSE_BMPBUTTON
=no
5696 DEFAULT_wxUSE_BUTTON
=no
5697 DEFAULT_wxUSE_CALCTRL
=no
5698 DEFAULT_wxUSE_CARET
=no
5699 DEFAULT_wxUSE_COMBOBOX
=no
5700 DEFAULT_wxUSE_CHECKBOX
=no
5701 DEFAULT_wxUSE_CHECKLISTBOX
=no
5702 DEFAULT_wxUSE_CHOICE
=no
5703 DEFAULT_wxUSE_GAUGE
=no
5704 DEFAULT_wxUSE_GRID
=no
5705 DEFAULT_wxUSE_NEW_GRID
=no
5706 DEFAULT_wxUSE_IMAGLIST
=no
5707 DEFAULT_wxUSE_LISTBOX
=no
5708 DEFAULT_wxUSE_LISTCTRL
=no
5709 DEFAULT_wxUSE_NOTEBOOK
=no
5710 DEFAULT_wxUSE_PROPSHEET
=no
5711 DEFAULT_wxUSE_RADIOBOX
=no
5712 DEFAULT_wxUSE_RADIOBTN
=no
5713 DEFAULT_wxUSE_SASH
=no
5714 DEFAULT_wxUSE_SCROLLBAR
=no
5715 DEFAULT_wxUSE_SLIDER
=no
5716 DEFAULT_wxUSE_SPINBTN
=no
5717 DEFAULT_wxUSE_SPINCTRL
=no
5718 DEFAULT_wxUSE_SPLITTER
=no
5719 DEFAULT_wxUSE_STATBMP
=no
5720 DEFAULT_wxUSE_STATBOX
=no
5721 DEFAULT_wxUSE_STATLINE
=no
5722 DEFAULT_wxUSE_STATUSBAR
=no
5723 DEFAULT_wxUSE_TAB_DIALOG
=no
5724 DEFAULT_wxUSE_TOGGLEBTN
=no
5725 DEFAULT_wxUSE_TOOLBAR
=no
5726 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5727 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5728 DEFAULT_wxUSE_TOOLTIPS
=no
5729 DEFAULT_wxUSE_TREECTRL
=no
5730 DEFAULT_wxUSE_POPUPWIN
=no
5731 DEFAULT_wxUSE_TIPWINDOW
=no
5735 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5736 echo "configure:5737: checking for --enable-accel" >&5
5738 # Check whether --enable-accel or --disable-accel was given.
5739 if test "${enable_accel+set}" = set; then
5740 enableval
="$enable_accel"
5742 if test "$enableval" = yes; then
5743 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5745 ac_cv_use_accel
='wxUSE_ACCEL=no'
5750 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5751 if test "x$LINE" != x
; then
5752 eval "DEFAULT_$LINE"
5757 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5762 eval "$ac_cv_use_accel"
5763 if test "$no_cache" != 1; then
5764 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5767 if test "$wxUSE_ACCEL" = yes; then
5768 echo "$ac_t""yes" 1>&6
5770 echo "$ac_t""no" 1>&6
5774 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5775 echo "configure:5776: checking for --enable-button" >&5
5777 # Check whether --enable-button or --disable-button was given.
5778 if test "${enable_button+set}" = set; then
5779 enableval
="$enable_button"
5781 if test "$enableval" = yes; then
5782 ac_cv_use_button
='wxUSE_BUTTON=yes'
5784 ac_cv_use_button
='wxUSE_BUTTON=no'
5789 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x
; then
5791 eval "DEFAULT_$LINE"
5796 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5801 eval "$ac_cv_use_button"
5802 if test "$no_cache" != 1; then
5803 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5806 if test "$wxUSE_BUTTON" = yes; then
5807 echo "$ac_t""yes" 1>&6
5809 echo "$ac_t""no" 1>&6
5813 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5814 echo "configure:5815: checking for --enable-bmpbutton" >&5
5816 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5817 if test "${enable_bmpbutton+set}" = set; then
5818 enableval
="$enable_bmpbutton"
5820 if test "$enableval" = yes; then
5821 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5823 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5828 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5829 if test "x$LINE" != x
; then
5830 eval "DEFAULT_$LINE"
5835 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5840 eval "$ac_cv_use_bmpbutton"
5841 if test "$no_cache" != 1; then
5842 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5845 if test "$wxUSE_BMPBUTTON" = yes; then
5846 echo "$ac_t""yes" 1>&6
5848 echo "$ac_t""no" 1>&6
5852 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5853 echo "configure:5854: checking for --enable-calendar" >&5
5855 # Check whether --enable-calendar or --disable-calendar was given.
5856 if test "${enable_calendar+set}" = set; then
5857 enableval
="$enable_calendar"
5859 if test "$enableval" = yes; then
5860 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5862 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5867 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5868 if test "x$LINE" != x
; then
5869 eval "DEFAULT_$LINE"
5874 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5879 eval "$ac_cv_use_calendar"
5880 if test "$no_cache" != 1; then
5881 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5884 if test "$wxUSE_CALCTRL" = yes; then
5885 echo "$ac_t""yes" 1>&6
5887 echo "$ac_t""no" 1>&6
5891 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5892 echo "configure:5893: checking for --enable-caret" >&5
5894 # Check whether --enable-caret or --disable-caret was given.
5895 if test "${enable_caret+set}" = set; then
5896 enableval
="$enable_caret"
5898 if test "$enableval" = yes; then
5899 ac_cv_use_caret
='wxUSE_CARET=yes'
5901 ac_cv_use_caret
='wxUSE_CARET=no'
5906 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5907 if test "x$LINE" != x
; then
5908 eval "DEFAULT_$LINE"
5913 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5918 eval "$ac_cv_use_caret"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5923 if test "$wxUSE_CARET" = yes; then
5924 echo "$ac_t""yes" 1>&6
5926 echo "$ac_t""no" 1>&6
5930 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5931 echo "configure:5932: checking for --enable-checkbox" >&5
5933 # Check whether --enable-checkbox or --disable-checkbox was given.
5934 if test "${enable_checkbox+set}" = set; then
5935 enableval
="$enable_checkbox"
5937 if test "$enableval" = yes; then
5938 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5940 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5945 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5946 if test "x$LINE" != x
; then
5947 eval "DEFAULT_$LINE"
5952 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5957 eval "$ac_cv_use_checkbox"
5958 if test "$no_cache" != 1; then
5959 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5962 if test "$wxUSE_CHECKBOX" = yes; then
5963 echo "$ac_t""yes" 1>&6
5965 echo "$ac_t""no" 1>&6
5969 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5970 echo "configure:5971: checking for --enable-checklst" >&5
5972 # Check whether --enable-checklst or --disable-checklst was given.
5973 if test "${enable_checklst+set}" = set; then
5974 enableval
="$enable_checklst"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5979 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5984 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x
; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5996 eval "$ac_cv_use_checklst"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_CHECKLST" = yes; then
6002 echo "$ac_t""yes" 1>&6
6004 echo "$ac_t""no" 1>&6
6008 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6009 echo "configure:6010: checking for --enable-choice" >&5
6011 # Check whether --enable-choice or --disable-choice was given.
6012 if test "${enable_choice+set}" = set; then
6013 enableval
="$enable_choice"
6015 if test "$enableval" = yes; then
6016 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6018 ac_cv_use_choice
='wxUSE_CHOICE=no'
6023 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6024 if test "x$LINE" != x
; then
6025 eval "DEFAULT_$LINE"
6030 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6035 eval "$ac_cv_use_choice"
6036 if test "$no_cache" != 1; then
6037 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6040 if test "$wxUSE_CHOICE" = yes; then
6041 echo "$ac_t""yes" 1>&6
6043 echo "$ac_t""no" 1>&6
6047 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6048 echo "configure:6049: checking for --enable-combobox" >&5
6050 # Check whether --enable-combobox or --disable-combobox was given.
6051 if test "${enable_combobox+set}" = set; then
6052 enableval
="$enable_combobox"
6054 if test "$enableval" = yes; then
6055 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6057 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6062 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6063 if test "x$LINE" != x
; then
6064 eval "DEFAULT_$LINE"
6069 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6074 eval "$ac_cv_use_combobox"
6075 if test "$no_cache" != 1; then
6076 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6079 if test "$wxUSE_COMBOBOX" = yes; then
6080 echo "$ac_t""yes" 1>&6
6082 echo "$ac_t""no" 1>&6
6086 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6087 echo "configure:6088: checking for --enable-gauge" >&5
6089 # Check whether --enable-gauge or --disable-gauge was given.
6090 if test "${enable_gauge+set}" = set; then
6091 enableval
="$enable_gauge"
6093 if test "$enableval" = yes; then
6094 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6096 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6101 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x
; then
6103 eval "DEFAULT_$LINE"
6108 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6113 eval "$ac_cv_use_gauge"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6118 if test "$wxUSE_GAUGE" = yes; then
6119 echo "$ac_t""yes" 1>&6
6121 echo "$ac_t""no" 1>&6
6125 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6126 echo "configure:6127: checking for --enable-grid" >&5
6128 # Check whether --enable-grid or --disable-grid was given.
6129 if test "${enable_grid+set}" = set; then
6130 enableval
="$enable_grid"
6132 if test "$enableval" = yes; then
6133 ac_cv_use_grid
='wxUSE_GRID=yes'
6135 ac_cv_use_grid
='wxUSE_GRID=no'
6140 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6141 if test "x$LINE" != x
; then
6142 eval "DEFAULT_$LINE"
6147 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6152 eval "$ac_cv_use_grid"
6153 if test "$no_cache" != 1; then
6154 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6157 if test "$wxUSE_GRID" = yes; then
6158 echo "$ac_t""yes" 1>&6
6160 echo "$ac_t""no" 1>&6
6164 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6165 echo "configure:6166: checking for --enable-newgrid" >&5
6167 # Check whether --enable-newgrid or --disable-newgrid was given.
6168 if test "${enable_newgrid+set}" = set; then
6169 enableval
="$enable_newgrid"
6171 if test "$enableval" = yes; then
6172 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6174 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6179 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6180 if test "x$LINE" != x
; then
6181 eval "DEFAULT_$LINE"
6186 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6191 eval "$ac_cv_use_newgrid"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6196 if test "$wxUSE_NEW_GRID" = yes; then
6197 echo "$ac_t""yes" 1>&6
6199 echo "$ac_t""no" 1>&6
6203 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6204 echo "configure:6205: checking for --enable-imaglist" >&5
6206 # Check whether --enable-imaglist or --disable-imaglist was given.
6207 if test "${enable_imaglist+set}" = set; then
6208 enableval
="$enable_imaglist"
6210 if test "$enableval" = yes; then
6211 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6213 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6218 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6219 if test "x$LINE" != x
; then
6220 eval "DEFAULT_$LINE"
6225 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6230 eval "$ac_cv_use_imaglist"
6231 if test "$no_cache" != 1; then
6232 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6235 if test "$wxUSE_IMAGLIST" = yes; then
6236 echo "$ac_t""yes" 1>&6
6238 echo "$ac_t""no" 1>&6
6242 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6243 echo "configure:6244: checking for --enable-listbox" >&5
6245 # Check whether --enable-listbox or --disable-listbox was given.
6246 if test "${enable_listbox+set}" = set; then
6247 enableval
="$enable_listbox"
6249 if test "$enableval" = yes; then
6250 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6252 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6257 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6258 if test "x$LINE" != x
; then
6259 eval "DEFAULT_$LINE"
6264 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6269 eval "$ac_cv_use_listbox"
6270 if test "$no_cache" != 1; then
6271 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6274 if test "$wxUSE_LISTBOX" = yes; then
6275 echo "$ac_t""yes" 1>&6
6277 echo "$ac_t""no" 1>&6
6281 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6282 echo "configure:6283: checking for --enable-listctrl" >&5
6284 # Check whether --enable-listctrl or --disable-listctrl was given.
6285 if test "${enable_listctrl+set}" = set; then
6286 enableval
="$enable_listctrl"
6288 if test "$enableval" = yes; then
6289 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6291 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6296 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x
; then
6298 eval "DEFAULT_$LINE"
6303 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6308 eval "$ac_cv_use_listctrl"
6309 if test "$no_cache" != 1; then
6310 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6313 if test "$wxUSE_LISTCTRL" = yes; then
6314 echo "$ac_t""yes" 1>&6
6316 echo "$ac_t""no" 1>&6
6320 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6321 echo "configure:6322: checking for --enable-notebook" >&5
6323 # Check whether --enable-notebook or --disable-notebook was given.
6324 if test "${enable_notebook+set}" = set; then
6325 enableval
="$enable_notebook"
6327 if test "$enableval" = yes; then
6328 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6330 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6335 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6336 if test "x$LINE" != x
; then
6337 eval "DEFAULT_$LINE"
6342 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6347 eval "$ac_cv_use_notebook"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6352 if test "$wxUSE_NOTEBOOK" = yes; then
6353 echo "$ac_t""yes" 1>&6
6355 echo "$ac_t""no" 1>&6
6359 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6360 echo "configure:6361: checking for --enable-propsheet" >&5
6362 # Check whether --enable-propsheet or --disable-propsheet was given.
6363 if test "${enable_propsheet+set}" = set; then
6364 enableval
="$enable_propsheet"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6369 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6374 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x
; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6386 eval "$ac_cv_use_propsheet"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6391 if test "$wxUSE_PROPSHEET" = yes; then
6392 echo "$ac_t""yes" 1>&6
6394 echo "$ac_t""no" 1>&6
6398 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6399 echo "configure:6400: checking for --enable-radiobox" >&5
6401 # Check whether --enable-radiobox or --disable-radiobox was given.
6402 if test "${enable_radiobox+set}" = set; then
6403 enableval
="$enable_radiobox"
6405 if test "$enableval" = yes; then
6406 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6408 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6413 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6414 if test "x$LINE" != x
; then
6415 eval "DEFAULT_$LINE"
6420 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6425 eval "$ac_cv_use_radiobox"
6426 if test "$no_cache" != 1; then
6427 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6430 if test "$wxUSE_RADIOBOX" = yes; then
6431 echo "$ac_t""yes" 1>&6
6433 echo "$ac_t""no" 1>&6
6437 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6438 echo "configure:6439: checking for --enable-radiobtn" >&5
6440 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6441 if test "${enable_radiobtn+set}" = set; then
6442 enableval
="$enable_radiobtn"
6444 if test "$enableval" = yes; then
6445 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6447 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6452 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6453 if test "x$LINE" != x
; then
6454 eval "DEFAULT_$LINE"
6459 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6464 eval "$ac_cv_use_radiobtn"
6465 if test "$no_cache" != 1; then
6466 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6469 if test "$wxUSE_RADIOBTN" = yes; then
6470 echo "$ac_t""yes" 1>&6
6472 echo "$ac_t""no" 1>&6
6476 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6477 echo "configure:6478: checking for --enable-sash" >&5
6479 # Check whether --enable-sash or --disable-sash was given.
6480 if test "${enable_sash+set}" = set; then
6481 enableval
="$enable_sash"
6483 if test "$enableval" = yes; then
6484 ac_cv_use_sash
='wxUSE_SASH=yes'
6486 ac_cv_use_sash
='wxUSE_SASH=no'
6491 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6492 if test "x$LINE" != x
; then
6493 eval "DEFAULT_$LINE"
6498 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6503 eval "$ac_cv_use_sash"
6504 if test "$no_cache" != 1; then
6505 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6508 if test "$wxUSE_SASH" = yes; then
6509 echo "$ac_t""yes" 1>&6
6511 echo "$ac_t""no" 1>&6
6515 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6516 echo "configure:6517: checking for --enable-scrollbar" >&5
6518 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6519 if test "${enable_scrollbar+set}" = set; then
6520 enableval
="$enable_scrollbar"
6522 if test "$enableval" = yes; then
6523 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6525 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6530 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6531 if test "x$LINE" != x
; then
6532 eval "DEFAULT_$LINE"
6537 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6542 eval "$ac_cv_use_scrollbar"
6543 if test "$no_cache" != 1; then
6544 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6547 if test "$wxUSE_SCROLLBAR" = yes; then
6548 echo "$ac_t""yes" 1>&6
6550 echo "$ac_t""no" 1>&6
6554 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6555 echo "configure:6556: checking for --enable-slider" >&5
6557 # Check whether --enable-slider or --disable-slider was given.
6558 if test "${enable_slider+set}" = set; then
6559 enableval
="$enable_slider"
6561 if test "$enableval" = yes; then
6562 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6564 ac_cv_use_slider
='wxUSE_SLIDER=no'
6569 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6570 if test "x$LINE" != x
; then
6571 eval "DEFAULT_$LINE"
6576 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6581 eval "$ac_cv_use_slider"
6582 if test "$no_cache" != 1; then
6583 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6586 if test "$wxUSE_SLIDER" = yes; then
6587 echo "$ac_t""yes" 1>&6
6589 echo "$ac_t""no" 1>&6
6593 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6594 echo "configure:6595: checking for --enable-spinbtn" >&5
6596 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6597 if test "${enable_spinbtn+set}" = set; then
6598 enableval
="$enable_spinbtn"
6600 if test "$enableval" = yes; then
6601 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6603 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6608 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6609 if test "x$LINE" != x
; then
6610 eval "DEFAULT_$LINE"
6615 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6620 eval "$ac_cv_use_spinbtn"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6625 if test "$wxUSE_SPINBTN" = yes; then
6626 echo "$ac_t""yes" 1>&6
6628 echo "$ac_t""no" 1>&6
6632 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6633 echo "configure:6634: checking for --enable-spinctrl" >&5
6635 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6636 if test "${enable_spinctrl+set}" = set; then
6637 enableval
="$enable_spinctrl"
6639 if test "$enableval" = yes; then
6640 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6642 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6647 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x
; then
6649 eval "DEFAULT_$LINE"
6654 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6659 eval "$ac_cv_use_spinctrl"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6664 if test "$wxUSE_SPINCTRL" = yes; then
6665 echo "$ac_t""yes" 1>&6
6667 echo "$ac_t""no" 1>&6
6671 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6672 echo "configure:6673: checking for --enable-splitter" >&5
6674 # Check whether --enable-splitter or --disable-splitter was given.
6675 if test "${enable_splitter+set}" = set; then
6676 enableval
="$enable_splitter"
6678 if test "$enableval" = yes; then
6679 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6681 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6686 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6687 if test "x$LINE" != x
; then
6688 eval "DEFAULT_$LINE"
6693 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6698 eval "$ac_cv_use_splitter"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6703 if test "$wxUSE_SPLITTER" = yes; then
6704 echo "$ac_t""yes" 1>&6
6706 echo "$ac_t""no" 1>&6
6710 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6711 echo "configure:6712: checking for --enable-statbmp" >&5
6713 # Check whether --enable-statbmp or --disable-statbmp was given.
6714 if test "${enable_statbmp+set}" = set; then
6715 enableval
="$enable_statbmp"
6717 if test "$enableval" = yes; then
6718 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6720 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6725 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x
; then
6727 eval "DEFAULT_$LINE"
6732 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6737 eval "$ac_cv_use_statbmp"
6738 if test "$no_cache" != 1; then
6739 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6742 if test "$wxUSE_STATBMP" = yes; then
6743 echo "$ac_t""yes" 1>&6
6745 echo "$ac_t""no" 1>&6
6749 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6750 echo "configure:6751: checking for --enable-statbox" >&5
6752 # Check whether --enable-statbox or --disable-statbox was given.
6753 if test "${enable_statbox+set}" = set; then
6754 enableval
="$enable_statbox"
6756 if test "$enableval" = yes; then
6757 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6759 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6764 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6765 if test "x$LINE" != x
; then
6766 eval "DEFAULT_$LINE"
6771 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6776 eval "$ac_cv_use_statbox"
6777 if test "$no_cache" != 1; then
6778 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6781 if test "$wxUSE_STATBOX" = yes; then
6782 echo "$ac_t""yes" 1>&6
6784 echo "$ac_t""no" 1>&6
6788 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6789 echo "configure:6790: checking for --enable-statline" >&5
6791 # Check whether --enable-statline or --disable-statline was given.
6792 if test "${enable_statline+set}" = set; then
6793 enableval
="$enable_statline"
6795 if test "$enableval" = yes; then
6796 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6798 ac_cv_use_statline
='wxUSE_STATLINE=no'
6803 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6804 if test "x$LINE" != x
; then
6805 eval "DEFAULT_$LINE"
6810 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6815 eval "$ac_cv_use_statline"
6816 if test "$no_cache" != 1; then
6817 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6820 if test "$wxUSE_STATLINE" = yes; then
6821 echo "$ac_t""yes" 1>&6
6823 echo "$ac_t""no" 1>&6
6827 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6828 echo "configure:6829: checking for --enable-stattext" >&5
6830 # Check whether --enable-stattext or --disable-stattext was given.
6831 if test "${enable_stattext+set}" = set; then
6832 enableval
="$enable_stattext"
6834 if test "$enableval" = yes; then
6835 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6837 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6842 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6843 if test "x$LINE" != x
; then
6844 eval "DEFAULT_$LINE"
6849 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6854 eval "$ac_cv_use_stattext"
6855 if test "$no_cache" != 1; then
6856 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6859 if test "$wxUSE_STATTEXT" = yes; then
6860 echo "$ac_t""yes" 1>&6
6862 echo "$ac_t""no" 1>&6
6866 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6867 echo "configure:6868: checking for --enable-statusbar" >&5
6869 # Check whether --enable-statusbar or --disable-statusbar was given.
6870 if test "${enable_statusbar+set}" = set; then
6871 enableval
="$enable_statusbar"
6873 if test "$enableval" = yes; then
6874 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6876 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6881 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6882 if test "x$LINE" != x
; then
6883 eval "DEFAULT_$LINE"
6888 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6893 eval "$ac_cv_use_statusbar"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6898 if test "$wxUSE_STATUSBAR" = yes; then
6899 echo "$ac_t""yes" 1>&6
6901 echo "$ac_t""no" 1>&6
6905 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6906 echo "configure:6907: checking for --enable-tabdialog" >&5
6908 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6909 if test "${enable_tabdialog+set}" = set; then
6910 enableval
="$enable_tabdialog"
6912 if test "$enableval" = yes; then
6913 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6915 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6920 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x
; then
6922 eval "DEFAULT_$LINE"
6927 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6932 eval "$ac_cv_use_tabdialog"
6933 if test "$no_cache" != 1; then
6934 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6937 if test "$wxUSE_TABDIALOG" = yes; then
6938 echo "$ac_t""yes" 1>&6
6940 echo "$ac_t""no" 1>&6
6944 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6945 echo "configure:6946: checking for --enable-textctrl" >&5
6947 # Check whether --enable-textctrl or --disable-textctrl was given.
6948 if test "${enable_textctrl+set}" = set; then
6949 enableval
="$enable_textctrl"
6951 if test "$enableval" = yes; then
6952 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6954 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6959 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x
; then
6961 eval "DEFAULT_$LINE"
6966 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6971 eval "$ac_cv_use_textctrl"
6972 if test "$no_cache" != 1; then
6973 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6976 if test "$wxUSE_TEXTCTRL" = yes; then
6977 echo "$ac_t""yes" 1>&6
6979 echo "$ac_t""no" 1>&6
6983 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6984 echo "configure:6985: checking for --enable-togglebtn" >&5
6986 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6987 if test "${enable_togglebtn+set}" = set; then
6988 enableval
="$enable_togglebtn"
6990 if test "$enableval" = yes; then
6991 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6993 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6998 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6999 if test "x$LINE" != x
; then
7000 eval "DEFAULT_$LINE"
7005 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7010 eval "$ac_cv_use_togglebtn"
7011 if test "$no_cache" != 1; then
7012 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7015 if test "$wxUSE_TOGGLEBTN" = yes; then
7016 echo "$ac_t""yes" 1>&6
7018 echo "$ac_t""no" 1>&6
7022 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7023 echo "configure:7024: checking for --enable-toolbar" >&5
7025 # Check whether --enable-toolbar or --disable-toolbar was given.
7026 if test "${enable_toolbar+set}" = set; then
7027 enableval
="$enable_toolbar"
7029 if test "$enableval" = yes; then
7030 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7032 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7037 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7038 if test "x$LINE" != x
; then
7039 eval "DEFAULT_$LINE"
7044 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7049 eval "$ac_cv_use_toolbar"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7054 if test "$wxUSE_TOOLBAR" = yes; then
7055 echo "$ac_t""yes" 1>&6
7057 echo "$ac_t""no" 1>&6
7061 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7062 echo "configure:7063: checking for --enable-tbarnative" >&5
7064 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7065 if test "${enable_tbarnative+set}" = set; then
7066 enableval
="$enable_tbarnative"
7068 if test "$enableval" = yes; then
7069 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7071 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7076 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7077 if test "x$LINE" != x
; then
7078 eval "DEFAULT_$LINE"
7083 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7088 eval "$ac_cv_use_tbarnative"
7089 if test "$no_cache" != 1; then
7090 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7093 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7094 echo "$ac_t""yes" 1>&6
7096 echo "$ac_t""no" 1>&6
7100 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7101 echo "configure:7102: checking for --enable-tbarsmpl" >&5
7103 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7104 if test "${enable_tbarsmpl+set}" = set; then
7105 enableval
="$enable_tbarsmpl"
7107 if test "$enableval" = yes; then
7108 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7110 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7115 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7116 if test "x$LINE" != x
; then
7117 eval "DEFAULT_$LINE"
7122 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7127 eval "$ac_cv_use_tbarsmpl"
7128 if test "$no_cache" != 1; then
7129 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7132 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7133 echo "$ac_t""yes" 1>&6
7135 echo "$ac_t""no" 1>&6
7139 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7140 echo "configure:7141: checking for --enable-treectrl" >&5
7142 # Check whether --enable-treectrl or --disable-treectrl was given.
7143 if test "${enable_treectrl+set}" = set; then
7144 enableval
="$enable_treectrl"
7146 if test "$enableval" = yes; then
7147 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7149 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7154 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7155 if test "x$LINE" != x
; then
7156 eval "DEFAULT_$LINE"
7161 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7166 eval "$ac_cv_use_treectrl"
7167 if test "$no_cache" != 1; then
7168 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7171 if test "$wxUSE_TREECTRL" = yes; then
7172 echo "$ac_t""yes" 1>&6
7174 echo "$ac_t""no" 1>&6
7178 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7179 echo "configure:7180: checking for --enable-tipwindow" >&5
7181 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7182 if test "${enable_tipwindow+set}" = set; then
7183 enableval
="$enable_tipwindow"
7185 if test "$enableval" = yes; then
7186 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7188 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7193 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7194 if test "x$LINE" != x
; then
7195 eval "DEFAULT_$LINE"
7200 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7205 eval "$ac_cv_use_tipwindow"
7206 if test "$no_cache" != 1; then
7207 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7210 if test "$wxUSE_TIPWINDOW" = yes; then
7211 echo "$ac_t""yes" 1>&6
7213 echo "$ac_t""no" 1>&6
7217 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7218 echo "configure:7219: checking for --enable-popupwin" >&5
7220 # Check whether --enable-popupwin or --disable-popupwin was given.
7221 if test "${enable_popupwin+set}" = set; then
7222 enableval
="$enable_popupwin"
7224 if test "$enableval" = yes; then
7225 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7227 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7232 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x
; then
7234 eval "DEFAULT_$LINE"
7239 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7244 eval "$ac_cv_use_popupwin"
7245 if test "$no_cache" != 1; then
7246 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7249 if test "$wxUSE_POPUPWIN" = yes; then
7250 echo "$ac_t""yes" 1>&6
7252 echo "$ac_t""no" 1>&6
7258 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7259 echo "configure:7260: checking for --enable-commondlg" >&5
7261 # Check whether --enable-commondlg or --disable-commondlg was given.
7262 if test "${enable_commondlg+set}" = set; then
7263 enableval
="$enable_commondlg"
7265 if test "$enableval" = yes; then
7266 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7268 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7273 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x
; then
7275 eval "DEFAULT_$LINE"
7280 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7285 eval "$ac_cv_use_commondlg"
7286 if test "$no_cache" != 1; then
7287 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7290 if test "$wxUSE_COMMONDLGS" = yes; then
7291 echo "$ac_t""yes" 1>&6
7293 echo "$ac_t""no" 1>&6
7297 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7298 echo "configure:7299: checking for --enable-choicedlg" >&5
7300 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7301 if test "${enable_choicedlg+set}" = set; then
7302 enableval
="$enable_choicedlg"
7304 if test "$enableval" = yes; then
7305 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7307 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7312 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7313 if test "x$LINE" != x
; then
7314 eval "DEFAULT_$LINE"
7319 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7324 eval "$ac_cv_use_choicedlg"
7325 if test "$no_cache" != 1; then
7326 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7329 if test "$wxUSE_CHOICEDLG" = yes; then
7330 echo "$ac_t""yes" 1>&6
7332 echo "$ac_t""no" 1>&6
7336 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7337 echo "configure:7338: checking for --enable-coldlg" >&5
7339 # Check whether --enable-coldlg or --disable-coldlg was given.
7340 if test "${enable_coldlg+set}" = set; then
7341 enableval
="$enable_coldlg"
7343 if test "$enableval" = yes; then
7344 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7346 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7351 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7352 if test "x$LINE" != x
; then
7353 eval "DEFAULT_$LINE"
7358 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7363 eval "$ac_cv_use_coldlg"
7364 if test "$no_cache" != 1; then
7365 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7368 if test "$wxUSE_COLOURDLG" = yes; then
7369 echo "$ac_t""yes" 1>&6
7371 echo "$ac_t""no" 1>&6
7375 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7376 echo "configure:7377: checking for --enable-filedlg" >&5
7378 # Check whether --enable-filedlg or --disable-filedlg was given.
7379 if test "${enable_filedlg+set}" = set; then
7380 enableval
="$enable_filedlg"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7385 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7390 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7402 eval "$ac_cv_use_filedlg"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_FILEDLG" = yes; then
7408 echo "$ac_t""yes" 1>&6
7410 echo "$ac_t""no" 1>&6
7414 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7415 echo "configure:7416: checking for --enable-finddlg" >&5
7417 # Check whether --enable-finddlg or --disable-finddlg was given.
7418 if test "${enable_finddlg+set}" = set; then
7419 enableval
="$enable_finddlg"
7421 if test "$enableval" = yes; then
7422 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7424 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7429 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x
; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7441 eval "$ac_cv_use_finddlg"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7446 if test "$wxUSE_FINDREPLDLG" = yes; then
7447 echo "$ac_t""yes" 1>&6
7449 echo "$ac_t""no" 1>&6
7453 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7454 echo "configure:7455: checking for --enable-fontdlg" >&5
7456 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7457 if test "${enable_fontdlg+set}" = set; then
7458 enableval
="$enable_fontdlg"
7460 if test "$enableval" = yes; then
7461 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7463 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7468 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7469 if test "x$LINE" != x
; then
7470 eval "DEFAULT_$LINE"
7475 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7480 eval "$ac_cv_use_fontdlg"
7481 if test "$no_cache" != 1; then
7482 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7485 if test "$wxUSE_FONTDLG" = yes; then
7486 echo "$ac_t""yes" 1>&6
7488 echo "$ac_t""no" 1>&6
7492 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7493 echo "configure:7494: checking for --enable-dirdlg" >&5
7495 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7496 if test "${enable_dirdlg+set}" = set; then
7497 enableval
="$enable_dirdlg"
7499 if test "$enableval" = yes; then
7500 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7502 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7507 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7508 if test "x$LINE" != x
; then
7509 eval "DEFAULT_$LINE"
7514 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7519 eval "$ac_cv_use_dirdlg"
7520 if test "$no_cache" != 1; then
7521 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7524 if test "$wxUSE_DIRDLG" = yes; then
7525 echo "$ac_t""yes" 1>&6
7527 echo "$ac_t""no" 1>&6
7531 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7532 echo "configure:7533: checking for --enable-msgdlg" >&5
7534 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7535 if test "${enable_msgdlg+set}" = set; then
7536 enableval
="$enable_msgdlg"
7538 if test "$enableval" = yes; then
7539 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7541 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7546 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x
; then
7548 eval "DEFAULT_$LINE"
7553 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7558 eval "$ac_cv_use_msgdlg"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7563 if test "$wxUSE_MSGDLG" = yes; then
7564 echo "$ac_t""yes" 1>&6
7566 echo "$ac_t""no" 1>&6
7570 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7571 echo "configure:7572: checking for --enable-numberdlg" >&5
7573 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7574 if test "${enable_numberdlg+set}" = set; then
7575 enableval
="$enable_numberdlg"
7577 if test "$enableval" = yes; then
7578 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7580 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7585 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7586 if test "x$LINE" != x
; then
7587 eval "DEFAULT_$LINE"
7592 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7597 eval "$ac_cv_use_numberdlg"
7598 if test "$no_cache" != 1; then
7599 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7602 if test "$wxUSE_NUMBERDLG" = yes; then
7603 echo "$ac_t""yes" 1>&6
7605 echo "$ac_t""no" 1>&6
7609 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7610 echo "configure:7611: checking for --enable-splash" >&5
7612 # Check whether --enable-splash or --disable-splash was given.
7613 if test "${enable_splash+set}" = set; then
7614 enableval
="$enable_splash"
7616 if test "$enableval" = yes; then
7617 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7619 ac_cv_use_splash
='wxUSE_SPLASH=no'
7624 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7625 if test "x$LINE" != x
; then
7626 eval "DEFAULT_$LINE"
7631 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7636 eval "$ac_cv_use_splash"
7637 if test "$no_cache" != 1; then
7638 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7641 if test "$wxUSE_SPLASH" = yes; then
7642 echo "$ac_t""yes" 1>&6
7644 echo "$ac_t""no" 1>&6
7648 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7649 echo "configure:7650: checking for --enable-textdlg" >&5
7651 # Check whether --enable-textdlg or --disable-textdlg was given.
7652 if test "${enable_textdlg+set}" = set; then
7653 enableval
="$enable_textdlg"
7655 if test "$enableval" = yes; then
7656 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7658 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7663 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x
; then
7665 eval "DEFAULT_$LINE"
7670 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7675 eval "$ac_cv_use_textdlg"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7680 if test "$wxUSE_TEXTDLG" = yes; then
7681 echo "$ac_t""yes" 1>&6
7683 echo "$ac_t""no" 1>&6
7687 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7688 echo "configure:7689: checking for --enable-tipdlg" >&5
7690 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7691 if test "${enable_tipdlg+set}" = set; then
7692 enableval
="$enable_tipdlg"
7694 if test "$enableval" = yes; then
7695 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7697 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7702 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7703 if test "x$LINE" != x
; then
7704 eval "DEFAULT_$LINE"
7709 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7714 eval "$ac_cv_use_tipdlg"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7719 if test "$wxUSE_STARTUP_TIPS" = yes; then
7720 echo "$ac_t""yes" 1>&6
7722 echo "$ac_t""no" 1>&6
7726 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7727 echo "configure:7728: checking for --enable-progressdlg" >&5
7729 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7730 if test "${enable_progressdlg+set}" = set; then
7731 enableval
="$enable_progressdlg"
7733 if test "$enableval" = yes; then
7734 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7736 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7741 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7742 if test "x$LINE" != x
; then
7743 eval "DEFAULT_$LINE"
7748 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7753 eval "$ac_cv_use_progressdlg"
7754 if test "$no_cache" != 1; then
7755 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7758 if test "$wxUSE_PROGRESSDLG" = yes; then
7759 echo "$ac_t""yes" 1>&6
7761 echo "$ac_t""no" 1>&6
7765 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7766 echo "configure:7767: checking for --enable-wizarddlg" >&5
7768 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7769 if test "${enable_wizarddlg+set}" = set; then
7770 enableval
="$enable_wizarddlg"
7772 if test "$enableval" = yes; then
7773 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7775 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7780 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7781 if test "x$LINE" != x
; then
7782 eval "DEFAULT_$LINE"
7787 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7792 eval "$ac_cv_use_wizarddlg"
7793 if test "$no_cache" != 1; then
7794 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7797 if test "$wxUSE_WIZARDDLG" = yes; then
7798 echo "$ac_t""yes" 1>&6
7800 echo "$ac_t""no" 1>&6
7806 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7807 echo "configure:7808: checking for --enable-menus" >&5
7809 # Check whether --enable-menus or --disable-menus was given.
7810 if test "${enable_menus+set}" = set; then
7811 enableval
="$enable_menus"
7813 if test "$enableval" = yes; then
7814 ac_cv_use_menus
='wxUSE_MENUS=yes'
7816 ac_cv_use_menus
='wxUSE_MENUS=no'
7821 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7822 if test "x$LINE" != x
; then
7823 eval "DEFAULT_$LINE"
7828 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7833 eval "$ac_cv_use_menus"
7834 if test "$no_cache" != 1; then
7835 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7838 if test "$wxUSE_MENUS" = yes; then
7839 echo "$ac_t""yes" 1>&6
7841 echo "$ac_t""no" 1>&6
7845 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7846 echo "configure:7847: checking for --enable-miniframe" >&5
7848 # Check whether --enable-miniframe or --disable-miniframe was given.
7849 if test "${enable_miniframe+set}" = set; then
7850 enableval
="$enable_miniframe"
7852 if test "$enableval" = yes; then
7853 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7855 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7860 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7861 if test "x$LINE" != x
; then
7862 eval "DEFAULT_$LINE"
7867 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7872 eval "$ac_cv_use_miniframe"
7873 if test "$no_cache" != 1; then
7874 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7877 if test "$wxUSE_MINIFRAME" = yes; then
7878 echo "$ac_t""yes" 1>&6
7880 echo "$ac_t""no" 1>&6
7884 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7885 echo "configure:7886: checking for --enable-tooltips" >&5
7887 # Check whether --enable-tooltips or --disable-tooltips was given.
7888 if test "${enable_tooltips+set}" = set; then
7889 enableval
="$enable_tooltips"
7891 if test "$enableval" = yes; then
7892 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7894 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7899 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7900 if test "x$LINE" != x
; then
7901 eval "DEFAULT_$LINE"
7906 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7911 eval "$ac_cv_use_tooltips"
7912 if test "$no_cache" != 1; then
7913 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7916 if test "$wxUSE_TOOLTIPS" = yes; then
7917 echo "$ac_t""yes" 1>&6
7919 echo "$ac_t""no" 1>&6
7923 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7924 echo "configure:7925: checking for --enable-splines" >&5
7926 # Check whether --enable-splines or --disable-splines was given.
7927 if test "${enable_splines+set}" = set; then
7928 enableval
="$enable_splines"
7930 if test "$enableval" = yes; then
7931 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7933 ac_cv_use_splines
='wxUSE_SPLINES=no'
7938 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x
; then
7940 eval "DEFAULT_$LINE"
7945 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7950 eval "$ac_cv_use_splines"
7951 if test "$no_cache" != 1; then
7952 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7955 if test "$wxUSE_SPLINES" = yes; then
7956 echo "$ac_t""yes" 1>&6
7958 echo "$ac_t""no" 1>&6
7962 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7963 echo "configure:7964: checking for --enable-validators" >&5
7965 # Check whether --enable-validators or --disable-validators was given.
7966 if test "${enable_validators+set}" = set; then
7967 enableval
="$enable_validators"
7969 if test "$enableval" = yes; then
7970 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7972 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7977 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7978 if test "x$LINE" != x
; then
7979 eval "DEFAULT_$LINE"
7984 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7989 eval "$ac_cv_use_validators"
7990 if test "$no_cache" != 1; then
7991 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7994 if test "$wxUSE_VALIDATORS" = yes; then
7995 echo "$ac_t""yes" 1>&6
7997 echo "$ac_t""no" 1>&6
8001 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8002 echo "configure:8003: checking for --enable-busyinfo" >&5
8004 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8005 if test "${enable_busyinfo+set}" = set; then
8006 enableval
="$enable_busyinfo"
8008 if test "$enableval" = yes; then
8009 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8011 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8016 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8017 if test "x$LINE" != x
; then
8018 eval "DEFAULT_$LINE"
8023 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8028 eval "$ac_cv_use_busyinfo"
8029 if test "$no_cache" != 1; then
8030 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8033 if test "$wxUSE_BUSYINFO" = yes; then
8034 echo "$ac_t""yes" 1>&6
8036 echo "$ac_t""no" 1>&6
8040 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8041 echo "configure:8042: checking for --enable-joystick" >&5
8043 # Check whether --enable-joystick or --disable-joystick was given.
8044 if test "${enable_joystick+set}" = set; then
8045 enableval
="$enable_joystick"
8047 if test "$enableval" = yes; then
8048 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8050 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8055 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x
; then
8057 eval "DEFAULT_$LINE"
8062 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8067 eval "$ac_cv_use_joystick"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8072 if test "$wxUSE_JOYSTICK" = yes; then
8073 echo "$ac_t""yes" 1>&6
8075 echo "$ac_t""no" 1>&6
8079 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8080 echo "configure:8081: checking for --enable-metafile" >&5
8082 # Check whether --enable-metafile or --disable-metafile was given.
8083 if test "${enable_metafile+set}" = set; then
8084 enableval
="$enable_metafile"
8086 if test "$enableval" = yes; then
8087 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8089 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8094 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8095 if test "x$LINE" != x
; then
8096 eval "DEFAULT_$LINE"
8101 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8106 eval "$ac_cv_use_metafile"
8107 if test "$no_cache" != 1; then
8108 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8111 if test "$wxUSE_METAFILE" = yes; then
8112 echo "$ac_t""yes" 1>&6
8114 echo "$ac_t""no" 1>&6
8118 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8119 echo "configure:8120: checking for --enable-dragimage" >&5
8121 # Check whether --enable-dragimage or --disable-dragimage was given.
8122 if test "${enable_dragimage+set}" = set; then
8123 enableval
="$enable_dragimage"
8125 if test "$enableval" = yes; then
8126 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8128 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8133 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8134 if test "x$LINE" != x
; then
8135 eval "DEFAULT_$LINE"
8140 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8145 eval "$ac_cv_use_dragimage"
8146 if test "$no_cache" != 1; then
8147 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8150 if test "$wxUSE_DRAGIMAGE" = yes; then
8151 echo "$ac_t""yes" 1>&6
8153 echo "$ac_t""no" 1>&6
8159 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8160 echo "configure:8161: checking for --enable-palette" >&5
8162 # Check whether --enable-palette or --disable-palette was given.
8163 if test "${enable_palette+set}" = set; then
8164 enableval
="$enable_palette"
8166 if test "$enableval" = yes; then
8167 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8169 ac_cv_use_palette
='wxUSE_PALETTE=no'
8174 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8175 if test "x$LINE" != x
; then
8176 eval "DEFAULT_$LINE"
8181 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8186 eval "$ac_cv_use_palette"
8187 if test "$no_cache" != 1; then
8188 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8191 if test "$wxUSE_PALETTE" = yes; then
8192 echo "$ac_t""yes" 1>&6
8194 echo "$ac_t""no" 1>&6
8198 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8199 echo "configure:8200: checking for --enable-image" >&5
8201 # Check whether --enable-image or --disable-image was given.
8202 if test "${enable_image+set}" = set; then
8203 enableval
="$enable_image"
8205 if test "$enableval" = yes; then
8206 ac_cv_use_image
='wxUSE_IMAGE=yes'
8208 ac_cv_use_image
='wxUSE_IMAGE=no'
8213 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8214 if test "x$LINE" != x
; then
8215 eval "DEFAULT_$LINE"
8220 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8225 eval "$ac_cv_use_image"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8230 if test "$wxUSE_IMAGE" = yes; then
8231 echo "$ac_t""yes" 1>&6
8233 echo "$ac_t""no" 1>&6
8237 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8238 echo "configure:8239: checking for --enable-gif" >&5
8240 # Check whether --enable-gif or --disable-gif was given.
8241 if test "${enable_gif+set}" = set; then
8242 enableval
="$enable_gif"
8244 if test "$enableval" = yes; then
8245 ac_cv_use_gif
='wxUSE_GIF=yes'
8247 ac_cv_use_gif
='wxUSE_GIF=no'
8252 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8253 if test "x$LINE" != x
; then
8254 eval "DEFAULT_$LINE"
8259 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8264 eval "$ac_cv_use_gif"
8265 if test "$no_cache" != 1; then
8266 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8269 if test "$wxUSE_GIF" = yes; then
8270 echo "$ac_t""yes" 1>&6
8272 echo "$ac_t""no" 1>&6
8276 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8277 echo "configure:8278: checking for --enable-pcx" >&5
8279 # Check whether --enable-pcx or --disable-pcx was given.
8280 if test "${enable_pcx+set}" = set; then
8281 enableval
="$enable_pcx"
8283 if test "$enableval" = yes; then
8284 ac_cv_use_pcx
='wxUSE_PCX=yes'
8286 ac_cv_use_pcx
='wxUSE_PCX=no'
8291 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x
; then
8293 eval "DEFAULT_$LINE"
8298 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8303 eval "$ac_cv_use_pcx"
8304 if test "$no_cache" != 1; then
8305 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8308 if test "$wxUSE_PCX" = yes; then
8309 echo "$ac_t""yes" 1>&6
8311 echo "$ac_t""no" 1>&6
8315 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8316 echo "configure:8317: checking for --enable-iff" >&5
8318 # Check whether --enable-iff or --disable-iff was given.
8319 if test "${enable_iff+set}" = set; then
8320 enableval
="$enable_iff"
8322 if test "$enableval" = yes; then
8323 ac_cv_use_iff
='wxUSE_IFF=yes'
8325 ac_cv_use_iff
='wxUSE_IFF=no'
8330 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8331 if test "x$LINE" != x
; then
8332 eval "DEFAULT_$LINE"
8337 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8342 eval "$ac_cv_use_iff"
8343 if test "$no_cache" != 1; then
8344 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8347 if test "$wxUSE_IFF" = yes; then
8348 echo "$ac_t""yes" 1>&6
8350 echo "$ac_t""no" 1>&6
8354 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8355 echo "configure:8356: checking for --enable-pnm" >&5
8357 # Check whether --enable-pnm or --disable-pnm was given.
8358 if test "${enable_pnm+set}" = set; then
8359 enableval
="$enable_pnm"
8361 if test "$enableval" = yes; then
8362 ac_cv_use_pnm
='wxUSE_PNM=yes'
8364 ac_cv_use_pnm
='wxUSE_PNM=no'
8369 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8370 if test "x$LINE" != x
; then
8371 eval "DEFAULT_$LINE"
8376 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8381 eval "$ac_cv_use_pnm"
8382 if test "$no_cache" != 1; then
8383 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8386 if test "$wxUSE_PNM" = yes; then
8387 echo "$ac_t""yes" 1>&6
8389 echo "$ac_t""no" 1>&6
8393 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8394 echo "configure:8395: checking for --enable-xpm" >&5
8396 # Check whether --enable-xpm or --disable-xpm was given.
8397 if test "${enable_xpm+set}" = set; then
8398 enableval
="$enable_xpm"
8400 if test "$enableval" = yes; then
8401 ac_cv_use_xpm
='wxUSE_XPM=yes'
8403 ac_cv_use_xpm
='wxUSE_XPM=no'
8408 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8409 if test "x$LINE" != x
; then
8410 eval "DEFAULT_$LINE"
8415 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8420 eval "$ac_cv_use_xpm"
8421 if test "$no_cache" != 1; then
8422 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8425 if test "$wxUSE_XPM" = yes; then
8426 echo "$ac_t""yes" 1>&6
8428 echo "$ac_t""no" 1>&6
8432 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8433 echo "configure:8434: checking for --enable-ico_cur" >&5
8435 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8436 if test "${enable_ico_cur+set}" = set; then
8437 enableval
="$enable_ico_cur"
8439 if test "$enableval" = yes; then
8440 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8442 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8447 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8448 if test "x$LINE" != x
; then
8449 eval "DEFAULT_$LINE"
8454 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8459 eval "$ac_cv_use_ico_cur"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8464 if test "$wxUSE_ICO_CUR" = yes; then
8465 echo "$ac_t""yes" 1>&6
8467 echo "$ac_t""no" 1>&6
8474 echo "saving argument cache $wx_arg_cache_file"
8475 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8479 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8480 echo "configure:8481: checking for toolkit" >&5
8482 if test "$wxUSE_GUI" = "yes"; then
8484 if test "$USE_BEOS" = 1; then
8485 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8488 if test "$TOOLKIT_GIVEN" = 1; then
8489 for toolkit
in `echo $ALL_TOOLKITS`; do
8491 eval "value=\$${var}"
8492 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8495 for toolkit
in `echo $ALL_TOOLKITS`; do
8496 if test "$has_toolkit_in_cache" != 1; then
8497 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8499 var
=DEFAULT_wxUSE_
$toolkit
8501 eval "wxUSE_$toolkit=\$${var}"
8505 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8506 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8509 *-pc-os2_emx | *-pc-os2-emx )
8510 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8511 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8520 case "$NUM_TOOLKITS" in
8524 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8527 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8530 for toolkit
in `echo $ALL_TOOLKITS`; do
8532 eval "value=\$${var}"
8533 if test "x$value" != x
; then
8534 cache_var
=CACHE_
$toolkit
8535 eval "cache=\$${cache_var}"
8536 if test "$cache" = 1; then
8537 echo "$var=$value" >> ${wx_arg_cache_file}
8539 if test "$value" = 1; then
8540 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8541 echo "$ac_t""$toolkit_echo" 1>&6
8547 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8551 cat > confcache
<<\EOF
8552 # This file is a shell script that caches the results of configure
8553 # tests run on this system so they can be shared between configure
8554 # scripts and configure runs. It is not useful on other systems.
8555 # If it contains results you don't want to keep, you may remove or edit it.
8557 # By default, configure uses ./config.cache as the cache file,
8558 # creating it if it does not exist already. You can give configure
8559 # the --cache-file=FILE option to use a different cache file; that is
8560 # what configure does when it calls configure scripts in
8561 # subdirectories, so they share the cache.
8562 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8563 # config.status only pays attention to the cache file if you give it the
8564 # --recheck option to rerun configure.
8567 # The following way of writing the cache mishandles newlines in values,
8568 # but we know of no workaround that is simple, portable, and efficient.
8569 # So, don't put newlines in cache variables' values.
8570 # Ultrix sh set writes to stderr and can't be redirected directly,
8571 # and sets the high bit in the cache file unless we assign to the vars.
8573 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8575 # `set' does not quote correctly, so add quotes (double-quote substitution
8576 # turns \\\\ into \\, and sed turns \\ into \).
8578 -e "s/'/'\\\\''/g" \
8579 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8582 # `set' quotes correctly as required by POSIX, so do not add quotes.
8583 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8586 if cmp -s $cache_file confcache
; then
8589 if test -w $cache_file; then
8590 echo "updating cache $cache_file"
8591 cat confcache
> $cache_file
8593 echo "not updating unwritable cache $cache_file"
8599 if test "$build" != "$host" ; then
8600 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8604 RANLIB
=$host_alias-ranlib
8605 DLLTOOL
=$host_alias-dlltool
8606 RESCOMP
=$host_alias-windres
8609 STRIP
=$host_alias-strip
8611 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8615 # Extract the first word of "gcc", so it can be a program name with args.
8616 set dummy gcc
; ac_word
=$2
8617 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8618 echo "configure:8619: checking for $ac_word" >&5
8619 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8620 echo $ac_n "(cached) $ac_c" 1>&6
8622 if test -n "$CC"; then
8623 ac_cv_prog_CC
="$CC" # Let the user override the test.
8625 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8627 for ac_dir
in $ac_dummy; do
8628 test -z "$ac_dir" && ac_dir
=.
8629 if test -f $ac_dir/$ac_word; then
8638 if test -n "$CC"; then
8639 echo "$ac_t""$CC" 1>&6
8641 echo "$ac_t""no" 1>&6
8644 if test -z "$CC"; then
8645 # Extract the first word of "cc", so it can be a program name with args.
8646 set dummy cc
; ac_word
=$2
8647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8648 echo "configure:8649: checking for $ac_word" >&5
8649 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8650 echo $ac_n "(cached) $ac_c" 1>&6
8652 if test -n "$CC"; then
8653 ac_cv_prog_CC
="$CC" # Let the user override the test.
8655 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8658 for ac_dir
in $ac_dummy; do
8659 test -z "$ac_dir" && ac_dir
=.
8660 if test -f $ac_dir/$ac_word; then
8661 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8662 ac_prog_rejected
=yes
8670 if test $ac_prog_rejected = yes; then
8671 # We found a bogon in the path, so make sure we never use it.
8672 set dummy
$ac_cv_prog_CC
8674 if test $# -gt 0; then
8675 # We chose a different compiler from the bogus one.
8676 # However, it has the same basename, so the bogon will be chosen
8677 # first if we set CC to just the basename; use the full file name.
8679 set dummy
"$ac_dir/$ac_word" "$@"
8687 if test -n "$CC"; then
8688 echo "$ac_t""$CC" 1>&6
8690 echo "$ac_t""no" 1>&6
8693 if test -z "$CC"; then
8694 case "`uname -s`" in
8696 # Extract the first word of "cl", so it can be a program name with args.
8697 set dummy cl
; ac_word
=$2
8698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8699 echo "configure:8700: checking for $ac_word" >&5
8700 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8701 echo $ac_n "(cached) $ac_c" 1>&6
8703 if test -n "$CC"; then
8704 ac_cv_prog_CC
="$CC" # Let the user override the test.
8706 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8708 for ac_dir
in $ac_dummy; do
8709 test -z "$ac_dir" && ac_dir
=.
8710 if test -f $ac_dir/$ac_word; then
8719 if test -n "$CC"; then
8720 echo "$ac_t""$CC" 1>&6
8722 echo "$ac_t""no" 1>&6
8727 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8730 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8731 echo "configure:8732: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8735 ac_cpp
='$CPP $CPPFLAGS'
8736 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8737 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8738 cross_compiling
=$ac_cv_prog_cc_cross
8740 cat > conftest.
$ac_ext << EOF
8742 #line 8743 "configure"
8743 #include "confdefs.h"
8747 if { (eval echo configure
:8748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8748 ac_cv_prog_cc_works
=yes
8749 # If we can't run a trivial program, we are probably using a cross compiler.
8750 if (.
/conftest
; exit) 2>/dev
/null
; then
8751 ac_cv_prog_cc_cross
=no
8753 ac_cv_prog_cc_cross
=yes
8756 echo "configure: failed program was:" >&5
8757 cat conftest.
$ac_ext >&5
8758 ac_cv_prog_cc_works
=no
8762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8763 ac_cpp
='$CPP $CPPFLAGS'
8764 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8765 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8766 cross_compiling
=$ac_cv_prog_cc_cross
8768 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8769 if test $ac_cv_prog_cc_works = no
; then
8770 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8772 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8773 echo "configure:8774: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8774 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8775 cross_compiling
=$ac_cv_prog_cc_cross
8777 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8778 echo "configure:8779: checking whether we are using GNU C" >&5
8779 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8780 echo $ac_n "(cached) $ac_c" 1>&6
8782 cat > conftest.c
<<EOF
8787 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8794 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8796 if test $ac_cv_prog_gcc = yes; then
8802 ac_test_CFLAGS
="${CFLAGS+set}"
8803 ac_save_CFLAGS
="$CFLAGS"
8805 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8806 echo "configure:8807: checking whether ${CC-cc} accepts -g" >&5
8807 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8808 echo $ac_n "(cached) $ac_c" 1>&6
8810 echo 'void f(){}' > conftest.c
8811 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8820 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8821 if test "$ac_test_CFLAGS" = set; then
8822 CFLAGS
="$ac_save_CFLAGS"
8823 elif test $ac_cv_prog_cc_g = yes; then
8824 if test "$GCC" = yes; then
8830 if test "$GCC" = yes; then
8838 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8840 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8841 echo "configure:8842: checking how to run the C preprocessor" >&5
8842 # On Suns, sometimes $CPP names a directory.
8843 if test -n "$CPP" && test -d "$CPP"; then
8846 if test -z "$CPP"; then
8847 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8848 echo $ac_n "(cached) $ac_c" 1>&6
8850 # This must be in double quotes, not single quotes, because CPP may get
8851 # substituted into the Makefile and "${CC-cc}" will confuse make.
8853 # On the NeXT, cc -E runs the code through the compiler's parser,
8854 # not just through cpp.
8855 cat > conftest.
$ac_ext <<EOF
8856 #line 8857 "configure"
8857 #include "confdefs.h"
8861 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8862 { (eval echo configure
:8863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8863 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8864 if test -z "$ac_err"; then
8868 echo "configure: failed program was:" >&5
8869 cat conftest.
$ac_ext >&5
8871 CPP
="${CC-cc} -E -traditional-cpp"
8872 cat > conftest.
$ac_ext <<EOF
8873 #line 8874 "configure"
8874 #include "confdefs.h"
8878 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8879 { (eval echo configure
:8880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8880 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8881 if test -z "$ac_err"; then
8885 echo "configure: failed program was:" >&5
8886 cat conftest.
$ac_ext >&5
8888 CPP
="${CC-cc} -nologo -E"
8889 cat > conftest.
$ac_ext <<EOF
8890 #line 8891 "configure"
8891 #include "confdefs.h"
8895 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8896 { (eval echo configure
:8897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8897 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8898 if test -z "$ac_err"; then
8902 echo "configure: failed program was:" >&5
8903 cat conftest.
$ac_ext >&5
8912 ac_cv_prog_CPP
="$CPP"
8914 CPP
="$ac_cv_prog_CPP"
8916 ac_cv_prog_CPP
="$CPP"
8918 echo "$ac_t""$CPP" 1>&6
8920 if test $ac_cv_prog_gcc = yes; then
8921 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8922 echo "configure:8923: checking whether ${CC-cc} needs -traditional" >&5
8923 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8924 echo $ac_n "(cached) $ac_c" 1>&6
8926 ac_pattern
="Autoconf.*'x'"
8927 cat > conftest.
$ac_ext <<EOF
8928 #line 8929 "configure"
8929 #include "confdefs.h"
8933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8934 egrep "$ac_pattern" >/dev
/null
2>&1; then
8936 ac_cv_prog_gcc_traditional
=yes
8939 ac_cv_prog_gcc_traditional
=no
8944 if test $ac_cv_prog_gcc_traditional = no
; then
8945 cat > conftest.
$ac_ext <<EOF
8946 #line 8947 "configure"
8947 #include "confdefs.h"
8951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8952 egrep "$ac_pattern" >/dev
/null
2>&1; then
8954 ac_cv_prog_gcc_traditional
=yes
8961 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8962 if test $ac_cv_prog_gcc_traditional = yes; then
8963 CC
="$CC -traditional"
8970 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8971 ac_cpp
='$CXXCPP $CPPFLAGS'
8972 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8973 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8974 cross_compiling
=$ac_cv_prog_cxx_cross
8977 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8979 # Extract the first word of "$ac_prog", so it can be a program name with args.
8980 set dummy
$ac_prog; ac_word
=$2
8981 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8982 echo "configure:8983: checking for $ac_word" >&5
8983 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8984 echo $ac_n "(cached) $ac_c" 1>&6
8986 if test -n "$CXX"; then
8987 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8989 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8991 for ac_dir
in $ac_dummy; do
8992 test -z "$ac_dir" && ac_dir
=.
8993 if test -f $ac_dir/$ac_word; then
8994 ac_cv_prog_CXX
="$ac_prog"
9001 CXX
="$ac_cv_prog_CXX"
9002 if test -n "$CXX"; then
9003 echo "$ac_t""$CXX" 1>&6
9005 echo "$ac_t""no" 1>&6
9008 test -n "$CXX" && break
9010 test -n "$CXX" || CXX
="gcc"
9013 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9014 echo "configure:9015: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9017 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9018 ac_cpp
='$CXXCPP $CPPFLAGS'
9019 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9020 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9021 cross_compiling
=$ac_cv_prog_cxx_cross
9023 cat > conftest.
$ac_ext << EOF
9025 #line 9026 "configure"
9026 #include "confdefs.h"
9028 int main(){return(0);}
9030 if { (eval echo configure
:9031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9031 ac_cv_prog_cxx_works
=yes
9032 # If we can't run a trivial program, we are probably using a cross compiler.
9033 if (.
/conftest
; exit) 2>/dev
/null
; then
9034 ac_cv_prog_cxx_cross
=no
9036 ac_cv_prog_cxx_cross
=yes
9039 echo "configure: failed program was:" >&5
9040 cat conftest.
$ac_ext >&5
9041 ac_cv_prog_cxx_works
=no
9045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9046 ac_cpp
='$CXXCPP $CPPFLAGS'
9047 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9048 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9049 cross_compiling
=$ac_cv_prog_cxx_cross
9051 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9052 if test $ac_cv_prog_cxx_works = no
; then
9053 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9055 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9056 echo "configure:9057: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9057 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9058 cross_compiling
=$ac_cv_prog_cxx_cross
9060 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9061 echo "configure:9062: checking whether we are using GNU C++" >&5
9062 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9063 echo $ac_n "(cached) $ac_c" 1>&6
9065 cat > conftest.C
<<EOF
9070 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9077 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9079 if test $ac_cv_prog_gxx = yes; then
9085 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9086 ac_save_CXXFLAGS
="$CXXFLAGS"
9088 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9089 echo "configure:9090: checking whether ${CXX-g++} accepts -g" >&5
9090 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9091 echo $ac_n "(cached) $ac_c" 1>&6
9093 echo 'void f(){}' > conftest.cc
9094 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9095 ac_cv_prog_cxx_g
=yes
9103 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9104 if test "$ac_test_CXXFLAGS" = set; then
9105 CXXFLAGS
="$ac_save_CXXFLAGS"
9106 elif test $ac_cv_prog_cxx_g = yes; then
9107 if test "$GXX" = yes; then
9113 if test "$GXX" = yes; then
9121 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9124 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9125 ac_cpp
='$CPP $CPPFLAGS'
9126 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9127 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9128 cross_compiling
=$ac_cv_prog_cc_cross
9131 # Extract the first word of "ranlib", so it can be a program name with args.
9132 set dummy ranlib
; ac_word
=$2
9133 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9134 echo "configure:9135: checking for $ac_word" >&5
9135 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9136 echo $ac_n "(cached) $ac_c" 1>&6
9138 if test -n "$RANLIB"; then
9139 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9141 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9143 for ac_dir
in $ac_dummy; do
9144 test -z "$ac_dir" && ac_dir
=.
9145 if test -f $ac_dir/$ac_word; then
9146 ac_cv_prog_RANLIB
="ranlib"
9151 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9154 RANLIB
="$ac_cv_prog_RANLIB"
9155 if test -n "$RANLIB"; then
9156 echo "$ac_t""$RANLIB" 1>&6
9158 echo "$ac_t""no" 1>&6
9162 # Extract the first word of "ar", so it can be a program name with args.
9163 set dummy
ar; ac_word
=$2
9164 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9165 echo "configure:9166: checking for $ac_word" >&5
9166 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9167 echo $ac_n "(cached) $ac_c" 1>&6
9169 if test -n "$AR"; then
9170 ac_cv_prog_AR
="$AR" # Let the user override the test.
9172 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9174 for ac_dir
in $ac_dummy; do
9175 test -z "$ac_dir" && ac_dir
=.
9176 if test -f $ac_dir/$ac_word; then
9182 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9186 if test -n "$AR"; then
9187 echo "$ac_t""$AR" 1>&6
9189 echo "$ac_t""no" 1>&6
9193 # Find a good install program. We prefer a C program (faster),
9194 # so one script is as good as another. But avoid the broken or
9195 # incompatible versions:
9196 # SysV /etc/install, /usr/sbin/install
9197 # SunOS /usr/etc/install
9198 # IRIX /sbin/install
9200 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9201 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9202 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9203 # ./install, which can be erroneously created by make from ./install.sh.
9204 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9205 echo "configure:9206: checking for a BSD compatible install" >&5
9206 if test -z "$INSTALL"; then
9207 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9208 echo $ac_n "(cached) $ac_c" 1>&6
9210 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9211 for ac_dir
in $PATH; do
9212 # Account for people who put trailing slashes in PATH elements.
9214 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9216 # OSF1 and SCO ODT 3.0 have their own names for install.
9217 # Don't use installbsd from OSF since it installs stuff as root
9219 for ac_prog
in ginstall scoinst
install; do
9220 if test -f $ac_dir/$ac_prog; then
9221 if test $ac_prog = install &&
9222 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9223 # AIX install. It has an incompatible calling convention.
9226 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9237 if test "${ac_cv_path_install+set}" = set; then
9238 INSTALL
="$ac_cv_path_install"
9240 # As a last resort, use the slow shell script. We don't cache a
9241 # path for INSTALL within a source directory, because that will
9242 # break other packages using the cache if that directory is
9243 # removed, or if the path is relative.
9244 INSTALL
="$ac_install_sh"
9247 echo "$ac_t""$INSTALL" 1>&6
9249 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9250 # It thinks the first close brace ends the variable substitution.
9251 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9253 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9255 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9260 INSTALL_PROGRAM
="cp -fp"
9261 INSTALL_DATA
="cp -fp"
9267 # Extract the first word of "strip", so it can be a program name with args.
9268 set dummy strip
; ac_word
=$2
9269 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9270 echo "configure:9271: checking for $ac_word" >&5
9271 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9272 echo $ac_n "(cached) $ac_c" 1>&6
9274 if test -n "$STRIP"; then
9275 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9277 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9279 for ac_dir
in $ac_dummy; do
9280 test -z "$ac_dir" && ac_dir
=.
9281 if test -f $ac_dir/$ac_word; then
9282 ac_cv_prog_STRIP
="strip"
9287 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9290 STRIP
="$ac_cv_prog_STRIP"
9291 if test -n "$STRIP"; then
9292 echo "$ac_t""$STRIP" 1>&6
9294 echo "$ac_t""no" 1>&6
9298 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
9299 echo "configure:9300: checking make for VPATH support" >&5
9300 cat - << EOF > confMake
9306 if test ! -d sub
; then
9309 echo dummy
> sub
/file
9310 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9312 rm -f sub
/file check final_file confMake
9314 if test "$RESULT" = 0; then
9315 echo "$ac_t""yes" 1>&6
9317 echo "$ac_t""no" 1>&6
9318 { echo "configure: error:
9319 You need a make-utility that is able to use the variable
9321 If your version of make does not support VPATH correctly,
9322 please install GNU-make (possibly as gmake), and start
9323 configure with the following command:
9324 export MAKE=gmake; ./configure for sh-type shells
9325 setenv MAKE gmake; ./configure for csh-type shells
9326 Also please do remember to use gmake in this case every time
9327 you are trying to compile.
9331 for ac_prog
in 'bison -y' byacc
9333 # Extract the first word of "$ac_prog", so it can be a program name with args.
9334 set dummy
$ac_prog; ac_word
=$2
9335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9336 echo "configure:9337: checking for $ac_word" >&5
9337 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9338 echo $ac_n "(cached) $ac_c" 1>&6
9340 if test -n "$YACC"; then
9341 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9343 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9345 for ac_dir
in $ac_dummy; do
9346 test -z "$ac_dir" && ac_dir
=.
9347 if test -f $ac_dir/$ac_word; then
9348 ac_cv_prog_YACC
="$ac_prog"
9355 YACC
="$ac_cv_prog_YACC"
9356 if test -n "$YACC"; then
9357 echo "$ac_t""$YACC" 1>&6
9359 echo "$ac_t""no" 1>&6
9362 test -n "$YACC" && break
9364 test -n "$YACC" || YACC
="yacc"
9367 # Extract the first word of "flex", so it can be a program name with args.
9368 set dummy flex
; 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_LEX'+set}'`\" = set"; then
9372 echo $ac_n "(cached) $ac_c" 1>&6
9374 if test -n "$LEX"; then
9375 ac_cv_prog_LEX
="$LEX" # 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_LEX
="flex"
9387 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9390 LEX
="$ac_cv_prog_LEX"
9391 if test -n "$LEX"; then
9392 echo "$ac_t""$LEX" 1>&6
9394 echo "$ac_t""no" 1>&6
9397 if test -z "$LEXLIB"
9403 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9404 echo "configure:9405: checking for yywrap in -l$ac_lib" >&5
9405 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9406 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9407 echo $ac_n "(cached) $ac_c" 1>&6
9409 ac_save_LIBS
="$LIBS"
9410 LIBS
="-l$ac_lib $LIBS"
9411 cat > conftest.
$ac_ext <<EOF
9412 #line 9413 "configure"
9413 #include "confdefs.h"
9414 /* Override any gcc2 internal prototype to avoid an error. */
9415 /* We use char because int might match the return type of a gcc2
9416 builtin and then its argument prototype would still apply. */
9423 if { (eval echo configure
:9424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9425 eval "ac_cv_lib_$ac_lib_var=yes"
9427 echo "configure: failed program was:" >&5
9428 cat conftest.
$ac_ext >&5
9430 eval "ac_cv_lib_$ac_lib_var=no"
9433 LIBS
="$ac_save_LIBS"
9436 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9437 echo "$ac_t""yes" 1>&6
9440 echo "$ac_t""no" 1>&6
9446 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9447 echo "configure:9448: checking whether ln -s works" >&5
9448 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9449 echo $ac_n "(cached) $ac_c" 1>&6
9452 if ln -s X conftestdata
2>/dev
/null
9455 ac_cv_prog_LN_S
="ln -s"
9460 LN_S
="$ac_cv_prog_LN_S"
9461 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9462 echo "$ac_t""yes" 1>&6
9464 echo "$ac_t""no" 1>&6
9470 /usr/local/include \
9472 /usr/Motif-1.2/include \
9473 /usr/Motif-2.1/include \
9475 /usr/include/Motif1.2 \
9476 /opt/xpm/include/X11 \
9477 /opt/GBxpm/include/ \
9478 /opt/GBxpm/X11/include/ \
9480 /usr/Motif1.2/include \
9482 /usr/openwin/include \
9486 /usr/X11R6/include \
9487 /usr/X11R6.4/include \
9488 /usr/X11R5/include \
9489 /usr/X11R4/include \
9491 /usr/include/X11R6 \
9492 /usr/include/X11R5 \
9493 /usr/include/X11R4 \
9495 /usr/local/X11R6/include \
9496 /usr/local/X11R5/include \
9497 /usr/local/X11R4/include \
9499 /usr/local/include/X11R6 \
9500 /usr/local/include/X11R5 \
9501 /usr/local/include/X11R4 \
9505 /usr/local/X11/include \
9506 /usr/local/include/X11 \
9510 /usr/XFree86/include/X11 \
9512 X:/XFree86/include \
9513 X:/XFree86/include/X11 \
9516 /usr/local/include/gtk \
9518 /usr/local/include/glib \
9521 /usr/local/include/qt \
9523 /usr/include/windows \
9525 /usr/local/include/wine \
9527 /usr/unsupported/include \
9528 /usr/athena/include \
9529 /usr/local/x11r5/include \
9530 /usr/lpp/Xamples/include \
9532 /usr/openwin/share/include \
9536 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9539 cat > confcache
<<\EOF
9540 # This file is a shell script that caches the results of configure
9541 # tests run on this system so they can be shared between configure
9542 # scripts and configure runs. It is not useful on other systems.
9543 # If it contains results you don't want to keep, you may remove or edit it.
9545 # By default, configure uses ./config.cache as the cache file,
9546 # creating it if it does not exist already. You can give configure
9547 # the --cache-file=FILE option to use a different cache file; that is
9548 # what configure does when it calls configure scripts in
9549 # subdirectories, so they share the cache.
9550 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9551 # config.status only pays attention to the cache file if you give it the
9552 # --recheck option to rerun configure.
9555 # The following way of writing the cache mishandles newlines in values,
9556 # but we know of no workaround that is simple, portable, and efficient.
9557 # So, don't put newlines in cache variables' values.
9558 # Ultrix sh set writes to stderr and can't be redirected directly,
9559 # and sets the high bit in the cache file unless we assign to the vars.
9561 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9563 # `set' does not quote correctly, so add quotes (double-quote substitution
9564 # turns \\\\ into \\, and sed turns \\ into \).
9566 -e "s/'/'\\\\''/g" \
9567 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9570 # `set' quotes correctly as required by POSIX, so do not add quotes.
9571 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9574 if cmp -s $cache_file confcache
; then
9577 if test -w $cache_file; then
9578 echo "updating cache $cache_file"
9579 cat confcache
> $cache_file
9581 echo "not updating unwritable cache $cache_file"
9590 if test "$wxUSE_REGEX" != "no"; then
9591 cat >> confdefs.h
<<\EOF
9592 #define wxUSE_REGEX 1
9596 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9597 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9598 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9599 echo "configure:9600: checking for regex.h" >&5
9600 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9601 echo $ac_n "(cached) $ac_c" 1>&6
9603 cat > conftest.
$ac_ext <<EOF
9604 #line 9605 "configure"
9605 #include "confdefs.h"
9608 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9609 { (eval echo configure
:9610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9610 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9611 if test -z "$ac_err"; then
9613 eval "ac_cv_header_$ac_safe=yes"
9616 echo "configure: failed program was:" >&5
9617 cat conftest.
$ac_ext >&5
9619 eval "ac_cv_header_$ac_safe=no"
9623 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9624 echo "$ac_t""yes" 1>&6
9625 for ac_func
in regcomp
9627 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9628 echo "configure:9629: checking for $ac_func" >&5
9629 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9630 echo $ac_n "(cached) $ac_c" 1>&6
9632 cat > conftest.
$ac_ext <<EOF
9633 #line 9634 "configure"
9634 #include "confdefs.h"
9635 /* System header to define __stub macros and hopefully few prototypes,
9636 which can conflict with char $ac_func(); below. */
9638 /* Override any gcc2 internal prototype to avoid an error. */
9639 /* We use char because int might match the return type of a gcc2
9640 builtin and then its argument prototype would still apply. */
9645 /* The GNU C library defines this for functions which it implements
9646 to always fail with ENOSYS. Some functions are actually named
9647 something starting with __ and the normal name is an alias. */
9648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9656 if { (eval echo configure
:9657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9658 eval "ac_cv_func_$ac_func=yes"
9660 echo "configure: failed program was:" >&5
9661 cat conftest.
$ac_ext >&5
9663 eval "ac_cv_func_$ac_func=no"
9668 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9670 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9671 cat >> confdefs.h
<<EOF
9672 #define $ac_tr_func 1
9676 echo "$ac_t""no" 1>&6
9681 echo "$ac_t""no" 1>&6
9685 if test "x$ac_cv_func_regcomp" != "xyes"; then
9686 if test "$wxUSE_REGEX" = "sys" ; then
9687 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9689 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9697 if test "$wxUSE_REGEX" = "builtin" ; then
9698 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9705 if test "$wxUSE_ZLIB" != "no" ; then
9706 cat >> confdefs.h
<<\EOF
9707 #define wxUSE_ZLIB 1
9711 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9712 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9713 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9714 echo "configure:9715: checking for zlib.h" >&5
9715 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9716 echo $ac_n "(cached) $ac_c" 1>&6
9718 cat > conftest.
$ac_ext <<EOF
9719 #line 9720 "configure"
9720 #include "confdefs.h"
9723 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9724 { (eval echo configure
:9725: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9725 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9726 if test -z "$ac_err"; then
9728 eval "ac_cv_header_$ac_safe=yes"
9731 echo "configure: failed program was:" >&5
9732 cat conftest.
$ac_ext >&5
9734 eval "ac_cv_header_$ac_safe=no"
9738 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9739 echo "$ac_t""yes" 1>&6
9740 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9741 echo "configure:9742: checking for deflate in -lz" >&5
9742 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9743 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9744 echo $ac_n "(cached) $ac_c" 1>&6
9746 ac_save_LIBS
="$LIBS"
9748 cat > conftest.
$ac_ext <<EOF
9749 #line 9750 "configure"
9750 #include "confdefs.h"
9751 /* Override any gcc2 internal prototype to avoid an error. */
9752 /* We use char because int might match the return type of a gcc2
9753 builtin and then its argument prototype would still apply. */
9760 if { (eval echo configure
:9761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9762 eval "ac_cv_lib_$ac_lib_var=yes"
9764 echo "configure: failed program was:" >&5
9765 cat conftest.
$ac_ext >&5
9767 eval "ac_cv_lib_$ac_lib_var=no"
9770 LIBS
="$ac_save_LIBS"
9773 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9774 echo "$ac_t""yes" 1>&6
9777 echo "$ac_t""no" 1>&6
9781 echo "$ac_t""no" 1>&6
9785 if test "x$ZLIB_LINK" = "x" ; then
9786 if test "$wxUSE_ZLIB" = "sys" ; then
9787 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9789 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9797 if test "$wxUSE_ZLIB" = "builtin" ; then
9798 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9805 if test "$wxUSE_LIBPNG" != "no" ; then
9806 cat >> confdefs.h
<<\EOF
9807 #define wxUSE_LIBPNG 1
9811 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9812 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9813 wxUSE_LIBPNG
=builtin
9816 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9817 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9818 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9819 echo "configure:9820: checking for png.h" >&5
9820 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9821 echo $ac_n "(cached) $ac_c" 1>&6
9823 cat > conftest.
$ac_ext <<EOF
9824 #line 9825 "configure"
9825 #include "confdefs.h"
9828 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9829 { (eval echo configure
:9830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9830 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9831 if test -z "$ac_err"; then
9833 eval "ac_cv_header_$ac_safe=yes"
9836 echo "configure: failed program was:" >&5
9837 cat conftest.
$ac_ext >&5
9839 eval "ac_cv_header_$ac_safe=no"
9843 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9844 echo "$ac_t""yes" 1>&6
9845 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9846 echo "configure:9847: checking for png_check_sig in -lpng" >&5
9847 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9849 echo $ac_n "(cached) $ac_c" 1>&6
9851 ac_save_LIBS
="$LIBS"
9852 LIBS
="-lpng -lz -lm $LIBS"
9853 cat > conftest.
$ac_ext <<EOF
9854 #line 9855 "configure"
9855 #include "confdefs.h"
9856 /* Override any gcc2 internal prototype to avoid an error. */
9857 /* We use char because int might match the return type of a gcc2
9858 builtin and then its argument prototype would still apply. */
9859 char png_check_sig();
9865 if { (eval echo configure
:9866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9867 eval "ac_cv_lib_$ac_lib_var=yes"
9869 echo "configure: failed program was:" >&5
9870 cat conftest.
$ac_ext >&5
9872 eval "ac_cv_lib_$ac_lib_var=no"
9875 LIBS
="$ac_save_LIBS"
9878 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9879 echo "$ac_t""yes" 1>&6
9882 echo "$ac_t""no" 1>&6
9887 echo "$ac_t""no" 1>&6
9891 if test "x$PNG_LINK" = "x" ; then
9892 if test "$wxUSE_LIBPNG" = "sys" ; then
9893 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9895 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9896 wxUSE_LIBPNG
=builtin
9903 if test "$wxUSE_LIBPNG" = "builtin" ; then
9904 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9913 if test "$wxUSE_LIBJPEG" != "no" ; then
9914 cat >> confdefs.h
<<\EOF
9915 #define wxUSE_LIBJPEG 1
9919 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9920 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9921 echo "configure:9922: checking for jpeglib.h" >&5
9922 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9925 cat > conftest.
$ac_ext <<EOF
9926 #line 9927 "configure"
9927 #include "confdefs.h"
9929 #undef HAVE_STDLIB_H
9931 #include <jpeglib.h>
9938 if { (eval echo configure
:9939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9940 ac_cv_header_jpeglib_h
=yes
9942 echo "configure: failed program was:" >&5
9943 cat conftest.
$ac_ext >&5
9945 ac_cv_header_jpeglib_h
=no
9952 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9954 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9955 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9956 echo "configure:9957: checking for jpeg_read_header in -ljpeg" >&5
9957 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9958 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9959 echo $ac_n "(cached) $ac_c" 1>&6
9961 ac_save_LIBS
="$LIBS"
9963 cat > conftest.
$ac_ext <<EOF
9964 #line 9965 "configure"
9965 #include "confdefs.h"
9966 /* Override any gcc2 internal prototype to avoid an error. */
9967 /* We use char because int might match the return type of a gcc2
9968 builtin and then its argument prototype would still apply. */
9969 char jpeg_read_header();
9975 if { (eval echo configure
:9976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9977 eval "ac_cv_lib_$ac_lib_var=yes"
9979 echo "configure: failed program was:" >&5
9980 cat conftest.
$ac_ext >&5
9982 eval "ac_cv_lib_$ac_lib_var=no"
9985 LIBS
="$ac_save_LIBS"
9988 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9989 echo "$ac_t""yes" 1>&6
9992 echo "$ac_t""no" 1>&6
9997 if test "x$JPEG_LINK" = "x" ; then
9998 if test "$wxUSE_LIBJPEG" = "sys" ; then
9999 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10001 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10002 wxUSE_LIBJPEG
=builtin
10009 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10010 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10017 if test "$wxUSE_LIBTIFF" != "no" ; then
10018 cat >> confdefs.h
<<\EOF
10019 #define wxUSE_LIBTIFF 1
10023 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10024 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10025 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10026 echo "configure:10027: checking for tiffio.h" >&5
10027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10028 echo $ac_n "(cached) $ac_c" 1>&6
10030 cat > conftest.
$ac_ext <<EOF
10031 #line 10032 "configure"
10032 #include "confdefs.h"
10033 #include <tiffio.h>
10035 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10036 { (eval echo configure
:10037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10037 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10038 if test -z "$ac_err"; then
10040 eval "ac_cv_header_$ac_safe=yes"
10043 echo "configure: failed program was:" >&5
10044 cat conftest.
$ac_ext >&5
10046 eval "ac_cv_header_$ac_safe=no"
10050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10051 echo "$ac_t""yes" 1>&6
10052 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10053 echo "configure:10054: checking for TIFFError in -ltiff" >&5
10054 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10056 echo $ac_n "(cached) $ac_c" 1>&6
10058 ac_save_LIBS
="$LIBS"
10059 LIBS
="-ltiff -lm $LIBS"
10060 cat > conftest.
$ac_ext <<EOF
10061 #line 10062 "configure"
10062 #include "confdefs.h"
10063 /* Override any gcc2 internal prototype to avoid an error. */
10064 /* We use char because int might match the return type of a gcc2
10065 builtin and then its argument prototype would still apply. */
10072 if { (eval echo configure
:10073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10074 eval "ac_cv_lib_$ac_lib_var=yes"
10076 echo "configure: failed program was:" >&5
10077 cat conftest.
$ac_ext >&5
10079 eval "ac_cv_lib_$ac_lib_var=no"
10082 LIBS
="$ac_save_LIBS"
10085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10086 echo "$ac_t""yes" 1>&6
10087 TIFF_LINK
=" -ltiff"
10089 echo "$ac_t""no" 1>&6
10094 echo "$ac_t""no" 1>&6
10098 if test "x$TIFF_LINK" = "x" ; then
10099 if test "$wxUSE_LIBTIFF" = "sys" ; then
10100 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10102 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10103 wxUSE_LIBTIFF
=builtin
10110 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10111 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10118 if test "$wxUSE_FREETYPE" != "no" ; then
10119 cat >> confdefs.h
<<\EOF
10120 #define wxUSE_FREETYPE 1
10124 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10125 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10126 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10127 echo "configure:10128: checking for freetype.h" >&5
10128 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10129 echo $ac_n "(cached) $ac_c" 1>&6
10131 cat > conftest.
$ac_ext <<EOF
10132 #line 10133 "configure"
10133 #include "confdefs.h"
10134 #include <freetype.h>
10136 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10137 { (eval echo configure
:10138: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10138 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10139 if test -z "$ac_err"; then
10141 eval "ac_cv_header_$ac_safe=yes"
10144 echo "configure: failed program was:" >&5
10145 cat conftest.
$ac_ext >&5
10147 eval "ac_cv_header_$ac_safe=no"
10151 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10152 echo "$ac_t""yes" 1>&6
10153 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10154 echo "configure:10155: checking for FT_Render_Glyph in -lfreetype" >&5
10155 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10157 echo $ac_n "(cached) $ac_c" 1>&6
10159 ac_save_LIBS
="$LIBS"
10160 LIBS
="-lfreetype -lm $LIBS"
10161 cat > conftest.
$ac_ext <<EOF
10162 #line 10163 "configure"
10163 #include "confdefs.h"
10164 /* Override any gcc2 internal prototype to avoid an error. */
10165 /* We use char because int might match the return type of a gcc2
10166 builtin and then its argument prototype would still apply. */
10167 char FT_Render_Glyph();
10173 if { (eval echo configure
:10174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10175 eval "ac_cv_lib_$ac_lib_var=yes"
10177 echo "configure: failed program was:" >&5
10178 cat conftest.
$ac_ext >&5
10180 eval "ac_cv_lib_$ac_lib_var=no"
10183 LIBS
="$ac_save_LIBS"
10186 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10187 echo "$ac_t""yes" 1>&6
10188 FREETYPE_LINK
=" -lfreetype"
10190 echo "$ac_t""no" 1>&6
10195 echo "$ac_t""no" 1>&6
10199 if test "x$FREETYPE_LINK" = "x" ; then
10200 if test "$wxUSE_FREETYPE" = "sys" ; then
10201 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10203 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10204 wxUSE_FREETYPE
=builtin
10211 if test "$wxUSE_FREETYPE" = "builtin" ; then
10212 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
10223 if test "$USE_WIN32" = 1 ; then
10224 for ac_hdr
in w32api.h
10226 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10227 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10228 echo "configure:10229: checking for $ac_hdr" >&5
10229 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10230 echo $ac_n "(cached) $ac_c" 1>&6
10232 cat > conftest.
$ac_ext <<EOF
10233 #line 10234 "configure"
10234 #include "confdefs.h"
10237 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10238 { (eval echo configure
:10239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10239 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10240 if test -z "$ac_err"; then
10242 eval "ac_cv_header_$ac_safe=yes"
10245 echo "configure: failed program was:" >&5
10246 cat conftest.
$ac_ext >&5
10248 eval "ac_cv_header_$ac_safe=no"
10252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10253 echo "$ac_t""yes" 1>&6
10254 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10255 cat >> confdefs.h
<<EOF
10256 #define $ac_tr_hdr 1
10260 echo "$ac_t""no" 1>&6
10264 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10265 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10266 echo "configure:10267: checking for windows.h" >&5
10267 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10268 echo $ac_n "(cached) $ac_c" 1>&6
10270 cat > conftest.
$ac_ext <<EOF
10271 #line 10272 "configure"
10272 #include "confdefs.h"
10273 #include <windows.h>
10275 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10276 { (eval echo configure
:10277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10277 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10278 if test -z "$ac_err"; then
10280 eval "ac_cv_header_$ac_safe=yes"
10283 echo "configure: failed program was:" >&5
10284 cat conftest.
$ac_ext >&5
10286 eval "ac_cv_header_$ac_safe=no"
10290 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10291 echo "$ac_t""yes" 1>&6
10294 echo "$ac_t""no" 1>&6
10296 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10301 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10302 echo "configure:10303: checking if w32api has good enough MSIE support" >&5
10303 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10304 echo $ac_n "(cached) $ac_c" 1>&6
10307 cat > conftest.
$ac_ext <<EOF
10308 #line 10309 "configure"
10309 #include "confdefs.h"
10310 #include <w32api.h>
10313 #define wxCHECK_W32API_VERSION( major, minor ) \
10314 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10315 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10316 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10318 #if !wxCHECK_W32API_VERSION(1,1)
10319 #error You need w32api 1.1 or newer
10324 if { (eval echo configure
:10325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10327 wx_cv_w32api_win32_ie
=yes
10330 echo "configure: failed program was:" >&5
10331 cat conftest.
$ac_ext >&5
10334 wx_cv_w32api_win32_ie
=no
10341 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10342 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10343 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10346 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10350 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10351 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10354 if test "$wxUSE_ODBC" = "yes" ; then
10355 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10358 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10359 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10362 if test "$wxUSE_GUI" = "yes"; then
10371 if test "$wxUSE_MSW" = 1 ; then
10377 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10381 if test "$wxUSE_GTK" = 1; then
10382 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10383 echo "configure:10384: checking for GTK+ version" >&5
10385 gtk_version_cached
=1
10386 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10387 echo $ac_n "(cached) $ac_c" 1>&6
10390 gtk_version_cached
=0
10391 echo "$ac_t""" 1>&6
10394 if test "$wxUSE_THREADS" = "yes"; then
10395 GTK_MODULES
=gthread
10399 if test "x$wxUSE_GTK2" = "xyes"; then
10400 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10401 if test "${with_gtk_prefix+set}" = set; then
10402 withval
="$with_gtk_prefix"
10403 gtk_config_prefix
="$withval"
10405 gtk_config_prefix
=""
10408 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10409 if test "${with_gtk_exec_prefix+set}" = set; then
10410 withval
="$with_gtk_exec_prefix"
10411 gtk_config_exec_prefix
="$withval"
10413 gtk_config_exec_prefix
=""
10416 # Check whether --enable-gtktest or --disable-gtktest was given.
10417 if test "${enable_gtktest+set}" = set; then
10418 enableval
="$enable_gtktest"
10425 for module
in .
$GTK_MODULES
10429 gtk_config_args
="$gtk_config_args gthread"
10434 if test x
$gtk_config_exec_prefix != x
; then
10435 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10436 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10437 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10440 if test x
$gtk_config_prefix != x
; then
10441 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10442 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10443 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10447 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10448 set dummy gtk
-config-2.0
; ac_word
=$2
10449 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10450 echo "configure:10451: checking for $ac_word" >&5
10451 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10452 echo $ac_n "(cached) $ac_c" 1>&6
10454 case "$GTK_CONFIG_2_0" in
10456 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10459 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10462 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10464 for ac_dir
in $ac_dummy; do
10465 test -z "$ac_dir" && ac_dir
=.
10466 if test -f $ac_dir/$ac_word; then
10467 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10472 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10476 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10477 if test -n "$GTK_CONFIG_2_0"; then
10478 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10480 echo "$ac_t""no" 1>&6
10483 min_gtk_version
=1.3.1
10484 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10485 echo "configure:10486: checking for GTK - version >= $min_gtk_version" >&5
10487 if test "$GTK_CONFIG_2_0" = "no" ; then
10490 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10491 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10492 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10494 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10495 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10496 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10497 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10498 if test "x$enable_gtktest" = "xyes" ; then
10499 ac_save_CFLAGS
="$CFLAGS"
10500 ac_save_LIBS
="$LIBS"
10501 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10502 LIBS
="$GTK_LIBS $LIBS"
10504 if test "$cross_compiling" = yes; then
10505 echo $ac_n "cross compiling; assumed OK... $ac_c"
10507 cat > conftest.
$ac_ext <<EOF
10508 #line 10509 "configure"
10509 #include "confdefs.h"
10511 #include <gtk/gtk.h>
10513 #include <stdlib.h>
10518 int major, minor, micro;
10521 system ("touch conf.gtktest");
10523 /* HP/UX 9 (%@#!) writes to sscanf strings */
10524 tmp_version = g_strdup("$min_gtk_version");
10525 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10526 printf("%s, bad version string\n", "$min_gtk_version");
10530 if ((gtk_major_version != $gtk_config_major_version) ||
10531 (gtk_minor_version != $gtk_config_minor_version) ||
10532 (gtk_micro_version != $gtk_config_micro_version))
10534 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10535 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10536 gtk_major_version, gtk_minor_version, gtk_micro_version);
10537 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10538 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10539 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10540 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10541 printf("*** required on your system.\n");
10542 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10543 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10544 printf("*** before re-running configure\n");
10546 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10547 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10548 (gtk_minor_version != GTK_MINOR_VERSION) ||
10549 (gtk_micro_version != GTK_MICRO_VERSION))
10551 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10552 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10553 printf("*** library (version %d.%d.%d)\n",
10554 gtk_major_version, gtk_minor_version, gtk_micro_version);
10556 #endif /* defined (GTK_MAJOR_VERSION) ... */
10559 if ((gtk_major_version > major) ||
10560 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10561 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10567 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10568 gtk_major_version, gtk_minor_version, gtk_micro_version);
10569 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10570 major, minor, micro);
10571 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10573 printf("*** If you have already installed a sufficiently new version, this error\n");
10574 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10575 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10576 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10577 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10578 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10579 printf("*** so that the correct libraries are found at run-time))\n");
10586 if { (eval echo configure
:10587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10590 echo "configure: failed program was:" >&5
10591 cat conftest.
$ac_ext >&5
10598 CFLAGS
="$ac_save_CFLAGS"
10599 LIBS
="$ac_save_LIBS"
10602 if test "x$no_gtk" = x
; then
10603 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10606 echo "$ac_t""no" 1>&6
10607 if test "$GTK_CONFIG_2_0" = "no" ; then
10608 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10609 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10610 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10611 echo "*** full path to gtk-config-2.0."
10613 if test -f conf.gtktest
; then
10616 echo "*** Could not run GTK test program, checking why..."
10617 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10618 LIBS
="$LIBS $GTK_LIBS"
10619 cat > conftest.
$ac_ext <<EOF
10620 #line 10621 "configure"
10621 #include "confdefs.h"
10623 #include <gtk/gtk.h>
10627 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10630 if { (eval echo configure
:10631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10632 echo "*** The test program compiled, but did not run. This usually means"
10633 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10634 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10635 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10636 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10637 echo "*** is required on your system"
10639 echo "*** If you have an old version installed, it is best to remove it, although"
10640 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10642 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10643 echo "*** came with the system with the command"
10645 echo "*** rpm --erase --nodeps gtk gtk-devel"
10647 echo "configure: failed program was:" >&5
10648 cat conftest.
$ac_ext >&5
10650 echo "*** The test program failed to compile or link. See the file config.log for the"
10651 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10652 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10653 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10656 CFLAGS
="$ac_save_CFLAGS"
10657 LIBS
="$ac_save_LIBS"
10670 if test -z "$wx_cv_lib_gtk"; then
10671 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10672 if test "${with_gtk_prefix+set}" = set; then
10673 withval
="$with_gtk_prefix"
10674 gtk_config_prefix
="$withval"
10676 gtk_config_prefix
=""
10679 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10680 if test "${with_gtk_exec_prefix+set}" = set; then
10681 withval
="$with_gtk_exec_prefix"
10682 gtk_config_exec_prefix
="$withval"
10684 gtk_config_exec_prefix
=""
10687 # Check whether --enable-gtktest or --disable-gtktest was given.
10688 if test "${enable_gtktest+set}" = set; then
10689 enableval
="$enable_gtktest"
10696 for module
in .
$GTK_MODULES
10700 gtk_config_args
="$gtk_config_args gthread"
10705 if test x
$gtk_config_exec_prefix != x
; then
10706 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10707 if test x
${GTK_CONFIG+set} != xset
; then
10708 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10711 if test x
$gtk_config_prefix != x
; then
10712 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10713 if test x
${GTK_CONFIG+set} != xset
; then
10714 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10718 # Extract the first word of "gtk-config", so it can be a program name with args.
10719 set dummy gtk
-config; ac_word
=$2
10720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10721 echo "configure:10722: checking for $ac_word" >&5
10722 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10723 echo $ac_n "(cached) $ac_c" 1>&6
10725 case "$GTK_CONFIG" in
10727 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10730 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10733 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10735 for ac_dir
in $ac_dummy; do
10736 test -z "$ac_dir" && ac_dir
=.
10737 if test -f $ac_dir/$ac_word; then
10738 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10743 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10747 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10748 if test -n "$GTK_CONFIG"; then
10749 echo "$ac_t""$GTK_CONFIG" 1>&6
10751 echo "$ac_t""no" 1>&6
10754 min_gtk_version
=1.2.7
10755 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10756 echo "configure:10757: checking for GTK - version >= $min_gtk_version" >&5
10758 if test "$GTK_CONFIG" = "no" ; then
10761 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10762 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10763 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10765 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10766 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10767 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10769 if test "x$enable_gtktest" = "xyes" ; then
10770 ac_save_CFLAGS
="$CFLAGS"
10771 ac_save_LIBS
="$LIBS"
10772 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10773 LIBS
="$GTK_LIBS $LIBS"
10775 if test "$cross_compiling" = yes; then
10776 echo $ac_n "cross compiling; assumed OK... $ac_c"
10778 cat > conftest.
$ac_ext <<EOF
10779 #line 10780 "configure"
10780 #include "confdefs.h"
10782 #include <gtk/gtk.h>
10784 #include <stdlib.h>
10789 int major, minor, micro;
10792 system ("touch conf.gtktest");
10794 /* HP/UX 9 (%@#!) writes to sscanf strings */
10795 tmp_version = g_strdup("$min_gtk_version");
10796 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10797 printf("%s, bad version string\n", "$min_gtk_version");
10801 if ((gtk_major_version != $gtk_config_major_version) ||
10802 (gtk_minor_version != $gtk_config_minor_version) ||
10803 (gtk_micro_version != $gtk_config_micro_version))
10805 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10806 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10807 gtk_major_version, gtk_minor_version, gtk_micro_version);
10808 printf ("*** was found! If gtk-config was correct, then it is best\n");
10809 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10810 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10811 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10812 printf("*** required on your system.\n");
10813 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10814 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10815 printf("*** before re-running configure\n");
10817 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10818 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10819 (gtk_minor_version != GTK_MINOR_VERSION) ||
10820 (gtk_micro_version != GTK_MICRO_VERSION))
10822 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10823 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10824 printf("*** library (version %d.%d.%d)\n",
10825 gtk_major_version, gtk_minor_version, gtk_micro_version);
10827 #endif /* defined (GTK_MAJOR_VERSION) ... */
10830 if ((gtk_major_version > major) ||
10831 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10832 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10838 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10839 gtk_major_version, gtk_minor_version, gtk_micro_version);
10840 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10841 major, minor, micro);
10842 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10844 printf("*** If you have already installed a sufficiently new version, this error\n");
10845 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10846 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10847 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10848 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10849 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10850 printf("*** so that the correct libraries are found at run-time))\n");
10857 if { (eval echo configure
:10858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10861 echo "configure: failed program was:" >&5
10862 cat conftest.
$ac_ext >&5
10869 CFLAGS
="$ac_save_CFLAGS"
10870 LIBS
="$ac_save_LIBS"
10873 if test "x$no_gtk" = x
; then
10874 echo "$ac_t""yes" 1>&6
10875 wx_cv_lib_gtk
=1.2.7
10877 echo "$ac_t""no" 1>&6
10878 if test "$GTK_CONFIG" = "no" ; then
10879 echo "*** The gtk-config script installed by GTK could not be found"
10880 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10881 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10882 echo "*** full path to gtk-config."
10884 if test -f conf.gtktest
; then
10887 echo "*** Could not run GTK test program, checking why..."
10888 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10889 LIBS
="$LIBS $GTK_LIBS"
10890 cat > conftest.
$ac_ext <<EOF
10891 #line 10892 "configure"
10892 #include "confdefs.h"
10894 #include <gtk/gtk.h>
10898 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10901 if { (eval echo configure
:10902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10903 echo "*** The test program compiled, but did not run. This usually means"
10904 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10905 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10906 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10907 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10908 echo "*** is required on your system"
10910 echo "*** If you have an old version installed, it is best to remove it, although"
10911 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10913 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10914 echo "*** came with the system with the command"
10916 echo "*** rpm --erase --nodeps gtk gtk-devel"
10918 echo "configure: failed program was:" >&5
10919 cat conftest.
$ac_ext >&5
10921 echo "*** The test program failed to compile or link. See the file config.log for the"
10922 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10923 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10924 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10927 CFLAGS
="$ac_save_CFLAGS"
10928 LIBS
="$ac_save_LIBS"
10941 if test -z "$wx_cv_lib_gtk"; then
10942 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10943 if test "${with_gtk_prefix+set}" = set; then
10944 withval
="$with_gtk_prefix"
10945 gtk_config_prefix
="$withval"
10947 gtk_config_prefix
=""
10950 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10951 if test "${with_gtk_exec_prefix+set}" = set; then
10952 withval
="$with_gtk_exec_prefix"
10953 gtk_config_exec_prefix
="$withval"
10955 gtk_config_exec_prefix
=""
10958 # Check whether --enable-gtktest or --disable-gtktest was given.
10959 if test "${enable_gtktest+set}" = set; then
10960 enableval
="$enable_gtktest"
10967 for module
in .
$GTK_MODULES
10971 gtk_config_args
="$gtk_config_args gthread"
10976 if test x
$gtk_config_exec_prefix != x
; then
10977 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10978 if test x
${GTK_CONFIG+set} != xset
; then
10979 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10982 if test x
$gtk_config_prefix != x
; then
10983 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10984 if test x
${GTK_CONFIG+set} != xset
; then
10985 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10989 # Extract the first word of "gtk-config", so it can be a program name with args.
10990 set dummy gtk
-config; ac_word
=$2
10991 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10992 echo "configure:10993: checking for $ac_word" >&5
10993 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10994 echo $ac_n "(cached) $ac_c" 1>&6
10996 case "$GTK_CONFIG" in
10998 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
11001 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
11004 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11006 for ac_dir
in $ac_dummy; do
11007 test -z "$ac_dir" && ac_dir
=.
11008 if test -f $ac_dir/$ac_word; then
11009 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
11014 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
11018 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
11019 if test -n "$GTK_CONFIG"; then
11020 echo "$ac_t""$GTK_CONFIG" 1>&6
11022 echo "$ac_t""no" 1>&6
11025 min_gtk_version
=1.2.3
11026 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
11027 echo "configure:11028: checking for GTK - version >= $min_gtk_version" >&5
11029 if test "$GTK_CONFIG" = "no" ; then
11032 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
11033 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
11034 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
11035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11036 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
11037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11038 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
11039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11040 if test "x$enable_gtktest" = "xyes" ; then
11041 ac_save_CFLAGS
="$CFLAGS"
11042 ac_save_LIBS
="$LIBS"
11043 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11044 LIBS
="$GTK_LIBS $LIBS"
11046 if test "$cross_compiling" = yes; then
11047 echo $ac_n "cross compiling; assumed OK... $ac_c"
11049 cat > conftest.
$ac_ext <<EOF
11050 #line 11051 "configure"
11051 #include "confdefs.h"
11053 #include <gtk/gtk.h>
11055 #include <stdlib.h>
11060 int major, minor, micro;
11063 system ("touch conf.gtktest");
11065 /* HP/UX 9 (%@#!) writes to sscanf strings */
11066 tmp_version = g_strdup("$min_gtk_version");
11067 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11068 printf("%s, bad version string\n", "$min_gtk_version");
11072 if ((gtk_major_version != $gtk_config_major_version) ||
11073 (gtk_minor_version != $gtk_config_minor_version) ||
11074 (gtk_micro_version != $gtk_config_micro_version))
11076 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11077 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11078 gtk_major_version, gtk_minor_version, gtk_micro_version);
11079 printf ("*** was found! If gtk-config was correct, then it is best\n");
11080 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11081 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11082 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11083 printf("*** required on your system.\n");
11084 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11085 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11086 printf("*** before re-running configure\n");
11088 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11089 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11090 (gtk_minor_version != GTK_MINOR_VERSION) ||
11091 (gtk_micro_version != GTK_MICRO_VERSION))
11093 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11094 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11095 printf("*** library (version %d.%d.%d)\n",
11096 gtk_major_version, gtk_minor_version, gtk_micro_version);
11098 #endif /* defined (GTK_MAJOR_VERSION) ... */
11101 if ((gtk_major_version > major) ||
11102 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11103 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11109 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11110 gtk_major_version, gtk_minor_version, gtk_micro_version);
11111 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11112 major, minor, micro);
11113 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11115 printf("*** If you have already installed a sufficiently new version, this error\n");
11116 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11117 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11118 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11119 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11120 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11121 printf("*** so that the correct libraries are found at run-time))\n");
11128 if { (eval echo configure
:11129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11132 echo "configure: failed program was:" >&5
11133 cat conftest.
$ac_ext >&5
11140 CFLAGS
="$ac_save_CFLAGS"
11141 LIBS
="$ac_save_LIBS"
11144 if test "x$no_gtk" = x
; then
11145 echo "$ac_t""yes" 1>&6
11146 wx_cv_lib_gtk
=1.2.3
11148 echo "$ac_t""no" 1>&6
11149 if test "$GTK_CONFIG" = "no" ; then
11150 echo "*** The gtk-config script installed by GTK could not be found"
11151 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11152 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11153 echo "*** full path to gtk-config."
11155 if test -f conf.gtktest
; then
11158 echo "*** Could not run GTK test program, checking why..."
11159 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11160 LIBS
="$LIBS $GTK_LIBS"
11161 cat > conftest.
$ac_ext <<EOF
11162 #line 11163 "configure"
11163 #include "confdefs.h"
11165 #include <gtk/gtk.h>
11169 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11172 if { (eval echo configure
:11173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11174 echo "*** The test program compiled, but did not run. This usually means"
11175 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11176 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11177 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11178 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11179 echo "*** is required on your system"
11181 echo "*** If you have an old version installed, it is best to remove it, although"
11182 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11184 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11185 echo "*** came with the system with the command"
11187 echo "*** rpm --erase --nodeps gtk gtk-devel"
11189 echo "configure: failed program was:" >&5
11190 cat conftest.
$ac_ext >&5
11192 echo "*** The test program failed to compile or link. See the file config.log for the"
11193 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11194 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11195 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11198 CFLAGS
="$ac_save_CFLAGS"
11199 LIBS
="$ac_save_LIBS"
11212 if test -z "$wx_cv_lib_gtk"; then
11215 wx_cv_cflags_gtk
=$GTK_CFLAGS
11216 wx_cv_libs_gtk
=$GTK_LIBS
11223 if test "$gtk_version_cached" = 1; then
11224 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11227 case "$wx_cv_lib_gtk" in
11235 *) { echo "configure: error:
11236 Please check that gtk-config is in path, the directory
11237 where GTK+ libraries are installed (returned by
11238 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11239 equivalent variable and GTK+ is version 1.2.3 or above.
11244 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11245 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11247 AFMINSTALL
=afminstall
11251 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11252 echo "configure:11253: checking for gdk_im_open in -lgdk" >&5
11253 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11254 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11255 echo $ac_n "(cached) $ac_c" 1>&6
11257 ac_save_LIBS
="$LIBS"
11259 cat > conftest.
$ac_ext <<EOF
11260 #line 11261 "configure"
11261 #include "confdefs.h"
11262 /* Override any gcc2 internal prototype to avoid an error. */
11263 /* We use char because int might match the return type of a gcc2
11264 builtin and then its argument prototype would still apply. */
11265 char gdk_im_open();
11271 if { (eval echo configure
:11272: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11273 eval "ac_cv_lib_$ac_lib_var=yes"
11275 echo "configure: failed program was:" >&5
11276 cat conftest.
$ac_ext >&5
11278 eval "ac_cv_lib_$ac_lib_var=no"
11281 LIBS
="$ac_save_LIBS"
11284 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11285 echo "$ac_t""yes" 1>&6
11286 cat >> confdefs.h
<<\EOF
11291 echo "$ac_t""no" 1>&6
11296 if test "$wxUSE_MGL" = 1; then
11297 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11298 echo "configure:11299: checking for SciTech MGL library" >&5
11299 if test "x$MGL_ROOT" = x
; then
11300 echo "$ac_t""not found" 1>&6
11301 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11303 echo "$ac_t""$MGL_ROOT" 1>&6
11308 mgl_os
=linux
/gcc
/glibc
11314 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11319 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11320 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11321 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11325 if test "x$mgl_lib_type" = x
; then
11326 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11327 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11328 mgl_lib_type
=release
11330 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11334 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11335 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11337 AFMINSTALL
=afminstall
11342 if test "$wxUSE_MICROWIN" = 1; then
11343 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11344 echo "configure:11345: checking for MicroWindows" >&5
11345 if test "x$MICROWINDOWS" = x
; then
11346 echo "$ac_t""not found" 1>&6
11347 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11349 echo "$ac_t""$MICROWINDOWS" 1>&6
11352 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11353 echo "$ac_t""MicroWindows' libraries found." 1>&6
11355 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11358 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11359 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11361 AFMINSTALL
=afminstall
11363 GUIDIST
=MICROWIN_DIST
11365 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11368 if test "$wxUSE_WINE" = 1; then
11369 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11370 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11371 echo "configure:11372: checking for windows.h" >&5
11372 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11373 echo $ac_n "(cached) $ac_c" 1>&6
11375 cat > conftest.
$ac_ext <<EOF
11376 #line 11377 "configure"
11377 #include "confdefs.h"
11378 #include <windows.h>
11380 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11381 { (eval echo configure
:11382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11382 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11383 if test -z "$ac_err"; then
11385 eval "ac_cv_header_$ac_safe=yes"
11388 echo "configure: failed program was:" >&5
11389 cat conftest.
$ac_ext >&5
11391 eval "ac_cv_header_$ac_safe=no"
11395 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11396 echo "$ac_t""yes" 1>&6
11399 echo "$ac_t""no" 1>&6
11401 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11407 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11408 echo "configure:11409: checking for Xpm library" >&5
11411 for ac_dir
in $SEARCH_LIB;
11413 for ac_extension
in a so sl dylib
; do
11414 if test -f "$ac_dir/libXpm.$ac_extension"; then
11415 ac_find_libraries
=$ac_dir
11421 if test "$ac_find_libraries" != "" ; then
11422 GUI_TK_LIBRARY
="-L$ac_find_libraries"
11424 cat >> confdefs.h
<<\EOF
11425 #define wxHAVE_LIB_XPM 1
11428 echo "$ac_t""found at $ac_find_libraries" 1>&6
11430 echo "$ac_t""no" 1>&6
11431 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11435 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11436 echo "configure:11437: checking for Mesa library" >&5
11439 for ac_dir
in $SEARCH_LIB;
11441 for ac_extension
in a so sl dylib
; do
11442 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11443 ac_find_libraries
=$ac_dir
11449 if test "$ac_find_libraries" != "" ; then
11450 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
11451 mesa_link
=" -lMesaGL"
11452 echo "$ac_t""found at $ac_find_libraries" 1>&6
11454 { echo "configure: error: no" 1>&2; exit 1; }
11457 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11460 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
11463 if test "$wxUSE_MOTIF" = 1; then
11464 # If we find X, set shell vars x_includes and x_libraries to the
11465 # paths, otherwise set no_x=yes.
11466 # Uses ac_ vars as temps to allow command line to override cache and checks.
11467 # --without-x overrides everything else, but does not touch the cache.
11468 echo $ac_n "checking for X""... $ac_c" 1>&6
11469 echo "configure:11470: checking for X" >&5
11471 # Check whether --with-x or --without-x was given.
11472 if test "${with_x+set}" = set; then
11477 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11478 if test "x$with_x" = xno
; then
11479 # The user explicitly disabled X.
11482 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11483 # Both variables are already set.
11486 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11487 echo $ac_n "(cached) $ac_c" 1>&6
11489 # One or both of the vars are not set, and there is no cached value.
11490 ac_x_includes
=NO ac_x_libraries
=NO
11492 if mkdir conftestdir
; then
11494 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11495 cat > Imakefile
<<'EOF'
11497 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11499 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11500 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11501 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11502 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11503 for ac_extension
in a so sl
; do
11504 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11505 test -f $ac_im_libdir/libX11.
$ac_extension; then
11506 ac_im_usrlibdir
=$ac_im_libdir; break
11509 # Screen out bogus values from the imake configuration. They are
11510 # bogus both because they are the default anyway, and because
11511 # using them would break gcc on systems where it needs fixed includes.
11512 case "$ac_im_incroot" in
11514 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11516 case "$ac_im_usrlibdir" in
11517 /usr
/lib
| /lib
) ;;
11518 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11525 if test "$ac_x_includes" = NO
; then
11526 # Guess where to find include files, by looking for this one X11 .h file.
11527 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11529 # First, try using that file with no special directory specified.
11530 cat > conftest.
$ac_ext <<EOF
11531 #line 11532 "configure"
11532 #include "confdefs.h"
11533 #include <$x_direct_test_include>
11535 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11536 { (eval echo configure
:11537: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11537 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11538 if test -z "$ac_err"; then
11540 # We can compile using X headers with no special include directory.
11544 echo "configure: failed program was:" >&5
11545 cat conftest.
$ac_ext >&5
11547 # Look for the header file in a standard set of common directories.
11548 # Check X11 before X11Rn because it is often a symlink to the current release.
11551 /usr
/X
11R
6/include \
11552 /usr
/X
11R
5/include \
11553 /usr
/X
11R
4/include \
11556 /usr
/include
/X11R6 \
11557 /usr
/include
/X11R5 \
11558 /usr
/include
/X11R4 \
11560 /usr
/local
/X
11/include \
11561 /usr
/local
/X
11R
6/include \
11562 /usr
/local
/X
11R
5/include \
11563 /usr
/local
/X
11R
4/include \
11565 /usr
/local
/include
/X11 \
11566 /usr
/local
/include
/X11R6 \
11567 /usr
/local
/include
/X11R5 \
11568 /usr
/local
/include
/X11R4 \
11570 /usr
/X
386/include \
11571 /usr
/x
386/include \
11572 /usr
/XFree
86/include
/X11 \
11575 /usr
/local
/include \
11576 /usr
/unsupported
/include \
11577 /usr
/athena
/include \
11578 /usr
/local
/x
11r
5/include \
11579 /usr
/lpp
/Xamples
/include \
11581 /usr
/openwin
/include \
11582 /usr
/openwin
/share
/include \
11585 if test -r "$ac_dir/$x_direct_test_include"; then
11586 ac_x_includes
=$ac_dir
11592 fi # $ac_x_includes = NO
11594 if test "$ac_x_libraries" = NO
; then
11595 # Check for the libraries.
11597 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11598 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11600 # See if we find them without any special options.
11601 # Don't add to $LIBS permanently.
11602 ac_save_LIBS
="$LIBS"
11603 LIBS
="-l$x_direct_test_library $LIBS"
11604 cat > conftest.
$ac_ext <<EOF
11605 #line 11606 "configure"
11606 #include "confdefs.h"
11609 ${x_direct_test_function}()
11612 if { (eval echo configure
:11613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11614 LIBS
="$ac_save_LIBS"
11615 # We can link X programs with no special library path.
11618 echo "configure: failed program was:" >&5
11619 cat conftest.
$ac_ext >&5
11621 LIBS
="$ac_save_LIBS"
11622 # First see if replacing the include by lib works.
11623 # Check X11 before X11Rn because it is often a symlink to the current release.
11624 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11635 /usr
/local
/X
11/lib \
11636 /usr
/local
/X
11R
6/lib \
11637 /usr
/local
/X
11R
5/lib \
11638 /usr
/local
/X
11R
4/lib \
11640 /usr
/local
/lib
/X11 \
11641 /usr
/local
/lib
/X11R6 \
11642 /usr
/local
/lib
/X11R5 \
11643 /usr
/local
/lib
/X11R4 \
11647 /usr
/XFree
86/lib
/X11 \
11651 /usr
/unsupported
/lib \
11653 /usr
/local
/x
11r
5/lib \
11654 /usr
/lpp
/Xamples
/lib \
11658 /usr
/openwin
/share
/lib \
11661 for ac_extension
in a so sl
; do
11662 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11663 ac_x_libraries
=$ac_dir
11670 fi # $ac_x_libraries = NO
11672 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11673 # Didn't find X anywhere. Cache the known absence of X.
11674 ac_cv_have_x
="have_x=no"
11676 # Record where we found X for the cache.
11677 ac_cv_have_x
="have_x=yes \
11678 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11682 eval "$ac_cv_have_x"
11685 if test "$have_x" != yes; then
11686 echo "$ac_t""$have_x" 1>&6
11689 # If each of the values was on the command line, it overrides each guess.
11690 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11691 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11692 # Update the cache value to reflect the command line values.
11693 ac_cv_have_x
="have_x=yes \
11694 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11695 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11698 if test "$no_x" = yes; then
11699 # Not all programs may use this symbol, but it does not hurt to define it.
11700 cat >> confdefs.h
<<\EOF
11701 #define X_DISPLAY_MISSING 1
11704 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11706 if test -n "$x_includes"; then
11707 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11710 # It would also be nice to do this for all -L options, not just this one.
11711 if test -n "$x_libraries"; then
11712 X_LIBS
="$X_LIBS -L$x_libraries"
11713 # For Solaris; some versions of Sun CC require a space after -R and
11714 # others require no space. Words are not sufficient . . . .
11715 case "`(uname -sr) 2>/dev/null`" in
11717 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11718 echo "configure:11719: checking whether -R must be followed by a space" >&5
11719 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11720 cat > conftest.
$ac_ext <<EOF
11721 #line 11722 "configure"
11722 #include "confdefs.h"
11728 if { (eval echo configure
:11729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11732 echo "configure: failed program was:" >&5
11733 cat conftest.
$ac_ext >&5
11738 if test $ac_R_nospace = yes; then
11739 echo "$ac_t""no" 1>&6
11740 X_LIBS
="$X_LIBS -R$x_libraries"
11742 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11743 cat > conftest.
$ac_ext <<EOF
11744 #line 11745 "configure"
11745 #include "confdefs.h"
11751 if { (eval echo configure
:11752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11755 echo "configure: failed program was:" >&5
11756 cat conftest.
$ac_ext >&5
11761 if test $ac_R_space = yes; then
11762 echo "$ac_t""yes" 1>&6
11763 X_LIBS
="$X_LIBS -R $x_libraries"
11765 echo "$ac_t""neither works" 1>&6
11768 LIBS
="$ac_xsave_LIBS"
11772 # Check for system-dependent libraries X programs must link with.
11773 # Do this before checking for the system-independent R6 libraries
11774 # (-lICE), since we may need -lsocket or whatever for X linking.
11776 if test "$ISC" = yes; then
11777 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11779 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11780 # libraries were built with DECnet support. And karl@cs.umb.edu says
11781 # the Alpha needs dnet_stub (dnet does not exist).
11782 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11783 echo "configure:11784: checking for dnet_ntoa in -ldnet" >&5
11784 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11785 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11786 echo $ac_n "(cached) $ac_c" 1>&6
11788 ac_save_LIBS
="$LIBS"
11789 LIBS
="-ldnet $LIBS"
11790 cat > conftest.
$ac_ext <<EOF
11791 #line 11792 "configure"
11792 #include "confdefs.h"
11793 /* Override any gcc2 internal prototype to avoid an error. */
11794 /* We use char because int might match the return type of a gcc2
11795 builtin and then its argument prototype would still apply. */
11802 if { (eval echo configure
:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11804 eval "ac_cv_lib_$ac_lib_var=yes"
11806 echo "configure: failed program was:" >&5
11807 cat conftest.
$ac_ext >&5
11809 eval "ac_cv_lib_$ac_lib_var=no"
11812 LIBS
="$ac_save_LIBS"
11815 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11816 echo "$ac_t""yes" 1>&6
11817 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11819 echo "$ac_t""no" 1>&6
11822 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11823 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11824 echo "configure:11825: checking for dnet_ntoa in -ldnet_stub" >&5
11825 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11826 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11827 echo $ac_n "(cached) $ac_c" 1>&6
11829 ac_save_LIBS
="$LIBS"
11830 LIBS
="-ldnet_stub $LIBS"
11831 cat > conftest.
$ac_ext <<EOF
11832 #line 11833 "configure"
11833 #include "confdefs.h"
11834 /* Override any gcc2 internal prototype to avoid an error. */
11835 /* We use char because int might match the return type of a gcc2
11836 builtin and then its argument prototype would still apply. */
11843 if { (eval echo configure
:11844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11845 eval "ac_cv_lib_$ac_lib_var=yes"
11847 echo "configure: failed program was:" >&5
11848 cat conftest.
$ac_ext >&5
11850 eval "ac_cv_lib_$ac_lib_var=no"
11853 LIBS
="$ac_save_LIBS"
11856 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11857 echo "$ac_t""yes" 1>&6
11858 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11860 echo "$ac_t""no" 1>&6
11865 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11866 # to get the SysV transport functions.
11867 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11869 # The nsl library prevents programs from opening the X display
11870 # on Irix 5.2, according to dickey@clark.net.
11871 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11872 echo "configure:11873: checking for gethostbyname" >&5
11873 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11874 echo $ac_n "(cached) $ac_c" 1>&6
11876 cat > conftest.
$ac_ext <<EOF
11877 #line 11878 "configure"
11878 #include "confdefs.h"
11879 /* System header to define __stub macros and hopefully few prototypes,
11880 which can conflict with char gethostbyname(); below. */
11881 #include <assert.h>
11882 /* Override any gcc2 internal prototype to avoid an error. */
11883 /* We use char because int might match the return type of a gcc2
11884 builtin and then its argument prototype would still apply. */
11885 char gethostbyname();
11889 /* The GNU C library defines this for functions which it implements
11890 to always fail with ENOSYS. Some functions are actually named
11891 something starting with __ and the normal name is an alias. */
11892 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11900 if { (eval echo configure
:11901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11902 eval "ac_cv_func_gethostbyname=yes"
11904 echo "configure: failed program was:" >&5
11905 cat conftest.
$ac_ext >&5
11907 eval "ac_cv_func_gethostbyname=no"
11912 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11913 echo "$ac_t""yes" 1>&6
11916 echo "$ac_t""no" 1>&6
11919 if test $ac_cv_func_gethostbyname = no
; then
11920 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11921 echo "configure:11922: checking for gethostbyname in -lnsl" >&5
11922 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11923 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11924 echo $ac_n "(cached) $ac_c" 1>&6
11926 ac_save_LIBS
="$LIBS"
11928 cat > conftest.
$ac_ext <<EOF
11929 #line 11930 "configure"
11930 #include "confdefs.h"
11931 /* Override any gcc2 internal prototype to avoid an error. */
11932 /* We use char because int might match the return type of a gcc2
11933 builtin and then its argument prototype would still apply. */
11934 char gethostbyname();
11940 if { (eval echo configure
:11941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11942 eval "ac_cv_lib_$ac_lib_var=yes"
11944 echo "configure: failed program was:" >&5
11945 cat conftest.
$ac_ext >&5
11947 eval "ac_cv_lib_$ac_lib_var=no"
11950 LIBS
="$ac_save_LIBS"
11953 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11954 echo "$ac_t""yes" 1>&6
11955 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11957 echo "$ac_t""no" 1>&6
11962 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11963 # socket/setsockopt and other routines are undefined under SCO ODT
11964 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11965 # on later versions), says simon@lia.di.epfl.ch: it contains
11966 # gethostby* variants that don't use the nameserver (or something).
11967 # -lsocket must be given before -lnsl if both are needed.
11968 # We assume that if connect needs -lnsl, so does gethostbyname.
11969 echo $ac_n "checking for connect""... $ac_c" 1>&6
11970 echo "configure:11971: checking for connect" >&5
11971 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11972 echo $ac_n "(cached) $ac_c" 1>&6
11974 cat > conftest.
$ac_ext <<EOF
11975 #line 11976 "configure"
11976 #include "confdefs.h"
11977 /* System header to define __stub macros and hopefully few prototypes,
11978 which can conflict with char connect(); below. */
11979 #include <assert.h>
11980 /* Override any gcc2 internal prototype to avoid an error. */
11981 /* We use char because int might match the return type of a gcc2
11982 builtin and then its argument prototype would still apply. */
11987 /* The GNU C library defines this for functions which it implements
11988 to always fail with ENOSYS. Some functions are actually named
11989 something starting with __ and the normal name is an alias. */
11990 #if defined (__stub_connect) || defined (__stub___connect)
11998 if { (eval echo configure
:11999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12000 eval "ac_cv_func_connect=yes"
12002 echo "configure: failed program was:" >&5
12003 cat conftest.
$ac_ext >&5
12005 eval "ac_cv_func_connect=no"
12010 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12011 echo "$ac_t""yes" 1>&6
12014 echo "$ac_t""no" 1>&6
12017 if test $ac_cv_func_connect = no
; then
12018 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12019 echo "configure:12020: checking for connect in -lsocket" >&5
12020 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12021 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12022 echo $ac_n "(cached) $ac_c" 1>&6
12024 ac_save_LIBS
="$LIBS"
12025 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12026 cat > conftest.
$ac_ext <<EOF
12027 #line 12028 "configure"
12028 #include "confdefs.h"
12029 /* Override any gcc2 internal prototype to avoid an error. */
12030 /* We use char because int might match the return type of a gcc2
12031 builtin and then its argument prototype would still apply. */
12038 if { (eval echo configure
:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12040 eval "ac_cv_lib_$ac_lib_var=yes"
12042 echo "configure: failed program was:" >&5
12043 cat conftest.
$ac_ext >&5
12045 eval "ac_cv_lib_$ac_lib_var=no"
12048 LIBS
="$ac_save_LIBS"
12051 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12052 echo "$ac_t""yes" 1>&6
12053 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12055 echo "$ac_t""no" 1>&6
12060 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12061 echo $ac_n "checking for remove""... $ac_c" 1>&6
12062 echo "configure:12063: checking for remove" >&5
12063 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12064 echo $ac_n "(cached) $ac_c" 1>&6
12066 cat > conftest.
$ac_ext <<EOF
12067 #line 12068 "configure"
12068 #include "confdefs.h"
12069 /* System header to define __stub macros and hopefully few prototypes,
12070 which can conflict with char remove(); below. */
12071 #include <assert.h>
12072 /* Override any gcc2 internal prototype to avoid an error. */
12073 /* We use char because int might match the return type of a gcc2
12074 builtin and then its argument prototype would still apply. */
12079 /* The GNU C library defines this for functions which it implements
12080 to always fail with ENOSYS. Some functions are actually named
12081 something starting with __ and the normal name is an alias. */
12082 #if defined (__stub_remove) || defined (__stub___remove)
12090 if { (eval echo configure
:12091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12092 eval "ac_cv_func_remove=yes"
12094 echo "configure: failed program was:" >&5
12095 cat conftest.
$ac_ext >&5
12097 eval "ac_cv_func_remove=no"
12102 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12103 echo "$ac_t""yes" 1>&6
12106 echo "$ac_t""no" 1>&6
12109 if test $ac_cv_func_remove = no
; then
12110 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12111 echo "configure:12112: checking for remove in -lposix" >&5
12112 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12114 echo $ac_n "(cached) $ac_c" 1>&6
12116 ac_save_LIBS
="$LIBS"
12117 LIBS
="-lposix $LIBS"
12118 cat > conftest.
$ac_ext <<EOF
12119 #line 12120 "configure"
12120 #include "confdefs.h"
12121 /* Override any gcc2 internal prototype to avoid an error. */
12122 /* We use char because int might match the return type of a gcc2
12123 builtin and then its argument prototype would still apply. */
12130 if { (eval echo configure
:12131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12132 eval "ac_cv_lib_$ac_lib_var=yes"
12134 echo "configure: failed program was:" >&5
12135 cat conftest.
$ac_ext >&5
12137 eval "ac_cv_lib_$ac_lib_var=no"
12140 LIBS
="$ac_save_LIBS"
12143 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12144 echo "$ac_t""yes" 1>&6
12145 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12147 echo "$ac_t""no" 1>&6
12152 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12153 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12154 echo "configure:12155: checking for shmat" >&5
12155 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12156 echo $ac_n "(cached) $ac_c" 1>&6
12158 cat > conftest.
$ac_ext <<EOF
12159 #line 12160 "configure"
12160 #include "confdefs.h"
12161 /* System header to define __stub macros and hopefully few prototypes,
12162 which can conflict with char shmat(); below. */
12163 #include <assert.h>
12164 /* Override any gcc2 internal prototype to avoid an error. */
12165 /* We use char because int might match the return type of a gcc2
12166 builtin and then its argument prototype would still apply. */
12171 /* The GNU C library defines this for functions which it implements
12172 to always fail with ENOSYS. Some functions are actually named
12173 something starting with __ and the normal name is an alias. */
12174 #if defined (__stub_shmat) || defined (__stub___shmat)
12182 if { (eval echo configure
:12183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12184 eval "ac_cv_func_shmat=yes"
12186 echo "configure: failed program was:" >&5
12187 cat conftest.
$ac_ext >&5
12189 eval "ac_cv_func_shmat=no"
12194 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12195 echo "$ac_t""yes" 1>&6
12198 echo "$ac_t""no" 1>&6
12201 if test $ac_cv_func_shmat = no
; then
12202 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12203 echo "configure:12204: checking for shmat in -lipc" >&5
12204 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12205 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12206 echo $ac_n "(cached) $ac_c" 1>&6
12208 ac_save_LIBS
="$LIBS"
12210 cat > conftest.
$ac_ext <<EOF
12211 #line 12212 "configure"
12212 #include "confdefs.h"
12213 /* Override any gcc2 internal prototype to avoid an error. */
12214 /* We use char because int might match the return type of a gcc2
12215 builtin and then its argument prototype would still apply. */
12222 if { (eval echo configure
:12223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12224 eval "ac_cv_lib_$ac_lib_var=yes"
12226 echo "configure: failed program was:" >&5
12227 cat conftest.
$ac_ext >&5
12229 eval "ac_cv_lib_$ac_lib_var=no"
12232 LIBS
="$ac_save_LIBS"
12235 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12236 echo "$ac_t""yes" 1>&6
12237 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12239 echo "$ac_t""no" 1>&6
12245 # Check for libraries that X11R6 Xt/Xaw programs need.
12246 ac_save_LDFLAGS
="$LDFLAGS"
12247 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12248 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12249 # check for ICE first), but we must link in the order -lSM -lICE or
12250 # we get undefined symbols. So assume we have SM if we have ICE.
12251 # These have to be linked with before -lX11, unlike the other
12252 # libraries we check for below, so use a different variable.
12253 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12254 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12255 echo "configure:12256: checking for IceConnectionNumber in -lICE" >&5
12256 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12257 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12258 echo $ac_n "(cached) $ac_c" 1>&6
12260 ac_save_LIBS
="$LIBS"
12261 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12262 cat > conftest.
$ac_ext <<EOF
12263 #line 12264 "configure"
12264 #include "confdefs.h"
12265 /* Override any gcc2 internal prototype to avoid an error. */
12266 /* We use char because int might match the return type of a gcc2
12267 builtin and then its argument prototype would still apply. */
12268 char IceConnectionNumber();
12271 IceConnectionNumber()
12274 if { (eval echo configure
:12275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12276 eval "ac_cv_lib_$ac_lib_var=yes"
12278 echo "configure: failed program was:" >&5
12279 cat conftest.
$ac_ext >&5
12281 eval "ac_cv_lib_$ac_lib_var=no"
12284 LIBS
="$ac_save_LIBS"
12287 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12288 echo "$ac_t""yes" 1>&6
12289 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12291 echo "$ac_t""no" 1>&6
12294 LDFLAGS
="$ac_save_LDFLAGS"
12299 if test "$no_x" = "yes"; then
12300 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12303 GUI_TK_LIBRARY
="$X_LIBS"
12304 TOOLKIT_INCLUDE
="$X_CFLAGS"
12305 AFMINSTALL
=afminstall
12306 COMPILED_X_PROGRAM
=0
12308 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12309 echo "configure:12310: checking for Motif/Lesstif headers" >&5
12312 for ac_dir
in $SEARCH_INCLUDE;
12314 if test -f "$ac_dir/Xm/Xm.h"; then
12315 ac_find_includes
=$ac_dir
12320 if test "$ac_find_includes" != "" ; then
12321 echo "$ac_t""found $ac_find_includes" 1>&6
12323 cat > conftest.
$ac_ext <<EOF
12324 #line 12325 "configure"
12325 #include "confdefs.h"
12332 version = xmUseVersion;
12336 if { (eval echo configure
:12337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12339 echo "$ac_t""found in default search path" 1>&6
12340 COMPILED_X_PROGRAM
=1
12343 echo "configure: failed program was:" >&5
12344 cat conftest.
$ac_ext >&5
12347 echo "$ac_t""no" 1>&6
12348 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12355 if test "$COMPILED_X_PROGRAM" = 0; then
12356 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12357 echo "configure:12358: checking for Motif/Lesstif library" >&5
12360 for ac_dir
in $SEARCH_LIB;
12362 for ac_extension
in a so sl dylib
; do
12363 if test -f "$ac_dir/libXm.$ac_extension"; then
12364 ac_find_libraries
=$ac_dir
12370 if test "$ac_find_libraries" != "" ; then
12372 ac_path_to_include
=$ac_find_includes
12373 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12375 if test $result = 0; then
12376 ac_path_to_include
=""
12378 ac_path_to_include
=" -I$ac_find_includes"
12382 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12384 if test $result = 0; then
12387 ac_path_to_link
=" -L$ac_find_libraries"
12391 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12392 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12393 echo "$ac_t""found at $ac_find_libraries" 1>&6
12395 cat > conftest.
$ac_ext <<EOF
12396 #line 12397 "configure"
12397 #include "confdefs.h"
12404 version = xmUseVersion;
12408 if { (eval echo configure
:12409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12411 echo "$ac_t""found in default search path" 1>&6
12412 COMPILED_X_PROGRAM
=1
12415 echo "configure: failed program was:" >&5
12416 cat conftest.
$ac_ext >&5
12419 echo "$ac_t""no" 1>&6
12420 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12429 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12430 echo "configure:12431: checking for Xpm library" >&5
12433 for ac_dir
in $SEARCH_LIB;
12435 for ac_extension
in a so sl dylib
; do
12436 if test -f "$ac_dir/libXpm.$ac_extension"; then
12437 ac_find_libraries
=$ac_dir
12443 if test "$ac_find_libraries" != "" ; then
12445 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12447 if test $result = 0; then
12450 ac_path_to_link
=" -L$ac_find_libraries"
12453 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12455 cat >> confdefs.h
<<\EOF
12456 #define wxHAVE_LIB_XPM 1
12459 echo "$ac_t""found at $ac_find_libraries" 1>&6
12461 cat > conftest.
$ac_ext <<EOF
12462 #line 12463 "configure"
12463 #include "confdefs.h"
12465 #include <X11/xpm.h>
12470 version = XpmLibraryVersion();
12474 if { (eval echo configure
:12475: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12478 cat >> confdefs.h
<<\EOF
12479 #define wxHAVE_LIB_XPM 1
12482 echo "$ac_t""found in default search path" 1>&6
12483 COMPILED_X_PROGRAM
=0
12486 echo "configure: failed program was:" >&5
12487 cat conftest.
$ac_ext >&5
12490 echo "$ac_t""no" 1>&6
12491 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12498 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12499 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12504 if test "$wxUSE_MAC" = 1; then
12505 if test "$wxUSE_PRECOMP" = "yes"; then
12506 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12508 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12509 CFLAGS
="$CFLAGS -fpascal-strings"
12510 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
12512 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12517 if test "$wxUSE_PM" = 1; then
12522 if test "$TOOLKIT" = "PM" ; then
12525 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12528 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12530 if test "$wxUSE_UNIVERSAL" = "yes"; then
12531 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12532 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12533 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12534 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12537 ALL_OBJECTS
="\$(GUIOBJS)"
12540 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12542 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12543 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12546 if test "$wxUSE_HTML" = "yes"; then
12547 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12550 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12551 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12553 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12554 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12556 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12557 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12559 if test "$wxUSE_LIBPNG" = "builtin" ; then
12560 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12562 if test "$wxUSE_FREETYPE" = "builtin" ; then
12563 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12566 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12567 DISTDIR
="wx\$(TOOLKIT)"
12573 if test "$USE_WIN32" = 1 ; then
12574 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12575 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12579 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12580 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12583 PORT_FILES
="\${top_srcdir}/src/files.lst"
12585 GUIDIST
="BASE_DIST"
12589 if test "$wxUSE_REGEX" = "builtin" ; then
12590 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12592 if test "$wxUSE_ZLIB" = "builtin" ; then
12593 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12596 if test "$wxUSE_OPENGL" = "yes"; then
12597 if test "$wxUSE_MAC" = 1; then
12598 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12601 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12602 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12603 echo "configure:12604: checking for GL/gl.h" >&5
12604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12605 echo $ac_n "(cached) $ac_c" 1>&6
12607 cat > conftest.
$ac_ext <<EOF
12608 #line 12609 "configure"
12609 #include "confdefs.h"
12612 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12613 { (eval echo configure
:12614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12614 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12615 if test -z "$ac_err"; then
12617 eval "ac_cv_header_$ac_safe=yes"
12620 echo "configure: failed program was:" >&5
12621 cat conftest.
$ac_ext >&5
12623 eval "ac_cv_header_$ac_safe=no"
12627 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12628 echo "$ac_t""yes" 1>&6
12630 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12631 echo "configure:12632: checking for -lGL" >&5
12634 for ac_dir
in $SEARCH_LIB;
12636 for ac_extension
in a so sl dylib
; do
12637 if test -f "$ac_dir/libGL.$ac_extension"; then
12638 ac_find_libraries
=$ac_dir
12644 if test "$ac_find_libraries" != "" ; then
12646 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12648 if test $result = 0; then
12651 ac_path_to_link
=" -L$ac_find_libraries"
12654 if test "$ac_path_to_link" = " -L/usr/lib" ; then
12655 LDFLAGS_GL
="$LDFLAGS"
12657 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12659 OPENGL_LIBS
="-lGL -lGLU"
12660 echo "$ac_t""yes" 1>&6
12662 echo "$ac_t""no" 1>&6
12663 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12664 echo "configure:12665: checking for -lMesaGL" >&5
12667 for ac_dir
in $SEARCH_LIB;
12669 for ac_extension
in a so sl dylib
; do
12670 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12671 ac_find_libraries
=$ac_dir
12677 if test "$ac_find_libraries" != "" ; then
12679 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12681 if test $result = 0; then
12684 ac_path_to_link
=" -L$ac_find_libraries"
12687 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12688 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12689 echo "$ac_t""yes" 1>&6
12691 echo "$ac_t""no" 1>&6
12696 echo "$ac_t""no" 1>&6
12701 # AC_CHECK_HEADER(GL/gl.h,
12703 # AC_CHECK_LIB(GL, glFlush,
12705 # OPENGL_LIBS="-lGL -lGLU"
12708 # AC_CHECK_LIB(MesaGL, glFlush,
12710 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12718 if test "x$OPENGL_LIBS" = "x"; then
12719 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12723 if test "$wxUSE_OPENGL" = "yes"; then
12724 cat >> confdefs.h
<<\EOF
12725 #define wxUSE_OPENGL 1
12728 cat >> confdefs.h
<<\EOF
12729 #define wxUSE_GLCANVAS 1
12732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12736 if test -z "$TOOLKIT_VPATH" ; then
12737 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12740 if test -n "$TOOLKIT" ; then
12741 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12744 lib_unicode_suffix
=
12745 if test "$wxUSE_UNICODE" = "yes"; then
12746 lib_unicode_suffix
=u
12750 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12754 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12755 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12757 if test "$cross_compiling" = "yes"; then
12758 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12759 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12762 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12763 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12765 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12766 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12768 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12769 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12770 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12771 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12773 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12774 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12777 *-*-cygwin* | *-*-mingw32* )
12781 if test "$cross_compiling" != "yes"; then
12782 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12783 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12784 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12785 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12787 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12788 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12793 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12794 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12796 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12797 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12799 if test "$wxUSE_OPENGL" = "yes"; then
12800 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12801 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12806 if test "$wxUSE_SHARED" = "yes"; then
12808 if test "$wxUSE_OPENGL" = "yes"; then
12809 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12810 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12812 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12813 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12816 if test "$GCC" = "yes"; then
12820 SHARED_LD
="${CXX} -shared -o"
12824 if test "$GCC" == "yes"; then
12825 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
12827 LDFLAGS
="$LDFLAGS -L/usr/lib"
12829 SHARED_LD
="${CXX} -b -o"
12833 if test "$wxUSE_OPENGL" = "yes"; then
12834 WX_ALL_INSTALLED
="preinstall_gl"
12835 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12837 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12842 if test "$GCC" != "yes"; then
12843 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12844 echo "configure:12845: checking for Intel compiler" >&5
12845 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12846 echo $ac_n "(cached) $ac_c" 1>&6
12849 cat > conftest.
$ac_ext <<EOF
12850 #line 12851 "configure"
12851 #include "confdefs.h"
12855 #ifndef __INTEL_COMPILER
12861 if { (eval echo configure
:12862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12865 echo "configure: failed program was:" >&5
12866 cat conftest.
$ac_ext >&5
12875 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12876 if test "$wx_cv_prog_icc" = "yes"; then
12881 if test "$wxUSE_SONAME" = "yes" ; then
12882 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12883 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12884 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12889 if test "$GCC" = yes ; then
12890 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12892 SHARED_LD
="${CXX} -G -o"
12894 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12895 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
12900 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12901 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12902 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12903 PIC_FLAG
="-dynamic -fPIC"
12907 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12910 *-*-cygwin* | *-*-mingw32* )
12912 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12914 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12915 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12917 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12919 if test "$wxUSE_OPENGL" = "yes"; then
12920 WX_ALL_INSTALLED
="preinstall_gl"
12921 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12923 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12927 *-pc-os2_emx | *-pc-os2-emx )
12932 SHARED_LD
="${LD} -shared -o"
12935 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12937 *-*-irix5* | *-*-irix6* | \
12944 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12947 if test "x$WX_TARGET_LIBRARY" = "x"; then
12948 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12949 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12952 WX_TARGET_LIBRARY_TYPE
="so"
12953 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12956 if test "$wxUSE_SHARED" = "no"; then
12958 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12959 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12962 if test "$wxUSE_MAC" = 1; then
12963 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12966 if test "$wxUSE_OPENGL" = "yes"; then
12967 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12968 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12970 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12973 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12974 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12976 WX_TARGET_LIBRARY_TYPE
="a"
12977 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12980 if test "$wxUSE_MAC" = 1; then
12981 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12982 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12983 # Extract the first word of "Rez", so it can be a program name with args.
12984 set dummy Rez
; ac_word
=$2
12985 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12986 echo "configure:12987: checking for $ac_word" >&5
12987 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12988 echo $ac_n "(cached) $ac_c" 1>&6
12990 if test -n "$RESCOMP"; then
12991 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12993 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12995 for ac_dir
in $ac_dummy; do
12996 test -z "$ac_dir" && ac_dir
=.
12997 if test -f $ac_dir/$ac_word; then
12998 ac_cv_prog_RESCOMP
="Rez"
13003 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13006 RESCOMP
="$ac_cv_prog_RESCOMP"
13007 if test -n "$RESCOMP"; then
13008 echo "$ac_t""$RESCOMP" 1>&6
13010 echo "$ac_t""no" 1>&6
13013 # Extract the first word of "DeRez", so it can be a program name with args.
13014 set dummy DeRez
; ac_word
=$2
13015 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13016 echo "configure:13017: checking for $ac_word" >&5
13017 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13018 echo $ac_n "(cached) $ac_c" 1>&6
13020 if test -n "$DEREZ"; then
13021 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13023 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13025 for ac_dir
in $ac_dummy; do
13026 test -z "$ac_dir" && ac_dir
=.
13027 if test -f $ac_dir/$ac_word; then
13028 ac_cv_prog_DEREZ
="DeRez"
13033 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13036 DEREZ
="$ac_cv_prog_DEREZ"
13037 if test -n "$DEREZ"; then
13038 echo "$ac_t""$DEREZ" 1>&6
13040 echo "$ac_t""no" 1>&6
13043 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13044 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13045 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13049 if test "$wxUSE_MAC" != 1; then
13050 for ac_hdr
in strings.h
13052 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13054 echo "configure:13055: checking for $ac_hdr" >&5
13055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13056 echo $ac_n "(cached) $ac_c" 1>&6
13058 cat > conftest.
$ac_ext <<EOF
13059 #line 13060 "configure"
13060 #include "confdefs.h"
13063 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13064 { (eval echo configure
:13065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13065 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13066 if test -z "$ac_err"; then
13068 eval "ac_cv_header_$ac_safe=yes"
13071 echo "configure: failed program was:" >&5
13072 cat conftest.
$ac_ext >&5
13074 eval "ac_cv_header_$ac_safe=no"
13078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13079 echo "$ac_t""yes" 1>&6
13080 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13081 cat >> confdefs.h
<<EOF
13082 #define $ac_tr_hdr 1
13086 echo "$ac_t""no" 1>&6
13092 for ac_hdr
in stdlib.h
13094 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13095 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13096 echo "configure:13097: checking for $ac_hdr" >&5
13097 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13098 echo $ac_n "(cached) $ac_c" 1>&6
13100 cat > conftest.
$ac_ext <<EOF
13101 #line 13102 "configure"
13102 #include "confdefs.h"
13105 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13106 { (eval echo configure
:13107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13107 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13108 if test -z "$ac_err"; then
13110 eval "ac_cv_header_$ac_safe=yes"
13113 echo "configure: failed program was:" >&5
13114 cat conftest.
$ac_ext >&5
13116 eval "ac_cv_header_$ac_safe=no"
13120 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13121 echo "$ac_t""yes" 1>&6
13122 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13123 cat >> confdefs.h
<<EOF
13124 #define $ac_tr_hdr 1
13128 echo "$ac_t""no" 1>&6
13132 for ac_hdr
in malloc.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 unistd.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 wchar.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 wcstr.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 wctype.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 fnmatch.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 langinfo.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
13413 if test "$wxUSE_GUI" = "yes"; then
13414 if test "$wxUSE_UNIX" = "yes"; then
13415 for ac_hdr
in X
11/XKBlib.h
13417 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13418 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13419 echo "configure:13420: checking for $ac_hdr" >&5
13420 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13421 echo $ac_n "(cached) $ac_c" 1>&6
13423 cat > conftest.
$ac_ext <<EOF
13424 #line 13425 "configure"
13425 #include "confdefs.h"
13428 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13429 { (eval echo configure
:13430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13430 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13431 if test -z "$ac_err"; then
13433 eval "ac_cv_header_$ac_safe=yes"
13436 echo "configure: failed program was:" >&5
13437 cat conftest.
$ac_ext >&5
13439 eval "ac_cv_header_$ac_safe=no"
13443 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13444 echo "$ac_t""yes" 1>&6
13445 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13446 cat >> confdefs.h
<<EOF
13447 #define $ac_tr_hdr 1
13451 echo "$ac_t""no" 1>&6
13459 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13460 echo "configure:13461: checking for ANSI C header files" >&5
13461 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13462 echo $ac_n "(cached) $ac_c" 1>&6
13464 cat > conftest.
$ac_ext <<EOF
13465 #line 13466 "configure"
13466 #include "confdefs.h"
13467 #include <stdlib.h>
13468 #include <stdarg.h>
13469 #include <string.h>
13472 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13473 { (eval echo configure
:13474: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13474 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13475 if test -z "$ac_err"; then
13477 ac_cv_header_stdc
=yes
13480 echo "configure: failed program was:" >&5
13481 cat conftest.
$ac_ext >&5
13483 ac_cv_header_stdc
=no
13487 if test $ac_cv_header_stdc = yes; then
13488 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13489 cat > conftest.
$ac_ext <<EOF
13490 #line 13491 "configure"
13491 #include "confdefs.h"
13492 #include <string.h>
13494 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13495 egrep "memchr" >/dev
/null
2>&1; then
13499 ac_cv_header_stdc
=no
13505 if test $ac_cv_header_stdc = yes; then
13506 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13507 cat > conftest.
$ac_ext <<EOF
13508 #line 13509 "configure"
13509 #include "confdefs.h"
13510 #include <stdlib.h>
13512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13513 egrep "free" >/dev
/null
2>&1; then
13517 ac_cv_header_stdc
=no
13523 if test $ac_cv_header_stdc = yes; then
13524 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13525 if test "$cross_compiling" = yes; then
13528 cat > conftest.
$ac_ext <<EOF
13529 #line 13530 "configure"
13530 #include "confdefs.h"
13532 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13533 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13534 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13535 int main () { int i; for (i = 0; i < 256; i++)
13536 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13540 if { (eval echo configure
:13541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13544 echo "configure: failed program was:" >&5
13545 cat conftest.
$ac_ext >&5
13547 ac_cv_header_stdc
=no
13555 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13556 if test $ac_cv_header_stdc = yes; then
13557 cat >> confdefs.h
<<\EOF
13558 #define STDC_HEADERS 1
13563 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13564 echo "configure:13565: checking for mode_t" >&5
13565 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13566 echo $ac_n "(cached) $ac_c" 1>&6
13568 cat > conftest.
$ac_ext <<EOF
13569 #line 13570 "configure"
13570 #include "confdefs.h"
13571 #include <sys/types.h>
13573 #include <stdlib.h>
13574 #include <stddef.h>
13577 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13578 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13580 ac_cv_type_mode_t
=yes
13583 ac_cv_type_mode_t
=no
13588 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13589 if test $ac_cv_type_mode_t = no
; then
13590 cat >> confdefs.h
<<\EOF
13596 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13597 echo "configure:13598: checking for off_t" >&5
13598 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13599 echo $ac_n "(cached) $ac_c" 1>&6
13601 cat > conftest.
$ac_ext <<EOF
13602 #line 13603 "configure"
13603 #include "confdefs.h"
13604 #include <sys/types.h>
13606 #include <stdlib.h>
13607 #include <stddef.h>
13610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13611 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13613 ac_cv_type_off_t
=yes
13616 ac_cv_type_off_t
=no
13621 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13622 if test $ac_cv_type_off_t = no
; then
13623 cat >> confdefs.h
<<\EOF
13629 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13630 echo "configure:13631: checking for pid_t" >&5
13631 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13632 echo $ac_n "(cached) $ac_c" 1>&6
13634 cat > conftest.
$ac_ext <<EOF
13635 #line 13636 "configure"
13636 #include "confdefs.h"
13637 #include <sys/types.h>
13639 #include <stdlib.h>
13640 #include <stddef.h>
13643 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13644 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13646 ac_cv_type_pid_t
=yes
13649 ac_cv_type_pid_t
=no
13654 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13655 if test $ac_cv_type_pid_t = no
; then
13656 cat >> confdefs.h
<<\EOF
13662 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13663 echo "configure:13664: checking for size_t" >&5
13664 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13665 echo $ac_n "(cached) $ac_c" 1>&6
13667 cat > conftest.
$ac_ext <<EOF
13668 #line 13669 "configure"
13669 #include "confdefs.h"
13670 #include <sys/types.h>
13672 #include <stdlib.h>
13673 #include <stddef.h>
13676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13677 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13679 ac_cv_type_size_t
=yes
13682 ac_cv_type_size_t
=no
13687 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13688 if test $ac_cv_type_size_t = no
; then
13689 cat >> confdefs.h
<<\EOF
13690 #define size_t unsigned
13695 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13696 echo "configure:13697: checking for uid_t in sys/types.h" >&5
13697 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13698 echo $ac_n "(cached) $ac_c" 1>&6
13700 cat > conftest.
$ac_ext <<EOF
13701 #line 13702 "configure"
13702 #include "confdefs.h"
13703 #include <sys/types.h>
13705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13706 egrep "uid_t" >/dev
/null
2>&1; then
13708 ac_cv_type_uid_t
=yes
13711 ac_cv_type_uid_t
=no
13717 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13718 if test $ac_cv_type_uid_t = no
; then
13719 cat >> confdefs.h
<<\EOF
13723 cat >> confdefs.h
<<\EOF
13730 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13731 echo "configure:13732: checking for wchar_t" >&5
13732 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13733 echo $ac_n "(cached) $ac_c" 1>&6
13736 cat > conftest.
$ac_ext <<EOF
13737 #line 13738 "configure"
13738 #include "confdefs.h"
13740 #ifdef HAVE_WCHAR_H
13742 # include <stddef.h>
13744 # include <wchar.h>
13746 #ifdef HAVE_STDLIB_H
13747 # include <stdlib.h>
13754 ws = L"Hello, world!";
13758 if { (eval echo configure
:13759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13760 wx_cv_type_wchar_t
=yes
13762 echo "configure: failed program was:" >&5
13763 cat conftest.
$ac_ext >&5
13765 wx_cv_type_wchar_t
=no
13772 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13774 if test "$wx_cv_type_wchar_t" = "yes"; then
13775 cat >> confdefs.h
<<\EOF
13776 #define wxUSE_WCHAR_T 1
13783 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13784 ac_cpp
='$CXXCPP $CPPFLAGS'
13785 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13786 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13787 cross_compiling
=$ac_cv_prog_cxx_cross
13789 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13790 echo "configure:13791: checking if size_t is unsigned int" >&5
13791 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13792 echo $ac_n "(cached) $ac_c" 1>&6
13794 cat > conftest.
$ac_ext <<EOF
13795 #line 13796 "configure"
13796 #include "confdefs.h"
13797 #include <stddef.h>
13802 struct Foo { void foo(size_t); void foo(unsigned int); };
13808 if { (eval echo configure
:13809: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13810 wx_cv_size_t_is_uint
=no
13812 echo "configure: failed program was:" >&5
13813 cat conftest.
$ac_ext >&5
13815 wx_cv_size_t_is_uint
=yes
13822 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13824 if test "$wx_cv_size_t_is_uint" = "yes"; then
13825 cat >> confdefs.h
<<\EOF
13826 #define wxSIZE_T_IS_UINT 1
13830 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13831 echo "configure:13832: checking if size_t is unsigned long" >&5
13832 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13833 echo $ac_n "(cached) $ac_c" 1>&6
13835 cat > conftest.
$ac_ext <<EOF
13836 #line 13837 "configure"
13837 #include "confdefs.h"
13838 #include <stddef.h>
13843 struct Foo { void foo(size_t); void foo(unsigned long); };
13849 if { (eval echo configure
:13850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13851 wx_cv_size_t_is_ulong
=no
13853 echo "configure: failed program was:" >&5
13854 cat conftest.
$ac_ext >&5
13856 wx_cv_size_t_is_ulong
=yes
13863 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13865 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13866 cat >> confdefs.h
<<\EOF
13867 #define wxSIZE_T_IS_ULONG 1
13874 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13875 ac_cpp
='$CPP $CPPFLAGS'
13876 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13877 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13878 cross_compiling
=$ac_cv_prog_cc_cross
13882 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13883 echo "configure:13884: checking for pw_gecos in struct passwd" >&5
13884 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13885 echo $ac_n "(cached) $ac_c" 1>&6
13888 cat > conftest.
$ac_ext <<EOF
13889 #line 13890 "configure"
13890 #include "confdefs.h"
13900 if { (eval echo configure
:13901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13903 wx_cv_struct_pw_gecos
=yes
13906 echo "configure: failed program was:" >&5
13907 cat conftest.
$ac_ext >&5
13910 wx_cv_struct_pw_gecos
=no
13919 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13921 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13922 cat >> confdefs.h
<<\EOF
13923 #define HAVE_PW_GECOS 1
13929 echo $ac_n "checking for working const""... $ac_c" 1>&6
13930 echo "configure:13931: checking for working const" >&5
13931 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13932 echo $ac_n "(cached) $ac_c" 1>&6
13934 cat > conftest.
$ac_ext <<EOF
13935 #line 13936 "configure"
13936 #include "confdefs.h"
13940 /* Ultrix mips cc rejects this. */
13941 typedef int charset[2]; const charset x;
13942 /* SunOS 4.1.1 cc rejects this. */
13943 char const *const *ccp;
13945 /* NEC SVR4.0.2 mips cc rejects this. */
13946 struct point {int x, y;};
13947 static struct point const zero = {0,0};
13948 /* AIX XL C 1.02.0.0 rejects this.
13949 It does not let you subtract one const X* pointer from another in an arm
13950 of an if-expression whose if-part is not a constant expression */
13951 const char *g = "string";
13952 ccp = &g + (g ? g-g : 0);
13953 /* HPUX 7.0 cc rejects these. */
13956 ccp = (char const *const *) p;
13957 { /* SCO 3.2v4 cc rejects this. */
13959 char const *s = 0 ? (char *) 0 : (char const *) 0;
13963 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13964 int x[] = {25, 17};
13965 const int *foo = &x[0];
13968 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13969 typedef const int *iptr;
13973 { /* AIX XL C 1.02.0.0 rejects this saying
13974 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13975 struct s { int j; const int *ap[3]; };
13976 struct s *b; b->j = 5;
13978 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13979 const int foo = 10;
13984 if { (eval echo configure
:13985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13988 echo "configure: failed program was:" >&5
13989 cat conftest.
$ac_ext >&5
13996 echo "$ac_t""$ac_cv_c_const" 1>&6
13997 if test $ac_cv_c_const = no
; then
13998 cat >> confdefs.h
<<\EOF
14004 echo $ac_n "checking for inline""... $ac_c" 1>&6
14005 echo "configure:14006: checking for inline" >&5
14006 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14007 echo $ac_n "(cached) $ac_c" 1>&6
14010 for ac_kw
in inline __inline__ __inline
; do
14011 cat > conftest.
$ac_ext <<EOF
14012 #line 14013 "configure"
14013 #include "confdefs.h"
14019 if { (eval echo configure
:14020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14021 ac_cv_c_inline
=$ac_kw; break
14023 echo "configure: failed program was:" >&5
14024 cat conftest.
$ac_ext >&5
14031 echo "$ac_t""$ac_cv_c_inline" 1>&6
14032 case "$ac_cv_c_inline" in
14034 no
) cat >> confdefs.h
<<\EOF
14038 *) cat >> confdefs.h
<<EOF
14039 #define inline $ac_cv_c_inline
14045 echo $ac_n "checking size of char""... $ac_c" 1>&6
14046 echo "configure:14047: checking size of char" >&5
14047 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14048 echo $ac_n "(cached) $ac_c" 1>&6
14050 if test "$cross_compiling" = yes; then
14051 ac_cv_sizeof_char
=1
14053 cat > conftest.
$ac_ext <<EOF
14054 #line 14055 "configure"
14055 #include "confdefs.h"
14059 FILE *f=fopen("conftestval", "w");
14061 fprintf(f, "%d\n", sizeof(char));
14065 if { (eval echo configure
:14066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14067 ac_cv_sizeof_char
=`cat conftestval`
14069 echo "configure: failed program was:" >&5
14070 cat conftest.
$ac_ext >&5
14072 ac_cv_sizeof_char
=0
14078 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14079 cat >> confdefs.h
<<EOF
14080 #define SIZEOF_CHAR $ac_cv_sizeof_char
14084 echo $ac_n "checking size of short""... $ac_c" 1>&6
14085 echo "configure:14086: checking size of short" >&5
14086 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14087 echo $ac_n "(cached) $ac_c" 1>&6
14089 if test "$cross_compiling" = yes; then
14090 ac_cv_sizeof_short
=2
14092 cat > conftest.
$ac_ext <<EOF
14093 #line 14094 "configure"
14094 #include "confdefs.h"
14098 FILE *f=fopen("conftestval", "w");
14100 fprintf(f, "%d\n", sizeof(short));
14104 if { (eval echo configure
:14105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14106 ac_cv_sizeof_short
=`cat conftestval`
14108 echo "configure: failed program was:" >&5
14109 cat conftest.
$ac_ext >&5
14111 ac_cv_sizeof_short
=0
14117 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14118 cat >> confdefs.h
<<EOF
14119 #define SIZEOF_SHORT $ac_cv_sizeof_short
14123 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14124 echo "configure:14125: checking size of int *" >&5
14125 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14126 echo $ac_n "(cached) $ac_c" 1>&6
14128 if test "$cross_compiling" = yes; then
14129 ac_cv_sizeof_int_p
=4
14131 cat > conftest.
$ac_ext <<EOF
14132 #line 14133 "configure"
14133 #include "confdefs.h"
14137 FILE *f=fopen("conftestval", "w");
14139 fprintf(f, "%d\n", sizeof(int *));
14143 if { (eval echo configure
:14144: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14145 ac_cv_sizeof_int_p
=`cat conftestval`
14147 echo "configure: failed program was:" >&5
14148 cat conftest.
$ac_ext >&5
14150 ac_cv_sizeof_int_p
=0
14156 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14157 cat >> confdefs.h
<<EOF
14158 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14162 echo $ac_n "checking size of int""... $ac_c" 1>&6
14163 echo "configure:14164: checking size of int" >&5
14164 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14165 echo $ac_n "(cached) $ac_c" 1>&6
14167 if test "$cross_compiling" = yes; then
14170 cat > conftest.
$ac_ext <<EOF
14171 #line 14172 "configure"
14172 #include "confdefs.h"
14176 FILE *f=fopen("conftestval", "w");
14178 fprintf(f, "%d\n", sizeof(int));
14182 if { (eval echo configure
:14183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14184 ac_cv_sizeof_int
=`cat conftestval`
14186 echo "configure: failed program was:" >&5
14187 cat conftest.
$ac_ext >&5
14195 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14196 cat >> confdefs.h
<<EOF
14197 #define SIZEOF_INT $ac_cv_sizeof_int
14201 echo $ac_n "checking size of long""... $ac_c" 1>&6
14202 echo "configure:14203: checking size of long" >&5
14203 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14204 echo $ac_n "(cached) $ac_c" 1>&6
14206 if test "$cross_compiling" = yes; then
14207 ac_cv_sizeof_long
=4
14209 cat > conftest.
$ac_ext <<EOF
14210 #line 14211 "configure"
14211 #include "confdefs.h"
14215 FILE *f=fopen("conftestval", "w");
14217 fprintf(f, "%d\n", sizeof(long));
14221 if { (eval echo configure
:14222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14223 ac_cv_sizeof_long
=`cat conftestval`
14225 echo "configure: failed program was:" >&5
14226 cat conftest.
$ac_ext >&5
14228 ac_cv_sizeof_long
=0
14234 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14235 cat >> confdefs.h
<<EOF
14236 #define SIZEOF_LONG $ac_cv_sizeof_long
14240 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14241 echo "configure:14242: checking size of long long" >&5
14242 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14243 echo $ac_n "(cached) $ac_c" 1>&6
14245 if test "$cross_compiling" = yes; then
14246 ac_cv_sizeof_long_long
=0
14248 cat > conftest.
$ac_ext <<EOF
14249 #line 14250 "configure"
14250 #include "confdefs.h"
14254 FILE *f=fopen("conftestval", "w");
14256 fprintf(f, "%d\n", sizeof(long long));
14260 if { (eval echo configure
:14261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14262 ac_cv_sizeof_long_long
=`cat conftestval`
14264 echo "configure: failed program was:" >&5
14265 cat conftest.
$ac_ext >&5
14267 ac_cv_sizeof_long_long
=0
14273 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14274 cat >> confdefs.h
<<EOF
14275 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14280 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14281 echo "configure:14282: checking size of wchar_t" >&5
14282 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14283 echo $ac_n "(cached) $ac_c" 1>&6
14286 if test "$cross_compiling" = yes; then
14287 wx_cv_sizeof_wchar_t
=4
14290 cat > conftest.
$ac_ext <<EOF
14291 #line 14292 "configure"
14292 #include "confdefs.h"
14294 #ifdef HAVE_WCHAR_H
14296 # include <stddef.h>
14298 # include <wchar.h>
14300 #ifdef HAVE_STDLIB_H
14301 # include <stdlib.h>
14306 FILE *f=fopen("conftestval", "w");
14308 fprintf(f, "%i", sizeof(wchar_t));
14313 if { (eval echo configure
:14314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14315 wx_cv_sizeof_wchar_t
=`cat conftestval`
14317 echo "configure: failed program was:" >&5
14318 cat conftest.
$ac_ext >&5
14320 wx_cv_sizeof_wchar_t
=0
14328 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14330 cat >> confdefs.h
<<EOF
14331 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14335 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14336 echo "configure:14337: checking whether byte ordering is bigendian" >&5
14337 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14338 echo $ac_n "(cached) $ac_c" 1>&6
14340 ac_cv_c_bigendian
=unknown
14341 # See if sys/param.h defines the BYTE_ORDER macro.
14342 cat > conftest.
$ac_ext <<EOF
14343 #line 14344 "configure"
14344 #include "confdefs.h"
14345 #include <sys/types.h>
14346 #include <sys/param.h>
14349 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14350 bogus endian macros
14354 if { (eval echo configure
:14355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14356 # It does; now see whether it defined to BIG_ENDIAN or not.
14357 cat > conftest.
$ac_ext <<EOF
14358 #line 14359 "configure"
14359 #include "confdefs.h"
14360 #include <sys/types.h>
14361 #include <sys/param.h>
14364 #if BYTE_ORDER != BIG_ENDIAN
14369 if { (eval echo configure
:14370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14371 ac_cv_c_bigendian
=yes
14373 echo "configure: failed program was:" >&5
14374 cat conftest.
$ac_ext >&5
14376 ac_cv_c_bigendian
=no
14380 echo "configure: failed program was:" >&5
14381 cat conftest.
$ac_ext >&5
14384 if test $ac_cv_c_bigendian = unknown
; then
14385 if test "$cross_compiling" = yes; then
14386 ac_cv_c_bigendian
=unknown
14388 cat > conftest.
$ac_ext <<EOF
14389 #line 14390 "configure"
14390 #include "confdefs.h"
14392 /* Are we little or big endian? From Harbison&Steele. */
14396 char c[sizeof (long)];
14399 exit (u.c[sizeof (long) - 1] == 1);
14402 if { (eval echo configure
:14403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14404 ac_cv_c_bigendian
=no
14406 echo "configure: failed program was:" >&5
14407 cat conftest.
$ac_ext >&5
14409 ac_cv_c_bigendian
=yes
14417 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14418 if test $ac_cv_c_bigendian = unknown
; then
14419 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
14421 if test $ac_cv_c_bigendian = yes; then
14422 cat >> confdefs.h
<<\EOF
14423 #define WORDS_BIGENDIAN 1
14429 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14430 echo "configure:14431: checking how to run the C++ preprocessor" >&5
14431 if test -z "$CXXCPP"; then
14432 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14433 echo $ac_n "(cached) $ac_c" 1>&6
14436 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14437 ac_cpp
='$CXXCPP $CPPFLAGS'
14438 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14439 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14440 cross_compiling
=$ac_cv_prog_cxx_cross
14441 CXXCPP
="${CXX-g++} -E"
14442 cat > conftest.
$ac_ext <<EOF
14443 #line 14444 "configure"
14444 #include "confdefs.h"
14445 #include <stdlib.h>
14447 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14448 { (eval echo configure
:14449: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14449 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14450 if test -z "$ac_err"; then
14454 echo "configure: failed program was:" >&5
14455 cat conftest.
$ac_ext >&5
14460 ac_cv_prog_CXXCPP
="$CXXCPP"
14462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14463 ac_cpp
='$CXXCPP $CPPFLAGS'
14464 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14465 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14466 cross_compiling
=$ac_cv_prog_cxx_cross
14469 CXXCPP
="$ac_cv_prog_CXXCPP"
14470 echo "$ac_t""$CXXCPP" 1>&6
14473 if test "$cross_compiling" = "yes"; then
14474 cat >> confdefs.h
<<\EOF
14475 #define wxUSE_IOSTREAMH 1
14481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14482 ac_cpp
='$CXXCPP $CPPFLAGS'
14483 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14484 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14485 cross_compiling
=$ac_cv_prog_cxx_cross
14488 for ac_hdr
in iostream
14490 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14491 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14492 echo "configure:14493: checking for $ac_hdr" >&5
14493 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14494 echo $ac_n "(cached) $ac_c" 1>&6
14496 cat > conftest.
$ac_ext <<EOF
14497 #line 14498 "configure"
14498 #include "confdefs.h"
14501 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14502 { (eval echo configure
:14503: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14503 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14504 if test -z "$ac_err"; then
14506 eval "ac_cv_header_$ac_safe=yes"
14509 echo "configure: failed program was:" >&5
14510 cat conftest.
$ac_ext >&5
14512 eval "ac_cv_header_$ac_safe=no"
14516 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14517 echo "$ac_t""yes" 1>&6
14518 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14519 cat >> confdefs.h
<<EOF
14520 #define $ac_tr_hdr 1
14524 echo "$ac_t""no" 1>&6
14529 if test "$ac_cv_header_iostream" = "yes" ; then
14532 cat >> confdefs.h
<<\EOF
14533 #define wxUSE_IOSTREAMH 1
14539 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14540 ac_cpp
='$CPP $CPPFLAGS'
14541 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14542 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14543 cross_compiling
=$ac_cv_prog_cc_cross
14549 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14550 echo "configure:14551: checking if C++ compiler supports bool" >&5
14551 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14552 echo $ac_n "(cached) $ac_c" 1>&6
14557 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14558 ac_cpp
='$CXXCPP $CPPFLAGS'
14559 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14560 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14561 cross_compiling
=$ac_cv_prog_cxx_cross
14564 cat > conftest.
$ac_ext <<EOF
14565 #line 14566 "configure"
14566 #include "confdefs.h"
14577 if { (eval echo configure
:14578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14583 echo "configure: failed program was:" >&5
14584 cat conftest.
$ac_ext >&5
14594 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14595 ac_cpp
='$CPP $CPPFLAGS'
14596 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14597 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14598 cross_compiling
=$ac_cv_prog_cc_cross
14603 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14605 if test "$wx_cv_cpp_bool" = "yes"; then
14606 cat >> confdefs.h
<<\EOF
14607 #define HAVE_BOOL 1
14614 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14615 echo "configure:14616: checking for wcslen in -lc" >&5
14616 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14617 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14618 echo $ac_n "(cached) $ac_c" 1>&6
14620 ac_save_LIBS
="$LIBS"
14622 cat > conftest.
$ac_ext <<EOF
14623 #line 14624 "configure"
14624 #include "confdefs.h"
14625 /* Override any gcc2 internal prototype to avoid an error. */
14626 /* We use char because int might match the return type of a gcc2
14627 builtin and then its argument prototype would still apply. */
14634 if { (eval echo configure
:14635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14636 eval "ac_cv_lib_$ac_lib_var=yes"
14638 echo "configure: failed program was:" >&5
14639 cat conftest.
$ac_ext >&5
14641 eval "ac_cv_lib_$ac_lib_var=no"
14644 LIBS
="$ac_save_LIBS"
14647 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14648 echo "$ac_t""yes" 1>&6
14650 cat >> confdefs.h
<<\EOF
14651 #define HAVE_WCSLEN 1
14657 echo "$ac_t""no" 1>&6
14659 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14660 echo "configure:14661: checking for wcslen in -lw" >&5
14661 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14662 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14663 echo $ac_n "(cached) $ac_c" 1>&6
14665 ac_save_LIBS
="$LIBS"
14667 cat > conftest.
$ac_ext <<EOF
14668 #line 14669 "configure"
14669 #include "confdefs.h"
14670 /* Override any gcc2 internal prototype to avoid an error. */
14671 /* We use char because int might match the return type of a gcc2
14672 builtin and then its argument prototype would still apply. */
14679 if { (eval echo configure
:14680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14681 eval "ac_cv_lib_$ac_lib_var=yes"
14683 echo "configure: failed program was:" >&5
14684 cat conftest.
$ac_ext >&5
14686 eval "ac_cv_lib_$ac_lib_var=no"
14689 LIBS
="$ac_save_LIBS"
14692 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14693 echo "$ac_t""yes" 1>&6
14695 cat >> confdefs.h
<<\EOF
14696 #define HAVE_WCSLEN 1
14702 echo "$ac_t""no" 1>&6
14704 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14705 echo "configure:14706: checking for wcslen in -lmsvcrt" >&5
14706 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14707 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14708 echo $ac_n "(cached) $ac_c" 1>&6
14710 ac_save_LIBS
="$LIBS"
14711 LIBS
="-lmsvcrt $LIBS"
14712 cat > conftest.
$ac_ext <<EOF
14713 #line 14714 "configure"
14714 #include "confdefs.h"
14715 /* Override any gcc2 internal prototype to avoid an error. */
14716 /* We use char because int might match the return type of a gcc2
14717 builtin and then its argument prototype would still apply. */
14724 if { (eval echo configure
:14725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14726 eval "ac_cv_lib_$ac_lib_var=yes"
14728 echo "configure: failed program was:" >&5
14729 cat conftest.
$ac_ext >&5
14731 eval "ac_cv_lib_$ac_lib_var=no"
14734 LIBS
="$ac_save_LIBS"
14737 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14738 echo "$ac_t""yes" 1>&6
14740 cat >> confdefs.h
<<\EOF
14741 #define HAVE_WCSLEN 1
14747 echo "$ac_t""no" 1>&6
14757 for ac_func
in wcsrtombs
14759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14760 echo "configure:14761: checking for $ac_func" >&5
14761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14762 echo $ac_n "(cached) $ac_c" 1>&6
14764 cat > conftest.
$ac_ext <<EOF
14765 #line 14766 "configure"
14766 #include "confdefs.h"
14767 /* System header to define __stub macros and hopefully few prototypes,
14768 which can conflict with char $ac_func(); below. */
14769 #include <assert.h>
14770 /* Override any gcc2 internal prototype to avoid an error. */
14771 /* We use char because int might match the return type of a gcc2
14772 builtin and then its argument prototype would still apply. */
14777 /* The GNU C library defines this for functions which it implements
14778 to always fail with ENOSYS. Some functions are actually named
14779 something starting with __ and the normal name is an alias. */
14780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14788 if { (eval echo configure
:14789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14790 eval "ac_cv_func_$ac_func=yes"
14792 echo "configure: failed program was:" >&5
14793 cat conftest.
$ac_ext >&5
14795 eval "ac_cv_func_$ac_func=no"
14800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14801 echo "$ac_t""yes" 1>&6
14802 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14803 cat >> confdefs.h
<<EOF
14804 #define $ac_tr_func 1
14808 echo "$ac_t""no" 1>&6
14813 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14814 echo "configure:14815: checking for vprintf" >&5
14815 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14816 echo $ac_n "(cached) $ac_c" 1>&6
14818 cat > conftest.
$ac_ext <<EOF
14819 #line 14820 "configure"
14820 #include "confdefs.h"
14821 /* System header to define __stub macros and hopefully few prototypes,
14822 which can conflict with char vprintf(); below. */
14823 #include <assert.h>
14824 /* Override any gcc2 internal prototype to avoid an error. */
14825 /* We use char because int might match the return type of a gcc2
14826 builtin and then its argument prototype would still apply. */
14831 /* The GNU C library defines this for functions which it implements
14832 to always fail with ENOSYS. Some functions are actually named
14833 something starting with __ and the normal name is an alias. */
14834 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14842 if { (eval echo configure
:14843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14844 eval "ac_cv_func_vprintf=yes"
14846 echo "configure: failed program was:" >&5
14847 cat conftest.
$ac_ext >&5
14849 eval "ac_cv_func_vprintf=no"
14854 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14855 echo "$ac_t""yes" 1>&6
14856 cat >> confdefs.h
<<\EOF
14857 #define HAVE_VPRINTF 1
14861 echo "$ac_t""no" 1>&6
14864 if test "$ac_cv_func_vprintf" != yes; then
14865 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14866 echo "configure:14867: checking for _doprnt" >&5
14867 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14868 echo $ac_n "(cached) $ac_c" 1>&6
14870 cat > conftest.
$ac_ext <<EOF
14871 #line 14872 "configure"
14872 #include "confdefs.h"
14873 /* System header to define __stub macros and hopefully few prototypes,
14874 which can conflict with char _doprnt(); below. */
14875 #include <assert.h>
14876 /* Override any gcc2 internal prototype to avoid an error. */
14877 /* We use char because int might match the return type of a gcc2
14878 builtin and then its argument prototype would still apply. */
14883 /* The GNU C library defines this for functions which it implements
14884 to always fail with ENOSYS. Some functions are actually named
14885 something starting with __ and the normal name is an alias. */
14886 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14894 if { (eval echo configure
:14895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14896 eval "ac_cv_func__doprnt=yes"
14898 echo "configure: failed program was:" >&5
14899 cat conftest.
$ac_ext >&5
14901 eval "ac_cv_func__doprnt=no"
14906 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14907 echo "$ac_t""yes" 1>&6
14908 cat >> confdefs.h
<<\EOF
14909 #define HAVE_DOPRNT 1
14913 echo "$ac_t""no" 1>&6
14923 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14924 echo "configure:14925: checking for vsnprintf" >&5
14925 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14926 echo $ac_n "(cached) $ac_c" 1>&6
14929 cat > conftest.
$ac_ext <<EOF
14930 #line 14931 "configure"
14931 #include "confdefs.h"
14934 #include <stdarg.h>
14938 int wx_test_vsnprintf(const char *, ...);
14940 wx_test_vsnprintf("%s");
14944 int wx_test_vsnprintf(const char *fmt, ...)
14949 va_start(argp, fmt);
14950 vsnprintf(s, 42, fmt, argp);
14955 if { (eval echo configure
:14956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14958 wx_cv_func_vsnprintf
=yes
14961 echo "configure: failed program was:" >&5
14962 cat conftest.
$ac_ext >&5
14965 cat > conftest.
$ac_ext <<EOF
14966 #line 14967 "configure"
14967 #include "confdefs.h"
14970 #include <stdarg.h>
14974 int wx_test_vsnprintf(const char *, ...);
14976 wx_test_vsnprintf("%s");
14980 int wx_test_vsnprintf(const char *fmt, ...)
14985 va_start(argp, fmt);
14986 _vsnprintf(s, 42, fmt, argp);
14991 if { (eval echo configure
:14992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14994 wx_cv_func_vsnprintf
=yes
14997 echo "configure: failed program was:" >&5
14998 cat conftest.
$ac_ext >&5
15001 wx_cv_func_vsnprintf
=no
15011 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15013 if test "$wx_cv_func_vsnprintf" = yes; then
15014 cat >> confdefs.h
<<\EOF
15015 #define HAVE_VSNPRINTF 1
15019 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15022 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15023 echo "configure:15024: checking for vsscanf" >&5
15024 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15025 echo $ac_n "(cached) $ac_c" 1>&6
15028 cat > conftest.
$ac_ext <<EOF
15029 #line 15030 "configure"
15030 #include "confdefs.h"
15033 #include <stdarg.h>
15037 int wx_test_vsscanf(const char *, ...);
15039 wx_test_vsscanf("%d");
15043 int wx_test_vsscanf(const char *fmt, ...)
15046 va_start(argp, fmt);
15047 vsscanf("42", fmt, argp);
15052 if { (eval echo configure
:15053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15055 wx_cv_func_vsscanf
=yes
15058 echo "configure: failed program was:" >&5
15059 cat conftest.
$ac_ext >&5
15062 wx_cv_func_vsscanf
=no
15069 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15071 if test "$wx_cv_func_vsscanf" = yes; then
15072 cat >> confdefs.h
<<\EOF
15073 #define HAVE_VSSCANF 1
15078 if test "$TOOLKIT" != "MSW"; then
15083 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15084 ac_cpp
='$CXXCPP $CPPFLAGS'
15085 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15086 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15087 cross_compiling
=$ac_cv_prog_cxx_cross
15091 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15092 if test "${with_libiconv_prefix+set}" = set; then
15093 withval
="$with_libiconv_prefix"
15095 for dir
in `echo "$withval" | tr : ' '`; do
15096 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15097 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15103 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15104 echo "configure:15105: checking for iconv" >&5
15105 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15109 am_cv_func_iconv
="no, consider installing GNU libiconv"
15111 cat > conftest.
$ac_ext <<EOF
15112 #line 15113 "configure"
15113 #include "confdefs.h"
15114 #include <stdlib.h>
15117 iconv_t cd = iconv_open("","");
15118 iconv(cd,NULL,NULL,NULL,NULL);
15122 if { (eval echo configure
:15123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15124 am_cv_func_iconv
=yes
15126 echo "configure: failed program was:" >&5
15127 cat conftest.
$ac_ext >&5
15130 if test "$am_cv_func_iconv" != yes; then
15131 am_save_LIBS
="$LIBS"
15132 LIBS
="$LIBS -liconv"
15133 cat > conftest.
$ac_ext <<EOF
15134 #line 15135 "configure"
15135 #include "confdefs.h"
15136 #include <stdlib.h>
15139 iconv_t cd = iconv_open("","");
15140 iconv(cd,NULL,NULL,NULL,NULL);
15144 if { (eval echo configure
:15145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15146 am_cv_lib_iconv
=yes
15147 am_cv_func_iconv
=yes
15149 echo "configure: failed program was:" >&5
15150 cat conftest.
$ac_ext >&5
15153 LIBS
="$am_save_LIBS"
15158 echo "$ac_t""$am_cv_func_iconv" 1>&6
15159 if test "$am_cv_func_iconv" = yes; then
15160 cat >> confdefs.h
<<\EOF
15161 #define HAVE_ICONV 1
15164 echo $ac_n "checking for iconv declaration""... $ac_c" 1>&6
15165 echo "configure:15166: checking for iconv declaration" >&5
15166 if eval "test \"`echo '$''{'am_cv_proto_iconv'+set}'`\" = set"; then
15167 echo $ac_n "(cached) $ac_c" 1>&6
15170 cat > conftest.
$ac_ext <<EOF
15171 #line 15172 "configure"
15172 #include "confdefs.h"
15174 #include <stdlib.h>
15180 #if defined(__STDC__) || defined(__cplusplus)
15181 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15190 if { (eval echo configure
:15191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15192 am_cv_proto_iconv_arg1
=""
15194 echo "configure: failed program was:" >&5
15195 cat conftest.
$ac_ext >&5
15197 am_cv_proto_iconv_arg1
="const"
15200 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
15203 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
15204 echo "$ac_t""${ac_t:-
15205 }$am_cv_proto_iconv" 1>&6
15206 cat >> confdefs.h
<<EOF
15207 #define ICONV_CONST $am_cv_proto_iconv_arg1
15212 if test "$am_cv_lib_iconv" = yes; then
15217 LIBS
="$LIBICONV $LIBS"
15219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15220 ac_cpp
='$CPP $CPPFLAGS'
15221 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15222 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15223 cross_compiling
=$ac_cv_prog_cc_cross
15226 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15227 for ac_func
in sigaction
15229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15230 echo "configure:15231: checking for $ac_func" >&5
15231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15232 echo $ac_n "(cached) $ac_c" 1>&6
15234 cat > conftest.
$ac_ext <<EOF
15235 #line 15236 "configure"
15236 #include "confdefs.h"
15237 /* System header to define __stub macros and hopefully few prototypes,
15238 which can conflict with char $ac_func(); below. */
15239 #include <assert.h>
15240 /* Override any gcc2 internal prototype to avoid an error. */
15241 /* We use char because int might match the return type of a gcc2
15242 builtin and then its argument prototype would still apply. */
15247 /* The GNU C library defines this for functions which it implements
15248 to always fail with ENOSYS. Some functions are actually named
15249 something starting with __ and the normal name is an alias. */
15250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15258 if { (eval echo configure
:15259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15260 eval "ac_cv_func_$ac_func=yes"
15262 echo "configure: failed program was:" >&5
15263 cat conftest.
$ac_ext >&5
15265 eval "ac_cv_func_$ac_func=no"
15270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15271 echo "$ac_t""yes" 1>&6
15272 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15273 cat >> confdefs.h
<<EOF
15274 #define $ac_tr_func 1
15278 echo "$ac_t""no" 1>&6
15283 if test "$ac_cv_func_sigaction" = "no"; then
15284 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15285 wxUSE_ON_FATAL_EXCEPTION
=no
15288 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15292 ac_cpp
='$CXXCPP $CPPFLAGS'
15293 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15294 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15295 cross_compiling
=$ac_cv_prog_cxx_cross
15298 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15299 echo "configure:15300: checking for sa_handler type" >&5
15300 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15301 echo $ac_n "(cached) $ac_c" 1>&6
15304 cat > conftest.
$ac_ext <<EOF
15305 #line 15306 "configure"
15306 #include "confdefs.h"
15307 #include <signal.h>
15310 extern void testSigHandler(int);
15312 struct sigaction sa;
15313 sa.sa_handler = testSigHandler;
15317 if { (eval echo configure
:15318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15320 wx_cv_type_sa_handler
=int
15323 echo "configure: failed program was:" >&5
15324 cat conftest.
$ac_ext >&5
15327 wx_cv_type_sa_handler
=void
15334 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15337 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15338 ac_cpp
='$CPP $CPPFLAGS'
15339 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15340 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15341 cross_compiling
=$ac_cv_prog_cc_cross
15344 cat >> confdefs.h
<<EOF
15345 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15351 for ac_func
in vfork
15353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15354 echo "configure:15355: checking for $ac_func" >&5
15355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15356 echo $ac_n "(cached) $ac_c" 1>&6
15358 cat > conftest.
$ac_ext <<EOF
15359 #line 15360 "configure"
15360 #include "confdefs.h"
15361 /* System header to define __stub macros and hopefully few prototypes,
15362 which can conflict with char $ac_func(); below. */
15363 #include <assert.h>
15364 /* Override any gcc2 internal prototype to avoid an error. */
15365 /* We use char because int might match the return type of a gcc2
15366 builtin and then its argument prototype would still apply. */
15371 /* The GNU C library defines this for functions which it implements
15372 to always fail with ENOSYS. Some functions are actually named
15373 something starting with __ and the normal name is an alias. */
15374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15382 if { (eval echo configure
:15383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15384 eval "ac_cv_func_$ac_func=yes"
15386 echo "configure: failed program was:" >&5
15387 cat conftest.
$ac_ext >&5
15389 eval "ac_cv_func_$ac_func=no"
15394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15395 echo "$ac_t""yes" 1>&6
15396 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15397 cat >> confdefs.h
<<EOF
15398 #define $ac_tr_func 1
15402 echo "$ac_t""no" 1>&6
15407 for ac_func
in mkstemp mktemp
15409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15410 echo "configure:15411: checking for $ac_func" >&5
15411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15412 echo $ac_n "(cached) $ac_c" 1>&6
15414 cat > conftest.
$ac_ext <<EOF
15415 #line 15416 "configure"
15416 #include "confdefs.h"
15417 /* System header to define __stub macros and hopefully few prototypes,
15418 which can conflict with char $ac_func(); below. */
15419 #include <assert.h>
15420 /* Override any gcc2 internal prototype to avoid an error. */
15421 /* We use char because int might match the return type of a gcc2
15422 builtin and then its argument prototype would still apply. */
15427 /* The GNU C library defines this for functions which it implements
15428 to always fail with ENOSYS. Some functions are actually named
15429 something starting with __ and the normal name is an alias. */
15430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15438 if { (eval echo configure
:15439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15440 eval "ac_cv_func_$ac_func=yes"
15442 echo "configure: failed program was:" >&5
15443 cat conftest.
$ac_ext >&5
15445 eval "ac_cv_func_$ac_func=no"
15450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15451 echo "$ac_t""yes" 1>&6
15452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15453 cat >> confdefs.h
<<EOF
15454 #define $ac_tr_func 1
15458 echo "$ac_t""no" 1>&6
15463 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15464 echo "configure:15465: checking for statfs" >&5
15465 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15466 echo $ac_n "(cached) $ac_c" 1>&6
15468 cat > conftest.
$ac_ext <<EOF
15469 #line 15470 "configure"
15470 #include "confdefs.h"
15472 #if defined(__BSD__)
15473 #include <sys/param.h>
15474 #include <sys/mount.h>
15476 #include <sys/vfs.h>
15490 if { (eval echo configure
:15491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15493 wx_cv_func_statfs
=yes
15496 echo "configure: failed program was:" >&5
15497 cat conftest.
$ac_ext >&5
15500 wx_cv_func_statfs
=no
15508 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15510 if test "$wx_cv_func_statfs" = "yes"; then
15511 cat >> confdefs.h
<<\EOF
15512 #define HAVE_STATFS 1
15516 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15517 echo "configure:15518: checking for statvfs" >&5
15518 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15519 echo $ac_n "(cached) $ac_c" 1>&6
15521 cat > conftest.
$ac_ext <<EOF
15522 #line 15523 "configure"
15523 #include "confdefs.h"
15525 #include <sys/statvfs.h>
15538 if { (eval echo configure
:15539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15541 wx_cv_func_statvfs
=yes
15544 echo "configure: failed program was:" >&5
15545 cat conftest.
$ac_ext >&5
15548 wx_cv_func_statvfs
=no
15556 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15558 if test "$wx_cv_func_statvfs" = "yes"; then
15559 cat >> confdefs.h
<<\EOF
15560 #define HAVE_STATVFS 1
15564 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15568 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15569 for ac_func
in fcntl flock
15571 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15572 echo "configure:15573: checking for $ac_func" >&5
15573 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15574 echo $ac_n "(cached) $ac_c" 1>&6
15576 cat > conftest.
$ac_ext <<EOF
15577 #line 15578 "configure"
15578 #include "confdefs.h"
15579 /* System header to define __stub macros and hopefully few prototypes,
15580 which can conflict with char $ac_func(); below. */
15581 #include <assert.h>
15582 /* Override any gcc2 internal prototype to avoid an error. */
15583 /* We use char because int might match the return type of a gcc2
15584 builtin and then its argument prototype would still apply. */
15589 /* The GNU C library defines this for functions which it implements
15590 to always fail with ENOSYS. Some functions are actually named
15591 something starting with __ and the normal name is an alias. */
15592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15600 if { (eval echo configure
:15601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15602 eval "ac_cv_func_$ac_func=yes"
15604 echo "configure: failed program was:" >&5
15605 cat conftest.
$ac_ext >&5
15607 eval "ac_cv_func_$ac_func=no"
15612 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15613 echo "$ac_t""yes" 1>&6
15614 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15615 cat >> confdefs.h
<<EOF
15616 #define $ac_tr_func 1
15620 echo "$ac_t""no" 1>&6
15625 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15626 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15627 wxUSE_SNGLINST_CHECKER
=no
15631 for ac_func
in timegm
15633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15634 echo "configure:15635: checking for $ac_func" >&5
15635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15636 echo $ac_n "(cached) $ac_c" 1>&6
15638 cat > conftest.
$ac_ext <<EOF
15639 #line 15640 "configure"
15640 #include "confdefs.h"
15641 /* System header to define __stub macros and hopefully few prototypes,
15642 which can conflict with char $ac_func(); below. */
15643 #include <assert.h>
15644 /* Override any gcc2 internal prototype to avoid an error. */
15645 /* We use char because int might match the return type of a gcc2
15646 builtin and then its argument prototype would still apply. */
15651 /* The GNU C library defines this for functions which it implements
15652 to always fail with ENOSYS. Some functions are actually named
15653 something starting with __ and the normal name is an alias. */
15654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15662 if { (eval echo configure
:15663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15664 eval "ac_cv_func_$ac_func=yes"
15666 echo "configure: failed program was:" >&5
15667 cat conftest.
$ac_ext >&5
15669 eval "ac_cv_func_$ac_func=no"
15674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15675 echo "$ac_t""yes" 1>&6
15676 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15677 cat >> confdefs.h
<<EOF
15678 #define $ac_tr_func 1
15682 echo "$ac_t""no" 1>&6
15687 for ac_func
in putenv setenv
15689 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15690 echo "configure:15691: checking for $ac_func" >&5
15691 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15692 echo $ac_n "(cached) $ac_c" 1>&6
15694 cat > conftest.
$ac_ext <<EOF
15695 #line 15696 "configure"
15696 #include "confdefs.h"
15697 /* System header to define __stub macros and hopefully few prototypes,
15698 which can conflict with char $ac_func(); below. */
15699 #include <assert.h>
15700 /* Override any gcc2 internal prototype to avoid an error. */
15701 /* We use char because int might match the return type of a gcc2
15702 builtin and then its argument prototype would still apply. */
15707 /* The GNU C library defines this for functions which it implements
15708 to always fail with ENOSYS. Some functions are actually named
15709 something starting with __ and the normal name is an alias. */
15710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15718 if { (eval echo configure
:15719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15720 eval "ac_cv_func_$ac_func=yes"
15722 echo "configure: failed program was:" >&5
15723 cat conftest.
$ac_ext >&5
15725 eval "ac_cv_func_$ac_func=no"
15730 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15731 echo "$ac_t""yes" 1>&6
15732 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15733 cat >> confdefs.h
<<EOF
15734 #define $ac_tr_func 1
15738 echo "$ac_t""no" 1>&6
15743 HAVE_SOME_SLEEP_FUNC
=0
15744 if test "$USE_BEOS" = 1; then
15745 cat >> confdefs.h
<<\EOF
15746 #define HAVE_SLEEP 1
15749 HAVE_SOME_SLEEP_FUNC
=1
15752 if test "$USE_DARWIN" = 1; then
15753 cat >> confdefs.h
<<\EOF
15754 #define HAVE_USLEEP 1
15757 HAVE_SOME_SLEEP_FUNC
=1
15760 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15762 for ac_func
in nanosleep
15764 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15765 echo "configure:15766: checking for $ac_func" >&5
15766 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15767 echo $ac_n "(cached) $ac_c" 1>&6
15769 cat > conftest.
$ac_ext <<EOF
15770 #line 15771 "configure"
15771 #include "confdefs.h"
15772 /* System header to define __stub macros and hopefully few prototypes,
15773 which can conflict with char $ac_func(); below. */
15774 #include <assert.h>
15775 /* Override any gcc2 internal prototype to avoid an error. */
15776 /* We use char because int might match the return type of a gcc2
15777 builtin and then its argument prototype would still apply. */
15782 /* The GNU C library defines this for functions which it implements
15783 to always fail with ENOSYS. Some functions are actually named
15784 something starting with __ and the normal name is an alias. */
15785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15793 if { (eval echo configure
:15794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15795 eval "ac_cv_func_$ac_func=yes"
15797 echo "configure: failed program was:" >&5
15798 cat conftest.
$ac_ext >&5
15800 eval "ac_cv_func_$ac_func=no"
15805 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15806 echo "$ac_t""yes" 1>&6
15807 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15808 cat >> confdefs.h
<<EOF
15809 #define $ac_tr_func 1
15811 cat >> confdefs.h
<<\EOF
15812 #define HAVE_NANOSLEEP 1
15816 echo "$ac_t""no" 1>&6
15817 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15818 echo "configure:15819: checking for nanosleep in -lposix4" >&5
15819 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15820 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15821 echo $ac_n "(cached) $ac_c" 1>&6
15823 ac_save_LIBS
="$LIBS"
15824 LIBS
="-lposix4 $LIBS"
15825 cat > conftest.
$ac_ext <<EOF
15826 #line 15827 "configure"
15827 #include "confdefs.h"
15828 /* Override any gcc2 internal prototype to avoid an error. */
15829 /* We use char because int might match the return type of a gcc2
15830 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
15841 echo "configure: failed program was:" >&5
15842 cat conftest.
$ac_ext >&5
15844 eval "ac_cv_lib_$ac_lib_var=no"
15847 LIBS
="$ac_save_LIBS"
15850 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15851 echo "$ac_t""yes" 1>&6
15853 cat >> confdefs.h
<<\EOF
15854 #define HAVE_NANOSLEEP 1
15857 POSIX4_LINK
=" -lposix4"
15860 echo "$ac_t""no" 1>&6
15862 for ac_func
in usleep
15864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15865 echo "configure:15866: checking for $ac_func" >&5
15866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15867 echo $ac_n "(cached) $ac_c" 1>&6
15869 cat > conftest.
$ac_ext <<EOF
15870 #line 15871 "configure"
15871 #include "confdefs.h"
15872 /* System header to define __stub macros and hopefully few prototypes,
15873 which can conflict with char $ac_func(); below. */
15874 #include <assert.h>
15875 /* Override any gcc2 internal prototype to avoid an error. */
15876 /* We use char because int might match the return type of a gcc2
15877 builtin and then its argument prototype would still apply. */
15882 /* The GNU C library defines this for functions which it implements
15883 to always fail with ENOSYS. Some functions are actually named
15884 something starting with __ and the normal name is an alias. */
15885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15893 if { (eval echo configure
:15894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15895 eval "ac_cv_func_$ac_func=yes"
15897 echo "configure: failed program was:" >&5
15898 cat conftest.
$ac_ext >&5
15900 eval "ac_cv_func_$ac_func=no"
15905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15906 echo "$ac_t""yes" 1>&6
15907 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15908 cat >> confdefs.h
<<EOF
15909 #define $ac_tr_func 1
15911 cat >> confdefs.h
<<\EOF
15912 #define HAVE_USLEEP 1
15916 echo "$ac_t""no" 1>&6
15917 echo "configure: warning: wxSleep() function will not work" 1>&2
15933 for ac_func
in uname gethostname
15935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15936 echo "configure:15937: checking for $ac_func" >&5
15937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15938 echo $ac_n "(cached) $ac_c" 1>&6
15940 cat > conftest.
$ac_ext <<EOF
15941 #line 15942 "configure"
15942 #include "confdefs.h"
15943 /* System header to define __stub macros and hopefully few prototypes,
15944 which can conflict with char $ac_func(); below. */
15945 #include <assert.h>
15946 /* Override any gcc2 internal prototype to avoid an error. */
15947 /* We use char because int might match the return type of a gcc2
15948 builtin and then its argument prototype would still apply. */
15953 /* The GNU C library defines this for functions which it implements
15954 to always fail with ENOSYS. Some functions are actually named
15955 something starting with __ and the normal name is an alias. */
15956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15964 if { (eval echo configure
:15965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15966 eval "ac_cv_func_$ac_func=yes"
15968 echo "configure: failed program was:" >&5
15969 cat conftest.
$ac_ext >&5
15971 eval "ac_cv_func_$ac_func=no"
15976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15977 echo "$ac_t""yes" 1>&6
15978 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15979 cat >> confdefs.h
<<EOF
15980 #define $ac_tr_func 1
15984 echo "$ac_t""no" 1>&6
15991 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15992 ac_cpp
='$CXXCPP $CPPFLAGS'
15993 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15994 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15995 cross_compiling
=$ac_cv_prog_cxx_cross
15998 for ac_func
in strtok_r
16000 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16001 echo "configure:16002: checking for $ac_func" >&5
16002 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16003 echo $ac_n "(cached) $ac_c" 1>&6
16005 cat > conftest.
$ac_ext <<EOF
16006 #line 16007 "configure"
16007 #include "confdefs.h"
16008 /* System header to define __stub macros and hopefully few prototypes,
16009 which can conflict with char $ac_func(); below. */
16010 #include <assert.h>
16011 /* Override any gcc2 internal prototype to avoid an error. */
16015 /* We use char because int might match the return type of a gcc2
16016 builtin and then its argument prototype would still apply. */
16021 /* The GNU C library defines this for functions which it implements
16022 to always fail with ENOSYS. Some functions are actually named
16023 something starting with __ and the normal name is an alias. */
16024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16032 if { (eval echo configure
:16033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16034 eval "ac_cv_func_$ac_func=yes"
16036 echo "configure: failed program was:" >&5
16037 cat conftest.
$ac_ext >&5
16039 eval "ac_cv_func_$ac_func=no"
16044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16045 echo "$ac_t""yes" 1>&6
16046 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16047 cat >> confdefs.h
<<EOF
16048 #define $ac_tr_func 1
16052 echo "$ac_t""no" 1>&6
16058 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16059 ac_cpp
='$CPP $CPPFLAGS'
16060 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16061 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16062 cross_compiling
=$ac_cv_prog_cc_cross
16066 for ac_func
in inet_addr
16068 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16069 echo "configure:16070: checking for $ac_func" >&5
16070 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16071 echo $ac_n "(cached) $ac_c" 1>&6
16073 cat > conftest.
$ac_ext <<EOF
16074 #line 16075 "configure"
16075 #include "confdefs.h"
16076 /* System header to define __stub macros and hopefully few prototypes,
16077 which can conflict with char $ac_func(); below. */
16078 #include <assert.h>
16079 /* Override any gcc2 internal prototype to avoid an error. */
16080 /* We use char because int might match the return type of a gcc2
16081 builtin and then its argument prototype would still apply. */
16086 /* The GNU C library defines this for functions which it implements
16087 to always fail with ENOSYS. Some functions are actually named
16088 something starting with __ and the normal name is an alias. */
16089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16097 if { (eval echo configure
:16098: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16099 eval "ac_cv_func_$ac_func=yes"
16101 echo "configure: failed program was:" >&5
16102 cat conftest.
$ac_ext >&5
16104 eval "ac_cv_func_$ac_func=no"
16109 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16110 echo "$ac_t""yes" 1>&6
16111 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16112 cat >> confdefs.h
<<EOF
16113 #define $ac_tr_func 1
16115 cat >> confdefs.h
<<\EOF
16116 #define HAVE_INET_ADDR 1
16120 echo "$ac_t""no" 1>&6
16121 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16122 echo "configure:16123: checking for inet_addr in -lnsl" >&5
16123 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16125 echo $ac_n "(cached) $ac_c" 1>&6
16127 ac_save_LIBS
="$LIBS"
16129 cat > conftest.
$ac_ext <<EOF
16130 #line 16131 "configure"
16131 #include "confdefs.h"
16132 /* Override any gcc2 internal prototype to avoid an error. */
16133 /* We use char because int might match the return type of a gcc2
16134 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
16145 echo "configure: failed program was:" >&5
16146 cat conftest.
$ac_ext >&5
16148 eval "ac_cv_lib_$ac_lib_var=no"
16151 LIBS
="$ac_save_LIBS"
16154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16155 echo "$ac_t""yes" 1>&6
16158 echo "$ac_t""no" 1>&6
16159 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16160 echo "configure:16161: checking for inet_addr in -lresolv" >&5
16161 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16162 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16163 echo $ac_n "(cached) $ac_c" 1>&6
16165 ac_save_LIBS
="$LIBS"
16166 LIBS
="-lresolv $LIBS"
16167 cat > conftest.
$ac_ext <<EOF
16168 #line 16169 "configure"
16169 #include "confdefs.h"
16170 /* Override any gcc2 internal prototype to avoid an error. */
16171 /* We use char because int might match the return type of a gcc2
16172 builtin and then its argument prototype would still apply. */
16179 if { (eval echo configure
:16180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16181 eval "ac_cv_lib_$ac_lib_var=yes"
16183 echo "configure: failed program was:" >&5
16184 cat conftest.
$ac_ext >&5
16186 eval "ac_cv_lib_$ac_lib_var=no"
16189 LIBS
="$ac_save_LIBS"
16192 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16193 echo "$ac_t""yes" 1>&6
16197 echo "$ac_t""no" 1>&6
16209 for ac_func
in inet_aton
16211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16212 echo "configure:16213: checking for $ac_func" >&5
16213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16214 echo $ac_n "(cached) $ac_c" 1>&6
16216 cat > conftest.
$ac_ext <<EOF
16217 #line 16218 "configure"
16218 #include "confdefs.h"
16219 /* System header to define __stub macros and hopefully few prototypes,
16220 which can conflict with char $ac_func(); below. */
16221 #include <assert.h>
16222 /* Override any gcc2 internal prototype to avoid an error. */
16223 /* We use char because int might match the return type of a gcc2
16224 builtin and then its argument prototype would still apply. */
16229 /* The GNU C library defines this for functions which it implements
16230 to always fail with ENOSYS. Some functions are actually named
16231 something starting with __ and the normal name is an alias. */
16232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16240 if { (eval echo configure
:16241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16242 eval "ac_cv_func_$ac_func=yes"
16244 echo "configure: failed program was:" >&5
16245 cat conftest.
$ac_ext >&5
16247 eval "ac_cv_func_$ac_func=no"
16252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16253 echo "$ac_t""yes" 1>&6
16254 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16255 cat >> confdefs.h
<<EOF
16256 #define $ac_tr_func 1
16258 cat >> confdefs.h
<<\EOF
16259 #define HAVE_INET_ATON 1
16263 echo "$ac_t""no" 1>&6
16264 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16265 echo "configure:16266: checking for inet_aton in -l$INET_LINK" >&5
16266 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16267 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16268 echo $ac_n "(cached) $ac_c" 1>&6
16270 ac_save_LIBS
="$LIBS"
16271 LIBS
="-l$INET_LINK $LIBS"
16272 cat > conftest.
$ac_ext <<EOF
16273 #line 16274 "configure"
16274 #include "confdefs.h"
16275 /* Override any gcc2 internal prototype to avoid an error. */
16276 /* We use char because int might match the return type of a gcc2
16277 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
16288 echo "configure: failed program was:" >&5
16289 cat conftest.
$ac_ext >&5
16291 eval "ac_cv_lib_$ac_lib_var=no"
16294 LIBS
="$ac_save_LIBS"
16297 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16298 echo "$ac_t""yes" 1>&6
16299 cat >> confdefs.h
<<\EOF
16300 #define HAVE_INET_ATON 1
16304 echo "$ac_t""no" 1>&6
16312 if test "x$INET_LINK" != "x"; then
16313 cat >> confdefs.h
<<\EOF
16314 #define HAVE_INET_ADDR 1
16317 INET_LINK
=" -l$INET_LINK"
16323 cat > confcache
<<\EOF
16324 # This file is a shell script that caches the results of configure
16325 # tests run on this system so they can be shared between configure
16326 # scripts and configure runs. It is not useful on other systems.
16327 # If it contains results you don't want to keep, you may remove or edit it.
16329 # By default, configure uses ./config.cache as the cache file,
16330 # creating it if it does not exist already. You can give configure
16331 # the --cache-file=FILE option to use a different cache file; that is
16332 # what configure does when it calls configure scripts in
16333 # subdirectories, so they share the cache.
16334 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16335 # config.status only pays attention to the cache file if you give it the
16336 # --recheck option to rerun configure.
16339 # The following way of writing the cache mishandles newlines in values,
16340 # but we know of no workaround that is simple, portable, and efficient.
16341 # So, don't put newlines in cache variables' values.
16342 # Ultrix sh set writes to stderr and can't be redirected directly,
16343 # and sets the high bit in the cache file unless we assign to the vars.
16345 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16347 # `set' does not quote correctly, so add quotes (double-quote substitution
16348 # turns \\\\ into \\, and sed turns \\ into \).
16350 -e "s/'/'\\\\''/g" \
16351 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16354 # `set' quotes correctly as required by POSIX, so do not add quotes.
16355 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16358 if cmp -s $cache_file confcache
; then
16361 if test -w $cache_file; then
16362 echo "updating cache $cache_file"
16363 cat confcache
> $cache_file
16365 echo "not updating unwritable cache $cache_file"
16372 if test "$TOOLKIT" != "MSW"; then
16378 CODE_GEN_FLAGS_CXX
=
16380 if test "$wxUSE_THREADS" = "yes" ; then
16381 if test "$wxUSE_WINE" = 1 ; then
16382 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16384 elif test "$USE_BEOS" = 1; then
16385 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16390 if test "$wxUSE_THREADS" = "yes" ; then
16392 if test "$USE_AIX" = 1; then
16393 THREADS_LIB
=pthreads
16395 THREADS_LIB
=pthread
16398 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16399 echo "configure:16400: checking for pthread_create in -l$THREADS_LIB" >&5
16400 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16401 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16402 echo $ac_n "(cached) $ac_c" 1>&6
16404 ac_save_LIBS
="$LIBS"
16405 LIBS
="-l$THREADS_LIB $LIBS"
16406 cat > conftest.
$ac_ext <<EOF
16407 #line 16408 "configure"
16408 #include "confdefs.h"
16409 /* Override any gcc2 internal prototype to avoid an error. */
16410 /* We use char because int might match the return type of a gcc2
16411 builtin and then its argument prototype would still apply. */
16412 char pthread_create();
16418 if { (eval echo configure
:16419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16420 eval "ac_cv_lib_$ac_lib_var=yes"
16422 echo "configure: failed program was:" >&5
16423 cat conftest.
$ac_ext >&5
16425 eval "ac_cv_lib_$ac_lib_var=no"
16428 LIBS
="$ac_save_LIBS"
16431 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16432 echo "$ac_t""yes" 1>&6
16434 THREADS_OBJ
="threadpsx.lo"
16435 THREADS_LINK
=$THREADS_LIB
16438 echo "$ac_t""no" 1>&6
16440 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16441 echo "configure:16442: checking for pthread_create in -lc_r" >&5
16442 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16443 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16444 echo $ac_n "(cached) $ac_c" 1>&6
16446 ac_save_LIBS
="$LIBS"
16448 cat > conftest.
$ac_ext <<EOF
16449 #line 16450 "configure"
16450 #include "confdefs.h"
16451 /* Override any gcc2 internal prototype to avoid an error. */
16452 /* We use char because int might match the return type of a gcc2
16453 builtin and then its argument prototype would still apply. */
16454 char pthread_create();
16460 if { (eval echo configure
:16461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16462 eval "ac_cv_lib_$ac_lib_var=yes"
16464 echo "configure: failed program was:" >&5
16465 cat conftest.
$ac_ext >&5
16467 eval "ac_cv_lib_$ac_lib_var=no"
16470 LIBS
="$ac_save_LIBS"
16473 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16474 echo "$ac_t""yes" 1>&6
16476 THREADS_OBJ
="threadpsx.lo"
16480 echo "$ac_t""no" 1>&6
16482 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16483 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16484 echo "configure:16485: checking for sys/prctl.h" >&5
16485 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16486 echo $ac_n "(cached) $ac_c" 1>&6
16488 cat > conftest.
$ac_ext <<EOF
16489 #line 16490 "configure"
16490 #include "confdefs.h"
16491 #include <sys/prctl.h>
16493 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16494 { (eval echo configure
:16495: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16495 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16496 if test -z "$ac_err"; then
16498 eval "ac_cv_header_$ac_safe=yes"
16501 echo "configure: failed program was:" >&5
16502 cat conftest.
$ac_ext >&5
16504 eval "ac_cv_header_$ac_safe=no"
16508 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16509 echo "$ac_t""yes" 1>&6
16511 THREADS_OBJ
="threadsgi.lo"
16514 echo "$ac_t""no" 1>&6
16524 if test -z "$THREADS_OBJ" ; then
16526 echo "configure: warning: No thread support on this system... disabled" 1>&2
16530 if test "$wxUSE_THREADS" = "yes" ; then
16531 for ac_func
in thr_setconcurrency
16533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16534 echo "configure:16535: checking for $ac_func" >&5
16535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16536 echo $ac_n "(cached) $ac_c" 1>&6
16538 cat > conftest.
$ac_ext <<EOF
16539 #line 16540 "configure"
16540 #include "confdefs.h"
16541 /* System header to define __stub macros and hopefully few prototypes,
16542 which can conflict with char $ac_func(); below. */
16543 #include <assert.h>
16544 /* Override any gcc2 internal prototype to avoid an error. */
16545 /* We use char because int might match the return type of a gcc2
16546 builtin and then its argument prototype would still apply. */
16551 /* The GNU C library defines this for functions which it implements
16552 to always fail with ENOSYS. Some functions are actually named
16553 something starting with __ and the normal name is an alias. */
16554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16562 if { (eval echo configure
:16563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16564 eval "ac_cv_func_$ac_func=yes"
16566 echo "configure: failed program was:" >&5
16567 cat conftest.
$ac_ext >&5
16569 eval "ac_cv_func_$ac_func=no"
16574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16575 echo "$ac_t""yes" 1>&6
16576 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16577 cat >> confdefs.h
<<EOF
16578 #define $ac_tr_func 1
16582 echo "$ac_t""no" 1>&6
16588 for ac_hdr
in sched.h
16590 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16591 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16592 echo "configure:16593: checking for $ac_hdr" >&5
16593 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16594 echo $ac_n "(cached) $ac_c" 1>&6
16596 cat > conftest.
$ac_ext <<EOF
16597 #line 16598 "configure"
16598 #include "confdefs.h"
16601 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16602 { (eval echo configure
:16603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16603 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16604 if test -z "$ac_err"; then
16606 eval "ac_cv_header_$ac_safe=yes"
16609 echo "configure: failed program was:" >&5
16610 cat conftest.
$ac_ext >&5
16612 eval "ac_cv_header_$ac_safe=no"
16616 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16617 echo "$ac_t""yes" 1>&6
16618 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16619 cat >> confdefs.h
<<EOF
16620 #define $ac_tr_hdr 1
16624 echo "$ac_t""no" 1>&6
16629 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16630 echo "configure:16631: checking for sched_yield in -l$THREADS_LINK" >&5
16631 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16632 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16633 echo $ac_n "(cached) $ac_c" 1>&6
16635 ac_save_LIBS
="$LIBS"
16636 LIBS
="-l$THREADS_LINK $LIBS"
16637 cat > conftest.
$ac_ext <<EOF
16638 #line 16639 "configure"
16639 #include "confdefs.h"
16640 /* Override any gcc2 internal prototype to avoid an error. */
16641 /* We use char because int might match the return type of a gcc2
16642 builtin and then its argument prototype would still apply. */
16643 char sched_yield();
16649 if { (eval echo configure
:16650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16651 eval "ac_cv_lib_$ac_lib_var=yes"
16653 echo "configure: failed program was:" >&5
16654 cat conftest.
$ac_ext >&5
16656 eval "ac_cv_lib_$ac_lib_var=no"
16659 LIBS
="$ac_save_LIBS"
16662 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16663 echo "$ac_t""yes" 1>&6
16664 cat >> confdefs.h
<<\EOF
16665 #define HAVE_SCHED_YIELD 1
16669 echo "$ac_t""no" 1>&6
16670 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16671 echo "configure:16672: checking for sched_yield in -lposix4" >&5
16672 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16673 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16674 echo $ac_n "(cached) $ac_c" 1>&6
16676 ac_save_LIBS
="$LIBS"
16677 LIBS
="-lposix4 $LIBS"
16678 cat > conftest.
$ac_ext <<EOF
16679 #line 16680 "configure"
16680 #include "confdefs.h"
16681 /* Override any gcc2 internal prototype to avoid an error. */
16682 /* We use char because int might match the return type of a gcc2
16683 builtin and then its argument prototype would still apply. */
16684 char sched_yield();
16690 if { (eval echo configure
:16691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16692 eval "ac_cv_lib_$ac_lib_var=yes"
16694 echo "configure: failed program was:" >&5
16695 cat conftest.
$ac_ext >&5
16697 eval "ac_cv_lib_$ac_lib_var=no"
16700 LIBS
="$ac_save_LIBS"
16703 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16704 echo "$ac_t""yes" 1>&6
16705 cat >> confdefs.h
<<\EOF
16706 #define HAVE_SCHED_YIELD 1
16708 POSIX4_LINK
=" -lposix4"
16710 echo "$ac_t""no" 1>&6
16711 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16720 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16721 echo "configure:16722: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16722 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16724 echo $ac_n "(cached) $ac_c" 1>&6
16726 ac_save_LIBS
="$LIBS"
16727 LIBS
="-l$THREADS_LINK $LIBS"
16728 cat > conftest.
$ac_ext <<EOF
16729 #line 16730 "configure"
16730 #include "confdefs.h"
16731 /* Override any gcc2 internal prototype to avoid an error. */
16732 /* We use char because int might match the return type of a gcc2
16733 builtin and then its argument prototype would still apply. */
16734 char pthread_attr_getschedpolicy();
16737 pthread_attr_getschedpolicy()
16740 if { (eval echo configure
:16741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16742 eval "ac_cv_lib_$ac_lib_var=yes"
16744 echo "configure: failed program was:" >&5
16745 cat conftest.
$ac_ext >&5
16747 eval "ac_cv_lib_$ac_lib_var=no"
16750 LIBS
="$ac_save_LIBS"
16753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16754 echo "$ac_t""yes" 1>&6
16755 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16756 echo "configure:16757: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16757 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16758 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16759 echo $ac_n "(cached) $ac_c" 1>&6
16761 ac_save_LIBS
="$LIBS"
16762 LIBS
="-l$THREADS_LINK $LIBS"
16763 cat > conftest.
$ac_ext <<EOF
16764 #line 16765 "configure"
16765 #include "confdefs.h"
16766 /* Override any gcc2 internal prototype to avoid an error. */
16767 /* We use char because int might match the return type of a gcc2
16768 builtin and then its argument prototype would still apply. */
16769 char pthread_attr_setschedparam();
16772 pthread_attr_setschedparam()
16775 if { (eval echo configure
:16776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16777 eval "ac_cv_lib_$ac_lib_var=yes"
16779 echo "configure: failed program was:" >&5
16780 cat conftest.
$ac_ext >&5
16782 eval "ac_cv_lib_$ac_lib_var=no"
16785 LIBS
="$ac_save_LIBS"
16788 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16789 echo "$ac_t""yes" 1>&6
16790 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16791 echo "configure:16792: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16792 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16793 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16794 echo $ac_n "(cached) $ac_c" 1>&6
16796 ac_save_LIBS
="$LIBS"
16797 LIBS
="-l$THREADS_LINK $LIBS"
16798 cat > conftest.
$ac_ext <<EOF
16799 #line 16800 "configure"
16800 #include "confdefs.h"
16801 /* Override any gcc2 internal prototype to avoid an error. */
16802 /* We use char because int might match the return type of a gcc2
16803 builtin and then its argument prototype would still apply. */
16804 char sched_get_priority_max();
16807 sched_get_priority_max()
16810 if { (eval echo configure
:16811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16812 eval "ac_cv_lib_$ac_lib_var=yes"
16814 echo "configure: failed program was:" >&5
16815 cat conftest.
$ac_ext >&5
16817 eval "ac_cv_lib_$ac_lib_var=no"
16820 LIBS
="$ac_save_LIBS"
16823 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16824 echo "$ac_t""yes" 1>&6
16827 echo "$ac_t""no" 1>&6
16828 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16829 echo "configure:16830: checking for sched_get_priority_max in -lposix4" >&5
16830 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16831 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16832 echo $ac_n "(cached) $ac_c" 1>&6
16834 ac_save_LIBS
="$LIBS"
16835 LIBS
="-lposix4 $LIBS"
16836 cat > conftest.
$ac_ext <<EOF
16837 #line 16838 "configure"
16838 #include "confdefs.h"
16839 /* Override any gcc2 internal prototype to avoid an error. */
16840 /* We use char because int might match the return type of a gcc2
16841 builtin and then its argument prototype would still apply. */
16842 char sched_get_priority_max();
16845 sched_get_priority_max()
16848 if { (eval echo configure
:16849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16850 eval "ac_cv_lib_$ac_lib_var=yes"
16852 echo "configure: failed program was:" >&5
16853 cat conftest.
$ac_ext >&5
16855 eval "ac_cv_lib_$ac_lib_var=no"
16858 LIBS
="$ac_save_LIBS"
16861 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16862 echo "$ac_t""yes" 1>&6
16865 POSIX4_LINK
=" -lposix4"
16868 echo "$ac_t""no" 1>&6
16876 echo "$ac_t""no" 1>&6
16881 echo "$ac_t""no" 1>&6
16885 if test "$HAVE_PRIOR_FUNCS" = 1; then
16886 cat >> confdefs.h
<<\EOF
16887 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16891 echo "configure: warning: Setting thread priority will not work" 1>&2
16894 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16895 echo "configure:16896: checking for pthread_cancel in -l$THREADS_LINK" >&5
16896 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16897 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16898 echo $ac_n "(cached) $ac_c" 1>&6
16900 ac_save_LIBS
="$LIBS"
16901 LIBS
="-l$THREADS_LINK $LIBS"
16902 cat > conftest.
$ac_ext <<EOF
16903 #line 16904 "configure"
16904 #include "confdefs.h"
16905 /* Override any gcc2 internal prototype to avoid an error. */
16906 /* We use char because int might match the return type of a gcc2
16907 builtin and then its argument prototype would still apply. */
16908 char pthread_cancel();
16914 if { (eval echo configure
:16915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16916 eval "ac_cv_lib_$ac_lib_var=yes"
16918 echo "configure: failed program was:" >&5
16919 cat conftest.
$ac_ext >&5
16921 eval "ac_cv_lib_$ac_lib_var=no"
16924 LIBS
="$ac_save_LIBS"
16927 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16928 echo "$ac_t""yes" 1>&6
16929 cat >> confdefs.h
<<\EOF
16930 #define HAVE_PTHREAD_CANCEL 1
16934 echo "$ac_t""no" 1>&6
16935 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16939 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16940 echo "configure:16941: checking for pthread_cleanup_push/pop" >&5
16941 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16942 echo $ac_n "(cached) $ac_c" 1>&6
16945 cat > conftest.
$ac_ext <<EOF
16946 #line 16947 "configure"
16947 #include "confdefs.h"
16948 #include <pthread.h>
16951 pthread_cleanup_push(NULL, NULL);
16952 pthread_cleanup_pop(0);
16956 if { (eval echo configure
:16957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16959 wx_cv_func_pthread_cleanup_push
=yes
16962 echo "configure: failed program was:" >&5
16963 cat conftest.
$ac_ext >&5
16966 wx_cv_func_pthread_cleanup_push
=no
16973 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16975 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16976 cat >> confdefs.h
<<\EOF
16977 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16983 if test "x$wx_lib_glibc21" = "xyes"; then
16984 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16987 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16988 echo "configure:16989: checking for pthread_mutexattr_t" >&5
16989 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16990 echo $ac_n "(cached) $ac_c" 1>&6
16993 cat > conftest.
$ac_ext <<EOF
16994 #line 16995 "configure"
16995 #include "confdefs.h"
16996 #include <pthread.h>
16999 pthread_mutexattr_t attr;
17000 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17004 if { (eval echo configure
:17005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17007 wx_cv_type_pthread_mutexattr_t
=yes
17010 echo "configure: failed program was:" >&5
17011 cat conftest.
$ac_ext >&5
17014 wx_cv_type_pthread_mutexattr_t
=no
17022 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17024 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17025 cat >> confdefs.h
<<\EOF
17026 #define HAVE_PTHREAD_MUTEXATTR_T 1
17030 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17031 echo "configure:17032: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17032 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17033 echo $ac_n "(cached) $ac_c" 1>&6
17036 cat > conftest.
$ac_ext <<EOF
17037 #line 17038 "configure"
17038 #include "confdefs.h"
17039 #include <pthread.h>
17042 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17046 if { (eval echo configure
:17047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17049 wx_cv_type_pthread_rec_mutex_init
=yes
17052 echo "configure: failed program was:" >&5
17053 cat conftest.
$ac_ext >&5
17056 wx_cv_type_pthread_rec_mutex_init
=no
17064 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17065 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17066 cat >> confdefs.h
<<\EOF
17067 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17071 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17075 THREADS_LINK
=" -l$THREADS_LINK"
17077 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17078 CPPFLAGS
="$CFLAGS -mt"
17079 CXXFLAGS
="$CXXFLAGS -mt"
17080 LDFLAGS
="$LDFLAGS -mt"
17086 if test "$wxUSE_THREADS" = "yes"; then
17087 cat >> confdefs.h
<<\EOF
17088 #define wxUSE_THREADS 1
17092 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17096 if test "$ac_cv_func_strtok_r" = "yes"; then
17097 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17098 echo "configure:17099: checking if -D_REENTRANT is needed" >&5
17099 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17100 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17101 echo "$ac_t""yes" 1>&6
17103 echo "$ac_t""no" 1>&6
17108 if test "$WXGTK20" = 1 ; then
17109 cat >> confdefs.h
<<EOF
17110 #define __WXGTK20__ $WXGTK20
17116 if test "$WXGTK12" = 1 ; then
17117 cat >> confdefs.h
<<EOF
17118 #define __WXGTK12__ $WXGTK12
17123 if test "$WXGTK127" = 1 ; then
17124 cat >> confdefs.h
<<EOF
17125 #define __WXGTK127__ $WXGTK127
17132 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17137 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17138 wxUSE_DEBUG_INFO
=yes
17142 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17143 cat >> confdefs.h
<<\EOF
17147 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17149 if test "$wxUSE_GTK" = 1 ; then
17150 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17154 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17155 cat >> confdefs.h
<<\EOF
17156 #define wxUSE_MEMORY_TRACING 1
17159 cat >> confdefs.h
<<\EOF
17160 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17163 cat >> confdefs.h
<<\EOF
17164 #define wxUSE_DEBUG_NEW_ALWAYS 1
17167 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17170 if test "$wxUSE_DMALLOC" = "yes" ; then
17171 DMALLOC_LIBS
="-ldmalloc"
17175 if test "$wxUSE_PROFILE" = "yes" ; then
17179 if test "$GCC" = "yes" ; then
17180 if test "$wxUSE_NO_RTTI" = "yes" ; then
17181 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17183 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17184 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17186 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17187 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17189 if test "$USE_WIN32" = 1 ; then
17190 # I'm not even really sure what this was ever added to solve,
17191 # but someone added it for mingw native builds, so I guess
17192 # they had a reason, right??
17193 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17198 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17199 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17200 if test "$wxUSE_OPTIMISE" = "no" ; then
17203 if test "$GCC" = yes ; then
17206 i586
-*-*|i686
-*-* )
17207 OPTIMISE
="${OPTIMISE} "
17215 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17216 cat >> confdefs.h
<<\EOF
17217 #define WXWIN_COMPATIBILITY_2 1
17221 WXWIN_COMPATIBILITY_2_2
="yes"
17224 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17225 cat >> confdefs.h
<<\EOF
17226 #define WXWIN_COMPATIBILITY_2_2 1
17232 if test "$wxUSE_GUI" = "yes"; then
17233 cat >> confdefs.h
<<\EOF
17234 #define wxUSE_GUI 1
17239 cat >> confdefs.h
<<\EOF
17240 #define wxUSE_NOGUI 1
17246 if test "$wxUSE_UNIX" = "yes"; then
17247 cat >> confdefs.h
<<\EOF
17248 #define wxUSE_UNIX 1
17254 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17255 cat >> confdefs.h
<<\EOF
17256 #define wxUSE_APPLE_IEEE 1
17261 if test "$wxUSE_TIMER" = "yes"; then
17262 cat >> confdefs.h
<<\EOF
17263 #define wxUSE_TIMER 1
17268 if test "$wxUSE_WAVE" = "yes"; then
17269 cat >> confdefs.h
<<\EOF
17270 #define wxUSE_WAVE 1
17275 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17276 cat >> confdefs.h
<<\EOF
17277 #define wxUSE_CMDLINE_PARSER 1
17282 if test "$wxUSE_STOPWATCH" = "yes"; then
17283 cat >> confdefs.h
<<\EOF
17284 #define wxUSE_STOPWATCH 1
17289 if test "$wxUSE_DATETIME" = "yes"; then
17290 cat >> confdefs.h
<<\EOF
17291 #define wxUSE_DATETIME 1
17296 if test "$wxUSE_TIMEDATE" = "yes"; then
17297 cat >> confdefs.h
<<\EOF
17298 #define wxUSE_TIMEDATE 1
17303 if test "$wxUSE_FILE" = "yes"; then
17304 cat >> confdefs.h
<<\EOF
17305 #define wxUSE_FILE 1
17310 if test "$wxUSE_FFILE" = "yes"; then
17311 cat >> confdefs.h
<<\EOF
17312 #define wxUSE_FFILE 1
17317 if test "$wxUSE_FILESYSTEM" = "yes"; then
17318 cat >> confdefs.h
<<\EOF
17319 #define wxUSE_FILESYSTEM 1
17324 if test "$wxUSE_FS_INET" = "yes"; then
17325 cat >> confdefs.h
<<\EOF
17326 #define wxUSE_FS_INET 1
17331 if test "$wxUSE_FS_ZIP" = "yes"; then
17332 cat >> confdefs.h
<<\EOF
17333 #define wxUSE_FS_ZIP 1
17338 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17339 cat >> confdefs.h
<<\EOF
17340 #define wxUSE_ZIPSTREAM 1
17345 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17346 cat >> confdefs.h
<<\EOF
17347 #define wxUSE_ON_FATAL_EXCEPTION 1
17352 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17353 cat >> confdefs.h
<<\EOF
17354 #define wxUSE_SNGLINST_CHECKER 1
17359 if test "$wxUSE_BUSYINFO" = "yes"; then
17360 cat >> confdefs.h
<<\EOF
17361 #define wxUSE_BUSYINFO 1
17366 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17367 cat >> confdefs.h
<<\EOF
17368 #define wxUSE_STD_IOSTREAM 1
17373 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17374 cat >> confdefs.h
<<\EOF
17375 #define wxUSE_TEXTBUFFER 1
17380 if test "$wxUSE_TEXTFILE" = "yes"; then
17381 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17382 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17384 cat >> confdefs.h
<<\EOF
17385 #define wxUSE_TEXTFILE 1
17391 if test "$wxUSE_CONFIG" = "yes" ; then
17392 if test "$wxUSE_TEXTFILE" != "yes"; then
17393 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17395 cat >> confdefs.h
<<\EOF
17396 #define wxUSE_CONFIG 1
17399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
17403 if test "$wxUSE_INTL" = "yes" ; then
17404 if test "$wxUSE_FILE" != "yes"; then
17405 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17407 cat >> confdefs.h
<<\EOF
17408 #define wxUSE_INTL 1
17411 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
17412 GUIDIST
="$GUIDIST INTL_DIST"
17416 if test "$wxUSE_LOG" = "yes"; then
17417 cat >> confdefs.h
<<\EOF
17418 #define wxUSE_LOG 1
17422 if test "$wxUSE_LOGGUI" = "yes"; then
17423 cat >> confdefs.h
<<\EOF
17424 #define wxUSE_LOGGUI 1
17429 if test "$wxUSE_LOGWINDOW" = "yes"; then
17430 cat >> confdefs.h
<<\EOF
17431 #define wxUSE_LOGWINDOW 1
17436 if test "$wxUSE_LOGDIALOG" = "yes"; then
17437 cat >> confdefs.h
<<\EOF
17438 #define wxUSE_LOG_DIALOG 1
17444 if test "$wxUSE_LONGLONG" = "yes"; then
17445 cat >> confdefs.h
<<\EOF
17446 #define wxUSE_LONGLONG 1
17451 if test "$wxUSE_GEOMETRY" = "yes"; then
17452 cat >> confdefs.h
<<\EOF
17453 #define wxUSE_GEOMETRY 1
17458 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17459 cat >> confdefs.h
<<\EOF
17460 #define wxUSE_DIALUP_MANAGER 1
17463 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
17466 if test "$wxUSE_STREAMS" = "yes" ; then
17467 cat >> confdefs.h
<<\EOF
17468 #define wxUSE_STREAMS 1
17474 if test "$wxUSE_DATETIME" = "yes"; then
17475 for ac_func
in strptime
17477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17478 echo "configure:17479: checking for $ac_func" >&5
17479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17480 echo $ac_n "(cached) $ac_c" 1>&6
17482 cat > conftest.
$ac_ext <<EOF
17483 #line 17484 "configure"
17484 #include "confdefs.h"
17485 /* System header to define __stub macros and hopefully few prototypes,
17486 which can conflict with char $ac_func(); below. */
17487 #include <assert.h>
17488 /* Override any gcc2 internal prototype to avoid an error. */
17489 /* We use char because int might match the return type of a gcc2
17490 builtin and then its argument prototype would still apply. */
17495 /* The GNU C library defines this for functions which it implements
17496 to always fail with ENOSYS. Some functions are actually named
17497 something starting with __ and the normal name is an alias. */
17498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17506 if { (eval echo configure
:17507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17508 eval "ac_cv_func_$ac_func=yes"
17510 echo "configure: failed program was:" >&5
17511 cat conftest.
$ac_ext >&5
17513 eval "ac_cv_func_$ac_func=no"
17518 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17519 echo "$ac_t""yes" 1>&6
17520 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17521 cat >> confdefs.h
<<EOF
17522 #define $ac_tr_func 1
17526 echo "$ac_t""no" 1>&6
17531 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17532 echo "configure:17533: checking for timezone variable in <time.h>" >&5
17533 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17534 echo $ac_n "(cached) $ac_c" 1>&6
17537 cat > conftest.
$ac_ext <<EOF
17538 #line 17539 "configure"
17539 #include "confdefs.h"
17550 if { (eval echo configure
:17551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17553 wx_cv_var_timezone
=timezone
17556 echo "configure: failed program was:" >&5
17557 cat conftest.
$ac_ext >&5
17560 cat > conftest.
$ac_ext <<EOF
17561 #line 17562 "configure"
17562 #include "confdefs.h"
17573 if { (eval echo configure
:17574: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17576 wx_cv_var_timezone
=_timezone
17579 echo "configure: failed program was:" >&5
17580 cat conftest.
$ac_ext >&5
17583 cat > conftest.
$ac_ext <<EOF
17584 #line 17585 "configure"
17585 #include "confdefs.h"
17596 if { (eval echo configure
:17597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17599 wx_cv_var_timezone
=__timezone
17602 echo "configure: failed program was:" >&5
17603 cat conftest.
$ac_ext >&5
17606 if test "$USE_DOS" = 0 ; then
17607 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17625 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17627 if test "x$wx_cv_var_timezone" != x
; then
17628 cat >> confdefs.h
<<EOF
17629 #define WX_TIMEZONE $wx_cv_var_timezone
17634 for ac_func
in localtime
17636 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17637 echo "configure:17638: checking for $ac_func" >&5
17638 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17639 echo $ac_n "(cached) $ac_c" 1>&6
17641 cat > conftest.
$ac_ext <<EOF
17642 #line 17643 "configure"
17643 #include "confdefs.h"
17644 /* System header to define __stub macros and hopefully few prototypes,
17645 which can conflict with char $ac_func(); below. */
17646 #include <assert.h>
17647 /* Override any gcc2 internal prototype to avoid an error. */
17648 /* We use char because int might match the return type of a gcc2
17649 builtin and then its argument prototype would still apply. */
17654 /* The GNU C library defines this for functions which it implements
17655 to always fail with ENOSYS. Some functions are actually named
17656 something starting with __ and the normal name is an alias. */
17657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17665 if { (eval echo configure
:17666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17667 eval "ac_cv_func_$ac_func=yes"
17669 echo "configure: failed program was:" >&5
17670 cat conftest.
$ac_ext >&5
17672 eval "ac_cv_func_$ac_func=no"
17677 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17678 echo "$ac_t""yes" 1>&6
17679 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17680 cat >> confdefs.h
<<EOF
17681 #define $ac_tr_func 1
17685 echo "$ac_t""no" 1>&6
17690 if test "$ac_cv_func_localtime" = "yes"; then
17691 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17692 echo "configure:17693: checking for tm_gmtoff in struct tm" >&5
17693 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17694 echo $ac_n "(cached) $ac_c" 1>&6
17697 cat > conftest.
$ac_ext <<EOF
17698 #line 17699 "configure"
17699 #include "confdefs.h"
17710 if { (eval echo configure
:17711: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17713 wx_cv_struct_tm_has_gmtoff
=yes
17716 echo "configure: failed program was:" >&5
17717 cat conftest.
$ac_ext >&5
17719 wx_cv_struct_tm_has_gmtoff
=no
17726 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17729 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17730 cat >> confdefs.h
<<\EOF
17731 #define WX_GMTOFF_IN_TM 1
17736 for ac_func
in gettimeofday ftime
17738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17739 echo "configure:17740: checking for $ac_func" >&5
17740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17741 echo $ac_n "(cached) $ac_c" 1>&6
17743 cat > conftest.
$ac_ext <<EOF
17744 #line 17745 "configure"
17745 #include "confdefs.h"
17746 /* System header to define __stub macros and hopefully few prototypes,
17747 which can conflict with char $ac_func(); below. */
17748 #include <assert.h>
17749 /* Override any gcc2 internal prototype to avoid an error. */
17750 /* We use char because int might match the return type of a gcc2
17751 builtin and then its argument prototype would still apply. */
17756 /* The GNU C library defines this for functions which it implements
17757 to always fail with ENOSYS. Some functions are actually named
17758 something starting with __ and the normal name is an alias. */
17759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17767 if { (eval echo configure
:17768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17769 eval "ac_cv_func_$ac_func=yes"
17771 echo "configure: failed program was:" >&5
17772 cat conftest.
$ac_ext >&5
17774 eval "ac_cv_func_$ac_func=no"
17779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17780 echo "$ac_t""yes" 1>&6
17781 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17782 cat >> confdefs.h
<<EOF
17783 #define $ac_tr_func 1
17787 echo "$ac_t""no" 1>&6
17792 if test "$ac_cv_func_gettimeofday" = "yes"; then
17793 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17794 echo "configure:17795: checking whether gettimeofday takes two arguments" >&5
17795 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17796 echo $ac_n "(cached) $ac_c" 1>&6
17801 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17802 ac_cpp
='$CXXCPP $CPPFLAGS'
17803 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17804 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17805 cross_compiling
=$ac_cv_prog_cxx_cross
17808 cat > conftest.
$ac_ext <<EOF
17809 #line 17810 "configure"
17810 #include "confdefs.h"
17812 #include <sys/time.h>
17813 #include <unistd.h>
17818 gettimeofday(&tv, NULL);
17822 if { (eval echo configure
:17823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17824 wx_cv_func_gettimeofday_has_2_args
=yes
17826 echo "configure: failed program was:" >&5
17827 cat conftest.
$ac_ext >&5
17829 cat > conftest.
$ac_ext <<EOF
17830 #line 17831 "configure"
17831 #include "confdefs.h"
17833 #include <sys/time.h>
17834 #include <unistd.h>
17843 if { (eval echo configure
:17844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17845 wx_cv_func_gettimeofday_has_2_args
=no
17847 echo "configure: failed program was:" >&5
17848 cat conftest.
$ac_ext >&5
17851 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17852 wx_cv_func_gettimeofday_has_2_args
=unknown
17861 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17862 ac_cpp
='$CPP $CPPFLAGS'
17863 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17864 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17865 cross_compiling
=$ac_cv_prog_cc_cross
17870 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17872 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17873 cat >> confdefs.h
<<\EOF
17874 #define WX_GETTIMEOFDAY_NO_TZ 1
17880 cat >> confdefs.h
<<\EOF
17881 #define wxUSE_TIMEDATE 1
17884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17888 if test "$TOOLKIT" != "MSW"; then
17890 if test "$wxUSE_SOCKETS" = "yes"; then
17891 echo $ac_n "checking for socket""... $ac_c" 1>&6
17892 echo "configure:17893: checking for socket" >&5
17893 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17894 echo $ac_n "(cached) $ac_c" 1>&6
17896 cat > conftest.
$ac_ext <<EOF
17897 #line 17898 "configure"
17898 #include "confdefs.h"
17899 /* System header to define __stub macros and hopefully few prototypes,
17900 which can conflict with char socket(); below. */
17901 #include <assert.h>
17902 /* Override any gcc2 internal prototype to avoid an error. */
17903 /* We use char because int might match the return type of a gcc2
17904 builtin and then its argument prototype would still apply. */
17909 /* The GNU C library defines this for functions which it implements
17910 to always fail with ENOSYS. Some functions are actually named
17911 something starting with __ and the normal name is an alias. */
17912 #if defined (__stub_socket) || defined (__stub___socket)
17920 if { (eval echo configure
:17921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17922 eval "ac_cv_func_socket=yes"
17924 echo "configure: failed program was:" >&5
17925 cat conftest.
$ac_ext >&5
17927 eval "ac_cv_func_socket=no"
17932 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17933 echo "$ac_t""yes" 1>&6
17936 echo "$ac_t""no" 1>&6
17937 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17938 echo "configure:17939: checking for socket in -lsocket" >&5
17939 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17940 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17941 echo $ac_n "(cached) $ac_c" 1>&6
17943 ac_save_LIBS
="$LIBS"
17944 LIBS
="-lsocket $LIBS"
17945 cat > conftest.
$ac_ext <<EOF
17946 #line 17947 "configure"
17947 #include "confdefs.h"
17948 /* Override any gcc2 internal prototype to avoid an error. */
17949 /* We use char because int might match the return type of a gcc2
17950 builtin and then its argument prototype would still apply. */
17957 if { (eval echo configure
:17958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17959 eval "ac_cv_lib_$ac_lib_var=yes"
17961 echo "configure: failed program was:" >&5
17962 cat conftest.
$ac_ext >&5
17964 eval "ac_cv_lib_$ac_lib_var=no"
17967 LIBS
="$ac_save_LIBS"
17970 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17971 echo "$ac_t""yes" 1>&6
17972 INET_LINK
="$INET_LINK -lsocket"
17974 echo "$ac_t""no" 1>&6
17976 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17988 if test "$wxUSE_SOCKETS" = "yes" ; then
17989 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17990 echo "configure:17991: checking what is the type of the third argument of getsockname" >&5
17991 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17992 echo $ac_n "(cached) $ac_c" 1>&6
17997 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17998 ac_cpp
='$CXXCPP $CPPFLAGS'
17999 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18000 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18001 cross_compiling
=$ac_cv_prog_cxx_cross
18004 cat > conftest.
$ac_ext <<EOF
18005 #line 18006 "configure"
18006 #include "confdefs.h"
18008 #include <sys/types.h>
18009 #include <sys/socket.h>
18014 getsockname(0, 0, &len);
18018 if { (eval echo configure
:18019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18020 wx_cv_type_getsockname3
=socklen_t
18022 echo "configure: failed program was:" >&5
18023 cat conftest.
$ac_ext >&5
18025 cat > conftest.
$ac_ext <<EOF
18026 #line 18027 "configure"
18027 #include "confdefs.h"
18029 #include <sys/types.h>
18030 #include <sys/socket.h>
18035 getsockname(0, 0, &len);
18039 if { (eval echo configure
:18040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18041 wx_cv_type_getsockname3
=size_t
18043 echo "configure: failed program was:" >&5
18044 cat conftest.
$ac_ext >&5
18046 cat > conftest.
$ac_ext <<EOF
18047 #line 18048 "configure"
18048 #include "confdefs.h"
18050 #include <sys/types.h>
18051 #include <sys/socket.h>
18056 getsockname(0, 0, &len);
18060 if { (eval echo configure
:18061: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18062 wx_cv_type_getsockname3
=int
18064 echo "configure: failed program was:" >&5
18065 cat conftest.
$ac_ext >&5
18067 wx_cv_type_getsockname3
=unknown
18079 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18080 ac_cpp
='$CPP $CPPFLAGS'
18081 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18082 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18083 cross_compiling
=$ac_cv_prog_cc_cross
18088 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18090 if test "$wx_cv_type_getsockname3" = "unknown"; then
18092 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18094 cat >> confdefs.h
<<EOF
18095 #define SOCKLEN_T $wx_cv_type_getsockname3
18102 if test "$wxUSE_SOCKETS" = "yes" ; then
18103 cat >> confdefs.h
<<\EOF
18104 #define wxUSE_SOCKETS 1
18107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18111 if test "$wxUSE_GUI" = "yes"; then
18113 if test "$TOOLKIT" = "MAC"; then
18114 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18117 if test "$TOOLKIT" = "MOTIF"; then
18118 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18122 if test "$TOOLKIT" != "MSW"; then
18123 if test "$wxUSE_JOYSTICK" = "yes"; then
18124 for ac_hdr
in linux
/joystick.h
18126 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18127 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18128 echo "configure:18129: checking for $ac_hdr" >&5
18129 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18130 echo $ac_n "(cached) $ac_c" 1>&6
18132 cat > conftest.
$ac_ext <<EOF
18133 #line 18134 "configure"
18134 #include "confdefs.h"
18137 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18138 { (eval echo configure
:18139: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18139 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18140 if test -z "$ac_err"; then
18142 eval "ac_cv_header_$ac_safe=yes"
18145 echo "configure: failed program was:" >&5
18146 cat conftest.
$ac_ext >&5
18148 eval "ac_cv_header_$ac_safe=no"
18152 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18153 echo "$ac_t""yes" 1>&6
18154 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18155 cat >> confdefs.h
<<EOF
18156 #define $ac_tr_hdr 1
18160 echo "$ac_t""no" 1>&6
18164 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18166 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18171 if test "$wxUSE_JOYSTICK" = "yes"; then
18172 cat >> confdefs.h
<<\EOF
18173 #define wxUSE_JOYSTICK 1
18176 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18181 if test "$TOOLKIT" != "MSW"; then
18185 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18186 if test "$USE_DARWIN" = 1; then
18189 for ac_func
in dlopen
18191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18192 echo "configure:18193: checking for $ac_func" >&5
18193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18194 echo $ac_n "(cached) $ac_c" 1>&6
18196 cat > conftest.
$ac_ext <<EOF
18197 #line 18198 "configure"
18198 #include "confdefs.h"
18199 /* System header to define __stub macros and hopefully few prototypes,
18200 which can conflict with char $ac_func(); below. */
18201 #include <assert.h>
18202 /* Override any gcc2 internal prototype to avoid an error. */
18203 /* We use char because int might match the return type of a gcc2
18204 builtin and then its argument prototype would still apply. */
18209 /* The GNU C library defines this for functions which it implements
18210 to always fail with ENOSYS. Some functions are actually named
18211 something starting with __ and the normal name is an alias. */
18212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18220 if { (eval echo configure
:18221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18222 eval "ac_cv_func_$ac_func=yes"
18224 echo "configure: failed program was:" >&5
18225 cat conftest.
$ac_ext >&5
18227 eval "ac_cv_func_$ac_func=no"
18232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18233 echo "$ac_t""yes" 1>&6
18234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18235 cat >> confdefs.h
<<EOF
18236 #define $ac_tr_func 1
18239 cat >> confdefs.h
<<\EOF
18240 #define HAVE_DLOPEN 1
18246 echo "$ac_t""no" 1>&6
18247 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18248 echo "configure:18249: checking for dlopen in -ldl" >&5
18249 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18251 echo $ac_n "(cached) $ac_c" 1>&6
18253 ac_save_LIBS
="$LIBS"
18255 cat > conftest.
$ac_ext <<EOF
18256 #line 18257 "configure"
18257 #include "confdefs.h"
18258 /* Override any gcc2 internal prototype to avoid an error. */
18259 /* We use char because int might match the return type of a gcc2
18260 builtin and then its argument prototype would still apply. */
18267 if { (eval echo configure
:18268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18269 eval "ac_cv_lib_$ac_lib_var=yes"
18271 echo "configure: failed program was:" >&5
18272 cat conftest.
$ac_ext >&5
18274 eval "ac_cv_lib_$ac_lib_var=no"
18277 LIBS
="$ac_save_LIBS"
18280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18281 echo "$ac_t""yes" 1>&6
18283 cat >> confdefs.h
<<\EOF
18284 #define HAVE_DLOPEN 1
18288 DL_LINK
=" -ldl$DL_LINK"
18291 echo "$ac_t""no" 1>&6
18293 for ac_func
in shl_load
18295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18296 echo "configure:18297: checking for $ac_func" >&5
18297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18298 echo $ac_n "(cached) $ac_c" 1>&6
18300 cat > conftest.
$ac_ext <<EOF
18301 #line 18302 "configure"
18302 #include "confdefs.h"
18303 /* System header to define __stub macros and hopefully few prototypes,
18304 which can conflict with char $ac_func(); below. */
18305 #include <assert.h>
18306 /* Override any gcc2 internal prototype to avoid an error. */
18307 /* We use char because int might match the return type of a gcc2
18308 builtin and then its argument prototype would still apply. */
18313 /* The GNU C library defines this for functions which it implements
18314 to always fail with ENOSYS. Some functions are actually named
18315 something starting with __ and the normal name is an alias. */
18316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18324 if { (eval echo configure
:18325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18326 eval "ac_cv_func_$ac_func=yes"
18328 echo "configure: failed program was:" >&5
18329 cat conftest.
$ac_ext >&5
18331 eval "ac_cv_func_$ac_func=no"
18336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18337 echo "$ac_t""yes" 1>&6
18338 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18339 cat >> confdefs.h
<<EOF
18340 #define $ac_tr_func 1
18343 cat >> confdefs.h
<<\EOF
18344 #define HAVE_SHL_LOAD 1
18350 echo "$ac_t""no" 1>&6
18351 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18352 echo "configure:18353: checking for dld in -lshl_load" >&5
18353 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18355 echo $ac_n "(cached) $ac_c" 1>&6
18357 ac_save_LIBS
="$LIBS"
18358 LIBS
="-lshl_load $LIBS"
18359 cat > conftest.
$ac_ext <<EOF
18360 #line 18361 "configure"
18361 #include "confdefs.h"
18362 /* Override any gcc2 internal prototype to avoid an error. */
18363 /* We use char because int might match the return type of a gcc2
18364 builtin and then its argument prototype would still apply. */
18371 if { (eval echo configure
:18372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18373 eval "ac_cv_lib_$ac_lib_var=yes"
18375 echo "configure: failed program was:" >&5
18376 cat conftest.
$ac_ext >&5
18378 eval "ac_cv_lib_$ac_lib_var=no"
18381 LIBS
="$ac_save_LIBS"
18384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18385 echo "$ac_t""yes" 1>&6
18388 DL_LINK
=" -ldld$DL_LINK"
18391 echo "$ac_t""no" 1>&6
18406 if test "$HAVE_DL_FUNCS" = 1; then
18407 for ac_func
in dlerror
18409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18410 echo "configure:18411: checking for $ac_func" >&5
18411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18412 echo $ac_n "(cached) $ac_c" 1>&6
18414 cat > conftest.
$ac_ext <<EOF
18415 #line 18416 "configure"
18416 #include "confdefs.h"
18417 /* System header to define __stub macros and hopefully few prototypes,
18418 which can conflict with char $ac_func(); below. */
18419 #include <assert.h>
18420 /* Override any gcc2 internal prototype to avoid an error. */
18421 /* We use char because int might match the return type of a gcc2
18422 builtin and then its argument prototype would still apply. */
18427 /* The GNU C library defines this for functions which it implements
18428 to always fail with ENOSYS. Some functions are actually named
18429 something starting with __ and the normal name is an alias. */
18430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18438 if { (eval echo configure
:18439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18440 eval "ac_cv_func_$ac_func=yes"
18442 echo "configure: failed program was:" >&5
18443 cat conftest.
$ac_ext >&5
18445 eval "ac_cv_func_$ac_func=no"
18450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18451 echo "$ac_t""yes" 1>&6
18452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18453 cat >> confdefs.h
<<EOF
18454 #define $ac_tr_func 1
18456 cat >> confdefs.h
<<\EOF
18457 #define HAVE_DLERROR 1
18461 echo "$ac_t""no" 1>&6
18462 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18463 echo "configure:18464: checking for dlerror in -ldl" >&5
18464 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18466 echo $ac_n "(cached) $ac_c" 1>&6
18468 ac_save_LIBS
="$LIBS"
18470 cat > conftest.
$ac_ext <<EOF
18471 #line 18472 "configure"
18472 #include "confdefs.h"
18473 /* Override any gcc2 internal prototype to avoid an error. */
18474 /* We use char because int might match the return type of a gcc2
18475 builtin and then its argument prototype would still apply. */
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_lib_$ac_lib_var=yes"
18486 echo "configure: failed program was:" >&5
18487 cat conftest.
$ac_ext >&5
18489 eval "ac_cv_lib_$ac_lib_var=no"
18492 LIBS
="$ac_save_LIBS"
18495 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18496 echo "$ac_t""yes" 1>&6
18497 cat >> confdefs.h
<<\EOF
18498 #define HAVE_DLERROR 1
18502 echo "$ac_t""no" 1>&6
18511 if test "$HAVE_DL_FUNCS" = 0; then
18512 if test "$HAVE_SHL_FUNCS" = 0; then
18513 if test "$USE_UNIX" = 1; then
18514 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18515 wxUSE_DYNAMIC_LOADER
=no
18516 wxUSE_DYNLIB_CLASS
=no
18518 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18525 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18526 cat >> confdefs.h
<<\EOF
18527 #define wxUSE_DYNAMIC_LOADER 1
18530 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18531 cat >> confdefs.h
<<\EOF
18532 #define wxUSE_DYNLIB_CLASS 1
18538 if test "$wxUSE_FONTMAP" = "yes" ; then
18539 cat >> confdefs.h
<<\EOF
18540 #define wxUSE_FONTMAP 1
18545 if test "$wxUSE_UNICODE" = "yes" ; then
18546 cat >> confdefs.h
<<\EOF
18547 #define wxUSE_UNICODE 1
18551 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18552 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18553 echo "configure:18554: checking for main in -lunicows" >&5
18554 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18555 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18556 echo $ac_n "(cached) $ac_c" 1>&6
18558 ac_save_LIBS
="$LIBS"
18559 LIBS
="-lunicows $LIBS"
18560 cat > conftest.
$ac_ext <<EOF
18561 #line 18562 "configure"
18562 #include "confdefs.h"
18568 if { (eval echo configure
:18569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18570 eval "ac_cv_lib_$ac_lib_var=yes"
18572 echo "configure: failed program was:" >&5
18573 cat conftest.
$ac_ext >&5
18575 eval "ac_cv_lib_$ac_lib_var=no"
18578 LIBS
="$ac_save_LIBS"
18581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18582 echo "$ac_t""yes" 1>&6
18584 cat >> confdefs.h
<<\EOF
18585 #define wxUSE_UNICODE_MSLU 1
18590 echo "$ac_t""no" 1>&6
18592 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18593 Applications will only run on Windows NT/2000/XP!" 1>&2
18594 wxUSE_UNICODE_MSLU
=no
18601 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18602 cat >> confdefs.h
<<\EOF
18603 #define wxUSE_EXPERIMENTAL_PRINTF 1
18611 if test "$wxUSE_ODBC" = "yes" ; then
18612 cat >> confdefs.h
<<\EOF
18613 #define wxUSE_ODBC 1
18616 WXODBCFLAG
="-D_IODBC_"
18617 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
18621 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18622 cat >> confdefs.h
<<\EOF
18623 #define wxUSE_POSTSCRIPT 1
18628 cat >> confdefs.h
<<\EOF
18629 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18633 cat >> confdefs.h
<<\EOF
18634 #define wxUSE_NORMALIZED_PS_FONTS 1
18639 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18640 cat >> confdefs.h
<<\EOF
18641 #define wxUSE_CONSTRAINTS 1
18644 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18647 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18648 if test "$wxUSE_UNIVERSAL" = "yes"; then
18649 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18650 wxUSE_MDI_ARCHITECTURE
=no
18653 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18654 cat >> confdefs.h
<<\EOF
18655 #define wxUSE_MDI_ARCHITECTURE 1
18658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18662 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18663 cat >> confdefs.h
<<\EOF
18664 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18667 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18668 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18673 if test "$wxUSE_HELP" = "yes"; then
18674 cat >> confdefs.h
<<\EOF
18675 #define wxUSE_HELP 1
18678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18680 if test "$wxUSE_MSW" = 1; then
18681 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18682 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18683 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18684 echo "configure:18685: checking for htmlhelp.h" >&5
18685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18686 echo $ac_n "(cached) $ac_c" 1>&6
18688 cat > conftest.
$ac_ext <<EOF
18689 #line 18690 "configure"
18690 #include "confdefs.h"
18691 #include <htmlhelp.h>
18693 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18694 { (eval echo configure
:18695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18695 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18696 if test -z "$ac_err"; then
18698 eval "ac_cv_header_$ac_safe=yes"
18701 echo "configure: failed program was:" >&5
18702 cat conftest.
$ac_ext >&5
18704 eval "ac_cv_header_$ac_safe=no"
18708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18709 echo "$ac_t""yes" 1>&6
18711 cat >> confdefs.h
<<\EOF
18712 #define wxUSE_MS_HTML_HELP 1
18717 echo "$ac_t""no" 1>&6
18719 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18720 wxUSE_MS_HTML_HELP
=no
18727 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18728 if test "$wxUSE_HTML" = "yes"; then
18729 cat >> confdefs.h
<<\EOF
18730 #define wxUSE_WXHTML_HELP 1
18734 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18735 wxUSE_WXHTML_HELP
=no
18740 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18741 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18742 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18744 cat >> confdefs.h
<<\EOF
18745 #define wxUSE_PRINTING_ARCHITECTURE 1
18749 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18752 if test "$wxUSE_PROLOGIO" = "yes" ; then
18753 cat >> confdefs.h
<<\EOF
18754 #define wxUSE_PROLOGIO 1
18759 if test "$wxUSE_RESOURCES" = "yes" ; then
18760 cat >> confdefs.h
<<\EOF
18761 #define wxUSE_RESOURCES 1
18764 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18767 if test "$wxUSE_X_RESOURCES" = "yes"; then
18768 cat >> confdefs.h
<<\EOF
18769 #define wxUSE_X_RESOURCES 1
18775 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18776 -o "$wxUSE_CLIPBOARD" = "yes" \
18777 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18778 for ac_hdr
in ole2.h
18780 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18781 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18782 echo "configure:18783: checking for $ac_hdr" >&5
18783 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18784 echo $ac_n "(cached) $ac_c" 1>&6
18786 cat > conftest.
$ac_ext <<EOF
18787 #line 18788 "configure"
18788 #include "confdefs.h"
18791 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18792 { (eval echo configure
:18793: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18793 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18794 if test -z "$ac_err"; then
18796 eval "ac_cv_header_$ac_safe=yes"
18799 echo "configure: failed program was:" >&5
18800 cat conftest.
$ac_ext >&5
18802 eval "ac_cv_header_$ac_safe=no"
18806 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18807 echo "$ac_t""yes" 1>&6
18808 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18809 cat >> confdefs.h
<<EOF
18810 #define $ac_tr_hdr 1
18814 echo "$ac_t""no" 1>&6
18819 if test "$ac_cv_header_ole2_h" = "yes" ; then
18820 if test "$GCC" = yes ; then
18821 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18822 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18823 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18824 cat >> confdefs.h
<<\EOF
18825 #define wxUSE_OLE 1
18831 cat >> confdefs.h
<<\EOF
18832 #define wxUSE_DATAOBJ 1
18836 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18839 wxUSE_DRAG_AND_DROP
=no
18843 if test "$wxUSE_METAFILE" = "yes"; then
18844 cat >> confdefs.h
<<\EOF
18845 #define wxUSE_METAFILE 1
18849 cat >> confdefs.h
<<\EOF
18850 #define wxUSE_ENH_METAFILE 1
18856 if test "$wxUSE_IPC" = "yes"; then
18857 if test "$wxUSE_SOCKETS" != "yes"; then
18858 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18861 cat >> confdefs.h
<<\EOF
18862 #define wxUSE_IPC 1
18867 if test "$wxUSE_CLIPBOARD" = "yes"; then
18868 cat >> confdefs.h
<<\EOF
18869 #define wxUSE_CLIPBOARD 1
18873 cat >> confdefs.h
<<\EOF
18874 #define wxUSE_DATAOBJ 1
18879 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18880 if test "$wxUSE_GTK" = 1; then
18881 if test "$WXGTK12" != 1; then
18882 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18883 wxUSE_DRAG_AND_DROP
=no
18887 if test "$wxUSE_MOTIF" = 1; then
18888 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18889 wxUSE_DRAG_AND_DROP
=no
18892 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18893 cat >> confdefs.h
<<\EOF
18894 #define wxUSE_DRAG_AND_DROP 1
18897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18902 if test "$wxUSE_SPLINES" = "yes" ; then
18903 cat >> confdefs.h
<<\EOF
18904 #define wxUSE_SPLINES 1
18911 if test "$wxUSE_CONTROLS" = "yes"; then
18915 if test "$wxUSE_ACCEL" = "yes"; then
18916 cat >> confdefs.h
<<\EOF
18917 #define wxUSE_ACCEL 1
18923 if test "$wxUSE_BUTTON" = "yes"; then
18924 cat >> confdefs.h
<<\EOF
18925 #define wxUSE_BUTTON 1
18931 if test "$wxUSE_BMPBUTTON" = "yes"; then
18932 cat >> confdefs.h
<<\EOF
18933 #define wxUSE_BMPBUTTON 1
18939 if test "$wxUSE_CALCTRL" = "yes"; then
18940 cat >> confdefs.h
<<\EOF
18941 #define wxUSE_CALENDARCTRL 1
18945 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18948 if test "$wxUSE_CARET" = "yes"; then
18949 cat >> confdefs.h
<<\EOF
18950 #define wxUSE_CARET 1
18954 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18957 if test "$wxUSE_COMBOBOX" = "yes"; then
18958 cat >> confdefs.h
<<\EOF
18959 #define wxUSE_COMBOBOX 1
18965 if test "$wxUSE_CHOICE" = "yes"; then
18966 cat >> confdefs.h
<<\EOF
18967 #define wxUSE_CHOICE 1
18973 if test "$wxUSE_CHECKBOX" = "yes"; then
18974 cat >> confdefs.h
<<\EOF
18975 #define wxUSE_CHECKBOX 1
18981 if test "$wxUSE_CHECKLST" = "yes"; then
18982 cat >> confdefs.h
<<\EOF
18983 #define wxUSE_CHECKLISTBOX 1
18987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18990 if test "$wxUSE_GAUGE" = "yes"; then
18991 cat >> confdefs.h
<<\EOF
18992 #define wxUSE_GAUGE 1
18998 if test "$wxUSE_NEW_GRID" = "yes"; then
19000 cat >> confdefs.h
<<\EOF
19001 #define wxUSE_NEW_GRID 1
19005 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19008 if test "$wxUSE_GRID" = "yes"; then
19009 cat >> confdefs.h
<<\EOF
19010 #define wxUSE_GRID 1
19014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19017 if test "$wxUSE_IMAGLIST" = "yes"; then
19018 cat >> confdefs.h
<<\EOF
19019 #define wxUSE_IMAGLIST 1
19024 if test "$wxUSE_LISTBOX" = "yes"; then
19025 cat >> confdefs.h
<<\EOF
19026 #define wxUSE_LISTBOX 1
19032 if test "$wxUSE_LISTCTRL" = "yes"; then
19033 if test "$wxUSE_IMAGLIST" = "yes"; then
19034 cat >> confdefs.h
<<\EOF
19035 #define wxUSE_LISTCTRL 1
19039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19041 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19045 if test "$wxUSE_NOTEBOOK" = "yes"; then
19046 cat >> confdefs.h
<<\EOF
19047 #define wxUSE_NOTEBOOK 1
19051 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19054 if test "$wxUSE_PROPSHEET" = "yes"; then
19055 cat >> confdefs.h
<<\EOF
19056 #define wxUSE_PROPSHEET 1
19060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19063 if test "$wxUSE_RADIOBOX" = "yes"; then
19064 cat >> confdefs.h
<<\EOF
19065 #define wxUSE_RADIOBOX 1
19071 if test "$wxUSE_RADIOBTN" = "yes"; then
19072 cat >> confdefs.h
<<\EOF
19073 #define wxUSE_RADIOBTN 1
19079 if test "$wxUSE_SASH" = "yes"; then
19080 cat >> confdefs.h
<<\EOF
19081 #define wxUSE_SASH 1
19084 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19087 if test "$wxUSE_SCROLLBAR" = "yes"; then
19088 cat >> confdefs.h
<<\EOF
19089 #define wxUSE_SCROLLBAR 1
19093 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19096 if test "$wxUSE_SLIDER" = "yes"; then
19097 cat >> confdefs.h
<<\EOF
19098 #define wxUSE_SLIDER 1
19104 if test "$wxUSE_SPINBTN" = "yes"; then
19105 cat >> confdefs.h
<<\EOF
19106 #define wxUSE_SPINBTN 1
19112 if test "$wxUSE_SPINCTRL" = "yes"; then
19113 cat >> confdefs.h
<<\EOF
19114 #define wxUSE_SPINCTRL 1
19120 if test "$wxUSE_SPLITTER" = "yes"; then
19121 cat >> confdefs.h
<<\EOF
19122 #define wxUSE_SPLITTER 1
19125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19128 if test "$wxUSE_STATBMP" = "yes"; then
19129 cat >> confdefs.h
<<\EOF
19130 #define wxUSE_STATBMP 1
19136 if test "$wxUSE_STATBOX" = "yes"; then
19137 cat >> confdefs.h
<<\EOF
19138 #define wxUSE_STATBOX 1
19144 if test "$wxUSE_STATTEXT" = "yes"; then
19145 cat >> confdefs.h
<<\EOF
19146 #define wxUSE_STATTEXT 1
19152 if test "$wxUSE_STATLINE" = "yes"; then
19153 if test "$wxUSE_WINE" = 1 ; then
19154 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19156 cat >> confdefs.h
<<\EOF
19157 #define wxUSE_STATLINE 1
19164 if test "$wxUSE_STATUSBAR" = "yes"; then
19165 cat >> confdefs.h
<<\EOF
19166 #define wxUSE_STATUSBAR 1
19171 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19174 if test "$wxUSE_TABDIALOG" = "yes"; then
19175 cat >> confdefs.h
<<\EOF
19176 #define wxUSE_TAB_DIALOG 1
19179 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19182 if test "$wxUSE_TEXTCTRL" = "yes"; then
19183 cat >> confdefs.h
<<\EOF
19184 #define wxUSE_TEXTCTRL 1
19188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19191 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19192 if test "$wxUSE_MAC" = 1; then
19193 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19196 if test "$wxUSE_UNIVERSAL" = "yes"; then
19197 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19201 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19202 cat >> confdefs.h
<<\EOF
19203 #define wxUSE_TOGGLEBTN 1
19210 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19211 cat >> confdefs.h
<<\EOF
19212 #define wxUSE_TOOLBAR_SIMPLE 1
19215 wxUSE_TOOLBAR
="yes"
19219 if test "$wxUSE_TOOLBAR" = "yes"; then
19220 cat >> confdefs.h
<<\EOF
19221 #define wxUSE_TOOLBAR 1
19226 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19227 wxUSE_TOOLBAR_NATIVE
="yes"
19230 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19231 cat >> confdefs.h
<<\EOF
19232 #define wxUSE_TOOLBAR_NATIVE 1
19238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19241 if test "$wxUSE_TOOLTIPS" = "yes"; then
19242 if test "$wxUSE_MOTIF" = 1; then
19243 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19245 if test "$wxUSE_WINE" = 1; then
19246 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19248 if test "$wxUSE_UNIVERSAL" = "yes"; then
19249 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19251 cat >> confdefs.h
<<\EOF
19252 #define wxUSE_TOOLTIPS 1
19260 if test "$wxUSE_TREECTRL" = "yes"; then
19261 if test "$wxUSE_IMAGLIST" = "yes"; then
19262 cat >> confdefs.h
<<\EOF
19263 #define wxUSE_TREECTRL 1
19267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19269 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19273 if test "$wxUSE_POPUPWIN" = "yes"; then
19274 if test "$wxUSE_MAC" = 1; then
19275 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19277 if test "$wxUSE_MOTIF" = 1; then
19278 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19280 cat >> confdefs.h
<<\EOF
19281 #define wxUSE_POPUPWIN 1
19290 if test "$wxUSE_TIPWINDOW" = "yes"; then
19291 cat >> confdefs.h
<<\EOF
19292 #define wxUSE_TIPWINDOW 1
19297 if test "$USES_CONTROLS" = 1; then
19298 cat >> confdefs.h
<<\EOF
19299 #define wxUSE_CONTROLS 1
19305 if test "$wxUSE_TREELAYOUT" = "yes"; then
19306 cat >> confdefs.h
<<\EOF
19307 #define wxUSE_TREELAYOUT 1
19310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
19313 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19314 cat >> confdefs.h
<<\EOF
19315 #define wxUSE_DRAGIMAGE 1
19318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
19321 if test "$wxUSE_MENUS" = "yes"; then
19322 cat >> confdefs.h
<<\EOF
19323 #define wxUSE_MENUS 1
19326 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
19329 if test "$wxUSE_METAFILE" = "yes"; then
19330 cat >> confdefs.h
<<\EOF
19331 #define wxUSE_METAFILE 1
19336 if test "$wxUSE_MIMETYPE" = "yes"; then
19337 cat >> confdefs.h
<<\EOF
19338 #define wxUSE_MIMETYPE 1
19343 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19344 cat >> confdefs.h
<<\EOF
19345 #define wxUSE_SYSTEM_OPTIONS 1
19350 if test "$wxUSE_PROTOCOL" = "yes"; then
19351 if test "$wxUSE_SOCKETS" != "yes"; then
19352 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
19356 if test "$wxUSE_PROTOCOL" = "yes"; then
19357 cat >> confdefs.h
<<\EOF
19358 #define wxUSE_PROTOCOL 1
19362 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19363 cat >> confdefs.h
<<\EOF
19364 #define wxUSE_PROTOCOL_HTTP 1
19368 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19369 cat >> confdefs.h
<<\EOF
19370 #define wxUSE_PROTOCOL_FTP 1
19374 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19375 cat >> confdefs.h
<<\EOF
19376 #define wxUSE_PROTOCOL_FILE 1
19383 if test "$wxUSE_URL" = "yes"; then
19384 if test "$wxUSE_PROTOCOL" != "yes"; then
19385 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
19388 if test "$wxUSE_URL" = "yes"; then
19389 cat >> confdefs.h
<<\EOF
19390 #define wxUSE_URL 1
19396 if test "$wxUSE_MINIFRAME" = "yes"; then
19397 cat >> confdefs.h
<<\EOF
19398 #define wxUSE_MINIFRAME 1
19401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
19404 if test "$wxUSE_HTML" = "yes"; then
19405 cat >> confdefs.h
<<\EOF
19406 #define wxUSE_HTML 1
19409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
19412 if test "$wxUSE_VALIDATORS" = "yes"; then
19413 cat >> confdefs.h
<<\EOF
19414 #define wxUSE_VALIDATORS 1
19417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
19420 if test "$wxUSE_PALETTE" = "yes" ; then
19421 cat >> confdefs.h
<<\EOF
19422 #define wxUSE_PALETTE 1
19427 if test "$wxUSE_IMAGE" = "yes" ; then
19428 cat >> confdefs.h
<<\EOF
19429 #define wxUSE_IMAGE 1
19434 if test "$wxUSE_GIF" = "yes" ; then
19435 cat >> confdefs.h
<<\EOF
19436 #define wxUSE_GIF 1
19441 if test "$wxUSE_PCX" = "yes" ; then
19442 cat >> confdefs.h
<<\EOF
19443 #define wxUSE_PCX 1
19448 if test "$wxUSE_IFF" = "yes" ; then
19449 cat >> confdefs.h
<<\EOF
19450 #define wxUSE_IFF 1
19455 if test "$wxUSE_PNM" = "yes" ; then
19456 cat >> confdefs.h
<<\EOF
19457 #define wxUSE_PNM 1
19462 if test "$wxUSE_XPM" = "yes" ; then
19463 cat >> confdefs.h
<<\EOF
19464 #define wxUSE_XPM 1
19469 if test "$wxUSE_ICO_CUR" = "yes" ; then
19470 cat >> confdefs.h
<<\EOF
19471 #define wxUSE_ICO_CUR 1
19476 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19477 LIBS
=" -lunicows $LIBS"
19481 if test "$wxUSE_CHOICEDLG" = "yes"; then
19482 cat >> confdefs.h
<<\EOF
19483 #define wxUSE_CHOICEDLG 1
19488 if test "$wxUSE_COLOURDLG" = "yes"; then
19489 cat >> confdefs.h
<<\EOF
19490 #define wxUSE_COLOURDLG 1
19495 if test "$wxUSE_FILEDLG" = "yes"; then
19496 cat >> confdefs.h
<<\EOF
19497 #define wxUSE_FILEDLG 1
19502 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19503 cat >> confdefs.h
<<\EOF
19504 #define wxUSE_FINDREPLDLG 1
19509 if test "$wxUSE_FONTDLG" = "yes"; then
19510 cat >> confdefs.h
<<\EOF
19511 #define wxUSE_FONTDLG 1
19516 if test "$wxUSE_DIRDLG" = "yes"; then
19517 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19518 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19520 if test "$wxUSE_TREECTRL" != "yes"; then
19521 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19523 cat >> confdefs.h
<<\EOF
19524 #define wxUSE_DIRDLG 1
19531 if test "$wxUSE_MSGDLG" = "yes"; then
19532 cat >> confdefs.h
<<\EOF
19533 #define wxUSE_MSGDLG 1
19538 if test "$wxUSE_NUMBERDLG" = "yes"; then
19539 cat >> confdefs.h
<<\EOF
19540 #define wxUSE_NUMBERDLG 1
19545 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19546 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19547 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19549 cat >> confdefs.h
<<\EOF
19550 #define wxUSE_PROGRESSDLG 1
19556 if test "$wxUSE_SPLASH" = "yes"; then
19557 cat >> confdefs.h
<<\EOF
19558 #define wxUSE_SPLASH 1
19563 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19564 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19565 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19567 cat >> confdefs.h
<<\EOF
19568 #define wxUSE_STARTUP_TIPS 1
19574 if test "$wxUSE_TEXTDLG" = "yes"; then
19575 cat >> confdefs.h
<<\EOF
19576 #define wxUSE_TEXTDLG 1
19581 if test "$wxUSE_WIZARDDLG" = "yes"; then
19582 cat >> confdefs.h
<<\EOF
19583 #define wxUSE_WIZARDDLG 1
19586 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
19590 if test "$cross_compiling" = "yes"; then
19593 OSINFO
=`uname -s -r -m`
19594 OSINFO
="\"$OSINFO\""
19597 cat >> confdefs.h
<<EOF
19598 #define WXWIN_OS_DESCRIPTION $OSINFO
19603 if test "x$prefix" != "xNONE"; then
19606 wxPREFIX
=$ac_default_prefix
19609 cat >> confdefs.h
<<EOF
19610 #define wxINSTALL_PREFIX "$wxPREFIX"
19617 if test "$wxUSE_MAC" = 1 ; then
19618 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
19622 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19624 if test "$wxUSE_GUI" = "yes"; then
19626 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19629 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
19630 drawing dynamic erase event exec font image \
19631 minimal richedit rotate widgets"
19633 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19635 SAMPLES_SUBDIRS
="console"
19639 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19640 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19641 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19643 if test "$wxUSE_GTK" = 1; then
19646 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
19649 if test "$GXX" = yes ; then
19650 CXXWARNINGS
="-Wall"
19652 if test "$wxUSE_NO_DEPS" = "no" ; then
19653 CFLAGS
="-MMD $CFLAGS"
19654 CXXFLAGS
="-MMD $CXXFLAGS"
19658 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19660 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19661 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19663 LDFLAGS
="$LDFLAGS$PROFILE"
19665 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19751 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19752 echo "configure:19753: checking whether ${MAKE-make} sets \${MAKE}" >&5
19753 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19754 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19755 echo $ac_n "(cached) $ac_c" 1>&6
19757 cat > conftestmake
<<\EOF
19759 @
echo 'ac_maketemp="${MAKE}"'
19761 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19762 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19763 if test -n "$ac_maketemp"; then
19764 eval ac_cv_prog_make_
${ac_make}_set
=yes
19766 eval ac_cv_prog_make_
${ac_make}_set
=no
19770 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19771 echo "$ac_t""yes" 1>&6
19774 echo "$ac_t""no" 1>&6
19775 SET_MAKE
="MAKE=${MAKE-make}"
19779 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19780 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19785 if test "$wxUSE_GUI" = "yes"; then
19786 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19787 wx_cv_path_ifs
=$PATH_IFS
19788 wx_cv_program_ext
=$PROGRAM_EXT
19789 wx_cv_target_library
=$WX_TARGET_LIBRARY
19790 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19791 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19792 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19793 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19794 subdirs
="demos samples utils contrib"
19799 cat > confcache
<<\EOF
19800 # This file is a shell script that caches the results of configure
19801 # tests run on this system so they can be shared between configure
19802 # scripts and configure runs. It is not useful on other systems.
19803 # If it contains results you don't want to keep, you may remove or edit it.
19805 # By default, configure uses ./config.cache as the cache file,
19806 # creating it if it does not exist already. You can give configure
19807 # the --cache-file=FILE option to use a different cache file; that is
19808 # what configure does when it calls configure scripts in
19809 # subdirectories, so they share the cache.
19810 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19811 # config.status only pays attention to the cache file if you give it the
19812 # --recheck option to rerun configure.
19815 # The following way of writing the cache mishandles newlines in values,
19816 # but we know of no workaround that is simple, portable, and efficient.
19817 # So, don't put newlines in cache variables' values.
19818 # Ultrix sh set writes to stderr and can't be redirected directly,
19819 # and sets the high bit in the cache file unless we assign to the vars.
19821 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19823 # `set' does not quote correctly, so add quotes (double-quote substitution
19824 # turns \\\\ into \\, and sed turns \\ into \).
19826 -e "s/'/'\\\\''/g" \
19827 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19830 # `set' quotes correctly as required by POSIX, so do not add quotes.
19831 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19834 if cmp -s $cache_file confcache
; then
19837 if test -w $cache_file; then
19838 echo "updating cache $cache_file"
19839 cat confcache
> $cache_file
19841 echo "not updating unwritable cache $cache_file"
19846 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19848 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19849 # Let make expand exec_prefix.
19850 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19852 # Any assignment to VPATH causes Sun make to only execute
19853 # the first set of double-colon rules, so remove it if not needed.
19854 # If there is a colon in the path, we need to keep it.
19855 if test "x$srcdir" = x.
; then
19856 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19859 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19861 DEFS
=-DHAVE_CONFIG_H
19863 # Without the "./", some shells look in PATH for config.status.
19864 : ${CONFIG_STATUS=./config.status}
19866 echo creating
$CONFIG_STATUS
19867 rm -f $CONFIG_STATUS
19868 cat > $CONFIG_STATUS <<EOF
19870 # Generated automatically by configure.
19871 # Run this file to recreate the current configuration.
19872 # This directory was configured as follows,
19873 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19875 # $0 $ac_configure_args
19877 # Compiler output produced by configure, useful for debugging
19878 # configure, is in ./config.log if it exists.
19880 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19883 case "\$ac_option" in
19884 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19885 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19886 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19887 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19888 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19890 -help | --help | --hel | --he | --h)
19891 echo "\$ac_cs_usage"; exit 0 ;;
19892 *) echo "\$ac_cs_usage"; exit 1 ;;
19896 ac_given_srcdir=$srcdir
19897 ac_given_INSTALL="$INSTALL"
19899 trap 'rm -fr `echo "
19905 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19907 cat >> $CONFIG_STATUS <<EOF
19909 # Protect against being on the right side of a sed subst in config.status.
19910 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19911 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19915 s%@CFLAGS@%$CFLAGS%g
19916 s%@CPPFLAGS@%$CPPFLAGS%g
19917 s%@CXXFLAGS@%$CXXFLAGS%g
19918 s%@FFLAGS@%$FFLAGS%g
19920 s%@LDFLAGS@%$LDFLAGS%g
19922 s%@exec_prefix@%$exec_prefix%g
19923 s%@prefix@%$prefix%g
19924 s%@program_transform_name@%$program_transform_name%g
19925 s%@bindir@%$bindir%g
19926 s%@sbindir@%$sbindir%g
19927 s%@libexecdir@%$libexecdir%g
19928 s%@datadir@%$datadir%g
19929 s%@sysconfdir@%$sysconfdir%g
19930 s%@sharedstatedir@%$sharedstatedir%g
19931 s%@localstatedir@%$localstatedir%g
19932 s%@libdir@%$libdir%g
19933 s%@includedir@%$includedir%g
19934 s%@oldincludedir@%$oldincludedir%g
19935 s%@infodir@%$infodir%g
19936 s%@mandir@%$mandir%g
19938 s%@host_alias@%$host_alias%g
19939 s%@host_cpu@%$host_cpu%g
19940 s%@host_vendor@%$host_vendor%g
19941 s%@host_os@%$host_os%g
19942 s%@target@%$target%g
19943 s%@target_alias@%$target_alias%g
19944 s%@target_cpu@%$target_cpu%g
19945 s%@target_vendor@%$target_vendor%g
19946 s%@target_os@%$target_os%g
19948 s%@build_alias@%$build_alias%g
19949 s%@build_cpu@%$build_cpu%g
19950 s%@build_vendor@%$build_vendor%g
19951 s%@build_os@%$build_os%g
19955 s%@RANLIB@%$RANLIB%g
19957 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19958 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19959 s%@INSTALL_DATA@%$INSTALL_DATA%g
19963 s%@LEXLIB@%$LEXLIB%g
19965 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19966 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19967 s%@GTK_LIBS@%$GTK_LIBS%g
19968 s%@GTK_CONFIG@%$GTK_CONFIG%g
19969 s%@X_CFLAGS@%$X_CFLAGS%g
19970 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19971 s%@X_LIBS@%$X_LIBS%g
19972 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19973 s%@RESCOMP@%$RESCOMP%g
19975 s%@CXXCPP@%$CXXCPP%g
19976 s%@LIBICONV@%$LIBICONV%g
19977 s%@LEX_STEM@%$LEX_STEM%g
19978 s%@PATH_IFS@%$PATH_IFS%g
19979 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19980 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19981 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19982 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19983 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19984 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19985 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19986 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19987 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19988 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19989 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19990 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19991 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19992 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19993 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19994 s%@WX_ALL@%$WX_ALL%g
19995 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19996 s%@SHARED_LD@%$SHARED_LD%g
19997 s%@PIC_FLAG@%$PIC_FLAG%g
19998 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19999 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20000 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20001 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20002 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20003 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20004 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20005 s%@USE_GUI@%$USE_GUI%g
20006 s%@AFMINSTALL@%$AFMINSTALL%g
20007 s%@TOOLKIT@%$TOOLKIT%g
20008 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20009 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20010 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20011 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20012 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20013 s%@cross_compiling@%$cross_compiling%g
20014 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20015 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20016 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20017 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20018 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20019 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20020 s%@GUIDIST@%$GUIDIST%g
20021 s%@PORT_FILES@%$PORT_FILES%g
20022 s%@DISTDIR@%$DISTDIR%g
20023 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20024 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20025 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20026 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20027 s%@EXTRADEFS@%$EXTRADEFS%g
20028 s%@RESFLAGS@%$RESFLAGS%g
20029 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20030 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20031 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20032 s%@LIBWXMACRES@%$LIBWXMACRES%g
20033 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20034 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20035 s%@DLLTOOL@%$DLLTOOL%g
20039 s%@MAKEINFO@%$MAKEINFO%g
20040 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20041 s%@SET_MAKE@%$SET_MAKE%g
20042 s%@subdirs@%$subdirs%g
20047 cat >> $CONFIG_STATUS <<\EOF
20049 # Split the substitutions into bite-sized pieces for seds with
20050 # small command number limits, like on Digital OSF/1 and HP-UX.
20051 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20052 ac_file
=1 # Number of current file.
20053 ac_beg
=1 # First line for current file.
20054 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20057 while $ac_more_lines; do
20058 if test $ac_beg -gt 1; then
20059 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20061 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20063 if test ! -s conftest.s
$ac_file; then
20064 ac_more_lines
=false
20065 rm -f conftest.s
$ac_file
20067 if test -z "$ac_sed_cmds"; then
20068 ac_sed_cmds
="sed -f conftest.s$ac_file"
20070 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20072 ac_file
=`expr $ac_file + 1`
20074 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20077 if test -z "$ac_sed_cmds"; then
20082 cat >> $CONFIG_STATUS <<EOF
20084 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20091 cat >> $CONFIG_STATUS <<\EOF
20092 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20093 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20095 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20096 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20097 *) ac_file_in
="${ac_file}.in" ;;
20100 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20102 # Remove last slash and all that follows it. Not all systems have dirname.
20103 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20104 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20105 # The file is in a subdirectory.
20106 test ! -d "$ac_dir" && mkdir "$ac_dir"
20107 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20108 # A "../" for each directory in $ac_dir_suffix.
20109 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20111 ac_dir_suffix
= ac_dots
=
20114 case "$ac_given_srcdir" in
20116 if test -z "$ac_dots"; then top_srcdir
=.
20117 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20118 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20119 *) # Relative path.
20120 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20121 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20124 case "$ac_given_INSTALL" in
20125 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20126 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20129 echo creating
"$ac_file"
20131 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20133 *Makefile
*) ac_comsub
="1i\\
20134 # $configure_input" ;;
20138 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20140 s%@configure_input@%$configure_input%g
20141 s%@srcdir@%$srcdir%g
20142 s%@top_srcdir@%$top_srcdir%g
20143 s%@INSTALL@%$INSTALL%g
20144 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20148 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20149 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20151 # ac_d sets the value in "#define NAME VALUE" lines.
20152 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20153 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20156 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20157 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20158 ac_uB
='\([ ]\)%\1#\2define\3'
20161 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20162 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20163 ac_eB
='$%\1#\2define\3'
20167 if test "${CONFIG_HEADERS+set}" != set; then
20169 cat >> $CONFIG_STATUS <<EOF
20170 CONFIG_HEADERS="setup.h:setup.h.in"
20172 cat >> $CONFIG_STATUS <<\EOF
20174 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20175 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20177 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20178 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20179 *) ac_file_in
="${ac_file}.in" ;;
20182 echo creating
$ac_file
20184 rm -f conftest.frag conftest.
in conftest.out
20185 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20186 cat $ac_file_inputs > conftest.
in
20190 # Transform confdefs.h into a sed script conftest.vals that substitutes
20191 # the proper values into config.h.in to produce config.h. And first:
20192 # Protect against being on the right side of a sed subst in config.status.
20193 # Protect against being in an unquoted here document in config.status.
20194 rm -f conftest.vals
20195 cat > conftest.hdr
<<\EOF
20198 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20202 sed -n -f conftest.hdr confdefs.h > conftest.vals
20205 # This sed command replaces #undef with comments. This is necessary, for
20206 # example, in the case of _POSIX_SOURCE, which is predefined and required
20207 # on some systems where configure will not decide to define it.
20208 cat >> conftest.vals <<\EOF
20209 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20212 # Break up conftest.vals because some shells have a limit on
20213 # the size of here documents, and old seds have small limits too.
20215 rm -f conftest.tail
20218 ac_lines=`grep -c . conftest.vals
`
20219 # grep -c gives empty output for an empty file on some AIX systems.
20220 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20221 # Write a limited-size here document to conftest.frag.
20222 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20223 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20225 sed -f conftest.frag conftest.in > conftest.out
20227 mv conftest.out conftest.in
20228 ' >> $CONFIG_STATUS
20229 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20230 rm -f conftest.vals
20231 mv conftest.tail conftest.vals
20233 rm -f conftest.vals
20235 cat >> $CONFIG_STATUS <<\EOF
20236 rm -f conftest.frag conftest.h
20237 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20238 cat conftest.in >> conftest.h
20240 if cmp -s $ac_file conftest.h 2>/dev/null; then
20241 echo "$ac_file is unchanged"
20244 # Remove last slash and all that follows it. Not all systems have dirname.
20245 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20246 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20247 # The file is in a subdirectory.
20248 test ! -d "$ac_dir" && mkdir "$ac_dir"
20251 mv conftest.h $ac_file
20256 cat >> $CONFIG_STATUS <<EOF
20258 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20263 cat >> $CONFIG_STATUS <<\EOF
20265 if test ! -h wx-config; then
20267 mv wx-config wx${TOOLCHAIN_NAME}-config
20268 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20271 if test ! -d lib; then
20274 if test ! -d lib/wx; then
20277 if test ! -d lib/wx/include; then
20278 mkdir lib/wx/include
20280 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20281 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20283 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20284 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20286 if test -f setup.h; then
20287 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20292 chmod +x $CONFIG_STATUS
20293 rm -fr confdefs* $ac_clean_files
20294 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20296 if test "$no_recursion" != yes; then
20298 # Remove --cache-file and --srcdir arguments so they do not pile up.
20299 ac_sub_configure_args=
20301 for ac_arg in $ac_configure_args; do
20302 if test -n "$ac_prev"; then
20307 -cache-file | --cache-file | --cache-fil | --cache-fi \
20308 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20309 ac_prev=cache_file ;;
20310 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20311 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20313 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20315 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20317 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20321 for ac_config_dir in demos samples utils contrib; do
20323 # Do not complain, so a configure script can configure whichever
20324 # parts of a large source tree are present.
20325 if test ! -d $srcdir/$ac_config_dir; then
20329 echo configuring in $ac_config_dir
20334 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20336 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20344 # A "../" for each directory in /$ac_config_dir.
20345 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20348 .) # No --srcdir option. We are building in place.
20349 ac_sub_srcdir=$srcdir ;;
20350 /*) # Absolute path.
20351 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20352 *) # Relative path.
20353 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20356 # Check for guested configure; otherwise get Cygnus style configure.
20357 if test -f $ac_sub_srcdir/configure; then
20358 ac_sub_configure=$ac_sub_srcdir/configure
20359 elif test -f $ac_sub_srcdir/configure.in; then
20360 ac_sub_configure=$ac_configure
20362 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20366 # The recursion is here.
20367 if test -n "$ac_sub_configure"; then
20369 # Make the cache file name correct relative to the subdirectory.
20370 case "$cache_file" in
20371 /*) ac_sub_cache_file=$cache_file ;;
20372 *) # Relative path.
20373 ac_sub_cache_file="$ac_dots$cache_file" ;;
20375 case "$ac_given_INSTALL" in
20376 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20377 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20380 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
20381 # The eval makes quoting arguments work.
20382 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
20385 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }