3 # From configure.in Id: configure.in
65 # Configure paths for GTK+
66 # Owen Taylor 1997-2001
70 # Configure paths for GTK+
80 # Guess values for system-dependent variables and create Makefiles.
81 # Generated automatically using autoconf version 2.13
82 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
84 # This configure script is free software; the Free Software Foundation
85 # gives unlimited permission to copy, distribute and modify it.
89 ac_default_prefix
=/usr
/local
90 # Any additions from configure.in:
92 --enable-gui use GUI classes"
94 --enable-universal use wxWindows GUI controls instead of native ones"
98 --with-motif use Motif/Lesstif"
100 --with-mac use Mac OS X"
102 --with-cocoa use Cocoa"
104 --with-wine use Wine"
106 --with-msw use MS-Windows"
108 --with-pm use OS/2 Presentation Manager"
110 --with-mgl use SciTech MGL"
112 --with-microwin use MicroWindows"
116 --enable-nanox use NanoX"
118 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
120 --with-libpng use libpng (PNG image format)"
122 --with-libjpeg use libjpeg (JPEG file format)"
124 --with-libtiff use libtiff (TIFF file format)"
126 --with-opengl use OpenGL (or Mesa)"
128 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
130 --with-regex enable support for wxRegEx class"
132 --with-zlib use zlib for LZW compression"
134 --with-odbc use the IODBC and wxODBC classes"
136 --enable-shared create shared library code"
138 --enable-soname set the DT_SONAME field in ELF shared libraries"
140 --enable-optimise create optimised code"
142 --enable-debug same as debug_flag and debug_info"
144 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
146 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
148 --enable-debug_info create code with debugging information"
150 --enable-debug_gdb create code with extra GDB debugging information"
152 --enable-debug_cntxt use wxDebugContext"
154 --enable-mem_tracing create code with memory tracing"
156 --enable-profile create code with profiling information"
158 --enable-no_rtti create code without RTTI information"
160 --enable-no_exceptions create code without C++ exceptions handling"
162 --enable-permissive compile code disregarding strict ANSI"
164 --enable-no_deps create code without dependency information"
166 --enable-compat20 enable wxWindows 2.0 compatibility"
168 --enable-compat22 enable wxWindows 2.2 compatibility"
170 --disable-compat24 disable wxWindows 2.4 compatibility"
172 --enable-rpath=DIR output the rpath flag from wx-config"
174 --enable-intl use internationalization system"
176 --enable-config use wxConfig (and derived) classes"
178 --enable-protocols use wxProtocol and derived classes"
180 --enable-ftp use wxFTP (requires wxProtocol"
182 --enable-http use wxHTTP (requires wxProtocol"
184 --enable-fileproto use wxFileProto class (requires wxProtocol"
186 --enable-sockets use socket/network classes"
188 --enable-ole use OLE classes"
190 --enable-dataobj use data object classes"
192 --enable-ipc use interprocess communication (wxSocket etc.)"
194 --enable-cmdline use wxCmdLineParser class"
196 --enable-datetime use wxDateTime class"
198 --enable-stopwatch use wxStopWatch class"
200 --enable-dialupman use dialup network classes"
202 --enable-apple_ieee use the Apple IEEE codec"
204 --enable-timer use wxTimer class"
206 --enable-wave use wxWave class"
208 --enable-fraction use wxFraction class"
210 --enable-dynlib use wxLibrary class for DLL loading"
212 --enable-dynamicloader use (new) wxDynamicLibrary class"
214 --enable-longlong use wxLongLong class"
216 --enable-geometry use geometry class"
218 --enable-log use logging system"
220 --enable-streams use wxStream etc classes"
222 --enable-file use wxFile classes"
224 --enable-ffile use wxFFile classes"
226 --enable-textbuf use wxTextBuffer class"
228 --enable-textfile use wxTextFile class"
230 --enable-fontmap use font encodings conversion classes"
232 --enable-unicode compile wxString with Unicode support"
234 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
236 --enable-wxprintfv use wxWindows implementation of vprintf()"
238 --enable-std_iostreams use standard C++ stream classes"
240 --enable-filesystem use virtual file systems classes"
242 --enable-fs_inet use virtual HTTP/FTP filesystems"
244 --enable-fs_zip use virtual ZIP filesystems"
246 --enable-zipstream use wxZipInputStream"
248 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
250 --enable-snglinst use wxSingleInstanceChecker class"
252 --enable-mimetype use wxMimeTypesManager"
254 --enable-sysoptions use wxSystemOptions"
256 --enable-url use wxURL class"
258 --enable-protocol use wxProtocol class"
260 --enable-protocol-http HTTP support in wxProtocol"
262 --enable-protocol-ftp FTP support in wxProtocol"
264 --enable-protocol-file FILE support in wxProtocol"
266 --enable-threads use threads"
268 --enable-docview use document view architecture"
270 --enable-help use help subsystem"
272 --enable-mshtmlhelp use MS HTML Help (win32)"
274 --enable-html use wxHTML sub-library"
276 --enable-htmlhelp use wxHTML-based help"
278 --enable-constraints use layout-constraints system"
280 --enable-printarch use printing architecture"
282 --enable-mdi use multiple document interface architecture"
284 --enable-loggui use standard GUI logger"
286 --enable-logwin use wxLogWindow"
288 --enable-logdialog use wxLogDialog"
290 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
292 --enable-resources use wxWindows resources"
294 --enable-xresources use X resources for save (default for gtk+)"
296 --enable-clipboard use wxClipboard class"
298 --enable-dnd use Drag'n'Drop classes"
300 --enable-metafile use win32 metafiles"
302 --enable-controls use all usual controls"
304 --enable-accel use accelerators"
306 --enable-button use wxButton class"
308 --enable-bmpbutton use wxBitmapButton class"
310 --enable-calendar use wxCalendarCtrl class"
312 --enable-caret use wxCaret class"
314 --enable-checkbox use wxCheckBox class"
316 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
318 --enable-choice use wxChoice class"
320 --enable-combobox use wxComboBox class"
322 --enable-display use wxDisplay class"
324 --enable-gauge use wxGauge class"
326 --enable-grid use wxGrid class"
328 --enable-imaglist use wxImageList class"
330 --enable-listbox use wxListBox class"
332 --enable-listctrl use wxListCtrl class"
334 --enable-notebook use wxNotebook class"
336 --enable-radiobox use wxRadioBox class"
338 --enable-radiobtn use wxRadioButton class"
340 --enable-sash use wxSashWindow class"
342 --enable-scrollbar use wxScrollBar class and scrollable windows"
344 --enable-slider use wxSlider class"
346 --enable-spinbtn use wxSpinButton class"
348 --enable-spinctrl use wxSpinCtrl class"
350 --enable-splitter use wxSplitterWindow class"
352 --enable-statbmp use wxStaticBitmap class"
354 --enable-statbox use wxStaticBox class"
356 --enable-statline use wxStaticLine class"
358 --enable-stattext use wxStaticText class"
360 --enable-statusbar use wxStatusBar class"
362 --enable-tabdialog use wxTabControl class"
364 --enable-textctrl use wxTextCtrl class"
366 --enable-togglebtn use wxToggleButton class"
368 --enable-toolbar use wxToolBar class"
370 --enable-tbarnative use native wxToolBar class"
372 --enable-tbarsmpl use wxToolBarSimple class"
374 --enable-treectrl use wxTreeCtrl class"
376 --enable-tipwindow use wxTipWindow class"
378 --enable-popupwin use wxPopUpWindow class"
380 --enable-commondlg use all common dialogs"
382 --enable-choicedlg use wxChoiceDialog"
384 --enable-coldlg use wxColourDialog"
386 --enable-filedlg use wxFileDialog"
388 --enable-finddlg use wxFindReplaceDialog"
390 --enable-fontdlg use wxFontDialog"
392 --enable-dirdlg use wxDirDialog"
394 --enable-msgdlg use wxMessageDialog"
396 --enable-numberdlg use wxNumberEntryDialog"
398 --enable-splash use wxSplashScreen"
400 --enable-textdlg use wxTextDialog"
402 --enable-tipdlg use startup tips"
404 --enable-progressdlg use wxProgressDialog"
406 --enable-wizarddlg use wxWizard"
408 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
410 --enable-miniframe use wxMiniFrame class"
412 --enable-tooltips use wxToolTip class"
414 --enable-splines use spline drawing code"
416 --enable-validators use wxValidator and derived classes"
418 --enable-busyinfo use wxBusyInfo"
420 --enable-joystick use wxJoystick (Linux only)"
422 --enable-metafiles use wxMetaFile (Windows only)"
424 --enable-dragimage use wxDragImage"
426 --enable-accessibility enable accessibility support"
428 --enable-palette use wxPalette class"
430 --enable-image use wxImage class"
432 --enable-gif use gif images (GIF file format)"
434 --enable-pcx use pcx images (PCX file format)"
436 --enable-iff use iff images (IFF file format)"
438 --enable-pnm use pnm images (PNM file format)"
440 --enable-xpm use xpm images (XPM file format)"
442 --enable-icocur use Windows ICO and CUR formats"
444 --disable-largefile omit support for large files"
446 --disable-gtktest do not try to compile and run a test GTK+ program"
448 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
450 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
452 --disable-gtktest Do not try to compile and run a test GTK program"
454 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
456 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
458 --disable-gtktest Do not try to compile and run a test GTK program"
460 --with-x use the X Window System"
462 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
464 # Initialize some variables set by options.
465 # The variables have the same names as the options, with
466 # dashes changed to underlines.
468 cache_file
=.
/config.cache
477 program_transform_name
=s
,x
,x
,
485 bindir
='${exec_prefix}/bin'
486 sbindir
='${exec_prefix}/sbin'
487 libexecdir
='${exec_prefix}/libexec'
488 datadir
='${prefix}/share'
489 sysconfdir
='${prefix}/etc'
490 sharedstatedir
='${prefix}/com'
491 localstatedir
='${prefix}/var'
492 libdir
='${exec_prefix}/lib'
493 includedir
='${prefix}/include'
494 oldincludedir
='/usr/include'
495 infodir
='${prefix}/info'
496 mandir
='${prefix}/man'
498 # Initialize some other variables.
501 SHELL
=${CONFIG_SHELL-/bin/sh}
502 # Maximum number of lines to put in a shell here document.
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
517 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
528 bindir
="$ac_optarg" ;;
530 -build | --build | --buil | --bui | --bu)
532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
533 build
="$ac_optarg" ;;
535 -cache-file | --cache-file | --cache-fil | --cache-fi \
536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
537 ac_prev
=cache_file
;;
538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
540 cache_file
="$ac_optarg" ;;
542 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
544 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546 datadir
="$ac_optarg" ;;
548 -disable-* | --disable-*)
549 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
550 # Reject names that are not valid shell variable names.
551 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
552 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
554 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
555 eval "enable_${ac_feature}=no" ;;
557 -enable-* | --enable-*)
558 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
559 # Reject names that are not valid shell variable names.
560 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
561 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
563 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
568 eval "enable_${ac_feature}='$ac_optarg'" ;;
570 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
571 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
572 | --exec | --exe | --ex)
573 ac_prev
=exec_prefix
;;
574 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
575 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
576 | --exec=* | --exe=* | --ex=*)
577 exec_prefix
="$ac_optarg" ;;
579 -gas | --gas | --ga | --g)
580 # Obsolete; use --with-gas.
583 -help | --help | --hel | --he)
584 # Omit some internal or obsolete options to make the list less imposing.
585 # This message is too long to be a string in the A/UX 3.1 sh.
587 Usage: configure [options] [host]
588 Options: [defaults in brackets after descriptions]
590 --cache-file=FILE cache test results in FILE
591 --help print this message
592 --no-create do not create output files
593 --quiet, --silent do not print \`checking...' messages
594 --version print the version of autoconf that created configure
595 Directory and file names:
596 --prefix=PREFIX install architecture-independent files in PREFIX
598 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
600 --bindir=DIR user executables in DIR [EPREFIX/bin]
601 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
602 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
603 --datadir=DIR read-only architecture-independent data in DIR
605 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
606 --sharedstatedir=DIR modifiable architecture-independent data in DIR
608 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
609 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
610 --includedir=DIR C header files in DIR [PREFIX/include]
611 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
612 --infodir=DIR info documentation in DIR [PREFIX/info]
613 --mandir=DIR man documentation in DIR [PREFIX/man]
614 --srcdir=DIR find the sources in DIR [configure dir or ..]
615 --program-prefix=PREFIX prepend PREFIX to installed program names
616 --program-suffix=SUFFIX append SUFFIX to installed program names
617 --program-transform-name=PROGRAM
618 run sed PROGRAM on installed program names
622 --build=BUILD configure for building on BUILD [BUILD=HOST]
623 --host=HOST configure for HOST [guessed]
624 --target=TARGET configure for TARGET [TARGET=HOST]
625 Features and packages:
626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
628 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
629 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
630 --x-includes=DIR X include files are in DIR
631 --x-libraries=DIR X library files are in DIR
633 if test -n "$ac_help"; then
634 echo "--enable and --with options recognized:$ac_help"
638 -host | --host | --hos | --ho)
640 -host=* | --host=* | --hos=* | --ho=*)
643 -includedir | --includedir | --includedi | --included | --include \
644 | --includ | --inclu | --incl | --inc)
645 ac_prev
=includedir
;;
646 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
647 | --includ=* | --inclu=* | --incl=* | --inc=*)
648 includedir
="$ac_optarg" ;;
650 -infodir | --infodir | --infodi | --infod | --info | --inf)
652 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
653 infodir
="$ac_optarg" ;;
655 -libdir | --libdir | --libdi | --libd)
657 -libdir=* | --libdir=* | --libdi=* | --libd=*)
658 libdir
="$ac_optarg" ;;
660 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
661 | --libexe | --libex | --libe)
662 ac_prev
=libexecdir
;;
663 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
664 | --libexe=* | --libex=* | --libe=*)
665 libexecdir
="$ac_optarg" ;;
667 -localstatedir | --localstatedir | --localstatedi | --localstated \
668 | --localstate | --localstat | --localsta | --localst \
669 | --locals | --local | --loca | --loc | --lo)
670 ac_prev
=localstatedir
;;
671 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
672 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
673 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
674 localstatedir
="$ac_optarg" ;;
676 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
678 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
679 mandir
="$ac_optarg" ;;
682 # Obsolete; use --without-fp.
685 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
689 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
690 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
693 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
694 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
695 | --oldin | --oldi | --old | --ol | --o)
696 ac_prev
=oldincludedir
;;
697 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
698 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
699 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
700 oldincludedir
="$ac_optarg" ;;
702 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
704 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
705 prefix
="$ac_optarg" ;;
707 -program-prefix | --program-prefix | --program-prefi | --program-pref \
708 | --program-pre | --program-pr | --program-p)
709 ac_prev
=program_prefix
;;
710 -program-prefix=* | --program-prefix=* | --program-prefi=* \
711 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
712 program_prefix
="$ac_optarg" ;;
714 -program-suffix | --program-suffix | --program-suffi | --program-suff \
715 | --program-suf | --program-su | --program-s)
716 ac_prev
=program_suffix
;;
717 -program-suffix=* | --program-suffix=* | --program-suffi=* \
718 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
719 program_suffix
="$ac_optarg" ;;
721 -program-transform-name | --program-transform-name \
722 | --program-transform-nam | --program-transform-na \
723 | --program-transform-n | --program-transform- \
724 | --program-transform | --program-transfor \
725 | --program-transfo | --program-transf \
726 | --program-trans | --program-tran \
727 | --progr-tra | --program-tr | --program-t)
728 ac_prev
=program_transform_name
;;
729 -program-transform-name=* | --program-transform-name=* \
730 | --program-transform-nam=* | --program-transform-na=* \
731 | --program-transform-n=* | --program-transform-=* \
732 | --program-transform=* | --program-transfor=* \
733 | --program-transfo=* | --program-transf=* \
734 | --program-trans=* | --program-tran=* \
735 | --progr-tra=* | --program-tr=* | --program-t=*)
736 program_transform_name
="$ac_optarg" ;;
738 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
739 | -silent | --silent | --silen | --sile | --sil)
742 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
744 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
746 sbindir
="$ac_optarg" ;;
748 -sharedstatedir | --sharedstatedir | --sharedstatedi \
749 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
750 | --sharedst | --shareds | --shared | --share | --shar \
752 ac_prev
=sharedstatedir
;;
753 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
754 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
755 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
757 sharedstatedir
="$ac_optarg" ;;
759 -site | --site | --sit)
761 -site=* | --site=* | --sit=*)
764 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
766 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
767 srcdir
="$ac_optarg" ;;
769 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
770 | --syscon | --sysco | --sysc | --sys | --sy)
771 ac_prev
=sysconfdir
;;
772 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
773 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
774 sysconfdir
="$ac_optarg" ;;
776 -target | --target | --targe | --targ | --tar | --ta | --t)
778 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
779 target
="$ac_optarg" ;;
781 -v | -verbose | --verbose | --verbos | --verbo | --verb)
784 -version | --version | --versio | --versi | --vers)
785 echo "configure generated by autoconf version 2.13"
789 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
790 # Reject names that are not valid shell variable names.
791 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
792 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
794 ac_package
=`echo $ac_package| sed 's/-/_/g'`
799 eval "with_${ac_package}='$ac_optarg'" ;;
801 -without-* | --without-*)
802 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
803 # Reject names that are not valid shell variable names.
804 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
805 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
807 ac_package
=`echo $ac_package| sed 's/-/_/g'`
808 eval "with_${ac_package}=no" ;;
811 # Obsolete; use --with-x.
814 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
815 | --x-incl | --x-inc | --x-in | --x-i)
816 ac_prev
=x_includes
;;
817 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
818 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
819 x_includes
="$ac_optarg" ;;
821 -x-libraries | --x-libraries | --x-librarie | --x-librari \
822 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
823 ac_prev
=x_libraries
;;
824 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
825 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
826 x_libraries
="$ac_optarg" ;;
828 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
832 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
833 echo "configure: warning: $ac_option: invalid host type" 1>&2
835 if test "x$nonopt" != xNONE
; then
836 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
844 if test -n "$ac_prev"; then
845 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
848 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
850 # File descriptor usage:
853 # 2 errors and warnings
854 # 3 some systems may open it to /dev/tty
855 # 4 used on the Kubota Titan
856 # 6 checking for... messages and results
857 # 5 compiler messages saved in config.log
858 if test "$silent" = yes; then
866 This file contains any messages produced by compilers while
867 running configure, to aid debugging if configure makes a mistake.
870 # Strip out --no-create and --no-recursion so they do not pile up.
871 # Also quote any args containing shell metacharacters.
876 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
877 | --no-cr | --no-c) ;;
878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
880 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
881 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
882 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
887 # Only set these to C if already set. These must not be set unconditionally
888 # because not all systems understand e.g. LANG=C (notably SCO).
889 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
890 # Non-C LC_CTYPE values break the ctype check.
891 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
892 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
893 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
894 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
897 rm -rf conftest
* confdefs.h
898 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
901 # A filename unique to this package, relative to the directory that
902 # configure is in, which we can look for to find out if srcdir is correct.
903 ac_unique_file
=wx
-config.
in
905 # Find the source files, if location was not specified.
906 if test -z "$srcdir"; then
907 ac_srcdir_defaulted
=yes
908 # Try the directory containing this script, then its parent.
910 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
911 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
913 if test ! -r $srcdir/$ac_unique_file; then
917 ac_srcdir_defaulted
=no
919 if test ! -r $srcdir/$ac_unique_file; then
920 if test "$ac_srcdir_defaulted" = yes; then
921 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
923 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
926 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
928 # Prefer explicitly selected file to automatically selected ones.
929 if test -z "$CONFIG_SITE"; then
930 if test "x$prefix" != xNONE
; then
931 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
933 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
936 for ac_site_file
in $CONFIG_SITE; do
937 if test -r "$ac_site_file"; then
938 echo "loading site script $ac_site_file"
943 if test -r "$cache_file"; then
944 echo "loading cache $cache_file"
947 echo "creating cache $cache_file"
952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
953 ac_cpp
='$CPP $CPPFLAGS'
954 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
955 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
956 cross_compiling
=$ac_cv_prog_cc_cross
960 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
961 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
962 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
969 ac_n
= ac_c
='\c' ac_t
=
975 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
976 if test -f $ac_dir/install-sh; then
978 ac_install_sh
="$ac_aux_dir/install-sh -c"
980 elif test -f $ac_dir/install.sh
; then
982 ac_install_sh
="$ac_aux_dir/install.sh -c"
986 if test -z "$ac_aux_dir"; then
987 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
989 ac_config_guess
=$ac_aux_dir/config.guess
990 ac_config_sub
=$ac_aux_dir/config.sub
991 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
994 # Do some error checking and defaulting for the host and target type.
996 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
999 # 1. You are not allowed to specify --host, --target, and nonopt at the
1001 # 2. Host defaults to nonopt.
1002 # 3. If nonopt is not specified, then host defaults to the current host,
1003 # as determined by config.guess.
1004 # 4. Target and build default to nonopt.
1005 # 5. If nonopt is not specified, then target and build default to host.
1007 # The aliases save the names the user supplied, while $host etc.
1008 # will get canonicalized.
1009 case $host---$target---$nonopt in
1010 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1011 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1015 # Make sure we can run config.sub.
1016 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1017 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1020 echo $ac_n "checking host system type""... $ac_c" 1>&6
1021 echo "configure:1022: checking host system type" >&5
1024 case "$host_alias" in
1028 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1029 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1031 *) host_alias
=$nonopt ;;
1035 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1036 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1037 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1038 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1039 echo "$ac_t""$host" 1>&6
1041 echo $ac_n "checking target system type""... $ac_c" 1>&6
1042 echo "configure:1043: checking target system type" >&5
1044 target_alias
=$target
1045 case "$target_alias" in
1048 NONE
) target_alias
=$host_alias ;;
1049 *) target_alias
=$nonopt ;;
1053 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1054 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1057 echo "$ac_t""$target" 1>&6
1059 echo $ac_n "checking build system type""... $ac_c" 1>&6
1060 echo "configure:1061: checking build system type" >&5
1063 case "$build_alias" in
1066 NONE
) build_alias
=$host_alias ;;
1067 *) build_alias
=$nonopt ;;
1071 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1072 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1073 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1074 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1075 echo "$ac_t""$build" 1>&6
1077 test "$host_alias" != "$target_alias" &&
1078 test "$program_prefix$program_suffix$program_transform_name" = \
1080 program_prefix
=${target_alias}-
1084 WX_MAJOR_VERSION_NUMBER
=2
1085 WX_MINOR_VERSION_NUMBER
=5
1088 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1089 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1091 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1126 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1128 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1130 DEFAULT_wxUSE_COCOA
=0
1134 DEFAULT_wxUSE_MICROWIN
=0
1135 DEFAULT_wxUSE_MOTIF
=0
1140 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1141 DEFAULT_DEFAULT_wxUSE_GTK
=0
1142 DEFAULT_DEFAULT_wxUSE_MAC
=0
1143 DEFAULT_DEFAULT_wxUSE_MGL
=0
1144 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1145 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1146 DEFAULT_DEFAULT_wxUSE_MSW
=0
1147 DEFAULT_DEFAULT_wxUSE_PM
=0
1148 DEFAULT_DEFAULT_wxUSE_X11
=0
1156 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1157 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1159 cat >> confdefs.h
<<\EOF
1166 cat >> confdefs.h
<<\EOF
1171 if test "x$TMP" = "xalpha"; then
1173 cat >> confdefs.h
<<\EOF
1178 DEFAULT_DEFAULT_wxUSE_GTK
=1
1180 *-*-irix5* | *-*-irix6* )
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1202 #define __SOLARIS__ 1
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1233 cat >> confdefs.h
<<\EOF
1234 #define __FREEBSD__ 1
1237 cat >> confdefs.h
<<\EOF
1241 DEFAULT_DEFAULT_wxUSE_GTK
=1
1246 cat >> confdefs.h
<<\EOF
1247 #define __OPENBSD__ 1
1250 cat >> confdefs.h
<<\EOF
1254 DEFAULT_DEFAULT_wxUSE_GTK
=1
1259 cat >> confdefs.h
<<\EOF
1260 #define __NETBSD__ 1
1263 cat >> confdefs.h
<<\EOF
1267 DEFAULT_DEFAULT_wxUSE_GTK
=1
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1281 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1286 cat >> confdefs.h
<<\EOF
1290 cat >> confdefs.h
<<\EOF
1294 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1299 cat >> confdefs.h
<<\EOF
1303 cat >> confdefs.h
<<\EOF
1307 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1314 cat >> confdefs.h
<<\EOF
1318 cat >> confdefs.h
<<\EOF
1322 cat >> confdefs.h
<<\EOF
1326 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1333 cat >> confdefs.h
<<\EOF
1334 #define __UNIXWARE__ 1
1339 *-*-cygwin* | *-*-mingw32* )
1343 DEFAULT_DEFAULT_wxUSE_MSW
=1
1349 cat >> confdefs.h
<<\EOF
1354 DEFAULT_DEFAULT_wxUSE_MGL
=1
1355 LIBS
="$LIBS -lstdc++"
1358 *-pc-os2_emx | *-pc-os2-emx )
1359 cat >> confdefs.h
<<\EOF
1364 DEFAULT_DEFAULT_wxUSE_PM
=1
1371 cat >> confdefs.h
<<\EOF
1375 cat >> confdefs.h
<<\EOF
1376 #define __DARWIN__ 1
1379 cat >> confdefs.h
<<\EOF
1380 #define __POWERPC__ 1
1383 cat >> confdefs.h
<<\EOF
1384 #define TARGET_CARBON 1
1387 DEFAULT_DEFAULT_wxUSE_MAC
=1
1392 cat >> confdefs.h
<<\EOF
1399 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1405 wx_arg_cache_file
="configarg.cache"
1406 echo "loading argument cache $wx_arg_cache_file"
1407 rm -f ${wx_arg_cache_file}.tmp
1408 touch ${wx_arg_cache_file}.tmp
1409 touch ${wx_arg_cache_file}
1413 if test $DEBUG_CONFIGURE = 1; then
1414 DEFAULT_wxUSE_UNIVERSAL
=no
1416 DEFAULT_wxUSE_NANOX
=no
1418 DEFAULT_wxUSE_THREADS
=yes
1420 DEFAULT_wxUSE_SHARED
=yes
1421 DEFAULT_wxUSE_SONAME
=no
1422 DEFAULT_wxUSE_OPTIMISE
=no
1423 DEFAULT_wxUSE_PROFILE
=no
1424 DEFAULT_wxUSE_NO_DEPS
=no
1425 DEFAULT_wxUSE_NO_RTTI
=no
1426 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1427 DEFAULT_wxUSE_PERMISSIVE
=no
1428 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1429 DEFAULT_wxUSE_DEBUG_INFO
=yes
1430 DEFAULT_wxUSE_DEBUG_GDB
=yes
1431 DEFAULT_wxUSE_MEM_TRACING
=no
1432 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1433 DEFAULT_wxUSE_DMALLOC
=no
1434 DEFAULT_wxUSE_PRECOMP
=no
1435 DEFAULT_wxUSE_APPLE_IEEE
=no
1437 DEFAULT_wxUSE_LOG
=yes
1438 DEFAULT_wxUSE_LOGWINDOW
=no
1439 DEFAULT_wxUSE_LOGGUI
=no
1440 DEFAULT_wxUSE_LOGDIALOG
=no
1442 DEFAULT_wxUSE_GUI
=yes
1443 DEFAULT_wxUSE_CONTROLS
=no
1445 DEFAULT_wxUSE_REGEX
=no
1446 DEFAULT_wxUSE_ZLIB
=no
1447 DEFAULT_wxUSE_LIBPNG
=no
1448 DEFAULT_wxUSE_LIBJPEG
=no
1449 DEFAULT_wxUSE_LIBTIFF
=no
1450 DEFAULT_wxUSE_ODBC
=no
1451 DEFAULT_wxUSE_OPENGL
=no
1453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1454 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1455 DEFAULT_wxUSE_STD_IOSTREAM
=no
1456 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1457 DEFAULT_wxUSE_DATETIME
=no
1458 DEFAULT_wxUSE_TIMER
=no
1459 DEFAULT_wxUSE_STOPWATCH
=no
1460 DEFAULT_wxUSE_FILE
=no
1461 DEFAULT_wxUSE_FFILE
=no
1462 DEFAULT_wxUSE_TEXTBUFFER
=no
1463 DEFAULT_wxUSE_TEXTFILE
=no
1464 DEFAULT_wxUSE_WAVE
=no
1465 DEFAULT_wxUSE_INTL
=no
1466 DEFAULT_wxUSE_CONFIG
=no
1467 DEFAULT_wxUSE_FONTMAP
=no
1468 DEFAULT_wxUSE_STREAMS
=no
1469 DEFAULT_wxUSE_SOCKETS
=no
1470 DEFAULT_wxUSE_OLE
=no
1471 DEFAULT_wxUSE_DATAOBJ
=no
1472 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1473 DEFAULT_wxUSE_JOYSTICK
=no
1474 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1475 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1476 DEFAULT_wxUSE_LONGLONG
=no
1477 DEFAULT_wxUSE_GEOMETRY
=no
1479 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1480 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1481 DEFAULT_wxUSE_POSTSCRIPT
=no
1483 DEFAULT_wxUSE_X_RESOURCES
=no
1484 DEFAULT_wxUSE_CLIPBOARD
=no
1485 DEFAULT_wxUSE_TOOLTIPS
=no
1486 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1487 DEFAULT_wxUSE_DRAGIMAGE
=no
1488 DEFAULT_wxUSE_SPLINES
=no
1490 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1494 DEFAULT_wxUSE_RESOURCES
=no
1495 DEFAULT_wxUSE_CONSTRAINTS
=no
1496 DEFAULT_wxUSE_IPC
=no
1497 DEFAULT_wxUSE_HELP
=no
1498 DEFAULT_wxUSE_MS_HTML_HELP
=no
1499 DEFAULT_wxUSE_WXHTML_HELP
=no
1500 DEFAULT_wxUSE_TREELAYOUT
=no
1501 DEFAULT_wxUSE_METAFILE
=no
1502 DEFAULT_wxUSE_MIMETYPE
=no
1503 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1504 DEFAULT_wxUSE_PROTOCOL
=no
1505 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1506 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1507 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1508 DEFAULT_wxUSE_URL
=no
1510 DEFAULT_wxUSE_COMMONDLGS
=no
1511 DEFAULT_wxUSE_CHOICEDLG
=no
1512 DEFAULT_wxUSE_COLOURDLG
=no
1513 DEFAULT_wxUSE_DIRDLG
=no
1514 DEFAULT_wxUSE_FILEDLG
=no
1515 DEFAULT_wxUSE_FINDREPLDLG
=no
1516 DEFAULT_wxUSE_FONTDLG
=no
1517 DEFAULT_wxUSE_MSGDLG
=no
1518 DEFAULT_wxUSE_NUMBERDLG
=no
1519 DEFAULT_wxUSE_TEXTDLG
=no
1520 DEFAULT_wxUSE_SPLASH
=no
1521 DEFAULT_wxUSE_STARTUP_TIPS
=no
1522 DEFAULT_wxUSE_PROGRESSDLG
=no
1523 DEFAULT_wxUSE_WIZARDDLG
=no
1525 DEFAULT_wxUSE_MENUS
=no
1526 DEFAULT_wxUSE_MINIFRAME
=no
1527 DEFAULT_wxUSE_HTML
=no
1528 DEFAULT_wxUSE_FILESYSTEM
=no
1529 DEFAULT_wxUSE_FS_INET
=no
1530 DEFAULT_wxUSE_FS_ZIP
=no
1531 DEFAULT_wxUSE_BUSYINFO
=no
1532 DEFAULT_wxUSE_ZIPSTREAM
=no
1533 DEFAULT_wxUSE_VALIDATORS
=no
1535 DEFAULT_wxUSE_ACCEL
=no
1536 DEFAULT_wxUSE_BUTTON
=no
1537 DEFAULT_wxUSE_BMPBUTTON
=no
1538 DEFAULT_wxUSE_CALCTRL
=no
1539 DEFAULT_wxUSE_CARET
=no
1540 DEFAULT_wxUSE_CHECKBOX
=no
1541 DEFAULT_wxUSE_CHECKLST
=no
1542 DEFAULT_wxUSE_CHOICE
=no
1543 DEFAULT_wxUSE_COMBOBOX
=no
1544 DEFAULT_wxUSE_DISPLAY
=no
1545 DEFAULT_wxUSE_GAUGE
=no
1546 DEFAULT_wxUSE_GRID
=no
1547 DEFAULT_wxUSE_IMAGLIST
=no
1548 DEFAULT_wxUSE_LISTBOX
=no
1549 DEFAULT_wxUSE_LISTCTRL
=no
1550 DEFAULT_wxUSE_NOTEBOOK
=no
1551 DEFAULT_wxUSE_RADIOBOX
=no
1552 DEFAULT_wxUSE_RADIOBTN
=no
1553 DEFAULT_wxUSE_SASH
=no
1554 DEFAULT_wxUSE_SCROLLBAR
=no
1555 DEFAULT_wxUSE_SLIDER
=no
1556 DEFAULT_wxUSE_SPINBTN
=no
1557 DEFAULT_wxUSE_SPINCTRL
=no
1558 DEFAULT_wxUSE_SPLITTER
=no
1559 DEFAULT_wxUSE_STATBMP
=no
1560 DEFAULT_wxUSE_STATBOX
=no
1561 DEFAULT_wxUSE_STATLINE
=no
1562 DEFAULT_wxUSE_STATTEXT
=no
1563 DEFAULT_wxUSE_STATUSBAR
=yes
1564 DEFAULT_wxUSE_TABDIALOG
=no
1565 DEFAULT_wxUSE_TEXTCTRL
=no
1566 DEFAULT_wxUSE_TOGGLEBTN
=no
1567 DEFAULT_wxUSE_TOOLBAR
=no
1568 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1569 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1570 DEFAULT_wxUSE_TREECTRL
=no
1571 DEFAULT_wxUSE_POPUPWIN
=no
1572 DEFAULT_wxUSE_TIPWINDOW
=no
1574 DEFAULT_wxUSE_UNICODE
=no
1575 DEFAULT_wxUSE_UNICODE_MSLU
=no
1576 DEFAULT_wxUSE_WCSRTOMBS
=no
1578 DEFAULT_wxUSE_PALETTE
=no
1579 DEFAULT_wxUSE_IMAGE
=no
1580 DEFAULT_wxUSE_GIF
=no
1581 DEFAULT_wxUSE_PCX
=no
1582 DEFAULT_wxUSE_PNM
=no
1583 DEFAULT_wxUSE_IFF
=no
1584 DEFAULT_wxUSE_XPM
=no
1585 DEFAULT_wxUSE_ICO_CUR
=no
1586 DEFAULT_wxUSE_ACCESSIBILITY
=no
1588 DEFAULT_wxUSE_UNIVERSAL
=no
1590 DEFAULT_wxUSE_NANOX
=no
1592 DEFAULT_wxUSE_THREADS
=yes
1594 DEFAULT_wxUSE_SHARED
=yes
1595 DEFAULT_wxUSE_SONAME
=no
1596 DEFAULT_wxUSE_OPTIMISE
=yes
1597 DEFAULT_wxUSE_PROFILE
=no
1598 DEFAULT_wxUSE_NO_DEPS
=no
1599 DEFAULT_wxUSE_NO_RTTI
=no
1600 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1601 DEFAULT_wxUSE_PERMISSIVE
=no
1602 DEFAULT_wxUSE_DEBUG_FLAG
=no
1603 DEFAULT_wxUSE_DEBUG_INFO
=no
1604 DEFAULT_wxUSE_DEBUG_GDB
=no
1605 DEFAULT_wxUSE_MEM_TRACING
=no
1606 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1607 DEFAULT_wxUSE_DMALLOC
=no
1608 DEFAULT_wxUSE_PRECOMP
=no
1609 DEFAULT_wxUSE_APPLE_IEEE
=yes
1611 DEFAULT_wxUSE_LOG
=yes
1612 DEFAULT_wxUSE_LOGWINDOW
=yes
1613 DEFAULT_wxUSE_LOGGUI
=yes
1614 DEFAULT_wxUSE_LOGDIALOG
=yes
1616 DEFAULT_wxUSE_GUI
=yes
1618 DEFAULT_wxUSE_REGEX
=yes
1619 DEFAULT_wxUSE_ZLIB
=yes
1620 DEFAULT_wxUSE_LIBPNG
=yes
1621 DEFAULT_wxUSE_LIBJPEG
=yes
1622 DEFAULT_wxUSE_LIBTIFF
=yes
1623 DEFAULT_wxUSE_ODBC
=no
1624 DEFAULT_wxUSE_OPENGL
=no
1626 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1627 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1628 DEFAULT_wxUSE_STD_IOSTREAM
=no
1629 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1630 DEFAULT_wxUSE_DATETIME
=yes
1631 DEFAULT_wxUSE_TIMER
=yes
1632 DEFAULT_wxUSE_STOPWATCH
=yes
1633 DEFAULT_wxUSE_FILE
=yes
1634 DEFAULT_wxUSE_FFILE
=yes
1635 DEFAULT_wxUSE_TEXTBUFFER
=yes
1636 DEFAULT_wxUSE_TEXTFILE
=yes
1637 DEFAULT_wxUSE_WAVE
=no
1638 DEFAULT_wxUSE_INTL
=yes
1639 DEFAULT_wxUSE_CONFIG
=yes
1640 DEFAULT_wxUSE_FONTMAP
=yes
1641 DEFAULT_wxUSE_STREAMS
=yes
1642 DEFAULT_wxUSE_SOCKETS
=yes
1643 DEFAULT_wxUSE_OLE
=yes
1644 DEFAULT_wxUSE_DATAOBJ
=yes
1645 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1646 DEFAULT_wxUSE_JOYSTICK
=yes
1647 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1648 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1649 DEFAULT_wxUSE_LONGLONG
=yes
1650 DEFAULT_wxUSE_GEOMETRY
=yes
1652 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1653 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1654 DEFAULT_wxUSE_POSTSCRIPT
=yes
1656 DEFAULT_wxUSE_X_RESOURCES
=no
1657 DEFAULT_wxUSE_CLIPBOARD
=yes
1658 DEFAULT_wxUSE_TOOLTIPS
=yes
1659 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1660 DEFAULT_wxUSE_DRAGIMAGE
=yes
1661 DEFAULT_wxUSE_SPLINES
=yes
1663 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1664 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1665 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1667 DEFAULT_wxUSE_RESOURCES
=no
1668 DEFAULT_wxUSE_CONSTRAINTS
=yes
1669 DEFAULT_wxUSE_IPC
=yes
1670 DEFAULT_wxUSE_HELP
=yes
1671 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1672 DEFAULT_wxUSE_WXHTML_HELP
=yes
1673 DEFAULT_wxUSE_TREELAYOUT
=yes
1674 DEFAULT_wxUSE_METAFILE
=yes
1675 DEFAULT_wxUSE_MIMETYPE
=yes
1676 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1677 DEFAULT_wxUSE_PROTOCOL
=yes
1678 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1679 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1680 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1681 DEFAULT_wxUSE_URL
=yes
1683 DEFAULT_wxUSE_COMMONDLGS
=yes
1684 DEFAULT_wxUSE_CHOICEDLG
=yes
1685 DEFAULT_wxUSE_COLOURDLG
=yes
1686 DEFAULT_wxUSE_DIRDLG
=yes
1687 DEFAULT_wxUSE_FILEDLG
=yes
1688 DEFAULT_wxUSE_FINDREPLDLG
=yes
1689 DEFAULT_wxUSE_FONTDLG
=yes
1690 DEFAULT_wxUSE_MSGDLG
=yes
1691 DEFAULT_wxUSE_NUMBERDLG
=yes
1692 DEFAULT_wxUSE_TEXTDLG
=yes
1693 DEFAULT_wxUSE_SPLASH
=yes
1694 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1695 DEFAULT_wxUSE_PROGRESSDLG
=yes
1696 DEFAULT_wxUSE_WIZARDDLG
=yes
1698 DEFAULT_wxUSE_MENUS
=yes
1699 DEFAULT_wxUSE_MINIFRAME
=yes
1700 DEFAULT_wxUSE_HTML
=yes
1701 DEFAULT_wxUSE_FILESYSTEM
=yes
1702 DEFAULT_wxUSE_FS_INET
=yes
1703 DEFAULT_wxUSE_FS_ZIP
=yes
1704 DEFAULT_wxUSE_BUSYINFO
=yes
1705 DEFAULT_wxUSE_ZIPSTREAM
=yes
1706 DEFAULT_wxUSE_VALIDATORS
=yes
1708 DEFAULT_wxUSE_ACCEL
=yes
1709 DEFAULT_wxUSE_BUTTON
=yes
1710 DEFAULT_wxUSE_BMPBUTTON
=yes
1711 DEFAULT_wxUSE_CALCTRL
=yes
1712 DEFAULT_wxUSE_CARET
=yes
1713 DEFAULT_wxUSE_CHECKBOX
=yes
1714 DEFAULT_wxUSE_CHECKLST
=yes
1715 DEFAULT_wxUSE_CHOICE
=yes
1716 DEFAULT_wxUSE_COMBOBOX
=yes
1717 DEFAULT_wxUSE_DISPLAY
=no
1718 DEFAULT_wxUSE_GAUGE
=yes
1719 DEFAULT_wxUSE_GRID
=yes
1720 DEFAULT_wxUSE_IMAGLIST
=yes
1721 DEFAULT_wxUSE_LISTBOX
=yes
1722 DEFAULT_wxUSE_LISTCTRL
=yes
1723 DEFAULT_wxUSE_NOTEBOOK
=yes
1724 DEFAULT_wxUSE_RADIOBOX
=yes
1725 DEFAULT_wxUSE_RADIOBTN
=yes
1726 DEFAULT_wxUSE_SASH
=yes
1727 DEFAULT_wxUSE_SCROLLBAR
=yes
1728 DEFAULT_wxUSE_SLIDER
=yes
1729 DEFAULT_wxUSE_SPINBTN
=yes
1730 DEFAULT_wxUSE_SPINCTRL
=yes
1731 DEFAULT_wxUSE_SPLITTER
=yes
1732 DEFAULT_wxUSE_STATBMP
=yes
1733 DEFAULT_wxUSE_STATBOX
=yes
1734 DEFAULT_wxUSE_STATLINE
=yes
1735 DEFAULT_wxUSE_STATTEXT
=yes
1736 DEFAULT_wxUSE_STATUSBAR
=yes
1737 DEFAULT_wxUSE_TABDIALOG
=no
1738 DEFAULT_wxUSE_TEXTCTRL
=yes
1739 DEFAULT_wxUSE_TOGGLEBTN
=yes
1740 DEFAULT_wxUSE_TOOLBAR
=yes
1741 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1742 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1743 DEFAULT_wxUSE_TREECTRL
=yes
1744 DEFAULT_wxUSE_POPUPWIN
=yes
1745 DEFAULT_wxUSE_TIPWINDOW
=yes
1747 DEFAULT_wxUSE_UNICODE
=no
1748 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1749 DEFAULT_wxUSE_WCSRTOMBS
=no
1751 DEFAULT_wxUSE_PALETTE
=yes
1752 DEFAULT_wxUSE_IMAGE
=yes
1753 DEFAULT_wxUSE_GIF
=yes
1754 DEFAULT_wxUSE_PCX
=yes
1755 DEFAULT_wxUSE_IFF
=no
1756 DEFAULT_wxUSE_PNM
=yes
1757 DEFAULT_wxUSE_XPM
=yes
1758 DEFAULT_wxUSE_ICO_CUR
=yes
1759 DEFAULT_wxUSE_ACCESSIBILITY
=no
1764 for toolkit
in `echo $ALL_TOOLKITS`; do
1765 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1766 if test "x$LINE" != "x" ; then
1767 has_toolkit_in_cache
=1
1768 eval "DEFAULT_$LINE"
1769 eval "CACHE_$toolkit=1"
1776 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1777 echo "configure:1778: checking for --${enablestring:-enable}-gui" >&5
1779 # Check whether --enable-gui or --disable-gui was given.
1780 if test "${enable_gui+set}" = set; then
1781 enableval
="$enable_gui"
1783 if test "$enableval" = yes; then
1784 ac_cv_use_gui
='wxUSE_GUI=yes'
1786 ac_cv_use_gui
='wxUSE_GUI=no'
1791 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1792 if test "x$LINE" != x
; then
1793 eval "DEFAULT_$LINE"
1798 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1803 eval "$ac_cv_use_gui"
1804 if test "$no_cache" != 1; then
1805 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1808 if test "$wxUSE_GUI" = yes; then
1809 echo "$ac_t""yes" 1>&6
1811 echo "$ac_t""no" 1>&6
1815 if test "$wxUSE_GUI" = "yes"; then
1819 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1820 echo "configure:1821: checking for --${enablestring:-enable}-universal" >&5
1822 # Check whether --enable-universal or --disable-universal was given.
1823 if test "${enable_universal+set}" = set; then
1824 enableval
="$enable_universal"
1826 if test "$enableval" = yes; then
1827 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1829 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1834 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1835 if test "x$LINE" != x
; then
1836 eval "DEFAULT_$LINE"
1841 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1846 eval "$ac_cv_use_universal"
1847 if test "$no_cache" != 1; then
1848 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1851 if test "$wxUSE_UNIVERSAL" = yes; then
1852 echo "$ac_t""yes" 1>&6
1854 echo "$ac_t""no" 1>&6
1857 # Check whether --with-gtk or --without-gtk was given.
1858 if test "${with_gtk+set}" = set; then
1860 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1863 # Check whether --with-motif or --without-motif was given.
1864 if test "${with_motif+set}" = set; then
1865 withval
="$with_motif"
1866 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1869 # Check whether --with-mac or --without-mac was given.
1870 if test "${with_mac+set}" = set; then
1872 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1875 # Check whether --with-cocoa or --without-cocoa was given.
1876 if test "${with_cocoa+set}" = set; then
1877 withval
="$with_cocoa"
1878 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1881 # Check whether --with-wine or --without-wine was given.
1882 if test "${with_wine+set}" = set; then
1883 withval
="$with_wine"
1884 wxUSE_WINE
="$withval" CACHE_WINE
=1
1887 # Check whether --with-msw or --without-msw was given.
1888 if test "${with_msw+set}" = set; then
1890 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1893 # Check whether --with-pm or --without-pm was given.
1894 if test "${with_pm+set}" = set; then
1896 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1899 # Check whether --with-mgl or --without-mgl was given.
1900 if test "${with_mgl+set}" = set; then
1902 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1905 # Check whether --with-microwin or --without-microwin was given.
1906 if test "${with_microwin+set}" = set; then
1907 withval
="$with_microwin"
1908 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1911 # Check whether --with-x11 or --without-x11 was given.
1912 if test "${with_x11+set}" = set; then
1914 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1919 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1920 echo "configure:1921: checking for --${enablestring:-enable}-nanox" >&5
1922 # Check whether --enable-nanox or --disable-nanox was given.
1923 if test "${enable_nanox+set}" = set; then
1924 enableval
="$enable_nanox"
1926 if test "$enableval" = yes; then
1927 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1929 ac_cv_use_nanox
='wxUSE_NANOX=no'
1934 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1935 if test "x$LINE" != x
; then
1936 eval "DEFAULT_$LINE"
1941 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1946 eval "$ac_cv_use_nanox"
1947 if test "$no_cache" != 1; then
1948 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1951 if test "$wxUSE_NANOX" = yes; then
1952 echo "$ac_t""yes" 1>&6
1954 echo "$ac_t""no" 1>&6
1960 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1961 echo "configure:1962: checking for --${enablestring:-enable}-gtk2" >&5
1963 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1964 if test "${enable_gtk2+set}" = set; then
1965 enableval
="$enable_gtk2"
1967 if test "$enableval" = yes; then
1968 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1970 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1975 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1976 if test "x$LINE" != x
; then
1977 eval "DEFAULT_$LINE"
1982 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1987 eval "$ac_cv_use_gtk2"
1988 if test "$no_cache" != 1; then
1989 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1992 if test "$wxUSE_GTK2" = yes; then
1993 echo "$ac_t""yes" 1>&6
1995 echo "$ac_t""no" 1>&6
2000 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2001 echo "configure:2002: checking for --with-libpng" >&5
2003 # Check whether --with-libpng or --without-libpng was given.
2004 if test "${with_libpng+set}" = set; then
2005 withval
="$with_libpng"
2007 if test "$withval" = yes; then
2008 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2009 elif test "$withval" = no
; then
2010 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2011 elif test "$withval" = sys
; then
2012 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2013 elif test "$withval" = builtin; then
2014 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2016 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2021 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2022 if test "x$LINE" != x
; then
2023 eval "DEFAULT_$LINE"
2028 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2033 eval "$ac_cv_use_libpng"
2034 if test "$no_cache" != 1; then
2035 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2038 if test "$wxUSE_LIBPNG" = yes; then
2039 echo "$ac_t""yes" 1>&6
2040 elif test "$wxUSE_LIBPNG" = no
; then
2041 echo "$ac_t""no" 1>&6
2042 elif test "$wxUSE_LIBPNG" = sys
; then
2043 echo "$ac_t""system version" 1>&6
2044 elif test "$wxUSE_LIBPNG" = builtin; then
2045 echo "$ac_t""builtin version" 1>&6
2047 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2051 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2052 echo "configure:2053: checking for --with-libjpeg" >&5
2054 # Check whether --with-libjpeg or --without-libjpeg was given.
2055 if test "${with_libjpeg+set}" = set; then
2056 withval
="$with_libjpeg"
2058 if test "$withval" = yes; then
2059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2060 elif test "$withval" = no
; then
2061 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2062 elif test "$withval" = sys
; then
2063 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2064 elif test "$withval" = builtin; then
2065 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2067 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2072 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2073 if test "x$LINE" != x
; then
2074 eval "DEFAULT_$LINE"
2079 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2084 eval "$ac_cv_use_libjpeg"
2085 if test "$no_cache" != 1; then
2086 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2089 if test "$wxUSE_LIBJPEG" = yes; then
2090 echo "$ac_t""yes" 1>&6
2091 elif test "$wxUSE_LIBJPEG" = no
; then
2092 echo "$ac_t""no" 1>&6
2093 elif test "$wxUSE_LIBJPEG" = sys
; then
2094 echo "$ac_t""system version" 1>&6
2095 elif test "$wxUSE_LIBJPEG" = builtin; then
2096 echo "$ac_t""builtin version" 1>&6
2098 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2102 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2103 echo "configure:2104: checking for --with-libtiff" >&5
2105 # Check whether --with-libtiff or --without-libtiff was given.
2106 if test "${with_libtiff+set}" = set; then
2107 withval
="$with_libtiff"
2109 if test "$withval" = yes; then
2110 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2111 elif test "$withval" = no
; then
2112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2113 elif test "$withval" = sys
; then
2114 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2115 elif test "$withval" = builtin; then
2116 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2118 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2123 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2124 if test "x$LINE" != x
; then
2125 eval "DEFAULT_$LINE"
2130 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2135 eval "$ac_cv_use_libtiff"
2136 if test "$no_cache" != 1; then
2137 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2140 if test "$wxUSE_LIBTIFF" = yes; then
2141 echo "$ac_t""yes" 1>&6
2142 elif test "$wxUSE_LIBTIFF" = no
; then
2143 echo "$ac_t""no" 1>&6
2144 elif test "$wxUSE_LIBTIFF" = sys
; then
2145 echo "$ac_t""system version" 1>&6
2146 elif test "$wxUSE_LIBTIFF" = builtin; then
2147 echo "$ac_t""builtin version" 1>&6
2149 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2153 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2154 echo "configure:2155: checking for --with-opengl" >&5
2156 # Check whether --with-opengl or --without-opengl was given.
2157 if test "${with_opengl+set}" = set; then
2158 withval
="$with_opengl"
2160 if test "$withval" = yes; then
2161 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2163 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2168 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2169 if test "x$LINE" != x
; then
2170 eval "DEFAULT_$LINE"
2175 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2180 eval "$ac_cv_use_opengl"
2181 if test "$no_cache" != 1; then
2182 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2185 if test "$wxUSE_OPENGL" = yes; then
2186 echo "$ac_t""yes" 1>&6
2188 echo "$ac_t""no" 1>&6
2195 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2196 echo "configure:2197: checking for --with-dmalloc" >&5
2198 # Check whether --with-dmalloc or --without-dmalloc was given.
2199 if test "${with_dmalloc+set}" = set; then
2200 withval
="$with_dmalloc"
2202 if test "$withval" = yes; then
2203 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2205 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2210 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2211 if test "x$LINE" != x
; then
2212 eval "DEFAULT_$LINE"
2217 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2222 eval "$ac_cv_use_dmalloc"
2223 if test "$no_cache" != 1; then
2224 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2227 if test "$wxUSE_DMALLOC" = yes; then
2228 echo "$ac_t""yes" 1>&6
2230 echo "$ac_t""no" 1>&6
2234 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2235 echo "configure:2236: checking for --with-regex" >&5
2237 # Check whether --with-regex or --without-regex was given.
2238 if test "${with_regex+set}" = set; then
2239 withval
="$with_regex"
2241 if test "$withval" = yes; then
2242 ac_cv_use_regex
='wxUSE_REGEX=yes'
2243 elif test "$withval" = no
; then
2244 ac_cv_use_regex
='wxUSE_REGEX=no'
2245 elif test "$withval" = sys
; then
2246 ac_cv_use_regex
='wxUSE_REGEX=sys'
2247 elif test "$withval" = builtin; then
2248 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2250 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2255 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2256 if test "x$LINE" != x
; then
2257 eval "DEFAULT_$LINE"
2262 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2267 eval "$ac_cv_use_regex"
2268 if test "$no_cache" != 1; then
2269 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2272 if test "$wxUSE_REGEX" = yes; then
2273 echo "$ac_t""yes" 1>&6
2274 elif test "$wxUSE_REGEX" = no
; then
2275 echo "$ac_t""no" 1>&6
2276 elif test "$wxUSE_REGEX" = sys
; then
2277 echo "$ac_t""system version" 1>&6
2278 elif test "$wxUSE_REGEX" = builtin; then
2279 echo "$ac_t""builtin version" 1>&6
2281 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2285 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2286 echo "configure:2287: checking for --with-zlib" >&5
2288 # Check whether --with-zlib or --without-zlib was given.
2289 if test "${with_zlib+set}" = set; then
2290 withval
="$with_zlib"
2292 if test "$withval" = yes; then
2293 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2294 elif test "$withval" = no
; then
2295 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2296 elif test "$withval" = sys
; then
2297 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2298 elif test "$withval" = builtin; then
2299 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2301 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2306 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2307 if test "x$LINE" != x
; then
2308 eval "DEFAULT_$LINE"
2313 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2318 eval "$ac_cv_use_zlib"
2319 if test "$no_cache" != 1; then
2320 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2323 if test "$wxUSE_ZLIB" = yes; then
2324 echo "$ac_t""yes" 1>&6
2325 elif test "$wxUSE_ZLIB" = no
; then
2326 echo "$ac_t""no" 1>&6
2327 elif test "$wxUSE_ZLIB" = sys
; then
2328 echo "$ac_t""system version" 1>&6
2329 elif test "$wxUSE_ZLIB" = builtin; then
2330 echo "$ac_t""builtin version" 1>&6
2332 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2336 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2337 echo "configure:2338: checking for --with-odbc" >&5
2339 # Check whether --with-odbc or --without-odbc was given.
2340 if test "${with_odbc+set}" = set; then
2341 withval
="$with_odbc"
2343 if test "$withval" = yes; then
2344 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2346 ac_cv_use_odbc
='wxUSE_ODBC=no'
2351 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2352 if test "x$LINE" != x
; then
2353 eval "DEFAULT_$LINE"
2358 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2363 eval "$ac_cv_use_odbc"
2364 if test "$no_cache" != 1; then
2365 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2368 if test "$wxUSE_ODBC" = yes; then
2369 echo "$ac_t""yes" 1>&6
2371 echo "$ac_t""no" 1>&6
2378 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2379 echo "configure:2380: checking for --${enablestring:-enable}-shared" >&5
2381 # Check whether --enable-shared or --disable-shared was given.
2382 if test "${enable_shared+set}" = set; then
2383 enableval
="$enable_shared"
2385 if test "$enableval" = yes; then
2386 ac_cv_use_shared
='wxUSE_SHARED=yes'
2388 ac_cv_use_shared
='wxUSE_SHARED=no'
2393 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2394 if test "x$LINE" != x
; then
2395 eval "DEFAULT_$LINE"
2400 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2405 eval "$ac_cv_use_shared"
2406 if test "$no_cache" != 1; then
2407 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2410 if test "$wxUSE_SHARED" = yes; then
2411 echo "$ac_t""yes" 1>&6
2413 echo "$ac_t""no" 1>&6
2418 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2419 echo "configure:2420: checking for --${enablestring:-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
2458 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2459 echo "configure:2460: checking for --${enablestring:-enable}-optimise" >&5
2461 # Check whether --enable-optimise or --disable-optimise was given.
2462 if test "${enable_optimise+set}" = set; then
2463 enableval
="$enable_optimise"
2465 if test "$enableval" = yes; then
2466 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2468 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2473 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x
; then
2475 eval "DEFAULT_$LINE"
2480 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2485 eval "$ac_cv_use_optimise"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2490 if test "$wxUSE_OPTIMISE" = yes; then
2491 echo "$ac_t""yes" 1>&6
2493 echo "$ac_t""no" 1>&6
2498 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2499 echo "configure:2500: checking for --${enablestring:-enable}-debug" >&5
2501 # Check whether --enable-debug or --disable-debug was given.
2502 if test "${enable_debug+set}" = set; then
2503 enableval
="$enable_debug"
2505 if test "$enableval" = yes; then
2506 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2508 ac_cv_use_debug
='wxUSE_DEBUG=no'
2513 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2514 if test "x$LINE" != x
; then
2515 eval "DEFAULT_$LINE"
2520 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2525 eval "$ac_cv_use_debug"
2526 if test "$no_cache" != 1; then
2527 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2530 if test "$wxUSE_DEBUG" = yes; then
2531 echo "$ac_t""yes" 1>&6
2533 echo "$ac_t""no" 1>&6
2539 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2540 echo "configure:2541: checking for --${enablestring:-enable}-precomp" >&5
2542 # Check whether --enable-precomp or --disable-precomp was given.
2543 if test "${enable_precomp+set}" = set; then
2544 enableval
="$enable_precomp"
2546 if test "$enableval" = yes; then
2547 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2549 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2554 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2555 if test "x$LINE" != x
; then
2556 eval "DEFAULT_$LINE"
2561 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2566 eval "$ac_cv_use_precomp"
2567 if test "$no_cache" != 1; then
2568 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2571 if test "$wxUSE_PRECOMP" = yes; then
2572 echo "$ac_t""yes" 1>&6
2574 echo "$ac_t""no" 1>&6
2578 if test "$wxUSE_DEBUG" = "yes"; then
2579 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2580 DEFAULT_wxUSE_DEBUG_INFO
=yes
2581 elif test "$wxUSE_DEBUG" = "no"; then
2582 DEFAULT_wxUSE_DEBUG_FLAG
=no
2583 DEFAULT_wxUSE_DEBUG_INFO
=no
2588 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2589 echo "configure:2590: checking for --${enablestring:-enable}-debug_flag" >&5
2591 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2592 if test "${enable_debug_flag+set}" = set; then
2593 enableval
="$enable_debug_flag"
2595 if test "$enableval" = yes; then
2596 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2598 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2603 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2604 if test "x$LINE" != x
; then
2605 eval "DEFAULT_$LINE"
2610 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2615 eval "$ac_cv_use_debug_flag"
2616 if test "$no_cache" != 1; then
2617 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2620 if test "$wxUSE_DEBUG_FLAG" = yes; then
2621 echo "$ac_t""yes" 1>&6
2623 echo "$ac_t""no" 1>&6
2628 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2629 echo "configure:2630: checking for --${enablestring:-enable}-debug_info" >&5
2631 # Check whether --enable-debug_info or --disable-debug_info was given.
2632 if test "${enable_debug_info+set}" = set; then
2633 enableval
="$enable_debug_info"
2635 if test "$enableval" = yes; then
2636 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2638 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2643 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x
; then
2645 eval "DEFAULT_$LINE"
2650 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2655 eval "$ac_cv_use_debug_info"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2660 if test "$wxUSE_DEBUG_INFO" = yes; then
2661 echo "$ac_t""yes" 1>&6
2663 echo "$ac_t""no" 1>&6
2668 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2669 echo "configure:2670: checking for --${enablestring:-enable}-debug_gdb" >&5
2671 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2672 if test "${enable_debug_gdb+set}" = set; then
2673 enableval
="$enable_debug_gdb"
2675 if test "$enableval" = yes; then
2676 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2678 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2683 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2684 if test "x$LINE" != x
; then
2685 eval "DEFAULT_$LINE"
2690 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2695 eval "$ac_cv_use_debug_gdb"
2696 if test "$no_cache" != 1; then
2697 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2700 if test "$wxUSE_DEBUG_GDB" = yes; then
2701 echo "$ac_t""yes" 1>&6
2703 echo "$ac_t""no" 1>&6
2708 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2709 echo "configure:2710: checking for --${enablestring:-enable}-debug_cntxt" >&5
2711 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2712 if test "${enable_debug_cntxt+set}" = set; then
2713 enableval
="$enable_debug_cntxt"
2715 if test "$enableval" = yes; then
2716 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2718 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2723 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x
; then
2725 eval "DEFAULT_$LINE"
2730 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2735 eval "$ac_cv_use_debug_cntxt"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2740 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2741 echo "$ac_t""yes" 1>&6
2743 echo "$ac_t""no" 1>&6
2748 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2749 echo "configure:2750: checking for --${enablestring:-enable}-mem_tracing" >&5
2751 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2752 if test "${enable_mem_tracing+set}" = set; then
2753 enableval
="$enable_mem_tracing"
2755 if test "$enableval" = yes; then
2756 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2758 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2763 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2764 if test "x$LINE" != x
; then
2765 eval "DEFAULT_$LINE"
2770 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2775 eval "$ac_cv_use_mem_tracing"
2776 if test "$no_cache" != 1; then
2777 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2780 if test "$wxUSE_MEM_TRACING" = yes; then
2781 echo "$ac_t""yes" 1>&6
2783 echo "$ac_t""no" 1>&6
2788 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2789 echo "configure:2790: checking for --${enablestring:-enable}-profile" >&5
2791 # Check whether --enable-profile or --disable-profile was given.
2792 if test "${enable_profile+set}" = set; then
2793 enableval
="$enable_profile"
2795 if test "$enableval" = yes; then
2796 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2798 ac_cv_use_profile
='wxUSE_PROFILE=no'
2803 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2804 if test "x$LINE" != x
; then
2805 eval "DEFAULT_$LINE"
2810 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2815 eval "$ac_cv_use_profile"
2816 if test "$no_cache" != 1; then
2817 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2820 if test "$wxUSE_PROFILE" = yes; then
2821 echo "$ac_t""yes" 1>&6
2823 echo "$ac_t""no" 1>&6
2828 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2829 echo "configure:2830: checking for --${enablestring:-enable}-no_rtti" >&5
2831 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2832 if test "${enable_no_rtti+set}" = set; then
2833 enableval
="$enable_no_rtti"
2835 if test "$enableval" = yes; then
2836 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2838 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2843 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x
; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2855 eval "$ac_cv_use_no_rtti"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_NO_RTTI" = yes; then
2861 echo "$ac_t""yes" 1>&6
2863 echo "$ac_t""no" 1>&6
2868 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2869 echo "configure:2870: checking for --${enablestring:-enable}-no_exceptions" >&5
2871 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2872 if test "${enable_no_exceptions+set}" = set; then
2873 enableval
="$enable_no_exceptions"
2875 if test "$enableval" = yes; then
2876 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2878 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2883 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2884 if test "x$LINE" != x
; then
2885 eval "DEFAULT_$LINE"
2890 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2895 eval "$ac_cv_use_no_exceptions"
2896 if test "$no_cache" != 1; then
2897 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2900 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2901 echo "$ac_t""yes" 1>&6
2903 echo "$ac_t""no" 1>&6
2908 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2909 echo "configure:2910: checking for --${enablestring:-enable}-permissive" >&5
2911 # Check whether --enable-permissive or --disable-permissive was given.
2912 if test "${enable_permissive+set}" = set; then
2913 enableval
="$enable_permissive"
2915 if test "$enableval" = yes; then
2916 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2918 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2923 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2924 if test "x$LINE" != x
; then
2925 eval "DEFAULT_$LINE"
2930 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2935 eval "$ac_cv_use_permissive"
2936 if test "$no_cache" != 1; then
2937 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2940 if test "$wxUSE_PERMISSIVE" = yes; then
2941 echo "$ac_t""yes" 1>&6
2943 echo "$ac_t""no" 1>&6
2948 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2949 echo "configure:2950: checking for --${enablestring:-enable}-no_deps" >&5
2951 # Check whether --enable-no_deps or --disable-no_deps was given.
2952 if test "${enable_no_deps+set}" = set; then
2953 enableval
="$enable_no_deps"
2955 if test "$enableval" = yes; then
2956 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2958 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2963 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2964 if test "x$LINE" != x
; then
2965 eval "DEFAULT_$LINE"
2970 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2975 eval "$ac_cv_use_no_deps"
2976 if test "$no_cache" != 1; then
2977 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2980 if test "$wxUSE_NO_DEPS" = yes; then
2981 echo "$ac_t""yes" 1>&6
2983 echo "$ac_t""no" 1>&6
2989 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2990 echo "configure:2991: checking for --${enablestring:-enable}-compat20" >&5
2992 # Check whether --enable-compat20 or --disable-compat20 was given.
2993 if test "${enable_compat20+set}" = set; then
2994 enableval
="$enable_compat20"
2996 if test "$enableval" = yes; then
2997 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2999 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3004 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3005 if test "x$LINE" != x
; then
3006 eval "DEFAULT_$LINE"
3011 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3016 eval "$ac_cv_use_compat20"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3021 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3022 echo "$ac_t""yes" 1>&6
3024 echo "$ac_t""no" 1>&6
3029 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3030 echo "configure:3031: checking for --${enablestring:-enable}-compat22" >&5
3032 # Check whether --enable-compat22 or --disable-compat22 was given.
3033 if test "${enable_compat22+set}" = set; then
3034 enableval
="$enable_compat22"
3036 if test "$enableval" = yes; then
3037 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3039 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3044 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x
; then
3046 eval "DEFAULT_$LINE"
3051 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3056 eval "$ac_cv_use_compat22"
3057 if test "$no_cache" != 1; then
3058 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3061 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3062 echo "$ac_t""yes" 1>&6
3064 echo "$ac_t""no" 1>&6
3068 enablestring
=disable
3069 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3070 echo "configure:3071: checking for --${enablestring:-enable}-compat24" >&5
3072 # Check whether --enable-compat24 or --disable-compat24 was given.
3073 if test "${enable_compat24+set}" = set; then
3074 enableval
="$enable_compat24"
3076 if test "$enableval" = yes; then
3077 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3079 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3084 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3085 if test "x$LINE" != x
; then
3086 eval "DEFAULT_$LINE"
3091 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3096 eval "$ac_cv_use_compat24"
3097 if test "$no_cache" != 1; then
3098 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3101 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3102 echo "$ac_t""yes" 1>&6
3104 echo "$ac_t""no" 1>&6
3108 # Check whether --enable-rpath or --disable-rpath was given.
3109 if test "${enable_rpath+set}" = set; then
3110 enableval
="$enable_rpath"
3111 wxRPATH_DIR
="$enableval"
3115 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3116 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3123 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3124 echo "configure:3125: checking for --${enablestring:-enable}-intl" >&5
3126 # Check whether --enable-intl or --disable-intl was given.
3127 if test "${enable_intl+set}" = set; then
3128 enableval
="$enable_intl"
3130 if test "$enableval" = yes; then
3131 ac_cv_use_intl
='wxUSE_INTL=yes'
3133 ac_cv_use_intl
='wxUSE_INTL=no'
3138 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3150 eval "$ac_cv_use_intl"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_INTL" = yes; then
3156 echo "$ac_t""yes" 1>&6
3158 echo "$ac_t""no" 1>&6
3163 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3164 echo "configure:3165: checking for --${enablestring:-enable}-config" >&5
3166 # Check whether --enable-config or --disable-config was given.
3167 if test "${enable_config+set}" = set; then
3168 enableval
="$enable_config"
3170 if test "$enableval" = yes; then
3171 ac_cv_use_config
='wxUSE_CONFIG=yes'
3173 ac_cv_use_config
='wxUSE_CONFIG=no'
3178 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3179 if test "x$LINE" != x
; then
3180 eval "DEFAULT_$LINE"
3185 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3190 eval "$ac_cv_use_config"
3191 if test "$no_cache" != 1; then
3192 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3195 if test "$wxUSE_CONFIG" = yes; then
3196 echo "$ac_t""yes" 1>&6
3198 echo "$ac_t""no" 1>&6
3204 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3205 echo "configure:3206: checking for --${enablestring:-enable}-protocols" >&5
3207 # Check whether --enable-protocols or --disable-protocols was given.
3208 if test "${enable_protocols+set}" = set; then
3209 enableval
="$enable_protocols"
3211 if test "$enableval" = yes; then
3212 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3214 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3219 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3220 if test "x$LINE" != x
; then
3221 eval "DEFAULT_$LINE"
3226 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3231 eval "$ac_cv_use_protocols"
3232 if test "$no_cache" != 1; then
3233 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3236 if test "$wxUSE_PROTOCOL" = yes; then
3237 echo "$ac_t""yes" 1>&6
3239 echo "$ac_t""no" 1>&6
3244 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3245 echo "configure:3246: checking for --${enablestring:-enable}-ftp" >&5
3247 # Check whether --enable-ftp or --disable-ftp was given.
3248 if test "${enable_ftp+set}" = set; then
3249 enableval
="$enable_ftp"
3251 if test "$enableval" = yes; then
3252 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3254 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3259 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3260 if test "x$LINE" != x
; then
3261 eval "DEFAULT_$LINE"
3266 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3271 eval "$ac_cv_use_ftp"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3276 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3277 echo "$ac_t""yes" 1>&6
3279 echo "$ac_t""no" 1>&6
3284 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3285 echo "configure:3286: checking for --${enablestring:-enable}-http" >&5
3287 # Check whether --enable-http or --disable-http was given.
3288 if test "${enable_http+set}" = set; then
3289 enableval
="$enable_http"
3291 if test "$enableval" = yes; then
3292 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3294 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3299 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x
; then
3301 eval "DEFAULT_$LINE"
3306 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3311 eval "$ac_cv_use_http"
3312 if test "$no_cache" != 1; then
3313 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3316 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3317 echo "$ac_t""yes" 1>&6
3319 echo "$ac_t""no" 1>&6
3324 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3325 echo "configure:3326: checking for --${enablestring:-enable}-fileproto" >&5
3327 # Check whether --enable-fileproto or --disable-fileproto was given.
3328 if test "${enable_fileproto+set}" = set; then
3329 enableval
="$enable_fileproto"
3331 if test "$enableval" = yes; then
3332 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3334 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3339 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3340 if test "x$LINE" != x
; then
3341 eval "DEFAULT_$LINE"
3346 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3351 eval "$ac_cv_use_fileproto"
3352 if test "$no_cache" != 1; then
3353 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3356 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3357 echo "$ac_t""yes" 1>&6
3359 echo "$ac_t""no" 1>&6
3364 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3365 echo "configure:3366: checking for --${enablestring:-enable}-sockets" >&5
3367 # Check whether --enable-sockets or --disable-sockets was given.
3368 if test "${enable_sockets+set}" = set; then
3369 enableval
="$enable_sockets"
3371 if test "$enableval" = yes; then
3372 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3374 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3379 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3380 if test "x$LINE" != x
; then
3381 eval "DEFAULT_$LINE"
3386 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3391 eval "$ac_cv_use_sockets"
3392 if test "$no_cache" != 1; then
3393 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3396 if test "$wxUSE_SOCKETS" = yes; then
3397 echo "$ac_t""yes" 1>&6
3399 echo "$ac_t""no" 1>&6
3404 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3405 echo "configure:3406: checking for --${enablestring:-enable}-ole" >&5
3407 # Check whether --enable-ole or --disable-ole was given.
3408 if test "${enable_ole+set}" = set; then
3409 enableval
="$enable_ole"
3411 if test "$enableval" = yes; then
3412 ac_cv_use_ole
='wxUSE_OLE=yes'
3414 ac_cv_use_ole
='wxUSE_OLE=no'
3419 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3420 if test "x$LINE" != x
; then
3421 eval "DEFAULT_$LINE"
3426 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3431 eval "$ac_cv_use_ole"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3436 if test "$wxUSE_OLE" = yes; then
3437 echo "$ac_t""yes" 1>&6
3439 echo "$ac_t""no" 1>&6
3444 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3445 echo "configure:3446: checking for --${enablestring:-enable}-dataobj" >&5
3447 # Check whether --enable-dataobj or --disable-dataobj was given.
3448 if test "${enable_dataobj+set}" = set; then
3449 enableval
="$enable_dataobj"
3451 if test "$enableval" = yes; then
3452 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3454 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3459 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3471 eval "$ac_cv_use_dataobj"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_DATAOBJ" = yes; then
3477 echo "$ac_t""yes" 1>&6
3479 echo "$ac_t""no" 1>&6
3485 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3486 echo "configure:3487: checking for --${enablestring:-enable}-ipc" >&5
3488 # Check whether --enable-ipc or --disable-ipc was given.
3489 if test "${enable_ipc+set}" = set; then
3490 enableval
="$enable_ipc"
3492 if test "$enableval" = yes; then
3493 ac_cv_use_ipc
='wxUSE_IPC=yes'
3495 ac_cv_use_ipc
='wxUSE_IPC=no'
3500 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3501 if test "x$LINE" != x
; then
3502 eval "DEFAULT_$LINE"
3507 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3512 eval "$ac_cv_use_ipc"
3513 if test "$no_cache" != 1; then
3514 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3517 if test "$wxUSE_IPC" = yes; then
3518 echo "$ac_t""yes" 1>&6
3520 echo "$ac_t""no" 1>&6
3526 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3527 echo "configure:3528: checking for --${enablestring:-enable}-cmdline" >&5
3529 # Check whether --enable-cmdline or --disable-cmdline was given.
3530 if test "${enable_cmdline+set}" = set; then
3531 enableval
="$enable_cmdline"
3533 if test "$enableval" = yes; then
3534 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3536 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3541 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3542 if test "x$LINE" != x
; then
3543 eval "DEFAULT_$LINE"
3548 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3553 eval "$ac_cv_use_cmdline"
3554 if test "$no_cache" != 1; then
3555 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3558 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3559 echo "$ac_t""yes" 1>&6
3561 echo "$ac_t""no" 1>&6
3566 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3567 echo "configure:3568: checking for --${enablestring:-enable}-datetime" >&5
3569 # Check whether --enable-datetime or --disable-datetime was given.
3570 if test "${enable_datetime+set}" = set; then
3571 enableval
="$enable_datetime"
3573 if test "$enableval" = yes; then
3574 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3576 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3581 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x
; then
3583 eval "DEFAULT_$LINE"
3588 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3593 eval "$ac_cv_use_datetime"
3594 if test "$no_cache" != 1; then
3595 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3598 if test "$wxUSE_DATETIME" = yes; then
3599 echo "$ac_t""yes" 1>&6
3601 echo "$ac_t""no" 1>&6
3606 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3607 echo "configure:3608: checking for --${enablestring:-enable}-stopwatch" >&5
3609 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3610 if test "${enable_stopwatch+set}" = set; then
3611 enableval
="$enable_stopwatch"
3613 if test "$enableval" = yes; then
3614 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3616 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3621 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3622 if test "x$LINE" != x
; then
3623 eval "DEFAULT_$LINE"
3628 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3633 eval "$ac_cv_use_stopwatch"
3634 if test "$no_cache" != 1; then
3635 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3638 if test "$wxUSE_STOPWATCH" = yes; then
3639 echo "$ac_t""yes" 1>&6
3641 echo "$ac_t""no" 1>&6
3646 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3647 echo "configure:3648: checking for --${enablestring:-enable}-dialupman" >&5
3649 # Check whether --enable-dialupman or --disable-dialupman was given.
3650 if test "${enable_dialupman+set}" = set; then
3651 enableval
="$enable_dialupman"
3653 if test "$enableval" = yes; then
3654 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3656 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3661 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x
; then
3663 eval "DEFAULT_$LINE"
3668 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3673 eval "$ac_cv_use_dialupman"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3678 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3679 echo "$ac_t""yes" 1>&6
3681 echo "$ac_t""no" 1>&6
3686 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3687 echo "configure:3688: checking for --${enablestring:-enable}-apple_ieee" >&5
3689 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3690 if test "${enable_apple_ieee+set}" = set; then
3691 enableval
="$enable_apple_ieee"
3693 if test "$enableval" = yes; then
3694 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3696 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3701 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x
; then
3703 eval "DEFAULT_$LINE"
3708 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3713 eval "$ac_cv_use_apple_ieee"
3714 if test "$no_cache" != 1; then
3715 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3718 if test "$wxUSE_APPLE_IEEE" = yes; then
3719 echo "$ac_t""yes" 1>&6
3721 echo "$ac_t""no" 1>&6
3726 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3727 echo "configure:3728: checking for --${enablestring:-enable}-timer" >&5
3729 # Check whether --enable-timer or --disable-timer was given.
3730 if test "${enable_timer+set}" = set; then
3731 enableval
="$enable_timer"
3733 if test "$enableval" = yes; then
3734 ac_cv_use_timer
='wxUSE_TIMER=yes'
3736 ac_cv_use_timer
='wxUSE_TIMER=no'
3741 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3742 if test "x$LINE" != x
; then
3743 eval "DEFAULT_$LINE"
3748 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3753 eval "$ac_cv_use_timer"
3754 if test "$no_cache" != 1; then
3755 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3758 if test "$wxUSE_TIMER" = yes; then
3759 echo "$ac_t""yes" 1>&6
3761 echo "$ac_t""no" 1>&6
3766 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3767 echo "configure:3768: checking for --${enablestring:-enable}-wave" >&5
3769 # Check whether --enable-wave or --disable-wave was given.
3770 if test "${enable_wave+set}" = set; then
3771 enableval
="$enable_wave"
3773 if test "$enableval" = yes; then
3774 ac_cv_use_wave
='wxUSE_WAVE=yes'
3776 ac_cv_use_wave
='wxUSE_WAVE=no'
3781 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x
; then
3783 eval "DEFAULT_$LINE"
3788 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3793 eval "$ac_cv_use_wave"
3794 if test "$no_cache" != 1; then
3795 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3798 if test "$wxUSE_WAVE" = yes; then
3799 echo "$ac_t""yes" 1>&6
3801 echo "$ac_t""no" 1>&6
3806 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3807 echo "configure:3808: checking for --${enablestring:-enable}-fraction" >&5
3809 # Check whether --enable-fraction or --disable-fraction was given.
3810 if test "${enable_fraction+set}" = set; then
3811 enableval
="$enable_fraction"
3813 if test "$enableval" = yes; then
3814 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3816 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3821 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3822 if test "x$LINE" != x
; then
3823 eval "DEFAULT_$LINE"
3828 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3833 eval "$ac_cv_use_fraction"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3838 if test "$wxUSE_FRACTION" = yes; then
3839 echo "$ac_t""yes" 1>&6
3841 echo "$ac_t""no" 1>&6
3846 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3847 echo "configure:3848: checking for --${enablestring:-enable}-dynlib" >&5
3849 # Check whether --enable-dynlib or --disable-dynlib was given.
3850 if test "${enable_dynlib+set}" = set; then
3851 enableval
="$enable_dynlib"
3853 if test "$enableval" = yes; then
3854 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3856 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3861 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3862 if test "x$LINE" != x
; then
3863 eval "DEFAULT_$LINE"
3868 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3873 eval "$ac_cv_use_dynlib"
3874 if test "$no_cache" != 1; then
3875 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3878 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3879 echo "$ac_t""yes" 1>&6
3881 echo "$ac_t""no" 1>&6
3886 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3887 echo "configure:3888: checking for --${enablestring:-enable}-dynamicloader" >&5
3889 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3890 if test "${enable_dynamicloader+set}" = set; then
3891 enableval
="$enable_dynamicloader"
3893 if test "$enableval" = yes; then
3894 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3896 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3901 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x
; then
3903 eval "DEFAULT_$LINE"
3908 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3913 eval "$ac_cv_use_dynamicloader"
3914 if test "$no_cache" != 1; then
3915 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3918 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3919 echo "$ac_t""yes" 1>&6
3921 echo "$ac_t""no" 1>&6
3926 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3927 echo "configure:3928: checking for --${enablestring:-enable}-longlong" >&5
3929 # Check whether --enable-longlong or --disable-longlong was given.
3930 if test "${enable_longlong+set}" = set; then
3931 enableval
="$enable_longlong"
3933 if test "$enableval" = yes; then
3934 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3936 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3941 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3942 if test "x$LINE" != x
; then
3943 eval "DEFAULT_$LINE"
3948 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3953 eval "$ac_cv_use_longlong"
3954 if test "$no_cache" != 1; then
3955 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3958 if test "$wxUSE_LONGLONG" = yes; then
3959 echo "$ac_t""yes" 1>&6
3961 echo "$ac_t""no" 1>&6
3966 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3967 echo "configure:3968: checking for --${enablestring:-enable}-geometry" >&5
3969 # Check whether --enable-geometry or --disable-geometry was given.
3970 if test "${enable_geometry+set}" = set; then
3971 enableval
="$enable_geometry"
3973 if test "$enableval" = yes; then
3974 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3976 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3981 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x
; then
3983 eval "DEFAULT_$LINE"
3988 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3993 eval "$ac_cv_use_geometry"
3994 if test "$no_cache" != 1; then
3995 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3998 if test "$wxUSE_GEOMETRY" = yes; then
3999 echo "$ac_t""yes" 1>&6
4001 echo "$ac_t""no" 1>&6
4006 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4007 echo "configure:4008: checking for --${enablestring:-enable}-log" >&5
4009 # Check whether --enable-log or --disable-log was given.
4010 if test "${enable_log+set}" = set; then
4011 enableval
="$enable_log"
4013 if test "$enableval" = yes; then
4014 ac_cv_use_log
='wxUSE_LOG=yes'
4016 ac_cv_use_log
='wxUSE_LOG=no'
4021 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4022 if test "x$LINE" != x
; then
4023 eval "DEFAULT_$LINE"
4028 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4033 eval "$ac_cv_use_log"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4038 if test "$wxUSE_LOG" = yes; then
4039 echo "$ac_t""yes" 1>&6
4041 echo "$ac_t""no" 1>&6
4046 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4047 echo "configure:4048: checking for --${enablestring:-enable}-streams" >&5
4049 # Check whether --enable-streams or --disable-streams was given.
4050 if test "${enable_streams+set}" = set; then
4051 enableval
="$enable_streams"
4053 if test "$enableval" = yes; then
4054 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4056 ac_cv_use_streams
='wxUSE_STREAMS=no'
4061 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4062 if test "x$LINE" != x
; then
4063 eval "DEFAULT_$LINE"
4068 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4073 eval "$ac_cv_use_streams"
4074 if test "$no_cache" != 1; then
4075 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4078 if test "$wxUSE_STREAMS" = yes; then
4079 echo "$ac_t""yes" 1>&6
4081 echo "$ac_t""no" 1>&6
4086 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4087 echo "configure:4088: checking for --${enablestring:-enable}-file" >&5
4089 # Check whether --enable-file or --disable-file was given.
4090 if test "${enable_file+set}" = set; then
4091 enableval
="$enable_file"
4093 if test "$enableval" = yes; then
4094 ac_cv_use_file
='wxUSE_FILE=yes'
4096 ac_cv_use_file
='wxUSE_FILE=no'
4101 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x
; then
4103 eval "DEFAULT_$LINE"
4108 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4113 eval "$ac_cv_use_file"
4114 if test "$no_cache" != 1; then
4115 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4118 if test "$wxUSE_FILE" = yes; then
4119 echo "$ac_t""yes" 1>&6
4121 echo "$ac_t""no" 1>&6
4126 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4127 echo "configure:4128: checking for --${enablestring:-enable}-ffile" >&5
4129 # Check whether --enable-ffile or --disable-ffile was given.
4130 if test "${enable_ffile+set}" = set; then
4131 enableval
="$enable_ffile"
4133 if test "$enableval" = yes; then
4134 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4136 ac_cv_use_ffile
='wxUSE_FFILE=no'
4141 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4142 if test "x$LINE" != x
; then
4143 eval "DEFAULT_$LINE"
4148 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4153 eval "$ac_cv_use_ffile"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4158 if test "$wxUSE_FFILE" = yes; then
4159 echo "$ac_t""yes" 1>&6
4161 echo "$ac_t""no" 1>&6
4166 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4167 echo "configure:4168: checking for --${enablestring:-enable}-textbuf" >&5
4169 # Check whether --enable-textbuf or --disable-textbuf was given.
4170 if test "${enable_textbuf+set}" = set; then
4171 enableval
="$enable_textbuf"
4173 if test "$enableval" = yes; then
4174 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4176 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4181 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x
; then
4183 eval "DEFAULT_$LINE"
4188 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4193 eval "$ac_cv_use_textbuf"
4194 if test "$no_cache" != 1; then
4195 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4198 if test "$wxUSE_TEXTBUFFER" = yes; then
4199 echo "$ac_t""yes" 1>&6
4201 echo "$ac_t""no" 1>&6
4206 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4207 echo "configure:4208: checking for --${enablestring:-enable}-textfile" >&5
4209 # Check whether --enable-textfile or --disable-textfile was given.
4210 if test "${enable_textfile+set}" = set; then
4211 enableval
="$enable_textfile"
4213 if test "$enableval" = yes; then
4214 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4216 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4221 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x
; then
4223 eval "DEFAULT_$LINE"
4228 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4233 eval "$ac_cv_use_textfile"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_TEXTFILE" = yes; then
4239 echo "$ac_t""yes" 1>&6
4241 echo "$ac_t""no" 1>&6
4246 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4247 echo "configure:4248: checking for --${enablestring:-enable}-fontmap" >&5
4249 # Check whether --enable-fontmap or --disable-fontmap was given.
4250 if test "${enable_fontmap+set}" = set; then
4251 enableval
="$enable_fontmap"
4253 if test "$enableval" = yes; then
4254 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4256 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4261 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4262 if test "x$LINE" != x
; then
4263 eval "DEFAULT_$LINE"
4268 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4273 eval "$ac_cv_use_fontmap"
4274 if test "$no_cache" != 1; then
4275 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4278 if test "$wxUSE_FONTMAP" = yes; then
4279 echo "$ac_t""yes" 1>&6
4281 echo "$ac_t""no" 1>&6
4286 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4287 echo "configure:4288: checking for --${enablestring:-enable}-unicode" >&5
4289 # Check whether --enable-unicode or --disable-unicode was given.
4290 if test "${enable_unicode+set}" = set; then
4291 enableval
="$enable_unicode"
4293 if test "$enableval" = yes; then
4294 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4296 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4301 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4302 if test "x$LINE" != x
; then
4303 eval "DEFAULT_$LINE"
4308 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4313 eval "$ac_cv_use_unicode"
4314 if test "$no_cache" != 1; then
4315 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4318 if test "$wxUSE_UNICODE" = yes; then
4319 echo "$ac_t""yes" 1>&6
4321 echo "$ac_t""no" 1>&6
4326 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4327 echo "configure:4328: checking for --${enablestring:-enable}-mslu" >&5
4329 # Check whether --enable-mslu or --disable-mslu was given.
4330 if test "${enable_mslu+set}" = set; then
4331 enableval
="$enable_mslu"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4336 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4341 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4353 eval "$ac_cv_use_mslu"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_UNICODE_MSLU" = yes; then
4359 echo "$ac_t""yes" 1>&6
4361 echo "$ac_t""no" 1>&6
4366 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4367 echo "configure:4368: checking for --${enablestring:-enable}-wxprintfv" >&5
4369 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4370 if test "${enable_wxprintfv+set}" = set; then
4371 enableval
="$enable_wxprintfv"
4373 if test "$enableval" = yes; then
4374 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4376 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4381 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4382 if test "x$LINE" != x
; then
4383 eval "DEFAULT_$LINE"
4388 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4393 eval "$ac_cv_use_wxprintfv"
4394 if test "$no_cache" != 1; then
4395 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4398 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4399 echo "$ac_t""yes" 1>&6
4401 echo "$ac_t""no" 1>&6
4406 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4407 echo "configure:4408: checking for --${enablestring:-enable}-std_iostreams" >&5
4409 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4410 if test "${enable_std_iostreams+set}" = set; then
4411 enableval
="$enable_std_iostreams"
4413 if test "$enableval" = yes; then
4414 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4416 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4421 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4422 if test "x$LINE" != x
; then
4423 eval "DEFAULT_$LINE"
4428 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4433 eval "$ac_cv_use_std_iostreams"
4434 if test "$no_cache" != 1; then
4435 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4438 if test "$wxUSE_STD_IOSTREAM" = yes; then
4439 echo "$ac_t""yes" 1>&6
4441 echo "$ac_t""no" 1>&6
4446 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4447 echo "configure:4448: checking for --${enablestring:-enable}-filesystem" >&5
4449 # Check whether --enable-filesystem or --disable-filesystem was given.
4450 if test "${enable_filesystem+set}" = set; then
4451 enableval
="$enable_filesystem"
4453 if test "$enableval" = yes; then
4454 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4456 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4461 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4462 if test "x$LINE" != x
; then
4463 eval "DEFAULT_$LINE"
4468 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4473 eval "$ac_cv_use_filesystem"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4478 if test "$wxUSE_FILESYSTEM" = yes; then
4479 echo "$ac_t""yes" 1>&6
4481 echo "$ac_t""no" 1>&6
4486 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4487 echo "configure:4488: checking for --${enablestring:-enable}-fs_inet" >&5
4489 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4490 if test "${enable_fs_inet+set}" = set; then
4491 enableval
="$enable_fs_inet"
4493 if test "$enableval" = yes; then
4494 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4496 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4501 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4502 if test "x$LINE" != x
; then
4503 eval "DEFAULT_$LINE"
4508 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4513 eval "$ac_cv_use_fs_inet"
4514 if test "$no_cache" != 1; then
4515 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4518 if test "$wxUSE_FS_INET" = yes; then
4519 echo "$ac_t""yes" 1>&6
4521 echo "$ac_t""no" 1>&6
4526 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4527 echo "configure:4528: checking for --${enablestring:-enable}-fs_zip" >&5
4529 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4530 if test "${enable_fs_zip+set}" = set; then
4531 enableval
="$enable_fs_zip"
4533 if test "$enableval" = yes; then
4534 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4536 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4541 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4542 if test "x$LINE" != x
; then
4543 eval "DEFAULT_$LINE"
4548 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4553 eval "$ac_cv_use_fs_zip"
4554 if test "$no_cache" != 1; then
4555 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4558 if test "$wxUSE_FS_ZIP" = yes; then
4559 echo "$ac_t""yes" 1>&6
4561 echo "$ac_t""no" 1>&6
4566 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4567 echo "configure:4568: checking for --${enablestring:-enable}-zipstream" >&5
4569 # Check whether --enable-zipstream or --disable-zipstream was given.
4570 if test "${enable_zipstream+set}" = set; then
4571 enableval
="$enable_zipstream"
4573 if test "$enableval" = yes; then
4574 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4576 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4581 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4582 if test "x$LINE" != x
; then
4583 eval "DEFAULT_$LINE"
4588 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4593 eval "$ac_cv_use_zipstream"
4594 if test "$no_cache" != 1; then
4595 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4598 if test "$wxUSE_ZIPSTREAM" = yes; then
4599 echo "$ac_t""yes" 1>&6
4601 echo "$ac_t""no" 1>&6
4607 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4608 echo "configure:4609: checking for --${enablestring:-enable}-catch_segvs" >&5
4610 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4611 if test "${enable_catch_segvs+set}" = set; then
4612 enableval
="$enable_catch_segvs"
4614 if test "$enableval" = yes; then
4615 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4617 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4622 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4623 if test "x$LINE" != x
; then
4624 eval "DEFAULT_$LINE"
4629 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4634 eval "$ac_cv_use_catch_segvs"
4635 if test "$no_cache" != 1; then
4636 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4639 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4640 echo "$ac_t""yes" 1>&6
4642 echo "$ac_t""no" 1>&6
4647 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4648 echo "configure:4649: checking for --${enablestring:-enable}-snglinst" >&5
4650 # Check whether --enable-snglinst or --disable-snglinst was given.
4651 if test "${enable_snglinst+set}" = set; then
4652 enableval
="$enable_snglinst"
4654 if test "$enableval" = yes; then
4655 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4657 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4662 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4663 if test "x$LINE" != x
; then
4664 eval "DEFAULT_$LINE"
4669 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4674 eval "$ac_cv_use_snglinst"
4675 if test "$no_cache" != 1; then
4676 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4679 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4680 echo "$ac_t""yes" 1>&6
4682 echo "$ac_t""no" 1>&6
4688 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4689 echo "configure:4690: checking for --${enablestring:-enable}-mimetype" >&5
4691 # Check whether --enable-mimetype or --disable-mimetype was given.
4692 if test "${enable_mimetype+set}" = set; then
4693 enableval
="$enable_mimetype"
4695 if test "$enableval" = yes; then
4696 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4698 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4703 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4704 if test "x$LINE" != x
; then
4705 eval "DEFAULT_$LINE"
4710 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4715 eval "$ac_cv_use_mimetype"
4716 if test "$no_cache" != 1; then
4717 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4720 if test "$wxUSE_MIMETYPE" = yes; then
4721 echo "$ac_t""yes" 1>&6
4723 echo "$ac_t""no" 1>&6
4728 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4729 echo "configure:4730: checking for --${enablestring:-enable}-system_options" >&5
4731 # Check whether --enable-system_options or --disable-system_options was given.
4732 if test "${enable_system_options+set}" = set; then
4733 enableval
="$enable_system_options"
4735 if test "$enableval" = yes; then
4736 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4738 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4743 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4744 if test "x$LINE" != x
; then
4745 eval "DEFAULT_$LINE"
4750 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4755 eval "$ac_cv_use_system_options"
4756 if test "$no_cache" != 1; then
4757 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4760 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4761 echo "$ac_t""yes" 1>&6
4763 echo "$ac_t""no" 1>&6
4769 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4770 echo "configure:4771: checking for --${enablestring:-enable}-url" >&5
4772 # Check whether --enable-url or --disable-url was given.
4773 if test "${enable_url+set}" = set; then
4774 enableval
="$enable_url"
4776 if test "$enableval" = yes; then
4777 ac_cv_use_url
='wxUSE_URL=yes'
4779 ac_cv_use_url
='wxUSE_URL=no'
4784 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4785 if test "x$LINE" != x
; then
4786 eval "DEFAULT_$LINE"
4791 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4796 eval "$ac_cv_use_url"
4797 if test "$no_cache" != 1; then
4798 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4801 if test "$wxUSE_URL" = yes; then
4802 echo "$ac_t""yes" 1>&6
4804 echo "$ac_t""no" 1>&6
4809 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4810 echo "configure:4811: checking for --${enablestring:-enable}-protocol" >&5
4812 # Check whether --enable-protocol or --disable-protocol was given.
4813 if test "${enable_protocol+set}" = set; then
4814 enableval
="$enable_protocol"
4816 if test "$enableval" = yes; then
4817 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4819 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4824 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4825 if test "x$LINE" != x
; then
4826 eval "DEFAULT_$LINE"
4831 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4836 eval "$ac_cv_use_protocol"
4837 if test "$no_cache" != 1; then
4838 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4841 if test "$wxUSE_PROTOCOL" = yes; then
4842 echo "$ac_t""yes" 1>&6
4844 echo "$ac_t""no" 1>&6
4849 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4850 echo "configure:4851: checking for --${enablestring:-enable}-protocol_http" >&5
4852 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4853 if test "${enable_protocol_http+set}" = set; then
4854 enableval
="$enable_protocol_http"
4856 if test "$enableval" = yes; then
4857 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4859 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4864 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4865 if test "x$LINE" != x
; then
4866 eval "DEFAULT_$LINE"
4871 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4876 eval "$ac_cv_use_protocol_http"
4877 if test "$no_cache" != 1; then
4878 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4881 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4882 echo "$ac_t""yes" 1>&6
4884 echo "$ac_t""no" 1>&6
4889 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4890 echo "configure:4891: checking for --${enablestring:-enable}-protocol_ftp" >&5
4892 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4893 if test "${enable_protocol_ftp+set}" = set; then
4894 enableval
="$enable_protocol_ftp"
4896 if test "$enableval" = yes; then
4897 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4899 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4904 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4916 eval "$ac_cv_use_protocol_ftp"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4922 echo "$ac_t""yes" 1>&6
4924 echo "$ac_t""no" 1>&6
4929 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4930 echo "configure:4931: checking for --${enablestring:-enable}-protocol_file" >&5
4932 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4933 if test "${enable_protocol_file+set}" = set; then
4934 enableval
="$enable_protocol_file"
4936 if test "$enableval" = yes; then
4937 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4939 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4944 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4945 if test "x$LINE" != x
; then
4946 eval "DEFAULT_$LINE"
4951 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4956 eval "$ac_cv_use_protocol_file"
4957 if test "$no_cache" != 1; then
4958 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4961 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4962 echo "$ac_t""yes" 1>&6
4964 echo "$ac_t""no" 1>&6
4972 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4973 echo "configure:4974: checking for --${enablestring:-enable}-threads" >&5
4975 # Check whether --enable-threads or --disable-threads was given.
4976 if test "${enable_threads+set}" = set; then
4977 enableval
="$enable_threads"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_threads
='wxUSE_THREADS=yes'
4982 ac_cv_use_threads
='wxUSE_THREADS=no'
4987 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x
; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4999 eval "$ac_cv_use_threads"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_THREADS" = yes; then
5005 echo "$ac_t""yes" 1>&6
5007 echo "$ac_t""no" 1>&6
5011 if test "$wxUSE_GUI" = "yes"; then
5016 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5017 echo "configure:5018: checking for --${enablestring:-enable}-docview" >&5
5019 # Check whether --enable-docview or --disable-docview was given.
5020 if test "${enable_docview+set}" = set; then
5021 enableval
="$enable_docview"
5023 if test "$enableval" = yes; then
5024 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5026 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5031 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5032 if test "x$LINE" != x
; then
5033 eval "DEFAULT_$LINE"
5038 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5043 eval "$ac_cv_use_docview"
5044 if test "$no_cache" != 1; then
5045 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5048 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5049 echo "$ac_t""yes" 1>&6
5051 echo "$ac_t""no" 1>&6
5056 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5057 echo "configure:5058: checking for --${enablestring:-enable}-help" >&5
5059 # Check whether --enable-help or --disable-help was given.
5060 if test "${enable_help+set}" = set; then
5061 enableval
="$enable_help"
5063 if test "$enableval" = yes; then
5064 ac_cv_use_help
='wxUSE_HELP=yes'
5066 ac_cv_use_help
='wxUSE_HELP=no'
5071 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5072 if test "x$LINE" != x
; then
5073 eval "DEFAULT_$LINE"
5078 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5083 eval "$ac_cv_use_help"
5084 if test "$no_cache" != 1; then
5085 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5088 if test "$wxUSE_HELP" = yes; then
5089 echo "$ac_t""yes" 1>&6
5091 echo "$ac_t""no" 1>&6
5096 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5097 echo "configure:5098: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5099 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5100 if test "${enable_mshtmlhelp+set}" = set; then
5101 enableval
="$enable_mshtmlhelp"
5103 if test "$enableval" = yes; then
5104 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5106 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5111 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5112 if test "x$LINE" != x
; then
5113 eval "DEFAULT_$LINE"
5118 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5123 eval "$ac_cv_use_mshtmlhelp"
5124 if test "$no_cache" != 1; then
5125 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5128 if test "$wxUSE_MS_HTML_HELP" = yes; then
5129 echo "$ac_t""yes" 1>&6
5131 echo "$ac_t""no" 1>&6
5136 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5137 echo "configure:5138: checking for --${enablestring:-enable}-html" >&5
5139 # Check whether --enable-html or --disable-html was given.
5140 if test "${enable_html+set}" = set; then
5141 enableval
="$enable_html"
5143 if test "$enableval" = yes; then
5144 ac_cv_use_html
='wxUSE_HTML=yes'
5146 ac_cv_use_html
='wxUSE_HTML=no'
5151 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5152 if test "x$LINE" != x
; then
5153 eval "DEFAULT_$LINE"
5158 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5163 eval "$ac_cv_use_html"
5164 if test "$no_cache" != 1; then
5165 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5168 if test "$wxUSE_HTML" = yes; then
5169 echo "$ac_t""yes" 1>&6
5171 echo "$ac_t""no" 1>&6
5176 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5177 echo "configure:5178: checking for --${enablestring:-enable}-htmlhelp" >&5
5179 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5180 if test "${enable_htmlhelp+set}" = set; then
5181 enableval
="$enable_htmlhelp"
5183 if test "$enableval" = yes; then
5184 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5186 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5191 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5192 if test "x$LINE" != x
; then
5193 eval "DEFAULT_$LINE"
5198 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5203 eval "$ac_cv_use_htmlhelp"
5204 if test "$no_cache" != 1; then
5205 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5208 if test "$wxUSE_WXHTML_HELP" = yes; then
5209 echo "$ac_t""yes" 1>&6
5211 echo "$ac_t""no" 1>&6
5216 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5217 echo "configure:5218: checking for --${enablestring:-enable}-constraints" >&5
5219 # Check whether --enable-constraints or --disable-constraints was given.
5220 if test "${enable_constraints+set}" = set; then
5221 enableval
="$enable_constraints"
5223 if test "$enableval" = yes; then
5224 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5226 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5231 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5232 if test "x$LINE" != x
; then
5233 eval "DEFAULT_$LINE"
5238 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5243 eval "$ac_cv_use_constraints"
5244 if test "$no_cache" != 1; then
5245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5248 if test "$wxUSE_CONSTRAINTS" = yes; then
5249 echo "$ac_t""yes" 1>&6
5251 echo "$ac_t""no" 1>&6
5256 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5257 echo "configure:5258: checking for --${enablestring:-enable}-printarch" >&5
5259 # Check whether --enable-printarch or --disable-printarch was given.
5260 if test "${enable_printarch+set}" = set; then
5261 enableval
="$enable_printarch"
5263 if test "$enableval" = yes; then
5264 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5266 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5271 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x
; then
5273 eval "DEFAULT_$LINE"
5278 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5283 eval "$ac_cv_use_printarch"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5288 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5289 echo "$ac_t""yes" 1>&6
5291 echo "$ac_t""no" 1>&6
5296 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5297 echo "configure:5298: checking for --${enablestring:-enable}-mdi" >&5
5299 # Check whether --enable-mdi or --disable-mdi was given.
5300 if test "${enable_mdi+set}" = set; then
5301 enableval
="$enable_mdi"
5303 if test "$enableval" = yes; then
5304 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5306 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5311 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x
; then
5313 eval "DEFAULT_$LINE"
5318 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5323 eval "$ac_cv_use_mdi"
5324 if test "$no_cache" != 1; then
5325 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5328 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5329 echo "$ac_t""yes" 1>&6
5331 echo "$ac_t""no" 1>&6
5336 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5337 echo "configure:5338: checking for --${enablestring:-enable}-loggui" >&5
5339 # Check whether --enable-loggui or --disable-loggui was given.
5340 if test "${enable_loggui+set}" = set; then
5341 enableval
="$enable_loggui"
5343 if test "$enableval" = yes; then
5344 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5346 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5351 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5352 if test "x$LINE" != x
; then
5353 eval "DEFAULT_$LINE"
5358 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5363 eval "$ac_cv_use_loggui"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5368 if test "$wxUSE_LOGGUI" = yes; then
5369 echo "$ac_t""yes" 1>&6
5371 echo "$ac_t""no" 1>&6
5376 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5377 echo "configure:5378: checking for --${enablestring:-enable}-logwin" >&5
5379 # Check whether --enable-logwin or --disable-logwin was given.
5380 if test "${enable_logwin+set}" = set; then
5381 enableval
="$enable_logwin"
5383 if test "$enableval" = yes; then
5384 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5386 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5391 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5392 if test "x$LINE" != x
; then
5393 eval "DEFAULT_$LINE"
5398 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5403 eval "$ac_cv_use_logwin"
5404 if test "$no_cache" != 1; then
5405 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5408 if test "$wxUSE_LOGWINDOW" = yes; then
5409 echo "$ac_t""yes" 1>&6
5411 echo "$ac_t""no" 1>&6
5416 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5417 echo "configure:5418: checking for --${enablestring:-enable}-logdialog" >&5
5419 # Check whether --enable-logdialog or --disable-logdialog was given.
5420 if test "${enable_logdialog+set}" = set; then
5421 enableval
="$enable_logdialog"
5423 if test "$enableval" = yes; then
5424 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5426 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5431 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5438 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5443 eval "$ac_cv_use_logdialog"
5444 if test "$no_cache" != 1; then
5445 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5448 if test "$wxUSE_LOGDIALOG" = yes; then
5449 echo "$ac_t""yes" 1>&6
5451 echo "$ac_t""no" 1>&6
5457 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5458 echo "configure:5459: checking for --${enablestring:-enable}-postscript" >&5
5460 # Check whether --enable-postscript or --disable-postscript was given.
5461 if test "${enable_postscript+set}" = set; then
5462 enableval
="$enable_postscript"
5464 if test "$enableval" = yes; then
5465 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5467 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5472 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x
; then
5474 eval "DEFAULT_$LINE"
5479 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5484 eval "$ac_cv_use_postscript"
5485 if test "$no_cache" != 1; then
5486 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5489 if test "$wxUSE_POSTSCRIPT" = yes; then
5490 echo "$ac_t""yes" 1>&6
5492 echo "$ac_t""no" 1>&6
5500 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5501 echo "configure:5502: checking for --${enablestring:-enable}-resources" >&5
5503 # Check whether --enable-resources or --disable-resources was given.
5504 if test "${enable_resources+set}" = set; then
5505 enableval
="$enable_resources"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5510 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5515 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5527 eval "$ac_cv_use_resources"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_RESOURCES" = yes; then
5533 echo "$ac_t""yes" 1>&6
5535 echo "$ac_t""no" 1>&6
5541 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5542 echo "configure:5543: checking for --${enablestring:-enable}-xresources" >&5
5544 # Check whether --enable-xresources or --disable-xresources was given.
5545 if test "${enable_xresources+set}" = set; then
5546 enableval
="$enable_xresources"
5548 if test "$enableval" = yes; then
5549 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5551 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5556 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5557 if test "x$LINE" != x
; then
5558 eval "DEFAULT_$LINE"
5563 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5568 eval "$ac_cv_use_xresources"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5573 if test "$wxUSE_X_RESOURCES" = yes; then
5574 echo "$ac_t""yes" 1>&6
5576 echo "$ac_t""no" 1>&6
5583 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5584 echo "configure:5585: checking for --${enablestring:-enable}-clipboard" >&5
5586 # Check whether --enable-clipboard or --disable-clipboard was given.
5587 if test "${enable_clipboard+set}" = set; then
5588 enableval
="$enable_clipboard"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5593 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5598 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5610 eval "$ac_cv_use_clipboard"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_CLIPBOARD" = yes; then
5616 echo "$ac_t""yes" 1>&6
5618 echo "$ac_t""no" 1>&6
5623 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5624 echo "configure:5625: checking for --${enablestring:-enable}-dnd" >&5
5626 # Check whether --enable-dnd or --disable-dnd was given.
5627 if test "${enable_dnd+set}" = set; then
5628 enableval
="$enable_dnd"
5630 if test "$enableval" = yes; then
5631 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5633 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5638 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5639 if test "x$LINE" != x
; then
5640 eval "DEFAULT_$LINE"
5645 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5650 eval "$ac_cv_use_dnd"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5655 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5656 echo "$ac_t""yes" 1>&6
5658 echo "$ac_t""no" 1>&6
5663 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5664 echo "configure:5665: checking for --${enablestring:-enable}-metafile" >&5
5666 # Check whether --enable-metafile or --disable-metafile was given.
5667 if test "${enable_metafile+set}" = set; then
5668 enableval
="$enable_metafile"
5670 if test "$enableval" = yes; then
5671 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5673 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5678 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5679 if test "x$LINE" != x
; then
5680 eval "DEFAULT_$LINE"
5685 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5690 eval "$ac_cv_use_metafile"
5691 if test "$no_cache" != 1; then
5692 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5695 if test "$wxUSE_METAFILE" = yes; then
5696 echo "$ac_t""yes" 1>&6
5698 echo "$ac_t""no" 1>&6
5706 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5707 echo "configure:5708: checking for --${enablestring:-enable}-controls" >&5
5709 # Check whether --enable-controls or --disable-controls was given.
5710 if test "${enable_controls+set}" = set; then
5711 enableval
="$enable_controls"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5716 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5721 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5733 eval "$ac_cv_use_controls"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_CONTROLS" = yes; then
5739 echo "$ac_t""yes" 1>&6
5741 echo "$ac_t""no" 1>&6
5745 if test "$wxUSE_CONTROLS" = "yes"; then
5746 DEFAULT_wxUSE_ACCEL
=yes
5747 DEFAULT_wxUSE_BMPBUTTON
=yes
5748 DEFAULT_wxUSE_BUTTON
=yes
5749 DEFAULT_wxUSE_CALCTRL
=no
5750 DEFAULT_wxUSE_CARET
=yes
5751 DEFAULT_wxUSE_COMBOBOX
=yes
5752 DEFAULT_wxUSE_CHECKBOX
=yes
5753 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5754 DEFAULT_wxUSE_CHOICE
=yes
5755 DEFAULT_wxUSE_GAUGE
=yes
5756 DEFAULT_wxUSE_GRID
=yes
5757 DEFAULT_wxUSE_IMAGLIST
=yes
5758 DEFAULT_wxUSE_LISTBOX
=yes
5759 DEFAULT_wxUSE_LISTCTRL
=yes
5760 DEFAULT_wxUSE_NOTEBOOK
=yes
5761 DEFAULT_wxUSE_RADIOBOX
=yes
5762 DEFAULT_wxUSE_RADIOBTN
=yes
5763 DEFAULT_wxUSE_SASH
=yes
5764 DEFAULT_wxUSE_SCROLLBAR
=yes
5765 DEFAULT_wxUSE_SLIDER
=yes
5766 DEFAULT_wxUSE_SPINBTN
=yes
5767 DEFAULT_wxUSE_SPINCTRL
=yes
5768 DEFAULT_wxUSE_SPLITTER
=yes
5769 DEFAULT_wxUSE_STATBMP
=yes
5770 DEFAULT_wxUSE_STATBOX
=yes
5771 DEFAULT_wxUSE_STATLINE
=yes
5772 DEFAULT_wxUSE_STATUSBAR
=yes
5773 DEFAULT_wxUSE_TAB_DIALOG
=yes
5774 DEFAULT_wxUSE_TOGGLEBTN
=yes
5775 DEFAULT_wxUSE_TOOLBAR
=yes
5776 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5777 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5778 DEFAULT_wxUSE_TOOLTIPS
=yes
5779 DEFAULT_wxUSE_TREECTRL
=yes
5780 DEFAULT_wxUSE_POPUPWIN
=yes
5781 DEFAULT_wxUSE_TIPWINDOW
=yes
5782 elif test "$wxUSE_CONTROLS" = "no"; then
5783 DEFAULT_wxUSE_ACCEL
=no
5784 DEFAULT_wxUSE_BMPBUTTON
=no
5785 DEFAULT_wxUSE_BUTTON
=no
5786 DEFAULT_wxUSE_CALCTRL
=no
5787 DEFAULT_wxUSE_CARET
=no
5788 DEFAULT_wxUSE_COMBOBOX
=no
5789 DEFAULT_wxUSE_CHECKBOX
=no
5790 DEFAULT_wxUSE_CHECKLISTBOX
=no
5791 DEFAULT_wxUSE_CHOICE
=no
5792 DEFAULT_wxUSE_GAUGE
=no
5793 DEFAULT_wxUSE_GRID
=no
5794 DEFAULT_wxUSE_IMAGLIST
=no
5795 DEFAULT_wxUSE_LISTBOX
=no
5796 DEFAULT_wxUSE_LISTCTRL
=no
5797 DEFAULT_wxUSE_NOTEBOOK
=no
5798 DEFAULT_wxUSE_RADIOBOX
=no
5799 DEFAULT_wxUSE_RADIOBTN
=no
5800 DEFAULT_wxUSE_SASH
=no
5801 DEFAULT_wxUSE_SCROLLBAR
=no
5802 DEFAULT_wxUSE_SLIDER
=no
5803 DEFAULT_wxUSE_SPINBTN
=no
5804 DEFAULT_wxUSE_SPINCTRL
=no
5805 DEFAULT_wxUSE_SPLITTER
=no
5806 DEFAULT_wxUSE_STATBMP
=no
5807 DEFAULT_wxUSE_STATBOX
=no
5808 DEFAULT_wxUSE_STATLINE
=no
5809 DEFAULT_wxUSE_STATUSBAR
=no
5810 DEFAULT_wxUSE_TAB_DIALOG
=no
5811 DEFAULT_wxUSE_TOGGLEBTN
=no
5812 DEFAULT_wxUSE_TOOLBAR
=no
5813 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5814 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5815 DEFAULT_wxUSE_TOOLTIPS
=no
5816 DEFAULT_wxUSE_TREECTRL
=no
5817 DEFAULT_wxUSE_POPUPWIN
=no
5818 DEFAULT_wxUSE_TIPWINDOW
=no
5821 ## FIXME: This is a blatant hack
5822 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5823 wxUSE_PRINTING_ARCHITECTURE
=no
5826 wxUSE_DRAG_AND_DROP
=no
5828 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5829 DEFAULT_wxUSE_GAUGE
=no
5830 DEFAULT_wxUSE_SCROLLBAR
=no
5831 DEFAULT_wxUSE_SLIDER
=no
5832 DEFAULT_wxUSE_COMBOBOX
=no
5833 DEFAULT_wxUSE_CALCTRL
=no
5834 DEFAULT_wxUSE_SPINBTN
=no
5835 DEFAULT_wxUSE_SPINCTRL
=no
5836 DEFAULT_wxUSE_TOOLTIPS
=no
5837 DEFAULT_wxUSE_COLOURDLG
=no
5838 DEFAULT_wxUSE_DRAGIMAGE
=no
5839 DEFAULT_wxUSE_FINDREPLDLG
=no
5840 DEFAULT_wxUSE_FONTDLG
=no
5841 DEFAULT_wxUSE_GRID
=no
5842 DEFAULT_wxUSE_NUMBERDLG
=no
5843 DEFAULT_wxUSE_PROGRESSDLG
=no
5844 DEFAULT_wxUSE_SASH
=no
5845 DEFAULT_wxUSE_SPLITTER
=no
5846 DEFAULT_wxUSE_WIZARDDLG
=no
5847 DEFAULT_wxUSE_SPLITTER
=no
5848 DEFAULT_wxUSE_STARTUP_TIPS
=no
5853 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5854 echo "configure:5855: checking for --${enablestring:-enable}-accel" >&5
5856 # Check whether --enable-accel or --disable-accel was given.
5857 if test "${enable_accel+set}" = set; then
5858 enableval
="$enable_accel"
5860 if test "$enableval" = yes; then
5861 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5863 ac_cv_use_accel
='wxUSE_ACCEL=no'
5868 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x
; then
5870 eval "DEFAULT_$LINE"
5875 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5880 eval "$ac_cv_use_accel"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5885 if test "$wxUSE_ACCEL" = yes; then
5886 echo "$ac_t""yes" 1>&6
5888 echo "$ac_t""no" 1>&6
5893 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5894 echo "configure:5895: checking for --${enablestring:-enable}-button" >&5
5896 # Check whether --enable-button or --disable-button was given.
5897 if test "${enable_button+set}" = set; then
5898 enableval
="$enable_button"
5900 if test "$enableval" = yes; then
5901 ac_cv_use_button
='wxUSE_BUTTON=yes'
5903 ac_cv_use_button
='wxUSE_BUTTON=no'
5908 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5909 if test "x$LINE" != x
; then
5910 eval "DEFAULT_$LINE"
5915 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5920 eval "$ac_cv_use_button"
5921 if test "$no_cache" != 1; then
5922 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5925 if test "$wxUSE_BUTTON" = yes; then
5926 echo "$ac_t""yes" 1>&6
5928 echo "$ac_t""no" 1>&6
5933 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5934 echo "configure:5935: checking for --${enablestring:-enable}-bmpbutton" >&5
5936 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5937 if test "${enable_bmpbutton+set}" = set; then
5938 enableval
="$enable_bmpbutton"
5940 if test "$enableval" = yes; then
5941 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5943 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5948 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x
; then
5950 eval "DEFAULT_$LINE"
5955 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5960 eval "$ac_cv_use_bmpbutton"
5961 if test "$no_cache" != 1; then
5962 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5965 if test "$wxUSE_BMPBUTTON" = yes; then
5966 echo "$ac_t""yes" 1>&6
5968 echo "$ac_t""no" 1>&6
5973 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
5974 echo "configure:5975: checking for --${enablestring:-enable}-calendar" >&5
5976 # Check whether --enable-calendar or --disable-calendar was given.
5977 if test "${enable_calendar+set}" = set; then
5978 enableval
="$enable_calendar"
5980 if test "$enableval" = yes; then
5981 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5983 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5988 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5989 if test "x$LINE" != x
; then
5990 eval "DEFAULT_$LINE"
5995 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6000 eval "$ac_cv_use_calendar"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6005 if test "$wxUSE_CALCTRL" = yes; then
6006 echo "$ac_t""yes" 1>&6
6008 echo "$ac_t""no" 1>&6
6013 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6014 echo "configure:6015: checking for --${enablestring:-enable}-caret" >&5
6016 # Check whether --enable-caret or --disable-caret was given.
6017 if test "${enable_caret+set}" = set; then
6018 enableval
="$enable_caret"
6020 if test "$enableval" = yes; then
6021 ac_cv_use_caret
='wxUSE_CARET=yes'
6023 ac_cv_use_caret
='wxUSE_CARET=no'
6028 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6029 if test "x$LINE" != x
; then
6030 eval "DEFAULT_$LINE"
6035 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6040 eval "$ac_cv_use_caret"
6041 if test "$no_cache" != 1; then
6042 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6045 if test "$wxUSE_CARET" = yes; then
6046 echo "$ac_t""yes" 1>&6
6048 echo "$ac_t""no" 1>&6
6053 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6054 echo "configure:6055: checking for --${enablestring:-enable}-checkbox" >&5
6056 # Check whether --enable-checkbox or --disable-checkbox was given.
6057 if test "${enable_checkbox+set}" = set; then
6058 enableval
="$enable_checkbox"
6060 if test "$enableval" = yes; then
6061 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6063 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6068 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x
; then
6070 eval "DEFAULT_$LINE"
6075 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6080 eval "$ac_cv_use_checkbox"
6081 if test "$no_cache" != 1; then
6082 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6085 if test "$wxUSE_CHECKBOX" = yes; then
6086 echo "$ac_t""yes" 1>&6
6088 echo "$ac_t""no" 1>&6
6093 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6094 echo "configure:6095: checking for --${enablestring:-enable}-checklst" >&5
6096 # Check whether --enable-checklst or --disable-checklst was given.
6097 if test "${enable_checklst+set}" = set; then
6098 enableval
="$enable_checklst"
6100 if test "$enableval" = yes; then
6101 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6103 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6108 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6109 if test "x$LINE" != x
; then
6110 eval "DEFAULT_$LINE"
6115 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6120 eval "$ac_cv_use_checklst"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6125 if test "$wxUSE_CHECKLST" = yes; then
6126 echo "$ac_t""yes" 1>&6
6128 echo "$ac_t""no" 1>&6
6133 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6134 echo "configure:6135: checking for --${enablestring:-enable}-choice" >&5
6136 # Check whether --enable-choice or --disable-choice was given.
6137 if test "${enable_choice+set}" = set; then
6138 enableval
="$enable_choice"
6140 if test "$enableval" = yes; then
6141 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6143 ac_cv_use_choice
='wxUSE_CHOICE=no'
6148 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6149 if test "x$LINE" != x
; then
6150 eval "DEFAULT_$LINE"
6155 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6160 eval "$ac_cv_use_choice"
6161 if test "$no_cache" != 1; then
6162 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6165 if test "$wxUSE_CHOICE" = yes; then
6166 echo "$ac_t""yes" 1>&6
6168 echo "$ac_t""no" 1>&6
6173 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6174 echo "configure:6175: checking for --${enablestring:-enable}-combobox" >&5
6176 # Check whether --enable-combobox or --disable-combobox was given.
6177 if test "${enable_combobox+set}" = set; then
6178 enableval
="$enable_combobox"
6180 if test "$enableval" = yes; then
6181 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6183 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6188 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6189 if test "x$LINE" != x
; then
6190 eval "DEFAULT_$LINE"
6195 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6200 eval "$ac_cv_use_combobox"
6201 if test "$no_cache" != 1; then
6202 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6205 if test "$wxUSE_COMBOBOX" = yes; then
6206 echo "$ac_t""yes" 1>&6
6208 echo "$ac_t""no" 1>&6
6213 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6214 echo "configure:6215: checking for --${enablestring:-enable}-display" >&5
6216 # Check whether --enable-display or --disable-display was given.
6217 if test "${enable_display+set}" = set; then
6218 enableval
="$enable_display"
6220 if test "$enableval" = yes; then
6221 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6223 ac_cv_use_display
='wxUSE_DISPLAY=no'
6228 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x
; then
6230 eval "DEFAULT_$LINE"
6235 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6240 eval "$ac_cv_use_display"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_DISPLAY" = yes; then
6246 echo "$ac_t""yes" 1>&6
6248 echo "$ac_t""no" 1>&6
6253 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6254 echo "configure:6255: checking for --${enablestring:-enable}-gauge" >&5
6256 # Check whether --enable-gauge or --disable-gauge was given.
6257 if test "${enable_gauge+set}" = set; then
6258 enableval
="$enable_gauge"
6260 if test "$enableval" = yes; then
6261 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6263 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6268 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6269 if test "x$LINE" != x
; then
6270 eval "DEFAULT_$LINE"
6275 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6280 eval "$ac_cv_use_gauge"
6281 if test "$no_cache" != 1; then
6282 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6285 if test "$wxUSE_GAUGE" = yes; then
6286 echo "$ac_t""yes" 1>&6
6288 echo "$ac_t""no" 1>&6
6293 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6294 echo "configure:6295: checking for --${enablestring:-enable}-grid" >&5
6296 # Check whether --enable-grid or --disable-grid was given.
6297 if test "${enable_grid+set}" = set; then
6298 enableval
="$enable_grid"
6300 if test "$enableval" = yes; then
6301 ac_cv_use_grid
='wxUSE_GRID=yes'
6303 ac_cv_use_grid
='wxUSE_GRID=no'
6308 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x
; then
6310 eval "DEFAULT_$LINE"
6315 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6320 eval "$ac_cv_use_grid"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6325 if test "$wxUSE_GRID" = yes; then
6326 echo "$ac_t""yes" 1>&6
6328 echo "$ac_t""no" 1>&6
6333 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6334 echo "configure:6335: checking for --${enablestring:-enable}-imaglist" >&5
6336 # Check whether --enable-imaglist or --disable-imaglist was given.
6337 if test "${enable_imaglist+set}" = set; then
6338 enableval
="$enable_imaglist"
6340 if test "$enableval" = yes; then
6341 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6343 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6348 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x
; then
6350 eval "DEFAULT_$LINE"
6355 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6360 eval "$ac_cv_use_imaglist"
6361 if test "$no_cache" != 1; then
6362 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6365 if test "$wxUSE_IMAGLIST" = yes; then
6366 echo "$ac_t""yes" 1>&6
6368 echo "$ac_t""no" 1>&6
6373 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6374 echo "configure:6375: checking for --${enablestring:-enable}-listbox" >&5
6376 # Check whether --enable-listbox or --disable-listbox was given.
6377 if test "${enable_listbox+set}" = set; then
6378 enableval
="$enable_listbox"
6380 if test "$enableval" = yes; then
6381 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6383 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6388 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x
; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6400 eval "$ac_cv_use_listbox"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_LISTBOX" = yes; then
6406 echo "$ac_t""yes" 1>&6
6408 echo "$ac_t""no" 1>&6
6413 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6414 echo "configure:6415: checking for --${enablestring:-enable}-listctrl" >&5
6416 # Check whether --enable-listctrl or --disable-listctrl was given.
6417 if test "${enable_listctrl+set}" = set; then
6418 enableval
="$enable_listctrl"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6423 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6428 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6440 eval "$ac_cv_use_listctrl"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_LISTCTRL" = yes; then
6446 echo "$ac_t""yes" 1>&6
6448 echo "$ac_t""no" 1>&6
6453 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6454 echo "configure:6455: checking for --${enablestring:-enable}-notebook" >&5
6456 # Check whether --enable-notebook or --disable-notebook was given.
6457 if test "${enable_notebook+set}" = set; then
6458 enableval
="$enable_notebook"
6460 if test "$enableval" = yes; then
6461 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6463 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6468 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6469 if test "x$LINE" != x
; then
6470 eval "DEFAULT_$LINE"
6475 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6480 eval "$ac_cv_use_notebook"
6481 if test "$no_cache" != 1; then
6482 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6485 if test "$wxUSE_NOTEBOOK" = yes; then
6486 echo "$ac_t""yes" 1>&6
6488 echo "$ac_t""no" 1>&6
6493 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6494 echo "configure:6495: checking for --${enablestring:-enable}-radiobox" >&5
6496 # Check whether --enable-radiobox or --disable-radiobox was given.
6497 if test "${enable_radiobox+set}" = set; then
6498 enableval
="$enable_radiobox"
6500 if test "$enableval" = yes; then
6501 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6503 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6508 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x
; then
6510 eval "DEFAULT_$LINE"
6515 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6520 eval "$ac_cv_use_radiobox"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6525 if test "$wxUSE_RADIOBOX" = yes; then
6526 echo "$ac_t""yes" 1>&6
6528 echo "$ac_t""no" 1>&6
6533 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6534 echo "configure:6535: checking for --${enablestring:-enable}-radiobtn" >&5
6536 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6537 if test "${enable_radiobtn+set}" = set; then
6538 enableval
="$enable_radiobtn"
6540 if test "$enableval" = yes; then
6541 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6543 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6548 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x
; then
6550 eval "DEFAULT_$LINE"
6555 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6560 eval "$ac_cv_use_radiobtn"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6565 if test "$wxUSE_RADIOBTN" = yes; then
6566 echo "$ac_t""yes" 1>&6
6568 echo "$ac_t""no" 1>&6
6573 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6574 echo "configure:6575: checking for --${enablestring:-enable}-sash" >&5
6576 # Check whether --enable-sash or --disable-sash was given.
6577 if test "${enable_sash+set}" = set; then
6578 enableval
="$enable_sash"
6580 if test "$enableval" = yes; then
6581 ac_cv_use_sash
='wxUSE_SASH=yes'
6583 ac_cv_use_sash
='wxUSE_SASH=no'
6588 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6589 if test "x$LINE" != x
; then
6590 eval "DEFAULT_$LINE"
6595 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6600 eval "$ac_cv_use_sash"
6601 if test "$no_cache" != 1; then
6602 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6605 if test "$wxUSE_SASH" = yes; then
6606 echo "$ac_t""yes" 1>&6
6608 echo "$ac_t""no" 1>&6
6613 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6614 echo "configure:6615: checking for --${enablestring:-enable}-scrollbar" >&5
6616 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6617 if test "${enable_scrollbar+set}" = set; then
6618 enableval
="$enable_scrollbar"
6620 if test "$enableval" = yes; then
6621 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6623 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6628 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x
; then
6630 eval "DEFAULT_$LINE"
6635 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6640 eval "$ac_cv_use_scrollbar"
6641 if test "$no_cache" != 1; then
6642 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6645 if test "$wxUSE_SCROLLBAR" = yes; then
6646 echo "$ac_t""yes" 1>&6
6648 echo "$ac_t""no" 1>&6
6653 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6654 echo "configure:6655: checking for --${enablestring:-enable}-slider" >&5
6656 # Check whether --enable-slider or --disable-slider was given.
6657 if test "${enable_slider+set}" = set; then
6658 enableval
="$enable_slider"
6660 if test "$enableval" = yes; then
6661 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6663 ac_cv_use_slider
='wxUSE_SLIDER=no'
6668 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6669 if test "x$LINE" != x
; then
6670 eval "DEFAULT_$LINE"
6675 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6680 eval "$ac_cv_use_slider"
6681 if test "$no_cache" != 1; then
6682 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6685 if test "$wxUSE_SLIDER" = yes; then
6686 echo "$ac_t""yes" 1>&6
6688 echo "$ac_t""no" 1>&6
6693 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6694 echo "configure:6695: checking for --${enablestring:-enable}-spinbtn" >&5
6696 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6697 if test "${enable_spinbtn+set}" = set; then
6698 enableval
="$enable_spinbtn"
6700 if test "$enableval" = yes; then
6701 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6703 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6708 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6709 if test "x$LINE" != x
; then
6710 eval "DEFAULT_$LINE"
6715 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6720 eval "$ac_cv_use_spinbtn"
6721 if test "$no_cache" != 1; then
6722 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6725 if test "$wxUSE_SPINBTN" = yes; then
6726 echo "$ac_t""yes" 1>&6
6728 echo "$ac_t""no" 1>&6
6733 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6734 echo "configure:6735: checking for --${enablestring:-enable}-spinctrl" >&5
6736 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6737 if test "${enable_spinctrl+set}" = set; then
6738 enableval
="$enable_spinctrl"
6740 if test "$enableval" = yes; then
6741 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6743 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6748 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6749 if test "x$LINE" != x
; then
6750 eval "DEFAULT_$LINE"
6755 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6760 eval "$ac_cv_use_spinctrl"
6761 if test "$no_cache" != 1; then
6762 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6765 if test "$wxUSE_SPINCTRL" = yes; then
6766 echo "$ac_t""yes" 1>&6
6768 echo "$ac_t""no" 1>&6
6773 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6774 echo "configure:6775: checking for --${enablestring:-enable}-splitter" >&5
6776 # Check whether --enable-splitter or --disable-splitter was given.
6777 if test "${enable_splitter+set}" = set; then
6778 enableval
="$enable_splitter"
6780 if test "$enableval" = yes; then
6781 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6783 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6788 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x
; then
6790 eval "DEFAULT_$LINE"
6795 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6800 eval "$ac_cv_use_splitter"
6801 if test "$no_cache" != 1; then
6802 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6805 if test "$wxUSE_SPLITTER" = yes; then
6806 echo "$ac_t""yes" 1>&6
6808 echo "$ac_t""no" 1>&6
6813 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6814 echo "configure:6815: checking for --${enablestring:-enable}-statbmp" >&5
6816 # Check whether --enable-statbmp or --disable-statbmp was given.
6817 if test "${enable_statbmp+set}" = set; then
6818 enableval
="$enable_statbmp"
6820 if test "$enableval" = yes; then
6821 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6823 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6828 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6829 if test "x$LINE" != x
; then
6830 eval "DEFAULT_$LINE"
6835 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6840 eval "$ac_cv_use_statbmp"
6841 if test "$no_cache" != 1; then
6842 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6845 if test "$wxUSE_STATBMP" = yes; then
6846 echo "$ac_t""yes" 1>&6
6848 echo "$ac_t""no" 1>&6
6853 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6854 echo "configure:6855: checking for --${enablestring:-enable}-statbox" >&5
6856 # Check whether --enable-statbox or --disable-statbox was given.
6857 if test "${enable_statbox+set}" = set; then
6858 enableval
="$enable_statbox"
6860 if test "$enableval" = yes; then
6861 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6863 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6868 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6869 if test "x$LINE" != x
; then
6870 eval "DEFAULT_$LINE"
6875 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6880 eval "$ac_cv_use_statbox"
6881 if test "$no_cache" != 1; then
6882 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6885 if test "$wxUSE_STATBOX" = yes; then
6886 echo "$ac_t""yes" 1>&6
6888 echo "$ac_t""no" 1>&6
6893 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6894 echo "configure:6895: checking for --${enablestring:-enable}-statline" >&5
6896 # Check whether --enable-statline or --disable-statline was given.
6897 if test "${enable_statline+set}" = set; then
6898 enableval
="$enable_statline"
6900 if test "$enableval" = yes; then
6901 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6903 ac_cv_use_statline
='wxUSE_STATLINE=no'
6908 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6909 if test "x$LINE" != x
; then
6910 eval "DEFAULT_$LINE"
6915 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6920 eval "$ac_cv_use_statline"
6921 if test "$no_cache" != 1; then
6922 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6925 if test "$wxUSE_STATLINE" = yes; then
6926 echo "$ac_t""yes" 1>&6
6928 echo "$ac_t""no" 1>&6
6933 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
6934 echo "configure:6935: checking for --${enablestring:-enable}-stattext" >&5
6936 # Check whether --enable-stattext or --disable-stattext was given.
6937 if test "${enable_stattext+set}" = set; then
6938 enableval
="$enable_stattext"
6940 if test "$enableval" = yes; then
6941 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6943 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6948 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6949 if test "x$LINE" != x
; then
6950 eval "DEFAULT_$LINE"
6955 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6960 eval "$ac_cv_use_stattext"
6961 if test "$no_cache" != 1; then
6962 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6965 if test "$wxUSE_STATTEXT" = yes; then
6966 echo "$ac_t""yes" 1>&6
6968 echo "$ac_t""no" 1>&6
6973 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
6974 echo "configure:6975: checking for --${enablestring:-enable}-statusbar" >&5
6976 # Check whether --enable-statusbar or --disable-statusbar was given.
6977 if test "${enable_statusbar+set}" = set; then
6978 enableval
="$enable_statusbar"
6980 if test "$enableval" = yes; then
6981 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6983 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6988 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6989 if test "x$LINE" != x
; then
6990 eval "DEFAULT_$LINE"
6995 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7000 eval "$ac_cv_use_statusbar"
7001 if test "$no_cache" != 1; then
7002 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7005 if test "$wxUSE_STATUSBAR" = yes; then
7006 echo "$ac_t""yes" 1>&6
7008 echo "$ac_t""no" 1>&6
7013 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7014 echo "configure:7015: checking for --${enablestring:-enable}-tabdialog" >&5
7016 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7017 if test "${enable_tabdialog+set}" = set; then
7018 enableval
="$enable_tabdialog"
7020 if test "$enableval" = yes; then
7021 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7023 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7028 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7029 if test "x$LINE" != x
; then
7030 eval "DEFAULT_$LINE"
7035 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7040 eval "$ac_cv_use_tabdialog"
7041 if test "$no_cache" != 1; then
7042 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7045 if test "$wxUSE_TABDIALOG" = yes; then
7046 echo "$ac_t""yes" 1>&6
7048 echo "$ac_t""no" 1>&6
7053 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7054 echo "configure:7055: checking for --${enablestring:-enable}-textctrl" >&5
7056 # Check whether --enable-textctrl or --disable-textctrl was given.
7057 if test "${enable_textctrl+set}" = set; then
7058 enableval
="$enable_textctrl"
7060 if test "$enableval" = yes; then
7061 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7063 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7068 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x
; then
7070 eval "DEFAULT_$LINE"
7075 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7080 eval "$ac_cv_use_textctrl"
7081 if test "$no_cache" != 1; then
7082 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7085 if test "$wxUSE_TEXTCTRL" = yes; then
7086 echo "$ac_t""yes" 1>&6
7088 echo "$ac_t""no" 1>&6
7093 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7094 echo "configure:7095: checking for --${enablestring:-enable}-togglebtn" >&5
7096 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7097 if test "${enable_togglebtn+set}" = set; then
7098 enableval
="$enable_togglebtn"
7100 if test "$enableval" = yes; then
7101 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7103 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7108 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7109 if test "x$LINE" != x
; then
7110 eval "DEFAULT_$LINE"
7115 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7120 eval "$ac_cv_use_togglebtn"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7125 if test "$wxUSE_TOGGLEBTN" = yes; then
7126 echo "$ac_t""yes" 1>&6
7128 echo "$ac_t""no" 1>&6
7133 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7134 echo "configure:7135: checking for --${enablestring:-enable}-toolbar" >&5
7136 # Check whether --enable-toolbar or --disable-toolbar was given.
7137 if test "${enable_toolbar+set}" = set; then
7138 enableval
="$enable_toolbar"
7140 if test "$enableval" = yes; then
7141 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7143 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7148 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x
; then
7150 eval "DEFAULT_$LINE"
7155 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7160 eval "$ac_cv_use_toolbar"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7165 if test "$wxUSE_TOOLBAR" = yes; then
7166 echo "$ac_t""yes" 1>&6
7168 echo "$ac_t""no" 1>&6
7173 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7174 echo "configure:7175: checking for --${enablestring:-enable}-tbarnative" >&5
7176 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7177 if test "${enable_tbarnative+set}" = set; then
7178 enableval
="$enable_tbarnative"
7180 if test "$enableval" = yes; then
7181 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7183 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7188 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7189 if test "x$LINE" != x
; then
7190 eval "DEFAULT_$LINE"
7195 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7200 eval "$ac_cv_use_tbarnative"
7201 if test "$no_cache" != 1; then
7202 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7205 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7206 echo "$ac_t""yes" 1>&6
7208 echo "$ac_t""no" 1>&6
7213 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7214 echo "configure:7215: checking for --${enablestring:-enable}-tbarsmpl" >&5
7216 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7217 if test "${enable_tbarsmpl+set}" = set; then
7218 enableval
="$enable_tbarsmpl"
7220 if test "$enableval" = yes; then
7221 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7223 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7228 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7229 if test "x$LINE" != x
; then
7230 eval "DEFAULT_$LINE"
7235 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7240 eval "$ac_cv_use_tbarsmpl"
7241 if test "$no_cache" != 1; then
7242 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7245 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7246 echo "$ac_t""yes" 1>&6
7248 echo "$ac_t""no" 1>&6
7253 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7254 echo "configure:7255: checking for --${enablestring:-enable}-treectrl" >&5
7256 # Check whether --enable-treectrl or --disable-treectrl was given.
7257 if test "${enable_treectrl+set}" = set; then
7258 enableval
="$enable_treectrl"
7260 if test "$enableval" = yes; then
7261 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7263 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7268 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x
; then
7270 eval "DEFAULT_$LINE"
7275 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7280 eval "$ac_cv_use_treectrl"
7281 if test "$no_cache" != 1; then
7282 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7285 if test "$wxUSE_TREECTRL" = yes; then
7286 echo "$ac_t""yes" 1>&6
7288 echo "$ac_t""no" 1>&6
7293 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7294 echo "configure:7295: checking for --${enablestring:-enable}-tipwindow" >&5
7296 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7297 if test "${enable_tipwindow+set}" = set; then
7298 enableval
="$enable_tipwindow"
7300 if test "$enableval" = yes; then
7301 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7303 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7308 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7309 if test "x$LINE" != x
; then
7310 eval "DEFAULT_$LINE"
7315 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7320 eval "$ac_cv_use_tipwindow"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7325 if test "$wxUSE_TIPWINDOW" = yes; then
7326 echo "$ac_t""yes" 1>&6
7328 echo "$ac_t""no" 1>&6
7333 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7334 echo "configure:7335: checking for --${enablestring:-enable}-popupwin" >&5
7336 # Check whether --enable-popupwin or --disable-popupwin was given.
7337 if test "${enable_popupwin+set}" = set; then
7338 enableval
="$enable_popupwin"
7340 if test "$enableval" = yes; then
7341 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7343 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7348 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7349 if test "x$LINE" != x
; then
7350 eval "DEFAULT_$LINE"
7355 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7360 eval "$ac_cv_use_popupwin"
7361 if test "$no_cache" != 1; then
7362 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7365 if test "$wxUSE_POPUPWIN" = yes; then
7366 echo "$ac_t""yes" 1>&6
7368 echo "$ac_t""no" 1>&6
7375 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7376 echo "configure:7377: checking for --${enablestring:-enable}-commondlg" >&5
7378 # Check whether --enable-commondlg or --disable-commondlg was given.
7379 if test "${enable_commondlg+set}" = set; then
7380 enableval
="$enable_commondlg"
7382 if test "$enableval" = yes; then
7383 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7385 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7390 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7391 if test "x$LINE" != x
; then
7392 eval "DEFAULT_$LINE"
7397 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7402 eval "$ac_cv_use_commondlg"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7407 if test "$wxUSE_COMMONDLGS" = yes; then
7408 echo "$ac_t""yes" 1>&6
7410 echo "$ac_t""no" 1>&6
7415 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7416 echo "configure:7417: checking for --${enablestring:-enable}-choicedlg" >&5
7418 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7419 if test "${enable_choicedlg+set}" = set; then
7420 enableval
="$enable_choicedlg"
7422 if test "$enableval" = yes; then
7423 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7425 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7430 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7431 if test "x$LINE" != x
; then
7432 eval "DEFAULT_$LINE"
7437 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7442 eval "$ac_cv_use_choicedlg"
7443 if test "$no_cache" != 1; then
7444 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7447 if test "$wxUSE_CHOICEDLG" = yes; then
7448 echo "$ac_t""yes" 1>&6
7450 echo "$ac_t""no" 1>&6
7455 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7456 echo "configure:7457: checking for --${enablestring:-enable}-coldlg" >&5
7458 # Check whether --enable-coldlg or --disable-coldlg was given.
7459 if test "${enable_coldlg+set}" = set; then
7460 enableval
="$enable_coldlg"
7462 if test "$enableval" = yes; then
7463 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7465 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7470 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x
; then
7472 eval "DEFAULT_$LINE"
7477 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7482 eval "$ac_cv_use_coldlg"
7483 if test "$no_cache" != 1; then
7484 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7487 if test "$wxUSE_COLOURDLG" = yes; then
7488 echo "$ac_t""yes" 1>&6
7490 echo "$ac_t""no" 1>&6
7495 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7496 echo "configure:7497: checking for --${enablestring:-enable}-filedlg" >&5
7498 # Check whether --enable-filedlg or --disable-filedlg was given.
7499 if test "${enable_filedlg+set}" = set; then
7500 enableval
="$enable_filedlg"
7502 if test "$enableval" = yes; then
7503 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7505 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7510 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7511 if test "x$LINE" != x
; then
7512 eval "DEFAULT_$LINE"
7517 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7522 eval "$ac_cv_use_filedlg"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7527 if test "$wxUSE_FILEDLG" = yes; then
7528 echo "$ac_t""yes" 1>&6
7530 echo "$ac_t""no" 1>&6
7535 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7536 echo "configure:7537: checking for --${enablestring:-enable}-finddlg" >&5
7538 # Check whether --enable-finddlg or --disable-finddlg was given.
7539 if test "${enable_finddlg+set}" = set; then
7540 enableval
="$enable_finddlg"
7542 if test "$enableval" = yes; then
7543 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7545 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7550 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7551 if test "x$LINE" != x
; then
7552 eval "DEFAULT_$LINE"
7557 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7562 eval "$ac_cv_use_finddlg"
7563 if test "$no_cache" != 1; then
7564 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7567 if test "$wxUSE_FINDREPLDLG" = yes; then
7568 echo "$ac_t""yes" 1>&6
7570 echo "$ac_t""no" 1>&6
7575 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7576 echo "configure:7577: checking for --${enablestring:-enable}-fontdlg" >&5
7578 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7579 if test "${enable_fontdlg+set}" = set; then
7580 enableval
="$enable_fontdlg"
7582 if test "$enableval" = yes; then
7583 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7585 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7590 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7591 if test "x$LINE" != x
; then
7592 eval "DEFAULT_$LINE"
7597 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7602 eval "$ac_cv_use_fontdlg"
7603 if test "$no_cache" != 1; then
7604 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7607 if test "$wxUSE_FONTDLG" = yes; then
7608 echo "$ac_t""yes" 1>&6
7610 echo "$ac_t""no" 1>&6
7615 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7616 echo "configure:7617: checking for --${enablestring:-enable}-dirdlg" >&5
7618 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7619 if test "${enable_dirdlg+set}" = set; then
7620 enableval
="$enable_dirdlg"
7622 if test "$enableval" = yes; then
7623 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7625 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7630 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7631 if test "x$LINE" != x
; then
7632 eval "DEFAULT_$LINE"
7637 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7642 eval "$ac_cv_use_dirdlg"
7643 if test "$no_cache" != 1; then
7644 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7647 if test "$wxUSE_DIRDLG" = yes; then
7648 echo "$ac_t""yes" 1>&6
7650 echo "$ac_t""no" 1>&6
7655 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7656 echo "configure:7657: checking for --${enablestring:-enable}-msgdlg" >&5
7658 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7659 if test "${enable_msgdlg+set}" = set; then
7660 enableval
="$enable_msgdlg"
7662 if test "$enableval" = yes; then
7663 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7665 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7670 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7671 if test "x$LINE" != x
; then
7672 eval "DEFAULT_$LINE"
7677 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7682 eval "$ac_cv_use_msgdlg"
7683 if test "$no_cache" != 1; then
7684 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7687 if test "$wxUSE_MSGDLG" = yes; then
7688 echo "$ac_t""yes" 1>&6
7690 echo "$ac_t""no" 1>&6
7695 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7696 echo "configure:7697: checking for --${enablestring:-enable}-numberdlg" >&5
7698 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7699 if test "${enable_numberdlg+set}" = set; then
7700 enableval
="$enable_numberdlg"
7702 if test "$enableval" = yes; then
7703 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7705 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7710 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7711 if test "x$LINE" != x
; then
7712 eval "DEFAULT_$LINE"
7717 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7722 eval "$ac_cv_use_numberdlg"
7723 if test "$no_cache" != 1; then
7724 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7727 if test "$wxUSE_NUMBERDLG" = yes; then
7728 echo "$ac_t""yes" 1>&6
7730 echo "$ac_t""no" 1>&6
7735 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7736 echo "configure:7737: checking for --${enablestring:-enable}-splash" >&5
7738 # Check whether --enable-splash or --disable-splash was given.
7739 if test "${enable_splash+set}" = set; then
7740 enableval
="$enable_splash"
7742 if test "$enableval" = yes; then
7743 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7745 ac_cv_use_splash
='wxUSE_SPLASH=no'
7750 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7751 if test "x$LINE" != x
; then
7752 eval "DEFAULT_$LINE"
7757 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7762 eval "$ac_cv_use_splash"
7763 if test "$no_cache" != 1; then
7764 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7767 if test "$wxUSE_SPLASH" = yes; then
7768 echo "$ac_t""yes" 1>&6
7770 echo "$ac_t""no" 1>&6
7775 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7776 echo "configure:7777: checking for --${enablestring:-enable}-textdlg" >&5
7778 # Check whether --enable-textdlg or --disable-textdlg was given.
7779 if test "${enable_textdlg+set}" = set; then
7780 enableval
="$enable_textdlg"
7782 if test "$enableval" = yes; then
7783 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7785 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7790 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x
; then
7792 eval "DEFAULT_$LINE"
7797 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7802 eval "$ac_cv_use_textdlg"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7807 if test "$wxUSE_TEXTDLG" = yes; then
7808 echo "$ac_t""yes" 1>&6
7810 echo "$ac_t""no" 1>&6
7815 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7816 echo "configure:7817: checking for --${enablestring:-enable}-tipdlg" >&5
7818 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7819 if test "${enable_tipdlg+set}" = set; then
7820 enableval
="$enable_tipdlg"
7822 if test "$enableval" = yes; then
7823 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7825 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7830 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7831 if test "x$LINE" != x
; then
7832 eval "DEFAULT_$LINE"
7837 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7842 eval "$ac_cv_use_tipdlg"
7843 if test "$no_cache" != 1; then
7844 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7847 if test "$wxUSE_STARTUP_TIPS" = yes; then
7848 echo "$ac_t""yes" 1>&6
7850 echo "$ac_t""no" 1>&6
7855 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7856 echo "configure:7857: checking for --${enablestring:-enable}-progressdlg" >&5
7858 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7859 if test "${enable_progressdlg+set}" = set; then
7860 enableval
="$enable_progressdlg"
7862 if test "$enableval" = yes; then
7863 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7865 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7870 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7871 if test "x$LINE" != x
; then
7872 eval "DEFAULT_$LINE"
7877 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7882 eval "$ac_cv_use_progressdlg"
7883 if test "$no_cache" != 1; then
7884 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7887 if test "$wxUSE_PROGRESSDLG" = yes; then
7888 echo "$ac_t""yes" 1>&6
7890 echo "$ac_t""no" 1>&6
7895 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7896 echo "configure:7897: checking for --${enablestring:-enable}-wizarddlg" >&5
7898 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7899 if test "${enable_wizarddlg+set}" = set; then
7900 enableval
="$enable_wizarddlg"
7902 if test "$enableval" = yes; then
7903 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7905 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7910 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x
; then
7912 eval "DEFAULT_$LINE"
7917 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7922 eval "$ac_cv_use_wizarddlg"
7923 if test "$no_cache" != 1; then
7924 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7927 if test "$wxUSE_WIZARDDLG" = yes; then
7928 echo "$ac_t""yes" 1>&6
7930 echo "$ac_t""no" 1>&6
7937 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
7938 echo "configure:7939: checking for --${enablestring:-enable}-menus" >&5
7940 # Check whether --enable-menus or --disable-menus was given.
7941 if test "${enable_menus+set}" = set; then
7942 enableval
="$enable_menus"
7944 if test "$enableval" = yes; then
7945 ac_cv_use_menus
='wxUSE_MENUS=yes'
7947 ac_cv_use_menus
='wxUSE_MENUS=no'
7952 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7953 if test "x$LINE" != x
; then
7954 eval "DEFAULT_$LINE"
7959 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7964 eval "$ac_cv_use_menus"
7965 if test "$no_cache" != 1; then
7966 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7969 if test "$wxUSE_MENUS" = yes; then
7970 echo "$ac_t""yes" 1>&6
7972 echo "$ac_t""no" 1>&6
7977 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
7978 echo "configure:7979: checking for --${enablestring:-enable}-miniframe" >&5
7980 # Check whether --enable-miniframe or --disable-miniframe was given.
7981 if test "${enable_miniframe+set}" = set; then
7982 enableval
="$enable_miniframe"
7984 if test "$enableval" = yes; then
7985 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7987 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7992 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x
; then
7994 eval "DEFAULT_$LINE"
7999 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8004 eval "$ac_cv_use_miniframe"
8005 if test "$no_cache" != 1; then
8006 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8009 if test "$wxUSE_MINIFRAME" = yes; then
8010 echo "$ac_t""yes" 1>&6
8012 echo "$ac_t""no" 1>&6
8017 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8018 echo "configure:8019: checking for --${enablestring:-enable}-tooltips" >&5
8020 # Check whether --enable-tooltips or --disable-tooltips was given.
8021 if test "${enable_tooltips+set}" = set; then
8022 enableval
="$enable_tooltips"
8024 if test "$enableval" = yes; then
8025 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8027 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8032 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x
; then
8034 eval "DEFAULT_$LINE"
8039 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8044 eval "$ac_cv_use_tooltips"
8045 if test "$no_cache" != 1; then
8046 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8049 if test "$wxUSE_TOOLTIPS" = yes; then
8050 echo "$ac_t""yes" 1>&6
8052 echo "$ac_t""no" 1>&6
8057 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8058 echo "configure:8059: checking for --${enablestring:-enable}-splines" >&5
8060 # Check whether --enable-splines or --disable-splines was given.
8061 if test "${enable_splines+set}" = set; then
8062 enableval
="$enable_splines"
8064 if test "$enableval" = yes; then
8065 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8067 ac_cv_use_splines
='wxUSE_SPLINES=no'
8072 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8073 if test "x$LINE" != x
; then
8074 eval "DEFAULT_$LINE"
8079 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8084 eval "$ac_cv_use_splines"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8089 if test "$wxUSE_SPLINES" = yes; then
8090 echo "$ac_t""yes" 1>&6
8092 echo "$ac_t""no" 1>&6
8097 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8098 echo "configure:8099: checking for --${enablestring:-enable}-validators" >&5
8100 # Check whether --enable-validators or --disable-validators was given.
8101 if test "${enable_validators+set}" = set; then
8102 enableval
="$enable_validators"
8104 if test "$enableval" = yes; then
8105 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8107 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8112 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8113 if test "x$LINE" != x
; then
8114 eval "DEFAULT_$LINE"
8119 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8124 eval "$ac_cv_use_validators"
8125 if test "$no_cache" != 1; then
8126 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8129 if test "$wxUSE_VALIDATORS" = yes; then
8130 echo "$ac_t""yes" 1>&6
8132 echo "$ac_t""no" 1>&6
8137 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8138 echo "configure:8139: checking for --${enablestring:-enable}-busyinfo" >&5
8140 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8141 if test "${enable_busyinfo+set}" = set; then
8142 enableval
="$enable_busyinfo"
8144 if test "$enableval" = yes; then
8145 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8147 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8152 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8153 if test "x$LINE" != x
; then
8154 eval "DEFAULT_$LINE"
8159 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8164 eval "$ac_cv_use_busyinfo"
8165 if test "$no_cache" != 1; then
8166 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8169 if test "$wxUSE_BUSYINFO" = yes; then
8170 echo "$ac_t""yes" 1>&6
8172 echo "$ac_t""no" 1>&6
8177 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8178 echo "configure:8179: checking for --${enablestring:-enable}-joystick" >&5
8180 # Check whether --enable-joystick or --disable-joystick was given.
8181 if test "${enable_joystick+set}" = set; then
8182 enableval
="$enable_joystick"
8184 if test "$enableval" = yes; then
8185 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8187 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8192 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8193 if test "x$LINE" != x
; then
8194 eval "DEFAULT_$LINE"
8199 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8204 eval "$ac_cv_use_joystick"
8205 if test "$no_cache" != 1; then
8206 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8209 if test "$wxUSE_JOYSTICK" = yes; then
8210 echo "$ac_t""yes" 1>&6
8212 echo "$ac_t""no" 1>&6
8217 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8218 echo "configure:8219: checking for --${enablestring:-enable}-metafile" >&5
8220 # Check whether --enable-metafile or --disable-metafile was given.
8221 if test "${enable_metafile+set}" = set; then
8222 enableval
="$enable_metafile"
8224 if test "$enableval" = yes; then
8225 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8227 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8232 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8233 if test "x$LINE" != x
; then
8234 eval "DEFAULT_$LINE"
8239 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8244 eval "$ac_cv_use_metafile"
8245 if test "$no_cache" != 1; then
8246 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8249 if test "$wxUSE_METAFILE" = yes; then
8250 echo "$ac_t""yes" 1>&6
8252 echo "$ac_t""no" 1>&6
8257 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8258 echo "configure:8259: checking for --${enablestring:-enable}-dragimage" >&5
8260 # Check whether --enable-dragimage or --disable-dragimage was given.
8261 if test "${enable_dragimage+set}" = set; then
8262 enableval
="$enable_dragimage"
8264 if test "$enableval" = yes; then
8265 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8267 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8272 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8273 if test "x$LINE" != x
; then
8274 eval "DEFAULT_$LINE"
8279 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8284 eval "$ac_cv_use_dragimage"
8285 if test "$no_cache" != 1; then
8286 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8289 if test "$wxUSE_DRAGIMAGE" = yes; then
8290 echo "$ac_t""yes" 1>&6
8292 echo "$ac_t""no" 1>&6
8297 echo $ac_n "checking for --${enablestring:-enable}-accessibility""... $ac_c" 1>&6
8298 echo "configure:8299: checking for --${enablestring:-enable}-accessibility" >&5
8300 # Check whether --enable-accessibility or --disable-accessibility was given.
8301 if test "${enable_accessibility+set}" = set; then
8302 enableval
="$enable_accessibility"
8304 if test "$enableval" = yes; then
8305 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
8307 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
8312 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
8313 if test "x$LINE" != x
; then
8314 eval "DEFAULT_$LINE"
8319 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
8324 eval "$ac_cv_use_accessibility"
8325 if test "$no_cache" != 1; then
8326 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
8329 if test "$wxUSE_ACCESSIBILITY" = yes; then
8330 echo "$ac_t""yes" 1>&6
8332 echo "$ac_t""no" 1>&6
8339 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8340 echo "configure:8341: checking for --${enablestring:-enable}-palette" >&5
8342 # Check whether --enable-palette or --disable-palette was given.
8343 if test "${enable_palette+set}" = set; then
8344 enableval
="$enable_palette"
8346 if test "$enableval" = yes; then
8347 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8349 ac_cv_use_palette
='wxUSE_PALETTE=no'
8354 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8355 if test "x$LINE" != x
; then
8356 eval "DEFAULT_$LINE"
8361 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8366 eval "$ac_cv_use_palette"
8367 if test "$no_cache" != 1; then
8368 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8371 if test "$wxUSE_PALETTE" = yes; then
8372 echo "$ac_t""yes" 1>&6
8374 echo "$ac_t""no" 1>&6
8379 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8380 echo "configure:8381: checking for --${enablestring:-enable}-image" >&5
8382 # Check whether --enable-image or --disable-image was given.
8383 if test "${enable_image+set}" = set; then
8384 enableval
="$enable_image"
8386 if test "$enableval" = yes; then
8387 ac_cv_use_image
='wxUSE_IMAGE=yes'
8389 ac_cv_use_image
='wxUSE_IMAGE=no'
8394 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8395 if test "x$LINE" != x
; then
8396 eval "DEFAULT_$LINE"
8401 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8406 eval "$ac_cv_use_image"
8407 if test "$no_cache" != 1; then
8408 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8411 if test "$wxUSE_IMAGE" = yes; then
8412 echo "$ac_t""yes" 1>&6
8414 echo "$ac_t""no" 1>&6
8419 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8420 echo "configure:8421: checking for --${enablestring:-enable}-gif" >&5
8422 # Check whether --enable-gif or --disable-gif was given.
8423 if test "${enable_gif+set}" = set; then
8424 enableval
="$enable_gif"
8426 if test "$enableval" = yes; then
8427 ac_cv_use_gif
='wxUSE_GIF=yes'
8429 ac_cv_use_gif
='wxUSE_GIF=no'
8434 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8435 if test "x$LINE" != x
; then
8436 eval "DEFAULT_$LINE"
8441 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8446 eval "$ac_cv_use_gif"
8447 if test "$no_cache" != 1; then
8448 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8451 if test "$wxUSE_GIF" = yes; then
8452 echo "$ac_t""yes" 1>&6
8454 echo "$ac_t""no" 1>&6
8459 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8460 echo "configure:8461: checking for --${enablestring:-enable}-pcx" >&5
8462 # Check whether --enable-pcx or --disable-pcx was given.
8463 if test "${enable_pcx+set}" = set; then
8464 enableval
="$enable_pcx"
8466 if test "$enableval" = yes; then
8467 ac_cv_use_pcx
='wxUSE_PCX=yes'
8469 ac_cv_use_pcx
='wxUSE_PCX=no'
8474 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8475 if test "x$LINE" != x
; then
8476 eval "DEFAULT_$LINE"
8481 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8486 eval "$ac_cv_use_pcx"
8487 if test "$no_cache" != 1; then
8488 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8491 if test "$wxUSE_PCX" = yes; then
8492 echo "$ac_t""yes" 1>&6
8494 echo "$ac_t""no" 1>&6
8499 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8500 echo "configure:8501: checking for --${enablestring:-enable}-iff" >&5
8502 # Check whether --enable-iff or --disable-iff was given.
8503 if test "${enable_iff+set}" = set; then
8504 enableval
="$enable_iff"
8506 if test "$enableval" = yes; then
8507 ac_cv_use_iff
='wxUSE_IFF=yes'
8509 ac_cv_use_iff
='wxUSE_IFF=no'
8514 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8515 if test "x$LINE" != x
; then
8516 eval "DEFAULT_$LINE"
8521 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8526 eval "$ac_cv_use_iff"
8527 if test "$no_cache" != 1; then
8528 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8531 if test "$wxUSE_IFF" = yes; then
8532 echo "$ac_t""yes" 1>&6
8534 echo "$ac_t""no" 1>&6
8539 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8540 echo "configure:8541: checking for --${enablestring:-enable}-pnm" >&5
8542 # Check whether --enable-pnm or --disable-pnm was given.
8543 if test "${enable_pnm+set}" = set; then
8544 enableval
="$enable_pnm"
8546 if test "$enableval" = yes; then
8547 ac_cv_use_pnm
='wxUSE_PNM=yes'
8549 ac_cv_use_pnm
='wxUSE_PNM=no'
8554 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8555 if test "x$LINE" != x
; then
8556 eval "DEFAULT_$LINE"
8561 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8566 eval "$ac_cv_use_pnm"
8567 if test "$no_cache" != 1; then
8568 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8571 if test "$wxUSE_PNM" = yes; then
8572 echo "$ac_t""yes" 1>&6
8574 echo "$ac_t""no" 1>&6
8579 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8580 echo "configure:8581: checking for --${enablestring:-enable}-xpm" >&5
8582 # Check whether --enable-xpm or --disable-xpm was given.
8583 if test "${enable_xpm+set}" = set; then
8584 enableval
="$enable_xpm"
8586 if test "$enableval" = yes; then
8587 ac_cv_use_xpm
='wxUSE_XPM=yes'
8589 ac_cv_use_xpm
='wxUSE_XPM=no'
8594 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8595 if test "x$LINE" != x
; then
8596 eval "DEFAULT_$LINE"
8601 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8606 eval "$ac_cv_use_xpm"
8607 if test "$no_cache" != 1; then
8608 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8611 if test "$wxUSE_XPM" = yes; then
8612 echo "$ac_t""yes" 1>&6
8614 echo "$ac_t""no" 1>&6
8619 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8620 echo "configure:8621: checking for --${enablestring:-enable}-ico_cur" >&5
8622 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8623 if test "${enable_ico_cur+set}" = set; then
8624 enableval
="$enable_ico_cur"
8626 if test "$enableval" = yes; then
8627 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8629 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8634 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8635 if test "x$LINE" != x
; then
8636 eval "DEFAULT_$LINE"
8641 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8646 eval "$ac_cv_use_ico_cur"
8647 if test "$no_cache" != 1; then
8648 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8651 if test "$wxUSE_ICO_CUR" = yes; then
8652 echo "$ac_t""yes" 1>&6
8654 echo "$ac_t""no" 1>&6
8661 *-pc-os2_emx | *-pc-os2-emx )
8673 echo "saving argument cache $wx_arg_cache_file"
8674 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8678 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8679 echo "configure:8680: checking for toolkit" >&5
8681 # In Wine, we need to default to MSW, not GTK or MOTIF
8682 if test "$wxUSE_WINE" = "yes"; then
8683 DEFAULT_DEFAULT_wxUSE_GTK
=0
8684 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8685 DEFAULT_DEFAULT_wxUSE_MSW
=1
8688 if test "$wxUSE_GUI" = "yes"; then
8690 if test "$USE_BEOS" = 1; then
8691 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8694 if test "$TOOLKIT_GIVEN" = 1; then
8695 for toolkit
in `echo $ALL_TOOLKITS`; do
8697 eval "value=\$${var}"
8698 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8701 for toolkit
in `echo $ALL_TOOLKITS`; do
8702 if test "$has_toolkit_in_cache" != 1; then
8703 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8705 var
=DEFAULT_wxUSE_
$toolkit
8707 eval "wxUSE_$toolkit=\$${var}"
8711 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8712 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8713 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8716 *-pc-os2_emx | *-pc-os2-emx )
8717 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8720 case "$NUM_TOOLKITS" in
8724 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8727 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8730 for toolkit
in `echo $ALL_TOOLKITS`; do
8732 eval "value=\$${var}"
8733 if test "x$value" != x
; then
8734 cache_var
=CACHE_
$toolkit
8735 eval "cache=\$${cache_var}"
8736 if test "$cache" = 1; then
8737 echo "$var=$value" >> ${wx_arg_cache_file}
8739 if test "$value" = 1; then
8740 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8741 echo "$ac_t""$toolkit_echo" 1>&6
8746 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8753 if test "$wxUSE_MSW" = 1 ; then
8764 if test "$wxUSE_WINE" = "yes"; then
8771 if test "$wants_win32" = 1 ; then
8774 cat >> confdefs.h
<<\EOF
8778 cat >> confdefs.h
<<\EOF
8782 cat >> confdefs.h
<<\EOF
8783 #define __WINDOWS__ 1
8786 cat >> confdefs.h
<<\EOF
8787 #define __GNUWIN32__ 1
8790 cat >> confdefs.h
<<\EOF
8794 cat >> confdefs.h
<<\EOF
8795 #define WINVER 0x0400
8799 if test "$doesnt_want_win32" = 1 ; then
8804 if test "$USE_UNIX" = 1 ; then
8806 cat >> confdefs.h
<<\EOF
8813 cat > confcache
<<\EOF
8814 # This file is a shell script that caches the results of configure
8815 # tests run on this system so they can be shared between configure
8816 # scripts and configure runs. It is not useful on other systems.
8817 # If it contains results you don't want to keep, you may remove or edit it.
8819 # By default, configure uses ./config.cache as the cache file,
8820 # creating it if it does not exist already. You can give configure
8821 # the --cache-file=FILE option to use a different cache file; that is
8822 # what configure does when it calls configure scripts in
8823 # subdirectories, so they share the cache.
8824 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8825 # config.status only pays attention to the cache file if you give it the
8826 # --recheck option to rerun configure.
8829 # The following way of writing the cache mishandles newlines in values,
8830 # but we know of no workaround that is simple, portable, and efficient.
8831 # So, don't put newlines in cache variables' values.
8832 # Ultrix sh set writes to stderr and can't be redirected directly,
8833 # and sets the high bit in the cache file unless we assign to the vars.
8835 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8837 # `set' does not quote correctly, so add quotes (double-quote substitution
8838 # turns \\\\ into \\, and sed turns \\ into \).
8840 -e "s/'/'\\\\''/g" \
8841 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8844 # `set' quotes correctly as required by POSIX, so do not add quotes.
8845 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8848 if cmp -s $cache_file confcache
; then
8851 if test -w $cache_file; then
8852 echo "updating cache $cache_file"
8853 cat confcache
> $cache_file
8855 echo "not updating unwritable cache $cache_file"
8861 if test "$build" != "$host" ; then
8862 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8866 RANLIB
=$host_alias-ranlib
8867 DLLTOOL
=$host_alias-dlltool
8868 RESCOMP
=$host_alias-windres
8871 STRIP
=$host_alias-strip
8873 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8878 # Extract the first word of "gcc", so it can be a program name with args.
8879 set dummy gcc
; ac_word
=$2
8880 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8881 echo "configure:8882: checking for $ac_word" >&5
8882 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8883 echo $ac_n "(cached) $ac_c" 1>&6
8885 if test -n "$CC"; then
8886 ac_cv_prog_CC
="$CC" # Let the user override the test.
8888 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8890 for ac_dir
in $ac_dummy; do
8891 test -z "$ac_dir" && ac_dir
=.
8892 if test -f $ac_dir/$ac_word; then
8901 if test -n "$CC"; then
8902 echo "$ac_t""$CC" 1>&6
8904 echo "$ac_t""no" 1>&6
8907 if test -z "$CC"; then
8908 # Extract the first word of "cc", so it can be a program name with args.
8909 set dummy cc
; ac_word
=$2
8910 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8911 echo "configure:8912: checking for $ac_word" >&5
8912 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8913 echo $ac_n "(cached) $ac_c" 1>&6
8915 if test -n "$CC"; then
8916 ac_cv_prog_CC
="$CC" # Let the user override the test.
8918 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8921 for ac_dir
in $ac_dummy; do
8922 test -z "$ac_dir" && ac_dir
=.
8923 if test -f $ac_dir/$ac_word; then
8924 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8925 ac_prog_rejected
=yes
8933 if test $ac_prog_rejected = yes; then
8934 # We found a bogon in the path, so make sure we never use it.
8935 set dummy
$ac_cv_prog_CC
8937 if test $# -gt 0; then
8938 # We chose a different compiler from the bogus one.
8939 # However, it has the same basename, so the bogon will be chosen
8940 # first if we set CC to just the basename; use the full file name.
8942 set dummy
"$ac_dir/$ac_word" "$@"
8950 if test -n "$CC"; then
8951 echo "$ac_t""$CC" 1>&6
8953 echo "$ac_t""no" 1>&6
8956 if test -z "$CC"; then
8957 case "`uname -s`" in
8959 # Extract the first word of "cl", so it can be a program name with args.
8960 set dummy cl
; ac_word
=$2
8961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8962 echo "configure:8963: checking for $ac_word" >&5
8963 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8964 echo $ac_n "(cached) $ac_c" 1>&6
8966 if test -n "$CC"; then
8967 ac_cv_prog_CC
="$CC" # Let the user override the test.
8969 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8971 for ac_dir
in $ac_dummy; do
8972 test -z "$ac_dir" && ac_dir
=.
8973 if test -f $ac_dir/$ac_word; then
8982 if test -n "$CC"; then
8983 echo "$ac_t""$CC" 1>&6
8985 echo "$ac_t""no" 1>&6
8990 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8993 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8994 echo "configure:8995: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8997 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8998 ac_cpp
='$CPP $CPPFLAGS'
8999 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9000 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9001 cross_compiling
=$ac_cv_prog_cc_cross
9003 cat > conftest.
$ac_ext << EOF
9005 #line 9006 "configure"
9006 #include "confdefs.h"
9010 if { (eval echo configure
:9011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9011 ac_cv_prog_cc_works
=yes
9012 # If we can't run a trivial program, we are probably using a cross compiler.
9013 if (.
/conftest
; exit) 2>/dev
/null
; then
9014 ac_cv_prog_cc_cross
=no
9016 ac_cv_prog_cc_cross
=yes
9019 echo "configure: failed program was:" >&5
9020 cat conftest.
$ac_ext >&5
9021 ac_cv_prog_cc_works
=no
9025 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9026 ac_cpp
='$CPP $CPPFLAGS'
9027 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9028 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9029 cross_compiling
=$ac_cv_prog_cc_cross
9031 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9032 if test $ac_cv_prog_cc_works = no
; then
9033 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9035 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9036 echo "configure:9037: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9037 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9038 cross_compiling
=$ac_cv_prog_cc_cross
9040 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9041 echo "configure:9042: checking whether we are using GNU C" >&5
9042 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9043 echo $ac_n "(cached) $ac_c" 1>&6
9045 cat > conftest.c
<<EOF
9050 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9051: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9057 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9059 if test $ac_cv_prog_gcc = yes; then
9065 ac_test_CFLAGS
="${CFLAGS+set}"
9066 ac_save_CFLAGS
="$CFLAGS"
9068 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9069 echo "configure:9070: checking whether ${CC-cc} accepts -g" >&5
9070 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9071 echo $ac_n "(cached) $ac_c" 1>&6
9073 echo 'void f(){}' > conftest.c
9074 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9083 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9084 if test "$ac_test_CFLAGS" = set; then
9085 CFLAGS
="$ac_save_CFLAGS"
9086 elif test $ac_cv_prog_cc_g = yes; then
9087 if test "$GCC" = yes; then
9093 if test "$GCC" = yes; then
9101 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9102 echo "configure:9103: checking how to run the C preprocessor" >&5
9103 # On Suns, sometimes $CPP names a directory.
9104 if test -n "$CPP" && test -d "$CPP"; then
9107 if test -z "$CPP"; then
9108 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9109 echo $ac_n "(cached) $ac_c" 1>&6
9111 # This must be in double quotes, not single quotes, because CPP may get
9112 # substituted into the Makefile and "${CC-cc}" will confuse make.
9114 # On the NeXT, cc -E runs the code through the compiler's parser,
9115 # not just through cpp.
9116 cat > conftest.
$ac_ext <<EOF
9117 #line 9118 "configure"
9118 #include "confdefs.h"
9122 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9123 { (eval echo configure
:9124: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9124 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9125 if test -z "$ac_err"; then
9129 echo "configure: failed program was:" >&5
9130 cat conftest.
$ac_ext >&5
9132 CPP
="${CC-cc} -E -traditional-cpp"
9133 cat > conftest.
$ac_ext <<EOF
9134 #line 9135 "configure"
9135 #include "confdefs.h"
9139 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9140 { (eval echo configure
:9141: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9141 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9142 if test -z "$ac_err"; then
9146 echo "configure: failed program was:" >&5
9147 cat conftest.
$ac_ext >&5
9149 CPP
="${CC-cc} -nologo -E"
9150 cat > conftest.
$ac_ext <<EOF
9151 #line 9152 "configure"
9152 #include "confdefs.h"
9156 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9157 { (eval echo configure
:9158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9158 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9159 if test -z "$ac_err"; then
9163 echo "configure: failed program was:" >&5
9164 cat conftest.
$ac_ext >&5
9173 ac_cv_prog_CPP
="$CPP"
9175 CPP
="$ac_cv_prog_CPP"
9177 ac_cv_prog_CPP
="$CPP"
9179 echo "$ac_t""$CPP" 1>&6
9181 if test $ac_cv_prog_gcc = yes; then
9182 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9183 echo "configure:9184: checking whether ${CC-cc} needs -traditional" >&5
9184 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9185 echo $ac_n "(cached) $ac_c" 1>&6
9187 ac_pattern
="Autoconf.*'x'"
9188 cat > conftest.
$ac_ext <<EOF
9189 #line 9190 "configure"
9190 #include "confdefs.h"
9194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9195 egrep "$ac_pattern" >/dev
/null
2>&1; then
9197 ac_cv_prog_gcc_traditional
=yes
9200 ac_cv_prog_gcc_traditional
=no
9205 if test $ac_cv_prog_gcc_traditional = no
; then
9206 cat > conftest.
$ac_ext <<EOF
9207 #line 9208 "configure"
9208 #include "confdefs.h"
9212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9213 egrep "$ac_pattern" >/dev
/null
2>&1; then
9215 ac_cv_prog_gcc_traditional
=yes
9222 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9223 if test $ac_cv_prog_gcc_traditional = yes; then
9224 CC
="$CC -traditional"
9231 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9232 ac_cpp
='$CXXCPP $CPPFLAGS'
9233 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9234 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9235 cross_compiling
=$ac_cv_prog_cxx_cross
9238 CXXFLAGS
=${CXXFLAGS:=}
9239 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9241 # Extract the first word of "$ac_prog", so it can be a program name with args.
9242 set dummy
$ac_prog; ac_word
=$2
9243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9244 echo "configure:9245: checking for $ac_word" >&5
9245 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9246 echo $ac_n "(cached) $ac_c" 1>&6
9248 if test -n "$CXX"; then
9249 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9251 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9253 for ac_dir
in $ac_dummy; do
9254 test -z "$ac_dir" && ac_dir
=.
9255 if test -f $ac_dir/$ac_word; then
9256 ac_cv_prog_CXX
="$ac_prog"
9263 CXX
="$ac_cv_prog_CXX"
9264 if test -n "$CXX"; then
9265 echo "$ac_t""$CXX" 1>&6
9267 echo "$ac_t""no" 1>&6
9270 test -n "$CXX" && break
9272 test -n "$CXX" || CXX
="gcc"
9275 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9276 echo "configure:9277: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9279 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9280 ac_cpp
='$CXXCPP $CPPFLAGS'
9281 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9282 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9283 cross_compiling
=$ac_cv_prog_cxx_cross
9285 cat > conftest.
$ac_ext << EOF
9287 #line 9288 "configure"
9288 #include "confdefs.h"
9290 int main(){return(0);}
9292 if { (eval echo configure
:9293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9293 ac_cv_prog_cxx_works
=yes
9294 # If we can't run a trivial program, we are probably using a cross compiler.
9295 if (.
/conftest
; exit) 2>/dev
/null
; then
9296 ac_cv_prog_cxx_cross
=no
9298 ac_cv_prog_cxx_cross
=yes
9301 echo "configure: failed program was:" >&5
9302 cat conftest.
$ac_ext >&5
9303 ac_cv_prog_cxx_works
=no
9307 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9308 ac_cpp
='$CXXCPP $CPPFLAGS'
9309 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9310 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9311 cross_compiling
=$ac_cv_prog_cxx_cross
9313 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9314 if test $ac_cv_prog_cxx_works = no
; then
9315 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9317 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9318 echo "configure:9319: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9319 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9320 cross_compiling
=$ac_cv_prog_cxx_cross
9322 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9323 echo "configure:9324: checking whether we are using GNU C++" >&5
9324 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9325 echo $ac_n "(cached) $ac_c" 1>&6
9327 cat > conftest.C
<<EOF
9332 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9333: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9339 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9341 if test $ac_cv_prog_gxx = yes; then
9347 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9348 ac_save_CXXFLAGS
="$CXXFLAGS"
9350 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9351 echo "configure:9352: checking whether ${CXX-g++} accepts -g" >&5
9352 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9353 echo $ac_n "(cached) $ac_c" 1>&6
9355 echo 'void f(){}' > conftest.cc
9356 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9357 ac_cv_prog_cxx_g
=yes
9365 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9366 if test "$ac_test_CXXFLAGS" = set; then
9367 CXXFLAGS
="$ac_save_CXXFLAGS"
9368 elif test $ac_cv_prog_cxx_g = yes; then
9369 if test "$GXX" = yes; then
9375 if test "$GXX" = yes; then
9384 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9385 ac_cpp
='$CPP $CPPFLAGS'
9386 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9387 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9388 cross_compiling
=$ac_cv_prog_cc_cross
9391 # Extract the first word of "ranlib", so it can be a program name with args.
9392 set dummy ranlib
; ac_word
=$2
9393 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9394 echo "configure:9395: checking for $ac_word" >&5
9395 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9396 echo $ac_n "(cached) $ac_c" 1>&6
9398 if test -n "$RANLIB"; then
9399 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9401 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9403 for ac_dir
in $ac_dummy; do
9404 test -z "$ac_dir" && ac_dir
=.
9405 if test -f $ac_dir/$ac_word; then
9406 ac_cv_prog_RANLIB
="ranlib"
9411 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9414 RANLIB
="$ac_cv_prog_RANLIB"
9415 if test -n "$RANLIB"; then
9416 echo "$ac_t""$RANLIB" 1>&6
9418 echo "$ac_t""no" 1>&6
9422 # Extract the first word of "ar", so it can be a program name with args.
9423 set dummy
ar; ac_word
=$2
9424 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9425 echo "configure:9426: checking for $ac_word" >&5
9426 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9427 echo $ac_n "(cached) $ac_c" 1>&6
9429 if test -n "$AR"; then
9430 ac_cv_prog_AR
="$AR" # Let the user override the test.
9432 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9434 for ac_dir
in $ac_dummy; do
9435 test -z "$ac_dir" && ac_dir
=.
9436 if test -f $ac_dir/$ac_word; then
9442 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9446 if test -n "$AR"; then
9447 echo "$ac_t""$AR" 1>&6
9449 echo "$ac_t""no" 1>&6
9453 # Find a good install program. We prefer a C program (faster),
9454 # so one script is as good as another. But avoid the broken or
9455 # incompatible versions:
9456 # SysV /etc/install, /usr/sbin/install
9457 # SunOS /usr/etc/install
9458 # IRIX /sbin/install
9460 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9461 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9462 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9463 # ./install, which can be erroneously created by make from ./install.sh.
9464 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9465 echo "configure:9466: checking for a BSD compatible install" >&5
9466 if test -z "$INSTALL"; then
9467 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9468 echo $ac_n "(cached) $ac_c" 1>&6
9470 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9471 for ac_dir
in $PATH; do
9472 # Account for people who put trailing slashes in PATH elements.
9474 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9476 # OSF1 and SCO ODT 3.0 have their own names for install.
9477 # Don't use installbsd from OSF since it installs stuff as root
9479 for ac_prog
in ginstall scoinst
install; do
9480 if test -f $ac_dir/$ac_prog; then
9481 if test $ac_prog = install &&
9482 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9483 # AIX install. It has an incompatible calling convention.
9486 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9497 if test "${ac_cv_path_install+set}" = set; then
9498 INSTALL
="$ac_cv_path_install"
9500 # As a last resort, use the slow shell script. We don't cache a
9501 # path for INSTALL within a source directory, because that will
9502 # break other packages using the cache if that directory is
9503 # removed, or if the path is relative.
9504 INSTALL
="$ac_install_sh"
9507 echo "$ac_t""$INSTALL" 1>&6
9509 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9510 # It thinks the first close brace ends the variable substitution.
9511 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9513 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9515 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9521 ?
:* ) # Drive letter, considered as absolute.
9524 INSTALL
=`pwd`/${INSTALL} ;;
9532 *) INSTALL_DIR
="$INSTALL -d"
9540 INSTALL_PROGRAM
="cp -fp"
9541 INSTALL_DATA
="cp -fp"
9547 # Extract the first word of "strip", so it can be a program name with args.
9548 set dummy strip
; ac_word
=$2
9549 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9550 echo "configure:9551: checking for $ac_word" >&5
9551 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9552 echo $ac_n "(cached) $ac_c" 1>&6
9554 if test -n "$STRIP"; then
9555 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9557 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9559 for ac_dir
in $ac_dummy; do
9560 test -z "$ac_dir" && ac_dir
=.
9561 if test -f $ac_dir/$ac_word; then
9562 ac_cv_prog_STRIP
="strip"
9567 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9570 STRIP
="$ac_cv_prog_STRIP"
9571 if test -n "$STRIP"; then
9572 echo "$ac_t""$STRIP" 1>&6
9574 echo "$ac_t""no" 1>&6
9578 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9579 echo "configure:9580: checking if make is GNU make" >&5
9580 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9581 echo $ac_n "(cached) $ac_c" 1>&6
9584 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9585 egrep -s GNU
> /dev
/null
); then
9586 wx_cv_prog_makeisgnu
="yes"
9588 wx_cv_prog_makeisgnu
="no"
9593 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9595 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9603 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9604 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9605 echo "configure:9606: checking if make supports VPATH" >&5
9606 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9607 echo $ac_n "(cached) $ac_c" 1>&6
9610 cat - << EOF > confMake
9616 if test ! -d sub
; then
9619 echo dummy
> sub
/file
9620 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9622 rm -f sub
/file check final_file confMake
9624 if test "$RESULT" = 0; then
9625 wx_cv_prog_makevpath
="yes"
9627 wx_cv_prog_makevpath
="no"
9632 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9634 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9635 { echo "configure: error:
9636 You need a make-utility that is able to use the variable
9638 If your version of make does not support VPATH correctly,
9639 please install GNU-make (possibly as gmake), and start
9640 configure with the following command:
9641 export MAKE=gmake; ./configure for sh-type shells
9642 setenv MAKE gmake; ./configure for csh-type shells
9643 Also please do remember to use gmake in this case every time
9644 you are trying to compile.
9647 for ac_prog
in 'bison -y' byacc
9649 # Extract the first word of "$ac_prog", so it can be a program name with args.
9650 set dummy
$ac_prog; ac_word
=$2
9651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9652 echo "configure:9653: checking for $ac_word" >&5
9653 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9654 echo $ac_n "(cached) $ac_c" 1>&6
9656 if test -n "$YACC"; then
9657 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9659 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9661 for ac_dir
in $ac_dummy; do
9662 test -z "$ac_dir" && ac_dir
=.
9663 if test -f $ac_dir/$ac_word; then
9664 ac_cv_prog_YACC
="$ac_prog"
9671 YACC
="$ac_cv_prog_YACC"
9672 if test -n "$YACC"; then
9673 echo "$ac_t""$YACC" 1>&6
9675 echo "$ac_t""no" 1>&6
9678 test -n "$YACC" && break
9680 test -n "$YACC" || YACC
="yacc"
9683 # Extract the first word of "flex", so it can be a program name with args.
9684 set dummy flex
; ac_word
=$2
9685 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9686 echo "configure:9687: checking for $ac_word" >&5
9687 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9688 echo $ac_n "(cached) $ac_c" 1>&6
9690 if test -n "$LEX"; then
9691 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9693 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9695 for ac_dir
in $ac_dummy; do
9696 test -z "$ac_dir" && ac_dir
=.
9697 if test -f $ac_dir/$ac_word; then
9698 ac_cv_prog_LEX
="flex"
9703 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9706 LEX
="$ac_cv_prog_LEX"
9707 if test -n "$LEX"; then
9708 echo "$ac_t""$LEX" 1>&6
9710 echo "$ac_t""no" 1>&6
9713 if test -z "$LEXLIB"
9719 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9720 echo "configure:9721: checking for yywrap in -l$ac_lib" >&5
9721 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9722 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9723 echo $ac_n "(cached) $ac_c" 1>&6
9725 ac_save_LIBS
="$LIBS"
9726 LIBS
="-l$ac_lib $LIBS"
9727 cat > conftest.
$ac_ext <<EOF
9728 #line 9729 "configure"
9729 #include "confdefs.h"
9730 /* Override any gcc2 internal prototype to avoid an error. */
9731 /* We use char because int might match the return type of a gcc2
9732 builtin and then its argument prototype would still apply. */
9739 if { (eval echo configure
:9740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9741 eval "ac_cv_lib_$ac_lib_var=yes"
9743 echo "configure: failed program was:" >&5
9744 cat conftest.
$ac_ext >&5
9746 eval "ac_cv_lib_$ac_lib_var=no"
9749 LIBS
="$ac_save_LIBS"
9752 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9753 echo "$ac_t""yes" 1>&6
9756 echo "$ac_t""no" 1>&6
9762 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9763 echo "configure:9764: checking whether ln -s works" >&5
9764 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9765 echo $ac_n "(cached) $ac_c" 1>&6
9768 if ln -s X conftestdata
2>/dev
/null
9771 ac_cv_prog_LN_S
="ln -s"
9776 LN_S
="$ac_cv_prog_LN_S"
9777 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9778 echo "$ac_t""yes" 1>&6
9780 echo "$ac_t""no" 1>&6
9785 *-pc-os2_emx | *-pc-os2-emx )
9786 LIBS
="$LIBS -lstdcpp"
9787 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9788 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9789 echo "configure:9790: checking for drand48 in -lcExt" >&5
9790 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9792 echo $ac_n "(cached) $ac_c" 1>&6
9794 ac_save_LIBS
="$LIBS"
9796 cat > conftest.
$ac_ext <<EOF
9797 #line 9798 "configure"
9798 #include "confdefs.h"
9799 /* Override any gcc2 internal prototype to avoid an error. */
9800 /* We use char because int might match the return type of a gcc2
9801 builtin and then its argument prototype would still apply. */
9808 if { (eval echo configure
:9809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9810 eval "ac_cv_lib_$ac_lib_var=yes"
9812 echo "configure: failed program was:" >&5
9813 cat conftest.
$ac_ext >&5
9815 eval "ac_cv_lib_$ac_lib_var=no"
9818 LIBS
="$ac_save_LIBS"
9821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9822 echo "$ac_t""yes" 1>&6
9825 echo "$ac_t""no" 1>&6
9829 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9835 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9836 for ac_hdr
in strings.h
9838 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9839 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9840 echo "configure:9841: checking for $ac_hdr" >&5
9841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9842 echo $ac_n "(cached) $ac_c" 1>&6
9844 cat > conftest.
$ac_ext <<EOF
9845 #line 9846 "configure"
9846 #include "confdefs.h"
9849 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9850 { (eval echo configure
:9851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9851 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9852 if test -z "$ac_err"; then
9854 eval "ac_cv_header_$ac_safe=yes"
9857 echo "configure: failed program was:" >&5
9858 cat conftest.
$ac_ext >&5
9860 eval "ac_cv_header_$ac_safe=no"
9864 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9865 echo "$ac_t""yes" 1>&6
9866 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9867 cat >> confdefs.h
<<EOF
9868 #define $ac_tr_hdr 1
9872 echo "$ac_t""no" 1>&6
9878 for ac_hdr
in stdlib.h
9880 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9881 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9882 echo "configure:9883: checking for $ac_hdr" >&5
9883 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9884 echo $ac_n "(cached) $ac_c" 1>&6
9886 cat > conftest.
$ac_ext <<EOF
9887 #line 9888 "configure"
9888 #include "confdefs.h"
9891 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9892 { (eval echo configure
:9893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9893 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9894 if test -z "$ac_err"; then
9896 eval "ac_cv_header_$ac_safe=yes"
9899 echo "configure: failed program was:" >&5
9900 cat conftest.
$ac_ext >&5
9902 eval "ac_cv_header_$ac_safe=no"
9906 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9907 echo "$ac_t""yes" 1>&6
9908 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9909 cat >> confdefs.h
<<EOF
9910 #define $ac_tr_hdr 1
9914 echo "$ac_t""no" 1>&6
9918 for ac_hdr
in malloc.h
9920 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9921 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9922 echo "configure:9923: checking for $ac_hdr" >&5
9923 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9924 echo $ac_n "(cached) $ac_c" 1>&6
9926 cat > conftest.
$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9931 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9932 { (eval echo configure
:9933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9933 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9934 if test -z "$ac_err"; then
9936 eval "ac_cv_header_$ac_safe=yes"
9939 echo "configure: failed program was:" >&5
9940 cat conftest.
$ac_ext >&5
9942 eval "ac_cv_header_$ac_safe=no"
9946 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9947 echo "$ac_t""yes" 1>&6
9948 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9949 cat >> confdefs.h
<<EOF
9950 #define $ac_tr_hdr 1
9954 echo "$ac_t""no" 1>&6
9958 for ac_hdr
in unistd.h
9960 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9961 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9962 echo "configure:9963: checking for $ac_hdr" >&5
9963 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9964 echo $ac_n "(cached) $ac_c" 1>&6
9966 cat > conftest.
$ac_ext <<EOF
9967 #line 9968 "configure"
9968 #include "confdefs.h"
9971 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9972 { (eval echo configure
:9973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9973 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9974 if test -z "$ac_err"; then
9976 eval "ac_cv_header_$ac_safe=yes"
9979 echo "configure: failed program was:" >&5
9980 cat conftest.
$ac_ext >&5
9982 eval "ac_cv_header_$ac_safe=no"
9986 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9987 echo "$ac_t""yes" 1>&6
9988 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9989 cat >> confdefs.h
<<EOF
9990 #define $ac_tr_hdr 1
9994 echo "$ac_t""no" 1>&6
9998 for ac_hdr
in wchar.h
10000 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10001 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10002 echo "configure:10003: checking for $ac_hdr" >&5
10003 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10004 echo $ac_n "(cached) $ac_c" 1>&6
10006 cat > conftest.
$ac_ext <<EOF
10007 #line 10008 "configure"
10008 #include "confdefs.h"
10011 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10012 { (eval echo configure
:10013: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10013 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10014 if test -z "$ac_err"; then
10016 eval "ac_cv_header_$ac_safe=yes"
10019 echo "configure: failed program was:" >&5
10020 cat conftest.
$ac_ext >&5
10022 eval "ac_cv_header_$ac_safe=no"
10026 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10027 echo "$ac_t""yes" 1>&6
10028 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10029 cat >> confdefs.h
<<EOF
10030 #define $ac_tr_hdr 1
10034 echo "$ac_t""no" 1>&6
10039 if test "$ac_cv_header_wchar_h" != "yes"; then
10040 for ac_hdr
in wcstr.h
10042 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10043 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10044 echo "configure:10045: checking for $ac_hdr" >&5
10045 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10046 echo $ac_n "(cached) $ac_c" 1>&6
10048 cat > conftest.
$ac_ext <<EOF
10049 #line 10050 "configure"
10050 #include "confdefs.h"
10053 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10054 { (eval echo configure
:10055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10055 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10056 if test -z "$ac_err"; then
10058 eval "ac_cv_header_$ac_safe=yes"
10061 echo "configure: failed program was:" >&5
10062 cat conftest.
$ac_ext >&5
10064 eval "ac_cv_header_$ac_safe=no"
10068 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10069 echo "$ac_t""yes" 1>&6
10070 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10071 cat >> confdefs.h
<<EOF
10072 #define $ac_tr_hdr 1
10076 echo "$ac_t""no" 1>&6
10082 for ac_hdr
in fnmatch.h
10084 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10085 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10086 echo "configure:10087: checking for $ac_hdr" >&5
10087 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10088 echo $ac_n "(cached) $ac_c" 1>&6
10090 cat > conftest.
$ac_ext <<EOF
10091 #line 10092 "configure"
10092 #include "confdefs.h"
10095 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10096 { (eval echo configure
:10097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10097 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10098 if test -z "$ac_err"; then
10100 eval "ac_cv_header_$ac_safe=yes"
10103 echo "configure: failed program was:" >&5
10104 cat conftest.
$ac_ext >&5
10106 eval "ac_cv_header_$ac_safe=no"
10110 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10111 echo "$ac_t""yes" 1>&6
10112 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10113 cat >> confdefs.h
<<EOF
10114 #define $ac_tr_hdr 1
10118 echo "$ac_t""no" 1>&6
10123 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10124 for ac_func
in fnmatch
10126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10127 echo "configure:10128: checking for $ac_func" >&5
10128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10129 echo $ac_n "(cached) $ac_c" 1>&6
10131 cat > conftest.
$ac_ext <<EOF
10132 #line 10133 "configure"
10133 #include "confdefs.h"
10134 /* System header to define __stub macros and hopefully few prototypes,
10135 which can conflict with char $ac_func(); below. */
10136 #include <assert.h>
10137 /* Override any gcc2 internal prototype to avoid an error. */
10138 /* We use char because int might match the return type of a gcc2
10139 builtin and then its argument prototype would still apply. */
10144 /* The GNU C library defines this for functions which it implements
10145 to always fail with ENOSYS. Some functions are actually named
10146 something starting with __ and the normal name is an alias. */
10147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10155 if { (eval echo configure
:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10157 eval "ac_cv_func_$ac_func=yes"
10159 echo "configure: failed program was:" >&5
10160 cat conftest.
$ac_ext >&5
10162 eval "ac_cv_func_$ac_func=no"
10167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10168 echo "$ac_t""yes" 1>&6
10169 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10170 cat >> confdefs.h
<<EOF
10171 #define $ac_tr_func 1
10175 echo "$ac_t""no" 1>&6
10181 for ac_hdr
in langinfo.h
10183 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10184 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10185 echo "configure:10186: checking for $ac_hdr" >&5
10186 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10187 echo $ac_n "(cached) $ac_c" 1>&6
10189 cat > conftest.
$ac_ext <<EOF
10190 #line 10191 "configure"
10191 #include "confdefs.h"
10194 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10195 { (eval echo configure
:10196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10196 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10197 if test -z "$ac_err"; then
10199 eval "ac_cv_header_$ac_safe=yes"
10202 echo "configure: failed program was:" >&5
10203 cat conftest.
$ac_ext >&5
10205 eval "ac_cv_header_$ac_safe=no"
10209 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10210 echo "$ac_t""yes" 1>&6
10211 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10212 cat >> confdefs.h
<<EOF
10213 #define $ac_tr_hdr 1
10217 echo "$ac_t""no" 1>&6
10223 *-pc-os2_emx | *-pc-os2-emx )
10224 if test $ac_cv_header_langinfo_h = "yes"; then
10225 LIBS
="$LIBS -lintl"
10230 if test "$wxUSE_GUI" = "yes"; then
10231 if test "$wxUSE_UNIX" = "yes"; then
10232 for ac_hdr
in X
11/XKBlib.h
10234 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10235 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10236 echo "configure:10237: checking for $ac_hdr" >&5
10237 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10238 echo $ac_n "(cached) $ac_c" 1>&6
10240 cat > conftest.
$ac_ext <<EOF
10241 #line 10242 "configure"
10242 #include "confdefs.h"
10245 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10246 { (eval echo configure
:10247: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10247 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10248 if test -z "$ac_err"; then
10250 eval "ac_cv_header_$ac_safe=yes"
10253 echo "configure: failed program was:" >&5
10254 cat conftest.
$ac_ext >&5
10256 eval "ac_cv_header_$ac_safe=no"
10260 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10261 echo "$ac_t""yes" 1>&6
10262 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10263 cat >> confdefs.h
<<EOF
10264 #define $ac_tr_hdr 1
10268 echo "$ac_t""no" 1>&6
10276 echo $ac_n "checking for working const""... $ac_c" 1>&6
10277 echo "configure:10278: checking for working const" >&5
10278 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10279 echo $ac_n "(cached) $ac_c" 1>&6
10281 cat > conftest.
$ac_ext <<EOF
10282 #line 10283 "configure"
10283 #include "confdefs.h"
10287 /* Ultrix mips cc rejects this. */
10288 typedef int charset[2]; const charset x;
10289 /* SunOS 4.1.1 cc rejects this. */
10290 char const *const *ccp;
10292 /* NEC SVR4.0.2 mips cc rejects this. */
10293 struct point {int x, y;};
10294 static struct point const zero = {0,0};
10295 /* AIX XL C 1.02.0.0 rejects this.
10296 It does not let you subtract one const X* pointer from another in an arm
10297 of an if-expression whose if-part is not a constant expression */
10298 const char *g = "string";
10299 ccp = &g + (g ? g-g : 0);
10300 /* HPUX 7.0 cc rejects these. */
10303 ccp = (char const *const *) p;
10304 { /* SCO 3.2v4 cc rejects this. */
10306 char const *s = 0 ? (char *) 0 : (char const *) 0;
10310 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10311 int x[] = {25, 17};
10312 const int *foo = &x[0];
10315 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10316 typedef const int *iptr;
10320 { /* AIX XL C 1.02.0.0 rejects this saying
10321 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10322 struct s { int j; const int *ap[3]; };
10323 struct s *b; b->j = 5;
10325 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10326 const int foo = 10;
10331 if { (eval echo configure
:10332: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10335 echo "configure: failed program was:" >&5
10336 cat conftest.
$ac_ext >&5
10343 echo "$ac_t""$ac_cv_c_const" 1>&6
10344 if test $ac_cv_c_const = no
; then
10345 cat >> confdefs.h
<<\EOF
10351 echo $ac_n "checking for inline""... $ac_c" 1>&6
10352 echo "configure:10353: checking for inline" >&5
10353 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10354 echo $ac_n "(cached) $ac_c" 1>&6
10357 for ac_kw
in inline __inline__ __inline
; do
10358 cat > conftest.
$ac_ext <<EOF
10359 #line 10360 "configure"
10360 #include "confdefs.h"
10366 if { (eval echo configure
:10367: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10368 ac_cv_c_inline
=$ac_kw; break
10370 echo "configure: failed program was:" >&5
10371 cat conftest.
$ac_ext >&5
10378 echo "$ac_t""$ac_cv_c_inline" 1>&6
10379 case "$ac_cv_c_inline" in
10381 no
) cat >> confdefs.h
<<\EOF
10385 *) cat >> confdefs.h
<<EOF
10386 #define inline $ac_cv_c_inline
10392 echo $ac_n "checking size of char""... $ac_c" 1>&6
10393 echo "configure:10394: checking size of char" >&5
10394 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10395 echo $ac_n "(cached) $ac_c" 1>&6
10397 if test "$cross_compiling" = yes; then
10398 ac_cv_sizeof_char
=1
10400 cat > conftest.
$ac_ext <<EOF
10401 #line 10402 "configure"
10402 #include "confdefs.h"
10404 #include <sys/types.h>
10407 FILE *f=fopen("conftestval", "w");
10409 fprintf(f, "%d\n", sizeof(char));
10413 if { (eval echo configure
:10414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10415 ac_cv_sizeof_char
=`cat conftestval`
10417 echo "configure: failed program was:" >&5
10418 cat conftest.
$ac_ext >&5
10420 ac_cv_sizeof_char
=0
10426 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10427 cat >> confdefs.h
<<EOF
10428 #define SIZEOF_CHAR $ac_cv_sizeof_char
10432 echo $ac_n "checking size of short""... $ac_c" 1>&6
10433 echo "configure:10434: checking size of short" >&5
10434 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10435 echo $ac_n "(cached) $ac_c" 1>&6
10437 if test "$cross_compiling" = yes; then
10438 ac_cv_sizeof_short
=2
10440 cat > conftest.
$ac_ext <<EOF
10441 #line 10442 "configure"
10442 #include "confdefs.h"
10444 #include <sys/types.h>
10447 FILE *f=fopen("conftestval", "w");
10449 fprintf(f, "%d\n", sizeof(short));
10453 if { (eval echo configure
:10454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10455 ac_cv_sizeof_short
=`cat conftestval`
10457 echo "configure: failed program was:" >&5
10458 cat conftest.
$ac_ext >&5
10460 ac_cv_sizeof_short
=0
10466 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10467 cat >> confdefs.h
<<EOF
10468 #define SIZEOF_SHORT $ac_cv_sizeof_short
10472 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10473 echo "configure:10474: checking size of void *" >&5
10474 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10475 echo $ac_n "(cached) $ac_c" 1>&6
10477 if test "$cross_compiling" = yes; then
10478 ac_cv_sizeof_void_p
=4
10480 cat > conftest.
$ac_ext <<EOF
10481 #line 10482 "configure"
10482 #include "confdefs.h"
10484 #include <sys/types.h>
10487 FILE *f=fopen("conftestval", "w");
10489 fprintf(f, "%d\n", sizeof(void *));
10493 if { (eval echo configure
:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10495 ac_cv_sizeof_void_p
=`cat conftestval`
10497 echo "configure: failed program was:" >&5
10498 cat conftest.
$ac_ext >&5
10500 ac_cv_sizeof_void_p
=0
10506 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10507 cat >> confdefs.h
<<EOF
10508 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10512 echo $ac_n "checking size of int""... $ac_c" 1>&6
10513 echo "configure:10514: checking size of int" >&5
10514 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10515 echo $ac_n "(cached) $ac_c" 1>&6
10517 if test "$cross_compiling" = yes; then
10520 cat > conftest.
$ac_ext <<EOF
10521 #line 10522 "configure"
10522 #include "confdefs.h"
10524 #include <sys/types.h>
10527 FILE *f=fopen("conftestval", "w");
10529 fprintf(f, "%d\n", sizeof(int));
10533 if { (eval echo configure
:10534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10535 ac_cv_sizeof_int
=`cat conftestval`
10537 echo "configure: failed program was:" >&5
10538 cat conftest.
$ac_ext >&5
10546 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10547 cat >> confdefs.h
<<EOF
10548 #define SIZEOF_INT $ac_cv_sizeof_int
10552 echo $ac_n "checking size of long""... $ac_c" 1>&6
10553 echo "configure:10554: checking size of long" >&5
10554 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10555 echo $ac_n "(cached) $ac_c" 1>&6
10557 if test "$cross_compiling" = yes; then
10558 ac_cv_sizeof_long
=4
10560 cat > conftest.
$ac_ext <<EOF
10561 #line 10562 "configure"
10562 #include "confdefs.h"
10564 #include <sys/types.h>
10567 FILE *f=fopen("conftestval", "w");
10569 fprintf(f, "%d\n", sizeof(long));
10573 if { (eval echo configure
:10574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10575 ac_cv_sizeof_long
=`cat conftestval`
10577 echo "configure: failed program was:" >&5
10578 cat conftest.
$ac_ext >&5
10580 ac_cv_sizeof_long
=0
10586 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10587 cat >> confdefs.h
<<EOF
10588 #define SIZEOF_LONG $ac_cv_sizeof_long
10595 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10596 echo "configure:10597: checking size of long long" >&5
10597 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10598 echo $ac_n "(cached) $ac_c" 1>&6
10600 if test "$cross_compiling" = yes; then
10601 ac_cv_sizeof_long_long
=8
10603 cat > conftest.
$ac_ext <<EOF
10604 #line 10605 "configure"
10605 #include "confdefs.h"
10607 #include <sys/types.h>
10610 FILE *f=fopen("conftestval", "w");
10612 fprintf(f, "%d\n", sizeof(long long));
10616 if { (eval echo configure
:10617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10618 ac_cv_sizeof_long_long
=`cat conftestval`
10620 echo "configure: failed program was:" >&5
10621 cat conftest.
$ac_ext >&5
10623 ac_cv_sizeof_long_long
=0
10629 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10630 cat >> confdefs.h
<<EOF
10631 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10637 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10638 echo "configure:10639: checking size of long long" >&5
10639 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10640 echo $ac_n "(cached) $ac_c" 1>&6
10642 if test "$cross_compiling" = yes; then
10643 ac_cv_sizeof_long_long
=0
10645 cat > conftest.
$ac_ext <<EOF
10646 #line 10647 "configure"
10647 #include "confdefs.h"
10649 #include <sys/types.h>
10652 FILE *f=fopen("conftestval", "w");
10654 fprintf(f, "%d\n", sizeof(long long));
10658 if { (eval echo configure
:10659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10660 ac_cv_sizeof_long_long
=`cat conftestval`
10662 echo "configure: failed program was:" >&5
10663 cat conftest.
$ac_ext >&5
10665 ac_cv_sizeof_long_long
=0
10671 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10672 cat >> confdefs.h
<<EOF
10673 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10677 if test "$ac_cv_sizeof_long_long" != "0"; then
10678 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10682 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10683 echo "configure:10684: checking size of long long" >&5
10684 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10685 echo $ac_n "(cached) $ac_c" 1>&6
10687 if test "$cross_compiling" = yes; then
10688 ac_cv_sizeof_long_long
=0
10690 cat > conftest.
$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10694 #include <sys/types.h>
10697 FILE *f=fopen("conftestval", "w");
10699 fprintf(f, "%d\n", sizeof(long long));
10703 if { (eval echo configure
:10704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10705 ac_cv_sizeof_long_long
=`cat conftestval`
10707 echo "configure: failed program was:" >&5
10708 cat conftest.
$ac_ext >&5
10710 ac_cv_sizeof_long_long
=0
10716 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10717 cat >> confdefs.h
<<EOF
10718 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10724 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10725 echo "configure:10726: checking size of wchar_t" >&5
10726 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10727 echo $ac_n "(cached) $ac_c" 1>&6
10730 if test "$cross_compiling" = yes; then
10734 wx_cv_sizeof_wchar_t
=0
10737 wx_cv_sizeof_wchar_t
=4
10743 cat > conftest.
$ac_ext <<EOF
10744 #line 10745 "configure"
10745 #include "confdefs.h"
10747 /* DJGPP only has fake wchar_t: */
10749 # error "fake wchar_t"
10751 #ifdef HAVE_WCHAR_H
10753 # include <stddef.h>
10755 # include <wchar.h>
10757 #ifdef HAVE_STDLIB_H
10758 # include <stdlib.h>
10763 FILE *f=fopen("conftestval", "w");
10765 fprintf(f, "%i", sizeof(wchar_t));
10770 if { (eval echo configure
:10771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10772 wx_cv_sizeof_wchar_t
=`cat conftestval`
10774 echo "configure: failed program was:" >&5
10775 cat conftest.
$ac_ext >&5
10777 wx_cv_sizeof_wchar_t
=0
10785 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10787 cat >> confdefs.h
<<EOF
10788 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10792 # Check whether --enable-largefile or --disable-largefile was given.
10793 if test "${enable_largefile+set}" = set; then
10794 enableval
="$enable_largefile"
10798 if test "$enable_largefile" != no
; then
10801 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10802 echo "configure:10803: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10803 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10804 echo $ac_n "(cached) $ac_c" 1>&6
10807 cat > conftest.
$ac_ext <<EOF
10808 #line 10809 "configure"
10809 #include "confdefs.h"
10810 #define _FILE_OFFSET_BITS 64
10811 #include <sys/types.h>
10814 unsigned int field: sizeof(off_t) == 8;
10819 if { (eval echo configure
:10820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10821 ac_cv_sys_file_offset_bits
=64
10823 echo "configure: failed program was:" >&5
10824 cat conftest.
$ac_ext >&5
10826 ac_cv_sys_file_offset_bits
=no
10833 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10835 if test "$ac_cv_sys_file_offset_bits" != no
; then
10837 cat >> confdefs.h
<<EOF
10838 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10843 if test "x$wx_largefile" != "xyes"; then
10845 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10846 echo "configure:10847: checking for _LARGE_FILES value needed for large files" >&5
10847 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10848 echo $ac_n "(cached) $ac_c" 1>&6
10851 cat > conftest.
$ac_ext <<EOF
10852 #line 10853 "configure"
10853 #include "confdefs.h"
10854 #define _LARGE_FILES 1
10855 #include <sys/types.h>
10858 unsigned int field: sizeof(off_t) == 8;
10863 if { (eval echo configure
:10864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10865 ac_cv_sys_large_files
=1
10867 echo "configure: failed program was:" >&5
10868 cat conftest.
$ac_ext >&5
10870 ac_cv_sys_large_files
=no
10877 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10879 if test "$ac_cv_sys_large_files" != no
; then
10881 cat >> confdefs.h
<<EOF
10882 #define _LARGE_FILES $ac_cv_sys_large_files
10889 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10890 echo "configure:10891: checking if large file support is available" >&5
10891 if test "x$wx_largefile" = "xyes"; then
10892 cat >> confdefs.h
<<\EOF
10893 #define HAVE_LARGEFILE_SUPPORT 1
10897 echo "$ac_t""$wx_largefile" 1>&6
10901 if test "x$wx_largefile" = "xyes"; then
10902 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10903 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10905 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10907 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10910 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10911 echo "configure:10912: checking whether byte ordering is bigendian" >&5
10912 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10913 echo $ac_n "(cached) $ac_c" 1>&6
10915 ac_cv_c_bigendian
=unknown
10916 # See if sys/param.h defines the BYTE_ORDER macro.
10917 cat > conftest.
$ac_ext <<EOF
10918 #line 10919 "configure"
10919 #include "confdefs.h"
10920 #include <sys/types.h>
10921 #include <sys/param.h>
10924 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10925 bogus endian macros
10929 if { (eval echo configure
:10930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10931 # It does; now see whether it defined to BIG_ENDIAN or not.
10932 cat > conftest.
$ac_ext <<EOF
10933 #line 10934 "configure"
10934 #include "confdefs.h"
10935 #include <sys/types.h>
10936 #include <sys/param.h>
10939 #if BYTE_ORDER != BIG_ENDIAN
10944 if { (eval echo configure
:10945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10946 ac_cv_c_bigendian
=yes
10948 echo "configure: failed program was:" >&5
10949 cat conftest.
$ac_ext >&5
10951 ac_cv_c_bigendian
=no
10955 echo "configure: failed program was:" >&5
10956 cat conftest.
$ac_ext >&5
10959 if test $ac_cv_c_bigendian = unknown
; then
10960 if test "$cross_compiling" = yes; then
10961 ac_cv_c_bigendian
=unknown
10963 cat > conftest.
$ac_ext <<EOF
10964 #line 10965 "configure"
10965 #include "confdefs.h"
10967 /* Are we little or big endian? From Harbison&Steele. */
10971 char c[sizeof (long)];
10974 exit (u.c[sizeof (long) - 1] == 1);
10977 if { (eval echo configure
:10978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10979 ac_cv_c_bigendian
=no
10981 echo "configure: failed program was:" >&5
10982 cat conftest.
$ac_ext >&5
10984 ac_cv_c_bigendian
=yes
10992 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10993 if test $ac_cv_c_bigendian = unknown
; then
10994 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
10996 if test $ac_cv_c_bigendian = yes; then
10997 cat >> confdefs.h
<<\EOF
10998 #define WORDS_BIGENDIAN 1
11004 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11005 echo "configure:11006: checking how to run the C++ preprocessor" >&5
11006 if test -z "$CXXCPP"; then
11007 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11008 echo $ac_n "(cached) $ac_c" 1>&6
11011 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11012 ac_cpp
='$CXXCPP $CPPFLAGS'
11013 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11014 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11015 cross_compiling
=$ac_cv_prog_cxx_cross
11016 CXXCPP
="${CXX-g++} -E"
11017 cat > conftest.
$ac_ext <<EOF
11018 #line 11019 "configure"
11019 #include "confdefs.h"
11020 #include <stdlib.h>
11022 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11023 { (eval echo configure
:11024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11024 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11025 if test -z "$ac_err"; then
11029 echo "configure: failed program was:" >&5
11030 cat conftest.
$ac_ext >&5
11035 ac_cv_prog_CXXCPP
="$CXXCPP"
11037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11038 ac_cpp
='$CXXCPP $CPPFLAGS'
11039 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11040 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11041 cross_compiling
=$ac_cv_prog_cxx_cross
11044 CXXCPP
="$ac_cv_prog_CXXCPP"
11045 echo "$ac_t""$CXXCPP" 1>&6
11048 if test "$cross_compiling" = "yes"; then
11049 cat >> confdefs.h
<<\EOF
11050 #define wxUSE_IOSTREAMH 1
11056 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11057 ac_cpp
='$CXXCPP $CPPFLAGS'
11058 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11059 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11060 cross_compiling
=$ac_cv_prog_cxx_cross
11063 for ac_hdr
in iostream
11065 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11066 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11067 echo "configure:11068: checking for $ac_hdr" >&5
11068 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11069 echo $ac_n "(cached) $ac_c" 1>&6
11071 cat > conftest.
$ac_ext <<EOF
11072 #line 11073 "configure"
11073 #include "confdefs.h"
11076 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11077 { (eval echo configure
:11078: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11078 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11079 if test -z "$ac_err"; then
11081 eval "ac_cv_header_$ac_safe=yes"
11084 echo "configure: failed program was:" >&5
11085 cat conftest.
$ac_ext >&5
11087 eval "ac_cv_header_$ac_safe=no"
11091 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11092 echo "$ac_t""yes" 1>&6
11093 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11094 cat >> confdefs.h
<<EOF
11095 #define $ac_tr_hdr 1
11099 echo "$ac_t""no" 1>&6
11104 if test "$ac_cv_header_iostream" = "yes" ; then
11107 cat >> confdefs.h
<<\EOF
11108 #define wxUSE_IOSTREAMH 1
11114 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11115 ac_cpp
='$CPP $CPPFLAGS'
11116 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11117 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11118 cross_compiling
=$ac_cv_prog_cc_cross
11124 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11125 echo "configure:11126: checking if C++ compiler supports bool" >&5
11126 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11127 echo $ac_n "(cached) $ac_c" 1>&6
11132 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11133 ac_cpp
='$CXXCPP $CPPFLAGS'
11134 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11135 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11136 cross_compiling
=$ac_cv_prog_cxx_cross
11139 cat > conftest.
$ac_ext <<EOF
11140 #line 11141 "configure"
11141 #include "confdefs.h"
11152 if { (eval echo configure
:11153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11158 echo "configure: failed program was:" >&5
11159 cat conftest.
$ac_ext >&5
11169 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11170 ac_cpp
='$CPP $CPPFLAGS'
11171 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11172 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11173 cross_compiling
=$ac_cv_prog_cc_cross
11178 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11180 if test "$wx_cv_cpp_bool" = "yes"; then
11181 cat >> confdefs.h
<<\EOF
11182 #define HAVE_BOOL 1
11189 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11190 echo "configure:11191: checking if C++ compiler supports the explicit keyword" >&5
11191 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11192 echo $ac_n "(cached) $ac_c" 1>&6
11197 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11198 ac_cpp
='$CXXCPP $CPPFLAGS'
11199 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11200 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11201 cross_compiling
=$ac_cv_prog_cxx_cross
11204 cat > conftest.
$ac_ext <<EOF
11205 #line 11206 "configure"
11206 #include "confdefs.h"
11208 class Foo { public: explicit Foo(int) {} };
11216 if { (eval echo configure
:11217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11219 cat > conftest.
$ac_ext <<EOF
11220 #line 11221 "configure"
11221 #include "confdefs.h"
11223 class Foo { public: explicit Foo(int) {} };
11224 static void TakeFoo(const Foo& foo) { }
11233 if { (eval echo configure
:11234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11237 echo "configure: failed program was:" >&5
11238 cat conftest.
$ac_ext >&5
11246 echo "configure: failed program was:" >&5
11247 cat conftest.
$ac_ext >&5
11255 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11256 ac_cpp
='$CPP $CPPFLAGS'
11257 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11258 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11259 cross_compiling
=$ac_cv_prog_cc_cross
11264 echo "$ac_t""$wx_cv_explicit" 1>&6
11266 if test "$wx_cv_explicit" = "yes"; then
11267 cat >> confdefs.h
<<\EOF
11268 #define HAVE_EXPLICIT 1
11274 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11275 echo "configure:11276: checking whether the compiler supports const_cast<>" >&5
11276 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11277 echo $ac_n "(cached) $ac_c" 1>&6
11281 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11282 ac_cpp
='$CXXCPP $CPPFLAGS'
11283 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11284 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11285 cross_compiling
=$ac_cv_prog_cxx_cross
11287 cat > conftest.
$ac_ext <<EOF
11288 #line 11289 "configure"
11289 #include "confdefs.h"
11292 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11295 if { (eval echo configure
:11296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11297 ac_cv_cxx_const_cast
=yes
11299 echo "configure: failed program was:" >&5
11300 cat conftest.
$ac_ext >&5
11302 ac_cv_cxx_const_cast
=no
11306 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11307 ac_cpp
='$CPP $CPPFLAGS'
11308 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11309 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11310 cross_compiling
=$ac_cv_prog_cc_cross
11315 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11316 if test "$ac_cv_cxx_const_cast" = yes; then
11317 cat >> confdefs.h
<<\EOF
11318 #define HAVE_CONST_CAST
11326 /usr/local/include \
11328 /usr/Motif-1.2/include \
11329 /usr/Motif-2.1/include \
11331 /usr/include/Motif1.2 \
11332 /opt/xpm/include/X11 \
11333 /opt/GBxpm/include/ \
11334 /opt/GBxpm/X11/include/ \
11336 /usr/Motif1.2/include \
11338 /usr/openwin/include \
11342 /usr/X11R6/include \
11343 /usr/X11R6.4/include \
11344 /usr/X11R5/include \
11345 /usr/X11R4/include \
11347 /usr/include/X11R6 \
11348 /usr/include/X11R5 \
11349 /usr/include/X11R4 \
11351 /usr/local/X11R6/include \
11352 /usr/local/X11R5/include \
11353 /usr/local/X11R4/include \
11355 /usr/local/include/X11R6 \
11356 /usr/local/include/X11R5 \
11357 /usr/local/include/X11R4 \
11361 /usr/local/X11/include \
11362 /usr/local/include/X11 \
11364 /usr/X386/include \
11365 /usr/x386/include \
11366 /usr/XFree86/include/X11 \
11368 X:/XFree86/include \
11369 X:/XFree86/include/X11 \
11372 /usr/local/include/gtk \
11373 /usr/include/glib \
11374 /usr/local/include/glib \
11377 /usr/local/include/qt \
11379 /usr/include/windows \
11380 /usr/include/wine \
11381 /usr/local/include/wine \
11383 /usr/unsupported/include \
11384 /usr/athena/include \
11385 /usr/local/x11r5/include \
11386 /usr/lpp/Xamples/include \
11388 /usr/openwin/share/include"
11390 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11393 cat > confcache
<<\EOF
11394 # This file is a shell script that caches the results of configure
11395 # tests run on this system so they can be shared between configure
11396 # scripts and configure runs. It is not useful on other systems.
11397 # If it contains results you don't want to keep, you may remove or edit it.
11399 # By default, configure uses ./config.cache as the cache file,
11400 # creating it if it does not exist already. You can give configure
11401 # the --cache-file=FILE option to use a different cache file; that is
11402 # what configure does when it calls configure scripts in
11403 # subdirectories, so they share the cache.
11404 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11405 # config.status only pays attention to the cache file if you give it the
11406 # --recheck option to rerun configure.
11409 # The following way of writing the cache mishandles newlines in values,
11410 # but we know of no workaround that is simple, portable, and efficient.
11411 # So, don't put newlines in cache variables' values.
11412 # Ultrix sh set writes to stderr and can't be redirected directly,
11413 # and sets the high bit in the cache file unless we assign to the vars.
11415 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11417 # `set' does not quote correctly, so add quotes (double-quote substitution
11418 # turns \\\\ into \\, and sed turns \\ into \).
11420 -e "s/'/'\\\\''/g" \
11421 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11424 # `set' quotes correctly as required by POSIX, so do not add quotes.
11425 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11428 if cmp -s $cache_file confcache
; then
11431 if test -w $cache_file; then
11432 echo "updating cache $cache_file"
11433 cat confcache
> $cache_file
11435 echo "not updating unwritable cache $cache_file"
11441 if test "$USE_LINUX" = 1; then
11442 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11443 echo "configure:11444: checking for glibc 2.1 or later" >&5
11444 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11445 echo $ac_n "(cached) $ac_c" 1>&6
11448 cat > conftest.
$ac_ext <<EOF
11449 #line 11450 "configure"
11450 #include "confdefs.h"
11451 #include <features.h>
11454 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11455 #error not glibc2.1
11460 if { (eval echo configure
:11461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11463 wx_cv_lib_glibc21
=yes
11466 echo "configure: failed program was:" >&5
11467 cat conftest.
$ac_ext >&5
11470 wx_cv_lib_glibc21
=no
11478 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11479 if test "$wx_cv_lib_glibc21" = "yes"; then
11480 cat >> confdefs.h
<<\EOF
11481 #define wxHAVE_GLIBC2 1
11487 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11488 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11489 cat >> confdefs.h
<<\EOF
11490 #define _GNU_SOURCE 1
11499 if test "$wxUSE_REGEX" != "no"; then
11500 cat >> confdefs.h
<<\EOF
11501 #define wxUSE_REGEX 1
11505 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11506 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11507 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11508 echo "configure:11509: checking for regex.h" >&5
11509 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11510 echo $ac_n "(cached) $ac_c" 1>&6
11512 cat > conftest.
$ac_ext <<EOF
11513 #line 11514 "configure"
11514 #include "confdefs.h"
11517 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11518 { (eval echo configure
:11519: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11519 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11520 if test -z "$ac_err"; then
11522 eval "ac_cv_header_$ac_safe=yes"
11525 echo "configure: failed program was:" >&5
11526 cat conftest.
$ac_ext >&5
11528 eval "ac_cv_header_$ac_safe=no"
11532 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11533 echo "$ac_t""yes" 1>&6
11534 for ac_func
in regcomp
11536 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11537 echo "configure:11538: checking for $ac_func" >&5
11538 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11539 echo $ac_n "(cached) $ac_c" 1>&6
11541 cat > conftest.
$ac_ext <<EOF
11542 #line 11543 "configure"
11543 #include "confdefs.h"
11544 /* System header to define __stub macros and hopefully few prototypes,
11545 which can conflict with char $ac_func(); below. */
11546 #include <assert.h>
11547 /* Override any gcc2 internal prototype to avoid an error. */
11548 /* We use char because int might match the return type of a gcc2
11549 builtin and then its argument prototype would still apply. */
11554 /* The GNU C library defines this for functions which it implements
11555 to always fail with ENOSYS. Some functions are actually named
11556 something starting with __ and the normal name is an alias. */
11557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11565 if { (eval echo configure
:11566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11567 eval "ac_cv_func_$ac_func=yes"
11569 echo "configure: failed program was:" >&5
11570 cat conftest.
$ac_ext >&5
11572 eval "ac_cv_func_$ac_func=no"
11577 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11578 echo "$ac_t""yes" 1>&6
11579 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11580 cat >> confdefs.h
<<EOF
11581 #define $ac_tr_func 1
11585 echo "$ac_t""no" 1>&6
11590 echo "$ac_t""no" 1>&6
11594 if test "x$ac_cv_func_regcomp" != "xyes"; then
11595 if test "$wxUSE_REGEX" = "sys" ; then
11596 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11598 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11599 wxUSE_REGEX
=builtin
11606 if test "$wxUSE_REGEX" = "builtin" ; then
11607 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11614 if test "$wxUSE_ZLIB" != "no" ; then
11615 cat >> confdefs.h
<<\EOF
11616 #define wxUSE_ZLIB 1
11620 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11621 if test "$USE_DARWIN" = 1; then
11622 system_zlib_h_ok
="yes"
11624 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11625 echo "configure:11626: checking for zlib.h >= 1.1.4" >&5
11626 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11627 echo $ac_n "(cached) $ac_c" 1>&6
11629 if test "$cross_compiling" = yes; then
11630 unset ac_cv_header_zlib_h
11633 cat > conftest.
$ac_ext <<EOF
11634 #line 11635 "configure"
11635 #include "confdefs.h"
11642 FILE *f=fopen("conftestval", "w");
11645 ZLIB_VERSION[0] == '1' &&
11646 (ZLIB_VERSION[2] > '1' ||
11647 (ZLIB_VERSION[2] == '1' &&
11648 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11653 if { (eval echo configure
:11654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11655 ac_cv_header_zlib_h
=`cat conftestval`
11657 echo "configure: failed program was:" >&5
11658 cat conftest.
$ac_ext >&5
11660 ac_cv_header_zlib_h
=no
11668 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11669 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11670 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11671 echo "configure:11672: checking for zlib.h" >&5
11672 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11673 echo $ac_n "(cached) $ac_c" 1>&6
11675 cat > conftest.
$ac_ext <<EOF
11676 #line 11677 "configure"
11677 #include "confdefs.h"
11680 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11681 { (eval echo configure
:11682: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11682 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11683 if test -z "$ac_err"; then
11685 eval "ac_cv_header_$ac_safe=yes"
11688 echo "configure: failed program was:" >&5
11689 cat conftest.
$ac_ext >&5
11691 eval "ac_cv_header_$ac_safe=no"
11695 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11696 echo "$ac_t""yes" 1>&6
11699 echo "$ac_t""no" 1>&6
11703 system_zlib_h_ok
=$ac_cv_header_zlib_h
11706 if test "$system_zlib_h_ok" = "yes"; then
11707 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11708 echo "configure:11709: checking for deflate in -lz" >&5
11709 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11710 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11711 echo $ac_n "(cached) $ac_c" 1>&6
11713 ac_save_LIBS
="$LIBS"
11715 cat > conftest.
$ac_ext <<EOF
11716 #line 11717 "configure"
11717 #include "confdefs.h"
11718 /* Override any gcc2 internal prototype to avoid an error. */
11719 /* We use char because int might match the return type of a gcc2
11720 builtin and then its argument prototype would still apply. */
11727 if { (eval echo configure
:11728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11729 eval "ac_cv_lib_$ac_lib_var=yes"
11731 echo "configure: failed program was:" >&5
11732 cat conftest.
$ac_ext >&5
11734 eval "ac_cv_lib_$ac_lib_var=no"
11737 LIBS
="$ac_save_LIBS"
11740 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11741 echo "$ac_t""yes" 1>&6
11744 echo "$ac_t""no" 1>&6
11749 if test "x$ZLIB_LINK" = "x" ; then
11750 if test "$wxUSE_ZLIB" = "sys" ; then
11751 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11753 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11761 if test "$wxUSE_ZLIB" = "builtin" ; then
11762 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11769 if test "$wxUSE_LIBPNG" != "no" ; then
11770 cat >> confdefs.h
<<\EOF
11771 #define wxUSE_LIBPNG 1
11775 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11776 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11780 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11781 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11782 wxUSE_LIBPNG
=builtin
11785 if test "$wxUSE_MGL" != 1 ; then
11786 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11787 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11788 echo "configure:11789: checking for png.h > 0.90" >&5
11789 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11790 echo $ac_n "(cached) $ac_c" 1>&6
11792 if test "$cross_compiling" = yes; then
11793 unset ac_cv_header_png_h
11796 cat > conftest.
$ac_ext <<EOF
11797 #line 11798 "configure"
11798 #include "confdefs.h"
11805 FILE *f=fopen("conftestval", "w");
11808 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11813 if { (eval echo configure
:11814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11815 ac_cv_header_png_h
=`cat conftestval`
11817 echo "configure: failed program was:" >&5
11818 cat conftest.
$ac_ext >&5
11820 ac_cv_header_png_h
=no
11828 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11829 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11830 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11831 echo "configure:11832: checking for png.h" >&5
11832 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11835 cat > conftest.
$ac_ext <<EOF
11836 #line 11837 "configure"
11837 #include "confdefs.h"
11840 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11841 { (eval echo configure
:11842: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11842 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11843 if test -z "$ac_err"; then
11845 eval "ac_cv_header_$ac_safe=yes"
11848 echo "configure: failed program was:" >&5
11849 cat conftest.
$ac_ext >&5
11851 eval "ac_cv_header_$ac_safe=no"
11855 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11856 echo "$ac_t""yes" 1>&6
11859 echo "$ac_t""no" 1>&6
11863 if test "$ac_cv_header_png_h" = "yes"; then
11864 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11865 echo "configure:11866: checking for png_check_sig in -lpng" >&5
11866 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11867 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11868 echo $ac_n "(cached) $ac_c" 1>&6
11870 ac_save_LIBS
="$LIBS"
11871 LIBS
="-lpng -lz -lm $LIBS"
11872 cat > conftest.
$ac_ext <<EOF
11873 #line 11874 "configure"
11874 #include "confdefs.h"
11875 /* Override any gcc2 internal prototype to avoid an error. */
11876 /* We use char because int might match the return type of a gcc2
11877 builtin and then its argument prototype would still apply. */
11878 char png_check_sig();
11884 if { (eval echo configure
:11885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11886 eval "ac_cv_lib_$ac_lib_var=yes"
11888 echo "configure: failed program was:" >&5
11889 cat conftest.
$ac_ext >&5
11891 eval "ac_cv_lib_$ac_lib_var=no"
11894 LIBS
="$ac_save_LIBS"
11897 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11898 echo "$ac_t""yes" 1>&6
11901 echo "$ac_t""no" 1>&6
11906 if test "x$PNG_LINK" = "x" ; then
11907 if test "$wxUSE_LIBPNG" = "sys" ; then
11908 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11910 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11911 wxUSE_LIBPNG
=builtin
11919 if test "$wxUSE_LIBPNG" = "builtin" ; then
11920 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11929 if test "$wxUSE_LIBJPEG" != "no" ; then
11930 cat >> confdefs.h
<<\EOF
11931 #define wxUSE_LIBJPEG 1
11935 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11936 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11940 if test "$wxUSE_MGL" != 1 ; then
11941 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11942 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11943 echo "configure:11944: checking for jpeglib.h" >&5
11944 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11945 echo $ac_n "(cached) $ac_c" 1>&6
11947 cat > conftest.
$ac_ext <<EOF
11948 #line 11949 "configure"
11949 #include "confdefs.h"
11951 #undef HAVE_STDLIB_H
11953 #include <jpeglib.h>
11960 if { (eval echo configure
:11961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11962 ac_cv_header_jpeglib_h
=yes
11964 echo "configure: failed program was:" >&5
11965 cat conftest.
$ac_ext >&5
11967 ac_cv_header_jpeglib_h
=no
11974 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11976 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11977 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11978 echo "configure:11979: checking for jpeg_read_header in -ljpeg" >&5
11979 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11981 echo $ac_n "(cached) $ac_c" 1>&6
11983 ac_save_LIBS
="$LIBS"
11984 LIBS
="-ljpeg $LIBS"
11985 cat > conftest.
$ac_ext <<EOF
11986 #line 11987 "configure"
11987 #include "confdefs.h"
11988 /* Override any gcc2 internal prototype to avoid an error. */
11989 /* We use char because int might match the return type of a gcc2
11990 builtin and then its argument prototype would still apply. */
11991 char jpeg_read_header();
11997 if { (eval echo configure
:11998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11999 eval "ac_cv_lib_$ac_lib_var=yes"
12001 echo "configure: failed program was:" >&5
12002 cat conftest.
$ac_ext >&5
12004 eval "ac_cv_lib_$ac_lib_var=no"
12007 LIBS
="$ac_save_LIBS"
12010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12011 echo "$ac_t""yes" 1>&6
12012 JPEG_LINK
=" -ljpeg"
12014 echo "$ac_t""no" 1>&6
12019 if test "x$JPEG_LINK" = "x" ; then
12020 if test "$wxUSE_LIBJPEG" = "sys" ; then
12021 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12023 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12024 wxUSE_LIBJPEG
=builtin
12032 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12033 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12040 TIFF_PREREQ_LINKS
=-lm
12041 if test "$wxUSE_LIBTIFF" != "no" ; then
12042 cat >> confdefs.h
<<\EOF
12043 #define wxUSE_LIBTIFF 1
12047 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12048 if test "$wxUSE_LIBJPEG" = "sys"; then
12049 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12051 if test "$wxUSE_ZLIB" = "sys"; then
12052 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12054 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12055 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12056 echo "configure:12057: checking for tiffio.h" >&5
12057 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12058 echo $ac_n "(cached) $ac_c" 1>&6
12060 cat > conftest.
$ac_ext <<EOF
12061 #line 12062 "configure"
12062 #include "confdefs.h"
12063 #include <tiffio.h>
12065 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12066 { (eval echo configure
:12067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12067 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12068 if test -z "$ac_err"; then
12070 eval "ac_cv_header_$ac_safe=yes"
12073 echo "configure: failed program was:" >&5
12074 cat conftest.
$ac_ext >&5
12076 eval "ac_cv_header_$ac_safe=no"
12080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12081 echo "$ac_t""yes" 1>&6
12082 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12083 echo "configure:12084: checking for TIFFError in -ltiff" >&5
12084 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12085 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12086 echo $ac_n "(cached) $ac_c" 1>&6
12088 ac_save_LIBS
="$LIBS"
12089 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12090 cat > conftest.
$ac_ext <<EOF
12091 #line 12092 "configure"
12092 #include "confdefs.h"
12093 /* Override any gcc2 internal prototype to avoid an error. */
12094 /* We use char because int might match the return type of a gcc2
12095 builtin and then its argument prototype would still apply. */
12102 if { (eval echo configure
:12103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12104 eval "ac_cv_lib_$ac_lib_var=yes"
12106 echo "configure: failed program was:" >&5
12107 cat conftest.
$ac_ext >&5
12109 eval "ac_cv_lib_$ac_lib_var=no"
12112 LIBS
="$ac_save_LIBS"
12115 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12116 echo "$ac_t""yes" 1>&6
12117 TIFF_LINK
=" -ltiff"
12119 echo "$ac_t""no" 1>&6
12124 echo "$ac_t""no" 1>&6
12128 if test "x$TIFF_LINK" = "x" ; then
12129 if test "$wxUSE_LIBTIFF" = "sys" ; then
12130 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12132 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12133 wxUSE_LIBTIFF
=builtin
12140 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12141 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12153 if test "$USE_WIN32" = 1 ; then
12154 for ac_hdr
in w32api.h
12156 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12157 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12158 echo "configure:12159: checking for $ac_hdr" >&5
12159 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12160 echo $ac_n "(cached) $ac_c" 1>&6
12162 cat > conftest.
$ac_ext <<EOF
12163 #line 12164 "configure"
12164 #include "confdefs.h"
12167 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12168 { (eval echo configure
:12169: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12169 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12170 if test -z "$ac_err"; then
12172 eval "ac_cv_header_$ac_safe=yes"
12175 echo "configure: failed program was:" >&5
12176 cat conftest.
$ac_ext >&5
12178 eval "ac_cv_header_$ac_safe=no"
12182 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12183 echo "$ac_t""yes" 1>&6
12184 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12185 cat >> confdefs.h
<<EOF
12186 #define $ac_tr_hdr 1
12190 echo "$ac_t""no" 1>&6
12194 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12195 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12196 echo "configure:12197: checking for windows.h" >&5
12197 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12198 echo $ac_n "(cached) $ac_c" 1>&6
12200 cat > conftest.
$ac_ext <<EOF
12201 #line 12202 "configure"
12202 #include "confdefs.h"
12203 #include <windows.h>
12205 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12206 { (eval echo configure
:12207: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12207 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12208 if test -z "$ac_err"; then
12210 eval "ac_cv_header_$ac_safe=yes"
12213 echo "configure: failed program was:" >&5
12214 cat conftest.
$ac_ext >&5
12216 eval "ac_cv_header_$ac_safe=no"
12220 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12221 echo "$ac_t""yes" 1>&6
12224 echo "$ac_t""no" 1>&6
12226 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12231 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12232 echo "configure:12233: checking if w32api has good enough MSIE support" >&5
12233 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12234 echo $ac_n "(cached) $ac_c" 1>&6
12237 cat > conftest.
$ac_ext <<EOF
12238 #line 12239 "configure"
12239 #include "confdefs.h"
12240 #include <w32api.h>
12243 #define wxCHECK_W32API_VERSION( major, minor ) \
12244 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12245 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12246 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12248 #if !wxCHECK_W32API_VERSION(1,1)
12249 #error You need w32api 1.1 or newer
12254 if { (eval echo configure
:12255: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12257 wx_cv_w32api_win32_ie
=yes
12260 echo "configure: failed program was:" >&5
12261 cat conftest.
$ac_ext >&5
12264 wx_cv_w32api_win32_ie
=no
12271 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12272 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12273 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12276 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12278 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
12279 LIBS
="$LIBS -loleacc"
12284 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12285 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12288 if test "$wxUSE_ODBC" = "yes" ; then
12289 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12292 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12293 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12295 WIN32INSTALL
=win32install
12298 if test "$USE_DARWIN" = 1; then
12299 if test "$wxUSE_PRECOMP" = "yes"; then
12300 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12302 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12306 if test "$wxUSE_GUI" = "yes"; then
12315 if test "$wxUSE_MSW" = 1 ; then
12319 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12322 if test "$wxUSE_GTK" = 1; then
12323 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12324 echo "configure:12325: checking for GTK+ version" >&5
12326 gtk_version_cached
=1
12327 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12328 echo $ac_n "(cached) $ac_c" 1>&6
12331 gtk_version_cached
=0
12332 echo "$ac_t""" 1>&6
12335 if test "$wxUSE_THREADS" = "yes"; then
12336 GTK_MODULES
=gthread
12340 if test "x$wxUSE_GTK2" = "xyes"; then
12341 # Check whether --enable-gtktest or --disable-gtktest was given.
12342 if test "${enable_gtktest+set}" = set; then
12343 enableval
="$enable_gtktest"
12350 pkg_config_args
=gtk
+-2.0
12351 for module
in .
$GTK_MODULES
12355 pkg_config_args
="$pkg_config_args gthread-2.0"
12362 # Extract the first word of "pkg-config", so it can be a program name with args.
12363 set dummy pkg
-config; ac_word
=$2
12364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12365 echo "configure:12366: checking for $ac_word" >&5
12366 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12369 case "$PKG_CONFIG" in
12371 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12374 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12377 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12379 for ac_dir
in $ac_dummy; do
12380 test -z "$ac_dir" && ac_dir
=.
12381 if test -f $ac_dir/$ac_word; then
12382 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12387 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12391 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12392 if test -n "$PKG_CONFIG"; then
12393 echo "$ac_t""$PKG_CONFIG" 1>&6
12395 echo "$ac_t""no" 1>&6
12399 if test x
$PKG_CONFIG != xno
; then
12400 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12403 echo *** pkg
-config too old
; version
0.7 or better required.
12411 min_gtk_version
=2.0.0
12412 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12413 echo "configure:12414: checking for GTK+ - version >= $min_gtk_version" >&5
12415 if test x
$PKG_CONFIG != xno
; then
12416 ## don't try to run the test against uninstalled libtool libs
12417 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12418 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12422 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12429 if test x
"$no_gtk" = x
; then
12430 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12431 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12432 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12433 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12434 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12435 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12436 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12437 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12438 if test "x$enable_gtktest" = "xyes" ; then
12439 ac_save_CFLAGS
="$CFLAGS"
12440 ac_save_LIBS
="$LIBS"
12441 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12442 LIBS
="$GTK_LIBS $LIBS"
12444 if test "$cross_compiling" = yes; then
12445 echo $ac_n "cross compiling; assumed OK... $ac_c"
12447 cat > conftest.
$ac_ext <<EOF
12448 #line 12449 "configure"
12449 #include "confdefs.h"
12451 #include <gtk/gtk.h>
12453 #include <stdlib.h>
12458 int major, minor, micro;
12461 system ("touch conf.gtktest");
12463 /* HP/UX 9 (%@#!) writes to sscanf strings */
12464 tmp_version = g_strdup("$min_gtk_version");
12465 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12466 printf("%s, bad version string\n", "$min_gtk_version");
12470 if ((gtk_major_version != $gtk_config_major_version) ||
12471 (gtk_minor_version != $gtk_config_minor_version) ||
12472 (gtk_micro_version != $gtk_config_micro_version))
12474 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12475 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12476 gtk_major_version, gtk_minor_version, gtk_micro_version);
12477 printf ("*** was found! If pkg-config was correct, then it is best\n");
12478 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12479 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12480 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12481 printf("*** required on your system.\n");
12482 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12483 printf("*** to point to the correct configuration files\n");
12485 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12486 (gtk_minor_version != GTK_MINOR_VERSION) ||
12487 (gtk_micro_version != GTK_MICRO_VERSION))
12489 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12490 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12491 printf("*** library (version %d.%d.%d)\n",
12492 gtk_major_version, gtk_minor_version, gtk_micro_version);
12496 if ((gtk_major_version > major) ||
12497 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12498 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12504 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12505 gtk_major_version, gtk_minor_version, gtk_micro_version);
12506 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12507 major, minor, micro);
12508 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12510 printf("*** If you have already installed a sufficiently new version, this error\n");
12511 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12512 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12513 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12514 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12515 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12516 printf("*** so that the correct libraries are found at run-time))\n");
12523 if { (eval echo configure
:12524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12527 echo "configure: failed program was:" >&5
12528 cat conftest.
$ac_ext >&5
12535 CFLAGS
="$ac_save_CFLAGS"
12536 LIBS
="$ac_save_LIBS"
12539 if test "x$no_gtk" = x
; then
12540 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12543 echo "$ac_t""no" 1>&6
12544 if test "$PKG_CONFIG" = "no" ; then
12545 echo "*** A new enough version of pkg-config was not found."
12546 echo "*** See http://pkgconfig.sourceforge.net"
12548 if test -f conf.gtktest
; then
12551 echo "*** Could not run GTK+ test program, checking why..."
12552 ac_save_CFLAGS
="$CFLAGS"
12553 ac_save_LIBS
="$LIBS"
12554 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12555 LIBS
="$LIBS $GTK_LIBS"
12556 cat > conftest.
$ac_ext <<EOF
12557 #line 12558 "configure"
12558 #include "confdefs.h"
12560 #include <gtk/gtk.h>
12564 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12567 if { (eval echo configure
:12568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12569 echo "*** The test program compiled, but did not run. This usually means"
12570 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12571 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12572 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12573 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12574 echo "*** is required on your system"
12576 echo "*** If you have an old version installed, it is best to remove it, although"
12577 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12579 echo "configure: failed program was:" >&5
12580 cat conftest.
$ac_ext >&5
12582 echo "*** The test program failed to compile or link. See the file config.log for the"
12583 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12586 CFLAGS
="$ac_save_CFLAGS"
12587 LIBS
="$ac_save_LIBS"
12599 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12600 if test "${with_gtk_prefix+set}" = set; then
12601 withval
="$with_gtk_prefix"
12602 gtk_config_prefix
="$withval"
12604 gtk_config_prefix
=""
12607 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12608 if test "${with_gtk_exec_prefix+set}" = set; then
12609 withval
="$with_gtk_exec_prefix"
12610 gtk_config_exec_prefix
="$withval"
12612 gtk_config_exec_prefix
=""
12615 # Check whether --enable-gtktest or --disable-gtktest was given.
12616 if test "${enable_gtktest+set}" = set; then
12617 enableval
="$enable_gtktest"
12624 for module
in .
$GTK_MODULES
12628 gtk_config_args
="$gtk_config_args gthread"
12633 if test x
$gtk_config_exec_prefix != x
; then
12634 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12635 if test x
${GTK_CONFIG+set} != xset
; then
12636 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12639 if test x
$gtk_config_prefix != x
; then
12640 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12641 if test x
${GTK_CONFIG+set} != xset
; then
12642 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12646 # Extract the first word of "gtk-config", so it can be a program name with args.
12647 set dummy gtk
-config; ac_word
=$2
12648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12649 echo "configure:12650: checking for $ac_word" >&5
12650 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12651 echo $ac_n "(cached) $ac_c" 1>&6
12653 case "$GTK_CONFIG" in
12655 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12658 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12661 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12663 for ac_dir
in $ac_dummy; do
12664 test -z "$ac_dir" && ac_dir
=.
12665 if test -f $ac_dir/$ac_word; then
12666 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12671 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12675 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12676 if test -n "$GTK_CONFIG"; then
12677 echo "$ac_t""$GTK_CONFIG" 1>&6
12679 echo "$ac_t""no" 1>&6
12682 min_gtk_version
=1.2.7
12683 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12684 echo "configure:12685: checking for GTK - version >= $min_gtk_version" >&5
12686 if test "$GTK_CONFIG" = "no" ; then
12689 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12690 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12691 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12693 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12695 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12696 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12697 if test "x$enable_gtktest" = "xyes" ; then
12698 ac_save_CFLAGS
="$CFLAGS"
12699 ac_save_LIBS
="$LIBS"
12700 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12701 LIBS
="$GTK_LIBS $LIBS"
12703 if test "$cross_compiling" = yes; then
12704 echo $ac_n "cross compiling; assumed OK... $ac_c"
12706 cat > conftest.
$ac_ext <<EOF
12707 #line 12708 "configure"
12708 #include "confdefs.h"
12710 #include <gtk/gtk.h>
12712 #include <stdlib.h>
12717 int major, minor, micro;
12720 system ("touch conf.gtktest");
12722 /* HP/UX 9 (%@#!) writes to sscanf strings */
12723 tmp_version = g_strdup("$min_gtk_version");
12724 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12725 printf("%s, bad version string\n", "$min_gtk_version");
12729 if ((gtk_major_version != $gtk_config_major_version) ||
12730 (gtk_minor_version != $gtk_config_minor_version) ||
12731 (gtk_micro_version != $gtk_config_micro_version))
12733 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12734 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12735 gtk_major_version, gtk_minor_version, gtk_micro_version);
12736 printf ("*** was found! If gtk-config was correct, then it is best\n");
12737 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12738 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12739 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12740 printf("*** required on your system.\n");
12741 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12742 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12743 printf("*** before re-running configure\n");
12745 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12746 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12747 (gtk_minor_version != GTK_MINOR_VERSION) ||
12748 (gtk_micro_version != GTK_MICRO_VERSION))
12750 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12751 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12752 printf("*** library (version %d.%d.%d)\n",
12753 gtk_major_version, gtk_minor_version, gtk_micro_version);
12755 #endif /* defined (GTK_MAJOR_VERSION) ... */
12758 if ((gtk_major_version > major) ||
12759 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12760 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12766 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12767 gtk_major_version, gtk_minor_version, gtk_micro_version);
12768 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12769 major, minor, micro);
12770 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12772 printf("*** If you have already installed a sufficiently new version, this error\n");
12773 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12774 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12775 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12776 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12777 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12778 printf("*** so that the correct libraries are found at run-time))\n");
12785 if { (eval echo configure
:12786: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12789 echo "configure: failed program was:" >&5
12790 cat conftest.
$ac_ext >&5
12797 CFLAGS
="$ac_save_CFLAGS"
12798 LIBS
="$ac_save_LIBS"
12801 if test "x$no_gtk" = x
; then
12802 echo "$ac_t""yes" 1>&6
12803 wx_cv_lib_gtk
=1.2.7
12805 echo "$ac_t""no" 1>&6
12806 if test "$GTK_CONFIG" = "no" ; then
12807 echo "*** The gtk-config script installed by GTK could not be found"
12808 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12809 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12810 echo "*** full path to gtk-config."
12812 if test -f conf.gtktest
; then
12815 echo "*** Could not run GTK test program, checking why..."
12816 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12817 LIBS
="$LIBS $GTK_LIBS"
12818 cat > conftest.
$ac_ext <<EOF
12819 #line 12820 "configure"
12820 #include "confdefs.h"
12822 #include <gtk/gtk.h>
12826 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12829 if { (eval echo configure
:12830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12831 echo "*** The test program compiled, but did not run. This usually means"
12832 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12833 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12834 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12835 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12836 echo "*** is required on your system"
12838 echo "*** If you have an old version installed, it is best to remove it, although"
12839 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12841 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12842 echo "*** came with the system with the command"
12844 echo "*** rpm --erase --nodeps gtk gtk-devel"
12846 echo "configure: failed program was:" >&5
12847 cat conftest.
$ac_ext >&5
12849 echo "*** The test program failed to compile or link. See the file config.log for the"
12850 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12851 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12852 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12855 CFLAGS
="$ac_save_CFLAGS"
12856 LIBS
="$ac_save_LIBS"
12868 if test -z "$wx_cv_lib_gtk"; then
12869 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12870 if test "${with_gtk_prefix+set}" = set; then
12871 withval
="$with_gtk_prefix"
12872 gtk_config_prefix
="$withval"
12874 gtk_config_prefix
=""
12877 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12878 if test "${with_gtk_exec_prefix+set}" = set; then
12879 withval
="$with_gtk_exec_prefix"
12880 gtk_config_exec_prefix
="$withval"
12882 gtk_config_exec_prefix
=""
12885 # Check whether --enable-gtktest or --disable-gtktest was given.
12886 if test "${enable_gtktest+set}" = set; then
12887 enableval
="$enable_gtktest"
12894 for module
in .
$GTK_MODULES
12898 gtk_config_args
="$gtk_config_args gthread"
12903 if test x
$gtk_config_exec_prefix != x
; then
12904 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12905 if test x
${GTK_CONFIG+set} != xset
; then
12906 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12909 if test x
$gtk_config_prefix != x
; then
12910 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12911 if test x
${GTK_CONFIG+set} != xset
; then
12912 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12916 # Extract the first word of "gtk-config", so it can be a program name with args.
12917 set dummy gtk
-config; ac_word
=$2
12918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12919 echo "configure:12920: checking for $ac_word" >&5
12920 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12921 echo $ac_n "(cached) $ac_c" 1>&6
12923 case "$GTK_CONFIG" in
12925 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12928 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12931 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12933 for ac_dir
in $ac_dummy; do
12934 test -z "$ac_dir" && ac_dir
=.
12935 if test -f $ac_dir/$ac_word; then
12936 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12941 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12945 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12946 if test -n "$GTK_CONFIG"; then
12947 echo "$ac_t""$GTK_CONFIG" 1>&6
12949 echo "$ac_t""no" 1>&6
12952 min_gtk_version
=1.2.3
12953 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12954 echo "configure:12955: checking for GTK - version >= $min_gtk_version" >&5
12956 if test "$GTK_CONFIG" = "no" ; then
12959 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12960 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12961 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12962 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12963 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12964 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12965 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12966 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12967 if test "x$enable_gtktest" = "xyes" ; then
12968 ac_save_CFLAGS
="$CFLAGS"
12969 ac_save_LIBS
="$LIBS"
12970 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12971 LIBS
="$GTK_LIBS $LIBS"
12973 if test "$cross_compiling" = yes; then
12974 echo $ac_n "cross compiling; assumed OK... $ac_c"
12976 cat > conftest.
$ac_ext <<EOF
12977 #line 12978 "configure"
12978 #include "confdefs.h"
12980 #include <gtk/gtk.h>
12982 #include <stdlib.h>
12987 int major, minor, micro;
12990 system ("touch conf.gtktest");
12992 /* HP/UX 9 (%@#!) writes to sscanf strings */
12993 tmp_version = g_strdup("$min_gtk_version");
12994 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12995 printf("%s, bad version string\n", "$min_gtk_version");
12999 if ((gtk_major_version != $gtk_config_major_version) ||
13000 (gtk_minor_version != $gtk_config_minor_version) ||
13001 (gtk_micro_version != $gtk_config_micro_version))
13003 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13004 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13005 gtk_major_version, gtk_minor_version, gtk_micro_version);
13006 printf ("*** was found! If gtk-config was correct, then it is best\n");
13007 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13008 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13009 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13010 printf("*** required on your system.\n");
13011 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13012 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13013 printf("*** before re-running configure\n");
13015 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13016 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13017 (gtk_minor_version != GTK_MINOR_VERSION) ||
13018 (gtk_micro_version != GTK_MICRO_VERSION))
13020 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13021 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13022 printf("*** library (version %d.%d.%d)\n",
13023 gtk_major_version, gtk_minor_version, gtk_micro_version);
13025 #endif /* defined (GTK_MAJOR_VERSION) ... */
13028 if ((gtk_major_version > major) ||
13029 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13030 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13036 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13037 gtk_major_version, gtk_minor_version, gtk_micro_version);
13038 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13039 major, minor, micro);
13040 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13042 printf("*** If you have already installed a sufficiently new version, this error\n");
13043 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13044 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13045 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13046 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13047 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13048 printf("*** so that the correct libraries are found at run-time))\n");
13055 if { (eval echo configure
:13056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13059 echo "configure: failed program was:" >&5
13060 cat conftest.
$ac_ext >&5
13067 CFLAGS
="$ac_save_CFLAGS"
13068 LIBS
="$ac_save_LIBS"
13071 if test "x$no_gtk" = x
; then
13072 echo "$ac_t""yes" 1>&6
13073 wx_cv_lib_gtk
=1.2.3
13075 echo "$ac_t""no" 1>&6
13076 if test "$GTK_CONFIG" = "no" ; then
13077 echo "*** The gtk-config script installed by GTK could not be found"
13078 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13079 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13080 echo "*** full path to gtk-config."
13082 if test -f conf.gtktest
; then
13085 echo "*** Could not run GTK test program, checking why..."
13086 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13087 LIBS
="$LIBS $GTK_LIBS"
13088 cat > conftest.
$ac_ext <<EOF
13089 #line 13090 "configure"
13090 #include "confdefs.h"
13092 #include <gtk/gtk.h>
13096 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13099 if { (eval echo configure
:13100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13101 echo "*** The test program compiled, but did not run. This usually means"
13102 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13103 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13104 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13105 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13106 echo "*** is required on your system"
13108 echo "*** If you have an old version installed, it is best to remove it, although"
13109 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13111 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13112 echo "*** came with the system with the command"
13114 echo "*** rpm --erase --nodeps gtk gtk-devel"
13116 echo "configure: failed program was:" >&5
13117 cat conftest.
$ac_ext >&5
13119 echo "*** The test program failed to compile or link. See the file config.log for the"
13120 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13121 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13122 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13125 CFLAGS
="$ac_save_CFLAGS"
13126 LIBS
="$ac_save_LIBS"
13140 if test -z "$wx_cv_lib_gtk"; then
13143 wx_cv_cflags_gtk
=$GTK_CFLAGS
13144 wx_cv_libs_gtk
=$GTK_LIBS
13151 if test "$gtk_version_cached" = 1; then
13152 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13155 case "$wx_cv_lib_gtk" in
13164 *) { echo "configure: error:
13165 Please check that gtk-config is in path, the directory
13166 where GTK+ libraries are installed (returned by
13167 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13168 equivalent variable and GTK+ is version 1.2.3 or above.
13173 if test "$WXGTK20" = 1; then
13174 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13178 if test -z "$PKG_CONFIG"; then
13179 # Extract the first word of "pkg-config", so it can be a program name with args.
13180 set dummy pkg
-config; ac_word
=$2
13181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13182 echo "configure:13183: checking for $ac_word" >&5
13183 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13184 echo $ac_n "(cached) $ac_c" 1>&6
13186 case "$PKG_CONFIG" in
13188 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13191 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13194 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13196 for ac_dir
in $ac_dummy; do
13197 test -z "$ac_dir" && ac_dir
=.
13198 if test -f $ac_dir/$ac_word; then
13199 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13204 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13208 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13209 if test -n "$PKG_CONFIG"; then
13210 echo "$ac_t""$PKG_CONFIG" 1>&6
13212 echo "$ac_t""no" 1>&6
13217 if test "$PKG_CONFIG" = "no" ; then
13218 echo "*** The pkg-config script could not be found. Make sure it is"
13219 echo "*** in your path, or set the PKG_CONFIG environment variable"
13220 echo "*** to the full path to pkg-config."
13221 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13223 PKG_CONFIG_MIN_VERSION
=0.9.0
13224 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13225 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13226 echo "configure:13227: checking for pangoft2" >&5
13228 if $PKG_CONFIG --exists "pangoft2" ; then
13229 echo "$ac_t""yes" 1>&6
13232 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13233 echo "configure:13234: checking PANGOFT2_CFLAGS" >&5
13234 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13235 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13237 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13238 echo "configure:13239: checking PANGOFT2_LIBS" >&5
13239 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13240 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13244 ## If we have a custom action on failure, don't print errors, but
13245 ## do set a variable so people can do so.
13246 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13253 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13254 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13258 if test $succeeded = yes; then
13260 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13261 LIBS
="$LIBS $PANGOFT2_LIBS"
13265 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13266 wxUSE_PRINTING_ARCHITECTURE
="no"
13273 if test "$wxUSE_UNICODE" = "yes"; then
13274 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13279 if test "$USE_DARWIN" != 1; then
13280 for ac_func
in poll
13282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13283 echo "configure:13284: checking for $ac_func" >&5
13284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13287 cat > conftest.
$ac_ext <<EOF
13288 #line 13289 "configure"
13289 #include "confdefs.h"
13290 /* System header to define __stub macros and hopefully few prototypes,
13291 which can conflict with char $ac_func(); below. */
13292 #include <assert.h>
13293 /* Override any gcc2 internal prototype to avoid an error. */
13294 /* We use char because int might match the return type of a gcc2
13295 builtin and then its argument prototype would still apply. */
13300 /* The GNU C library defines this for functions which it implements
13301 to always fail with ENOSYS. Some functions are actually named
13302 something starting with __ and the normal name is an alias. */
13303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13311 if { (eval echo configure
:13312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13313 eval "ac_cv_func_$ac_func=yes"
13315 echo "configure: failed program was:" >&5
13316 cat conftest.
$ac_ext >&5
13318 eval "ac_cv_func_$ac_func=no"
13323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13324 echo "$ac_t""yes" 1>&6
13325 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13326 cat >> confdefs.h
<<EOF
13327 #define $ac_tr_func 1
13331 echo "$ac_t""no" 1>&6
13337 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13338 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13340 AFMINSTALL
=afminstall
13344 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13345 echo "configure:13346: checking for gdk_im_open in -lgdk" >&5
13346 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13347 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13348 echo $ac_n "(cached) $ac_c" 1>&6
13350 ac_save_LIBS
="$LIBS"
13352 cat > conftest.
$ac_ext <<EOF
13353 #line 13354 "configure"
13354 #include "confdefs.h"
13355 /* Override any gcc2 internal prototype to avoid an error. */
13356 /* We use char because int might match the return type of a gcc2
13357 builtin and then its argument prototype would still apply. */
13358 char gdk_im_open();
13364 if { (eval echo configure
:13365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13366 eval "ac_cv_lib_$ac_lib_var=yes"
13368 echo "configure: failed program was:" >&5
13369 cat conftest.
$ac_ext >&5
13371 eval "ac_cv_lib_$ac_lib_var=no"
13374 LIBS
="$ac_save_LIBS"
13377 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13378 echo "$ac_t""yes" 1>&6
13379 cat >> confdefs.h
<<\EOF
13384 echo "$ac_t""no" 1>&6
13389 if test "$wxUSE_MGL" = 1; then
13390 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13391 echo "configure:13392: checking for SciTech MGL library" >&5
13392 if test "x$MGL_ROOT" = x
; then
13393 echo "$ac_t""not found" 1>&6
13394 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13396 echo "$ac_t""$MGL_ROOT" 1>&6
13399 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13400 echo "configure:13401: checking for libmgl location" >&5
13403 if test "x$wxUSE_SHARED" = xyes
; then
13404 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13406 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13410 mgl_os_candidates
="dos32/dj2"
13413 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13419 for mgl_os_i
in $mgl_os_candidates ; do
13420 if test "x$mgl_os" = x
; then
13421 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13422 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13423 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13428 if test "x$mgl_lib_type" = x
; then
13429 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13430 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13431 mgl_lib_type
=release
13438 if test "x$mgl_os" = x
; then
13439 echo "$ac_t""not found" 1>&6
13440 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13442 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13444 wxUSE_UNIVERSAL
="yes"
13446 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13447 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13449 AFMINSTALL
=afminstall
13454 if test "$wxUSE_MICROWIN" = 1; then
13455 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13456 echo "configure:13457: checking for MicroWindows" >&5
13457 if test "x$MICROWINDOWS" = x
; then
13458 echo "$ac_t""not found" 1>&6
13459 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13461 echo "$ac_t""$MICROWINDOWS" 1>&6
13464 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13465 echo "$ac_t""MicroWindows' libraries found." 1>&6
13467 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13470 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13471 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13473 wxUSE_UNIVERSAL
="yes"
13475 AFMINSTALL
=afminstall
13477 GUIDIST
=MICROWIN_DIST
13479 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13482 if test "$wxUSE_X11" = 1; then
13483 # If we find X, set shell vars x_includes and x_libraries to the
13484 # paths, otherwise set no_x=yes.
13485 # Uses ac_ vars as temps to allow command line to override cache and checks.
13486 # --without-x overrides everything else, but does not touch the cache.
13487 echo $ac_n "checking for X""... $ac_c" 1>&6
13488 echo "configure:13489: checking for X" >&5
13490 # Check whether --with-x or --without-x was given.
13491 if test "${with_x+set}" = set; then
13496 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13497 if test "x$with_x" = xno
; then
13498 # The user explicitly disabled X.
13501 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13502 # Both variables are already set.
13505 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13506 echo $ac_n "(cached) $ac_c" 1>&6
13508 # One or both of the vars are not set, and there is no cached value.
13509 ac_x_includes
=NO ac_x_libraries
=NO
13511 if mkdir conftestdir
; then
13513 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13514 cat > Imakefile
<<'EOF'
13516 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13518 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13519 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13520 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13521 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13522 for ac_extension
in a so sl
; do
13523 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13524 test -f $ac_im_libdir/libX11.
$ac_extension; then
13525 ac_im_usrlibdir
=$ac_im_libdir; break
13528 # Screen out bogus values from the imake configuration. They are
13529 # bogus both because they are the default anyway, and because
13530 # using them would break gcc on systems where it needs fixed includes.
13531 case "$ac_im_incroot" in
13533 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13535 case "$ac_im_usrlibdir" in
13536 /usr
/lib
| /lib
) ;;
13537 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13544 if test "$ac_x_includes" = NO
; then
13545 # Guess where to find include files, by looking for this one X11 .h file.
13546 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13548 # First, try using that file with no special directory specified.
13549 cat > conftest.
$ac_ext <<EOF
13550 #line 13551 "configure"
13551 #include "confdefs.h"
13552 #include <$x_direct_test_include>
13554 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13555 { (eval echo configure
:13556: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13556 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13557 if test -z "$ac_err"; then
13559 # We can compile using X headers with no special include directory.
13563 echo "configure: failed program was:" >&5
13564 cat conftest.
$ac_ext >&5
13566 # Look for the header file in a standard set of common directories.
13567 # Check X11 before X11Rn because it is often a symlink to the current release.
13570 /usr
/X
11R
6/include \
13571 /usr
/X
11R
5/include \
13572 /usr
/X
11R
4/include \
13575 /usr
/include
/X11R6 \
13576 /usr
/include
/X11R5 \
13577 /usr
/include
/X11R4 \
13579 /usr
/local
/X
11/include \
13580 /usr
/local
/X
11R
6/include \
13581 /usr
/local
/X
11R
5/include \
13582 /usr
/local
/X
11R
4/include \
13584 /usr
/local
/include
/X11 \
13585 /usr
/local
/include
/X11R6 \
13586 /usr
/local
/include
/X11R5 \
13587 /usr
/local
/include
/X11R4 \
13589 /usr
/X
386/include \
13590 /usr
/x
386/include \
13591 /usr
/XFree
86/include
/X11 \
13594 /usr
/local
/include \
13595 /usr
/unsupported
/include \
13596 /usr
/athena
/include \
13597 /usr
/local
/x
11r
5/include \
13598 /usr
/lpp
/Xamples
/include \
13600 /usr
/openwin
/include \
13601 /usr
/openwin
/share
/include \
13604 if test -r "$ac_dir/$x_direct_test_include"; then
13605 ac_x_includes
=$ac_dir
13611 fi # $ac_x_includes = NO
13613 if test "$ac_x_libraries" = NO
; then
13614 # Check for the libraries.
13616 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13617 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13619 # See if we find them without any special options.
13620 # Don't add to $LIBS permanently.
13621 ac_save_LIBS
="$LIBS"
13622 LIBS
="-l$x_direct_test_library $LIBS"
13623 cat > conftest.
$ac_ext <<EOF
13624 #line 13625 "configure"
13625 #include "confdefs.h"
13628 ${x_direct_test_function}()
13631 if { (eval echo configure
:13632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13633 LIBS
="$ac_save_LIBS"
13634 # We can link X programs with no special library path.
13637 echo "configure: failed program was:" >&5
13638 cat conftest.
$ac_ext >&5
13640 LIBS
="$ac_save_LIBS"
13641 # First see if replacing the include by lib works.
13642 # Check X11 before X11Rn because it is often a symlink to the current release.
13643 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13654 /usr
/local
/X
11/lib \
13655 /usr
/local
/X
11R
6/lib \
13656 /usr
/local
/X
11R
5/lib \
13657 /usr
/local
/X
11R
4/lib \
13659 /usr
/local
/lib
/X11 \
13660 /usr
/local
/lib
/X11R6 \
13661 /usr
/local
/lib
/X11R5 \
13662 /usr
/local
/lib
/X11R4 \
13666 /usr
/XFree
86/lib
/X11 \
13670 /usr
/unsupported
/lib \
13672 /usr
/local
/x
11r
5/lib \
13673 /usr
/lpp
/Xamples
/lib \
13677 /usr
/openwin
/share
/lib \
13680 for ac_extension
in a so sl
; do
13681 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13682 ac_x_libraries
=$ac_dir
13689 fi # $ac_x_libraries = NO
13691 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13692 # Didn't find X anywhere. Cache the known absence of X.
13693 ac_cv_have_x
="have_x=no"
13695 # Record where we found X for the cache.
13696 ac_cv_have_x
="have_x=yes \
13697 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13701 eval "$ac_cv_have_x"
13704 if test "$have_x" != yes; then
13705 echo "$ac_t""$have_x" 1>&6
13708 # If each of the values was on the command line, it overrides each guess.
13709 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13710 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13711 # Update the cache value to reflect the command line values.
13712 ac_cv_have_x
="have_x=yes \
13713 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13714 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13717 if test "$no_x" = yes; then
13718 # Not all programs may use this symbol, but it does not hurt to define it.
13719 cat >> confdefs.h
<<\EOF
13720 #define X_DISPLAY_MISSING 1
13723 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13725 if test -n "$x_includes"; then
13726 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13729 # It would also be nice to do this for all -L options, not just this one.
13730 if test -n "$x_libraries"; then
13731 X_LIBS
="$X_LIBS -L$x_libraries"
13732 # For Solaris; some versions of Sun CC require a space after -R and
13733 # others require no space. Words are not sufficient . . . .
13734 case "`(uname -sr) 2>/dev/null`" in
13736 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13737 echo "configure:13738: checking whether -R must be followed by a space" >&5
13738 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13739 cat > conftest.
$ac_ext <<EOF
13740 #line 13741 "configure"
13741 #include "confdefs.h"
13747 if { (eval echo configure
:13748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13751 echo "configure: failed program was:" >&5
13752 cat conftest.
$ac_ext >&5
13757 if test $ac_R_nospace = yes; then
13758 echo "$ac_t""no" 1>&6
13759 X_LIBS
="$X_LIBS -R$x_libraries"
13761 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13762 cat > conftest.
$ac_ext <<EOF
13763 #line 13764 "configure"
13764 #include "confdefs.h"
13770 if { (eval echo configure
:13771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13774 echo "configure: failed program was:" >&5
13775 cat conftest.
$ac_ext >&5
13780 if test $ac_R_space = yes; then
13781 echo "$ac_t""yes" 1>&6
13782 X_LIBS
="$X_LIBS -R $x_libraries"
13784 echo "$ac_t""neither works" 1>&6
13787 LIBS
="$ac_xsave_LIBS"
13791 # Check for system-dependent libraries X programs must link with.
13792 # Do this before checking for the system-independent R6 libraries
13793 # (-lICE), since we may need -lsocket or whatever for X linking.
13795 if test "$ISC" = yes; then
13796 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13798 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13799 # libraries were built with DECnet support. And karl@cs.umb.edu says
13800 # the Alpha needs dnet_stub (dnet does not exist).
13801 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13802 echo "configure:13803: checking for dnet_ntoa in -ldnet" >&5
13803 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13804 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13805 echo $ac_n "(cached) $ac_c" 1>&6
13807 ac_save_LIBS
="$LIBS"
13808 LIBS
="-ldnet $LIBS"
13809 cat > conftest.
$ac_ext <<EOF
13810 #line 13811 "configure"
13811 #include "confdefs.h"
13812 /* Override any gcc2 internal prototype to avoid an error. */
13813 /* We use char because int might match the return type of a gcc2
13814 builtin and then its argument prototype would still apply. */
13821 if { (eval echo configure
:13822: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13823 eval "ac_cv_lib_$ac_lib_var=yes"
13825 echo "configure: failed program was:" >&5
13826 cat conftest.
$ac_ext >&5
13828 eval "ac_cv_lib_$ac_lib_var=no"
13831 LIBS
="$ac_save_LIBS"
13834 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13835 echo "$ac_t""yes" 1>&6
13836 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13838 echo "$ac_t""no" 1>&6
13841 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13842 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13843 echo "configure:13844: checking for dnet_ntoa in -ldnet_stub" >&5
13844 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13846 echo $ac_n "(cached) $ac_c" 1>&6
13848 ac_save_LIBS
="$LIBS"
13849 LIBS
="-ldnet_stub $LIBS"
13850 cat > conftest.
$ac_ext <<EOF
13851 #line 13852 "configure"
13852 #include "confdefs.h"
13853 /* Override any gcc2 internal prototype to avoid an error. */
13854 /* We use char because int might match the return type of a gcc2
13855 builtin and then its argument prototype would still apply. */
13862 if { (eval echo configure
:13863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13864 eval "ac_cv_lib_$ac_lib_var=yes"
13866 echo "configure: failed program was:" >&5
13867 cat conftest.
$ac_ext >&5
13869 eval "ac_cv_lib_$ac_lib_var=no"
13872 LIBS
="$ac_save_LIBS"
13875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13876 echo "$ac_t""yes" 1>&6
13877 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13879 echo "$ac_t""no" 1>&6
13884 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13885 # to get the SysV transport functions.
13886 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13888 # The nsl library prevents programs from opening the X display
13889 # on Irix 5.2, according to dickey@clark.net.
13890 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13891 echo "configure:13892: checking for gethostbyname" >&5
13892 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13893 echo $ac_n "(cached) $ac_c" 1>&6
13895 cat > conftest.
$ac_ext <<EOF
13896 #line 13897 "configure"
13897 #include "confdefs.h"
13898 /* System header to define __stub macros and hopefully few prototypes,
13899 which can conflict with char gethostbyname(); below. */
13900 #include <assert.h>
13901 /* Override any gcc2 internal prototype to avoid an error. */
13902 /* We use char because int might match the return type of a gcc2
13903 builtin and then its argument prototype would still apply. */
13904 char gethostbyname();
13908 /* The GNU C library defines this for functions which it implements
13909 to always fail with ENOSYS. Some functions are actually named
13910 something starting with __ and the normal name is an alias. */
13911 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13919 if { (eval echo configure
:13920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13921 eval "ac_cv_func_gethostbyname=yes"
13923 echo "configure: failed program was:" >&5
13924 cat conftest.
$ac_ext >&5
13926 eval "ac_cv_func_gethostbyname=no"
13931 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13932 echo "$ac_t""yes" 1>&6
13935 echo "$ac_t""no" 1>&6
13938 if test $ac_cv_func_gethostbyname = no
; then
13939 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13940 echo "configure:13941: checking for gethostbyname in -lnsl" >&5
13941 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13943 echo $ac_n "(cached) $ac_c" 1>&6
13945 ac_save_LIBS
="$LIBS"
13947 cat > conftest.
$ac_ext <<EOF
13948 #line 13949 "configure"
13949 #include "confdefs.h"
13950 /* Override any gcc2 internal prototype to avoid an error. */
13951 /* We use char because int might match the return type of a gcc2
13952 builtin and then its argument prototype would still apply. */
13953 char gethostbyname();
13959 if { (eval echo configure
:13960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13961 eval "ac_cv_lib_$ac_lib_var=yes"
13963 echo "configure: failed program was:" >&5
13964 cat conftest.
$ac_ext >&5
13966 eval "ac_cv_lib_$ac_lib_var=no"
13969 LIBS
="$ac_save_LIBS"
13972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13973 echo "$ac_t""yes" 1>&6
13974 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13976 echo "$ac_t""no" 1>&6
13981 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13982 # socket/setsockopt and other routines are undefined under SCO ODT
13983 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13984 # on later versions), says simon@lia.di.epfl.ch: it contains
13985 # gethostby* variants that don't use the nameserver (or something).
13986 # -lsocket must be given before -lnsl if both are needed.
13987 # We assume that if connect needs -lnsl, so does gethostbyname.
13988 echo $ac_n "checking for connect""... $ac_c" 1>&6
13989 echo "configure:13990: checking for connect" >&5
13990 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13991 echo $ac_n "(cached) $ac_c" 1>&6
13993 cat > conftest.
$ac_ext <<EOF
13994 #line 13995 "configure"
13995 #include "confdefs.h"
13996 /* System header to define __stub macros and hopefully few prototypes,
13997 which can conflict with char connect(); below. */
13998 #include <assert.h>
13999 /* Override any gcc2 internal prototype to avoid an error. */
14000 /* We use char because int might match the return type of a gcc2
14001 builtin and then its argument prototype would still apply. */
14006 /* The GNU C library defines this for functions which it implements
14007 to always fail with ENOSYS. Some functions are actually named
14008 something starting with __ and the normal name is an alias. */
14009 #if defined (__stub_connect) || defined (__stub___connect)
14017 if { (eval echo configure
:14018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14019 eval "ac_cv_func_connect=yes"
14021 echo "configure: failed program was:" >&5
14022 cat conftest.
$ac_ext >&5
14024 eval "ac_cv_func_connect=no"
14029 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14030 echo "$ac_t""yes" 1>&6
14033 echo "$ac_t""no" 1>&6
14036 if test $ac_cv_func_connect = no
; then
14037 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14038 echo "configure:14039: checking for connect in -lsocket" >&5
14039 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14040 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14041 echo $ac_n "(cached) $ac_c" 1>&6
14043 ac_save_LIBS
="$LIBS"
14044 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14045 cat > conftest.
$ac_ext <<EOF
14046 #line 14047 "configure"
14047 #include "confdefs.h"
14048 /* Override any gcc2 internal prototype to avoid an error. */
14049 /* We use char because int might match the return type of a gcc2
14050 builtin and then its argument prototype would still apply. */
14057 if { (eval echo configure
:14058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14059 eval "ac_cv_lib_$ac_lib_var=yes"
14061 echo "configure: failed program was:" >&5
14062 cat conftest.
$ac_ext >&5
14064 eval "ac_cv_lib_$ac_lib_var=no"
14067 LIBS
="$ac_save_LIBS"
14070 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14071 echo "$ac_t""yes" 1>&6
14072 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14074 echo "$ac_t""no" 1>&6
14079 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14080 echo $ac_n "checking for remove""... $ac_c" 1>&6
14081 echo "configure:14082: checking for remove" >&5
14082 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14083 echo $ac_n "(cached) $ac_c" 1>&6
14085 cat > conftest.
$ac_ext <<EOF
14086 #line 14087 "configure"
14087 #include "confdefs.h"
14088 /* System header to define __stub macros and hopefully few prototypes,
14089 which can conflict with char remove(); below. */
14090 #include <assert.h>
14091 /* Override any gcc2 internal prototype to avoid an error. */
14092 /* We use char because int might match the return type of a gcc2
14093 builtin and then its argument prototype would still apply. */
14098 /* The GNU C library defines this for functions which it implements
14099 to always fail with ENOSYS. Some functions are actually named
14100 something starting with __ and the normal name is an alias. */
14101 #if defined (__stub_remove) || defined (__stub___remove)
14109 if { (eval echo configure
:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14111 eval "ac_cv_func_remove=yes"
14113 echo "configure: failed program was:" >&5
14114 cat conftest.
$ac_ext >&5
14116 eval "ac_cv_func_remove=no"
14121 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14122 echo "$ac_t""yes" 1>&6
14125 echo "$ac_t""no" 1>&6
14128 if test $ac_cv_func_remove = no
; then
14129 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14130 echo "configure:14131: checking for remove in -lposix" >&5
14131 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14132 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14133 echo $ac_n "(cached) $ac_c" 1>&6
14135 ac_save_LIBS
="$LIBS"
14136 LIBS
="-lposix $LIBS"
14137 cat > conftest.
$ac_ext <<EOF
14138 #line 14139 "configure"
14139 #include "confdefs.h"
14140 /* Override any gcc2 internal prototype to avoid an error. */
14141 /* We use char because int might match the return type of a gcc2
14142 builtin and then its argument prototype would still apply. */
14149 if { (eval echo configure
:14150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14151 eval "ac_cv_lib_$ac_lib_var=yes"
14153 echo "configure: failed program was:" >&5
14154 cat conftest.
$ac_ext >&5
14156 eval "ac_cv_lib_$ac_lib_var=no"
14159 LIBS
="$ac_save_LIBS"
14162 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14163 echo "$ac_t""yes" 1>&6
14164 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14166 echo "$ac_t""no" 1>&6
14171 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14172 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14173 echo "configure:14174: checking for shmat" >&5
14174 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14175 echo $ac_n "(cached) $ac_c" 1>&6
14177 cat > conftest.
$ac_ext <<EOF
14178 #line 14179 "configure"
14179 #include "confdefs.h"
14180 /* System header to define __stub macros and hopefully few prototypes,
14181 which can conflict with char shmat(); below. */
14182 #include <assert.h>
14183 /* Override any gcc2 internal prototype to avoid an error. */
14184 /* We use char because int might match the return type of a gcc2
14185 builtin and then its argument prototype would still apply. */
14190 /* The GNU C library defines this for functions which it implements
14191 to always fail with ENOSYS. Some functions are actually named
14192 something starting with __ and the normal name is an alias. */
14193 #if defined (__stub_shmat) || defined (__stub___shmat)
14201 if { (eval echo configure
:14202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14203 eval "ac_cv_func_shmat=yes"
14205 echo "configure: failed program was:" >&5
14206 cat conftest.
$ac_ext >&5
14208 eval "ac_cv_func_shmat=no"
14213 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14214 echo "$ac_t""yes" 1>&6
14217 echo "$ac_t""no" 1>&6
14220 if test $ac_cv_func_shmat = no
; then
14221 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14222 echo "configure:14223: checking for shmat in -lipc" >&5
14223 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14224 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14225 echo $ac_n "(cached) $ac_c" 1>&6
14227 ac_save_LIBS
="$LIBS"
14229 cat > conftest.
$ac_ext <<EOF
14230 #line 14231 "configure"
14231 #include "confdefs.h"
14232 /* Override any gcc2 internal prototype to avoid an error. */
14233 /* We use char because int might match the return type of a gcc2
14234 builtin and then its argument prototype would still apply. */
14241 if { (eval echo configure
:14242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14243 eval "ac_cv_lib_$ac_lib_var=yes"
14245 echo "configure: failed program was:" >&5
14246 cat conftest.
$ac_ext >&5
14248 eval "ac_cv_lib_$ac_lib_var=no"
14251 LIBS
="$ac_save_LIBS"
14254 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14255 echo "$ac_t""yes" 1>&6
14256 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14258 echo "$ac_t""no" 1>&6
14264 # Check for libraries that X11R6 Xt/Xaw programs need.
14265 ac_save_LDFLAGS
="$LDFLAGS"
14266 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14267 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14268 # check for ICE first), but we must link in the order -lSM -lICE or
14269 # we get undefined symbols. So assume we have SM if we have ICE.
14270 # These have to be linked with before -lX11, unlike the other
14271 # libraries we check for below, so use a different variable.
14272 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14273 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14274 echo "configure:14275: checking for IceConnectionNumber in -lICE" >&5
14275 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14277 echo $ac_n "(cached) $ac_c" 1>&6
14279 ac_save_LIBS
="$LIBS"
14280 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14281 cat > conftest.
$ac_ext <<EOF
14282 #line 14283 "configure"
14283 #include "confdefs.h"
14284 /* Override any gcc2 internal prototype to avoid an error. */
14285 /* We use char because int might match the return type of a gcc2
14286 builtin and then its argument prototype would still apply. */
14287 char IceConnectionNumber();
14290 IceConnectionNumber()
14293 if { (eval echo configure
:14294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14295 eval "ac_cv_lib_$ac_lib_var=yes"
14297 echo "configure: failed program was:" >&5
14298 cat conftest.
$ac_ext >&5
14300 eval "ac_cv_lib_$ac_lib_var=no"
14303 LIBS
="$ac_save_LIBS"
14306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14307 echo "$ac_t""yes" 1>&6
14308 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14310 echo "$ac_t""no" 1>&6
14313 LDFLAGS
="$ac_save_LDFLAGS"
14318 if test "$no_x" = "yes"; then
14319 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14322 GUI_TK_LIBRARY
="$X_LIBS"
14323 TOOLKIT_INCLUDE
="$X_CFLAGS"
14324 AFMINSTALL
=afminstall
14325 COMPILED_X_PROGRAM
=0
14327 if test "$wxUSE_NANOX" = "yes"; then
14328 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14329 echo "configure:14330: checking for MicroWindows/NanoX distribution" >&5
14330 if test "x$MICROWIN" = x
; then
14331 echo "$ac_t""not found" 1>&6
14332 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14334 echo "$ac_t""$MICROWIN" 1>&6
14335 cat >> confdefs.h
<<\EOF
14336 #define wxUSE_NANOX 1
14343 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14344 echo "configure:14345: checking for Xpm library" >&5
14347 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14349 for ac_extension
in a so sl dylib
; do
14350 if test -f "$ac_dir/libXpm.$ac_extension"; then
14351 ac_find_libraries
=$ac_dir
14357 if test "$ac_find_libraries" != "" ; then
14359 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14361 if test $result = 0; then
14364 ac_path_to_link
=" -L$ac_find_libraries"
14367 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14369 cat >> confdefs.h
<<\EOF
14370 #define wxHAVE_LIB_XPM 1
14373 echo "$ac_t""found at $ac_find_libraries" 1>&6
14375 cat > conftest.
$ac_ext <<EOF
14376 #line 14377 "configure"
14377 #include "confdefs.h"
14379 #include <X11/xpm.h>
14384 version = XpmLibraryVersion();
14388 if { (eval echo configure
:14389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14392 cat >> confdefs.h
<<\EOF
14393 #define wxHAVE_LIB_XPM 1
14396 echo "$ac_t""found in default search path" 1>&6
14397 COMPILED_X_PROGRAM
=0
14400 echo "configure: failed program was:" >&5
14401 cat conftest.
$ac_ext >&5
14404 echo "$ac_t""no" 1>&6
14405 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14412 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
14413 echo "configure:14414: checking for XShapeQueryExtension in -lXext" >&5
14414 ac_lib_var
=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
14415 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14416 echo $ac_n "(cached) $ac_c" 1>&6
14418 ac_save_LIBS
="$LIBS"
14419 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
14420 cat > conftest.
$ac_ext <<EOF
14421 #line 14422 "configure"
14422 #include "confdefs.h"
14423 /* Override any gcc2 internal prototype to avoid an error. */
14424 /* We use char because int might match the return type of a gcc2
14425 builtin and then its argument prototype would still apply. */
14426 char XShapeQueryExtension();
14429 XShapeQueryExtension()
14432 if { (eval echo configure
:14433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14434 eval "ac_cv_lib_$ac_lib_var=yes"
14436 echo "configure: failed program was:" >&5
14437 cat conftest.
$ac_ext >&5
14439 eval "ac_cv_lib_$ac_lib_var=no"
14442 LIBS
="$ac_save_LIBS"
14445 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14446 echo "$ac_t""yes" 1>&6
14448 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
14452 echo "$ac_t""no" 1>&6
14456 if test "$wxUSE_UNICODE" = "yes"; then
14460 if test -z "$PKG_CONFIG"; then
14461 # Extract the first word of "pkg-config", so it can be a program name with args.
14462 set dummy pkg
-config; ac_word
=$2
14463 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14464 echo "configure:14465: checking for $ac_word" >&5
14465 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14466 echo $ac_n "(cached) $ac_c" 1>&6
14468 case "$PKG_CONFIG" in
14470 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14473 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14476 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14478 for ac_dir
in $ac_dummy; do
14479 test -z "$ac_dir" && ac_dir
=.
14480 if test -f $ac_dir/$ac_word; then
14481 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14486 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14490 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14491 if test -n "$PKG_CONFIG"; then
14492 echo "$ac_t""$PKG_CONFIG" 1>&6
14494 echo "$ac_t""no" 1>&6
14499 if test "$PKG_CONFIG" = "no" ; then
14500 echo "*** The pkg-config script could not be found. Make sure it is"
14501 echo "*** in your path, or set the PKG_CONFIG environment variable"
14502 echo "*** to the full path to pkg-config."
14503 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14505 PKG_CONFIG_MIN_VERSION
=0.9.0
14506 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14507 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14508 echo "configure:14509: checking for pangox" >&5
14510 if $PKG_CONFIG --exists "pangox" ; then
14511 echo "$ac_t""yes" 1>&6
14514 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14515 echo "configure:14516: checking PANGOX_CFLAGS" >&5
14516 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14517 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14519 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14520 echo "configure:14521: checking PANGOX_LIBS" >&5
14521 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14522 echo "$ac_t""$PANGOX_LIBS" 1>&6
14526 ## If we have a custom action on failure, don't print errors, but
14527 ## do set a variable so people can do so.
14528 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14535 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14536 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14540 if test $succeeded = yes; then
14542 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14543 LIBS
="$LIBS $PANGOX_LIBS"
14547 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14555 if test -z "$PKG_CONFIG"; then
14556 # Extract the first word of "pkg-config", so it can be a program name with args.
14557 set dummy pkg
-config; ac_word
=$2
14558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14559 echo "configure:14560: checking for $ac_word" >&5
14560 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14561 echo $ac_n "(cached) $ac_c" 1>&6
14563 case "$PKG_CONFIG" in
14565 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14568 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14571 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14573 for ac_dir
in $ac_dummy; do
14574 test -z "$ac_dir" && ac_dir
=.
14575 if test -f $ac_dir/$ac_word; then
14576 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14581 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14585 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14586 if test -n "$PKG_CONFIG"; then
14587 echo "$ac_t""$PKG_CONFIG" 1>&6
14589 echo "$ac_t""no" 1>&6
14594 if test "$PKG_CONFIG" = "no" ; then
14595 echo "*** The pkg-config script could not be found. Make sure it is"
14596 echo "*** in your path, or set the PKG_CONFIG environment variable"
14597 echo "*** to the full path to pkg-config."
14598 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14600 PKG_CONFIG_MIN_VERSION
=0.9.0
14601 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14602 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14603 echo "configure:14604: checking for pangoft2" >&5
14605 if $PKG_CONFIG --exists "pangoft2" ; then
14606 echo "$ac_t""yes" 1>&6
14609 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14610 echo "configure:14611: checking PANGOFT2_CFLAGS" >&5
14611 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14612 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14614 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14615 echo "configure:14616: checking PANGOFT2_LIBS" >&5
14616 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14617 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14621 ## If we have a custom action on failure, don't print errors, but
14622 ## do set a variable so people can do so.
14623 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14630 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14631 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14635 if test $succeeded = yes; then
14637 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14638 LIBS
="$LIBS $PANGOFT2_LIBS"
14642 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14643 wxUSE_PRINTING_ARCHITECTURE
="no"
14651 if test -z "$PKG_CONFIG"; then
14652 # Extract the first word of "pkg-config", so it can be a program name with args.
14653 set dummy pkg
-config; ac_word
=$2
14654 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14655 echo "configure:14656: checking for $ac_word" >&5
14656 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14657 echo $ac_n "(cached) $ac_c" 1>&6
14659 case "$PKG_CONFIG" in
14661 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14664 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14667 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14669 for ac_dir
in $ac_dummy; do
14670 test -z "$ac_dir" && ac_dir
=.
14671 if test -f $ac_dir/$ac_word; then
14672 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14677 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14681 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14682 if test -n "$PKG_CONFIG"; then
14683 echo "$ac_t""$PKG_CONFIG" 1>&6
14685 echo "$ac_t""no" 1>&6
14690 if test "$PKG_CONFIG" = "no" ; then
14691 echo "*** The pkg-config script could not be found. Make sure it is"
14692 echo "*** in your path, or set the PKG_CONFIG environment variable"
14693 echo "*** to the full path to pkg-config."
14694 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14696 PKG_CONFIG_MIN_VERSION
=0.9.0
14697 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14698 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14699 echo "configure:14700: checking for pangoxft" >&5
14701 if $PKG_CONFIG --exists "pangoxft" ; then
14702 echo "$ac_t""yes" 1>&6
14705 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14706 echo "configure:14707: checking PANGOXFT_CFLAGS" >&5
14707 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14708 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14710 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14711 echo "configure:14712: checking PANGOXFT_LIBS" >&5
14712 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14713 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14717 ## If we have a custom action on failure, don't print errors, but
14718 ## do set a variable so people can do so.
14719 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14726 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14727 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14731 if test $succeeded = yes; then
14733 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14734 LIBS
="$LIBS $PANGOXFT_LIBS"
14738 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14745 wxUSE_UNIVERSAL
="yes"
14747 if test "$wxUSE_NANOX" = "yes"; then
14748 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14749 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"
14750 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14752 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14755 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14760 if test "$wxUSE_MOTIF" = 1; then
14761 if test "$no_x" = yes; then
14762 # Not all programs may use this symbol, but it does not hurt to define it.
14763 cat >> confdefs.h
<<\EOF
14764 #define X_DISPLAY_MISSING 1
14767 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14769 if test -n "$x_includes"; then
14770 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14773 # It would also be nice to do this for all -L options, not just this one.
14774 if test -n "$x_libraries"; then
14775 X_LIBS
="$X_LIBS -L$x_libraries"
14776 # For Solaris; some versions of Sun CC require a space after -R and
14777 # others require no space. Words are not sufficient . . . .
14778 case "`(uname -sr) 2>/dev/null`" in
14780 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14781 echo "configure:14782: checking whether -R must be followed by a space" >&5
14782 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14783 cat > conftest.
$ac_ext <<EOF
14784 #line 14785 "configure"
14785 #include "confdefs.h"
14791 if { (eval echo configure
:14792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14795 echo "configure: failed program was:" >&5
14796 cat conftest.
$ac_ext >&5
14801 if test $ac_R_nospace = yes; then
14802 echo "$ac_t""no" 1>&6
14803 X_LIBS
="$X_LIBS -R$x_libraries"
14805 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14806 cat > conftest.
$ac_ext <<EOF
14807 #line 14808 "configure"
14808 #include "confdefs.h"
14814 if { (eval echo configure
:14815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14818 echo "configure: failed program was:" >&5
14819 cat conftest.
$ac_ext >&5
14824 if test $ac_R_space = yes; then
14825 echo "$ac_t""yes" 1>&6
14826 X_LIBS
="$X_LIBS -R $x_libraries"
14828 echo "$ac_t""neither works" 1>&6
14831 LIBS
="$ac_xsave_LIBS"
14835 # Check for system-dependent libraries X programs must link with.
14836 # Do this before checking for the system-independent R6 libraries
14837 # (-lICE), since we may need -lsocket or whatever for X linking.
14839 if test "$ISC" = yes; then
14840 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14842 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14843 # libraries were built with DECnet support. And karl@cs.umb.edu says
14844 # the Alpha needs dnet_stub (dnet does not exist).
14845 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14846 echo "configure:14847: checking for dnet_ntoa in -ldnet" >&5
14847 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14848 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14849 echo $ac_n "(cached) $ac_c" 1>&6
14851 ac_save_LIBS
="$LIBS"
14852 LIBS
="-ldnet $LIBS"
14853 cat > conftest.
$ac_ext <<EOF
14854 #line 14855 "configure"
14855 #include "confdefs.h"
14856 /* Override any gcc2 internal prototype to avoid an error. */
14857 /* We use char because int might match the return type of a gcc2
14858 builtin and then its argument prototype would still apply. */
14865 if { (eval echo configure
:14866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14867 eval "ac_cv_lib_$ac_lib_var=yes"
14869 echo "configure: failed program was:" >&5
14870 cat conftest.
$ac_ext >&5
14872 eval "ac_cv_lib_$ac_lib_var=no"
14875 LIBS
="$ac_save_LIBS"
14878 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14879 echo "$ac_t""yes" 1>&6
14880 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14882 echo "$ac_t""no" 1>&6
14885 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14886 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14887 echo "configure:14888: checking for dnet_ntoa in -ldnet_stub" >&5
14888 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14890 echo $ac_n "(cached) $ac_c" 1>&6
14892 ac_save_LIBS
="$LIBS"
14893 LIBS
="-ldnet_stub $LIBS"
14894 cat > conftest.
$ac_ext <<EOF
14895 #line 14896 "configure"
14896 #include "confdefs.h"
14897 /* Override any gcc2 internal prototype to avoid an error. */
14898 /* We use char because int might match the return type of a gcc2
14899 builtin and then its argument prototype would still apply. */
14906 if { (eval echo configure
:14907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14908 eval "ac_cv_lib_$ac_lib_var=yes"
14910 echo "configure: failed program was:" >&5
14911 cat conftest.
$ac_ext >&5
14913 eval "ac_cv_lib_$ac_lib_var=no"
14916 LIBS
="$ac_save_LIBS"
14919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14920 echo "$ac_t""yes" 1>&6
14921 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14923 echo "$ac_t""no" 1>&6
14928 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14929 # to get the SysV transport functions.
14930 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14932 # The nsl library prevents programs from opening the X display
14933 # on Irix 5.2, according to dickey@clark.net.
14934 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14935 echo "configure:14936: checking for gethostbyname" >&5
14936 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14937 echo $ac_n "(cached) $ac_c" 1>&6
14939 cat > conftest.
$ac_ext <<EOF
14940 #line 14941 "configure"
14941 #include "confdefs.h"
14942 /* System header to define __stub macros and hopefully few prototypes,
14943 which can conflict with char gethostbyname(); below. */
14944 #include <assert.h>
14945 /* Override any gcc2 internal prototype to avoid an error. */
14946 /* We use char because int might match the return type of a gcc2
14947 builtin and then its argument prototype would still apply. */
14948 char gethostbyname();
14952 /* The GNU C library defines this for functions which it implements
14953 to always fail with ENOSYS. Some functions are actually named
14954 something starting with __ and the normal name is an alias. */
14955 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14963 if { (eval echo configure
:14964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14965 eval "ac_cv_func_gethostbyname=yes"
14967 echo "configure: failed program was:" >&5
14968 cat conftest.
$ac_ext >&5
14970 eval "ac_cv_func_gethostbyname=no"
14975 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14976 echo "$ac_t""yes" 1>&6
14979 echo "$ac_t""no" 1>&6
14982 if test $ac_cv_func_gethostbyname = no
; then
14983 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14984 echo "configure:14985: checking for gethostbyname in -lnsl" >&5
14985 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14987 echo $ac_n "(cached) $ac_c" 1>&6
14989 ac_save_LIBS
="$LIBS"
14991 cat > conftest.
$ac_ext <<EOF
14992 #line 14993 "configure"
14993 #include "confdefs.h"
14994 /* Override any gcc2 internal prototype to avoid an error. */
14995 /* We use char because int might match the return type of a gcc2
14996 builtin and then its argument prototype would still apply. */
14997 char gethostbyname();
15003 if { (eval echo configure
:15004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15005 eval "ac_cv_lib_$ac_lib_var=yes"
15007 echo "configure: failed program was:" >&5
15008 cat conftest.
$ac_ext >&5
15010 eval "ac_cv_lib_$ac_lib_var=no"
15013 LIBS
="$ac_save_LIBS"
15016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15017 echo "$ac_t""yes" 1>&6
15018 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15020 echo "$ac_t""no" 1>&6
15025 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15026 # socket/setsockopt and other routines are undefined under SCO ODT
15027 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15028 # on later versions), says simon@lia.di.epfl.ch: it contains
15029 # gethostby* variants that don't use the nameserver (or something).
15030 # -lsocket must be given before -lnsl if both are needed.
15031 # We assume that if connect needs -lnsl, so does gethostbyname.
15032 echo $ac_n "checking for connect""... $ac_c" 1>&6
15033 echo "configure:15034: checking for connect" >&5
15034 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15035 echo $ac_n "(cached) $ac_c" 1>&6
15037 cat > conftest.
$ac_ext <<EOF
15038 #line 15039 "configure"
15039 #include "confdefs.h"
15040 /* System header to define __stub macros and hopefully few prototypes,
15041 which can conflict with char connect(); below. */
15042 #include <assert.h>
15043 /* Override any gcc2 internal prototype to avoid an error. */
15044 /* We use char because int might match the return type of a gcc2
15045 builtin and then its argument prototype would still apply. */
15050 /* The GNU C library defines this for functions which it implements
15051 to always fail with ENOSYS. Some functions are actually named
15052 something starting with __ and the normal name is an alias. */
15053 #if defined (__stub_connect) || defined (__stub___connect)
15061 if { (eval echo configure
:15062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15063 eval "ac_cv_func_connect=yes"
15065 echo "configure: failed program was:" >&5
15066 cat conftest.
$ac_ext >&5
15068 eval "ac_cv_func_connect=no"
15073 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15074 echo "$ac_t""yes" 1>&6
15077 echo "$ac_t""no" 1>&6
15080 if test $ac_cv_func_connect = no
; then
15081 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15082 echo "configure:15083: checking for connect in -lsocket" >&5
15083 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15084 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15085 echo $ac_n "(cached) $ac_c" 1>&6
15087 ac_save_LIBS
="$LIBS"
15088 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15089 cat > conftest.
$ac_ext <<EOF
15090 #line 15091 "configure"
15091 #include "confdefs.h"
15092 /* Override any gcc2 internal prototype to avoid an error. */
15093 /* We use char because int might match the return type of a gcc2
15094 builtin and then its argument prototype would still apply. */
15101 if { (eval echo configure
:15102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15103 eval "ac_cv_lib_$ac_lib_var=yes"
15105 echo "configure: failed program was:" >&5
15106 cat conftest.
$ac_ext >&5
15108 eval "ac_cv_lib_$ac_lib_var=no"
15111 LIBS
="$ac_save_LIBS"
15114 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15115 echo "$ac_t""yes" 1>&6
15116 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15118 echo "$ac_t""no" 1>&6
15123 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15124 echo $ac_n "checking for remove""... $ac_c" 1>&6
15125 echo "configure:15126: checking for remove" >&5
15126 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15127 echo $ac_n "(cached) $ac_c" 1>&6
15129 cat > conftest.
$ac_ext <<EOF
15130 #line 15131 "configure"
15131 #include "confdefs.h"
15132 /* System header to define __stub macros and hopefully few prototypes,
15133 which can conflict with char remove(); below. */
15134 #include <assert.h>
15135 /* Override any gcc2 internal prototype to avoid an error. */
15136 /* We use char because int might match the return type of a gcc2
15137 builtin and then its argument prototype would still apply. */
15142 /* The GNU C library defines this for functions which it implements
15143 to always fail with ENOSYS. Some functions are actually named
15144 something starting with __ and the normal name is an alias. */
15145 #if defined (__stub_remove) || defined (__stub___remove)
15153 if { (eval echo configure
:15154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15155 eval "ac_cv_func_remove=yes"
15157 echo "configure: failed program was:" >&5
15158 cat conftest.
$ac_ext >&5
15160 eval "ac_cv_func_remove=no"
15165 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15166 echo "$ac_t""yes" 1>&6
15169 echo "$ac_t""no" 1>&6
15172 if test $ac_cv_func_remove = no
; then
15173 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15174 echo "configure:15175: checking for remove in -lposix" >&5
15175 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15176 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15177 echo $ac_n "(cached) $ac_c" 1>&6
15179 ac_save_LIBS
="$LIBS"
15180 LIBS
="-lposix $LIBS"
15181 cat > conftest.
$ac_ext <<EOF
15182 #line 15183 "configure"
15183 #include "confdefs.h"
15184 /* Override any gcc2 internal prototype to avoid an error. */
15185 /* We use char because int might match the return type of a gcc2
15186 builtin and then its argument prototype would still apply. */
15193 if { (eval echo configure
:15194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15195 eval "ac_cv_lib_$ac_lib_var=yes"
15197 echo "configure: failed program was:" >&5
15198 cat conftest.
$ac_ext >&5
15200 eval "ac_cv_lib_$ac_lib_var=no"
15203 LIBS
="$ac_save_LIBS"
15206 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15207 echo "$ac_t""yes" 1>&6
15208 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15210 echo "$ac_t""no" 1>&6
15215 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15216 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15217 echo "configure:15218: checking for shmat" >&5
15218 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15219 echo $ac_n "(cached) $ac_c" 1>&6
15221 cat > conftest.
$ac_ext <<EOF
15222 #line 15223 "configure"
15223 #include "confdefs.h"
15224 /* System header to define __stub macros and hopefully few prototypes,
15225 which can conflict with char shmat(); below. */
15226 #include <assert.h>
15227 /* Override any gcc2 internal prototype to avoid an error. */
15228 /* We use char because int might match the return type of a gcc2
15229 builtin and then its argument prototype would still apply. */
15234 /* The GNU C library defines this for functions which it implements
15235 to always fail with ENOSYS. Some functions are actually named
15236 something starting with __ and the normal name is an alias. */
15237 #if defined (__stub_shmat) || defined (__stub___shmat)
15245 if { (eval echo configure
:15246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15247 eval "ac_cv_func_shmat=yes"
15249 echo "configure: failed program was:" >&5
15250 cat conftest.
$ac_ext >&5
15252 eval "ac_cv_func_shmat=no"
15257 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15258 echo "$ac_t""yes" 1>&6
15261 echo "$ac_t""no" 1>&6
15264 if test $ac_cv_func_shmat = no
; then
15265 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15266 echo "configure:15267: checking for shmat in -lipc" >&5
15267 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15268 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15269 echo $ac_n "(cached) $ac_c" 1>&6
15271 ac_save_LIBS
="$LIBS"
15273 cat > conftest.
$ac_ext <<EOF
15274 #line 15275 "configure"
15275 #include "confdefs.h"
15276 /* Override any gcc2 internal prototype to avoid an error. */
15277 /* We use char because int might match the return type of a gcc2
15278 builtin and then its argument prototype would still apply. */
15285 if { (eval echo configure
:15286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15287 eval "ac_cv_lib_$ac_lib_var=yes"
15289 echo "configure: failed program was:" >&5
15290 cat conftest.
$ac_ext >&5
15292 eval "ac_cv_lib_$ac_lib_var=no"
15295 LIBS
="$ac_save_LIBS"
15298 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15299 echo "$ac_t""yes" 1>&6
15300 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15302 echo "$ac_t""no" 1>&6
15308 # Check for libraries that X11R6 Xt/Xaw programs need.
15309 ac_save_LDFLAGS
="$LDFLAGS"
15310 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15311 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15312 # check for ICE first), but we must link in the order -lSM -lICE or
15313 # we get undefined symbols. So assume we have SM if we have ICE.
15314 # These have to be linked with before -lX11, unlike the other
15315 # libraries we check for below, so use a different variable.
15316 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15317 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15318 echo "configure:15319: checking for IceConnectionNumber in -lICE" >&5
15319 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15320 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15321 echo $ac_n "(cached) $ac_c" 1>&6
15323 ac_save_LIBS
="$LIBS"
15324 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15325 cat > conftest.
$ac_ext <<EOF
15326 #line 15327 "configure"
15327 #include "confdefs.h"
15328 /* Override any gcc2 internal prototype to avoid an error. */
15329 /* We use char because int might match the return type of a gcc2
15330 builtin and then its argument prototype would still apply. */
15331 char IceConnectionNumber();
15334 IceConnectionNumber()
15337 if { (eval echo configure
:15338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15339 eval "ac_cv_lib_$ac_lib_var=yes"
15341 echo "configure: failed program was:" >&5
15342 cat conftest.
$ac_ext >&5
15344 eval "ac_cv_lib_$ac_lib_var=no"
15347 LIBS
="$ac_save_LIBS"
15350 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15351 echo "$ac_t""yes" 1>&6
15352 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15354 echo "$ac_t""no" 1>&6
15357 LDFLAGS
="$ac_save_LDFLAGS"
15362 if test "$no_x" = "yes"; then
15363 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15366 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15367 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15368 AFMINSTALL
=afminstall
15369 COMPILED_X_PROGRAM
=0
15371 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15372 echo "configure:15373: checking for Motif/Lesstif headers" >&5
15375 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15377 if test -f "$ac_dir/Xm/Xm.h"; then
15378 ac_find_includes
=$ac_dir
15383 if test "$ac_find_includes" != "" ; then
15384 echo "$ac_t""found in $ac_find_includes" 1>&6
15386 if test "x$ac_find_includes" = "x/usr/include"; then
15387 ac_path_to_include
=""
15389 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15391 if test $result = 0; then
15392 ac_path_to_include
=""
15394 ac_path_to_include
=" -I$ac_find_includes"
15398 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15400 cat > conftest.
$ac_ext <<EOF
15401 #line 15402 "configure"
15402 #include "confdefs.h"
15409 version = xmUseVersion;
15413 if { (eval echo configure
:15414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15416 echo "$ac_t""found in default search path" 1>&6
15417 COMPILED_X_PROGRAM
=1
15420 echo "configure: failed program was:" >&5
15421 cat conftest.
$ac_ext >&5
15424 echo "$ac_t""no" 1>&6
15425 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15432 if test "$COMPILED_X_PROGRAM" = 0; then
15433 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15434 echo "configure:15435: checking for Motif/Lesstif library" >&5
15437 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15439 for ac_extension
in a so sl dylib
; do
15440 if test -f "$ac_dir/libXm.$ac_extension"; then
15441 ac_find_libraries
=$ac_dir
15447 if test "$ac_find_libraries" != "" ; then
15448 echo "$ac_t""found at $ac_find_libraries" 1>&6
15451 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15453 if test $result = 0; then
15456 ac_path_to_link
=" -L$ac_find_libraries"
15459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15461 save_CFLAGS
=$CFLAGS
15462 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15464 cat > conftest.
$ac_ext <<EOF
15465 #line 15466 "configure"
15466 #include "confdefs.h"
15473 version = xmUseVersion;
15477 if { (eval echo configure
:15478: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15480 echo "$ac_t""found in default search path" 1>&6
15481 COMPILED_X_PROGRAM
=1
15484 echo "configure: failed program was:" >&5
15485 cat conftest.
$ac_ext >&5
15488 echo "$ac_t""no" 1>&6
15489 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15495 CFLAGS
=$save_CFLAGS
15500 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15501 echo "configure:15502: checking for Xpm library" >&5
15504 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15506 for ac_extension
in a so sl dylib
; do
15507 if test -f "$ac_dir/libXpm.$ac_extension"; then
15508 ac_find_libraries
=$ac_dir
15514 if test "$ac_find_libraries" != "" ; then
15516 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15518 if test $result = 0; then
15521 ac_path_to_link
=" -L$ac_find_libraries"
15524 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15527 cat >> confdefs.h
<<\EOF
15528 #define wxHAVE_LIB_XPM 1
15531 echo "$ac_t""found at $ac_find_libraries" 1>&6
15533 save_CFLAGS
=$CFLAGS
15534 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15536 cat > conftest.
$ac_ext <<EOF
15537 #line 15538 "configure"
15538 #include "confdefs.h"
15540 #include <X11/xpm.h>
15545 version = XpmLibraryVersion();
15549 if { (eval echo configure
:15550: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15553 cat >> confdefs.h
<<\EOF
15554 #define wxHAVE_LIB_XPM 1
15557 echo "$ac_t""found in default search path" 1>&6
15558 COMPILED_X_PROGRAM
=0
15561 echo "configure: failed program was:" >&5
15562 cat conftest.
$ac_ext >&5
15565 echo "$ac_t""no" 1>&6
15566 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15572 CFLAGS
=$save_CFLAGS
15575 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15576 echo "configure:15577: checking if we need -lXp and/or -lSM -lICE" >&5
15580 for libp
in "" " -lXp"; do
15581 if test "$libs_found" = "0"; then
15582 for libsm_ice
in " -lSM -lICE"; do
15583 if test "$libs_found" = "0"; then
15585 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15586 save_CFLAGS
=$CFLAGS
15587 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15589 cat > conftest.
$ac_ext <<EOF
15590 #line 15591 "configure"
15591 #include "confdefs.h"
15594 #include <Xm/List.h>
15598 XmString string = NULL;
15601 XmListAddItem(w, string, position);
15605 if { (eval echo configure
:15606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15609 libsm_ice_link
="$libsm_ice"
15610 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15614 echo "configure: failed program was:" >&5
15615 cat conftest.
$ac_ext >&5
15623 CFLAGS
=$save_CFLAGS
15629 if test "$libs_found" = "0"; then
15630 echo "$ac_t""can't find the right libraries" 1>&6
15631 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15634 save_CFLAGS
=$CFLAGS
15635 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15636 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15637 echo "configure:15638: checking for Motif 2" >&5
15638 cat > conftest.
$ac_ext <<EOF
15639 #line 15640 "configure"
15640 #include "confdefs.h"
15646 #if XmVersion < 2000
15647 #error "Not Motif 2"
15652 if { (eval echo configure
:15653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15655 cat >> confdefs.h
<<\EOF
15656 #define __WXMOTIF20__ 1
15659 echo "$ac_t""found" 1>&6
15662 echo "configure: failed program was:" >&5
15663 cat conftest.
$ac_ext >&5
15666 cat >> confdefs.h
<<\EOF
15667 #define __WXMOTIF20__ 0
15670 echo "$ac_t""not found" 1>&6
15674 CFLAGS
=$save_CFLAGS
15676 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15677 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15683 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
15684 test "$wxHAVE_XEXT_LIB" = 1; then
15685 save_CFLAGS
="$CFLAGS"
15686 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15688 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
15689 echo "configure:15690: checking for X11/extensions/shape.h" >&5
15690 cat > conftest.
$ac_ext <<EOF
15691 #line 15692 "configure"
15692 #include "confdefs.h"
15694 #include <X11/Xlib.h>
15695 #include <X11/extensions/shape.h>
15699 int dummy1, dummy2;
15700 XShapeQueryExtension((Display*)NULL,
15701 (int*)NULL, (int*)NULL);
15705 if { (eval echo configure
:15706: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15708 cat >> confdefs.h
<<\EOF
15709 #define HAVE_XSHAPE 1
15712 echo "$ac_t""found" 1>&6
15715 echo "configure: failed program was:" >&5
15716 cat conftest.
$ac_ext >&5
15719 echo "$ac_t""not found" 1>&6
15723 CFLAGS
="$save_CFLAGS"
15726 if test "$wxUSE_MAC" = 1; then
15727 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15729 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15734 if test "$wxUSE_COCOA" = 1; then
15735 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15740 if test "$wxUSE_PM" = 1; then
15743 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15747 if test "$TOOLKIT" = "PM" ; then
15750 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15753 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15755 if test "$wxUSE_UNIVERSAL" = "yes"; then
15756 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15758 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15759 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15761 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15762 if test "$wxUSE_X11" = 1; then
15763 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15765 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15767 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15770 ALL_OBJECTS
="\$(GUIOBJS)"
15771 ALL_SOURCES
="\$(ALL_SOURCES)"
15772 ALL_HEADERS
="\$(ALL_HEADERS)"
15775 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15777 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15778 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15781 if test "$wxUSE_HTML" = "yes"; then
15782 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15785 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15786 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15788 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15789 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15791 if test "$wxUSE_LIBPNG" = "builtin" ; then
15792 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15795 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15796 DISTDIR
="wx\$(TOOLKIT)"
15802 if test "$USE_WIN32" = 1 ; then
15803 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15804 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15808 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15809 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15812 ALL_SOURCES
="\$(ALL_SOURCES)"
15813 ALL_HEADERS
="\$(ALL_HEADERS)"
15815 PORT_FILES
="\${top_srcdir}/src/files.lst"
15817 GUIDIST
="BASE_DIST"
15822 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15823 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15826 if test "$wxUSE_REGEX" = "builtin" ; then
15827 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15829 if test "$wxUSE_ZLIB" = "builtin" ; then
15830 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15834 if test "$wxUSE_OPENGL" = "yes"; then
15835 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15836 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15837 elif test "$wxUSE_MSW" = 1; then
15838 OPENGL_LIBS
="-lopengl32 -lglu32"
15840 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15841 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15842 echo "configure:15843: checking for GL/gl.h" >&5
15843 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15844 echo $ac_n "(cached) $ac_c" 1>&6
15846 cat > conftest.
$ac_ext <<EOF
15847 #line 15848 "configure"
15848 #include "confdefs.h"
15851 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15852 { (eval echo configure
:15853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15853 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15854 if test -z "$ac_err"; then
15856 eval "ac_cv_header_$ac_safe=yes"
15859 echo "configure: failed program was:" >&5
15860 cat conftest.
$ac_ext >&5
15862 eval "ac_cv_header_$ac_safe=no"
15866 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15867 echo "$ac_t""yes" 1>&6
15871 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15872 echo "configure:15873: checking for -lGL" >&5
15875 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15877 for ac_extension
in a so sl dylib
; do
15878 if test -f "$ac_dir/libGL.$ac_extension"; then
15879 ac_find_libraries
=$ac_dir
15885 if test "$ac_find_libraries" != "" ; then
15887 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15889 if test $result = 0; then
15892 ac_path_to_link
=" -L$ac_find_libraries"
15895 if test "$ac_path_to_link" != " -L/usr/lib" ; then
15896 LDFLAGS_GL
="$ac_path_to_link"
15901 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15903 for ac_extension
in a so sl dylib
; do
15904 if test -f "$ac_dir/libGLU.$ac_extension"; then
15905 ac_find_libraries
=$ac_dir
15911 if test "$ac_find_libraries" != "" ; then
15913 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15915 if test $result = 0; then
15918 ac_path_to_link
=" -L$ac_find_libraries"
15921 if test "$ac_path_to_link" != " -L/usr/lib" -a \
15922 "$ac_path_to_link" != "$LDFLAGS_GL"; then
15923 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
15927 OPENGL_LIBS
="-lGL -lGLU"
15928 echo "$ac_t""yes" 1>&6
15932 if "$found_gl" != 1; then
15933 echo "$ac_t""no" 1>&6
15934 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15935 echo "configure:15936: checking for -lMesaGL" >&5
15938 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15940 for ac_extension
in a so sl dylib
; do
15941 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15942 ac_find_libraries
=$ac_dir
15948 if test "$ac_find_libraries" != "" ; then
15950 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15952 if test $result = 0; then
15955 ac_path_to_link
=" -L$ac_find_libraries"
15958 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15959 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15960 echo "$ac_t""yes" 1>&6
15962 echo "$ac_t""no" 1>&6
15967 echo "$ac_t""no" 1>&6
15971 if test "x$OPENGL_LIBS" = "x"; then
15972 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15976 if test "$wxUSE_OPENGL" = "yes"; then
15977 cat >> confdefs.h
<<\EOF
15978 #define wxUSE_OPENGL 1
15981 cat >> confdefs.h
<<\EOF
15982 #define wxUSE_GLCANVAS 1
15985 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15989 if test -z "$TOOLKIT_VPATH" ; then
15990 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15993 if test -n "$TOOLKIT" ; then
15994 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15997 lib_unicode_suffix
=
15998 if test "$wxUSE_UNICODE" = "yes"; then
15999 lib_unicode_suffix
=u
16003 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
16007 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
16009 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
16010 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
16012 if test "$cross_compiling" = "yes"; then
16013 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
16014 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
16017 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
16018 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
16019 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
16021 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16022 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16024 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
16025 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16026 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
16027 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16030 *-*-cygwin* | *-*-mingw32* )
16034 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
16035 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16036 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16037 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
16038 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
16040 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16041 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16047 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16048 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16050 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16051 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16052 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16053 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16055 if test "$wxUSE_MAC" = 1; then
16056 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16057 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16062 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16063 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16065 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16066 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16068 if test "$wxUSE_OPENGL" = "yes"; then
16069 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16070 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16075 if test "$wxUSE_SHARED" = "yes"; then
16077 *-pc-os2_emx | *-pc-os2-emx | \
16080 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16085 if test "$wxUSE_SHARED" = "yes"; then
16087 if test "$wxUSE_OPENGL" = "yes"; then
16088 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16089 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16091 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16092 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16095 if test "$GCC" = "yes"; then
16101 found_versioning
=no
16104 if test $found_versioning = no
; then
16105 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16106 echo "configure:16107: checking if the linker accepts --version-script" >&5
16107 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16108 echo $ac_n "(cached) $ac_c" 1>&6
16111 echo "VER_1 { *; };" >conftest.sym
16112 echo "int main() { return 0; }" >conftest.cpp
16115 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16116 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16117 if test -s conftest.stderr
; then
16118 wx_cv_version_script
=no
16120 wx_cv_version_script
=yes
16123 wx_cv_version_script
=no
16125 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16129 echo "$ac_t""$wx_cv_version_script" 1>&6
16130 if test $wx_cv_version_script = yes ; then
16131 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16136 SHARED_LD
="${CXX} -shared -o"
16140 if test "$GCC" = "yes"; then
16141 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16143 LDFLAGS
="$LDFLAGS -L/usr/lib"
16145 SHARED_LD
="${CXX} -b -o"
16149 if test "$wxUSE_OPENGL" = "yes"; then
16150 WX_ALL_INSTALLED
="preinstall_gl"
16151 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16153 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16158 if test "$GCC" != "yes"; then
16159 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16160 echo "configure:16161: checking for Intel compiler" >&5
16161 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16162 echo $ac_n "(cached) $ac_c" 1>&6
16165 cat > conftest.
$ac_ext <<EOF
16166 #line 16167 "configure"
16167 #include "confdefs.h"
16171 #ifndef __INTEL_COMPILER
16177 if { (eval echo configure
:16178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16181 echo "configure: failed program was:" >&5
16182 cat conftest.
$ac_ext >&5
16191 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16192 if test "$wx_cv_prog_icc" = "yes"; then
16197 if test "$wxUSE_SONAME" = "yes" ; then
16198 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16199 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16200 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16205 if test "$GCC" = yes ; then
16206 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16208 SHARED_LD
="${CXX} -G -o"
16210 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16211 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16216 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16217 CFLAGS
="$CFLAGS -fno-common"
16218 CXXFLAGS
="$CXXFLAGS -fno-common"
16219 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16220 PIC_FLAG
="-dynamic -fPIC"
16221 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16222 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16226 if test "$GCC" != "yes"; then
16227 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16228 set dummy makeC
++SharedLib
; ac_word
=$2
16229 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16230 echo "configure:16231: checking for $ac_word" >&5
16231 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16232 echo $ac_n "(cached) $ac_c" 1>&6
16234 if test -n "$AIX_CXX_LD"; then
16235 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16237 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16239 for ac_dir
in $ac_dummy; do
16240 test -z "$ac_dir" && ac_dir
=.
16241 if test -f $ac_dir/$ac_word; then
16242 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16247 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16250 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16251 if test -n "$AIX_CXX_LD"; then
16252 echo "$ac_t""$AIX_CXX_LD" 1>&6
16254 echo "$ac_t""no" 1>&6
16258 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16262 *-*-cygwin* | *-*-mingw32* )
16263 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16265 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16266 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16268 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16270 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16271 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16273 if test "$wxUSE_OPENGL" = "yes"; then
16274 LIBS
="${LIBS} ${OPENGL_LIBS}"
16279 SHARED_LD
="${LD} -shared -o"
16283 if test "$GCC" != "yes"; then
16288 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16296 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16299 if test "x$WX_TARGET_LIBRARY" = "x"; then
16300 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16301 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16304 WX_TARGET_LIBRARY_TYPE
="so"
16305 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16308 if test "$wxUSE_SHARED" = "no"; then
16310 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16311 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16314 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16315 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16318 if test "$wxUSE_OPENGL" = "yes"; then
16319 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16320 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16322 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16325 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16326 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16328 WX_TARGET_LIBRARY_TYPE
="a"
16329 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16339 if test "$wxUSE_MAC" = 1; then
16340 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16341 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16342 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16343 # Extract the first word of "Rez", so it can be a program name with args.
16344 set dummy Rez
; ac_word
=$2
16345 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16346 echo "configure:16347: checking for $ac_word" >&5
16347 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16348 echo $ac_n "(cached) $ac_c" 1>&6
16350 if test -n "$RESCOMP"; then
16351 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16353 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16355 for ac_dir
in $ac_dummy; do
16356 test -z "$ac_dir" && ac_dir
=.
16357 if test -f $ac_dir/$ac_word; then
16358 ac_cv_prog_RESCOMP
="Rez"
16363 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16366 RESCOMP
="$ac_cv_prog_RESCOMP"
16367 if test -n "$RESCOMP"; then
16368 echo "$ac_t""$RESCOMP" 1>&6
16370 echo "$ac_t""no" 1>&6
16373 # Extract the first word of "DeRez", so it can be a program name with args.
16374 set dummy DeRez
; ac_word
=$2
16375 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16376 echo "configure:16377: checking for $ac_word" >&5
16377 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16378 echo $ac_n "(cached) $ac_c" 1>&6
16380 if test -n "$DEREZ"; then
16381 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16383 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16385 for ac_dir
in $ac_dummy; do
16386 test -z "$ac_dir" && ac_dir
=.
16387 if test -f $ac_dir/$ac_word; then
16388 ac_cv_prog_DEREZ
="DeRez"
16393 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16396 DEREZ
="$ac_cv_prog_DEREZ"
16397 if test -n "$DEREZ"; then
16398 echo "$ac_t""$DEREZ" 1>&6
16400 echo "$ac_t""no" 1>&6
16403 # Extract the first word of "SetFile", so it can be a program name with args.
16404 set dummy SetFile
; ac_word
=$2
16405 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16406 echo "configure:16407: checking for $ac_word" >&5
16407 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16408 echo $ac_n "(cached) $ac_c" 1>&6
16410 if test -n "$SETFILE"; then
16411 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16413 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16415 for ac_dir
in $ac_dummy; do
16416 test -z "$ac_dir" && ac_dir
=.
16417 if test -f $ac_dir/$ac_word; then
16418 ac_cv_prog_SETFILE
="SetFile"
16423 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16426 SETFILE
="$ac_cv_prog_SETFILE"
16427 if test -n "$SETFILE"; then
16428 echo "$ac_t""$SETFILE" 1>&6
16430 echo "$ac_t""no" 1>&6
16433 MACOSX_BUNDLE
="bundle"
16434 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16435 MACSETFILE
="\$(SETFILE)"
16436 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16437 elif test "$wxUSE_COCOA" = 1; then
16438 # Extract the first word of "Rez", so it can be a program name with args.
16439 set dummy Rez
; ac_word
=$2
16440 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16441 echo "configure:16442: checking for $ac_word" >&5
16442 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16443 echo $ac_n "(cached) $ac_c" 1>&6
16445 if test -n "$RESCOMP"; then
16446 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16448 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16450 for ac_dir
in $ac_dummy; do
16451 test -z "$ac_dir" && ac_dir
=.
16452 if test -f $ac_dir/$ac_word; then
16453 ac_cv_prog_RESCOMP
="Rez"
16458 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16461 RESCOMP
="$ac_cv_prog_RESCOMP"
16462 if test -n "$RESCOMP"; then
16463 echo "$ac_t""$RESCOMP" 1>&6
16465 echo "$ac_t""no" 1>&6
16468 # Extract the first word of "DeRez", so it can be a program name with args.
16469 set dummy DeRez
; ac_word
=$2
16470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16471 echo "configure:16472: checking for $ac_word" >&5
16472 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16473 echo $ac_n "(cached) $ac_c" 1>&6
16475 if test -n "$DEREZ"; then
16476 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16478 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16480 for ac_dir
in $ac_dummy; do
16481 test -z "$ac_dir" && ac_dir
=.
16482 if test -f $ac_dir/$ac_word; then
16483 ac_cv_prog_DEREZ
="DeRez"
16488 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16491 DEREZ
="$ac_cv_prog_DEREZ"
16492 if test -n "$DEREZ"; then
16493 echo "$ac_t""$DEREZ" 1>&6
16495 echo "$ac_t""no" 1>&6
16498 # Extract the first word of "SetFile", so it can be a program name with args.
16499 set dummy SetFile
; ac_word
=$2
16500 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16501 echo "configure:16502: checking for $ac_word" >&5
16502 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16503 echo $ac_n "(cached) $ac_c" 1>&6
16505 if test -n "$SETFILE"; then
16506 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16508 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16510 for ac_dir
in $ac_dummy; do
16511 test -z "$ac_dir" && ac_dir
=.
16512 if test -f $ac_dir/$ac_word; then
16513 ac_cv_prog_SETFILE
="SetFile"
16518 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16521 SETFILE
="$ac_cv_prog_SETFILE"
16522 if test -n "$SETFILE"; then
16523 echo "$ac_t""$SETFILE" 1>&6
16525 echo "$ac_t""no" 1>&6
16528 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
16529 MACSETFILE
="\$(SETFILE)"
16530 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16532 if test "$wxUSE_PM" = 1; then
16533 MACRESCOMP
="emxbind -ep"
16538 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16539 echo "configure:16540: checking for ANSI C header files" >&5
16540 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16541 echo $ac_n "(cached) $ac_c" 1>&6
16543 cat > conftest.
$ac_ext <<EOF
16544 #line 16545 "configure"
16545 #include "confdefs.h"
16546 #include <stdlib.h>
16547 #include <stdarg.h>
16548 #include <string.h>
16551 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16552 { (eval echo configure
:16553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16553 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16554 if test -z "$ac_err"; then
16556 ac_cv_header_stdc
=yes
16559 echo "configure: failed program was:" >&5
16560 cat conftest.
$ac_ext >&5
16562 ac_cv_header_stdc
=no
16566 if test $ac_cv_header_stdc = yes; then
16567 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16568 cat > conftest.
$ac_ext <<EOF
16569 #line 16570 "configure"
16570 #include "confdefs.h"
16571 #include <string.h>
16573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16574 egrep "memchr" >/dev
/null
2>&1; then
16578 ac_cv_header_stdc
=no
16584 if test $ac_cv_header_stdc = yes; then
16585 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16586 cat > conftest.
$ac_ext <<EOF
16587 #line 16588 "configure"
16588 #include "confdefs.h"
16589 #include <stdlib.h>
16591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16592 egrep "free" >/dev
/null
2>&1; then
16596 ac_cv_header_stdc
=no
16602 if test $ac_cv_header_stdc = yes; then
16603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16604 if test "$cross_compiling" = yes; then
16607 cat > conftest.
$ac_ext <<EOF
16608 #line 16609 "configure"
16609 #include "confdefs.h"
16611 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16612 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16613 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16614 int main () { int i; for (i = 0; i < 256; i++)
16615 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16619 if { (eval echo configure
:16620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16623 echo "configure: failed program was:" >&5
16624 cat conftest.
$ac_ext >&5
16626 ac_cv_header_stdc
=no
16634 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16635 if test $ac_cv_header_stdc = yes; then
16636 cat >> confdefs.h
<<\EOF
16637 #define STDC_HEADERS 1
16642 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16643 echo "configure:16644: checking for mode_t" >&5
16644 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16645 echo $ac_n "(cached) $ac_c" 1>&6
16647 cat > conftest.
$ac_ext <<EOF
16648 #line 16649 "configure"
16649 #include "confdefs.h"
16650 #include <sys/types.h>
16652 #include <stdlib.h>
16653 #include <stddef.h>
16656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16657 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16659 ac_cv_type_mode_t
=yes
16662 ac_cv_type_mode_t
=no
16667 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16668 if test $ac_cv_type_mode_t = no
; then
16669 cat >> confdefs.h
<<\EOF
16675 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16676 echo "configure:16677: checking for off_t" >&5
16677 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16678 echo $ac_n "(cached) $ac_c" 1>&6
16680 cat > conftest.
$ac_ext <<EOF
16681 #line 16682 "configure"
16682 #include "confdefs.h"
16683 #include <sys/types.h>
16685 #include <stdlib.h>
16686 #include <stddef.h>
16689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16690 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16692 ac_cv_type_off_t
=yes
16695 ac_cv_type_off_t
=no
16700 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16701 if test $ac_cv_type_off_t = no
; then
16702 cat >> confdefs.h
<<\EOF
16708 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16709 echo "configure:16710: checking for pid_t" >&5
16710 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16711 echo $ac_n "(cached) $ac_c" 1>&6
16713 cat > conftest.
$ac_ext <<EOF
16714 #line 16715 "configure"
16715 #include "confdefs.h"
16716 #include <sys/types.h>
16718 #include <stdlib.h>
16719 #include <stddef.h>
16722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16723 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16725 ac_cv_type_pid_t
=yes
16728 ac_cv_type_pid_t
=no
16733 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16734 if test $ac_cv_type_pid_t = no
; then
16735 cat >> confdefs.h
<<\EOF
16741 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16742 echo "configure:16743: checking for size_t" >&5
16743 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16744 echo $ac_n "(cached) $ac_c" 1>&6
16746 cat > conftest.
$ac_ext <<EOF
16747 #line 16748 "configure"
16748 #include "confdefs.h"
16749 #include <sys/types.h>
16751 #include <stdlib.h>
16752 #include <stddef.h>
16755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16756 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16758 ac_cv_type_size_t
=yes
16761 ac_cv_type_size_t
=no
16766 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16767 if test $ac_cv_type_size_t = no
; then
16768 cat >> confdefs.h
<<\EOF
16769 #define size_t unsigned
16774 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16775 echo "configure:16776: checking for uid_t in sys/types.h" >&5
16776 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16777 echo $ac_n "(cached) $ac_c" 1>&6
16779 cat > conftest.
$ac_ext <<EOF
16780 #line 16781 "configure"
16781 #include "confdefs.h"
16782 #include <sys/types.h>
16784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16785 egrep "uid_t" >/dev
/null
2>&1; then
16787 ac_cv_type_uid_t
=yes
16790 ac_cv_type_uid_t
=no
16796 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16797 if test $ac_cv_type_uid_t = no
; then
16798 cat >> confdefs.h
<<\EOF
16802 cat >> confdefs.h
<<\EOF
16811 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16812 ac_cpp
='$CXXCPP $CPPFLAGS'
16813 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16814 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16815 cross_compiling
=$ac_cv_prog_cxx_cross
16817 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16818 echo "configure:16819: checking if size_t is unsigned int" >&5
16819 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16820 echo $ac_n "(cached) $ac_c" 1>&6
16823 cat > conftest.
$ac_ext <<EOF
16824 #line 16825 "configure"
16825 #include "confdefs.h"
16826 #include <stddef.h>
16831 struct Foo { void foo(size_t); void foo(unsigned int); };
16837 if { (eval echo configure
:16838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16839 wx_cv_size_t_is_uint
=no
16841 echo "configure: failed program was:" >&5
16842 cat conftest.
$ac_ext >&5
16844 wx_cv_size_t_is_uint
=yes
16852 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16854 if test "$wx_cv_size_t_is_uint" = "yes"; then
16855 cat >> confdefs.h
<<\EOF
16856 #define wxSIZE_T_IS_UINT 1
16860 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16861 echo "configure:16862: checking if size_t is unsigned long" >&5
16862 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16863 echo $ac_n "(cached) $ac_c" 1>&6
16865 cat > conftest.
$ac_ext <<EOF
16866 #line 16867 "configure"
16867 #include "confdefs.h"
16868 #include <stddef.h>
16873 struct Foo { void foo(size_t); void foo(unsigned long); };
16879 if { (eval echo configure
:16880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16881 wx_cv_size_t_is_ulong
=no
16883 echo "configure: failed program was:" >&5
16884 cat conftest.
$ac_ext >&5
16886 wx_cv_size_t_is_ulong
=yes
16893 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16895 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16896 cat >> confdefs.h
<<\EOF
16897 #define wxSIZE_T_IS_ULONG 1
16904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16905 ac_cpp
='$CPP $CPPFLAGS'
16906 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16907 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16908 cross_compiling
=$ac_cv_prog_cc_cross
16912 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16913 echo "configure:16914: checking for pw_gecos in struct passwd" >&5
16914 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16915 echo $ac_n "(cached) $ac_c" 1>&6
16918 cat > conftest.
$ac_ext <<EOF
16919 #line 16920 "configure"
16920 #include "confdefs.h"
16930 if { (eval echo configure
:16931: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16933 wx_cv_struct_pw_gecos
=yes
16936 echo "configure: failed program was:" >&5
16937 cat conftest.
$ac_ext >&5
16940 wx_cv_struct_pw_gecos
=no
16949 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16951 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16952 cat >> confdefs.h
<<\EOF
16953 #define HAVE_PW_GECOS 1
16959 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16960 cat >> confdefs.h
<<\EOF
16961 #define wxUSE_WCHAR_T 1
16967 for ac_func
in wcslen
16969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16970 echo "configure:16971: checking for $ac_func" >&5
16971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16972 echo $ac_n "(cached) $ac_c" 1>&6
16974 cat > conftest.
$ac_ext <<EOF
16975 #line 16976 "configure"
16976 #include "confdefs.h"
16977 /* System header to define __stub macros and hopefully few prototypes,
16978 which can conflict with char $ac_func(); below. */
16979 #include <assert.h>
16980 /* Override any gcc2 internal prototype to avoid an error. */
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16987 /* The GNU C library defines this for functions which it implements
16988 to always fail with ENOSYS. Some functions are actually named
16989 something starting with __ and the normal name is an alias. */
16990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16998 if { (eval echo configure
:16999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17000 eval "ac_cv_func_$ac_func=yes"
17002 echo "configure: failed program was:" >&5
17003 cat conftest.
$ac_ext >&5
17005 eval "ac_cv_func_$ac_func=no"
17010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17011 echo "$ac_t""yes" 1>&6
17012 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17013 cat >> confdefs.h
<<EOF
17014 #define $ac_tr_func 1
17018 echo "$ac_t""no" 1>&6
17023 if test "$WCSLEN_FOUND" = 0; then
17024 if test "$TOOLKIT" = "MSW"; then
17025 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
17026 echo "configure:17027: checking for wcslen in -lmsvcrt" >&5
17027 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
17028 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17029 echo $ac_n "(cached) $ac_c" 1>&6
17031 ac_save_LIBS
="$LIBS"
17032 LIBS
="-lmsvcrt $LIBS"
17033 cat > conftest.
$ac_ext <<EOF
17034 #line 17035 "configure"
17035 #include "confdefs.h"
17036 /* Override any gcc2 internal prototype to avoid an error. */
17037 /* We use char because int might match the return type of a gcc2
17038 builtin and then its argument prototype would still apply. */
17045 if { (eval echo configure
:17046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17047 eval "ac_cv_lib_$ac_lib_var=yes"
17049 echo "configure: failed program was:" >&5
17050 cat conftest.
$ac_ext >&5
17052 eval "ac_cv_lib_$ac_lib_var=no"
17055 LIBS
="$ac_save_LIBS"
17058 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17059 echo "$ac_t""yes" 1>&6
17062 echo "$ac_t""no" 1>&6
17066 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
17067 echo "configure:17068: checking for wcslen in -lw" >&5
17068 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
17069 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17070 echo $ac_n "(cached) $ac_c" 1>&6
17072 ac_save_LIBS
="$LIBS"
17074 cat > conftest.
$ac_ext <<EOF
17075 #line 17076 "configure"
17076 #include "confdefs.h"
17077 /* Override any gcc2 internal prototype to avoid an error. */
17078 /* We use char because int might match the return type of a gcc2
17079 builtin and then its argument prototype would still apply. */
17086 if { (eval echo configure
:17087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17088 eval "ac_cv_lib_$ac_lib_var=yes"
17090 echo "configure: failed program was:" >&5
17091 cat conftest.
$ac_ext >&5
17093 eval "ac_cv_lib_$ac_lib_var=no"
17096 LIBS
="$ac_save_LIBS"
17099 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17100 echo "$ac_t""yes" 1>&6
17106 echo "$ac_t""no" 1>&6
17112 if test "$WCSLEN_FOUND" = 1; then
17113 cat >> confdefs.h
<<\EOF
17114 #define HAVE_WCSLEN 1
17119 for ac_func
in wcsrtombs
17121 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17122 echo "configure:17123: checking for $ac_func" >&5
17123 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17124 echo $ac_n "(cached) $ac_c" 1>&6
17126 cat > conftest.
$ac_ext <<EOF
17127 #line 17128 "configure"
17128 #include "confdefs.h"
17129 /* System header to define __stub macros and hopefully few prototypes,
17130 which can conflict with char $ac_func(); below. */
17131 #include <assert.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. */
17139 /* The GNU C library defines this for functions which it implements
17140 to always fail with ENOSYS. Some functions are actually named
17141 something starting with __ and the normal name is an alias. */
17142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17150 if { (eval echo configure
:17151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17152 eval "ac_cv_func_$ac_func=yes"
17154 echo "configure: failed program was:" >&5
17155 cat conftest.
$ac_ext >&5
17157 eval "ac_cv_func_$ac_func=no"
17162 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17163 echo "$ac_t""yes" 1>&6
17164 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17165 cat >> confdefs.h
<<EOF
17166 #define $ac_tr_func 1
17170 echo "$ac_t""no" 1>&6
17175 echo "configure: warning: Wide character support is unavailable" 1>&2
17180 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17181 ac_cpp
='$CXXCPP $CPPFLAGS'
17182 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17183 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17184 cross_compiling
=$ac_cv_prog_cxx_cross
17187 for ac_func
in vsnprintf
17189 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17190 echo "configure:17191: checking for $ac_func" >&5
17191 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17192 echo $ac_n "(cached) $ac_c" 1>&6
17194 cat > conftest.
$ac_ext <<EOF
17195 #line 17196 "configure"
17196 #include "confdefs.h"
17197 /* System header to define __stub macros and hopefully few prototypes,
17198 which can conflict with char $ac_func(); below. */
17199 #include <assert.h>
17200 /* Override any gcc2 internal prototype to avoid an error. */
17204 /* We use char because int might match the return type of a gcc2
17205 builtin and then its argument prototype would still apply. */
17210 /* The GNU C library defines this for functions which it implements
17211 to always fail with ENOSYS. Some functions are actually named
17212 something starting with __ and the normal name is an alias. */
17213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17221 if { (eval echo configure
:17222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17223 eval "ac_cv_func_$ac_func=yes"
17225 echo "configure: failed program was:" >&5
17226 cat conftest.
$ac_ext >&5
17228 eval "ac_cv_func_$ac_func=no"
17233 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17234 echo "$ac_t""yes" 1>&6
17235 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17236 cat >> confdefs.h
<<EOF
17237 #define $ac_tr_func 1
17241 echo "$ac_t""no" 1>&6
17246 if test "$ac_cv_func_vsnprintf" = "yes"; then
17247 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17248 echo "configure:17249: checking for vsnprintf declaration" >&5
17249 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17250 echo $ac_n "(cached) $ac_c" 1>&6
17253 cat > conftest.
$ac_ext <<EOF
17254 #line 17255 "configure"
17255 #include "confdefs.h"
17258 #include <stdarg.h>
17264 vsnprintf(buf, 10u, "%s", ap);
17268 if { (eval echo configure
:17269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17270 wx_cv_func_vsnprintf_decl
=yes
17272 echo "configure: failed program was:" >&5
17273 cat conftest.
$ac_ext >&5
17275 wx_cv_func_vsnprintf_decl
=no
17283 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17285 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17286 cat >> confdefs.h
<<\EOF
17287 #define HAVE_VSNPRINTF_DECL 1
17293 if test "$wxUSE_UNICODE" = yes; then
17294 for ac_func
in fputwc wprintf vswprintf
17296 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17297 echo "configure:17298: checking for $ac_func" >&5
17298 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17299 echo $ac_n "(cached) $ac_c" 1>&6
17301 cat > conftest.
$ac_ext <<EOF
17302 #line 17303 "configure"
17303 #include "confdefs.h"
17304 /* System header to define __stub macros and hopefully few prototypes,
17305 which can conflict with char $ac_func(); below. */
17306 #include <assert.h>
17307 /* Override any gcc2 internal prototype to avoid an error. */
17311 /* We use char because int might match the return type of a gcc2
17312 builtin and then its argument prototype would still apply. */
17317 /* The GNU C library defines this for functions which it implements
17318 to always fail with ENOSYS. Some functions are actually named
17319 something starting with __ and the normal name is an alias. */
17320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17328 if { (eval echo configure
:17329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17330 eval "ac_cv_func_$ac_func=yes"
17332 echo "configure: failed program was:" >&5
17333 cat conftest.
$ac_ext >&5
17335 eval "ac_cv_func_$ac_func=no"
17340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17341 echo "$ac_t""yes" 1>&6
17342 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17343 cat >> confdefs.h
<<EOF
17344 #define $ac_tr_func 1
17348 echo "$ac_t""no" 1>&6
17353 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17354 echo "configure:17355: checking for _vsnwprintf" >&5
17355 cat > conftest.
$ac_ext <<EOF
17356 #line 17357 "configure"
17357 #include "confdefs.h"
17363 if { (eval echo configure
:17364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17365 echo "$ac_t""yes" 1>&6
17366 cat >> confdefs.h
<<\EOF
17367 #define HAVE__VSNWPRINTF 1
17371 echo "configure: failed program was:" >&5
17372 cat conftest.
$ac_ext >&5
17374 echo "$ac_t""no" 1>&6
17380 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17381 ac_cpp
='$CPP $CPPFLAGS'
17382 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17383 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17384 cross_compiling
=$ac_cv_prog_cc_cross
17389 if test "$TOOLKIT" != "MSW"; then
17394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17395 ac_cpp
='$CXXCPP $CPPFLAGS'
17396 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17397 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17398 cross_compiling
=$ac_cv_prog_cxx_cross
17402 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17403 if test "${with_libiconv_prefix+set}" = set; then
17404 withval
="$with_libiconv_prefix"
17406 for dir
in `echo "$withval" | tr : ' '`; do
17407 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17408 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17414 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17415 echo "configure:17416: checking for iconv" >&5
17416 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17417 echo $ac_n "(cached) $ac_c" 1>&6
17420 am_cv_func_iconv
="no, consider installing GNU libiconv"
17422 cat > conftest.
$ac_ext <<EOF
17423 #line 17424 "configure"
17424 #include "confdefs.h"
17425 #include <stdlib.h>
17428 iconv_t cd = iconv_open("","");
17429 iconv(cd,NULL,NULL,NULL,NULL);
17433 if { (eval echo configure
:17434: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17435 am_cv_func_iconv
=yes
17437 echo "configure: failed program was:" >&5
17438 cat conftest.
$ac_ext >&5
17441 if test "$am_cv_func_iconv" != yes; then
17442 am_save_LIBS
="$LIBS"
17443 LIBS
="$LIBS -liconv"
17444 cat > conftest.
$ac_ext <<EOF
17445 #line 17446 "configure"
17446 #include "confdefs.h"
17447 #include <stdlib.h>
17450 iconv_t cd = iconv_open("","");
17451 iconv(cd,NULL,NULL,NULL,NULL);
17455 if { (eval echo configure
:17456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17457 am_cv_lib_iconv
=yes
17458 am_cv_func_iconv
=yes
17460 echo "configure: failed program was:" >&5
17461 cat conftest.
$ac_ext >&5
17464 LIBS
="$am_save_LIBS"
17469 echo "$ac_t""$am_cv_func_iconv" 1>&6
17470 if test "$am_cv_func_iconv" = yes; then
17471 cat >> confdefs.h
<<\EOF
17472 #define HAVE_ICONV 1
17475 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17476 echo "configure:17477: checking if iconv needs const" >&5
17477 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17478 echo $ac_n "(cached) $ac_c" 1>&6
17480 cat > conftest.
$ac_ext <<EOF
17481 #line 17482 "configure"
17482 #include "confdefs.h"
17484 #include <stdlib.h>
17490 #if defined(__STDC__) || defined(__cplusplus)
17491 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17500 if { (eval echo configure
:17501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17502 wx_cv_func_iconv_const
="no"
17504 echo "configure: failed program was:" >&5
17505 cat conftest.
$ac_ext >&5
17507 wx_cv_func_iconv_const
="yes"
17514 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17517 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17518 iconv_const
="const"
17521 cat >> confdefs.h
<<EOF
17522 #define ICONV_CONST $iconv_const
17527 if test "$am_cv_lib_iconv" = yes; then
17532 LIBS
="$LIBICONV $LIBS"
17534 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17535 ac_cpp
='$CPP $CPPFLAGS'
17536 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17537 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17538 cross_compiling
=$ac_cv_prog_cc_cross
17541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17542 for ac_func
in sigaction
17544 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17545 echo "configure:17546: checking for $ac_func" >&5
17546 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17547 echo $ac_n "(cached) $ac_c" 1>&6
17549 cat > conftest.
$ac_ext <<EOF
17550 #line 17551 "configure"
17551 #include "confdefs.h"
17552 /* System header to define __stub macros and hopefully few prototypes,
17553 which can conflict with char $ac_func(); below. */
17554 #include <assert.h>
17555 /* Override any gcc2 internal prototype to avoid an error. */
17556 /* We use char because int might match the return type of a gcc2
17557 builtin and then its argument prototype would still apply. */
17562 /* The GNU C library defines this for functions which it implements
17563 to always fail with ENOSYS. Some functions are actually named
17564 something starting with __ and the normal name is an alias. */
17565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17573 if { (eval echo configure
:17574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17575 eval "ac_cv_func_$ac_func=yes"
17577 echo "configure: failed program was:" >&5
17578 cat conftest.
$ac_ext >&5
17580 eval "ac_cv_func_$ac_func=no"
17585 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17586 echo "$ac_t""yes" 1>&6
17587 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17588 cat >> confdefs.h
<<EOF
17589 #define $ac_tr_func 1
17593 echo "$ac_t""no" 1>&6
17598 if test "$ac_cv_func_sigaction" = "no"; then
17599 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17600 wxUSE_ON_FATAL_EXCEPTION
=no
17603 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17606 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17607 ac_cpp
='$CXXCPP $CPPFLAGS'
17608 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17609 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17610 cross_compiling
=$ac_cv_prog_cxx_cross
17613 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17614 echo "configure:17615: checking for sa_handler type" >&5
17615 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17616 echo $ac_n "(cached) $ac_c" 1>&6
17619 cat > conftest.
$ac_ext <<EOF
17620 #line 17621 "configure"
17621 #include "confdefs.h"
17622 #include <signal.h>
17625 extern void testSigHandler(int);
17627 struct sigaction sa;
17628 sa.sa_handler = testSigHandler;
17632 if { (eval echo configure
:17633: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17635 wx_cv_type_sa_handler
=int
17638 echo "configure: failed program was:" >&5
17639 cat conftest.
$ac_ext >&5
17642 wx_cv_type_sa_handler
=void
17649 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17653 ac_cpp
='$CPP $CPPFLAGS'
17654 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17655 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17656 cross_compiling
=$ac_cv_prog_cc_cross
17659 cat >> confdefs.h
<<EOF
17660 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17666 for ac_func
in mkstemp mktemp
17668 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17669 echo "configure:17670: checking for $ac_func" >&5
17670 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17671 echo $ac_n "(cached) $ac_c" 1>&6
17673 cat > conftest.
$ac_ext <<EOF
17674 #line 17675 "configure"
17675 #include "confdefs.h"
17676 /* System header to define __stub macros and hopefully few prototypes,
17677 which can conflict with char $ac_func(); below. */
17678 #include <assert.h>
17679 /* Override any gcc2 internal prototype to avoid an error. */
17680 /* We use char because int might match the return type of a gcc2
17681 builtin and then its argument prototype would still apply. */
17686 /* The GNU C library defines this for functions which it implements
17687 to always fail with ENOSYS. Some functions are actually named
17688 something starting with __ and the normal name is an alias. */
17689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17697 if { (eval echo configure
:17698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17699 eval "ac_cv_func_$ac_func=yes"
17701 echo "configure: failed program was:" >&5
17702 cat conftest.
$ac_ext >&5
17704 eval "ac_cv_func_$ac_func=no"
17709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17710 echo "$ac_t""yes" 1>&6
17711 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17712 cat >> confdefs.h
<<EOF
17713 #define $ac_tr_func 1
17717 echo "$ac_t""no" 1>&6
17722 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17723 echo "configure:17724: checking for statfs" >&5
17724 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17725 echo $ac_n "(cached) $ac_c" 1>&6
17727 cat > conftest.
$ac_ext <<EOF
17728 #line 17729 "configure"
17729 #include "confdefs.h"
17731 #if defined(__BSD__)
17732 #include <sys/param.h>
17733 #include <sys/mount.h>
17735 #include <sys/vfs.h>
17749 if { (eval echo configure
:17750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17752 wx_cv_func_statfs
=yes
17755 echo "configure: failed program was:" >&5
17756 cat conftest.
$ac_ext >&5
17759 wx_cv_func_statfs
=no
17767 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17769 if test "$wx_cv_func_statfs" = "yes"; then
17770 wx_cv_type_statvfs_t
="struct statfs"
17771 cat >> confdefs.h
<<\EOF
17772 #define HAVE_STATFS 1
17776 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17777 echo "configure:17778: checking for statvfs" >&5
17778 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17779 echo $ac_n "(cached) $ac_c" 1>&6
17781 cat > conftest.
$ac_ext <<EOF
17782 #line 17783 "configure"
17783 #include "confdefs.h"
17785 #include <stddef.h>
17786 #include <sys/statvfs.h>
17790 statvfs("/", NULL);
17794 if { (eval echo configure
:17795: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17796 wx_cv_func_statvfs
=yes
17798 echo "configure: failed program was:" >&5
17799 cat conftest.
$ac_ext >&5
17801 wx_cv_func_statvfs
=no
17808 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17810 if test "$wx_cv_func_statvfs" = "yes"; then
17813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17814 ac_cpp
='$CXXCPP $CPPFLAGS'
17815 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17816 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17817 cross_compiling
=$ac_cv_prog_cxx_cross
17820 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17821 echo "configure:17822: checking for statvfs argument type" >&5
17822 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17823 echo $ac_n "(cached) $ac_c" 1>&6
17825 cat > conftest.
$ac_ext <<EOF
17826 #line 17827 "configure"
17827 #include "confdefs.h"
17829 #include <sys/statvfs.h>
17842 if { (eval echo configure
:17843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17844 wx_cv_type_statvfs_t
=statvfs_t
17846 echo "configure: failed program was:" >&5
17847 cat conftest.
$ac_ext >&5
17850 cat > conftest.
$ac_ext <<EOF
17851 #line 17852 "configure"
17852 #include "confdefs.h"
17854 #include <sys/statvfs.h>
17867 if { (eval echo configure
:17868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17869 wx_cv_type_statvfs_t
="struct statvfs"
17871 echo "configure: failed program was:" >&5
17872 cat conftest.
$ac_ext >&5
17874 wx_cv_type_statvfs_t
="unknown"
17885 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17888 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17889 ac_cpp
='$CPP $CPPFLAGS'
17890 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17891 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17892 cross_compiling
=$ac_cv_prog_cc_cross
17895 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17896 cat >> confdefs.h
<<\EOF
17897 #define HAVE_STATVFS 1
17902 wx_cv_type_statvfs_t
="unknown"
17906 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17907 cat >> confdefs.h
<<EOF
17908 #define WX_STATFS_T $wx_cv_type_statvfs_t
17912 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17915 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17916 for ac_func
in fcntl flock
17918 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17919 echo "configure:17920: checking for $ac_func" >&5
17920 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17921 echo $ac_n "(cached) $ac_c" 1>&6
17923 cat > conftest.
$ac_ext <<EOF
17924 #line 17925 "configure"
17925 #include "confdefs.h"
17926 /* System header to define __stub macros and hopefully few prototypes,
17927 which can conflict with char $ac_func(); below. */
17928 #include <assert.h>
17929 /* Override any gcc2 internal prototype to avoid an error. */
17930 /* We use char because int might match the return type of a gcc2
17931 builtin and then its argument prototype would still apply. */
17936 /* The GNU C library defines this for functions which it implements
17937 to always fail with ENOSYS. Some functions are actually named
17938 something starting with __ and the normal name is an alias. */
17939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17947 if { (eval echo configure
:17948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17949 eval "ac_cv_func_$ac_func=yes"
17951 echo "configure: failed program was:" >&5
17952 cat conftest.
$ac_ext >&5
17954 eval "ac_cv_func_$ac_func=no"
17959 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17960 echo "$ac_t""yes" 1>&6
17961 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17962 cat >> confdefs.h
<<EOF
17963 #define $ac_tr_func 1
17967 echo "$ac_t""no" 1>&6
17972 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17973 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17974 wxUSE_SNGLINST_CHECKER
=no
17978 for ac_func
in timegm
17980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17981 echo "configure:17982: checking for $ac_func" >&5
17982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17983 echo $ac_n "(cached) $ac_c" 1>&6
17985 cat > conftest.
$ac_ext <<EOF
17986 #line 17987 "configure"
17987 #include "confdefs.h"
17988 /* System header to define __stub macros and hopefully few prototypes,
17989 which can conflict with char $ac_func(); below. */
17990 #include <assert.h>
17991 /* Override any gcc2 internal prototype to avoid an error. */
17992 /* We use char because int might match the return type of a gcc2
17993 builtin and then its argument prototype would still apply. */
17998 /* The GNU C library defines this for functions which it implements
17999 to always fail with ENOSYS. Some functions are actually named
18000 something starting with __ and the normal name is an alias. */
18001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18009 if { (eval echo configure
:18010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18011 eval "ac_cv_func_$ac_func=yes"
18013 echo "configure: failed program was:" >&5
18014 cat conftest.
$ac_ext >&5
18016 eval "ac_cv_func_$ac_func=no"
18021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18022 echo "$ac_t""yes" 1>&6
18023 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18024 cat >> confdefs.h
<<EOF
18025 #define $ac_tr_func 1
18029 echo "$ac_t""no" 1>&6
18034 for ac_func
in putenv setenv
18036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18037 echo "configure:18038: checking for $ac_func" >&5
18038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18039 echo $ac_n "(cached) $ac_c" 1>&6
18041 cat > conftest.
$ac_ext <<EOF
18042 #line 18043 "configure"
18043 #include "confdefs.h"
18044 /* System header to define __stub macros and hopefully few prototypes,
18045 which can conflict with char $ac_func(); below. */
18046 #include <assert.h>
18047 /* Override any gcc2 internal prototype to avoid an error. */
18048 /* We use char because int might match the return type of a gcc2
18049 builtin and then its argument prototype would still apply. */
18054 /* The GNU C library defines this for functions which it implements
18055 to always fail with ENOSYS. Some functions are actually named
18056 something starting with __ and the normal name is an alias. */
18057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18065 if { (eval echo configure
:18066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18067 eval "ac_cv_func_$ac_func=yes"
18069 echo "configure: failed program was:" >&5
18070 cat conftest.
$ac_ext >&5
18072 eval "ac_cv_func_$ac_func=no"
18077 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18078 echo "$ac_t""yes" 1>&6
18079 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18080 cat >> confdefs.h
<<EOF
18081 #define $ac_tr_func 1
18085 echo "$ac_t""no" 1>&6
18090 HAVE_SOME_SLEEP_FUNC
=0
18091 if test "$USE_BEOS" = 1; then
18092 cat >> confdefs.h
<<\EOF
18093 #define HAVE_SLEEP 1
18096 HAVE_SOME_SLEEP_FUNC
=1
18099 if test "$USE_DARWIN" = 1; then
18100 cat >> confdefs.h
<<\EOF
18101 #define HAVE_USLEEP 1
18104 HAVE_SOME_SLEEP_FUNC
=1
18107 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18109 for ac_func
in nanosleep
18111 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18112 echo "configure:18113: checking for $ac_func" >&5
18113 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18114 echo $ac_n "(cached) $ac_c" 1>&6
18116 cat > conftest.
$ac_ext <<EOF
18117 #line 18118 "configure"
18118 #include "confdefs.h"
18119 /* System header to define __stub macros and hopefully few prototypes,
18120 which can conflict with char $ac_func(); below. */
18121 #include <assert.h>
18122 /* Override any gcc2 internal prototype to avoid an error. */
18123 /* We use char because int might match the return type of a gcc2
18124 builtin and then its argument prototype would still apply. */
18129 /* The GNU C library defines this for functions which it implements
18130 to always fail with ENOSYS. Some functions are actually named
18131 something starting with __ and the normal name is an alias. */
18132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18140 if { (eval echo configure
:18141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18142 eval "ac_cv_func_$ac_func=yes"
18144 echo "configure: failed program was:" >&5
18145 cat conftest.
$ac_ext >&5
18147 eval "ac_cv_func_$ac_func=no"
18152 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18153 echo "$ac_t""yes" 1>&6
18154 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18155 cat >> confdefs.h
<<EOF
18156 #define $ac_tr_func 1
18158 cat >> confdefs.h
<<\EOF
18159 #define HAVE_NANOSLEEP 1
18163 echo "$ac_t""no" 1>&6
18164 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18165 echo "configure:18166: checking for nanosleep in -lposix4" >&5
18166 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18168 echo $ac_n "(cached) $ac_c" 1>&6
18170 ac_save_LIBS
="$LIBS"
18171 LIBS
="-lposix4 $LIBS"
18172 cat > conftest.
$ac_ext <<EOF
18173 #line 18174 "configure"
18174 #include "confdefs.h"
18175 /* Override any gcc2 internal prototype to avoid an error. */
18176 /* We use char because int might match the return type of a gcc2
18177 builtin and then its argument prototype would still apply. */
18184 if { (eval echo configure
:18185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18186 eval "ac_cv_lib_$ac_lib_var=yes"
18188 echo "configure: failed program was:" >&5
18189 cat conftest.
$ac_ext >&5
18191 eval "ac_cv_lib_$ac_lib_var=no"
18194 LIBS
="$ac_save_LIBS"
18197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18198 echo "$ac_t""yes" 1>&6
18200 cat >> confdefs.h
<<\EOF
18201 #define HAVE_NANOSLEEP 1
18204 POSIX4_LINK
=" -lposix4"
18207 echo "$ac_t""no" 1>&6
18209 for ac_func
in usleep
18211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18212 echo "configure:18213: checking for $ac_func" >&5
18213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18214 echo $ac_n "(cached) $ac_c" 1>&6
18216 cat > conftest.
$ac_ext <<EOF
18217 #line 18218 "configure"
18218 #include "confdefs.h"
18219 /* System header to define __stub macros and hopefully few prototypes,
18220 which can conflict with char $ac_func(); below. */
18221 #include <assert.h>
18222 /* Override any gcc2 internal prototype to avoid an error. */
18223 /* We use char because int might match the return type of a gcc2
18224 builtin and then its argument prototype would still apply. */
18229 /* The GNU C library defines this for functions which it implements
18230 to always fail with ENOSYS. Some functions are actually named
18231 something starting with __ and the normal name is an alias. */
18232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18240 if { (eval echo configure
:18241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18242 eval "ac_cv_func_$ac_func=yes"
18244 echo "configure: failed program was:" >&5
18245 cat conftest.
$ac_ext >&5
18247 eval "ac_cv_func_$ac_func=no"
18252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18253 echo "$ac_t""yes" 1>&6
18254 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18255 cat >> confdefs.h
<<EOF
18256 #define $ac_tr_func 1
18258 cat >> confdefs.h
<<\EOF
18259 #define HAVE_USLEEP 1
18263 echo "$ac_t""no" 1>&6
18264 echo "configure: warning: wxSleep() function will not work" 1>&2
18280 for ac_func
in uname gethostname
18282 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18283 echo "configure:18284: checking for $ac_func" >&5
18284 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18285 echo $ac_n "(cached) $ac_c" 1>&6
18287 cat > conftest.
$ac_ext <<EOF
18288 #line 18289 "configure"
18289 #include "confdefs.h"
18290 /* System header to define __stub macros and hopefully few prototypes,
18291 which can conflict with char $ac_func(); below. */
18292 #include <assert.h>
18293 /* Override any gcc2 internal prototype to avoid an error. */
18294 /* We use char because int might match the return type of a gcc2
18295 builtin and then its argument prototype would still apply. */
18300 /* The GNU C library defines this for functions which it implements
18301 to always fail with ENOSYS. Some functions are actually named
18302 something starting with __ and the normal name is an alias. */
18303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18311 if { (eval echo configure
:18312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18313 eval "ac_cv_func_$ac_func=yes"
18315 echo "configure: failed program was:" >&5
18316 cat conftest.
$ac_ext >&5
18318 eval "ac_cv_func_$ac_func=no"
18323 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18324 echo "$ac_t""yes" 1>&6
18325 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18326 cat >> confdefs.h
<<EOF
18327 #define $ac_tr_func 1
18331 echo "$ac_t""no" 1>&6
18338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18339 ac_cpp
='$CXXCPP $CPPFLAGS'
18340 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18341 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18342 cross_compiling
=$ac_cv_prog_cxx_cross
18345 for ac_func
in strtok_r
18347 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18348 echo "configure:18349: checking for $ac_func" >&5
18349 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18350 echo $ac_n "(cached) $ac_c" 1>&6
18352 cat > conftest.
$ac_ext <<EOF
18353 #line 18354 "configure"
18354 #include "confdefs.h"
18355 /* System header to define __stub macros and hopefully few prototypes,
18356 which can conflict with char $ac_func(); below. */
18357 #include <assert.h>
18358 /* Override any gcc2 internal prototype to avoid an error. */
18362 /* We use char because int might match the return type of a gcc2
18363 builtin and then its argument prototype would still apply. */
18368 /* The GNU C library defines this for functions which it implements
18369 to always fail with ENOSYS. Some functions are actually named
18370 something starting with __ and the normal name is an alias. */
18371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18379 if { (eval echo configure
:18380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18381 eval "ac_cv_func_$ac_func=yes"
18383 echo "configure: failed program was:" >&5
18384 cat conftest.
$ac_ext >&5
18386 eval "ac_cv_func_$ac_func=no"
18391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18392 echo "$ac_t""yes" 1>&6
18393 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18394 cat >> confdefs.h
<<EOF
18395 #define $ac_tr_func 1
18399 echo "$ac_t""no" 1>&6
18405 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18406 ac_cpp
='$CPP $CPPFLAGS'
18407 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18408 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18409 cross_compiling
=$ac_cv_prog_cc_cross
18413 for ac_func
in inet_addr
18415 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18416 echo "configure:18417: checking for $ac_func" >&5
18417 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18418 echo $ac_n "(cached) $ac_c" 1>&6
18420 cat > conftest.
$ac_ext <<EOF
18421 #line 18422 "configure"
18422 #include "confdefs.h"
18423 /* System header to define __stub macros and hopefully few prototypes,
18424 which can conflict with char $ac_func(); below. */
18425 #include <assert.h>
18426 /* Override any gcc2 internal prototype to avoid an error. */
18427 /* We use char because int might match the return type of a gcc2
18428 builtin and then its argument prototype would still apply. */
18433 /* The GNU C library defines this for functions which it implements
18434 to always fail with ENOSYS. Some functions are actually named
18435 something starting with __ and the normal name is an alias. */
18436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18444 if { (eval echo configure
:18445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18446 eval "ac_cv_func_$ac_func=yes"
18448 echo "configure: failed program was:" >&5
18449 cat conftest.
$ac_ext >&5
18451 eval "ac_cv_func_$ac_func=no"
18456 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18457 echo "$ac_t""yes" 1>&6
18458 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18459 cat >> confdefs.h
<<EOF
18460 #define $ac_tr_func 1
18462 cat >> confdefs.h
<<\EOF
18463 #define HAVE_INET_ADDR 1
18467 echo "$ac_t""no" 1>&6
18468 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18469 echo "configure:18470: checking for inet_addr in -lnsl" >&5
18470 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18471 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18472 echo $ac_n "(cached) $ac_c" 1>&6
18474 ac_save_LIBS
="$LIBS"
18476 cat > conftest.
$ac_ext <<EOF
18477 #line 18478 "configure"
18478 #include "confdefs.h"
18479 /* Override any gcc2 internal prototype to avoid an error. */
18480 /* We use char because int might match the return type of a gcc2
18481 builtin and then its argument prototype would still apply. */
18488 if { (eval echo configure
:18489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18490 eval "ac_cv_lib_$ac_lib_var=yes"
18492 echo "configure: failed program was:" >&5
18493 cat conftest.
$ac_ext >&5
18495 eval "ac_cv_lib_$ac_lib_var=no"
18498 LIBS
="$ac_save_LIBS"
18501 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18502 echo "$ac_t""yes" 1>&6
18505 echo "$ac_t""no" 1>&6
18506 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18507 echo "configure:18508: checking for inet_addr in -lresolv" >&5
18508 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18510 echo $ac_n "(cached) $ac_c" 1>&6
18512 ac_save_LIBS
="$LIBS"
18513 LIBS
="-lresolv $LIBS"
18514 cat > conftest.
$ac_ext <<EOF
18515 #line 18516 "configure"
18516 #include "confdefs.h"
18517 /* Override any gcc2 internal prototype to avoid an error. */
18518 /* We use char because int might match the return type of a gcc2
18519 builtin and then its argument prototype would still apply. */
18526 if { (eval echo configure
:18527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18528 eval "ac_cv_lib_$ac_lib_var=yes"
18530 echo "configure: failed program was:" >&5
18531 cat conftest.
$ac_ext >&5
18533 eval "ac_cv_lib_$ac_lib_var=no"
18536 LIBS
="$ac_save_LIBS"
18539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18540 echo "$ac_t""yes" 1>&6
18543 echo "$ac_t""no" 1>&6
18544 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18545 echo "configure:18546: checking for inet_addr in -lsocket" >&5
18546 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18548 echo $ac_n "(cached) $ac_c" 1>&6
18550 ac_save_LIBS
="$LIBS"
18551 LIBS
="-lsocket $LIBS"
18552 cat > conftest.
$ac_ext <<EOF
18553 #line 18554 "configure"
18554 #include "confdefs.h"
18555 /* Override any gcc2 internal prototype to avoid an error. */
18556 /* We use char because int might match the return type of a gcc2
18557 builtin and then its argument prototype would still apply. */
18564 if { (eval echo configure
:18565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18566 eval "ac_cv_lib_$ac_lib_var=yes"
18568 echo "configure: failed program was:" >&5
18569 cat conftest.
$ac_ext >&5
18571 eval "ac_cv_lib_$ac_lib_var=no"
18574 LIBS
="$ac_save_LIBS"
18577 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18578 echo "$ac_t""yes" 1>&6
18582 echo "$ac_t""no" 1>&6
18597 for ac_func
in inet_aton
18599 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18600 echo "configure:18601: checking for $ac_func" >&5
18601 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18602 echo $ac_n "(cached) $ac_c" 1>&6
18604 cat > conftest.
$ac_ext <<EOF
18605 #line 18606 "configure"
18606 #include "confdefs.h"
18607 /* System header to define __stub macros and hopefully few prototypes,
18608 which can conflict with char $ac_func(); below. */
18609 #include <assert.h>
18610 /* Override any gcc2 internal prototype to avoid an error. */
18611 /* We use char because int might match the return type of a gcc2
18612 builtin and then its argument prototype would still apply. */
18617 /* The GNU C library defines this for functions which it implements
18618 to always fail with ENOSYS. Some functions are actually named
18619 something starting with __ and the normal name is an alias. */
18620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18628 if { (eval echo configure
:18629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18630 eval "ac_cv_func_$ac_func=yes"
18632 echo "configure: failed program was:" >&5
18633 cat conftest.
$ac_ext >&5
18635 eval "ac_cv_func_$ac_func=no"
18640 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18641 echo "$ac_t""yes" 1>&6
18642 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18643 cat >> confdefs.h
<<EOF
18644 #define $ac_tr_func 1
18646 cat >> confdefs.h
<<\EOF
18647 #define HAVE_INET_ATON 1
18651 echo "$ac_t""no" 1>&6
18652 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18653 echo "configure:18654: checking for inet_aton in -l$INET_LINK" >&5
18654 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18656 echo $ac_n "(cached) $ac_c" 1>&6
18658 ac_save_LIBS
="$LIBS"
18659 LIBS
="-l$INET_LINK $LIBS"
18660 cat > conftest.
$ac_ext <<EOF
18661 #line 18662 "configure"
18662 #include "confdefs.h"
18663 /* Override any gcc2 internal prototype to avoid an error. */
18664 /* We use char because int might match the return type of a gcc2
18665 builtin and then its argument prototype would still apply. */
18672 if { (eval echo configure
:18673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18674 eval "ac_cv_lib_$ac_lib_var=yes"
18676 echo "configure: failed program was:" >&5
18677 cat conftest.
$ac_ext >&5
18679 eval "ac_cv_lib_$ac_lib_var=no"
18682 LIBS
="$ac_save_LIBS"
18685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18686 echo "$ac_t""yes" 1>&6
18687 cat >> confdefs.h
<<\EOF
18688 #define HAVE_INET_ATON 1
18692 echo "$ac_t""no" 1>&6
18700 if test "x$INET_LINK" != "x"; then
18701 cat >> confdefs.h
<<\EOF
18702 #define HAVE_INET_ADDR 1
18705 INET_LINK
=" -l$INET_LINK"
18711 cat > confcache
<<\EOF
18712 # This file is a shell script that caches the results of configure
18713 # tests run on this system so they can be shared between configure
18714 # scripts and configure runs. It is not useful on other systems.
18715 # If it contains results you don't want to keep, you may remove or edit it.
18717 # By default, configure uses ./config.cache as the cache file,
18718 # creating it if it does not exist already. You can give configure
18719 # the --cache-file=FILE option to use a different cache file; that is
18720 # what configure does when it calls configure scripts in
18721 # subdirectories, so they share the cache.
18722 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18723 # config.status only pays attention to the cache file if you give it the
18724 # --recheck option to rerun configure.
18727 # The following way of writing the cache mishandles newlines in values,
18728 # but we know of no workaround that is simple, portable, and efficient.
18729 # So, don't put newlines in cache variables' values.
18730 # Ultrix sh set writes to stderr and can't be redirected directly,
18731 # and sets the high bit in the cache file unless we assign to the vars.
18733 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18735 # `set' does not quote correctly, so add quotes (double-quote substitution
18736 # turns \\\\ into \\, and sed turns \\ into \).
18738 -e "s/'/'\\\\''/g" \
18739 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18742 # `set' quotes correctly as required by POSIX, so do not add quotes.
18743 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18746 if cmp -s $cache_file confcache
; then
18749 if test -w $cache_file; then
18750 echo "updating cache $cache_file"
18751 cat confcache
> $cache_file
18753 echo "not updating unwritable cache $cache_file"
18761 if test "$TOOLKIT" != "MSW"; then
18767 if test "$wxUSE_THREADS" = "yes" ; then
18768 if test "$USE_BEOS" = 1; then
18769 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18774 if test "$wxUSE_THREADS" = "yes" ; then
18777 THREAD_OPTS
="-pthread"
18779 *-*-solaris2* | *-*-sunos4* )
18780 if test "x$GCC" = "xyes"; then
18781 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18783 THREAD_OPTS
="-mt $THREAD_OPTS"
18787 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18789 *-*-darwin* | *-*-cygwin* )
18793 THREAD_OPTS
="pthreads"
18796 if test "x$GCC" != "xyes"; then
18802 if test "x$GCC" = "xyes"; then
18808 if test "x$GCC" != "xyes"; then
18809 THREAD_OPTS
="-Ethread"
18814 THREAD_OPTS
="$THREAD_OPTS pthread none"
18817 for flag
in $THREAD_OPTS; do
18820 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18821 echo "configure:18822: checking whether pthreads work without any flags" >&5
18825 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18826 echo "configure:18827: checking whether pthreads work with $flag" >&5
18827 THREADS_CFLAGS
="$flag"
18831 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18832 echo "configure:18833: checking for the pthreads library -l$flag" >&5
18833 THREADS_LINK
="-l$flag"
18838 save_CFLAGS
="$CFLAGS"
18839 LIBS
="$THREADS_LINK $LIBS"
18840 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18842 cat > conftest.
$ac_ext <<EOF
18843 #line 18844 "configure"
18844 #include "confdefs.h"
18845 #include <pthread.h>
18847 pthread_create(0,0,0,0);
18850 if { (eval echo configure
:18851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18854 echo "configure: failed program was:" >&5
18855 cat conftest.
$ac_ext >&5
18860 CFLAGS
="$save_CFLAGS"
18862 echo "$ac_t""$THREADS_OK" 1>&6
18863 if test "x$THREADS_OK" = "xyes"; then
18871 if test "x$THREADS_OK" != "xyes"; then
18873 echo "configure: warning: No thread support on this system... disabled" 1>&2
18875 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18876 LIBS
="$THREADS_LINK $LIBS"
18878 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18879 echo "configure:18880: checking if more special flags are required for pthreads" >&5
18883 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18884 flag
="-D_THREAD_SAFE"
18887 flag
="-D_THREAD_SAFE"
18890 flag
="-D_REENTRANT"
18891 if test "x$GCC" != "xyes"; then
18892 flag
="$flag -D_RWSTD_MULTI_THREAD"
18895 *solaris
* | alpha
*-osf*)
18896 flag
="-D_REENTRANT"
18899 echo "$ac_t""${flag}" 1>&6
18900 if test "x$flag" != xno
; then
18901 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18904 if test "x$THREADS_CFLAGS" != "x"; then
18905 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18906 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18911 if test "$wxUSE_THREADS" = "yes" ; then
18912 for ac_func
in thr_setconcurrency
18914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18915 echo "configure:18916: checking for $ac_func" >&5
18916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18917 echo $ac_n "(cached) $ac_c" 1>&6
18919 cat > conftest.
$ac_ext <<EOF
18920 #line 18921 "configure"
18921 #include "confdefs.h"
18922 /* System header to define __stub macros and hopefully few prototypes,
18923 which can conflict with char $ac_func(); below. */
18924 #include <assert.h>
18925 /* Override any gcc2 internal prototype to avoid an error. */
18926 /* We use char because int might match the return type of a gcc2
18927 builtin and then its argument prototype would still apply. */
18932 /* The GNU C library defines this for functions which it implements
18933 to always fail with ENOSYS. Some functions are actually named
18934 something starting with __ and the normal name is an alias. */
18935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18943 if { (eval echo configure
:18944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18945 eval "ac_cv_func_$ac_func=yes"
18947 echo "configure: failed program was:" >&5
18948 cat conftest.
$ac_ext >&5
18950 eval "ac_cv_func_$ac_func=no"
18955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18956 echo "$ac_t""yes" 1>&6
18957 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18958 cat >> confdefs.h
<<EOF
18959 #define $ac_tr_func 1
18963 echo "$ac_t""no" 1>&6
18968 for ac_hdr
in sched.h
18970 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18971 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18972 echo "configure:18973: checking for $ac_hdr" >&5
18973 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18974 echo $ac_n "(cached) $ac_c" 1>&6
18976 cat > conftest.
$ac_ext <<EOF
18977 #line 18978 "configure"
18978 #include "confdefs.h"
18981 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18982 { (eval echo configure
:18983: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18983 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18984 if test -z "$ac_err"; then
18986 eval "ac_cv_header_$ac_safe=yes"
18989 echo "configure: failed program was:" >&5
18990 cat conftest.
$ac_ext >&5
18992 eval "ac_cv_header_$ac_safe=no"
18996 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18997 echo "$ac_t""yes" 1>&6
18998 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18999 cat >> confdefs.h
<<EOF
19000 #define $ac_tr_hdr 1
19004 echo "$ac_t""no" 1>&6
19008 if test "$ac_cv_header_sched_h" = "yes"; then
19009 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
19010 echo "configure:19011: checking for sched_yield" >&5
19011 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
19012 echo $ac_n "(cached) $ac_c" 1>&6
19014 cat > conftest.
$ac_ext <<EOF
19015 #line 19016 "configure"
19016 #include "confdefs.h"
19017 /* System header to define __stub macros and hopefully few prototypes,
19018 which can conflict with char sched_yield(); below. */
19019 #include <assert.h>
19020 /* Override any gcc2 internal prototype to avoid an error. */
19021 /* We use char because int might match the return type of a gcc2
19022 builtin and then its argument prototype would still apply. */
19023 char sched_yield();
19027 /* The GNU C library defines this for functions which it implements
19028 to always fail with ENOSYS. Some functions are actually named
19029 something starting with __ and the normal name is an alias. */
19030 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
19038 if { (eval echo configure
:19039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19040 eval "ac_cv_func_sched_yield=yes"
19042 echo "configure: failed program was:" >&5
19043 cat conftest.
$ac_ext >&5
19045 eval "ac_cv_func_sched_yield=no"
19050 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
19051 echo "$ac_t""yes" 1>&6
19052 cat >> confdefs.h
<<\EOF
19053 #define HAVE_SCHED_YIELD 1
19057 echo "$ac_t""no" 1>&6
19059 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
19060 echo "configure:19061: checking for sched_yield in -lposix4" >&5
19061 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
19062 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19063 echo $ac_n "(cached) $ac_c" 1>&6
19065 ac_save_LIBS
="$LIBS"
19066 LIBS
="-lposix4 $LIBS"
19067 cat > conftest.
$ac_ext <<EOF
19068 #line 19069 "configure"
19069 #include "confdefs.h"
19070 /* Override any gcc2 internal prototype to avoid an error. */
19071 /* We use char because int might match the return type of a gcc2
19072 builtin and then its argument prototype would still apply. */
19073 char sched_yield();
19079 if { (eval echo configure
:19080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19081 eval "ac_cv_lib_$ac_lib_var=yes"
19083 echo "configure: failed program was:" >&5
19084 cat conftest.
$ac_ext >&5
19086 eval "ac_cv_lib_$ac_lib_var=no"
19089 LIBS
="$ac_save_LIBS"
19092 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19093 echo "$ac_t""yes" 1>&6
19094 cat >> confdefs.h
<<\EOF
19095 #define HAVE_SCHED_YIELD 1
19097 POSIX4_LINK
=" -lposix4"
19099 echo "$ac_t""no" 1>&6
19100 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19111 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19112 echo "configure:19113: checking for pthread_attr_getschedpolicy" >&5
19113 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19114 echo $ac_n "(cached) $ac_c" 1>&6
19116 cat > conftest.
$ac_ext <<EOF
19117 #line 19118 "configure"
19118 #include "confdefs.h"
19119 /* System header to define __stub macros and hopefully few prototypes,
19120 which can conflict with char pthread_attr_getschedpolicy(); below. */
19121 #include <assert.h>
19122 /* Override any gcc2 internal prototype to avoid an error. */
19123 /* We use char because int might match the return type of a gcc2
19124 builtin and then its argument prototype would still apply. */
19125 char pthread_attr_getschedpolicy();
19129 /* The GNU C library defines this for functions which it implements
19130 to always fail with ENOSYS. Some functions are actually named
19131 something starting with __ and the normal name is an alias. */
19132 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19135 pthread_attr_getschedpolicy();
19140 if { (eval echo configure
:19141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19142 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19144 echo "configure: failed program was:" >&5
19145 cat conftest.
$ac_ext >&5
19147 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19152 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19153 echo "$ac_t""yes" 1>&6
19154 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19155 echo "configure:19156: checking for pthread_attr_setschedparam" >&5
19156 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19157 echo $ac_n "(cached) $ac_c" 1>&6
19159 cat > conftest.
$ac_ext <<EOF
19160 #line 19161 "configure"
19161 #include "confdefs.h"
19162 /* System header to define __stub macros and hopefully few prototypes,
19163 which can conflict with char pthread_attr_setschedparam(); below. */
19164 #include <assert.h>
19165 /* Override any gcc2 internal prototype to avoid an error. */
19166 /* We use char because int might match the return type of a gcc2
19167 builtin and then its argument prototype would still apply. */
19168 char pthread_attr_setschedparam();
19172 /* The GNU C library defines this for functions which it implements
19173 to always fail with ENOSYS. Some functions are actually named
19174 something starting with __ and the normal name is an alias. */
19175 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19178 pthread_attr_setschedparam();
19183 if { (eval echo configure
:19184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19185 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19187 echo "configure: failed program was:" >&5
19188 cat conftest.
$ac_ext >&5
19190 eval "ac_cv_func_pthread_attr_setschedparam=no"
19195 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19196 echo "$ac_t""yes" 1>&6
19197 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19198 echo "configure:19199: checking for sched_get_priority_max" >&5
19199 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19200 echo $ac_n "(cached) $ac_c" 1>&6
19202 cat > conftest.
$ac_ext <<EOF
19203 #line 19204 "configure"
19204 #include "confdefs.h"
19205 /* System header to define __stub macros and hopefully few prototypes,
19206 which can conflict with char sched_get_priority_max(); below. */
19207 #include <assert.h>
19208 /* Override any gcc2 internal prototype to avoid an error. */
19209 /* We use char because int might match the return type of a gcc2
19210 builtin and then its argument prototype would still apply. */
19211 char sched_get_priority_max();
19215 /* The GNU C library defines this for functions which it implements
19216 to always fail with ENOSYS. Some functions are actually named
19217 something starting with __ and the normal name is an alias. */
19218 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19221 sched_get_priority_max();
19226 if { (eval echo configure
:19227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19228 eval "ac_cv_func_sched_get_priority_max=yes"
19230 echo "configure: failed program was:" >&5
19231 cat conftest.
$ac_ext >&5
19233 eval "ac_cv_func_sched_get_priority_max=no"
19238 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19239 echo "$ac_t""yes" 1>&6
19242 echo "$ac_t""no" 1>&6
19243 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19244 echo "configure:19245: checking for sched_get_priority_max in -lposix4" >&5
19245 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19246 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19247 echo $ac_n "(cached) $ac_c" 1>&6
19249 ac_save_LIBS
="$LIBS"
19250 LIBS
="-lposix4 $LIBS"
19251 cat > conftest.
$ac_ext <<EOF
19252 #line 19253 "configure"
19253 #include "confdefs.h"
19254 /* Override any gcc2 internal prototype to avoid an error. */
19255 /* We use char because int might match the return type of a gcc2
19256 builtin and then its argument prototype would still apply. */
19257 char sched_get_priority_max();
19260 sched_get_priority_max()
19263 if { (eval echo configure
:19264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19265 eval "ac_cv_lib_$ac_lib_var=yes"
19267 echo "configure: failed program was:" >&5
19268 cat conftest.
$ac_ext >&5
19270 eval "ac_cv_lib_$ac_lib_var=no"
19273 LIBS
="$ac_save_LIBS"
19276 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19277 echo "$ac_t""yes" 1>&6
19280 POSIX4_LINK
=" -lposix4"
19283 echo "$ac_t""no" 1>&6
19291 echo "$ac_t""no" 1>&6
19296 echo "$ac_t""no" 1>&6
19300 if test "$HAVE_PRIOR_FUNCS" = 1; then
19301 cat >> confdefs.h
<<\EOF
19302 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19306 echo "configure: warning: Setting thread priority will not work" 1>&2
19309 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19310 echo "configure:19311: checking for pthread_cancel" >&5
19311 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19312 echo $ac_n "(cached) $ac_c" 1>&6
19314 cat > conftest.
$ac_ext <<EOF
19315 #line 19316 "configure"
19316 #include "confdefs.h"
19317 /* System header to define __stub macros and hopefully few prototypes,
19318 which can conflict with char pthread_cancel(); below. */
19319 #include <assert.h>
19320 /* Override any gcc2 internal prototype to avoid an error. */
19321 /* We use char because int might match the return type of a gcc2
19322 builtin and then its argument prototype would still apply. */
19323 char pthread_cancel();
19327 /* The GNU C library defines this for functions which it implements
19328 to always fail with ENOSYS. Some functions are actually named
19329 something starting with __ and the normal name is an alias. */
19330 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19338 if { (eval echo configure
:19339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19340 eval "ac_cv_func_pthread_cancel=yes"
19342 echo "configure: failed program was:" >&5
19343 cat conftest.
$ac_ext >&5
19345 eval "ac_cv_func_pthread_cancel=no"
19350 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19351 echo "$ac_t""yes" 1>&6
19352 cat >> confdefs.h
<<\EOF
19353 #define HAVE_PTHREAD_CANCEL 1
19357 echo "$ac_t""no" 1>&6
19358 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19362 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19363 echo "configure:19364: checking for pthread_cleanup_push/pop" >&5
19364 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19365 echo $ac_n "(cached) $ac_c" 1>&6
19368 cat > conftest.
$ac_ext <<EOF
19369 #line 19370 "configure"
19370 #include "confdefs.h"
19371 #include <pthread.h>
19374 pthread_cleanup_push(NULL, NULL);
19375 pthread_cleanup_pop(0);
19379 if { (eval echo configure
:19380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19382 wx_cv_func_pthread_cleanup_push
=yes
19385 echo "configure: failed program was:" >&5
19386 cat conftest.
$ac_ext >&5
19389 wx_cv_func_pthread_cleanup_push
=no
19396 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19398 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19399 cat >> confdefs.h
<<\EOF
19400 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19406 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19407 echo "configure:19408: checking for pthread_mutexattr_t" >&5
19408 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19409 echo $ac_n "(cached) $ac_c" 1>&6
19412 cat > conftest.
$ac_ext <<EOF
19413 #line 19414 "configure"
19414 #include "confdefs.h"
19415 #include <pthread.h>
19418 pthread_mutexattr_t attr;
19419 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19423 if { (eval echo configure
:19424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19426 wx_cv_type_pthread_mutexattr_t
=yes
19429 echo "configure: failed program was:" >&5
19430 cat conftest.
$ac_ext >&5
19433 wx_cv_type_pthread_mutexattr_t
=no
19441 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19443 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19444 cat >> confdefs.h
<<\EOF
19445 #define HAVE_PTHREAD_MUTEXATTR_T 1
19449 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19450 echo "configure:19451: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19451 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19452 echo $ac_n "(cached) $ac_c" 1>&6
19455 cat > conftest.
$ac_ext <<EOF
19456 #line 19457 "configure"
19457 #include "confdefs.h"
19458 #include <pthread.h>
19461 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19465 if { (eval echo configure
:19466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19468 wx_cv_type_pthread_rec_mutex_init
=yes
19471 echo "configure: failed program was:" >&5
19472 cat conftest.
$ac_ext >&5
19475 wx_cv_type_pthread_rec_mutex_init
=no
19483 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19484 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19485 cat >> confdefs.h
<<\EOF
19486 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19490 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19496 if test "$wxUSE_THREADS" = "yes" ; then
19499 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19500 echo "configure:19501: checking if compiler supports -mthreads" >&5
19501 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19502 echo $ac_n "(cached) $ac_c" 1>&6
19505 CFLAGS_OLD
="$CFLAGS"
19506 CFLAGS
="$CFLAGS -mthreads"
19507 cat > conftest.
$ac_ext <<EOF
19508 #line 19509 "configure"
19509 #include "confdefs.h"
19515 if { (eval echo configure
:19516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19517 wx_cv_cflags_mthread
=yes
19519 echo "configure: failed program was:" >&5
19520 cat conftest.
$ac_ext >&5
19522 wx_cv_cflags_mthread
=no
19530 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19532 if test "$wx_cv_cflags_mthread" = "yes"; then
19533 CXXFLAGS
="$CXXFLAGS -mthreads"
19534 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19535 LDFLAGS
="$LDFLAGS -mthreads"
19537 CFLAGS
="$CFLAGS_OLD"
19544 if test "$wxUSE_THREADS" = "yes"; then
19545 cat >> confdefs.h
<<\EOF
19546 #define wxUSE_THREADS 1
19550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19552 if test "$ac_cv_func_strtok_r" = "yes"; then
19553 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19554 echo "configure:19555: checking if -D_REENTRANT is needed" >&5
19555 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19556 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19557 echo "$ac_t""yes" 1>&6
19559 echo "$ac_t""no" 1>&6
19564 if test "$WXGTK20" = 1 ; then
19565 cat >> confdefs.h
<<EOF
19566 #define __WXGTK20__ $WXGTK20
19572 if test "$WXGTK12" = 1 ; then
19573 cat >> confdefs.h
<<EOF
19574 #define __WXGTK12__ $WXGTK12
19579 if test "$WXGTK127" = 1 ; then
19580 cat >> confdefs.h
<<EOF
19581 #define __WXGTK127__ $WXGTK127
19588 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19593 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19594 wxUSE_DEBUG_INFO
=yes
19598 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19599 cat >> confdefs.h
<<\EOF
19603 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19605 if test "$wxUSE_GTK" = 1 ; then
19606 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19610 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19611 cat >> confdefs.h
<<\EOF
19612 #define wxUSE_MEMORY_TRACING 1
19615 cat >> confdefs.h
<<\EOF
19616 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19619 cat >> confdefs.h
<<\EOF
19620 #define wxUSE_DEBUG_NEW_ALWAYS 1
19623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19626 if test "$wxUSE_DMALLOC" = "yes" ; then
19627 DMALLOC_LIBS
="-ldmalloc"
19631 if test "$wxUSE_PROFILE" = "yes" ; then
19636 CODE_GEN_FLAGS_CXX
=
19637 if test "$GCC" = "yes" ; then
19638 if test "$wxUSE_NO_RTTI" = "yes" ; then
19639 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19641 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19642 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19644 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19645 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19647 if test "$USE_WIN32" = 1 ; then
19648 # I'm not even really sure what this was ever added to solve,
19649 # but someone added it for mingw native builds, so I guess
19650 # they had a reason, right??
19651 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19656 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19659 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19665 if test "$wxUSE_OPTIMISE" = "no" ; then
19666 if test "$GCC" = yes ; then
19670 if test "$GCC" = yes ; then
19674 i586
-*-*|i686
-*-* )
19675 OPTIMISE
="${OPTIMISE} "
19684 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19685 cat >> confdefs.h
<<\EOF
19686 #define WXWIN_COMPATIBILITY_2 1
19690 WXWIN_COMPATIBILITY_2_2
="yes"
19693 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19694 cat >> confdefs.h
<<\EOF
19695 #define WXWIN_COMPATIBILITY_2_2 1
19699 WXWIN_COMPATIBILITY_2_4
="yes"
19702 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19703 cat >> confdefs.h
<<\EOF
19704 #define WXWIN_COMPATIBILITY_2_4 1
19710 if test "$wxUSE_GUI" = "yes"; then
19711 cat >> confdefs.h
<<\EOF
19712 #define wxUSE_GUI 1
19717 cat >> confdefs.h
<<\EOF
19718 #define wxUSE_NOGUI 1
19724 if test "$wxUSE_UNIX" = "yes"; then
19725 cat >> confdefs.h
<<\EOF
19726 #define wxUSE_UNIX 1
19732 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19733 cat >> confdefs.h
<<\EOF
19734 #define wxUSE_APPLE_IEEE 1
19739 if test "$wxUSE_TIMER" = "yes"; then
19740 cat >> confdefs.h
<<\EOF
19741 #define wxUSE_TIMER 1
19746 if test "$wxUSE_WAVE" = "yes"; then
19747 cat >> confdefs.h
<<\EOF
19748 #define wxUSE_WAVE 1
19753 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19754 cat >> confdefs.h
<<\EOF
19755 #define wxUSE_CMDLINE_PARSER 1
19760 if test "$wxUSE_STOPWATCH" = "yes"; then
19761 cat >> confdefs.h
<<\EOF
19762 #define wxUSE_STOPWATCH 1
19767 if test "$wxUSE_DATETIME" = "yes"; then
19768 cat >> confdefs.h
<<\EOF
19769 #define wxUSE_DATETIME 1
19774 if test "$wxUSE_FILE" = "yes"; then
19775 cat >> confdefs.h
<<\EOF
19776 #define wxUSE_FILE 1
19781 if test "$wxUSE_FFILE" = "yes"; then
19782 cat >> confdefs.h
<<\EOF
19783 #define wxUSE_FFILE 1
19788 if test "$wxUSE_FILESYSTEM" = "yes"; then
19789 cat >> confdefs.h
<<\EOF
19790 #define wxUSE_FILESYSTEM 1
19795 if test "$wxUSE_FS_INET" = "yes"; then
19796 cat >> confdefs.h
<<\EOF
19797 #define wxUSE_FS_INET 1
19802 if test "$wxUSE_FS_ZIP" = "yes"; then
19803 cat >> confdefs.h
<<\EOF
19804 #define wxUSE_FS_ZIP 1
19809 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19810 cat >> confdefs.h
<<\EOF
19811 #define wxUSE_ZIPSTREAM 1
19816 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19817 cat >> confdefs.h
<<\EOF
19818 #define wxUSE_ON_FATAL_EXCEPTION 1
19823 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19824 cat >> confdefs.h
<<\EOF
19825 #define wxUSE_SNGLINST_CHECKER 1
19830 if test "$wxUSE_BUSYINFO" = "yes"; then
19831 cat >> confdefs.h
<<\EOF
19832 #define wxUSE_BUSYINFO 1
19837 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19838 cat >> confdefs.h
<<\EOF
19839 #define wxUSE_STD_IOSTREAM 1
19844 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19845 cat >> confdefs.h
<<\EOF
19846 #define wxUSE_TEXTBUFFER 1
19851 if test "$wxUSE_TEXTFILE" = "yes"; then
19852 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19853 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19855 cat >> confdefs.h
<<\EOF
19856 #define wxUSE_TEXTFILE 1
19862 if test "$wxUSE_CONFIG" = "yes" ; then
19863 if test "$wxUSE_TEXTFILE" != "yes"; then
19864 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19866 cat >> confdefs.h
<<\EOF
19867 #define wxUSE_CONFIG 1
19870 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19874 if test "$wxUSE_INTL" = "yes" ; then
19875 if test "$wxUSE_FILE" != "yes"; then
19876 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19878 cat >> confdefs.h
<<\EOF
19879 #define wxUSE_INTL 1
19882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19883 GUIDIST
="$GUIDIST INTL_DIST"
19887 if test "$wxUSE_LOG" = "yes"; then
19888 cat >> confdefs.h
<<\EOF
19889 #define wxUSE_LOG 1
19893 if test "$wxUSE_LOGGUI" = "yes"; then
19894 cat >> confdefs.h
<<\EOF
19895 #define wxUSE_LOGGUI 1
19900 if test "$wxUSE_LOGWINDOW" = "yes"; then
19901 cat >> confdefs.h
<<\EOF
19902 #define wxUSE_LOGWINDOW 1
19907 if test "$wxUSE_LOGDIALOG" = "yes"; then
19908 cat >> confdefs.h
<<\EOF
19909 #define wxUSE_LOG_DIALOG 1
19915 if test "$wxUSE_LONGLONG" = "yes"; then
19916 cat >> confdefs.h
<<\EOF
19917 #define wxUSE_LONGLONG 1
19922 if test "$wxUSE_GEOMETRY" = "yes"; then
19923 cat >> confdefs.h
<<\EOF
19924 #define wxUSE_GEOMETRY 1
19929 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19930 cat >> confdefs.h
<<\EOF
19931 #define wxUSE_DIALUP_MANAGER 1
19934 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19937 if test "$wxUSE_STREAMS" = "yes" ; then
19938 cat >> confdefs.h
<<\EOF
19939 #define wxUSE_STREAMS 1
19945 if test "$wxUSE_DATETIME" = "yes"; then
19946 for ac_func
in strptime
19948 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19949 echo "configure:19950: checking for $ac_func" >&5
19950 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19951 echo $ac_n "(cached) $ac_c" 1>&6
19953 cat > conftest.
$ac_ext <<EOF
19954 #line 19955 "configure"
19955 #include "confdefs.h"
19956 /* System header to define __stub macros and hopefully few prototypes,
19957 which can conflict with char $ac_func(); below. */
19958 #include <assert.h>
19959 /* Override any gcc2 internal prototype to avoid an error. */
19960 /* We use char because int might match the return type of a gcc2
19961 builtin and then its argument prototype would still apply. */
19966 /* The GNU C library defines this for functions which it implements
19967 to always fail with ENOSYS. Some functions are actually named
19968 something starting with __ and the normal name is an alias. */
19969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19977 if { (eval echo configure
:19978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19979 eval "ac_cv_func_$ac_func=yes"
19981 echo "configure: failed program was:" >&5
19982 cat conftest.
$ac_ext >&5
19984 eval "ac_cv_func_$ac_func=no"
19989 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19990 echo "$ac_t""yes" 1>&6
19991 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19992 cat >> confdefs.h
<<EOF
19993 #define $ac_tr_func 1
19997 echo "$ac_t""no" 1>&6
20002 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
20003 echo "configure:20004: checking for timezone variable in <time.h>" >&5
20004 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
20005 echo $ac_n "(cached) $ac_c" 1>&6
20008 cat > conftest.
$ac_ext <<EOF
20009 #line 20010 "configure"
20010 #include "confdefs.h"
20021 if { (eval echo configure
:20022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20024 wx_cv_var_timezone
=timezone
20027 echo "configure: failed program was:" >&5
20028 cat conftest.
$ac_ext >&5
20031 cat > conftest.
$ac_ext <<EOF
20032 #line 20033 "configure"
20033 #include "confdefs.h"
20044 if { (eval echo configure
:20045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20047 wx_cv_var_timezone
=_timezone
20050 echo "configure: failed program was:" >&5
20051 cat conftest.
$ac_ext >&5
20054 cat > conftest.
$ac_ext <<EOF
20055 #line 20056 "configure"
20056 #include "confdefs.h"
20067 if { (eval echo configure
:20068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20070 wx_cv_var_timezone
=__timezone
20073 echo "configure: failed program was:" >&5
20074 cat conftest.
$ac_ext >&5
20077 if test "$USE_DOS" = 0 ; then
20078 echo "configure: warning: no timezone variable" 1>&2
20096 echo "$ac_t""$wx_cv_var_timezone" 1>&6
20098 if test "x$wx_cv_var_timezone" != x
; then
20099 cat >> confdefs.h
<<EOF
20100 #define WX_TIMEZONE $wx_cv_var_timezone
20105 for ac_func
in localtime
20107 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20108 echo "configure:20109: checking for $ac_func" >&5
20109 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20110 echo $ac_n "(cached) $ac_c" 1>&6
20112 cat > conftest.
$ac_ext <<EOF
20113 #line 20114 "configure"
20114 #include "confdefs.h"
20115 /* System header to define __stub macros and hopefully few prototypes,
20116 which can conflict with char $ac_func(); below. */
20117 #include <assert.h>
20118 /* Override any gcc2 internal prototype to avoid an error. */
20119 /* We use char because int might match the return type of a gcc2
20120 builtin and then its argument prototype would still apply. */
20125 /* The GNU C library defines this for functions which it implements
20126 to always fail with ENOSYS. Some functions are actually named
20127 something starting with __ and the normal name is an alias. */
20128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20136 if { (eval echo configure
:20137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20138 eval "ac_cv_func_$ac_func=yes"
20140 echo "configure: failed program was:" >&5
20141 cat conftest.
$ac_ext >&5
20143 eval "ac_cv_func_$ac_func=no"
20148 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20149 echo "$ac_t""yes" 1>&6
20150 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20151 cat >> confdefs.h
<<EOF
20152 #define $ac_tr_func 1
20156 echo "$ac_t""no" 1>&6
20161 if test "$ac_cv_func_localtime" = "yes"; then
20162 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20163 echo "configure:20164: checking for tm_gmtoff in struct tm" >&5
20164 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20165 echo $ac_n "(cached) $ac_c" 1>&6
20168 cat > conftest.
$ac_ext <<EOF
20169 #line 20170 "configure"
20170 #include "confdefs.h"
20181 if { (eval echo configure
:20182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20184 wx_cv_struct_tm_has_gmtoff
=yes
20187 echo "configure: failed program was:" >&5
20188 cat conftest.
$ac_ext >&5
20190 wx_cv_struct_tm_has_gmtoff
=no
20197 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20200 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20201 cat >> confdefs.h
<<\EOF
20202 #define WX_GMTOFF_IN_TM 1
20207 for ac_func
in gettimeofday ftime
20209 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20210 echo "configure:20211: checking for $ac_func" >&5
20211 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20212 echo $ac_n "(cached) $ac_c" 1>&6
20214 cat > conftest.
$ac_ext <<EOF
20215 #line 20216 "configure"
20216 #include "confdefs.h"
20217 /* System header to define __stub macros and hopefully few prototypes,
20218 which can conflict with char $ac_func(); below. */
20219 #include <assert.h>
20220 /* Override any gcc2 internal prototype to avoid an error. */
20221 /* We use char because int might match the return type of a gcc2
20222 builtin and then its argument prototype would still apply. */
20227 /* The GNU C library defines this for functions which it implements
20228 to always fail with ENOSYS. Some functions are actually named
20229 something starting with __ and the normal name is an alias. */
20230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20238 if { (eval echo configure
:20239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20240 eval "ac_cv_func_$ac_func=yes"
20242 echo "configure: failed program was:" >&5
20243 cat conftest.
$ac_ext >&5
20245 eval "ac_cv_func_$ac_func=no"
20250 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20251 echo "$ac_t""yes" 1>&6
20252 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20253 cat >> confdefs.h
<<EOF
20254 #define $ac_tr_func 1
20258 echo "$ac_t""no" 1>&6
20263 if test "$ac_cv_func_gettimeofday" = "yes"; then
20264 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20265 echo "configure:20266: checking whether gettimeofday takes two arguments" >&5
20266 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20267 echo $ac_n "(cached) $ac_c" 1>&6
20272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20273 ac_cpp
='$CXXCPP $CPPFLAGS'
20274 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20275 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20276 cross_compiling
=$ac_cv_prog_cxx_cross
20279 cat > conftest.
$ac_ext <<EOF
20280 #line 20281 "configure"
20281 #include "confdefs.h"
20283 #include <sys/time.h>
20284 #include <unistd.h>
20289 gettimeofday(&tv, NULL);
20293 if { (eval echo configure
:20294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20295 wx_cv_func_gettimeofday_has_2_args
=yes
20297 echo "configure: failed program was:" >&5
20298 cat conftest.
$ac_ext >&5
20300 cat > conftest.
$ac_ext <<EOF
20301 #line 20302 "configure"
20302 #include "confdefs.h"
20304 #include <sys/time.h>
20305 #include <unistd.h>
20314 if { (eval echo configure
:20315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20316 wx_cv_func_gettimeofday_has_2_args
=no
20318 echo "configure: failed program was:" >&5
20319 cat conftest.
$ac_ext >&5
20322 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20323 wx_cv_func_gettimeofday_has_2_args
=unknown
20332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20333 ac_cpp
='$CPP $CPPFLAGS'
20334 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20335 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20336 cross_compiling
=$ac_cv_prog_cc_cross
20341 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20343 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20344 cat >> confdefs.h
<<\EOF
20345 #define WX_GETTIMEOFDAY_NO_TZ 1
20351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20355 if test "$wxUSE_SOCKETS" = "yes"; then
20356 if test "$wxUSE_MGL" = "1"; then
20357 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20362 if test "$wxUSE_SOCKETS" = "yes"; then
20363 if test "$TOOLKIT" != "MSW"; then
20364 echo $ac_n "checking for socket""... $ac_c" 1>&6
20365 echo "configure:20366: checking for socket" >&5
20366 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20367 echo $ac_n "(cached) $ac_c" 1>&6
20369 cat > conftest.
$ac_ext <<EOF
20370 #line 20371 "configure"
20371 #include "confdefs.h"
20372 /* System header to define __stub macros and hopefully few prototypes,
20373 which can conflict with char socket(); below. */
20374 #include <assert.h>
20375 /* Override any gcc2 internal prototype to avoid an error. */
20376 /* We use char because int might match the return type of a gcc2
20377 builtin and then its argument prototype would still apply. */
20382 /* The GNU C library defines this for functions which it implements
20383 to always fail with ENOSYS. Some functions are actually named
20384 something starting with __ and the normal name is an alias. */
20385 #if defined (__stub_socket) || defined (__stub___socket)
20393 if { (eval echo configure
:20394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20395 eval "ac_cv_func_socket=yes"
20397 echo "configure: failed program was:" >&5
20398 cat conftest.
$ac_ext >&5
20400 eval "ac_cv_func_socket=no"
20405 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20406 echo "$ac_t""yes" 1>&6
20409 echo "$ac_t""no" 1>&6
20410 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20411 echo "configure:20412: checking for socket in -lsocket" >&5
20412 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20413 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20414 echo $ac_n "(cached) $ac_c" 1>&6
20416 ac_save_LIBS
="$LIBS"
20417 LIBS
="-lsocket $LIBS"
20418 cat > conftest.
$ac_ext <<EOF
20419 #line 20420 "configure"
20420 #include "confdefs.h"
20421 /* Override any gcc2 internal prototype to avoid an error. */
20422 /* We use char because int might match the return type of a gcc2
20423 builtin and then its argument prototype would still apply. */
20430 if { (eval echo configure
:20431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20432 eval "ac_cv_lib_$ac_lib_var=yes"
20434 echo "configure: failed program was:" >&5
20435 cat conftest.
$ac_ext >&5
20437 eval "ac_cv_lib_$ac_lib_var=no"
20440 LIBS
="$ac_save_LIBS"
20443 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20444 echo "$ac_t""yes" 1>&6
20445 if test "$INET_LINK" != " -lsocket"; then
20446 INET_LINK
="$INET_LINK -lsocket"
20449 echo "$ac_t""no" 1>&6
20451 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20463 if test "$wxUSE_SOCKETS" = "yes" ; then
20464 if test "$TOOLKIT" != "MSW"; then
20465 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20466 echo "configure:20467: checking what is the type of the third argument of getsockname" >&5
20467 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20468 echo $ac_n "(cached) $ac_c" 1>&6
20473 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20474 ac_cpp
='$CXXCPP $CPPFLAGS'
20475 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20476 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20477 cross_compiling
=$ac_cv_prog_cxx_cross
20480 cat > conftest.
$ac_ext <<EOF
20481 #line 20482 "configure"
20482 #include "confdefs.h"
20484 #include <sys/types.h>
20485 #include <sys/socket.h>
20490 getsockname(0, 0, &len);
20494 if { (eval echo configure
:20495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20496 wx_cv_type_getsockname3
=socklen_t
20498 echo "configure: failed program was:" >&5
20499 cat conftest.
$ac_ext >&5
20501 cat > conftest.
$ac_ext <<EOF
20502 #line 20503 "configure"
20503 #include "confdefs.h"
20505 #include <sys/types.h>
20506 #include <sys/socket.h>
20511 getsockname(0, 0, &len);
20515 if { (eval echo configure
:20516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20517 wx_cv_type_getsockname3
=size_t
20519 echo "configure: failed program was:" >&5
20520 cat conftest.
$ac_ext >&5
20522 cat > conftest.
$ac_ext <<EOF
20523 #line 20524 "configure"
20524 #include "confdefs.h"
20526 #include <sys/types.h>
20527 #include <sys/socket.h>
20532 getsockname(0, 0, &len);
20536 if { (eval echo configure
:20537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20538 wx_cv_type_getsockname3
=int
20540 echo "configure: failed program was:" >&5
20541 cat conftest.
$ac_ext >&5
20543 wx_cv_type_getsockname3
=unknown
20555 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20556 ac_cpp
='$CPP $CPPFLAGS'
20557 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20558 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20559 cross_compiling
=$ac_cv_prog_cc_cross
20564 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20566 if test "$wx_cv_type_getsockname3" = "unknown"; then
20568 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20570 cat >> confdefs.h
<<EOF
20571 #define SOCKLEN_T $wx_cv_type_getsockname3
20578 if test "$wxUSE_SOCKETS" = "yes" ; then
20579 cat >> confdefs.h
<<\EOF
20580 #define wxUSE_SOCKETS 1
20583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20587 if test "$wxUSE_GUI" = "yes"; then
20589 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20590 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20593 if test "$TOOLKIT" = "MOTIF"; then
20594 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20597 if test "$TOOLKIT" = "X11"; then
20598 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20602 if test "$TOOLKIT" != "MSW"; then
20603 if test "$wxUSE_JOYSTICK" = "yes"; then
20604 for ac_hdr
in linux
/joystick.h
20606 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20607 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20608 echo "configure:20609: checking for $ac_hdr" >&5
20609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20610 echo $ac_n "(cached) $ac_c" 1>&6
20612 cat > conftest.
$ac_ext <<EOF
20613 #line 20614 "configure"
20614 #include "confdefs.h"
20617 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20618 { (eval echo configure
:20619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20619 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20620 if test -z "$ac_err"; then
20622 eval "ac_cv_header_$ac_safe=yes"
20625 echo "configure: failed program was:" >&5
20626 cat conftest.
$ac_ext >&5
20628 eval "ac_cv_header_$ac_safe=no"
20632 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20633 echo "$ac_t""yes" 1>&6
20634 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20635 cat >> confdefs.h
<<EOF
20636 #define $ac_tr_hdr 1
20640 echo "$ac_t""no" 1>&6
20644 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20646 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20651 if test "$wxUSE_JOYSTICK" = "yes"; then
20652 cat >> confdefs.h
<<\EOF
20653 #define wxUSE_JOYSTICK 1
20656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20661 if test "$TOOLKIT" != "MSW"; then
20665 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20666 if test "$USE_DARWIN" = 1; then
20669 for ac_func
in dlopen
20671 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20672 echo "configure:20673: checking for $ac_func" >&5
20673 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20674 echo $ac_n "(cached) $ac_c" 1>&6
20676 cat > conftest.
$ac_ext <<EOF
20677 #line 20678 "configure"
20678 #include "confdefs.h"
20679 /* System header to define __stub macros and hopefully few prototypes,
20680 which can conflict with char $ac_func(); below. */
20681 #include <assert.h>
20682 /* Override any gcc2 internal prototype to avoid an error. */
20683 /* We use char because int might match the return type of a gcc2
20684 builtin and then its argument prototype would still apply. */
20689 /* The GNU C library defines this for functions which it implements
20690 to always fail with ENOSYS. Some functions are actually named
20691 something starting with __ and the normal name is an alias. */
20692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20700 if { (eval echo configure
:20701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20702 eval "ac_cv_func_$ac_func=yes"
20704 echo "configure: failed program was:" >&5
20705 cat conftest.
$ac_ext >&5
20707 eval "ac_cv_func_$ac_func=no"
20712 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20713 echo "$ac_t""yes" 1>&6
20714 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20715 cat >> confdefs.h
<<EOF
20716 #define $ac_tr_func 1
20719 cat >> confdefs.h
<<\EOF
20720 #define HAVE_DLOPEN 1
20726 echo "$ac_t""no" 1>&6
20727 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20728 echo "configure:20729: checking for dlopen in -ldl" >&5
20729 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20730 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20731 echo $ac_n "(cached) $ac_c" 1>&6
20733 ac_save_LIBS
="$LIBS"
20735 cat > conftest.
$ac_ext <<EOF
20736 #line 20737 "configure"
20737 #include "confdefs.h"
20738 /* Override any gcc2 internal prototype to avoid an error. */
20739 /* We use char because int might match the return type of a gcc2
20740 builtin and then its argument prototype would still apply. */
20747 if { (eval echo configure
:20748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20749 eval "ac_cv_lib_$ac_lib_var=yes"
20751 echo "configure: failed program was:" >&5
20752 cat conftest.
$ac_ext >&5
20754 eval "ac_cv_lib_$ac_lib_var=no"
20757 LIBS
="$ac_save_LIBS"
20760 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20761 echo "$ac_t""yes" 1>&6
20763 cat >> confdefs.h
<<\EOF
20764 #define HAVE_DLOPEN 1
20768 DL_LINK
=" -ldl$DL_LINK"
20771 echo "$ac_t""no" 1>&6
20773 for ac_func
in shl_load
20775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20776 echo "configure:20777: checking for $ac_func" >&5
20777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20778 echo $ac_n "(cached) $ac_c" 1>&6
20780 cat > conftest.
$ac_ext <<EOF
20781 #line 20782 "configure"
20782 #include "confdefs.h"
20783 /* System header to define __stub macros and hopefully few prototypes,
20784 which can conflict with char $ac_func(); below. */
20785 #include <assert.h>
20786 /* Override any gcc2 internal prototype to avoid an error. */
20787 /* We use char because int might match the return type of a gcc2
20788 builtin and then its argument prototype would still apply. */
20793 /* The GNU C library defines this for functions which it implements
20794 to always fail with ENOSYS. Some functions are actually named
20795 something starting with __ and the normal name is an alias. */
20796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20804 if { (eval echo configure
:20805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20806 eval "ac_cv_func_$ac_func=yes"
20808 echo "configure: failed program was:" >&5
20809 cat conftest.
$ac_ext >&5
20811 eval "ac_cv_func_$ac_func=no"
20816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20817 echo "$ac_t""yes" 1>&6
20818 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20819 cat >> confdefs.h
<<EOF
20820 #define $ac_tr_func 1
20823 cat >> confdefs.h
<<\EOF
20824 #define HAVE_SHL_LOAD 1
20830 echo "$ac_t""no" 1>&6
20831 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20832 echo "configure:20833: checking for dld in -lshl_load" >&5
20833 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20834 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20835 echo $ac_n "(cached) $ac_c" 1>&6
20837 ac_save_LIBS
="$LIBS"
20838 LIBS
="-lshl_load $LIBS"
20839 cat > conftest.
$ac_ext <<EOF
20840 #line 20841 "configure"
20841 #include "confdefs.h"
20842 /* Override any gcc2 internal prototype to avoid an error. */
20843 /* We use char because int might match the return type of a gcc2
20844 builtin and then its argument prototype would still apply. */
20851 if { (eval echo configure
:20852: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20853 eval "ac_cv_lib_$ac_lib_var=yes"
20855 echo "configure: failed program was:" >&5
20856 cat conftest.
$ac_ext >&5
20858 eval "ac_cv_lib_$ac_lib_var=no"
20861 LIBS
="$ac_save_LIBS"
20864 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20865 echo "$ac_t""yes" 1>&6
20868 DL_LINK
=" -ldld$DL_LINK"
20871 echo "$ac_t""no" 1>&6
20886 if test "$HAVE_DL_FUNCS" = 1; then
20887 for ac_func
in dlerror
20889 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20890 echo "configure:20891: checking for $ac_func" >&5
20891 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20892 echo $ac_n "(cached) $ac_c" 1>&6
20894 cat > conftest.
$ac_ext <<EOF
20895 #line 20896 "configure"
20896 #include "confdefs.h"
20897 /* System header to define __stub macros and hopefully few prototypes,
20898 which can conflict with char $ac_func(); below. */
20899 #include <assert.h>
20900 /* Override any gcc2 internal prototype to avoid an error. */
20901 /* We use char because int might match the return type of a gcc2
20902 builtin and then its argument prototype would still apply. */
20907 /* The GNU C library defines this for functions which it implements
20908 to always fail with ENOSYS. Some functions are actually named
20909 something starting with __ and the normal name is an alias. */
20910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20918 if { (eval echo configure
:20919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20920 eval "ac_cv_func_$ac_func=yes"
20922 echo "configure: failed program was:" >&5
20923 cat conftest.
$ac_ext >&5
20925 eval "ac_cv_func_$ac_func=no"
20930 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20931 echo "$ac_t""yes" 1>&6
20932 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20933 cat >> confdefs.h
<<EOF
20934 #define $ac_tr_func 1
20936 cat >> confdefs.h
<<\EOF
20937 #define HAVE_DLERROR 1
20941 echo "$ac_t""no" 1>&6
20942 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20943 echo "configure:20944: checking for dlerror in -ldl" >&5
20944 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20945 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20946 echo $ac_n "(cached) $ac_c" 1>&6
20948 ac_save_LIBS
="$LIBS"
20950 cat > conftest.
$ac_ext <<EOF
20951 #line 20952 "configure"
20952 #include "confdefs.h"
20953 /* Override any gcc2 internal prototype to avoid an error. */
20954 /* We use char because int might match the return type of a gcc2
20955 builtin and then its argument prototype would still apply. */
20962 if { (eval echo configure
:20963: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20964 eval "ac_cv_lib_$ac_lib_var=yes"
20966 echo "configure: failed program was:" >&5
20967 cat conftest.
$ac_ext >&5
20969 eval "ac_cv_lib_$ac_lib_var=no"
20972 LIBS
="$ac_save_LIBS"
20975 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20976 echo "$ac_t""yes" 1>&6
20977 cat >> confdefs.h
<<\EOF
20978 #define HAVE_DLERROR 1
20982 echo "$ac_t""no" 1>&6
20991 if test "$HAVE_DL_FUNCS" = 0; then
20992 if test "$HAVE_SHL_FUNCS" = 0; then
20993 if test "$USE_UNIX" = 1; then
20994 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20995 wxUSE_DYNAMIC_LOADER
=no
20996 wxUSE_DYNLIB_CLASS
=no
20998 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
21005 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
21006 cat >> confdefs.h
<<\EOF
21007 #define wxUSE_DYNAMIC_LOADER 1
21010 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
21011 cat >> confdefs.h
<<\EOF
21012 #define wxUSE_DYNLIB_CLASS 1
21018 if test "$wxUSE_FONTMAP" = "yes" ; then
21019 cat >> confdefs.h
<<\EOF
21020 #define wxUSE_FONTMAP 1
21025 if test "$wxUSE_UNICODE" = "yes" ; then
21026 cat >> confdefs.h
<<\EOF
21027 #define wxUSE_UNICODE 1
21031 if test "$wxUSE_MSW" != 1; then
21032 wxUSE_UNICODE_MSLU
=no
21035 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
21036 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
21037 echo "configure:21038: checking for main in -lunicows" >&5
21038 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
21039 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21040 echo $ac_n "(cached) $ac_c" 1>&6
21042 ac_save_LIBS
="$LIBS"
21043 LIBS
="-lunicows $LIBS"
21044 cat > conftest.
$ac_ext <<EOF
21045 #line 21046 "configure"
21046 #include "confdefs.h"
21052 if { (eval echo configure
:21053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21054 eval "ac_cv_lib_$ac_lib_var=yes"
21056 echo "configure: failed program was:" >&5
21057 cat conftest.
$ac_ext >&5
21059 eval "ac_cv_lib_$ac_lib_var=no"
21062 LIBS
="$ac_save_LIBS"
21065 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21066 echo "$ac_t""yes" 1>&6
21068 cat >> confdefs.h
<<\EOF
21069 #define wxUSE_UNICODE_MSLU 1
21074 echo "$ac_t""no" 1>&6
21076 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
21077 Applications will only run on Windows NT/2000/XP!" 1>&2
21078 wxUSE_UNICODE_MSLU
=no
21085 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
21086 cat >> confdefs.h
<<\EOF
21087 #define wxUSE_EXPERIMENTAL_PRINTF 1
21095 if test "$wxUSE_ODBC" = "yes" ; then
21096 cat >> confdefs.h
<<\EOF
21097 #define wxUSE_ODBC 1
21100 WXODBCFLAG
="-D_IODBC_"
21101 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
21105 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21106 cat >> confdefs.h
<<\EOF
21107 #define wxUSE_POSTSCRIPT 1
21112 cat >> confdefs.h
<<\EOF
21113 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21117 cat >> confdefs.h
<<\EOF
21118 #define wxUSE_NORMALIZED_PS_FONTS 1
21123 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21124 cat >> confdefs.h
<<\EOF
21125 #define wxUSE_CONSTRAINTS 1
21128 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21131 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21134 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21135 cat >> confdefs.h
<<\EOF
21136 #define wxUSE_MDI_ARCHITECTURE 1
21139 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21143 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21144 cat >> confdefs.h
<<\EOF
21145 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21149 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21154 if test "$wxUSE_HELP" = "yes"; then
21155 cat >> confdefs.h
<<\EOF
21156 #define wxUSE_HELP 1
21159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21161 if test "$wxUSE_MSW" = 1; then
21162 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21163 cat >> confdefs.h
<<\EOF
21164 #define wxUSE_MS_HTML_HELP 1
21170 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21171 if test "$wxUSE_HTML" = "yes"; then
21172 cat >> confdefs.h
<<\EOF
21173 #define wxUSE_WXHTML_HELP 1
21177 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21178 wxUSE_WXHTML_HELP
=no
21183 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21184 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21185 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21187 cat >> confdefs.h
<<\EOF
21188 #define wxUSE_PRINTING_ARCHITECTURE 1
21192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21197 if test "$wxUSE_X_RESOURCES" = "yes"; then
21198 cat >> confdefs.h
<<\EOF
21199 #define wxUSE_X_RESOURCES 1
21205 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21206 -o "$wxUSE_CLIPBOARD" = "yes" \
21207 -o "$wxUSE_OLE" = "yes" \
21208 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21209 for ac_hdr
in ole2.h
21211 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21212 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21213 echo "configure:21214: checking for $ac_hdr" >&5
21214 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21215 echo $ac_n "(cached) $ac_c" 1>&6
21217 cat > conftest.
$ac_ext <<EOF
21218 #line 21219 "configure"
21219 #include "confdefs.h"
21222 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21223 { (eval echo configure
:21224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21224 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21225 if test -z "$ac_err"; then
21227 eval "ac_cv_header_$ac_safe=yes"
21230 echo "configure: failed program was:" >&5
21231 cat conftest.
$ac_ext >&5
21233 eval "ac_cv_header_$ac_safe=no"
21237 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21238 echo "$ac_t""yes" 1>&6
21239 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21240 cat >> confdefs.h
<<EOF
21241 #define $ac_tr_hdr 1
21245 echo "$ac_t""no" 1>&6
21250 if test "$ac_cv_header_ole2_h" = "yes" ; then
21251 if test "$GCC" = yes ; then
21254 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21255 ac_cpp
='$CXXCPP $CPPFLAGS'
21256 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21257 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21258 cross_compiling
=$ac_cv_prog_cxx_cross
21261 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21262 echo "configure:21263: checking if g++ requires -fvtable-thunks" >&5
21263 cat > conftest.
$ac_ext <<EOF
21264 #line 21265 "configure"
21265 #include "confdefs.h"
21266 #include <windows.h>
21272 if { (eval echo configure
:21273: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21274 echo "$ac_t""no" 1>&6
21276 echo "configure: failed program was:" >&5
21277 cat conftest.
$ac_ext >&5
21279 echo "$ac_t""yes" 1>&6
21280 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21284 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21285 ac_cpp
='$CPP $CPPFLAGS'
21286 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21287 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21288 cross_compiling
=$ac_cv_prog_cc_cross
21290 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21291 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21292 cat >> confdefs.h
<<\EOF
21293 #define wxUSE_OLE 1
21299 cat >> confdefs.h
<<\EOF
21300 #define wxUSE_DATAOBJ 1
21304 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21307 wxUSE_DRAG_AND_DROP
=no
21312 if test "$wxUSE_METAFILE" = "yes"; then
21313 cat >> confdefs.h
<<\EOF
21314 #define wxUSE_METAFILE 1
21318 cat >> confdefs.h
<<\EOF
21319 #define wxUSE_ENH_METAFILE 1
21325 if test "$wxUSE_IPC" = "yes"; then
21326 if test "$wxUSE_SOCKETS" != "yes"; then
21327 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21330 cat >> confdefs.h
<<\EOF
21331 #define wxUSE_IPC 1
21336 if test "$wxUSE_CLIPBOARD" = "yes"; then
21337 if test "$wxUSE_MGL" = 1; then
21338 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21342 if test "$wxUSE_CLIPBOARD" = "yes"; then
21343 cat >> confdefs.h
<<\EOF
21344 #define wxUSE_CLIPBOARD 1
21348 cat >> confdefs.h
<<\EOF
21349 #define wxUSE_DATAOBJ 1
21355 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21356 if test "$wxUSE_GTK" = 1; then
21357 if test "$WXGTK12" != 1; then
21358 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21359 wxUSE_DRAG_AND_DROP
=no
21363 if test "$wxUSE_MOTIF" = 1; then
21364 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21365 wxUSE_DRAG_AND_DROP
=no
21368 if test "$wxUSE_X11" = 1; then
21369 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21370 wxUSE_DRAG_AND_DROP
=no
21373 if test "$wxUSE_MGL" = 1; then
21374 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21375 wxUSE_DRAG_AND_DROP
=no
21378 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21379 cat >> confdefs.h
<<\EOF
21380 #define wxUSE_DRAG_AND_DROP 1
21383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21388 if test "$wxUSE_SPLINES" = "yes" ; then
21389 cat >> confdefs.h
<<\EOF
21390 #define wxUSE_SPLINES 1
21397 if test "$wxUSE_CONTROLS" = "yes"; then
21401 if test "$wxUSE_ACCEL" = "yes"; then
21402 cat >> confdefs.h
<<\EOF
21403 #define wxUSE_ACCEL 1
21409 if test "$wxUSE_BUTTON" = "yes"; then
21410 cat >> confdefs.h
<<\EOF
21411 #define wxUSE_BUTTON 1
21417 if test "$wxUSE_BMPBUTTON" = "yes"; then
21418 cat >> confdefs.h
<<\EOF
21419 #define wxUSE_BMPBUTTON 1
21425 if test "$wxUSE_CALCTRL" = "yes"; then
21426 cat >> confdefs.h
<<\EOF
21427 #define wxUSE_CALENDARCTRL 1
21431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21434 if test "$wxUSE_CARET" = "yes"; then
21435 cat >> confdefs.h
<<\EOF
21436 #define wxUSE_CARET 1
21440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21443 if test "$wxUSE_COMBOBOX" = "yes"; then
21444 cat >> confdefs.h
<<\EOF
21445 #define wxUSE_COMBOBOX 1
21451 if test "$wxUSE_CHOICE" = "yes"; then
21452 cat >> confdefs.h
<<\EOF
21453 #define wxUSE_CHOICE 1
21459 if test "$wxUSE_CHECKBOX" = "yes"; then
21460 cat >> confdefs.h
<<\EOF
21461 #define wxUSE_CHECKBOX 1
21467 if test "$wxUSE_CHECKLST" = "yes"; then
21468 cat >> confdefs.h
<<\EOF
21469 #define wxUSE_CHECKLISTBOX 1
21473 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21476 if test "$wxUSE_DISPLAY" = "yes"; then
21477 cat >> confdefs.h
<<\EOF
21478 #define wxUSE_DISPLAY 1
21481 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21484 if test "$wxUSE_GAUGE" = "yes"; then
21485 cat >> confdefs.h
<<\EOF
21486 #define wxUSE_GAUGE 1
21492 if test "$wxUSE_GRID" = "yes"; then
21493 cat >> confdefs.h
<<\EOF
21494 #define wxUSE_GRID 1
21498 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21501 if test "$wxUSE_IMAGLIST" = "yes"; then
21502 cat >> confdefs.h
<<\EOF
21503 #define wxUSE_IMAGLIST 1
21508 if test "$wxUSE_LISTBOX" = "yes"; then
21509 cat >> confdefs.h
<<\EOF
21510 #define wxUSE_LISTBOX 1
21516 if test "$wxUSE_LISTCTRL" = "yes"; then
21517 if test "$wxUSE_IMAGLIST" = "yes"; then
21518 cat >> confdefs.h
<<\EOF
21519 #define wxUSE_LISTCTRL 1
21523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21525 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21529 if test "$wxUSE_NOTEBOOK" = "yes"; then
21530 cat >> confdefs.h
<<\EOF
21531 #define wxUSE_NOTEBOOK 1
21535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21539 if test "$wxUSE_RADIOBOX" = "yes"; then
21540 cat >> confdefs.h
<<\EOF
21541 #define wxUSE_RADIOBOX 1
21547 if test "$wxUSE_RADIOBTN" = "yes"; then
21548 cat >> confdefs.h
<<\EOF
21549 #define wxUSE_RADIOBTN 1
21555 if test "$wxUSE_SASH" = "yes"; then
21556 cat >> confdefs.h
<<\EOF
21557 #define wxUSE_SASH 1
21560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21563 if test "$wxUSE_SCROLLBAR" = "yes"; then
21564 cat >> confdefs.h
<<\EOF
21565 #define wxUSE_SCROLLBAR 1
21569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21572 if test "$wxUSE_SLIDER" = "yes"; then
21573 cat >> confdefs.h
<<\EOF
21574 #define wxUSE_SLIDER 1
21580 if test "$wxUSE_SPINBTN" = "yes"; then
21581 cat >> confdefs.h
<<\EOF
21582 #define wxUSE_SPINBTN 1
21588 if test "$wxUSE_SPINCTRL" = "yes"; then
21589 cat >> confdefs.h
<<\EOF
21590 #define wxUSE_SPINCTRL 1
21596 if test "$wxUSE_SPLITTER" = "yes"; then
21597 cat >> confdefs.h
<<\EOF
21598 #define wxUSE_SPLITTER 1
21601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21604 if test "$wxUSE_STATBMP" = "yes"; then
21605 cat >> confdefs.h
<<\EOF
21606 #define wxUSE_STATBMP 1
21612 if test "$wxUSE_STATBOX" = "yes"; then
21613 cat >> confdefs.h
<<\EOF
21614 #define wxUSE_STATBOX 1
21620 if test "$wxUSE_STATTEXT" = "yes"; then
21621 cat >> confdefs.h
<<\EOF
21622 #define wxUSE_STATTEXT 1
21628 if test "$wxUSE_STATLINE" = "yes"; then
21629 cat >> confdefs.h
<<\EOF
21630 #define wxUSE_STATLINE 1
21636 if test "$wxUSE_STATUSBAR" = "yes"; then
21637 cat >> confdefs.h
<<\EOF
21638 #define wxUSE_STATUSBAR 1
21643 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21646 if test "$wxUSE_TABDIALOG" = "yes"; then
21647 cat >> confdefs.h
<<\EOF
21648 #define wxUSE_TAB_DIALOG 1
21651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21654 if test "$wxUSE_TEXTCTRL" = "yes"; then
21655 cat >> confdefs.h
<<\EOF
21656 #define wxUSE_TEXTCTRL 1
21660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21663 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21664 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21665 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21668 if test "$wxUSE_UNIVERSAL" = "yes"; then
21669 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21673 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21674 cat >> confdefs.h
<<\EOF
21675 #define wxUSE_TOGGLEBTN 1
21682 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21683 cat >> confdefs.h
<<\EOF
21684 #define wxUSE_TOOLBAR_SIMPLE 1
21687 wxUSE_TOOLBAR
="yes"
21691 if test "$wxUSE_TOOLBAR" = "yes"; then
21692 cat >> confdefs.h
<<\EOF
21693 #define wxUSE_TOOLBAR 1
21698 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21699 wxUSE_TOOLBAR_NATIVE
="yes"
21702 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21703 cat >> confdefs.h
<<\EOF
21704 #define wxUSE_TOOLBAR_NATIVE 1
21710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21713 if test "$wxUSE_TOOLTIPS" = "yes"; then
21714 if test "$wxUSE_MOTIF" = 1; then
21715 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21717 if test "$wxUSE_UNIVERSAL" = "yes"; then
21718 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21720 cat >> confdefs.h
<<\EOF
21721 #define wxUSE_TOOLTIPS 1
21728 if test "$wxUSE_TREECTRL" = "yes"; then
21729 if test "$wxUSE_IMAGLIST" = "yes"; then
21730 cat >> confdefs.h
<<\EOF
21731 #define wxUSE_TREECTRL 1
21735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21737 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21741 if test "$wxUSE_POPUPWIN" = "yes"; then
21742 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21743 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21745 if test "$wxUSE_MOTIF" = 1; then
21746 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21748 if test "$wxUSE_PM" = 1; then
21749 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21751 cat >> confdefs.h
<<\EOF
21752 #define wxUSE_POPUPWIN 1
21762 if test "$wxUSE_TIPWINDOW" = "yes"; then
21763 if test "$wxUSE_PM" = 1; then
21764 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21766 cat >> confdefs.h
<<\EOF
21767 #define wxUSE_TIPWINDOW 1
21773 if test "$USES_CONTROLS" = 1; then
21774 cat >> confdefs.h
<<\EOF
21775 #define wxUSE_CONTROLS 1
21782 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21783 cat >> confdefs.h
<<\EOF
21784 #define wxUSE_DRAGIMAGE 1
21787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21790 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
21791 cat >> confdefs.h
<<\EOF
21792 #define wxUSE_ACCESSIBILITY 1
21795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
21798 if test "$wxUSE_MENUS" = "yes"; then
21799 cat >> confdefs.h
<<\EOF
21800 #define wxUSE_MENUS 1
21803 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21806 if test "$wxUSE_METAFILE" = "yes"; then
21807 cat >> confdefs.h
<<\EOF
21808 #define wxUSE_METAFILE 1
21813 if test "$wxUSE_MIMETYPE" = "yes"; then
21814 cat >> confdefs.h
<<\EOF
21815 #define wxUSE_MIMETYPE 1
21820 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21821 cat >> confdefs.h
<<\EOF
21822 #define wxUSE_SYSTEM_OPTIONS 1
21825 if test "$TOOLKIT" = "MSW"; then
21826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21831 if test "$wxUSE_PROTOCOL" = "yes"; then
21832 if test "$wxUSE_SOCKETS" != "yes"; then
21833 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21837 if test "$wxUSE_PROTOCOL" = "yes"; then
21838 cat >> confdefs.h
<<\EOF
21839 #define wxUSE_PROTOCOL 1
21843 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21844 cat >> confdefs.h
<<\EOF
21845 #define wxUSE_PROTOCOL_HTTP 1
21849 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21850 cat >> confdefs.h
<<\EOF
21851 #define wxUSE_PROTOCOL_FTP 1
21855 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21856 cat >> confdefs.h
<<\EOF
21857 #define wxUSE_PROTOCOL_FILE 1
21864 if test "$wxUSE_URL" = "yes"; then
21865 if test "$wxUSE_PROTOCOL" != "yes"; then
21866 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21869 if test "$wxUSE_URL" = "yes"; then
21870 cat >> confdefs.h
<<\EOF
21871 #define wxUSE_URL 1
21877 if test "$wxUSE_MINIFRAME" = "yes"; then
21878 cat >> confdefs.h
<<\EOF
21879 #define wxUSE_MINIFRAME 1
21882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21885 if test "$wxUSE_HTML" = "yes"; then
21886 cat >> confdefs.h
<<\EOF
21887 #define wxUSE_HTML 1
21890 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21893 if test "$wxUSE_VALIDATORS" = "yes"; then
21894 cat >> confdefs.h
<<\EOF
21895 #define wxUSE_VALIDATORS 1
21898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21901 if test "$wxUSE_PALETTE" = "yes" ; then
21902 cat >> confdefs.h
<<\EOF
21903 #define wxUSE_PALETTE 1
21908 if test "$wxUSE_IMAGE" = "yes" ; then
21909 cat >> confdefs.h
<<\EOF
21910 #define wxUSE_IMAGE 1
21915 if test "$wxUSE_GIF" = "yes" ; then
21916 cat >> confdefs.h
<<\EOF
21917 #define wxUSE_GIF 1
21922 if test "$wxUSE_PCX" = "yes" ; then
21923 cat >> confdefs.h
<<\EOF
21924 #define wxUSE_PCX 1
21929 if test "$wxUSE_IFF" = "yes" ; then
21930 cat >> confdefs.h
<<\EOF
21931 #define wxUSE_IFF 1
21936 if test "$wxUSE_PNM" = "yes" ; then
21937 cat >> confdefs.h
<<\EOF
21938 #define wxUSE_PNM 1
21943 if test "$wxUSE_XPM" = "yes" ; then
21944 cat >> confdefs.h
<<\EOF
21945 #define wxUSE_XPM 1
21950 if test "$wxUSE_ICO_CUR" = "yes" ; then
21951 cat >> confdefs.h
<<\EOF
21952 #define wxUSE_ICO_CUR 1
21957 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21958 LIBS
=" -lunicows $LIBS"
21962 if test "$wxUSE_CHOICEDLG" = "yes"; then
21963 cat >> confdefs.h
<<\EOF
21964 #define wxUSE_CHOICEDLG 1
21969 if test "$wxUSE_COLOURDLG" = "yes"; then
21970 cat >> confdefs.h
<<\EOF
21971 #define wxUSE_COLOURDLG 1
21976 if test "$wxUSE_FILEDLG" = "yes"; then
21977 cat >> confdefs.h
<<\EOF
21978 #define wxUSE_FILEDLG 1
21983 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21984 cat >> confdefs.h
<<\EOF
21985 #define wxUSE_FINDREPLDLG 1
21990 if test "$wxUSE_FONTDLG" = "yes"; then
21991 cat >> confdefs.h
<<\EOF
21992 #define wxUSE_FONTDLG 1
21997 if test "$wxUSE_DIRDLG" = "yes"; then
21998 if test "$wxUSE_TREECTRL" != "yes"; then
21999 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
22001 cat >> confdefs.h
<<\EOF
22002 #define wxUSE_DIRDLG 1
22008 if test "$wxUSE_MSGDLG" = "yes"; then
22009 cat >> confdefs.h
<<\EOF
22010 #define wxUSE_MSGDLG 1
22015 if test "$wxUSE_NUMBERDLG" = "yes"; then
22016 cat >> confdefs.h
<<\EOF
22017 #define wxUSE_NUMBERDLG 1
22022 if test "$wxUSE_PROGRESSDLG" = "yes"; then
22023 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22024 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
22026 cat >> confdefs.h
<<\EOF
22027 #define wxUSE_PROGRESSDLG 1
22033 if test "$wxUSE_SPLASH" = "yes"; then
22034 cat >> confdefs.h
<<\EOF
22035 #define wxUSE_SPLASH 1
22040 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
22041 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22042 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
22044 cat >> confdefs.h
<<\EOF
22045 #define wxUSE_STARTUP_TIPS 1
22051 if test "$wxUSE_TEXTDLG" = "yes"; then
22052 cat >> confdefs.h
<<\EOF
22053 #define wxUSE_TEXTDLG 1
22058 if test "$wxUSE_WIZARDDLG" = "yes"; then
22059 cat >> confdefs.h
<<\EOF
22060 #define wxUSE_WIZARDDLG 1
22063 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22067 if test "$cross_compiling" = "yes"; then
22070 OSINFO
=`uname -s -r -m`
22071 OSINFO
="\"$OSINFO\""
22074 cat >> confdefs.h
<<EOF
22075 #define WXWIN_OS_DESCRIPTION $OSINFO
22080 if test "x$prefix" != "xNONE"; then
22083 wxPREFIX
=$ac_default_prefix
22086 cat >> confdefs.h
<<EOF
22087 #define wxINSTALL_PREFIX "$wxPREFIX"
22096 if test "$wxUSE_MAC" = 1 ; then
22097 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22099 if test "$wxUSE_COCOA" = 1 ; then
22100 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
22104 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22111 echo "configure:22112: checking for $ac_func" >&5
22112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22113 echo $ac_n "(cached) $ac_c" 1>&6
22115 cat > conftest.
$ac_ext <<EOF
22116 #line 22117 "configure"
22117 #include "confdefs.h"
22118 /* System header to define __stub macros and hopefully few prototypes,
22119 which can conflict with char $ac_func(); below. */
22120 #include <assert.h>
22121 /* Override any gcc2 internal prototype to avoid an error. */
22122 /* We use char because int might match the return type of a gcc2
22123 builtin and then its argument prototype would still apply. */
22128 /* The GNU C library defines this for functions which it implements
22129 to always fail with ENOSYS. Some functions are actually named
22130 something starting with __ and the normal name is an alias. */
22131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22139 if { (eval echo configure
:22140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22141 eval "ac_cv_func_$ac_func=yes"
22143 echo "configure: failed program was:" >&5
22144 cat conftest.
$ac_ext >&5
22146 eval "ac_cv_func_$ac_func=no"
22151 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22152 echo "$ac_t""yes" 1>&6
22153 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22154 cat >> confdefs.h
<<EOF
22155 #define $ac_tr_func 1
22159 echo "$ac_t""no" 1>&6
22163 for ac_func
in floor
22165 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22166 echo "configure:22167: checking for $ac_func" >&5
22167 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22168 echo $ac_n "(cached) $ac_c" 1>&6
22170 cat > conftest.
$ac_ext <<EOF
22171 #line 22172 "configure"
22172 #include "confdefs.h"
22173 /* System header to define __stub macros and hopefully few prototypes,
22174 which can conflict with char $ac_func(); below. */
22175 #include <assert.h>
22176 /* Override any gcc2 internal prototype to avoid an error. */
22177 /* We use char because int might match the return type of a gcc2
22178 builtin and then its argument prototype would still apply. */
22183 /* The GNU C library defines this for functions which it implements
22184 to always fail with ENOSYS. Some functions are actually named
22185 something starting with __ and the normal name is an alias. */
22186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22194 if { (eval echo configure
:22195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22196 eval "ac_cv_func_$ac_func=yes"
22198 echo "configure: failed program was:" >&5
22199 cat conftest.
$ac_ext >&5
22201 eval "ac_cv_func_$ac_func=no"
22206 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22207 echo "$ac_t""yes" 1>&6
22208 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22209 cat >> confdefs.h
<<EOF
22210 #define $ac_tr_func 1
22214 echo "$ac_t""no" 1>&6
22218 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22219 echo "configure:22220: checking if floating point functions link without -lm" >&5
22220 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22221 echo "$ac_t""yes" 1>&6
22223 echo "$ac_t""no" 1>&6
22225 # use different functions to avoid configure caching
22230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22231 echo "configure:22232: checking for $ac_func" >&5
22232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22233 echo $ac_n "(cached) $ac_c" 1>&6
22235 cat > conftest.
$ac_ext <<EOF
22236 #line 22237 "configure"
22237 #include "confdefs.h"
22238 /* System header to define __stub macros and hopefully few prototypes,
22239 which can conflict with char $ac_func(); below. */
22240 #include <assert.h>
22241 /* Override any gcc2 internal prototype to avoid an error. */
22242 /* We use char because int might match the return type of a gcc2
22243 builtin and then its argument prototype would still apply. */
22248 /* The GNU C library defines this for functions which it implements
22249 to always fail with ENOSYS. Some functions are actually named
22250 something starting with __ and the normal name is an alias. */
22251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22259 if { (eval echo configure
:22260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22261 eval "ac_cv_func_$ac_func=yes"
22263 echo "configure: failed program was:" >&5
22264 cat conftest.
$ac_ext >&5
22266 eval "ac_cv_func_$ac_func=no"
22271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22272 echo "$ac_t""yes" 1>&6
22273 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22274 cat >> confdefs.h
<<EOF
22275 #define $ac_tr_func 1
22279 echo "$ac_t""no" 1>&6
22283 for ac_func
in ceil
22285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22286 echo "configure:22287: checking for $ac_func" >&5
22287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22288 echo $ac_n "(cached) $ac_c" 1>&6
22290 cat > conftest.
$ac_ext <<EOF
22291 #line 22292 "configure"
22292 #include "confdefs.h"
22293 /* System header to define __stub macros and hopefully few prototypes,
22294 which can conflict with char $ac_func(); below. */
22295 #include <assert.h>
22296 /* Override any gcc2 internal prototype to avoid an error. */
22297 /* We use char because int might match the return type of a gcc2
22298 builtin and then its argument prototype would still apply. */
22303 /* The GNU C library defines this for functions which it implements
22304 to always fail with ENOSYS. Some functions are actually named
22305 something starting with __ and the normal name is an alias. */
22306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22314 if { (eval echo configure
:22315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22316 eval "ac_cv_func_$ac_func=yes"
22318 echo "configure: failed program was:" >&5
22319 cat conftest.
$ac_ext >&5
22321 eval "ac_cv_func_$ac_func=no"
22326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22327 echo "$ac_t""yes" 1>&6
22328 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22329 cat >> confdefs.h
<<EOF
22330 #define $ac_tr_func 1
22334 echo "$ac_t""no" 1>&6
22338 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22339 echo "configure:22340: checking if floating point functions link with -lm" >&5
22340 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22341 echo "$ac_t""yes" 1>&6
22343 echo "$ac_t""no" 1>&6
22344 # not sure we should warn the user, crash, etc.
22348 if test "$wxUSE_GUI" = "yes"; then
22350 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22353 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22354 drawing dynamic erase event exec font image \
22355 minimal propsize rotate shaped widgets"
22357 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22359 SAMPLES_SUBDIRS
="console"
22363 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22364 -I\${top_srcdir}/include \
22365 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22368 if test "$wxUSE_GTK" = 1; then
22371 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22374 if test "$GXX" = yes ; then
22375 CXXWARNINGS
="-Wall"
22377 if test "$wxUSE_NO_DEPS" = "no" ; then
22378 CFLAGS
="-MMD $CFLAGS"
22379 CXXFLAGS
="-MMD $CXXFLAGS"
22383 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22385 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22386 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22387 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22388 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22390 LDFLAGS
="$LDFLAGS $PROFILE"
22392 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22494 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22495 echo "configure:22496: checking whether ${MAKE-make} sets \${MAKE}" >&5
22496 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22497 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22498 echo $ac_n "(cached) $ac_c" 1>&6
22500 cat > conftestmake
<<\EOF
22502 @
echo 'ac_maketemp="${MAKE}"'
22504 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22505 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22506 if test -n "$ac_maketemp"; then
22507 eval ac_cv_prog_make_
${ac_make}_set
=yes
22509 eval ac_cv_prog_make_
${ac_make}_set
=no
22513 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22514 echo "$ac_t""yes" 1>&6
22517 echo "$ac_t""no" 1>&6
22518 SET_MAKE
="MAKE=${MAKE-make}"
22522 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22523 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22528 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22529 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22530 wx_cv_path_ifs
=$PATH_IFS
22531 wx_cv_program_ext
=$PROGRAM_EXT
22532 wx_cv_target_library
=$WX_TARGET_LIBRARY
22533 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22534 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22535 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22536 wx_cv_release
=${WX_RELEASE}
22537 wx_cv_current
=${WX_CURRENT}
22538 wx_cv_revision
=${WX_REVISION}
22539 wx_cv_age
=${WX_AGE}
22540 wx_cv_use_gui
=${USE_GUI}
22541 wx_cv_use_resources
=${wxUSE_RESOURCES}
22542 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22543 wx_cv_path_ifs wx_cv_program_ext \
22544 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22545 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22546 wx_cv_use_gui wx_cv_use_resources
22548 subdirs
="demos samples utils contrib"
22552 cat > confcache
<<\EOF
22553 # This file is a shell script that caches the results of configure
22554 # tests run on this system so they can be shared between configure
22555 # scripts and configure runs. It is not useful on other systems.
22556 # If it contains results you don't want to keep, you may remove or edit it.
22558 # By default, configure uses ./config.cache as the cache file,
22559 # creating it if it does not exist already. You can give configure
22560 # the --cache-file=FILE option to use a different cache file; that is
22561 # what configure does when it calls configure scripts in
22562 # subdirectories, so they share the cache.
22563 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22564 # config.status only pays attention to the cache file if you give it the
22565 # --recheck option to rerun configure.
22568 # The following way of writing the cache mishandles newlines in values,
22569 # but we know of no workaround that is simple, portable, and efficient.
22570 # So, don't put newlines in cache variables' values.
22571 # Ultrix sh set writes to stderr and can't be redirected directly,
22572 # and sets the high bit in the cache file unless we assign to the vars.
22574 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22576 # `set' does not quote correctly, so add quotes (double-quote substitution
22577 # turns \\\\ into \\, and sed turns \\ into \).
22579 -e "s/'/'\\\\''/g" \
22580 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22583 # `set' quotes correctly as required by POSIX, so do not add quotes.
22584 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22587 if cmp -s $cache_file confcache
; then
22590 if test -w $cache_file; then
22591 echo "updating cache $cache_file"
22592 cat confcache
> $cache_file
22594 echo "not updating unwritable cache $cache_file"
22599 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22601 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22602 # Let make expand exec_prefix.
22603 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22605 # Any assignment to VPATH causes Sun make to only execute
22606 # the first set of double-colon rules, so remove it if not needed.
22607 # If there is a colon in the path, we need to keep it.
22608 if test "x$srcdir" = x.
; then
22609 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22612 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22614 DEFS
=-DHAVE_CONFIG_H
22616 # Without the "./", some shells look in PATH for config.status.
22617 : ${CONFIG_STATUS=./config.status}
22619 echo creating
$CONFIG_STATUS
22620 rm -f $CONFIG_STATUS
22621 cat > $CONFIG_STATUS <<EOF
22623 # Generated automatically by configure.
22624 # Run this file to recreate the current configuration.
22625 # This directory was configured as follows,
22626 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22628 # $0 $ac_configure_args
22630 # Compiler output produced by configure, useful for debugging
22631 # configure, is in ./config.log if it exists.
22633 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22636 case "\$ac_option" in
22637 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22638 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22639 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22640 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22641 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22643 -help | --help | --hel | --he | --h)
22644 echo "\$ac_cs_usage"; exit 0 ;;
22645 *) echo "\$ac_cs_usage"; exit 1 ;;
22649 ac_given_srcdir=$srcdir
22650 ac_given_INSTALL="$INSTALL"
22652 trap 'rm -fr `echo "
22659 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22661 cat >> $CONFIG_STATUS <<EOF
22663 # Protect against being on the right side of a sed subst in config.status.
22664 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22665 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22669 s%@CFLAGS@%$CFLAGS%g
22670 s%@CPPFLAGS@%$CPPFLAGS%g
22671 s%@CXXFLAGS@%$CXXFLAGS%g
22672 s%@FFLAGS@%$FFLAGS%g
22674 s%@LDFLAGS@%$LDFLAGS%g
22676 s%@exec_prefix@%$exec_prefix%g
22677 s%@prefix@%$prefix%g
22678 s%@program_transform_name@%$program_transform_name%g
22679 s%@bindir@%$bindir%g
22680 s%@sbindir@%$sbindir%g
22681 s%@libexecdir@%$libexecdir%g
22682 s%@datadir@%$datadir%g
22683 s%@sysconfdir@%$sysconfdir%g
22684 s%@sharedstatedir@%$sharedstatedir%g
22685 s%@localstatedir@%$localstatedir%g
22686 s%@libdir@%$libdir%g
22687 s%@includedir@%$includedir%g
22688 s%@oldincludedir@%$oldincludedir%g
22689 s%@infodir@%$infodir%g
22690 s%@mandir@%$mandir%g
22692 s%@host_alias@%$host_alias%g
22693 s%@host_cpu@%$host_cpu%g
22694 s%@host_vendor@%$host_vendor%g
22695 s%@host_os@%$host_os%g
22696 s%@target@%$target%g
22697 s%@target_alias@%$target_alias%g
22698 s%@target_cpu@%$target_cpu%g
22699 s%@target_vendor@%$target_vendor%g
22700 s%@target_os@%$target_os%g
22702 s%@build_alias@%$build_alias%g
22703 s%@build_cpu@%$build_cpu%g
22704 s%@build_vendor@%$build_vendor%g
22705 s%@build_os@%$build_os%g
22709 s%@RANLIB@%$RANLIB%g
22711 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22712 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22713 s%@INSTALL_DATA@%$INSTALL_DATA%g
22715 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22718 s%@LEXLIB@%$LEXLIB%g
22720 s%@CXXCPP@%$CXXCPP%g
22721 s%@PKG_CONFIG@%$PKG_CONFIG%g
22722 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22723 s%@GTK_LIBS@%$GTK_LIBS%g
22724 s%@GTK_CONFIG@%$GTK_CONFIG%g
22725 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22726 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22727 s%@X_CFLAGS@%$X_CFLAGS%g
22728 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22729 s%@X_LIBS@%$X_LIBS%g
22730 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22731 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22732 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22733 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22734 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22735 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22736 s%@RESCOMP@%$RESCOMP%g
22738 s%@SETFILE@%$SETFILE%g
22739 s%@LIBICONV@%$LIBICONV%g
22740 s%@LEX_STEM@%$LEX_STEM%g
22741 s%@PATH_IFS@%$PATH_IFS%g
22742 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22743 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22744 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22745 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22746 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22747 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22748 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22749 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22750 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22751 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22752 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22753 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22754 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22755 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22756 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22757 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22758 s%@WX_ALL@%$WX_ALL%g
22759 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22760 s%@SHARED_LD@%$SHARED_LD%g
22761 s%@PIC_FLAG@%$PIC_FLAG%g
22762 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22763 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22764 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22765 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22766 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22767 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22768 s%@STATIC_FLAG@%$STATIC_FLAG%g
22769 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22770 s%@USE_GUI@%$USE_GUI%g
22771 s%@AFMINSTALL@%$AFMINSTALL%g
22772 s%@WIN32INSTALL@%$WIN32INSTALL%g
22773 s%@TOOLKIT@%$TOOLKIT%g
22774 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22775 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22776 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22777 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22778 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22779 s%@top_builddir@%$top_builddir%g
22780 s%@cross_compiling@%$cross_compiling%g
22781 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22782 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22783 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22784 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22785 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22786 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22787 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22788 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22789 s%@ALL_HEADERS@%$ALL_HEADERS%g
22790 s%@ALL_SOURCES@%$ALL_SOURCES%g
22791 s%@GUIDIST@%$GUIDIST%g
22792 s%@PORT_FILES@%$PORT_FILES%g
22793 s%@DISTDIR@%$DISTDIR%g
22794 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22795 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22796 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22797 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22798 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22799 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22800 s%@EXTRADEFS@%$EXTRADEFS%g
22801 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22802 s%@RESFLAGS@%$RESFLAGS%g
22803 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22804 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22805 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22806 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22807 s%@LIBWXMACRES@%$LIBWXMACRES%g
22808 s%@MACRESCOMP@%$MACRESCOMP%g
22809 s%@MACSETFILE@%$MACSETFILE%g
22810 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22812 s%@DLLTOOL@%$DLLTOOL%g
22816 s%@MAKEINFO@%$MAKEINFO%g
22817 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22818 s%@INSTALL_DIR@%$INSTALL_DIR%g
22819 s%@SET_MAKE@%$SET_MAKE%g
22820 s%@subdirs@%$subdirs%g
22825 cat >> $CONFIG_STATUS <<\EOF
22827 # Split the substitutions into bite-sized pieces for seds with
22828 # small command number limits, like on Digital OSF/1 and HP-UX.
22829 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22830 ac_file
=1 # Number of current file.
22831 ac_beg
=1 # First line for current file.
22832 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22835 while $ac_more_lines; do
22836 if test $ac_beg -gt 1; then
22837 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22839 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22841 if test ! -s conftest.s
$ac_file; then
22842 ac_more_lines
=false
22843 rm -f conftest.s
$ac_file
22845 if test -z "$ac_sed_cmds"; then
22846 ac_sed_cmds
="sed -f conftest.s$ac_file"
22848 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22850 ac_file
=`expr $ac_file + 1`
22852 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22855 if test -z "$ac_sed_cmds"; then
22860 cat >> $CONFIG_STATUS <<EOF
22862 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22870 cat >> $CONFIG_STATUS <<\EOF
22871 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22872 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22874 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22875 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22876 *) ac_file_in
="${ac_file}.in" ;;
22879 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22881 # Remove last slash and all that follows it. Not all systems have dirname.
22882 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22883 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22884 # The file is in a subdirectory.
22885 test ! -d "$ac_dir" && mkdir "$ac_dir"
22886 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22887 # A "../" for each directory in $ac_dir_suffix.
22888 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22890 ac_dir_suffix
= ac_dots
=
22893 case "$ac_given_srcdir" in
22895 if test -z "$ac_dots"; then top_srcdir
=.
22896 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22897 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22898 *) # Relative path.
22899 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22900 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22903 case "$ac_given_INSTALL" in
22904 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22905 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22908 echo creating
"$ac_file"
22910 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22912 *Makefile
*) ac_comsub
="1i\\
22913 # $configure_input" ;;
22917 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22919 s%@configure_input@%$configure_input%g
22920 s%@srcdir@%$srcdir%g
22921 s%@top_srcdir@%$top_srcdir%g
22922 s%@INSTALL@%$INSTALL%g
22923 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22927 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22928 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22930 # ac_d sets the value in "#define NAME VALUE" lines.
22931 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22932 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22935 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22936 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22937 ac_uB
='\([ ]\)%\1#\2define\3'
22940 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22941 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22942 ac_eB
='$%\1#\2define\3'
22946 if test "${CONFIG_HEADERS+set}" != set; then
22948 cat >> $CONFIG_STATUS <<EOF
22949 CONFIG_HEADERS="setup.h:setup.h.in"
22951 cat >> $CONFIG_STATUS <<\EOF
22953 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22954 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22956 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22957 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22958 *) ac_file_in
="${ac_file}.in" ;;
22961 echo creating
$ac_file
22963 rm -f conftest.frag conftest.
in conftest.out
22964 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22965 cat $ac_file_inputs > conftest.
in
22969 # Transform confdefs.h into a sed script conftest.vals that substitutes
22970 # the proper values into config.h.in to produce config.h. And first:
22971 # Protect against being on the right side of a sed subst in config.status.
22972 # Protect against being in an unquoted here document in config.status.
22973 rm -f conftest.vals
22974 cat > conftest.hdr
<<\EOF
22977 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22981 sed -n -f conftest.hdr confdefs.h > conftest.vals
22984 # This sed command replaces #undef with comments. This is necessary, for
22985 # example, in the case of _POSIX_SOURCE, which is predefined and required
22986 # on some systems where configure will not decide to define it.
22987 cat >> conftest.vals <<\EOF
22988 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22991 # Break up conftest.vals because some shells have a limit on
22992 # the size of here documents, and old seds have small limits too.
22994 rm -f conftest.tail
22997 ac_lines=`grep -c . conftest.vals
`
22998 # grep -c gives empty output for an empty file on some AIX systems.
22999 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
23000 # Write a limited-size here document to conftest.frag.
23001 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
23002 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
23004 sed -f conftest.frag conftest.in > conftest.out
23006 mv conftest.out conftest.in
23007 ' >> $CONFIG_STATUS
23008 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
23009 rm -f conftest.vals
23010 mv conftest.tail conftest.vals
23012 rm -f conftest.vals
23014 cat >> $CONFIG_STATUS <<\EOF
23015 rm -f conftest.frag conftest.h
23016 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
23017 cat conftest.in >> conftest.h
23019 if cmp -s $ac_file conftest.h 2>/dev/null; then
23020 echo "$ac_file is unchanged"
23023 # Remove last slash and all that follows it. Not all systems have dirname.
23024 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23025 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23026 # The file is in a subdirectory.
23027 test ! -d "$ac_dir" && mkdir "$ac_dir"
23030 mv conftest.h $ac_file
23035 cat >> $CONFIG_STATUS <<EOF
23037 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
23042 cat >> $CONFIG_STATUS <<\EOF
23044 if test ! -h wx-config; then
23046 mv wx-config wx${TOOLCHAIN_NAME}-config
23047 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
23050 if test ! -d lib; then
23053 if test ! -d lib/wx; then
23056 if test ! -d lib/wx/include; then
23057 mkdir lib/wx/include
23059 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
23060 mkdir lib/wx/include/${TOOLCHAIN_NAME}
23062 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
23063 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
23065 if test -f setup.h; then
23066 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
23071 chmod +x $CONFIG_STATUS
23072 rm -fr confdefs* $ac_clean_files
23073 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23075 if test "$no_recursion" != yes; then
23077 # Remove --cache-file and --srcdir arguments so they do not pile up.
23078 ac_sub_configure_args=
23080 for ac_arg in $ac_configure_args; do
23081 if test -n "$ac_prev"; then
23086 -cache-file | --cache-file | --cache-fil | --cache-fi \
23087 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23088 ac_prev=cache_file ;;
23089 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23090 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
23092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23096 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
23100 for ac_config_dir in demos samples utils contrib; do
23102 # Do not complain, so a configure script can configure whichever
23103 # parts of a large source tree are present.
23104 if test ! -d $srcdir/$ac_config_dir; then
23108 echo configuring in $ac_config_dir
23113 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23115 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23123 # A "../" for each directory in /$ac_config_dir.
23124 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23127 .) # No --srcdir option. We are building in place.
23128 ac_sub_srcdir=$srcdir ;;
23129 /*) # Absolute path.
23130 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23131 *) # Relative path.
23132 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23135 # Check for guested configure; otherwise get Cygnus style configure.
23136 if test -f $ac_sub_srcdir/configure; then
23137 ac_sub_configure=$ac_sub_srcdir/configure
23138 elif test -f $ac_sub_srcdir/configure.in; then
23139 ac_sub_configure=$ac_configure
23141 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23145 # The recursion is here.
23146 if test -n "$ac_sub_configure"; then
23148 # Make the cache file name correct relative to the subdirectory.
23149 case "$cache_file" in
23150 /*) ac_sub_cache_file=$cache_file ;;
23151 *) # Relative path.
23152 ac_sub_cache_file="$ac_dots$cache_file" ;;
23154 case "$ac_given_INSTALL" in
23155 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23156 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23159 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23160 # The eval makes quoting arguments work.
23161 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23164 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23174 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23176 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23178 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23179 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23180 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23182 echo " What level of wxWindows compatibility should be enabled?"
23183 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23184 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23185 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23187 echo " Which libraries should wxWindows use?"
23188 echo " jpeg ${wxUSE_LIBJPEG-none}"
23189 echo " png ${wxUSE_LIBPNG-none}"
23190 echo " regex ${wxUSE_REGEX}"
23191 echo " tiff ${wxUSE_LIBTIFF-none}"
23192 echo " zlib ${wxUSE_ZLIB}"