3 # From configure.in Id: configure.in
52 # Configure paths for GTK+
57 # Guess values for system-dependent variables and create Makefiles.
58 # Generated automatically using autoconf version 2.13
59 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
61 # This configure script is free software; the Free Software Foundation
62 # gives unlimited permission to copy, distribute and modify it.
66 ac_default_prefix
=/usr
/local
67 # Any additions from configure.in:
69 --enable-gui use GUI classes"
71 --enable-universal use wxWindows GUI controls instead of native ones"
75 --with-motif use Motif/Lesstif"
77 --with-mac use Mac OS X"
81 --with-msw use MS-Windows"
83 --with-pm use OS/2 Presentation Manager"
85 --with-mgl use SciTech MGL"
87 --with-microwin use MicroWindows"
91 --enable-nanox use NanoX"
93 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
95 --with-libpng use libpng (PNG image format)"
97 --with-libjpeg use libjpeg (JPEG file format)"
99 --with-libtiff use libtiff (TIFF file format)"
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 --disable-compat22 disable 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 X11"
1109 DEFAULT_wxUSE_MICROWIN
=0
1110 DEFAULT_wxUSE_MOTIF
=0
1113 DEFAULT_wxUSE_WINE
=0
1116 DEFAULT_DEFAULT_wxUSE_GTK
=0
1117 DEFAULT_DEFAULT_wxUSE_MAC
=0
1118 DEFAULT_DEFAULT_wxUSE_MGL
=0
1119 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1120 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1121 DEFAULT_DEFAULT_wxUSE_MSW
=0
1122 DEFAULT_DEFAULT_wxUSE_PM
=0
1123 DEFAULT_DEFAULT_wxUSE_WINE
=0
1124 DEFAULT_DEFAULT_wxUSE_X11
=0
1132 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1133 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1135 cat >> confdefs.h
<<\EOF
1142 cat >> confdefs.h
<<\EOF
1147 if test "x$TMP" = "xalpha"; then
1149 cat >> confdefs.h
<<\EOF
1154 DEFAULT_DEFAULT_wxUSE_GTK
=1
1156 *-*-irix5* | *-*-irix6* )
1159 cat >> confdefs.h
<<\EOF
1163 cat >> confdefs.h
<<\EOF
1167 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1173 cat >> confdefs.h
<<\EOF
1177 cat >> confdefs.h
<<\EOF
1178 #define __SOLARIS__ 1
1181 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1186 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1192 cat >> confdefs.h
<<\EOF
1196 cat >> confdefs.h
<<\EOF
1200 cat >> confdefs.h
<<\EOF
1204 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1209 CPP_MT_FLAG
=-D_THREAD_SAFE
1210 cat >> confdefs.h
<<\EOF
1211 #define __FREEBSD__ 1
1214 cat >> confdefs.h
<<\EOF
1218 DEFAULT_DEFAULT_wxUSE_GTK
=1
1223 cat >> confdefs.h
<<\EOF
1224 #define __FREEBSD__ 1
1227 cat >> confdefs.h
<<\EOF
1228 #define __OPENBSD__ 1
1231 DEFAULT_DEFAULT_wxUSE_GTK
=1
1236 cat >> confdefs.h
<<\EOF
1237 #define __FREEBSD__ 1
1240 cat >> confdefs.h
<<\EOF
1241 #define __NETBSD__ 1
1244 DEFAULT_DEFAULT_wxUSE_GTK
=1
1249 cat >> confdefs.h
<<\EOF
1253 cat >> confdefs.h
<<\EOF
1257 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1258 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1271 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1276 cat >> confdefs.h
<<\EOF
1280 cat >> confdefs.h
<<\EOF
1284 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1298 cat >> confdefs.h
<<\EOF
1302 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1305 *-*-cygwin* | *-*-mingw32* )
1309 cat >> confdefs.h
<<\EOF
1313 cat >> confdefs.h
<<\EOF
1317 cat >> confdefs.h
<<\EOF
1318 #define __WINDOWS__ 1
1321 cat >> confdefs.h
<<\EOF
1322 #define __GNUWIN32__ 1
1325 cat >> confdefs.h
<<\EOF
1329 cat >> confdefs.h
<<\EOF
1330 #define WINVER 0x0400
1335 DEFAULT_DEFAULT_wxUSE_MSW
=1
1341 cat >> confdefs.h
<<\EOF
1346 DEFAULT_DEFAULT_wxUSE_MGL
=1
1349 *-pc-os2_emx | *-pc-os2-emx )
1350 cat >> confdefs.h
<<\EOF
1355 DEFAULT_DEFAULT_wxUSE_PM
=1
1356 LIBS
="$LIBS -lstdcpp"
1364 cat >> confdefs.h
<<\EOF
1368 cat >> confdefs.h
<<\EOF
1369 #define __DARWIN__ 1
1372 cat >> confdefs.h
<<\EOF
1373 #define __POWERPC__ 1
1376 DEFAULT_DEFAULT_wxUSE_MAC
=1
1381 cat >> confdefs.h
<<\EOF
1388 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1391 if test "$USE_UNIX" = 1 ; then
1393 cat >> confdefs.h
<<\EOF
1399 if test "$USE_LINUX" = 1; then
1400 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1401 echo "configure:1402: checking for glibc 2.1 or later" >&5
1402 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1403 echo $ac_n "(cached) $ac_c" 1>&6
1406 cat > conftest.
$ac_ext <<EOF
1407 #line 1408 "configure"
1408 #include "confdefs.h"
1409 #include <features.h>
1412 #if !__GLIBC_PREREQ(2, 1)
1418 if { (eval echo configure
:1419: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1424 echo "configure: failed program was:" >&5
1425 cat conftest.
$ac_ext >&5
1436 echo "$ac_t""$wx_lib_glibc21" 1>&6
1437 if test "$wx_lib_glibc21" = "yes"; then
1438 cat >> confdefs.h
<<\EOF
1439 #define wxHAVE_GLIBC2 1
1448 wx_arg_cache_file
="configarg.cache"
1449 echo "loading argument cache $wx_arg_cache_file"
1450 rm -f ${wx_arg_cache_file}.tmp
1451 touch ${wx_arg_cache_file}.tmp
1452 touch ${wx_arg_cache_file}
1456 if test $DEBUG_CONFIGURE = 1; then
1457 DEFAULT_wxUSE_UNIVERSAL
=no
1459 DEFAULT_wxUSE_NANOX
=no
1461 DEFAULT_wxUSE_THREADS
=yes
1463 DEFAULT_wxUSE_SHARED
=yes
1464 DEFAULT_wxUSE_SONAME
=no
1465 DEFAULT_wxUSE_OPTIMISE
=no
1466 DEFAULT_wxUSE_PROFILE
=no
1467 DEFAULT_wxUSE_NO_DEPS
=no
1468 DEFAULT_wxUSE_NO_RTTI
=yes
1469 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1470 DEFAULT_wxUSE_PERMISSIVE
=no
1471 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1472 DEFAULT_wxUSE_DEBUG_INFO
=yes
1473 DEFAULT_wxUSE_DEBUG_GDB
=yes
1474 DEFAULT_wxUSE_MEM_TRACING
=no
1475 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1476 DEFAULT_wxUSE_DMALLOC
=no
1477 DEFAULT_wxUSE_PRECOMP
=no
1478 DEFAULT_wxUSE_APPLE_IEEE
=no
1480 DEFAULT_wxUSE_LOG
=yes
1481 DEFAULT_wxUSE_LOGWINDOW
=no
1482 DEFAULT_wxUSE_LOGGUI
=no
1483 DEFAULT_wxUSE_LOGDIALOG
=no
1485 DEFAULT_wxUSE_GUI
=yes
1486 DEFAULT_wxUSE_CONTROLS
=no
1488 DEFAULT_wxUSE_REGEX
=no
1489 DEFAULT_wxUSE_ZLIB
=no
1490 DEFAULT_wxUSE_LIBPNG
=no
1491 DEFAULT_wxUSE_LIBJPEG
=no
1492 DEFAULT_wxUSE_LIBTIFF
=no
1493 DEFAULT_wxUSE_ODBC
=no
1494 DEFAULT_wxUSE_OPENGL
=no
1496 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1497 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1498 DEFAULT_wxUSE_STD_IOSTREAM
=no
1499 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1500 DEFAULT_wxUSE_DATETIME
=no
1501 DEFAULT_wxUSE_TIMEDATE
=no
1502 DEFAULT_wxUSE_TIMER
=no
1503 DEFAULT_wxUSE_STOPWATCH
=no
1504 DEFAULT_wxUSE_FILE
=no
1505 DEFAULT_wxUSE_FFILE
=no
1506 DEFAULT_wxUSE_TEXTBUFFER
=no
1507 DEFAULT_wxUSE_TEXTFILE
=no
1508 DEFAULT_wxUSE_WAVE
=no
1509 DEFAULT_wxUSE_INTL
=no
1510 DEFAULT_wxUSE_CONFIG
=no
1511 DEFAULT_wxUSE_FONTMAP
=no
1512 DEFAULT_wxUSE_STREAMS
=no
1513 DEFAULT_wxUSE_SOCKETS
=no
1514 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1515 DEFAULT_wxUSE_JOYSTICK
=no
1516 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1517 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1518 DEFAULT_wxUSE_LONGLONG
=no
1519 DEFAULT_wxUSE_GEOMETRY
=no
1521 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1522 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1523 DEFAULT_wxUSE_POSTSCRIPT
=no
1525 DEFAULT_wxUSE_X_RESOURCES
=no
1526 DEFAULT_wxUSE_CLIPBOARD
=no
1527 DEFAULT_wxUSE_TOOLTIPS
=no
1528 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1529 DEFAULT_wxUSE_DRAGIMAGE
=no
1530 DEFAULT_wxUSE_SPLINES
=no
1532 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1533 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1534 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1536 DEFAULT_wxUSE_PROLOGIO
=no
1537 DEFAULT_wxUSE_RESOURCES
=no
1538 DEFAULT_wxUSE_CONSTRAINTS
=no
1539 DEFAULT_wxUSE_IPC
=no
1540 DEFAULT_wxUSE_HELP
=no
1541 DEFAULT_wxUSE_MS_HTML_HELP
=no
1542 DEFAULT_wxUSE_WXHTML_HELP
=no
1543 DEFAULT_wxUSE_TREELAYOUT
=no
1544 DEFAULT_wxUSE_METAFILE
=no
1545 DEFAULT_wxUSE_MIMETYPE
=no
1546 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1547 DEFAULT_wxUSE_PROTOCOL
=no
1548 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1549 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1550 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1551 DEFAULT_wxUSE_URL
=no
1553 DEFAULT_wxUSE_COMMONDLGS
=no
1554 DEFAULT_wxUSE_CHOICEDLG
=no
1555 DEFAULT_wxUSE_COLOURDLG
=no
1556 DEFAULT_wxUSE_DIRDLG
=no
1557 DEFAULT_wxUSE_FILEDLG
=no
1558 DEFAULT_wxUSE_FINDREPLDLG
=no
1559 DEFAULT_wxUSE_FONTDLG
=no
1560 DEFAULT_wxUSE_MSGDLG
=no
1561 DEFAULT_wxUSE_NUMBERDLG
=no
1562 DEFAULT_wxUSE_TEXTDLG
=no
1563 DEFAULT_wxUSE_SPLASH
=no
1564 DEFAULT_wxUSE_STARTUP_TIPS
=no
1565 DEFAULT_wxUSE_PROGRESSDLG
=no
1566 DEFAULT_wxUSE_WIZARDDLG
=no
1568 DEFAULT_wxUSE_MENUS
=no
1569 DEFAULT_wxUSE_MINIFRAME
=no
1570 DEFAULT_wxUSE_HTML
=no
1571 DEFAULT_wxUSE_FILESYSTEM
=no
1572 DEFAULT_wxUSE_FS_INET
=no
1573 DEFAULT_wxUSE_FS_ZIP
=no
1574 DEFAULT_wxUSE_BUSYINFO
=no
1575 DEFAULT_wxUSE_ZIPSTREAM
=no
1576 DEFAULT_wxUSE_VALIDATORS
=no
1578 DEFAULT_wxUSE_ACCEL
=no
1579 DEFAULT_wxUSE_BUTTON
=no
1580 DEFAULT_wxUSE_BMPBUTTON
=no
1581 DEFAULT_wxUSE_CALCTRL
=no
1582 DEFAULT_wxUSE_CARET
=no
1583 DEFAULT_wxUSE_CHECKBOX
=no
1584 DEFAULT_wxUSE_CHECKLST
=no
1585 DEFAULT_wxUSE_CHOICE
=no
1586 DEFAULT_wxUSE_COMBOBOX
=no
1587 DEFAULT_wxUSE_GAUGE
=no
1588 DEFAULT_wxUSE_GRID
=no
1589 DEFAULT_wxUSE_NEW_GRID
=no
1590 DEFAULT_wxUSE_IMAGLIST
=no
1591 DEFAULT_wxUSE_LISTBOX
=no
1592 DEFAULT_wxUSE_LISTCTRL
=no
1593 DEFAULT_wxUSE_NOTEBOOK
=no
1594 DEFAULT_wxUSE_PROPSHEET
=no
1595 DEFAULT_wxUSE_RADIOBOX
=no
1596 DEFAULT_wxUSE_RADIOBTN
=no
1597 DEFAULT_wxUSE_SASH
=no
1598 DEFAULT_wxUSE_SCROLLBAR
=no
1599 DEFAULT_wxUSE_SLIDER
=no
1600 DEFAULT_wxUSE_SPINBTN
=no
1601 DEFAULT_wxUSE_SPINCTRL
=no
1602 DEFAULT_wxUSE_SPLITTER
=no
1603 DEFAULT_wxUSE_STATBMP
=no
1604 DEFAULT_wxUSE_STATBOX
=no
1605 DEFAULT_wxUSE_STATLINE
=no
1606 DEFAULT_wxUSE_STATTEXT
=no
1607 DEFAULT_wxUSE_STATUSBAR
=yes
1608 DEFAULT_wxUSE_TABDIALOG
=no
1609 DEFAULT_wxUSE_TEXTCTRL
=no
1610 DEFAULT_wxUSE_TOGGLEBTN
=no
1611 DEFAULT_wxUSE_TOOLBAR
=no
1612 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1613 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1614 DEFAULT_wxUSE_TREECTRL
=no
1615 DEFAULT_wxUSE_POPUPWIN
=no
1616 DEFAULT_wxUSE_TIPWINDOW
=no
1618 DEFAULT_wxUSE_UNICODE
=no
1619 DEFAULT_wxUSE_UNICODE_MSLU
=no
1620 DEFAULT_wxUSE_WCSRTOMBS
=no
1622 DEFAULT_wxUSE_PALETTE
=no
1623 DEFAULT_wxUSE_IMAGE
=no
1624 DEFAULT_wxUSE_GIF
=no
1625 DEFAULT_wxUSE_PCX
=no
1626 DEFAULT_wxUSE_PNM
=no
1627 DEFAULT_wxUSE_IFF
=no
1628 DEFAULT_wxUSE_XPM
=no
1629 DEFAULT_wxUSE_ICO_CUR
=no
1631 DEFAULT_wxUSE_UNIVERSAL
=no
1633 DEFAULT_wxUSE_NANOX
=no
1635 DEFAULT_wxUSE_THREADS
=yes
1637 DEFAULT_wxUSE_SHARED
=yes
1638 DEFAULT_wxUSE_SONAME
=no
1639 DEFAULT_wxUSE_OPTIMISE
=yes
1640 DEFAULT_wxUSE_PROFILE
=no
1641 DEFAULT_wxUSE_NO_DEPS
=no
1642 DEFAULT_wxUSE_NO_RTTI
=yes
1643 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1644 DEFAULT_wxUSE_PERMISSIVE
=no
1645 DEFAULT_wxUSE_DEBUG_FLAG
=no
1646 DEFAULT_wxUSE_DEBUG_INFO
=no
1647 DEFAULT_wxUSE_DEBUG_GDB
=no
1648 DEFAULT_wxUSE_MEM_TRACING
=no
1649 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1650 DEFAULT_wxUSE_DMALLOC
=no
1651 DEFAULT_wxUSE_PRECOMP
=no
1652 DEFAULT_wxUSE_APPLE_IEEE
=yes
1654 DEFAULT_wxUSE_LOG
=yes
1655 DEFAULT_wxUSE_LOGWINDOW
=yes
1656 DEFAULT_wxUSE_LOGGUI
=yes
1657 DEFAULT_wxUSE_LOGDIALOG
=yes
1659 DEFAULT_wxUSE_GUI
=yes
1661 DEFAULT_wxUSE_REGEX
=yes
1662 DEFAULT_wxUSE_ZLIB
=yes
1663 DEFAULT_wxUSE_LIBPNG
=yes
1664 DEFAULT_wxUSE_LIBJPEG
=yes
1665 DEFAULT_wxUSE_LIBTIFF
=yes
1666 DEFAULT_wxUSE_ODBC
=no
1667 DEFAULT_wxUSE_OPENGL
=no
1669 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1670 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1671 DEFAULT_wxUSE_STD_IOSTREAM
=no
1672 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1673 DEFAULT_wxUSE_DATETIME
=yes
1674 DEFAULT_wxUSE_TIMEDATE
=no
1675 DEFAULT_wxUSE_TIMER
=yes
1676 DEFAULT_wxUSE_STOPWATCH
=yes
1677 DEFAULT_wxUSE_FILE
=yes
1678 DEFAULT_wxUSE_FFILE
=yes
1679 DEFAULT_wxUSE_TEXTBUFFER
=yes
1680 DEFAULT_wxUSE_TEXTFILE
=yes
1681 DEFAULT_wxUSE_WAVE
=no
1682 DEFAULT_wxUSE_INTL
=yes
1683 DEFAULT_wxUSE_CONFIG
=yes
1684 DEFAULT_wxUSE_FONTMAP
=yes
1685 DEFAULT_wxUSE_STREAMS
=yes
1686 DEFAULT_wxUSE_SOCKETS
=yes
1687 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1688 DEFAULT_wxUSE_JOYSTICK
=yes
1689 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1690 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1691 DEFAULT_wxUSE_LONGLONG
=yes
1692 DEFAULT_wxUSE_GEOMETRY
=yes
1694 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1695 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1696 DEFAULT_wxUSE_POSTSCRIPT
=yes
1698 DEFAULT_wxUSE_X_RESOURCES
=no
1699 DEFAULT_wxUSE_CLIPBOARD
=yes
1700 DEFAULT_wxUSE_TOOLTIPS
=yes
1701 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1702 DEFAULT_wxUSE_DRAGIMAGE
=yes
1703 DEFAULT_wxUSE_SPLINES
=yes
1705 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1706 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1707 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1709 DEFAULT_wxUSE_PROLOGIO
=yes
1710 DEFAULT_wxUSE_RESOURCES
=yes
1711 DEFAULT_wxUSE_CONSTRAINTS
=yes
1712 DEFAULT_wxUSE_IPC
=yes
1713 DEFAULT_wxUSE_HELP
=yes
1714 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1715 DEFAULT_wxUSE_WXHTML_HELP
=yes
1716 DEFAULT_wxUSE_TREELAYOUT
=yes
1717 DEFAULT_wxUSE_METAFILE
=yes
1718 DEFAULT_wxUSE_MIMETYPE
=yes
1719 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1720 DEFAULT_wxUSE_PROTOCOL
=yes
1721 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1722 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1723 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1724 DEFAULT_wxUSE_URL
=yes
1726 DEFAULT_wxUSE_COMMONDLGS
=yes
1727 DEFAULT_wxUSE_CHOICEDLG
=yes
1728 DEFAULT_wxUSE_COLOURDLG
=yes
1729 DEFAULT_wxUSE_DIRDLG
=yes
1730 DEFAULT_wxUSE_FILEDLG
=yes
1731 DEFAULT_wxUSE_FINDREPLDLG
=yes
1732 DEFAULT_wxUSE_FONTDLG
=yes
1733 DEFAULT_wxUSE_MSGDLG
=yes
1734 DEFAULT_wxUSE_NUMBERDLG
=yes
1735 DEFAULT_wxUSE_TEXTDLG
=yes
1736 DEFAULT_wxUSE_SPLASH
=yes
1737 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1738 DEFAULT_wxUSE_PROGRESSDLG
=yes
1739 DEFAULT_wxUSE_WIZARDDLG
=yes
1741 DEFAULT_wxUSE_MENUS
=yes
1742 DEFAULT_wxUSE_MINIFRAME
=yes
1743 DEFAULT_wxUSE_HTML
=yes
1744 DEFAULT_wxUSE_FILESYSTEM
=yes
1745 DEFAULT_wxUSE_FS_INET
=yes
1746 DEFAULT_wxUSE_FS_ZIP
=yes
1747 DEFAULT_wxUSE_BUSYINFO
=yes
1748 DEFAULT_wxUSE_ZIPSTREAM
=yes
1749 DEFAULT_wxUSE_VALIDATORS
=yes
1751 DEFAULT_wxUSE_ACCEL
=yes
1752 DEFAULT_wxUSE_BUTTON
=yes
1753 DEFAULT_wxUSE_BMPBUTTON
=yes
1754 DEFAULT_wxUSE_CALCTRL
=yes
1755 DEFAULT_wxUSE_CARET
=yes
1756 DEFAULT_wxUSE_CHECKBOX
=yes
1757 DEFAULT_wxUSE_CHECKLST
=yes
1758 DEFAULT_wxUSE_CHOICE
=yes
1759 DEFAULT_wxUSE_COMBOBOX
=yes
1760 DEFAULT_wxUSE_GAUGE
=yes
1761 DEFAULT_wxUSE_GRID
=yes
1762 DEFAULT_wxUSE_NEW_GRID
=yes
1763 DEFAULT_wxUSE_IMAGLIST
=yes
1764 DEFAULT_wxUSE_LISTBOX
=yes
1765 DEFAULT_wxUSE_LISTCTRL
=yes
1766 DEFAULT_wxUSE_NOTEBOOK
=yes
1767 DEFAULT_wxUSE_PROPSHEET
=yes
1768 DEFAULT_wxUSE_RADIOBOX
=yes
1769 DEFAULT_wxUSE_RADIOBTN
=yes
1770 DEFAULT_wxUSE_SASH
=yes
1771 DEFAULT_wxUSE_SCROLLBAR
=yes
1772 DEFAULT_wxUSE_SLIDER
=yes
1773 DEFAULT_wxUSE_SPINBTN
=yes
1774 DEFAULT_wxUSE_SPINCTRL
=yes
1775 DEFAULT_wxUSE_SPLITTER
=yes
1776 DEFAULT_wxUSE_STATBMP
=yes
1777 DEFAULT_wxUSE_STATBOX
=yes
1778 DEFAULT_wxUSE_STATLINE
=yes
1779 DEFAULT_wxUSE_STATTEXT
=yes
1780 DEFAULT_wxUSE_STATUSBAR
=yes
1781 DEFAULT_wxUSE_TABDIALOG
=no
1782 DEFAULT_wxUSE_TEXTCTRL
=yes
1783 DEFAULT_wxUSE_TOGGLEBTN
=yes
1784 DEFAULT_wxUSE_TOOLBAR
=yes
1785 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1786 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1787 DEFAULT_wxUSE_TREECTRL
=yes
1788 DEFAULT_wxUSE_POPUPWIN
=yes
1789 DEFAULT_wxUSE_TIPWINDOW
=yes
1791 DEFAULT_wxUSE_UNICODE
=no
1792 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1793 DEFAULT_wxUSE_WCSRTOMBS
=no
1795 DEFAULT_wxUSE_PALETTE
=yes
1796 DEFAULT_wxUSE_IMAGE
=yes
1797 DEFAULT_wxUSE_GIF
=yes
1798 DEFAULT_wxUSE_PCX
=yes
1799 DEFAULT_wxUSE_IFF
=no
1800 DEFAULT_wxUSE_PNM
=yes
1801 DEFAULT_wxUSE_XPM
=yes
1802 DEFAULT_wxUSE_ICO_CUR
=yes
1807 for toolkit
in `echo $ALL_TOOLKITS`; do
1808 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1809 if test "x$LINE" != x
; then
1810 has_toolkit_in_cache
=1
1811 eval "DEFAULT_$LINE"
1812 eval "CACHE_$toolkit=1"
1818 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1819 echo "configure:1820: checking for --enable-gui" >&5
1821 # Check whether --enable-gui or --disable-gui was given.
1822 if test "${enable_gui+set}" = set; then
1823 enableval
="$enable_gui"
1825 if test "$enableval" = yes; then
1826 ac_cv_use_gui
='wxUSE_GUI=yes'
1828 ac_cv_use_gui
='wxUSE_GUI=no'
1833 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1834 if test "x$LINE" != x
; then
1835 eval "DEFAULT_$LINE"
1840 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1845 eval "$ac_cv_use_gui"
1846 if test "$no_cache" != 1; then
1847 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1850 if test "$wxUSE_GUI" = yes; then
1851 echo "$ac_t""yes" 1>&6
1853 echo "$ac_t""no" 1>&6
1857 if test "$wxUSE_GUI" = "yes"; then
1860 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1861 echo "configure:1862: checking for --enable-universal" >&5
1863 # Check whether --enable-universal or --disable-universal was given.
1864 if test "${enable_universal+set}" = set; then
1865 enableval
="$enable_universal"
1867 if test "$enableval" = yes; then
1868 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1870 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1875 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1876 if test "x$LINE" != x
; then
1877 eval "DEFAULT_$LINE"
1882 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1887 eval "$ac_cv_use_universal"
1888 if test "$no_cache" != 1; then
1889 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1892 if test "$wxUSE_UNIVERSAL" = yes; then
1893 echo "$ac_t""yes" 1>&6
1895 echo "$ac_t""no" 1>&6
1898 # Check whether --with-gtk or --without-gtk was given.
1899 if test "${with_gtk+set}" = set; then
1901 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1904 # Check whether --with-motif or --without-motif was given.
1905 if test "${with_motif+set}" = set; then
1906 withval
="$with_motif"
1907 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1910 # Check whether --with-mac or --without-mac was given.
1911 if test "${with_mac+set}" = set; then
1913 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1916 # Check whether --with-wine or --without-wine was given.
1917 if test "${with_wine+set}" = set; then
1918 withval
="$with_wine"
1919 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1922 # Check whether --with-msw or --without-msw was given.
1923 if test "${with_msw+set}" = set; then
1925 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1928 # Check whether --with-pm or --without-pm was given.
1929 if test "${with_pm+set}" = set; then
1931 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1934 # Check whether --with-mgl or --without-mgl was given.
1935 if test "${with_mgl+set}" = set; then
1937 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1940 # Check whether --with-microwin or --without-microwin was given.
1941 if test "${with_microwin+set}" = set; then
1942 withval
="$with_microwin"
1943 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1946 # Check whether --with-x11 or --without-x11 was given.
1947 if test "${with_x11+set}" = set; then
1949 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1953 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1954 echo "configure:1955: checking for --enable-nanox" >&5
1956 # Check whether --enable-nanox or --disable-nanox was given.
1957 if test "${enable_nanox+set}" = set; then
1958 enableval
="$enable_nanox"
1960 if test "$enableval" = yes; then
1961 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1963 ac_cv_use_nanox
='wxUSE_NANOX=no'
1968 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1969 if test "x$LINE" != x
; then
1970 eval "DEFAULT_$LINE"
1975 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1980 eval "$ac_cv_use_nanox"
1981 if test "$no_cache" != 1; then
1982 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1985 if test "$wxUSE_NANOX" = yes; then
1986 echo "$ac_t""yes" 1>&6
1988 echo "$ac_t""no" 1>&6
1992 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1993 if test "${enable_gtk2+set}" = set; then
1994 enableval
="$enable_gtk2"
2002 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2003 echo "configure:2004: checking for --with-libpng" >&5
2005 # Check whether --with-libpng or --without-libpng was given.
2006 if test "${with_libpng+set}" = set; then
2007 withval
="$with_libpng"
2009 if test "$withval" = yes; then
2010 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2011 elif test "$withval" = no
; then
2012 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2013 elif test "$withval" = sys
; then
2014 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2015 elif test "$withval" = builtin; then
2016 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2018 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2023 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2024 if test "x$LINE" != x
; then
2025 eval "DEFAULT_$LINE"
2030 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2035 eval "$ac_cv_use_libpng"
2036 if test "$no_cache" != 1; then
2037 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2040 if test "$wxUSE_LIBPNG" = yes; then
2041 echo "$ac_t""yes" 1>&6
2042 elif test "$wxUSE_LIBPNG" = no
; then
2043 echo "$ac_t""no" 1>&6
2044 elif test "$wxUSE_LIBPNG" = sys
; then
2045 echo "$ac_t""system version" 1>&6
2046 elif test "$wxUSE_LIBPNG" = builtin; then
2047 echo "$ac_t""builtin version" 1>&6
2049 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2053 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2054 echo "configure:2055: checking for --with-libjpeg" >&5
2056 # Check whether --with-libjpeg or --without-libjpeg was given.
2057 if test "${with_libjpeg+set}" = set; then
2058 withval
="$with_libjpeg"
2060 if test "$withval" = yes; then
2061 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2062 elif test "$withval" = no
; then
2063 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2064 elif test "$withval" = sys
; then
2065 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2066 elif test "$withval" = builtin; then
2067 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2069 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2074 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2075 if test "x$LINE" != x
; then
2076 eval "DEFAULT_$LINE"
2081 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2086 eval "$ac_cv_use_libjpeg"
2087 if test "$no_cache" != 1; then
2088 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2091 if test "$wxUSE_LIBJPEG" = yes; then
2092 echo "$ac_t""yes" 1>&6
2093 elif test "$wxUSE_LIBJPEG" = no
; then
2094 echo "$ac_t""no" 1>&6
2095 elif test "$wxUSE_LIBJPEG" = sys
; then
2096 echo "$ac_t""system version" 1>&6
2097 elif test "$wxUSE_LIBJPEG" = builtin; then
2098 echo "$ac_t""builtin version" 1>&6
2100 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2104 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2105 echo "configure:2106: checking for --with-libtiff" >&5
2107 # Check whether --with-libtiff or --without-libtiff was given.
2108 if test "${with_libtiff+set}" = set; then
2109 withval
="$with_libtiff"
2111 if test "$withval" = yes; then
2112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2113 elif test "$withval" = no
; then
2114 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2115 elif test "$withval" = sys
; then
2116 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2117 elif test "$withval" = builtin; then
2118 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2120 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2125 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2126 if test "x$LINE" != x
; then
2127 eval "DEFAULT_$LINE"
2132 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2137 eval "$ac_cv_use_libtiff"
2138 if test "$no_cache" != 1; then
2139 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2142 if test "$wxUSE_LIBTIFF" = yes; then
2143 echo "$ac_t""yes" 1>&6
2144 elif test "$wxUSE_LIBTIFF" = no
; then
2145 echo "$ac_t""no" 1>&6
2146 elif test "$wxUSE_LIBTIFF" = sys
; then
2147 echo "$ac_t""system version" 1>&6
2148 elif test "$wxUSE_LIBTIFF" = builtin; then
2149 echo "$ac_t""builtin version" 1>&6
2151 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2155 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2156 echo "configure:2157: checking for --with-opengl" >&5
2158 # Check whether --with-opengl or --without-opengl was given.
2159 if test "${with_opengl+set}" = set; then
2160 withval
="$with_opengl"
2162 if test "$withval" = yes; then
2163 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2165 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2170 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2171 if test "x$LINE" != x
; then
2172 eval "DEFAULT_$LINE"
2177 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2182 eval "$ac_cv_use_opengl"
2183 if test "$no_cache" != 1; then
2184 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2187 if test "$wxUSE_OPENGL" = yes; then
2188 echo "$ac_t""yes" 1>&6
2190 echo "$ac_t""no" 1>&6
2197 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2198 echo "configure:2199: checking for --with-dmalloc" >&5
2200 # Check whether --with-dmalloc or --without-dmalloc was given.
2201 if test "${with_dmalloc+set}" = set; then
2202 withval
="$with_dmalloc"
2204 if test "$withval" = yes; then
2205 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2207 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2212 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2213 if test "x$LINE" != x
; then
2214 eval "DEFAULT_$LINE"
2219 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2224 eval "$ac_cv_use_dmalloc"
2225 if test "$no_cache" != 1; then
2226 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2229 if test "$wxUSE_DMALLOC" = yes; then
2230 echo "$ac_t""yes" 1>&6
2232 echo "$ac_t""no" 1>&6
2236 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2237 echo "configure:2238: checking for --with-regex" >&5
2239 # Check whether --with-regex or --without-regex was given.
2240 if test "${with_regex+set}" = set; then
2241 withval
="$with_regex"
2243 if test "$withval" = yes; then
2244 ac_cv_use_regex
='wxUSE_REGEX=yes'
2245 elif test "$withval" = no
; then
2246 ac_cv_use_regex
='wxUSE_REGEX=no'
2247 elif test "$withval" = sys
; then
2248 ac_cv_use_regex
='wxUSE_REGEX=sys'
2249 elif test "$withval" = builtin; then
2250 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2252 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2257 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2258 if test "x$LINE" != x
; then
2259 eval "DEFAULT_$LINE"
2264 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2269 eval "$ac_cv_use_regex"
2270 if test "$no_cache" != 1; then
2271 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2274 if test "$wxUSE_REGEX" = yes; then
2275 echo "$ac_t""yes" 1>&6
2276 elif test "$wxUSE_REGEX" = no
; then
2277 echo "$ac_t""no" 1>&6
2278 elif test "$wxUSE_REGEX" = sys
; then
2279 echo "$ac_t""system version" 1>&6
2280 elif test "$wxUSE_REGEX" = builtin; then
2281 echo "$ac_t""builtin version" 1>&6
2283 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2287 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2288 echo "configure:2289: checking for --with-zlib" >&5
2290 # Check whether --with-zlib or --without-zlib was given.
2291 if test "${with_zlib+set}" = set; then
2292 withval
="$with_zlib"
2294 if test "$withval" = yes; then
2295 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2296 elif test "$withval" = no
; then
2297 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2298 elif test "$withval" = sys
; then
2299 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2300 elif test "$withval" = builtin; then
2301 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2303 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2308 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2309 if test "x$LINE" != x
; then
2310 eval "DEFAULT_$LINE"
2315 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2320 eval "$ac_cv_use_zlib"
2321 if test "$no_cache" != 1; then
2322 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2325 if test "$wxUSE_ZLIB" = yes; then
2326 echo "$ac_t""yes" 1>&6
2327 elif test "$wxUSE_ZLIB" = no
; then
2328 echo "$ac_t""no" 1>&6
2329 elif test "$wxUSE_ZLIB" = sys
; then
2330 echo "$ac_t""system version" 1>&6
2331 elif test "$wxUSE_ZLIB" = builtin; then
2332 echo "$ac_t""builtin version" 1>&6
2334 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2338 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2339 echo "configure:2340: checking for --with-odbc" >&5
2341 # Check whether --with-odbc or --without-odbc was given.
2342 if test "${with_odbc+set}" = set; then
2343 withval
="$with_odbc"
2345 if test "$withval" = yes; then
2346 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2348 ac_cv_use_odbc
='wxUSE_ODBC=no'
2353 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2354 if test "x$LINE" != x
; then
2355 eval "DEFAULT_$LINE"
2360 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2365 eval "$ac_cv_use_odbc"
2366 if test "$no_cache" != 1; then
2367 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2370 if test "$wxUSE_ODBC" = yes; then
2371 echo "$ac_t""yes" 1>&6
2373 echo "$ac_t""no" 1>&6
2379 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2380 echo "configure:2381: checking for --enable-shared" >&5
2382 # Check whether --enable-shared or --disable-shared was given.
2383 if test "${enable_shared+set}" = set; then
2384 enableval
="$enable_shared"
2386 if test "$enableval" = yes; then
2387 ac_cv_use_shared
='wxUSE_SHARED=yes'
2389 ac_cv_use_shared
='wxUSE_SHARED=no'
2394 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2395 if test "x$LINE" != x
; then
2396 eval "DEFAULT_$LINE"
2401 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2406 eval "$ac_cv_use_shared"
2407 if test "$no_cache" != 1; then
2408 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2411 if test "$wxUSE_SHARED" = yes; then
2412 echo "$ac_t""yes" 1>&6
2414 echo "$ac_t""no" 1>&6
2418 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2419 echo "configure:2420: checking for --enable-soname" >&5
2421 # Check whether --enable-soname or --disable-soname was given.
2422 if test "${enable_soname+set}" = set; then
2423 enableval
="$enable_soname"
2425 if test "$enableval" = yes; then
2426 ac_cv_use_soname
='wxUSE_SONAME=yes'
2428 ac_cv_use_soname
='wxUSE_SONAME=no'
2433 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2434 if test "x$LINE" != x
; then
2435 eval "DEFAULT_$LINE"
2440 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2445 eval "$ac_cv_use_soname"
2446 if test "$no_cache" != 1; then
2447 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2450 if test "$wxUSE_SONAME" = yes; then
2451 echo "$ac_t""yes" 1>&6
2453 echo "$ac_t""no" 1>&6
2457 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2458 echo "configure:2459: checking for --enable-optimise" >&5
2460 # Check whether --enable-optimise or --disable-optimise was given.
2461 if test "${enable_optimise+set}" = set; then
2462 enableval
="$enable_optimise"
2464 if test "$enableval" = yes; then
2465 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2467 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2472 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2473 if test "x$LINE" != x
; then
2474 eval "DEFAULT_$LINE"
2479 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2484 eval "$ac_cv_use_optimise"
2485 if test "$no_cache" != 1; then
2486 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2489 if test "$wxUSE_OPTIMISE" = yes; then
2490 echo "$ac_t""yes" 1>&6
2492 echo "$ac_t""no" 1>&6
2496 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2497 echo "configure:2498: checking for --enable-debug" >&5
2499 # Check whether --enable-debug or --disable-debug was given.
2500 if test "${enable_debug+set}" = set; then
2501 enableval
="$enable_debug"
2503 if test "$enableval" = yes; then
2504 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2506 ac_cv_use_debug
='wxUSE_DEBUG=no'
2511 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2512 if test "x$LINE" != x
; then
2513 eval "DEFAULT_$LINE"
2518 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2523 eval "$ac_cv_use_debug"
2524 if test "$no_cache" != 1; then
2525 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2528 if test "$wxUSE_DEBUG" = yes; then
2529 echo "$ac_t""yes" 1>&6
2531 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2537 echo "configure:2538: checking for --enable-precomp" >&5
2539 # Check whether --enable-precomp or --disable-precomp was given.
2540 if test "${enable_precomp+set}" = set; then
2541 enableval
="$enable_precomp"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2546 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2551 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2563 eval "$ac_cv_use_precomp"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_PRECOMP" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2575 if test "$wxUSE_DEBUG" = "yes"; then
2576 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2577 DEFAULT_wxUSE_DEBUG_INFO
=yes
2578 elif test "$wxUSE_DEBUG" = "no"; then
2579 DEFAULT_wxUSE_DEBUG_FLAG
=no
2580 DEFAULT_wxUSE_DEBUG_INFO
=no
2584 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2585 echo "configure:2586: checking for --enable-debug_flag" >&5
2587 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2588 if test "${enable_debug_flag+set}" = set; then
2589 enableval
="$enable_debug_flag"
2591 if test "$enableval" = yes; then
2592 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2594 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2599 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2600 if test "x$LINE" != x
; then
2601 eval "DEFAULT_$LINE"
2606 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2611 eval "$ac_cv_use_debug_flag"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2616 if test "$wxUSE_DEBUG_FLAG" = yes; then
2617 echo "$ac_t""yes" 1>&6
2619 echo "$ac_t""no" 1>&6
2623 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2624 echo "configure:2625: checking for --enable-debug_info" >&5
2626 # Check whether --enable-debug_info or --disable-debug_info was given.
2627 if test "${enable_debug_info+set}" = set; then
2628 enableval
="$enable_debug_info"
2630 if test "$enableval" = yes; then
2631 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2633 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2638 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x
; then
2640 eval "DEFAULT_$LINE"
2645 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2650 eval "$ac_cv_use_debug_info"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2655 if test "$wxUSE_DEBUG_INFO" = yes; then
2656 echo "$ac_t""yes" 1>&6
2658 echo "$ac_t""no" 1>&6
2662 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2663 echo "configure:2664: checking for --enable-debug_gdb" >&5
2665 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2666 if test "${enable_debug_gdb+set}" = set; then
2667 enableval
="$enable_debug_gdb"
2669 if test "$enableval" = yes; then
2670 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2672 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2677 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2678 if test "x$LINE" != x
; then
2679 eval "DEFAULT_$LINE"
2684 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2689 eval "$ac_cv_use_debug_gdb"
2690 if test "$no_cache" != 1; then
2691 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2694 if test "$wxUSE_DEBUG_GDB" = yes; then
2695 echo "$ac_t""yes" 1>&6
2697 echo "$ac_t""no" 1>&6
2701 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2702 echo "configure:2703: checking for --enable-debug_cntxt" >&5
2704 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2705 if test "${enable_debug_cntxt+set}" = set; then
2706 enableval
="$enable_debug_cntxt"
2708 if test "$enableval" = yes; then
2709 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2711 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2716 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x
; then
2718 eval "DEFAULT_$LINE"
2723 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2728 eval "$ac_cv_use_debug_cntxt"
2729 if test "$no_cache" != 1; then
2730 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2733 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2734 echo "$ac_t""yes" 1>&6
2736 echo "$ac_t""no" 1>&6
2740 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2741 echo "configure:2742: checking for --enable-mem_tracing" >&5
2743 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2744 if test "${enable_mem_tracing+set}" = set; then
2745 enableval
="$enable_mem_tracing"
2747 if test "$enableval" = yes; then
2748 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2750 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2755 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2756 if test "x$LINE" != x
; then
2757 eval "DEFAULT_$LINE"
2762 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2767 eval "$ac_cv_use_mem_tracing"
2768 if test "$no_cache" != 1; then
2769 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2772 if test "$wxUSE_MEM_TRACING" = yes; then
2773 echo "$ac_t""yes" 1>&6
2775 echo "$ac_t""no" 1>&6
2779 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2780 echo "configure:2781: checking for --enable-profile" >&5
2782 # Check whether --enable-profile or --disable-profile was given.
2783 if test "${enable_profile+set}" = set; then
2784 enableval
="$enable_profile"
2786 if test "$enableval" = yes; then
2787 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2789 ac_cv_use_profile
='wxUSE_PROFILE=no'
2794 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2795 if test "x$LINE" != x
; then
2796 eval "DEFAULT_$LINE"
2801 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2806 eval "$ac_cv_use_profile"
2807 if test "$no_cache" != 1; then
2808 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2811 if test "$wxUSE_PROFILE" = yes; then
2812 echo "$ac_t""yes" 1>&6
2814 echo "$ac_t""no" 1>&6
2818 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2819 echo "configure:2820: checking for --enable-no_rtti" >&5
2821 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2822 if test "${enable_no_rtti+set}" = set; then
2823 enableval
="$enable_no_rtti"
2825 if test "$enableval" = yes; then
2826 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2828 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2833 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x
; then
2835 eval "DEFAULT_$LINE"
2840 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2845 eval "$ac_cv_use_no_rtti"
2846 if test "$no_cache" != 1; then
2847 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2850 if test "$wxUSE_NO_RTTI" = yes; then
2851 echo "$ac_t""yes" 1>&6
2853 echo "$ac_t""no" 1>&6
2857 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2858 echo "configure:2859: checking for --enable-no_exceptions" >&5
2860 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2861 if test "${enable_no_exceptions+set}" = set; then
2862 enableval
="$enable_no_exceptions"
2864 if test "$enableval" = yes; then
2865 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2867 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2872 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2873 if test "x$LINE" != x
; then
2874 eval "DEFAULT_$LINE"
2879 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2884 eval "$ac_cv_use_no_exceptions"
2885 if test "$no_cache" != 1; then
2886 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2889 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2890 echo "$ac_t""yes" 1>&6
2892 echo "$ac_t""no" 1>&6
2896 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2897 echo "configure:2898: checking for --enable-permissive" >&5
2899 # Check whether --enable-permissive or --disable-permissive was given.
2900 if test "${enable_permissive+set}" = set; then
2901 enableval
="$enable_permissive"
2903 if test "$enableval" = yes; then
2904 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2906 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2911 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2912 if test "x$LINE" != x
; then
2913 eval "DEFAULT_$LINE"
2918 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2923 eval "$ac_cv_use_permissive"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2928 if test "$wxUSE_PERMISSIVE" = yes; then
2929 echo "$ac_t""yes" 1>&6
2931 echo "$ac_t""no" 1>&6
2935 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2936 echo "configure:2937: checking for --enable-no_deps" >&5
2938 # Check whether --enable-no_deps or --disable-no_deps was given.
2939 if test "${enable_no_deps+set}" = set; then
2940 enableval
="$enable_no_deps"
2942 if test "$enableval" = yes; then
2943 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2945 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2950 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x
; then
2952 eval "DEFAULT_$LINE"
2957 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2962 eval "$ac_cv_use_no_deps"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2967 if test "$wxUSE_NO_DEPS" = yes; then
2968 echo "$ac_t""yes" 1>&6
2970 echo "$ac_t""no" 1>&6
2975 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2976 echo "configure:2977: checking for --enable-compat20" >&5
2978 # Check whether --enable-compat20 or --disable-compat20 was given.
2979 if test "${enable_compat20+set}" = set; then
2980 enableval
="$enable_compat20"
2982 if test "$enableval" = yes; then
2983 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2985 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2990 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2991 if test "x$LINE" != x
; then
2992 eval "DEFAULT_$LINE"
2997 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3002 eval "$ac_cv_use_compat20"
3003 if test "$no_cache" != 1; then
3004 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3007 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3008 echo "$ac_t""yes" 1>&6
3010 echo "$ac_t""no" 1>&6
3014 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
3015 echo "configure:3016: checking for --enable-compat22" >&5
3017 # Check whether --enable-compat22 or --disable-compat22 was given.
3018 if test "${enable_compat22+set}" = set; then
3019 enableval
="$enable_compat22"
3021 if test "$enableval" = yes; then
3022 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3024 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3029 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3041 eval "$ac_cv_use_compat22"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3046 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3047 echo "$ac_t""yes" 1>&6
3049 echo "$ac_t""no" 1>&6
3055 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3056 echo "configure:3057: checking for --enable-intl" >&5
3058 # Check whether --enable-intl or --disable-intl was given.
3059 if test "${enable_intl+set}" = set; then
3060 enableval
="$enable_intl"
3062 if test "$enableval" = yes; then
3063 ac_cv_use_intl
='wxUSE_INTL=yes'
3065 ac_cv_use_intl
='wxUSE_INTL=no'
3070 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x
; then
3072 eval "DEFAULT_$LINE"
3077 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3082 eval "$ac_cv_use_intl"
3083 if test "$no_cache" != 1; then
3084 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3087 if test "$wxUSE_INTL" = yes; then
3088 echo "$ac_t""yes" 1>&6
3090 echo "$ac_t""no" 1>&6
3094 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3095 echo "configure:3096: checking for --enable-config" >&5
3097 # Check whether --enable-config or --disable-config was given.
3098 if test "${enable_config+set}" = set; then
3099 enableval
="$enable_config"
3101 if test "$enableval" = yes; then
3102 ac_cv_use_config
='wxUSE_CONFIG=yes'
3104 ac_cv_use_config
='wxUSE_CONFIG=no'
3109 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x
; then
3111 eval "DEFAULT_$LINE"
3116 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3121 eval "$ac_cv_use_config"
3122 if test "$no_cache" != 1; then
3123 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3126 if test "$wxUSE_CONFIG" = yes; then
3127 echo "$ac_t""yes" 1>&6
3129 echo "$ac_t""no" 1>&6
3134 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3135 echo "configure:3136: checking for --enable-protocols" >&5
3137 # Check whether --enable-protocols or --disable-protocols was given.
3138 if test "${enable_protocols+set}" = set; then
3139 enableval
="$enable_protocols"
3141 if test "$enableval" = yes; then
3142 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3144 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3149 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x
; then
3151 eval "DEFAULT_$LINE"
3156 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3161 eval "$ac_cv_use_protocols"
3162 if test "$no_cache" != 1; then
3163 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3166 if test "$wxUSE_PROTOCOL" = yes; then
3167 echo "$ac_t""yes" 1>&6
3169 echo "$ac_t""no" 1>&6
3173 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3174 echo "configure:3175: checking for --enable-ftp" >&5
3176 # Check whether --enable-ftp or --disable-ftp was given.
3177 if test "${enable_ftp+set}" = set; then
3178 enableval
="$enable_ftp"
3180 if test "$enableval" = yes; then
3181 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3183 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3188 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3189 if test "x$LINE" != x
; then
3190 eval "DEFAULT_$LINE"
3195 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3200 eval "$ac_cv_use_ftp"
3201 if test "$no_cache" != 1; then
3202 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3205 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3206 echo "$ac_t""yes" 1>&6
3208 echo "$ac_t""no" 1>&6
3212 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3213 echo "configure:3214: checking for --enable-http" >&5
3215 # Check whether --enable-http or --disable-http was given.
3216 if test "${enable_http+set}" = set; then
3217 enableval
="$enable_http"
3219 if test "$enableval" = yes; then
3220 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3222 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3227 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3228 if test "x$LINE" != x
; then
3229 eval "DEFAULT_$LINE"
3234 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3239 eval "$ac_cv_use_http"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3244 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3245 echo "$ac_t""yes" 1>&6
3247 echo "$ac_t""no" 1>&6
3251 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3252 echo "configure:3253: checking for --enable-fileproto" >&5
3254 # Check whether --enable-fileproto or --disable-fileproto was given.
3255 if test "${enable_fileproto+set}" = set; then
3256 enableval
="$enable_fileproto"
3258 if test "$enableval" = yes; then
3259 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3261 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3266 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3267 if test "x$LINE" != x
; then
3268 eval "DEFAULT_$LINE"
3273 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3278 eval "$ac_cv_use_fileproto"
3279 if test "$no_cache" != 1; then
3280 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3283 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3284 echo "$ac_t""yes" 1>&6
3286 echo "$ac_t""no" 1>&6
3290 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3291 echo "configure:3292: checking for --enable-sockets" >&5
3293 # Check whether --enable-sockets or --disable-sockets was given.
3294 if test "${enable_sockets+set}" = set; then
3295 enableval
="$enable_sockets"
3297 if test "$enableval" = yes; then
3298 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3300 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3305 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3306 if test "x$LINE" != x
; then
3307 eval "DEFAULT_$LINE"
3312 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3317 eval "$ac_cv_use_sockets"
3318 if test "$no_cache" != 1; then
3319 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3322 if test "$wxUSE_SOCKETS" = yes; then
3323 echo "$ac_t""yes" 1>&6
3325 echo "$ac_t""no" 1>&6
3330 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3331 echo "configure:3332: checking for --enable-ipc" >&5
3333 # Check whether --enable-ipc or --disable-ipc was given.
3334 if test "${enable_ipc+set}" = set; then
3335 enableval
="$enable_ipc"
3337 if test "$enableval" = yes; then
3338 ac_cv_use_ipc
='wxUSE_IPC=yes'
3340 ac_cv_use_ipc
='wxUSE_IPC=no'
3345 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3346 if test "x$LINE" != x
; then
3347 eval "DEFAULT_$LINE"
3352 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3357 eval "$ac_cv_use_ipc"
3358 if test "$no_cache" != 1; then
3359 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3362 if test "$wxUSE_IPC" = yes; then
3363 echo "$ac_t""yes" 1>&6
3365 echo "$ac_t""no" 1>&6
3370 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3371 echo "configure:3372: checking for --enable-cmdline" >&5
3373 # Check whether --enable-cmdline or --disable-cmdline was given.
3374 if test "${enable_cmdline+set}" = set; then
3375 enableval
="$enable_cmdline"
3377 if test "$enableval" = yes; then
3378 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3380 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3385 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3386 if test "x$LINE" != x
; then
3387 eval "DEFAULT_$LINE"
3392 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3397 eval "$ac_cv_use_cmdline"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3402 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3403 echo "$ac_t""yes" 1>&6
3405 echo "$ac_t""no" 1>&6
3409 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3410 echo "configure:3411: checking for --enable-datetime" >&5
3412 # Check whether --enable-datetime or --disable-datetime was given.
3413 if test "${enable_datetime+set}" = set; then
3414 enableval
="$enable_datetime"
3416 if test "$enableval" = yes; then
3417 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3419 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3424 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x
; then
3426 eval "DEFAULT_$LINE"
3431 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3436 eval "$ac_cv_use_datetime"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3441 if test "$wxUSE_DATETIME" = yes; then
3442 echo "$ac_t""yes" 1>&6
3444 echo "$ac_t""no" 1>&6
3448 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3449 echo "configure:3450: checking for --enable-timedate" >&5
3451 # Check whether --enable-timedate or --disable-timedate was given.
3452 if test "${enable_timedate+set}" = set; then
3453 enableval
="$enable_timedate"
3455 if test "$enableval" = yes; then
3456 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3458 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3463 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3464 if test "x$LINE" != x
; then
3465 eval "DEFAULT_$LINE"
3470 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3475 eval "$ac_cv_use_timedate"
3476 if test "$no_cache" != 1; then
3477 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3480 if test "$wxUSE_TIMEDATE" = yes; then
3481 echo "$ac_t""yes" 1>&6
3483 echo "$ac_t""no" 1>&6
3487 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3488 echo "configure:3489: checking for --enable-stopwatch" >&5
3490 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3491 if test "${enable_stopwatch+set}" = set; then
3492 enableval
="$enable_stopwatch"
3494 if test "$enableval" = yes; then
3495 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3497 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3502 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x
; then
3504 eval "DEFAULT_$LINE"
3509 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3514 eval "$ac_cv_use_stopwatch"
3515 if test "$no_cache" != 1; then
3516 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3519 if test "$wxUSE_STOPWATCH" = yes; then
3520 echo "$ac_t""yes" 1>&6
3522 echo "$ac_t""no" 1>&6
3526 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3527 echo "configure:3528: checking for --enable-dialupman" >&5
3529 # Check whether --enable-dialupman or --disable-dialupman was given.
3530 if test "${enable_dialupman+set}" = set; then
3531 enableval
="$enable_dialupman"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3536 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3541 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3553 eval "$ac_cv_use_dialupman"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3559 echo "$ac_t""yes" 1>&6
3561 echo "$ac_t""no" 1>&6
3565 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3566 echo "configure:3567: checking for --enable-apple_ieee" >&5
3568 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3569 if test "${enable_apple_ieee+set}" = set; then
3570 enableval
="$enable_apple_ieee"
3572 if test "$enableval" = yes; then
3573 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3575 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3580 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3581 if test "x$LINE" != x
; then
3582 eval "DEFAULT_$LINE"
3587 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3592 eval "$ac_cv_use_apple_ieee"
3593 if test "$no_cache" != 1; then
3594 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3597 if test "$wxUSE_APPLE_IEEE" = yes; then
3598 echo "$ac_t""yes" 1>&6
3600 echo "$ac_t""no" 1>&6
3604 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3605 echo "configure:3606: checking for --enable-timer" >&5
3607 # Check whether --enable-timer or --disable-timer was given.
3608 if test "${enable_timer+set}" = set; then
3609 enableval
="$enable_timer"
3611 if test "$enableval" = yes; then
3612 ac_cv_use_timer
='wxUSE_TIMER=yes'
3614 ac_cv_use_timer
='wxUSE_TIMER=no'
3619 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3620 if test "x$LINE" != x
; then
3621 eval "DEFAULT_$LINE"
3626 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3631 eval "$ac_cv_use_timer"
3632 if test "$no_cache" != 1; then
3633 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3636 if test "$wxUSE_TIMER" = yes; then
3637 echo "$ac_t""yes" 1>&6
3639 echo "$ac_t""no" 1>&6
3643 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3644 echo "configure:3645: checking for --enable-wave" >&5
3646 # Check whether --enable-wave or --disable-wave was given.
3647 if test "${enable_wave+set}" = set; then
3648 enableval
="$enable_wave"
3650 if test "$enableval" = yes; then
3651 ac_cv_use_wave
='wxUSE_WAVE=yes'
3653 ac_cv_use_wave
='wxUSE_WAVE=no'
3658 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x
; then
3660 eval "DEFAULT_$LINE"
3665 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3670 eval "$ac_cv_use_wave"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3675 if test "$wxUSE_WAVE" = yes; then
3676 echo "$ac_t""yes" 1>&6
3678 echo "$ac_t""no" 1>&6
3682 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3683 echo "configure:3684: checking for --enable-fraction" >&5
3685 # Check whether --enable-fraction or --disable-fraction was given.
3686 if test "${enable_fraction+set}" = set; then
3687 enableval
="$enable_fraction"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3692 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3697 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3709 eval "$ac_cv_use_fraction"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3714 if test "$wxUSE_FRACTION" = yes; then
3715 echo "$ac_t""yes" 1>&6
3717 echo "$ac_t""no" 1>&6
3721 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3722 echo "configure:3723: checking for --enable-dynlib" >&5
3724 # Check whether --enable-dynlib or --disable-dynlib was given.
3725 if test "${enable_dynlib+set}" = set; then
3726 enableval
="$enable_dynlib"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3731 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3736 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x
; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3748 eval "$ac_cv_use_dynlib"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3754 echo "$ac_t""yes" 1>&6
3756 echo "$ac_t""no" 1>&6
3760 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3761 echo "configure:3762: checking for --enable-dynamicloader" >&5
3763 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3764 if test "${enable_dynamicloader+set}" = set; then
3765 enableval
="$enable_dynamicloader"
3767 if test "$enableval" = yes; then
3768 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3770 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3775 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3776 if test "x$LINE" != x
; then
3777 eval "DEFAULT_$LINE"
3782 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3787 eval "$ac_cv_use_dynamicloader"
3788 if test "$no_cache" != 1; then
3789 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3792 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3793 echo "$ac_t""yes" 1>&6
3795 echo "$ac_t""no" 1>&6
3799 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3800 echo "configure:3801: checking for --enable-longlong" >&5
3802 # Check whether --enable-longlong or --disable-longlong was given.
3803 if test "${enable_longlong+set}" = set; then
3804 enableval
="$enable_longlong"
3806 if test "$enableval" = yes; then
3807 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3809 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3814 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x
; then
3816 eval "DEFAULT_$LINE"
3821 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3826 eval "$ac_cv_use_longlong"
3827 if test "$no_cache" != 1; then
3828 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3831 if test "$wxUSE_LONGLONG" = yes; then
3832 echo "$ac_t""yes" 1>&6
3834 echo "$ac_t""no" 1>&6
3838 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3839 echo "configure:3840: checking for --enable-geometry" >&5
3841 # Check whether --enable-geometry or --disable-geometry was given.
3842 if test "${enable_geometry+set}" = set; then
3843 enableval
="$enable_geometry"
3845 if test "$enableval" = yes; then
3846 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3848 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3853 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x
; then
3855 eval "DEFAULT_$LINE"
3860 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3865 eval "$ac_cv_use_geometry"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3870 if test "$wxUSE_GEOMETRY" = yes; then
3871 echo "$ac_t""yes" 1>&6
3873 echo "$ac_t""no" 1>&6
3877 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3878 echo "configure:3879: checking for --enable-log" >&5
3880 # Check whether --enable-log or --disable-log was given.
3881 if test "${enable_log+set}" = set; then
3882 enableval
="$enable_log"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_log
='wxUSE_LOG=yes'
3887 ac_cv_use_log
='wxUSE_LOG=no'
3892 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x
; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3904 eval "$ac_cv_use_log"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_LOG" = yes; then
3910 echo "$ac_t""yes" 1>&6
3912 echo "$ac_t""no" 1>&6
3916 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3917 echo "configure:3918: checking for --enable-streams" >&5
3919 # Check whether --enable-streams or --disable-streams was given.
3920 if test "${enable_streams+set}" = set; then
3921 enableval
="$enable_streams"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3926 ac_cv_use_streams
='wxUSE_STREAMS=no'
3931 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3943 eval "$ac_cv_use_streams"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3948 if test "$wxUSE_STREAMS" = yes; then
3949 echo "$ac_t""yes" 1>&6
3951 echo "$ac_t""no" 1>&6
3955 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3956 echo "configure:3957: checking for --enable-file" >&5
3958 # Check whether --enable-file or --disable-file was given.
3959 if test "${enable_file+set}" = set; then
3960 enableval
="$enable_file"
3962 if test "$enableval" = yes; then
3963 ac_cv_use_file
='wxUSE_FILE=yes'
3965 ac_cv_use_file
='wxUSE_FILE=no'
3970 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3971 if test "x$LINE" != x
; then
3972 eval "DEFAULT_$LINE"
3977 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3982 eval "$ac_cv_use_file"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_FILE" = yes; then
3988 echo "$ac_t""yes" 1>&6
3990 echo "$ac_t""no" 1>&6
3994 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3995 echo "configure:3996: checking for --enable-ffile" >&5
3997 # Check whether --enable-ffile or --disable-ffile was given.
3998 if test "${enable_ffile+set}" = set; then
3999 enableval
="$enable_ffile"
4001 if test "$enableval" = yes; then
4002 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4004 ac_cv_use_ffile
='wxUSE_FFILE=no'
4009 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x
; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4021 eval "$ac_cv_use_ffile"
4022 if test "$no_cache" != 1; then
4023 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4026 if test "$wxUSE_FFILE" = yes; then
4027 echo "$ac_t""yes" 1>&6
4029 echo "$ac_t""no" 1>&6
4033 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4034 echo "configure:4035: checking for --enable-textbuf" >&5
4036 # Check whether --enable-textbuf or --disable-textbuf was given.
4037 if test "${enable_textbuf+set}" = set; then
4038 enableval
="$enable_textbuf"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4043 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4048 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4060 eval "$ac_cv_use_textbuf"
4061 if test "$no_cache" != 1; then
4062 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4065 if test "$wxUSE_TEXTBUFFER" = yes; then
4066 echo "$ac_t""yes" 1>&6
4068 echo "$ac_t""no" 1>&6
4072 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4073 echo "configure:4074: checking for --enable-textfile" >&5
4075 # Check whether --enable-textfile or --disable-textfile was given.
4076 if test "${enable_textfile+set}" = set; then
4077 enableval
="$enable_textfile"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4082 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4087 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4099 eval "$ac_cv_use_textfile"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_TEXTFILE" = yes; then
4105 echo "$ac_t""yes" 1>&6
4107 echo "$ac_t""no" 1>&6
4111 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4112 echo "configure:4113: checking for --enable-fontmap" >&5
4114 # Check whether --enable-fontmap or --disable-fontmap was given.
4115 if test "${enable_fontmap+set}" = set; then
4116 enableval
="$enable_fontmap"
4118 if test "$enableval" = yes; then
4119 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4121 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4126 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x
; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4138 eval "$ac_cv_use_fontmap"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_FONTMAP" = yes; then
4144 echo "$ac_t""yes" 1>&6
4146 echo "$ac_t""no" 1>&6
4150 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4151 echo "configure:4152: checking for --enable-unicode" >&5
4153 # Check whether --enable-unicode or --disable-unicode was given.
4154 if test "${enable_unicode+set}" = set; then
4155 enableval
="$enable_unicode"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4160 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4165 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4177 eval "$ac_cv_use_unicode"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4182 if test "$wxUSE_UNICODE" = yes; then
4183 echo "$ac_t""yes" 1>&6
4185 echo "$ac_t""no" 1>&6
4189 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4190 echo "configure:4191: checking for --enable-mslu" >&5
4192 # Check whether --enable-mslu or --disable-mslu was given.
4193 if test "${enable_mslu+set}" = set; then
4194 enableval
="$enable_mslu"
4196 if test "$enableval" = yes; then
4197 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4199 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4204 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x
; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4216 eval "$ac_cv_use_mslu"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_UNICODE_MSLU" = yes; then
4222 echo "$ac_t""yes" 1>&6
4224 echo "$ac_t""no" 1>&6
4228 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4229 echo "configure:4230: checking for --enable-wxprintfv" >&5
4231 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4232 if test "${enable_wxprintfv+set}" = set; then
4233 enableval
="$enable_wxprintfv"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4238 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4243 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4255 eval "$ac_cv_use_wxprintfv"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4261 echo "$ac_t""yes" 1>&6
4263 echo "$ac_t""no" 1>&6
4267 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4268 echo "configure:4269: checking for --enable-std_iostreams" >&5
4270 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4271 if test "${enable_std_iostreams+set}" = set; then
4272 enableval
="$enable_std_iostreams"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4277 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4282 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x
; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4294 eval "$ac_cv_use_std_iostreams"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4299 if test "$wxUSE_STD_IOSTREAM" = yes; then
4300 echo "$ac_t""yes" 1>&6
4302 echo "$ac_t""no" 1>&6
4306 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4307 echo "configure:4308: checking for --enable-filesystem" >&5
4309 # Check whether --enable-filesystem or --disable-filesystem was given.
4310 if test "${enable_filesystem+set}" = set; then
4311 enableval
="$enable_filesystem"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4316 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4321 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x
; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4333 eval "$ac_cv_use_filesystem"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_FILESYSTEM" = yes; then
4339 echo "$ac_t""yes" 1>&6
4341 echo "$ac_t""no" 1>&6
4345 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4346 echo "configure:4347: checking for --enable-fs_inet" >&5
4348 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4349 if test "${enable_fs_inet+set}" = set; then
4350 enableval
="$enable_fs_inet"
4352 if test "$enableval" = yes; then
4353 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4355 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4360 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4367 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4372 eval "$ac_cv_use_fs_inet"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_FS_INET" = yes; then
4378 echo "$ac_t""yes" 1>&6
4380 echo "$ac_t""no" 1>&6
4384 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4385 echo "configure:4386: checking for --enable-fs_zip" >&5
4387 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4388 if test "${enable_fs_zip+set}" = set; then
4389 enableval
="$enable_fs_zip"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4394 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4399 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x
; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4411 eval "$ac_cv_use_fs_zip"
4412 if test "$no_cache" != 1; then
4413 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4416 if test "$wxUSE_FS_ZIP" = yes; then
4417 echo "$ac_t""yes" 1>&6
4419 echo "$ac_t""no" 1>&6
4423 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4424 echo "configure:4425: checking for --enable-zipstream" >&5
4426 # Check whether --enable-zipstream or --disable-zipstream was given.
4427 if test "${enable_zipstream+set}" = set; then
4428 enableval
="$enable_zipstream"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4433 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4438 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x
; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4450 eval "$ac_cv_use_zipstream"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_ZIPSTREAM" = yes; then
4456 echo "$ac_t""yes" 1>&6
4458 echo "$ac_t""no" 1>&6
4463 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4464 echo "configure:4465: checking for --enable-catch_segvs" >&5
4466 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4467 if test "${enable_catch_segvs+set}" = set; then
4468 enableval
="$enable_catch_segvs"
4470 if test "$enableval" = yes; then
4471 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4473 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4478 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4485 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4490 eval "$ac_cv_use_catch_segvs"
4491 if test "$no_cache" != 1; then
4492 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4495 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4496 echo "$ac_t""yes" 1>&6
4498 echo "$ac_t""no" 1>&6
4502 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4503 echo "configure:4504: checking for --enable-snglinst" >&5
4505 # Check whether --enable-snglinst or --disable-snglinst was given.
4506 if test "${enable_snglinst+set}" = set; then
4507 enableval
="$enable_snglinst"
4509 if test "$enableval" = yes; then
4510 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4512 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4517 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4518 if test "x$LINE" != x
; then
4519 eval "DEFAULT_$LINE"
4524 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4529 eval "$ac_cv_use_snglinst"
4530 if test "$no_cache" != 1; then
4531 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4534 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4535 echo "$ac_t""yes" 1>&6
4537 echo "$ac_t""no" 1>&6
4542 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4543 echo "configure:4544: checking for --enable-mimetype" >&5
4545 # Check whether --enable-mimetype or --disable-mimetype was given.
4546 if test "${enable_mimetype+set}" = set; then
4547 enableval
="$enable_mimetype"
4549 if test "$enableval" = yes; then
4550 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4552 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4557 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4558 if test "x$LINE" != x
; then
4559 eval "DEFAULT_$LINE"
4564 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4569 eval "$ac_cv_use_mimetype"
4570 if test "$no_cache" != 1; then
4571 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4574 if test "$wxUSE_MIMETYPE" = yes; then
4575 echo "$ac_t""yes" 1>&6
4577 echo "$ac_t""no" 1>&6
4581 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4582 echo "configure:4583: checking for --enable-system_options" >&5
4584 # Check whether --enable-system_options or --disable-system_options was given.
4585 if test "${enable_system_options+set}" = set; then
4586 enableval
="$enable_system_options"
4588 if test "$enableval" = yes; then
4589 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4591 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4596 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4597 if test "x$LINE" != x
; then
4598 eval "DEFAULT_$LINE"
4603 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4608 eval "$ac_cv_use_system_options"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4613 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4614 echo "$ac_t""yes" 1>&6
4616 echo "$ac_t""no" 1>&6
4621 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4622 echo "configure:4623: checking for --enable-url" >&5
4624 # Check whether --enable-url or --disable-url was given.
4625 if test "${enable_url+set}" = set; then
4626 enableval
="$enable_url"
4628 if test "$enableval" = yes; then
4629 ac_cv_use_url
='wxUSE_URL=yes'
4631 ac_cv_use_url
='wxUSE_URL=no'
4636 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4637 if test "x$LINE" != x
; then
4638 eval "DEFAULT_$LINE"
4643 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4648 eval "$ac_cv_use_url"
4649 if test "$no_cache" != 1; then
4650 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4653 if test "$wxUSE_URL" = yes; then
4654 echo "$ac_t""yes" 1>&6
4656 echo "$ac_t""no" 1>&6
4660 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4661 echo "configure:4662: checking for --enable-protocol" >&5
4663 # Check whether --enable-protocol or --disable-protocol was given.
4664 if test "${enable_protocol+set}" = set; then
4665 enableval
="$enable_protocol"
4667 if test "$enableval" = yes; then
4668 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4670 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4675 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4682 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4687 eval "$ac_cv_use_protocol"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4692 if test "$wxUSE_PROTOCOL" = yes; then
4693 echo "$ac_t""yes" 1>&6
4695 echo "$ac_t""no" 1>&6
4699 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4700 echo "configure:4701: checking for --enable-protocol_http" >&5
4702 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4703 if test "${enable_protocol_http+set}" = set; then
4704 enableval
="$enable_protocol_http"
4706 if test "$enableval" = yes; then
4707 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4709 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4714 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4721 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4726 eval "$ac_cv_use_protocol_http"
4727 if test "$no_cache" != 1; then
4728 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4731 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4732 echo "$ac_t""yes" 1>&6
4734 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4739 echo "configure:4740: checking for --enable-protocol_ftp" >&5
4741 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4742 if test "${enable_protocol_ftp+set}" = set; then
4743 enableval
="$enable_protocol_ftp"
4745 if test "$enableval" = yes; then
4746 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4748 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4753 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4754 if test "x$LINE" != x
; then
4755 eval "DEFAULT_$LINE"
4760 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4765 eval "$ac_cv_use_protocol_ftp"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4770 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4771 echo "$ac_t""yes" 1>&6
4773 echo "$ac_t""no" 1>&6
4777 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4778 echo "configure:4779: checking for --enable-protocol_file" >&5
4780 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4781 if test "${enable_protocol_file+set}" = set; then
4782 enableval
="$enable_protocol_file"
4784 if test "$enableval" = yes; then
4785 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4787 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4792 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4793 if test "x$LINE" != x
; then
4794 eval "DEFAULT_$LINE"
4799 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4804 eval "$ac_cv_use_protocol_file"
4805 if test "$no_cache" != 1; then
4806 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4809 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4810 echo "$ac_t""yes" 1>&6
4812 echo "$ac_t""no" 1>&6
4819 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4820 echo "configure:4821: checking for --enable-threads" >&5
4822 # Check whether --enable-threads or --disable-threads was given.
4823 if test "${enable_threads+set}" = set; then
4824 enableval
="$enable_threads"
4826 if test "$enableval" = yes; then
4827 ac_cv_use_threads
='wxUSE_THREADS=yes'
4829 ac_cv_use_threads
='wxUSE_THREADS=no'
4834 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4841 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4846 eval "$ac_cv_use_threads"
4847 if test "$no_cache" != 1; then
4848 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4851 if test "$wxUSE_THREADS" = yes; then
4852 echo "$ac_t""yes" 1>&6
4854 echo "$ac_t""no" 1>&6
4858 if test "$wxUSE_GUI" = "yes"; then
4862 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4863 echo "configure:4864: checking for --enable-docview" >&5
4865 # Check whether --enable-docview or --disable-docview was given.
4866 if test "${enable_docview+set}" = set; then
4867 enableval
="$enable_docview"
4869 if test "$enableval" = yes; then
4870 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4872 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4877 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4884 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4889 eval "$ac_cv_use_docview"
4890 if test "$no_cache" != 1; then
4891 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4894 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4895 echo "$ac_t""yes" 1>&6
4897 echo "$ac_t""no" 1>&6
4901 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4902 echo "configure:4903: checking for --enable-help" >&5
4904 # Check whether --enable-help or --disable-help was given.
4905 if test "${enable_help+set}" = set; then
4906 enableval
="$enable_help"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_help
='wxUSE_HELP=yes'
4911 ac_cv_use_help
='wxUSE_HELP=no'
4916 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4928 eval "$ac_cv_use_help"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_HELP" = yes; then
4934 echo "$ac_t""yes" 1>&6
4936 echo "$ac_t""no" 1>&6
4940 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4941 echo "configure:4942: checking for --enable-mshtmlhelp" >&5
4943 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4944 if test "${enable_mshtmlhelp+set}" = set; then
4945 enableval
="$enable_mshtmlhelp"
4947 if test "$enableval" = yes; then
4948 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4950 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4955 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4956 if test "x$LINE" != x
; then
4957 eval "DEFAULT_$LINE"
4962 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4967 eval "$ac_cv_use_mshtmlhelp"
4968 if test "$no_cache" != 1; then
4969 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4972 if test "$wxUSE_MS_HTML_HELP" = yes; then
4973 echo "$ac_t""yes" 1>&6
4975 echo "$ac_t""no" 1>&6
4979 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4980 echo "configure:4981: checking for --enable-html" >&5
4982 # Check whether --enable-html or --disable-html was given.
4983 if test "${enable_html+set}" = set; then
4984 enableval
="$enable_html"
4986 if test "$enableval" = yes; then
4987 ac_cv_use_html
='wxUSE_HTML=yes'
4989 ac_cv_use_html
='wxUSE_HTML=no'
4994 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4995 if test "x$LINE" != x
; then
4996 eval "DEFAULT_$LINE"
5001 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5006 eval "$ac_cv_use_html"
5007 if test "$no_cache" != 1; then
5008 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5011 if test "$wxUSE_HTML" = yes; then
5012 echo "$ac_t""yes" 1>&6
5014 echo "$ac_t""no" 1>&6
5018 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
5019 echo "configure:5020: checking for --enable-htmlhelp" >&5
5021 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5022 if test "${enable_htmlhelp+set}" = set; then
5023 enableval
="$enable_htmlhelp"
5025 if test "$enableval" = yes; then
5026 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5028 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5033 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x
; then
5035 eval "DEFAULT_$LINE"
5040 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5045 eval "$ac_cv_use_htmlhelp"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5050 if test "$wxUSE_WXHTML_HELP" = yes; then
5051 echo "$ac_t""yes" 1>&6
5053 echo "$ac_t""no" 1>&6
5057 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5058 echo "configure:5059: checking for --enable-constraints" >&5
5060 # Check whether --enable-constraints or --disable-constraints was given.
5061 if test "${enable_constraints+set}" = set; then
5062 enableval
="$enable_constraints"
5064 if test "$enableval" = yes; then
5065 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5067 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5072 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5073 if test "x$LINE" != x
; then
5074 eval "DEFAULT_$LINE"
5079 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5084 eval "$ac_cv_use_constraints"
5085 if test "$no_cache" != 1; then
5086 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5089 if test "$wxUSE_CONSTRAINTS" = yes; then
5090 echo "$ac_t""yes" 1>&6
5092 echo "$ac_t""no" 1>&6
5096 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5097 echo "configure:5098: checking for --enable-printarch" >&5
5099 # Check whether --enable-printarch or --disable-printarch was given.
5100 if test "${enable_printarch+set}" = set; then
5101 enableval
="$enable_printarch"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5106 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5111 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x
; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5123 eval "$ac_cv_use_printarch"
5124 if test "$no_cache" != 1; then
5125 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5128 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5129 echo "$ac_t""yes" 1>&6
5131 echo "$ac_t""no" 1>&6
5135 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5136 echo "configure:5137: checking for --enable-mdi" >&5
5138 # Check whether --enable-mdi or --disable-mdi was given.
5139 if test "${enable_mdi+set}" = set; then
5140 enableval
="$enable_mdi"
5142 if test "$enableval" = yes; then
5143 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5145 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5150 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5151 if test "x$LINE" != x
; then
5152 eval "DEFAULT_$LINE"
5157 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5162 eval "$ac_cv_use_mdi"
5163 if test "$no_cache" != 1; then
5164 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5167 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5168 echo "$ac_t""yes" 1>&6
5170 echo "$ac_t""no" 1>&6
5174 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5175 echo "configure:5176: checking for --enable-loggui" >&5
5177 # Check whether --enable-loggui or --disable-loggui was given.
5178 if test "${enable_loggui+set}" = set; then
5179 enableval
="$enable_loggui"
5181 if test "$enableval" = yes; then
5182 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5184 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5189 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x
; then
5191 eval "DEFAULT_$LINE"
5196 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5201 eval "$ac_cv_use_loggui"
5202 if test "$no_cache" != 1; then
5203 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5206 if test "$wxUSE_LOGGUI" = yes; then
5207 echo "$ac_t""yes" 1>&6
5209 echo "$ac_t""no" 1>&6
5213 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5214 echo "configure:5215: checking for --enable-logwin" >&5
5216 # Check whether --enable-logwin or --disable-logwin was given.
5217 if test "${enable_logwin+set}" = set; then
5218 enableval
="$enable_logwin"
5220 if test "$enableval" = yes; then
5221 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5223 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5228 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5229 if test "x$LINE" != x
; then
5230 eval "DEFAULT_$LINE"
5235 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5240 eval "$ac_cv_use_logwin"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5245 if test "$wxUSE_LOGWINDOW" = yes; then
5246 echo "$ac_t""yes" 1>&6
5248 echo "$ac_t""no" 1>&6
5252 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5253 echo "configure:5254: checking for --enable-logdialog" >&5
5255 # Check whether --enable-logdialog or --disable-logdialog was given.
5256 if test "${enable_logdialog+set}" = set; then
5257 enableval
="$enable_logdialog"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5262 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5267 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5279 eval "$ac_cv_use_logdialog"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_LOGDIALOG" = yes; then
5285 echo "$ac_t""yes" 1>&6
5287 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5293 echo "configure:5294: checking for --enable-postscript" >&5
5295 # Check whether --enable-postscript or --disable-postscript was given.
5296 if test "${enable_postscript+set}" = set; then
5297 enableval
="$enable_postscript"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5302 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5307 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5319 eval "$ac_cv_use_postscript"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_POSTSCRIPT" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5334 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5335 echo "configure:5336: checking for --enable-prologio" >&5
5337 # Check whether --enable-prologio or --disable-prologio was given.
5338 if test "${enable_prologio+set}" = set; then
5339 enableval
="$enable_prologio"
5341 if test "$enableval" = yes; then
5342 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5344 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5349 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x
; then
5351 eval "DEFAULT_$LINE"
5356 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5361 eval "$ac_cv_use_prologio"
5362 if test "$no_cache" != 1; then
5363 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5366 if test "$wxUSE_PROLOGIO" = yes; then
5367 echo "$ac_t""yes" 1>&6
5369 echo "$ac_t""no" 1>&6
5373 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5374 echo "configure:5375: checking for --enable-resources" >&5
5376 # Check whether --enable-resources or --disable-resources was given.
5377 if test "${enable_resources+set}" = set; then
5378 enableval
="$enable_resources"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5383 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5388 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5400 eval "$ac_cv_use_resources"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_RESOURCES" = yes; then
5406 echo "$ac_t""yes" 1>&6
5408 echo "$ac_t""no" 1>&6
5413 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5414 echo "configure:5415: checking for --enable-xresources" >&5
5416 # Check whether --enable-xresources or --disable-xresources was given.
5417 if test "${enable_xresources+set}" = set; then
5418 enableval
="$enable_xresources"
5420 if test "$enableval" = yes; then
5421 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5423 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5428 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5429 if test "x$LINE" != x
; then
5430 eval "DEFAULT_$LINE"
5435 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5440 eval "$ac_cv_use_xresources"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5445 if test "$wxUSE_X_RESOURCES" = yes; then
5446 echo "$ac_t""yes" 1>&6
5448 echo "$ac_t""no" 1>&6
5454 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5455 echo "configure:5456: checking for --enable-clipboard" >&5
5457 # Check whether --enable-clipboard or --disable-clipboard was given.
5458 if test "${enable_clipboard+set}" = set; then
5459 enableval
="$enable_clipboard"
5461 if test "$enableval" = yes; then
5462 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5464 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5469 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5470 if test "x$LINE" != x
; then
5471 eval "DEFAULT_$LINE"
5476 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5481 eval "$ac_cv_use_clipboard"
5482 if test "$no_cache" != 1; then
5483 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5486 if test "$wxUSE_CLIPBOARD" = yes; then
5487 echo "$ac_t""yes" 1>&6
5489 echo "$ac_t""no" 1>&6
5493 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5494 echo "configure:5495: checking for --enable-dnd" >&5
5496 # Check whether --enable-dnd or --disable-dnd was given.
5497 if test "${enable_dnd+set}" = set; then
5498 enableval
="$enable_dnd"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5503 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5508 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x
; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5520 eval "$ac_cv_use_dnd"
5521 if test "$no_cache" != 1; then
5522 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5525 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5526 echo "$ac_t""yes" 1>&6
5528 echo "$ac_t""no" 1>&6
5532 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5533 echo "configure:5534: checking for --enable-metafile" >&5
5535 # Check whether --enable-metafile or --disable-metafile was given.
5536 if test "${enable_metafile+set}" = set; then
5537 enableval
="$enable_metafile"
5539 if test "$enableval" = yes; then
5540 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5542 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5547 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5548 if test "x$LINE" != x
; then
5549 eval "DEFAULT_$LINE"
5554 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5559 eval "$ac_cv_use_metafile"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_METAFILE" = yes; then
5565 echo "$ac_t""yes" 1>&6
5567 echo "$ac_t""no" 1>&6
5572 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5573 echo "configure:5574: checking for --enable-treelayout" >&5
5575 # Check whether --enable-treelayout or --disable-treelayout was given.
5576 if test "${enable_treelayout+set}" = set; then
5577 enableval
="$enable_treelayout"
5579 if test "$enableval" = yes; then
5580 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5582 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5587 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5588 if test "x$LINE" != x
; then
5589 eval "DEFAULT_$LINE"
5594 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5599 eval "$ac_cv_use_treelayout"
5600 if test "$no_cache" != 1; then
5601 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5604 if test "$wxUSE_TREELAYOUT" = yes; then
5605 echo "$ac_t""yes" 1>&6
5607 echo "$ac_t""no" 1>&6
5613 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5614 echo "configure:5615: checking for --enable-controls" >&5
5616 # Check whether --enable-controls or --disable-controls was given.
5617 if test "${enable_controls+set}" = set; then
5618 enableval
="$enable_controls"
5620 if test "$enableval" = yes; then
5621 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5623 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5628 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5629 if test "x$LINE" != x
; then
5630 eval "DEFAULT_$LINE"
5635 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5640 eval "$ac_cv_use_controls"
5641 if test "$no_cache" != 1; then
5642 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5645 if test "$wxUSE_CONTROLS" = yes; then
5646 echo "$ac_t""yes" 1>&6
5648 echo "$ac_t""no" 1>&6
5652 if test "$wxUSE_CONTROLS" = "yes"; then
5653 DEFAULT_wxUSE_ACCEL
=yes
5654 DEFAULT_wxUSE_BMPBUTTON
=yes
5655 DEFAULT_wxUSE_BUTTON
=yes
5656 DEFAULT_wxUSE_CALCTRL
=no
5657 DEFAULT_wxUSE_CARET
=yes
5658 DEFAULT_wxUSE_COMBOBOX
=yes
5659 DEFAULT_wxUSE_CHECKBOX
=yes
5660 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5661 DEFAULT_wxUSE_CHOICE
=yes
5662 DEFAULT_wxUSE_GAUGE
=yes
5663 DEFAULT_wxUSE_GRID
=yes
5664 DEFAULT_wxUSE_NEW_GRID
=yes
5665 DEFAULT_wxUSE_IMAGLIST
=yes
5666 DEFAULT_wxUSE_LISTBOX
=yes
5667 DEFAULT_wxUSE_LISTCTRL
=yes
5668 DEFAULT_wxUSE_NOTEBOOK
=yes
5669 DEFAULT_wxUSE_PROPSHEET
=yes
5670 DEFAULT_wxUSE_RADIOBOX
=yes
5671 DEFAULT_wxUSE_RADIOBTN
=yes
5672 DEFAULT_wxUSE_SASH
=yes
5673 DEFAULT_wxUSE_SCROLLBAR
=yes
5674 DEFAULT_wxUSE_SLIDER
=yes
5675 DEFAULT_wxUSE_SPINBTN
=yes
5676 DEFAULT_wxUSE_SPINCTRL
=yes
5677 DEFAULT_wxUSE_SPLITTER
=yes
5678 DEFAULT_wxUSE_STATBMP
=yes
5679 DEFAULT_wxUSE_STATBOX
=yes
5680 DEFAULT_wxUSE_STATLINE
=yes
5681 DEFAULT_wxUSE_STATUSBAR
=yes
5682 DEFAULT_wxUSE_TAB_DIALOG
=yes
5683 DEFAULT_wxUSE_TOGGLEBTN
=yes
5684 DEFAULT_wxUSE_TOOLBAR
=yes
5685 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5686 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5687 DEFAULT_wxUSE_TOOLTIPS
=yes
5688 DEFAULT_wxUSE_TREECTRL
=yes
5689 DEFAULT_wxUSE_POPUPWIN
=yes
5690 DEFAULT_wxUSE_TIPWINDOW
=yes
5691 elif test "$wxUSE_CONTROLS" = "no"; then
5692 DEFAULT_wxUSE_ACCEL
=no
5693 DEFAULT_wxUSE_BMPBUTTON
=no
5694 DEFAULT_wxUSE_BUTTON
=no
5695 DEFAULT_wxUSE_CALCTRL
=no
5696 DEFAULT_wxUSE_CARET
=no
5697 DEFAULT_wxUSE_COMBOBOX
=no
5698 DEFAULT_wxUSE_CHECKBOX
=no
5699 DEFAULT_wxUSE_CHECKLISTBOX
=no
5700 DEFAULT_wxUSE_CHOICE
=no
5701 DEFAULT_wxUSE_GAUGE
=no
5702 DEFAULT_wxUSE_GRID
=no
5703 DEFAULT_wxUSE_NEW_GRID
=no
5704 DEFAULT_wxUSE_IMAGLIST
=no
5705 DEFAULT_wxUSE_LISTBOX
=no
5706 DEFAULT_wxUSE_LISTCTRL
=no
5707 DEFAULT_wxUSE_NOTEBOOK
=no
5708 DEFAULT_wxUSE_PROPSHEET
=no
5709 DEFAULT_wxUSE_RADIOBOX
=no
5710 DEFAULT_wxUSE_RADIOBTN
=no
5711 DEFAULT_wxUSE_SASH
=no
5712 DEFAULT_wxUSE_SCROLLBAR
=no
5713 DEFAULT_wxUSE_SLIDER
=no
5714 DEFAULT_wxUSE_SPINBTN
=no
5715 DEFAULT_wxUSE_SPINCTRL
=no
5716 DEFAULT_wxUSE_SPLITTER
=no
5717 DEFAULT_wxUSE_STATBMP
=no
5718 DEFAULT_wxUSE_STATBOX
=no
5719 DEFAULT_wxUSE_STATLINE
=no
5720 DEFAULT_wxUSE_STATUSBAR
=no
5721 DEFAULT_wxUSE_TAB_DIALOG
=no
5722 DEFAULT_wxUSE_TOGGLEBTN
=no
5723 DEFAULT_wxUSE_TOOLBAR
=no
5724 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5725 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5726 DEFAULT_wxUSE_TOOLTIPS
=no
5727 DEFAULT_wxUSE_TREECTRL
=no
5728 DEFAULT_wxUSE_POPUPWIN
=no
5729 DEFAULT_wxUSE_TIPWINDOW
=no
5733 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5734 echo "configure:5735: checking for --enable-accel" >&5
5736 # Check whether --enable-accel or --disable-accel was given.
5737 if test "${enable_accel+set}" = set; then
5738 enableval
="$enable_accel"
5740 if test "$enableval" = yes; then
5741 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5743 ac_cv_use_accel
='wxUSE_ACCEL=no'
5748 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x
; then
5750 eval "DEFAULT_$LINE"
5755 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5760 eval "$ac_cv_use_accel"
5761 if test "$no_cache" != 1; then
5762 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5765 if test "$wxUSE_ACCEL" = yes; then
5766 echo "$ac_t""yes" 1>&6
5768 echo "$ac_t""no" 1>&6
5772 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5773 echo "configure:5774: checking for --enable-button" >&5
5775 # Check whether --enable-button or --disable-button was given.
5776 if test "${enable_button+set}" = set; then
5777 enableval
="$enable_button"
5779 if test "$enableval" = yes; then
5780 ac_cv_use_button
='wxUSE_BUTTON=yes'
5782 ac_cv_use_button
='wxUSE_BUTTON=no'
5787 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5788 if test "x$LINE" != x
; then
5789 eval "DEFAULT_$LINE"
5794 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5799 eval "$ac_cv_use_button"
5800 if test "$no_cache" != 1; then
5801 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5804 if test "$wxUSE_BUTTON" = yes; then
5805 echo "$ac_t""yes" 1>&6
5807 echo "$ac_t""no" 1>&6
5811 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5812 echo "configure:5813: checking for --enable-bmpbutton" >&5
5814 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5815 if test "${enable_bmpbutton+set}" = set; then
5816 enableval
="$enable_bmpbutton"
5818 if test "$enableval" = yes; then
5819 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5821 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5826 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5827 if test "x$LINE" != x
; then
5828 eval "DEFAULT_$LINE"
5833 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5838 eval "$ac_cv_use_bmpbutton"
5839 if test "$no_cache" != 1; then
5840 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5843 if test "$wxUSE_BMPBUTTON" = yes; then
5844 echo "$ac_t""yes" 1>&6
5846 echo "$ac_t""no" 1>&6
5850 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5851 echo "configure:5852: checking for --enable-calendar" >&5
5853 # Check whether --enable-calendar or --disable-calendar was given.
5854 if test "${enable_calendar+set}" = set; then
5855 enableval
="$enable_calendar"
5857 if test "$enableval" = yes; then
5858 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5860 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5865 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5866 if test "x$LINE" != x
; then
5867 eval "DEFAULT_$LINE"
5872 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5877 eval "$ac_cv_use_calendar"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5882 if test "$wxUSE_CALCTRL" = yes; then
5883 echo "$ac_t""yes" 1>&6
5885 echo "$ac_t""no" 1>&6
5889 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5890 echo "configure:5891: checking for --enable-caret" >&5
5892 # Check whether --enable-caret or --disable-caret was given.
5893 if test "${enable_caret+set}" = set; then
5894 enableval
="$enable_caret"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_caret
='wxUSE_CARET=yes'
5899 ac_cv_use_caret
='wxUSE_CARET=no'
5904 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5916 eval "$ac_cv_use_caret"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_CARET" = yes; then
5922 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5928 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5929 echo "configure:5930: checking for --enable-checkbox" >&5
5931 # Check whether --enable-checkbox or --disable-checkbox was given.
5932 if test "${enable_checkbox+set}" = set; then
5933 enableval
="$enable_checkbox"
5935 if test "$enableval" = yes; then
5936 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5938 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5943 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5944 if test "x$LINE" != x
; then
5945 eval "DEFAULT_$LINE"
5950 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5955 eval "$ac_cv_use_checkbox"
5956 if test "$no_cache" != 1; then
5957 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5960 if test "$wxUSE_CHECKBOX" = yes; then
5961 echo "$ac_t""yes" 1>&6
5963 echo "$ac_t""no" 1>&6
5967 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5968 echo "configure:5969: checking for --enable-checklst" >&5
5970 # Check whether --enable-checklst or --disable-checklst was given.
5971 if test "${enable_checklst+set}" = set; then
5972 enableval
="$enable_checklst"
5974 if test "$enableval" = yes; then
5975 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5977 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5982 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5983 if test "x$LINE" != x
; then
5984 eval "DEFAULT_$LINE"
5989 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5994 eval "$ac_cv_use_checklst"
5995 if test "$no_cache" != 1; then
5996 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5999 if test "$wxUSE_CHECKLST" = yes; then
6000 echo "$ac_t""yes" 1>&6
6002 echo "$ac_t""no" 1>&6
6006 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
6007 echo "configure:6008: checking for --enable-choice" >&5
6009 # Check whether --enable-choice or --disable-choice was given.
6010 if test "${enable_choice+set}" = set; then
6011 enableval
="$enable_choice"
6013 if test "$enableval" = yes; then
6014 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6016 ac_cv_use_choice
='wxUSE_CHOICE=no'
6021 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6022 if test "x$LINE" != x
; then
6023 eval "DEFAULT_$LINE"
6028 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6033 eval "$ac_cv_use_choice"
6034 if test "$no_cache" != 1; then
6035 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6038 if test "$wxUSE_CHOICE" = yes; then
6039 echo "$ac_t""yes" 1>&6
6041 echo "$ac_t""no" 1>&6
6045 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6046 echo "configure:6047: checking for --enable-combobox" >&5
6048 # Check whether --enable-combobox or --disable-combobox was given.
6049 if test "${enable_combobox+set}" = set; then
6050 enableval
="$enable_combobox"
6052 if test "$enableval" = yes; then
6053 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6055 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6060 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x
; then
6062 eval "DEFAULT_$LINE"
6067 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6072 eval "$ac_cv_use_combobox"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6077 if test "$wxUSE_COMBOBOX" = yes; then
6078 echo "$ac_t""yes" 1>&6
6080 echo "$ac_t""no" 1>&6
6084 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6085 echo "configure:6086: checking for --enable-gauge" >&5
6087 # Check whether --enable-gauge or --disable-gauge was given.
6088 if test "${enable_gauge+set}" = set; then
6089 enableval
="$enable_gauge"
6091 if test "$enableval" = yes; then
6092 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6094 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6099 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6100 if test "x$LINE" != x
; then
6101 eval "DEFAULT_$LINE"
6106 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6111 eval "$ac_cv_use_gauge"
6112 if test "$no_cache" != 1; then
6113 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6116 if test "$wxUSE_GAUGE" = yes; then
6117 echo "$ac_t""yes" 1>&6
6119 echo "$ac_t""no" 1>&6
6123 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6124 echo "configure:6125: checking for --enable-grid" >&5
6126 # Check whether --enable-grid or --disable-grid was given.
6127 if test "${enable_grid+set}" = set; then
6128 enableval
="$enable_grid"
6130 if test "$enableval" = yes; then
6131 ac_cv_use_grid
='wxUSE_GRID=yes'
6133 ac_cv_use_grid
='wxUSE_GRID=no'
6138 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x
; then
6140 eval "DEFAULT_$LINE"
6145 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6150 eval "$ac_cv_use_grid"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6155 if test "$wxUSE_GRID" = yes; then
6156 echo "$ac_t""yes" 1>&6
6158 echo "$ac_t""no" 1>&6
6162 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6163 echo "configure:6164: checking for --enable-newgrid" >&5
6165 # Check whether --enable-newgrid or --disable-newgrid was given.
6166 if test "${enable_newgrid+set}" = set; then
6167 enableval
="$enable_newgrid"
6169 if test "$enableval" = yes; then
6170 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6172 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6177 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6178 if test "x$LINE" != x
; then
6179 eval "DEFAULT_$LINE"
6184 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6189 eval "$ac_cv_use_newgrid"
6190 if test "$no_cache" != 1; then
6191 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6194 if test "$wxUSE_NEW_GRID" = yes; then
6195 echo "$ac_t""yes" 1>&6
6197 echo "$ac_t""no" 1>&6
6201 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6202 echo "configure:6203: checking for --enable-imaglist" >&5
6204 # Check whether --enable-imaglist or --disable-imaglist was given.
6205 if test "${enable_imaglist+set}" = set; then
6206 enableval
="$enable_imaglist"
6208 if test "$enableval" = yes; then
6209 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6211 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6216 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x
; then
6218 eval "DEFAULT_$LINE"
6223 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6228 eval "$ac_cv_use_imaglist"
6229 if test "$no_cache" != 1; then
6230 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6233 if test "$wxUSE_IMAGLIST" = yes; then
6234 echo "$ac_t""yes" 1>&6
6236 echo "$ac_t""no" 1>&6
6240 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6241 echo "configure:6242: checking for --enable-listbox" >&5
6243 # Check whether --enable-listbox or --disable-listbox was given.
6244 if test "${enable_listbox+set}" = set; then
6245 enableval
="$enable_listbox"
6247 if test "$enableval" = yes; then
6248 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6250 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6255 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x
; then
6257 eval "DEFAULT_$LINE"
6262 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6267 eval "$ac_cv_use_listbox"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6272 if test "$wxUSE_LISTBOX" = yes; then
6273 echo "$ac_t""yes" 1>&6
6275 echo "$ac_t""no" 1>&6
6279 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6280 echo "configure:6281: checking for --enable-listctrl" >&5
6282 # Check whether --enable-listctrl or --disable-listctrl was given.
6283 if test "${enable_listctrl+set}" = set; then
6284 enableval
="$enable_listctrl"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6289 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6294 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6306 eval "$ac_cv_use_listctrl"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_LISTCTRL" = yes; then
6312 echo "$ac_t""yes" 1>&6
6314 echo "$ac_t""no" 1>&6
6318 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6319 echo "configure:6320: checking for --enable-notebook" >&5
6321 # Check whether --enable-notebook or --disable-notebook was given.
6322 if test "${enable_notebook+set}" = set; then
6323 enableval
="$enable_notebook"
6325 if test "$enableval" = yes; then
6326 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6328 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6333 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x
; then
6335 eval "DEFAULT_$LINE"
6340 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6345 eval "$ac_cv_use_notebook"
6346 if test "$no_cache" != 1; then
6347 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6350 if test "$wxUSE_NOTEBOOK" = yes; then
6351 echo "$ac_t""yes" 1>&6
6353 echo "$ac_t""no" 1>&6
6357 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6358 echo "configure:6359: checking for --enable-propsheet" >&5
6360 # Check whether --enable-propsheet or --disable-propsheet was given.
6361 if test "${enable_propsheet+set}" = set; then
6362 enableval
="$enable_propsheet"
6364 if test "$enableval" = yes; then
6365 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6367 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6372 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6373 if test "x$LINE" != x
; then
6374 eval "DEFAULT_$LINE"
6379 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6384 eval "$ac_cv_use_propsheet"
6385 if test "$no_cache" != 1; then
6386 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6389 if test "$wxUSE_PROPSHEET" = yes; then
6390 echo "$ac_t""yes" 1>&6
6392 echo "$ac_t""no" 1>&6
6396 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6397 echo "configure:6398: checking for --enable-radiobox" >&5
6399 # Check whether --enable-radiobox or --disable-radiobox was given.
6400 if test "${enable_radiobox+set}" = set; then
6401 enableval
="$enable_radiobox"
6403 if test "$enableval" = yes; then
6404 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6406 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6411 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6412 if test "x$LINE" != x
; then
6413 eval "DEFAULT_$LINE"
6418 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6423 eval "$ac_cv_use_radiobox"
6424 if test "$no_cache" != 1; then
6425 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6428 if test "$wxUSE_RADIOBOX" = yes; then
6429 echo "$ac_t""yes" 1>&6
6431 echo "$ac_t""no" 1>&6
6435 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6436 echo "configure:6437: checking for --enable-radiobtn" >&5
6438 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6439 if test "${enable_radiobtn+set}" = set; then
6440 enableval
="$enable_radiobtn"
6442 if test "$enableval" = yes; then
6443 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6445 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6450 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6451 if test "x$LINE" != x
; then
6452 eval "DEFAULT_$LINE"
6457 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6462 eval "$ac_cv_use_radiobtn"
6463 if test "$no_cache" != 1; then
6464 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6467 if test "$wxUSE_RADIOBTN" = yes; then
6468 echo "$ac_t""yes" 1>&6
6470 echo "$ac_t""no" 1>&6
6474 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6475 echo "configure:6476: checking for --enable-sash" >&5
6477 # Check whether --enable-sash or --disable-sash was given.
6478 if test "${enable_sash+set}" = set; then
6479 enableval
="$enable_sash"
6481 if test "$enableval" = yes; then
6482 ac_cv_use_sash
='wxUSE_SASH=yes'
6484 ac_cv_use_sash
='wxUSE_SASH=no'
6489 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6490 if test "x$LINE" != x
; then
6491 eval "DEFAULT_$LINE"
6496 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6501 eval "$ac_cv_use_sash"
6502 if test "$no_cache" != 1; then
6503 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6506 if test "$wxUSE_SASH" = yes; then
6507 echo "$ac_t""yes" 1>&6
6509 echo "$ac_t""no" 1>&6
6513 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6514 echo "configure:6515: checking for --enable-scrollbar" >&5
6516 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6517 if test "${enable_scrollbar+set}" = set; then
6518 enableval
="$enable_scrollbar"
6520 if test "$enableval" = yes; then
6521 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6523 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6528 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6529 if test "x$LINE" != x
; then
6530 eval "DEFAULT_$LINE"
6535 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6540 eval "$ac_cv_use_scrollbar"
6541 if test "$no_cache" != 1; then
6542 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6545 if test "$wxUSE_SCROLLBAR" = yes; then
6546 echo "$ac_t""yes" 1>&6
6548 echo "$ac_t""no" 1>&6
6552 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6553 echo "configure:6554: checking for --enable-slider" >&5
6555 # Check whether --enable-slider or --disable-slider was given.
6556 if test "${enable_slider+set}" = set; then
6557 enableval
="$enable_slider"
6559 if test "$enableval" = yes; then
6560 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6562 ac_cv_use_slider
='wxUSE_SLIDER=no'
6567 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6568 if test "x$LINE" != x
; then
6569 eval "DEFAULT_$LINE"
6574 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6579 eval "$ac_cv_use_slider"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6584 if test "$wxUSE_SLIDER" = yes; then
6585 echo "$ac_t""yes" 1>&6
6587 echo "$ac_t""no" 1>&6
6591 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6592 echo "configure:6593: checking for --enable-spinbtn" >&5
6594 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6595 if test "${enable_spinbtn+set}" = set; then
6596 enableval
="$enable_spinbtn"
6598 if test "$enableval" = yes; then
6599 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6601 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6606 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x
; then
6608 eval "DEFAULT_$LINE"
6613 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6618 eval "$ac_cv_use_spinbtn"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6623 if test "$wxUSE_SPINBTN" = yes; then
6624 echo "$ac_t""yes" 1>&6
6626 echo "$ac_t""no" 1>&6
6630 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6631 echo "configure:6632: checking for --enable-spinctrl" >&5
6633 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6634 if test "${enable_spinctrl+set}" = set; then
6635 enableval
="$enable_spinctrl"
6637 if test "$enableval" = yes; then
6638 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6640 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6645 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x
; then
6647 eval "DEFAULT_$LINE"
6652 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6657 eval "$ac_cv_use_spinctrl"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6662 if test "$wxUSE_SPINCTRL" = yes; then
6663 echo "$ac_t""yes" 1>&6
6665 echo "$ac_t""no" 1>&6
6669 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6670 echo "configure:6671: checking for --enable-splitter" >&5
6672 # Check whether --enable-splitter or --disable-splitter was given.
6673 if test "${enable_splitter+set}" = set; then
6674 enableval
="$enable_splitter"
6676 if test "$enableval" = yes; then
6677 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6679 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6684 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x
; then
6686 eval "DEFAULT_$LINE"
6691 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6696 eval "$ac_cv_use_splitter"
6697 if test "$no_cache" != 1; then
6698 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6701 if test "$wxUSE_SPLITTER" = yes; then
6702 echo "$ac_t""yes" 1>&6
6704 echo "$ac_t""no" 1>&6
6708 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6709 echo "configure:6710: checking for --enable-statbmp" >&5
6711 # Check whether --enable-statbmp or --disable-statbmp was given.
6712 if test "${enable_statbmp+set}" = set; then
6713 enableval
="$enable_statbmp"
6715 if test "$enableval" = yes; then
6716 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6718 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6723 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6724 if test "x$LINE" != x
; then
6725 eval "DEFAULT_$LINE"
6730 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6735 eval "$ac_cv_use_statbmp"
6736 if test "$no_cache" != 1; then
6737 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6740 if test "$wxUSE_STATBMP" = yes; then
6741 echo "$ac_t""yes" 1>&6
6743 echo "$ac_t""no" 1>&6
6747 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6748 echo "configure:6749: checking for --enable-statbox" >&5
6750 # Check whether --enable-statbox or --disable-statbox was given.
6751 if test "${enable_statbox+set}" = set; then
6752 enableval
="$enable_statbox"
6754 if test "$enableval" = yes; then
6755 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6757 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6762 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6763 if test "x$LINE" != x
; then
6764 eval "DEFAULT_$LINE"
6769 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6774 eval "$ac_cv_use_statbox"
6775 if test "$no_cache" != 1; then
6776 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6779 if test "$wxUSE_STATBOX" = yes; then
6780 echo "$ac_t""yes" 1>&6
6782 echo "$ac_t""no" 1>&6
6786 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6787 echo "configure:6788: checking for --enable-statline" >&5
6789 # Check whether --enable-statline or --disable-statline was given.
6790 if test "${enable_statline+set}" = set; then
6791 enableval
="$enable_statline"
6793 if test "$enableval" = yes; then
6794 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6796 ac_cv_use_statline
='wxUSE_STATLINE=no'
6801 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x
; then
6803 eval "DEFAULT_$LINE"
6808 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6813 eval "$ac_cv_use_statline"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6818 if test "$wxUSE_STATLINE" = yes; then
6819 echo "$ac_t""yes" 1>&6
6821 echo "$ac_t""no" 1>&6
6825 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6826 echo "configure:6827: checking for --enable-stattext" >&5
6828 # Check whether --enable-stattext or --disable-stattext was given.
6829 if test "${enable_stattext+set}" = set; then
6830 enableval
="$enable_stattext"
6832 if test "$enableval" = yes; then
6833 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6835 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6840 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x
; then
6842 eval "DEFAULT_$LINE"
6847 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6852 eval "$ac_cv_use_stattext"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6857 if test "$wxUSE_STATTEXT" = yes; then
6858 echo "$ac_t""yes" 1>&6
6860 echo "$ac_t""no" 1>&6
6864 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6865 echo "configure:6866: checking for --enable-statusbar" >&5
6867 # Check whether --enable-statusbar or --disable-statusbar was given.
6868 if test "${enable_statusbar+set}" = set; then
6869 enableval
="$enable_statusbar"
6871 if test "$enableval" = yes; then
6872 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6874 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6879 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x
; then
6881 eval "DEFAULT_$LINE"
6886 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6891 eval "$ac_cv_use_statusbar"
6892 if test "$no_cache" != 1; then
6893 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6896 if test "$wxUSE_STATUSBAR" = yes; then
6897 echo "$ac_t""yes" 1>&6
6899 echo "$ac_t""no" 1>&6
6903 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6904 echo "configure:6905: checking for --enable-tabdialog" >&5
6906 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6907 if test "${enable_tabdialog+set}" = set; then
6908 enableval
="$enable_tabdialog"
6910 if test "$enableval" = yes; then
6911 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6913 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6918 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x
; then
6920 eval "DEFAULT_$LINE"
6925 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6930 eval "$ac_cv_use_tabdialog"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6935 if test "$wxUSE_TABDIALOG" = yes; then
6936 echo "$ac_t""yes" 1>&6
6938 echo "$ac_t""no" 1>&6
6942 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6943 echo "configure:6944: checking for --enable-textctrl" >&5
6945 # Check whether --enable-textctrl or --disable-textctrl was given.
6946 if test "${enable_textctrl+set}" = set; then
6947 enableval
="$enable_textctrl"
6949 if test "$enableval" = yes; then
6950 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6952 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6957 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6958 if test "x$LINE" != x
; then
6959 eval "DEFAULT_$LINE"
6964 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6969 eval "$ac_cv_use_textctrl"
6970 if test "$no_cache" != 1; then
6971 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6974 if test "$wxUSE_TEXTCTRL" = yes; then
6975 echo "$ac_t""yes" 1>&6
6977 echo "$ac_t""no" 1>&6
6981 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6982 echo "configure:6983: checking for --enable-togglebtn" >&5
6984 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6985 if test "${enable_togglebtn+set}" = set; then
6986 enableval
="$enable_togglebtn"
6988 if test "$enableval" = yes; then
6989 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6991 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6996 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6997 if test "x$LINE" != x
; then
6998 eval "DEFAULT_$LINE"
7003 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7008 eval "$ac_cv_use_togglebtn"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7013 if test "$wxUSE_TOGGLEBTN" = yes; then
7014 echo "$ac_t""yes" 1>&6
7016 echo "$ac_t""no" 1>&6
7020 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
7021 echo "configure:7022: checking for --enable-toolbar" >&5
7023 # Check whether --enable-toolbar or --disable-toolbar was given.
7024 if test "${enable_toolbar+set}" = set; then
7025 enableval
="$enable_toolbar"
7027 if test "$enableval" = yes; then
7028 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7030 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7035 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7036 if test "x$LINE" != x
; then
7037 eval "DEFAULT_$LINE"
7042 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7047 eval "$ac_cv_use_toolbar"
7048 if test "$no_cache" != 1; then
7049 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7052 if test "$wxUSE_TOOLBAR" = yes; then
7053 echo "$ac_t""yes" 1>&6
7055 echo "$ac_t""no" 1>&6
7059 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7060 echo "configure:7061: checking for --enable-tbarnative" >&5
7062 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7063 if test "${enable_tbarnative+set}" = set; then
7064 enableval
="$enable_tbarnative"
7066 if test "$enableval" = yes; then
7067 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7069 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7074 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7075 if test "x$LINE" != x
; then
7076 eval "DEFAULT_$LINE"
7081 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7086 eval "$ac_cv_use_tbarnative"
7087 if test "$no_cache" != 1; then
7088 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7091 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7092 echo "$ac_t""yes" 1>&6
7094 echo "$ac_t""no" 1>&6
7098 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7099 echo "configure:7100: checking for --enable-tbarsmpl" >&5
7101 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7102 if test "${enable_tbarsmpl+set}" = set; then
7103 enableval
="$enable_tbarsmpl"
7105 if test "$enableval" = yes; then
7106 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7108 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7113 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7114 if test "x$LINE" != x
; then
7115 eval "DEFAULT_$LINE"
7120 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7125 eval "$ac_cv_use_tbarsmpl"
7126 if test "$no_cache" != 1; then
7127 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7130 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7131 echo "$ac_t""yes" 1>&6
7133 echo "$ac_t""no" 1>&6
7137 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7138 echo "configure:7139: checking for --enable-treectrl" >&5
7140 # Check whether --enable-treectrl or --disable-treectrl was given.
7141 if test "${enable_treectrl+set}" = set; then
7142 enableval
="$enable_treectrl"
7144 if test "$enableval" = yes; then
7145 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7147 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7152 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7153 if test "x$LINE" != x
; then
7154 eval "DEFAULT_$LINE"
7159 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7164 eval "$ac_cv_use_treectrl"
7165 if test "$no_cache" != 1; then
7166 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7169 if test "$wxUSE_TREECTRL" = yes; then
7170 echo "$ac_t""yes" 1>&6
7172 echo "$ac_t""no" 1>&6
7176 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7177 echo "configure:7178: checking for --enable-tipwindow" >&5
7179 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7180 if test "${enable_tipwindow+set}" = set; then
7181 enableval
="$enable_tipwindow"
7183 if test "$enableval" = yes; then
7184 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7186 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7191 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x
; then
7193 eval "DEFAULT_$LINE"
7198 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7203 eval "$ac_cv_use_tipwindow"
7204 if test "$no_cache" != 1; then
7205 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7208 if test "$wxUSE_TIPWINDOW" = yes; then
7209 echo "$ac_t""yes" 1>&6
7211 echo "$ac_t""no" 1>&6
7215 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7216 echo "configure:7217: checking for --enable-popupwin" >&5
7218 # Check whether --enable-popupwin or --disable-popupwin was given.
7219 if test "${enable_popupwin+set}" = set; then
7220 enableval
="$enable_popupwin"
7222 if test "$enableval" = yes; then
7223 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7225 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7230 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7231 if test "x$LINE" != x
; then
7232 eval "DEFAULT_$LINE"
7237 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7242 eval "$ac_cv_use_popupwin"
7243 if test "$no_cache" != 1; then
7244 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7247 if test "$wxUSE_POPUPWIN" = yes; then
7248 echo "$ac_t""yes" 1>&6
7250 echo "$ac_t""no" 1>&6
7256 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7257 echo "configure:7258: checking for --enable-commondlg" >&5
7259 # Check whether --enable-commondlg or --disable-commondlg was given.
7260 if test "${enable_commondlg+set}" = set; then
7261 enableval
="$enable_commondlg"
7263 if test "$enableval" = yes; then
7264 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7266 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7271 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x
; then
7273 eval "DEFAULT_$LINE"
7278 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7283 eval "$ac_cv_use_commondlg"
7284 if test "$no_cache" != 1; then
7285 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7288 if test "$wxUSE_COMMONDLGS" = yes; then
7289 echo "$ac_t""yes" 1>&6
7291 echo "$ac_t""no" 1>&6
7295 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7296 echo "configure:7297: checking for --enable-choicedlg" >&5
7298 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7299 if test "${enable_choicedlg+set}" = set; then
7300 enableval
="$enable_choicedlg"
7302 if test "$enableval" = yes; then
7303 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7305 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7310 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7311 if test "x$LINE" != x
; then
7312 eval "DEFAULT_$LINE"
7317 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7322 eval "$ac_cv_use_choicedlg"
7323 if test "$no_cache" != 1; then
7324 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7327 if test "$wxUSE_CHOICEDLG" = yes; then
7328 echo "$ac_t""yes" 1>&6
7330 echo "$ac_t""no" 1>&6
7334 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7335 echo "configure:7336: checking for --enable-coldlg" >&5
7337 # Check whether --enable-coldlg or --disable-coldlg was given.
7338 if test "${enable_coldlg+set}" = set; then
7339 enableval
="$enable_coldlg"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7344 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7349 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7361 eval "$ac_cv_use_coldlg"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_COLOURDLG" = yes; then
7367 echo "$ac_t""yes" 1>&6
7369 echo "$ac_t""no" 1>&6
7373 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7374 echo "configure:7375: checking for --enable-filedlg" >&5
7376 # Check whether --enable-filedlg or --disable-filedlg was given.
7377 if test "${enable_filedlg+set}" = set; then
7378 enableval
="$enable_filedlg"
7380 if test "$enableval" = yes; then
7381 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7383 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7388 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x
; then
7390 eval "DEFAULT_$LINE"
7395 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7400 eval "$ac_cv_use_filedlg"
7401 if test "$no_cache" != 1; then
7402 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7405 if test "$wxUSE_FILEDLG" = yes; then
7406 echo "$ac_t""yes" 1>&6
7408 echo "$ac_t""no" 1>&6
7412 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7413 echo "configure:7414: checking for --enable-finddlg" >&5
7415 # Check whether --enable-finddlg or --disable-finddlg was given.
7416 if test "${enable_finddlg+set}" = set; then
7417 enableval
="$enable_finddlg"
7419 if test "$enableval" = yes; then
7420 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7422 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7427 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7428 if test "x$LINE" != x
; then
7429 eval "DEFAULT_$LINE"
7434 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7439 eval "$ac_cv_use_finddlg"
7440 if test "$no_cache" != 1; then
7441 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7444 if test "$wxUSE_FINDREPLDLG" = yes; then
7445 echo "$ac_t""yes" 1>&6
7447 echo "$ac_t""no" 1>&6
7451 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7452 echo "configure:7453: checking for --enable-fontdlg" >&5
7454 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7455 if test "${enable_fontdlg+set}" = set; then
7456 enableval
="$enable_fontdlg"
7458 if test "$enableval" = yes; then
7459 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7461 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7466 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7467 if test "x$LINE" != x
; then
7468 eval "DEFAULT_$LINE"
7473 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7478 eval "$ac_cv_use_fontdlg"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7483 if test "$wxUSE_FONTDLG" = yes; then
7484 echo "$ac_t""yes" 1>&6
7486 echo "$ac_t""no" 1>&6
7490 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7491 echo "configure:7492: checking for --enable-dirdlg" >&5
7493 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7494 if test "${enable_dirdlg+set}" = set; then
7495 enableval
="$enable_dirdlg"
7497 if test "$enableval" = yes; then
7498 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7500 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7505 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7506 if test "x$LINE" != x
; then
7507 eval "DEFAULT_$LINE"
7512 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7517 eval "$ac_cv_use_dirdlg"
7518 if test "$no_cache" != 1; then
7519 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7522 if test "$wxUSE_DIRDLG" = yes; then
7523 echo "$ac_t""yes" 1>&6
7525 echo "$ac_t""no" 1>&6
7529 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7530 echo "configure:7531: checking for --enable-msgdlg" >&5
7532 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7533 if test "${enable_msgdlg+set}" = set; then
7534 enableval
="$enable_msgdlg"
7536 if test "$enableval" = yes; then
7537 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7539 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7544 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7545 if test "x$LINE" != x
; then
7546 eval "DEFAULT_$LINE"
7551 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7556 eval "$ac_cv_use_msgdlg"
7557 if test "$no_cache" != 1; then
7558 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7561 if test "$wxUSE_MSGDLG" = yes; then
7562 echo "$ac_t""yes" 1>&6
7564 echo "$ac_t""no" 1>&6
7568 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7569 echo "configure:7570: checking for --enable-numberdlg" >&5
7571 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7572 if test "${enable_numberdlg+set}" = set; then
7573 enableval
="$enable_numberdlg"
7575 if test "$enableval" = yes; then
7576 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7578 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7583 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7584 if test "x$LINE" != x
; then
7585 eval "DEFAULT_$LINE"
7590 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7595 eval "$ac_cv_use_numberdlg"
7596 if test "$no_cache" != 1; then
7597 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7600 if test "$wxUSE_NUMBERDLG" = yes; then
7601 echo "$ac_t""yes" 1>&6
7603 echo "$ac_t""no" 1>&6
7607 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7608 echo "configure:7609: checking for --enable-splash" >&5
7610 # Check whether --enable-splash or --disable-splash was given.
7611 if test "${enable_splash+set}" = set; then
7612 enableval
="$enable_splash"
7614 if test "$enableval" = yes; then
7615 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7617 ac_cv_use_splash
='wxUSE_SPLASH=no'
7622 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7623 if test "x$LINE" != x
; then
7624 eval "DEFAULT_$LINE"
7629 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7634 eval "$ac_cv_use_splash"
7635 if test "$no_cache" != 1; then
7636 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7639 if test "$wxUSE_SPLASH" = yes; then
7640 echo "$ac_t""yes" 1>&6
7642 echo "$ac_t""no" 1>&6
7646 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7647 echo "configure:7648: checking for --enable-textdlg" >&5
7649 # Check whether --enable-textdlg or --disable-textdlg was given.
7650 if test "${enable_textdlg+set}" = set; then
7651 enableval
="$enable_textdlg"
7653 if test "$enableval" = yes; then
7654 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7656 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7661 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7662 if test "x$LINE" != x
; then
7663 eval "DEFAULT_$LINE"
7668 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7673 eval "$ac_cv_use_textdlg"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7678 if test "$wxUSE_TEXTDLG" = yes; then
7679 echo "$ac_t""yes" 1>&6
7681 echo "$ac_t""no" 1>&6
7685 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7686 echo "configure:7687: checking for --enable-tipdlg" >&5
7688 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7689 if test "${enable_tipdlg+set}" = set; then
7690 enableval
="$enable_tipdlg"
7692 if test "$enableval" = yes; then
7693 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7695 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7700 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7701 if test "x$LINE" != x
; then
7702 eval "DEFAULT_$LINE"
7707 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7712 eval "$ac_cv_use_tipdlg"
7713 if test "$no_cache" != 1; then
7714 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7717 if test "$wxUSE_STARTUP_TIPS" = yes; then
7718 echo "$ac_t""yes" 1>&6
7720 echo "$ac_t""no" 1>&6
7724 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7725 echo "configure:7726: checking for --enable-progressdlg" >&5
7727 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7728 if test "${enable_progressdlg+set}" = set; then
7729 enableval
="$enable_progressdlg"
7731 if test "$enableval" = yes; then
7732 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7734 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7739 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7740 if test "x$LINE" != x
; then
7741 eval "DEFAULT_$LINE"
7746 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7751 eval "$ac_cv_use_progressdlg"
7752 if test "$no_cache" != 1; then
7753 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7756 if test "$wxUSE_PROGRESSDLG" = yes; then
7757 echo "$ac_t""yes" 1>&6
7759 echo "$ac_t""no" 1>&6
7763 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7764 echo "configure:7765: checking for --enable-wizarddlg" >&5
7766 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7767 if test "${enable_wizarddlg+set}" = set; then
7768 enableval
="$enable_wizarddlg"
7770 if test "$enableval" = yes; then
7771 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7773 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7778 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7779 if test "x$LINE" != x
; then
7780 eval "DEFAULT_$LINE"
7785 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7790 eval "$ac_cv_use_wizarddlg"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7795 if test "$wxUSE_WIZARDDLG" = yes; then
7796 echo "$ac_t""yes" 1>&6
7798 echo "$ac_t""no" 1>&6
7804 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7805 echo "configure:7806: checking for --enable-menus" >&5
7807 # Check whether --enable-menus or --disable-menus was given.
7808 if test "${enable_menus+set}" = set; then
7809 enableval
="$enable_menus"
7811 if test "$enableval" = yes; then
7812 ac_cv_use_menus
='wxUSE_MENUS=yes'
7814 ac_cv_use_menus
='wxUSE_MENUS=no'
7819 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7820 if test "x$LINE" != x
; then
7821 eval "DEFAULT_$LINE"
7826 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7831 eval "$ac_cv_use_menus"
7832 if test "$no_cache" != 1; then
7833 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7836 if test "$wxUSE_MENUS" = yes; then
7837 echo "$ac_t""yes" 1>&6
7839 echo "$ac_t""no" 1>&6
7843 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7844 echo "configure:7845: checking for --enable-miniframe" >&5
7846 # Check whether --enable-miniframe or --disable-miniframe was given.
7847 if test "${enable_miniframe+set}" = set; then
7848 enableval
="$enable_miniframe"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7853 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7858 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x
; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7870 eval "$ac_cv_use_miniframe"
7871 if test "$no_cache" != 1; then
7872 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7875 if test "$wxUSE_MINIFRAME" = yes; then
7876 echo "$ac_t""yes" 1>&6
7878 echo "$ac_t""no" 1>&6
7882 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7883 echo "configure:7884: checking for --enable-tooltips" >&5
7885 # Check whether --enable-tooltips or --disable-tooltips was given.
7886 if test "${enable_tooltips+set}" = set; then
7887 enableval
="$enable_tooltips"
7889 if test "$enableval" = yes; then
7890 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7892 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7897 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x
; then
7899 eval "DEFAULT_$LINE"
7904 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7909 eval "$ac_cv_use_tooltips"
7910 if test "$no_cache" != 1; then
7911 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7914 if test "$wxUSE_TOOLTIPS" = yes; then
7915 echo "$ac_t""yes" 1>&6
7917 echo "$ac_t""no" 1>&6
7921 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7922 echo "configure:7923: checking for --enable-splines" >&5
7924 # Check whether --enable-splines or --disable-splines was given.
7925 if test "${enable_splines+set}" = set; then
7926 enableval
="$enable_splines"
7928 if test "$enableval" = yes; then
7929 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7931 ac_cv_use_splines
='wxUSE_SPLINES=no'
7936 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7937 if test "x$LINE" != x
; then
7938 eval "DEFAULT_$LINE"
7943 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7948 eval "$ac_cv_use_splines"
7949 if test "$no_cache" != 1; then
7950 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7953 if test "$wxUSE_SPLINES" = yes; then
7954 echo "$ac_t""yes" 1>&6
7956 echo "$ac_t""no" 1>&6
7960 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7961 echo "configure:7962: checking for --enable-validators" >&5
7963 # Check whether --enable-validators or --disable-validators was given.
7964 if test "${enable_validators+set}" = set; then
7965 enableval
="$enable_validators"
7967 if test "$enableval" = yes; then
7968 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7970 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7975 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7976 if test "x$LINE" != x
; then
7977 eval "DEFAULT_$LINE"
7982 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7987 eval "$ac_cv_use_validators"
7988 if test "$no_cache" != 1; then
7989 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7992 if test "$wxUSE_VALIDATORS" = yes; then
7993 echo "$ac_t""yes" 1>&6
7995 echo "$ac_t""no" 1>&6
7999 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
8000 echo "configure:8001: checking for --enable-busyinfo" >&5
8002 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8003 if test "${enable_busyinfo+set}" = set; then
8004 enableval
="$enable_busyinfo"
8006 if test "$enableval" = yes; then
8007 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8009 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8014 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x
; then
8016 eval "DEFAULT_$LINE"
8021 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8026 eval "$ac_cv_use_busyinfo"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8031 if test "$wxUSE_BUSYINFO" = yes; then
8032 echo "$ac_t""yes" 1>&6
8034 echo "$ac_t""no" 1>&6
8038 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8039 echo "configure:8040: checking for --enable-joystick" >&5
8041 # Check whether --enable-joystick or --disable-joystick was given.
8042 if test "${enable_joystick+set}" = set; then
8043 enableval
="$enable_joystick"
8045 if test "$enableval" = yes; then
8046 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8048 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8053 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8054 if test "x$LINE" != x
; then
8055 eval "DEFAULT_$LINE"
8060 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8065 eval "$ac_cv_use_joystick"
8066 if test "$no_cache" != 1; then
8067 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8070 if test "$wxUSE_JOYSTICK" = yes; then
8071 echo "$ac_t""yes" 1>&6
8073 echo "$ac_t""no" 1>&6
8077 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8078 echo "configure:8079: checking for --enable-metafile" >&5
8080 # Check whether --enable-metafile or --disable-metafile was given.
8081 if test "${enable_metafile+set}" = set; then
8082 enableval
="$enable_metafile"
8084 if test "$enableval" = yes; then
8085 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8087 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8092 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8093 if test "x$LINE" != x
; then
8094 eval "DEFAULT_$LINE"
8099 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8104 eval "$ac_cv_use_metafile"
8105 if test "$no_cache" != 1; then
8106 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8109 if test "$wxUSE_METAFILE" = yes; then
8110 echo "$ac_t""yes" 1>&6
8112 echo "$ac_t""no" 1>&6
8116 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8117 echo "configure:8118: checking for --enable-dragimage" >&5
8119 # Check whether --enable-dragimage or --disable-dragimage was given.
8120 if test "${enable_dragimage+set}" = set; then
8121 enableval
="$enable_dragimage"
8123 if test "$enableval" = yes; then
8124 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8126 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8131 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8132 if test "x$LINE" != x
; then
8133 eval "DEFAULT_$LINE"
8138 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8143 eval "$ac_cv_use_dragimage"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8148 if test "$wxUSE_DRAGIMAGE" = yes; then
8149 echo "$ac_t""yes" 1>&6
8151 echo "$ac_t""no" 1>&6
8157 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8158 echo "configure:8159: checking for --enable-palette" >&5
8160 # Check whether --enable-palette or --disable-palette was given.
8161 if test "${enable_palette+set}" = set; then
8162 enableval
="$enable_palette"
8164 if test "$enableval" = yes; then
8165 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8167 ac_cv_use_palette
='wxUSE_PALETTE=no'
8172 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8173 if test "x$LINE" != x
; then
8174 eval "DEFAULT_$LINE"
8179 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8184 eval "$ac_cv_use_palette"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8189 if test "$wxUSE_PALETTE" = yes; then
8190 echo "$ac_t""yes" 1>&6
8192 echo "$ac_t""no" 1>&6
8196 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8197 echo "configure:8198: checking for --enable-image" >&5
8199 # Check whether --enable-image or --disable-image was given.
8200 if test "${enable_image+set}" = set; then
8201 enableval
="$enable_image"
8203 if test "$enableval" = yes; then
8204 ac_cv_use_image
='wxUSE_IMAGE=yes'
8206 ac_cv_use_image
='wxUSE_IMAGE=no'
8211 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8212 if test "x$LINE" != x
; then
8213 eval "DEFAULT_$LINE"
8218 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8223 eval "$ac_cv_use_image"
8224 if test "$no_cache" != 1; then
8225 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8228 if test "$wxUSE_IMAGE" = yes; then
8229 echo "$ac_t""yes" 1>&6
8231 echo "$ac_t""no" 1>&6
8235 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8236 echo "configure:8237: checking for --enable-gif" >&5
8238 # Check whether --enable-gif or --disable-gif was given.
8239 if test "${enable_gif+set}" = set; then
8240 enableval
="$enable_gif"
8242 if test "$enableval" = yes; then
8243 ac_cv_use_gif
='wxUSE_GIF=yes'
8245 ac_cv_use_gif
='wxUSE_GIF=no'
8250 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x
; then
8252 eval "DEFAULT_$LINE"
8257 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8262 eval "$ac_cv_use_gif"
8263 if test "$no_cache" != 1; then
8264 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8267 if test "$wxUSE_GIF" = yes; then
8268 echo "$ac_t""yes" 1>&6
8270 echo "$ac_t""no" 1>&6
8274 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8275 echo "configure:8276: checking for --enable-pcx" >&5
8277 # Check whether --enable-pcx or --disable-pcx was given.
8278 if test "${enable_pcx+set}" = set; then
8279 enableval
="$enable_pcx"
8281 if test "$enableval" = yes; then
8282 ac_cv_use_pcx
='wxUSE_PCX=yes'
8284 ac_cv_use_pcx
='wxUSE_PCX=no'
8289 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8290 if test "x$LINE" != x
; then
8291 eval "DEFAULT_$LINE"
8296 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8301 eval "$ac_cv_use_pcx"
8302 if test "$no_cache" != 1; then
8303 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8306 if test "$wxUSE_PCX" = yes; then
8307 echo "$ac_t""yes" 1>&6
8309 echo "$ac_t""no" 1>&6
8313 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8314 echo "configure:8315: checking for --enable-iff" >&5
8316 # Check whether --enable-iff or --disable-iff was given.
8317 if test "${enable_iff+set}" = set; then
8318 enableval
="$enable_iff"
8320 if test "$enableval" = yes; then
8321 ac_cv_use_iff
='wxUSE_IFF=yes'
8323 ac_cv_use_iff
='wxUSE_IFF=no'
8328 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8329 if test "x$LINE" != x
; then
8330 eval "DEFAULT_$LINE"
8335 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8340 eval "$ac_cv_use_iff"
8341 if test "$no_cache" != 1; then
8342 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8345 if test "$wxUSE_IFF" = yes; then
8346 echo "$ac_t""yes" 1>&6
8348 echo "$ac_t""no" 1>&6
8352 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8353 echo "configure:8354: checking for --enable-pnm" >&5
8355 # Check whether --enable-pnm or --disable-pnm was given.
8356 if test "${enable_pnm+set}" = set; then
8357 enableval
="$enable_pnm"
8359 if test "$enableval" = yes; then
8360 ac_cv_use_pnm
='wxUSE_PNM=yes'
8362 ac_cv_use_pnm
='wxUSE_PNM=no'
8367 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8368 if test "x$LINE" != x
; then
8369 eval "DEFAULT_$LINE"
8374 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8379 eval "$ac_cv_use_pnm"
8380 if test "$no_cache" != 1; then
8381 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8384 if test "$wxUSE_PNM" = yes; then
8385 echo "$ac_t""yes" 1>&6
8387 echo "$ac_t""no" 1>&6
8391 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8392 echo "configure:8393: checking for --enable-xpm" >&5
8394 # Check whether --enable-xpm or --disable-xpm was given.
8395 if test "${enable_xpm+set}" = set; then
8396 enableval
="$enable_xpm"
8398 if test "$enableval" = yes; then
8399 ac_cv_use_xpm
='wxUSE_XPM=yes'
8401 ac_cv_use_xpm
='wxUSE_XPM=no'
8406 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8407 if test "x$LINE" != x
; then
8408 eval "DEFAULT_$LINE"
8413 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8418 eval "$ac_cv_use_xpm"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8423 if test "$wxUSE_XPM" = yes; then
8424 echo "$ac_t""yes" 1>&6
8426 echo "$ac_t""no" 1>&6
8430 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8431 echo "configure:8432: checking for --enable-ico_cur" >&5
8433 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8434 if test "${enable_ico_cur+set}" = set; then
8435 enableval
="$enable_ico_cur"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8440 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8445 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x
; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8457 eval "$ac_cv_use_ico_cur"
8458 if test "$no_cache" != 1; then
8459 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8462 if test "$wxUSE_ICO_CUR" = yes; then
8463 echo "$ac_t""yes" 1>&6
8465 echo "$ac_t""no" 1>&6
8472 *-pc-os2_emx | *-pc-os2-emx )
8483 echo "saving argument cache $wx_arg_cache_file"
8484 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8488 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8489 echo "configure:8490: checking for toolkit" >&5
8491 if test "$wxUSE_GUI" = "yes"; then
8493 if test "$USE_BEOS" = 1; then
8494 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8497 if test "$TOOLKIT_GIVEN" = 1; then
8498 for toolkit
in `echo $ALL_TOOLKITS`; do
8500 eval "value=\$${var}"
8501 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8504 for toolkit
in `echo $ALL_TOOLKITS`; do
8505 if test "$has_toolkit_in_cache" != 1; then
8506 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8508 var
=DEFAULT_wxUSE_
$toolkit
8510 eval "wxUSE_$toolkit=\$${var}"
8514 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8515 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8518 *-pc-os2_emx | *-pc-os2-emx )
8519 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8522 case "$NUM_TOOLKITS" in
8526 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8529 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8532 for toolkit
in `echo $ALL_TOOLKITS`; do
8534 eval "value=\$${var}"
8535 if test "x$value" != x
; then
8536 cache_var
=CACHE_
$toolkit
8537 eval "cache=\$${cache_var}"
8538 if test "$cache" = 1; then
8539 echo "$var=$value" >> ${wx_arg_cache_file}
8541 if test "$value" = 1; then
8542 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8543 echo "$ac_t""$toolkit_echo" 1>&6
8548 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8552 cat > confcache
<<\EOF
8553 # This file is a shell script that caches the results of configure
8554 # tests run on this system so they can be shared between configure
8555 # scripts and configure runs. It is not useful on other systems.
8556 # If it contains results you don't want to keep, you may remove or edit it.
8558 # By default, configure uses ./config.cache as the cache file,
8559 # creating it if it does not exist already. You can give configure
8560 # the --cache-file=FILE option to use a different cache file; that is
8561 # what configure does when it calls configure scripts in
8562 # subdirectories, so they share the cache.
8563 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8564 # config.status only pays attention to the cache file if you give it the
8565 # --recheck option to rerun configure.
8568 # The following way of writing the cache mishandles newlines in values,
8569 # but we know of no workaround that is simple, portable, and efficient.
8570 # So, don't put newlines in cache variables' values.
8571 # Ultrix sh set writes to stderr and can't be redirected directly,
8572 # and sets the high bit in the cache file unless we assign to the vars.
8574 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8576 # `set' does not quote correctly, so add quotes (double-quote substitution
8577 # turns \\\\ into \\, and sed turns \\ into \).
8579 -e "s/'/'\\\\''/g" \
8580 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8583 # `set' quotes correctly as required by POSIX, so do not add quotes.
8584 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8587 if cmp -s $cache_file confcache
; then
8590 if test -w $cache_file; then
8591 echo "updating cache $cache_file"
8592 cat confcache
> $cache_file
8594 echo "not updating unwritable cache $cache_file"
8600 if test "$build" != "$host" ; then
8601 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8605 RANLIB
=$host_alias-ranlib
8606 DLLTOOL
=$host_alias-dlltool
8607 RESCOMP
=$host_alias-windres
8610 STRIP
=$host_alias-strip
8612 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8616 # Extract the first word of "gcc", so it can be a program name with args.
8617 set dummy gcc
; ac_word
=$2
8618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8619 echo "configure:8620: checking for $ac_word" >&5
8620 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8621 echo $ac_n "(cached) $ac_c" 1>&6
8623 if test -n "$CC"; then
8624 ac_cv_prog_CC
="$CC" # Let the user override the test.
8626 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8628 for ac_dir
in $ac_dummy; do
8629 test -z "$ac_dir" && ac_dir
=.
8630 if test -f $ac_dir/$ac_word; then
8639 if test -n "$CC"; then
8640 echo "$ac_t""$CC" 1>&6
8642 echo "$ac_t""no" 1>&6
8645 if test -z "$CC"; then
8646 # Extract the first word of "cc", so it can be a program name with args.
8647 set dummy cc
; ac_word
=$2
8648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8649 echo "configure:8650: checking for $ac_word" >&5
8650 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8651 echo $ac_n "(cached) $ac_c" 1>&6
8653 if test -n "$CC"; then
8654 ac_cv_prog_CC
="$CC" # Let the user override the test.
8656 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8659 for ac_dir
in $ac_dummy; do
8660 test -z "$ac_dir" && ac_dir
=.
8661 if test -f $ac_dir/$ac_word; then
8662 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8663 ac_prog_rejected
=yes
8671 if test $ac_prog_rejected = yes; then
8672 # We found a bogon in the path, so make sure we never use it.
8673 set dummy
$ac_cv_prog_CC
8675 if test $# -gt 0; then
8676 # We chose a different compiler from the bogus one.
8677 # However, it has the same basename, so the bogon will be chosen
8678 # first if we set CC to just the basename; use the full file name.
8680 set dummy
"$ac_dir/$ac_word" "$@"
8688 if test -n "$CC"; then
8689 echo "$ac_t""$CC" 1>&6
8691 echo "$ac_t""no" 1>&6
8694 if test -z "$CC"; then
8695 case "`uname -s`" in
8697 # Extract the first word of "cl", so it can be a program name with args.
8698 set dummy cl
; ac_word
=$2
8699 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8700 echo "configure:8701: checking for $ac_word" >&5
8701 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8702 echo $ac_n "(cached) $ac_c" 1>&6
8704 if test -n "$CC"; then
8705 ac_cv_prog_CC
="$CC" # Let the user override the test.
8707 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8709 for ac_dir
in $ac_dummy; do
8710 test -z "$ac_dir" && ac_dir
=.
8711 if test -f $ac_dir/$ac_word; then
8720 if test -n "$CC"; then
8721 echo "$ac_t""$CC" 1>&6
8723 echo "$ac_t""no" 1>&6
8728 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8731 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8732 echo "configure:8733: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8736 ac_cpp
='$CPP $CPPFLAGS'
8737 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8738 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8739 cross_compiling
=$ac_cv_prog_cc_cross
8741 cat > conftest.
$ac_ext << EOF
8743 #line 8744 "configure"
8744 #include "confdefs.h"
8748 if { (eval echo configure
:8749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8749 ac_cv_prog_cc_works
=yes
8750 # If we can't run a trivial program, we are probably using a cross compiler.
8751 if (.
/conftest
; exit) 2>/dev
/null
; then
8752 ac_cv_prog_cc_cross
=no
8754 ac_cv_prog_cc_cross
=yes
8757 echo "configure: failed program was:" >&5
8758 cat conftest.
$ac_ext >&5
8759 ac_cv_prog_cc_works
=no
8763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8764 ac_cpp
='$CPP $CPPFLAGS'
8765 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8766 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8767 cross_compiling
=$ac_cv_prog_cc_cross
8769 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8770 if test $ac_cv_prog_cc_works = no
; then
8771 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8773 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8774 echo "configure:8775: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8775 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8776 cross_compiling
=$ac_cv_prog_cc_cross
8778 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8779 echo "configure:8780: checking whether we are using GNU C" >&5
8780 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8781 echo $ac_n "(cached) $ac_c" 1>&6
8783 cat > conftest.c
<<EOF
8788 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8795 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8797 if test $ac_cv_prog_gcc = yes; then
8803 ac_test_CFLAGS
="${CFLAGS+set}"
8804 ac_save_CFLAGS
="$CFLAGS"
8806 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8807 echo "configure:8808: checking whether ${CC-cc} accepts -g" >&5
8808 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8809 echo $ac_n "(cached) $ac_c" 1>&6
8811 echo 'void f(){}' > conftest.c
8812 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8821 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8822 if test "$ac_test_CFLAGS" = set; then
8823 CFLAGS
="$ac_save_CFLAGS"
8824 elif test $ac_cv_prog_cc_g = yes; then
8825 if test "$GCC" = yes; then
8831 if test "$GCC" = yes; then
8839 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8841 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8842 echo "configure:8843: checking how to run the C preprocessor" >&5
8843 # On Suns, sometimes $CPP names a directory.
8844 if test -n "$CPP" && test -d "$CPP"; then
8847 if test -z "$CPP"; then
8848 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8849 echo $ac_n "(cached) $ac_c" 1>&6
8851 # This must be in double quotes, not single quotes, because CPP may get
8852 # substituted into the Makefile and "${CC-cc}" will confuse make.
8854 # On the NeXT, cc -E runs the code through the compiler's parser,
8855 # not just through cpp.
8856 cat > conftest.
$ac_ext <<EOF
8857 #line 8858 "configure"
8858 #include "confdefs.h"
8862 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8863 { (eval echo configure
:8864: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8864 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8865 if test -z "$ac_err"; then
8869 echo "configure: failed program was:" >&5
8870 cat conftest.
$ac_ext >&5
8872 CPP
="${CC-cc} -E -traditional-cpp"
8873 cat > conftest.
$ac_ext <<EOF
8874 #line 8875 "configure"
8875 #include "confdefs.h"
8879 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8880 { (eval echo configure
:8881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8881 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8882 if test -z "$ac_err"; then
8886 echo "configure: failed program was:" >&5
8887 cat conftest.
$ac_ext >&5
8889 CPP
="${CC-cc} -nologo -E"
8890 cat > conftest.
$ac_ext <<EOF
8891 #line 8892 "configure"
8892 #include "confdefs.h"
8896 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8897 { (eval echo configure
:8898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8898 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8899 if test -z "$ac_err"; then
8903 echo "configure: failed program was:" >&5
8904 cat conftest.
$ac_ext >&5
8913 ac_cv_prog_CPP
="$CPP"
8915 CPP
="$ac_cv_prog_CPP"
8917 ac_cv_prog_CPP
="$CPP"
8919 echo "$ac_t""$CPP" 1>&6
8921 if test $ac_cv_prog_gcc = yes; then
8922 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8923 echo "configure:8924: checking whether ${CC-cc} needs -traditional" >&5
8924 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8925 echo $ac_n "(cached) $ac_c" 1>&6
8927 ac_pattern
="Autoconf.*'x'"
8928 cat > conftest.
$ac_ext <<EOF
8929 #line 8930 "configure"
8930 #include "confdefs.h"
8934 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8935 egrep "$ac_pattern" >/dev
/null
2>&1; then
8937 ac_cv_prog_gcc_traditional
=yes
8940 ac_cv_prog_gcc_traditional
=no
8945 if test $ac_cv_prog_gcc_traditional = no
; then
8946 cat > conftest.
$ac_ext <<EOF
8947 #line 8948 "configure"
8948 #include "confdefs.h"
8952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8953 egrep "$ac_pattern" >/dev
/null
2>&1; then
8955 ac_cv_prog_gcc_traditional
=yes
8962 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8963 if test $ac_cv_prog_gcc_traditional = yes; then
8964 CC
="$CC -traditional"
8971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8972 ac_cpp
='$CXXCPP $CPPFLAGS'
8973 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8974 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8975 cross_compiling
=$ac_cv_prog_cxx_cross
8978 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8980 # Extract the first word of "$ac_prog", so it can be a program name with args.
8981 set dummy
$ac_prog; ac_word
=$2
8982 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8983 echo "configure:8984: checking for $ac_word" >&5
8984 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8985 echo $ac_n "(cached) $ac_c" 1>&6
8987 if test -n "$CXX"; then
8988 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8990 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8992 for ac_dir
in $ac_dummy; do
8993 test -z "$ac_dir" && ac_dir
=.
8994 if test -f $ac_dir/$ac_word; then
8995 ac_cv_prog_CXX
="$ac_prog"
9002 CXX
="$ac_cv_prog_CXX"
9003 if test -n "$CXX"; then
9004 echo "$ac_t""$CXX" 1>&6
9006 echo "$ac_t""no" 1>&6
9009 test -n "$CXX" && break
9011 test -n "$CXX" || CXX
="gcc"
9014 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9015 echo "configure:9016: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9018 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9019 ac_cpp
='$CXXCPP $CPPFLAGS'
9020 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9021 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9022 cross_compiling
=$ac_cv_prog_cxx_cross
9024 cat > conftest.
$ac_ext << EOF
9026 #line 9027 "configure"
9027 #include "confdefs.h"
9029 int main(){return(0);}
9031 if { (eval echo configure
:9032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9032 ac_cv_prog_cxx_works
=yes
9033 # If we can't run a trivial program, we are probably using a cross compiler.
9034 if (.
/conftest
; exit) 2>/dev
/null
; then
9035 ac_cv_prog_cxx_cross
=no
9037 ac_cv_prog_cxx_cross
=yes
9040 echo "configure: failed program was:" >&5
9041 cat conftest.
$ac_ext >&5
9042 ac_cv_prog_cxx_works
=no
9046 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9047 ac_cpp
='$CXXCPP $CPPFLAGS'
9048 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9049 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9050 cross_compiling
=$ac_cv_prog_cxx_cross
9052 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9053 if test $ac_cv_prog_cxx_works = no
; then
9054 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9056 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9057 echo "configure:9058: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9058 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9059 cross_compiling
=$ac_cv_prog_cxx_cross
9061 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9062 echo "configure:9063: checking whether we are using GNU C++" >&5
9063 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9064 echo $ac_n "(cached) $ac_c" 1>&6
9066 cat > conftest.C
<<EOF
9071 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9078 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9080 if test $ac_cv_prog_gxx = yes; then
9086 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9087 ac_save_CXXFLAGS
="$CXXFLAGS"
9089 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9090 echo "configure:9091: checking whether ${CXX-g++} accepts -g" >&5
9091 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9092 echo $ac_n "(cached) $ac_c" 1>&6
9094 echo 'void f(){}' > conftest.cc
9095 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9096 ac_cv_prog_cxx_g
=yes
9104 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9105 if test "$ac_test_CXXFLAGS" = set; then
9106 CXXFLAGS
="$ac_save_CXXFLAGS"
9107 elif test $ac_cv_prog_cxx_g = yes; then
9108 if test "$GXX" = yes; then
9114 if test "$GXX" = yes; then
9122 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9125 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9126 ac_cpp
='$CPP $CPPFLAGS'
9127 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9128 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9129 cross_compiling
=$ac_cv_prog_cc_cross
9132 # Extract the first word of "ranlib", so it can be a program name with args.
9133 set dummy ranlib
; ac_word
=$2
9134 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9135 echo "configure:9136: checking for $ac_word" >&5
9136 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9137 echo $ac_n "(cached) $ac_c" 1>&6
9139 if test -n "$RANLIB"; then
9140 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9142 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9144 for ac_dir
in $ac_dummy; do
9145 test -z "$ac_dir" && ac_dir
=.
9146 if test -f $ac_dir/$ac_word; then
9147 ac_cv_prog_RANLIB
="ranlib"
9152 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9155 RANLIB
="$ac_cv_prog_RANLIB"
9156 if test -n "$RANLIB"; then
9157 echo "$ac_t""$RANLIB" 1>&6
9159 echo "$ac_t""no" 1>&6
9163 # Extract the first word of "ar", so it can be a program name with args.
9164 set dummy
ar; ac_word
=$2
9165 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9166 echo "configure:9167: checking for $ac_word" >&5
9167 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9168 echo $ac_n "(cached) $ac_c" 1>&6
9170 if test -n "$AR"; then
9171 ac_cv_prog_AR
="$AR" # Let the user override the test.
9173 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9175 for ac_dir
in $ac_dummy; do
9176 test -z "$ac_dir" && ac_dir
=.
9177 if test -f $ac_dir/$ac_word; then
9183 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9187 if test -n "$AR"; then
9188 echo "$ac_t""$AR" 1>&6
9190 echo "$ac_t""no" 1>&6
9194 # Find a good install program. We prefer a C program (faster),
9195 # so one script is as good as another. But avoid the broken or
9196 # incompatible versions:
9197 # SysV /etc/install, /usr/sbin/install
9198 # SunOS /usr/etc/install
9199 # IRIX /sbin/install
9201 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9202 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9203 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9204 # ./install, which can be erroneously created by make from ./install.sh.
9205 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9206 echo "configure:9207: checking for a BSD compatible install" >&5
9207 if test -z "$INSTALL"; then
9208 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9209 echo $ac_n "(cached) $ac_c" 1>&6
9211 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9212 for ac_dir
in $PATH; do
9213 # Account for people who put trailing slashes in PATH elements.
9215 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9217 # OSF1 and SCO ODT 3.0 have their own names for install.
9218 # Don't use installbsd from OSF since it installs stuff as root
9220 for ac_prog
in ginstall scoinst
install; do
9221 if test -f $ac_dir/$ac_prog; then
9222 if test $ac_prog = install &&
9223 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9224 # AIX install. It has an incompatible calling convention.
9227 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9238 if test "${ac_cv_path_install+set}" = set; then
9239 INSTALL
="$ac_cv_path_install"
9241 # As a last resort, use the slow shell script. We don't cache a
9242 # path for INSTALL within a source directory, because that will
9243 # break other packages using the cache if that directory is
9244 # removed, or if the path is relative.
9245 INSTALL
="$ac_install_sh"
9248 echo "$ac_t""$INSTALL" 1>&6
9250 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9251 # It thinks the first close brace ends the variable substitution.
9252 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9254 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9256 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9261 INSTALL_PROGRAM
="cp -fp"
9262 INSTALL_DATA
="cp -fp"
9268 # Extract the first word of "strip", so it can be a program name with args.
9269 set dummy strip
; ac_word
=$2
9270 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9271 echo "configure:9272: checking for $ac_word" >&5
9272 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9273 echo $ac_n "(cached) $ac_c" 1>&6
9275 if test -n "$STRIP"; then
9276 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9278 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9280 for ac_dir
in $ac_dummy; do
9281 test -z "$ac_dir" && ac_dir
=.
9282 if test -f $ac_dir/$ac_word; then
9283 ac_cv_prog_STRIP
="strip"
9288 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9291 STRIP
="$ac_cv_prog_STRIP"
9292 if test -n "$STRIP"; then
9293 echo "$ac_t""$STRIP" 1>&6
9295 echo "$ac_t""no" 1>&6
9299 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9300 echo "configure:9301: checking if make is GNU make" >&5
9301 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9302 echo $ac_n "(cached) $ac_c" 1>&6
9305 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9306 egrep -s GNU
> /dev
/null
); then
9307 wx_cv_prog_makeisgnu
="yes"
9309 wx_cv_prog_makeisgnu
="no"
9314 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9316 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9324 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9325 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9326 echo "configure:9327: checking if make supports VPATH" >&5
9327 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9328 echo $ac_n "(cached) $ac_c" 1>&6
9331 cat - << EOF > confMake
9337 if test ! -d sub
; then
9340 echo dummy
> sub
/file
9341 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9343 rm -f sub
/file check final_file confMake
9345 if test "$RESULT" = 0; then
9346 wx_cv_prog_makevpath
="yes"
9348 wx_cv_prog_makevpath
="no"
9353 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9355 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9356 { echo "configure: error:
9357 You need a make-utility that is able to use the variable
9359 If your version of make does not support VPATH correctly,
9360 please install GNU-make (possibly as gmake), and start
9361 configure with the following command:
9362 export MAKE=gmake; ./configure for sh-type shells
9363 setenv MAKE gmake; ./configure for csh-type shells
9364 Also please do remember to use gmake in this case every time
9365 you are trying to compile.
9368 for ac_prog
in 'bison -y' byacc
9370 # Extract the first word of "$ac_prog", so it can be a program name with args.
9371 set dummy
$ac_prog; ac_word
=$2
9372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9373 echo "configure:9374: checking for $ac_word" >&5
9374 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9375 echo $ac_n "(cached) $ac_c" 1>&6
9377 if test -n "$YACC"; then
9378 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9380 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9382 for ac_dir
in $ac_dummy; do
9383 test -z "$ac_dir" && ac_dir
=.
9384 if test -f $ac_dir/$ac_word; then
9385 ac_cv_prog_YACC
="$ac_prog"
9392 YACC
="$ac_cv_prog_YACC"
9393 if test -n "$YACC"; then
9394 echo "$ac_t""$YACC" 1>&6
9396 echo "$ac_t""no" 1>&6
9399 test -n "$YACC" && break
9401 test -n "$YACC" || YACC
="yacc"
9404 # Extract the first word of "flex", so it can be a program name with args.
9405 set dummy flex
; ac_word
=$2
9406 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9407 echo "configure:9408: checking for $ac_word" >&5
9408 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9409 echo $ac_n "(cached) $ac_c" 1>&6
9411 if test -n "$LEX"; then
9412 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9414 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9416 for ac_dir
in $ac_dummy; do
9417 test -z "$ac_dir" && ac_dir
=.
9418 if test -f $ac_dir/$ac_word; then
9419 ac_cv_prog_LEX
="flex"
9424 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9427 LEX
="$ac_cv_prog_LEX"
9428 if test -n "$LEX"; then
9429 echo "$ac_t""$LEX" 1>&6
9431 echo "$ac_t""no" 1>&6
9434 if test -z "$LEXLIB"
9440 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9441 echo "configure:9442: checking for yywrap in -l$ac_lib" >&5
9442 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9443 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9444 echo $ac_n "(cached) $ac_c" 1>&6
9446 ac_save_LIBS
="$LIBS"
9447 LIBS
="-l$ac_lib $LIBS"
9448 cat > conftest.
$ac_ext <<EOF
9449 #line 9450 "configure"
9450 #include "confdefs.h"
9451 /* Override any gcc2 internal prototype to avoid an error. */
9452 /* We use char because int might match the return type of a gcc2
9453 builtin and then its argument prototype would still apply. */
9460 if { (eval echo configure
:9461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9462 eval "ac_cv_lib_$ac_lib_var=yes"
9464 echo "configure: failed program was:" >&5
9465 cat conftest.
$ac_ext >&5
9467 eval "ac_cv_lib_$ac_lib_var=no"
9470 LIBS
="$ac_save_LIBS"
9473 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9474 echo "$ac_t""yes" 1>&6
9477 echo "$ac_t""no" 1>&6
9483 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9484 echo "configure:9485: checking whether ln -s works" >&5
9485 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9486 echo $ac_n "(cached) $ac_c" 1>&6
9489 if ln -s X conftestdata
2>/dev
/null
9492 ac_cv_prog_LN_S
="ln -s"
9497 LN_S
="$ac_cv_prog_LN_S"
9498 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9499 echo "$ac_t""yes" 1>&6
9501 echo "$ac_t""no" 1>&6
9507 /usr/local/include \
9509 /usr/Motif-1.2/include \
9510 /usr/Motif-2.1/include \
9512 /usr/include/Motif1.2 \
9513 /opt/xpm/include/X11 \
9514 /opt/GBxpm/include/ \
9515 /opt/GBxpm/X11/include/ \
9517 /usr/Motif1.2/include \
9519 /usr/openwin/include \
9523 /usr/X11R6/include \
9524 /usr/X11R6.4/include \
9525 /usr/X11R5/include \
9526 /usr/X11R4/include \
9528 /usr/include/X11R6 \
9529 /usr/include/X11R5 \
9530 /usr/include/X11R4 \
9532 /usr/local/X11R6/include \
9533 /usr/local/X11R5/include \
9534 /usr/local/X11R4/include \
9536 /usr/local/include/X11R6 \
9537 /usr/local/include/X11R5 \
9538 /usr/local/include/X11R4 \
9542 /usr/local/X11/include \
9543 /usr/local/include/X11 \
9547 /usr/XFree86/include/X11 \
9549 X:/XFree86/include \
9550 X:/XFree86/include/X11 \
9553 /usr/local/include/gtk \
9555 /usr/local/include/glib \
9558 /usr/local/include/qt \
9560 /usr/include/windows \
9562 /usr/local/include/wine \
9564 /usr/unsupported/include \
9565 /usr/athena/include \
9566 /usr/local/x11r5/include \
9567 /usr/lpp/Xamples/include \
9569 /usr/openwin/share/include \
9573 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9576 cat > confcache
<<\EOF
9577 # This file is a shell script that caches the results of configure
9578 # tests run on this system so they can be shared between configure
9579 # scripts and configure runs. It is not useful on other systems.
9580 # If it contains results you don't want to keep, you may remove or edit it.
9582 # By default, configure uses ./config.cache as the cache file,
9583 # creating it if it does not exist already. You can give configure
9584 # the --cache-file=FILE option to use a different cache file; that is
9585 # what configure does when it calls configure scripts in
9586 # subdirectories, so they share the cache.
9587 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9588 # config.status only pays attention to the cache file if you give it the
9589 # --recheck option to rerun configure.
9592 # The following way of writing the cache mishandles newlines in values,
9593 # but we know of no workaround that is simple, portable, and efficient.
9594 # So, don't put newlines in cache variables' values.
9595 # Ultrix sh set writes to stderr and can't be redirected directly,
9596 # and sets the high bit in the cache file unless we assign to the vars.
9598 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9600 # `set' does not quote correctly, so add quotes (double-quote substitution
9601 # turns \\\\ into \\, and sed turns \\ into \).
9603 -e "s/'/'\\\\''/g" \
9604 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9607 # `set' quotes correctly as required by POSIX, so do not add quotes.
9608 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9611 if cmp -s $cache_file confcache
; then
9614 if test -w $cache_file; then
9615 echo "updating cache $cache_file"
9616 cat confcache
> $cache_file
9618 echo "not updating unwritable cache $cache_file"
9627 if test "$wxUSE_REGEX" != "no"; then
9628 cat >> confdefs.h
<<\EOF
9629 #define wxUSE_REGEX 1
9633 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9634 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9635 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9636 echo "configure:9637: checking for regex.h" >&5
9637 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9638 echo $ac_n "(cached) $ac_c" 1>&6
9640 cat > conftest.
$ac_ext <<EOF
9641 #line 9642 "configure"
9642 #include "confdefs.h"
9645 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9646 { (eval echo configure
:9647: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9647 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9648 if test -z "$ac_err"; then
9650 eval "ac_cv_header_$ac_safe=yes"
9653 echo "configure: failed program was:" >&5
9654 cat conftest.
$ac_ext >&5
9656 eval "ac_cv_header_$ac_safe=no"
9660 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9661 echo "$ac_t""yes" 1>&6
9662 for ac_func
in regcomp
9664 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9665 echo "configure:9666: checking for $ac_func" >&5
9666 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9667 echo $ac_n "(cached) $ac_c" 1>&6
9669 cat > conftest.
$ac_ext <<EOF
9670 #line 9671 "configure"
9671 #include "confdefs.h"
9672 /* System header to define __stub macros and hopefully few prototypes,
9673 which can conflict with char $ac_func(); below. */
9675 /* Override any gcc2 internal prototype to avoid an error. */
9676 /* We use char because int might match the return type of a gcc2
9677 builtin and then its argument prototype would still apply. */
9682 /* The GNU C library defines this for functions which it implements
9683 to always fail with ENOSYS. Some functions are actually named
9684 something starting with __ and the normal name is an alias. */
9685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9693 if { (eval echo configure
:9694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9695 eval "ac_cv_func_$ac_func=yes"
9697 echo "configure: failed program was:" >&5
9698 cat conftest.
$ac_ext >&5
9700 eval "ac_cv_func_$ac_func=no"
9705 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9706 echo "$ac_t""yes" 1>&6
9707 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9708 cat >> confdefs.h
<<EOF
9709 #define $ac_tr_func 1
9713 echo "$ac_t""no" 1>&6
9718 echo "$ac_t""no" 1>&6
9722 if test "x$ac_cv_func_regcomp" != "xyes"; then
9723 if test "$wxUSE_REGEX" = "sys" ; then
9724 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9726 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9734 if test "$wxUSE_REGEX" = "builtin" ; then
9735 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9742 if test "$wxUSE_ZLIB" != "no" ; then
9743 cat >> confdefs.h
<<\EOF
9744 #define wxUSE_ZLIB 1
9748 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9749 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9750 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9751 echo "configure:9752: checking for zlib.h" >&5
9752 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9753 echo $ac_n "(cached) $ac_c" 1>&6
9755 cat > conftest.
$ac_ext <<EOF
9756 #line 9757 "configure"
9757 #include "confdefs.h"
9760 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9761 { (eval echo configure
:9762: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9762 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9763 if test -z "$ac_err"; then
9765 eval "ac_cv_header_$ac_safe=yes"
9768 echo "configure: failed program was:" >&5
9769 cat conftest.
$ac_ext >&5
9771 eval "ac_cv_header_$ac_safe=no"
9775 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9776 echo "$ac_t""yes" 1>&6
9777 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9778 echo "configure:9779: checking for deflate in -lz" >&5
9779 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9780 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9781 echo $ac_n "(cached) $ac_c" 1>&6
9783 ac_save_LIBS
="$LIBS"
9785 cat > conftest.
$ac_ext <<EOF
9786 #line 9787 "configure"
9787 #include "confdefs.h"
9788 /* Override any gcc2 internal prototype to avoid an error. */
9789 /* We use char because int might match the return type of a gcc2
9790 builtin and then its argument prototype would still apply. */
9797 if { (eval echo configure
:9798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9799 eval "ac_cv_lib_$ac_lib_var=yes"
9801 echo "configure: failed program was:" >&5
9802 cat conftest.
$ac_ext >&5
9804 eval "ac_cv_lib_$ac_lib_var=no"
9807 LIBS
="$ac_save_LIBS"
9810 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9811 echo "$ac_t""yes" 1>&6
9814 echo "$ac_t""no" 1>&6
9818 echo "$ac_t""no" 1>&6
9822 if test "x$ZLIB_LINK" = "x" ; then
9823 if test "$wxUSE_ZLIB" = "sys" ; then
9824 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9826 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9834 if test "$wxUSE_ZLIB" = "builtin" ; then
9835 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9842 if test "$wxUSE_LIBPNG" != "no" ; then
9843 cat >> confdefs.h
<<\EOF
9844 #define wxUSE_LIBPNG 1
9848 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
9849 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
9853 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9854 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9855 wxUSE_LIBPNG
=builtin
9858 if test "$wxUSE_MGL" != 1 ; then
9859 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9860 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9861 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9862 echo "configure:9863: checking for png.h" >&5
9863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9864 echo $ac_n "(cached) $ac_c" 1>&6
9866 cat > conftest.
$ac_ext <<EOF
9867 #line 9868 "configure"
9868 #include "confdefs.h"
9871 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9872 { (eval echo configure
:9873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9873 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9874 if test -z "$ac_err"; then
9876 eval "ac_cv_header_$ac_safe=yes"
9879 echo "configure: failed program was:" >&5
9880 cat conftest.
$ac_ext >&5
9882 eval "ac_cv_header_$ac_safe=no"
9886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9887 echo "$ac_t""yes" 1>&6
9888 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9889 echo "configure:9890: checking for png_check_sig in -lpng" >&5
9890 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9891 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9892 echo $ac_n "(cached) $ac_c" 1>&6
9894 ac_save_LIBS
="$LIBS"
9895 LIBS
="-lpng -lz -lm $LIBS"
9896 cat > conftest.
$ac_ext <<EOF
9897 #line 9898 "configure"
9898 #include "confdefs.h"
9899 /* Override any gcc2 internal prototype to avoid an error. */
9900 /* We use char because int might match the return type of a gcc2
9901 builtin and then its argument prototype would still apply. */
9902 char png_check_sig();
9908 if { (eval echo configure
:9909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9910 eval "ac_cv_lib_$ac_lib_var=yes"
9912 echo "configure: failed program was:" >&5
9913 cat conftest.
$ac_ext >&5
9915 eval "ac_cv_lib_$ac_lib_var=no"
9918 LIBS
="$ac_save_LIBS"
9921 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9922 echo "$ac_t""yes" 1>&6
9925 echo "$ac_t""no" 1>&6
9930 echo "$ac_t""no" 1>&6
9934 if test "x$PNG_LINK" = "x" ; then
9935 if test "$wxUSE_LIBPNG" = "sys" ; then
9936 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9938 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9939 wxUSE_LIBPNG
=builtin
9947 if test "$wxUSE_LIBPNG" = "builtin" ; then
9948 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9957 if test "$wxUSE_LIBJPEG" != "no" ; then
9958 cat >> confdefs.h
<<\EOF
9959 #define wxUSE_LIBJPEG 1
9963 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
9964 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
9968 if test "$wxUSE_MGL" != 1 ; then
9969 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9970 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9971 echo "configure:9972: checking for jpeglib.h" >&5
9972 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9973 echo $ac_n "(cached) $ac_c" 1>&6
9975 cat > conftest.
$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9979 #undef HAVE_STDLIB_H
9981 #include <jpeglib.h>
9988 if { (eval echo configure
:9989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9990 ac_cv_header_jpeglib_h
=yes
9992 echo "configure: failed program was:" >&5
9993 cat conftest.
$ac_ext >&5
9995 ac_cv_header_jpeglib_h
=no
10002 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
10004 if test "$ac_cv_header_jpeglib_h" = "yes"; then
10005 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
10006 echo "configure:10007: checking for jpeg_read_header in -ljpeg" >&5
10007 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
10008 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10009 echo $ac_n "(cached) $ac_c" 1>&6
10011 ac_save_LIBS
="$LIBS"
10012 LIBS
="-ljpeg $LIBS"
10013 cat > conftest.
$ac_ext <<EOF
10014 #line 10015 "configure"
10015 #include "confdefs.h"
10016 /* Override any gcc2 internal prototype to avoid an error. */
10017 /* We use char because int might match the return type of a gcc2
10018 builtin and then its argument prototype would still apply. */
10019 char jpeg_read_header();
10025 if { (eval echo configure
:10026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10027 eval "ac_cv_lib_$ac_lib_var=yes"
10029 echo "configure: failed program was:" >&5
10030 cat conftest.
$ac_ext >&5
10032 eval "ac_cv_lib_$ac_lib_var=no"
10035 LIBS
="$ac_save_LIBS"
10038 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10039 echo "$ac_t""yes" 1>&6
10040 JPEG_LINK
=" -ljpeg"
10042 echo "$ac_t""no" 1>&6
10047 if test "x$JPEG_LINK" = "x" ; then
10048 if test "$wxUSE_LIBJPEG" = "sys" ; then
10049 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
10051 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
10052 wxUSE_LIBJPEG
=builtin
10060 if test "$wxUSE_LIBJPEG" = "builtin" ; then
10061 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10068 if test "$wxUSE_LIBTIFF" != "no" ; then
10069 cat >> confdefs.h
<<\EOF
10070 #define wxUSE_LIBTIFF 1
10074 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
10075 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
10076 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
10077 echo "configure:10078: checking for tiffio.h" >&5
10078 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10079 echo $ac_n "(cached) $ac_c" 1>&6
10081 cat > conftest.
$ac_ext <<EOF
10082 #line 10083 "configure"
10083 #include "confdefs.h"
10084 #include <tiffio.h>
10086 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10087 { (eval echo configure
:10088: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10088 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10089 if test -z "$ac_err"; then
10091 eval "ac_cv_header_$ac_safe=yes"
10094 echo "configure: failed program was:" >&5
10095 cat conftest.
$ac_ext >&5
10097 eval "ac_cv_header_$ac_safe=no"
10101 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10102 echo "$ac_t""yes" 1>&6
10103 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
10104 echo "configure:10105: checking for TIFFError in -ltiff" >&5
10105 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
10106 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10107 echo $ac_n "(cached) $ac_c" 1>&6
10109 ac_save_LIBS
="$LIBS"
10110 LIBS
="-ltiff -lm $LIBS"
10111 cat > conftest.
$ac_ext <<EOF
10112 #line 10113 "configure"
10113 #include "confdefs.h"
10114 /* Override any gcc2 internal prototype to avoid an error. */
10115 /* We use char because int might match the return type of a gcc2
10116 builtin and then its argument prototype would still apply. */
10123 if { (eval echo configure
:10124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10125 eval "ac_cv_lib_$ac_lib_var=yes"
10127 echo "configure: failed program was:" >&5
10128 cat conftest.
$ac_ext >&5
10130 eval "ac_cv_lib_$ac_lib_var=no"
10133 LIBS
="$ac_save_LIBS"
10136 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10137 echo "$ac_t""yes" 1>&6
10138 TIFF_LINK
=" -ltiff"
10140 echo "$ac_t""no" 1>&6
10145 echo "$ac_t""no" 1>&6
10149 if test "x$TIFF_LINK" = "x" ; then
10150 if test "$wxUSE_LIBTIFF" = "sys" ; then
10151 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
10153 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10154 wxUSE_LIBTIFF
=builtin
10161 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10162 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10173 if test "$USE_WIN32" = 1 ; then
10174 for ac_hdr
in w32api.h
10176 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10177 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10178 echo "configure:10179: checking for $ac_hdr" >&5
10179 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10180 echo $ac_n "(cached) $ac_c" 1>&6
10182 cat > conftest.
$ac_ext <<EOF
10183 #line 10184 "configure"
10184 #include "confdefs.h"
10187 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10188 { (eval echo configure
:10189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10189 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10190 if test -z "$ac_err"; then
10192 eval "ac_cv_header_$ac_safe=yes"
10195 echo "configure: failed program was:" >&5
10196 cat conftest.
$ac_ext >&5
10198 eval "ac_cv_header_$ac_safe=no"
10202 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10203 echo "$ac_t""yes" 1>&6
10204 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10205 cat >> confdefs.h
<<EOF
10206 #define $ac_tr_hdr 1
10210 echo "$ac_t""no" 1>&6
10214 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10215 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10216 echo "configure:10217: checking for windows.h" >&5
10217 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10218 echo $ac_n "(cached) $ac_c" 1>&6
10220 cat > conftest.
$ac_ext <<EOF
10221 #line 10222 "configure"
10222 #include "confdefs.h"
10223 #include <windows.h>
10225 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10226 { (eval echo configure
:10227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10227 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10228 if test -z "$ac_err"; then
10230 eval "ac_cv_header_$ac_safe=yes"
10233 echo "configure: failed program was:" >&5
10234 cat conftest.
$ac_ext >&5
10236 eval "ac_cv_header_$ac_safe=no"
10240 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10241 echo "$ac_t""yes" 1>&6
10244 echo "$ac_t""no" 1>&6
10246 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10251 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10252 echo "configure:10253: checking if w32api has good enough MSIE support" >&5
10253 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10254 echo $ac_n "(cached) $ac_c" 1>&6
10257 cat > conftest.
$ac_ext <<EOF
10258 #line 10259 "configure"
10259 #include "confdefs.h"
10260 #include <w32api.h>
10263 #define wxCHECK_W32API_VERSION( major, minor ) \
10264 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10265 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10266 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10268 #if !wxCHECK_W32API_VERSION(1,1)
10269 #error You need w32api 1.1 or newer
10274 if { (eval echo configure
:10275: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10277 wx_cv_w32api_win32_ie
=yes
10280 echo "configure: failed program was:" >&5
10281 cat conftest.
$ac_ext >&5
10284 wx_cv_w32api_win32_ie
=no
10291 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10292 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10293 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10296 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10300 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10301 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10304 if test "$wxUSE_ODBC" = "yes" ; then
10305 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10308 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10309 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10312 if test "$wxUSE_GUI" = "yes"; then
10321 if test "$wxUSE_MSW" = 1 ; then
10327 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10331 if test "$wxUSE_GTK" = 1; then
10332 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10333 echo "configure:10334: checking for GTK+ version" >&5
10335 gtk_version_cached
=1
10336 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10337 echo $ac_n "(cached) $ac_c" 1>&6
10340 gtk_version_cached
=0
10341 echo "$ac_t""" 1>&6
10344 if test "$wxUSE_THREADS" = "yes"; then
10345 GTK_MODULES
=gthread
10349 if test "x$wxUSE_GTK2" = "xyes"; then
10350 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10351 if test "${with_gtk_prefix+set}" = set; then
10352 withval
="$with_gtk_prefix"
10353 gtk_config_prefix
="$withval"
10355 gtk_config_prefix
=""
10358 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10359 if test "${with_gtk_exec_prefix+set}" = set; then
10360 withval
="$with_gtk_exec_prefix"
10361 gtk_config_exec_prefix
="$withval"
10363 gtk_config_exec_prefix
=""
10366 # Check whether --enable-gtktest or --disable-gtktest was given.
10367 if test "${enable_gtktest+set}" = set; then
10368 enableval
="$enable_gtktest"
10375 for module
in .
$GTK_MODULES
10379 gtk_config_args
="$gtk_config_args gthread"
10384 if test x
$gtk_config_exec_prefix != x
; then
10385 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10386 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10387 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10390 if test x
$gtk_config_prefix != x
; then
10391 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10392 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10393 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10397 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10398 set dummy gtk
-config-2.0
; ac_word
=$2
10399 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10400 echo "configure:10401: checking for $ac_word" >&5
10401 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10402 echo $ac_n "(cached) $ac_c" 1>&6
10404 case "$GTK_CONFIG_2_0" in
10406 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10409 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10412 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10414 for ac_dir
in $ac_dummy; do
10415 test -z "$ac_dir" && ac_dir
=.
10416 if test -f $ac_dir/$ac_word; then
10417 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10422 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10426 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10427 if test -n "$GTK_CONFIG_2_0"; then
10428 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10430 echo "$ac_t""no" 1>&6
10433 min_gtk_version
=1.3.1
10434 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10435 echo "configure:10436: checking for GTK - version >= $min_gtk_version" >&5
10437 if test "$GTK_CONFIG_2_0" = "no" ; then
10440 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10441 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10442 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10443 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10444 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10446 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10448 if test "x$enable_gtktest" = "xyes" ; then
10449 ac_save_CFLAGS
="$CFLAGS"
10450 ac_save_LIBS
="$LIBS"
10451 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10452 LIBS
="$GTK_LIBS $LIBS"
10454 if test "$cross_compiling" = yes; then
10455 echo $ac_n "cross compiling; assumed OK... $ac_c"
10457 cat > conftest.
$ac_ext <<EOF
10458 #line 10459 "configure"
10459 #include "confdefs.h"
10461 #include <gtk/gtk.h>
10463 #include <stdlib.h>
10468 int major, minor, micro;
10471 system ("touch conf.gtktest");
10473 /* HP/UX 9 (%@#!) writes to sscanf strings */
10474 tmp_version = g_strdup("$min_gtk_version");
10475 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10476 printf("%s, bad version string\n", "$min_gtk_version");
10480 if ((gtk_major_version != $gtk_config_major_version) ||
10481 (gtk_minor_version != $gtk_config_minor_version) ||
10482 (gtk_micro_version != $gtk_config_micro_version))
10484 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10485 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10486 gtk_major_version, gtk_minor_version, gtk_micro_version);
10487 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10488 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10489 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10490 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10491 printf("*** required on your system.\n");
10492 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10493 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10494 printf("*** before re-running configure\n");
10496 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10497 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10498 (gtk_minor_version != GTK_MINOR_VERSION) ||
10499 (gtk_micro_version != GTK_MICRO_VERSION))
10501 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10502 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10503 printf("*** library (version %d.%d.%d)\n",
10504 gtk_major_version, gtk_minor_version, gtk_micro_version);
10506 #endif /* defined (GTK_MAJOR_VERSION) ... */
10509 if ((gtk_major_version > major) ||
10510 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10511 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10517 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10518 gtk_major_version, gtk_minor_version, gtk_micro_version);
10519 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10520 major, minor, micro);
10521 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10523 printf("*** If you have already installed a sufficiently new version, this error\n");
10524 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10525 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10526 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10527 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10528 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10529 printf("*** so that the correct libraries are found at run-time))\n");
10536 if { (eval echo configure
:10537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10540 echo "configure: failed program was:" >&5
10541 cat conftest.
$ac_ext >&5
10548 CFLAGS
="$ac_save_CFLAGS"
10549 LIBS
="$ac_save_LIBS"
10552 if test "x$no_gtk" = x
; then
10553 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10556 echo "$ac_t""no" 1>&6
10557 if test "$GTK_CONFIG_2_0" = "no" ; then
10558 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10559 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10560 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10561 echo "*** full path to gtk-config-2.0."
10563 if test -f conf.gtktest
; then
10566 echo "*** Could not run GTK test program, checking why..."
10567 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10568 LIBS
="$LIBS $GTK_LIBS"
10569 cat > conftest.
$ac_ext <<EOF
10570 #line 10571 "configure"
10571 #include "confdefs.h"
10573 #include <gtk/gtk.h>
10577 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10580 if { (eval echo configure
:10581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10582 echo "*** The test program compiled, but did not run. This usually means"
10583 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10584 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10585 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10586 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10587 echo "*** is required on your system"
10589 echo "*** If you have an old version installed, it is best to remove it, although"
10590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10592 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10593 echo "*** came with the system with the command"
10595 echo "*** rpm --erase --nodeps gtk gtk-devel"
10597 echo "configure: failed program was:" >&5
10598 cat conftest.
$ac_ext >&5
10600 echo "*** The test program failed to compile or link. See the file config.log for the"
10601 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10602 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10603 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10606 CFLAGS
="$ac_save_CFLAGS"
10607 LIBS
="$ac_save_LIBS"
10620 if test -z "$wx_cv_lib_gtk"; then
10621 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10622 if test "${with_gtk_prefix+set}" = set; then
10623 withval
="$with_gtk_prefix"
10624 gtk_config_prefix
="$withval"
10626 gtk_config_prefix
=""
10629 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10630 if test "${with_gtk_exec_prefix+set}" = set; then
10631 withval
="$with_gtk_exec_prefix"
10632 gtk_config_exec_prefix
="$withval"
10634 gtk_config_exec_prefix
=""
10637 # Check whether --enable-gtktest or --disable-gtktest was given.
10638 if test "${enable_gtktest+set}" = set; then
10639 enableval
="$enable_gtktest"
10646 for module
in .
$GTK_MODULES
10650 gtk_config_args
="$gtk_config_args gthread"
10655 if test x
$gtk_config_exec_prefix != x
; then
10656 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10657 if test x
${GTK_CONFIG+set} != xset
; then
10658 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10661 if test x
$gtk_config_prefix != x
; then
10662 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10663 if test x
${GTK_CONFIG+set} != xset
; then
10664 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10668 # Extract the first word of "gtk-config", so it can be a program name with args.
10669 set dummy gtk
-config; ac_word
=$2
10670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10671 echo "configure:10672: checking for $ac_word" >&5
10672 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10673 echo $ac_n "(cached) $ac_c" 1>&6
10675 case "$GTK_CONFIG" in
10677 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10680 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10683 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10685 for ac_dir
in $ac_dummy; do
10686 test -z "$ac_dir" && ac_dir
=.
10687 if test -f $ac_dir/$ac_word; then
10688 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10693 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10697 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10698 if test -n "$GTK_CONFIG"; then
10699 echo "$ac_t""$GTK_CONFIG" 1>&6
10701 echo "$ac_t""no" 1>&6
10704 min_gtk_version
=1.2.7
10705 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10706 echo "configure:10707: checking for GTK - version >= $min_gtk_version" >&5
10708 if test "$GTK_CONFIG" = "no" ; then
10711 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10712 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10713 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10714 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10715 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10716 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10717 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10718 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10719 if test "x$enable_gtktest" = "xyes" ; then
10720 ac_save_CFLAGS
="$CFLAGS"
10721 ac_save_LIBS
="$LIBS"
10722 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10723 LIBS
="$GTK_LIBS $LIBS"
10725 if test "$cross_compiling" = yes; then
10726 echo $ac_n "cross compiling; assumed OK... $ac_c"
10728 cat > conftest.
$ac_ext <<EOF
10729 #line 10730 "configure"
10730 #include "confdefs.h"
10732 #include <gtk/gtk.h>
10734 #include <stdlib.h>
10739 int major, minor, micro;
10742 system ("touch conf.gtktest");
10744 /* HP/UX 9 (%@#!) writes to sscanf strings */
10745 tmp_version = g_strdup("$min_gtk_version");
10746 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10747 printf("%s, bad version string\n", "$min_gtk_version");
10751 if ((gtk_major_version != $gtk_config_major_version) ||
10752 (gtk_minor_version != $gtk_config_minor_version) ||
10753 (gtk_micro_version != $gtk_config_micro_version))
10755 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10756 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10757 gtk_major_version, gtk_minor_version, gtk_micro_version);
10758 printf ("*** was found! If gtk-config was correct, then it is best\n");
10759 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10760 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10761 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10762 printf("*** required on your system.\n");
10763 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10764 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10765 printf("*** before re-running configure\n");
10767 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10768 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10769 (gtk_minor_version != GTK_MINOR_VERSION) ||
10770 (gtk_micro_version != GTK_MICRO_VERSION))
10772 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10773 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10774 printf("*** library (version %d.%d.%d)\n",
10775 gtk_major_version, gtk_minor_version, gtk_micro_version);
10777 #endif /* defined (GTK_MAJOR_VERSION) ... */
10780 if ((gtk_major_version > major) ||
10781 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10782 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10788 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10789 gtk_major_version, gtk_minor_version, gtk_micro_version);
10790 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10791 major, minor, micro);
10792 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10794 printf("*** If you have already installed a sufficiently new version, this error\n");
10795 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10796 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10797 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10798 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10799 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10800 printf("*** so that the correct libraries are found at run-time))\n");
10807 if { (eval echo configure
:10808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10811 echo "configure: failed program was:" >&5
10812 cat conftest.
$ac_ext >&5
10819 CFLAGS
="$ac_save_CFLAGS"
10820 LIBS
="$ac_save_LIBS"
10823 if test "x$no_gtk" = x
; then
10824 echo "$ac_t""yes" 1>&6
10825 wx_cv_lib_gtk
=1.2.7
10827 echo "$ac_t""no" 1>&6
10828 if test "$GTK_CONFIG" = "no" ; then
10829 echo "*** The gtk-config script installed by GTK could not be found"
10830 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10831 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10832 echo "*** full path to gtk-config."
10834 if test -f conf.gtktest
; then
10837 echo "*** Could not run GTK test program, checking why..."
10838 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10839 LIBS
="$LIBS $GTK_LIBS"
10840 cat > conftest.
$ac_ext <<EOF
10841 #line 10842 "configure"
10842 #include "confdefs.h"
10844 #include <gtk/gtk.h>
10848 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10851 if { (eval echo configure
:10852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10853 echo "*** The test program compiled, but did not run. This usually means"
10854 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10855 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10856 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10857 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10858 echo "*** is required on your system"
10860 echo "*** If you have an old version installed, it is best to remove it, although"
10861 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10863 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10864 echo "*** came with the system with the command"
10866 echo "*** rpm --erase --nodeps gtk gtk-devel"
10868 echo "configure: failed program was:" >&5
10869 cat conftest.
$ac_ext >&5
10871 echo "*** The test program failed to compile or link. See the file config.log for the"
10872 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10873 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10874 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10877 CFLAGS
="$ac_save_CFLAGS"
10878 LIBS
="$ac_save_LIBS"
10891 if test -z "$wx_cv_lib_gtk"; then
10892 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10893 if test "${with_gtk_prefix+set}" = set; then
10894 withval
="$with_gtk_prefix"
10895 gtk_config_prefix
="$withval"
10897 gtk_config_prefix
=""
10900 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10901 if test "${with_gtk_exec_prefix+set}" = set; then
10902 withval
="$with_gtk_exec_prefix"
10903 gtk_config_exec_prefix
="$withval"
10905 gtk_config_exec_prefix
=""
10908 # Check whether --enable-gtktest or --disable-gtktest was given.
10909 if test "${enable_gtktest+set}" = set; then
10910 enableval
="$enable_gtktest"
10917 for module
in .
$GTK_MODULES
10921 gtk_config_args
="$gtk_config_args gthread"
10926 if test x
$gtk_config_exec_prefix != x
; then
10927 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10928 if test x
${GTK_CONFIG+set} != xset
; then
10929 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10932 if test x
$gtk_config_prefix != x
; then
10933 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10934 if test x
${GTK_CONFIG+set} != xset
; then
10935 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10939 # Extract the first word of "gtk-config", so it can be a program name with args.
10940 set dummy gtk
-config; ac_word
=$2
10941 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10942 echo "configure:10943: checking for $ac_word" >&5
10943 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10944 echo $ac_n "(cached) $ac_c" 1>&6
10946 case "$GTK_CONFIG" in
10948 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10951 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10954 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10956 for ac_dir
in $ac_dummy; do
10957 test -z "$ac_dir" && ac_dir
=.
10958 if test -f $ac_dir/$ac_word; then
10959 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10964 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10968 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10969 if test -n "$GTK_CONFIG"; then
10970 echo "$ac_t""$GTK_CONFIG" 1>&6
10972 echo "$ac_t""no" 1>&6
10975 min_gtk_version
=1.2.3
10976 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10977 echo "configure:10978: checking for GTK - version >= $min_gtk_version" >&5
10979 if test "$GTK_CONFIG" = "no" ; then
10982 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10983 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10984 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10986 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10987 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10988 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10989 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10990 if test "x$enable_gtktest" = "xyes" ; then
10991 ac_save_CFLAGS
="$CFLAGS"
10992 ac_save_LIBS
="$LIBS"
10993 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10994 LIBS
="$GTK_LIBS $LIBS"
10996 if test "$cross_compiling" = yes; then
10997 echo $ac_n "cross compiling; assumed OK... $ac_c"
10999 cat > conftest.
$ac_ext <<EOF
11000 #line 11001 "configure"
11001 #include "confdefs.h"
11003 #include <gtk/gtk.h>
11005 #include <stdlib.h>
11010 int major, minor, micro;
11013 system ("touch conf.gtktest");
11015 /* HP/UX 9 (%@#!) writes to sscanf strings */
11016 tmp_version = g_strdup("$min_gtk_version");
11017 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11018 printf("%s, bad version string\n", "$min_gtk_version");
11022 if ((gtk_major_version != $gtk_config_major_version) ||
11023 (gtk_minor_version != $gtk_config_minor_version) ||
11024 (gtk_micro_version != $gtk_config_micro_version))
11026 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11027 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11028 gtk_major_version, gtk_minor_version, gtk_micro_version);
11029 printf ("*** was found! If gtk-config was correct, then it is best\n");
11030 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11031 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11032 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11033 printf("*** required on your system.\n");
11034 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
11035 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
11036 printf("*** before re-running configure\n");
11038 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
11039 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11040 (gtk_minor_version != GTK_MINOR_VERSION) ||
11041 (gtk_micro_version != GTK_MICRO_VERSION))
11043 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11044 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11045 printf("*** library (version %d.%d.%d)\n",
11046 gtk_major_version, gtk_minor_version, gtk_micro_version);
11048 #endif /* defined (GTK_MAJOR_VERSION) ... */
11051 if ((gtk_major_version > major) ||
11052 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11053 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11059 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11060 gtk_major_version, gtk_minor_version, gtk_micro_version);
11061 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11062 major, minor, micro);
11063 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11065 printf("*** If you have already installed a sufficiently new version, this error\n");
11066 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11067 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11068 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11069 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11070 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11071 printf("*** so that the correct libraries are found at run-time))\n");
11078 if { (eval echo configure
:11079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11082 echo "configure: failed program was:" >&5
11083 cat conftest.
$ac_ext >&5
11090 CFLAGS
="$ac_save_CFLAGS"
11091 LIBS
="$ac_save_LIBS"
11094 if test "x$no_gtk" = x
; then
11095 echo "$ac_t""yes" 1>&6
11096 wx_cv_lib_gtk
=1.2.3
11098 echo "$ac_t""no" 1>&6
11099 if test "$GTK_CONFIG" = "no" ; then
11100 echo "*** The gtk-config script installed by GTK could not be found"
11101 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11102 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11103 echo "*** full path to gtk-config."
11105 if test -f conf.gtktest
; then
11108 echo "*** Could not run GTK test program, checking why..."
11109 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11110 LIBS
="$LIBS $GTK_LIBS"
11111 cat > conftest.
$ac_ext <<EOF
11112 #line 11113 "configure"
11113 #include "confdefs.h"
11115 #include <gtk/gtk.h>
11119 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11122 if { (eval echo configure
:11123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11124 echo "*** The test program compiled, but did not run. This usually means"
11125 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11126 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11127 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11128 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11129 echo "*** is required on your system"
11131 echo "*** If you have an old version installed, it is best to remove it, although"
11132 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11134 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11135 echo "*** came with the system with the command"
11137 echo "*** rpm --erase --nodeps gtk gtk-devel"
11139 echo "configure: failed program was:" >&5
11140 cat conftest.
$ac_ext >&5
11142 echo "*** The test program failed to compile or link. See the file config.log for the"
11143 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11144 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11145 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11148 CFLAGS
="$ac_save_CFLAGS"
11149 LIBS
="$ac_save_LIBS"
11162 if test -z "$wx_cv_lib_gtk"; then
11165 wx_cv_cflags_gtk
=$GTK_CFLAGS
11166 wx_cv_libs_gtk
=$GTK_LIBS
11173 if test "$gtk_version_cached" = 1; then
11174 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11177 case "$wx_cv_lib_gtk" in
11185 *) { echo "configure: error:
11186 Please check that gtk-config is in path, the directory
11187 where GTK+ libraries are installed (returned by
11188 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11189 equivalent variable and GTK+ is version 1.2.3 or above.
11194 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11195 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11197 AFMINSTALL
=afminstall
11201 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11202 echo "configure:11203: checking for gdk_im_open in -lgdk" >&5
11203 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11204 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11205 echo $ac_n "(cached) $ac_c" 1>&6
11207 ac_save_LIBS
="$LIBS"
11209 cat > conftest.
$ac_ext <<EOF
11210 #line 11211 "configure"
11211 #include "confdefs.h"
11212 /* Override any gcc2 internal prototype to avoid an error. */
11213 /* We use char because int might match the return type of a gcc2
11214 builtin and then its argument prototype would still apply. */
11215 char gdk_im_open();
11221 if { (eval echo configure
:11222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11223 eval "ac_cv_lib_$ac_lib_var=yes"
11225 echo "configure: failed program was:" >&5
11226 cat conftest.
$ac_ext >&5
11228 eval "ac_cv_lib_$ac_lib_var=no"
11231 LIBS
="$ac_save_LIBS"
11234 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11235 echo "$ac_t""yes" 1>&6
11236 cat >> confdefs.h
<<\EOF
11241 echo "$ac_t""no" 1>&6
11246 if test "$wxUSE_MGL" = 1; then
11247 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11248 echo "configure:11249: checking for SciTech MGL library" >&5
11249 if test "x$MGL_ROOT" = x
; then
11250 echo "$ac_t""not found" 1>&6
11251 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11253 echo "$ac_t""$MGL_ROOT" 1>&6
11258 mgl_os
=linux
/gcc
/glibc
11264 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11269 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11270 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11271 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11275 if test "x$mgl_lib_type" = x
; then
11276 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11277 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11278 mgl_lib_type
=release
11280 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11284 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11285 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11287 AFMINSTALL
=afminstall
11292 if test "$wxUSE_MICROWIN" = 1; then
11293 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11294 echo "configure:11295: checking for MicroWindows" >&5
11295 if test "x$MICROWINDOWS" = x
; then
11296 echo "$ac_t""not found" 1>&6
11297 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11299 echo "$ac_t""$MICROWINDOWS" 1>&6
11302 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11303 echo "$ac_t""MicroWindows' libraries found." 1>&6
11305 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11308 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11309 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11311 AFMINSTALL
=afminstall
11313 GUIDIST
=MICROWIN_DIST
11315 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11318 if test "$wxUSE_X11" = 1; then
11319 # If we find X, set shell vars x_includes and x_libraries to the
11320 # paths, otherwise set no_x=yes.
11321 # Uses ac_ vars as temps to allow command line to override cache and checks.
11322 # --without-x overrides everything else, but does not touch the cache.
11323 echo $ac_n "checking for X""... $ac_c" 1>&6
11324 echo "configure:11325: checking for X" >&5
11326 # Check whether --with-x or --without-x was given.
11327 if test "${with_x+set}" = set; then
11332 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11333 if test "x$with_x" = xno
; then
11334 # The user explicitly disabled X.
11337 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11338 # Both variables are already set.
11341 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11342 echo $ac_n "(cached) $ac_c" 1>&6
11344 # One or both of the vars are not set, and there is no cached value.
11345 ac_x_includes
=NO ac_x_libraries
=NO
11347 if mkdir conftestdir
; then
11349 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11350 cat > Imakefile
<<'EOF'
11352 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11354 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11355 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11356 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11357 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11358 for ac_extension
in a so sl
; do
11359 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11360 test -f $ac_im_libdir/libX11.
$ac_extension; then
11361 ac_im_usrlibdir
=$ac_im_libdir; break
11364 # Screen out bogus values from the imake configuration. They are
11365 # bogus both because they are the default anyway, and because
11366 # using them would break gcc on systems where it needs fixed includes.
11367 case "$ac_im_incroot" in
11369 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11371 case "$ac_im_usrlibdir" in
11372 /usr
/lib
| /lib
) ;;
11373 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11380 if test "$ac_x_includes" = NO
; then
11381 # Guess where to find include files, by looking for this one X11 .h file.
11382 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11384 # First, try using that file with no special directory specified.
11385 cat > conftest.
$ac_ext <<EOF
11386 #line 11387 "configure"
11387 #include "confdefs.h"
11388 #include <$x_direct_test_include>
11390 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11391 { (eval echo configure
:11392: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11392 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11393 if test -z "$ac_err"; then
11395 # We can compile using X headers with no special include directory.
11399 echo "configure: failed program was:" >&5
11400 cat conftest.
$ac_ext >&5
11402 # Look for the header file in a standard set of common directories.
11403 # Check X11 before X11Rn because it is often a symlink to the current release.
11406 /usr
/X
11R
6/include \
11407 /usr
/X
11R
5/include \
11408 /usr
/X
11R
4/include \
11411 /usr
/include
/X11R6 \
11412 /usr
/include
/X11R5 \
11413 /usr
/include
/X11R4 \
11415 /usr
/local
/X
11/include \
11416 /usr
/local
/X
11R
6/include \
11417 /usr
/local
/X
11R
5/include \
11418 /usr
/local
/X
11R
4/include \
11420 /usr
/local
/include
/X11 \
11421 /usr
/local
/include
/X11R6 \
11422 /usr
/local
/include
/X11R5 \
11423 /usr
/local
/include
/X11R4 \
11425 /usr
/X
386/include \
11426 /usr
/x
386/include \
11427 /usr
/XFree
86/include
/X11 \
11430 /usr
/local
/include \
11431 /usr
/unsupported
/include \
11432 /usr
/athena
/include \
11433 /usr
/local
/x
11r
5/include \
11434 /usr
/lpp
/Xamples
/include \
11436 /usr
/openwin
/include \
11437 /usr
/openwin
/share
/include \
11440 if test -r "$ac_dir/$x_direct_test_include"; then
11441 ac_x_includes
=$ac_dir
11447 fi # $ac_x_includes = NO
11449 if test "$ac_x_libraries" = NO
; then
11450 # Check for the libraries.
11452 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11453 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11455 # See if we find them without any special options.
11456 # Don't add to $LIBS permanently.
11457 ac_save_LIBS
="$LIBS"
11458 LIBS
="-l$x_direct_test_library $LIBS"
11459 cat > conftest.
$ac_ext <<EOF
11460 #line 11461 "configure"
11461 #include "confdefs.h"
11464 ${x_direct_test_function}()
11467 if { (eval echo configure
:11468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11469 LIBS
="$ac_save_LIBS"
11470 # We can link X programs with no special library path.
11473 echo "configure: failed program was:" >&5
11474 cat conftest.
$ac_ext >&5
11476 LIBS
="$ac_save_LIBS"
11477 # First see if replacing the include by lib works.
11478 # Check X11 before X11Rn because it is often a symlink to the current release.
11479 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11490 /usr
/local
/X
11/lib \
11491 /usr
/local
/X
11R
6/lib \
11492 /usr
/local
/X
11R
5/lib \
11493 /usr
/local
/X
11R
4/lib \
11495 /usr
/local
/lib
/X11 \
11496 /usr
/local
/lib
/X11R6 \
11497 /usr
/local
/lib
/X11R5 \
11498 /usr
/local
/lib
/X11R4 \
11502 /usr
/XFree
86/lib
/X11 \
11506 /usr
/unsupported
/lib \
11508 /usr
/local
/x
11r
5/lib \
11509 /usr
/lpp
/Xamples
/lib \
11513 /usr
/openwin
/share
/lib \
11516 for ac_extension
in a so sl
; do
11517 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11518 ac_x_libraries
=$ac_dir
11525 fi # $ac_x_libraries = NO
11527 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11528 # Didn't find X anywhere. Cache the known absence of X.
11529 ac_cv_have_x
="have_x=no"
11531 # Record where we found X for the cache.
11532 ac_cv_have_x
="have_x=yes \
11533 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11537 eval "$ac_cv_have_x"
11540 if test "$have_x" != yes; then
11541 echo "$ac_t""$have_x" 1>&6
11544 # If each of the values was on the command line, it overrides each guess.
11545 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11546 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11547 # Update the cache value to reflect the command line values.
11548 ac_cv_have_x
="have_x=yes \
11549 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11550 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11553 if test "$no_x" = yes; then
11554 # Not all programs may use this symbol, but it does not hurt to define it.
11555 cat >> confdefs.h
<<\EOF
11556 #define X_DISPLAY_MISSING 1
11559 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11561 if test -n "$x_includes"; then
11562 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11565 # It would also be nice to do this for all -L options, not just this one.
11566 if test -n "$x_libraries"; then
11567 X_LIBS
="$X_LIBS -L$x_libraries"
11568 # For Solaris; some versions of Sun CC require a space after -R and
11569 # others require no space. Words are not sufficient . . . .
11570 case "`(uname -sr) 2>/dev/null`" in
11572 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11573 echo "configure:11574: checking whether -R must be followed by a space" >&5
11574 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11575 cat > conftest.
$ac_ext <<EOF
11576 #line 11577 "configure"
11577 #include "confdefs.h"
11583 if { (eval echo configure
:11584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11587 echo "configure: failed program was:" >&5
11588 cat conftest.
$ac_ext >&5
11593 if test $ac_R_nospace = yes; then
11594 echo "$ac_t""no" 1>&6
11595 X_LIBS
="$X_LIBS -R$x_libraries"
11597 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11598 cat > conftest.
$ac_ext <<EOF
11599 #line 11600 "configure"
11600 #include "confdefs.h"
11606 if { (eval echo configure
:11607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11610 echo "configure: failed program was:" >&5
11611 cat conftest.
$ac_ext >&5
11616 if test $ac_R_space = yes; then
11617 echo "$ac_t""yes" 1>&6
11618 X_LIBS
="$X_LIBS -R $x_libraries"
11620 echo "$ac_t""neither works" 1>&6
11623 LIBS
="$ac_xsave_LIBS"
11627 # Check for system-dependent libraries X programs must link with.
11628 # Do this before checking for the system-independent R6 libraries
11629 # (-lICE), since we may need -lsocket or whatever for X linking.
11631 if test "$ISC" = yes; then
11632 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11634 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11635 # libraries were built with DECnet support. And karl@cs.umb.edu says
11636 # the Alpha needs dnet_stub (dnet does not exist).
11637 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11638 echo "configure:11639: checking for dnet_ntoa in -ldnet" >&5
11639 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11641 echo $ac_n "(cached) $ac_c" 1>&6
11643 ac_save_LIBS
="$LIBS"
11644 LIBS
="-ldnet $LIBS"
11645 cat > conftest.
$ac_ext <<EOF
11646 #line 11647 "configure"
11647 #include "confdefs.h"
11648 /* Override any gcc2 internal prototype to avoid an error. */
11649 /* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */
11657 if { (eval echo configure
:11658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11659 eval "ac_cv_lib_$ac_lib_var=yes"
11661 echo "configure: failed program was:" >&5
11662 cat conftest.
$ac_ext >&5
11664 eval "ac_cv_lib_$ac_lib_var=no"
11667 LIBS
="$ac_save_LIBS"
11670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11671 echo "$ac_t""yes" 1>&6
11672 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11674 echo "$ac_t""no" 1>&6
11677 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11678 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11679 echo "configure:11680: checking for dnet_ntoa in -ldnet_stub" >&5
11680 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11681 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11682 echo $ac_n "(cached) $ac_c" 1>&6
11684 ac_save_LIBS
="$LIBS"
11685 LIBS
="-ldnet_stub $LIBS"
11686 cat > conftest.
$ac_ext <<EOF
11687 #line 11688 "configure"
11688 #include "confdefs.h"
11689 /* Override any gcc2 internal prototype to avoid an error. */
11690 /* We use char because int might match the return type of a gcc2
11691 builtin and then its argument prototype would still apply. */
11698 if { (eval echo configure
:11699: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11700 eval "ac_cv_lib_$ac_lib_var=yes"
11702 echo "configure: failed program was:" >&5
11703 cat conftest.
$ac_ext >&5
11705 eval "ac_cv_lib_$ac_lib_var=no"
11708 LIBS
="$ac_save_LIBS"
11711 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11712 echo "$ac_t""yes" 1>&6
11713 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11715 echo "$ac_t""no" 1>&6
11720 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11721 # to get the SysV transport functions.
11722 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11724 # The nsl library prevents programs from opening the X display
11725 # on Irix 5.2, according to dickey@clark.net.
11726 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11727 echo "configure:11728: checking for gethostbyname" >&5
11728 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11729 echo $ac_n "(cached) $ac_c" 1>&6
11731 cat > conftest.
$ac_ext <<EOF
11732 #line 11733 "configure"
11733 #include "confdefs.h"
11734 /* System header to define __stub macros and hopefully few prototypes,
11735 which can conflict with char gethostbyname(); below. */
11736 #include <assert.h>
11737 /* Override any gcc2 internal prototype to avoid an error. */
11738 /* We use char because int might match the return type of a gcc2
11739 builtin and then its argument prototype would still apply. */
11740 char gethostbyname();
11744 /* The GNU C library defines this for functions which it implements
11745 to always fail with ENOSYS. Some functions are actually named
11746 something starting with __ and the normal name is an alias. */
11747 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11755 if { (eval echo configure
:11756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11757 eval "ac_cv_func_gethostbyname=yes"
11759 echo "configure: failed program was:" >&5
11760 cat conftest.
$ac_ext >&5
11762 eval "ac_cv_func_gethostbyname=no"
11767 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11768 echo "$ac_t""yes" 1>&6
11771 echo "$ac_t""no" 1>&6
11774 if test $ac_cv_func_gethostbyname = no
; then
11775 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11776 echo "configure:11777: checking for gethostbyname in -lnsl" >&5
11777 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11778 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11779 echo $ac_n "(cached) $ac_c" 1>&6
11781 ac_save_LIBS
="$LIBS"
11783 cat > conftest.
$ac_ext <<EOF
11784 #line 11785 "configure"
11785 #include "confdefs.h"
11786 /* Override any gcc2 internal prototype to avoid an error. */
11787 /* We use char because int might match the return type of a gcc2
11788 builtin and then its argument prototype would still apply. */
11789 char gethostbyname();
11795 if { (eval echo configure
:11796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11797 eval "ac_cv_lib_$ac_lib_var=yes"
11799 echo "configure: failed program was:" >&5
11800 cat conftest.
$ac_ext >&5
11802 eval "ac_cv_lib_$ac_lib_var=no"
11805 LIBS
="$ac_save_LIBS"
11808 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11809 echo "$ac_t""yes" 1>&6
11810 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11812 echo "$ac_t""no" 1>&6
11817 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11818 # socket/setsockopt and other routines are undefined under SCO ODT
11819 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11820 # on later versions), says simon@lia.di.epfl.ch: it contains
11821 # gethostby* variants that don't use the nameserver (or something).
11822 # -lsocket must be given before -lnsl if both are needed.
11823 # We assume that if connect needs -lnsl, so does gethostbyname.
11824 echo $ac_n "checking for connect""... $ac_c" 1>&6
11825 echo "configure:11826: checking for connect" >&5
11826 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11827 echo $ac_n "(cached) $ac_c" 1>&6
11829 cat > conftest.
$ac_ext <<EOF
11830 #line 11831 "configure"
11831 #include "confdefs.h"
11832 /* System header to define __stub macros and hopefully few prototypes,
11833 which can conflict with char connect(); below. */
11834 #include <assert.h>
11835 /* Override any gcc2 internal prototype to avoid an error. */
11836 /* We use char because int might match the return type of a gcc2
11837 builtin and then its argument prototype would still apply. */
11842 /* The GNU C library defines this for functions which it implements
11843 to always fail with ENOSYS. Some functions are actually named
11844 something starting with __ and the normal name is an alias. */
11845 #if defined (__stub_connect) || defined (__stub___connect)
11853 if { (eval echo configure
:11854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11855 eval "ac_cv_func_connect=yes"
11857 echo "configure: failed program was:" >&5
11858 cat conftest.
$ac_ext >&5
11860 eval "ac_cv_func_connect=no"
11865 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11866 echo "$ac_t""yes" 1>&6
11869 echo "$ac_t""no" 1>&6
11872 if test $ac_cv_func_connect = no
; then
11873 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11874 echo "configure:11875: checking for connect in -lsocket" >&5
11875 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11877 echo $ac_n "(cached) $ac_c" 1>&6
11879 ac_save_LIBS
="$LIBS"
11880 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11881 cat > conftest.
$ac_ext <<EOF
11882 #line 11883 "configure"
11883 #include "confdefs.h"
11884 /* Override any gcc2 internal prototype to avoid an error. */
11885 /* We use char because int might match the return type of a gcc2
11886 builtin and then its argument prototype would still apply. */
11893 if { (eval echo configure
:11894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11895 eval "ac_cv_lib_$ac_lib_var=yes"
11897 echo "configure: failed program was:" >&5
11898 cat conftest.
$ac_ext >&5
11900 eval "ac_cv_lib_$ac_lib_var=no"
11903 LIBS
="$ac_save_LIBS"
11906 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11907 echo "$ac_t""yes" 1>&6
11908 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11910 echo "$ac_t""no" 1>&6
11915 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11916 echo $ac_n "checking for remove""... $ac_c" 1>&6
11917 echo "configure:11918: checking for remove" >&5
11918 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11919 echo $ac_n "(cached) $ac_c" 1>&6
11921 cat > conftest.
$ac_ext <<EOF
11922 #line 11923 "configure"
11923 #include "confdefs.h"
11924 /* System header to define __stub macros and hopefully few prototypes,
11925 which can conflict with char remove(); below. */
11926 #include <assert.h>
11927 /* Override any gcc2 internal prototype to avoid an error. */
11928 /* We use char because int might match the return type of a gcc2
11929 builtin and then its argument prototype would still apply. */
11934 /* The GNU C library defines this for functions which it implements
11935 to always fail with ENOSYS. Some functions are actually named
11936 something starting with __ and the normal name is an alias. */
11937 #if defined (__stub_remove) || defined (__stub___remove)
11945 if { (eval echo configure
:11946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11947 eval "ac_cv_func_remove=yes"
11949 echo "configure: failed program was:" >&5
11950 cat conftest.
$ac_ext >&5
11952 eval "ac_cv_func_remove=no"
11957 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11958 echo "$ac_t""yes" 1>&6
11961 echo "$ac_t""no" 1>&6
11964 if test $ac_cv_func_remove = no
; then
11965 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11966 echo "configure:11967: checking for remove in -lposix" >&5
11967 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11968 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11969 echo $ac_n "(cached) $ac_c" 1>&6
11971 ac_save_LIBS
="$LIBS"
11972 LIBS
="-lposix $LIBS"
11973 cat > conftest.
$ac_ext <<EOF
11974 #line 11975 "configure"
11975 #include "confdefs.h"
11976 /* Override any gcc2 internal prototype to avoid an error. */
11977 /* We use char because int might match the return type of a gcc2
11978 builtin and then its argument prototype would still apply. */
11985 if { (eval echo configure
:11986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11987 eval "ac_cv_lib_$ac_lib_var=yes"
11989 echo "configure: failed program was:" >&5
11990 cat conftest.
$ac_ext >&5
11992 eval "ac_cv_lib_$ac_lib_var=no"
11995 LIBS
="$ac_save_LIBS"
11998 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11999 echo "$ac_t""yes" 1>&6
12000 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12002 echo "$ac_t""no" 1>&6
12007 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12008 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12009 echo "configure:12010: checking for shmat" >&5
12010 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12011 echo $ac_n "(cached) $ac_c" 1>&6
12013 cat > conftest.
$ac_ext <<EOF
12014 #line 12015 "configure"
12015 #include "confdefs.h"
12016 /* System header to define __stub macros and hopefully few prototypes,
12017 which can conflict with char shmat(); below. */
12018 #include <assert.h>
12019 /* Override any gcc2 internal prototype to avoid an error. */
12020 /* We use char because int might match the return type of a gcc2
12021 builtin and then its argument prototype would still apply. */
12026 /* The GNU C library defines this for functions which it implements
12027 to always fail with ENOSYS. Some functions are actually named
12028 something starting with __ and the normal name is an alias. */
12029 #if defined (__stub_shmat) || defined (__stub___shmat)
12037 if { (eval echo configure
:12038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12039 eval "ac_cv_func_shmat=yes"
12041 echo "configure: failed program was:" >&5
12042 cat conftest.
$ac_ext >&5
12044 eval "ac_cv_func_shmat=no"
12049 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12050 echo "$ac_t""yes" 1>&6
12053 echo "$ac_t""no" 1>&6
12056 if test $ac_cv_func_shmat = no
; then
12057 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12058 echo "configure:12059: checking for shmat in -lipc" >&5
12059 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12060 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12061 echo $ac_n "(cached) $ac_c" 1>&6
12063 ac_save_LIBS
="$LIBS"
12065 cat > conftest.
$ac_ext <<EOF
12066 #line 12067 "configure"
12067 #include "confdefs.h"
12068 /* Override any gcc2 internal prototype to avoid an error. */
12069 /* We use char because int might match the return type of a gcc2
12070 builtin and then its argument prototype would still apply. */
12077 if { (eval echo configure
:12078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12079 eval "ac_cv_lib_$ac_lib_var=yes"
12081 echo "configure: failed program was:" >&5
12082 cat conftest.
$ac_ext >&5
12084 eval "ac_cv_lib_$ac_lib_var=no"
12087 LIBS
="$ac_save_LIBS"
12090 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12091 echo "$ac_t""yes" 1>&6
12092 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12094 echo "$ac_t""no" 1>&6
12100 # Check for libraries that X11R6 Xt/Xaw programs need.
12101 ac_save_LDFLAGS
="$LDFLAGS"
12102 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12103 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12104 # check for ICE first), but we must link in the order -lSM -lICE or
12105 # we get undefined symbols. So assume we have SM if we have ICE.
12106 # These have to be linked with before -lX11, unlike the other
12107 # libraries we check for below, so use a different variable.
12108 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12109 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12110 echo "configure:12111: checking for IceConnectionNumber in -lICE" >&5
12111 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12112 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12113 echo $ac_n "(cached) $ac_c" 1>&6
12115 ac_save_LIBS
="$LIBS"
12116 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12117 cat > conftest.
$ac_ext <<EOF
12118 #line 12119 "configure"
12119 #include "confdefs.h"
12120 /* Override any gcc2 internal prototype to avoid an error. */
12121 /* We use char because int might match the return type of a gcc2
12122 builtin and then its argument prototype would still apply. */
12123 char IceConnectionNumber();
12126 IceConnectionNumber()
12129 if { (eval echo configure
:12130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12131 eval "ac_cv_lib_$ac_lib_var=yes"
12133 echo "configure: failed program was:" >&5
12134 cat conftest.
$ac_ext >&5
12136 eval "ac_cv_lib_$ac_lib_var=no"
12139 LIBS
="$ac_save_LIBS"
12142 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12143 echo "$ac_t""yes" 1>&6
12144 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12146 echo "$ac_t""no" 1>&6
12149 LDFLAGS
="$ac_save_LDFLAGS"
12154 if test "$no_x" = "yes"; then
12155 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12158 GUI_TK_LIBRARY
="$X_LIBS"
12159 TOOLKIT_INCLUDE
="$X_CFLAGS"
12160 AFMINSTALL
=afminstall
12161 COMPILED_X_PROGRAM
=0
12163 if test "$wxUSE_NANOX" = "yes"; then
12164 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
12165 echo "configure:12166: checking for MicroWindows/NanoX distribution" >&5
12166 if test "x$MICROWIN" = x
; then
12167 echo "$ac_t""not found" 1>&6
12168 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
12170 echo "$ac_t""$MICROWIN" 1>&6
12171 cat >> confdefs.h
<<\EOF
12172 #define wxUSE_NANOX 1
12179 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12180 echo "configure:12181: checking for Xpm library" >&5
12183 for ac_dir
in $SEARCH_LIB;
12185 for ac_extension
in a so sl dylib
; do
12186 if test -f "$ac_dir/libXpm.$ac_extension"; then
12187 ac_find_libraries
=$ac_dir
12193 if test "$ac_find_libraries" != "" ; then
12195 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12197 if test $result = 0; then
12200 ac_path_to_link
=" -L$ac_find_libraries"
12203 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12205 cat >> confdefs.h
<<\EOF
12206 #define wxHAVE_LIB_XPM 1
12209 echo "$ac_t""found at $ac_find_libraries" 1>&6
12211 cat > conftest.
$ac_ext <<EOF
12212 #line 12213 "configure"
12213 #include "confdefs.h"
12215 #include <X11/xpm.h>
12220 version = XpmLibraryVersion();
12224 if { (eval echo configure
:12225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12228 cat >> confdefs.h
<<\EOF
12229 #define wxHAVE_LIB_XPM 1
12232 echo "$ac_t""found in default search path" 1>&6
12233 COMPILED_X_PROGRAM
=0
12236 echo "configure: failed program was:" >&5
12237 cat conftest.
$ac_ext >&5
12240 echo "$ac_t""no" 1>&6
12241 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12248 if test "$wxUSE_NANOX" = "yes"; then
12249 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
12250 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DLINUX=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
12251 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
12253 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
12256 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
12261 if test "$wxUSE_WINE" = 1; then
12262 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12263 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12264 echo "configure:12265: checking for windows.h" >&5
12265 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12266 echo $ac_n "(cached) $ac_c" 1>&6
12268 cat > conftest.
$ac_ext <<EOF
12269 #line 12270 "configure"
12270 #include "confdefs.h"
12271 #include <windows.h>
12273 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12274 { (eval echo configure
:12275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12275 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12276 if test -z "$ac_err"; then
12278 eval "ac_cv_header_$ac_safe=yes"
12281 echo "configure: failed program was:" >&5
12282 cat conftest.
$ac_ext >&5
12284 eval "ac_cv_header_$ac_safe=no"
12288 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12289 echo "$ac_t""yes" 1>&6
12292 echo "$ac_t""no" 1>&6
12294 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12300 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12301 echo "configure:12302: checking for Xpm library" >&5
12304 for ac_dir
in $SEARCH_LIB;
12306 for ac_extension
in a so sl dylib
; do
12307 if test -f "$ac_dir/libXpm.$ac_extension"; then
12308 ac_find_libraries
=$ac_dir
12314 if test "$ac_find_libraries" != "" ; then
12315 GUI_TK_LIBRARY
="-L$ac_find_libraries"
12317 cat >> confdefs.h
<<\EOF
12318 #define wxHAVE_LIB_XPM 1
12321 echo "$ac_t""found at $ac_find_libraries" 1>&6
12323 echo "$ac_t""no" 1>&6
12324 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12328 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
12329 echo "configure:12330: checking for Mesa library" >&5
12332 for ac_dir
in $SEARCH_LIB;
12334 for ac_extension
in a so sl dylib
; do
12335 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12336 ac_find_libraries
=$ac_dir
12342 if test "$ac_find_libraries" != "" ; then
12343 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
12344 mesa_link
=" -lMesaGL"
12345 echo "$ac_t""found at $ac_find_libraries" 1>&6
12347 { echo "configure: error: no" 1>&2; exit 1; }
12350 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
12353 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
12356 if test "$wxUSE_MOTIF" = 1; then
12357 if test "$no_x" = yes; then
12358 # Not all programs may use this symbol, but it does not hurt to define it.
12359 cat >> confdefs.h
<<\EOF
12360 #define X_DISPLAY_MISSING 1
12363 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
12365 if test -n "$x_includes"; then
12366 X_CFLAGS
="$X_CFLAGS -I$x_includes"
12369 # It would also be nice to do this for all -L options, not just this one.
12370 if test -n "$x_libraries"; then
12371 X_LIBS
="$X_LIBS -L$x_libraries"
12372 # For Solaris; some versions of Sun CC require a space after -R and
12373 # others require no space. Words are not sufficient . . . .
12374 case "`(uname -sr) 2>/dev/null`" in
12376 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
12377 echo "configure:12378: checking whether -R must be followed by a space" >&5
12378 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
12379 cat > conftest.
$ac_ext <<EOF
12380 #line 12381 "configure"
12381 #include "confdefs.h"
12387 if { (eval echo configure
:12388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12391 echo "configure: failed program was:" >&5
12392 cat conftest.
$ac_ext >&5
12397 if test $ac_R_nospace = yes; then
12398 echo "$ac_t""no" 1>&6
12399 X_LIBS
="$X_LIBS -R$x_libraries"
12401 LIBS
="$ac_xsave_LIBS -R $x_libraries"
12402 cat > conftest.
$ac_ext <<EOF
12403 #line 12404 "configure"
12404 #include "confdefs.h"
12410 if { (eval echo configure
:12411: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12414 echo "configure: failed program was:" >&5
12415 cat conftest.
$ac_ext >&5
12420 if test $ac_R_space = yes; then
12421 echo "$ac_t""yes" 1>&6
12422 X_LIBS
="$X_LIBS -R $x_libraries"
12424 echo "$ac_t""neither works" 1>&6
12427 LIBS
="$ac_xsave_LIBS"
12431 # Check for system-dependent libraries X programs must link with.
12432 # Do this before checking for the system-independent R6 libraries
12433 # (-lICE), since we may need -lsocket or whatever for X linking.
12435 if test "$ISC" = yes; then
12436 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
12438 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
12439 # libraries were built with DECnet support. And karl@cs.umb.edu says
12440 # the Alpha needs dnet_stub (dnet does not exist).
12441 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
12442 echo "configure:12443: checking for dnet_ntoa in -ldnet" >&5
12443 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12444 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12445 echo $ac_n "(cached) $ac_c" 1>&6
12447 ac_save_LIBS
="$LIBS"
12448 LIBS
="-ldnet $LIBS"
12449 cat > conftest.
$ac_ext <<EOF
12450 #line 12451 "configure"
12451 #include "confdefs.h"
12452 /* Override any gcc2 internal prototype to avoid an error. */
12453 /* We use char because int might match the return type of a gcc2
12454 builtin and then its argument prototype would still apply. */
12461 if { (eval echo configure
:12462: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12463 eval "ac_cv_lib_$ac_lib_var=yes"
12465 echo "configure: failed program was:" >&5
12466 cat conftest.
$ac_ext >&5
12468 eval "ac_cv_lib_$ac_lib_var=no"
12471 LIBS
="$ac_save_LIBS"
12474 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12475 echo "$ac_t""yes" 1>&6
12476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
12478 echo "$ac_t""no" 1>&6
12481 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
12482 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
12483 echo "configure:12484: checking for dnet_ntoa in -ldnet_stub" >&5
12484 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
12485 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12486 echo $ac_n "(cached) $ac_c" 1>&6
12488 ac_save_LIBS
="$LIBS"
12489 LIBS
="-ldnet_stub $LIBS"
12490 cat > conftest.
$ac_ext <<EOF
12491 #line 12492 "configure"
12492 #include "confdefs.h"
12493 /* Override any gcc2 internal prototype to avoid an error. */
12494 /* We use char because int might match the return type of a gcc2
12495 builtin and then its argument prototype would still apply. */
12502 if { (eval echo configure
:12503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12504 eval "ac_cv_lib_$ac_lib_var=yes"
12506 echo "configure: failed program was:" >&5
12507 cat conftest.
$ac_ext >&5
12509 eval "ac_cv_lib_$ac_lib_var=no"
12512 LIBS
="$ac_save_LIBS"
12515 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12516 echo "$ac_t""yes" 1>&6
12517 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
12519 echo "$ac_t""no" 1>&6
12524 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12525 # to get the SysV transport functions.
12526 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
12528 # The nsl library prevents programs from opening the X display
12529 # on Irix 5.2, according to dickey@clark.net.
12530 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
12531 echo "configure:12532: checking for gethostbyname" >&5
12532 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
12533 echo $ac_n "(cached) $ac_c" 1>&6
12535 cat > conftest.
$ac_ext <<EOF
12536 #line 12537 "configure"
12537 #include "confdefs.h"
12538 /* System header to define __stub macros and hopefully few prototypes,
12539 which can conflict with char gethostbyname(); below. */
12540 #include <assert.h>
12541 /* Override any gcc2 internal prototype to avoid an error. */
12542 /* We use char because int might match the return type of a gcc2
12543 builtin and then its argument prototype would still apply. */
12544 char gethostbyname();
12548 /* The GNU C library defines this for functions which it implements
12549 to always fail with ENOSYS. Some functions are actually named
12550 something starting with __ and the normal name is an alias. */
12551 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
12559 if { (eval echo configure
:12560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12561 eval "ac_cv_func_gethostbyname=yes"
12563 echo "configure: failed program was:" >&5
12564 cat conftest.
$ac_ext >&5
12566 eval "ac_cv_func_gethostbyname=no"
12571 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
12572 echo "$ac_t""yes" 1>&6
12575 echo "$ac_t""no" 1>&6
12578 if test $ac_cv_func_gethostbyname = no
; then
12579 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
12580 echo "configure:12581: checking for gethostbyname in -lnsl" >&5
12581 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
12582 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12583 echo $ac_n "(cached) $ac_c" 1>&6
12585 ac_save_LIBS
="$LIBS"
12587 cat > conftest.
$ac_ext <<EOF
12588 #line 12589 "configure"
12589 #include "confdefs.h"
12590 /* Override any gcc2 internal prototype to avoid an error. */
12591 /* We use char because int might match the return type of a gcc2
12592 builtin and then its argument prototype would still apply. */
12593 char gethostbyname();
12599 if { (eval echo configure
:12600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12601 eval "ac_cv_lib_$ac_lib_var=yes"
12603 echo "configure: failed program was:" >&5
12604 cat conftest.
$ac_ext >&5
12606 eval "ac_cv_lib_$ac_lib_var=no"
12609 LIBS
="$ac_save_LIBS"
12612 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12613 echo "$ac_t""yes" 1>&6
12614 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
12616 echo "$ac_t""no" 1>&6
12621 # lieder@skyler.mavd.honeywell.com says without -lsocket,
12622 # socket/setsockopt and other routines are undefined under SCO ODT
12623 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
12624 # on later versions), says simon@lia.di.epfl.ch: it contains
12625 # gethostby* variants that don't use the nameserver (or something).
12626 # -lsocket must be given before -lnsl if both are needed.
12627 # We assume that if connect needs -lnsl, so does gethostbyname.
12628 echo $ac_n "checking for connect""... $ac_c" 1>&6
12629 echo "configure:12630: checking for connect" >&5
12630 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
12631 echo $ac_n "(cached) $ac_c" 1>&6
12633 cat > conftest.
$ac_ext <<EOF
12634 #line 12635 "configure"
12635 #include "confdefs.h"
12636 /* System header to define __stub macros and hopefully few prototypes,
12637 which can conflict with char connect(); below. */
12638 #include <assert.h>
12639 /* Override any gcc2 internal prototype to avoid an error. */
12640 /* We use char because int might match the return type of a gcc2
12641 builtin and then its argument prototype would still apply. */
12646 /* The GNU C library defines this for functions which it implements
12647 to always fail with ENOSYS. Some functions are actually named
12648 something starting with __ and the normal name is an alias. */
12649 #if defined (__stub_connect) || defined (__stub___connect)
12657 if { (eval echo configure
:12658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12659 eval "ac_cv_func_connect=yes"
12661 echo "configure: failed program was:" >&5
12662 cat conftest.
$ac_ext >&5
12664 eval "ac_cv_func_connect=no"
12669 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
12670 echo "$ac_t""yes" 1>&6
12673 echo "$ac_t""no" 1>&6
12676 if test $ac_cv_func_connect = no
; then
12677 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
12678 echo "configure:12679: checking for connect in -lsocket" >&5
12679 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
12680 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12681 echo $ac_n "(cached) $ac_c" 1>&6
12683 ac_save_LIBS
="$LIBS"
12684 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
12685 cat > conftest.
$ac_ext <<EOF
12686 #line 12687 "configure"
12687 #include "confdefs.h"
12688 /* Override any gcc2 internal prototype to avoid an error. */
12689 /* We use char because int might match the return type of a gcc2
12690 builtin and then its argument prototype would still apply. */
12697 if { (eval echo configure
:12698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12699 eval "ac_cv_lib_$ac_lib_var=yes"
12701 echo "configure: failed program was:" >&5
12702 cat conftest.
$ac_ext >&5
12704 eval "ac_cv_lib_$ac_lib_var=no"
12707 LIBS
="$ac_save_LIBS"
12710 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12711 echo "$ac_t""yes" 1>&6
12712 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
12714 echo "$ac_t""no" 1>&6
12719 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
12720 echo $ac_n "checking for remove""... $ac_c" 1>&6
12721 echo "configure:12722: checking for remove" >&5
12722 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
12723 echo $ac_n "(cached) $ac_c" 1>&6
12725 cat > conftest.
$ac_ext <<EOF
12726 #line 12727 "configure"
12727 #include "confdefs.h"
12728 /* System header to define __stub macros and hopefully few prototypes,
12729 which can conflict with char remove(); below. */
12730 #include <assert.h>
12731 /* Override any gcc2 internal prototype to avoid an error. */
12732 /* We use char because int might match the return type of a gcc2
12733 builtin and then its argument prototype would still apply. */
12738 /* The GNU C library defines this for functions which it implements
12739 to always fail with ENOSYS. Some functions are actually named
12740 something starting with __ and the normal name is an alias. */
12741 #if defined (__stub_remove) || defined (__stub___remove)
12749 if { (eval echo configure
:12750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12751 eval "ac_cv_func_remove=yes"
12753 echo "configure: failed program was:" >&5
12754 cat conftest.
$ac_ext >&5
12756 eval "ac_cv_func_remove=no"
12761 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12762 echo "$ac_t""yes" 1>&6
12765 echo "$ac_t""no" 1>&6
12768 if test $ac_cv_func_remove = no
; then
12769 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12770 echo "configure:12771: checking for remove in -lposix" >&5
12771 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12773 echo $ac_n "(cached) $ac_c" 1>&6
12775 ac_save_LIBS
="$LIBS"
12776 LIBS
="-lposix $LIBS"
12777 cat > conftest.
$ac_ext <<EOF
12778 #line 12779 "configure"
12779 #include "confdefs.h"
12780 /* Override any gcc2 internal prototype to avoid an error. */
12781 /* We use char because int might match the return type of a gcc2
12782 builtin and then its argument prototype would still apply. */
12789 if { (eval echo configure
:12790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12791 eval "ac_cv_lib_$ac_lib_var=yes"
12793 echo "configure: failed program was:" >&5
12794 cat conftest.
$ac_ext >&5
12796 eval "ac_cv_lib_$ac_lib_var=no"
12799 LIBS
="$ac_save_LIBS"
12802 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12803 echo "$ac_t""yes" 1>&6
12804 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12806 echo "$ac_t""no" 1>&6
12811 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12812 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12813 echo "configure:12814: checking for shmat" >&5
12814 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12815 echo $ac_n "(cached) $ac_c" 1>&6
12817 cat > conftest.
$ac_ext <<EOF
12818 #line 12819 "configure"
12819 #include "confdefs.h"
12820 /* System header to define __stub macros and hopefully few prototypes,
12821 which can conflict with char shmat(); below. */
12822 #include <assert.h>
12823 /* Override any gcc2 internal prototype to avoid an error. */
12824 /* We use char because int might match the return type of a gcc2
12825 builtin and then its argument prototype would still apply. */
12830 /* The GNU C library defines this for functions which it implements
12831 to always fail with ENOSYS. Some functions are actually named
12832 something starting with __ and the normal name is an alias. */
12833 #if defined (__stub_shmat) || defined (__stub___shmat)
12841 if { (eval echo configure
:12842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12843 eval "ac_cv_func_shmat=yes"
12845 echo "configure: failed program was:" >&5
12846 cat conftest.
$ac_ext >&5
12848 eval "ac_cv_func_shmat=no"
12853 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12854 echo "$ac_t""yes" 1>&6
12857 echo "$ac_t""no" 1>&6
12860 if test $ac_cv_func_shmat = no
; then
12861 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12862 echo "configure:12863: checking for shmat in -lipc" >&5
12863 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12865 echo $ac_n "(cached) $ac_c" 1>&6
12867 ac_save_LIBS
="$LIBS"
12869 cat > conftest.
$ac_ext <<EOF
12870 #line 12871 "configure"
12871 #include "confdefs.h"
12872 /* Override any gcc2 internal prototype to avoid an error. */
12873 /* We use char because int might match the return type of a gcc2
12874 builtin and then its argument prototype would still apply. */
12881 if { (eval echo configure
:12882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12883 eval "ac_cv_lib_$ac_lib_var=yes"
12885 echo "configure: failed program was:" >&5
12886 cat conftest.
$ac_ext >&5
12888 eval "ac_cv_lib_$ac_lib_var=no"
12891 LIBS
="$ac_save_LIBS"
12894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12895 echo "$ac_t""yes" 1>&6
12896 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12898 echo "$ac_t""no" 1>&6
12904 # Check for libraries that X11R6 Xt/Xaw programs need.
12905 ac_save_LDFLAGS
="$LDFLAGS"
12906 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12907 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12908 # check for ICE first), but we must link in the order -lSM -lICE or
12909 # we get undefined symbols. So assume we have SM if we have ICE.
12910 # These have to be linked with before -lX11, unlike the other
12911 # libraries we check for below, so use a different variable.
12912 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12913 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12914 echo "configure:12915: checking for IceConnectionNumber in -lICE" >&5
12915 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12916 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12917 echo $ac_n "(cached) $ac_c" 1>&6
12919 ac_save_LIBS
="$LIBS"
12920 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12921 cat > conftest.
$ac_ext <<EOF
12922 #line 12923 "configure"
12923 #include "confdefs.h"
12924 /* Override any gcc2 internal prototype to avoid an error. */
12925 /* We use char because int might match the return type of a gcc2
12926 builtin and then its argument prototype would still apply. */
12927 char IceConnectionNumber();
12930 IceConnectionNumber()
12933 if { (eval echo configure
:12934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12935 eval "ac_cv_lib_$ac_lib_var=yes"
12937 echo "configure: failed program was:" >&5
12938 cat conftest.
$ac_ext >&5
12940 eval "ac_cv_lib_$ac_lib_var=no"
12943 LIBS
="$ac_save_LIBS"
12946 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12947 echo "$ac_t""yes" 1>&6
12948 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12950 echo "$ac_t""no" 1>&6
12953 LDFLAGS
="$ac_save_LDFLAGS"
12958 if test "$no_x" = "yes"; then
12959 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12962 GUI_TK_LIBRARY
="$X_LIBS"
12963 TOOLKIT_INCLUDE
="$X_CFLAGS"
12964 AFMINSTALL
=afminstall
12965 COMPILED_X_PROGRAM
=0
12967 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12968 echo "configure:12969: checking for Motif/Lesstif headers" >&5
12971 for ac_dir
in $SEARCH_INCLUDE;
12973 if test -f "$ac_dir/Xm/Xm.h"; then
12974 ac_find_includes
=$ac_dir
12979 if test "$ac_find_includes" != "" ; then
12980 echo "$ac_t""found $ac_find_includes" 1>&6
12982 cat > conftest.
$ac_ext <<EOF
12983 #line 12984 "configure"
12984 #include "confdefs.h"
12991 version = xmUseVersion;
12995 if { (eval echo configure
:12996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12998 echo "$ac_t""found in default search path" 1>&6
12999 COMPILED_X_PROGRAM
=1
13002 echo "configure: failed program was:" >&5
13003 cat conftest.
$ac_ext >&5
13006 echo "$ac_t""no" 1>&6
13007 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
13014 if test "$COMPILED_X_PROGRAM" = 0; then
13015 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
13016 echo "configure:13017: checking for Motif/Lesstif library" >&5
13019 for ac_dir
in $SEARCH_LIB;
13021 for ac_extension
in a so sl dylib
; do
13022 if test -f "$ac_dir/libXm.$ac_extension"; then
13023 ac_find_libraries
=$ac_dir
13029 if test "$ac_find_libraries" != "" ; then
13031 ac_path_to_include
=$ac_find_includes
13032 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
13034 if test $result = 0; then
13035 ac_path_to_include
=""
13037 ac_path_to_include
=" -I$ac_find_includes"
13041 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13043 if test $result = 0; then
13046 ac_path_to_link
=" -L$ac_find_libraries"
13050 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13051 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
13052 echo "$ac_t""found at $ac_find_libraries" 1>&6
13054 cat > conftest.
$ac_ext <<EOF
13055 #line 13056 "configure"
13056 #include "confdefs.h"
13063 version = xmUseVersion;
13067 if { (eval echo configure
:13068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13070 echo "$ac_t""found in default search path" 1>&6
13071 COMPILED_X_PROGRAM
=1
13074 echo "configure: failed program was:" >&5
13075 cat conftest.
$ac_ext >&5
13078 echo "$ac_t""no" 1>&6
13079 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
13088 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13089 echo "configure:13090: checking for Xpm library" >&5
13092 for ac_dir
in $SEARCH_LIB;
13094 for ac_extension
in a so sl dylib
; do
13095 if test -f "$ac_dir/libXpm.$ac_extension"; then
13096 ac_find_libraries
=$ac_dir
13102 if test "$ac_find_libraries" != "" ; then
13104 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13106 if test $result = 0; then
13109 ac_path_to_link
=" -L$ac_find_libraries"
13112 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13114 cat >> confdefs.h
<<\EOF
13115 #define wxHAVE_LIB_XPM 1
13118 echo "$ac_t""found at $ac_find_libraries" 1>&6
13120 cat > conftest.
$ac_ext <<EOF
13121 #line 13122 "configure"
13122 #include "confdefs.h"
13124 #include <X11/xpm.h>
13129 version = XpmLibraryVersion();
13133 if { (eval echo configure
:13134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13137 cat >> confdefs.h
<<\EOF
13138 #define wxHAVE_LIB_XPM 1
13141 echo "$ac_t""found in default search path" 1>&6
13142 COMPILED_X_PROGRAM
=0
13145 echo "configure: failed program was:" >&5
13146 cat conftest.
$ac_ext >&5
13149 echo "$ac_t""no" 1>&6
13150 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13157 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
13158 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
13163 if test "$wxUSE_MAC" = 1; then
13164 if test "$wxUSE_PRECOMP" = "yes"; then
13165 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
13167 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
13168 CFLAGS
="$CFLAGS -fpascal-strings"
13169 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
13171 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
13176 if test "$wxUSE_PM" = 1; then
13181 if test "$TOOLKIT" = "PM" ; then
13184 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
13187 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
13189 if test "$wxUSE_UNIVERSAL" = "yes"; then
13190 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
13192 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
13193 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
13195 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
13196 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
13197 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
13200 ALL_OBJECTS
="\$(GUIOBJS)"
13201 ALL_SOURCES
="\$(ALL_SOURCES)"
13202 ALL_HEADERS
="\$(ALL_HEADERS)"
13205 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
13207 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
13208 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
13211 if test "$wxUSE_HTML" = "yes"; then
13212 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
13215 if test "$wxUSE_LIBJPEG" = "builtin" ; then
13216 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
13218 if test "$wxUSE_LIBTIFF" = "builtin" ; then
13219 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
13221 if test "$wxUSE_LIBPNG" = "builtin" ; then
13222 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
13225 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
13226 DISTDIR
="wx\$(TOOLKIT)"
13232 if test "$USE_WIN32" = 1 ; then
13233 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
13234 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
13238 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
13239 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
13242 ALL_SOURCES
="\$(ALL_SOURCES)"
13243 ALL_HEADERS
="\$(ALL_HEADERS)"
13245 PORT_FILES
="\${top_srcdir}/src/files.lst"
13247 GUIDIST
="BASE_DIST"
13252 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
13253 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
13256 if test "$wxUSE_REGEX" = "builtin" ; then
13257 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
13259 if test "$wxUSE_ZLIB" = "builtin" ; then
13260 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
13263 if test "$wxUSE_OPENGL" = "yes"; then
13264 if test "$wxUSE_MAC" = 1; then
13265 OPENGL_LIBS
="-framework OpenGL -framework AGL"
13268 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13269 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13270 echo "configure:13271: checking for GL/gl.h" >&5
13271 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13272 echo $ac_n "(cached) $ac_c" 1>&6
13274 cat > conftest.
$ac_ext <<EOF
13275 #line 13276 "configure"
13276 #include "confdefs.h"
13279 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13280 { (eval echo configure
:13281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13281 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13282 if test -z "$ac_err"; then
13284 eval "ac_cv_header_$ac_safe=yes"
13287 echo "configure: failed program was:" >&5
13288 cat conftest.
$ac_ext >&5
13290 eval "ac_cv_header_$ac_safe=no"
13294 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13295 echo "$ac_t""yes" 1>&6
13297 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
13298 echo "configure:13299: checking for -lGL" >&5
13301 for ac_dir
in $SEARCH_LIB;
13303 for ac_extension
in a so sl dylib
; do
13304 if test -f "$ac_dir/libGL.$ac_extension"; then
13305 ac_find_libraries
=$ac_dir
13311 if test "$ac_find_libraries" != "" ; then
13313 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13315 if test $result = 0; then
13318 ac_path_to_link
=" -L$ac_find_libraries"
13321 if test "$ac_path_to_link" = " -L/usr/lib" ; then
13322 LDFLAGS_GL
="$LDFLAGS"
13324 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13326 OPENGL_LIBS
="-lGL -lGLU"
13327 echo "$ac_t""yes" 1>&6
13329 echo "$ac_t""no" 1>&6
13330 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
13331 echo "configure:13332: checking for -lMesaGL" >&5
13334 for ac_dir
in $SEARCH_LIB;
13336 for ac_extension
in a so sl dylib
; do
13337 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13338 ac_find_libraries
=$ac_dir
13344 if test "$ac_find_libraries" != "" ; then
13346 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
13348 if test $result = 0; then
13351 ac_path_to_link
=" -L$ac_find_libraries"
13354 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
13355 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
13356 echo "$ac_t""yes" 1>&6
13358 echo "$ac_t""no" 1>&6
13363 echo "$ac_t""no" 1>&6
13368 # AC_CHECK_HEADER(GL/gl.h,
13370 # AC_CHECK_LIB(GL, glFlush,
13372 # OPENGL_LIBS="-lGL -lGLU"
13375 # AC_CHECK_LIB(MesaGL, glFlush,
13377 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
13385 if test "x$OPENGL_LIBS" = "x"; then
13386 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
13390 if test "$wxUSE_OPENGL" = "yes"; then
13391 cat >> confdefs.h
<<\EOF
13392 #define wxUSE_OPENGL 1
13395 cat >> confdefs.h
<<\EOF
13396 #define wxUSE_GLCANVAS 1
13399 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
13403 if test -z "$TOOLKIT_VPATH" ; then
13404 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
13407 if test -n "$TOOLKIT" ; then
13408 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
13411 lib_unicode_suffix
=
13412 if test "$wxUSE_UNICODE" = "yes"; then
13413 lib_unicode_suffix
=u
13417 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
13421 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
13422 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
13424 if test "$cross_compiling" = "yes"; then
13425 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
13426 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
13429 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
13430 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
13432 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13433 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
13435 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
13436 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13437 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
13438 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13440 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
13441 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
13444 *-*-cygwin* | *-*-mingw32* )
13448 if test "$cross_compiling" != "yes"; then
13449 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13450 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
13451 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
13452 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
13454 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
13455 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
13460 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
13461 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
13463 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
13464 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
13466 if test "$wxUSE_OPENGL" = "yes"; then
13467 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
13468 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
13473 if test "$wxUSE_SHARED" = "yes"; then
13475 *-pc-os2_emx | *-pc-os2-emx | \
13478 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
13483 if test "$wxUSE_SHARED" = "yes"; then
13485 if test "$wxUSE_OPENGL" = "yes"; then
13486 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
13487 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
13489 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
13490 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
13493 if test "$GCC" = "yes"; then
13497 SHARED_LD
="${CXX} -shared -o"
13501 if test "$GCC" == "yes"; then
13502 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
13504 LDFLAGS
="$LDFLAGS -L/usr/lib"
13506 SHARED_LD
="${CXX} -b -o"
13510 if test "$wxUSE_OPENGL" = "yes"; then
13511 WX_ALL_INSTALLED
="preinstall_gl"
13512 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13514 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13519 if test "$GCC" != "yes"; then
13520 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
13521 echo "configure:13522: checking for Intel compiler" >&5
13522 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
13523 echo $ac_n "(cached) $ac_c" 1>&6
13526 cat > conftest.
$ac_ext <<EOF
13527 #line 13528 "configure"
13528 #include "confdefs.h"
13532 #ifndef __INTEL_COMPILER
13538 if { (eval echo configure
:13539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13542 echo "configure: failed program was:" >&5
13543 cat conftest.
$ac_ext >&5
13552 echo "$ac_t""$wx_cv_prog_icc" 1>&6
13553 if test "$wx_cv_prog_icc" = "yes"; then
13558 if test "$wxUSE_SONAME" = "yes" ; then
13559 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
13560 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
13561 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
13566 if test "$GCC" = yes ; then
13567 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
13569 SHARED_LD
="${CXX} -G -o"
13571 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
13572 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
13577 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
13578 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
13579 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
13580 PIC_FLAG
="-dynamic -fPIC"
13584 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
13587 *-*-cygwin* | *-*-mingw32* )
13589 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
13591 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
13592 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
13594 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
13596 if test "$wxUSE_OPENGL" = "yes"; then
13597 WX_ALL_INSTALLED
="preinstall_gl"
13598 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
13600 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
13605 SHARED_LD
="${LD} -shared -o"
13608 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
13610 *-*-irix5* | *-*-irix6* | \
13617 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
13620 if test "x$WX_TARGET_LIBRARY" = "x"; then
13621 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
13622 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
13625 WX_TARGET_LIBRARY_TYPE
="so"
13626 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
13629 if test "$wxUSE_SHARED" = "no"; then
13631 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
13632 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13635 if test "$wxUSE_MAC" = 1; then
13636 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
13639 if test "$wxUSE_OPENGL" = "yes"; then
13640 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
13641 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
13643 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
13646 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
13647 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
13649 WX_TARGET_LIBRARY_TYPE
="a"
13650 INSTALL_LIBRARY
='$(INSTALL_DATA)'
13653 if test "$wxUSE_MAC" = 1; then
13654 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
13655 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
13656 # Extract the first word of "Rez", so it can be a program name with args.
13657 set dummy Rez
; ac_word
=$2
13658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13659 echo "configure:13660: checking for $ac_word" >&5
13660 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
13661 echo $ac_n "(cached) $ac_c" 1>&6
13663 if test -n "$RESCOMP"; then
13664 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
13666 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13668 for ac_dir
in $ac_dummy; do
13669 test -z "$ac_dir" && ac_dir
=.
13670 if test -f $ac_dir/$ac_word; then
13671 ac_cv_prog_RESCOMP
="Rez"
13676 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
13679 RESCOMP
="$ac_cv_prog_RESCOMP"
13680 if test -n "$RESCOMP"; then
13681 echo "$ac_t""$RESCOMP" 1>&6
13683 echo "$ac_t""no" 1>&6
13686 # Extract the first word of "DeRez", so it can be a program name with args.
13687 set dummy DeRez
; ac_word
=$2
13688 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13689 echo "configure:13690: checking for $ac_word" >&5
13690 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
13691 echo $ac_n "(cached) $ac_c" 1>&6
13693 if test -n "$DEREZ"; then
13694 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
13696 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13698 for ac_dir
in $ac_dummy; do
13699 test -z "$ac_dir" && ac_dir
=.
13700 if test -f $ac_dir/$ac_word; then
13701 ac_cv_prog_DEREZ
="DeRez"
13706 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
13709 DEREZ
="$ac_cv_prog_DEREZ"
13710 if test -n "$DEREZ"; then
13711 echo "$ac_t""$DEREZ" 1>&6
13713 echo "$ac_t""no" 1>&6
13716 MACOSX_BUNDLE
="bundle"
13717 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
13718 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
13719 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
13721 if test "$wxUSE_PM" = 1; then
13722 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
13727 if test "$wxUSE_MAC" != 1; then
13728 for ac_hdr
in strings.h
13730 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13731 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13732 echo "configure:13733: checking for $ac_hdr" >&5
13733 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13734 echo $ac_n "(cached) $ac_c" 1>&6
13736 cat > conftest.
$ac_ext <<EOF
13737 #line 13738 "configure"
13738 #include "confdefs.h"
13741 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13742 { (eval echo configure
:13743: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13743 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13744 if test -z "$ac_err"; then
13746 eval "ac_cv_header_$ac_safe=yes"
13749 echo "configure: failed program was:" >&5
13750 cat conftest.
$ac_ext >&5
13752 eval "ac_cv_header_$ac_safe=no"
13756 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13757 echo "$ac_t""yes" 1>&6
13758 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13759 cat >> confdefs.h
<<EOF
13760 #define $ac_tr_hdr 1
13764 echo "$ac_t""no" 1>&6
13770 for ac_hdr
in stdlib.h
13772 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13773 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13774 echo "configure:13775: checking for $ac_hdr" >&5
13775 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13776 echo $ac_n "(cached) $ac_c" 1>&6
13778 cat > conftest.
$ac_ext <<EOF
13779 #line 13780 "configure"
13780 #include "confdefs.h"
13783 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13784 { (eval echo configure
:13785: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13785 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13786 if test -z "$ac_err"; then
13788 eval "ac_cv_header_$ac_safe=yes"
13791 echo "configure: failed program was:" >&5
13792 cat conftest.
$ac_ext >&5
13794 eval "ac_cv_header_$ac_safe=no"
13798 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13799 echo "$ac_t""yes" 1>&6
13800 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13801 cat >> confdefs.h
<<EOF
13802 #define $ac_tr_hdr 1
13806 echo "$ac_t""no" 1>&6
13810 for ac_hdr
in malloc.h
13812 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13813 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13814 echo "configure:13815: checking for $ac_hdr" >&5
13815 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13816 echo $ac_n "(cached) $ac_c" 1>&6
13818 cat > conftest.
$ac_ext <<EOF
13819 #line 13820 "configure"
13820 #include "confdefs.h"
13823 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13824 { (eval echo configure
:13825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13825 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13826 if test -z "$ac_err"; then
13828 eval "ac_cv_header_$ac_safe=yes"
13831 echo "configure: failed program was:" >&5
13832 cat conftest.
$ac_ext >&5
13834 eval "ac_cv_header_$ac_safe=no"
13838 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13839 echo "$ac_t""yes" 1>&6
13840 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13841 cat >> confdefs.h
<<EOF
13842 #define $ac_tr_hdr 1
13846 echo "$ac_t""no" 1>&6
13850 for ac_hdr
in unistd.h
13852 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13854 echo "configure:13855: checking for $ac_hdr" >&5
13855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13856 echo $ac_n "(cached) $ac_c" 1>&6
13858 cat > conftest.
$ac_ext <<EOF
13859 #line 13860 "configure"
13860 #include "confdefs.h"
13863 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13864 { (eval echo configure
:13865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13865 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13866 if test -z "$ac_err"; then
13868 eval "ac_cv_header_$ac_safe=yes"
13871 echo "configure: failed program was:" >&5
13872 cat conftest.
$ac_ext >&5
13874 eval "ac_cv_header_$ac_safe=no"
13878 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13879 echo "$ac_t""yes" 1>&6
13880 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13881 cat >> confdefs.h
<<EOF
13882 #define $ac_tr_hdr 1
13886 echo "$ac_t""no" 1>&6
13890 for ac_hdr
in wchar.h
13892 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13894 echo "configure:13895: checking for $ac_hdr" >&5
13895 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13896 echo $ac_n "(cached) $ac_c" 1>&6
13898 cat > conftest.
$ac_ext <<EOF
13899 #line 13900 "configure"
13900 #include "confdefs.h"
13903 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13904 { (eval echo configure
:13905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13905 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13906 if test -z "$ac_err"; then
13908 eval "ac_cv_header_$ac_safe=yes"
13911 echo "configure: failed program was:" >&5
13912 cat conftest.
$ac_ext >&5
13914 eval "ac_cv_header_$ac_safe=no"
13918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13919 echo "$ac_t""yes" 1>&6
13920 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13921 cat >> confdefs.h
<<EOF
13922 #define $ac_tr_hdr 1
13926 echo "$ac_t""no" 1>&6
13930 for ac_hdr
in wcstr.h
13932 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13934 echo "configure:13935: checking for $ac_hdr" >&5
13935 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13936 echo $ac_n "(cached) $ac_c" 1>&6
13938 cat > conftest.
$ac_ext <<EOF
13939 #line 13940 "configure"
13940 #include "confdefs.h"
13943 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13944 { (eval echo configure
:13945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13945 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13946 if test -z "$ac_err"; then
13948 eval "ac_cv_header_$ac_safe=yes"
13951 echo "configure: failed program was:" >&5
13952 cat conftest.
$ac_ext >&5
13954 eval "ac_cv_header_$ac_safe=no"
13958 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13959 echo "$ac_t""yes" 1>&6
13960 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13961 cat >> confdefs.h
<<EOF
13962 #define $ac_tr_hdr 1
13966 echo "$ac_t""no" 1>&6
13970 for ac_hdr
in wctype.h
13972 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13973 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13974 echo "configure:13975: checking for $ac_hdr" >&5
13975 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13976 echo $ac_n "(cached) $ac_c" 1>&6
13978 cat > conftest.
$ac_ext <<EOF
13979 #line 13980 "configure"
13980 #include "confdefs.h"
13983 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13984 { (eval echo configure
:13985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13985 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13986 if test -z "$ac_err"; then
13988 eval "ac_cv_header_$ac_safe=yes"
13991 echo "configure: failed program was:" >&5
13992 cat conftest.
$ac_ext >&5
13994 eval "ac_cv_header_$ac_safe=no"
13998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13999 echo "$ac_t""yes" 1>&6
14000 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14001 cat >> confdefs.h
<<EOF
14002 #define $ac_tr_hdr 1
14006 echo "$ac_t""no" 1>&6
14010 for ac_hdr
in fnmatch.h
14012 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14014 echo "configure:14015: checking for $ac_hdr" >&5
14015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14016 echo $ac_n "(cached) $ac_c" 1>&6
14018 cat > conftest.
$ac_ext <<EOF
14019 #line 14020 "configure"
14020 #include "confdefs.h"
14023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14024 { (eval echo configure
:14025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14026 if test -z "$ac_err"; then
14028 eval "ac_cv_header_$ac_safe=yes"
14031 echo "configure: failed program was:" >&5
14032 cat conftest.
$ac_ext >&5
14034 eval "ac_cv_header_$ac_safe=no"
14038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14039 echo "$ac_t""yes" 1>&6
14040 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14041 cat >> confdefs.h
<<EOF
14042 #define $ac_tr_hdr 1
14046 echo "$ac_t""no" 1>&6
14050 for ac_hdr
in langinfo.h
14052 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14053 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14054 echo "configure:14055: checking for $ac_hdr" >&5
14055 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14056 echo $ac_n "(cached) $ac_c" 1>&6
14058 cat > conftest.
$ac_ext <<EOF
14059 #line 14060 "configure"
14060 #include "confdefs.h"
14063 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14064 { (eval echo configure
:14065: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14065 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14066 if test -z "$ac_err"; then
14068 eval "ac_cv_header_$ac_safe=yes"
14071 echo "configure: failed program was:" >&5
14072 cat conftest.
$ac_ext >&5
14074 eval "ac_cv_header_$ac_safe=no"
14078 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14079 echo "$ac_t""yes" 1>&6
14080 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14081 cat >> confdefs.h
<<EOF
14082 #define $ac_tr_hdr 1
14086 echo "$ac_t""no" 1>&6
14091 if test "$wxUSE_GUI" = "yes"; then
14092 if test "$wxUSE_UNIX" = "yes"; then
14093 for ac_hdr
in X
11/XKBlib.h
14095 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14096 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14097 echo "configure:14098: checking for $ac_hdr" >&5
14098 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14099 echo $ac_n "(cached) $ac_c" 1>&6
14101 cat > conftest.
$ac_ext <<EOF
14102 #line 14103 "configure"
14103 #include "confdefs.h"
14106 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14107 { (eval echo configure
:14108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14108 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14109 if test -z "$ac_err"; then
14111 eval "ac_cv_header_$ac_safe=yes"
14114 echo "configure: failed program was:" >&5
14115 cat conftest.
$ac_ext >&5
14117 eval "ac_cv_header_$ac_safe=no"
14121 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14122 echo "$ac_t""yes" 1>&6
14123 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14124 cat >> confdefs.h
<<EOF
14125 #define $ac_tr_hdr 1
14129 echo "$ac_t""no" 1>&6
14137 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
14138 echo "configure:14139: checking for ANSI C header files" >&5
14139 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
14140 echo $ac_n "(cached) $ac_c" 1>&6
14142 cat > conftest.
$ac_ext <<EOF
14143 #line 14144 "configure"
14144 #include "confdefs.h"
14145 #include <stdlib.h>
14146 #include <stdarg.h>
14147 #include <string.h>
14150 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14151 { (eval echo configure
:14152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14152 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14153 if test -z "$ac_err"; then
14155 ac_cv_header_stdc
=yes
14158 echo "configure: failed program was:" >&5
14159 cat conftest.
$ac_ext >&5
14161 ac_cv_header_stdc
=no
14165 if test $ac_cv_header_stdc = yes; then
14166 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14167 cat > conftest.
$ac_ext <<EOF
14168 #line 14169 "configure"
14169 #include "confdefs.h"
14170 #include <string.h>
14172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14173 egrep "memchr" >/dev
/null
2>&1; then
14177 ac_cv_header_stdc
=no
14183 if test $ac_cv_header_stdc = yes; then
14184 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14185 cat > conftest.
$ac_ext <<EOF
14186 #line 14187 "configure"
14187 #include "confdefs.h"
14188 #include <stdlib.h>
14190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14191 egrep "free" >/dev
/null
2>&1; then
14195 ac_cv_header_stdc
=no
14201 if test $ac_cv_header_stdc = yes; then
14202 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14203 if test "$cross_compiling" = yes; then
14206 cat > conftest.
$ac_ext <<EOF
14207 #line 14208 "configure"
14208 #include "confdefs.h"
14210 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14211 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14212 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14213 int main () { int i; for (i = 0; i < 256; i++)
14214 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
14218 if { (eval echo configure
:14219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14222 echo "configure: failed program was:" >&5
14223 cat conftest.
$ac_ext >&5
14225 ac_cv_header_stdc
=no
14233 echo "$ac_t""$ac_cv_header_stdc" 1>&6
14234 if test $ac_cv_header_stdc = yes; then
14235 cat >> confdefs.h
<<\EOF
14236 #define STDC_HEADERS 1
14241 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
14242 echo "configure:14243: checking for mode_t" >&5
14243 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
14244 echo $ac_n "(cached) $ac_c" 1>&6
14246 cat > conftest.
$ac_ext <<EOF
14247 #line 14248 "configure"
14248 #include "confdefs.h"
14249 #include <sys/types.h>
14251 #include <stdlib.h>
14252 #include <stddef.h>
14255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14256 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14258 ac_cv_type_mode_t
=yes
14261 ac_cv_type_mode_t
=no
14266 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
14267 if test $ac_cv_type_mode_t = no
; then
14268 cat >> confdefs.h
<<\EOF
14274 echo $ac_n "checking for off_t""... $ac_c" 1>&6
14275 echo "configure:14276: checking for off_t" >&5
14276 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
14277 echo $ac_n "(cached) $ac_c" 1>&6
14279 cat > conftest.
$ac_ext <<EOF
14280 #line 14281 "configure"
14281 #include "confdefs.h"
14282 #include <sys/types.h>
14284 #include <stdlib.h>
14285 #include <stddef.h>
14288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14289 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14291 ac_cv_type_off_t
=yes
14294 ac_cv_type_off_t
=no
14299 echo "$ac_t""$ac_cv_type_off_t" 1>&6
14300 if test $ac_cv_type_off_t = no
; then
14301 cat >> confdefs.h
<<\EOF
14307 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
14308 echo "configure:14309: checking for pid_t" >&5
14309 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
14310 echo $ac_n "(cached) $ac_c" 1>&6
14312 cat > conftest.
$ac_ext <<EOF
14313 #line 14314 "configure"
14314 #include "confdefs.h"
14315 #include <sys/types.h>
14317 #include <stdlib.h>
14318 #include <stddef.h>
14321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14322 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14324 ac_cv_type_pid_t
=yes
14327 ac_cv_type_pid_t
=no
14332 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
14333 if test $ac_cv_type_pid_t = no
; then
14334 cat >> confdefs.h
<<\EOF
14340 echo $ac_n "checking for size_t""... $ac_c" 1>&6
14341 echo "configure:14342: checking for size_t" >&5
14342 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
14343 echo $ac_n "(cached) $ac_c" 1>&6
14345 cat > conftest.
$ac_ext <<EOF
14346 #line 14347 "configure"
14347 #include "confdefs.h"
14348 #include <sys/types.h>
14350 #include <stdlib.h>
14351 #include <stddef.h>
14354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14355 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
14357 ac_cv_type_size_t
=yes
14360 ac_cv_type_size_t
=no
14365 echo "$ac_t""$ac_cv_type_size_t" 1>&6
14366 if test $ac_cv_type_size_t = no
; then
14367 cat >> confdefs.h
<<\EOF
14368 #define size_t unsigned
14373 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
14374 echo "configure:14375: checking for uid_t in sys/types.h" >&5
14375 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
14376 echo $ac_n "(cached) $ac_c" 1>&6
14378 cat > conftest.
$ac_ext <<EOF
14379 #line 14380 "configure"
14380 #include "confdefs.h"
14381 #include <sys/types.h>
14383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14384 egrep "uid_t" >/dev
/null
2>&1; then
14386 ac_cv_type_uid_t
=yes
14389 ac_cv_type_uid_t
=no
14395 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
14396 if test $ac_cv_type_uid_t = no
; then
14397 cat >> confdefs.h
<<\EOF
14401 cat >> confdefs.h
<<\EOF
14408 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
14409 echo "configure:14410: checking for wchar_t" >&5
14410 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
14411 echo $ac_n "(cached) $ac_c" 1>&6
14414 cat > conftest.
$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14418 #ifdef HAVE_WCHAR_H
14420 # include <stddef.h>
14422 # include <wchar.h>
14424 #ifdef HAVE_STDLIB_H
14425 # include <stdlib.h>
14432 ws = L"Hello, world!";
14436 if { (eval echo configure
:14437: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14438 wx_cv_type_wchar_t
=yes
14440 echo "configure: failed program was:" >&5
14441 cat conftest.
$ac_ext >&5
14443 wx_cv_type_wchar_t
=no
14450 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
14452 if test "$wx_cv_type_wchar_t" = "yes"; then
14453 cat >> confdefs.h
<<\EOF
14454 #define wxUSE_WCHAR_T 1
14461 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14462 ac_cpp
='$CXXCPP $CPPFLAGS'
14463 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14464 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14465 cross_compiling
=$ac_cv_prog_cxx_cross
14467 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
14468 echo "configure:14469: checking if size_t is unsigned int" >&5
14469 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
14470 echo $ac_n "(cached) $ac_c" 1>&6
14472 cat > conftest.
$ac_ext <<EOF
14473 #line 14474 "configure"
14474 #include "confdefs.h"
14475 #include <stddef.h>
14480 struct Foo { void foo(size_t); void foo(unsigned int); };
14486 if { (eval echo configure
:14487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14488 wx_cv_size_t_is_uint
=no
14490 echo "configure: failed program was:" >&5
14491 cat conftest.
$ac_ext >&5
14493 wx_cv_size_t_is_uint
=yes
14500 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
14502 if test "$wx_cv_size_t_is_uint" = "yes"; then
14503 cat >> confdefs.h
<<\EOF
14504 #define wxSIZE_T_IS_UINT 1
14508 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
14509 echo "configure:14510: checking if size_t is unsigned long" >&5
14510 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
14511 echo $ac_n "(cached) $ac_c" 1>&6
14513 cat > conftest.
$ac_ext <<EOF
14514 #line 14515 "configure"
14515 #include "confdefs.h"
14516 #include <stddef.h>
14521 struct Foo { void foo(size_t); void foo(unsigned long); };
14527 if { (eval echo configure
:14528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14529 wx_cv_size_t_is_ulong
=no
14531 echo "configure: failed program was:" >&5
14532 cat conftest.
$ac_ext >&5
14534 wx_cv_size_t_is_ulong
=yes
14541 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
14543 if test "$wx_cv_size_t_is_ulong" = "yes"; then
14544 cat >> confdefs.h
<<\EOF
14545 #define wxSIZE_T_IS_ULONG 1
14552 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14553 ac_cpp
='$CPP $CPPFLAGS'
14554 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14555 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14556 cross_compiling
=$ac_cv_prog_cc_cross
14560 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
14561 echo "configure:14562: checking for pw_gecos in struct passwd" >&5
14562 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
14563 echo $ac_n "(cached) $ac_c" 1>&6
14566 cat > conftest.
$ac_ext <<EOF
14567 #line 14568 "configure"
14568 #include "confdefs.h"
14578 if { (eval echo configure
:14579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14581 wx_cv_struct_pw_gecos
=yes
14584 echo "configure: failed program was:" >&5
14585 cat conftest.
$ac_ext >&5
14588 wx_cv_struct_pw_gecos
=no
14597 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
14599 if test "$wx_cv_struct_pw_gecos" = "yes"; then
14600 cat >> confdefs.h
<<\EOF
14601 #define HAVE_PW_GECOS 1
14607 echo $ac_n "checking for working const""... $ac_c" 1>&6
14608 echo "configure:14609: checking for working const" >&5
14609 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
14610 echo $ac_n "(cached) $ac_c" 1>&6
14612 cat > conftest.
$ac_ext <<EOF
14613 #line 14614 "configure"
14614 #include "confdefs.h"
14618 /* Ultrix mips cc rejects this. */
14619 typedef int charset[2]; const charset x;
14620 /* SunOS 4.1.1 cc rejects this. */
14621 char const *const *ccp;
14623 /* NEC SVR4.0.2 mips cc rejects this. */
14624 struct point {int x, y;};
14625 static struct point const zero = {0,0};
14626 /* AIX XL C 1.02.0.0 rejects this.
14627 It does not let you subtract one const X* pointer from another in an arm
14628 of an if-expression whose if-part is not a constant expression */
14629 const char *g = "string";
14630 ccp = &g + (g ? g-g : 0);
14631 /* HPUX 7.0 cc rejects these. */
14634 ccp = (char const *const *) p;
14635 { /* SCO 3.2v4 cc rejects this. */
14637 char const *s = 0 ? (char *) 0 : (char const *) 0;
14641 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14642 int x[] = {25, 17};
14643 const int *foo = &x[0];
14646 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14647 typedef const int *iptr;
14651 { /* AIX XL C 1.02.0.0 rejects this saying
14652 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14653 struct s { int j; const int *ap[3]; };
14654 struct s *b; b->j = 5;
14656 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14657 const int foo = 10;
14662 if { (eval echo configure
:14663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14666 echo "configure: failed program was:" >&5
14667 cat conftest.
$ac_ext >&5
14674 echo "$ac_t""$ac_cv_c_const" 1>&6
14675 if test $ac_cv_c_const = no
; then
14676 cat >> confdefs.h
<<\EOF
14682 echo $ac_n "checking for inline""... $ac_c" 1>&6
14683 echo "configure:14684: checking for inline" >&5
14684 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
14685 echo $ac_n "(cached) $ac_c" 1>&6
14688 for ac_kw
in inline __inline__ __inline
; do
14689 cat > conftest.
$ac_ext <<EOF
14690 #line 14691 "configure"
14691 #include "confdefs.h"
14697 if { (eval echo configure
:14698: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14699 ac_cv_c_inline
=$ac_kw; break
14701 echo "configure: failed program was:" >&5
14702 cat conftest.
$ac_ext >&5
14709 echo "$ac_t""$ac_cv_c_inline" 1>&6
14710 case "$ac_cv_c_inline" in
14712 no
) cat >> confdefs.h
<<\EOF
14716 *) cat >> confdefs.h
<<EOF
14717 #define inline $ac_cv_c_inline
14723 echo $ac_n "checking size of char""... $ac_c" 1>&6
14724 echo "configure:14725: checking size of char" >&5
14725 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
14726 echo $ac_n "(cached) $ac_c" 1>&6
14728 if test "$cross_compiling" = yes; then
14729 ac_cv_sizeof_char
=1
14731 cat > conftest.
$ac_ext <<EOF
14732 #line 14733 "configure"
14733 #include "confdefs.h"
14737 FILE *f=fopen("conftestval", "w");
14739 fprintf(f, "%d\n", sizeof(char));
14743 if { (eval echo configure
:14744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14745 ac_cv_sizeof_char
=`cat conftestval`
14747 echo "configure: failed program was:" >&5
14748 cat conftest.
$ac_ext >&5
14750 ac_cv_sizeof_char
=0
14756 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14757 cat >> confdefs.h
<<EOF
14758 #define SIZEOF_CHAR $ac_cv_sizeof_char
14762 echo $ac_n "checking size of short""... $ac_c" 1>&6
14763 echo "configure:14764: checking size of short" >&5
14764 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14765 echo $ac_n "(cached) $ac_c" 1>&6
14767 if test "$cross_compiling" = yes; then
14768 ac_cv_sizeof_short
=2
14770 cat > conftest.
$ac_ext <<EOF
14771 #line 14772 "configure"
14772 #include "confdefs.h"
14776 FILE *f=fopen("conftestval", "w");
14778 fprintf(f, "%d\n", sizeof(short));
14782 if { (eval echo configure
:14783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14784 ac_cv_sizeof_short
=`cat conftestval`
14786 echo "configure: failed program was:" >&5
14787 cat conftest.
$ac_ext >&5
14789 ac_cv_sizeof_short
=0
14795 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14796 cat >> confdefs.h
<<EOF
14797 #define SIZEOF_SHORT $ac_cv_sizeof_short
14801 echo $ac_n "checking size of void *""... $ac_c" 1>&6
14802 echo "configure:14803: checking size of void *" >&5
14803 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
14804 echo $ac_n "(cached) $ac_c" 1>&6
14806 if test "$cross_compiling" = yes; then
14807 ac_cv_sizeof_void_p
=4
14809 cat > conftest.
$ac_ext <<EOF
14810 #line 14811 "configure"
14811 #include "confdefs.h"
14815 FILE *f=fopen("conftestval", "w");
14817 fprintf(f, "%d\n", sizeof(void *));
14821 if { (eval echo configure
:14822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14823 ac_cv_sizeof_void_p
=`cat conftestval`
14825 echo "configure: failed program was:" >&5
14826 cat conftest.
$ac_ext >&5
14828 ac_cv_sizeof_void_p
=0
14834 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
14835 cat >> confdefs.h
<<EOF
14836 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
14840 echo $ac_n "checking size of int""... $ac_c" 1>&6
14841 echo "configure:14842: checking size of int" >&5
14842 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14843 echo $ac_n "(cached) $ac_c" 1>&6
14845 if test "$cross_compiling" = yes; then
14848 cat > conftest.
$ac_ext <<EOF
14849 #line 14850 "configure"
14850 #include "confdefs.h"
14854 FILE *f=fopen("conftestval", "w");
14856 fprintf(f, "%d\n", sizeof(int));
14860 if { (eval echo configure
:14861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14862 ac_cv_sizeof_int
=`cat conftestval`
14864 echo "configure: failed program was:" >&5
14865 cat conftest.
$ac_ext >&5
14873 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14874 cat >> confdefs.h
<<EOF
14875 #define SIZEOF_INT $ac_cv_sizeof_int
14879 echo $ac_n "checking size of long""... $ac_c" 1>&6
14880 echo "configure:14881: checking size of long" >&5
14881 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14882 echo $ac_n "(cached) $ac_c" 1>&6
14884 if test "$cross_compiling" = yes; then
14885 ac_cv_sizeof_long
=4
14887 cat > conftest.
$ac_ext <<EOF
14888 #line 14889 "configure"
14889 #include "confdefs.h"
14893 FILE *f=fopen("conftestval", "w");
14895 fprintf(f, "%d\n", sizeof(long));
14899 if { (eval echo configure
:14900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14901 ac_cv_sizeof_long
=`cat conftestval`
14903 echo "configure: failed program was:" >&5
14904 cat conftest.
$ac_ext >&5
14906 ac_cv_sizeof_long
=0
14912 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14913 cat >> confdefs.h
<<EOF
14914 #define SIZEOF_LONG $ac_cv_sizeof_long
14918 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14919 echo "configure:14920: checking size of long long" >&5
14920 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14921 echo $ac_n "(cached) $ac_c" 1>&6
14923 if test "$cross_compiling" = yes; then
14924 ac_cv_sizeof_long_long
=0
14926 cat > conftest.
$ac_ext <<EOF
14927 #line 14928 "configure"
14928 #include "confdefs.h"
14932 FILE *f=fopen("conftestval", "w");
14934 fprintf(f, "%d\n", sizeof(long long));
14938 if { (eval echo configure
:14939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14940 ac_cv_sizeof_long_long
=`cat conftestval`
14942 echo "configure: failed program was:" >&5
14943 cat conftest.
$ac_ext >&5
14945 ac_cv_sizeof_long_long
=0
14951 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14952 cat >> confdefs.h
<<EOF
14953 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14958 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14959 echo "configure:14960: checking size of wchar_t" >&5
14960 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14961 echo $ac_n "(cached) $ac_c" 1>&6
14964 if test "$cross_compiling" = yes; then
14965 wx_cv_sizeof_wchar_t
=4
14968 cat > conftest.
$ac_ext <<EOF
14969 #line 14970 "configure"
14970 #include "confdefs.h"
14972 #ifdef HAVE_WCHAR_H
14974 # include <stddef.h>
14976 # include <wchar.h>
14978 #ifdef HAVE_STDLIB_H
14979 # include <stdlib.h>
14984 FILE *f=fopen("conftestval", "w");
14986 fprintf(f, "%i", sizeof(wchar_t));
14991 if { (eval echo configure
:14992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14993 wx_cv_sizeof_wchar_t
=`cat conftestval`
14995 echo "configure: failed program was:" >&5
14996 cat conftest.
$ac_ext >&5
14998 wx_cv_sizeof_wchar_t
=0
15006 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
15008 cat >> confdefs.h
<<EOF
15009 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
15013 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
15014 echo "configure:15015: checking whether byte ordering is bigendian" >&5
15015 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
15016 echo $ac_n "(cached) $ac_c" 1>&6
15018 ac_cv_c_bigendian
=unknown
15019 # See if sys/param.h defines the BYTE_ORDER macro.
15020 cat > conftest.
$ac_ext <<EOF
15021 #line 15022 "configure"
15022 #include "confdefs.h"
15023 #include <sys/types.h>
15024 #include <sys/param.h>
15027 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
15028 bogus endian macros
15032 if { (eval echo configure
:15033: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15034 # It does; now see whether it defined to BIG_ENDIAN or not.
15035 cat > conftest.
$ac_ext <<EOF
15036 #line 15037 "configure"
15037 #include "confdefs.h"
15038 #include <sys/types.h>
15039 #include <sys/param.h>
15042 #if BYTE_ORDER != BIG_ENDIAN
15047 if { (eval echo configure
:15048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15049 ac_cv_c_bigendian
=yes
15051 echo "configure: failed program was:" >&5
15052 cat conftest.
$ac_ext >&5
15054 ac_cv_c_bigendian
=no
15058 echo "configure: failed program was:" >&5
15059 cat conftest.
$ac_ext >&5
15062 if test $ac_cv_c_bigendian = unknown
; then
15063 if test "$cross_compiling" = yes; then
15064 ac_cv_c_bigendian
=unknown
15066 cat > conftest.
$ac_ext <<EOF
15067 #line 15068 "configure"
15068 #include "confdefs.h"
15070 /* Are we little or big endian? From Harbison&Steele. */
15074 char c[sizeof (long)];
15077 exit (u.c[sizeof (long) - 1] == 1);
15080 if { (eval echo configure
:15081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15082 ac_cv_c_bigendian
=no
15084 echo "configure: failed program was:" >&5
15085 cat conftest.
$ac_ext >&5
15087 ac_cv_c_bigendian
=yes
15095 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
15096 if test $ac_cv_c_bigendian = unknown
; then
15097 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
15099 if test $ac_cv_c_bigendian = yes; then
15100 cat >> confdefs.h
<<\EOF
15101 #define WORDS_BIGENDIAN 1
15107 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
15108 echo "configure:15109: checking how to run the C++ preprocessor" >&5
15109 if test -z "$CXXCPP"; then
15110 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
15111 echo $ac_n "(cached) $ac_c" 1>&6
15114 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15115 ac_cpp
='$CXXCPP $CPPFLAGS'
15116 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15117 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15118 cross_compiling
=$ac_cv_prog_cxx_cross
15119 CXXCPP
="${CXX-g++} -E"
15120 cat > conftest.
$ac_ext <<EOF
15121 #line 15122 "configure"
15122 #include "confdefs.h"
15123 #include <stdlib.h>
15125 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15126 { (eval echo configure
:15127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15127 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15128 if test -z "$ac_err"; then
15132 echo "configure: failed program was:" >&5
15133 cat conftest.
$ac_ext >&5
15138 ac_cv_prog_CXXCPP
="$CXXCPP"
15140 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15141 ac_cpp
='$CXXCPP $CPPFLAGS'
15142 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15143 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15144 cross_compiling
=$ac_cv_prog_cxx_cross
15147 CXXCPP
="$ac_cv_prog_CXXCPP"
15148 echo "$ac_t""$CXXCPP" 1>&6
15151 if test "$cross_compiling" = "yes"; then
15152 cat >> confdefs.h
<<\EOF
15153 #define wxUSE_IOSTREAMH 1
15159 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15160 ac_cpp
='$CXXCPP $CPPFLAGS'
15161 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15162 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15163 cross_compiling
=$ac_cv_prog_cxx_cross
15166 for ac_hdr
in iostream
15168 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15170 echo "configure:15171: checking for $ac_hdr" >&5
15171 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15172 echo $ac_n "(cached) $ac_c" 1>&6
15174 cat > conftest.
$ac_ext <<EOF
15175 #line 15176 "configure"
15176 #include "confdefs.h"
15179 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15180 { (eval echo configure
:15181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15181 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15182 if test -z "$ac_err"; then
15184 eval "ac_cv_header_$ac_safe=yes"
15187 echo "configure: failed program was:" >&5
15188 cat conftest.
$ac_ext >&5
15190 eval "ac_cv_header_$ac_safe=no"
15194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15195 echo "$ac_t""yes" 1>&6
15196 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15197 cat >> confdefs.h
<<EOF
15198 #define $ac_tr_hdr 1
15202 echo "$ac_t""no" 1>&6
15207 if test "$ac_cv_header_iostream" = "yes" ; then
15210 cat >> confdefs.h
<<\EOF
15211 #define wxUSE_IOSTREAMH 1
15217 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15218 ac_cpp
='$CPP $CPPFLAGS'
15219 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15220 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15221 cross_compiling
=$ac_cv_prog_cc_cross
15227 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
15228 echo "configure:15229: checking if C++ compiler supports bool" >&5
15229 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
15230 echo $ac_n "(cached) $ac_c" 1>&6
15235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15236 ac_cpp
='$CXXCPP $CPPFLAGS'
15237 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15238 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15239 cross_compiling
=$ac_cv_prog_cxx_cross
15242 cat > conftest.
$ac_ext <<EOF
15243 #line 15244 "configure"
15244 #include "confdefs.h"
15255 if { (eval echo configure
:15256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15261 echo "configure: failed program was:" >&5
15262 cat conftest.
$ac_ext >&5
15272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15273 ac_cpp
='$CPP $CPPFLAGS'
15274 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15275 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15276 cross_compiling
=$ac_cv_prog_cc_cross
15281 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
15283 if test "$wx_cv_cpp_bool" = "yes"; then
15284 cat >> confdefs.h
<<\EOF
15285 #define HAVE_BOOL 1
15292 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
15293 echo "configure:15294: checking for wcslen in -lc" >&5
15294 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
15295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15296 echo $ac_n "(cached) $ac_c" 1>&6
15298 ac_save_LIBS
="$LIBS"
15300 cat > conftest.
$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15303 /* Override any gcc2 internal prototype to avoid an error. */
15304 /* We use char because int might match the return type of a gcc2
15305 builtin and then its argument prototype would still apply. */
15312 if { (eval echo configure
:15313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15314 eval "ac_cv_lib_$ac_lib_var=yes"
15316 echo "configure: failed program was:" >&5
15317 cat conftest.
$ac_ext >&5
15319 eval "ac_cv_lib_$ac_lib_var=no"
15322 LIBS
="$ac_save_LIBS"
15325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15326 echo "$ac_t""yes" 1>&6
15328 cat >> confdefs.h
<<\EOF
15329 #define HAVE_WCSLEN 1
15335 echo "$ac_t""no" 1>&6
15337 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15338 echo "configure:15339: checking for wcslen in -lw" >&5
15339 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15340 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15341 echo $ac_n "(cached) $ac_c" 1>&6
15343 ac_save_LIBS
="$LIBS"
15345 cat > conftest.
$ac_ext <<EOF
15346 #line 15347 "configure"
15347 #include "confdefs.h"
15348 /* Override any gcc2 internal prototype to avoid an error. */
15349 /* We use char because int might match the return type of a gcc2
15350 builtin and then its argument prototype would still apply. */
15357 if { (eval echo configure
:15358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15359 eval "ac_cv_lib_$ac_lib_var=yes"
15361 echo "configure: failed program was:" >&5
15362 cat conftest.
$ac_ext >&5
15364 eval "ac_cv_lib_$ac_lib_var=no"
15367 LIBS
="$ac_save_LIBS"
15370 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15371 echo "$ac_t""yes" 1>&6
15373 cat >> confdefs.h
<<\EOF
15374 #define HAVE_WCSLEN 1
15380 echo "$ac_t""no" 1>&6
15382 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15383 echo "configure:15384: checking for wcslen in -lmsvcrt" >&5
15384 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15385 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15386 echo $ac_n "(cached) $ac_c" 1>&6
15388 ac_save_LIBS
="$LIBS"
15389 LIBS
="-lmsvcrt $LIBS"
15390 cat > conftest.
$ac_ext <<EOF
15391 #line 15392 "configure"
15392 #include "confdefs.h"
15393 /* Override any gcc2 internal prototype to avoid an error. */
15394 /* We use char because int might match the return type of a gcc2
15395 builtin and then its argument prototype would still apply. */
15402 if { (eval echo configure
:15403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15404 eval "ac_cv_lib_$ac_lib_var=yes"
15406 echo "configure: failed program was:" >&5
15407 cat conftest.
$ac_ext >&5
15409 eval "ac_cv_lib_$ac_lib_var=no"
15412 LIBS
="$ac_save_LIBS"
15415 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15416 echo "$ac_t""yes" 1>&6
15418 cat >> confdefs.h
<<\EOF
15419 #define HAVE_WCSLEN 1
15425 echo "$ac_t""no" 1>&6
15435 for ac_func
in wcsrtombs
15437 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15438 echo "configure:15439: checking for $ac_func" >&5
15439 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15440 echo $ac_n "(cached) $ac_c" 1>&6
15442 cat > conftest.
$ac_ext <<EOF
15443 #line 15444 "configure"
15444 #include "confdefs.h"
15445 /* System header to define __stub macros and hopefully few prototypes,
15446 which can conflict with char $ac_func(); below. */
15447 #include <assert.h>
15448 /* Override any gcc2 internal prototype to avoid an error. */
15449 /* We use char because int might match the return type of a gcc2
15450 builtin and then its argument prototype would still apply. */
15455 /* The GNU C library defines this for functions which it implements
15456 to always fail with ENOSYS. Some functions are actually named
15457 something starting with __ and the normal name is an alias. */
15458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15466 if { (eval echo configure
:15467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15468 eval "ac_cv_func_$ac_func=yes"
15470 echo "configure: failed program was:" >&5
15471 cat conftest.
$ac_ext >&5
15473 eval "ac_cv_func_$ac_func=no"
15478 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15479 echo "$ac_t""yes" 1>&6
15480 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15481 cat >> confdefs.h
<<EOF
15482 #define $ac_tr_func 1
15486 echo "$ac_t""no" 1>&6
15491 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
15492 echo "configure:15493: checking for vprintf" >&5
15493 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
15494 echo $ac_n "(cached) $ac_c" 1>&6
15496 cat > conftest.
$ac_ext <<EOF
15497 #line 15498 "configure"
15498 #include "confdefs.h"
15499 /* System header to define __stub macros and hopefully few prototypes,
15500 which can conflict with char vprintf(); below. */
15501 #include <assert.h>
15502 /* Override any gcc2 internal prototype to avoid an error. */
15503 /* We use char because int might match the return type of a gcc2
15504 builtin and then its argument prototype would still apply. */
15509 /* The GNU C library defines this for functions which it implements
15510 to always fail with ENOSYS. Some functions are actually named
15511 something starting with __ and the normal name is an alias. */
15512 #if defined (__stub_vprintf) || defined (__stub___vprintf)
15520 if { (eval echo configure
:15521: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15522 eval "ac_cv_func_vprintf=yes"
15524 echo "configure: failed program was:" >&5
15525 cat conftest.
$ac_ext >&5
15527 eval "ac_cv_func_vprintf=no"
15532 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
15533 echo "$ac_t""yes" 1>&6
15534 cat >> confdefs.h
<<\EOF
15535 #define HAVE_VPRINTF 1
15539 echo "$ac_t""no" 1>&6
15542 if test "$ac_cv_func_vprintf" != yes; then
15543 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
15544 echo "configure:15545: checking for _doprnt" >&5
15545 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
15546 echo $ac_n "(cached) $ac_c" 1>&6
15548 cat > conftest.
$ac_ext <<EOF
15549 #line 15550 "configure"
15550 #include "confdefs.h"
15551 /* System header to define __stub macros and hopefully few prototypes,
15552 which can conflict with char _doprnt(); below. */
15553 #include <assert.h>
15554 /* Override any gcc2 internal prototype to avoid an error. */
15555 /* We use char because int might match the return type of a gcc2
15556 builtin and then its argument prototype would still apply. */
15561 /* The GNU C library defines this for functions which it implements
15562 to always fail with ENOSYS. Some functions are actually named
15563 something starting with __ and the normal name is an alias. */
15564 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15572 if { (eval echo configure
:15573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15574 eval "ac_cv_func__doprnt=yes"
15576 echo "configure: failed program was:" >&5
15577 cat conftest.
$ac_ext >&5
15579 eval "ac_cv_func__doprnt=no"
15584 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
15585 echo "$ac_t""yes" 1>&6
15586 cat >> confdefs.h
<<\EOF
15587 #define HAVE_DOPRNT 1
15591 echo "$ac_t""no" 1>&6
15601 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
15602 echo "configure:15603: checking for vsnprintf" >&5
15603 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
15604 echo $ac_n "(cached) $ac_c" 1>&6
15607 cat > conftest.
$ac_ext <<EOF
15608 #line 15609 "configure"
15609 #include "confdefs.h"
15612 #include <stdarg.h>
15616 int wx_test_vsnprintf(const char *, ...);
15618 wx_test_vsnprintf("%s");
15622 int wx_test_vsnprintf(const char *fmt, ...)
15627 va_start(argp, fmt);
15628 vsnprintf(s, 42, fmt, argp);
15633 if { (eval echo configure
:15634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15636 wx_cv_func_vsnprintf
=yes
15639 echo "configure: failed program was:" >&5
15640 cat conftest.
$ac_ext >&5
15643 cat > conftest.
$ac_ext <<EOF
15644 #line 15645 "configure"
15645 #include "confdefs.h"
15648 #include <stdarg.h>
15652 int wx_test_vsnprintf(const char *, ...);
15654 wx_test_vsnprintf("%s");
15658 int wx_test_vsnprintf(const char *fmt, ...)
15663 va_start(argp, fmt);
15664 _vsnprintf(s, 42, fmt, argp);
15669 if { (eval echo configure
:15670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15672 wx_cv_func_vsnprintf
=yes
15675 echo "configure: failed program was:" >&5
15676 cat conftest.
$ac_ext >&5
15679 wx_cv_func_vsnprintf
=no
15689 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
15691 if test "$wx_cv_func_vsnprintf" = yes; then
15692 cat >> confdefs.h
<<\EOF
15693 #define HAVE_VSNPRINTF 1
15697 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
15700 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
15701 echo "configure:15702: checking for vsscanf" >&5
15702 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
15703 echo $ac_n "(cached) $ac_c" 1>&6
15706 cat > conftest.
$ac_ext <<EOF
15707 #line 15708 "configure"
15708 #include "confdefs.h"
15711 #include <stdarg.h>
15715 int wx_test_vsscanf(const char *, ...);
15717 wx_test_vsscanf("%d");
15721 int wx_test_vsscanf(const char *fmt, ...)
15724 va_start(argp, fmt);
15725 vsscanf("42", fmt, argp);
15730 if { (eval echo configure
:15731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15733 wx_cv_func_vsscanf
=yes
15736 echo "configure: failed program was:" >&5
15737 cat conftest.
$ac_ext >&5
15740 wx_cv_func_vsscanf
=no
15747 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15749 if test "$wx_cv_func_vsscanf" = yes; then
15750 cat >> confdefs.h
<<\EOF
15751 #define HAVE_VSSCANF 1
15756 if test "$TOOLKIT" != "MSW"; then
15761 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15762 ac_cpp
='$CXXCPP $CPPFLAGS'
15763 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15764 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15765 cross_compiling
=$ac_cv_prog_cxx_cross
15769 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
15770 if test "${with_libiconv_prefix+set}" = set; then
15771 withval
="$with_libiconv_prefix"
15773 for dir
in `echo "$withval" | tr : ' '`; do
15774 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
15775 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
15781 echo $ac_n "checking for iconv""... $ac_c" 1>&6
15782 echo "configure:15783: checking for iconv" >&5
15783 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
15784 echo $ac_n "(cached) $ac_c" 1>&6
15787 am_cv_func_iconv
="no, consider installing GNU libiconv"
15789 cat > conftest.
$ac_ext <<EOF
15790 #line 15791 "configure"
15791 #include "confdefs.h"
15792 #include <stdlib.h>
15795 iconv_t cd = iconv_open("","");
15796 iconv(cd,NULL,NULL,NULL,NULL);
15800 if { (eval echo configure
:15801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15802 am_cv_func_iconv
=yes
15804 echo "configure: failed program was:" >&5
15805 cat conftest.
$ac_ext >&5
15808 if test "$am_cv_func_iconv" != yes; then
15809 am_save_LIBS
="$LIBS"
15810 LIBS
="$LIBS -liconv"
15811 cat > conftest.
$ac_ext <<EOF
15812 #line 15813 "configure"
15813 #include "confdefs.h"
15814 #include <stdlib.h>
15817 iconv_t cd = iconv_open("","");
15818 iconv(cd,NULL,NULL,NULL,NULL);
15822 if { (eval echo configure
:15823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15824 am_cv_lib_iconv
=yes
15825 am_cv_func_iconv
=yes
15827 echo "configure: failed program was:" >&5
15828 cat conftest.
$ac_ext >&5
15831 LIBS
="$am_save_LIBS"
15836 echo "$ac_t""$am_cv_func_iconv" 1>&6
15837 if test "$am_cv_func_iconv" = yes; then
15838 cat >> confdefs.h
<<\EOF
15839 #define HAVE_ICONV 1
15842 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
15843 echo "configure:15844: checking if iconv needs const" >&5
15844 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
15845 echo $ac_n "(cached) $ac_c" 1>&6
15847 cat > conftest.
$ac_ext <<EOF
15848 #line 15849 "configure"
15849 #include "confdefs.h"
15851 #include <stdlib.h>
15857 #if defined(__STDC__) || defined(__cplusplus)
15858 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
15867 if { (eval echo configure
:15868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15869 wx_cv_func_iconv_const
="no"
15871 echo "configure: failed program was:" >&5
15872 cat conftest.
$ac_ext >&5
15874 wx_cv_func_iconv_const
="yes"
15881 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
15884 if test "x$wx_cv_func_iconv_const" = "xyes"; then
15885 iconv_const
="const"
15888 cat >> confdefs.h
<<EOF
15889 #define ICONV_CONST $iconv_const
15894 if test "$am_cv_lib_iconv" = yes; then
15899 LIBS
="$LIBICONV $LIBS"
15901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15902 ac_cpp
='$CPP $CPPFLAGS'
15903 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15904 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15905 cross_compiling
=$ac_cv_prog_cc_cross
15908 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15909 for ac_func
in sigaction
15911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15912 echo "configure:15913: checking for $ac_func" >&5
15913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15914 echo $ac_n "(cached) $ac_c" 1>&6
15916 cat > conftest.
$ac_ext <<EOF
15917 #line 15918 "configure"
15918 #include "confdefs.h"
15919 /* System header to define __stub macros and hopefully few prototypes,
15920 which can conflict with char $ac_func(); below. */
15921 #include <assert.h>
15922 /* Override any gcc2 internal prototype to avoid an error. */
15923 /* We use char because int might match the return type of a gcc2
15924 builtin and then its argument prototype would still apply. */
15929 /* The GNU C library defines this for functions which it implements
15930 to always fail with ENOSYS. Some functions are actually named
15931 something starting with __ and the normal name is an alias. */
15932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15940 if { (eval echo configure
:15941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15942 eval "ac_cv_func_$ac_func=yes"
15944 echo "configure: failed program was:" >&5
15945 cat conftest.
$ac_ext >&5
15947 eval "ac_cv_func_$ac_func=no"
15952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15953 echo "$ac_t""yes" 1>&6
15954 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15955 cat >> confdefs.h
<<EOF
15956 #define $ac_tr_func 1
15960 echo "$ac_t""no" 1>&6
15965 if test "$ac_cv_func_sigaction" = "no"; then
15966 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15967 wxUSE_ON_FATAL_EXCEPTION
=no
15970 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15973 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15974 ac_cpp
='$CXXCPP $CPPFLAGS'
15975 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15976 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15977 cross_compiling
=$ac_cv_prog_cxx_cross
15980 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15981 echo "configure:15982: checking for sa_handler type" >&5
15982 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15983 echo $ac_n "(cached) $ac_c" 1>&6
15986 cat > conftest.
$ac_ext <<EOF
15987 #line 15988 "configure"
15988 #include "confdefs.h"
15989 #include <signal.h>
15992 extern void testSigHandler(int);
15994 struct sigaction sa;
15995 sa.sa_handler = testSigHandler;
15999 if { (eval echo configure
:16000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16002 wx_cv_type_sa_handler
=int
16005 echo "configure: failed program was:" >&5
16006 cat conftest.
$ac_ext >&5
16009 wx_cv_type_sa_handler
=void
16016 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16019 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16020 ac_cpp
='$CPP $CPPFLAGS'
16021 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16022 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16023 cross_compiling
=$ac_cv_prog_cc_cross
16026 cat >> confdefs.h
<<EOF
16027 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16033 for ac_func
in vfork
16035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16036 echo "configure:16037: checking for $ac_func" >&5
16037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16038 echo $ac_n "(cached) $ac_c" 1>&6
16040 cat > conftest.
$ac_ext <<EOF
16041 #line 16042 "configure"
16042 #include "confdefs.h"
16043 /* System header to define __stub macros and hopefully few prototypes,
16044 which can conflict with char $ac_func(); below. */
16045 #include <assert.h>
16046 /* Override any gcc2 internal prototype to avoid an error. */
16047 /* We use char because int might match the return type of a gcc2
16048 builtin and then its argument prototype would still apply. */
16053 /* The GNU C library defines this for functions which it implements
16054 to always fail with ENOSYS. Some functions are actually named
16055 something starting with __ and the normal name is an alias. */
16056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16064 if { (eval echo configure
:16065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16066 eval "ac_cv_func_$ac_func=yes"
16068 echo "configure: failed program was:" >&5
16069 cat conftest.
$ac_ext >&5
16071 eval "ac_cv_func_$ac_func=no"
16076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16077 echo "$ac_t""yes" 1>&6
16078 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16079 cat >> confdefs.h
<<EOF
16080 #define $ac_tr_func 1
16084 echo "$ac_t""no" 1>&6
16089 for ac_func
in mkstemp mktemp
16091 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16092 echo "configure:16093: checking for $ac_func" >&5
16093 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16094 echo $ac_n "(cached) $ac_c" 1>&6
16096 cat > conftest.
$ac_ext <<EOF
16097 #line 16098 "configure"
16098 #include "confdefs.h"
16099 /* System header to define __stub macros and hopefully few prototypes,
16100 which can conflict with char $ac_func(); below. */
16101 #include <assert.h>
16102 /* Override any gcc2 internal prototype to avoid an error. */
16103 /* We use char because int might match the return type of a gcc2
16104 builtin and then its argument prototype would still apply. */
16109 /* The GNU C library defines this for functions which it implements
16110 to always fail with ENOSYS. Some functions are actually named
16111 something starting with __ and the normal name is an alias. */
16112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16120 if { (eval echo configure
:16121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16122 eval "ac_cv_func_$ac_func=yes"
16124 echo "configure: failed program was:" >&5
16125 cat conftest.
$ac_ext >&5
16127 eval "ac_cv_func_$ac_func=no"
16132 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16133 echo "$ac_t""yes" 1>&6
16134 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16135 cat >> confdefs.h
<<EOF
16136 #define $ac_tr_func 1
16140 echo "$ac_t""no" 1>&6
16145 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16146 echo "configure:16147: checking for statfs" >&5
16147 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16148 echo $ac_n "(cached) $ac_c" 1>&6
16150 cat > conftest.
$ac_ext <<EOF
16151 #line 16152 "configure"
16152 #include "confdefs.h"
16154 #if defined(__BSD__)
16155 #include <sys/param.h>
16156 #include <sys/mount.h>
16158 #include <sys/vfs.h>
16172 if { (eval echo configure
:16173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16175 wx_cv_func_statfs
=yes
16178 echo "configure: failed program was:" >&5
16179 cat conftest.
$ac_ext >&5
16182 wx_cv_func_statfs
=no
16190 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16192 if test "$wx_cv_func_statfs" = "yes"; then
16193 cat >> confdefs.h
<<\EOF
16194 #define HAVE_STATFS 1
16198 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16199 echo "configure:16200: checking for statvfs" >&5
16200 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16201 echo $ac_n "(cached) $ac_c" 1>&6
16203 cat > conftest.
$ac_ext <<EOF
16204 #line 16205 "configure"
16205 #include "confdefs.h"
16207 #include <sys/statvfs.h>
16220 if { (eval echo configure
:16221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16223 wx_cv_func_statvfs
=yes
16226 echo "configure: failed program was:" >&5
16227 cat conftest.
$ac_ext >&5
16230 wx_cv_func_statvfs
=no
16238 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16240 if test "$wx_cv_func_statvfs" = "yes"; then
16241 cat >> confdefs.h
<<\EOF
16242 #define HAVE_STATVFS 1
16246 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16250 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16251 for ac_func
in fcntl flock
16253 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16254 echo "configure:16255: checking for $ac_func" >&5
16255 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16256 echo $ac_n "(cached) $ac_c" 1>&6
16258 cat > conftest.
$ac_ext <<EOF
16259 #line 16260 "configure"
16260 #include "confdefs.h"
16261 /* System header to define __stub macros and hopefully few prototypes,
16262 which can conflict with char $ac_func(); below. */
16263 #include <assert.h>
16264 /* Override any gcc2 internal prototype to avoid an error. */
16265 /* We use char because int might match the return type of a gcc2
16266 builtin and then its argument prototype would still apply. */
16271 /* The GNU C library defines this for functions which it implements
16272 to always fail with ENOSYS. Some functions are actually named
16273 something starting with __ and the normal name is an alias. */
16274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16282 if { (eval echo configure
:16283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16284 eval "ac_cv_func_$ac_func=yes"
16286 echo "configure: failed program was:" >&5
16287 cat conftest.
$ac_ext >&5
16289 eval "ac_cv_func_$ac_func=no"
16294 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16295 echo "$ac_t""yes" 1>&6
16296 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16297 cat >> confdefs.h
<<EOF
16298 #define $ac_tr_func 1
16302 echo "$ac_t""no" 1>&6
16307 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16308 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16309 wxUSE_SNGLINST_CHECKER
=no
16313 for ac_func
in timegm
16315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16316 echo "configure:16317: checking for $ac_func" >&5
16317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16318 echo $ac_n "(cached) $ac_c" 1>&6
16320 cat > conftest.
$ac_ext <<EOF
16321 #line 16322 "configure"
16322 #include "confdefs.h"
16323 /* System header to define __stub macros and hopefully few prototypes,
16324 which can conflict with char $ac_func(); below. */
16325 #include <assert.h>
16326 /* Override any gcc2 internal prototype to avoid an error. */
16327 /* We use char because int might match the return type of a gcc2
16328 builtin and then its argument prototype would still apply. */
16333 /* The GNU C library defines this for functions which it implements
16334 to always fail with ENOSYS. Some functions are actually named
16335 something starting with __ and the normal name is an alias. */
16336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16344 if { (eval echo configure
:16345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16346 eval "ac_cv_func_$ac_func=yes"
16348 echo "configure: failed program was:" >&5
16349 cat conftest.
$ac_ext >&5
16351 eval "ac_cv_func_$ac_func=no"
16356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16357 echo "$ac_t""yes" 1>&6
16358 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16359 cat >> confdefs.h
<<EOF
16360 #define $ac_tr_func 1
16364 echo "$ac_t""no" 1>&6
16369 for ac_func
in putenv setenv
16371 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16372 echo "configure:16373: checking for $ac_func" >&5
16373 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16374 echo $ac_n "(cached) $ac_c" 1>&6
16376 cat > conftest.
$ac_ext <<EOF
16377 #line 16378 "configure"
16378 #include "confdefs.h"
16379 /* System header to define __stub macros and hopefully few prototypes,
16380 which can conflict with char $ac_func(); below. */
16381 #include <assert.h>
16382 /* Override any gcc2 internal prototype to avoid an error. */
16383 /* We use char because int might match the return type of a gcc2
16384 builtin and then its argument prototype would still apply. */
16389 /* The GNU C library defines this for functions which it implements
16390 to always fail with ENOSYS. Some functions are actually named
16391 something starting with __ and the normal name is an alias. */
16392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16400 if { (eval echo configure
:16401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16402 eval "ac_cv_func_$ac_func=yes"
16404 echo "configure: failed program was:" >&5
16405 cat conftest.
$ac_ext >&5
16407 eval "ac_cv_func_$ac_func=no"
16412 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16413 echo "$ac_t""yes" 1>&6
16414 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16415 cat >> confdefs.h
<<EOF
16416 #define $ac_tr_func 1
16420 echo "$ac_t""no" 1>&6
16425 HAVE_SOME_SLEEP_FUNC
=0
16426 if test "$USE_BEOS" = 1; then
16427 cat >> confdefs.h
<<\EOF
16428 #define HAVE_SLEEP 1
16431 HAVE_SOME_SLEEP_FUNC
=1
16434 if test "$USE_DARWIN" = 1; then
16435 cat >> confdefs.h
<<\EOF
16436 #define HAVE_USLEEP 1
16439 HAVE_SOME_SLEEP_FUNC
=1
16442 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16444 for ac_func
in nanosleep
16446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16447 echo "configure:16448: checking for $ac_func" >&5
16448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16449 echo $ac_n "(cached) $ac_c" 1>&6
16451 cat > conftest.
$ac_ext <<EOF
16452 #line 16453 "configure"
16453 #include "confdefs.h"
16454 /* System header to define __stub macros and hopefully few prototypes,
16455 which can conflict with char $ac_func(); below. */
16456 #include <assert.h>
16457 /* Override any gcc2 internal prototype to avoid an error. */
16458 /* We use char because int might match the return type of a gcc2
16459 builtin and then its argument prototype would still apply. */
16464 /* The GNU C library defines this for functions which it implements
16465 to always fail with ENOSYS. Some functions are actually named
16466 something starting with __ and the normal name is an alias. */
16467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16475 if { (eval echo configure
:16476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16477 eval "ac_cv_func_$ac_func=yes"
16479 echo "configure: failed program was:" >&5
16480 cat conftest.
$ac_ext >&5
16482 eval "ac_cv_func_$ac_func=no"
16487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16488 echo "$ac_t""yes" 1>&6
16489 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16490 cat >> confdefs.h
<<EOF
16491 #define $ac_tr_func 1
16493 cat >> confdefs.h
<<\EOF
16494 #define HAVE_NANOSLEEP 1
16498 echo "$ac_t""no" 1>&6
16499 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16500 echo "configure:16501: checking for nanosleep in -lposix4" >&5
16501 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16502 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16503 echo $ac_n "(cached) $ac_c" 1>&6
16505 ac_save_LIBS
="$LIBS"
16506 LIBS
="-lposix4 $LIBS"
16507 cat > conftest.
$ac_ext <<EOF
16508 #line 16509 "configure"
16509 #include "confdefs.h"
16510 /* Override any gcc2 internal prototype to avoid an error. */
16511 /* We use char because int might match the return type of a gcc2
16512 builtin and then its argument prototype would still apply. */
16519 if { (eval echo configure
:16520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16521 eval "ac_cv_lib_$ac_lib_var=yes"
16523 echo "configure: failed program was:" >&5
16524 cat conftest.
$ac_ext >&5
16526 eval "ac_cv_lib_$ac_lib_var=no"
16529 LIBS
="$ac_save_LIBS"
16532 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16533 echo "$ac_t""yes" 1>&6
16535 cat >> confdefs.h
<<\EOF
16536 #define HAVE_NANOSLEEP 1
16539 POSIX4_LINK
=" -lposix4"
16542 echo "$ac_t""no" 1>&6
16544 for ac_func
in usleep
16546 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16547 echo "configure:16548: checking for $ac_func" >&5
16548 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16549 echo $ac_n "(cached) $ac_c" 1>&6
16551 cat > conftest.
$ac_ext <<EOF
16552 #line 16553 "configure"
16553 #include "confdefs.h"
16554 /* System header to define __stub macros and hopefully few prototypes,
16555 which can conflict with char $ac_func(); below. */
16556 #include <assert.h>
16557 /* Override any gcc2 internal prototype to avoid an error. */
16558 /* We use char because int might match the return type of a gcc2
16559 builtin and then its argument prototype would still apply. */
16564 /* The GNU C library defines this for functions which it implements
16565 to always fail with ENOSYS. Some functions are actually named
16566 something starting with __ and the normal name is an alias. */
16567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16575 if { (eval echo configure
:16576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16577 eval "ac_cv_func_$ac_func=yes"
16579 echo "configure: failed program was:" >&5
16580 cat conftest.
$ac_ext >&5
16582 eval "ac_cv_func_$ac_func=no"
16587 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16588 echo "$ac_t""yes" 1>&6
16589 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16590 cat >> confdefs.h
<<EOF
16591 #define $ac_tr_func 1
16593 cat >> confdefs.h
<<\EOF
16594 #define HAVE_USLEEP 1
16598 echo "$ac_t""no" 1>&6
16599 echo "configure: warning: wxSleep() function will not work" 1>&2
16615 for ac_func
in uname gethostname
16617 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16618 echo "configure:16619: checking for $ac_func" >&5
16619 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16620 echo $ac_n "(cached) $ac_c" 1>&6
16622 cat > conftest.
$ac_ext <<EOF
16623 #line 16624 "configure"
16624 #include "confdefs.h"
16625 /* System header to define __stub macros and hopefully few prototypes,
16626 which can conflict with char $ac_func(); below. */
16627 #include <assert.h>
16628 /* Override any gcc2 internal prototype to avoid an error. */
16629 /* We use char because int might match the return type of a gcc2
16630 builtin and then its argument prototype would still apply. */
16635 /* The GNU C library defines this for functions which it implements
16636 to always fail with ENOSYS. Some functions are actually named
16637 something starting with __ and the normal name is an alias. */
16638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16646 if { (eval echo configure
:16647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16648 eval "ac_cv_func_$ac_func=yes"
16650 echo "configure: failed program was:" >&5
16651 cat conftest.
$ac_ext >&5
16653 eval "ac_cv_func_$ac_func=no"
16658 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16659 echo "$ac_t""yes" 1>&6
16660 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16661 cat >> confdefs.h
<<EOF
16662 #define $ac_tr_func 1
16666 echo "$ac_t""no" 1>&6
16673 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16674 ac_cpp
='$CXXCPP $CPPFLAGS'
16675 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16676 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16677 cross_compiling
=$ac_cv_prog_cxx_cross
16680 for ac_func
in strtok_r
16682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16683 echo "configure:16684: checking for $ac_func" >&5
16684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16685 echo $ac_n "(cached) $ac_c" 1>&6
16687 cat > conftest.
$ac_ext <<EOF
16688 #line 16689 "configure"
16689 #include "confdefs.h"
16690 /* System header to define __stub macros and hopefully few prototypes,
16691 which can conflict with char $ac_func(); below. */
16692 #include <assert.h>
16693 /* Override any gcc2 internal prototype to avoid an error. */
16697 /* We use char because int might match the return type of a gcc2
16698 builtin and then its argument prototype would still apply. */
16703 /* The GNU C library defines this for functions which it implements
16704 to always fail with ENOSYS. Some functions are actually named
16705 something starting with __ and the normal name is an alias. */
16706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16714 if { (eval echo configure
:16715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16716 eval "ac_cv_func_$ac_func=yes"
16718 echo "configure: failed program was:" >&5
16719 cat conftest.
$ac_ext >&5
16721 eval "ac_cv_func_$ac_func=no"
16726 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16727 echo "$ac_t""yes" 1>&6
16728 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16729 cat >> confdefs.h
<<EOF
16730 #define $ac_tr_func 1
16734 echo "$ac_t""no" 1>&6
16740 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16741 ac_cpp
='$CPP $CPPFLAGS'
16742 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16743 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16744 cross_compiling
=$ac_cv_prog_cc_cross
16748 for ac_func
in inet_addr
16750 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16751 echo "configure:16752: checking for $ac_func" >&5
16752 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16753 echo $ac_n "(cached) $ac_c" 1>&6
16755 cat > conftest.
$ac_ext <<EOF
16756 #line 16757 "configure"
16757 #include "confdefs.h"
16758 /* System header to define __stub macros and hopefully few prototypes,
16759 which can conflict with char $ac_func(); below. */
16760 #include <assert.h>
16761 /* Override any gcc2 internal prototype to avoid an error. */
16762 /* We use char because int might match the return type of a gcc2
16763 builtin and then its argument prototype would still apply. */
16768 /* The GNU C library defines this for functions which it implements
16769 to always fail with ENOSYS. Some functions are actually named
16770 something starting with __ and the normal name is an alias. */
16771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16779 if { (eval echo configure
:16780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16781 eval "ac_cv_func_$ac_func=yes"
16783 echo "configure: failed program was:" >&5
16784 cat conftest.
$ac_ext >&5
16786 eval "ac_cv_func_$ac_func=no"
16791 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16792 echo "$ac_t""yes" 1>&6
16793 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16794 cat >> confdefs.h
<<EOF
16795 #define $ac_tr_func 1
16797 cat >> confdefs.h
<<\EOF
16798 #define HAVE_INET_ADDR 1
16802 echo "$ac_t""no" 1>&6
16803 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
16804 echo "configure:16805: checking for inet_addr in -lnsl" >&5
16805 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
16806 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16807 echo $ac_n "(cached) $ac_c" 1>&6
16809 ac_save_LIBS
="$LIBS"
16811 cat > conftest.
$ac_ext <<EOF
16812 #line 16813 "configure"
16813 #include "confdefs.h"
16814 /* Override any gcc2 internal prototype to avoid an error. */
16815 /* We use char because int might match the return type of a gcc2
16816 builtin and then its argument prototype would still apply. */
16823 if { (eval echo configure
:16824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16825 eval "ac_cv_lib_$ac_lib_var=yes"
16827 echo "configure: failed program was:" >&5
16828 cat conftest.
$ac_ext >&5
16830 eval "ac_cv_lib_$ac_lib_var=no"
16833 LIBS
="$ac_save_LIBS"
16836 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16837 echo "$ac_t""yes" 1>&6
16840 echo "$ac_t""no" 1>&6
16841 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16842 echo "configure:16843: checking for inet_addr in -lresolv" >&5
16843 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16844 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16845 echo $ac_n "(cached) $ac_c" 1>&6
16847 ac_save_LIBS
="$LIBS"
16848 LIBS
="-lresolv $LIBS"
16849 cat > conftest.
$ac_ext <<EOF
16850 #line 16851 "configure"
16851 #include "confdefs.h"
16852 /* Override any gcc2 internal prototype to avoid an error. */
16853 /* We use char because int might match the return type of a gcc2
16854 builtin and then its argument prototype would still apply. */
16861 if { (eval echo configure
:16862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16863 eval "ac_cv_lib_$ac_lib_var=yes"
16865 echo "configure: failed program was:" >&5
16866 cat conftest.
$ac_ext >&5
16868 eval "ac_cv_lib_$ac_lib_var=no"
16871 LIBS
="$ac_save_LIBS"
16874 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16875 echo "$ac_t""yes" 1>&6
16878 echo "$ac_t""no" 1>&6
16879 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
16880 echo "configure:16881: checking for inet_addr in -lsocket" >&5
16881 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
16882 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16883 echo $ac_n "(cached) $ac_c" 1>&6
16885 ac_save_LIBS
="$LIBS"
16886 LIBS
="-lsocket $LIBS"
16887 cat > conftest.
$ac_ext <<EOF
16888 #line 16889 "configure"
16889 #include "confdefs.h"
16890 /* Override any gcc2 internal prototype to avoid an error. */
16891 /* We use char because int might match the return type of a gcc2
16892 builtin and then its argument prototype would still apply. */
16899 if { (eval echo configure
:16900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16901 eval "ac_cv_lib_$ac_lib_var=yes"
16903 echo "configure: failed program was:" >&5
16904 cat conftest.
$ac_ext >&5
16906 eval "ac_cv_lib_$ac_lib_var=no"
16909 LIBS
="$ac_save_LIBS"
16912 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16913 echo "$ac_t""yes" 1>&6
16917 echo "$ac_t""no" 1>&6
16932 for ac_func
in inet_aton
16934 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16935 echo "configure:16936: checking for $ac_func" >&5
16936 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16937 echo $ac_n "(cached) $ac_c" 1>&6
16939 cat > conftest.
$ac_ext <<EOF
16940 #line 16941 "configure"
16941 #include "confdefs.h"
16942 /* System header to define __stub macros and hopefully few prototypes,
16943 which can conflict with char $ac_func(); below. */
16944 #include <assert.h>
16945 /* Override any gcc2 internal prototype to avoid an error. */
16946 /* We use char because int might match the return type of a gcc2
16947 builtin and then its argument prototype would still apply. */
16952 /* The GNU C library defines this for functions which it implements
16953 to always fail with ENOSYS. Some functions are actually named
16954 something starting with __ and the normal name is an alias. */
16955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16963 if { (eval echo configure
:16964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16965 eval "ac_cv_func_$ac_func=yes"
16967 echo "configure: failed program was:" >&5
16968 cat conftest.
$ac_ext >&5
16970 eval "ac_cv_func_$ac_func=no"
16975 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16976 echo "$ac_t""yes" 1>&6
16977 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16978 cat >> confdefs.h
<<EOF
16979 #define $ac_tr_func 1
16981 cat >> confdefs.h
<<\EOF
16982 #define HAVE_INET_ATON 1
16986 echo "$ac_t""no" 1>&6
16987 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16988 echo "configure:16989: checking for inet_aton in -l$INET_LINK" >&5
16989 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16990 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16991 echo $ac_n "(cached) $ac_c" 1>&6
16993 ac_save_LIBS
="$LIBS"
16994 LIBS
="-l$INET_LINK $LIBS"
16995 cat > conftest.
$ac_ext <<EOF
16996 #line 16997 "configure"
16997 #include "confdefs.h"
16998 /* Override any gcc2 internal prototype to avoid an error. */
16999 /* We use char because int might match the return type of a gcc2
17000 builtin and then its argument prototype would still apply. */
17007 if { (eval echo configure
:17008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17009 eval "ac_cv_lib_$ac_lib_var=yes"
17011 echo "configure: failed program was:" >&5
17012 cat conftest.
$ac_ext >&5
17014 eval "ac_cv_lib_$ac_lib_var=no"
17017 LIBS
="$ac_save_LIBS"
17020 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17021 echo "$ac_t""yes" 1>&6
17022 cat >> confdefs.h
<<\EOF
17023 #define HAVE_INET_ATON 1
17027 echo "$ac_t""no" 1>&6
17035 if test "x$INET_LINK" != "x"; then
17036 cat >> confdefs.h
<<\EOF
17037 #define HAVE_INET_ADDR 1
17040 INET_LINK
=" -l$INET_LINK"
17046 cat > confcache
<<\EOF
17047 # This file is a shell script that caches the results of configure
17048 # tests run on this system so they can be shared between configure
17049 # scripts and configure runs. It is not useful on other systems.
17050 # If it contains results you don't want to keep, you may remove or edit it.
17052 # By default, configure uses ./config.cache as the cache file,
17053 # creating it if it does not exist already. You can give configure
17054 # the --cache-file=FILE option to use a different cache file; that is
17055 # what configure does when it calls configure scripts in
17056 # subdirectories, so they share the cache.
17057 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17058 # config.status only pays attention to the cache file if you give it the
17059 # --recheck option to rerun configure.
17062 # The following way of writing the cache mishandles newlines in values,
17063 # but we know of no workaround that is simple, portable, and efficient.
17064 # So, don't put newlines in cache variables' values.
17065 # Ultrix sh set writes to stderr and can't be redirected directly,
17066 # and sets the high bit in the cache file unless we assign to the vars.
17068 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17070 # `set' does not quote correctly, so add quotes (double-quote substitution
17071 # turns \\\\ into \\, and sed turns \\ into \).
17073 -e "s/'/'\\\\''/g" \
17074 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17077 # `set' quotes correctly as required by POSIX, so do not add quotes.
17078 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17081 if cmp -s $cache_file confcache
; then
17084 if test -w $cache_file; then
17085 echo "updating cache $cache_file"
17086 cat confcache
> $cache_file
17088 echo "not updating unwritable cache $cache_file"
17095 if test "$TOOLKIT" != "MSW"; then
17101 CODE_GEN_FLAGS_CXX
=
17103 if test "$wxUSE_THREADS" = "yes" ; then
17104 if test "$wxUSE_WINE" = 1 ; then
17105 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17107 elif test "$USE_BEOS" = 1; then
17108 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17113 if test "$wxUSE_THREADS" = "yes" ; then
17115 if test "$USE_AIX" = 1; then
17116 THREADS_LIB
=pthreads
17118 THREADS_LIB
=pthread
17121 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
17122 echo "configure:17123: checking for pthread_create in -l$THREADS_LIB" >&5
17123 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
17124 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17125 echo $ac_n "(cached) $ac_c" 1>&6
17127 ac_save_LIBS
="$LIBS"
17128 LIBS
="-l$THREADS_LIB $LIBS"
17129 cat > conftest.
$ac_ext <<EOF
17130 #line 17131 "configure"
17131 #include "confdefs.h"
17132 /* Override any gcc2 internal prototype to avoid an error. */
17133 /* We use char because int might match the return type of a gcc2
17134 builtin and then its argument prototype would still apply. */
17135 char pthread_create();
17141 if { (eval echo configure
:17142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17143 eval "ac_cv_lib_$ac_lib_var=yes"
17145 echo "configure: failed program was:" >&5
17146 cat conftest.
$ac_ext >&5
17148 eval "ac_cv_lib_$ac_lib_var=no"
17151 LIBS
="$ac_save_LIBS"
17154 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17155 echo "$ac_t""yes" 1>&6
17157 THREADS_OBJ
="threadpsx.lo"
17158 THREADS_LINK
=$THREADS_LIB
17161 echo "$ac_t""no" 1>&6
17163 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
17164 echo "configure:17165: checking for pthread_create in -lc_r" >&5
17165 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
17166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17167 echo $ac_n "(cached) $ac_c" 1>&6
17169 ac_save_LIBS
="$LIBS"
17171 cat > conftest.
$ac_ext <<EOF
17172 #line 17173 "configure"
17173 #include "confdefs.h"
17174 /* Override any gcc2 internal prototype to avoid an error. */
17175 /* We use char because int might match the return type of a gcc2
17176 builtin and then its argument prototype would still apply. */
17177 char pthread_create();
17183 if { (eval echo configure
:17184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17185 eval "ac_cv_lib_$ac_lib_var=yes"
17187 echo "configure: failed program was:" >&5
17188 cat conftest.
$ac_ext >&5
17190 eval "ac_cv_lib_$ac_lib_var=no"
17193 LIBS
="$ac_save_LIBS"
17196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17197 echo "$ac_t""yes" 1>&6
17199 THREADS_OBJ
="threadpsx.lo"
17203 echo "$ac_t""no" 1>&6
17205 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
17206 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
17207 echo "configure:17208: checking for sys/prctl.h" >&5
17208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17209 echo $ac_n "(cached) $ac_c" 1>&6
17211 cat > conftest.
$ac_ext <<EOF
17212 #line 17213 "configure"
17213 #include "confdefs.h"
17214 #include <sys/prctl.h>
17216 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17217 { (eval echo configure
:17218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17218 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17219 if test -z "$ac_err"; then
17221 eval "ac_cv_header_$ac_safe=yes"
17224 echo "configure: failed program was:" >&5
17225 cat conftest.
$ac_ext >&5
17227 eval "ac_cv_header_$ac_safe=no"
17231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17232 echo "$ac_t""yes" 1>&6
17234 THREADS_OBJ
="threadsgi.lo"
17237 echo "$ac_t""no" 1>&6
17247 if test -z "$THREADS_OBJ" ; then
17249 echo "configure: warning: No thread support on this system... disabled" 1>&2
17253 if test "$wxUSE_THREADS" = "yes" ; then
17254 for ac_func
in thr_setconcurrency
17256 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17257 echo "configure:17258: checking for $ac_func" >&5
17258 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17259 echo $ac_n "(cached) $ac_c" 1>&6
17261 cat > conftest.
$ac_ext <<EOF
17262 #line 17263 "configure"
17263 #include "confdefs.h"
17264 /* System header to define __stub macros and hopefully few prototypes,
17265 which can conflict with char $ac_func(); below. */
17266 #include <assert.h>
17267 /* Override any gcc2 internal prototype to avoid an error. */
17268 /* We use char because int might match the return type of a gcc2
17269 builtin and then its argument prototype would still apply. */
17274 /* The GNU C library defines this for functions which it implements
17275 to always fail with ENOSYS. Some functions are actually named
17276 something starting with __ and the normal name is an alias. */
17277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17285 if { (eval echo configure
:17286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17287 eval "ac_cv_func_$ac_func=yes"
17289 echo "configure: failed program was:" >&5
17290 cat conftest.
$ac_ext >&5
17292 eval "ac_cv_func_$ac_func=no"
17297 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17298 echo "$ac_t""yes" 1>&6
17299 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17300 cat >> confdefs.h
<<EOF
17301 #define $ac_tr_func 1
17305 echo "$ac_t""no" 1>&6
17311 for ac_hdr
in sched.h
17313 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17314 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17315 echo "configure:17316: checking for $ac_hdr" >&5
17316 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17317 echo $ac_n "(cached) $ac_c" 1>&6
17319 cat > conftest.
$ac_ext <<EOF
17320 #line 17321 "configure"
17321 #include "confdefs.h"
17324 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17325 { (eval echo configure
:17326: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17326 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17327 if test -z "$ac_err"; then
17329 eval "ac_cv_header_$ac_safe=yes"
17332 echo "configure: failed program was:" >&5
17333 cat conftest.
$ac_ext >&5
17335 eval "ac_cv_header_$ac_safe=no"
17339 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17340 echo "$ac_t""yes" 1>&6
17341 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17342 cat >> confdefs.h
<<EOF
17343 #define $ac_tr_hdr 1
17347 echo "$ac_t""no" 1>&6
17352 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
17353 echo "configure:17354: checking for sched_yield in -l$THREADS_LINK" >&5
17354 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
17355 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17356 echo $ac_n "(cached) $ac_c" 1>&6
17358 ac_save_LIBS
="$LIBS"
17359 LIBS
="-l$THREADS_LINK $LIBS"
17360 cat > conftest.
$ac_ext <<EOF
17361 #line 17362 "configure"
17362 #include "confdefs.h"
17363 /* Override any gcc2 internal prototype to avoid an error. */
17364 /* We use char because int might match the return type of a gcc2
17365 builtin and then its argument prototype would still apply. */
17366 char sched_yield();
17372 if { (eval echo configure
:17373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17374 eval "ac_cv_lib_$ac_lib_var=yes"
17376 echo "configure: failed program was:" >&5
17377 cat conftest.
$ac_ext >&5
17379 eval "ac_cv_lib_$ac_lib_var=no"
17382 LIBS
="$ac_save_LIBS"
17385 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17386 echo "$ac_t""yes" 1>&6
17387 cat >> confdefs.h
<<\EOF
17388 #define HAVE_SCHED_YIELD 1
17392 echo "$ac_t""no" 1>&6
17393 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17394 echo "configure:17395: checking for sched_yield in -lposix4" >&5
17395 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17396 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17397 echo $ac_n "(cached) $ac_c" 1>&6
17399 ac_save_LIBS
="$LIBS"
17400 LIBS
="-lposix4 $LIBS"
17401 cat > conftest.
$ac_ext <<EOF
17402 #line 17403 "configure"
17403 #include "confdefs.h"
17404 /* Override any gcc2 internal prototype to avoid an error. */
17405 /* We use char because int might match the return type of a gcc2
17406 builtin and then its argument prototype would still apply. */
17407 char sched_yield();
17413 if { (eval echo configure
:17414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17415 eval "ac_cv_lib_$ac_lib_var=yes"
17417 echo "configure: failed program was:" >&5
17418 cat conftest.
$ac_ext >&5
17420 eval "ac_cv_lib_$ac_lib_var=no"
17423 LIBS
="$ac_save_LIBS"
17426 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17427 echo "$ac_t""yes" 1>&6
17428 cat >> confdefs.h
<<\EOF
17429 #define HAVE_SCHED_YIELD 1
17431 POSIX4_LINK
=" -lposix4"
17433 echo "$ac_t""no" 1>&6
17434 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17443 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
17444 echo "configure:17445: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
17445 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
17446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17447 echo $ac_n "(cached) $ac_c" 1>&6
17449 ac_save_LIBS
="$LIBS"
17450 LIBS
="-l$THREADS_LINK $LIBS"
17451 cat > conftest.
$ac_ext <<EOF
17452 #line 17453 "configure"
17453 #include "confdefs.h"
17454 /* Override any gcc2 internal prototype to avoid an error. */
17455 /* We use char because int might match the return type of a gcc2
17456 builtin and then its argument prototype would still apply. */
17457 char pthread_attr_getschedpolicy();
17460 pthread_attr_getschedpolicy()
17463 if { (eval echo configure
:17464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17465 eval "ac_cv_lib_$ac_lib_var=yes"
17467 echo "configure: failed program was:" >&5
17468 cat conftest.
$ac_ext >&5
17470 eval "ac_cv_lib_$ac_lib_var=no"
17473 LIBS
="$ac_save_LIBS"
17476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17477 echo "$ac_t""yes" 1>&6
17478 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
17479 echo "configure:17480: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
17480 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
17481 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17482 echo $ac_n "(cached) $ac_c" 1>&6
17484 ac_save_LIBS
="$LIBS"
17485 LIBS
="-l$THREADS_LINK $LIBS"
17486 cat > conftest.
$ac_ext <<EOF
17487 #line 17488 "configure"
17488 #include "confdefs.h"
17489 /* Override any gcc2 internal prototype to avoid an error. */
17490 /* We use char because int might match the return type of a gcc2
17491 builtin and then its argument prototype would still apply. */
17492 char pthread_attr_setschedparam();
17495 pthread_attr_setschedparam()
17498 if { (eval echo configure
:17499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17500 eval "ac_cv_lib_$ac_lib_var=yes"
17502 echo "configure: failed program was:" >&5
17503 cat conftest.
$ac_ext >&5
17505 eval "ac_cv_lib_$ac_lib_var=no"
17508 LIBS
="$ac_save_LIBS"
17511 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17512 echo "$ac_t""yes" 1>&6
17513 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
17514 echo "configure:17515: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
17515 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17517 echo $ac_n "(cached) $ac_c" 1>&6
17519 ac_save_LIBS
="$LIBS"
17520 LIBS
="-l$THREADS_LINK $LIBS"
17521 cat > conftest.
$ac_ext <<EOF
17522 #line 17523 "configure"
17523 #include "confdefs.h"
17524 /* Override any gcc2 internal prototype to avoid an error. */
17525 /* We use char because int might match the return type of a gcc2
17526 builtin and then its argument prototype would still apply. */
17527 char sched_get_priority_max();
17530 sched_get_priority_max()
17533 if { (eval echo configure
:17534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17535 eval "ac_cv_lib_$ac_lib_var=yes"
17537 echo "configure: failed program was:" >&5
17538 cat conftest.
$ac_ext >&5
17540 eval "ac_cv_lib_$ac_lib_var=no"
17543 LIBS
="$ac_save_LIBS"
17546 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17547 echo "$ac_t""yes" 1>&6
17550 echo "$ac_t""no" 1>&6
17551 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17552 echo "configure:17553: checking for sched_get_priority_max in -lposix4" >&5
17553 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17554 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17555 echo $ac_n "(cached) $ac_c" 1>&6
17557 ac_save_LIBS
="$LIBS"
17558 LIBS
="-lposix4 $LIBS"
17559 cat > conftest.
$ac_ext <<EOF
17560 #line 17561 "configure"
17561 #include "confdefs.h"
17562 /* Override any gcc2 internal prototype to avoid an error. */
17563 /* We use char because int might match the return type of a gcc2
17564 builtin and then its argument prototype would still apply. */
17565 char sched_get_priority_max();
17568 sched_get_priority_max()
17571 if { (eval echo configure
:17572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17573 eval "ac_cv_lib_$ac_lib_var=yes"
17575 echo "configure: failed program was:" >&5
17576 cat conftest.
$ac_ext >&5
17578 eval "ac_cv_lib_$ac_lib_var=no"
17581 LIBS
="$ac_save_LIBS"
17584 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17585 echo "$ac_t""yes" 1>&6
17588 POSIX4_LINK
=" -lposix4"
17591 echo "$ac_t""no" 1>&6
17599 echo "$ac_t""no" 1>&6
17604 echo "$ac_t""no" 1>&6
17608 if test "$HAVE_PRIOR_FUNCS" = 1; then
17609 cat >> confdefs.h
<<\EOF
17610 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
17614 echo "configure: warning: Setting thread priority will not work" 1>&2
17617 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
17618 echo "configure:17619: checking for pthread_cancel in -l$THREADS_LINK" >&5
17619 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
17620 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17621 echo $ac_n "(cached) $ac_c" 1>&6
17623 ac_save_LIBS
="$LIBS"
17624 LIBS
="-l$THREADS_LINK $LIBS"
17625 cat > conftest.
$ac_ext <<EOF
17626 #line 17627 "configure"
17627 #include "confdefs.h"
17628 /* Override any gcc2 internal prototype to avoid an error. */
17629 /* We use char because int might match the return type of a gcc2
17630 builtin and then its argument prototype would still apply. */
17631 char pthread_cancel();
17637 if { (eval echo configure
:17638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17639 eval "ac_cv_lib_$ac_lib_var=yes"
17641 echo "configure: failed program was:" >&5
17642 cat conftest.
$ac_ext >&5
17644 eval "ac_cv_lib_$ac_lib_var=no"
17647 LIBS
="$ac_save_LIBS"
17650 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17651 echo "$ac_t""yes" 1>&6
17652 cat >> confdefs.h
<<\EOF
17653 #define HAVE_PTHREAD_CANCEL 1
17657 echo "$ac_t""no" 1>&6
17658 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
17662 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
17663 echo "configure:17664: checking for pthread_cleanup_push/pop" >&5
17664 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
17665 echo $ac_n "(cached) $ac_c" 1>&6
17668 cat > conftest.
$ac_ext <<EOF
17669 #line 17670 "configure"
17670 #include "confdefs.h"
17671 #include <pthread.h>
17674 pthread_cleanup_push(NULL, NULL);
17675 pthread_cleanup_pop(0);
17679 if { (eval echo configure
:17680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17682 wx_cv_func_pthread_cleanup_push
=yes
17685 echo "configure: failed program was:" >&5
17686 cat conftest.
$ac_ext >&5
17689 wx_cv_func_pthread_cleanup_push
=no
17696 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
17698 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
17699 cat >> confdefs.h
<<\EOF
17700 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
17706 if test "x$wx_lib_glibc21" = "xyes"; then
17707 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
17710 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
17711 echo "configure:17712: checking for pthread_mutexattr_t" >&5
17712 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
17713 echo $ac_n "(cached) $ac_c" 1>&6
17716 cat > conftest.
$ac_ext <<EOF
17717 #line 17718 "configure"
17718 #include "confdefs.h"
17719 #include <pthread.h>
17722 pthread_mutexattr_t attr;
17723 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
17727 if { (eval echo configure
:17728: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17730 wx_cv_type_pthread_mutexattr_t
=yes
17733 echo "configure: failed program was:" >&5
17734 cat conftest.
$ac_ext >&5
17737 wx_cv_type_pthread_mutexattr_t
=no
17745 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
17747 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
17748 cat >> confdefs.h
<<\EOF
17749 #define HAVE_PTHREAD_MUTEXATTR_T 1
17753 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
17754 echo "configure:17755: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
17755 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
17756 echo $ac_n "(cached) $ac_c" 1>&6
17759 cat > conftest.
$ac_ext <<EOF
17760 #line 17761 "configure"
17761 #include "confdefs.h"
17762 #include <pthread.h>
17765 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
17769 if { (eval echo configure
:17770: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17772 wx_cv_type_pthread_rec_mutex_init
=yes
17775 echo "configure: failed program was:" >&5
17776 cat conftest.
$ac_ext >&5
17779 wx_cv_type_pthread_rec_mutex_init
=no
17787 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
17788 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
17789 cat >> confdefs.h
<<\EOF
17790 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
17794 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
17798 THREADS_LINK
=" -l$THREADS_LINK"
17800 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
17801 CPPFLAGS
="$CFLAGS -mt"
17802 CXXFLAGS
="$CXXFLAGS -mt"
17803 LDFLAGS
="$LDFLAGS -mt"
17809 if test "$wxUSE_THREADS" = "yes"; then
17810 cat >> confdefs.h
<<\EOF
17811 #define wxUSE_THREADS 1
17815 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
17817 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
17819 if test "$ac_cv_func_strtok_r" = "yes"; then
17820 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
17821 echo "configure:17822: checking if -D_REENTRANT is needed" >&5
17822 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
17823 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
17824 echo "$ac_t""yes" 1>&6
17826 echo "$ac_t""no" 1>&6
17831 if test "$WXGTK20" = 1 ; then
17832 cat >> confdefs.h
<<EOF
17833 #define __WXGTK20__ $WXGTK20
17839 if test "$WXGTK12" = 1 ; then
17840 cat >> confdefs.h
<<EOF
17841 #define __WXGTK12__ $WXGTK12
17846 if test "$WXGTK127" = 1 ; then
17847 cat >> confdefs.h
<<EOF
17848 #define __WXGTK127__ $WXGTK127
17855 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
17860 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
17861 wxUSE_DEBUG_INFO
=yes
17865 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
17866 cat >> confdefs.h
<<\EOF
17870 WXDEBUG_DEFINE
="-D__WXDEBUG__"
17872 if test "$wxUSE_GTK" = 1 ; then
17873 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
17877 if test "$wxUSE_MEM_TRACING" = "yes" ; then
17878 cat >> confdefs.h
<<\EOF
17879 #define wxUSE_MEMORY_TRACING 1
17882 cat >> confdefs.h
<<\EOF
17883 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17886 cat >> confdefs.h
<<\EOF
17887 #define wxUSE_DEBUG_NEW_ALWAYS 1
17890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17893 if test "$wxUSE_DMALLOC" = "yes" ; then
17894 DMALLOC_LIBS
="-ldmalloc"
17898 if test "$wxUSE_PROFILE" = "yes" ; then
17902 if test "$GCC" = "yes" ; then
17903 if test "$wxUSE_NO_RTTI" = "yes" ; then
17904 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17906 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17907 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17909 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17910 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17912 if test "$USE_WIN32" = 1 ; then
17913 # I'm not even really sure what this was ever added to solve,
17914 # but someone added it for mingw native builds, so I guess
17915 # they had a reason, right??
17916 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17921 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17922 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17923 if test "$wxUSE_OPTIMISE" = "no" ; then
17926 if test "$GCC" = yes ; then
17929 i586
-*-*|i686
-*-* )
17930 OPTIMISE
="${OPTIMISE} "
17938 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17939 cat >> confdefs.h
<<\EOF
17940 #define WXWIN_COMPATIBILITY_2 1
17944 WXWIN_COMPATIBILITY_2_2
="yes"
17947 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
17948 cat >> confdefs.h
<<\EOF
17949 #define WXWIN_COMPATIBILITY_2_2 1
17955 if test "$wxUSE_GUI" = "yes"; then
17956 cat >> confdefs.h
<<\EOF
17957 #define wxUSE_GUI 1
17962 cat >> confdefs.h
<<\EOF
17963 #define wxUSE_NOGUI 1
17969 if test "$wxUSE_UNIX" = "yes"; then
17970 cat >> confdefs.h
<<\EOF
17971 #define wxUSE_UNIX 1
17977 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17978 cat >> confdefs.h
<<\EOF
17979 #define wxUSE_APPLE_IEEE 1
17984 if test "$wxUSE_TIMER" = "yes"; then
17985 cat >> confdefs.h
<<\EOF
17986 #define wxUSE_TIMER 1
17991 if test "$wxUSE_WAVE" = "yes"; then
17992 cat >> confdefs.h
<<\EOF
17993 #define wxUSE_WAVE 1
17998 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17999 cat >> confdefs.h
<<\EOF
18000 #define wxUSE_CMDLINE_PARSER 1
18005 if test "$wxUSE_STOPWATCH" = "yes"; then
18006 cat >> confdefs.h
<<\EOF
18007 #define wxUSE_STOPWATCH 1
18012 if test "$wxUSE_DATETIME" = "yes"; then
18013 cat >> confdefs.h
<<\EOF
18014 #define wxUSE_DATETIME 1
18019 if test "$wxUSE_TIMEDATE" = "yes"; then
18020 cat >> confdefs.h
<<\EOF
18021 #define wxUSE_TIMEDATE 1
18026 if test "$wxUSE_FILE" = "yes"; then
18027 cat >> confdefs.h
<<\EOF
18028 #define wxUSE_FILE 1
18033 if test "$wxUSE_FFILE" = "yes"; then
18034 cat >> confdefs.h
<<\EOF
18035 #define wxUSE_FFILE 1
18040 if test "$wxUSE_FILESYSTEM" = "yes"; then
18041 cat >> confdefs.h
<<\EOF
18042 #define wxUSE_FILESYSTEM 1
18047 if test "$wxUSE_FS_INET" = "yes"; then
18048 cat >> confdefs.h
<<\EOF
18049 #define wxUSE_FS_INET 1
18054 if test "$wxUSE_FS_ZIP" = "yes"; then
18055 cat >> confdefs.h
<<\EOF
18056 #define wxUSE_FS_ZIP 1
18061 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18062 cat >> confdefs.h
<<\EOF
18063 #define wxUSE_ZIPSTREAM 1
18068 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18069 cat >> confdefs.h
<<\EOF
18070 #define wxUSE_ON_FATAL_EXCEPTION 1
18075 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18076 cat >> confdefs.h
<<\EOF
18077 #define wxUSE_SNGLINST_CHECKER 1
18082 if test "$wxUSE_BUSYINFO" = "yes"; then
18083 cat >> confdefs.h
<<\EOF
18084 #define wxUSE_BUSYINFO 1
18089 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18090 cat >> confdefs.h
<<\EOF
18091 #define wxUSE_STD_IOSTREAM 1
18096 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18097 cat >> confdefs.h
<<\EOF
18098 #define wxUSE_TEXTBUFFER 1
18103 if test "$wxUSE_TEXTFILE" = "yes"; then
18104 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18105 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18107 cat >> confdefs.h
<<\EOF
18108 #define wxUSE_TEXTFILE 1
18114 if test "$wxUSE_CONFIG" = "yes" ; then
18115 if test "$wxUSE_TEXTFILE" != "yes"; then
18116 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18118 cat >> confdefs.h
<<\EOF
18119 #define wxUSE_CONFIG 1
18122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18126 if test "$wxUSE_INTL" = "yes" ; then
18127 if test "$wxUSE_FILE" != "yes"; then
18128 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18130 cat >> confdefs.h
<<\EOF
18131 #define wxUSE_INTL 1
18134 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18135 GUIDIST
="$GUIDIST INTL_DIST"
18139 if test "$wxUSE_LOG" = "yes"; then
18140 cat >> confdefs.h
<<\EOF
18141 #define wxUSE_LOG 1
18145 if test "$wxUSE_LOGGUI" = "yes"; then
18146 cat >> confdefs.h
<<\EOF
18147 #define wxUSE_LOGGUI 1
18152 if test "$wxUSE_LOGWINDOW" = "yes"; then
18153 cat >> confdefs.h
<<\EOF
18154 #define wxUSE_LOGWINDOW 1
18159 if test "$wxUSE_LOGDIALOG" = "yes"; then
18160 cat >> confdefs.h
<<\EOF
18161 #define wxUSE_LOG_DIALOG 1
18167 if test "$wxUSE_LONGLONG" = "yes"; then
18168 cat >> confdefs.h
<<\EOF
18169 #define wxUSE_LONGLONG 1
18174 if test "$wxUSE_GEOMETRY" = "yes"; then
18175 cat >> confdefs.h
<<\EOF
18176 #define wxUSE_GEOMETRY 1
18181 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18182 cat >> confdefs.h
<<\EOF
18183 #define wxUSE_DIALUP_MANAGER 1
18186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18189 if test "$wxUSE_STREAMS" = "yes" ; then
18190 cat >> confdefs.h
<<\EOF
18191 #define wxUSE_STREAMS 1
18197 if test "$wxUSE_DATETIME" = "yes"; then
18198 for ac_func
in strptime
18200 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18201 echo "configure:18202: checking for $ac_func" >&5
18202 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18203 echo $ac_n "(cached) $ac_c" 1>&6
18205 cat > conftest.
$ac_ext <<EOF
18206 #line 18207 "configure"
18207 #include "confdefs.h"
18208 /* System header to define __stub macros and hopefully few prototypes,
18209 which can conflict with char $ac_func(); below. */
18210 #include <assert.h>
18211 /* Override any gcc2 internal prototype to avoid an error. */
18212 /* We use char because int might match the return type of a gcc2
18213 builtin and then its argument prototype would still apply. */
18218 /* The GNU C library defines this for functions which it implements
18219 to always fail with ENOSYS. Some functions are actually named
18220 something starting with __ and the normal name is an alias. */
18221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18229 if { (eval echo configure
:18230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18231 eval "ac_cv_func_$ac_func=yes"
18233 echo "configure: failed program was:" >&5
18234 cat conftest.
$ac_ext >&5
18236 eval "ac_cv_func_$ac_func=no"
18241 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18242 echo "$ac_t""yes" 1>&6
18243 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18244 cat >> confdefs.h
<<EOF
18245 #define $ac_tr_func 1
18249 echo "$ac_t""no" 1>&6
18254 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18255 echo "configure:18256: checking for timezone variable in <time.h>" >&5
18256 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18257 echo $ac_n "(cached) $ac_c" 1>&6
18260 cat > conftest.
$ac_ext <<EOF
18261 #line 18262 "configure"
18262 #include "confdefs.h"
18273 if { (eval echo configure
:18274: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18276 wx_cv_var_timezone
=timezone
18279 echo "configure: failed program was:" >&5
18280 cat conftest.
$ac_ext >&5
18283 cat > conftest.
$ac_ext <<EOF
18284 #line 18285 "configure"
18285 #include "confdefs.h"
18296 if { (eval echo configure
:18297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18299 wx_cv_var_timezone
=_timezone
18302 echo "configure: failed program was:" >&5
18303 cat conftest.
$ac_ext >&5
18306 cat > conftest.
$ac_ext <<EOF
18307 #line 18308 "configure"
18308 #include "confdefs.h"
18319 if { (eval echo configure
:18320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18322 wx_cv_var_timezone
=__timezone
18325 echo "configure: failed program was:" >&5
18326 cat conftest.
$ac_ext >&5
18329 if test "$USE_DOS" = 0 ; then
18330 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
18348 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18350 if test "x$wx_cv_var_timezone" != x
; then
18351 cat >> confdefs.h
<<EOF
18352 #define WX_TIMEZONE $wx_cv_var_timezone
18357 for ac_func
in localtime
18359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18360 echo "configure:18361: checking for $ac_func" >&5
18361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18364 cat > conftest.
$ac_ext <<EOF
18365 #line 18366 "configure"
18366 #include "confdefs.h"
18367 /* System header to define __stub macros and hopefully few prototypes,
18368 which can conflict with char $ac_func(); below. */
18369 #include <assert.h>
18370 /* Override any gcc2 internal prototype to avoid an error. */
18371 /* We use char because int might match the return type of a gcc2
18372 builtin and then its argument prototype would still apply. */
18377 /* The GNU C library defines this for functions which it implements
18378 to always fail with ENOSYS. Some functions are actually named
18379 something starting with __ and the normal name is an alias. */
18380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18388 if { (eval echo configure
:18389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18390 eval "ac_cv_func_$ac_func=yes"
18392 echo "configure: failed program was:" >&5
18393 cat conftest.
$ac_ext >&5
18395 eval "ac_cv_func_$ac_func=no"
18400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18401 echo "$ac_t""yes" 1>&6
18402 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18403 cat >> confdefs.h
<<EOF
18404 #define $ac_tr_func 1
18408 echo "$ac_t""no" 1>&6
18413 if test "$ac_cv_func_localtime" = "yes"; then
18414 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18415 echo "configure:18416: checking for tm_gmtoff in struct tm" >&5
18416 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18417 echo $ac_n "(cached) $ac_c" 1>&6
18420 cat > conftest.
$ac_ext <<EOF
18421 #line 18422 "configure"
18422 #include "confdefs.h"
18433 if { (eval echo configure
:18434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18436 wx_cv_struct_tm_has_gmtoff
=yes
18439 echo "configure: failed program was:" >&5
18440 cat conftest.
$ac_ext >&5
18442 wx_cv_struct_tm_has_gmtoff
=no
18449 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18452 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18453 cat >> confdefs.h
<<\EOF
18454 #define WX_GMTOFF_IN_TM 1
18459 for ac_func
in gettimeofday ftime
18461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18462 echo "configure:18463: checking for $ac_func" >&5
18463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18464 echo $ac_n "(cached) $ac_c" 1>&6
18466 cat > conftest.
$ac_ext <<EOF
18467 #line 18468 "configure"
18468 #include "confdefs.h"
18469 /* System header to define __stub macros and hopefully few prototypes,
18470 which can conflict with char $ac_func(); below. */
18471 #include <assert.h>
18472 /* Override any gcc2 internal prototype to avoid an error. */
18473 /* We use char because int might match the return type of a gcc2
18474 builtin and then its argument prototype would still apply. */
18479 /* The GNU C library defines this for functions which it implements
18480 to always fail with ENOSYS. Some functions are actually named
18481 something starting with __ and the normal name is an alias. */
18482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18490 if { (eval echo configure
:18491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18492 eval "ac_cv_func_$ac_func=yes"
18494 echo "configure: failed program was:" >&5
18495 cat conftest.
$ac_ext >&5
18497 eval "ac_cv_func_$ac_func=no"
18502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18503 echo "$ac_t""yes" 1>&6
18504 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18505 cat >> confdefs.h
<<EOF
18506 #define $ac_tr_func 1
18510 echo "$ac_t""no" 1>&6
18515 if test "$ac_cv_func_gettimeofday" = "yes"; then
18516 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18517 echo "configure:18518: checking whether gettimeofday takes two arguments" >&5
18518 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18519 echo $ac_n "(cached) $ac_c" 1>&6
18524 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18525 ac_cpp
='$CXXCPP $CPPFLAGS'
18526 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18527 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18528 cross_compiling
=$ac_cv_prog_cxx_cross
18531 cat > conftest.
$ac_ext <<EOF
18532 #line 18533 "configure"
18533 #include "confdefs.h"
18535 #include <sys/time.h>
18536 #include <unistd.h>
18541 gettimeofday(&tv, NULL);
18545 if { (eval echo configure
:18546: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18547 wx_cv_func_gettimeofday_has_2_args
=yes
18549 echo "configure: failed program was:" >&5
18550 cat conftest.
$ac_ext >&5
18552 cat > conftest.
$ac_ext <<EOF
18553 #line 18554 "configure"
18554 #include "confdefs.h"
18556 #include <sys/time.h>
18557 #include <unistd.h>
18566 if { (eval echo configure
:18567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18568 wx_cv_func_gettimeofday_has_2_args
=no
18570 echo "configure: failed program was:" >&5
18571 cat conftest.
$ac_ext >&5
18574 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18575 wx_cv_func_gettimeofday_has_2_args
=unknown
18584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18585 ac_cpp
='$CPP $CPPFLAGS'
18586 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18587 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18588 cross_compiling
=$ac_cv_prog_cc_cross
18593 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
18595 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
18596 cat >> confdefs.h
<<\EOF
18597 #define WX_GETTIMEOFDAY_NO_TZ 1
18603 cat >> confdefs.h
<<\EOF
18604 #define wxUSE_TIMEDATE 1
18607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
18611 if test "$wxUSE_SOCKETS" = "yes"; then
18612 if test "$TOOLKIT" = "X11"; then
18613 echo "configure: warning: wxSocket not yet supported under X11... disabled" 1>&2
18618 if test "$wxUSE_SOCKETS" = "yes"; then
18619 if test "$TOOLKIT" != "MSW"; then
18620 echo $ac_n "checking for socket""... $ac_c" 1>&6
18621 echo "configure:18622: checking for socket" >&5
18622 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
18623 echo $ac_n "(cached) $ac_c" 1>&6
18625 cat > conftest.
$ac_ext <<EOF
18626 #line 18627 "configure"
18627 #include "confdefs.h"
18628 /* System header to define __stub macros and hopefully few prototypes,
18629 which can conflict with char socket(); below. */
18630 #include <assert.h>
18631 /* Override any gcc2 internal prototype to avoid an error. */
18632 /* We use char because int might match the return type of a gcc2
18633 builtin and then its argument prototype would still apply. */
18638 /* The GNU C library defines this for functions which it implements
18639 to always fail with ENOSYS. Some functions are actually named
18640 something starting with __ and the normal name is an alias. */
18641 #if defined (__stub_socket) || defined (__stub___socket)
18649 if { (eval echo configure
:18650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18651 eval "ac_cv_func_socket=yes"
18653 echo "configure: failed program was:" >&5
18654 cat conftest.
$ac_ext >&5
18656 eval "ac_cv_func_socket=no"
18661 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
18662 echo "$ac_t""yes" 1>&6
18665 echo "$ac_t""no" 1>&6
18666 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
18667 echo "configure:18668: checking for socket in -lsocket" >&5
18668 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
18669 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18670 echo $ac_n "(cached) $ac_c" 1>&6
18672 ac_save_LIBS
="$LIBS"
18673 LIBS
="-lsocket $LIBS"
18674 cat > conftest.
$ac_ext <<EOF
18675 #line 18676 "configure"
18676 #include "confdefs.h"
18677 /* Override any gcc2 internal prototype to avoid an error. */
18678 /* We use char because int might match the return type of a gcc2
18679 builtin and then its argument prototype would still apply. */
18686 if { (eval echo configure
:18687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18688 eval "ac_cv_lib_$ac_lib_var=yes"
18690 echo "configure: failed program was:" >&5
18691 cat conftest.
$ac_ext >&5
18693 eval "ac_cv_lib_$ac_lib_var=no"
18696 LIBS
="$ac_save_LIBS"
18699 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18700 echo "$ac_t""yes" 1>&6
18701 if test "$INET_LINK" != " -lsocket"; then
18702 INET_LINK
="$INET_LINK -lsocket"
18705 echo "$ac_t""no" 1>&6
18707 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
18719 if test "$wxUSE_SOCKETS" = "yes" ; then
18720 if test "$TOOLKIT" != "MSW"; then
18721 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
18722 echo "configure:18723: checking what is the type of the third argument of getsockname" >&5
18723 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
18724 echo $ac_n "(cached) $ac_c" 1>&6
18729 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18730 ac_cpp
='$CXXCPP $CPPFLAGS'
18731 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18732 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18733 cross_compiling
=$ac_cv_prog_cxx_cross
18736 cat > conftest.
$ac_ext <<EOF
18737 #line 18738 "configure"
18738 #include "confdefs.h"
18740 #include <sys/types.h>
18741 #include <sys/socket.h>
18746 getsockname(0, 0, &len);
18750 if { (eval echo configure
:18751: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18752 wx_cv_type_getsockname3
=socklen_t
18754 echo "configure: failed program was:" >&5
18755 cat conftest.
$ac_ext >&5
18757 cat > conftest.
$ac_ext <<EOF
18758 #line 18759 "configure"
18759 #include "confdefs.h"
18761 #include <sys/types.h>
18762 #include <sys/socket.h>
18767 getsockname(0, 0, &len);
18771 if { (eval echo configure
:18772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18773 wx_cv_type_getsockname3
=size_t
18775 echo "configure: failed program was:" >&5
18776 cat conftest.
$ac_ext >&5
18778 cat > conftest.
$ac_ext <<EOF
18779 #line 18780 "configure"
18780 #include "confdefs.h"
18782 #include <sys/types.h>
18783 #include <sys/socket.h>
18788 getsockname(0, 0, &len);
18792 if { (eval echo configure
:18793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18794 wx_cv_type_getsockname3
=int
18796 echo "configure: failed program was:" >&5
18797 cat conftest.
$ac_ext >&5
18799 wx_cv_type_getsockname3
=unknown
18811 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18812 ac_cpp
='$CPP $CPPFLAGS'
18813 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18814 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18815 cross_compiling
=$ac_cv_prog_cc_cross
18820 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
18822 if test "$wx_cv_type_getsockname3" = "unknown"; then
18824 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
18826 cat >> confdefs.h
<<EOF
18827 #define SOCKLEN_T $wx_cv_type_getsockname3
18834 if test "$wxUSE_SOCKETS" = "yes" ; then
18835 cat >> confdefs.h
<<\EOF
18836 #define wxUSE_SOCKETS 1
18839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
18843 if test "$wxUSE_GUI" = "yes"; then
18845 if test "$TOOLKIT" = "MAC"; then
18846 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
18849 if test "$TOOLKIT" = "MOTIF"; then
18850 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
18853 if test "$TOOLKIT" = "X11"; then
18854 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
18858 if test "$TOOLKIT" != "MSW"; then
18859 if test "$wxUSE_JOYSTICK" = "yes"; then
18860 for ac_hdr
in linux
/joystick.h
18862 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18863 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18864 echo "configure:18865: checking for $ac_hdr" >&5
18865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18866 echo $ac_n "(cached) $ac_c" 1>&6
18868 cat > conftest.
$ac_ext <<EOF
18869 #line 18870 "configure"
18870 #include "confdefs.h"
18873 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18874 { (eval echo configure
:18875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18875 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18876 if test -z "$ac_err"; then
18878 eval "ac_cv_header_$ac_safe=yes"
18881 echo "configure: failed program was:" >&5
18882 cat conftest.
$ac_ext >&5
18884 eval "ac_cv_header_$ac_safe=no"
18888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18889 echo "$ac_t""yes" 1>&6
18890 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18891 cat >> confdefs.h
<<EOF
18892 #define $ac_tr_hdr 1
18896 echo "$ac_t""no" 1>&6
18900 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18902 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18907 if test "$wxUSE_JOYSTICK" = "yes"; then
18908 cat >> confdefs.h
<<\EOF
18909 #define wxUSE_JOYSTICK 1
18912 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18917 if test "$TOOLKIT" != "MSW"; then
18921 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18922 if test "$USE_DARWIN" = 1; then
18925 for ac_func
in dlopen
18927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18928 echo "configure:18929: checking for $ac_func" >&5
18929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18930 echo $ac_n "(cached) $ac_c" 1>&6
18932 cat > conftest.
$ac_ext <<EOF
18933 #line 18934 "configure"
18934 #include "confdefs.h"
18935 /* System header to define __stub macros and hopefully few prototypes,
18936 which can conflict with char $ac_func(); below. */
18937 #include <assert.h>
18938 /* Override any gcc2 internal prototype to avoid an error. */
18939 /* We use char because int might match the return type of a gcc2
18940 builtin and then its argument prototype would still apply. */
18945 /* The GNU C library defines this for functions which it implements
18946 to always fail with ENOSYS. Some functions are actually named
18947 something starting with __ and the normal name is an alias. */
18948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18956 if { (eval echo configure
:18957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18958 eval "ac_cv_func_$ac_func=yes"
18960 echo "configure: failed program was:" >&5
18961 cat conftest.
$ac_ext >&5
18963 eval "ac_cv_func_$ac_func=no"
18968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18969 echo "$ac_t""yes" 1>&6
18970 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18971 cat >> confdefs.h
<<EOF
18972 #define $ac_tr_func 1
18975 cat >> confdefs.h
<<\EOF
18976 #define HAVE_DLOPEN 1
18982 echo "$ac_t""no" 1>&6
18983 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18984 echo "configure:18985: checking for dlopen in -ldl" >&5
18985 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18987 echo $ac_n "(cached) $ac_c" 1>&6
18989 ac_save_LIBS
="$LIBS"
18991 cat > conftest.
$ac_ext <<EOF
18992 #line 18993 "configure"
18993 #include "confdefs.h"
18994 /* Override any gcc2 internal prototype to avoid an error. */
18995 /* We use char because int might match the return type of a gcc2
18996 builtin and then its argument prototype would still apply. */
19003 if { (eval echo configure
:19004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19005 eval "ac_cv_lib_$ac_lib_var=yes"
19007 echo "configure: failed program was:" >&5
19008 cat conftest.
$ac_ext >&5
19010 eval "ac_cv_lib_$ac_lib_var=no"
19013 LIBS
="$ac_save_LIBS"
19016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19017 echo "$ac_t""yes" 1>&6
19019 cat >> confdefs.h
<<\EOF
19020 #define HAVE_DLOPEN 1
19024 DL_LINK
=" -ldl$DL_LINK"
19027 echo "$ac_t""no" 1>&6
19029 for ac_func
in shl_load
19031 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19032 echo "configure:19033: checking for $ac_func" >&5
19033 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19034 echo $ac_n "(cached) $ac_c" 1>&6
19036 cat > conftest.
$ac_ext <<EOF
19037 #line 19038 "configure"
19038 #include "confdefs.h"
19039 /* System header to define __stub macros and hopefully few prototypes,
19040 which can conflict with char $ac_func(); below. */
19041 #include <assert.h>
19042 /* Override any gcc2 internal prototype to avoid an error. */
19043 /* We use char because int might match the return type of a gcc2
19044 builtin and then its argument prototype would still apply. */
19049 /* The GNU C library defines this for functions which it implements
19050 to always fail with ENOSYS. Some functions are actually named
19051 something starting with __ and the normal name is an alias. */
19052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19060 if { (eval echo configure
:19061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19062 eval "ac_cv_func_$ac_func=yes"
19064 echo "configure: failed program was:" >&5
19065 cat conftest.
$ac_ext >&5
19067 eval "ac_cv_func_$ac_func=no"
19072 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19073 echo "$ac_t""yes" 1>&6
19074 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19075 cat >> confdefs.h
<<EOF
19076 #define $ac_tr_func 1
19079 cat >> confdefs.h
<<\EOF
19080 #define HAVE_SHL_LOAD 1
19086 echo "$ac_t""no" 1>&6
19087 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19088 echo "configure:19089: checking for dld in -lshl_load" >&5
19089 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19090 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19091 echo $ac_n "(cached) $ac_c" 1>&6
19093 ac_save_LIBS
="$LIBS"
19094 LIBS
="-lshl_load $LIBS"
19095 cat > conftest.
$ac_ext <<EOF
19096 #line 19097 "configure"
19097 #include "confdefs.h"
19098 /* Override any gcc2 internal prototype to avoid an error. */
19099 /* We use char because int might match the return type of a gcc2
19100 builtin and then its argument prototype would still apply. */
19107 if { (eval echo configure
:19108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19109 eval "ac_cv_lib_$ac_lib_var=yes"
19111 echo "configure: failed program was:" >&5
19112 cat conftest.
$ac_ext >&5
19114 eval "ac_cv_lib_$ac_lib_var=no"
19117 LIBS
="$ac_save_LIBS"
19120 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19121 echo "$ac_t""yes" 1>&6
19124 DL_LINK
=" -ldld$DL_LINK"
19127 echo "$ac_t""no" 1>&6
19142 if test "$HAVE_DL_FUNCS" = 1; then
19143 for ac_func
in dlerror
19145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19146 echo "configure:19147: checking for $ac_func" >&5
19147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19148 echo $ac_n "(cached) $ac_c" 1>&6
19150 cat > conftest.
$ac_ext <<EOF
19151 #line 19152 "configure"
19152 #include "confdefs.h"
19153 /* System header to define __stub macros and hopefully few prototypes,
19154 which can conflict with char $ac_func(); below. */
19155 #include <assert.h>
19156 /* Override any gcc2 internal prototype to avoid an error. */
19157 /* We use char because int might match the return type of a gcc2
19158 builtin and then its argument prototype would still apply. */
19163 /* The GNU C library defines this for functions which it implements
19164 to always fail with ENOSYS. Some functions are actually named
19165 something starting with __ and the normal name is an alias. */
19166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19174 if { (eval echo configure
:19175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19176 eval "ac_cv_func_$ac_func=yes"
19178 echo "configure: failed program was:" >&5
19179 cat conftest.
$ac_ext >&5
19181 eval "ac_cv_func_$ac_func=no"
19186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19187 echo "$ac_t""yes" 1>&6
19188 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19189 cat >> confdefs.h
<<EOF
19190 #define $ac_tr_func 1
19192 cat >> confdefs.h
<<\EOF
19193 #define HAVE_DLERROR 1
19197 echo "$ac_t""no" 1>&6
19198 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19199 echo "configure:19200: checking for dlerror in -ldl" >&5
19200 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19202 echo $ac_n "(cached) $ac_c" 1>&6
19204 ac_save_LIBS
="$LIBS"
19206 cat > conftest.
$ac_ext <<EOF
19207 #line 19208 "configure"
19208 #include "confdefs.h"
19209 /* Override any gcc2 internal prototype to avoid an error. */
19210 /* We use char because int might match the return type of a gcc2
19211 builtin and then its argument prototype would still apply. */
19218 if { (eval echo configure
:19219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19220 eval "ac_cv_lib_$ac_lib_var=yes"
19222 echo "configure: failed program was:" >&5
19223 cat conftest.
$ac_ext >&5
19225 eval "ac_cv_lib_$ac_lib_var=no"
19228 LIBS
="$ac_save_LIBS"
19231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19232 echo "$ac_t""yes" 1>&6
19233 cat >> confdefs.h
<<\EOF
19234 #define HAVE_DLERROR 1
19238 echo "$ac_t""no" 1>&6
19247 if test "$HAVE_DL_FUNCS" = 0; then
19248 if test "$HAVE_SHL_FUNCS" = 0; then
19249 if test "$USE_UNIX" = 1; then
19250 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19251 wxUSE_DYNAMIC_LOADER
=no
19252 wxUSE_DYNLIB_CLASS
=no
19254 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19261 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19262 cat >> confdefs.h
<<\EOF
19263 #define wxUSE_DYNAMIC_LOADER 1
19266 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19267 cat >> confdefs.h
<<\EOF
19268 #define wxUSE_DYNLIB_CLASS 1
19274 if test "$wxUSE_FONTMAP" = "yes" ; then
19275 cat >> confdefs.h
<<\EOF
19276 #define wxUSE_FONTMAP 1
19281 if test "$wxUSE_UNICODE" = "yes" ; then
19282 cat >> confdefs.h
<<\EOF
19283 #define wxUSE_UNICODE 1
19287 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19288 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19289 echo "configure:19290: checking for main in -lunicows" >&5
19290 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19292 echo $ac_n "(cached) $ac_c" 1>&6
19294 ac_save_LIBS
="$LIBS"
19295 LIBS
="-lunicows $LIBS"
19296 cat > conftest.
$ac_ext <<EOF
19297 #line 19298 "configure"
19298 #include "confdefs.h"
19304 if { (eval echo configure
:19305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19306 eval "ac_cv_lib_$ac_lib_var=yes"
19308 echo "configure: failed program was:" >&5
19309 cat conftest.
$ac_ext >&5
19311 eval "ac_cv_lib_$ac_lib_var=no"
19314 LIBS
="$ac_save_LIBS"
19317 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19318 echo "$ac_t""yes" 1>&6
19320 cat >> confdefs.h
<<\EOF
19321 #define wxUSE_UNICODE_MSLU 1
19326 echo "$ac_t""no" 1>&6
19328 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19329 Applications will only run on Windows NT/2000/XP!" 1>&2
19330 wxUSE_UNICODE_MSLU
=no
19337 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19338 cat >> confdefs.h
<<\EOF
19339 #define wxUSE_EXPERIMENTAL_PRINTF 1
19347 if test "$wxUSE_ODBC" = "yes" ; then
19348 cat >> confdefs.h
<<\EOF
19349 #define wxUSE_ODBC 1
19352 WXODBCFLAG
="-D_IODBC_"
19353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19357 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19358 cat >> confdefs.h
<<\EOF
19359 #define wxUSE_POSTSCRIPT 1
19364 cat >> confdefs.h
<<\EOF
19365 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19369 cat >> confdefs.h
<<\EOF
19370 #define wxUSE_NORMALIZED_PS_FONTS 1
19375 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19376 cat >> confdefs.h
<<\EOF
19377 #define wxUSE_CONSTRAINTS 1
19380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19383 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19384 if test "$wxUSE_UNIVERSAL" = "yes"; then
19385 echo "configure: warning: MDI not yet supported for wxUniversal... disabled" 1>&2
19386 wxUSE_MDI_ARCHITECTURE
=no
19389 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19390 cat >> confdefs.h
<<\EOF
19391 #define wxUSE_MDI_ARCHITECTURE 1
19394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19398 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19399 cat >> confdefs.h
<<\EOF
19400 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19404 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19405 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19409 if test "$wxUSE_HELP" = "yes"; then
19410 cat >> confdefs.h
<<\EOF
19411 #define wxUSE_HELP 1
19414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19416 if test "$wxUSE_MSW" = 1; then
19417 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19418 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
19419 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
19420 echo "configure:19421: checking for htmlhelp.h" >&5
19421 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19422 echo $ac_n "(cached) $ac_c" 1>&6
19424 cat > conftest.
$ac_ext <<EOF
19425 #line 19426 "configure"
19426 #include "confdefs.h"
19427 #include <htmlhelp.h>
19429 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19430 { (eval echo configure
:19431: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19431 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19432 if test -z "$ac_err"; then
19434 eval "ac_cv_header_$ac_safe=yes"
19437 echo "configure: failed program was:" >&5
19438 cat conftest.
$ac_ext >&5
19440 eval "ac_cv_header_$ac_safe=no"
19444 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19445 echo "$ac_t""yes" 1>&6
19447 cat >> confdefs.h
<<\EOF
19448 #define wxUSE_MS_HTML_HELP 1
19453 echo "$ac_t""no" 1>&6
19455 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
19456 wxUSE_MS_HTML_HELP
=no
19463 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19464 if test "$wxUSE_HTML" = "yes"; then
19465 cat >> confdefs.h
<<\EOF
19466 #define wxUSE_WXHTML_HELP 1
19470 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19471 wxUSE_WXHTML_HELP
=no
19476 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19477 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19478 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19480 cat >> confdefs.h
<<\EOF
19481 #define wxUSE_PRINTING_ARCHITECTURE 1
19485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19488 if test "$wxUSE_PROLOGIO" = "yes" ; then
19489 cat >> confdefs.h
<<\EOF
19490 #define wxUSE_PROLOGIO 1
19495 if test "$wxUSE_RESOURCES" = "yes" ; then
19496 if test "$wxUSE_NANOX" = "yes"; then
19497 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19499 cat >> confdefs.h
<<\EOF
19500 #define wxUSE_RESOURCES 1
19503 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19507 if test "$wxUSE_X_RESOURCES" = "yes"; then
19508 cat >> confdefs.h
<<\EOF
19509 #define wxUSE_X_RESOURCES 1
19515 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19516 -o "$wxUSE_CLIPBOARD" = "yes" \
19517 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19518 for ac_hdr
in ole2.h
19520 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19521 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19522 echo "configure:19523: checking for $ac_hdr" >&5
19523 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19524 echo $ac_n "(cached) $ac_c" 1>&6
19526 cat > conftest.
$ac_ext <<EOF
19527 #line 19528 "configure"
19528 #include "confdefs.h"
19531 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19532 { (eval echo configure
:19533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19533 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19534 if test -z "$ac_err"; then
19536 eval "ac_cv_header_$ac_safe=yes"
19539 echo "configure: failed program was:" >&5
19540 cat conftest.
$ac_ext >&5
19542 eval "ac_cv_header_$ac_safe=no"
19546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19547 echo "$ac_t""yes" 1>&6
19548 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19549 cat >> confdefs.h
<<EOF
19550 #define $ac_tr_hdr 1
19554 echo "$ac_t""no" 1>&6
19559 if test "$ac_cv_header_ole2_h" = "yes" ; then
19560 if test "$GCC" = yes ; then
19561 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19562 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19563 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19564 cat >> confdefs.h
<<\EOF
19565 #define wxUSE_OLE 1
19571 cat >> confdefs.h
<<\EOF
19572 #define wxUSE_DATAOBJ 1
19576 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
19579 wxUSE_DRAG_AND_DROP
=no
19583 if test "$wxUSE_METAFILE" = "yes"; then
19584 cat >> confdefs.h
<<\EOF
19585 #define wxUSE_METAFILE 1
19589 cat >> confdefs.h
<<\EOF
19590 #define wxUSE_ENH_METAFILE 1
19596 if test "$wxUSE_IPC" = "yes"; then
19597 if test "$wxUSE_SOCKETS" != "yes"; then
19598 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
19601 cat >> confdefs.h
<<\EOF
19602 #define wxUSE_IPC 1
19607 if test "$wxUSE_CLIPBOARD" = "yes"; then
19608 cat >> confdefs.h
<<\EOF
19609 #define wxUSE_CLIPBOARD 1
19613 cat >> confdefs.h
<<\EOF
19614 #define wxUSE_DATAOBJ 1
19619 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
19620 if test "$wxUSE_GTK" = 1; then
19621 if test "$WXGTK12" != 1; then
19622 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
19623 wxUSE_DRAG_AND_DROP
=no
19627 if test "$wxUSE_MOTIF" = 1; then
19628 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
19629 wxUSE_DRAG_AND_DROP
=no
19632 if test "$wxUSE_X11" = 1; then
19633 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
19634 wxUSE_DRAG_AND_DROP
=no
19637 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
19638 cat >> confdefs.h
<<\EOF
19639 #define wxUSE_DRAG_AND_DROP 1
19642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
19647 if test "$wxUSE_SPLINES" = "yes" ; then
19648 cat >> confdefs.h
<<\EOF
19649 #define wxUSE_SPLINES 1
19656 if test "$wxUSE_CONTROLS" = "yes"; then
19660 if test "$wxUSE_ACCEL" = "yes"; then
19661 cat >> confdefs.h
<<\EOF
19662 #define wxUSE_ACCEL 1
19668 if test "$wxUSE_BUTTON" = "yes"; then
19669 cat >> confdefs.h
<<\EOF
19670 #define wxUSE_BUTTON 1
19676 if test "$wxUSE_BMPBUTTON" = "yes"; then
19677 cat >> confdefs.h
<<\EOF
19678 #define wxUSE_BMPBUTTON 1
19684 if test "$wxUSE_CALCTRL" = "yes"; then
19685 cat >> confdefs.h
<<\EOF
19686 #define wxUSE_CALENDARCTRL 1
19690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
19693 if test "$wxUSE_CARET" = "yes"; then
19694 cat >> confdefs.h
<<\EOF
19695 #define wxUSE_CARET 1
19699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
19702 if test "$wxUSE_COMBOBOX" = "yes"; then
19703 cat >> confdefs.h
<<\EOF
19704 #define wxUSE_COMBOBOX 1
19710 if test "$wxUSE_CHOICE" = "yes"; then
19711 cat >> confdefs.h
<<\EOF
19712 #define wxUSE_CHOICE 1
19718 if test "$wxUSE_CHECKBOX" = "yes"; then
19719 cat >> confdefs.h
<<\EOF
19720 #define wxUSE_CHECKBOX 1
19726 if test "$wxUSE_CHECKLST" = "yes"; then
19727 cat >> confdefs.h
<<\EOF
19728 #define wxUSE_CHECKLISTBOX 1
19732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
19735 if test "$wxUSE_GAUGE" = "yes"; then
19736 cat >> confdefs.h
<<\EOF
19737 #define wxUSE_GAUGE 1
19743 if test "$wxUSE_NEW_GRID" = "yes"; then
19745 cat >> confdefs.h
<<\EOF
19746 #define wxUSE_NEW_GRID 1
19750 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
19753 if test "$wxUSE_GRID" = "yes"; then
19754 cat >> confdefs.h
<<\EOF
19755 #define wxUSE_GRID 1
19759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
19762 if test "$wxUSE_IMAGLIST" = "yes"; then
19763 cat >> confdefs.h
<<\EOF
19764 #define wxUSE_IMAGLIST 1
19769 if test "$wxUSE_LISTBOX" = "yes"; then
19770 cat >> confdefs.h
<<\EOF
19771 #define wxUSE_LISTBOX 1
19777 if test "$wxUSE_LISTCTRL" = "yes"; then
19778 if test "$wxUSE_IMAGLIST" = "yes"; then
19779 cat >> confdefs.h
<<\EOF
19780 #define wxUSE_LISTCTRL 1
19784 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
19786 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
19790 if test "$wxUSE_NOTEBOOK" = "yes"; then
19791 cat >> confdefs.h
<<\EOF
19792 #define wxUSE_NOTEBOOK 1
19796 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
19799 if test "$wxUSE_PROPSHEET" = "yes"; then
19800 cat >> confdefs.h
<<\EOF
19801 #define wxUSE_PROPSHEET 1
19805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
19808 if test "$wxUSE_RADIOBOX" = "yes"; then
19809 cat >> confdefs.h
<<\EOF
19810 #define wxUSE_RADIOBOX 1
19816 if test "$wxUSE_RADIOBTN" = "yes"; then
19817 cat >> confdefs.h
<<\EOF
19818 #define wxUSE_RADIOBTN 1
19824 if test "$wxUSE_SASH" = "yes"; then
19825 cat >> confdefs.h
<<\EOF
19826 #define wxUSE_SASH 1
19829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
19832 if test "$wxUSE_SCROLLBAR" = "yes"; then
19833 cat >> confdefs.h
<<\EOF
19834 #define wxUSE_SCROLLBAR 1
19838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
19841 if test "$wxUSE_SLIDER" = "yes"; then
19842 cat >> confdefs.h
<<\EOF
19843 #define wxUSE_SLIDER 1
19849 if test "$wxUSE_SPINBTN" = "yes"; then
19850 cat >> confdefs.h
<<\EOF
19851 #define wxUSE_SPINBTN 1
19857 if test "$wxUSE_SPINCTRL" = "yes"; then
19858 cat >> confdefs.h
<<\EOF
19859 #define wxUSE_SPINCTRL 1
19865 if test "$wxUSE_SPLITTER" = "yes"; then
19866 cat >> confdefs.h
<<\EOF
19867 #define wxUSE_SPLITTER 1
19870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
19873 if test "$wxUSE_STATBMP" = "yes"; then
19874 cat >> confdefs.h
<<\EOF
19875 #define wxUSE_STATBMP 1
19881 if test "$wxUSE_STATBOX" = "yes"; then
19882 cat >> confdefs.h
<<\EOF
19883 #define wxUSE_STATBOX 1
19889 if test "$wxUSE_STATTEXT" = "yes"; then
19890 cat >> confdefs.h
<<\EOF
19891 #define wxUSE_STATTEXT 1
19897 if test "$wxUSE_STATLINE" = "yes"; then
19898 if test "$wxUSE_WINE" = 1 ; then
19899 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
19901 cat >> confdefs.h
<<\EOF
19902 #define wxUSE_STATLINE 1
19909 if test "$wxUSE_STATUSBAR" = "yes"; then
19910 cat >> confdefs.h
<<\EOF
19911 #define wxUSE_STATUSBAR 1
19916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19919 if test "$wxUSE_TABDIALOG" = "yes"; then
19920 cat >> confdefs.h
<<\EOF
19921 #define wxUSE_TAB_DIALOG 1
19924 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19927 if test "$wxUSE_TEXTCTRL" = "yes"; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_TEXTCTRL 1
19933 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19936 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19937 if test "$wxUSE_MAC" = 1; then
19938 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19941 if test "$wxUSE_UNIVERSAL" = "yes"; then
19942 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
19946 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19947 cat >> confdefs.h
<<\EOF
19948 #define wxUSE_TOGGLEBTN 1
19955 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19956 cat >> confdefs.h
<<\EOF
19957 #define wxUSE_TOOLBAR_SIMPLE 1
19960 wxUSE_TOOLBAR
="yes"
19964 if test "$wxUSE_TOOLBAR" = "yes"; then
19965 cat >> confdefs.h
<<\EOF
19966 #define wxUSE_TOOLBAR 1
19971 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19972 wxUSE_TOOLBAR_NATIVE
="yes"
19975 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19976 cat >> confdefs.h
<<\EOF
19977 #define wxUSE_TOOLBAR_NATIVE 1
19983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19986 if test "$wxUSE_TOOLTIPS" = "yes"; then
19987 if test "$wxUSE_MOTIF" = 1; then
19988 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19990 if test "$wxUSE_WINE" = 1; then
19991 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19993 if test "$wxUSE_UNIVERSAL" = "yes"; then
19994 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
19996 cat >> confdefs.h
<<\EOF
19997 #define wxUSE_TOOLTIPS 1
20005 if test "$wxUSE_TREECTRL" = "yes"; then
20006 if test "$wxUSE_IMAGLIST" = "yes"; then
20007 cat >> confdefs.h
<<\EOF
20008 #define wxUSE_TREECTRL 1
20012 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20014 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20018 if test "$wxUSE_POPUPWIN" = "yes"; then
20019 if test "$wxUSE_MAC" = 1; then
20020 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20022 if test "$wxUSE_MOTIF" = 1; then
20023 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20025 if test "$wxUSE_PM" = 1; then
20026 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20028 cat >> confdefs.h
<<\EOF
20029 #define wxUSE_POPUPWIN 1
20039 if test "$wxUSE_TIPWINDOW" = "yes"; then
20040 if test "$wxUSE_PM" = 1; then
20041 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20043 cat >> confdefs.h
<<\EOF
20044 #define wxUSE_TIPWINDOW 1
20050 if test "$USES_CONTROLS" = 1; then
20051 cat >> confdefs.h
<<\EOF
20052 #define wxUSE_CONTROLS 1
20058 if test "$wxUSE_TREELAYOUT" = "yes"; then
20059 cat >> confdefs.h
<<\EOF
20060 #define wxUSE_TREELAYOUT 1
20063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20066 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20067 cat >> confdefs.h
<<\EOF
20068 #define wxUSE_DRAGIMAGE 1
20071 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20074 if test "$wxUSE_MENUS" = "yes"; then
20075 cat >> confdefs.h
<<\EOF
20076 #define wxUSE_MENUS 1
20079 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20082 if test "$wxUSE_METAFILE" = "yes"; then
20083 cat >> confdefs.h
<<\EOF
20084 #define wxUSE_METAFILE 1
20089 if test "$wxUSE_MIMETYPE" = "yes"; then
20090 cat >> confdefs.h
<<\EOF
20091 #define wxUSE_MIMETYPE 1
20096 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20097 cat >> confdefs.h
<<\EOF
20098 #define wxUSE_SYSTEM_OPTIONS 1
20103 if test "$wxUSE_PROTOCOL" = "yes"; then
20104 if test "$wxUSE_SOCKETS" != "yes"; then
20105 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20109 if test "$wxUSE_PROTOCOL" = "yes"; then
20110 cat >> confdefs.h
<<\EOF
20111 #define wxUSE_PROTOCOL 1
20115 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20116 cat >> confdefs.h
<<\EOF
20117 #define wxUSE_PROTOCOL_HTTP 1
20121 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20122 cat >> confdefs.h
<<\EOF
20123 #define wxUSE_PROTOCOL_FTP 1
20127 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20128 cat >> confdefs.h
<<\EOF
20129 #define wxUSE_PROTOCOL_FILE 1
20136 if test "$wxUSE_URL" = "yes"; then
20137 if test "$wxUSE_PROTOCOL" != "yes"; then
20138 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20141 if test "$wxUSE_URL" = "yes"; then
20142 cat >> confdefs.h
<<\EOF
20143 #define wxUSE_URL 1
20149 if test "$wxUSE_MINIFRAME" = "yes"; then
20150 cat >> confdefs.h
<<\EOF
20151 #define wxUSE_MINIFRAME 1
20154 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20157 if test "$wxUSE_HTML" = "yes"; then
20158 cat >> confdefs.h
<<\EOF
20159 #define wxUSE_HTML 1
20162 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20165 if test "$wxUSE_VALIDATORS" = "yes"; then
20166 cat >> confdefs.h
<<\EOF
20167 #define wxUSE_VALIDATORS 1
20170 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20173 if test "$wxUSE_PALETTE" = "yes" ; then
20174 cat >> confdefs.h
<<\EOF
20175 #define wxUSE_PALETTE 1
20180 if test "$wxUSE_IMAGE" = "yes" ; then
20181 cat >> confdefs.h
<<\EOF
20182 #define wxUSE_IMAGE 1
20187 if test "$wxUSE_GIF" = "yes" ; then
20188 cat >> confdefs.h
<<\EOF
20189 #define wxUSE_GIF 1
20194 if test "$wxUSE_PCX" = "yes" ; then
20195 cat >> confdefs.h
<<\EOF
20196 #define wxUSE_PCX 1
20201 if test "$wxUSE_IFF" = "yes" ; then
20202 cat >> confdefs.h
<<\EOF
20203 #define wxUSE_IFF 1
20208 if test "$wxUSE_PNM" = "yes" ; then
20209 cat >> confdefs.h
<<\EOF
20210 #define wxUSE_PNM 1
20215 if test "$wxUSE_XPM" = "yes" ; then
20216 cat >> confdefs.h
<<\EOF
20217 #define wxUSE_XPM 1
20222 if test "$wxUSE_ICO_CUR" = "yes" ; then
20223 cat >> confdefs.h
<<\EOF
20224 #define wxUSE_ICO_CUR 1
20229 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20230 LIBS
=" -lunicows $LIBS"
20234 if test "$wxUSE_CHOICEDLG" = "yes"; then
20235 cat >> confdefs.h
<<\EOF
20236 #define wxUSE_CHOICEDLG 1
20241 if test "$wxUSE_COLOURDLG" = "yes"; then
20242 cat >> confdefs.h
<<\EOF
20243 #define wxUSE_COLOURDLG 1
20248 if test "$wxUSE_FILEDLG" = "yes"; then
20249 cat >> confdefs.h
<<\EOF
20250 #define wxUSE_FILEDLG 1
20255 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20256 cat >> confdefs.h
<<\EOF
20257 #define wxUSE_FINDREPLDLG 1
20262 if test "$wxUSE_FONTDLG" = "yes"; then
20263 cat >> confdefs.h
<<\EOF
20264 #define wxUSE_FONTDLG 1
20269 if test "$wxUSE_DIRDLG" = "yes"; then
20270 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20271 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
20273 if test "$wxUSE_TREECTRL" != "yes"; then
20274 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20276 cat >> confdefs.h
<<\EOF
20277 #define wxUSE_DIRDLG 1
20284 if test "$wxUSE_MSGDLG" = "yes"; then
20285 cat >> confdefs.h
<<\EOF
20286 #define wxUSE_MSGDLG 1
20291 if test "$wxUSE_NUMBERDLG" = "yes"; then
20292 cat >> confdefs.h
<<\EOF
20293 #define wxUSE_NUMBERDLG 1
20298 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20299 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20300 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20302 cat >> confdefs.h
<<\EOF
20303 #define wxUSE_PROGRESSDLG 1
20309 if test "$wxUSE_SPLASH" = "yes"; then
20310 cat >> confdefs.h
<<\EOF
20311 #define wxUSE_SPLASH 1
20316 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20317 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20318 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20320 cat >> confdefs.h
<<\EOF
20321 #define wxUSE_STARTUP_TIPS 1
20327 if test "$wxUSE_TEXTDLG" = "yes"; then
20328 cat >> confdefs.h
<<\EOF
20329 #define wxUSE_TEXTDLG 1
20334 if test "$wxUSE_WIZARDDLG" = "yes"; then
20335 cat >> confdefs.h
<<\EOF
20336 #define wxUSE_WIZARDDLG 1
20339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20343 if test "$cross_compiling" = "yes"; then
20346 OSINFO
=`uname -s -r -m`
20347 OSINFO
="\"$OSINFO\""
20350 cat >> confdefs.h
<<EOF
20351 #define WXWIN_OS_DESCRIPTION $OSINFO
20356 if test "x$prefix" != "xNONE"; then
20359 wxPREFIX
=$ac_default_prefix
20362 cat >> confdefs.h
<<EOF
20363 #define wxINSTALL_PREFIX "$wxPREFIX"
20370 if test "$wxUSE_MAC" = 1 ; then
20371 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20375 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DL_LINK -lm $LIBS"
20377 if test "$wxUSE_GUI" = "yes"; then
20379 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
20383 drawing dynamic erase event exec font image \
20384 minimal richedit rotate widgets"
20386 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20388 SAMPLES_SUBDIRS
="console"
20392 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
20393 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
20395 if test "$wxUSE_GTK" = 1; then
20398 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20401 if test "$GXX" = yes ; then
20402 CXXWARNINGS
="-Wall"
20404 if test "$wxUSE_NO_DEPS" = "no" ; then
20405 CFLAGS
="-MMD $CFLAGS"
20406 CXXFLAGS
="-MMD $CXXFLAGS"
20410 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20412 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20413 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20415 LDFLAGS
="$LDFLAGS$PROFILE"
20417 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20506 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20507 echo "configure:20508: checking whether ${MAKE-make} sets \${MAKE}" >&5
20508 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20509 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20510 echo $ac_n "(cached) $ac_c" 1>&6
20512 cat > conftestmake
<<\EOF
20514 @
echo 'ac_maketemp="${MAKE}"'
20516 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20517 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20518 if test -n "$ac_maketemp"; then
20519 eval ac_cv_prog_make_
${ac_make}_set
=yes
20521 eval ac_cv_prog_make_
${ac_make}_set
=no
20525 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20526 echo "$ac_t""yes" 1>&6
20529 echo "$ac_t""no" 1>&6
20530 SET_MAKE
="MAKE=${MAKE-make}"
20534 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20535 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20540 if test "$wxUSE_GUI" = "yes"; then
20541 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20542 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20543 wx_cv_path_ifs
=$PATH_IFS
20544 wx_cv_program_ext
=$PROGRAM_EXT
20545 wx_cv_target_library
=$WX_TARGET_LIBRARY
20546 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20547 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20548 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20549 wx_cv_path_ifs wx_cv_program_ext \
20550 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20551 subdirs
="demos samples utils contrib"
20556 cat > confcache
<<\EOF
20557 # This file is a shell script that caches the results of configure
20558 # tests run on this system so they can be shared between configure
20559 # scripts and configure runs. It is not useful on other systems.
20560 # If it contains results you don't want to keep, you may remove or edit it.
20562 # By default, configure uses ./config.cache as the cache file,
20563 # creating it if it does not exist already. You can give configure
20564 # the --cache-file=FILE option to use a different cache file; that is
20565 # what configure does when it calls configure scripts in
20566 # subdirectories, so they share the cache.
20567 # Giving --cache-file=/dev/null disables caching, for debugging configure.
20568 # config.status only pays attention to the cache file if you give it the
20569 # --recheck option to rerun configure.
20572 # The following way of writing the cache mishandles newlines in values,
20573 # but we know of no workaround that is simple, portable, and efficient.
20574 # So, don't put newlines in cache variables' values.
20575 # Ultrix sh set writes to stderr and can't be redirected directly,
20576 # and sets the high bit in the cache file unless we assign to the vars.
20578 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20580 # `set' does not quote correctly, so add quotes (double-quote substitution
20581 # turns \\\\ into \\, and sed turns \\ into \).
20583 -e "s/'/'\\\\''/g" \
20584 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
20587 # `set' quotes correctly as required by POSIX, so do not add quotes.
20588 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
20591 if cmp -s $cache_file confcache
; then
20594 if test -w $cache_file; then
20595 echo "updating cache $cache_file"
20596 cat confcache
> $cache_file
20598 echo "not updating unwritable cache $cache_file"
20603 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
20605 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20606 # Let make expand exec_prefix.
20607 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20609 # Any assignment to VPATH causes Sun make to only execute
20610 # the first set of double-colon rules, so remove it if not needed.
20611 # If there is a colon in the path, we need to keep it.
20612 if test "x$srcdir" = x.
; then
20613 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
20616 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
20618 DEFS
=-DHAVE_CONFIG_H
20620 # Without the "./", some shells look in PATH for config.status.
20621 : ${CONFIG_STATUS=./config.status}
20623 echo creating
$CONFIG_STATUS
20624 rm -f $CONFIG_STATUS
20625 cat > $CONFIG_STATUS <<EOF
20627 # Generated automatically by configure.
20628 # Run this file to recreate the current configuration.
20629 # This directory was configured as follows,
20630 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20632 # $0 $ac_configure_args
20634 # Compiler output produced by configure, useful for debugging
20635 # configure, is in ./config.log if it exists.
20637 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
20640 case "\$ac_option" in
20641 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20642 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
20643 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
20644 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
20645 echo "$CONFIG_STATUS generated by autoconf version 2.13"
20647 -help | --help | --hel | --he | --h)
20648 echo "\$ac_cs_usage"; exit 0 ;;
20649 *) echo "\$ac_cs_usage"; exit 1 ;;
20653 ac_given_srcdir=$srcdir
20654 ac_given_INSTALL="$INSTALL"
20656 trap 'rm -fr `echo "
20662 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
20664 cat >> $CONFIG_STATUS <<EOF
20666 # Protect against being on the right side of a sed subst in config.status.
20667 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
20668 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
20672 s%@CFLAGS@%$CFLAGS%g
20673 s%@CPPFLAGS@%$CPPFLAGS%g
20674 s%@CXXFLAGS@%$CXXFLAGS%g
20675 s%@FFLAGS@%$FFLAGS%g
20677 s%@LDFLAGS@%$LDFLAGS%g
20679 s%@exec_prefix@%$exec_prefix%g
20680 s%@prefix@%$prefix%g
20681 s%@program_transform_name@%$program_transform_name%g
20682 s%@bindir@%$bindir%g
20683 s%@sbindir@%$sbindir%g
20684 s%@libexecdir@%$libexecdir%g
20685 s%@datadir@%$datadir%g
20686 s%@sysconfdir@%$sysconfdir%g
20687 s%@sharedstatedir@%$sharedstatedir%g
20688 s%@localstatedir@%$localstatedir%g
20689 s%@libdir@%$libdir%g
20690 s%@includedir@%$includedir%g
20691 s%@oldincludedir@%$oldincludedir%g
20692 s%@infodir@%$infodir%g
20693 s%@mandir@%$mandir%g
20695 s%@host_alias@%$host_alias%g
20696 s%@host_cpu@%$host_cpu%g
20697 s%@host_vendor@%$host_vendor%g
20698 s%@host_os@%$host_os%g
20699 s%@target@%$target%g
20700 s%@target_alias@%$target_alias%g
20701 s%@target_cpu@%$target_cpu%g
20702 s%@target_vendor@%$target_vendor%g
20703 s%@target_os@%$target_os%g
20705 s%@build_alias@%$build_alias%g
20706 s%@build_cpu@%$build_cpu%g
20707 s%@build_vendor@%$build_vendor%g
20708 s%@build_os@%$build_os%g
20712 s%@RANLIB@%$RANLIB%g
20714 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
20715 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
20716 s%@INSTALL_DATA@%$INSTALL_DATA%g
20718 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
20721 s%@LEXLIB@%$LEXLIB%g
20723 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
20724 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
20725 s%@GTK_LIBS@%$GTK_LIBS%g
20726 s%@GTK_CONFIG@%$GTK_CONFIG%g
20727 s%@X_CFLAGS@%$X_CFLAGS%g
20728 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
20729 s%@X_LIBS@%$X_LIBS%g
20730 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
20731 s%@RESCOMP@%$RESCOMP%g
20733 s%@CXXCPP@%$CXXCPP%g
20734 s%@LIBICONV@%$LIBICONV%g
20735 s%@LEX_STEM@%$LEX_STEM%g
20736 s%@PATH_IFS@%$PATH_IFS%g
20737 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
20738 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
20739 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
20740 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
20741 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
20742 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
20743 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
20744 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
20745 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
20746 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
20747 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
20748 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
20749 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
20750 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
20751 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
20752 s%@WX_ALL@%$WX_ALL%g
20753 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
20754 s%@SHARED_LD@%$SHARED_LD%g
20755 s%@PIC_FLAG@%$PIC_FLAG%g
20756 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
20757 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
20758 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
20759 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
20760 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
20761 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
20762 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
20763 s%@USE_GUI@%$USE_GUI%g
20764 s%@AFMINSTALL@%$AFMINSTALL%g
20765 s%@TOOLKIT@%$TOOLKIT%g
20766 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
20767 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
20768 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
20769 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
20770 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
20771 s%@cross_compiling@%$cross_compiling%g
20772 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
20773 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
20774 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
20775 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
20776 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
20777 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
20778 s%@ALL_HEADERS@%$ALL_HEADERS%g
20779 s%@ALL_SOURCES@%$ALL_SOURCES%g
20780 s%@GUIDIST@%$GUIDIST%g
20781 s%@PORT_FILES@%$PORT_FILES%g
20782 s%@DISTDIR@%$DISTDIR%g
20783 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
20784 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
20785 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
20786 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
20787 s%@EXTRADEFS@%$EXTRADEFS%g
20788 s%@RESFLAGS@%$RESFLAGS%g
20789 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
20790 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
20791 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
20792 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
20793 s%@LIBWXMACRES@%$LIBWXMACRES%g
20794 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
20795 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
20796 s%@DLLTOOL@%$DLLTOOL%g
20800 s%@MAKEINFO@%$MAKEINFO%g
20801 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
20802 s%@SET_MAKE@%$SET_MAKE%g
20803 s%@subdirs@%$subdirs%g
20808 cat >> $CONFIG_STATUS <<\EOF
20810 # Split the substitutions into bite-sized pieces for seds with
20811 # small command number limits, like on Digital OSF/1 and HP-UX.
20812 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
20813 ac_file
=1 # Number of current file.
20814 ac_beg
=1 # First line for current file.
20815 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
20818 while $ac_more_lines; do
20819 if test $ac_beg -gt 1; then
20820 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
20822 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
20824 if test ! -s conftest.s
$ac_file; then
20825 ac_more_lines
=false
20826 rm -f conftest.s
$ac_file
20828 if test -z "$ac_sed_cmds"; then
20829 ac_sed_cmds
="sed -f conftest.s$ac_file"
20831 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
20833 ac_file
=`expr $ac_file + 1`
20835 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
20838 if test -z "$ac_sed_cmds"; then
20843 cat >> $CONFIG_STATUS <<EOF
20845 CONFIG_FILES=\${CONFIG_FILES-"wx-config
20852 cat >> $CONFIG_STATUS <<\EOF
20853 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
20854 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20856 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20857 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20858 *) ac_file_in
="${ac_file}.in" ;;
20861 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
20863 # Remove last slash and all that follows it. Not all systems have dirname.
20864 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20865 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
20866 # The file is in a subdirectory.
20867 test ! -d "$ac_dir" && mkdir "$ac_dir"
20868 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
20869 # A "../" for each directory in $ac_dir_suffix.
20870 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
20872 ac_dir_suffix
= ac_dots
=
20875 case "$ac_given_srcdir" in
20877 if test -z "$ac_dots"; then top_srcdir
=.
20878 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
20879 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
20880 *) # Relative path.
20881 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
20882 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
20885 case "$ac_given_INSTALL" in
20886 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
20887 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
20890 echo creating
"$ac_file"
20892 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
20894 *Makefile
*) ac_comsub
="1i\\
20895 # $configure_input" ;;
20899 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20901 s%@configure_input@%$configure_input%g
20902 s%@srcdir@%$srcdir%g
20903 s%@top_srcdir@%$top_srcdir%g
20904 s%@INSTALL@%$INSTALL%g
20905 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
20909 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
20910 # NAME is the cpp macro being defined and VALUE is the value it is being given.
20912 # ac_d sets the value in "#define NAME VALUE" lines.
20913 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
20914 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
20917 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
20918 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20919 ac_uB
='\([ ]\)%\1#\2define\3'
20922 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
20923 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
20924 ac_eB
='$%\1#\2define\3'
20928 if test "${CONFIG_HEADERS+set}" != set; then
20930 cat >> $CONFIG_STATUS <<EOF
20931 CONFIG_HEADERS="setup.h:setup.h.in"
20933 cat >> $CONFIG_STATUS <<\EOF
20935 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
20936 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20938 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
20939 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
20940 *) ac_file_in
="${ac_file}.in" ;;
20943 echo creating
$ac_file
20945 rm -f conftest.frag conftest.
in conftest.out
20946 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20947 cat $ac_file_inputs > conftest.
in
20951 # Transform confdefs.h into a sed script conftest.vals that substitutes
20952 # the proper values into config.h.in to produce config.h. And first:
20953 # Protect against being on the right side of a sed subst in config.status.
20954 # Protect against being in an unquoted here document in config.status.
20955 rm -f conftest.vals
20956 cat > conftest.hdr
<<\EOF
20959 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20963 sed -n -f conftest.hdr confdefs.h > conftest.vals
20966 # This sed command replaces #undef with comments. This is necessary, for
20967 # example, in the case of _POSIX_SOURCE, which is predefined and required
20968 # on some systems where configure will not decide to define it.
20969 cat >> conftest.vals <<\EOF
20970 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20973 # Break up conftest.vals because some shells have a limit on
20974 # the size of here documents, and old seds have small limits too.
20976 rm -f conftest.tail
20979 ac_lines=`grep -c . conftest.vals
`
20980 # grep -c gives empty output for an empty file on some AIX systems.
20981 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20982 # Write a limited-size here document to conftest.frag.
20983 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20984 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20986 sed -f conftest.frag conftest.in > conftest.out
20988 mv conftest.out conftest.in
20989 ' >> $CONFIG_STATUS
20990 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20991 rm -f conftest.vals
20992 mv conftest.tail conftest.vals
20994 rm -f conftest.vals
20996 cat >> $CONFIG_STATUS <<\EOF
20997 rm -f conftest.frag conftest.h
20998 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20999 cat conftest.in >> conftest.h
21001 if cmp -s $ac_file conftest.h 2>/dev/null; then
21002 echo "$ac_file is unchanged"
21005 # Remove last slash and all that follows it. Not all systems have dirname.
21006 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21007 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21008 # The file is in a subdirectory.
21009 test ! -d "$ac_dir" && mkdir "$ac_dir"
21012 mv conftest.h $ac_file
21017 cat >> $CONFIG_STATUS <<EOF
21019 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21024 cat >> $CONFIG_STATUS <<\EOF
21026 if test ! -h wx-config; then
21028 mv wx-config wx${TOOLCHAIN_NAME}-config
21029 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21032 if test ! -d lib; then
21035 if test ! -d lib/wx; then
21038 if test ! -d lib/wx/include; then
21039 mkdir lib/wx/include
21041 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21042 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21044 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21045 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21047 if test -f setup.h; then
21048 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21053 chmod +x $CONFIG_STATUS
21054 rm -fr confdefs* $ac_clean_files
21055 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21057 if test "$no_recursion" != yes; then
21059 # Remove --cache-file and --srcdir arguments so they do not pile up.
21060 ac_sub_configure_args=
21062 for ac_arg in $ac_configure_args; do
21063 if test -n "$ac_prev"; then
21068 -cache-file | --cache-file | --cache-fil | --cache-fi \
21069 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21070 ac_prev=cache_file ;;
21071 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21072 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21074 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21076 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21078 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21082 for ac_config_dir in demos samples utils contrib; do
21084 # Do not complain, so a configure script can configure whichever
21085 # parts of a large source tree are present.
21086 if test ! -d $srcdir/$ac_config_dir; then
21090 echo configuring in $ac_config_dir
21095 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21097 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21105 # A "../" for each directory in /$ac_config_dir.
21106 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21109 .) # No --srcdir option. We are building in place.
21110 ac_sub_srcdir=$srcdir ;;
21111 /*) # Absolute path.
21112 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21113 *) # Relative path.
21114 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21117 # Check for guested configure; otherwise get Cygnus style configure.
21118 if test -f $ac_sub_srcdir/configure; then
21119 ac_sub_configure=$ac_sub_srcdir/configure
21120 elif test -f $ac_sub_srcdir/configure.in; then
21121 ac_sub_configure=$ac_configure
21123 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21127 # The recursion is here.
21128 if test -n "$ac_sub_configure"; then
21130 # Make the cache file name correct relative to the subdirectory.
21131 case "$cache_file" in
21132 /*) ac_sub_cache_file=$cache_file ;;
21133 *) # Relative path.
21134 ac_sub_cache_file="$ac_dots$cache_file" ;;
21136 case "$ac_given_INSTALL" in
21137 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21138 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21141 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21142 # The eval makes quoting arguments work.
21143 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21146 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }