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-timedate use obsolete wxDate/wxTime classes"
200 --enable-stopwatch use wxStopWatch class"
202 --enable-dialupman use dialup network classes"
204 --enable-apple_ieee use the Apple IEEE codec"
206 --enable-timer use wxTimer class"
208 --enable-wave use wxWave class"
210 --enable-fraction use wxFraction class"
212 --enable-dynlib use wxLibrary class for DLL loading"
214 --enable-dynamicloader use (new) wxDynamicLibrary class"
216 --enable-longlong use wxLongLong class"
218 --enable-geometry use geometry class"
220 --enable-log use logging system"
222 --enable-streams use wxStream etc classes"
224 --enable-file use wxFile classes"
226 --enable-ffile use wxFFile classes"
228 --enable-textbuf use wxTextBuffer class"
230 --enable-textfile use wxTextFile class"
232 --enable-fontmap use font encodings conversion classes"
234 --enable-unicode compile wxString with Unicode support"
236 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
238 --enable-wxprintfv use wxWindows implementation of vprintf()"
240 --enable-std_iostreams use standard C++ stream classes"
242 --enable-filesystem use virtual file systems classes"
244 --enable-fs_inet use virtual HTTP/FTP filesystems"
246 --enable-fs_zip use virtual ZIP filesystems"
248 --enable-zipstream use wxZipInputStream"
250 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
252 --enable-snglinst use wxSingleInstanceChecker class"
254 --enable-mimetype use wxMimeTypesManager"
256 --enable-sysoptions use wxSystemOptions"
258 --enable-url use wxURL class"
260 --enable-protocol use wxProtocol class"
262 --enable-protocol-http HTTP support in wxProtocol"
264 --enable-protocol-ftp FTP support in wxProtocol"
266 --enable-protocol-file FILE support in wxProtocol"
268 --enable-threads use threads"
270 --enable-docview use document view architecture"
272 --enable-help use help subsystem"
274 --enable-mshtmlhelp use MS HTML Help (win32)"
276 --enable-html use wxHTML sub-library"
278 --enable-htmlhelp use wxHTML-based help"
280 --enable-constraints use layout-constraints system"
282 --enable-printarch use printing architecture"
284 --enable-mdi use multiple document interface architecture"
286 --enable-loggui use standard GUI logger"
288 --enable-logwin use wxLogWindow"
290 --enable-logdialog use wxLogDialog"
292 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
294 --enable-prologio use Prolog IO library"
296 --enable-resources use wxWindows resources"
298 --enable-xresources use X resources for save (default for gtk+)"
300 --enable-clipboard use wxClipboard class"
302 --enable-dnd use Drag'n'Drop classes"
304 --enable-metafile use win32 metafiles"
306 --enable-treelayout use wxTreeLayout class"
308 --enable-controls use all usual controls"
310 --enable-accel use accelerators"
312 --enable-button use wxButton class"
314 --enable-bmpbutton use wxBitmapButton class"
316 --enable-calendar use wxCalendarCtrl class"
318 --enable-caret use wxCaret class"
320 --enable-checkbox use wxCheckBox class"
322 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
324 --enable-choice use wxChoice class"
326 --enable-combobox use wxComboBox class"
328 --enable-display use wxDisplay class"
330 --enable-gauge use wxGauge class"
332 --enable-grid use wxGrid class"
334 --enable-newgrid use new wxGrid class"
336 --enable-imaglist use wxImageList class"
338 --enable-listbox use wxListBox class"
340 --enable-listctrl use wxListCtrl class"
342 --enable-notebook use wxNotebook class"
344 --enable-propsheet use wxPropertySheet class"
346 --enable-radiobox use wxRadioBox class"
348 --enable-radiobtn use wxRadioButton class"
350 --enable-sash use wxSashWindow class"
352 --enable-scrollbar use wxScrollBar class and scrollable windows"
354 --enable-slider use wxSlider class"
356 --enable-spinbtn use wxSpinButton class"
358 --enable-spinctrl use wxSpinCtrl class"
360 --enable-splitter use wxSplitterWindow class"
362 --enable-statbmp use wxStaticBitmap class"
364 --enable-statbox use wxStaticBox class"
366 --enable-statline use wxStaticLine class"
368 --enable-stattext use wxStaticText class"
370 --enable-statusbar use wxStatusBar class"
372 --enable-tabdialog use wxTabControl class"
374 --enable-textctrl use wxTextCtrl class"
376 --enable-togglebtn use wxToggleButton class"
378 --enable-toolbar use wxToolBar class"
380 --enable-tbarnative use native wxToolBar class"
382 --enable-tbarsmpl use wxToolBarSimple class"
384 --enable-treectrl use wxTreeCtrl class"
386 --enable-tipwindow use wxTipWindow class"
388 --enable-popupwin use wxPopUpWindow class"
390 --enable-commondlg use all common dialogs"
392 --enable-choicedlg use wxChoiceDialog"
394 --enable-coldlg use wxColourDialog"
396 --enable-filedlg use wxFileDialog"
398 --enable-finddlg use wxFindReplaceDialog"
400 --enable-fontdlg use wxFontDialog"
402 --enable-dirdlg use wxDirDialog"
404 --enable-msgdlg use wxMessageDialog"
406 --enable-numberdlg use wxNumberEntryDialog"
408 --enable-splash use wxSplashScreen"
410 --enable-textdlg use wxTextDialog"
412 --enable-tipdlg use startup tips"
414 --enable-progressdlg use wxProgressDialog"
416 --enable-wizarddlg use wxWizard"
418 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
420 --enable-miniframe use wxMiniFrame class"
422 --enable-tooltips use wxToolTip class"
424 --enable-splines use spline drawing code"
426 --enable-validators use wxValidator and derived classes"
428 --enable-busyinfo use wxBusyInfo"
430 --enable-joystick use wxJoystick (Linux only)"
432 --enable-metafiles use wxMetaFile (Windows only)"
434 --enable-dragimage use wxDragImage"
436 --enable-palette use wxPalette class"
438 --enable-image use wxImage class"
440 --enable-gif use gif images (GIF file format)"
442 --enable-pcx use pcx images (PCX file format)"
444 --enable-iff use iff images (IFF file format)"
446 --enable-pnm use pnm images (PNM file format)"
448 --enable-xpm use xpm images (XPM file format)"
450 --enable-icocur use Windows ICO and CUR formats"
452 --disable-largefile omit support for large files"
454 --disable-gtktest do not try to compile and run a test GTK+ program"
456 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
458 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
460 --disable-gtktest Do not try to compile and run a test GTK program"
462 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
464 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
466 --disable-gtktest Do not try to compile and run a test GTK program"
468 --with-x use the X Window System"
470 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
472 # Initialize some variables set by options.
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
476 cache_file
=.
/config.cache
485 program_transform_name
=s
,x
,x
,
493 bindir
='${exec_prefix}/bin'
494 sbindir
='${exec_prefix}/sbin'
495 libexecdir
='${exec_prefix}/libexec'
496 datadir
='${prefix}/share'
497 sysconfdir
='${prefix}/etc'
498 sharedstatedir
='${prefix}/com'
499 localstatedir
='${prefix}/var'
500 libdir
='${exec_prefix}/lib'
501 includedir
='${prefix}/include'
502 oldincludedir
='/usr/include'
503 infodir
='${prefix}/info'
504 mandir
='${prefix}/man'
506 # Initialize some other variables.
509 SHELL
=${CONFIG_SHELL-/bin/sh}
510 # Maximum number of lines to put in a shell here document.
517 # If the previous option needs an argument, assign it.
518 if test -n "$ac_prev"; then
519 eval "$ac_prev=\$ac_option"
525 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
529 # Accept the important Cygnus configure options, so we can diagnose typos.
533 -bindir | --bindir | --bindi | --bind | --bin | --bi)
535 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
536 bindir
="$ac_optarg" ;;
538 -build | --build | --buil | --bui | --bu)
540 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
541 build
="$ac_optarg" ;;
543 -cache-file | --cache-file | --cache-fil | --cache-fi \
544 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
545 ac_prev
=cache_file
;;
546 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
547 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
548 cache_file
="$ac_optarg" ;;
550 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
552 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
554 datadir
="$ac_optarg" ;;
556 -disable-* | --disable-*)
557 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
558 # Reject names that are not valid shell variable names.
559 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
560 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
562 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
563 eval "enable_${ac_feature}=no" ;;
565 -enable-* | --enable-*)
566 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
567 # Reject names that are not valid shell variable names.
568 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
569 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
571 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
576 eval "enable_${ac_feature}='$ac_optarg'" ;;
578 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
579 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
580 | --exec | --exe | --ex)
581 ac_prev
=exec_prefix
;;
582 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
583 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
584 | --exec=* | --exe=* | --ex=*)
585 exec_prefix
="$ac_optarg" ;;
587 -gas | --gas | --ga | --g)
588 # Obsolete; use --with-gas.
591 -help | --help | --hel | --he)
592 # Omit some internal or obsolete options to make the list less imposing.
593 # This message is too long to be a string in the A/UX 3.1 sh.
595 Usage: configure [options] [host]
596 Options: [defaults in brackets after descriptions]
598 --cache-file=FILE cache test results in FILE
599 --help print this message
600 --no-create do not create output files
601 --quiet, --silent do not print \`checking...' messages
602 --version print the version of autoconf that created configure
603 Directory and file names:
604 --prefix=PREFIX install architecture-independent files in PREFIX
606 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
608 --bindir=DIR user executables in DIR [EPREFIX/bin]
609 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
610 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
611 --datadir=DIR read-only architecture-independent data in DIR
613 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
614 --sharedstatedir=DIR modifiable architecture-independent data in DIR
616 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
617 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
618 --includedir=DIR C header files in DIR [PREFIX/include]
619 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
620 --infodir=DIR info documentation in DIR [PREFIX/info]
621 --mandir=DIR man documentation in DIR [PREFIX/man]
622 --srcdir=DIR find the sources in DIR [configure dir or ..]
623 --program-prefix=PREFIX prepend PREFIX to installed program names
624 --program-suffix=SUFFIX append SUFFIX to installed program names
625 --program-transform-name=PROGRAM
626 run sed PROGRAM on installed program names
630 --build=BUILD configure for building on BUILD [BUILD=HOST]
631 --host=HOST configure for HOST [guessed]
632 --target=TARGET configure for TARGET [TARGET=HOST]
633 Features and packages:
634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
636 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
637 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
638 --x-includes=DIR X include files are in DIR
639 --x-libraries=DIR X library files are in DIR
641 if test -n "$ac_help"; then
642 echo "--enable and --with options recognized:$ac_help"
646 -host | --host | --hos | --ho)
648 -host=* | --host=* | --hos=* | --ho=*)
651 -includedir | --includedir | --includedi | --included | --include \
652 | --includ | --inclu | --incl | --inc)
653 ac_prev
=includedir
;;
654 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
655 | --includ=* | --inclu=* | --incl=* | --inc=*)
656 includedir
="$ac_optarg" ;;
658 -infodir | --infodir | --infodi | --infod | --info | --inf)
660 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
661 infodir
="$ac_optarg" ;;
663 -libdir | --libdir | --libdi | --libd)
665 -libdir=* | --libdir=* | --libdi=* | --libd=*)
666 libdir
="$ac_optarg" ;;
668 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
669 | --libexe | --libex | --libe)
670 ac_prev
=libexecdir
;;
671 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
672 | --libexe=* | --libex=* | --libe=*)
673 libexecdir
="$ac_optarg" ;;
675 -localstatedir | --localstatedir | --localstatedi | --localstated \
676 | --localstate | --localstat | --localsta | --localst \
677 | --locals | --local | --loca | --loc | --lo)
678 ac_prev
=localstatedir
;;
679 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
680 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
681 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
682 localstatedir
="$ac_optarg" ;;
684 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
686 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
687 mandir
="$ac_optarg" ;;
690 # Obsolete; use --without-fp.
693 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
697 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
698 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
701 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
702 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
703 | --oldin | --oldi | --old | --ol | --o)
704 ac_prev
=oldincludedir
;;
705 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
706 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
707 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
708 oldincludedir
="$ac_optarg" ;;
710 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
712 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
713 prefix
="$ac_optarg" ;;
715 -program-prefix | --program-prefix | --program-prefi | --program-pref \
716 | --program-pre | --program-pr | --program-p)
717 ac_prev
=program_prefix
;;
718 -program-prefix=* | --program-prefix=* | --program-prefi=* \
719 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
720 program_prefix
="$ac_optarg" ;;
722 -program-suffix | --program-suffix | --program-suffi | --program-suff \
723 | --program-suf | --program-su | --program-s)
724 ac_prev
=program_suffix
;;
725 -program-suffix=* | --program-suffix=* | --program-suffi=* \
726 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
727 program_suffix
="$ac_optarg" ;;
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 ac_prev
=program_transform_name
;;
737 -program-transform-name=* | --program-transform-name=* \
738 | --program-transform-nam=* | --program-transform-na=* \
739 | --program-transform-n=* | --program-transform-=* \
740 | --program-transform=* | --program-transfor=* \
741 | --program-transfo=* | --program-transf=* \
742 | --program-trans=* | --program-tran=* \
743 | --progr-tra=* | --program-tr=* | --program-t=*)
744 program_transform_name
="$ac_optarg" ;;
746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
747 | -silent | --silent | --silen | --sile | --sil)
750 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
752 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
754 sbindir
="$ac_optarg" ;;
756 -sharedstatedir | --sharedstatedir | --sharedstatedi \
757 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
758 | --sharedst | --shareds | --shared | --share | --shar \
760 ac_prev
=sharedstatedir
;;
761 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
762 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
763 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
765 sharedstatedir
="$ac_optarg" ;;
767 -site | --site | --sit)
769 -site=* | --site=* | --sit=*)
772 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
774 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
775 srcdir
="$ac_optarg" ;;
777 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
778 | --syscon | --sysco | --sysc | --sys | --sy)
779 ac_prev
=sysconfdir
;;
780 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
781 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
782 sysconfdir
="$ac_optarg" ;;
784 -target | --target | --targe | --targ | --tar | --ta | --t)
786 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
787 target
="$ac_optarg" ;;
789 -v | -verbose | --verbose | --verbos | --verbo | --verb)
792 -version | --version | --versio | --versi | --vers)
793 echo "configure generated by autoconf version 2.13"
797 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
798 # Reject names that are not valid shell variable names.
799 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
800 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
802 ac_package
=`echo $ac_package| sed 's/-/_/g'`
807 eval "with_${ac_package}='$ac_optarg'" ;;
809 -without-* | --without-*)
810 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
811 # Reject names that are not valid shell variable names.
812 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
813 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
815 ac_package
=`echo $ac_package| sed 's/-/_/g'`
816 eval "with_${ac_package}=no" ;;
819 # Obsolete; use --with-x.
822 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
823 | --x-incl | --x-inc | --x-in | --x-i)
824 ac_prev
=x_includes
;;
825 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
826 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
827 x_includes
="$ac_optarg" ;;
829 -x-libraries | --x-libraries | --x-librarie | --x-librari \
830 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
831 ac_prev
=x_libraries
;;
832 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
833 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
834 x_libraries
="$ac_optarg" ;;
836 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
840 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
841 echo "configure: warning: $ac_option: invalid host type" 1>&2
843 if test "x$nonopt" != xNONE
; then
844 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
852 if test -n "$ac_prev"; then
853 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
856 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
858 # File descriptor usage:
861 # 2 errors and warnings
862 # 3 some systems may open it to /dev/tty
863 # 4 used on the Kubota Titan
864 # 6 checking for... messages and results
865 # 5 compiler messages saved in config.log
866 if test "$silent" = yes; then
874 This file contains any messages produced by compilers while
875 running configure, to aid debugging if configure makes a mistake.
878 # Strip out --no-create and --no-recursion so they do not pile up.
879 # Also quote any args containing shell metacharacters.
884 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
885 | --no-cr | --no-c) ;;
886 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
887 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
888 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
889 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
890 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
895 # Only set these to C if already set. These must not be set unconditionally
896 # because not all systems understand e.g. LANG=C (notably SCO).
897 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
898 # Non-C LC_CTYPE values break the ctype check.
899 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
900 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
901 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
902 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
904 # confdefs.h avoids OS command line length limits that DEFS can exceed.
905 rm -rf conftest
* confdefs.h
906 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
909 # A filename unique to this package, relative to the directory that
910 # configure is in, which we can look for to find out if srcdir is correct.
911 ac_unique_file
=wx
-config.
in
913 # Find the source files, if location was not specified.
914 if test -z "$srcdir"; then
915 ac_srcdir_defaulted
=yes
916 # Try the directory containing this script, then its parent.
918 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
919 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
921 if test ! -r $srcdir/$ac_unique_file; then
925 ac_srcdir_defaulted
=no
927 if test ! -r $srcdir/$ac_unique_file; then
928 if test "$ac_srcdir_defaulted" = yes; then
929 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
931 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
934 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
936 # Prefer explicitly selected file to automatically selected ones.
937 if test -z "$CONFIG_SITE"; then
938 if test "x$prefix" != xNONE
; then
939 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
941 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
944 for ac_site_file
in $CONFIG_SITE; do
945 if test -r "$ac_site_file"; then
946 echo "loading site script $ac_site_file"
951 if test -r "$cache_file"; then
952 echo "loading cache $cache_file"
955 echo "creating cache $cache_file"
960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
961 ac_cpp
='$CPP $CPPFLAGS'
962 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
963 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
964 cross_compiling
=$ac_cv_prog_cc_cross
968 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
969 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
970 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
977 ac_n
= ac_c
='\c' ac_t
=
983 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
984 if test -f $ac_dir/install-sh; then
986 ac_install_sh
="$ac_aux_dir/install-sh -c"
988 elif test -f $ac_dir/install.sh
; then
990 ac_install_sh
="$ac_aux_dir/install.sh -c"
994 if test -z "$ac_aux_dir"; then
995 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
997 ac_config_guess
=$ac_aux_dir/config.guess
998 ac_config_sub
=$ac_aux_dir/config.sub
999 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1002 # Do some error checking and defaulting for the host and target type.
1004 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1007 # 1. You are not allowed to specify --host, --target, and nonopt at the
1009 # 2. Host defaults to nonopt.
1010 # 3. If nonopt is not specified, then host defaults to the current host,
1011 # as determined by config.guess.
1012 # 4. Target and build default to nonopt.
1013 # 5. If nonopt is not specified, then target and build default to host.
1015 # The aliases save the names the user supplied, while $host etc.
1016 # will get canonicalized.
1017 case $host---$target---$nonopt in
1018 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1019 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1023 # Make sure we can run config.sub.
1024 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1025 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1028 echo $ac_n "checking host system type""... $ac_c" 1>&6
1029 echo "configure:1030: checking host system type" >&5
1032 case "$host_alias" in
1036 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1037 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1039 *) host_alias
=$nonopt ;;
1043 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1044 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1045 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1046 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1047 echo "$ac_t""$host" 1>&6
1049 echo $ac_n "checking target system type""... $ac_c" 1>&6
1050 echo "configure:1051: checking target system type" >&5
1052 target_alias
=$target
1053 case "$target_alias" in
1056 NONE
) target_alias
=$host_alias ;;
1057 *) target_alias
=$nonopt ;;
1061 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1062 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1063 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1064 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1065 echo "$ac_t""$target" 1>&6
1067 echo $ac_n "checking build system type""... $ac_c" 1>&6
1068 echo "configure:1069: checking build system type" >&5
1071 case "$build_alias" in
1074 NONE
) build_alias
=$host_alias ;;
1075 *) build_alias
=$nonopt ;;
1079 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1080 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1081 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1082 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1083 echo "$ac_t""$build" 1>&6
1085 test "$host_alias" != "$target_alias" &&
1086 test "$program_prefix$program_suffix$program_transform_name" = \
1088 program_prefix
=${target_alias}-
1092 WX_MAJOR_VERSION_NUMBER
=2
1093 WX_MINOR_VERSION_NUMBER
=5
1096 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1097 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1099 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1133 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1135 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1137 DEFAULT_wxUSE_COCOA
=0
1141 DEFAULT_wxUSE_MICROWIN
=0
1142 DEFAULT_wxUSE_MOTIF
=0
1147 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1148 DEFAULT_DEFAULT_wxUSE_GTK
=0
1149 DEFAULT_DEFAULT_wxUSE_MAC
=0
1150 DEFAULT_DEFAULT_wxUSE_MGL
=0
1151 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1152 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1153 DEFAULT_DEFAULT_wxUSE_MSW
=0
1154 DEFAULT_DEFAULT_wxUSE_PM
=0
1155 DEFAULT_DEFAULT_wxUSE_X11
=0
1163 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1164 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1166 cat >> confdefs.h
<<\EOF
1173 cat >> confdefs.h
<<\EOF
1178 if test "x$TMP" = "xalpha"; then
1180 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_GTK
=1
1187 *-*-irix5* | *-*-irix6* )
1190 cat >> confdefs.h
<<\EOF
1194 cat >> confdefs.h
<<\EOF
1198 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1204 cat >> confdefs.h
<<\EOF
1208 cat >> confdefs.h
<<\EOF
1209 #define __SOLARIS__ 1
1212 cat >> confdefs.h
<<\EOF
1216 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1217 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1223 cat >> confdefs.h
<<\EOF
1227 cat >> confdefs.h
<<\EOF
1231 cat >> confdefs.h
<<\EOF
1235 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1240 cat >> confdefs.h
<<\EOF
1241 #define __FREEBSD__ 1
1244 cat >> confdefs.h
<<\EOF
1248 DEFAULT_DEFAULT_wxUSE_GTK
=1
1253 cat >> confdefs.h
<<\EOF
1254 #define __OPENBSD__ 1
1257 cat >> confdefs.h
<<\EOF
1261 DEFAULT_DEFAULT_wxUSE_GTK
=1
1266 cat >> confdefs.h
<<\EOF
1267 #define __NETBSD__ 1
1270 cat >> confdefs.h
<<\EOF
1274 DEFAULT_DEFAULT_wxUSE_GTK
=1
1279 cat >> confdefs.h
<<\EOF
1283 cat >> confdefs.h
<<\EOF
1287 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1288 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1293 cat >> confdefs.h
<<\EOF
1297 cat >> confdefs.h
<<\EOF
1301 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1306 cat >> confdefs.h
<<\EOF
1310 cat >> confdefs.h
<<\EOF
1314 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1321 cat >> confdefs.h
<<\EOF
1325 cat >> confdefs.h
<<\EOF
1329 cat >> confdefs.h
<<\EOF
1333 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1336 *-*-cygwin* | *-*-mingw32* )
1340 DEFAULT_DEFAULT_wxUSE_MSW
=1
1346 cat >> confdefs.h
<<\EOF
1351 DEFAULT_DEFAULT_wxUSE_MGL
=1
1352 LIBS
="$LIBS -lstdc++"
1355 *-pc-os2_emx | *-pc-os2-emx )
1356 cat >> confdefs.h
<<\EOF
1361 DEFAULT_DEFAULT_wxUSE_PM
=1
1368 cat >> confdefs.h
<<\EOF
1372 cat >> confdefs.h
<<\EOF
1373 #define __DARWIN__ 1
1376 cat >> confdefs.h
<<\EOF
1377 #define __POWERPC__ 1
1380 cat >> confdefs.h
<<\EOF
1381 #define TARGET_CARBON 1
1384 DEFAULT_DEFAULT_wxUSE_MAC
=1
1389 cat >> confdefs.h
<<\EOF
1396 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1402 wx_arg_cache_file
="configarg.cache"
1403 echo "loading argument cache $wx_arg_cache_file"
1404 rm -f ${wx_arg_cache_file}.tmp
1405 touch ${wx_arg_cache_file}.tmp
1406 touch ${wx_arg_cache_file}
1410 if test $DEBUG_CONFIGURE = 1; then
1411 DEFAULT_wxUSE_UNIVERSAL
=no
1413 DEFAULT_wxUSE_NANOX
=no
1415 DEFAULT_wxUSE_THREADS
=yes
1417 DEFAULT_wxUSE_SHARED
=yes
1418 DEFAULT_wxUSE_SONAME
=no
1419 DEFAULT_wxUSE_OPTIMISE
=no
1420 DEFAULT_wxUSE_PROFILE
=no
1421 DEFAULT_wxUSE_NO_DEPS
=no
1422 DEFAULT_wxUSE_NO_RTTI
=no
1423 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1424 DEFAULT_wxUSE_PERMISSIVE
=no
1425 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1426 DEFAULT_wxUSE_DEBUG_INFO
=yes
1427 DEFAULT_wxUSE_DEBUG_GDB
=yes
1428 DEFAULT_wxUSE_MEM_TRACING
=no
1429 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1430 DEFAULT_wxUSE_DMALLOC
=no
1431 DEFAULT_wxUSE_PRECOMP
=no
1432 DEFAULT_wxUSE_APPLE_IEEE
=no
1434 DEFAULT_wxUSE_LOG
=yes
1435 DEFAULT_wxUSE_LOGWINDOW
=no
1436 DEFAULT_wxUSE_LOGGUI
=no
1437 DEFAULT_wxUSE_LOGDIALOG
=no
1439 DEFAULT_wxUSE_GUI
=yes
1440 DEFAULT_wxUSE_CONTROLS
=no
1442 DEFAULT_wxUSE_REGEX
=no
1443 DEFAULT_wxUSE_ZLIB
=no
1444 DEFAULT_wxUSE_LIBPNG
=no
1445 DEFAULT_wxUSE_LIBJPEG
=no
1446 DEFAULT_wxUSE_LIBTIFF
=no
1447 DEFAULT_wxUSE_ODBC
=no
1448 DEFAULT_wxUSE_OPENGL
=no
1450 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1451 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1452 DEFAULT_wxUSE_STD_IOSTREAM
=no
1453 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1454 DEFAULT_wxUSE_DATETIME
=no
1455 DEFAULT_wxUSE_TIMEDATE
=no
1456 DEFAULT_wxUSE_TIMER
=no
1457 DEFAULT_wxUSE_STOPWATCH
=no
1458 DEFAULT_wxUSE_FILE
=no
1459 DEFAULT_wxUSE_FFILE
=no
1460 DEFAULT_wxUSE_TEXTBUFFER
=no
1461 DEFAULT_wxUSE_TEXTFILE
=no
1462 DEFAULT_wxUSE_WAVE
=no
1463 DEFAULT_wxUSE_INTL
=no
1464 DEFAULT_wxUSE_CONFIG
=no
1465 DEFAULT_wxUSE_FONTMAP
=no
1466 DEFAULT_wxUSE_STREAMS
=no
1467 DEFAULT_wxUSE_SOCKETS
=no
1468 DEFAULT_wxUSE_OLE
=no
1469 DEFAULT_wxUSE_DATAOBJ
=no
1470 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1471 DEFAULT_wxUSE_JOYSTICK
=no
1472 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1473 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1474 DEFAULT_wxUSE_LONGLONG
=no
1475 DEFAULT_wxUSE_GEOMETRY
=no
1477 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1478 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1479 DEFAULT_wxUSE_POSTSCRIPT
=no
1481 DEFAULT_wxUSE_X_RESOURCES
=no
1482 DEFAULT_wxUSE_CLIPBOARD
=no
1483 DEFAULT_wxUSE_TOOLTIPS
=no
1484 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1485 DEFAULT_wxUSE_DRAGIMAGE
=no
1486 DEFAULT_wxUSE_SPLINES
=no
1488 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1489 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1490 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_PROLOGIO
=no
1493 DEFAULT_wxUSE_RESOURCES
=no
1494 DEFAULT_wxUSE_CONSTRAINTS
=no
1495 DEFAULT_wxUSE_IPC
=no
1496 DEFAULT_wxUSE_HELP
=no
1497 DEFAULT_wxUSE_MS_HTML_HELP
=no
1498 DEFAULT_wxUSE_WXHTML_HELP
=no
1499 DEFAULT_wxUSE_TREELAYOUT
=no
1500 DEFAULT_wxUSE_METAFILE
=no
1501 DEFAULT_wxUSE_MIMETYPE
=no
1502 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1503 DEFAULT_wxUSE_PROTOCOL
=no
1504 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1505 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1506 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1507 DEFAULT_wxUSE_URL
=no
1509 DEFAULT_wxUSE_COMMONDLGS
=no
1510 DEFAULT_wxUSE_CHOICEDLG
=no
1511 DEFAULT_wxUSE_COLOURDLG
=no
1512 DEFAULT_wxUSE_DIRDLG
=no
1513 DEFAULT_wxUSE_FILEDLG
=no
1514 DEFAULT_wxUSE_FINDREPLDLG
=no
1515 DEFAULT_wxUSE_FONTDLG
=no
1516 DEFAULT_wxUSE_MSGDLG
=no
1517 DEFAULT_wxUSE_NUMBERDLG
=no
1518 DEFAULT_wxUSE_TEXTDLG
=no
1519 DEFAULT_wxUSE_SPLASH
=no
1520 DEFAULT_wxUSE_STARTUP_TIPS
=no
1521 DEFAULT_wxUSE_PROGRESSDLG
=no
1522 DEFAULT_wxUSE_WIZARDDLG
=no
1524 DEFAULT_wxUSE_MENUS
=no
1525 DEFAULT_wxUSE_MINIFRAME
=no
1526 DEFAULT_wxUSE_HTML
=no
1527 DEFAULT_wxUSE_FILESYSTEM
=no
1528 DEFAULT_wxUSE_FS_INET
=no
1529 DEFAULT_wxUSE_FS_ZIP
=no
1530 DEFAULT_wxUSE_BUSYINFO
=no
1531 DEFAULT_wxUSE_ZIPSTREAM
=no
1532 DEFAULT_wxUSE_VALIDATORS
=no
1534 DEFAULT_wxUSE_ACCEL
=no
1535 DEFAULT_wxUSE_BUTTON
=no
1536 DEFAULT_wxUSE_BMPBUTTON
=no
1537 DEFAULT_wxUSE_CALCTRL
=no
1538 DEFAULT_wxUSE_CARET
=no
1539 DEFAULT_wxUSE_CHECKBOX
=no
1540 DEFAULT_wxUSE_CHECKLST
=no
1541 DEFAULT_wxUSE_CHOICE
=no
1542 DEFAULT_wxUSE_COMBOBOX
=no
1543 DEFAULT_wxUSE_DISPLAY
=no
1544 DEFAULT_wxUSE_GAUGE
=no
1545 DEFAULT_wxUSE_GRID
=no
1546 DEFAULT_wxUSE_NEW_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_PROPSHEET
=no
1552 DEFAULT_wxUSE_RADIOBOX
=no
1553 DEFAULT_wxUSE_RADIOBTN
=no
1554 DEFAULT_wxUSE_SASH
=no
1555 DEFAULT_wxUSE_SCROLLBAR
=no
1556 DEFAULT_wxUSE_SLIDER
=no
1557 DEFAULT_wxUSE_SPINBTN
=no
1558 DEFAULT_wxUSE_SPINCTRL
=no
1559 DEFAULT_wxUSE_SPLITTER
=no
1560 DEFAULT_wxUSE_STATBMP
=no
1561 DEFAULT_wxUSE_STATBOX
=no
1562 DEFAULT_wxUSE_STATLINE
=no
1563 DEFAULT_wxUSE_STATTEXT
=no
1564 DEFAULT_wxUSE_STATUSBAR
=yes
1565 DEFAULT_wxUSE_TABDIALOG
=no
1566 DEFAULT_wxUSE_TEXTCTRL
=no
1567 DEFAULT_wxUSE_TOGGLEBTN
=no
1568 DEFAULT_wxUSE_TOOLBAR
=no
1569 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1570 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1571 DEFAULT_wxUSE_TREECTRL
=no
1572 DEFAULT_wxUSE_POPUPWIN
=no
1573 DEFAULT_wxUSE_TIPWINDOW
=no
1575 DEFAULT_wxUSE_UNICODE
=no
1576 DEFAULT_wxUSE_UNICODE_MSLU
=no
1577 DEFAULT_wxUSE_WCSRTOMBS
=no
1579 DEFAULT_wxUSE_PALETTE
=no
1580 DEFAULT_wxUSE_IMAGE
=no
1581 DEFAULT_wxUSE_GIF
=no
1582 DEFAULT_wxUSE_PCX
=no
1583 DEFAULT_wxUSE_PNM
=no
1584 DEFAULT_wxUSE_IFF
=no
1585 DEFAULT_wxUSE_XPM
=no
1586 DEFAULT_wxUSE_ICO_CUR
=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_TIMEDATE
=no
1632 DEFAULT_wxUSE_TIMER
=yes
1633 DEFAULT_wxUSE_STOPWATCH
=yes
1634 DEFAULT_wxUSE_FILE
=yes
1635 DEFAULT_wxUSE_FFILE
=yes
1636 DEFAULT_wxUSE_TEXTBUFFER
=yes
1637 DEFAULT_wxUSE_TEXTFILE
=yes
1638 DEFAULT_wxUSE_WAVE
=no
1639 DEFAULT_wxUSE_INTL
=yes
1640 DEFAULT_wxUSE_CONFIG
=yes
1641 DEFAULT_wxUSE_FONTMAP
=yes
1642 DEFAULT_wxUSE_STREAMS
=yes
1643 DEFAULT_wxUSE_SOCKETS
=yes
1644 DEFAULT_wxUSE_OLE
=yes
1645 DEFAULT_wxUSE_DATAOBJ
=yes
1646 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1647 DEFAULT_wxUSE_JOYSTICK
=yes
1648 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1649 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1650 DEFAULT_wxUSE_LONGLONG
=yes
1651 DEFAULT_wxUSE_GEOMETRY
=yes
1653 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1654 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1655 DEFAULT_wxUSE_POSTSCRIPT
=yes
1657 DEFAULT_wxUSE_X_RESOURCES
=no
1658 DEFAULT_wxUSE_CLIPBOARD
=yes
1659 DEFAULT_wxUSE_TOOLTIPS
=yes
1660 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1661 DEFAULT_wxUSE_DRAGIMAGE
=yes
1662 DEFAULT_wxUSE_SPLINES
=yes
1664 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1665 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1666 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1668 DEFAULT_wxUSE_PROLOGIO
=no
1669 DEFAULT_wxUSE_RESOURCES
=no
1670 DEFAULT_wxUSE_CONSTRAINTS
=yes
1671 DEFAULT_wxUSE_IPC
=yes
1672 DEFAULT_wxUSE_HELP
=yes
1673 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1674 DEFAULT_wxUSE_WXHTML_HELP
=yes
1675 DEFAULT_wxUSE_TREELAYOUT
=yes
1676 DEFAULT_wxUSE_METAFILE
=yes
1677 DEFAULT_wxUSE_MIMETYPE
=yes
1678 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1679 DEFAULT_wxUSE_PROTOCOL
=yes
1680 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1681 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1682 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1683 DEFAULT_wxUSE_URL
=yes
1685 DEFAULT_wxUSE_COMMONDLGS
=yes
1686 DEFAULT_wxUSE_CHOICEDLG
=yes
1687 DEFAULT_wxUSE_COLOURDLG
=yes
1688 DEFAULT_wxUSE_DIRDLG
=yes
1689 DEFAULT_wxUSE_FILEDLG
=yes
1690 DEFAULT_wxUSE_FINDREPLDLG
=yes
1691 DEFAULT_wxUSE_FONTDLG
=yes
1692 DEFAULT_wxUSE_MSGDLG
=yes
1693 DEFAULT_wxUSE_NUMBERDLG
=yes
1694 DEFAULT_wxUSE_TEXTDLG
=yes
1695 DEFAULT_wxUSE_SPLASH
=yes
1696 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1697 DEFAULT_wxUSE_PROGRESSDLG
=yes
1698 DEFAULT_wxUSE_WIZARDDLG
=yes
1700 DEFAULT_wxUSE_MENUS
=yes
1701 DEFAULT_wxUSE_MINIFRAME
=yes
1702 DEFAULT_wxUSE_HTML
=yes
1703 DEFAULT_wxUSE_FILESYSTEM
=yes
1704 DEFAULT_wxUSE_FS_INET
=yes
1705 DEFAULT_wxUSE_FS_ZIP
=yes
1706 DEFAULT_wxUSE_BUSYINFO
=yes
1707 DEFAULT_wxUSE_ZIPSTREAM
=yes
1708 DEFAULT_wxUSE_VALIDATORS
=yes
1710 DEFAULT_wxUSE_ACCEL
=yes
1711 DEFAULT_wxUSE_BUTTON
=yes
1712 DEFAULT_wxUSE_BMPBUTTON
=yes
1713 DEFAULT_wxUSE_CALCTRL
=yes
1714 DEFAULT_wxUSE_CARET
=yes
1715 DEFAULT_wxUSE_CHECKBOX
=yes
1716 DEFAULT_wxUSE_CHECKLST
=yes
1717 DEFAULT_wxUSE_CHOICE
=yes
1718 DEFAULT_wxUSE_COMBOBOX
=yes
1719 DEFAULT_wxUSE_DISPLAY
=no
1720 DEFAULT_wxUSE_GAUGE
=yes
1721 DEFAULT_wxUSE_GRID
=yes
1722 DEFAULT_wxUSE_NEW_GRID
=yes
1723 DEFAULT_wxUSE_IMAGLIST
=yes
1724 DEFAULT_wxUSE_LISTBOX
=yes
1725 DEFAULT_wxUSE_LISTCTRL
=yes
1726 DEFAULT_wxUSE_NOTEBOOK
=yes
1727 DEFAULT_wxUSE_PROPSHEET
=yes
1728 DEFAULT_wxUSE_RADIOBOX
=yes
1729 DEFAULT_wxUSE_RADIOBTN
=yes
1730 DEFAULT_wxUSE_SASH
=yes
1731 DEFAULT_wxUSE_SCROLLBAR
=yes
1732 DEFAULT_wxUSE_SLIDER
=yes
1733 DEFAULT_wxUSE_SPINBTN
=yes
1734 DEFAULT_wxUSE_SPINCTRL
=yes
1735 DEFAULT_wxUSE_SPLITTER
=yes
1736 DEFAULT_wxUSE_STATBMP
=yes
1737 DEFAULT_wxUSE_STATBOX
=yes
1738 DEFAULT_wxUSE_STATLINE
=yes
1739 DEFAULT_wxUSE_STATTEXT
=yes
1740 DEFAULT_wxUSE_STATUSBAR
=yes
1741 DEFAULT_wxUSE_TABDIALOG
=no
1742 DEFAULT_wxUSE_TEXTCTRL
=yes
1743 DEFAULT_wxUSE_TOGGLEBTN
=yes
1744 DEFAULT_wxUSE_TOOLBAR
=yes
1745 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1746 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1747 DEFAULT_wxUSE_TREECTRL
=yes
1748 DEFAULT_wxUSE_POPUPWIN
=yes
1749 DEFAULT_wxUSE_TIPWINDOW
=yes
1751 DEFAULT_wxUSE_UNICODE
=no
1752 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1753 DEFAULT_wxUSE_WCSRTOMBS
=no
1755 DEFAULT_wxUSE_PALETTE
=yes
1756 DEFAULT_wxUSE_IMAGE
=yes
1757 DEFAULT_wxUSE_GIF
=yes
1758 DEFAULT_wxUSE_PCX
=yes
1759 DEFAULT_wxUSE_IFF
=no
1760 DEFAULT_wxUSE_PNM
=yes
1761 DEFAULT_wxUSE_XPM
=yes
1762 DEFAULT_wxUSE_ICO_CUR
=yes
1767 for toolkit
in `echo $ALL_TOOLKITS`; do
1768 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1769 if test "x$LINE" != "x" ; then
1770 has_toolkit_in_cache
=1
1771 eval "DEFAULT_$LINE"
1772 eval "CACHE_$toolkit=1"
1779 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1780 echo "configure:1781: checking for --${enablestring:-enable}-gui" >&5
1782 # Check whether --enable-gui or --disable-gui was given.
1783 if test "${enable_gui+set}" = set; then
1784 enableval
="$enable_gui"
1786 if test "$enableval" = yes; then
1787 ac_cv_use_gui
='wxUSE_GUI=yes'
1789 ac_cv_use_gui
='wxUSE_GUI=no'
1794 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1795 if test "x$LINE" != x
; then
1796 eval "DEFAULT_$LINE"
1801 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1806 eval "$ac_cv_use_gui"
1807 if test "$no_cache" != 1; then
1808 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1811 if test "$wxUSE_GUI" = yes; then
1812 echo "$ac_t""yes" 1>&6
1814 echo "$ac_t""no" 1>&6
1818 if test "$wxUSE_GUI" = "yes"; then
1822 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1823 echo "configure:1824: checking for --${enablestring:-enable}-universal" >&5
1825 # Check whether --enable-universal or --disable-universal was given.
1826 if test "${enable_universal+set}" = set; then
1827 enableval
="$enable_universal"
1829 if test "$enableval" = yes; then
1830 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1832 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1837 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1838 if test "x$LINE" != x
; then
1839 eval "DEFAULT_$LINE"
1844 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1849 eval "$ac_cv_use_universal"
1850 if test "$no_cache" != 1; then
1851 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1854 if test "$wxUSE_UNIVERSAL" = yes; then
1855 echo "$ac_t""yes" 1>&6
1857 echo "$ac_t""no" 1>&6
1860 # Check whether --with-gtk or --without-gtk was given.
1861 if test "${with_gtk+set}" = set; then
1863 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1866 # Check whether --with-motif or --without-motif was given.
1867 if test "${with_motif+set}" = set; then
1868 withval
="$with_motif"
1869 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1872 # Check whether --with-mac or --without-mac was given.
1873 if test "${with_mac+set}" = set; then
1875 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1878 # Check whether --with-cocoa or --without-cocoa was given.
1879 if test "${with_cocoa+set}" = set; then
1880 withval
="$with_cocoa"
1881 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1884 # Check whether --with-wine or --without-wine was given.
1885 if test "${with_wine+set}" = set; then
1886 withval
="$with_wine"
1887 wxUSE_WINE
="$withval" CACHE_WINE
=1
1890 # Check whether --with-msw or --without-msw was given.
1891 if test "${with_msw+set}" = set; then
1893 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1896 # Check whether --with-pm or --without-pm was given.
1897 if test "${with_pm+set}" = set; then
1899 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1902 # Check whether --with-mgl or --without-mgl was given.
1903 if test "${with_mgl+set}" = set; then
1905 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1908 # Check whether --with-microwin or --without-microwin was given.
1909 if test "${with_microwin+set}" = set; then
1910 withval
="$with_microwin"
1911 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1914 # Check whether --with-x11 or --without-x11 was given.
1915 if test "${with_x11+set}" = set; then
1917 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1922 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1923 echo "configure:1924: checking for --${enablestring:-enable}-nanox" >&5
1925 # Check whether --enable-nanox or --disable-nanox was given.
1926 if test "${enable_nanox+set}" = set; then
1927 enableval
="$enable_nanox"
1929 if test "$enableval" = yes; then
1930 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1932 ac_cv_use_nanox
='wxUSE_NANOX=no'
1937 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1938 if test "x$LINE" != x
; then
1939 eval "DEFAULT_$LINE"
1944 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1949 eval "$ac_cv_use_nanox"
1950 if test "$no_cache" != 1; then
1951 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1954 if test "$wxUSE_NANOX" = yes; then
1955 echo "$ac_t""yes" 1>&6
1957 echo "$ac_t""no" 1>&6
1963 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1964 echo "configure:1965: checking for --${enablestring:-enable}-gtk2" >&5
1966 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1967 if test "${enable_gtk2+set}" = set; then
1968 enableval
="$enable_gtk2"
1970 if test "$enableval" = yes; then
1971 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1973 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1978 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1979 if test "x$LINE" != x
; then
1980 eval "DEFAULT_$LINE"
1985 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1990 eval "$ac_cv_use_gtk2"
1991 if test "$no_cache" != 1; then
1992 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1995 if test "$wxUSE_GTK2" = yes; then
1996 echo "$ac_t""yes" 1>&6
1998 echo "$ac_t""no" 1>&6
2003 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2004 echo "configure:2005: checking for --with-libpng" >&5
2006 # Check whether --with-libpng or --without-libpng was given.
2007 if test "${with_libpng+set}" = set; then
2008 withval
="$with_libpng"
2010 if test "$withval" = yes; then
2011 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2012 elif test "$withval" = no
; then
2013 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2014 elif test "$withval" = sys
; then
2015 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2016 elif test "$withval" = builtin; then
2017 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2019 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2024 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2025 if test "x$LINE" != x
; then
2026 eval "DEFAULT_$LINE"
2031 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2036 eval "$ac_cv_use_libpng"
2037 if test "$no_cache" != 1; then
2038 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2041 if test "$wxUSE_LIBPNG" = yes; then
2042 echo "$ac_t""yes" 1>&6
2043 elif test "$wxUSE_LIBPNG" = no
; then
2044 echo "$ac_t""no" 1>&6
2045 elif test "$wxUSE_LIBPNG" = sys
; then
2046 echo "$ac_t""system version" 1>&6
2047 elif test "$wxUSE_LIBPNG" = builtin; then
2048 echo "$ac_t""builtin version" 1>&6
2050 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2054 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2055 echo "configure:2056: checking for --with-libjpeg" >&5
2057 # Check whether --with-libjpeg or --without-libjpeg was given.
2058 if test "${with_libjpeg+set}" = set; then
2059 withval
="$with_libjpeg"
2061 if test "$withval" = yes; then
2062 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2063 elif test "$withval" = no
; then
2064 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2065 elif test "$withval" = sys
; then
2066 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2067 elif test "$withval" = builtin; then
2068 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2070 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2075 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2076 if test "x$LINE" != x
; then
2077 eval "DEFAULT_$LINE"
2082 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2087 eval "$ac_cv_use_libjpeg"
2088 if test "$no_cache" != 1; then
2089 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2092 if test "$wxUSE_LIBJPEG" = yes; then
2093 echo "$ac_t""yes" 1>&6
2094 elif test "$wxUSE_LIBJPEG" = no
; then
2095 echo "$ac_t""no" 1>&6
2096 elif test "$wxUSE_LIBJPEG" = sys
; then
2097 echo "$ac_t""system version" 1>&6
2098 elif test "$wxUSE_LIBJPEG" = builtin; then
2099 echo "$ac_t""builtin version" 1>&6
2101 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2105 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2106 echo "configure:2107: checking for --with-libtiff" >&5
2108 # Check whether --with-libtiff or --without-libtiff was given.
2109 if test "${with_libtiff+set}" = set; then
2110 withval
="$with_libtiff"
2112 if test "$withval" = yes; then
2113 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2114 elif test "$withval" = no
; then
2115 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2116 elif test "$withval" = sys
; then
2117 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2118 elif test "$withval" = builtin; then
2119 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2121 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2126 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2127 if test "x$LINE" != x
; then
2128 eval "DEFAULT_$LINE"
2133 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2138 eval "$ac_cv_use_libtiff"
2139 if test "$no_cache" != 1; then
2140 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2143 if test "$wxUSE_LIBTIFF" = yes; then
2144 echo "$ac_t""yes" 1>&6
2145 elif test "$wxUSE_LIBTIFF" = no
; then
2146 echo "$ac_t""no" 1>&6
2147 elif test "$wxUSE_LIBTIFF" = sys
; then
2148 echo "$ac_t""system version" 1>&6
2149 elif test "$wxUSE_LIBTIFF" = builtin; then
2150 echo "$ac_t""builtin version" 1>&6
2152 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2156 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2157 echo "configure:2158: checking for --with-opengl" >&5
2159 # Check whether --with-opengl or --without-opengl was given.
2160 if test "${with_opengl+set}" = set; then
2161 withval
="$with_opengl"
2163 if test "$withval" = yes; then
2164 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2166 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2171 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2172 if test "x$LINE" != x
; then
2173 eval "DEFAULT_$LINE"
2178 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2183 eval "$ac_cv_use_opengl"
2184 if test "$no_cache" != 1; then
2185 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2188 if test "$wxUSE_OPENGL" = yes; then
2189 echo "$ac_t""yes" 1>&6
2191 echo "$ac_t""no" 1>&6
2198 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2199 echo "configure:2200: checking for --with-dmalloc" >&5
2201 # Check whether --with-dmalloc or --without-dmalloc was given.
2202 if test "${with_dmalloc+set}" = set; then
2203 withval
="$with_dmalloc"
2205 if test "$withval" = yes; then
2206 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2208 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2213 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2214 if test "x$LINE" != x
; then
2215 eval "DEFAULT_$LINE"
2220 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2225 eval "$ac_cv_use_dmalloc"
2226 if test "$no_cache" != 1; then
2227 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2230 if test "$wxUSE_DMALLOC" = yes; then
2231 echo "$ac_t""yes" 1>&6
2233 echo "$ac_t""no" 1>&6
2237 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2238 echo "configure:2239: checking for --with-regex" >&5
2240 # Check whether --with-regex or --without-regex was given.
2241 if test "${with_regex+set}" = set; then
2242 withval
="$with_regex"
2244 if test "$withval" = yes; then
2245 ac_cv_use_regex
='wxUSE_REGEX=yes'
2246 elif test "$withval" = no
; then
2247 ac_cv_use_regex
='wxUSE_REGEX=no'
2248 elif test "$withval" = sys
; then
2249 ac_cv_use_regex
='wxUSE_REGEX=sys'
2250 elif test "$withval" = builtin; then
2251 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2253 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2258 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2259 if test "x$LINE" != x
; then
2260 eval "DEFAULT_$LINE"
2265 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2270 eval "$ac_cv_use_regex"
2271 if test "$no_cache" != 1; then
2272 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2275 if test "$wxUSE_REGEX" = yes; then
2276 echo "$ac_t""yes" 1>&6
2277 elif test "$wxUSE_REGEX" = no
; then
2278 echo "$ac_t""no" 1>&6
2279 elif test "$wxUSE_REGEX" = sys
; then
2280 echo "$ac_t""system version" 1>&6
2281 elif test "$wxUSE_REGEX" = builtin; then
2282 echo "$ac_t""builtin version" 1>&6
2284 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2288 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2289 echo "configure:2290: checking for --with-zlib" >&5
2291 # Check whether --with-zlib or --without-zlib was given.
2292 if test "${with_zlib+set}" = set; then
2293 withval
="$with_zlib"
2295 if test "$withval" = yes; then
2296 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2297 elif test "$withval" = no
; then
2298 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2299 elif test "$withval" = sys
; then
2300 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2301 elif test "$withval" = builtin; then
2302 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2304 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2309 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2310 if test "x$LINE" != x
; then
2311 eval "DEFAULT_$LINE"
2316 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2321 eval "$ac_cv_use_zlib"
2322 if test "$no_cache" != 1; then
2323 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2326 if test "$wxUSE_ZLIB" = yes; then
2327 echo "$ac_t""yes" 1>&6
2328 elif test "$wxUSE_ZLIB" = no
; then
2329 echo "$ac_t""no" 1>&6
2330 elif test "$wxUSE_ZLIB" = sys
; then
2331 echo "$ac_t""system version" 1>&6
2332 elif test "$wxUSE_ZLIB" = builtin; then
2333 echo "$ac_t""builtin version" 1>&6
2335 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2339 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2340 echo "configure:2341: checking for --with-odbc" >&5
2342 # Check whether --with-odbc or --without-odbc was given.
2343 if test "${with_odbc+set}" = set; then
2344 withval
="$with_odbc"
2346 if test "$withval" = yes; then
2347 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2349 ac_cv_use_odbc
='wxUSE_ODBC=no'
2354 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2355 if test "x$LINE" != x
; then
2356 eval "DEFAULT_$LINE"
2361 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2366 eval "$ac_cv_use_odbc"
2367 if test "$no_cache" != 1; then
2368 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2371 if test "$wxUSE_ODBC" = yes; then
2372 echo "$ac_t""yes" 1>&6
2374 echo "$ac_t""no" 1>&6
2381 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2382 echo "configure:2383: checking for --${enablestring:-enable}-shared" >&5
2384 # Check whether --enable-shared or --disable-shared was given.
2385 if test "${enable_shared+set}" = set; then
2386 enableval
="$enable_shared"
2388 if test "$enableval" = yes; then
2389 ac_cv_use_shared
='wxUSE_SHARED=yes'
2391 ac_cv_use_shared
='wxUSE_SHARED=no'
2396 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2397 if test "x$LINE" != x
; then
2398 eval "DEFAULT_$LINE"
2403 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2408 eval "$ac_cv_use_shared"
2409 if test "$no_cache" != 1; then
2410 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2413 if test "$wxUSE_SHARED" = yes; then
2414 echo "$ac_t""yes" 1>&6
2416 echo "$ac_t""no" 1>&6
2421 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2422 echo "configure:2423: checking for --${enablestring:-enable}-soname" >&5
2424 # Check whether --enable-soname or --disable-soname was given.
2425 if test "${enable_soname+set}" = set; then
2426 enableval
="$enable_soname"
2428 if test "$enableval" = yes; then
2429 ac_cv_use_soname
='wxUSE_SONAME=yes'
2431 ac_cv_use_soname
='wxUSE_SONAME=no'
2436 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2437 if test "x$LINE" != x
; then
2438 eval "DEFAULT_$LINE"
2443 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2448 eval "$ac_cv_use_soname"
2449 if test "$no_cache" != 1; then
2450 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2453 if test "$wxUSE_SONAME" = yes; then
2454 echo "$ac_t""yes" 1>&6
2456 echo "$ac_t""no" 1>&6
2461 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2462 echo "configure:2463: checking for --${enablestring:-enable}-optimise" >&5
2464 # Check whether --enable-optimise or --disable-optimise was given.
2465 if test "${enable_optimise+set}" = set; then
2466 enableval
="$enable_optimise"
2468 if test "$enableval" = yes; then
2469 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2471 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2476 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2477 if test "x$LINE" != x
; then
2478 eval "DEFAULT_$LINE"
2483 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2488 eval "$ac_cv_use_optimise"
2489 if test "$no_cache" != 1; then
2490 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2493 if test "$wxUSE_OPTIMISE" = yes; then
2494 echo "$ac_t""yes" 1>&6
2496 echo "$ac_t""no" 1>&6
2501 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2502 echo "configure:2503: checking for --${enablestring:-enable}-debug" >&5
2504 # Check whether --enable-debug or --disable-debug was given.
2505 if test "${enable_debug+set}" = set; then
2506 enableval
="$enable_debug"
2508 if test "$enableval" = yes; then
2509 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2511 ac_cv_use_debug
='wxUSE_DEBUG=no'
2516 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2517 if test "x$LINE" != x
; then
2518 eval "DEFAULT_$LINE"
2523 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2528 eval "$ac_cv_use_debug"
2529 if test "$no_cache" != 1; then
2530 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2533 if test "$wxUSE_DEBUG" = yes; then
2534 echo "$ac_t""yes" 1>&6
2536 echo "$ac_t""no" 1>&6
2542 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2543 echo "configure:2544: checking for --${enablestring:-enable}-precomp" >&5
2545 # Check whether --enable-precomp or --disable-precomp was given.
2546 if test "${enable_precomp+set}" = set; then
2547 enableval
="$enable_precomp"
2549 if test "$enableval" = yes; then
2550 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2552 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2557 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2558 if test "x$LINE" != x
; then
2559 eval "DEFAULT_$LINE"
2564 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2569 eval "$ac_cv_use_precomp"
2570 if test "$no_cache" != 1; then
2571 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2574 if test "$wxUSE_PRECOMP" = yes; then
2575 echo "$ac_t""yes" 1>&6
2577 echo "$ac_t""no" 1>&6
2581 if test "$wxUSE_DEBUG" = "yes"; then
2582 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2583 DEFAULT_wxUSE_DEBUG_INFO
=yes
2584 elif test "$wxUSE_DEBUG" = "no"; then
2585 DEFAULT_wxUSE_DEBUG_FLAG
=no
2586 DEFAULT_wxUSE_DEBUG_INFO
=no
2591 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2592 echo "configure:2593: checking for --${enablestring:-enable}-debug_flag" >&5
2594 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2595 if test "${enable_debug_flag+set}" = set; then
2596 enableval
="$enable_debug_flag"
2598 if test "$enableval" = yes; then
2599 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2601 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2606 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x
; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2618 eval "$ac_cv_use_debug_flag"
2619 if test "$no_cache" != 1; then
2620 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2623 if test "$wxUSE_DEBUG_FLAG" = yes; then
2624 echo "$ac_t""yes" 1>&6
2626 echo "$ac_t""no" 1>&6
2631 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2632 echo "configure:2633: checking for --${enablestring:-enable}-debug_info" >&5
2634 # Check whether --enable-debug_info or --disable-debug_info was given.
2635 if test "${enable_debug_info+set}" = set; then
2636 enableval
="$enable_debug_info"
2638 if test "$enableval" = yes; then
2639 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2641 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2646 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2647 if test "x$LINE" != x
; then
2648 eval "DEFAULT_$LINE"
2653 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2658 eval "$ac_cv_use_debug_info"
2659 if test "$no_cache" != 1; then
2660 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2663 if test "$wxUSE_DEBUG_INFO" = yes; then
2664 echo "$ac_t""yes" 1>&6
2666 echo "$ac_t""no" 1>&6
2671 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2672 echo "configure:2673: checking for --${enablestring:-enable}-debug_gdb" >&5
2674 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2675 if test "${enable_debug_gdb+set}" = set; then
2676 enableval
="$enable_debug_gdb"
2678 if test "$enableval" = yes; then
2679 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2681 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2686 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2687 if test "x$LINE" != x
; then
2688 eval "DEFAULT_$LINE"
2693 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2698 eval "$ac_cv_use_debug_gdb"
2699 if test "$no_cache" != 1; then
2700 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2703 if test "$wxUSE_DEBUG_GDB" = yes; then
2704 echo "$ac_t""yes" 1>&6
2706 echo "$ac_t""no" 1>&6
2711 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2712 echo "configure:2713: checking for --${enablestring:-enable}-debug_cntxt" >&5
2714 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2715 if test "${enable_debug_cntxt+set}" = set; then
2716 enableval
="$enable_debug_cntxt"
2718 if test "$enableval" = yes; then
2719 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2721 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2726 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x
; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2738 eval "$ac_cv_use_debug_cntxt"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2743 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2744 echo "$ac_t""yes" 1>&6
2746 echo "$ac_t""no" 1>&6
2751 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2752 echo "configure:2753: checking for --${enablestring:-enable}-mem_tracing" >&5
2754 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2755 if test "${enable_mem_tracing+set}" = set; then
2756 enableval
="$enable_mem_tracing"
2758 if test "$enableval" = yes; then
2759 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2761 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2766 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2767 if test "x$LINE" != x
; then
2768 eval "DEFAULT_$LINE"
2773 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2778 eval "$ac_cv_use_mem_tracing"
2779 if test "$no_cache" != 1; then
2780 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2783 if test "$wxUSE_MEM_TRACING" = yes; then
2784 echo "$ac_t""yes" 1>&6
2786 echo "$ac_t""no" 1>&6
2791 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2792 echo "configure:2793: checking for --${enablestring:-enable}-profile" >&5
2794 # Check whether --enable-profile or --disable-profile was given.
2795 if test "${enable_profile+set}" = set; then
2796 enableval
="$enable_profile"
2798 if test "$enableval" = yes; then
2799 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2801 ac_cv_use_profile
='wxUSE_PROFILE=no'
2806 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2807 if test "x$LINE" != x
; then
2808 eval "DEFAULT_$LINE"
2813 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2818 eval "$ac_cv_use_profile"
2819 if test "$no_cache" != 1; then
2820 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2823 if test "$wxUSE_PROFILE" = yes; then
2824 echo "$ac_t""yes" 1>&6
2826 echo "$ac_t""no" 1>&6
2831 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2832 echo "configure:2833: checking for --${enablestring:-enable}-no_rtti" >&5
2834 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2835 if test "${enable_no_rtti+set}" = set; then
2836 enableval
="$enable_no_rtti"
2838 if test "$enableval" = yes; then
2839 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2841 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2846 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2847 if test "x$LINE" != x
; then
2848 eval "DEFAULT_$LINE"
2853 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2858 eval "$ac_cv_use_no_rtti"
2859 if test "$no_cache" != 1; then
2860 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2863 if test "$wxUSE_NO_RTTI" = yes; then
2864 echo "$ac_t""yes" 1>&6
2866 echo "$ac_t""no" 1>&6
2871 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2872 echo "configure:2873: checking for --${enablestring:-enable}-no_exceptions" >&5
2874 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2875 if test "${enable_no_exceptions+set}" = set; then
2876 enableval
="$enable_no_exceptions"
2878 if test "$enableval" = yes; then
2879 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2881 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2886 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2887 if test "x$LINE" != x
; then
2888 eval "DEFAULT_$LINE"
2893 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2898 eval "$ac_cv_use_no_exceptions"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2904 echo "$ac_t""yes" 1>&6
2906 echo "$ac_t""no" 1>&6
2911 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2912 echo "configure:2913: checking for --${enablestring:-enable}-permissive" >&5
2914 # Check whether --enable-permissive or --disable-permissive was given.
2915 if test "${enable_permissive+set}" = set; then
2916 enableval
="$enable_permissive"
2918 if test "$enableval" = yes; then
2919 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2921 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2926 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2927 if test "x$LINE" != x
; then
2928 eval "DEFAULT_$LINE"
2933 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2938 eval "$ac_cv_use_permissive"
2939 if test "$no_cache" != 1; then
2940 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2943 if test "$wxUSE_PERMISSIVE" = yes; then
2944 echo "$ac_t""yes" 1>&6
2946 echo "$ac_t""no" 1>&6
2951 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2952 echo "configure:2953: checking for --${enablestring:-enable}-no_deps" >&5
2954 # Check whether --enable-no_deps or --disable-no_deps was given.
2955 if test "${enable_no_deps+set}" = set; then
2956 enableval
="$enable_no_deps"
2958 if test "$enableval" = yes; then
2959 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2961 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2966 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2967 if test "x$LINE" != x
; then
2968 eval "DEFAULT_$LINE"
2973 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2978 eval "$ac_cv_use_no_deps"
2979 if test "$no_cache" != 1; then
2980 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2983 if test "$wxUSE_NO_DEPS" = yes; then
2984 echo "$ac_t""yes" 1>&6
2986 echo "$ac_t""no" 1>&6
2992 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2993 echo "configure:2994: checking for --${enablestring:-enable}-compat20" >&5
2995 # Check whether --enable-compat20 or --disable-compat20 was given.
2996 if test "${enable_compat20+set}" = set; then
2997 enableval
="$enable_compat20"
2999 if test "$enableval" = yes; then
3000 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3002 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3007 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3008 if test "x$LINE" != x
; then
3009 eval "DEFAULT_$LINE"
3014 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3019 eval "$ac_cv_use_compat20"
3020 if test "$no_cache" != 1; then
3021 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3024 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3025 echo "$ac_t""yes" 1>&6
3027 echo "$ac_t""no" 1>&6
3032 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3033 echo "configure:3034: checking for --${enablestring:-enable}-compat22" >&5
3035 # Check whether --enable-compat22 or --disable-compat22 was given.
3036 if test "${enable_compat22+set}" = set; then
3037 enableval
="$enable_compat22"
3039 if test "$enableval" = yes; then
3040 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3042 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3047 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x
; then
3049 eval "DEFAULT_$LINE"
3054 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3059 eval "$ac_cv_use_compat22"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3064 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3065 echo "$ac_t""yes" 1>&6
3067 echo "$ac_t""no" 1>&6
3071 enablestring
=disable
3072 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3073 echo "configure:3074: checking for --${enablestring:-enable}-compat24" >&5
3075 # Check whether --enable-compat24 or --disable-compat24 was given.
3076 if test "${enable_compat24+set}" = set; then
3077 enableval
="$enable_compat24"
3079 if test "$enableval" = yes; then
3080 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3082 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3087 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x
; then
3089 eval "DEFAULT_$LINE"
3094 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3099 eval "$ac_cv_use_compat24"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3104 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3105 echo "$ac_t""yes" 1>&6
3107 echo "$ac_t""no" 1>&6
3111 # Check whether --enable-rpath or --disable-rpath was given.
3112 if test "${enable_rpath+set}" = set; then
3113 enableval
="$enable_rpath"
3114 wxRPATH_DIR
="$enableval"
3118 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3119 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3126 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3127 echo "configure:3128: checking for --${enablestring:-enable}-intl" >&5
3129 # Check whether --enable-intl or --disable-intl was given.
3130 if test "${enable_intl+set}" = set; then
3131 enableval
="$enable_intl"
3133 if test "$enableval" = yes; then
3134 ac_cv_use_intl
='wxUSE_INTL=yes'
3136 ac_cv_use_intl
='wxUSE_INTL=no'
3141 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3142 if test "x$LINE" != x
; then
3143 eval "DEFAULT_$LINE"
3148 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3153 eval "$ac_cv_use_intl"
3154 if test "$no_cache" != 1; then
3155 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3158 if test "$wxUSE_INTL" = yes; then
3159 echo "$ac_t""yes" 1>&6
3161 echo "$ac_t""no" 1>&6
3166 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3167 echo "configure:3168: checking for --${enablestring:-enable}-config" >&5
3169 # Check whether --enable-config or --disable-config was given.
3170 if test "${enable_config+set}" = set; then
3171 enableval
="$enable_config"
3173 if test "$enableval" = yes; then
3174 ac_cv_use_config
='wxUSE_CONFIG=yes'
3176 ac_cv_use_config
='wxUSE_CONFIG=no'
3181 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3182 if test "x$LINE" != x
; then
3183 eval "DEFAULT_$LINE"
3188 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3193 eval "$ac_cv_use_config"
3194 if test "$no_cache" != 1; then
3195 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3198 if test "$wxUSE_CONFIG" = yes; then
3199 echo "$ac_t""yes" 1>&6
3201 echo "$ac_t""no" 1>&6
3207 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3208 echo "configure:3209: checking for --${enablestring:-enable}-protocols" >&5
3210 # Check whether --enable-protocols or --disable-protocols was given.
3211 if test "${enable_protocols+set}" = set; then
3212 enableval
="$enable_protocols"
3214 if test "$enableval" = yes; then
3215 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3217 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3222 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3223 if test "x$LINE" != x
; then
3224 eval "DEFAULT_$LINE"
3229 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3234 eval "$ac_cv_use_protocols"
3235 if test "$no_cache" != 1; then
3236 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3239 if test "$wxUSE_PROTOCOL" = yes; then
3240 echo "$ac_t""yes" 1>&6
3242 echo "$ac_t""no" 1>&6
3247 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3248 echo "configure:3249: checking for --${enablestring:-enable}-ftp" >&5
3250 # Check whether --enable-ftp or --disable-ftp was given.
3251 if test "${enable_ftp+set}" = set; then
3252 enableval
="$enable_ftp"
3254 if test "$enableval" = yes; then
3255 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3257 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3262 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x
; then
3264 eval "DEFAULT_$LINE"
3269 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3274 eval "$ac_cv_use_ftp"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3279 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3280 echo "$ac_t""yes" 1>&6
3282 echo "$ac_t""no" 1>&6
3287 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3288 echo "configure:3289: checking for --${enablestring:-enable}-http" >&5
3290 # Check whether --enable-http or --disable-http was given.
3291 if test "${enable_http+set}" = set; then
3292 enableval
="$enable_http"
3294 if test "$enableval" = yes; then
3295 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3297 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3302 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3314 eval "$ac_cv_use_http"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3320 echo "$ac_t""yes" 1>&6
3322 echo "$ac_t""no" 1>&6
3327 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3328 echo "configure:3329: checking for --${enablestring:-enable}-fileproto" >&5
3330 # Check whether --enable-fileproto or --disable-fileproto was given.
3331 if test "${enable_fileproto+set}" = set; then
3332 enableval
="$enable_fileproto"
3334 if test "$enableval" = yes; then
3335 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3337 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3342 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3343 if test "x$LINE" != x
; then
3344 eval "DEFAULT_$LINE"
3349 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3354 eval "$ac_cv_use_fileproto"
3355 if test "$no_cache" != 1; then
3356 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3359 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3360 echo "$ac_t""yes" 1>&6
3362 echo "$ac_t""no" 1>&6
3367 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3368 echo "configure:3369: checking for --${enablestring:-enable}-sockets" >&5
3370 # Check whether --enable-sockets or --disable-sockets was given.
3371 if test "${enable_sockets+set}" = set; then
3372 enableval
="$enable_sockets"
3374 if test "$enableval" = yes; then
3375 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3377 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3382 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x
; then
3384 eval "DEFAULT_$LINE"
3389 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3394 eval "$ac_cv_use_sockets"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3399 if test "$wxUSE_SOCKETS" = yes; then
3400 echo "$ac_t""yes" 1>&6
3402 echo "$ac_t""no" 1>&6
3407 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3408 echo "configure:3409: checking for --${enablestring:-enable}-ole" >&5
3410 # Check whether --enable-ole or --disable-ole was given.
3411 if test "${enable_ole+set}" = set; then
3412 enableval
="$enable_ole"
3414 if test "$enableval" = yes; then
3415 ac_cv_use_ole
='wxUSE_OLE=yes'
3417 ac_cv_use_ole
='wxUSE_OLE=no'
3422 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3423 if test "x$LINE" != x
; then
3424 eval "DEFAULT_$LINE"
3429 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3434 eval "$ac_cv_use_ole"
3435 if test "$no_cache" != 1; then
3436 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3439 if test "$wxUSE_OLE" = yes; then
3440 echo "$ac_t""yes" 1>&6
3442 echo "$ac_t""no" 1>&6
3447 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3448 echo "configure:3449: checking for --${enablestring:-enable}-dataobj" >&5
3450 # Check whether --enable-dataobj or --disable-dataobj was given.
3451 if test "${enable_dataobj+set}" = set; then
3452 enableval
="$enable_dataobj"
3454 if test "$enableval" = yes; then
3455 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3457 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3462 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3463 if test "x$LINE" != x
; then
3464 eval "DEFAULT_$LINE"
3469 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3474 eval "$ac_cv_use_dataobj"
3475 if test "$no_cache" != 1; then
3476 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3479 if test "$wxUSE_DATAOBJ" = yes; then
3480 echo "$ac_t""yes" 1>&6
3482 echo "$ac_t""no" 1>&6
3488 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3489 echo "configure:3490: checking for --${enablestring:-enable}-ipc" >&5
3491 # Check whether --enable-ipc or --disable-ipc was given.
3492 if test "${enable_ipc+set}" = set; then
3493 enableval
="$enable_ipc"
3495 if test "$enableval" = yes; then
3496 ac_cv_use_ipc
='wxUSE_IPC=yes'
3498 ac_cv_use_ipc
='wxUSE_IPC=no'
3503 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3504 if test "x$LINE" != x
; then
3505 eval "DEFAULT_$LINE"
3510 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3515 eval "$ac_cv_use_ipc"
3516 if test "$no_cache" != 1; then
3517 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3520 if test "$wxUSE_IPC" = yes; then
3521 echo "$ac_t""yes" 1>&6
3523 echo "$ac_t""no" 1>&6
3529 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3530 echo "configure:3531: checking for --${enablestring:-enable}-cmdline" >&5
3532 # Check whether --enable-cmdline or --disable-cmdline was given.
3533 if test "${enable_cmdline+set}" = set; then
3534 enableval
="$enable_cmdline"
3536 if test "$enableval" = yes; then
3537 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3539 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3544 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3545 if test "x$LINE" != x
; then
3546 eval "DEFAULT_$LINE"
3551 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3556 eval "$ac_cv_use_cmdline"
3557 if test "$no_cache" != 1; then
3558 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3561 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3562 echo "$ac_t""yes" 1>&6
3564 echo "$ac_t""no" 1>&6
3569 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3570 echo "configure:3571: checking for --${enablestring:-enable}-datetime" >&5
3572 # Check whether --enable-datetime or --disable-datetime was given.
3573 if test "${enable_datetime+set}" = set; then
3574 enableval
="$enable_datetime"
3576 if test "$enableval" = yes; then
3577 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3579 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3584 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3585 if test "x$LINE" != x
; then
3586 eval "DEFAULT_$LINE"
3591 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3596 eval "$ac_cv_use_datetime"
3597 if test "$no_cache" != 1; then
3598 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3601 if test "$wxUSE_DATETIME" = yes; then
3602 echo "$ac_t""yes" 1>&6
3604 echo "$ac_t""no" 1>&6
3609 echo $ac_n "checking for --${enablestring:-enable}-timedate""... $ac_c" 1>&6
3610 echo "configure:3611: checking for --${enablestring:-enable}-timedate" >&5
3612 # Check whether --enable-timedate or --disable-timedate was given.
3613 if test "${enable_timedate+set}" = set; then
3614 enableval
="$enable_timedate"
3616 if test "$enableval" = yes; then
3617 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3619 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3624 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3625 if test "x$LINE" != x
; then
3626 eval "DEFAULT_$LINE"
3631 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3636 eval "$ac_cv_use_timedate"
3637 if test "$no_cache" != 1; then
3638 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3641 if test "$wxUSE_TIMEDATE" = yes; then
3642 echo "$ac_t""yes" 1>&6
3644 echo "$ac_t""no" 1>&6
3649 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3650 echo "configure:3651: checking for --${enablestring:-enable}-stopwatch" >&5
3652 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3653 if test "${enable_stopwatch+set}" = set; then
3654 enableval
="$enable_stopwatch"
3656 if test "$enableval" = yes; then
3657 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3659 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3664 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3665 if test "x$LINE" != x
; then
3666 eval "DEFAULT_$LINE"
3671 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3676 eval "$ac_cv_use_stopwatch"
3677 if test "$no_cache" != 1; then
3678 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3681 if test "$wxUSE_STOPWATCH" = yes; then
3682 echo "$ac_t""yes" 1>&6
3684 echo "$ac_t""no" 1>&6
3689 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3690 echo "configure:3691: checking for --${enablestring:-enable}-dialupman" >&5
3692 # Check whether --enable-dialupman or --disable-dialupman was given.
3693 if test "${enable_dialupman+set}" = set; then
3694 enableval
="$enable_dialupman"
3696 if test "$enableval" = yes; then
3697 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3699 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3704 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3705 if test "x$LINE" != x
; then
3706 eval "DEFAULT_$LINE"
3711 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3716 eval "$ac_cv_use_dialupman"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3721 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3722 echo "$ac_t""yes" 1>&6
3724 echo "$ac_t""no" 1>&6
3729 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3730 echo "configure:3731: checking for --${enablestring:-enable}-apple_ieee" >&5
3732 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3733 if test "${enable_apple_ieee+set}" = set; then
3734 enableval
="$enable_apple_ieee"
3736 if test "$enableval" = yes; then
3737 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3739 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3744 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3745 if test "x$LINE" != x
; then
3746 eval "DEFAULT_$LINE"
3751 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3756 eval "$ac_cv_use_apple_ieee"
3757 if test "$no_cache" != 1; then
3758 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3761 if test "$wxUSE_APPLE_IEEE" = yes; then
3762 echo "$ac_t""yes" 1>&6
3764 echo "$ac_t""no" 1>&6
3769 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3770 echo "configure:3771: checking for --${enablestring:-enable}-timer" >&5
3772 # Check whether --enable-timer or --disable-timer was given.
3773 if test "${enable_timer+set}" = set; then
3774 enableval
="$enable_timer"
3776 if test "$enableval" = yes; then
3777 ac_cv_use_timer
='wxUSE_TIMER=yes'
3779 ac_cv_use_timer
='wxUSE_TIMER=no'
3784 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3785 if test "x$LINE" != x
; then
3786 eval "DEFAULT_$LINE"
3791 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3796 eval "$ac_cv_use_timer"
3797 if test "$no_cache" != 1; then
3798 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3801 if test "$wxUSE_TIMER" = yes; then
3802 echo "$ac_t""yes" 1>&6
3804 echo "$ac_t""no" 1>&6
3809 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3810 echo "configure:3811: checking for --${enablestring:-enable}-wave" >&5
3812 # Check whether --enable-wave or --disable-wave was given.
3813 if test "${enable_wave+set}" = set; then
3814 enableval
="$enable_wave"
3816 if test "$enableval" = yes; then
3817 ac_cv_use_wave
='wxUSE_WAVE=yes'
3819 ac_cv_use_wave
='wxUSE_WAVE=no'
3824 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3825 if test "x$LINE" != x
; then
3826 eval "DEFAULT_$LINE"
3831 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3836 eval "$ac_cv_use_wave"
3837 if test "$no_cache" != 1; then
3838 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3841 if test "$wxUSE_WAVE" = yes; then
3842 echo "$ac_t""yes" 1>&6
3844 echo "$ac_t""no" 1>&6
3849 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3850 echo "configure:3851: checking for --${enablestring:-enable}-fraction" >&5
3852 # Check whether --enable-fraction or --disable-fraction was given.
3853 if test "${enable_fraction+set}" = set; then
3854 enableval
="$enable_fraction"
3856 if test "$enableval" = yes; then
3857 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3859 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3864 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3865 if test "x$LINE" != x
; then
3866 eval "DEFAULT_$LINE"
3871 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3876 eval "$ac_cv_use_fraction"
3877 if test "$no_cache" != 1; then
3878 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3881 if test "$wxUSE_FRACTION" = yes; then
3882 echo "$ac_t""yes" 1>&6
3884 echo "$ac_t""no" 1>&6
3889 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3890 echo "configure:3891: checking for --${enablestring:-enable}-dynlib" >&5
3892 # Check whether --enable-dynlib or --disable-dynlib was given.
3893 if test "${enable_dynlib+set}" = set; then
3894 enableval
="$enable_dynlib"
3896 if test "$enableval" = yes; then
3897 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3899 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3904 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x
; then
3906 eval "DEFAULT_$LINE"
3911 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3916 eval "$ac_cv_use_dynlib"
3917 if test "$no_cache" != 1; then
3918 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3921 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3922 echo "$ac_t""yes" 1>&6
3924 echo "$ac_t""no" 1>&6
3929 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3930 echo "configure:3931: checking for --${enablestring:-enable}-dynamicloader" >&5
3932 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3933 if test "${enable_dynamicloader+set}" = set; then
3934 enableval
="$enable_dynamicloader"
3936 if test "$enableval" = yes; then
3937 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3939 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3944 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x
; then
3946 eval "DEFAULT_$LINE"
3951 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3956 eval "$ac_cv_use_dynamicloader"
3957 if test "$no_cache" != 1; then
3958 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3961 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3962 echo "$ac_t""yes" 1>&6
3964 echo "$ac_t""no" 1>&6
3969 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3970 echo "configure:3971: checking for --${enablestring:-enable}-longlong" >&5
3972 # Check whether --enable-longlong or --disable-longlong was given.
3973 if test "${enable_longlong+set}" = set; then
3974 enableval
="$enable_longlong"
3976 if test "$enableval" = yes; then
3977 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3979 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3984 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x
; then
3986 eval "DEFAULT_$LINE"
3991 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3996 eval "$ac_cv_use_longlong"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
4001 if test "$wxUSE_LONGLONG" = yes; then
4002 echo "$ac_t""yes" 1>&6
4004 echo "$ac_t""no" 1>&6
4009 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
4010 echo "configure:4011: checking for --${enablestring:-enable}-geometry" >&5
4012 # Check whether --enable-geometry or --disable-geometry was given.
4013 if test "${enable_geometry+set}" = set; then
4014 enableval
="$enable_geometry"
4016 if test "$enableval" = yes; then
4017 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
4019 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
4024 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
4025 if test "x$LINE" != x
; then
4026 eval "DEFAULT_$LINE"
4031 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4036 eval "$ac_cv_use_geometry"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4041 if test "$wxUSE_GEOMETRY" = yes; then
4042 echo "$ac_t""yes" 1>&6
4044 echo "$ac_t""no" 1>&6
4049 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4050 echo "configure:4051: checking for --${enablestring:-enable}-log" >&5
4052 # Check whether --enable-log or --disable-log was given.
4053 if test "${enable_log+set}" = set; then
4054 enableval
="$enable_log"
4056 if test "$enableval" = yes; then
4057 ac_cv_use_log
='wxUSE_LOG=yes'
4059 ac_cv_use_log
='wxUSE_LOG=no'
4064 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x
; then
4066 eval "DEFAULT_$LINE"
4071 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4076 eval "$ac_cv_use_log"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_LOG" = yes; then
4082 echo "$ac_t""yes" 1>&6
4084 echo "$ac_t""no" 1>&6
4089 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4090 echo "configure:4091: checking for --${enablestring:-enable}-streams" >&5
4092 # Check whether --enable-streams or --disable-streams was given.
4093 if test "${enable_streams+set}" = set; then
4094 enableval
="$enable_streams"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4099 ac_cv_use_streams
='wxUSE_STREAMS=no'
4104 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4116 eval "$ac_cv_use_streams"
4117 if test "$no_cache" != 1; then
4118 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4121 if test "$wxUSE_STREAMS" = yes; then
4122 echo "$ac_t""yes" 1>&6
4124 echo "$ac_t""no" 1>&6
4129 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4130 echo "configure:4131: checking for --${enablestring:-enable}-file" >&5
4132 # Check whether --enable-file or --disable-file was given.
4133 if test "${enable_file+set}" = set; then
4134 enableval
="$enable_file"
4136 if test "$enableval" = yes; then
4137 ac_cv_use_file
='wxUSE_FILE=yes'
4139 ac_cv_use_file
='wxUSE_FILE=no'
4144 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4145 if test "x$LINE" != x
; then
4146 eval "DEFAULT_$LINE"
4151 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4156 eval "$ac_cv_use_file"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4161 if test "$wxUSE_FILE" = yes; then
4162 echo "$ac_t""yes" 1>&6
4164 echo "$ac_t""no" 1>&6
4169 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4170 echo "configure:4171: checking for --${enablestring:-enable}-ffile" >&5
4172 # Check whether --enable-ffile or --disable-ffile was given.
4173 if test "${enable_ffile+set}" = set; then
4174 enableval
="$enable_ffile"
4176 if test "$enableval" = yes; then
4177 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4179 ac_cv_use_ffile
='wxUSE_FFILE=no'
4184 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4185 if test "x$LINE" != x
; then
4186 eval "DEFAULT_$LINE"
4191 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4196 eval "$ac_cv_use_ffile"
4197 if test "$no_cache" != 1; then
4198 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4201 if test "$wxUSE_FFILE" = yes; then
4202 echo "$ac_t""yes" 1>&6
4204 echo "$ac_t""no" 1>&6
4209 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4210 echo "configure:4211: checking for --${enablestring:-enable}-textbuf" >&5
4212 # Check whether --enable-textbuf or --disable-textbuf was given.
4213 if test "${enable_textbuf+set}" = set; then
4214 enableval
="$enable_textbuf"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4219 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4224 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4236 eval "$ac_cv_use_textbuf"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_TEXTBUFFER" = yes; then
4242 echo "$ac_t""yes" 1>&6
4244 echo "$ac_t""no" 1>&6
4249 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4250 echo "configure:4251: checking for --${enablestring:-enable}-textfile" >&5
4252 # Check whether --enable-textfile or --disable-textfile was given.
4253 if test "${enable_textfile+set}" = set; then
4254 enableval
="$enable_textfile"
4256 if test "$enableval" = yes; then
4257 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4259 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4264 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x
; then
4266 eval "DEFAULT_$LINE"
4271 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4276 eval "$ac_cv_use_textfile"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4281 if test "$wxUSE_TEXTFILE" = yes; then
4282 echo "$ac_t""yes" 1>&6
4284 echo "$ac_t""no" 1>&6
4289 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4290 echo "configure:4291: checking for --${enablestring:-enable}-fontmap" >&5
4292 # Check whether --enable-fontmap or --disable-fontmap was given.
4293 if test "${enable_fontmap+set}" = set; then
4294 enableval
="$enable_fontmap"
4296 if test "$enableval" = yes; then
4297 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4299 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4304 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4305 if test "x$LINE" != x
; then
4306 eval "DEFAULT_$LINE"
4311 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4316 eval "$ac_cv_use_fontmap"
4317 if test "$no_cache" != 1; then
4318 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4321 if test "$wxUSE_FONTMAP" = yes; then
4322 echo "$ac_t""yes" 1>&6
4324 echo "$ac_t""no" 1>&6
4329 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4330 echo "configure:4331: checking for --${enablestring:-enable}-unicode" >&5
4332 # Check whether --enable-unicode or --disable-unicode was given.
4333 if test "${enable_unicode+set}" = set; then
4334 enableval
="$enable_unicode"
4336 if test "$enableval" = yes; then
4337 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4339 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4344 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4345 if test "x$LINE" != x
; then
4346 eval "DEFAULT_$LINE"
4351 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4356 eval "$ac_cv_use_unicode"
4357 if test "$no_cache" != 1; then
4358 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4361 if test "$wxUSE_UNICODE" = yes; then
4362 echo "$ac_t""yes" 1>&6
4364 echo "$ac_t""no" 1>&6
4369 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4370 echo "configure:4371: checking for --${enablestring:-enable}-mslu" >&5
4372 # Check whether --enable-mslu or --disable-mslu was given.
4373 if test "${enable_mslu+set}" = set; then
4374 enableval
="$enable_mslu"
4376 if test "$enableval" = yes; then
4377 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4379 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4384 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4385 if test "x$LINE" != x
; then
4386 eval "DEFAULT_$LINE"
4391 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4396 eval "$ac_cv_use_mslu"
4397 if test "$no_cache" != 1; then
4398 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4401 if test "$wxUSE_UNICODE_MSLU" = yes; then
4402 echo "$ac_t""yes" 1>&6
4404 echo "$ac_t""no" 1>&6
4409 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4410 echo "configure:4411: checking for --${enablestring:-enable}-wxprintfv" >&5
4412 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4413 if test "${enable_wxprintfv+set}" = set; then
4414 enableval
="$enable_wxprintfv"
4416 if test "$enableval" = yes; then
4417 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4419 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4424 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x
; then
4426 eval "DEFAULT_$LINE"
4431 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4436 eval "$ac_cv_use_wxprintfv"
4437 if test "$no_cache" != 1; then
4438 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4441 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4442 echo "$ac_t""yes" 1>&6
4444 echo "$ac_t""no" 1>&6
4449 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4450 echo "configure:4451: checking for --${enablestring:-enable}-std_iostreams" >&5
4452 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4453 if test "${enable_std_iostreams+set}" = set; then
4454 enableval
="$enable_std_iostreams"
4456 if test "$enableval" = yes; then
4457 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4459 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4464 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4471 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4476 eval "$ac_cv_use_std_iostreams"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4481 if test "$wxUSE_STD_IOSTREAM" = yes; then
4482 echo "$ac_t""yes" 1>&6
4484 echo "$ac_t""no" 1>&6
4489 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4490 echo "configure:4491: checking for --${enablestring:-enable}-filesystem" >&5
4492 # Check whether --enable-filesystem or --disable-filesystem was given.
4493 if test "${enable_filesystem+set}" = set; then
4494 enableval
="$enable_filesystem"
4496 if test "$enableval" = yes; then
4497 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4499 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4504 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4505 if test "x$LINE" != x
; then
4506 eval "DEFAULT_$LINE"
4511 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4516 eval "$ac_cv_use_filesystem"
4517 if test "$no_cache" != 1; then
4518 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4521 if test "$wxUSE_FILESYSTEM" = yes; then
4522 echo "$ac_t""yes" 1>&6
4524 echo "$ac_t""no" 1>&6
4529 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4530 echo "configure:4531: checking for --${enablestring:-enable}-fs_inet" >&5
4532 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4533 if test "${enable_fs_inet+set}" = set; then
4534 enableval
="$enable_fs_inet"
4536 if test "$enableval" = yes; then
4537 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4539 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4544 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4545 if test "x$LINE" != x
; then
4546 eval "DEFAULT_$LINE"
4551 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4556 eval "$ac_cv_use_fs_inet"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4561 if test "$wxUSE_FS_INET" = yes; then
4562 echo "$ac_t""yes" 1>&6
4564 echo "$ac_t""no" 1>&6
4569 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4570 echo "configure:4571: checking for --${enablestring:-enable}-fs_zip" >&5
4572 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4573 if test "${enable_fs_zip+set}" = set; then
4574 enableval
="$enable_fs_zip"
4576 if test "$enableval" = yes; then
4577 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4579 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4584 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x
; then
4586 eval "DEFAULT_$LINE"
4591 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4596 eval "$ac_cv_use_fs_zip"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4601 if test "$wxUSE_FS_ZIP" = yes; then
4602 echo "$ac_t""yes" 1>&6
4604 echo "$ac_t""no" 1>&6
4609 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4610 echo "configure:4611: checking for --${enablestring:-enable}-zipstream" >&5
4612 # Check whether --enable-zipstream or --disable-zipstream was given.
4613 if test "${enable_zipstream+set}" = set; then
4614 enableval
="$enable_zipstream"
4616 if test "$enableval" = yes; then
4617 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4619 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4624 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4625 if test "x$LINE" != x
; then
4626 eval "DEFAULT_$LINE"
4631 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4636 eval "$ac_cv_use_zipstream"
4637 if test "$no_cache" != 1; then
4638 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4641 if test "$wxUSE_ZIPSTREAM" = yes; then
4642 echo "$ac_t""yes" 1>&6
4644 echo "$ac_t""no" 1>&6
4650 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4651 echo "configure:4652: checking for --${enablestring:-enable}-catch_segvs" >&5
4653 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4654 if test "${enable_catch_segvs+set}" = set; then
4655 enableval
="$enable_catch_segvs"
4657 if test "$enableval" = yes; then
4658 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4660 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4665 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4672 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4677 eval "$ac_cv_use_catch_segvs"
4678 if test "$no_cache" != 1; then
4679 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4682 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4683 echo "$ac_t""yes" 1>&6
4685 echo "$ac_t""no" 1>&6
4690 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4691 echo "configure:4692: checking for --${enablestring:-enable}-snglinst" >&5
4693 # Check whether --enable-snglinst or --disable-snglinst was given.
4694 if test "${enable_snglinst+set}" = set; then
4695 enableval
="$enable_snglinst"
4697 if test "$enableval" = yes; then
4698 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4700 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4705 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4712 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4717 eval "$ac_cv_use_snglinst"
4718 if test "$no_cache" != 1; then
4719 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4722 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4723 echo "$ac_t""yes" 1>&6
4725 echo "$ac_t""no" 1>&6
4731 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4732 echo "configure:4733: checking for --${enablestring:-enable}-mimetype" >&5
4734 # Check whether --enable-mimetype or --disable-mimetype was given.
4735 if test "${enable_mimetype+set}" = set; then
4736 enableval
="$enable_mimetype"
4738 if test "$enableval" = yes; then
4739 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4741 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4746 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x
; then
4748 eval "DEFAULT_$LINE"
4753 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4758 eval "$ac_cv_use_mimetype"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4763 if test "$wxUSE_MIMETYPE" = yes; then
4764 echo "$ac_t""yes" 1>&6
4766 echo "$ac_t""no" 1>&6
4771 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4772 echo "configure:4773: checking for --${enablestring:-enable}-system_options" >&5
4774 # Check whether --enable-system_options or --disable-system_options was given.
4775 if test "${enable_system_options+set}" = set; then
4776 enableval
="$enable_system_options"
4778 if test "$enableval" = yes; then
4779 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4781 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4786 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4793 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4798 eval "$ac_cv_use_system_options"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4803 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4804 echo "$ac_t""yes" 1>&6
4806 echo "$ac_t""no" 1>&6
4812 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4813 echo "configure:4814: checking for --${enablestring:-enable}-url" >&5
4815 # Check whether --enable-url or --disable-url was given.
4816 if test "${enable_url+set}" = set; then
4817 enableval
="$enable_url"
4819 if test "$enableval" = yes; then
4820 ac_cv_use_url
='wxUSE_URL=yes'
4822 ac_cv_use_url
='wxUSE_URL=no'
4827 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x
; then
4829 eval "DEFAULT_$LINE"
4834 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4839 eval "$ac_cv_use_url"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4844 if test "$wxUSE_URL" = yes; then
4845 echo "$ac_t""yes" 1>&6
4847 echo "$ac_t""no" 1>&6
4852 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4853 echo "configure:4854: checking for --${enablestring:-enable}-protocol" >&5
4855 # Check whether --enable-protocol or --disable-protocol was given.
4856 if test "${enable_protocol+set}" = set; then
4857 enableval
="$enable_protocol"
4859 if test "$enableval" = yes; then
4860 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4862 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4867 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x
; then
4869 eval "DEFAULT_$LINE"
4874 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4879 eval "$ac_cv_use_protocol"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4884 if test "$wxUSE_PROTOCOL" = yes; then
4885 echo "$ac_t""yes" 1>&6
4887 echo "$ac_t""no" 1>&6
4892 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4893 echo "configure:4894: checking for --${enablestring:-enable}-protocol_http" >&5
4895 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4896 if test "${enable_protocol_http+set}" = set; then
4897 enableval
="$enable_protocol_http"
4899 if test "$enableval" = yes; then
4900 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4902 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4907 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4908 if test "x$LINE" != x
; then
4909 eval "DEFAULT_$LINE"
4914 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4919 eval "$ac_cv_use_protocol_http"
4920 if test "$no_cache" != 1; then
4921 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4924 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4925 echo "$ac_t""yes" 1>&6
4927 echo "$ac_t""no" 1>&6
4932 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4933 echo "configure:4934: checking for --${enablestring:-enable}-protocol_ftp" >&5
4935 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4936 if test "${enable_protocol_ftp+set}" = set; then
4937 enableval
="$enable_protocol_ftp"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4942 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4947 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4959 eval "$ac_cv_use_protocol_ftp"
4960 if test "$no_cache" != 1; then
4961 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4964 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4965 echo "$ac_t""yes" 1>&6
4967 echo "$ac_t""no" 1>&6
4972 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4973 echo "configure:4974: checking for --${enablestring:-enable}-protocol_file" >&5
4975 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4976 if test "${enable_protocol_file+set}" = set; then
4977 enableval
="$enable_protocol_file"
4979 if test "$enableval" = yes; then
4980 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4982 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4987 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4988 if test "x$LINE" != x
; then
4989 eval "DEFAULT_$LINE"
4994 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4999 eval "$ac_cv_use_protocol_file"
5000 if test "$no_cache" != 1; then
5001 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
5004 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5005 echo "$ac_t""yes" 1>&6
5007 echo "$ac_t""no" 1>&6
5015 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
5016 echo "configure:5017: checking for --${enablestring:-enable}-threads" >&5
5018 # Check whether --enable-threads or --disable-threads was given.
5019 if test "${enable_threads+set}" = set; then
5020 enableval
="$enable_threads"
5022 if test "$enableval" = yes; then
5023 ac_cv_use_threads
='wxUSE_THREADS=yes'
5025 ac_cv_use_threads
='wxUSE_THREADS=no'
5030 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x
; then
5032 eval "DEFAULT_$LINE"
5037 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5042 eval "$ac_cv_use_threads"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5047 if test "$wxUSE_THREADS" = yes; then
5048 echo "$ac_t""yes" 1>&6
5050 echo "$ac_t""no" 1>&6
5054 if test "$wxUSE_GUI" = "yes"; then
5059 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5060 echo "configure:5061: checking for --${enablestring:-enable}-docview" >&5
5062 # Check whether --enable-docview or --disable-docview was given.
5063 if test "${enable_docview+set}" = set; then
5064 enableval
="$enable_docview"
5066 if test "$enableval" = yes; then
5067 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5069 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5074 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x
; then
5076 eval "DEFAULT_$LINE"
5081 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5086 eval "$ac_cv_use_docview"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5091 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5092 echo "$ac_t""yes" 1>&6
5094 echo "$ac_t""no" 1>&6
5099 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5100 echo "configure:5101: checking for --${enablestring:-enable}-help" >&5
5102 # Check whether --enable-help or --disable-help was given.
5103 if test "${enable_help+set}" = set; then
5104 enableval
="$enable_help"
5106 if test "$enableval" = yes; then
5107 ac_cv_use_help
='wxUSE_HELP=yes'
5109 ac_cv_use_help
='wxUSE_HELP=no'
5114 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x
; then
5116 eval "DEFAULT_$LINE"
5121 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5126 eval "$ac_cv_use_help"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5131 if test "$wxUSE_HELP" = yes; then
5132 echo "$ac_t""yes" 1>&6
5134 echo "$ac_t""no" 1>&6
5139 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5140 echo "configure:5141: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5142 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5143 if test "${enable_mshtmlhelp+set}" = set; then
5144 enableval
="$enable_mshtmlhelp"
5146 if test "$enableval" = yes; then
5147 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5149 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5154 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x
; then
5156 eval "DEFAULT_$LINE"
5161 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5166 eval "$ac_cv_use_mshtmlhelp"
5167 if test "$no_cache" != 1; then
5168 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5171 if test "$wxUSE_MS_HTML_HELP" = yes; then
5172 echo "$ac_t""yes" 1>&6
5174 echo "$ac_t""no" 1>&6
5179 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5180 echo "configure:5181: checking for --${enablestring:-enable}-html" >&5
5182 # Check whether --enable-html or --disable-html was given.
5183 if test "${enable_html+set}" = set; then
5184 enableval
="$enable_html"
5186 if test "$enableval" = yes; then
5187 ac_cv_use_html
='wxUSE_HTML=yes'
5189 ac_cv_use_html
='wxUSE_HTML=no'
5194 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5195 if test "x$LINE" != x
; then
5196 eval "DEFAULT_$LINE"
5201 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5206 eval "$ac_cv_use_html"
5207 if test "$no_cache" != 1; then
5208 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5211 if test "$wxUSE_HTML" = yes; then
5212 echo "$ac_t""yes" 1>&6
5214 echo "$ac_t""no" 1>&6
5219 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5220 echo "configure:5221: checking for --${enablestring:-enable}-htmlhelp" >&5
5222 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5223 if test "${enable_htmlhelp+set}" = set; then
5224 enableval
="$enable_htmlhelp"
5226 if test "$enableval" = yes; then
5227 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5229 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5234 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5235 if test "x$LINE" != x
; then
5236 eval "DEFAULT_$LINE"
5241 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5246 eval "$ac_cv_use_htmlhelp"
5247 if test "$no_cache" != 1; then
5248 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5251 if test "$wxUSE_WXHTML_HELP" = yes; then
5252 echo "$ac_t""yes" 1>&6
5254 echo "$ac_t""no" 1>&6
5259 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5260 echo "configure:5261: checking for --${enablestring:-enable}-constraints" >&5
5262 # Check whether --enable-constraints or --disable-constraints was given.
5263 if test "${enable_constraints+set}" = set; then
5264 enableval
="$enable_constraints"
5266 if test "$enableval" = yes; then
5267 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5269 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5274 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x
; then
5276 eval "DEFAULT_$LINE"
5281 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5286 eval "$ac_cv_use_constraints"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5291 if test "$wxUSE_CONSTRAINTS" = yes; then
5292 echo "$ac_t""yes" 1>&6
5294 echo "$ac_t""no" 1>&6
5299 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5300 echo "configure:5301: checking for --${enablestring:-enable}-printarch" >&5
5302 # Check whether --enable-printarch or --disable-printarch was given.
5303 if test "${enable_printarch+set}" = set; then
5304 enableval
="$enable_printarch"
5306 if test "$enableval" = yes; then
5307 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5309 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5314 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5315 if test "x$LINE" != x
; then
5316 eval "DEFAULT_$LINE"
5321 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5326 eval "$ac_cv_use_printarch"
5327 if test "$no_cache" != 1; then
5328 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5331 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5332 echo "$ac_t""yes" 1>&6
5334 echo "$ac_t""no" 1>&6
5339 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5340 echo "configure:5341: checking for --${enablestring:-enable}-mdi" >&5
5342 # Check whether --enable-mdi or --disable-mdi was given.
5343 if test "${enable_mdi+set}" = set; then
5344 enableval
="$enable_mdi"
5346 if test "$enableval" = yes; then
5347 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5349 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5354 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5355 if test "x$LINE" != x
; then
5356 eval "DEFAULT_$LINE"
5361 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5366 eval "$ac_cv_use_mdi"
5367 if test "$no_cache" != 1; then
5368 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5372 echo "$ac_t""yes" 1>&6
5374 echo "$ac_t""no" 1>&6
5379 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5380 echo "configure:5381: checking for --${enablestring:-enable}-loggui" >&5
5382 # Check whether --enable-loggui or --disable-loggui was given.
5383 if test "${enable_loggui+set}" = set; then
5384 enableval
="$enable_loggui"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5389 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5394 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5406 eval "$ac_cv_use_loggui"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_LOGGUI" = yes; then
5412 echo "$ac_t""yes" 1>&6
5414 echo "$ac_t""no" 1>&6
5419 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5420 echo "configure:5421: checking for --${enablestring:-enable}-logwin" >&5
5422 # Check whether --enable-logwin or --disable-logwin was given.
5423 if test "${enable_logwin+set}" = set; then
5424 enableval
="$enable_logwin"
5426 if test "$enableval" = yes; then
5427 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5429 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5434 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x
; then
5436 eval "DEFAULT_$LINE"
5441 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5446 eval "$ac_cv_use_logwin"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5451 if test "$wxUSE_LOGWINDOW" = yes; then
5452 echo "$ac_t""yes" 1>&6
5454 echo "$ac_t""no" 1>&6
5459 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5460 echo "configure:5461: checking for --${enablestring:-enable}-logdialog" >&5
5462 # Check whether --enable-logdialog or --disable-logdialog was given.
5463 if test "${enable_logdialog+set}" = set; then
5464 enableval
="$enable_logdialog"
5466 if test "$enableval" = yes; then
5467 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5469 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5474 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x
; then
5476 eval "DEFAULT_$LINE"
5481 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5486 eval "$ac_cv_use_logdialog"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_LOGDIALOG" = yes; then
5492 echo "$ac_t""yes" 1>&6
5494 echo "$ac_t""no" 1>&6
5500 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5501 echo "configure:5502: checking for --${enablestring:-enable}-postscript" >&5
5503 # Check whether --enable-postscript or --disable-postscript was given.
5504 if test "${enable_postscript+set}" = set; then
5505 enableval
="$enable_postscript"
5507 if test "$enableval" = yes; then
5508 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5510 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5515 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5516 if test "x$LINE" != x
; then
5517 eval "DEFAULT_$LINE"
5522 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5527 eval "$ac_cv_use_postscript"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5532 if test "$wxUSE_POSTSCRIPT" = yes; then
5533 echo "$ac_t""yes" 1>&6
5535 echo "$ac_t""no" 1>&6
5543 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5544 echo "configure:5545: checking for --${enablestring:-enable}-prologio" >&5
5546 # Check whether --enable-prologio or --disable-prologio was given.
5547 if test "${enable_prologio+set}" = set; then
5548 enableval
="$enable_prologio"
5550 if test "$enableval" = yes; then
5551 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5553 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5558 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x
; then
5560 eval "DEFAULT_$LINE"
5565 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5570 eval "$ac_cv_use_prologio"
5571 if test "$no_cache" != 1; then
5572 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5575 if test "$wxUSE_PROLOGIO" = yes; then
5576 echo "$ac_t""yes" 1>&6
5578 echo "$ac_t""no" 1>&6
5583 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5584 echo "configure:5585: checking for --${enablestring:-enable}-resources" >&5
5586 # Check whether --enable-resources or --disable-resources was given.
5587 if test "${enable_resources+set}" = set; then
5588 enableval
="$enable_resources"
5590 if test "$enableval" = yes; then
5591 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5593 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5598 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x
; then
5600 eval "DEFAULT_$LINE"
5605 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5610 eval "$ac_cv_use_resources"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5615 if test "$wxUSE_RESOURCES" = yes; then
5616 echo "$ac_t""yes" 1>&6
5618 echo "$ac_t""no" 1>&6
5624 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5625 echo "configure:5626: checking for --${enablestring:-enable}-xresources" >&5
5627 # Check whether --enable-xresources or --disable-xresources was given.
5628 if test "${enable_xresources+set}" = set; then
5629 enableval
="$enable_xresources"
5631 if test "$enableval" = yes; then
5632 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5634 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5639 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x
; then
5641 eval "DEFAULT_$LINE"
5646 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5651 eval "$ac_cv_use_xresources"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5656 if test "$wxUSE_X_RESOURCES" = yes; then
5657 echo "$ac_t""yes" 1>&6
5659 echo "$ac_t""no" 1>&6
5666 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5667 echo "configure:5668: checking for --${enablestring:-enable}-clipboard" >&5
5669 # Check whether --enable-clipboard or --disable-clipboard was given.
5670 if test "${enable_clipboard+set}" = set; then
5671 enableval
="$enable_clipboard"
5673 if test "$enableval" = yes; then
5674 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5676 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5681 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x
; then
5683 eval "DEFAULT_$LINE"
5688 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5693 eval "$ac_cv_use_clipboard"
5694 if test "$no_cache" != 1; then
5695 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5698 if test "$wxUSE_CLIPBOARD" = yes; then
5699 echo "$ac_t""yes" 1>&6
5701 echo "$ac_t""no" 1>&6
5706 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5707 echo "configure:5708: checking for --${enablestring:-enable}-dnd" >&5
5709 # Check whether --enable-dnd or --disable-dnd was given.
5710 if test "${enable_dnd+set}" = set; then
5711 enableval
="$enable_dnd"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5716 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5721 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5733 eval "$ac_cv_use_dnd"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5739 echo "$ac_t""yes" 1>&6
5741 echo "$ac_t""no" 1>&6
5746 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5747 echo "configure:5748: checking for --${enablestring:-enable}-metafile" >&5
5749 # Check whether --enable-metafile or --disable-metafile was given.
5750 if test "${enable_metafile+set}" = set; then
5751 enableval
="$enable_metafile"
5753 if test "$enableval" = yes; then
5754 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5756 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5761 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x
; then
5763 eval "DEFAULT_$LINE"
5768 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5773 eval "$ac_cv_use_metafile"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5778 if test "$wxUSE_METAFILE" = yes; then
5779 echo "$ac_t""yes" 1>&6
5781 echo "$ac_t""no" 1>&6
5787 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5788 echo "configure:5789: checking for --${enablestring:-enable}-treelayout" >&5
5790 # Check whether --enable-treelayout or --disable-treelayout was given.
5791 if test "${enable_treelayout+set}" = set; then
5792 enableval
="$enable_treelayout"
5794 if test "$enableval" = yes; then
5795 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5797 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5802 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5803 if test "x$LINE" != x
; then
5804 eval "DEFAULT_$LINE"
5809 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5814 eval "$ac_cv_use_treelayout"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5819 if test "$wxUSE_TREELAYOUT" = yes; then
5820 echo "$ac_t""yes" 1>&6
5822 echo "$ac_t""no" 1>&6
5829 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5830 echo "configure:5831: checking for --${enablestring:-enable}-controls" >&5
5832 # Check whether --enable-controls or --disable-controls was given.
5833 if test "${enable_controls+set}" = set; then
5834 enableval
="$enable_controls"
5836 if test "$enableval" = yes; then
5837 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5839 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5844 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x
; then
5846 eval "DEFAULT_$LINE"
5851 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5856 eval "$ac_cv_use_controls"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5861 if test "$wxUSE_CONTROLS" = yes; then
5862 echo "$ac_t""yes" 1>&6
5864 echo "$ac_t""no" 1>&6
5868 if test "$wxUSE_CONTROLS" = "yes"; then
5869 DEFAULT_wxUSE_ACCEL
=yes
5870 DEFAULT_wxUSE_BMPBUTTON
=yes
5871 DEFAULT_wxUSE_BUTTON
=yes
5872 DEFAULT_wxUSE_CALCTRL
=no
5873 DEFAULT_wxUSE_CARET
=yes
5874 DEFAULT_wxUSE_COMBOBOX
=yes
5875 DEFAULT_wxUSE_CHECKBOX
=yes
5876 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5877 DEFAULT_wxUSE_CHOICE
=yes
5878 DEFAULT_wxUSE_GAUGE
=yes
5879 DEFAULT_wxUSE_GRID
=yes
5880 DEFAULT_wxUSE_NEW_GRID
=yes
5881 DEFAULT_wxUSE_IMAGLIST
=yes
5882 DEFAULT_wxUSE_LISTBOX
=yes
5883 DEFAULT_wxUSE_LISTCTRL
=yes
5884 DEFAULT_wxUSE_NOTEBOOK
=yes
5885 DEFAULT_wxUSE_PROPSHEET
=yes
5886 DEFAULT_wxUSE_RADIOBOX
=yes
5887 DEFAULT_wxUSE_RADIOBTN
=yes
5888 DEFAULT_wxUSE_SASH
=yes
5889 DEFAULT_wxUSE_SCROLLBAR
=yes
5890 DEFAULT_wxUSE_SLIDER
=yes
5891 DEFAULT_wxUSE_SPINBTN
=yes
5892 DEFAULT_wxUSE_SPINCTRL
=yes
5893 DEFAULT_wxUSE_SPLITTER
=yes
5894 DEFAULT_wxUSE_STATBMP
=yes
5895 DEFAULT_wxUSE_STATBOX
=yes
5896 DEFAULT_wxUSE_STATLINE
=yes
5897 DEFAULT_wxUSE_STATUSBAR
=yes
5898 DEFAULT_wxUSE_TAB_DIALOG
=yes
5899 DEFAULT_wxUSE_TOGGLEBTN
=yes
5900 DEFAULT_wxUSE_TOOLBAR
=yes
5901 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5902 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5903 DEFAULT_wxUSE_TOOLTIPS
=yes
5904 DEFAULT_wxUSE_TREECTRL
=yes
5905 DEFAULT_wxUSE_POPUPWIN
=yes
5906 DEFAULT_wxUSE_TIPWINDOW
=yes
5907 elif test "$wxUSE_CONTROLS" = "no"; then
5908 DEFAULT_wxUSE_ACCEL
=no
5909 DEFAULT_wxUSE_BMPBUTTON
=no
5910 DEFAULT_wxUSE_BUTTON
=no
5911 DEFAULT_wxUSE_CALCTRL
=no
5912 DEFAULT_wxUSE_CARET
=no
5913 DEFAULT_wxUSE_COMBOBOX
=no
5914 DEFAULT_wxUSE_CHECKBOX
=no
5915 DEFAULT_wxUSE_CHECKLISTBOX
=no
5916 DEFAULT_wxUSE_CHOICE
=no
5917 DEFAULT_wxUSE_GAUGE
=no
5918 DEFAULT_wxUSE_GRID
=no
5919 DEFAULT_wxUSE_NEW_GRID
=no
5920 DEFAULT_wxUSE_IMAGLIST
=no
5921 DEFAULT_wxUSE_LISTBOX
=no
5922 DEFAULT_wxUSE_LISTCTRL
=no
5923 DEFAULT_wxUSE_NOTEBOOK
=no
5924 DEFAULT_wxUSE_PROPSHEET
=no
5925 DEFAULT_wxUSE_RADIOBOX
=no
5926 DEFAULT_wxUSE_RADIOBTN
=no
5927 DEFAULT_wxUSE_SASH
=no
5928 DEFAULT_wxUSE_SCROLLBAR
=no
5929 DEFAULT_wxUSE_SLIDER
=no
5930 DEFAULT_wxUSE_SPINBTN
=no
5931 DEFAULT_wxUSE_SPINCTRL
=no
5932 DEFAULT_wxUSE_SPLITTER
=no
5933 DEFAULT_wxUSE_STATBMP
=no
5934 DEFAULT_wxUSE_STATBOX
=no
5935 DEFAULT_wxUSE_STATLINE
=no
5936 DEFAULT_wxUSE_STATUSBAR
=no
5937 DEFAULT_wxUSE_TAB_DIALOG
=no
5938 DEFAULT_wxUSE_TOGGLEBTN
=no
5939 DEFAULT_wxUSE_TOOLBAR
=no
5940 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5941 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5942 DEFAULT_wxUSE_TOOLTIPS
=no
5943 DEFAULT_wxUSE_TREECTRL
=no
5944 DEFAULT_wxUSE_POPUPWIN
=no
5945 DEFAULT_wxUSE_TIPWINDOW
=no
5948 ## FIXME: This is a blatant hack
5949 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5950 wxUSE_PRINTING_ARCHITECTURE
=no
5953 wxUSE_DRAG_AND_DROP
=no
5955 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5956 DEFAULT_wxUSE_TEXTDLG
=no
5957 DEFAULT_wxUSE_GAUGE
=no
5958 DEFAULT_wxUSE_SCROLLBAR
=no
5959 DEFAULT_wxUSE_SLIDER
=no
5960 DEFAULT_wxUSE_COMBOBOX
=no
5961 DEFAULT_wxUSE_CALCTRL
=no
5962 DEFAULT_wxUSE_SPINBTN
=no
5963 DEFAULT_wxUSE_SPINCTRL
=no
5964 DEFAULT_wxUSE_TOOLTIPS
=no
5965 DEFAULT_wxUSE_CHOICEDLG
=no
5966 DEFAULT_wxUSE_COLOURDLG
=no
5967 DEFAULT_wxUSE_DIRDLG
=no
5968 DEFAULT_wxUSE_DRAGIMAGE
=no
5969 DEFAULT_wxUSE_FINDREPLDLG
=no
5970 DEFAULT_wxUSE_FONTDLG
=no
5971 DEFAULT_wxUSE_GRID
=no
5972 DEFAULT_wxUSE_NEW_GRID
=no
5973 DEFAULT_wxUSE_NUMBERDLG
=no
5974 DEFAULT_wxUSE_PROGRESSDLG
=no
5975 DEFAULT_wxUSE_PROPSHEET
=no
5976 DEFAULT_wxUSE_SASH
=no
5977 DEFAULT_wxUSE_SPLITTER
=no
5978 DEFAULT_wxUSE_WIZARDDLG
=no
5979 DEFAULT_wxUSE_SPLITTER
=no
5980 DEFAULT_wxUSE_STARTUP_TIPS
=no
5981 DEFAULT_wxUSE_TREECTRL
=no
5986 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5987 echo "configure:5988: checking for --${enablestring:-enable}-accel" >&5
5989 # Check whether --enable-accel or --disable-accel was given.
5990 if test "${enable_accel+set}" = set; then
5991 enableval
="$enable_accel"
5993 if test "$enableval" = yes; then
5994 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5996 ac_cv_use_accel
='wxUSE_ACCEL=no'
6001 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
6002 if test "x$LINE" != x
; then
6003 eval "DEFAULT_$LINE"
6008 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
6013 eval "$ac_cv_use_accel"
6014 if test "$no_cache" != 1; then
6015 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
6018 if test "$wxUSE_ACCEL" = yes; then
6019 echo "$ac_t""yes" 1>&6
6021 echo "$ac_t""no" 1>&6
6026 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
6027 echo "configure:6028: checking for --${enablestring:-enable}-button" >&5
6029 # Check whether --enable-button or --disable-button was given.
6030 if test "${enable_button+set}" = set; then
6031 enableval
="$enable_button"
6033 if test "$enableval" = yes; then
6034 ac_cv_use_button
='wxUSE_BUTTON=yes'
6036 ac_cv_use_button
='wxUSE_BUTTON=no'
6041 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
6042 if test "x$LINE" != x
; then
6043 eval "DEFAULT_$LINE"
6048 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6053 eval "$ac_cv_use_button"
6054 if test "$no_cache" != 1; then
6055 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6058 if test "$wxUSE_BUTTON" = yes; then
6059 echo "$ac_t""yes" 1>&6
6061 echo "$ac_t""no" 1>&6
6066 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6067 echo "configure:6068: checking for --${enablestring:-enable}-bmpbutton" >&5
6069 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6070 if test "${enable_bmpbutton+set}" = set; then
6071 enableval
="$enable_bmpbutton"
6073 if test "$enableval" = yes; then
6074 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6076 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6081 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6082 if test "x$LINE" != x
; then
6083 eval "DEFAULT_$LINE"
6088 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6093 eval "$ac_cv_use_bmpbutton"
6094 if test "$no_cache" != 1; then
6095 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6098 if test "$wxUSE_BMPBUTTON" = yes; then
6099 echo "$ac_t""yes" 1>&6
6101 echo "$ac_t""no" 1>&6
6106 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6107 echo "configure:6108: checking for --${enablestring:-enable}-calendar" >&5
6109 # Check whether --enable-calendar or --disable-calendar was given.
6110 if test "${enable_calendar+set}" = set; then
6111 enableval
="$enable_calendar"
6113 if test "$enableval" = yes; then
6114 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6116 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6121 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6122 if test "x$LINE" != x
; then
6123 eval "DEFAULT_$LINE"
6128 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6133 eval "$ac_cv_use_calendar"
6134 if test "$no_cache" != 1; then
6135 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6138 if test "$wxUSE_CALCTRL" = yes; then
6139 echo "$ac_t""yes" 1>&6
6141 echo "$ac_t""no" 1>&6
6146 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6147 echo "configure:6148: checking for --${enablestring:-enable}-caret" >&5
6149 # Check whether --enable-caret or --disable-caret was given.
6150 if test "${enable_caret+set}" = set; then
6151 enableval
="$enable_caret"
6153 if test "$enableval" = yes; then
6154 ac_cv_use_caret
='wxUSE_CARET=yes'
6156 ac_cv_use_caret
='wxUSE_CARET=no'
6161 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6162 if test "x$LINE" != x
; then
6163 eval "DEFAULT_$LINE"
6168 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6173 eval "$ac_cv_use_caret"
6174 if test "$no_cache" != 1; then
6175 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6178 if test "$wxUSE_CARET" = yes; then
6179 echo "$ac_t""yes" 1>&6
6181 echo "$ac_t""no" 1>&6
6186 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6187 echo "configure:6188: checking for --${enablestring:-enable}-checkbox" >&5
6189 # Check whether --enable-checkbox or --disable-checkbox was given.
6190 if test "${enable_checkbox+set}" = set; then
6191 enableval
="$enable_checkbox"
6193 if test "$enableval" = yes; then
6194 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6196 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6201 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x
; then
6203 eval "DEFAULT_$LINE"
6208 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6213 eval "$ac_cv_use_checkbox"
6214 if test "$no_cache" != 1; then
6215 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6218 if test "$wxUSE_CHECKBOX" = yes; then
6219 echo "$ac_t""yes" 1>&6
6221 echo "$ac_t""no" 1>&6
6226 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6227 echo "configure:6228: checking for --${enablestring:-enable}-checklst" >&5
6229 # Check whether --enable-checklst or --disable-checklst was given.
6230 if test "${enable_checklst+set}" = set; then
6231 enableval
="$enable_checklst"
6233 if test "$enableval" = yes; then
6234 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6236 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6241 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6242 if test "x$LINE" != x
; then
6243 eval "DEFAULT_$LINE"
6248 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6253 eval "$ac_cv_use_checklst"
6254 if test "$no_cache" != 1; then
6255 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6258 if test "$wxUSE_CHECKLST" = yes; then
6259 echo "$ac_t""yes" 1>&6
6261 echo "$ac_t""no" 1>&6
6266 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6267 echo "configure:6268: checking for --${enablestring:-enable}-choice" >&5
6269 # Check whether --enable-choice or --disable-choice was given.
6270 if test "${enable_choice+set}" = set; then
6271 enableval
="$enable_choice"
6273 if test "$enableval" = yes; then
6274 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6276 ac_cv_use_choice
='wxUSE_CHOICE=no'
6281 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x
; then
6283 eval "DEFAULT_$LINE"
6288 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6293 eval "$ac_cv_use_choice"
6294 if test "$no_cache" != 1; then
6295 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6298 if test "$wxUSE_CHOICE" = yes; then
6299 echo "$ac_t""yes" 1>&6
6301 echo "$ac_t""no" 1>&6
6306 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6307 echo "configure:6308: checking for --${enablestring:-enable}-combobox" >&5
6309 # Check whether --enable-combobox or --disable-combobox was given.
6310 if test "${enable_combobox+set}" = set; then
6311 enableval
="$enable_combobox"
6313 if test "$enableval" = yes; then
6314 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6316 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6321 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6322 if test "x$LINE" != x
; then
6323 eval "DEFAULT_$LINE"
6328 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6333 eval "$ac_cv_use_combobox"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6338 if test "$wxUSE_COMBOBOX" = yes; then
6339 echo "$ac_t""yes" 1>&6
6341 echo "$ac_t""no" 1>&6
6346 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6347 echo "configure:6348: checking for --${enablestring:-enable}-display" >&5
6349 # Check whether --enable-display or --disable-display was given.
6350 if test "${enable_display+set}" = set; then
6351 enableval
="$enable_display"
6353 if test "$enableval" = yes; then
6354 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6356 ac_cv_use_display
='wxUSE_DISPLAY=no'
6361 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6362 if test "x$LINE" != x
; then
6363 eval "DEFAULT_$LINE"
6368 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6373 eval "$ac_cv_use_display"
6374 if test "$no_cache" != 1; then
6375 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6378 if test "$wxUSE_DISPLAY" = yes; then
6379 echo "$ac_t""yes" 1>&6
6381 echo "$ac_t""no" 1>&6
6386 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6387 echo "configure:6388: checking for --${enablestring:-enable}-gauge" >&5
6389 # Check whether --enable-gauge or --disable-gauge was given.
6390 if test "${enable_gauge+set}" = set; then
6391 enableval
="$enable_gauge"
6393 if test "$enableval" = yes; then
6394 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6396 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6401 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x
; then
6403 eval "DEFAULT_$LINE"
6408 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6413 eval "$ac_cv_use_gauge"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6418 if test "$wxUSE_GAUGE" = yes; then
6419 echo "$ac_t""yes" 1>&6
6421 echo "$ac_t""no" 1>&6
6426 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6427 echo "configure:6428: checking for --${enablestring:-enable}-grid" >&5
6429 # Check whether --enable-grid or --disable-grid was given.
6430 if test "${enable_grid+set}" = set; then
6431 enableval
="$enable_grid"
6433 if test "$enableval" = yes; then
6434 ac_cv_use_grid
='wxUSE_GRID=yes'
6436 ac_cv_use_grid
='wxUSE_GRID=no'
6441 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6442 if test "x$LINE" != x
; then
6443 eval "DEFAULT_$LINE"
6448 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6453 eval "$ac_cv_use_grid"
6454 if test "$no_cache" != 1; then
6455 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6458 if test "$wxUSE_GRID" = yes; then
6459 echo "$ac_t""yes" 1>&6
6461 echo "$ac_t""no" 1>&6
6466 echo $ac_n "checking for --${enablestring:-enable}-newgrid""... $ac_c" 1>&6
6467 echo "configure:6468: checking for --${enablestring:-enable}-newgrid" >&5
6469 # Check whether --enable-newgrid or --disable-newgrid was given.
6470 if test "${enable_newgrid+set}" = set; then
6471 enableval
="$enable_newgrid"
6473 if test "$enableval" = yes; then
6474 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6476 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6481 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x
; then
6483 eval "DEFAULT_$LINE"
6488 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6493 eval "$ac_cv_use_newgrid"
6494 if test "$no_cache" != 1; then
6495 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6498 if test "$wxUSE_NEW_GRID" = yes; then
6499 echo "$ac_t""yes" 1>&6
6501 echo "$ac_t""no" 1>&6
6506 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6507 echo "configure:6508: checking for --${enablestring:-enable}-imaglist" >&5
6509 # Check whether --enable-imaglist or --disable-imaglist was given.
6510 if test "${enable_imaglist+set}" = set; then
6511 enableval
="$enable_imaglist"
6513 if test "$enableval" = yes; then
6514 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6516 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6521 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6522 if test "x$LINE" != x
; then
6523 eval "DEFAULT_$LINE"
6528 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6533 eval "$ac_cv_use_imaglist"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6538 if test "$wxUSE_IMAGLIST" = yes; then
6539 echo "$ac_t""yes" 1>&6
6541 echo "$ac_t""no" 1>&6
6546 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6547 echo "configure:6548: checking for --${enablestring:-enable}-listbox" >&5
6549 # Check whether --enable-listbox or --disable-listbox was given.
6550 if test "${enable_listbox+set}" = set; then
6551 enableval
="$enable_listbox"
6553 if test "$enableval" = yes; then
6554 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6556 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6561 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6562 if test "x$LINE" != x
; then
6563 eval "DEFAULT_$LINE"
6568 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6573 eval "$ac_cv_use_listbox"
6574 if test "$no_cache" != 1; then
6575 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6578 if test "$wxUSE_LISTBOX" = yes; then
6579 echo "$ac_t""yes" 1>&6
6581 echo "$ac_t""no" 1>&6
6586 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6587 echo "configure:6588: checking for --${enablestring:-enable}-listctrl" >&5
6589 # Check whether --enable-listctrl or --disable-listctrl was given.
6590 if test "${enable_listctrl+set}" = set; then
6591 enableval
="$enable_listctrl"
6593 if test "$enableval" = yes; then
6594 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6596 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6601 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x
; then
6603 eval "DEFAULT_$LINE"
6608 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6613 eval "$ac_cv_use_listctrl"
6614 if test "$no_cache" != 1; then
6615 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6618 if test "$wxUSE_LISTCTRL" = yes; then
6619 echo "$ac_t""yes" 1>&6
6621 echo "$ac_t""no" 1>&6
6626 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6627 echo "configure:6628: checking for --${enablestring:-enable}-notebook" >&5
6629 # Check whether --enable-notebook or --disable-notebook was given.
6630 if test "${enable_notebook+set}" = set; then
6631 enableval
="$enable_notebook"
6633 if test "$enableval" = yes; then
6634 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6636 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6641 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6642 if test "x$LINE" != x
; then
6643 eval "DEFAULT_$LINE"
6648 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6653 eval "$ac_cv_use_notebook"
6654 if test "$no_cache" != 1; then
6655 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6658 if test "$wxUSE_NOTEBOOK" = yes; then
6659 echo "$ac_t""yes" 1>&6
6661 echo "$ac_t""no" 1>&6
6666 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6667 echo "configure:6668: checking for --${enablestring:-enable}-propsheet" >&5
6669 # Check whether --enable-propsheet or --disable-propsheet was given.
6670 if test "${enable_propsheet+set}" = set; then
6671 enableval
="$enable_propsheet"
6673 if test "$enableval" = yes; then
6674 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6676 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6681 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6682 if test "x$LINE" != x
; then
6683 eval "DEFAULT_$LINE"
6688 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6693 eval "$ac_cv_use_propsheet"
6694 if test "$no_cache" != 1; then
6695 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6698 if test "$wxUSE_PROPSHEET" = yes; then
6699 echo "$ac_t""yes" 1>&6
6701 echo "$ac_t""no" 1>&6
6706 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6707 echo "configure:6708: checking for --${enablestring:-enable}-radiobox" >&5
6709 # Check whether --enable-radiobox or --disable-radiobox was given.
6710 if test "${enable_radiobox+set}" = set; then
6711 enableval
="$enable_radiobox"
6713 if test "$enableval" = yes; then
6714 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6716 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6721 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6722 if test "x$LINE" != x
; then
6723 eval "DEFAULT_$LINE"
6728 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6733 eval "$ac_cv_use_radiobox"
6734 if test "$no_cache" != 1; then
6735 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6738 if test "$wxUSE_RADIOBOX" = yes; then
6739 echo "$ac_t""yes" 1>&6
6741 echo "$ac_t""no" 1>&6
6746 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6747 echo "configure:6748: checking for --${enablestring:-enable}-radiobtn" >&5
6749 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6750 if test "${enable_radiobtn+set}" = set; then
6751 enableval
="$enable_radiobtn"
6753 if test "$enableval" = yes; then
6754 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6756 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6761 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6762 if test "x$LINE" != x
; then
6763 eval "DEFAULT_$LINE"
6768 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6773 eval "$ac_cv_use_radiobtn"
6774 if test "$no_cache" != 1; then
6775 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6778 if test "$wxUSE_RADIOBTN" = yes; then
6779 echo "$ac_t""yes" 1>&6
6781 echo "$ac_t""no" 1>&6
6786 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6787 echo "configure:6788: checking for --${enablestring:-enable}-sash" >&5
6789 # Check whether --enable-sash or --disable-sash was given.
6790 if test "${enable_sash+set}" = set; then
6791 enableval
="$enable_sash"
6793 if test "$enableval" = yes; then
6794 ac_cv_use_sash
='wxUSE_SASH=yes'
6796 ac_cv_use_sash
='wxUSE_SASH=no'
6801 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6802 if test "x$LINE" != x
; then
6803 eval "DEFAULT_$LINE"
6808 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6813 eval "$ac_cv_use_sash"
6814 if test "$no_cache" != 1; then
6815 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6818 if test "$wxUSE_SASH" = yes; then
6819 echo "$ac_t""yes" 1>&6
6821 echo "$ac_t""no" 1>&6
6826 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6827 echo "configure:6828: checking for --${enablestring:-enable}-scrollbar" >&5
6829 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6830 if test "${enable_scrollbar+set}" = set; then
6831 enableval
="$enable_scrollbar"
6833 if test "$enableval" = yes; then
6834 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6836 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6841 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6842 if test "x$LINE" != x
; then
6843 eval "DEFAULT_$LINE"
6848 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6853 eval "$ac_cv_use_scrollbar"
6854 if test "$no_cache" != 1; then
6855 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6858 if test "$wxUSE_SCROLLBAR" = yes; then
6859 echo "$ac_t""yes" 1>&6
6861 echo "$ac_t""no" 1>&6
6866 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6867 echo "configure:6868: checking for --${enablestring:-enable}-slider" >&5
6869 # Check whether --enable-slider or --disable-slider was given.
6870 if test "${enable_slider+set}" = set; then
6871 enableval
="$enable_slider"
6873 if test "$enableval" = yes; then
6874 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6876 ac_cv_use_slider
='wxUSE_SLIDER=no'
6881 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6882 if test "x$LINE" != x
; then
6883 eval "DEFAULT_$LINE"
6888 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6893 eval "$ac_cv_use_slider"
6894 if test "$no_cache" != 1; then
6895 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6898 if test "$wxUSE_SLIDER" = yes; then
6899 echo "$ac_t""yes" 1>&6
6901 echo "$ac_t""no" 1>&6
6906 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6907 echo "configure:6908: checking for --${enablestring:-enable}-spinbtn" >&5
6909 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6910 if test "${enable_spinbtn+set}" = set; then
6911 enableval
="$enable_spinbtn"
6913 if test "$enableval" = yes; then
6914 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6916 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6921 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x
; then
6923 eval "DEFAULT_$LINE"
6928 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6933 eval "$ac_cv_use_spinbtn"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6938 if test "$wxUSE_SPINBTN" = yes; then
6939 echo "$ac_t""yes" 1>&6
6941 echo "$ac_t""no" 1>&6
6946 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6947 echo "configure:6948: checking for --${enablestring:-enable}-spinctrl" >&5
6949 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6950 if test "${enable_spinctrl+set}" = set; then
6951 enableval
="$enable_spinctrl"
6953 if test "$enableval" = yes; then
6954 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6956 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6961 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6962 if test "x$LINE" != x
; then
6963 eval "DEFAULT_$LINE"
6968 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6973 eval "$ac_cv_use_spinctrl"
6974 if test "$no_cache" != 1; then
6975 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6978 if test "$wxUSE_SPINCTRL" = yes; then
6979 echo "$ac_t""yes" 1>&6
6981 echo "$ac_t""no" 1>&6
6986 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6987 echo "configure:6988: checking for --${enablestring:-enable}-splitter" >&5
6989 # Check whether --enable-splitter or --disable-splitter was given.
6990 if test "${enable_splitter+set}" = set; then
6991 enableval
="$enable_splitter"
6993 if test "$enableval" = yes; then
6994 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6996 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
7001 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x
; then
7003 eval "DEFAULT_$LINE"
7008 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
7013 eval "$ac_cv_use_splitter"
7014 if test "$no_cache" != 1; then
7015 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
7018 if test "$wxUSE_SPLITTER" = yes; then
7019 echo "$ac_t""yes" 1>&6
7021 echo "$ac_t""no" 1>&6
7026 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
7027 echo "configure:7028: checking for --${enablestring:-enable}-statbmp" >&5
7029 # Check whether --enable-statbmp or --disable-statbmp was given.
7030 if test "${enable_statbmp+set}" = set; then
7031 enableval
="$enable_statbmp"
7033 if test "$enableval" = yes; then
7034 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
7036 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
7041 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x
; then
7043 eval "DEFAULT_$LINE"
7048 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
7053 eval "$ac_cv_use_statbmp"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
7058 if test "$wxUSE_STATBMP" = yes; then
7059 echo "$ac_t""yes" 1>&6
7061 echo "$ac_t""no" 1>&6
7066 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
7067 echo "configure:7068: checking for --${enablestring:-enable}-statbox" >&5
7069 # Check whether --enable-statbox or --disable-statbox was given.
7070 if test "${enable_statbox+set}" = set; then
7071 enableval
="$enable_statbox"
7073 if test "$enableval" = yes; then
7074 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
7076 ac_cv_use_statbox
='wxUSE_STATBOX=no'
7081 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
7082 if test "x$LINE" != x
; then
7083 eval "DEFAULT_$LINE"
7088 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7093 eval "$ac_cv_use_statbox"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7098 if test "$wxUSE_STATBOX" = yes; then
7099 echo "$ac_t""yes" 1>&6
7101 echo "$ac_t""no" 1>&6
7106 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7107 echo "configure:7108: checking for --${enablestring:-enable}-statline" >&5
7109 # Check whether --enable-statline or --disable-statline was given.
7110 if test "${enable_statline+set}" = set; then
7111 enableval
="$enable_statline"
7113 if test "$enableval" = yes; then
7114 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7116 ac_cv_use_statline
='wxUSE_STATLINE=no'
7121 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7122 if test "x$LINE" != x
; then
7123 eval "DEFAULT_$LINE"
7128 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7133 eval "$ac_cv_use_statline"
7134 if test "$no_cache" != 1; then
7135 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7138 if test "$wxUSE_STATLINE" = yes; then
7139 echo "$ac_t""yes" 1>&6
7141 echo "$ac_t""no" 1>&6
7146 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7147 echo "configure:7148: checking for --${enablestring:-enable}-stattext" >&5
7149 # Check whether --enable-stattext or --disable-stattext was given.
7150 if test "${enable_stattext+set}" = set; then
7151 enableval
="$enable_stattext"
7153 if test "$enableval" = yes; then
7154 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7156 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7161 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x
; then
7163 eval "DEFAULT_$LINE"
7168 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7173 eval "$ac_cv_use_stattext"
7174 if test "$no_cache" != 1; then
7175 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7178 if test "$wxUSE_STATTEXT" = yes; then
7179 echo "$ac_t""yes" 1>&6
7181 echo "$ac_t""no" 1>&6
7186 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7187 echo "configure:7188: checking for --${enablestring:-enable}-statusbar" >&5
7189 # Check whether --enable-statusbar or --disable-statusbar was given.
7190 if test "${enable_statusbar+set}" = set; then
7191 enableval
="$enable_statusbar"
7193 if test "$enableval" = yes; then
7194 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7196 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7201 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7202 if test "x$LINE" != x
; then
7203 eval "DEFAULT_$LINE"
7208 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7213 eval "$ac_cv_use_statusbar"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7218 if test "$wxUSE_STATUSBAR" = yes; then
7219 echo "$ac_t""yes" 1>&6
7221 echo "$ac_t""no" 1>&6
7226 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7227 echo "configure:7228: checking for --${enablestring:-enable}-tabdialog" >&5
7229 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7230 if test "${enable_tabdialog+set}" = set; then
7231 enableval
="$enable_tabdialog"
7233 if test "$enableval" = yes; then
7234 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7236 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7241 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7242 if test "x$LINE" != x
; then
7243 eval "DEFAULT_$LINE"
7248 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7253 eval "$ac_cv_use_tabdialog"
7254 if test "$no_cache" != 1; then
7255 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7258 if test "$wxUSE_TABDIALOG" = yes; then
7259 echo "$ac_t""yes" 1>&6
7261 echo "$ac_t""no" 1>&6
7266 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7267 echo "configure:7268: checking for --${enablestring:-enable}-textctrl" >&5
7269 # Check whether --enable-textctrl or --disable-textctrl was given.
7270 if test "${enable_textctrl+set}" = set; then
7271 enableval
="$enable_textctrl"
7273 if test "$enableval" = yes; then
7274 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7276 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7281 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7282 if test "x$LINE" != x
; then
7283 eval "DEFAULT_$LINE"
7288 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7293 eval "$ac_cv_use_textctrl"
7294 if test "$no_cache" != 1; then
7295 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7298 if test "$wxUSE_TEXTCTRL" = yes; then
7299 echo "$ac_t""yes" 1>&6
7301 echo "$ac_t""no" 1>&6
7306 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7307 echo "configure:7308: checking for --${enablestring:-enable}-togglebtn" >&5
7309 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7310 if test "${enable_togglebtn+set}" = set; then
7311 enableval
="$enable_togglebtn"
7313 if test "$enableval" = yes; then
7314 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7316 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7321 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7322 if test "x$LINE" != x
; then
7323 eval "DEFAULT_$LINE"
7328 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7333 eval "$ac_cv_use_togglebtn"
7334 if test "$no_cache" != 1; then
7335 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7338 if test "$wxUSE_TOGGLEBTN" = yes; then
7339 echo "$ac_t""yes" 1>&6
7341 echo "$ac_t""no" 1>&6
7346 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7347 echo "configure:7348: checking for --${enablestring:-enable}-toolbar" >&5
7349 # Check whether --enable-toolbar or --disable-toolbar was given.
7350 if test "${enable_toolbar+set}" = set; then
7351 enableval
="$enable_toolbar"
7353 if test "$enableval" = yes; then
7354 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7356 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7361 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7362 if test "x$LINE" != x
; then
7363 eval "DEFAULT_$LINE"
7368 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7373 eval "$ac_cv_use_toolbar"
7374 if test "$no_cache" != 1; then
7375 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7378 if test "$wxUSE_TOOLBAR" = yes; then
7379 echo "$ac_t""yes" 1>&6
7381 echo "$ac_t""no" 1>&6
7386 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7387 echo "configure:7388: checking for --${enablestring:-enable}-tbarnative" >&5
7389 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7390 if test "${enable_tbarnative+set}" = set; then
7391 enableval
="$enable_tbarnative"
7393 if test "$enableval" = yes; then
7394 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7396 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7401 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7402 if test "x$LINE" != x
; then
7403 eval "DEFAULT_$LINE"
7408 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7413 eval "$ac_cv_use_tbarnative"
7414 if test "$no_cache" != 1; then
7415 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7418 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7419 echo "$ac_t""yes" 1>&6
7421 echo "$ac_t""no" 1>&6
7426 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7427 echo "configure:7428: checking for --${enablestring:-enable}-tbarsmpl" >&5
7429 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7430 if test "${enable_tbarsmpl+set}" = set; then
7431 enableval
="$enable_tbarsmpl"
7433 if test "$enableval" = yes; then
7434 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7436 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7441 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7442 if test "x$LINE" != x
; then
7443 eval "DEFAULT_$LINE"
7448 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7453 eval "$ac_cv_use_tbarsmpl"
7454 if test "$no_cache" != 1; then
7455 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7458 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7459 echo "$ac_t""yes" 1>&6
7461 echo "$ac_t""no" 1>&6
7466 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7467 echo "configure:7468: checking for --${enablestring:-enable}-treectrl" >&5
7469 # Check whether --enable-treectrl or --disable-treectrl was given.
7470 if test "${enable_treectrl+set}" = set; then
7471 enableval
="$enable_treectrl"
7473 if test "$enableval" = yes; then
7474 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7476 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7481 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7482 if test "x$LINE" != x
; then
7483 eval "DEFAULT_$LINE"
7488 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7493 eval "$ac_cv_use_treectrl"
7494 if test "$no_cache" != 1; then
7495 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7498 if test "$wxUSE_TREECTRL" = yes; then
7499 echo "$ac_t""yes" 1>&6
7501 echo "$ac_t""no" 1>&6
7506 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7507 echo "configure:7508: checking for --${enablestring:-enable}-tipwindow" >&5
7509 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7510 if test "${enable_tipwindow+set}" = set; then
7511 enableval
="$enable_tipwindow"
7513 if test "$enableval" = yes; then
7514 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7516 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7521 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x
; then
7523 eval "DEFAULT_$LINE"
7528 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7533 eval "$ac_cv_use_tipwindow"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_TIPWINDOW" = yes; then
7539 echo "$ac_t""yes" 1>&6
7541 echo "$ac_t""no" 1>&6
7546 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7547 echo "configure:7548: checking for --${enablestring:-enable}-popupwin" >&5
7549 # Check whether --enable-popupwin or --disable-popupwin was given.
7550 if test "${enable_popupwin+set}" = set; then
7551 enableval
="$enable_popupwin"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7556 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7561 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x
; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7573 eval "$ac_cv_use_popupwin"
7574 if test "$no_cache" != 1; then
7575 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7578 if test "$wxUSE_POPUPWIN" = yes; then
7579 echo "$ac_t""yes" 1>&6
7581 echo "$ac_t""no" 1>&6
7588 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7589 echo "configure:7590: checking for --${enablestring:-enable}-commondlg" >&5
7591 # Check whether --enable-commondlg or --disable-commondlg was given.
7592 if test "${enable_commondlg+set}" = set; then
7593 enableval
="$enable_commondlg"
7595 if test "$enableval" = yes; then
7596 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7598 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7603 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7604 if test "x$LINE" != x
; then
7605 eval "DEFAULT_$LINE"
7610 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7615 eval "$ac_cv_use_commondlg"
7616 if test "$no_cache" != 1; then
7617 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7620 if test "$wxUSE_COMMONDLGS" = yes; then
7621 echo "$ac_t""yes" 1>&6
7623 echo "$ac_t""no" 1>&6
7628 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7629 echo "configure:7630: checking for --${enablestring:-enable}-choicedlg" >&5
7631 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7632 if test "${enable_choicedlg+set}" = set; then
7633 enableval
="$enable_choicedlg"
7635 if test "$enableval" = yes; then
7636 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7638 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7643 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x
; then
7645 eval "DEFAULT_$LINE"
7650 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7655 eval "$ac_cv_use_choicedlg"
7656 if test "$no_cache" != 1; then
7657 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7660 if test "$wxUSE_CHOICEDLG" = yes; then
7661 echo "$ac_t""yes" 1>&6
7663 echo "$ac_t""no" 1>&6
7668 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7669 echo "configure:7670: checking for --${enablestring:-enable}-coldlg" >&5
7671 # Check whether --enable-coldlg or --disable-coldlg was given.
7672 if test "${enable_coldlg+set}" = set; then
7673 enableval
="$enable_coldlg"
7675 if test "$enableval" = yes; then
7676 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7678 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7683 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7684 if test "x$LINE" != x
; then
7685 eval "DEFAULT_$LINE"
7690 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7695 eval "$ac_cv_use_coldlg"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7700 if test "$wxUSE_COLOURDLG" = yes; then
7701 echo "$ac_t""yes" 1>&6
7703 echo "$ac_t""no" 1>&6
7708 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7709 echo "configure:7710: checking for --${enablestring:-enable}-filedlg" >&5
7711 # Check whether --enable-filedlg or --disable-filedlg was given.
7712 if test "${enable_filedlg+set}" = set; then
7713 enableval
="$enable_filedlg"
7715 if test "$enableval" = yes; then
7716 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7718 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7723 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x
; then
7725 eval "DEFAULT_$LINE"
7730 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7735 eval "$ac_cv_use_filedlg"
7736 if test "$no_cache" != 1; then
7737 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7740 if test "$wxUSE_FILEDLG" = yes; then
7741 echo "$ac_t""yes" 1>&6
7743 echo "$ac_t""no" 1>&6
7748 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7749 echo "configure:7750: checking for --${enablestring:-enable}-finddlg" >&5
7751 # Check whether --enable-finddlg or --disable-finddlg was given.
7752 if test "${enable_finddlg+set}" = set; then
7753 enableval
="$enable_finddlg"
7755 if test "$enableval" = yes; then
7756 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7758 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7763 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x
; then
7765 eval "DEFAULT_$LINE"
7770 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7775 eval "$ac_cv_use_finddlg"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7780 if test "$wxUSE_FINDREPLDLG" = yes; then
7781 echo "$ac_t""yes" 1>&6
7783 echo "$ac_t""no" 1>&6
7788 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7789 echo "configure:7790: checking for --${enablestring:-enable}-fontdlg" >&5
7791 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7792 if test "${enable_fontdlg+set}" = set; then
7793 enableval
="$enable_fontdlg"
7795 if test "$enableval" = yes; then
7796 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7798 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7803 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7804 if test "x$LINE" != x
; then
7805 eval "DEFAULT_$LINE"
7810 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7815 eval "$ac_cv_use_fontdlg"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7820 if test "$wxUSE_FONTDLG" = yes; then
7821 echo "$ac_t""yes" 1>&6
7823 echo "$ac_t""no" 1>&6
7828 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7829 echo "configure:7830: checking for --${enablestring:-enable}-dirdlg" >&5
7831 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7832 if test "${enable_dirdlg+set}" = set; then
7833 enableval
="$enable_dirdlg"
7835 if test "$enableval" = yes; then
7836 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7838 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7843 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7844 if test "x$LINE" != x
; then
7845 eval "DEFAULT_$LINE"
7850 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7855 eval "$ac_cv_use_dirdlg"
7856 if test "$no_cache" != 1; then
7857 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7860 if test "$wxUSE_DIRDLG" = yes; then
7861 echo "$ac_t""yes" 1>&6
7863 echo "$ac_t""no" 1>&6
7868 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7869 echo "configure:7870: checking for --${enablestring:-enable}-msgdlg" >&5
7871 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7872 if test "${enable_msgdlg+set}" = set; then
7873 enableval
="$enable_msgdlg"
7875 if test "$enableval" = yes; then
7876 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7878 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7883 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7884 if test "x$LINE" != x
; then
7885 eval "DEFAULT_$LINE"
7890 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7895 eval "$ac_cv_use_msgdlg"
7896 if test "$no_cache" != 1; then
7897 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7900 if test "$wxUSE_MSGDLG" = yes; then
7901 echo "$ac_t""yes" 1>&6
7903 echo "$ac_t""no" 1>&6
7908 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7909 echo "configure:7910: checking for --${enablestring:-enable}-numberdlg" >&5
7911 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7912 if test "${enable_numberdlg+set}" = set; then
7913 enableval
="$enable_numberdlg"
7915 if test "$enableval" = yes; then
7916 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7918 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7923 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7924 if test "x$LINE" != x
; then
7925 eval "DEFAULT_$LINE"
7930 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7935 eval "$ac_cv_use_numberdlg"
7936 if test "$no_cache" != 1; then
7937 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7940 if test "$wxUSE_NUMBERDLG" = yes; then
7941 echo "$ac_t""yes" 1>&6
7943 echo "$ac_t""no" 1>&6
7948 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7949 echo "configure:7950: checking for --${enablestring:-enable}-splash" >&5
7951 # Check whether --enable-splash or --disable-splash was given.
7952 if test "${enable_splash+set}" = set; then
7953 enableval
="$enable_splash"
7955 if test "$enableval" = yes; then
7956 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7958 ac_cv_use_splash
='wxUSE_SPLASH=no'
7963 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7964 if test "x$LINE" != x
; then
7965 eval "DEFAULT_$LINE"
7970 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7975 eval "$ac_cv_use_splash"
7976 if test "$no_cache" != 1; then
7977 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7980 if test "$wxUSE_SPLASH" = yes; then
7981 echo "$ac_t""yes" 1>&6
7983 echo "$ac_t""no" 1>&6
7988 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7989 echo "configure:7990: checking for --${enablestring:-enable}-textdlg" >&5
7991 # Check whether --enable-textdlg or --disable-textdlg was given.
7992 if test "${enable_textdlg+set}" = set; then
7993 enableval
="$enable_textdlg"
7995 if test "$enableval" = yes; then
7996 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7998 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
8003 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
8004 if test "x$LINE" != x
; then
8005 eval "DEFAULT_$LINE"
8010 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
8015 eval "$ac_cv_use_textdlg"
8016 if test "$no_cache" != 1; then
8017 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
8020 if test "$wxUSE_TEXTDLG" = yes; then
8021 echo "$ac_t""yes" 1>&6
8023 echo "$ac_t""no" 1>&6
8028 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
8029 echo "configure:8030: checking for --${enablestring:-enable}-tipdlg" >&5
8031 # Check whether --enable-tipdlg or --disable-tipdlg was given.
8032 if test "${enable_tipdlg+set}" = set; then
8033 enableval
="$enable_tipdlg"
8035 if test "$enableval" = yes; then
8036 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
8038 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
8043 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
8044 if test "x$LINE" != x
; then
8045 eval "DEFAULT_$LINE"
8050 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
8055 eval "$ac_cv_use_tipdlg"
8056 if test "$no_cache" != 1; then
8057 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
8060 if test "$wxUSE_STARTUP_TIPS" = yes; then
8061 echo "$ac_t""yes" 1>&6
8063 echo "$ac_t""no" 1>&6
8068 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
8069 echo "configure:8070: checking for --${enablestring:-enable}-progressdlg" >&5
8071 # Check whether --enable-progressdlg or --disable-progressdlg was given.
8072 if test "${enable_progressdlg+set}" = set; then
8073 enableval
="$enable_progressdlg"
8075 if test "$enableval" = yes; then
8076 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
8078 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
8083 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
8084 if test "x$LINE" != x
; then
8085 eval "DEFAULT_$LINE"
8090 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8095 eval "$ac_cv_use_progressdlg"
8096 if test "$no_cache" != 1; then
8097 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8100 if test "$wxUSE_PROGRESSDLG" = yes; then
8101 echo "$ac_t""yes" 1>&6
8103 echo "$ac_t""no" 1>&6
8108 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8109 echo "configure:8110: checking for --${enablestring:-enable}-wizarddlg" >&5
8111 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8112 if test "${enable_wizarddlg+set}" = set; then
8113 enableval
="$enable_wizarddlg"
8115 if test "$enableval" = yes; then
8116 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8118 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8123 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8124 if test "x$LINE" != x
; then
8125 eval "DEFAULT_$LINE"
8130 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8135 eval "$ac_cv_use_wizarddlg"
8136 if test "$no_cache" != 1; then
8137 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8140 if test "$wxUSE_WIZARDDLG" = yes; then
8141 echo "$ac_t""yes" 1>&6
8143 echo "$ac_t""no" 1>&6
8150 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8151 echo "configure:8152: checking for --${enablestring:-enable}-menus" >&5
8153 # Check whether --enable-menus or --disable-menus was given.
8154 if test "${enable_menus+set}" = set; then
8155 enableval
="$enable_menus"
8157 if test "$enableval" = yes; then
8158 ac_cv_use_menus
='wxUSE_MENUS=yes'
8160 ac_cv_use_menus
='wxUSE_MENUS=no'
8165 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8166 if test "x$LINE" != x
; then
8167 eval "DEFAULT_$LINE"
8172 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8177 eval "$ac_cv_use_menus"
8178 if test "$no_cache" != 1; then
8179 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8182 if test "$wxUSE_MENUS" = yes; then
8183 echo "$ac_t""yes" 1>&6
8185 echo "$ac_t""no" 1>&6
8190 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8191 echo "configure:8192: checking for --${enablestring:-enable}-miniframe" >&5
8193 # Check whether --enable-miniframe or --disable-miniframe was given.
8194 if test "${enable_miniframe+set}" = set; then
8195 enableval
="$enable_miniframe"
8197 if test "$enableval" = yes; then
8198 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8200 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8205 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8206 if test "x$LINE" != x
; then
8207 eval "DEFAULT_$LINE"
8212 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8217 eval "$ac_cv_use_miniframe"
8218 if test "$no_cache" != 1; then
8219 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8222 if test "$wxUSE_MINIFRAME" = yes; then
8223 echo "$ac_t""yes" 1>&6
8225 echo "$ac_t""no" 1>&6
8230 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8231 echo "configure:8232: checking for --${enablestring:-enable}-tooltips" >&5
8233 # Check whether --enable-tooltips or --disable-tooltips was given.
8234 if test "${enable_tooltips+set}" = set; then
8235 enableval
="$enable_tooltips"
8237 if test "$enableval" = yes; then
8238 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8240 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8245 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x
; then
8247 eval "DEFAULT_$LINE"
8252 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8257 eval "$ac_cv_use_tooltips"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8262 if test "$wxUSE_TOOLTIPS" = yes; then
8263 echo "$ac_t""yes" 1>&6
8265 echo "$ac_t""no" 1>&6
8270 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8271 echo "configure:8272: checking for --${enablestring:-enable}-splines" >&5
8273 # Check whether --enable-splines or --disable-splines was given.
8274 if test "${enable_splines+set}" = set; then
8275 enableval
="$enable_splines"
8277 if test "$enableval" = yes; then
8278 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8280 ac_cv_use_splines
='wxUSE_SPLINES=no'
8285 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8286 if test "x$LINE" != x
; then
8287 eval "DEFAULT_$LINE"
8292 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8297 eval "$ac_cv_use_splines"
8298 if test "$no_cache" != 1; then
8299 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8302 if test "$wxUSE_SPLINES" = yes; then
8303 echo "$ac_t""yes" 1>&6
8305 echo "$ac_t""no" 1>&6
8310 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8311 echo "configure:8312: checking for --${enablestring:-enable}-validators" >&5
8313 # Check whether --enable-validators or --disable-validators was given.
8314 if test "${enable_validators+set}" = set; then
8315 enableval
="$enable_validators"
8317 if test "$enableval" = yes; then
8318 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8320 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8325 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8326 if test "x$LINE" != x
; then
8327 eval "DEFAULT_$LINE"
8332 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8337 eval "$ac_cv_use_validators"
8338 if test "$no_cache" != 1; then
8339 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8342 if test "$wxUSE_VALIDATORS" = yes; then
8343 echo "$ac_t""yes" 1>&6
8345 echo "$ac_t""no" 1>&6
8350 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8351 echo "configure:8352: checking for --${enablestring:-enable}-busyinfo" >&5
8353 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8354 if test "${enable_busyinfo+set}" = set; then
8355 enableval
="$enable_busyinfo"
8357 if test "$enableval" = yes; then
8358 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8360 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8365 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8366 if test "x$LINE" != x
; then
8367 eval "DEFAULT_$LINE"
8372 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8377 eval "$ac_cv_use_busyinfo"
8378 if test "$no_cache" != 1; then
8379 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8382 if test "$wxUSE_BUSYINFO" = yes; then
8383 echo "$ac_t""yes" 1>&6
8385 echo "$ac_t""no" 1>&6
8390 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8391 echo "configure:8392: checking for --${enablestring:-enable}-joystick" >&5
8393 # Check whether --enable-joystick or --disable-joystick was given.
8394 if test "${enable_joystick+set}" = set; then
8395 enableval
="$enable_joystick"
8397 if test "$enableval" = yes; then
8398 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8400 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8405 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x
; then
8407 eval "DEFAULT_$LINE"
8412 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8417 eval "$ac_cv_use_joystick"
8418 if test "$no_cache" != 1; then
8419 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8422 if test "$wxUSE_JOYSTICK" = yes; then
8423 echo "$ac_t""yes" 1>&6
8425 echo "$ac_t""no" 1>&6
8430 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8431 echo "configure:8432: checking for --${enablestring:-enable}-metafile" >&5
8433 # Check whether --enable-metafile or --disable-metafile was given.
8434 if test "${enable_metafile+set}" = set; then
8435 enableval
="$enable_metafile"
8437 if test "$enableval" = yes; then
8438 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8440 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8445 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x
; then
8447 eval "DEFAULT_$LINE"
8452 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8457 eval "$ac_cv_use_metafile"
8458 if test "$no_cache" != 1; then
8459 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8462 if test "$wxUSE_METAFILE" = yes; then
8463 echo "$ac_t""yes" 1>&6
8465 echo "$ac_t""no" 1>&6
8470 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8471 echo "configure:8472: checking for --${enablestring:-enable}-dragimage" >&5
8473 # Check whether --enable-dragimage or --disable-dragimage was given.
8474 if test "${enable_dragimage+set}" = set; then
8475 enableval
="$enable_dragimage"
8477 if test "$enableval" = yes; then
8478 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8480 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8485 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x
; then
8487 eval "DEFAULT_$LINE"
8492 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8497 eval "$ac_cv_use_dragimage"
8498 if test "$no_cache" != 1; then
8499 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8502 if test "$wxUSE_DRAGIMAGE" = yes; then
8503 echo "$ac_t""yes" 1>&6
8505 echo "$ac_t""no" 1>&6
8512 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8513 echo "configure:8514: checking for --${enablestring:-enable}-palette" >&5
8515 # Check whether --enable-palette or --disable-palette was given.
8516 if test "${enable_palette+set}" = set; then
8517 enableval
="$enable_palette"
8519 if test "$enableval" = yes; then
8520 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8522 ac_cv_use_palette
='wxUSE_PALETTE=no'
8527 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8528 if test "x$LINE" != x
; then
8529 eval "DEFAULT_$LINE"
8534 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8539 eval "$ac_cv_use_palette"
8540 if test "$no_cache" != 1; then
8541 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8544 if test "$wxUSE_PALETTE" = yes; then
8545 echo "$ac_t""yes" 1>&6
8547 echo "$ac_t""no" 1>&6
8552 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8553 echo "configure:8554: checking for --${enablestring:-enable}-image" >&5
8555 # Check whether --enable-image or --disable-image was given.
8556 if test "${enable_image+set}" = set; then
8557 enableval
="$enable_image"
8559 if test "$enableval" = yes; then
8560 ac_cv_use_image
='wxUSE_IMAGE=yes'
8562 ac_cv_use_image
='wxUSE_IMAGE=no'
8567 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8568 if test "x$LINE" != x
; then
8569 eval "DEFAULT_$LINE"
8574 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8579 eval "$ac_cv_use_image"
8580 if test "$no_cache" != 1; then
8581 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8584 if test "$wxUSE_IMAGE" = yes; then
8585 echo "$ac_t""yes" 1>&6
8587 echo "$ac_t""no" 1>&6
8592 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8593 echo "configure:8594: checking for --${enablestring:-enable}-gif" >&5
8595 # Check whether --enable-gif or --disable-gif was given.
8596 if test "${enable_gif+set}" = set; then
8597 enableval
="$enable_gif"
8599 if test "$enableval" = yes; then
8600 ac_cv_use_gif
='wxUSE_GIF=yes'
8602 ac_cv_use_gif
='wxUSE_GIF=no'
8607 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8608 if test "x$LINE" != x
; then
8609 eval "DEFAULT_$LINE"
8614 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8619 eval "$ac_cv_use_gif"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8624 if test "$wxUSE_GIF" = yes; then
8625 echo "$ac_t""yes" 1>&6
8627 echo "$ac_t""no" 1>&6
8632 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8633 echo "configure:8634: checking for --${enablestring:-enable}-pcx" >&5
8635 # Check whether --enable-pcx or --disable-pcx was given.
8636 if test "${enable_pcx+set}" = set; then
8637 enableval
="$enable_pcx"
8639 if test "$enableval" = yes; then
8640 ac_cv_use_pcx
='wxUSE_PCX=yes'
8642 ac_cv_use_pcx
='wxUSE_PCX=no'
8647 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8648 if test "x$LINE" != x
; then
8649 eval "DEFAULT_$LINE"
8654 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8659 eval "$ac_cv_use_pcx"
8660 if test "$no_cache" != 1; then
8661 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8664 if test "$wxUSE_PCX" = yes; then
8665 echo "$ac_t""yes" 1>&6
8667 echo "$ac_t""no" 1>&6
8672 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8673 echo "configure:8674: checking for --${enablestring:-enable}-iff" >&5
8675 # Check whether --enable-iff or --disable-iff was given.
8676 if test "${enable_iff+set}" = set; then
8677 enableval
="$enable_iff"
8679 if test "$enableval" = yes; then
8680 ac_cv_use_iff
='wxUSE_IFF=yes'
8682 ac_cv_use_iff
='wxUSE_IFF=no'
8687 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8688 if test "x$LINE" != x
; then
8689 eval "DEFAULT_$LINE"
8694 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8699 eval "$ac_cv_use_iff"
8700 if test "$no_cache" != 1; then
8701 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8704 if test "$wxUSE_IFF" = yes; then
8705 echo "$ac_t""yes" 1>&6
8707 echo "$ac_t""no" 1>&6
8712 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8713 echo "configure:8714: checking for --${enablestring:-enable}-pnm" >&5
8715 # Check whether --enable-pnm or --disable-pnm was given.
8716 if test "${enable_pnm+set}" = set; then
8717 enableval
="$enable_pnm"
8719 if test "$enableval" = yes; then
8720 ac_cv_use_pnm
='wxUSE_PNM=yes'
8722 ac_cv_use_pnm
='wxUSE_PNM=no'
8727 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8728 if test "x$LINE" != x
; then
8729 eval "DEFAULT_$LINE"
8734 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8739 eval "$ac_cv_use_pnm"
8740 if test "$no_cache" != 1; then
8741 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8744 if test "$wxUSE_PNM" = yes; then
8745 echo "$ac_t""yes" 1>&6
8747 echo "$ac_t""no" 1>&6
8752 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8753 echo "configure:8754: checking for --${enablestring:-enable}-xpm" >&5
8755 # Check whether --enable-xpm or --disable-xpm was given.
8756 if test "${enable_xpm+set}" = set; then
8757 enableval
="$enable_xpm"
8759 if test "$enableval" = yes; then
8760 ac_cv_use_xpm
='wxUSE_XPM=yes'
8762 ac_cv_use_xpm
='wxUSE_XPM=no'
8767 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x
; then
8769 eval "DEFAULT_$LINE"
8774 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8779 eval "$ac_cv_use_xpm"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8784 if test "$wxUSE_XPM" = yes; then
8785 echo "$ac_t""yes" 1>&6
8787 echo "$ac_t""no" 1>&6
8792 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8793 echo "configure:8794: checking for --${enablestring:-enable}-ico_cur" >&5
8795 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8796 if test "${enable_ico_cur+set}" = set; then
8797 enableval
="$enable_ico_cur"
8799 if test "$enableval" = yes; then
8800 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8802 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8807 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8808 if test "x$LINE" != x
; then
8809 eval "DEFAULT_$LINE"
8814 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8819 eval "$ac_cv_use_ico_cur"
8820 if test "$no_cache" != 1; then
8821 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8824 if test "$wxUSE_ICO_CUR" = yes; then
8825 echo "$ac_t""yes" 1>&6
8827 echo "$ac_t""no" 1>&6
8834 *-pc-os2_emx | *-pc-os2-emx )
8846 echo "saving argument cache $wx_arg_cache_file"
8847 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8851 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8852 echo "configure:8853: checking for toolkit" >&5
8854 # In Wine, we need to default to MSW, not GTK or MOTIF
8855 if test "$wxUSE_WINE" = "yes"; then
8856 DEFAULT_DEFAULT_wxUSE_GTK
=0
8857 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8858 DEFAULT_DEFAULT_wxUSE_MSW
=1
8861 if test "$wxUSE_GUI" = "yes"; then
8863 if test "$USE_BEOS" = 1; then
8864 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8867 if test "$TOOLKIT_GIVEN" = 1; then
8868 for toolkit
in `echo $ALL_TOOLKITS`; do
8870 eval "value=\$${var}"
8871 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8874 for toolkit
in `echo $ALL_TOOLKITS`; do
8875 if test "$has_toolkit_in_cache" != 1; then
8876 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8878 var
=DEFAULT_wxUSE_
$toolkit
8880 eval "wxUSE_$toolkit=\$${var}"
8884 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8885 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8886 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8889 *-pc-os2_emx | *-pc-os2-emx )
8890 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8893 case "$NUM_TOOLKITS" in
8897 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8900 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8903 for toolkit
in `echo $ALL_TOOLKITS`; do
8905 eval "value=\$${var}"
8906 if test "x$value" != x
; then
8907 cache_var
=CACHE_
$toolkit
8908 eval "cache=\$${cache_var}"
8909 if test "$cache" = 1; then
8910 echo "$var=$value" >> ${wx_arg_cache_file}
8912 if test "$value" = 1; then
8913 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8914 echo "$ac_t""$toolkit_echo" 1>&6
8919 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8926 if test "$wxUSE_MSW" = 1 ; then
8937 if test "$wxUSE_WINE" = "yes"; then
8944 if test "$wants_win32" = 1 ; then
8947 cat >> confdefs.h
<<\EOF
8951 cat >> confdefs.h
<<\EOF
8955 cat >> confdefs.h
<<\EOF
8956 #define __WINDOWS__ 1
8959 cat >> confdefs.h
<<\EOF
8960 #define __GNUWIN32__ 1
8963 cat >> confdefs.h
<<\EOF
8967 cat >> confdefs.h
<<\EOF
8968 #define WINVER 0x0400
8972 if test "$doesnt_want_win32" = 1 ; then
8977 if test "$USE_UNIX" = 1 ; then
8979 cat >> confdefs.h
<<\EOF
8986 cat > confcache
<<\EOF
8987 # This file is a shell script that caches the results of configure
8988 # tests run on this system so they can be shared between configure
8989 # scripts and configure runs. It is not useful on other systems.
8990 # If it contains results you don't want to keep, you may remove or edit it.
8992 # By default, configure uses ./config.cache as the cache file,
8993 # creating it if it does not exist already. You can give configure
8994 # the --cache-file=FILE option to use a different cache file; that is
8995 # what configure does when it calls configure scripts in
8996 # subdirectories, so they share the cache.
8997 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8998 # config.status only pays attention to the cache file if you give it the
8999 # --recheck option to rerun configure.
9002 # The following way of writing the cache mishandles newlines in values,
9003 # but we know of no workaround that is simple, portable, and efficient.
9004 # So, don't put newlines in cache variables' values.
9005 # Ultrix sh set writes to stderr and can't be redirected directly,
9006 # and sets the high bit in the cache file unless we assign to the vars.
9008 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9010 # `set' does not quote correctly, so add quotes (double-quote substitution
9011 # turns \\\\ into \\, and sed turns \\ into \).
9013 -e "s/'/'\\\\''/g" \
9014 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9017 # `set' quotes correctly as required by POSIX, so do not add quotes.
9018 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9021 if cmp -s $cache_file confcache
; then
9024 if test -w $cache_file; then
9025 echo "updating cache $cache_file"
9026 cat confcache
> $cache_file
9028 echo "not updating unwritable cache $cache_file"
9034 if test "$build" != "$host" ; then
9035 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
9039 RANLIB
=$host_alias-ranlib
9040 DLLTOOL
=$host_alias-dlltool
9041 RESCOMP
=$host_alias-windres
9044 STRIP
=$host_alias-strip
9046 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
9051 # Extract the first word of "gcc", so it can be a program name with args.
9052 set dummy gcc
; ac_word
=$2
9053 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9054 echo "configure:9055: checking for $ac_word" >&5
9055 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9056 echo $ac_n "(cached) $ac_c" 1>&6
9058 if test -n "$CC"; then
9059 ac_cv_prog_CC
="$CC" # Let the user override the test.
9061 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9063 for ac_dir
in $ac_dummy; do
9064 test -z "$ac_dir" && ac_dir
=.
9065 if test -f $ac_dir/$ac_word; then
9074 if test -n "$CC"; then
9075 echo "$ac_t""$CC" 1>&6
9077 echo "$ac_t""no" 1>&6
9080 if test -z "$CC"; then
9081 # Extract the first word of "cc", so it can be a program name with args.
9082 set dummy cc
; ac_word
=$2
9083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9084 echo "configure:9085: checking for $ac_word" >&5
9085 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9086 echo $ac_n "(cached) $ac_c" 1>&6
9088 if test -n "$CC"; then
9089 ac_cv_prog_CC
="$CC" # Let the user override the test.
9091 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9094 for ac_dir
in $ac_dummy; do
9095 test -z "$ac_dir" && ac_dir
=.
9096 if test -f $ac_dir/$ac_word; then
9097 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9098 ac_prog_rejected
=yes
9106 if test $ac_prog_rejected = yes; then
9107 # We found a bogon in the path, so make sure we never use it.
9108 set dummy
$ac_cv_prog_CC
9110 if test $# -gt 0; then
9111 # We chose a different compiler from the bogus one.
9112 # However, it has the same basename, so the bogon will be chosen
9113 # first if we set CC to just the basename; use the full file name.
9115 set dummy
"$ac_dir/$ac_word" "$@"
9123 if test -n "$CC"; then
9124 echo "$ac_t""$CC" 1>&6
9126 echo "$ac_t""no" 1>&6
9129 if test -z "$CC"; then
9130 case "`uname -s`" in
9132 # Extract the first word of "cl", so it can be a program name with args.
9133 set dummy cl
; ac_word
=$2
9134 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9135 echo "configure:9136: checking for $ac_word" >&5
9136 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9137 echo $ac_n "(cached) $ac_c" 1>&6
9139 if test -n "$CC"; then
9140 ac_cv_prog_CC
="$CC" # Let the user override the test.
9142 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9144 for ac_dir
in $ac_dummy; do
9145 test -z "$ac_dir" && ac_dir
=.
9146 if test -f $ac_dir/$ac_word; then
9155 if test -n "$CC"; then
9156 echo "$ac_t""$CC" 1>&6
9158 echo "$ac_t""no" 1>&6
9163 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9166 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9167 echo "configure:9168: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9170 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9171 ac_cpp
='$CPP $CPPFLAGS'
9172 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9173 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9174 cross_compiling
=$ac_cv_prog_cc_cross
9176 cat > conftest.
$ac_ext << EOF
9178 #line 9179 "configure"
9179 #include "confdefs.h"
9183 if { (eval echo configure
:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9184 ac_cv_prog_cc_works
=yes
9185 # If we can't run a trivial program, we are probably using a cross compiler.
9186 if (.
/conftest
; exit) 2>/dev
/null
; then
9187 ac_cv_prog_cc_cross
=no
9189 ac_cv_prog_cc_cross
=yes
9192 echo "configure: failed program was:" >&5
9193 cat conftest.
$ac_ext >&5
9194 ac_cv_prog_cc_works
=no
9198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9199 ac_cpp
='$CPP $CPPFLAGS'
9200 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9201 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9202 cross_compiling
=$ac_cv_prog_cc_cross
9204 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9205 if test $ac_cv_prog_cc_works = no
; then
9206 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9208 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9209 echo "configure:9210: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9210 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9211 cross_compiling
=$ac_cv_prog_cc_cross
9213 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9214 echo "configure:9215: checking whether we are using GNU C" >&5
9215 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9216 echo $ac_n "(cached) $ac_c" 1>&6
9218 cat > conftest.c
<<EOF
9223 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9230 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9232 if test $ac_cv_prog_gcc = yes; then
9238 ac_test_CFLAGS
="${CFLAGS+set}"
9239 ac_save_CFLAGS
="$CFLAGS"
9241 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9242 echo "configure:9243: checking whether ${CC-cc} accepts -g" >&5
9243 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9244 echo $ac_n "(cached) $ac_c" 1>&6
9246 echo 'void f(){}' > conftest.c
9247 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9256 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9257 if test "$ac_test_CFLAGS" = set; then
9258 CFLAGS
="$ac_save_CFLAGS"
9259 elif test $ac_cv_prog_cc_g = yes; then
9260 if test "$GCC" = yes; then
9266 if test "$GCC" = yes; then
9274 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9275 echo "configure:9276: checking how to run the C preprocessor" >&5
9276 # On Suns, sometimes $CPP names a directory.
9277 if test -n "$CPP" && test -d "$CPP"; then
9280 if test -z "$CPP"; then
9281 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9282 echo $ac_n "(cached) $ac_c" 1>&6
9284 # This must be in double quotes, not single quotes, because CPP may get
9285 # substituted into the Makefile and "${CC-cc}" will confuse make.
9287 # On the NeXT, cc -E runs the code through the compiler's parser,
9288 # not just through cpp.
9289 cat > conftest.
$ac_ext <<EOF
9290 #line 9291 "configure"
9291 #include "confdefs.h"
9295 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9296 { (eval echo configure
:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9297 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9298 if test -z "$ac_err"; then
9302 echo "configure: failed program was:" >&5
9303 cat conftest.
$ac_ext >&5
9305 CPP
="${CC-cc} -E -traditional-cpp"
9306 cat > conftest.
$ac_ext <<EOF
9307 #line 9308 "configure"
9308 #include "confdefs.h"
9312 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9313 { (eval echo configure
:9314: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9314 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9315 if test -z "$ac_err"; then
9319 echo "configure: failed program was:" >&5
9320 cat conftest.
$ac_ext >&5
9322 CPP
="${CC-cc} -nologo -E"
9323 cat > conftest.
$ac_ext <<EOF
9324 #line 9325 "configure"
9325 #include "confdefs.h"
9329 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9330 { (eval echo configure
:9331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9331 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9332 if test -z "$ac_err"; then
9336 echo "configure: failed program was:" >&5
9337 cat conftest.
$ac_ext >&5
9346 ac_cv_prog_CPP
="$CPP"
9348 CPP
="$ac_cv_prog_CPP"
9350 ac_cv_prog_CPP
="$CPP"
9352 echo "$ac_t""$CPP" 1>&6
9354 if test $ac_cv_prog_gcc = yes; then
9355 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9356 echo "configure:9357: checking whether ${CC-cc} needs -traditional" >&5
9357 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9358 echo $ac_n "(cached) $ac_c" 1>&6
9360 ac_pattern
="Autoconf.*'x'"
9361 cat > conftest.
$ac_ext <<EOF
9362 #line 9363 "configure"
9363 #include "confdefs.h"
9367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9368 egrep "$ac_pattern" >/dev
/null
2>&1; then
9370 ac_cv_prog_gcc_traditional
=yes
9373 ac_cv_prog_gcc_traditional
=no
9378 if test $ac_cv_prog_gcc_traditional = no
; then
9379 cat > conftest.
$ac_ext <<EOF
9380 #line 9381 "configure"
9381 #include "confdefs.h"
9385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9386 egrep "$ac_pattern" >/dev
/null
2>&1; then
9388 ac_cv_prog_gcc_traditional
=yes
9395 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9396 if test $ac_cv_prog_gcc_traditional = yes; then
9397 CC
="$CC -traditional"
9404 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9405 ac_cpp
='$CXXCPP $CPPFLAGS'
9406 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9407 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9408 cross_compiling
=$ac_cv_prog_cxx_cross
9411 CXXFLAGS
=${CXXFLAGS:=}
9412 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9414 # Extract the first word of "$ac_prog", so it can be a program name with args.
9415 set dummy
$ac_prog; ac_word
=$2
9416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9417 echo "configure:9418: checking for $ac_word" >&5
9418 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9419 echo $ac_n "(cached) $ac_c" 1>&6
9421 if test -n "$CXX"; then
9422 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9424 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9426 for ac_dir
in $ac_dummy; do
9427 test -z "$ac_dir" && ac_dir
=.
9428 if test -f $ac_dir/$ac_word; then
9429 ac_cv_prog_CXX
="$ac_prog"
9436 CXX
="$ac_cv_prog_CXX"
9437 if test -n "$CXX"; then
9438 echo "$ac_t""$CXX" 1>&6
9440 echo "$ac_t""no" 1>&6
9443 test -n "$CXX" && break
9445 test -n "$CXX" || CXX
="gcc"
9448 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9449 echo "configure:9450: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9452 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9453 ac_cpp
='$CXXCPP $CPPFLAGS'
9454 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9455 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9456 cross_compiling
=$ac_cv_prog_cxx_cross
9458 cat > conftest.
$ac_ext << EOF
9460 #line 9461 "configure"
9461 #include "confdefs.h"
9463 int main(){return(0);}
9465 if { (eval echo configure
:9466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9466 ac_cv_prog_cxx_works
=yes
9467 # If we can't run a trivial program, we are probably using a cross compiler.
9468 if (.
/conftest
; exit) 2>/dev
/null
; then
9469 ac_cv_prog_cxx_cross
=no
9471 ac_cv_prog_cxx_cross
=yes
9474 echo "configure: failed program was:" >&5
9475 cat conftest.
$ac_ext >&5
9476 ac_cv_prog_cxx_works
=no
9480 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9481 ac_cpp
='$CXXCPP $CPPFLAGS'
9482 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9483 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9484 cross_compiling
=$ac_cv_prog_cxx_cross
9486 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9487 if test $ac_cv_prog_cxx_works = no
; then
9488 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9490 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9491 echo "configure:9492: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9492 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9493 cross_compiling
=$ac_cv_prog_cxx_cross
9495 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9496 echo "configure:9497: checking whether we are using GNU C++" >&5
9497 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9498 echo $ac_n "(cached) $ac_c" 1>&6
9500 cat > conftest.C
<<EOF
9505 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9506: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9512 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9514 if test $ac_cv_prog_gxx = yes; then
9520 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9521 ac_save_CXXFLAGS
="$CXXFLAGS"
9523 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9524 echo "configure:9525: checking whether ${CXX-g++} accepts -g" >&5
9525 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9526 echo $ac_n "(cached) $ac_c" 1>&6
9528 echo 'void f(){}' > conftest.cc
9529 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9530 ac_cv_prog_cxx_g
=yes
9538 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9539 if test "$ac_test_CXXFLAGS" = set; then
9540 CXXFLAGS
="$ac_save_CXXFLAGS"
9541 elif test $ac_cv_prog_cxx_g = yes; then
9542 if test "$GXX" = yes; then
9548 if test "$GXX" = yes; then
9557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9558 ac_cpp
='$CPP $CPPFLAGS'
9559 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9560 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9561 cross_compiling
=$ac_cv_prog_cc_cross
9564 # Extract the first word of "ranlib", so it can be a program name with args.
9565 set dummy ranlib
; ac_word
=$2
9566 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9567 echo "configure:9568: checking for $ac_word" >&5
9568 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9569 echo $ac_n "(cached) $ac_c" 1>&6
9571 if test -n "$RANLIB"; then
9572 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9574 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9576 for ac_dir
in $ac_dummy; do
9577 test -z "$ac_dir" && ac_dir
=.
9578 if test -f $ac_dir/$ac_word; then
9579 ac_cv_prog_RANLIB
="ranlib"
9584 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9587 RANLIB
="$ac_cv_prog_RANLIB"
9588 if test -n "$RANLIB"; then
9589 echo "$ac_t""$RANLIB" 1>&6
9591 echo "$ac_t""no" 1>&6
9595 # Extract the first word of "ar", so it can be a program name with args.
9596 set dummy
ar; ac_word
=$2
9597 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9598 echo "configure:9599: checking for $ac_word" >&5
9599 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9600 echo $ac_n "(cached) $ac_c" 1>&6
9602 if test -n "$AR"; then
9603 ac_cv_prog_AR
="$AR" # Let the user override the test.
9605 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9607 for ac_dir
in $ac_dummy; do
9608 test -z "$ac_dir" && ac_dir
=.
9609 if test -f $ac_dir/$ac_word; then
9615 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9619 if test -n "$AR"; then
9620 echo "$ac_t""$AR" 1>&6
9622 echo "$ac_t""no" 1>&6
9626 # Find a good install program. We prefer a C program (faster),
9627 # so one script is as good as another. But avoid the broken or
9628 # incompatible versions:
9629 # SysV /etc/install, /usr/sbin/install
9630 # SunOS /usr/etc/install
9631 # IRIX /sbin/install
9633 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9634 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9635 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9636 # ./install, which can be erroneously created by make from ./install.sh.
9637 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9638 echo "configure:9639: checking for a BSD compatible install" >&5
9639 if test -z "$INSTALL"; then
9640 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9641 echo $ac_n "(cached) $ac_c" 1>&6
9643 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9644 for ac_dir
in $PATH; do
9645 # Account for people who put trailing slashes in PATH elements.
9647 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9649 # OSF1 and SCO ODT 3.0 have their own names for install.
9650 # Don't use installbsd from OSF since it installs stuff as root
9652 for ac_prog
in ginstall scoinst
install; do
9653 if test -f $ac_dir/$ac_prog; then
9654 if test $ac_prog = install &&
9655 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9656 # AIX install. It has an incompatible calling convention.
9659 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9670 if test "${ac_cv_path_install+set}" = set; then
9671 INSTALL
="$ac_cv_path_install"
9673 # As a last resort, use the slow shell script. We don't cache a
9674 # path for INSTALL within a source directory, because that will
9675 # break other packages using the cache if that directory is
9676 # removed, or if the path is relative.
9677 INSTALL
="$ac_install_sh"
9680 echo "$ac_t""$INSTALL" 1>&6
9682 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9683 # It thinks the first close brace ends the variable substitution.
9684 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9686 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9688 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9694 ?
:* ) # Drive letter, considered as absolute.
9697 INSTALL
=`pwd`/${INSTALL} ;;
9705 *) INSTALL_DIR
="$INSTALL -d"
9713 INSTALL_PROGRAM
="cp -fp"
9714 INSTALL_DATA
="cp -fp"
9720 # Extract the first word of "strip", so it can be a program name with args.
9721 set dummy strip
; ac_word
=$2
9722 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9723 echo "configure:9724: checking for $ac_word" >&5
9724 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9725 echo $ac_n "(cached) $ac_c" 1>&6
9727 if test -n "$STRIP"; then
9728 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9730 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9732 for ac_dir
in $ac_dummy; do
9733 test -z "$ac_dir" && ac_dir
=.
9734 if test -f $ac_dir/$ac_word; then
9735 ac_cv_prog_STRIP
="strip"
9740 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9743 STRIP
="$ac_cv_prog_STRIP"
9744 if test -n "$STRIP"; then
9745 echo "$ac_t""$STRIP" 1>&6
9747 echo "$ac_t""no" 1>&6
9751 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9752 echo "configure:9753: checking if make is GNU make" >&5
9753 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9754 echo $ac_n "(cached) $ac_c" 1>&6
9757 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9758 egrep -s GNU
> /dev
/null
); then
9759 wx_cv_prog_makeisgnu
="yes"
9761 wx_cv_prog_makeisgnu
="no"
9766 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9768 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9776 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9777 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9778 echo "configure:9779: checking if make supports VPATH" >&5
9779 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9780 echo $ac_n "(cached) $ac_c" 1>&6
9783 cat - << EOF > confMake
9789 if test ! -d sub
; then
9792 echo dummy
> sub
/file
9793 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9795 rm -f sub
/file check final_file confMake
9797 if test "$RESULT" = 0; then
9798 wx_cv_prog_makevpath
="yes"
9800 wx_cv_prog_makevpath
="no"
9805 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9807 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9808 { echo "configure: error:
9809 You need a make-utility that is able to use the variable
9811 If your version of make does not support VPATH correctly,
9812 please install GNU-make (possibly as gmake), and start
9813 configure with the following command:
9814 export MAKE=gmake; ./configure for sh-type shells
9815 setenv MAKE gmake; ./configure for csh-type shells
9816 Also please do remember to use gmake in this case every time
9817 you are trying to compile.
9820 for ac_prog
in 'bison -y' byacc
9822 # Extract the first word of "$ac_prog", so it can be a program name with args.
9823 set dummy
$ac_prog; ac_word
=$2
9824 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9825 echo "configure:9826: checking for $ac_word" >&5
9826 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9827 echo $ac_n "(cached) $ac_c" 1>&6
9829 if test -n "$YACC"; then
9830 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9832 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9834 for ac_dir
in $ac_dummy; do
9835 test -z "$ac_dir" && ac_dir
=.
9836 if test -f $ac_dir/$ac_word; then
9837 ac_cv_prog_YACC
="$ac_prog"
9844 YACC
="$ac_cv_prog_YACC"
9845 if test -n "$YACC"; then
9846 echo "$ac_t""$YACC" 1>&6
9848 echo "$ac_t""no" 1>&6
9851 test -n "$YACC" && break
9853 test -n "$YACC" || YACC
="yacc"
9856 # Extract the first word of "flex", so it can be a program name with args.
9857 set dummy flex
; ac_word
=$2
9858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9859 echo "configure:9860: checking for $ac_word" >&5
9860 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9861 echo $ac_n "(cached) $ac_c" 1>&6
9863 if test -n "$LEX"; then
9864 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9866 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9868 for ac_dir
in $ac_dummy; do
9869 test -z "$ac_dir" && ac_dir
=.
9870 if test -f $ac_dir/$ac_word; then
9871 ac_cv_prog_LEX
="flex"
9876 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9879 LEX
="$ac_cv_prog_LEX"
9880 if test -n "$LEX"; then
9881 echo "$ac_t""$LEX" 1>&6
9883 echo "$ac_t""no" 1>&6
9886 if test -z "$LEXLIB"
9892 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9893 echo "configure:9894: checking for yywrap in -l$ac_lib" >&5
9894 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9895 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9896 echo $ac_n "(cached) $ac_c" 1>&6
9898 ac_save_LIBS
="$LIBS"
9899 LIBS
="-l$ac_lib $LIBS"
9900 cat > conftest.
$ac_ext <<EOF
9901 #line 9902 "configure"
9902 #include "confdefs.h"
9903 /* Override any gcc2 internal prototype to avoid an error. */
9904 /* We use char because int might match the return type of a gcc2
9905 builtin and then its argument prototype would still apply. */
9912 if { (eval echo configure
:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9914 eval "ac_cv_lib_$ac_lib_var=yes"
9916 echo "configure: failed program was:" >&5
9917 cat conftest.
$ac_ext >&5
9919 eval "ac_cv_lib_$ac_lib_var=no"
9922 LIBS
="$ac_save_LIBS"
9925 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9926 echo "$ac_t""yes" 1>&6
9929 echo "$ac_t""no" 1>&6
9935 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9936 echo "configure:9937: checking whether ln -s works" >&5
9937 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9938 echo $ac_n "(cached) $ac_c" 1>&6
9941 if ln -s X conftestdata
2>/dev
/null
9944 ac_cv_prog_LN_S
="ln -s"
9949 LN_S
="$ac_cv_prog_LN_S"
9950 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9951 echo "$ac_t""yes" 1>&6
9953 echo "$ac_t""no" 1>&6
9958 *-pc-os2_emx | *-pc-os2-emx )
9959 LIBS
="$LIBS -lstdcpp"
9960 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9961 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9962 echo "configure:9963: checking for drand48 in -lcExt" >&5
9963 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9964 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9965 echo $ac_n "(cached) $ac_c" 1>&6
9967 ac_save_LIBS
="$LIBS"
9969 cat > conftest.
$ac_ext <<EOF
9970 #line 9971 "configure"
9971 #include "confdefs.h"
9972 /* Override any gcc2 internal prototype to avoid an error. */
9973 /* We use char because int might match the return type of a gcc2
9974 builtin and then its argument prototype would still apply. */
9981 if { (eval echo configure
:9982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9983 eval "ac_cv_lib_$ac_lib_var=yes"
9985 echo "configure: failed program was:" >&5
9986 cat conftest.
$ac_ext >&5
9988 eval "ac_cv_lib_$ac_lib_var=no"
9991 LIBS
="$ac_save_LIBS"
9994 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9995 echo "$ac_t""yes" 1>&6
9998 echo "$ac_t""no" 1>&6
10002 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
10008 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
10009 for ac_hdr
in strings.h
10011 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10012 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10013 echo "configure:10014: checking for $ac_hdr" >&5
10014 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10015 echo $ac_n "(cached) $ac_c" 1>&6
10017 cat > conftest.
$ac_ext <<EOF
10018 #line 10019 "configure"
10019 #include "confdefs.h"
10022 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10023 { (eval echo configure
:10024: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10024 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10025 if test -z "$ac_err"; then
10027 eval "ac_cv_header_$ac_safe=yes"
10030 echo "configure: failed program was:" >&5
10031 cat conftest.
$ac_ext >&5
10033 eval "ac_cv_header_$ac_safe=no"
10037 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10038 echo "$ac_t""yes" 1>&6
10039 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10040 cat >> confdefs.h
<<EOF
10041 #define $ac_tr_hdr 1
10045 echo "$ac_t""no" 1>&6
10051 for ac_hdr
in stdlib.h
10053 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10054 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10055 echo "configure:10056: checking for $ac_hdr" >&5
10056 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10057 echo $ac_n "(cached) $ac_c" 1>&6
10059 cat > conftest.
$ac_ext <<EOF
10060 #line 10061 "configure"
10061 #include "confdefs.h"
10064 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10065 { (eval echo configure
:10066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10066 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10067 if test -z "$ac_err"; then
10069 eval "ac_cv_header_$ac_safe=yes"
10072 echo "configure: failed program was:" >&5
10073 cat conftest.
$ac_ext >&5
10075 eval "ac_cv_header_$ac_safe=no"
10079 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10080 echo "$ac_t""yes" 1>&6
10081 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10082 cat >> confdefs.h
<<EOF
10083 #define $ac_tr_hdr 1
10087 echo "$ac_t""no" 1>&6
10091 for ac_hdr
in malloc.h
10093 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10094 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10095 echo "configure:10096: checking for $ac_hdr" >&5
10096 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10097 echo $ac_n "(cached) $ac_c" 1>&6
10099 cat > conftest.
$ac_ext <<EOF
10100 #line 10101 "configure"
10101 #include "confdefs.h"
10104 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10105 { (eval echo configure
:10106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10106 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10107 if test -z "$ac_err"; then
10109 eval "ac_cv_header_$ac_safe=yes"
10112 echo "configure: failed program was:" >&5
10113 cat conftest.
$ac_ext >&5
10115 eval "ac_cv_header_$ac_safe=no"
10119 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10120 echo "$ac_t""yes" 1>&6
10121 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10122 cat >> confdefs.h
<<EOF
10123 #define $ac_tr_hdr 1
10127 echo "$ac_t""no" 1>&6
10131 for ac_hdr
in unistd.h
10133 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10134 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10135 echo "configure:10136: checking for $ac_hdr" >&5
10136 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10137 echo $ac_n "(cached) $ac_c" 1>&6
10139 cat > conftest.
$ac_ext <<EOF
10140 #line 10141 "configure"
10141 #include "confdefs.h"
10144 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10145 { (eval echo configure
:10146: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10146 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10147 if test -z "$ac_err"; then
10149 eval "ac_cv_header_$ac_safe=yes"
10152 echo "configure: failed program was:" >&5
10153 cat conftest.
$ac_ext >&5
10155 eval "ac_cv_header_$ac_safe=no"
10159 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10160 echo "$ac_t""yes" 1>&6
10161 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10162 cat >> confdefs.h
<<EOF
10163 #define $ac_tr_hdr 1
10167 echo "$ac_t""no" 1>&6
10171 for ac_hdr
in wchar.h
10173 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10174 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10175 echo "configure:10176: checking for $ac_hdr" >&5
10176 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10177 echo $ac_n "(cached) $ac_c" 1>&6
10179 cat > conftest.
$ac_ext <<EOF
10180 #line 10181 "configure"
10181 #include "confdefs.h"
10184 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10185 { (eval echo configure
:10186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10186 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10187 if test -z "$ac_err"; then
10189 eval "ac_cv_header_$ac_safe=yes"
10192 echo "configure: failed program was:" >&5
10193 cat conftest.
$ac_ext >&5
10195 eval "ac_cv_header_$ac_safe=no"
10199 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10200 echo "$ac_t""yes" 1>&6
10201 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10202 cat >> confdefs.h
<<EOF
10203 #define $ac_tr_hdr 1
10207 echo "$ac_t""no" 1>&6
10212 if test "$ac_cv_header_wchar_h" != "yes"; then
10213 for ac_hdr
in wcstr.h
10215 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10216 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10217 echo "configure:10218: checking for $ac_hdr" >&5
10218 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10219 echo $ac_n "(cached) $ac_c" 1>&6
10221 cat > conftest.
$ac_ext <<EOF
10222 #line 10223 "configure"
10223 #include "confdefs.h"
10226 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10227 { (eval echo configure
:10228: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10228 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10229 if test -z "$ac_err"; then
10231 eval "ac_cv_header_$ac_safe=yes"
10234 echo "configure: failed program was:" >&5
10235 cat conftest.
$ac_ext >&5
10237 eval "ac_cv_header_$ac_safe=no"
10241 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10242 echo "$ac_t""yes" 1>&6
10243 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10244 cat >> confdefs.h
<<EOF
10245 #define $ac_tr_hdr 1
10249 echo "$ac_t""no" 1>&6
10255 for ac_hdr
in fnmatch.h
10257 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10258 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10259 echo "configure:10260: checking for $ac_hdr" >&5
10260 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10261 echo $ac_n "(cached) $ac_c" 1>&6
10263 cat > conftest.
$ac_ext <<EOF
10264 #line 10265 "configure"
10265 #include "confdefs.h"
10268 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10269 { (eval echo configure
:10270: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10270 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10271 if test -z "$ac_err"; then
10273 eval "ac_cv_header_$ac_safe=yes"
10276 echo "configure: failed program was:" >&5
10277 cat conftest.
$ac_ext >&5
10279 eval "ac_cv_header_$ac_safe=no"
10283 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10284 echo "$ac_t""yes" 1>&6
10285 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10286 cat >> confdefs.h
<<EOF
10287 #define $ac_tr_hdr 1
10291 echo "$ac_t""no" 1>&6
10296 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10297 for ac_func
in fnmatch
10299 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10300 echo "configure:10301: checking for $ac_func" >&5
10301 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10302 echo $ac_n "(cached) $ac_c" 1>&6
10304 cat > conftest.
$ac_ext <<EOF
10305 #line 10306 "configure"
10306 #include "confdefs.h"
10307 /* System header to define __stub macros and hopefully few prototypes,
10308 which can conflict with char $ac_func(); below. */
10309 #include <assert.h>
10310 /* Override any gcc2 internal prototype to avoid an error. */
10311 /* We use char because int might match the return type of a gcc2
10312 builtin and then its argument prototype would still apply. */
10317 /* The GNU C library defines this for functions which it implements
10318 to always fail with ENOSYS. Some functions are actually named
10319 something starting with __ and the normal name is an alias. */
10320 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10328 if { (eval echo configure
:10329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10330 eval "ac_cv_func_$ac_func=yes"
10332 echo "configure: failed program was:" >&5
10333 cat conftest.
$ac_ext >&5
10335 eval "ac_cv_func_$ac_func=no"
10340 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10341 echo "$ac_t""yes" 1>&6
10342 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10343 cat >> confdefs.h
<<EOF
10344 #define $ac_tr_func 1
10348 echo "$ac_t""no" 1>&6
10354 for ac_hdr
in langinfo.h
10356 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10357 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10358 echo "configure:10359: checking for $ac_hdr" >&5
10359 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10360 echo $ac_n "(cached) $ac_c" 1>&6
10362 cat > conftest.
$ac_ext <<EOF
10363 #line 10364 "configure"
10364 #include "confdefs.h"
10367 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10368 { (eval echo configure
:10369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10369 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10370 if test -z "$ac_err"; then
10372 eval "ac_cv_header_$ac_safe=yes"
10375 echo "configure: failed program was:" >&5
10376 cat conftest.
$ac_ext >&5
10378 eval "ac_cv_header_$ac_safe=no"
10382 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10383 echo "$ac_t""yes" 1>&6
10384 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10385 cat >> confdefs.h
<<EOF
10386 #define $ac_tr_hdr 1
10390 echo "$ac_t""no" 1>&6
10396 *-pc-os2_emx | *-pc-os2-emx )
10397 if test $ac_cv_header_langinfo_h = "yes"; then
10398 LIBS
="$LIBS -lintl"
10403 if test "$wxUSE_GUI" = "yes"; then
10404 if test "$wxUSE_UNIX" = "yes"; then
10405 for ac_hdr
in X
11/XKBlib.h
10407 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10409 echo "configure:10410: checking for $ac_hdr" >&5
10410 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10411 echo $ac_n "(cached) $ac_c" 1>&6
10413 cat > conftest.
$ac_ext <<EOF
10414 #line 10415 "configure"
10415 #include "confdefs.h"
10418 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10419 { (eval echo configure
:10420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10420 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10421 if test -z "$ac_err"; then
10423 eval "ac_cv_header_$ac_safe=yes"
10426 echo "configure: failed program was:" >&5
10427 cat conftest.
$ac_ext >&5
10429 eval "ac_cv_header_$ac_safe=no"
10433 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10434 echo "$ac_t""yes" 1>&6
10435 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10436 cat >> confdefs.h
<<EOF
10437 #define $ac_tr_hdr 1
10441 echo "$ac_t""no" 1>&6
10449 echo $ac_n "checking for working const""... $ac_c" 1>&6
10450 echo "configure:10451: checking for working const" >&5
10451 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10452 echo $ac_n "(cached) $ac_c" 1>&6
10454 cat > conftest.
$ac_ext <<EOF
10455 #line 10456 "configure"
10456 #include "confdefs.h"
10460 /* Ultrix mips cc rejects this. */
10461 typedef int charset[2]; const charset x;
10462 /* SunOS 4.1.1 cc rejects this. */
10463 char const *const *ccp;
10465 /* NEC SVR4.0.2 mips cc rejects this. */
10466 struct point {int x, y;};
10467 static struct point const zero = {0,0};
10468 /* AIX XL C 1.02.0.0 rejects this.
10469 It does not let you subtract one const X* pointer from another in an arm
10470 of an if-expression whose if-part is not a constant expression */
10471 const char *g = "string";
10472 ccp = &g + (g ? g-g : 0);
10473 /* HPUX 7.0 cc rejects these. */
10476 ccp = (char const *const *) p;
10477 { /* SCO 3.2v4 cc rejects this. */
10479 char const *s = 0 ? (char *) 0 : (char const *) 0;
10483 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10484 int x[] = {25, 17};
10485 const int *foo = &x[0];
10488 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10489 typedef const int *iptr;
10493 { /* AIX XL C 1.02.0.0 rejects this saying
10494 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10495 struct s { int j; const int *ap[3]; };
10496 struct s *b; b->j = 5;
10498 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10499 const int foo = 10;
10504 if { (eval echo configure
:10505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10508 echo "configure: failed program was:" >&5
10509 cat conftest.
$ac_ext >&5
10516 echo "$ac_t""$ac_cv_c_const" 1>&6
10517 if test $ac_cv_c_const = no
; then
10518 cat >> confdefs.h
<<\EOF
10524 echo $ac_n "checking for inline""... $ac_c" 1>&6
10525 echo "configure:10526: checking for inline" >&5
10526 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10527 echo $ac_n "(cached) $ac_c" 1>&6
10530 for ac_kw
in inline __inline__ __inline
; do
10531 cat > conftest.
$ac_ext <<EOF
10532 #line 10533 "configure"
10533 #include "confdefs.h"
10539 if { (eval echo configure
:10540: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10541 ac_cv_c_inline
=$ac_kw; break
10543 echo "configure: failed program was:" >&5
10544 cat conftest.
$ac_ext >&5
10551 echo "$ac_t""$ac_cv_c_inline" 1>&6
10552 case "$ac_cv_c_inline" in
10554 no
) cat >> confdefs.h
<<\EOF
10558 *) cat >> confdefs.h
<<EOF
10559 #define inline $ac_cv_c_inline
10565 echo $ac_n "checking size of char""... $ac_c" 1>&6
10566 echo "configure:10567: checking size of char" >&5
10567 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10568 echo $ac_n "(cached) $ac_c" 1>&6
10570 if test "$cross_compiling" = yes; then
10571 ac_cv_sizeof_char
=1
10573 cat > conftest.
$ac_ext <<EOF
10574 #line 10575 "configure"
10575 #include "confdefs.h"
10579 FILE *f=fopen("conftestval", "w");
10581 fprintf(f, "%d\n", sizeof(char));
10585 if { (eval echo configure
:10586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10587 ac_cv_sizeof_char
=`cat conftestval`
10589 echo "configure: failed program was:" >&5
10590 cat conftest.
$ac_ext >&5
10592 ac_cv_sizeof_char
=0
10598 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10599 cat >> confdefs.h
<<EOF
10600 #define SIZEOF_CHAR $ac_cv_sizeof_char
10604 echo $ac_n "checking size of short""... $ac_c" 1>&6
10605 echo "configure:10606: checking size of short" >&5
10606 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10607 echo $ac_n "(cached) $ac_c" 1>&6
10609 if test "$cross_compiling" = yes; then
10610 ac_cv_sizeof_short
=2
10612 cat > conftest.
$ac_ext <<EOF
10613 #line 10614 "configure"
10614 #include "confdefs.h"
10618 FILE *f=fopen("conftestval", "w");
10620 fprintf(f, "%d\n", sizeof(short));
10624 if { (eval echo configure
:10625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10626 ac_cv_sizeof_short
=`cat conftestval`
10628 echo "configure: failed program was:" >&5
10629 cat conftest.
$ac_ext >&5
10631 ac_cv_sizeof_short
=0
10637 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10638 cat >> confdefs.h
<<EOF
10639 #define SIZEOF_SHORT $ac_cv_sizeof_short
10643 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10644 echo "configure:10645: checking size of void *" >&5
10645 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10646 echo $ac_n "(cached) $ac_c" 1>&6
10648 if test "$cross_compiling" = yes; then
10649 ac_cv_sizeof_void_p
=4
10651 cat > conftest.
$ac_ext <<EOF
10652 #line 10653 "configure"
10653 #include "confdefs.h"
10657 FILE *f=fopen("conftestval", "w");
10659 fprintf(f, "%d\n", sizeof(void *));
10663 if { (eval echo configure
:10664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10665 ac_cv_sizeof_void_p
=`cat conftestval`
10667 echo "configure: failed program was:" >&5
10668 cat conftest.
$ac_ext >&5
10670 ac_cv_sizeof_void_p
=0
10676 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10677 cat >> confdefs.h
<<EOF
10678 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10682 echo $ac_n "checking size of int""... $ac_c" 1>&6
10683 echo "configure:10684: checking size of int" >&5
10684 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10685 echo $ac_n "(cached) $ac_c" 1>&6
10687 if test "$cross_compiling" = yes; then
10690 cat > conftest.
$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10696 FILE *f=fopen("conftestval", "w");
10698 fprintf(f, "%d\n", sizeof(int));
10702 if { (eval echo configure
:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10704 ac_cv_sizeof_int
=`cat conftestval`
10706 echo "configure: failed program was:" >&5
10707 cat conftest.
$ac_ext >&5
10715 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10716 cat >> confdefs.h
<<EOF
10717 #define SIZEOF_INT $ac_cv_sizeof_int
10721 echo $ac_n "checking size of long""... $ac_c" 1>&6
10722 echo "configure:10723: checking size of long" >&5
10723 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10724 echo $ac_n "(cached) $ac_c" 1>&6
10726 if test "$cross_compiling" = yes; then
10727 ac_cv_sizeof_long
=4
10729 cat > conftest.
$ac_ext <<EOF
10730 #line 10731 "configure"
10731 #include "confdefs.h"
10735 FILE *f=fopen("conftestval", "w");
10737 fprintf(f, "%d\n", sizeof(long));
10741 if { (eval echo configure
:10742: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10743 ac_cv_sizeof_long
=`cat conftestval`
10745 echo "configure: failed program was:" >&5
10746 cat conftest.
$ac_ext >&5
10748 ac_cv_sizeof_long
=0
10754 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10755 cat >> confdefs.h
<<EOF
10756 #define SIZEOF_LONG $ac_cv_sizeof_long
10763 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10764 echo "configure:10765: checking size of long long" >&5
10765 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10766 echo $ac_n "(cached) $ac_c" 1>&6
10768 if test "$cross_compiling" = yes; then
10769 ac_cv_sizeof_long_long
=8
10771 cat > conftest.
$ac_ext <<EOF
10772 #line 10773 "configure"
10773 #include "confdefs.h"
10777 FILE *f=fopen("conftestval", "w");
10779 fprintf(f, "%d\n", sizeof(long long));
10783 if { (eval echo configure
:10784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10785 ac_cv_sizeof_long_long
=`cat conftestval`
10787 echo "configure: failed program was:" >&5
10788 cat conftest.
$ac_ext >&5
10790 ac_cv_sizeof_long_long
=0
10796 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10797 cat >> confdefs.h
<<EOF
10798 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10804 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10805 echo "configure:10806: checking size of long long" >&5
10806 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10807 echo $ac_n "(cached) $ac_c" 1>&6
10809 if test "$cross_compiling" = yes; then
10810 ac_cv_sizeof_long_long
=0
10812 cat > conftest.
$ac_ext <<EOF
10813 #line 10814 "configure"
10814 #include "confdefs.h"
10818 FILE *f=fopen("conftestval", "w");
10820 fprintf(f, "%d\n", sizeof(long long));
10824 if { (eval echo configure
:10825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10826 ac_cv_sizeof_long_long
=`cat conftestval`
10828 echo "configure: failed program was:" >&5
10829 cat conftest.
$ac_ext >&5
10831 ac_cv_sizeof_long_long
=0
10837 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10838 cat >> confdefs.h
<<EOF
10839 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10843 if test "$ac_cv_sizeof_long_long" != "0"; then
10844 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10848 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10849 echo "configure:10850: checking size of long long" >&5
10850 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10851 echo $ac_n "(cached) $ac_c" 1>&6
10853 if test "$cross_compiling" = yes; then
10854 ac_cv_sizeof_long_long
=0
10856 cat > conftest.
$ac_ext <<EOF
10857 #line 10858 "configure"
10858 #include "confdefs.h"
10862 FILE *f=fopen("conftestval", "w");
10864 fprintf(f, "%d\n", sizeof(long long));
10868 if { (eval echo configure
:10869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10870 ac_cv_sizeof_long_long
=`cat conftestval`
10872 echo "configure: failed program was:" >&5
10873 cat conftest.
$ac_ext >&5
10875 ac_cv_sizeof_long_long
=0
10881 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10882 cat >> confdefs.h
<<EOF
10883 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10889 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10890 echo "configure:10891: checking size of wchar_t" >&5
10891 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10892 echo $ac_n "(cached) $ac_c" 1>&6
10895 if test "$cross_compiling" = yes; then
10899 wx_cv_sizeof_wchar_t
=0
10902 wx_cv_sizeof_wchar_t
=4
10908 cat > conftest.
$ac_ext <<EOF
10909 #line 10910 "configure"
10910 #include "confdefs.h"
10912 /* DJGPP only has fake wchar_t: */
10914 # error "fake wchar_t"
10916 #ifdef HAVE_WCHAR_H
10918 # include <stddef.h>
10920 # include <wchar.h>
10922 #ifdef HAVE_STDLIB_H
10923 # include <stdlib.h>
10928 FILE *f=fopen("conftestval", "w");
10930 fprintf(f, "%i", sizeof(wchar_t));
10935 if { (eval echo configure
:10936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10937 wx_cv_sizeof_wchar_t
=`cat conftestval`
10939 echo "configure: failed program was:" >&5
10940 cat conftest.
$ac_ext >&5
10942 wx_cv_sizeof_wchar_t
=0
10950 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10952 cat >> confdefs.h
<<EOF
10953 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10957 # Check whether --enable-largefile or --disable-largefile was given.
10958 if test "${enable_largefile+set}" = set; then
10959 enableval
="$enable_largefile"
10963 if test "$enable_largefile" != no
; then
10966 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10967 echo "configure:10968: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10968 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10969 echo $ac_n "(cached) $ac_c" 1>&6
10972 cat > conftest.
$ac_ext <<EOF
10973 #line 10974 "configure"
10974 #include "confdefs.h"
10975 #define _FILE_OFFSET_BITS 64
10976 #include <sys/types.h>
10979 unsigned int field: sizeof(off_t) == 8;
10984 if { (eval echo configure
:10985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10986 ac_cv_sys_file_offset_bits
=64
10988 echo "configure: failed program was:" >&5
10989 cat conftest.
$ac_ext >&5
10991 ac_cv_sys_file_offset_bits
=no
10998 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
11000 if test "$ac_cv_sys_file_offset_bits" != no
; then
11002 cat >> confdefs.h
<<EOF
11003 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11008 if test "x$wx_largefile" != "xyes"; then
11010 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
11011 echo "configure:11012: checking for _LARGE_FILES value needed for large files" >&5
11012 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
11013 echo $ac_n "(cached) $ac_c" 1>&6
11016 cat > conftest.
$ac_ext <<EOF
11017 #line 11018 "configure"
11018 #include "confdefs.h"
11019 #define _LARGE_FILES 1
11020 #include <sys/types.h>
11023 unsigned int field: sizeof(off_t) == 8;
11028 if { (eval echo configure
:11029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11030 ac_cv_sys_large_files
=1
11032 echo "configure: failed program was:" >&5
11033 cat conftest.
$ac_ext >&5
11035 ac_cv_sys_large_files
=no
11042 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
11044 if test "$ac_cv_sys_large_files" != no
; then
11046 cat >> confdefs.h
<<EOF
11047 #define _LARGE_FILES $ac_cv_sys_large_files
11054 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
11055 echo "configure:11056: checking if large file support is available" >&5
11056 if test "x$wx_largefile" = "xyes"; then
11057 cat >> confdefs.h
<<\EOF
11058 #define HAVE_LARGEFILE_SUPPORT 1
11062 echo "$ac_t""$wx_largefile" 1>&6
11066 if test "x$wx_largefile" = "xyes"; then
11067 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
11068 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
11070 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
11072 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
11075 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11076 echo "configure:11077: checking whether byte ordering is bigendian" >&5
11077 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11078 echo $ac_n "(cached) $ac_c" 1>&6
11080 ac_cv_c_bigendian
=unknown
11081 # See if sys/param.h defines the BYTE_ORDER macro.
11082 cat > conftest.
$ac_ext <<EOF
11083 #line 11084 "configure"
11084 #include "confdefs.h"
11085 #include <sys/types.h>
11086 #include <sys/param.h>
11089 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11090 bogus endian macros
11094 if { (eval echo configure
:11095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11096 # It does; now see whether it defined to BIG_ENDIAN or not.
11097 cat > conftest.
$ac_ext <<EOF
11098 #line 11099 "configure"
11099 #include "confdefs.h"
11100 #include <sys/types.h>
11101 #include <sys/param.h>
11104 #if BYTE_ORDER != BIG_ENDIAN
11109 if { (eval echo configure
:11110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11111 ac_cv_c_bigendian
=yes
11113 echo "configure: failed program was:" >&5
11114 cat conftest.
$ac_ext >&5
11116 ac_cv_c_bigendian
=no
11120 echo "configure: failed program was:" >&5
11121 cat conftest.
$ac_ext >&5
11124 if test $ac_cv_c_bigendian = unknown
; then
11125 if test "$cross_compiling" = yes; then
11126 ac_cv_c_bigendian
=unknown
11128 cat > conftest.
$ac_ext <<EOF
11129 #line 11130 "configure"
11130 #include "confdefs.h"
11132 /* Are we little or big endian? From Harbison&Steele. */
11136 char c[sizeof (long)];
11139 exit (u.c[sizeof (long) - 1] == 1);
11142 if { (eval echo configure
:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11144 ac_cv_c_bigendian
=no
11146 echo "configure: failed program was:" >&5
11147 cat conftest.
$ac_ext >&5
11149 ac_cv_c_bigendian
=yes
11157 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11158 if test $ac_cv_c_bigendian = unknown
; then
11159 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
11161 if test $ac_cv_c_bigendian = yes; then
11162 cat >> confdefs.h
<<\EOF
11163 #define WORDS_BIGENDIAN 1
11169 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11170 echo "configure:11171: checking how to run the C++ preprocessor" >&5
11171 if test -z "$CXXCPP"; then
11172 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11173 echo $ac_n "(cached) $ac_c" 1>&6
11176 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11177 ac_cpp
='$CXXCPP $CPPFLAGS'
11178 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11179 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11180 cross_compiling
=$ac_cv_prog_cxx_cross
11181 CXXCPP
="${CXX-g++} -E"
11182 cat > conftest.
$ac_ext <<EOF
11183 #line 11184 "configure"
11184 #include "confdefs.h"
11185 #include <stdlib.h>
11187 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11188 { (eval echo configure
:11189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11189 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11190 if test -z "$ac_err"; then
11194 echo "configure: failed program was:" >&5
11195 cat conftest.
$ac_ext >&5
11200 ac_cv_prog_CXXCPP
="$CXXCPP"
11202 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11203 ac_cpp
='$CXXCPP $CPPFLAGS'
11204 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11205 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11206 cross_compiling
=$ac_cv_prog_cxx_cross
11209 CXXCPP
="$ac_cv_prog_CXXCPP"
11210 echo "$ac_t""$CXXCPP" 1>&6
11213 if test "$cross_compiling" = "yes"; then
11214 cat >> confdefs.h
<<\EOF
11215 #define wxUSE_IOSTREAMH 1
11221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11222 ac_cpp
='$CXXCPP $CPPFLAGS'
11223 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11224 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11225 cross_compiling
=$ac_cv_prog_cxx_cross
11228 for ac_hdr
in iostream
11230 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11232 echo "configure:11233: checking for $ac_hdr" >&5
11233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11234 echo $ac_n "(cached) $ac_c" 1>&6
11236 cat > conftest.
$ac_ext <<EOF
11237 #line 11238 "configure"
11238 #include "confdefs.h"
11241 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11242 { (eval echo configure
:11243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11243 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11244 if test -z "$ac_err"; then
11246 eval "ac_cv_header_$ac_safe=yes"
11249 echo "configure: failed program was:" >&5
11250 cat conftest.
$ac_ext >&5
11252 eval "ac_cv_header_$ac_safe=no"
11256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11257 echo "$ac_t""yes" 1>&6
11258 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11259 cat >> confdefs.h
<<EOF
11260 #define $ac_tr_hdr 1
11264 echo "$ac_t""no" 1>&6
11269 if test "$ac_cv_header_iostream" = "yes" ; then
11272 cat >> confdefs.h
<<\EOF
11273 #define wxUSE_IOSTREAMH 1
11279 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11280 ac_cpp
='$CPP $CPPFLAGS'
11281 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11282 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11283 cross_compiling
=$ac_cv_prog_cc_cross
11289 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11290 echo "configure:11291: checking if C++ compiler supports bool" >&5
11291 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11292 echo $ac_n "(cached) $ac_c" 1>&6
11297 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11298 ac_cpp
='$CXXCPP $CPPFLAGS'
11299 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11300 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11301 cross_compiling
=$ac_cv_prog_cxx_cross
11304 cat > conftest.
$ac_ext <<EOF
11305 #line 11306 "configure"
11306 #include "confdefs.h"
11317 if { (eval echo configure
:11318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11323 echo "configure: failed program was:" >&5
11324 cat conftest.
$ac_ext >&5
11334 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11335 ac_cpp
='$CPP $CPPFLAGS'
11336 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11337 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11338 cross_compiling
=$ac_cv_prog_cc_cross
11343 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11345 if test "$wx_cv_cpp_bool" = "yes"; then
11346 cat >> confdefs.h
<<\EOF
11347 #define HAVE_BOOL 1
11354 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11355 echo "configure:11356: checking if C++ compiler supports the explicit keyword" >&5
11356 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11357 echo $ac_n "(cached) $ac_c" 1>&6
11362 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11363 ac_cpp
='$CXXCPP $CPPFLAGS'
11364 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11365 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11366 cross_compiling
=$ac_cv_prog_cxx_cross
11369 cat > conftest.
$ac_ext <<EOF
11370 #line 11371 "configure"
11371 #include "confdefs.h"
11373 class Foo { public: explicit Foo(int) {} };
11381 if { (eval echo configure
:11382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11384 cat > conftest.
$ac_ext <<EOF
11385 #line 11386 "configure"
11386 #include "confdefs.h"
11388 class Foo { public: explicit Foo(int) {} };
11389 static void TakeFoo(const Foo& foo) { }
11398 if { (eval echo configure
:11399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11402 echo "configure: failed program was:" >&5
11403 cat conftest.
$ac_ext >&5
11411 echo "configure: failed program was:" >&5
11412 cat conftest.
$ac_ext >&5
11420 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11421 ac_cpp
='$CPP $CPPFLAGS'
11422 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11423 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11424 cross_compiling
=$ac_cv_prog_cc_cross
11429 echo "$ac_t""$wx_cv_explicit" 1>&6
11431 if test "$wx_cv_explicit" = "yes"; then
11432 cat >> confdefs.h
<<\EOF
11433 #define HAVE_EXPLICIT 1
11439 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11440 echo "configure:11441: checking whether the compiler supports const_cast<>" >&5
11441 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11442 echo $ac_n "(cached) $ac_c" 1>&6
11446 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11447 ac_cpp
='$CXXCPP $CPPFLAGS'
11448 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11449 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11450 cross_compiling
=$ac_cv_prog_cxx_cross
11452 cat > conftest.
$ac_ext <<EOF
11453 #line 11454 "configure"
11454 #include "confdefs.h"
11457 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11460 if { (eval echo configure
:11461: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11462 ac_cv_cxx_const_cast
=yes
11464 echo "configure: failed program was:" >&5
11465 cat conftest.
$ac_ext >&5
11467 ac_cv_cxx_const_cast
=no
11471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11472 ac_cpp
='$CPP $CPPFLAGS'
11473 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11474 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11475 cross_compiling
=$ac_cv_prog_cc_cross
11480 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11481 if test "$ac_cv_cxx_const_cast" = yes; then
11482 cat >> confdefs.h
<<\EOF
11483 #define HAVE_CONST_CAST
11491 /usr/local/include \
11493 /usr/Motif-1.2/include \
11494 /usr/Motif-2.1/include \
11496 /usr/include/Motif1.2 \
11497 /opt/xpm/include/X11 \
11498 /opt/GBxpm/include/ \
11499 /opt/GBxpm/X11/include/ \
11501 /usr/Motif1.2/include \
11503 /usr/openwin/include \
11507 /usr/X11R6/include \
11508 /usr/X11R6.4/include \
11509 /usr/X11R5/include \
11510 /usr/X11R4/include \
11512 /usr/include/X11R6 \
11513 /usr/include/X11R5 \
11514 /usr/include/X11R4 \
11516 /usr/local/X11R6/include \
11517 /usr/local/X11R5/include \
11518 /usr/local/X11R4/include \
11520 /usr/local/include/X11R6 \
11521 /usr/local/include/X11R5 \
11522 /usr/local/include/X11R4 \
11526 /usr/local/X11/include \
11527 /usr/local/include/X11 \
11529 /usr/X386/include \
11530 /usr/x386/include \
11531 /usr/XFree86/include/X11 \
11533 X:/XFree86/include \
11534 X:/XFree86/include/X11 \
11537 /usr/local/include/gtk \
11538 /usr/include/glib \
11539 /usr/local/include/glib \
11542 /usr/local/include/qt \
11544 /usr/include/windows \
11545 /usr/include/wine \
11546 /usr/local/include/wine \
11548 /usr/unsupported/include \
11549 /usr/athena/include \
11550 /usr/local/x11r5/include \
11551 /usr/lpp/Xamples/include \
11553 /usr/openwin/share/include"
11555 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11558 cat > confcache
<<\EOF
11559 # This file is a shell script that caches the results of configure
11560 # tests run on this system so they can be shared between configure
11561 # scripts and configure runs. It is not useful on other systems.
11562 # If it contains results you don't want to keep, you may remove or edit it.
11564 # By default, configure uses ./config.cache as the cache file,
11565 # creating it if it does not exist already. You can give configure
11566 # the --cache-file=FILE option to use a different cache file; that is
11567 # what configure does when it calls configure scripts in
11568 # subdirectories, so they share the cache.
11569 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11570 # config.status only pays attention to the cache file if you give it the
11571 # --recheck option to rerun configure.
11574 # The following way of writing the cache mishandles newlines in values,
11575 # but we know of no workaround that is simple, portable, and efficient.
11576 # So, don't put newlines in cache variables' values.
11577 # Ultrix sh set writes to stderr and can't be redirected directly,
11578 # and sets the high bit in the cache file unless we assign to the vars.
11580 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11582 # `set' does not quote correctly, so add quotes (double-quote substitution
11583 # turns \\\\ into \\, and sed turns \\ into \).
11585 -e "s/'/'\\\\''/g" \
11586 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11589 # `set' quotes correctly as required by POSIX, so do not add quotes.
11590 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11593 if cmp -s $cache_file confcache
; then
11596 if test -w $cache_file; then
11597 echo "updating cache $cache_file"
11598 cat confcache
> $cache_file
11600 echo "not updating unwritable cache $cache_file"
11606 if test "$USE_LINUX" = 1; then
11607 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11608 echo "configure:11609: checking for glibc 2.1 or later" >&5
11609 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11610 echo $ac_n "(cached) $ac_c" 1>&6
11613 cat > conftest.
$ac_ext <<EOF
11614 #line 11615 "configure"
11615 #include "confdefs.h"
11616 #include <features.h>
11619 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11620 #error not glibc2.1
11625 if { (eval echo configure
:11626: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11628 wx_cv_lib_glibc21
=yes
11631 echo "configure: failed program was:" >&5
11632 cat conftest.
$ac_ext >&5
11635 wx_cv_lib_glibc21
=no
11643 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11644 if test "$wx_cv_lib_glibc21" = "yes"; then
11645 cat >> confdefs.h
<<\EOF
11646 #define wxHAVE_GLIBC2 1
11652 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11653 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11654 cat >> confdefs.h
<<\EOF
11655 #define _GNU_SOURCE 1
11664 if test "$wxUSE_REGEX" != "no"; then
11665 cat >> confdefs.h
<<\EOF
11666 #define wxUSE_REGEX 1
11670 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11671 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11672 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11673 echo "configure:11674: checking for regex.h" >&5
11674 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11675 echo $ac_n "(cached) $ac_c" 1>&6
11677 cat > conftest.
$ac_ext <<EOF
11678 #line 11679 "configure"
11679 #include "confdefs.h"
11682 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11683 { (eval echo configure
:11684: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11684 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11685 if test -z "$ac_err"; then
11687 eval "ac_cv_header_$ac_safe=yes"
11690 echo "configure: failed program was:" >&5
11691 cat conftest.
$ac_ext >&5
11693 eval "ac_cv_header_$ac_safe=no"
11697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11698 echo "$ac_t""yes" 1>&6
11699 for ac_func
in regcomp
11701 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11702 echo "configure:11703: checking for $ac_func" >&5
11703 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11704 echo $ac_n "(cached) $ac_c" 1>&6
11706 cat > conftest.
$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11709 /* System header to define __stub macros and hopefully few prototypes,
11710 which can conflict with char $ac_func(); below. */
11711 #include <assert.h>
11712 /* Override any gcc2 internal prototype to avoid an error. */
11713 /* We use char because int might match the return type of a gcc2
11714 builtin and then its argument prototype would still apply. */
11719 /* The GNU C library defines this for functions which it implements
11720 to always fail with ENOSYS. Some functions are actually named
11721 something starting with __ and the normal name is an alias. */
11722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11730 if { (eval echo configure
:11731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11732 eval "ac_cv_func_$ac_func=yes"
11734 echo "configure: failed program was:" >&5
11735 cat conftest.
$ac_ext >&5
11737 eval "ac_cv_func_$ac_func=no"
11742 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11743 echo "$ac_t""yes" 1>&6
11744 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11745 cat >> confdefs.h
<<EOF
11746 #define $ac_tr_func 1
11750 echo "$ac_t""no" 1>&6
11755 echo "$ac_t""no" 1>&6
11759 if test "x$ac_cv_func_regcomp" != "xyes"; then
11760 if test "$wxUSE_REGEX" = "sys" ; then
11761 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11763 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11764 wxUSE_REGEX
=builtin
11771 if test "$wxUSE_REGEX" = "builtin" ; then
11772 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11779 if test "$wxUSE_ZLIB" != "no" ; then
11780 cat >> confdefs.h
<<\EOF
11781 #define wxUSE_ZLIB 1
11785 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11786 if test "$USE_DARWIN" = 1; then
11787 system_zlib_h_ok
="yes"
11789 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11790 echo "configure:11791: checking for zlib.h >= 1.1.4" >&5
11791 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11792 echo $ac_n "(cached) $ac_c" 1>&6
11794 if test "$cross_compiling" = yes; then
11795 unset ac_cv_header_zlib_h
11798 cat > conftest.
$ac_ext <<EOF
11799 #line 11800 "configure"
11800 #include "confdefs.h"
11808 FILE *f=fopen("conftestval", "w");
11811 ZLIB_VERSION[0] == '1' &&
11812 (ZLIB_VERSION[2] > '1' ||
11813 (ZLIB_VERSION[2] == '1' &&
11814 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11820 if { (eval echo configure
:11821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11822 ac_cv_header_zlib_h
=`cat conftestval`
11824 echo "configure: failed program was:" >&5
11825 cat conftest.
$ac_ext >&5
11827 ac_cv_header_zlib_h
=no
11835 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11836 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11837 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11838 echo "configure:11839: checking for zlib.h" >&5
11839 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11840 echo $ac_n "(cached) $ac_c" 1>&6
11842 cat > conftest.
$ac_ext <<EOF
11843 #line 11844 "configure"
11844 #include "confdefs.h"
11847 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11848 { (eval echo configure
:11849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11849 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11850 if test -z "$ac_err"; then
11852 eval "ac_cv_header_$ac_safe=yes"
11855 echo "configure: failed program was:" >&5
11856 cat conftest.
$ac_ext >&5
11858 eval "ac_cv_header_$ac_safe=no"
11862 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11863 echo "$ac_t""yes" 1>&6
11866 echo "$ac_t""no" 1>&6
11870 system_zlib_h_ok
=$ac_cv_header_zlib_h
11873 if test "$system_zlib_h_ok" = "yes"; then
11874 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11875 echo "configure:11876: checking for deflate in -lz" >&5
11876 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11877 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11878 echo $ac_n "(cached) $ac_c" 1>&6
11880 ac_save_LIBS
="$LIBS"
11882 cat > conftest.
$ac_ext <<EOF
11883 #line 11884 "configure"
11884 #include "confdefs.h"
11885 /* Override any gcc2 internal prototype to avoid an error. */
11886 /* We use char because int might match the return type of a gcc2
11887 builtin and then its argument prototype would still apply. */
11894 if { (eval echo configure
:11895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11896 eval "ac_cv_lib_$ac_lib_var=yes"
11898 echo "configure: failed program was:" >&5
11899 cat conftest.
$ac_ext >&5
11901 eval "ac_cv_lib_$ac_lib_var=no"
11904 LIBS
="$ac_save_LIBS"
11907 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11908 echo "$ac_t""yes" 1>&6
11911 echo "$ac_t""no" 1>&6
11916 if test "x$ZLIB_LINK" = "x" ; then
11917 if test "$wxUSE_ZLIB" = "sys" ; then
11918 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11920 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11928 if test "$wxUSE_ZLIB" = "builtin" ; then
11929 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11936 if test "$wxUSE_LIBPNG" != "no" ; then
11937 cat >> confdefs.h
<<\EOF
11938 #define wxUSE_LIBPNG 1
11942 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11943 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11947 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11948 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11949 wxUSE_LIBPNG
=builtin
11952 if test "$wxUSE_MGL" != 1 ; then
11953 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11954 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11955 echo "configure:11956: checking for png.h > 0.90" >&5
11956 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11957 echo $ac_n "(cached) $ac_c" 1>&6
11959 if test "$cross_compiling" = yes; then
11960 unset ac_cv_header_png_h
11963 cat > conftest.
$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11972 FILE *f=fopen("conftestval", "w");
11975 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11980 if { (eval echo configure
:11981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11982 ac_cv_header_png_h
=`cat conftestval`
11984 echo "configure: failed program was:" >&5
11985 cat conftest.
$ac_ext >&5
11987 ac_cv_header_png_h
=no
11995 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11996 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11997 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11998 echo "configure:11999: checking for png.h" >&5
11999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12000 echo $ac_n "(cached) $ac_c" 1>&6
12002 cat > conftest.
$ac_ext <<EOF
12003 #line 12004 "configure"
12004 #include "confdefs.h"
12007 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12008 { (eval echo configure
:12009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12009 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12010 if test -z "$ac_err"; then
12012 eval "ac_cv_header_$ac_safe=yes"
12015 echo "configure: failed program was:" >&5
12016 cat conftest.
$ac_ext >&5
12018 eval "ac_cv_header_$ac_safe=no"
12022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12023 echo "$ac_t""yes" 1>&6
12026 echo "$ac_t""no" 1>&6
12030 if test "$ac_cv_header_png_h" = "yes"; then
12031 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12032 echo "configure:12033: checking for png_check_sig in -lpng" >&5
12033 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12034 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12035 echo $ac_n "(cached) $ac_c" 1>&6
12037 ac_save_LIBS
="$LIBS"
12038 LIBS
="-lpng -lz -lm $LIBS"
12039 cat > conftest.
$ac_ext <<EOF
12040 #line 12041 "configure"
12041 #include "confdefs.h"
12042 /* Override any gcc2 internal prototype to avoid an error. */
12043 /* We use char because int might match the return type of a gcc2
12044 builtin and then its argument prototype would still apply. */
12045 char png_check_sig();
12051 if { (eval echo configure
:12052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12053 eval "ac_cv_lib_$ac_lib_var=yes"
12055 echo "configure: failed program was:" >&5
12056 cat conftest.
$ac_ext >&5
12058 eval "ac_cv_lib_$ac_lib_var=no"
12061 LIBS
="$ac_save_LIBS"
12064 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12065 echo "$ac_t""yes" 1>&6
12068 echo "$ac_t""no" 1>&6
12073 if test "x$PNG_LINK" = "x" ; then
12074 if test "$wxUSE_LIBPNG" = "sys" ; then
12075 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
12077 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
12078 wxUSE_LIBPNG
=builtin
12086 if test "$wxUSE_LIBPNG" = "builtin" ; then
12087 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12090 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12096 if test "$wxUSE_LIBJPEG" != "no" ; then
12097 cat >> confdefs.h
<<\EOF
12098 #define wxUSE_LIBJPEG 1
12102 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
12103 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
12107 if test "$wxUSE_MGL" != 1 ; then
12108 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
12109 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12110 echo "configure:12111: checking for jpeglib.h" >&5
12111 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
12112 echo $ac_n "(cached) $ac_c" 1>&6
12114 cat > conftest.
$ac_ext <<EOF
12115 #line 12116 "configure"
12116 #include "confdefs.h"
12118 #undef HAVE_STDLIB_H
12120 #include <jpeglib.h>
12127 if { (eval echo configure
:12128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12129 ac_cv_header_jpeglib_h
=yes
12131 echo "configure: failed program was:" >&5
12132 cat conftest.
$ac_ext >&5
12134 ac_cv_header_jpeglib_h
=no
12141 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
12143 if test "$ac_cv_header_jpeglib_h" = "yes"; then
12144 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12145 echo "configure:12146: checking for jpeg_read_header in -ljpeg" >&5
12146 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12147 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12148 echo $ac_n "(cached) $ac_c" 1>&6
12150 ac_save_LIBS
="$LIBS"
12151 LIBS
="-ljpeg $LIBS"
12152 cat > conftest.
$ac_ext <<EOF
12153 #line 12154 "configure"
12154 #include "confdefs.h"
12155 /* Override any gcc2 internal prototype to avoid an error. */
12156 /* We use char because int might match the return type of a gcc2
12157 builtin and then its argument prototype would still apply. */
12158 char jpeg_read_header();
12164 if { (eval echo configure
:12165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12166 eval "ac_cv_lib_$ac_lib_var=yes"
12168 echo "configure: failed program was:" >&5
12169 cat conftest.
$ac_ext >&5
12171 eval "ac_cv_lib_$ac_lib_var=no"
12174 LIBS
="$ac_save_LIBS"
12177 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12178 echo "$ac_t""yes" 1>&6
12179 JPEG_LINK
=" -ljpeg"
12181 echo "$ac_t""no" 1>&6
12186 if test "x$JPEG_LINK" = "x" ; then
12187 if test "$wxUSE_LIBJPEG" = "sys" ; then
12188 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12190 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12191 wxUSE_LIBJPEG
=builtin
12199 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12200 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12207 TIFF_PREREQ_LINKS
=-lm
12208 if test "$wxUSE_LIBTIFF" != "no" ; then
12209 cat >> confdefs.h
<<\EOF
12210 #define wxUSE_LIBTIFF 1
12214 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12215 if test "$wxUSE_LIBJPEG" = "sys"; then
12216 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12218 if test "$wxUSE_ZLIB" = "sys"; then
12219 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12221 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12222 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12223 echo "configure:12224: checking for tiffio.h" >&5
12224 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12225 echo $ac_n "(cached) $ac_c" 1>&6
12227 cat > conftest.
$ac_ext <<EOF
12228 #line 12229 "configure"
12229 #include "confdefs.h"
12230 #include <tiffio.h>
12232 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12233 { (eval echo configure
:12234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12234 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12235 if test -z "$ac_err"; then
12237 eval "ac_cv_header_$ac_safe=yes"
12240 echo "configure: failed program was:" >&5
12241 cat conftest.
$ac_ext >&5
12243 eval "ac_cv_header_$ac_safe=no"
12247 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12248 echo "$ac_t""yes" 1>&6
12249 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12250 echo "configure:12251: checking for TIFFError in -ltiff" >&5
12251 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12252 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12253 echo $ac_n "(cached) $ac_c" 1>&6
12255 ac_save_LIBS
="$LIBS"
12256 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12257 cat > conftest.
$ac_ext <<EOF
12258 #line 12259 "configure"
12259 #include "confdefs.h"
12260 /* Override any gcc2 internal prototype to avoid an error. */
12261 /* We use char because int might match the return type of a gcc2
12262 builtin and then its argument prototype would still apply. */
12269 if { (eval echo configure
:12270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12271 eval "ac_cv_lib_$ac_lib_var=yes"
12273 echo "configure: failed program was:" >&5
12274 cat conftest.
$ac_ext >&5
12276 eval "ac_cv_lib_$ac_lib_var=no"
12279 LIBS
="$ac_save_LIBS"
12282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12283 echo "$ac_t""yes" 1>&6
12284 TIFF_LINK
=" -ltiff"
12286 echo "$ac_t""no" 1>&6
12291 echo "$ac_t""no" 1>&6
12295 if test "x$TIFF_LINK" = "x" ; then
12296 if test "$wxUSE_LIBTIFF" = "sys" ; then
12297 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12299 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12300 wxUSE_LIBTIFF
=builtin
12307 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12308 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12320 if test "$USE_WIN32" = 1 ; then
12321 for ac_hdr
in w32api.h
12323 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12324 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12325 echo "configure:12326: checking for $ac_hdr" >&5
12326 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12327 echo $ac_n "(cached) $ac_c" 1>&6
12329 cat > conftest.
$ac_ext <<EOF
12330 #line 12331 "configure"
12331 #include "confdefs.h"
12334 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12335 { (eval echo configure
:12336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12336 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12337 if test -z "$ac_err"; then
12339 eval "ac_cv_header_$ac_safe=yes"
12342 echo "configure: failed program was:" >&5
12343 cat conftest.
$ac_ext >&5
12345 eval "ac_cv_header_$ac_safe=no"
12349 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12350 echo "$ac_t""yes" 1>&6
12351 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12352 cat >> confdefs.h
<<EOF
12353 #define $ac_tr_hdr 1
12357 echo "$ac_t""no" 1>&6
12361 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12362 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12363 echo "configure:12364: checking for windows.h" >&5
12364 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12365 echo $ac_n "(cached) $ac_c" 1>&6
12367 cat > conftest.
$ac_ext <<EOF
12368 #line 12369 "configure"
12369 #include "confdefs.h"
12370 #include <windows.h>
12372 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12373 { (eval echo configure
:12374: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12374 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12375 if test -z "$ac_err"; then
12377 eval "ac_cv_header_$ac_safe=yes"
12380 echo "configure: failed program was:" >&5
12381 cat conftest.
$ac_ext >&5
12383 eval "ac_cv_header_$ac_safe=no"
12387 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12388 echo "$ac_t""yes" 1>&6
12391 echo "$ac_t""no" 1>&6
12393 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12398 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12399 echo "configure:12400: checking if w32api has good enough MSIE support" >&5
12400 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12401 echo $ac_n "(cached) $ac_c" 1>&6
12404 cat > conftest.
$ac_ext <<EOF
12405 #line 12406 "configure"
12406 #include "confdefs.h"
12407 #include <w32api.h>
12410 #define wxCHECK_W32API_VERSION( major, minor ) \
12411 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12412 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12413 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12415 #if !wxCHECK_W32API_VERSION(1,1)
12416 #error You need w32api 1.1 or newer
12421 if { (eval echo configure
:12422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12424 wx_cv_w32api_win32_ie
=yes
12427 echo "configure: failed program was:" >&5
12428 cat conftest.
$ac_ext >&5
12431 wx_cv_w32api_win32_ie
=no
12438 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12439 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12440 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12443 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12447 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12448 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12451 if test "$wxUSE_ODBC" = "yes" ; then
12452 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12455 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12456 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12458 WIN32INSTALL
=win32install
12461 if test "$USE_DARWIN" = 1; then
12462 if test "$wxUSE_PRECOMP" = "yes"; then
12463 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12465 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12469 if test "$wxUSE_GUI" = "yes"; then
12478 if test "$wxUSE_MSW" = 1 ; then
12482 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12485 if test "$wxUSE_GTK" = 1; then
12486 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12487 echo "configure:12488: checking for GTK+ version" >&5
12489 gtk_version_cached
=1
12490 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12491 echo $ac_n "(cached) $ac_c" 1>&6
12494 gtk_version_cached
=0
12495 echo "$ac_t""" 1>&6
12498 if test "$wxUSE_THREADS" = "yes"; then
12499 GTK_MODULES
=gthread
12503 if test "x$wxUSE_GTK2" = "xyes"; then
12504 # Check whether --enable-gtktest or --disable-gtktest was given.
12505 if test "${enable_gtktest+set}" = set; then
12506 enableval
="$enable_gtktest"
12513 pkg_config_args
=gtk
+-2.0
12514 for module
in .
$GTK_MODULES
12518 pkg_config_args
="$pkg_config_args gthread-2.0"
12525 # Extract the first word of "pkg-config", so it can be a program name with args.
12526 set dummy pkg
-config; ac_word
=$2
12527 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12528 echo "configure:12529: checking for $ac_word" >&5
12529 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12530 echo $ac_n "(cached) $ac_c" 1>&6
12532 case "$PKG_CONFIG" in
12534 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12537 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12540 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12542 for ac_dir
in $ac_dummy; do
12543 test -z "$ac_dir" && ac_dir
=.
12544 if test -f $ac_dir/$ac_word; then
12545 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12550 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12554 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12555 if test -n "$PKG_CONFIG"; then
12556 echo "$ac_t""$PKG_CONFIG" 1>&6
12558 echo "$ac_t""no" 1>&6
12562 if test x
$PKG_CONFIG != xno
; then
12563 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12566 echo *** pkg
-config too old
; version
0.7 or better required.
12574 min_gtk_version
=2.0.0
12575 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12576 echo "configure:12577: checking for GTK+ - version >= $min_gtk_version" >&5
12578 if test x
$PKG_CONFIG != xno
; then
12579 ## don't try to run the test against uninstalled libtool libs
12580 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12581 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12585 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12592 if test x
"$no_gtk" = x
; then
12593 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12594 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12595 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12597 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12599 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12600 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12601 if test "x$enable_gtktest" = "xyes" ; then
12602 ac_save_CFLAGS
="$CFLAGS"
12603 ac_save_LIBS
="$LIBS"
12604 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12605 LIBS
="$GTK_LIBS $LIBS"
12607 if test "$cross_compiling" = yes; then
12608 echo $ac_n "cross compiling; assumed OK... $ac_c"
12610 cat > conftest.
$ac_ext <<EOF
12611 #line 12612 "configure"
12612 #include "confdefs.h"
12614 #include <gtk/gtk.h>
12616 #include <stdlib.h>
12621 int major, minor, micro;
12624 system ("touch conf.gtktest");
12626 /* HP/UX 9 (%@#!) writes to sscanf strings */
12627 tmp_version = g_strdup("$min_gtk_version");
12628 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12629 printf("%s, bad version string\n", "$min_gtk_version");
12633 if ((gtk_major_version != $gtk_config_major_version) ||
12634 (gtk_minor_version != $gtk_config_minor_version) ||
12635 (gtk_micro_version != $gtk_config_micro_version))
12637 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12638 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12639 gtk_major_version, gtk_minor_version, gtk_micro_version);
12640 printf ("*** was found! If pkg-config was correct, then it is best\n");
12641 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12642 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12643 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12644 printf("*** required on your system.\n");
12645 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12646 printf("*** to point to the correct configuration files\n");
12648 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12649 (gtk_minor_version != GTK_MINOR_VERSION) ||
12650 (gtk_micro_version != GTK_MICRO_VERSION))
12652 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12653 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12654 printf("*** library (version %d.%d.%d)\n",
12655 gtk_major_version, gtk_minor_version, gtk_micro_version);
12659 if ((gtk_major_version > major) ||
12660 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12661 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12667 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12668 gtk_major_version, gtk_minor_version, gtk_micro_version);
12669 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12670 major, minor, micro);
12671 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12673 printf("*** If you have already installed a sufficiently new version, this error\n");
12674 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12675 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12676 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12677 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12678 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12679 printf("*** so that the correct libraries are found at run-time))\n");
12686 if { (eval echo configure
:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12690 echo "configure: failed program was:" >&5
12691 cat conftest.
$ac_ext >&5
12698 CFLAGS
="$ac_save_CFLAGS"
12699 LIBS
="$ac_save_LIBS"
12702 if test "x$no_gtk" = x
; then
12703 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12706 echo "$ac_t""no" 1>&6
12707 if test "$PKG_CONFIG" = "no" ; then
12708 echo "*** A new enough version of pkg-config was not found."
12709 echo "*** See http://pkgconfig.sourceforge.net"
12711 if test -f conf.gtktest
; then
12714 echo "*** Could not run GTK+ test program, checking why..."
12715 ac_save_CFLAGS
="$CFLAGS"
12716 ac_save_LIBS
="$LIBS"
12717 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12718 LIBS
="$LIBS $GTK_LIBS"
12719 cat > conftest.
$ac_ext <<EOF
12720 #line 12721 "configure"
12721 #include "confdefs.h"
12723 #include <gtk/gtk.h>
12727 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12730 if { (eval echo configure
:12731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12732 echo "*** The test program compiled, but did not run. This usually means"
12733 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12734 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12735 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12736 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12737 echo "*** is required on your system"
12739 echo "*** If you have an old version installed, it is best to remove it, although"
12740 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12742 echo "configure: failed program was:" >&5
12743 cat conftest.
$ac_ext >&5
12745 echo "*** The test program failed to compile or link. See the file config.log for the"
12746 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12749 CFLAGS
="$ac_save_CFLAGS"
12750 LIBS
="$ac_save_LIBS"
12762 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12763 if test "${with_gtk_prefix+set}" = set; then
12764 withval
="$with_gtk_prefix"
12765 gtk_config_prefix
="$withval"
12767 gtk_config_prefix
=""
12770 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12771 if test "${with_gtk_exec_prefix+set}" = set; then
12772 withval
="$with_gtk_exec_prefix"
12773 gtk_config_exec_prefix
="$withval"
12775 gtk_config_exec_prefix
=""
12778 # Check whether --enable-gtktest or --disable-gtktest was given.
12779 if test "${enable_gtktest+set}" = set; then
12780 enableval
="$enable_gtktest"
12787 for module
in .
$GTK_MODULES
12791 gtk_config_args
="$gtk_config_args gthread"
12796 if test x
$gtk_config_exec_prefix != x
; then
12797 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12798 if test x
${GTK_CONFIG+set} != xset
; then
12799 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12802 if test x
$gtk_config_prefix != x
; then
12803 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12804 if test x
${GTK_CONFIG+set} != xset
; then
12805 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12809 # Extract the first word of "gtk-config", so it can be a program name with args.
12810 set dummy gtk
-config; ac_word
=$2
12811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12812 echo "configure:12813: checking for $ac_word" >&5
12813 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12814 echo $ac_n "(cached) $ac_c" 1>&6
12816 case "$GTK_CONFIG" in
12818 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12821 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12824 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12826 for ac_dir
in $ac_dummy; do
12827 test -z "$ac_dir" && ac_dir
=.
12828 if test -f $ac_dir/$ac_word; then
12829 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12834 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12838 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12839 if test -n "$GTK_CONFIG"; then
12840 echo "$ac_t""$GTK_CONFIG" 1>&6
12842 echo "$ac_t""no" 1>&6
12845 min_gtk_version
=1.2.7
12846 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12847 echo "configure:12848: checking for GTK - version >= $min_gtk_version" >&5
12849 if test "$GTK_CONFIG" = "no" ; then
12852 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12853 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12854 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12855 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12856 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12857 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12858 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12860 if test "x$enable_gtktest" = "xyes" ; then
12861 ac_save_CFLAGS
="$CFLAGS"
12862 ac_save_LIBS
="$LIBS"
12863 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12864 LIBS
="$GTK_LIBS $LIBS"
12866 if test "$cross_compiling" = yes; then
12867 echo $ac_n "cross compiling; assumed OK... $ac_c"
12869 cat > conftest.
$ac_ext <<EOF
12870 #line 12871 "configure"
12871 #include "confdefs.h"
12873 #include <gtk/gtk.h>
12875 #include <stdlib.h>
12880 int major, minor, micro;
12883 system ("touch conf.gtktest");
12885 /* HP/UX 9 (%@#!) writes to sscanf strings */
12886 tmp_version = g_strdup("$min_gtk_version");
12887 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12888 printf("%s, bad version string\n", "$min_gtk_version");
12892 if ((gtk_major_version != $gtk_config_major_version) ||
12893 (gtk_minor_version != $gtk_config_minor_version) ||
12894 (gtk_micro_version != $gtk_config_micro_version))
12896 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12897 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12898 gtk_major_version, gtk_minor_version, gtk_micro_version);
12899 printf ("*** was found! If gtk-config was correct, then it is best\n");
12900 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12901 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12902 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12903 printf("*** required on your system.\n");
12904 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12905 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12906 printf("*** before re-running configure\n");
12908 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12909 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12910 (gtk_minor_version != GTK_MINOR_VERSION) ||
12911 (gtk_micro_version != GTK_MICRO_VERSION))
12913 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12914 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12915 printf("*** library (version %d.%d.%d)\n",
12916 gtk_major_version, gtk_minor_version, gtk_micro_version);
12918 #endif /* defined (GTK_MAJOR_VERSION) ... */
12921 if ((gtk_major_version > major) ||
12922 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12923 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12929 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12930 gtk_major_version, gtk_minor_version, gtk_micro_version);
12931 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12932 major, minor, micro);
12933 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12935 printf("*** If you have already installed a sufficiently new version, this error\n");
12936 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12937 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12938 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12939 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12940 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12941 printf("*** so that the correct libraries are found at run-time))\n");
12948 if { (eval echo configure
:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12952 echo "configure: failed program was:" >&5
12953 cat conftest.
$ac_ext >&5
12960 CFLAGS
="$ac_save_CFLAGS"
12961 LIBS
="$ac_save_LIBS"
12964 if test "x$no_gtk" = x
; then
12965 echo "$ac_t""yes" 1>&6
12966 wx_cv_lib_gtk
=1.2.7
12968 echo "$ac_t""no" 1>&6
12969 if test "$GTK_CONFIG" = "no" ; then
12970 echo "*** The gtk-config script installed by GTK could not be found"
12971 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12972 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12973 echo "*** full path to gtk-config."
12975 if test -f conf.gtktest
; then
12978 echo "*** Could not run GTK test program, checking why..."
12979 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12980 LIBS
="$LIBS $GTK_LIBS"
12981 cat > conftest.
$ac_ext <<EOF
12982 #line 12983 "configure"
12983 #include "confdefs.h"
12985 #include <gtk/gtk.h>
12989 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12992 if { (eval echo configure
:12993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12994 echo "*** The test program compiled, but did not run. This usually means"
12995 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12996 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12997 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12998 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12999 echo "*** is required on your system"
13001 echo "*** If you have an old version installed, it is best to remove it, although"
13002 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13004 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13005 echo "*** came with the system with the command"
13007 echo "*** rpm --erase --nodeps gtk gtk-devel"
13009 echo "configure: failed program was:" >&5
13010 cat conftest.
$ac_ext >&5
13012 echo "*** The test program failed to compile or link. See the file config.log for the"
13013 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13014 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13015 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13018 CFLAGS
="$ac_save_CFLAGS"
13019 LIBS
="$ac_save_LIBS"
13031 if test -z "$wx_cv_lib_gtk"; then
13032 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
13033 if test "${with_gtk_prefix+set}" = set; then
13034 withval
="$with_gtk_prefix"
13035 gtk_config_prefix
="$withval"
13037 gtk_config_prefix
=""
13040 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
13041 if test "${with_gtk_exec_prefix+set}" = set; then
13042 withval
="$with_gtk_exec_prefix"
13043 gtk_config_exec_prefix
="$withval"
13045 gtk_config_exec_prefix
=""
13048 # Check whether --enable-gtktest or --disable-gtktest was given.
13049 if test "${enable_gtktest+set}" = set; then
13050 enableval
="$enable_gtktest"
13057 for module
in .
$GTK_MODULES
13061 gtk_config_args
="$gtk_config_args gthread"
13066 if test x
$gtk_config_exec_prefix != x
; then
13067 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
13068 if test x
${GTK_CONFIG+set} != xset
; then
13069 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
13072 if test x
$gtk_config_prefix != x
; then
13073 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
13074 if test x
${GTK_CONFIG+set} != xset
; then
13075 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
13079 # Extract the first word of "gtk-config", so it can be a program name with args.
13080 set dummy gtk
-config; ac_word
=$2
13081 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13082 echo "configure:13083: checking for $ac_word" >&5
13083 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
13084 echo $ac_n "(cached) $ac_c" 1>&6
13086 case "$GTK_CONFIG" in
13088 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
13091 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
13094 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13096 for ac_dir
in $ac_dummy; do
13097 test -z "$ac_dir" && ac_dir
=.
13098 if test -f $ac_dir/$ac_word; then
13099 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
13104 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
13108 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
13109 if test -n "$GTK_CONFIG"; then
13110 echo "$ac_t""$GTK_CONFIG" 1>&6
13112 echo "$ac_t""no" 1>&6
13115 min_gtk_version
=1.2.3
13116 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
13117 echo "configure:13118: checking for GTK - version >= $min_gtk_version" >&5
13119 if test "$GTK_CONFIG" = "no" ; then
13122 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
13123 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
13124 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
13125 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13126 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
13127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13128 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
13129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13130 if test "x$enable_gtktest" = "xyes" ; then
13131 ac_save_CFLAGS
="$CFLAGS"
13132 ac_save_LIBS
="$LIBS"
13133 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13134 LIBS
="$GTK_LIBS $LIBS"
13136 if test "$cross_compiling" = yes; then
13137 echo $ac_n "cross compiling; assumed OK... $ac_c"
13139 cat > conftest.
$ac_ext <<EOF
13140 #line 13141 "configure"
13141 #include "confdefs.h"
13143 #include <gtk/gtk.h>
13145 #include <stdlib.h>
13150 int major, minor, micro;
13153 system ("touch conf.gtktest");
13155 /* HP/UX 9 (%@#!) writes to sscanf strings */
13156 tmp_version = g_strdup("$min_gtk_version");
13157 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13158 printf("%s, bad version string\n", "$min_gtk_version");
13162 if ((gtk_major_version != $gtk_config_major_version) ||
13163 (gtk_minor_version != $gtk_config_minor_version) ||
13164 (gtk_micro_version != $gtk_config_micro_version))
13166 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13167 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13168 gtk_major_version, gtk_minor_version, gtk_micro_version);
13169 printf ("*** was found! If gtk-config was correct, then it is best\n");
13170 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13171 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13172 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13173 printf("*** required on your system.\n");
13174 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13175 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13176 printf("*** before re-running configure\n");
13178 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13179 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13180 (gtk_minor_version != GTK_MINOR_VERSION) ||
13181 (gtk_micro_version != GTK_MICRO_VERSION))
13183 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13184 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13185 printf("*** library (version %d.%d.%d)\n",
13186 gtk_major_version, gtk_minor_version, gtk_micro_version);
13188 #endif /* defined (GTK_MAJOR_VERSION) ... */
13191 if ((gtk_major_version > major) ||
13192 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13193 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13199 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13200 gtk_major_version, gtk_minor_version, gtk_micro_version);
13201 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13202 major, minor, micro);
13203 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13205 printf("*** If you have already installed a sufficiently new version, this error\n");
13206 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13207 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13208 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13209 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13210 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13211 printf("*** so that the correct libraries are found at run-time))\n");
13218 if { (eval echo configure
:13219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13222 echo "configure: failed program was:" >&5
13223 cat conftest.
$ac_ext >&5
13230 CFLAGS
="$ac_save_CFLAGS"
13231 LIBS
="$ac_save_LIBS"
13234 if test "x$no_gtk" = x
; then
13235 echo "$ac_t""yes" 1>&6
13236 wx_cv_lib_gtk
=1.2.3
13238 echo "$ac_t""no" 1>&6
13239 if test "$GTK_CONFIG" = "no" ; then
13240 echo "*** The gtk-config script installed by GTK could not be found"
13241 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13242 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13243 echo "*** full path to gtk-config."
13245 if test -f conf.gtktest
; then
13248 echo "*** Could not run GTK test program, checking why..."
13249 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13250 LIBS
="$LIBS $GTK_LIBS"
13251 cat > conftest.
$ac_ext <<EOF
13252 #line 13253 "configure"
13253 #include "confdefs.h"
13255 #include <gtk/gtk.h>
13259 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13262 if { (eval echo configure
:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13264 echo "*** The test program compiled, but did not run. This usually means"
13265 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13266 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13267 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13268 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13269 echo "*** is required on your system"
13271 echo "*** If you have an old version installed, it is best to remove it, although"
13272 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13274 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13275 echo "*** came with the system with the command"
13277 echo "*** rpm --erase --nodeps gtk gtk-devel"
13279 echo "configure: failed program was:" >&5
13280 cat conftest.
$ac_ext >&5
13282 echo "*** The test program failed to compile or link. See the file config.log for the"
13283 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13284 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13285 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13288 CFLAGS
="$ac_save_CFLAGS"
13289 LIBS
="$ac_save_LIBS"
13303 if test -z "$wx_cv_lib_gtk"; then
13306 wx_cv_cflags_gtk
=$GTK_CFLAGS
13307 wx_cv_libs_gtk
=$GTK_LIBS
13314 if test "$gtk_version_cached" = 1; then
13315 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13318 case "$wx_cv_lib_gtk" in
13327 *) { echo "configure: error:
13328 Please check that gtk-config is in path, the directory
13329 where GTK+ libraries are installed (returned by
13330 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13331 equivalent variable and GTK+ is version 1.2.3 or above.
13336 if test "$WXGTK20" = 1; then
13337 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13341 if test -z "$PKG_CONFIG"; then
13342 # Extract the first word of "pkg-config", so it can be a program name with args.
13343 set dummy pkg
-config; ac_word
=$2
13344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13345 echo "configure:13346: checking for $ac_word" >&5
13346 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13347 echo $ac_n "(cached) $ac_c" 1>&6
13349 case "$PKG_CONFIG" in
13351 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13354 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13357 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13359 for ac_dir
in $ac_dummy; do
13360 test -z "$ac_dir" && ac_dir
=.
13361 if test -f $ac_dir/$ac_word; then
13362 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13367 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13371 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13372 if test -n "$PKG_CONFIG"; then
13373 echo "$ac_t""$PKG_CONFIG" 1>&6
13375 echo "$ac_t""no" 1>&6
13380 if test "$PKG_CONFIG" = "no" ; then
13381 echo "*** The pkg-config script could not be found. Make sure it is"
13382 echo "*** in your path, or set the PKG_CONFIG environment variable"
13383 echo "*** to the full path to pkg-config."
13384 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13386 PKG_CONFIG_MIN_VERSION
=0.9.0
13387 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13388 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13389 echo "configure:13390: checking for pangoft2" >&5
13391 if $PKG_CONFIG --exists "pangoft2" ; then
13392 echo "$ac_t""yes" 1>&6
13395 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13396 echo "configure:13397: checking PANGOFT2_CFLAGS" >&5
13397 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13398 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13400 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13401 echo "configure:13402: checking PANGOFT2_LIBS" >&5
13402 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13403 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13407 ## If we have a custom action on failure, don't print errors, but
13408 ## do set a variable so people can do so.
13409 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13416 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13417 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13421 if test $succeeded = yes; then
13423 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13424 LIBS
="$LIBS $PANGOFT2_LIBS"
13428 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13429 wxUSE_PRINTING_ARCHITECTURE
="no"
13436 if test "$wxUSE_UNICODE" = "yes"; then
13437 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13442 if test "$USE_DARWIN" != 1; then
13443 for ac_func
in poll
13445 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13446 echo "configure:13447: checking for $ac_func" >&5
13447 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13448 echo $ac_n "(cached) $ac_c" 1>&6
13450 cat > conftest.
$ac_ext <<EOF
13451 #line 13452 "configure"
13452 #include "confdefs.h"
13453 /* System header to define __stub macros and hopefully few prototypes,
13454 which can conflict with char $ac_func(); below. */
13455 #include <assert.h>
13456 /* Override any gcc2 internal prototype to avoid an error. */
13457 /* We use char because int might match the return type of a gcc2
13458 builtin and then its argument prototype would still apply. */
13463 /* The GNU C library defines this for functions which it implements
13464 to always fail with ENOSYS. Some functions are actually named
13465 something starting with __ and the normal name is an alias. */
13466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13474 if { (eval echo configure
:13475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13476 eval "ac_cv_func_$ac_func=yes"
13478 echo "configure: failed program was:" >&5
13479 cat conftest.
$ac_ext >&5
13481 eval "ac_cv_func_$ac_func=no"
13486 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13487 echo "$ac_t""yes" 1>&6
13488 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13489 cat >> confdefs.h
<<EOF
13490 #define $ac_tr_func 1
13494 echo "$ac_t""no" 1>&6
13500 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13501 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13503 AFMINSTALL
=afminstall
13507 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13508 echo "configure:13509: checking for gdk_im_open in -lgdk" >&5
13509 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13510 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13511 echo $ac_n "(cached) $ac_c" 1>&6
13513 ac_save_LIBS
="$LIBS"
13515 cat > conftest.
$ac_ext <<EOF
13516 #line 13517 "configure"
13517 #include "confdefs.h"
13518 /* Override any gcc2 internal prototype to avoid an error. */
13519 /* We use char because int might match the return type of a gcc2
13520 builtin and then its argument prototype would still apply. */
13521 char gdk_im_open();
13527 if { (eval echo configure
:13528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13529 eval "ac_cv_lib_$ac_lib_var=yes"
13531 echo "configure: failed program was:" >&5
13532 cat conftest.
$ac_ext >&5
13534 eval "ac_cv_lib_$ac_lib_var=no"
13537 LIBS
="$ac_save_LIBS"
13540 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13541 echo "$ac_t""yes" 1>&6
13542 cat >> confdefs.h
<<\EOF
13547 echo "$ac_t""no" 1>&6
13552 if test "$wxUSE_MGL" = 1; then
13553 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13554 echo "configure:13555: checking for SciTech MGL library" >&5
13555 if test "x$MGL_ROOT" = x
; then
13556 echo "$ac_t""not found" 1>&6
13557 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13559 echo "$ac_t""$MGL_ROOT" 1>&6
13562 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13563 echo "configure:13564: checking for libmgl location" >&5
13566 if test "x$wxUSE_SHARED" = xyes
; then
13567 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13569 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13573 mgl_os_candidates
="dos32/dj2"
13576 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13582 for mgl_os_i
in $mgl_os_candidates ; do
13583 if test "x$mgl_os" = x
; then
13584 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13585 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13586 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13591 if test "x$mgl_lib_type" = x
; then
13592 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13593 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13594 mgl_lib_type
=release
13601 if test "x$mgl_os" = x
; then
13602 echo "$ac_t""not found" 1>&6
13603 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13605 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13607 wxUSE_UNIVERSAL
="yes"
13609 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13610 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13612 AFMINSTALL
=afminstall
13617 if test "$wxUSE_MICROWIN" = 1; then
13618 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13619 echo "configure:13620: checking for MicroWindows" >&5
13620 if test "x$MICROWINDOWS" = x
; then
13621 echo "$ac_t""not found" 1>&6
13622 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13624 echo "$ac_t""$MICROWINDOWS" 1>&6
13627 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13628 echo "$ac_t""MicroWindows' libraries found." 1>&6
13630 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13633 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13634 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13636 wxUSE_UNIVERSAL
="yes"
13638 AFMINSTALL
=afminstall
13640 GUIDIST
=MICROWIN_DIST
13642 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13645 if test "$wxUSE_X11" = 1; then
13646 # If we find X, set shell vars x_includes and x_libraries to the
13647 # paths, otherwise set no_x=yes.
13648 # Uses ac_ vars as temps to allow command line to override cache and checks.
13649 # --without-x overrides everything else, but does not touch the cache.
13650 echo $ac_n "checking for X""... $ac_c" 1>&6
13651 echo "configure:13652: checking for X" >&5
13653 # Check whether --with-x or --without-x was given.
13654 if test "${with_x+set}" = set; then
13659 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13660 if test "x$with_x" = xno
; then
13661 # The user explicitly disabled X.
13664 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13665 # Both variables are already set.
13668 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13669 echo $ac_n "(cached) $ac_c" 1>&6
13671 # One or both of the vars are not set, and there is no cached value.
13672 ac_x_includes
=NO ac_x_libraries
=NO
13674 if mkdir conftestdir
; then
13676 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13677 cat > Imakefile
<<'EOF'
13679 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13681 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13682 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13683 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13684 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13685 for ac_extension
in a so sl
; do
13686 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13687 test -f $ac_im_libdir/libX11.
$ac_extension; then
13688 ac_im_usrlibdir
=$ac_im_libdir; break
13691 # Screen out bogus values from the imake configuration. They are
13692 # bogus both because they are the default anyway, and because
13693 # using them would break gcc on systems where it needs fixed includes.
13694 case "$ac_im_incroot" in
13696 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13698 case "$ac_im_usrlibdir" in
13699 /usr
/lib
| /lib
) ;;
13700 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13707 if test "$ac_x_includes" = NO
; then
13708 # Guess where to find include files, by looking for this one X11 .h file.
13709 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13711 # First, try using that file with no special directory specified.
13712 cat > conftest.
$ac_ext <<EOF
13713 #line 13714 "configure"
13714 #include "confdefs.h"
13715 #include <$x_direct_test_include>
13717 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13718 { (eval echo configure
:13719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13719 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13720 if test -z "$ac_err"; then
13722 # We can compile using X headers with no special include directory.
13726 echo "configure: failed program was:" >&5
13727 cat conftest.
$ac_ext >&5
13729 # Look for the header file in a standard set of common directories.
13730 # Check X11 before X11Rn because it is often a symlink to the current release.
13733 /usr
/X
11R
6/include \
13734 /usr
/X
11R
5/include \
13735 /usr
/X
11R
4/include \
13738 /usr
/include
/X11R6 \
13739 /usr
/include
/X11R5 \
13740 /usr
/include
/X11R4 \
13742 /usr
/local
/X
11/include \
13743 /usr
/local
/X
11R
6/include \
13744 /usr
/local
/X
11R
5/include \
13745 /usr
/local
/X
11R
4/include \
13747 /usr
/local
/include
/X11 \
13748 /usr
/local
/include
/X11R6 \
13749 /usr
/local
/include
/X11R5 \
13750 /usr
/local
/include
/X11R4 \
13752 /usr
/X
386/include \
13753 /usr
/x
386/include \
13754 /usr
/XFree
86/include
/X11 \
13757 /usr
/local
/include \
13758 /usr
/unsupported
/include \
13759 /usr
/athena
/include \
13760 /usr
/local
/x
11r
5/include \
13761 /usr
/lpp
/Xamples
/include \
13763 /usr
/openwin
/include \
13764 /usr
/openwin
/share
/include \
13767 if test -r "$ac_dir/$x_direct_test_include"; then
13768 ac_x_includes
=$ac_dir
13774 fi # $ac_x_includes = NO
13776 if test "$ac_x_libraries" = NO
; then
13777 # Check for the libraries.
13779 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13780 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13782 # See if we find them without any special options.
13783 # Don't add to $LIBS permanently.
13784 ac_save_LIBS
="$LIBS"
13785 LIBS
="-l$x_direct_test_library $LIBS"
13786 cat > conftest.
$ac_ext <<EOF
13787 #line 13788 "configure"
13788 #include "confdefs.h"
13791 ${x_direct_test_function}()
13794 if { (eval echo configure
:13795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13796 LIBS
="$ac_save_LIBS"
13797 # We can link X programs with no special library path.
13800 echo "configure: failed program was:" >&5
13801 cat conftest.
$ac_ext >&5
13803 LIBS
="$ac_save_LIBS"
13804 # First see if replacing the include by lib works.
13805 # Check X11 before X11Rn because it is often a symlink to the current release.
13806 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13817 /usr
/local
/X
11/lib \
13818 /usr
/local
/X
11R
6/lib \
13819 /usr
/local
/X
11R
5/lib \
13820 /usr
/local
/X
11R
4/lib \
13822 /usr
/local
/lib
/X11 \
13823 /usr
/local
/lib
/X11R6 \
13824 /usr
/local
/lib
/X11R5 \
13825 /usr
/local
/lib
/X11R4 \
13829 /usr
/XFree
86/lib
/X11 \
13833 /usr
/unsupported
/lib \
13835 /usr
/local
/x
11r
5/lib \
13836 /usr
/lpp
/Xamples
/lib \
13840 /usr
/openwin
/share
/lib \
13843 for ac_extension
in a so sl
; do
13844 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13845 ac_x_libraries
=$ac_dir
13852 fi # $ac_x_libraries = NO
13854 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13855 # Didn't find X anywhere. Cache the known absence of X.
13856 ac_cv_have_x
="have_x=no"
13858 # Record where we found X for the cache.
13859 ac_cv_have_x
="have_x=yes \
13860 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13864 eval "$ac_cv_have_x"
13867 if test "$have_x" != yes; then
13868 echo "$ac_t""$have_x" 1>&6
13871 # If each of the values was on the command line, it overrides each guess.
13872 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13873 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13874 # Update the cache value to reflect the command line values.
13875 ac_cv_have_x
="have_x=yes \
13876 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13877 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13880 if test "$no_x" = yes; then
13881 # Not all programs may use this symbol, but it does not hurt to define it.
13882 cat >> confdefs.h
<<\EOF
13883 #define X_DISPLAY_MISSING 1
13886 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13888 if test -n "$x_includes"; then
13889 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13892 # It would also be nice to do this for all -L options, not just this one.
13893 if test -n "$x_libraries"; then
13894 X_LIBS
="$X_LIBS -L$x_libraries"
13895 # For Solaris; some versions of Sun CC require a space after -R and
13896 # others require no space. Words are not sufficient . . . .
13897 case "`(uname -sr) 2>/dev/null`" in
13899 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13900 echo "configure:13901: checking whether -R must be followed by a space" >&5
13901 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13902 cat > conftest.
$ac_ext <<EOF
13903 #line 13904 "configure"
13904 #include "confdefs.h"
13910 if { (eval echo configure
:13911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13914 echo "configure: failed program was:" >&5
13915 cat conftest.
$ac_ext >&5
13920 if test $ac_R_nospace = yes; then
13921 echo "$ac_t""no" 1>&6
13922 X_LIBS
="$X_LIBS -R$x_libraries"
13924 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13925 cat > conftest.
$ac_ext <<EOF
13926 #line 13927 "configure"
13927 #include "confdefs.h"
13933 if { (eval echo configure
:13934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13937 echo "configure: failed program was:" >&5
13938 cat conftest.
$ac_ext >&5
13943 if test $ac_R_space = yes; then
13944 echo "$ac_t""yes" 1>&6
13945 X_LIBS
="$X_LIBS -R $x_libraries"
13947 echo "$ac_t""neither works" 1>&6
13950 LIBS
="$ac_xsave_LIBS"
13954 # Check for system-dependent libraries X programs must link with.
13955 # Do this before checking for the system-independent R6 libraries
13956 # (-lICE), since we may need -lsocket or whatever for X linking.
13958 if test "$ISC" = yes; then
13959 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13961 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13962 # libraries were built with DECnet support. And karl@cs.umb.edu says
13963 # the Alpha needs dnet_stub (dnet does not exist).
13964 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13965 echo "configure:13966: checking for dnet_ntoa in -ldnet" >&5
13966 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13967 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13968 echo $ac_n "(cached) $ac_c" 1>&6
13970 ac_save_LIBS
="$LIBS"
13971 LIBS
="-ldnet $LIBS"
13972 cat > conftest.
$ac_ext <<EOF
13973 #line 13974 "configure"
13974 #include "confdefs.h"
13975 /* Override any gcc2 internal prototype to avoid an error. */
13976 /* We use char because int might match the return type of a gcc2
13977 builtin and then its argument prototype would still apply. */
13984 if { (eval echo configure
:13985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13986 eval "ac_cv_lib_$ac_lib_var=yes"
13988 echo "configure: failed program was:" >&5
13989 cat conftest.
$ac_ext >&5
13991 eval "ac_cv_lib_$ac_lib_var=no"
13994 LIBS
="$ac_save_LIBS"
13997 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13998 echo "$ac_t""yes" 1>&6
13999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14001 echo "$ac_t""no" 1>&6
14004 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14005 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14006 echo "configure:14007: checking for dnet_ntoa in -ldnet_stub" >&5
14007 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14008 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14009 echo $ac_n "(cached) $ac_c" 1>&6
14011 ac_save_LIBS
="$LIBS"
14012 LIBS
="-ldnet_stub $LIBS"
14013 cat > conftest.
$ac_ext <<EOF
14014 #line 14015 "configure"
14015 #include "confdefs.h"
14016 /* Override any gcc2 internal prototype to avoid an error. */
14017 /* We use char because int might match the return type of a gcc2
14018 builtin and then its argument prototype would still apply. */
14025 if { (eval echo configure
:14026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14027 eval "ac_cv_lib_$ac_lib_var=yes"
14029 echo "configure: failed program was:" >&5
14030 cat conftest.
$ac_ext >&5
14032 eval "ac_cv_lib_$ac_lib_var=no"
14035 LIBS
="$ac_save_LIBS"
14038 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14039 echo "$ac_t""yes" 1>&6
14040 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14042 echo "$ac_t""no" 1>&6
14047 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14048 # to get the SysV transport functions.
14049 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14051 # The nsl library prevents programs from opening the X display
14052 # on Irix 5.2, according to dickey@clark.net.
14053 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14054 echo "configure:14055: checking for gethostbyname" >&5
14055 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14056 echo $ac_n "(cached) $ac_c" 1>&6
14058 cat > conftest.
$ac_ext <<EOF
14059 #line 14060 "configure"
14060 #include "confdefs.h"
14061 /* System header to define __stub macros and hopefully few prototypes,
14062 which can conflict with char gethostbyname(); below. */
14063 #include <assert.h>
14064 /* Override any gcc2 internal prototype to avoid an error. */
14065 /* We use char because int might match the return type of a gcc2
14066 builtin and then its argument prototype would still apply. */
14067 char gethostbyname();
14071 /* The GNU C library defines this for functions which it implements
14072 to always fail with ENOSYS. Some functions are actually named
14073 something starting with __ and the normal name is an alias. */
14074 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14082 if { (eval echo configure
:14083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14084 eval "ac_cv_func_gethostbyname=yes"
14086 echo "configure: failed program was:" >&5
14087 cat conftest.
$ac_ext >&5
14089 eval "ac_cv_func_gethostbyname=no"
14094 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14095 echo "$ac_t""yes" 1>&6
14098 echo "$ac_t""no" 1>&6
14101 if test $ac_cv_func_gethostbyname = no
; then
14102 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14103 echo "configure:14104: checking for gethostbyname in -lnsl" >&5
14104 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14105 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14106 echo $ac_n "(cached) $ac_c" 1>&6
14108 ac_save_LIBS
="$LIBS"
14110 cat > conftest.
$ac_ext <<EOF
14111 #line 14112 "configure"
14112 #include "confdefs.h"
14113 /* Override any gcc2 internal prototype to avoid an error. */
14114 /* We use char because int might match the return type of a gcc2
14115 builtin and then its argument prototype would still apply. */
14116 char gethostbyname();
14122 if { (eval echo configure
:14123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14124 eval "ac_cv_lib_$ac_lib_var=yes"
14126 echo "configure: failed program was:" >&5
14127 cat conftest.
$ac_ext >&5
14129 eval "ac_cv_lib_$ac_lib_var=no"
14132 LIBS
="$ac_save_LIBS"
14135 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14136 echo "$ac_t""yes" 1>&6
14137 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14139 echo "$ac_t""no" 1>&6
14144 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14145 # socket/setsockopt and other routines are undefined under SCO ODT
14146 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14147 # on later versions), says simon@lia.di.epfl.ch: it contains
14148 # gethostby* variants that don't use the nameserver (or something).
14149 # -lsocket must be given before -lnsl if both are needed.
14150 # We assume that if connect needs -lnsl, so does gethostbyname.
14151 echo $ac_n "checking for connect""... $ac_c" 1>&6
14152 echo "configure:14153: checking for connect" >&5
14153 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14154 echo $ac_n "(cached) $ac_c" 1>&6
14156 cat > conftest.
$ac_ext <<EOF
14157 #line 14158 "configure"
14158 #include "confdefs.h"
14159 /* System header to define __stub macros and hopefully few prototypes,
14160 which can conflict with char connect(); below. */
14161 #include <assert.h>
14162 /* Override any gcc2 internal prototype to avoid an error. */
14163 /* We use char because int might match the return type of a gcc2
14164 builtin and then its argument prototype would still apply. */
14169 /* The GNU C library defines this for functions which it implements
14170 to always fail with ENOSYS. Some functions are actually named
14171 something starting with __ and the normal name is an alias. */
14172 #if defined (__stub_connect) || defined (__stub___connect)
14180 if { (eval echo configure
:14181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14182 eval "ac_cv_func_connect=yes"
14184 echo "configure: failed program was:" >&5
14185 cat conftest.
$ac_ext >&5
14187 eval "ac_cv_func_connect=no"
14192 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14193 echo "$ac_t""yes" 1>&6
14196 echo "$ac_t""no" 1>&6
14199 if test $ac_cv_func_connect = no
; then
14200 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14201 echo "configure:14202: checking for connect in -lsocket" >&5
14202 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14204 echo $ac_n "(cached) $ac_c" 1>&6
14206 ac_save_LIBS
="$LIBS"
14207 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14208 cat > conftest.
$ac_ext <<EOF
14209 #line 14210 "configure"
14210 #include "confdefs.h"
14211 /* Override any gcc2 internal prototype to avoid an error. */
14212 /* We use char because int might match the return type of a gcc2
14213 builtin and then its argument prototype would still apply. */
14220 if { (eval echo configure
:14221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14222 eval "ac_cv_lib_$ac_lib_var=yes"
14224 echo "configure: failed program was:" >&5
14225 cat conftest.
$ac_ext >&5
14227 eval "ac_cv_lib_$ac_lib_var=no"
14230 LIBS
="$ac_save_LIBS"
14233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14234 echo "$ac_t""yes" 1>&6
14235 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14237 echo "$ac_t""no" 1>&6
14242 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14243 echo $ac_n "checking for remove""... $ac_c" 1>&6
14244 echo "configure:14245: checking for remove" >&5
14245 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14246 echo $ac_n "(cached) $ac_c" 1>&6
14248 cat > conftest.
$ac_ext <<EOF
14249 #line 14250 "configure"
14250 #include "confdefs.h"
14251 /* System header to define __stub macros and hopefully few prototypes,
14252 which can conflict with char remove(); below. */
14253 #include <assert.h>
14254 /* Override any gcc2 internal prototype to avoid an error. */
14255 /* We use char because int might match the return type of a gcc2
14256 builtin and then its argument prototype would still apply. */
14261 /* The GNU C library defines this for functions which it implements
14262 to always fail with ENOSYS. Some functions are actually named
14263 something starting with __ and the normal name is an alias. */
14264 #if defined (__stub_remove) || defined (__stub___remove)
14272 if { (eval echo configure
:14273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14274 eval "ac_cv_func_remove=yes"
14276 echo "configure: failed program was:" >&5
14277 cat conftest.
$ac_ext >&5
14279 eval "ac_cv_func_remove=no"
14284 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14285 echo "$ac_t""yes" 1>&6
14288 echo "$ac_t""no" 1>&6
14291 if test $ac_cv_func_remove = no
; then
14292 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14293 echo "configure:14294: checking for remove in -lposix" >&5
14294 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14296 echo $ac_n "(cached) $ac_c" 1>&6
14298 ac_save_LIBS
="$LIBS"
14299 LIBS
="-lposix $LIBS"
14300 cat > conftest.
$ac_ext <<EOF
14301 #line 14302 "configure"
14302 #include "confdefs.h"
14303 /* Override any gcc2 internal prototype to avoid an error. */
14304 /* We use char because int might match the return type of a gcc2
14305 builtin and then its argument prototype would still apply. */
14312 if { (eval echo configure
:14313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14314 eval "ac_cv_lib_$ac_lib_var=yes"
14316 echo "configure: failed program was:" >&5
14317 cat conftest.
$ac_ext >&5
14319 eval "ac_cv_lib_$ac_lib_var=no"
14322 LIBS
="$ac_save_LIBS"
14325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14326 echo "$ac_t""yes" 1>&6
14327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14329 echo "$ac_t""no" 1>&6
14334 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14335 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14336 echo "configure:14337: checking for shmat" >&5
14337 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14338 echo $ac_n "(cached) $ac_c" 1>&6
14340 cat > conftest.
$ac_ext <<EOF
14341 #line 14342 "configure"
14342 #include "confdefs.h"
14343 /* System header to define __stub macros and hopefully few prototypes,
14344 which can conflict with char shmat(); below. */
14345 #include <assert.h>
14346 /* Override any gcc2 internal prototype to avoid an error. */
14347 /* We use char because int might match the return type of a gcc2
14348 builtin and then its argument prototype would still apply. */
14353 /* The GNU C library defines this for functions which it implements
14354 to always fail with ENOSYS. Some functions are actually named
14355 something starting with __ and the normal name is an alias. */
14356 #if defined (__stub_shmat) || defined (__stub___shmat)
14364 if { (eval echo configure
:14365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14366 eval "ac_cv_func_shmat=yes"
14368 echo "configure: failed program was:" >&5
14369 cat conftest.
$ac_ext >&5
14371 eval "ac_cv_func_shmat=no"
14376 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14377 echo "$ac_t""yes" 1>&6
14380 echo "$ac_t""no" 1>&6
14383 if test $ac_cv_func_shmat = no
; then
14384 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14385 echo "configure:14386: checking for shmat in -lipc" >&5
14386 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14387 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14388 echo $ac_n "(cached) $ac_c" 1>&6
14390 ac_save_LIBS
="$LIBS"
14392 cat > conftest.
$ac_ext <<EOF
14393 #line 14394 "configure"
14394 #include "confdefs.h"
14395 /* Override any gcc2 internal prototype to avoid an error. */
14396 /* We use char because int might match the return type of a gcc2
14397 builtin and then its argument prototype would still apply. */
14404 if { (eval echo configure
:14405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14406 eval "ac_cv_lib_$ac_lib_var=yes"
14408 echo "configure: failed program was:" >&5
14409 cat conftest.
$ac_ext >&5
14411 eval "ac_cv_lib_$ac_lib_var=no"
14414 LIBS
="$ac_save_LIBS"
14417 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14418 echo "$ac_t""yes" 1>&6
14419 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14421 echo "$ac_t""no" 1>&6
14427 # Check for libraries that X11R6 Xt/Xaw programs need.
14428 ac_save_LDFLAGS
="$LDFLAGS"
14429 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14430 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14431 # check for ICE first), but we must link in the order -lSM -lICE or
14432 # we get undefined symbols. So assume we have SM if we have ICE.
14433 # These have to be linked with before -lX11, unlike the other
14434 # libraries we check for below, so use a different variable.
14435 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14436 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14437 echo "configure:14438: checking for IceConnectionNumber in -lICE" >&5
14438 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14440 echo $ac_n "(cached) $ac_c" 1>&6
14442 ac_save_LIBS
="$LIBS"
14443 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14444 cat > conftest.
$ac_ext <<EOF
14445 #line 14446 "configure"
14446 #include "confdefs.h"
14447 /* Override any gcc2 internal prototype to avoid an error. */
14448 /* We use char because int might match the return type of a gcc2
14449 builtin and then its argument prototype would still apply. */
14450 char IceConnectionNumber();
14453 IceConnectionNumber()
14456 if { (eval echo configure
:14457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14458 eval "ac_cv_lib_$ac_lib_var=yes"
14460 echo "configure: failed program was:" >&5
14461 cat conftest.
$ac_ext >&5
14463 eval "ac_cv_lib_$ac_lib_var=no"
14466 LIBS
="$ac_save_LIBS"
14469 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14470 echo "$ac_t""yes" 1>&6
14471 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14473 echo "$ac_t""no" 1>&6
14476 LDFLAGS
="$ac_save_LDFLAGS"
14481 if test "$no_x" = "yes"; then
14482 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14485 GUI_TK_LIBRARY
="$X_LIBS"
14486 TOOLKIT_INCLUDE
="$X_CFLAGS"
14487 AFMINSTALL
=afminstall
14488 COMPILED_X_PROGRAM
=0
14490 if test "$wxUSE_NANOX" = "yes"; then
14491 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14492 echo "configure:14493: checking for MicroWindows/NanoX distribution" >&5
14493 if test "x$MICROWIN" = x
; then
14494 echo "$ac_t""not found" 1>&6
14495 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14497 echo "$ac_t""$MICROWIN" 1>&6
14498 cat >> confdefs.h
<<\EOF
14499 #define wxUSE_NANOX 1
14506 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14507 echo "configure:14508: checking for Xpm library" >&5
14510 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14512 for ac_extension
in a so sl dylib
; do
14513 if test -f "$ac_dir/libXpm.$ac_extension"; then
14514 ac_find_libraries
=$ac_dir
14520 if test "$ac_find_libraries" != "" ; then
14522 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14524 if test $result = 0; then
14527 ac_path_to_link
=" -L$ac_find_libraries"
14530 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14532 cat >> confdefs.h
<<\EOF
14533 #define wxHAVE_LIB_XPM 1
14536 echo "$ac_t""found at $ac_find_libraries" 1>&6
14538 cat > conftest.
$ac_ext <<EOF
14539 #line 14540 "configure"
14540 #include "confdefs.h"
14542 #include <X11/xpm.h>
14547 version = XpmLibraryVersion();
14551 if { (eval echo configure
:14552: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14555 cat >> confdefs.h
<<\EOF
14556 #define wxHAVE_LIB_XPM 1
14559 echo "$ac_t""found in default search path" 1>&6
14560 COMPILED_X_PROGRAM
=0
14563 echo "configure: failed program was:" >&5
14564 cat conftest.
$ac_ext >&5
14567 echo "$ac_t""no" 1>&6
14568 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14575 if test "$wxUSE_UNICODE" = "yes"; then
14579 if test -z "$PKG_CONFIG"; then
14580 # Extract the first word of "pkg-config", so it can be a program name with args.
14581 set dummy pkg
-config; ac_word
=$2
14582 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14583 echo "configure:14584: checking for $ac_word" >&5
14584 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14585 echo $ac_n "(cached) $ac_c" 1>&6
14587 case "$PKG_CONFIG" in
14589 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14592 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14595 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14597 for ac_dir
in $ac_dummy; do
14598 test -z "$ac_dir" && ac_dir
=.
14599 if test -f $ac_dir/$ac_word; then
14600 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14605 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14609 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14610 if test -n "$PKG_CONFIG"; then
14611 echo "$ac_t""$PKG_CONFIG" 1>&6
14613 echo "$ac_t""no" 1>&6
14618 if test "$PKG_CONFIG" = "no" ; then
14619 echo "*** The pkg-config script could not be found. Make sure it is"
14620 echo "*** in your path, or set the PKG_CONFIG environment variable"
14621 echo "*** to the full path to pkg-config."
14622 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14624 PKG_CONFIG_MIN_VERSION
=0.9.0
14625 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14626 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14627 echo "configure:14628: checking for pangox" >&5
14629 if $PKG_CONFIG --exists "pangox" ; then
14630 echo "$ac_t""yes" 1>&6
14633 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14634 echo "configure:14635: checking PANGOX_CFLAGS" >&5
14635 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14636 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14638 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14639 echo "configure:14640: checking PANGOX_LIBS" >&5
14640 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14641 echo "$ac_t""$PANGOX_LIBS" 1>&6
14645 ## If we have a custom action on failure, don't print errors, but
14646 ## do set a variable so people can do so.
14647 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14654 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14655 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14659 if test $succeeded = yes; then
14661 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14662 LIBS
="$LIBS $PANGOX_LIBS"
14666 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14674 if test -z "$PKG_CONFIG"; then
14675 # Extract the first word of "pkg-config", so it can be a program name with args.
14676 set dummy pkg
-config; ac_word
=$2
14677 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14678 echo "configure:14679: checking for $ac_word" >&5
14679 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14680 echo $ac_n "(cached) $ac_c" 1>&6
14682 case "$PKG_CONFIG" in
14684 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14687 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14690 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14692 for ac_dir
in $ac_dummy; do
14693 test -z "$ac_dir" && ac_dir
=.
14694 if test -f $ac_dir/$ac_word; then
14695 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14700 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14704 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14705 if test -n "$PKG_CONFIG"; then
14706 echo "$ac_t""$PKG_CONFIG" 1>&6
14708 echo "$ac_t""no" 1>&6
14713 if test "$PKG_CONFIG" = "no" ; then
14714 echo "*** The pkg-config script could not be found. Make sure it is"
14715 echo "*** in your path, or set the PKG_CONFIG environment variable"
14716 echo "*** to the full path to pkg-config."
14717 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14719 PKG_CONFIG_MIN_VERSION
=0.9.0
14720 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14721 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14722 echo "configure:14723: checking for pangoft2" >&5
14724 if $PKG_CONFIG --exists "pangoft2" ; then
14725 echo "$ac_t""yes" 1>&6
14728 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14729 echo "configure:14730: checking PANGOFT2_CFLAGS" >&5
14730 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14731 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14733 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14734 echo "configure:14735: checking PANGOFT2_LIBS" >&5
14735 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14736 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14740 ## If we have a custom action on failure, don't print errors, but
14741 ## do set a variable so people can do so.
14742 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14749 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14750 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14754 if test $succeeded = yes; then
14756 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14757 LIBS
="$LIBS $PANGOFT2_LIBS"
14761 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14762 wxUSE_PRINTING_ARCHITECTURE
="no"
14770 if test -z "$PKG_CONFIG"; then
14771 # Extract the first word of "pkg-config", so it can be a program name with args.
14772 set dummy pkg
-config; ac_word
=$2
14773 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14774 echo "configure:14775: checking for $ac_word" >&5
14775 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14776 echo $ac_n "(cached) $ac_c" 1>&6
14778 case "$PKG_CONFIG" in
14780 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14783 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14786 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14788 for ac_dir
in $ac_dummy; do
14789 test -z "$ac_dir" && ac_dir
=.
14790 if test -f $ac_dir/$ac_word; then
14791 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14796 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14800 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14801 if test -n "$PKG_CONFIG"; then
14802 echo "$ac_t""$PKG_CONFIG" 1>&6
14804 echo "$ac_t""no" 1>&6
14809 if test "$PKG_CONFIG" = "no" ; then
14810 echo "*** The pkg-config script could not be found. Make sure it is"
14811 echo "*** in your path, or set the PKG_CONFIG environment variable"
14812 echo "*** to the full path to pkg-config."
14813 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14815 PKG_CONFIG_MIN_VERSION
=0.9.0
14816 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14817 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14818 echo "configure:14819: checking for pangoxft" >&5
14820 if $PKG_CONFIG --exists "pangoxft" ; then
14821 echo "$ac_t""yes" 1>&6
14824 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14825 echo "configure:14826: checking PANGOXFT_CFLAGS" >&5
14826 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14827 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14829 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14830 echo "configure:14831: checking PANGOXFT_LIBS" >&5
14831 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14832 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14836 ## If we have a custom action on failure, don't print errors, but
14837 ## do set a variable so people can do so.
14838 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14845 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14846 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14850 if test $succeeded = yes; then
14852 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14853 LIBS
="$LIBS $PANGOXFT_LIBS"
14857 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14864 wxUSE_UNIVERSAL
="yes"
14866 if test "$wxUSE_NANOX" = "yes"; then
14867 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14868 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"
14869 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14871 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14874 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14879 if test "$wxUSE_MOTIF" = 1; then
14880 if test "$no_x" = yes; then
14881 # Not all programs may use this symbol, but it does not hurt to define it.
14882 cat >> confdefs.h
<<\EOF
14883 #define X_DISPLAY_MISSING 1
14886 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14888 if test -n "$x_includes"; then
14889 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14892 # It would also be nice to do this for all -L options, not just this one.
14893 if test -n "$x_libraries"; then
14894 X_LIBS
="$X_LIBS -L$x_libraries"
14895 # For Solaris; some versions of Sun CC require a space after -R and
14896 # others require no space. Words are not sufficient . . . .
14897 case "`(uname -sr) 2>/dev/null`" in
14899 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14900 echo "configure:14901: checking whether -R must be followed by a space" >&5
14901 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14902 cat > conftest.
$ac_ext <<EOF
14903 #line 14904 "configure"
14904 #include "confdefs.h"
14910 if { (eval echo configure
:14911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14914 echo "configure: failed program was:" >&5
14915 cat conftest.
$ac_ext >&5
14920 if test $ac_R_nospace = yes; then
14921 echo "$ac_t""no" 1>&6
14922 X_LIBS
="$X_LIBS -R$x_libraries"
14924 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14925 cat > conftest.
$ac_ext <<EOF
14926 #line 14927 "configure"
14927 #include "confdefs.h"
14933 if { (eval echo configure
:14934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14937 echo "configure: failed program was:" >&5
14938 cat conftest.
$ac_ext >&5
14943 if test $ac_R_space = yes; then
14944 echo "$ac_t""yes" 1>&6
14945 X_LIBS
="$X_LIBS -R $x_libraries"
14947 echo "$ac_t""neither works" 1>&6
14950 LIBS
="$ac_xsave_LIBS"
14954 # Check for system-dependent libraries X programs must link with.
14955 # Do this before checking for the system-independent R6 libraries
14956 # (-lICE), since we may need -lsocket or whatever for X linking.
14958 if test "$ISC" = yes; then
14959 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14961 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14962 # libraries were built with DECnet support. And karl@cs.umb.edu says
14963 # the Alpha needs dnet_stub (dnet does not exist).
14964 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14965 echo "configure:14966: checking for dnet_ntoa in -ldnet" >&5
14966 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14967 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14968 echo $ac_n "(cached) $ac_c" 1>&6
14970 ac_save_LIBS
="$LIBS"
14971 LIBS
="-ldnet $LIBS"
14972 cat > conftest.
$ac_ext <<EOF
14973 #line 14974 "configure"
14974 #include "confdefs.h"
14975 /* Override any gcc2 internal prototype to avoid an error. */
14976 /* We use char because int might match the return type of a gcc2
14977 builtin and then its argument prototype would still apply. */
14984 if { (eval echo configure
:14985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14986 eval "ac_cv_lib_$ac_lib_var=yes"
14988 echo "configure: failed program was:" >&5
14989 cat conftest.
$ac_ext >&5
14991 eval "ac_cv_lib_$ac_lib_var=no"
14994 LIBS
="$ac_save_LIBS"
14997 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14998 echo "$ac_t""yes" 1>&6
14999 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
15001 echo "$ac_t""no" 1>&6
15004 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
15005 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
15006 echo "configure:15007: checking for dnet_ntoa in -ldnet_stub" >&5
15007 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
15008 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15009 echo $ac_n "(cached) $ac_c" 1>&6
15011 ac_save_LIBS
="$LIBS"
15012 LIBS
="-ldnet_stub $LIBS"
15013 cat > conftest.
$ac_ext <<EOF
15014 #line 15015 "configure"
15015 #include "confdefs.h"
15016 /* Override any gcc2 internal prototype to avoid an error. */
15017 /* We use char because int might match the return type of a gcc2
15018 builtin and then its argument prototype would still apply. */
15025 if { (eval echo configure
:15026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15027 eval "ac_cv_lib_$ac_lib_var=yes"
15029 echo "configure: failed program was:" >&5
15030 cat conftest.
$ac_ext >&5
15032 eval "ac_cv_lib_$ac_lib_var=no"
15035 LIBS
="$ac_save_LIBS"
15038 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15039 echo "$ac_t""yes" 1>&6
15040 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
15042 echo "$ac_t""no" 1>&6
15047 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
15048 # to get the SysV transport functions.
15049 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
15051 # The nsl library prevents programs from opening the X display
15052 # on Irix 5.2, according to dickey@clark.net.
15053 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
15054 echo "configure:15055: checking for gethostbyname" >&5
15055 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
15056 echo $ac_n "(cached) $ac_c" 1>&6
15058 cat > conftest.
$ac_ext <<EOF
15059 #line 15060 "configure"
15060 #include "confdefs.h"
15061 /* System header to define __stub macros and hopefully few prototypes,
15062 which can conflict with char gethostbyname(); below. */
15063 #include <assert.h>
15064 /* Override any gcc2 internal prototype to avoid an error. */
15065 /* We use char because int might match the return type of a gcc2
15066 builtin and then its argument prototype would still apply. */
15067 char gethostbyname();
15071 /* The GNU C library defines this for functions which it implements
15072 to always fail with ENOSYS. Some functions are actually named
15073 something starting with __ and the normal name is an alias. */
15074 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
15082 if { (eval echo configure
:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15084 eval "ac_cv_func_gethostbyname=yes"
15086 echo "configure: failed program was:" >&5
15087 cat conftest.
$ac_ext >&5
15089 eval "ac_cv_func_gethostbyname=no"
15094 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
15095 echo "$ac_t""yes" 1>&6
15098 echo "$ac_t""no" 1>&6
15101 if test $ac_cv_func_gethostbyname = no
; then
15102 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
15103 echo "configure:15104: checking for gethostbyname in -lnsl" >&5
15104 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
15105 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15106 echo $ac_n "(cached) $ac_c" 1>&6
15108 ac_save_LIBS
="$LIBS"
15110 cat > conftest.
$ac_ext <<EOF
15111 #line 15112 "configure"
15112 #include "confdefs.h"
15113 /* Override any gcc2 internal prototype to avoid an error. */
15114 /* We use char because int might match the return type of a gcc2
15115 builtin and then its argument prototype would still apply. */
15116 char gethostbyname();
15122 if { (eval echo configure
:15123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15124 eval "ac_cv_lib_$ac_lib_var=yes"
15126 echo "configure: failed program was:" >&5
15127 cat conftest.
$ac_ext >&5
15129 eval "ac_cv_lib_$ac_lib_var=no"
15132 LIBS
="$ac_save_LIBS"
15135 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15136 echo "$ac_t""yes" 1>&6
15137 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15139 echo "$ac_t""no" 1>&6
15144 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15145 # socket/setsockopt and other routines are undefined under SCO ODT
15146 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15147 # on later versions), says simon@lia.di.epfl.ch: it contains
15148 # gethostby* variants that don't use the nameserver (or something).
15149 # -lsocket must be given before -lnsl if both are needed.
15150 # We assume that if connect needs -lnsl, so does gethostbyname.
15151 echo $ac_n "checking for connect""... $ac_c" 1>&6
15152 echo "configure:15153: checking for connect" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15154 echo $ac_n "(cached) $ac_c" 1>&6
15156 cat > conftest.
$ac_ext <<EOF
15157 #line 15158 "configure"
15158 #include "confdefs.h"
15159 /* System header to define __stub macros and hopefully few prototypes,
15160 which can conflict with char connect(); below. */
15161 #include <assert.h>
15162 /* Override any gcc2 internal prototype to avoid an error. */
15163 /* We use char because int might match the return type of a gcc2
15164 builtin and then its argument prototype would still apply. */
15169 /* The GNU C library defines this for functions which it implements
15170 to always fail with ENOSYS. Some functions are actually named
15171 something starting with __ and the normal name is an alias. */
15172 #if defined (__stub_connect) || defined (__stub___connect)
15180 if { (eval echo configure
:15181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15182 eval "ac_cv_func_connect=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.
$ac_ext >&5
15187 eval "ac_cv_func_connect=no"
15192 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15196 echo "$ac_t""no" 1>&6
15199 if test $ac_cv_func_connect = no
; then
15200 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15201 echo "configure:15202: checking for connect in -lsocket" >&5
15202 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15203 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15204 echo $ac_n "(cached) $ac_c" 1>&6
15206 ac_save_LIBS
="$LIBS"
15207 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15208 cat > conftest.
$ac_ext <<EOF
15209 #line 15210 "configure"
15210 #include "confdefs.h"
15211 /* Override any gcc2 internal prototype to avoid an error. */
15212 /* We use char because int might match the return type of a gcc2
15213 builtin and then its argument prototype would still apply. */
15220 if { (eval echo configure
:15221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15222 eval "ac_cv_lib_$ac_lib_var=yes"
15224 echo "configure: failed program was:" >&5
15225 cat conftest.
$ac_ext >&5
15227 eval "ac_cv_lib_$ac_lib_var=no"
15230 LIBS
="$ac_save_LIBS"
15233 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15234 echo "$ac_t""yes" 1>&6
15235 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15237 echo "$ac_t""no" 1>&6
15242 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15243 echo $ac_n "checking for remove""... $ac_c" 1>&6
15244 echo "configure:15245: checking for remove" >&5
15245 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15246 echo $ac_n "(cached) $ac_c" 1>&6
15248 cat > conftest.
$ac_ext <<EOF
15249 #line 15250 "configure"
15250 #include "confdefs.h"
15251 /* System header to define __stub macros and hopefully few prototypes,
15252 which can conflict with char remove(); below. */
15253 #include <assert.h>
15254 /* Override any gcc2 internal prototype to avoid an error. */
15255 /* We use char because int might match the return type of a gcc2
15256 builtin and then its argument prototype would still apply. */
15261 /* The GNU C library defines this for functions which it implements
15262 to always fail with ENOSYS. Some functions are actually named
15263 something starting with __ and the normal name is an alias. */
15264 #if defined (__stub_remove) || defined (__stub___remove)
15272 if { (eval echo configure
:15273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15274 eval "ac_cv_func_remove=yes"
15276 echo "configure: failed program was:" >&5
15277 cat conftest.
$ac_ext >&5
15279 eval "ac_cv_func_remove=no"
15284 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15285 echo "$ac_t""yes" 1>&6
15288 echo "$ac_t""no" 1>&6
15291 if test $ac_cv_func_remove = no
; then
15292 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15293 echo "configure:15294: checking for remove in -lposix" >&5
15294 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15296 echo $ac_n "(cached) $ac_c" 1>&6
15298 ac_save_LIBS
="$LIBS"
15299 LIBS
="-lposix $LIBS"
15300 cat > conftest.
$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15303 /* Override any gcc2 internal prototype to avoid an error. */
15304 /* We use char because int might match the return type of a gcc2
15305 builtin and then its argument prototype would still apply. */
15312 if { (eval echo configure
:15313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15314 eval "ac_cv_lib_$ac_lib_var=yes"
15316 echo "configure: failed program was:" >&5
15317 cat conftest.
$ac_ext >&5
15319 eval "ac_cv_lib_$ac_lib_var=no"
15322 LIBS
="$ac_save_LIBS"
15325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15326 echo "$ac_t""yes" 1>&6
15327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15329 echo "$ac_t""no" 1>&6
15334 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15335 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15336 echo "configure:15337: checking for shmat" >&5
15337 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15338 echo $ac_n "(cached) $ac_c" 1>&6
15340 cat > conftest.
$ac_ext <<EOF
15341 #line 15342 "configure"
15342 #include "confdefs.h"
15343 /* System header to define __stub macros and hopefully few prototypes,
15344 which can conflict with char shmat(); below. */
15345 #include <assert.h>
15346 /* Override any gcc2 internal prototype to avoid an error. */
15347 /* We use char because int might match the return type of a gcc2
15348 builtin and then its argument prototype would still apply. */
15353 /* The GNU C library defines this for functions which it implements
15354 to always fail with ENOSYS. Some functions are actually named
15355 something starting with __ and the normal name is an alias. */
15356 #if defined (__stub_shmat) || defined (__stub___shmat)
15364 if { (eval echo configure
:15365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15366 eval "ac_cv_func_shmat=yes"
15368 echo "configure: failed program was:" >&5
15369 cat conftest.
$ac_ext >&5
15371 eval "ac_cv_func_shmat=no"
15376 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15377 echo "$ac_t""yes" 1>&6
15380 echo "$ac_t""no" 1>&6
15383 if test $ac_cv_func_shmat = no
; then
15384 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15385 echo "configure:15386: checking for shmat in -lipc" >&5
15386 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15387 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15388 echo $ac_n "(cached) $ac_c" 1>&6
15390 ac_save_LIBS
="$LIBS"
15392 cat > conftest.
$ac_ext <<EOF
15393 #line 15394 "configure"
15394 #include "confdefs.h"
15395 /* Override any gcc2 internal prototype to avoid an error. */
15396 /* We use char because int might match the return type of a gcc2
15397 builtin and then its argument prototype would still apply. */
15404 if { (eval echo configure
:15405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15406 eval "ac_cv_lib_$ac_lib_var=yes"
15408 echo "configure: failed program was:" >&5
15409 cat conftest.
$ac_ext >&5
15411 eval "ac_cv_lib_$ac_lib_var=no"
15414 LIBS
="$ac_save_LIBS"
15417 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15418 echo "$ac_t""yes" 1>&6
15419 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15421 echo "$ac_t""no" 1>&6
15427 # Check for libraries that X11R6 Xt/Xaw programs need.
15428 ac_save_LDFLAGS
="$LDFLAGS"
15429 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15430 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15431 # check for ICE first), but we must link in the order -lSM -lICE or
15432 # we get undefined symbols. So assume we have SM if we have ICE.
15433 # These have to be linked with before -lX11, unlike the other
15434 # libraries we check for below, so use a different variable.
15435 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15436 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15437 echo "configure:15438: checking for IceConnectionNumber in -lICE" >&5
15438 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15440 echo $ac_n "(cached) $ac_c" 1>&6
15442 ac_save_LIBS
="$LIBS"
15443 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15444 cat > conftest.
$ac_ext <<EOF
15445 #line 15446 "configure"
15446 #include "confdefs.h"
15447 /* Override any gcc2 internal prototype to avoid an error. */
15448 /* We use char because int might match the return type of a gcc2
15449 builtin and then its argument prototype would still apply. */
15450 char IceConnectionNumber();
15453 IceConnectionNumber()
15456 if { (eval echo configure
:15457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15458 eval "ac_cv_lib_$ac_lib_var=yes"
15460 echo "configure: failed program was:" >&5
15461 cat conftest.
$ac_ext >&5
15463 eval "ac_cv_lib_$ac_lib_var=no"
15466 LIBS
="$ac_save_LIBS"
15469 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15470 echo "$ac_t""yes" 1>&6
15471 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15473 echo "$ac_t""no" 1>&6
15476 LDFLAGS
="$ac_save_LDFLAGS"
15481 if test "$no_x" = "yes"; then
15482 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15485 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15486 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15487 AFMINSTALL
=afminstall
15488 COMPILED_X_PROGRAM
=0
15490 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15491 echo "configure:15492: checking for Motif/Lesstif headers" >&5
15494 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15496 if test -f "$ac_dir/Xm/Xm.h"; then
15497 ac_find_includes
=$ac_dir
15502 if test "$ac_find_includes" != "" ; then
15503 echo "$ac_t""found in $ac_find_includes" 1>&6
15505 if test "x$ac_find_includes" = "x/usr/include"; then
15506 ac_path_to_include
=""
15508 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15510 if test $result = 0; then
15511 ac_path_to_include
=""
15513 ac_path_to_include
=" -I$ac_find_includes"
15517 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15519 cat > conftest.
$ac_ext <<EOF
15520 #line 15521 "configure"
15521 #include "confdefs.h"
15528 version = xmUseVersion;
15532 if { (eval echo configure
:15533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15535 echo "$ac_t""found in default search path" 1>&6
15536 COMPILED_X_PROGRAM
=1
15539 echo "configure: failed program was:" >&5
15540 cat conftest.
$ac_ext >&5
15543 echo "$ac_t""no" 1>&6
15544 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15551 if test "$COMPILED_X_PROGRAM" = 0; then
15552 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15553 echo "configure:15554: checking for Motif/Lesstif library" >&5
15556 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15558 for ac_extension
in a so sl dylib
; do
15559 if test -f "$ac_dir/libXm.$ac_extension"; then
15560 ac_find_libraries
=$ac_dir
15566 if test "$ac_find_libraries" != "" ; then
15567 echo "$ac_t""found at $ac_find_libraries" 1>&6
15570 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15572 if test $result = 0; then
15575 ac_path_to_link
=" -L$ac_find_libraries"
15578 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15580 save_CFLAGS
=$CFLAGS
15581 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15583 cat > conftest.
$ac_ext <<EOF
15584 #line 15585 "configure"
15585 #include "confdefs.h"
15592 version = xmUseVersion;
15596 if { (eval echo configure
:15597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15599 echo "$ac_t""found in default search path" 1>&6
15600 COMPILED_X_PROGRAM
=1
15603 echo "configure: failed program was:" >&5
15604 cat conftest.
$ac_ext >&5
15607 echo "$ac_t""no" 1>&6
15608 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15614 CFLAGS
=$save_CFLAGS
15619 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15620 echo "configure:15621: checking for Xpm library" >&5
15623 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15625 for ac_extension
in a so sl dylib
; do
15626 if test -f "$ac_dir/libXpm.$ac_extension"; then
15627 ac_find_libraries
=$ac_dir
15633 if test "$ac_find_libraries" != "" ; then
15635 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15637 if test $result = 0; then
15640 ac_path_to_link
=" -L$ac_find_libraries"
15643 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15646 cat >> confdefs.h
<<\EOF
15647 #define wxHAVE_LIB_XPM 1
15650 echo "$ac_t""found at $ac_find_libraries" 1>&6
15652 save_CFLAGS
=$CFLAGS
15653 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15655 cat > conftest.
$ac_ext <<EOF
15656 #line 15657 "configure"
15657 #include "confdefs.h"
15659 #include <X11/xpm.h>
15664 version = XpmLibraryVersion();
15668 if { (eval echo configure
:15669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15672 cat >> confdefs.h
<<\EOF
15673 #define wxHAVE_LIB_XPM 1
15676 echo "$ac_t""found in default search path" 1>&6
15677 COMPILED_X_PROGRAM
=0
15680 echo "configure: failed program was:" >&5
15681 cat conftest.
$ac_ext >&5
15684 echo "$ac_t""no" 1>&6
15685 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15691 CFLAGS
=$save_CFLAGS
15694 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15695 echo "configure:15696: checking if we need -lXp and/or -lSM -lICE" >&5
15699 for libp
in "" " -lXp"; do
15700 if test "$libs_found" = "0"; then
15701 for libsm_ice
in " -lSM -lICE"; do
15702 if test "$libs_found" = "0"; then
15704 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15705 save_CFLAGS
=$CFLAGS
15706 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15708 cat > conftest.
$ac_ext <<EOF
15709 #line 15710 "configure"
15710 #include "confdefs.h"
15713 #include <Xm/List.h>
15717 XmString string = NULL;
15720 XmListAddItem(w, string, position);
15724 if { (eval echo configure
:15725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15728 libsm_ice_link
="$libsm_ice"
15729 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15733 echo "configure: failed program was:" >&5
15734 cat conftest.
$ac_ext >&5
15742 CFLAGS
=$save_CFLAGS
15748 if test "$libs_found" = "0"; then
15749 echo "$ac_t""can't find the right libraries" 1>&6
15750 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15753 save_CFLAGS
=$CFLAGS
15754 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15755 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15756 echo "configure:15757: checking for Motif 2" >&5
15757 cat > conftest.
$ac_ext <<EOF
15758 #line 15759 "configure"
15759 #include "confdefs.h"
15765 #if XmVersion < 2000
15766 #error "Not Motif 2"
15771 if { (eval echo configure
:15772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15774 cat >> confdefs.h
<<\EOF
15775 #define __WXMOTIF20__ 1
15778 echo "$ac_t""found" 1>&6
15781 echo "configure: failed program was:" >&5
15782 cat conftest.
$ac_ext >&5
15785 cat >> confdefs.h
<<\EOF
15786 #define __WXMOTIF20__ 0
15789 echo "$ac_t""not found" 1>&6
15793 CFLAGS
=$save_CFLAGS
15795 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15796 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15801 if test "$wxUSE_MAC" = 1; then
15802 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15804 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15809 if test "$wxUSE_COCOA" = 1; then
15810 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15815 if test "$wxUSE_PM" = 1; then
15818 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15819 wxUSE_PROLOGIO
="yes"
15820 wxUSE_RESOURCES
="yes"
15821 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15825 if test "$TOOLKIT" = "PM" ; then
15828 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15831 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15833 if test "$wxUSE_UNIVERSAL" = "yes"; then
15834 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15836 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15837 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15839 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15840 if test "$wxUSE_X11" = 1; then
15841 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15843 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15845 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15848 ALL_OBJECTS
="\$(GUIOBJS)"
15849 ALL_SOURCES
="\$(ALL_SOURCES)"
15850 ALL_HEADERS
="\$(ALL_HEADERS)"
15853 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15855 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15856 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15859 if test "$wxUSE_HTML" = "yes"; then
15860 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15863 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15864 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15866 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15867 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15869 if test "$wxUSE_LIBPNG" = "builtin" ; then
15870 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15873 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15874 DISTDIR
="wx\$(TOOLKIT)"
15880 if test "$USE_WIN32" = 1 ; then
15881 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15882 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15886 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15887 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15890 ALL_SOURCES
="\$(ALL_SOURCES)"
15891 ALL_HEADERS
="\$(ALL_HEADERS)"
15893 PORT_FILES
="\${top_srcdir}/src/files.lst"
15895 GUIDIST
="BASE_DIST"
15900 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15901 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15904 if test "$wxUSE_REGEX" = "builtin" ; then
15905 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15907 if test "$wxUSE_ZLIB" = "builtin" ; then
15908 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15912 if test "$wxUSE_OPENGL" = "yes"; then
15913 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15914 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15915 elif test "$wxUSE_MSW" = 1; then
15916 OPENGL_LIBS
="-lopengl32 -lglu32"
15918 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15919 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15920 echo "configure:15921: checking for GL/gl.h" >&5
15921 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15922 echo $ac_n "(cached) $ac_c" 1>&6
15924 cat > conftest.
$ac_ext <<EOF
15925 #line 15926 "configure"
15926 #include "confdefs.h"
15929 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15930 { (eval echo configure
:15931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15931 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15932 if test -z "$ac_err"; then
15934 eval "ac_cv_header_$ac_safe=yes"
15937 echo "configure: failed program was:" >&5
15938 cat conftest.
$ac_ext >&5
15940 eval "ac_cv_header_$ac_safe=no"
15944 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15945 echo "$ac_t""yes" 1>&6
15947 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15948 echo "configure:15949: checking for -lGL" >&5
15951 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15953 for ac_extension
in a so sl dylib
; do
15954 if test -f "$ac_dir/libGL.$ac_extension"; then
15955 ac_find_libraries
=$ac_dir
15961 if test "$ac_find_libraries" != "" ; then
15963 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15965 if test $result = 0; then
15968 ac_path_to_link
=" -L$ac_find_libraries"
15971 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15972 LDFLAGS_GL
="$LDFLAGS"
15974 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15976 OPENGL_LIBS
="-lGL -lGLU"
15977 echo "$ac_t""yes" 1>&6
15979 echo "$ac_t""no" 1>&6
15980 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15981 echo "configure:15982: checking for -lMesaGL" >&5
15984 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15986 for ac_extension
in a so sl dylib
; do
15987 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15988 ac_find_libraries
=$ac_dir
15994 if test "$ac_find_libraries" != "" ; then
15996 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15998 if test $result = 0; then
16001 ac_path_to_link
=" -L$ac_find_libraries"
16004 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
16005 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
16006 echo "$ac_t""yes" 1>&6
16008 echo "$ac_t""no" 1>&6
16013 echo "$ac_t""no" 1>&6
16017 if test "x$OPENGL_LIBS" = "x"; then
16018 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
16022 if test "$wxUSE_OPENGL" = "yes"; then
16023 cat >> confdefs.h
<<\EOF
16024 #define wxUSE_OPENGL 1
16027 cat >> confdefs.h
<<\EOF
16028 #define wxUSE_GLCANVAS 1
16031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
16035 if test -z "$TOOLKIT_VPATH" ; then
16036 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
16039 if test -n "$TOOLKIT" ; then
16040 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
16043 lib_unicode_suffix
=
16044 if test "$wxUSE_UNICODE" = "yes"; then
16045 lib_unicode_suffix
=u
16049 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
16053 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
16055 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
16056 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
16058 if test "$cross_compiling" = "yes"; then
16059 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
16060 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
16063 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
16064 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
16065 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
16067 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16068 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16070 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
16071 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16072 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
16073 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16076 *-*-cygwin* | *-*-mingw32* )
16080 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
16081 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16082 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16083 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
16084 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
16086 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16087 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16093 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16094 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16096 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16097 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16098 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16099 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16101 if test "$wxUSE_MAC" = 1; then
16102 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16103 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16108 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16109 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16111 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16112 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16114 if test "$wxUSE_OPENGL" = "yes"; then
16115 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16116 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16121 if test "$wxUSE_SHARED" = "yes"; then
16123 *-pc-os2_emx | *-pc-os2-emx | \
16126 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16131 if test "$wxUSE_SHARED" = "yes"; then
16133 if test "$wxUSE_OPENGL" = "yes"; then
16134 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16135 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16137 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16138 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16141 if test "$GCC" = "yes"; then
16147 found_versioning
=no
16150 if test $found_versioning = no
; then
16151 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16152 echo "configure:16153: checking if the linker accepts --version-script" >&5
16153 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16154 echo $ac_n "(cached) $ac_c" 1>&6
16157 echo "VER_1 { *; };" >conftest.sym
16158 echo "int main() { return 0; }" >conftest.cpp
16161 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16162 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16163: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16163 if test -s conftest.stderr
; then
16164 wx_cv_version_script
=no
16166 wx_cv_version_script
=yes
16169 wx_cv_version_script
=no
16171 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16175 echo "$ac_t""$wx_cv_version_script" 1>&6
16176 if test $wx_cv_version_script = yes ; then
16177 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16182 SHARED_LD
="${CXX} -shared -o"
16186 if test "$GCC" = "yes"; then
16187 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16189 LDFLAGS
="$LDFLAGS -L/usr/lib"
16191 SHARED_LD
="${CXX} -b -o"
16195 if test "$wxUSE_OPENGL" = "yes"; then
16196 WX_ALL_INSTALLED
="preinstall_gl"
16197 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16199 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16204 if test "$GCC" != "yes"; then
16205 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16206 echo "configure:16207: checking for Intel compiler" >&5
16207 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16208 echo $ac_n "(cached) $ac_c" 1>&6
16211 cat > conftest.
$ac_ext <<EOF
16212 #line 16213 "configure"
16213 #include "confdefs.h"
16217 #ifndef __INTEL_COMPILER
16223 if { (eval echo configure
:16224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16227 echo "configure: failed program was:" >&5
16228 cat conftest.
$ac_ext >&5
16237 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16238 if test "$wx_cv_prog_icc" = "yes"; then
16243 if test "$wxUSE_SONAME" = "yes" ; then
16244 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16245 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16246 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16251 if test "$GCC" = yes ; then
16252 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16254 SHARED_LD
="${CXX} -G -o"
16256 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16257 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16262 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16263 CFLAGS
="$CFLAGS -fno-common"
16264 CXXFLAGS
="$CXXFLAGS -fno-common"
16265 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16266 PIC_FLAG
="-dynamic -fPIC"
16267 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16268 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16272 if test "$GCC" != "yes"; then
16273 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16274 set dummy makeC
++SharedLib
; ac_word
=$2
16275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16276 echo "configure:16277: checking for $ac_word" >&5
16277 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16278 echo $ac_n "(cached) $ac_c" 1>&6
16280 if test -n "$AIX_CXX_LD"; then
16281 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16283 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16285 for ac_dir
in $ac_dummy; do
16286 test -z "$ac_dir" && ac_dir
=.
16287 if test -f $ac_dir/$ac_word; then
16288 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16293 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16296 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16297 if test -n "$AIX_CXX_LD"; then
16298 echo "$ac_t""$AIX_CXX_LD" 1>&6
16300 echo "$ac_t""no" 1>&6
16304 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16308 *-*-cygwin* | *-*-mingw32* )
16309 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16311 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16312 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16314 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16316 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16317 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16319 if test "$wxUSE_OPENGL" = "yes"; then
16320 LIBS
="${LIBS} ${OPENGL_LIBS}"
16325 SHARED_LD
="${LD} -shared -o"
16329 if test "$GCC" != "yes"; then
16334 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16342 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16345 if test "x$WX_TARGET_LIBRARY" = "x"; then
16346 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16347 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16350 WX_TARGET_LIBRARY_TYPE
="so"
16351 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16354 if test "$wxUSE_SHARED" = "no"; then
16356 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16357 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16360 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16361 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16364 if test "$wxUSE_OPENGL" = "yes"; then
16365 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16366 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16368 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16371 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16372 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16374 WX_TARGET_LIBRARY_TYPE
="a"
16375 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16385 if test "$wxUSE_MAC" = 1; then
16386 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16387 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16388 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16389 # Extract the first word of "Rez", so it can be a program name with args.
16390 set dummy Rez
; ac_word
=$2
16391 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16392 echo "configure:16393: checking for $ac_word" >&5
16393 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16394 echo $ac_n "(cached) $ac_c" 1>&6
16396 if test -n "$RESCOMP"; then
16397 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16399 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16401 for ac_dir
in $ac_dummy; do
16402 test -z "$ac_dir" && ac_dir
=.
16403 if test -f $ac_dir/$ac_word; then
16404 ac_cv_prog_RESCOMP
="Rez"
16409 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16412 RESCOMP
="$ac_cv_prog_RESCOMP"
16413 if test -n "$RESCOMP"; then
16414 echo "$ac_t""$RESCOMP" 1>&6
16416 echo "$ac_t""no" 1>&6
16419 # Extract the first word of "DeRez", so it can be a program name with args.
16420 set dummy DeRez
; ac_word
=$2
16421 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16422 echo "configure:16423: checking for $ac_word" >&5
16423 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16424 echo $ac_n "(cached) $ac_c" 1>&6
16426 if test -n "$DEREZ"; then
16427 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16429 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16431 for ac_dir
in $ac_dummy; do
16432 test -z "$ac_dir" && ac_dir
=.
16433 if test -f $ac_dir/$ac_word; then
16434 ac_cv_prog_DEREZ
="DeRez"
16439 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16442 DEREZ
="$ac_cv_prog_DEREZ"
16443 if test -n "$DEREZ"; then
16444 echo "$ac_t""$DEREZ" 1>&6
16446 echo "$ac_t""no" 1>&6
16449 # Extract the first word of "SetFile", so it can be a program name with args.
16450 set dummy SetFile
; ac_word
=$2
16451 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16452 echo "configure:16453: checking for $ac_word" >&5
16453 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16454 echo $ac_n "(cached) $ac_c" 1>&6
16456 if test -n "$SETFILE"; then
16457 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16459 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16461 for ac_dir
in $ac_dummy; do
16462 test -z "$ac_dir" && ac_dir
=.
16463 if test -f $ac_dir/$ac_word; then
16464 ac_cv_prog_SETFILE
="SetFile"
16469 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16472 SETFILE
="$ac_cv_prog_SETFILE"
16473 if test -n "$SETFILE"; then
16474 echo "$ac_t""$SETFILE" 1>&6
16476 echo "$ac_t""no" 1>&6
16479 MACOSX_BUNDLE
="bundle"
16480 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16481 MACSETFILE
="\$(SETFILE)"
16482 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16484 if test "$wxUSE_PM" = 1; then
16485 MACRESCOMP
="emxbind -ep"
16490 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16491 echo "configure:16492: checking for ANSI C header files" >&5
16492 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16493 echo $ac_n "(cached) $ac_c" 1>&6
16495 cat > conftest.
$ac_ext <<EOF
16496 #line 16497 "configure"
16497 #include "confdefs.h"
16498 #include <stdlib.h>
16499 #include <stdarg.h>
16500 #include <string.h>
16503 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16504 { (eval echo configure
:16505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16505 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16506 if test -z "$ac_err"; then
16508 ac_cv_header_stdc
=yes
16511 echo "configure: failed program was:" >&5
16512 cat conftest.
$ac_ext >&5
16514 ac_cv_header_stdc
=no
16518 if test $ac_cv_header_stdc = yes; then
16519 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16520 cat > conftest.
$ac_ext <<EOF
16521 #line 16522 "configure"
16522 #include "confdefs.h"
16523 #include <string.h>
16525 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16526 egrep "memchr" >/dev
/null
2>&1; then
16530 ac_cv_header_stdc
=no
16536 if test $ac_cv_header_stdc = yes; then
16537 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16538 cat > conftest.
$ac_ext <<EOF
16539 #line 16540 "configure"
16540 #include "confdefs.h"
16541 #include <stdlib.h>
16543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16544 egrep "free" >/dev
/null
2>&1; then
16548 ac_cv_header_stdc
=no
16554 if test $ac_cv_header_stdc = yes; then
16555 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16556 if test "$cross_compiling" = yes; then
16559 cat > conftest.
$ac_ext <<EOF
16560 #line 16561 "configure"
16561 #include "confdefs.h"
16563 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16564 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16565 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16566 int main () { int i; for (i = 0; i < 256; i++)
16567 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16571 if { (eval echo configure
:16572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16575 echo "configure: failed program was:" >&5
16576 cat conftest.
$ac_ext >&5
16578 ac_cv_header_stdc
=no
16586 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16587 if test $ac_cv_header_stdc = yes; then
16588 cat >> confdefs.h
<<\EOF
16589 #define STDC_HEADERS 1
16594 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16595 echo "configure:16596: checking for mode_t" >&5
16596 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16597 echo $ac_n "(cached) $ac_c" 1>&6
16599 cat > conftest.
$ac_ext <<EOF
16600 #line 16601 "configure"
16601 #include "confdefs.h"
16602 #include <sys/types.h>
16604 #include <stdlib.h>
16605 #include <stddef.h>
16608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16609 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16611 ac_cv_type_mode_t
=yes
16614 ac_cv_type_mode_t
=no
16619 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16620 if test $ac_cv_type_mode_t = no
; then
16621 cat >> confdefs.h
<<\EOF
16627 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16628 echo "configure:16629: checking for off_t" >&5
16629 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16630 echo $ac_n "(cached) $ac_c" 1>&6
16632 cat > conftest.
$ac_ext <<EOF
16633 #line 16634 "configure"
16634 #include "confdefs.h"
16635 #include <sys/types.h>
16637 #include <stdlib.h>
16638 #include <stddef.h>
16641 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16642 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16644 ac_cv_type_off_t
=yes
16647 ac_cv_type_off_t
=no
16652 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16653 if test $ac_cv_type_off_t = no
; then
16654 cat >> confdefs.h
<<\EOF
16660 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16661 echo "configure:16662: checking for pid_t" >&5
16662 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16663 echo $ac_n "(cached) $ac_c" 1>&6
16665 cat > conftest.
$ac_ext <<EOF
16666 #line 16667 "configure"
16667 #include "confdefs.h"
16668 #include <sys/types.h>
16670 #include <stdlib.h>
16671 #include <stddef.h>
16674 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16675 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16677 ac_cv_type_pid_t
=yes
16680 ac_cv_type_pid_t
=no
16685 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16686 if test $ac_cv_type_pid_t = no
; then
16687 cat >> confdefs.h
<<\EOF
16693 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16694 echo "configure:16695: checking for size_t" >&5
16695 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16696 echo $ac_n "(cached) $ac_c" 1>&6
16698 cat > conftest.
$ac_ext <<EOF
16699 #line 16700 "configure"
16700 #include "confdefs.h"
16701 #include <sys/types.h>
16703 #include <stdlib.h>
16704 #include <stddef.h>
16707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16708 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16710 ac_cv_type_size_t
=yes
16713 ac_cv_type_size_t
=no
16718 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16719 if test $ac_cv_type_size_t = no
; then
16720 cat >> confdefs.h
<<\EOF
16721 #define size_t unsigned
16726 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16727 echo "configure:16728: checking for uid_t in sys/types.h" >&5
16728 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16729 echo $ac_n "(cached) $ac_c" 1>&6
16731 cat > conftest.
$ac_ext <<EOF
16732 #line 16733 "configure"
16733 #include "confdefs.h"
16734 #include <sys/types.h>
16736 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16737 egrep "uid_t" >/dev
/null
2>&1; then
16739 ac_cv_type_uid_t
=yes
16742 ac_cv_type_uid_t
=no
16748 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16749 if test $ac_cv_type_uid_t = no
; then
16750 cat >> confdefs.h
<<\EOF
16754 cat >> confdefs.h
<<\EOF
16763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16764 ac_cpp
='$CXXCPP $CPPFLAGS'
16765 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16766 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16767 cross_compiling
=$ac_cv_prog_cxx_cross
16769 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16770 echo "configure:16771: checking if size_t is unsigned int" >&5
16771 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16772 echo $ac_n "(cached) $ac_c" 1>&6
16774 cat > conftest.
$ac_ext <<EOF
16775 #line 16776 "configure"
16776 #include "confdefs.h"
16777 #include <stddef.h>
16782 struct Foo { void foo(size_t); void foo(unsigned int); };
16788 if { (eval echo configure
:16789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16790 wx_cv_size_t_is_uint
=no
16792 echo "configure: failed program was:" >&5
16793 cat conftest.
$ac_ext >&5
16795 wx_cv_size_t_is_uint
=yes
16802 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16804 if test "$wx_cv_size_t_is_uint" = "yes"; then
16805 cat >> confdefs.h
<<\EOF
16806 #define wxSIZE_T_IS_UINT 1
16810 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16811 echo "configure:16812: checking if size_t is unsigned long" >&5
16812 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16813 echo $ac_n "(cached) $ac_c" 1>&6
16815 cat > conftest.
$ac_ext <<EOF
16816 #line 16817 "configure"
16817 #include "confdefs.h"
16818 #include <stddef.h>
16823 struct Foo { void foo(size_t); void foo(unsigned long); };
16829 if { (eval echo configure
:16830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16831 wx_cv_size_t_is_ulong
=no
16833 echo "configure: failed program was:" >&5
16834 cat conftest.
$ac_ext >&5
16836 wx_cv_size_t_is_ulong
=yes
16843 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16845 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16846 cat >> confdefs.h
<<\EOF
16847 #define wxSIZE_T_IS_ULONG 1
16854 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16855 ac_cpp
='$CPP $CPPFLAGS'
16856 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16857 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16858 cross_compiling
=$ac_cv_prog_cc_cross
16862 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16863 echo "configure:16864: checking for pw_gecos in struct passwd" >&5
16864 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16865 echo $ac_n "(cached) $ac_c" 1>&6
16868 cat > conftest.
$ac_ext <<EOF
16869 #line 16870 "configure"
16870 #include "confdefs.h"
16880 if { (eval echo configure
:16881: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16883 wx_cv_struct_pw_gecos
=yes
16886 echo "configure: failed program was:" >&5
16887 cat conftest.
$ac_ext >&5
16890 wx_cv_struct_pw_gecos
=no
16899 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16901 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16902 cat >> confdefs.h
<<\EOF
16903 #define HAVE_PW_GECOS 1
16909 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16910 cat >> confdefs.h
<<\EOF
16911 #define wxUSE_WCHAR_T 1
16917 for ac_func
in wcslen
16919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16920 echo "configure:16921: checking for $ac_func" >&5
16921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16924 cat > conftest.
$ac_ext <<EOF
16925 #line 16926 "configure"
16926 #include "confdefs.h"
16927 /* System header to define __stub macros and hopefully few prototypes,
16928 which can conflict with char $ac_func(); below. */
16929 #include <assert.h>
16930 /* Override any gcc2 internal prototype to avoid an error. */
16931 /* We use char because int might match the return type of a gcc2
16932 builtin and then its argument prototype would still apply. */
16937 /* The GNU C library defines this for functions which it implements
16938 to always fail with ENOSYS. Some functions are actually named
16939 something starting with __ and the normal name is an alias. */
16940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16948 if { (eval echo configure
:16949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16950 eval "ac_cv_func_$ac_func=yes"
16952 echo "configure: failed program was:" >&5
16953 cat conftest.
$ac_ext >&5
16955 eval "ac_cv_func_$ac_func=no"
16960 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16961 echo "$ac_t""yes" 1>&6
16962 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16963 cat >> confdefs.h
<<EOF
16964 #define $ac_tr_func 1
16968 echo "$ac_t""no" 1>&6
16973 if test "$WCSLEN_FOUND" = 0; then
16974 if test "$TOOLKIT" = "MSW"; then
16975 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16976 echo "configure:16977: checking for wcslen in -lmsvcrt" >&5
16977 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16979 echo $ac_n "(cached) $ac_c" 1>&6
16981 ac_save_LIBS
="$LIBS"
16982 LIBS
="-lmsvcrt $LIBS"
16983 cat > conftest.
$ac_ext <<EOF
16984 #line 16985 "configure"
16985 #include "confdefs.h"
16986 /* Override any gcc2 internal prototype to avoid an error. */
16987 /* We use char because int might match the return type of a gcc2
16988 builtin and then its argument prototype would still apply. */
16995 if { (eval echo configure
:16996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16997 eval "ac_cv_lib_$ac_lib_var=yes"
16999 echo "configure: failed program was:" >&5
17000 cat conftest.
$ac_ext >&5
17002 eval "ac_cv_lib_$ac_lib_var=no"
17005 LIBS
="$ac_save_LIBS"
17008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17009 echo "$ac_t""yes" 1>&6
17012 echo "$ac_t""no" 1>&6
17016 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
17017 echo "configure:17018: checking for wcslen in -lw" >&5
17018 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
17019 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17020 echo $ac_n "(cached) $ac_c" 1>&6
17022 ac_save_LIBS
="$LIBS"
17024 cat > conftest.
$ac_ext <<EOF
17025 #line 17026 "configure"
17026 #include "confdefs.h"
17027 /* Override any gcc2 internal prototype to avoid an error. */
17028 /* We use char because int might match the return type of a gcc2
17029 builtin and then its argument prototype would still apply. */
17036 if { (eval echo configure
:17037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17038 eval "ac_cv_lib_$ac_lib_var=yes"
17040 echo "configure: failed program was:" >&5
17041 cat conftest.
$ac_ext >&5
17043 eval "ac_cv_lib_$ac_lib_var=no"
17046 LIBS
="$ac_save_LIBS"
17049 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17050 echo "$ac_t""yes" 1>&6
17056 echo "$ac_t""no" 1>&6
17062 if test "$WCSLEN_FOUND" = 1; then
17063 cat >> confdefs.h
<<\EOF
17064 #define HAVE_WCSLEN 1
17069 for ac_func
in wcsrtombs
17071 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17072 echo "configure:17073: checking for $ac_func" >&5
17073 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17074 echo $ac_n "(cached) $ac_c" 1>&6
17076 cat > conftest.
$ac_ext <<EOF
17077 #line 17078 "configure"
17078 #include "confdefs.h"
17079 /* System header to define __stub macros and hopefully few prototypes,
17080 which can conflict with char $ac_func(); below. */
17081 #include <assert.h>
17082 /* Override any gcc2 internal prototype to avoid an error. */
17083 /* We use char because int might match the return type of a gcc2
17084 builtin and then its argument prototype would still apply. */
17089 /* The GNU C library defines this for functions which it implements
17090 to always fail with ENOSYS. Some functions are actually named
17091 something starting with __ and the normal name is an alias. */
17092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17100 if { (eval echo configure
:17101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17102 eval "ac_cv_func_$ac_func=yes"
17104 echo "configure: failed program was:" >&5
17105 cat conftest.
$ac_ext >&5
17107 eval "ac_cv_func_$ac_func=no"
17112 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17113 echo "$ac_t""yes" 1>&6
17114 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17115 cat >> confdefs.h
<<EOF
17116 #define $ac_tr_func 1
17120 echo "$ac_t""no" 1>&6
17125 echo "configure: warning: Wide character support is unavailable" 1>&2
17130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17131 ac_cpp
='$CXXCPP $CPPFLAGS'
17132 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17133 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17134 cross_compiling
=$ac_cv_prog_cxx_cross
17137 for ac_func
in vsnprintf
17139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17140 echo "configure:17141: checking for $ac_func" >&5
17141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17142 echo $ac_n "(cached) $ac_c" 1>&6
17144 cat > conftest.
$ac_ext <<EOF
17145 #line 17146 "configure"
17146 #include "confdefs.h"
17147 /* System header to define __stub macros and hopefully few prototypes,
17148 which can conflict with char $ac_func(); below. */
17149 #include <assert.h>
17150 /* Override any gcc2 internal prototype to avoid an error. */
17154 /* We use char because int might match the return type of a gcc2
17155 builtin and then its argument prototype would still apply. */
17160 /* The GNU C library defines this for functions which it implements
17161 to always fail with ENOSYS. Some functions are actually named
17162 something starting with __ and the normal name is an alias. */
17163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 if { (eval echo configure
:17172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17173 eval "ac_cv_func_$ac_func=yes"
17175 echo "configure: failed program was:" >&5
17176 cat conftest.
$ac_ext >&5
17178 eval "ac_cv_func_$ac_func=no"
17183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17184 echo "$ac_t""yes" 1>&6
17185 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17186 cat >> confdefs.h
<<EOF
17187 #define $ac_tr_func 1
17191 echo "$ac_t""no" 1>&6
17196 if test "$ac_cv_func_vsnprintf" = "yes"; then
17197 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17198 echo "configure:17199: checking for vsnprintf declaration" >&5
17199 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17200 echo $ac_n "(cached) $ac_c" 1>&6
17203 cat > conftest.
$ac_ext <<EOF
17204 #line 17205 "configure"
17205 #include "confdefs.h"
17208 #include <stdarg.h>
17214 vsnprintf(buf, 10u, "%s", ap);
17218 if { (eval echo configure
:17219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17220 wx_cv_func_vsnprintf_decl
=yes
17222 echo "configure: failed program was:" >&5
17223 cat conftest.
$ac_ext >&5
17225 wx_cv_func_vsnprintf_decl
=no
17233 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17235 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17236 cat >> confdefs.h
<<\EOF
17237 #define HAVE_VSNPRINTF_DECL 1
17243 if test "$wxUSE_UNICODE" = yes; then
17244 for ac_func
in fputwc wprintf vswprintf
17246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17247 echo "configure:17248: checking for $ac_func" >&5
17248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17249 echo $ac_n "(cached) $ac_c" 1>&6
17251 cat > conftest.
$ac_ext <<EOF
17252 #line 17253 "configure"
17253 #include "confdefs.h"
17254 /* System header to define __stub macros and hopefully few prototypes,
17255 which can conflict with char $ac_func(); below. */
17256 #include <assert.h>
17257 /* Override any gcc2 internal prototype to avoid an error. */
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17267 /* The GNU C library defines this for functions which it implements
17268 to always fail with ENOSYS. Some functions are actually named
17269 something starting with __ and the normal name is an alias. */
17270 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17278 if { (eval echo configure
:17279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17280 eval "ac_cv_func_$ac_func=yes"
17282 echo "configure: failed program was:" >&5
17283 cat conftest.
$ac_ext >&5
17285 eval "ac_cv_func_$ac_func=no"
17290 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17291 echo "$ac_t""yes" 1>&6
17292 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17293 cat >> confdefs.h
<<EOF
17294 #define $ac_tr_func 1
17298 echo "$ac_t""no" 1>&6
17303 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17304 echo "configure:17305: checking for _vsnwprintf" >&5
17305 cat > conftest.
$ac_ext <<EOF
17306 #line 17307 "configure"
17307 #include "confdefs.h"
17313 if { (eval echo configure
:17314: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17315 echo "$ac_t""yes" 1>&6
17316 cat >> confdefs.h
<<\EOF
17317 #define HAVE__VSNWPRINTF 1
17321 echo "configure: failed program was:" >&5
17322 cat conftest.
$ac_ext >&5
17324 echo "$ac_t""no" 1>&6
17330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17331 ac_cpp
='$CPP $CPPFLAGS'
17332 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17333 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17334 cross_compiling
=$ac_cv_prog_cc_cross
17339 if test "$TOOLKIT" != "MSW"; then
17344 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17345 ac_cpp
='$CXXCPP $CPPFLAGS'
17346 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17347 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17348 cross_compiling
=$ac_cv_prog_cxx_cross
17352 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17353 if test "${with_libiconv_prefix+set}" = set; then
17354 withval
="$with_libiconv_prefix"
17356 for dir
in `echo "$withval" | tr : ' '`; do
17357 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17358 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17364 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17365 echo "configure:17366: checking for iconv" >&5
17366 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17367 echo $ac_n "(cached) $ac_c" 1>&6
17370 am_cv_func_iconv
="no, consider installing GNU libiconv"
17372 cat > conftest.
$ac_ext <<EOF
17373 #line 17374 "configure"
17374 #include "confdefs.h"
17375 #include <stdlib.h>
17378 iconv_t cd = iconv_open("","");
17379 iconv(cd,NULL,NULL,NULL,NULL);
17383 if { (eval echo configure
:17384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17385 am_cv_func_iconv
=yes
17387 echo "configure: failed program was:" >&5
17388 cat conftest.
$ac_ext >&5
17391 if test "$am_cv_func_iconv" != yes; then
17392 am_save_LIBS
="$LIBS"
17393 LIBS
="$LIBS -liconv"
17394 cat > conftest.
$ac_ext <<EOF
17395 #line 17396 "configure"
17396 #include "confdefs.h"
17397 #include <stdlib.h>
17400 iconv_t cd = iconv_open("","");
17401 iconv(cd,NULL,NULL,NULL,NULL);
17405 if { (eval echo configure
:17406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17407 am_cv_lib_iconv
=yes
17408 am_cv_func_iconv
=yes
17410 echo "configure: failed program was:" >&5
17411 cat conftest.
$ac_ext >&5
17414 LIBS
="$am_save_LIBS"
17419 echo "$ac_t""$am_cv_func_iconv" 1>&6
17420 if test "$am_cv_func_iconv" = yes; then
17421 cat >> confdefs.h
<<\EOF
17422 #define HAVE_ICONV 1
17425 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17426 echo "configure:17427: checking if iconv needs const" >&5
17427 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17428 echo $ac_n "(cached) $ac_c" 1>&6
17430 cat > conftest.
$ac_ext <<EOF
17431 #line 17432 "configure"
17432 #include "confdefs.h"
17434 #include <stdlib.h>
17440 #if defined(__STDC__) || defined(__cplusplus)
17441 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17450 if { (eval echo configure
:17451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17452 wx_cv_func_iconv_const
="no"
17454 echo "configure: failed program was:" >&5
17455 cat conftest.
$ac_ext >&5
17457 wx_cv_func_iconv_const
="yes"
17464 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17467 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17468 iconv_const
="const"
17471 cat >> confdefs.h
<<EOF
17472 #define ICONV_CONST $iconv_const
17477 if test "$am_cv_lib_iconv" = yes; then
17482 LIBS
="$LIBICONV $LIBS"
17484 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17485 ac_cpp
='$CPP $CPPFLAGS'
17486 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17487 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17488 cross_compiling
=$ac_cv_prog_cc_cross
17491 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17492 for ac_func
in sigaction
17494 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17495 echo "configure:17496: checking for $ac_func" >&5
17496 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17497 echo $ac_n "(cached) $ac_c" 1>&6
17499 cat > conftest.
$ac_ext <<EOF
17500 #line 17501 "configure"
17501 #include "confdefs.h"
17502 /* System header to define __stub macros and hopefully few prototypes,
17503 which can conflict with char $ac_func(); below. */
17504 #include <assert.h>
17505 /* Override any gcc2 internal prototype to avoid an error. */
17506 /* We use char because int might match the return type of a gcc2
17507 builtin and then its argument prototype would still apply. */
17512 /* The GNU C library defines this for functions which it implements
17513 to always fail with ENOSYS. Some functions are actually named
17514 something starting with __ and the normal name is an alias. */
17515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17523 if { (eval echo configure
:17524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17525 eval "ac_cv_func_$ac_func=yes"
17527 echo "configure: failed program was:" >&5
17528 cat conftest.
$ac_ext >&5
17530 eval "ac_cv_func_$ac_func=no"
17535 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17536 echo "$ac_t""yes" 1>&6
17537 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17538 cat >> confdefs.h
<<EOF
17539 #define $ac_tr_func 1
17543 echo "$ac_t""no" 1>&6
17548 if test "$ac_cv_func_sigaction" = "no"; then
17549 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17550 wxUSE_ON_FATAL_EXCEPTION
=no
17553 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17557 ac_cpp
='$CXXCPP $CPPFLAGS'
17558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17560 cross_compiling
=$ac_cv_prog_cxx_cross
17563 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17564 echo "configure:17565: checking for sa_handler type" >&5
17565 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17566 echo $ac_n "(cached) $ac_c" 1>&6
17569 cat > conftest.
$ac_ext <<EOF
17570 #line 17571 "configure"
17571 #include "confdefs.h"
17572 #include <signal.h>
17575 extern void testSigHandler(int);
17577 struct sigaction sa;
17578 sa.sa_handler = testSigHandler;
17582 if { (eval echo configure
:17583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17585 wx_cv_type_sa_handler
=int
17588 echo "configure: failed program was:" >&5
17589 cat conftest.
$ac_ext >&5
17592 wx_cv_type_sa_handler
=void
17599 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17602 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17603 ac_cpp
='$CPP $CPPFLAGS'
17604 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17605 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17606 cross_compiling
=$ac_cv_prog_cc_cross
17609 cat >> confdefs.h
<<EOF
17610 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17616 for ac_func
in mkstemp mktemp
17618 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17619 echo "configure:17620: checking for $ac_func" >&5
17620 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17621 echo $ac_n "(cached) $ac_c" 1>&6
17623 cat > conftest.
$ac_ext <<EOF
17624 #line 17625 "configure"
17625 #include "confdefs.h"
17626 /* System header to define __stub macros and hopefully few prototypes,
17627 which can conflict with char $ac_func(); below. */
17628 #include <assert.h>
17629 /* Override any gcc2 internal prototype to avoid an error. */
17630 /* We use char because int might match the return type of a gcc2
17631 builtin and then its argument prototype would still apply. */
17636 /* The GNU C library defines this for functions which it implements
17637 to always fail with ENOSYS. Some functions are actually named
17638 something starting with __ and the normal name is an alias. */
17639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17647 if { (eval echo configure
:17648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17649 eval "ac_cv_func_$ac_func=yes"
17651 echo "configure: failed program was:" >&5
17652 cat conftest.
$ac_ext >&5
17654 eval "ac_cv_func_$ac_func=no"
17659 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17660 echo "$ac_t""yes" 1>&6
17661 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17662 cat >> confdefs.h
<<EOF
17663 #define $ac_tr_func 1
17667 echo "$ac_t""no" 1>&6
17672 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17673 echo "configure:17674: checking for statfs" >&5
17674 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17675 echo $ac_n "(cached) $ac_c" 1>&6
17677 cat > conftest.
$ac_ext <<EOF
17678 #line 17679 "configure"
17679 #include "confdefs.h"
17681 #if defined(__BSD__)
17682 #include <sys/param.h>
17683 #include <sys/mount.h>
17685 #include <sys/vfs.h>
17699 if { (eval echo configure
:17700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17702 wx_cv_func_statfs
=yes
17705 echo "configure: failed program was:" >&5
17706 cat conftest.
$ac_ext >&5
17709 wx_cv_func_statfs
=no
17717 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17719 if test "$wx_cv_func_statfs" = "yes"; then
17720 wx_cv_type_statvfs_t
="struct statfs"
17721 cat >> confdefs.h
<<\EOF
17722 #define HAVE_STATFS 1
17726 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17727 echo "configure:17728: checking for statvfs" >&5
17728 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17729 echo $ac_n "(cached) $ac_c" 1>&6
17731 cat > conftest.
$ac_ext <<EOF
17732 #line 17733 "configure"
17733 #include "confdefs.h"
17735 #include <stddef.h>
17736 #include <sys/statvfs.h>
17740 statvfs("/", NULL);
17744 if { (eval echo configure
:17745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17746 wx_cv_func_statvfs
=yes
17748 echo "configure: failed program was:" >&5
17749 cat conftest.
$ac_ext >&5
17751 wx_cv_func_statvfs
=no
17758 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17760 if test "$wx_cv_func_statvfs" = "yes"; then
17763 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17764 ac_cpp
='$CXXCPP $CPPFLAGS'
17765 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17766 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17767 cross_compiling
=$ac_cv_prog_cxx_cross
17770 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17771 echo "configure:17772: checking for statvfs argument type" >&5
17772 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17773 echo $ac_n "(cached) $ac_c" 1>&6
17775 cat > conftest.
$ac_ext <<EOF
17776 #line 17777 "configure"
17777 #include "confdefs.h"
17779 #include <sys/statvfs.h>
17792 if { (eval echo configure
:17793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17794 wx_cv_type_statvfs_t
=statvfs_t
17796 echo "configure: failed program was:" >&5
17797 cat conftest.
$ac_ext >&5
17800 cat > conftest.
$ac_ext <<EOF
17801 #line 17802 "configure"
17802 #include "confdefs.h"
17804 #include <sys/statvfs.h>
17817 if { (eval echo configure
:17818: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17819 wx_cv_type_statvfs_t
="struct statvfs"
17821 echo "configure: failed program was:" >&5
17822 cat conftest.
$ac_ext >&5
17824 wx_cv_type_statvfs_t
="unknown"
17835 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17839 ac_cpp
='$CPP $CPPFLAGS'
17840 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17841 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17842 cross_compiling
=$ac_cv_prog_cc_cross
17845 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17846 cat >> confdefs.h
<<\EOF
17847 #define HAVE_STATVFS 1
17852 wx_cv_type_statvfs_t
="unknown"
17856 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17857 cat >> confdefs.h
<<EOF
17858 #define WX_STATFS_T $wx_cv_type_statvfs_t
17862 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17865 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17866 for ac_func
in fcntl flock
17868 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17869 echo "configure:17870: checking for $ac_func" >&5
17870 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17871 echo $ac_n "(cached) $ac_c" 1>&6
17873 cat > conftest.
$ac_ext <<EOF
17874 #line 17875 "configure"
17875 #include "confdefs.h"
17876 /* System header to define __stub macros and hopefully few prototypes,
17877 which can conflict with char $ac_func(); below. */
17878 #include <assert.h>
17879 /* Override any gcc2 internal prototype to avoid an error. */
17880 /* We use char because int might match the return type of a gcc2
17881 builtin and then its argument prototype would still apply. */
17886 /* The GNU C library defines this for functions which it implements
17887 to always fail with ENOSYS. Some functions are actually named
17888 something starting with __ and the normal name is an alias. */
17889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17897 if { (eval echo configure
:17898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17899 eval "ac_cv_func_$ac_func=yes"
17901 echo "configure: failed program was:" >&5
17902 cat conftest.
$ac_ext >&5
17904 eval "ac_cv_func_$ac_func=no"
17909 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17910 echo "$ac_t""yes" 1>&6
17911 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17912 cat >> confdefs.h
<<EOF
17913 #define $ac_tr_func 1
17917 echo "$ac_t""no" 1>&6
17922 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17923 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17924 wxUSE_SNGLINST_CHECKER
=no
17928 for ac_func
in timegm
17930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17931 echo "configure:17932: checking for $ac_func" >&5
17932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17933 echo $ac_n "(cached) $ac_c" 1>&6
17935 cat > conftest.
$ac_ext <<EOF
17936 #line 17937 "configure"
17937 #include "confdefs.h"
17938 /* System header to define __stub macros and hopefully few prototypes,
17939 which can conflict with char $ac_func(); below. */
17940 #include <assert.h>
17941 /* Override any gcc2 internal prototype to avoid an error. */
17942 /* We use char because int might match the return type of a gcc2
17943 builtin and then its argument prototype would still apply. */
17948 /* The GNU C library defines this for functions which it implements
17949 to always fail with ENOSYS. Some functions are actually named
17950 something starting with __ and the normal name is an alias. */
17951 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17959 if { (eval echo configure
:17960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17961 eval "ac_cv_func_$ac_func=yes"
17963 echo "configure: failed program was:" >&5
17964 cat conftest.
$ac_ext >&5
17966 eval "ac_cv_func_$ac_func=no"
17971 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17972 echo "$ac_t""yes" 1>&6
17973 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17974 cat >> confdefs.h
<<EOF
17975 #define $ac_tr_func 1
17979 echo "$ac_t""no" 1>&6
17984 for ac_func
in putenv setenv
17986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17987 echo "configure:17988: checking for $ac_func" >&5
17988 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17989 echo $ac_n "(cached) $ac_c" 1>&6
17991 cat > conftest.
$ac_ext <<EOF
17992 #line 17993 "configure"
17993 #include "confdefs.h"
17994 /* System header to define __stub macros and hopefully few prototypes,
17995 which can conflict with char $ac_func(); below. */
17996 #include <assert.h>
17997 /* Override any gcc2 internal prototype to avoid an error. */
17998 /* We use char because int might match the return type of a gcc2
17999 builtin and then its argument prototype would still apply. */
18004 /* The GNU C library defines this for functions which it implements
18005 to always fail with ENOSYS. Some functions are actually named
18006 something starting with __ and the normal name is an alias. */
18007 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18015 if { (eval echo configure
:18016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18017 eval "ac_cv_func_$ac_func=yes"
18019 echo "configure: failed program was:" >&5
18020 cat conftest.
$ac_ext >&5
18022 eval "ac_cv_func_$ac_func=no"
18027 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18028 echo "$ac_t""yes" 1>&6
18029 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18030 cat >> confdefs.h
<<EOF
18031 #define $ac_tr_func 1
18035 echo "$ac_t""no" 1>&6
18040 HAVE_SOME_SLEEP_FUNC
=0
18041 if test "$USE_BEOS" = 1; then
18042 cat >> confdefs.h
<<\EOF
18043 #define HAVE_SLEEP 1
18046 HAVE_SOME_SLEEP_FUNC
=1
18049 if test "$USE_DARWIN" = 1; then
18050 cat >> confdefs.h
<<\EOF
18051 #define HAVE_USLEEP 1
18054 HAVE_SOME_SLEEP_FUNC
=1
18057 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18059 for ac_func
in nanosleep
18061 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18062 echo "configure:18063: checking for $ac_func" >&5
18063 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18064 echo $ac_n "(cached) $ac_c" 1>&6
18066 cat > conftest.
$ac_ext <<EOF
18067 #line 18068 "configure"
18068 #include "confdefs.h"
18069 /* System header to define __stub macros and hopefully few prototypes,
18070 which can conflict with char $ac_func(); below. */
18071 #include <assert.h>
18072 /* Override any gcc2 internal prototype to avoid an error. */
18073 /* We use char because int might match the return type of a gcc2
18074 builtin and then its argument prototype would still apply. */
18079 /* The GNU C library defines this for functions which it implements
18080 to always fail with ENOSYS. Some functions are actually named
18081 something starting with __ and the normal name is an alias. */
18082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18090 if { (eval echo configure
:18091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18092 eval "ac_cv_func_$ac_func=yes"
18094 echo "configure: failed program was:" >&5
18095 cat conftest.
$ac_ext >&5
18097 eval "ac_cv_func_$ac_func=no"
18102 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18103 echo "$ac_t""yes" 1>&6
18104 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18105 cat >> confdefs.h
<<EOF
18106 #define $ac_tr_func 1
18108 cat >> confdefs.h
<<\EOF
18109 #define HAVE_NANOSLEEP 1
18113 echo "$ac_t""no" 1>&6
18114 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18115 echo "configure:18116: checking for nanosleep in -lposix4" >&5
18116 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18117 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18118 echo $ac_n "(cached) $ac_c" 1>&6
18120 ac_save_LIBS
="$LIBS"
18121 LIBS
="-lposix4 $LIBS"
18122 cat > conftest.
$ac_ext <<EOF
18123 #line 18124 "configure"
18124 #include "confdefs.h"
18125 /* Override any gcc2 internal prototype to avoid an error. */
18126 /* We use char because int might match the return type of a gcc2
18127 builtin and then its argument prototype would still apply. */
18134 if { (eval echo configure
:18135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18136 eval "ac_cv_lib_$ac_lib_var=yes"
18138 echo "configure: failed program was:" >&5
18139 cat conftest.
$ac_ext >&5
18141 eval "ac_cv_lib_$ac_lib_var=no"
18144 LIBS
="$ac_save_LIBS"
18147 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18148 echo "$ac_t""yes" 1>&6
18150 cat >> confdefs.h
<<\EOF
18151 #define HAVE_NANOSLEEP 1
18154 POSIX4_LINK
=" -lposix4"
18157 echo "$ac_t""no" 1>&6
18159 for ac_func
in usleep
18161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18162 echo "configure:18163: checking for $ac_func" >&5
18163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18164 echo $ac_n "(cached) $ac_c" 1>&6
18166 cat > conftest.
$ac_ext <<EOF
18167 #line 18168 "configure"
18168 #include "confdefs.h"
18169 /* System header to define __stub macros and hopefully few prototypes,
18170 which can conflict with char $ac_func(); below. */
18171 #include <assert.h>
18172 /* Override any gcc2 internal prototype to avoid an error. */
18173 /* We use char because int might match the return type of a gcc2
18174 builtin and then its argument prototype would still apply. */
18179 /* The GNU C library defines this for functions which it implements
18180 to always fail with ENOSYS. Some functions are actually named
18181 something starting with __ and the normal name is an alias. */
18182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18190 if { (eval echo configure
:18191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18192 eval "ac_cv_func_$ac_func=yes"
18194 echo "configure: failed program was:" >&5
18195 cat conftest.
$ac_ext >&5
18197 eval "ac_cv_func_$ac_func=no"
18202 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18203 echo "$ac_t""yes" 1>&6
18204 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18205 cat >> confdefs.h
<<EOF
18206 #define $ac_tr_func 1
18208 cat >> confdefs.h
<<\EOF
18209 #define HAVE_USLEEP 1
18213 echo "$ac_t""no" 1>&6
18214 echo "configure: warning: wxSleep() function will not work" 1>&2
18230 for ac_func
in uname gethostname
18232 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18233 echo "configure:18234: checking for $ac_func" >&5
18234 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18235 echo $ac_n "(cached) $ac_c" 1>&6
18237 cat > conftest.
$ac_ext <<EOF
18238 #line 18239 "configure"
18239 #include "confdefs.h"
18240 /* System header to define __stub macros and hopefully few prototypes,
18241 which can conflict with char $ac_func(); below. */
18242 #include <assert.h>
18243 /* Override any gcc2 internal prototype to avoid an error. */
18244 /* We use char because int might match the return type of a gcc2
18245 builtin and then its argument prototype would still apply. */
18250 /* The GNU C library defines this for functions which it implements
18251 to always fail with ENOSYS. Some functions are actually named
18252 something starting with __ and the normal name is an alias. */
18253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18261 if { (eval echo configure
:18262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18263 eval "ac_cv_func_$ac_func=yes"
18265 echo "configure: failed program was:" >&5
18266 cat conftest.
$ac_ext >&5
18268 eval "ac_cv_func_$ac_func=no"
18273 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18274 echo "$ac_t""yes" 1>&6
18275 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18276 cat >> confdefs.h
<<EOF
18277 #define $ac_tr_func 1
18281 echo "$ac_t""no" 1>&6
18288 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18289 ac_cpp
='$CXXCPP $CPPFLAGS'
18290 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18291 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18292 cross_compiling
=$ac_cv_prog_cxx_cross
18295 for ac_func
in strtok_r
18297 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18298 echo "configure:18299: checking for $ac_func" >&5
18299 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18300 echo $ac_n "(cached) $ac_c" 1>&6
18302 cat > conftest.
$ac_ext <<EOF
18303 #line 18304 "configure"
18304 #include "confdefs.h"
18305 /* System header to define __stub macros and hopefully few prototypes,
18306 which can conflict with char $ac_func(); below. */
18307 #include <assert.h>
18308 /* Override any gcc2 internal prototype to avoid an error. */
18312 /* We use char because int might match the return type of a gcc2
18313 builtin and then its argument prototype would still apply. */
18318 /* The GNU C library defines this for functions which it implements
18319 to always fail with ENOSYS. Some functions are actually named
18320 something starting with __ and the normal name is an alias. */
18321 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18329 if { (eval echo configure
:18330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18331 eval "ac_cv_func_$ac_func=yes"
18333 echo "configure: failed program was:" >&5
18334 cat conftest.
$ac_ext >&5
18336 eval "ac_cv_func_$ac_func=no"
18341 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18342 echo "$ac_t""yes" 1>&6
18343 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18344 cat >> confdefs.h
<<EOF
18345 #define $ac_tr_func 1
18349 echo "$ac_t""no" 1>&6
18355 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18356 ac_cpp
='$CPP $CPPFLAGS'
18357 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18358 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18359 cross_compiling
=$ac_cv_prog_cc_cross
18363 for ac_func
in inet_addr
18365 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18366 echo "configure:18367: checking for $ac_func" >&5
18367 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18368 echo $ac_n "(cached) $ac_c" 1>&6
18370 cat > conftest.
$ac_ext <<EOF
18371 #line 18372 "configure"
18372 #include "confdefs.h"
18373 /* System header to define __stub macros and hopefully few prototypes,
18374 which can conflict with char $ac_func(); below. */
18375 #include <assert.h>
18376 /* Override any gcc2 internal prototype to avoid an error. */
18377 /* We use char because int might match the return type of a gcc2
18378 builtin and then its argument prototype would still apply. */
18383 /* The GNU C library defines this for functions which it implements
18384 to always fail with ENOSYS. Some functions are actually named
18385 something starting with __ and the normal name is an alias. */
18386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18394 if { (eval echo configure
:18395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18396 eval "ac_cv_func_$ac_func=yes"
18398 echo "configure: failed program was:" >&5
18399 cat conftest.
$ac_ext >&5
18401 eval "ac_cv_func_$ac_func=no"
18406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18407 echo "$ac_t""yes" 1>&6
18408 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18409 cat >> confdefs.h
<<EOF
18410 #define $ac_tr_func 1
18412 cat >> confdefs.h
<<\EOF
18413 #define HAVE_INET_ADDR 1
18417 echo "$ac_t""no" 1>&6
18418 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18419 echo "configure:18420: checking for inet_addr in -lnsl" >&5
18420 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18422 echo $ac_n "(cached) $ac_c" 1>&6
18424 ac_save_LIBS
="$LIBS"
18426 cat > conftest.
$ac_ext <<EOF
18427 #line 18428 "configure"
18428 #include "confdefs.h"
18429 /* Override any gcc2 internal prototype to avoid an error. */
18430 /* We use char because int might match the return type of a gcc2
18431 builtin and then its argument prototype would still apply. */
18438 if { (eval echo configure
:18439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18440 eval "ac_cv_lib_$ac_lib_var=yes"
18442 echo "configure: failed program was:" >&5
18443 cat conftest.
$ac_ext >&5
18445 eval "ac_cv_lib_$ac_lib_var=no"
18448 LIBS
="$ac_save_LIBS"
18451 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18452 echo "$ac_t""yes" 1>&6
18455 echo "$ac_t""no" 1>&6
18456 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18457 echo "configure:18458: checking for inet_addr in -lresolv" >&5
18458 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18459 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18460 echo $ac_n "(cached) $ac_c" 1>&6
18462 ac_save_LIBS
="$LIBS"
18463 LIBS
="-lresolv $LIBS"
18464 cat > conftest.
$ac_ext <<EOF
18465 #line 18466 "configure"
18466 #include "confdefs.h"
18467 /* Override any gcc2 internal prototype to avoid an error. */
18468 /* We use char because int might match the return type of a gcc2
18469 builtin and then its argument prototype would still apply. */
18476 if { (eval echo configure
:18477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18478 eval "ac_cv_lib_$ac_lib_var=yes"
18480 echo "configure: failed program was:" >&5
18481 cat conftest.
$ac_ext >&5
18483 eval "ac_cv_lib_$ac_lib_var=no"
18486 LIBS
="$ac_save_LIBS"
18489 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18490 echo "$ac_t""yes" 1>&6
18493 echo "$ac_t""no" 1>&6
18494 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18495 echo "configure:18496: checking for inet_addr in -lsocket" >&5
18496 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18497 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18498 echo $ac_n "(cached) $ac_c" 1>&6
18500 ac_save_LIBS
="$LIBS"
18501 LIBS
="-lsocket $LIBS"
18502 cat > conftest.
$ac_ext <<EOF
18503 #line 18504 "configure"
18504 #include "confdefs.h"
18505 /* Override any gcc2 internal prototype to avoid an error. */
18506 /* We use char because int might match the return type of a gcc2
18507 builtin and then its argument prototype would still apply. */
18514 if { (eval echo configure
:18515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18516 eval "ac_cv_lib_$ac_lib_var=yes"
18518 echo "configure: failed program was:" >&5
18519 cat conftest.
$ac_ext >&5
18521 eval "ac_cv_lib_$ac_lib_var=no"
18524 LIBS
="$ac_save_LIBS"
18527 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18528 echo "$ac_t""yes" 1>&6
18532 echo "$ac_t""no" 1>&6
18547 for ac_func
in inet_aton
18549 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18550 echo "configure:18551: checking for $ac_func" >&5
18551 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18552 echo $ac_n "(cached) $ac_c" 1>&6
18554 cat > conftest.
$ac_ext <<EOF
18555 #line 18556 "configure"
18556 #include "confdefs.h"
18557 /* System header to define __stub macros and hopefully few prototypes,
18558 which can conflict with char $ac_func(); below. */
18559 #include <assert.h>
18560 /* Override any gcc2 internal prototype to avoid an error. */
18561 /* We use char because int might match the return type of a gcc2
18562 builtin and then its argument prototype would still apply. */
18567 /* The GNU C library defines this for functions which it implements
18568 to always fail with ENOSYS. Some functions are actually named
18569 something starting with __ and the normal name is an alias. */
18570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18578 if { (eval echo configure
:18579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18580 eval "ac_cv_func_$ac_func=yes"
18582 echo "configure: failed program was:" >&5
18583 cat conftest.
$ac_ext >&5
18585 eval "ac_cv_func_$ac_func=no"
18590 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18591 echo "$ac_t""yes" 1>&6
18592 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18593 cat >> confdefs.h
<<EOF
18594 #define $ac_tr_func 1
18596 cat >> confdefs.h
<<\EOF
18597 #define HAVE_INET_ATON 1
18601 echo "$ac_t""no" 1>&6
18602 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18603 echo "configure:18604: checking for inet_aton in -l$INET_LINK" >&5
18604 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18605 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18606 echo $ac_n "(cached) $ac_c" 1>&6
18608 ac_save_LIBS
="$LIBS"
18609 LIBS
="-l$INET_LINK $LIBS"
18610 cat > conftest.
$ac_ext <<EOF
18611 #line 18612 "configure"
18612 #include "confdefs.h"
18613 /* Override any gcc2 internal prototype to avoid an error. */
18614 /* We use char because int might match the return type of a gcc2
18615 builtin and then its argument prototype would still apply. */
18622 if { (eval echo configure
:18623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18624 eval "ac_cv_lib_$ac_lib_var=yes"
18626 echo "configure: failed program was:" >&5
18627 cat conftest.
$ac_ext >&5
18629 eval "ac_cv_lib_$ac_lib_var=no"
18632 LIBS
="$ac_save_LIBS"
18635 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18636 echo "$ac_t""yes" 1>&6
18637 cat >> confdefs.h
<<\EOF
18638 #define HAVE_INET_ATON 1
18642 echo "$ac_t""no" 1>&6
18650 if test "x$INET_LINK" != "x"; then
18651 cat >> confdefs.h
<<\EOF
18652 #define HAVE_INET_ADDR 1
18655 INET_LINK
=" -l$INET_LINK"
18661 cat > confcache
<<\EOF
18662 # This file is a shell script that caches the results of configure
18663 # tests run on this system so they can be shared between configure
18664 # scripts and configure runs. It is not useful on other systems.
18665 # If it contains results you don't want to keep, you may remove or edit it.
18667 # By default, configure uses ./config.cache as the cache file,
18668 # creating it if it does not exist already. You can give configure
18669 # the --cache-file=FILE option to use a different cache file; that is
18670 # what configure does when it calls configure scripts in
18671 # subdirectories, so they share the cache.
18672 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18673 # config.status only pays attention to the cache file if you give it the
18674 # --recheck option to rerun configure.
18677 # The following way of writing the cache mishandles newlines in values,
18678 # but we know of no workaround that is simple, portable, and efficient.
18679 # So, don't put newlines in cache variables' values.
18680 # Ultrix sh set writes to stderr and can't be redirected directly,
18681 # and sets the high bit in the cache file unless we assign to the vars.
18683 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18685 # `set' does not quote correctly, so add quotes (double-quote substitution
18686 # turns \\\\ into \\, and sed turns \\ into \).
18688 -e "s/'/'\\\\''/g" \
18689 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18692 # `set' quotes correctly as required by POSIX, so do not add quotes.
18693 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18696 if cmp -s $cache_file confcache
; then
18699 if test -w $cache_file; then
18700 echo "updating cache $cache_file"
18701 cat confcache
> $cache_file
18703 echo "not updating unwritable cache $cache_file"
18711 if test "$TOOLKIT" != "MSW"; then
18717 if test "$wxUSE_THREADS" = "yes" ; then
18718 if test "$USE_BEOS" = 1; then
18719 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18724 if test "$wxUSE_THREADS" = "yes" ; then
18727 THREAD_OPTS
="-pthread"
18729 *-*-solaris2* | *-*-sunos4* )
18730 if test "x$GCC" = "xyes"; then
18731 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18733 THREAD_OPTS
="-mt $THREAD_OPTS"
18737 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18739 *-*-darwin* | *-*-cygwin* )
18743 THREAD_OPTS
="pthreads"
18746 if test "x$GCC" != "xyes"; then
18751 THREAD_OPTS
="$THREAD_OPTS pthread none"
18754 for flag
in $THREAD_OPTS; do
18757 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18758 echo "configure:18759: checking whether pthreads work without any flags" >&5
18762 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18763 echo "configure:18764: checking whether pthreads work with $flag" >&5
18764 THREADS_CFLAGS
="$flag"
18768 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18769 echo "configure:18770: checking for the pthreads library -l$flag" >&5
18770 THREADS_LINK
="-l$flag"
18775 save_CFLAGS
="$CFLAGS"
18776 LIBS
="$THREADS_LINK $LIBS"
18777 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18779 cat > conftest.
$ac_ext <<EOF
18780 #line 18781 "configure"
18781 #include "confdefs.h"
18782 #include <pthread.h>
18784 pthread_create(0,0,0,0);
18787 if { (eval echo configure
:18788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18791 echo "configure: failed program was:" >&5
18792 cat conftest.
$ac_ext >&5
18797 CFLAGS
="$save_CFLAGS"
18799 echo "$ac_t""$THREADS_OK" 1>&6
18800 if test "x$THREADS_OK" = "xyes"; then
18808 if test "x$THREADS_OK" != "xyes"; then
18810 echo "configure: warning: No thread support on this system... disabled" 1>&2
18812 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18813 LIBS
="$THREADS_LINK $LIBS"
18815 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18816 echo "configure:18817: checking if more special flags are required for pthreads" >&5
18820 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18821 flag
="-D_THREAD_SAFE"
18824 flag
="-D_THREAD_SAFE"
18827 flag
="-D_REENTRANT"
18828 if test "x$GCC" != "xyes"; then
18829 flag
="$flag -D_RWSTD_MULTI_THREAD"
18832 *solaris
* | alpha
*-osf*)
18833 flag
="-D_REENTRANT"
18836 echo "$ac_t""${flag}" 1>&6
18837 if test "x$flag" != xno
; then
18838 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18841 if test "x$THREADS_CFLAGS" != "x"; then
18842 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18843 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18848 if test "$wxUSE_THREADS" = "yes" ; then
18849 for ac_func
in thr_setconcurrency
18851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18852 echo "configure:18853: checking for $ac_func" >&5
18853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18854 echo $ac_n "(cached) $ac_c" 1>&6
18856 cat > conftest.
$ac_ext <<EOF
18857 #line 18858 "configure"
18858 #include "confdefs.h"
18859 /* System header to define __stub macros and hopefully few prototypes,
18860 which can conflict with char $ac_func(); below. */
18861 #include <assert.h>
18862 /* Override any gcc2 internal prototype to avoid an error. */
18863 /* We use char because int might match the return type of a gcc2
18864 builtin and then its argument prototype would still apply. */
18869 /* The GNU C library defines this for functions which it implements
18870 to always fail with ENOSYS. Some functions are actually named
18871 something starting with __ and the normal name is an alias. */
18872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18880 if { (eval echo configure
:18881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18882 eval "ac_cv_func_$ac_func=yes"
18884 echo "configure: failed program was:" >&5
18885 cat conftest.
$ac_ext >&5
18887 eval "ac_cv_func_$ac_func=no"
18892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18893 echo "$ac_t""yes" 1>&6
18894 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18895 cat >> confdefs.h
<<EOF
18896 #define $ac_tr_func 1
18900 echo "$ac_t""no" 1>&6
18905 for ac_hdr
in sched.h
18907 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18908 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18909 echo "configure:18910: checking for $ac_hdr" >&5
18910 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18911 echo $ac_n "(cached) $ac_c" 1>&6
18913 cat > conftest.
$ac_ext <<EOF
18914 #line 18915 "configure"
18915 #include "confdefs.h"
18918 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18919 { (eval echo configure
:18920: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18920 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18921 if test -z "$ac_err"; then
18923 eval "ac_cv_header_$ac_safe=yes"
18926 echo "configure: failed program was:" >&5
18927 cat conftest.
$ac_ext >&5
18929 eval "ac_cv_header_$ac_safe=no"
18933 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18934 echo "$ac_t""yes" 1>&6
18935 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18936 cat >> confdefs.h
<<EOF
18937 #define $ac_tr_hdr 1
18941 echo "$ac_t""no" 1>&6
18945 if test "$ac_cv_header_sched_h" = "yes"; then
18946 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18947 echo "configure:18948: checking for sched_yield" >&5
18948 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18949 echo $ac_n "(cached) $ac_c" 1>&6
18951 cat > conftest.
$ac_ext <<EOF
18952 #line 18953 "configure"
18953 #include "confdefs.h"
18954 /* System header to define __stub macros and hopefully few prototypes,
18955 which can conflict with char sched_yield(); below. */
18956 #include <assert.h>
18957 /* Override any gcc2 internal prototype to avoid an error. */
18958 /* We use char because int might match the return type of a gcc2
18959 builtin and then its argument prototype would still apply. */
18960 char sched_yield();
18964 /* The GNU C library defines this for functions which it implements
18965 to always fail with ENOSYS. Some functions are actually named
18966 something starting with __ and the normal name is an alias. */
18967 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18975 if { (eval echo configure
:18976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18977 eval "ac_cv_func_sched_yield=yes"
18979 echo "configure: failed program was:" >&5
18980 cat conftest.
$ac_ext >&5
18982 eval "ac_cv_func_sched_yield=no"
18987 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18988 echo "$ac_t""yes" 1>&6
18989 cat >> confdefs.h
<<\EOF
18990 #define HAVE_SCHED_YIELD 1
18994 echo "$ac_t""no" 1>&6
18996 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18997 echo "configure:18998: checking for sched_yield in -lposix4" >&5
18998 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18999 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19000 echo $ac_n "(cached) $ac_c" 1>&6
19002 ac_save_LIBS
="$LIBS"
19003 LIBS
="-lposix4 $LIBS"
19004 cat > conftest.
$ac_ext <<EOF
19005 #line 19006 "configure"
19006 #include "confdefs.h"
19007 /* Override any gcc2 internal prototype to avoid an error. */
19008 /* We use char because int might match the return type of a gcc2
19009 builtin and then its argument prototype would still apply. */
19010 char sched_yield();
19016 if { (eval echo configure
:19017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19018 eval "ac_cv_lib_$ac_lib_var=yes"
19020 echo "configure: failed program was:" >&5
19021 cat conftest.
$ac_ext >&5
19023 eval "ac_cv_lib_$ac_lib_var=no"
19026 LIBS
="$ac_save_LIBS"
19029 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19030 echo "$ac_t""yes" 1>&6
19031 cat >> confdefs.h
<<\EOF
19032 #define HAVE_SCHED_YIELD 1
19034 POSIX4_LINK
=" -lposix4"
19036 echo "$ac_t""no" 1>&6
19037 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19048 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19049 echo "configure:19050: checking for pthread_attr_getschedpolicy" >&5
19050 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19051 echo $ac_n "(cached) $ac_c" 1>&6
19053 cat > conftest.
$ac_ext <<EOF
19054 #line 19055 "configure"
19055 #include "confdefs.h"
19056 /* System header to define __stub macros and hopefully few prototypes,
19057 which can conflict with char pthread_attr_getschedpolicy(); below. */
19058 #include <assert.h>
19059 /* Override any gcc2 internal prototype to avoid an error. */
19060 /* We use char because int might match the return type of a gcc2
19061 builtin and then its argument prototype would still apply. */
19062 char pthread_attr_getschedpolicy();
19066 /* The GNU C library defines this for functions which it implements
19067 to always fail with ENOSYS. Some functions are actually named
19068 something starting with __ and the normal name is an alias. */
19069 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19072 pthread_attr_getschedpolicy();
19077 if { (eval echo configure
:19078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19079 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19081 echo "configure: failed program was:" >&5
19082 cat conftest.
$ac_ext >&5
19084 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19089 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19090 echo "$ac_t""yes" 1>&6
19091 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19092 echo "configure:19093: checking for pthread_attr_setschedparam" >&5
19093 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19094 echo $ac_n "(cached) $ac_c" 1>&6
19096 cat > conftest.
$ac_ext <<EOF
19097 #line 19098 "configure"
19098 #include "confdefs.h"
19099 /* System header to define __stub macros and hopefully few prototypes,
19100 which can conflict with char pthread_attr_setschedparam(); below. */
19101 #include <assert.h>
19102 /* Override any gcc2 internal prototype to avoid an error. */
19103 /* We use char because int might match the return type of a gcc2
19104 builtin and then its argument prototype would still apply. */
19105 char pthread_attr_setschedparam();
19109 /* The GNU C library defines this for functions which it implements
19110 to always fail with ENOSYS. Some functions are actually named
19111 something starting with __ and the normal name is an alias. */
19112 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19115 pthread_attr_setschedparam();
19120 if { (eval echo configure
:19121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19122 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19124 echo "configure: failed program was:" >&5
19125 cat conftest.
$ac_ext >&5
19127 eval "ac_cv_func_pthread_attr_setschedparam=no"
19132 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19133 echo "$ac_t""yes" 1>&6
19134 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19135 echo "configure:19136: checking for sched_get_priority_max" >&5
19136 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19137 echo $ac_n "(cached) $ac_c" 1>&6
19139 cat > conftest.
$ac_ext <<EOF
19140 #line 19141 "configure"
19141 #include "confdefs.h"
19142 /* System header to define __stub macros and hopefully few prototypes
19144 echo "$ac_t""no" 1>&6
19145 which can conflict with char sched_get_priority_max(); below. */
19146 #include <assert.h>
19147 /* Override any gcc2 internal prototype to avoid an error. */
19148 /* We use char because int might match the return type of a gcc2
19149 builtin and then its argument prototype would still apply. */
19150 char sched_get_priority_max();
19154 /* The GNU C library defines this for functions which it implements
19155 to always fail with ENOSYS. Some functions are actually named
19156 something starting with __ and the normal name is an alias. */
19157 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19160 sched_get_priority_max();
19165 if { (eval echo configure
:19166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19167 eval "ac_cv_func_sched_get_priority_max=yes"
19169 echo "configure: failed program was:" >&5
19170 cat conftest.
$ac_ext >&5
19172 eval "ac_cv_func_sched_get_priority_max=no"
19177 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19178 echo "$ac_t""yes" 1>&6
19181 echo "$ac_t""no" 1>&6
19182 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19183 echo "configure:19184: checking for sched_get_priority_max in -lposix4" >&5
19184 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19186 echo $ac_n "(cached) $ac_c" 1>&6
19188 ac_save_LIBS
="$LIBS"
19189 LIBS
="-lposix4 $LIBS"
19190 cat > conftest.
$ac_ext <<EOF
19191 #line 19192 "configure"
19192 #include "confdefs.h"
19193 /* Override any gcc2 internal prototype to avoid an error. */
19194 /* We use char because int might match the return type of a gcc2
19195 builtin and then its argument prototype would still apply. */
19196 char sched_get_priority_max();
19199 sched_get_priority_max()
19202 if { (eval echo configure
:19203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19204 eval "ac_cv_lib_$ac_lib_var=yes"
19206 echo "configure: failed program was:" >&5
19207 cat conftest.
$ac_ext >&5
19209 eval "ac_cv_lib_$ac_lib_var=no"
19212 LIBS
="$ac_save_LIBS"
19215 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19216 echo "$ac_t""yes" 1>&6
19219 POSIX4_LINK
=" -lposix4"
19222 echo "$ac_t""no" 1>&6
19230 echo "$ac_t""no" 1>&6
19237 if test "$HAVE_PRIOR_FUNCS" = 1; then
19238 cat >> confdefs.h
<<\EOF
19239 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19243 echo "configure: warning: Setting thread priority will not work" 1>&2
19246 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19247 echo "configure:19248: checking for pthread_cancel" >&5
19248 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19249 echo $ac_n "(cached) $ac_c" 1>&6
19251 cat > conftest.
$ac_ext <<EOF
19252 #line 19253 "configure"
19253 #include "confdefs.h"
19254 /* System header to define __stub macros and hopefully few prototypes,
19255 which can conflict with char pthread_cancel(); below. */
19256 #include <assert.h>
19257 /* Override any gcc2 internal prototype to avoid an error. */
19258 /* We use char because int might match the return type of a gcc2
19259 builtin and then its argument prototype would still apply. */
19260 char pthread_cancel();
19264 /* The GNU C library defines this for functions which it implements
19265 to always fail with ENOSYS. Some functions are actually named
19266 something starting with __ and the normal name is an alias. */
19267 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19275 if { (eval echo configure
:19276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19277 eval "ac_cv_func_pthread_cancel=yes"
19279 echo "configure: failed program was:" >&5
19280 cat conftest.
$ac_ext >&5
19282 eval "ac_cv_func_pthread_cancel=no"
19287 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19288 echo "$ac_t""yes" 1>&6
19289 cat >> confdefs.h
<<\EOF
19290 #define HAVE_PTHREAD_CANCEL 1
19294 echo "$ac_t""no" 1>&6
19295 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19299 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19300 echo "configure:19301: checking for pthread_cleanup_push/pop" >&5
19301 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19302 echo $ac_n "(cached) $ac_c" 1>&6
19305 cat > conftest.
$ac_ext <<EOF
19306 #line 19307 "configure"
19307 #include "confdefs.h"
19308 #include <pthread.h>
19311 pthread_cleanup_push(NULL, NULL);
19312 pthread_cleanup_pop(0);
19316 if { (eval echo configure
:19317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19319 wx_cv_func_pthread_cleanup_push
=yes
19322 echo "configure: failed program was:" >&5
19323 cat conftest.
$ac_ext >&5
19326 wx_cv_func_pthread_cleanup_push
=no
19333 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19335 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19336 cat >> confdefs.h
<<\EOF
19337 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19343 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19344 echo "configure:19345: checking for pthread_mutexattr_t" >&5
19345 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19346 echo $ac_n "(cached) $ac_c" 1>&6
19349 cat > conftest.
$ac_ext <<EOF
19350 #line 19351 "configure"
19351 #include "confdefs.h"
19352 #include <pthread.h>
19355 pthread_mutexattr_t attr;
19356 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19360 if { (eval echo configure
:19361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19363 wx_cv_type_pthread_mutexattr_t
=yes
19366 echo "configure: failed program was:" >&5
19367 cat conftest.
$ac_ext >&5
19370 wx_cv_type_pthread_mutexattr_t
=no
19378 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19380 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19381 cat >> confdefs.h
<<\EOF
19382 #define HAVE_PTHREAD_MUTEXATTR_T 1
19386 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19387 echo "configure:19388: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19388 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19389 echo $ac_n "(cached) $ac_c" 1>&6
19392 cat > conftest.
$ac_ext <<EOF
19393 #line 19394 "configure"
19394 #include "confdefs.h"
19395 #include <pthread.h>
19398 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19402 if { (eval echo configure
:19403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19405 wx_cv_type_pthread_rec_mutex_init
=yes
19408 echo "configure: failed program was:" >&5
19409 cat conftest.
$ac_ext >&5
19412 wx_cv_type_pthread_rec_mutex_init
=no
19420 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19421 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19422 cat >> confdefs.h
<<\EOF
19423 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19427 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19433 if test "$wxUSE_THREADS" = "yes" ; then
19436 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19437 echo "configure:19438: checking if compiler supports -mthreads" >&5
19438 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19439 echo $ac_n "(cached) $ac_c" 1>&6
19442 CFLAGS_OLD
="$CFLAGS"
19443 CFLAGS
="$CFLAGS -mthreads"
19444 cat > conftest.
$ac_ext <<EOF
19445 #line 19446 "configure"
19446 #include "confdefs.h"
19452 if { (eval echo configure
:19453: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19454 wx_cv_cflags_mthread
=yes
19456 echo "configure: failed program was:" >&5
19457 cat conftest.
$ac_ext >&5
19459 wx_cv_cflags_mthread
=no
19467 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19469 if test "$wx_cv_cflags_mthread" = "yes"; then
19470 CXXFLAGS
="$CXXFLAGS -mthreads"
19471 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19472 LDFLAGS
="$LDFLAGS -mthreads"
19474 CFLAGS
="$CFLAGS_OLD"
19481 if test "$wxUSE_THREADS" = "yes"; then
19482 cat >> confdefs.h
<<\EOF
19483 #define wxUSE_THREADS 1
19487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19489 if test "$ac_cv_func_strtok_r" = "yes"; then
19490 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19491 echo "configure:19492: checking if -D_REENTRANT is needed" >&5
19492 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19493 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19494 echo "$ac_t""yes" 1>&6
19496 echo "$ac_t""no" 1>&6
19501 if test "$WXGTK20" = 1 ; then
19502 cat >> confdefs.h
<<EOF
19503 #define __WXGTK20__ $WXGTK20
19509 if test "$WXGTK12" = 1 ; then
19510 cat >> confdefs.h
<<EOF
19511 #define __WXGTK12__ $WXGTK12
19516 if test "$WXGTK127" = 1 ; then
19517 cat >> confdefs.h
<<EOF
19518 #define __WXGTK127__ $WXGTK127
19525 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19530 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19531 wxUSE_DEBUG_INFO
=yes
19535 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19536 cat >> confdefs.h
<<\EOF
19540 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19542 if test "$wxUSE_GTK" = 1 ; then
19543 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19547 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19548 cat >> confdefs.h
<<\EOF
19549 #define wxUSE_MEMORY_TRACING 1
19552 cat >> confdefs.h
<<\EOF
19553 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19556 cat >> confdefs.h
<<\EOF
19557 #define wxUSE_DEBUG_NEW_ALWAYS 1
19560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19563 if test "$wxUSE_DMALLOC" = "yes" ; then
19564 DMALLOC_LIBS
="-ldmalloc"
19568 if test "$wxUSE_PROFILE" = "yes" ; then
19573 CODE_GEN_FLAGS_CXX
=
19574 if test "$GCC" = "yes" ; then
19575 if test "$wxUSE_NO_RTTI" = "yes" ; then
19576 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19578 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19579 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19581 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19582 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19584 if test "$USE_WIN32" = 1 ; then
19585 # I'm not even really sure what this was ever added to solve,
19586 # but someone added it for mingw native builds, so I guess
19587 # they had a reason, right??
19588 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19593 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19596 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19602 if test "$wxUSE_OPTIMISE" = "no" ; then
19603 if test "$GCC" = yes ; then
19607 if test "$GCC" = yes ; then
19611 i586
-*-*|i686
-*-* )
19612 OPTIMISE
="${OPTIMISE} "
19621 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19622 cat >> confdefs.h
<<\EOF
19623 #define WXWIN_COMPATIBILITY_2 1
19627 WXWIN_COMPATIBILITY_2_2
="yes"
19630 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19631 cat >> confdefs.h
<<\EOF
19632 #define WXWIN_COMPATIBILITY_2_2 1
19636 WXWIN_COMPATIBILITY_2_4
="yes"
19639 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19640 cat >> confdefs.h
<<\EOF
19641 #define WXWIN_COMPATIBILITY_2_4 1
19647 if test "$wxUSE_GUI" = "yes"; then
19648 cat >> confdefs.h
<<\EOF
19649 #define wxUSE_GUI 1
19654 cat >> confdefs.h
<<\EOF
19655 #define wxUSE_NOGUI 1
19661 if test "$wxUSE_UNIX" = "yes"; then
19662 cat >> confdefs.h
<<\EOF
19663 #define wxUSE_UNIX 1
19669 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19670 cat >> confdefs.h
<<\EOF
19671 #define wxUSE_APPLE_IEEE 1
19676 if test "$wxUSE_TIMER" = "yes"; then
19677 cat >> confdefs.h
<<\EOF
19678 #define wxUSE_TIMER 1
19683 if test "$wxUSE_WAVE" = "yes"; then
19684 cat >> confdefs.h
<<\EOF
19685 #define wxUSE_WAVE 1
19690 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19691 cat >> confdefs.h
<<\EOF
19692 #define wxUSE_CMDLINE_PARSER 1
19697 if test "$wxUSE_STOPWATCH" = "yes"; then
19698 cat >> confdefs.h
<<\EOF
19699 #define wxUSE_STOPWATCH 1
19704 if test "$wxUSE_DATETIME" = "yes"; then
19705 cat >> confdefs.h
<<\EOF
19706 #define wxUSE_DATETIME 1
19711 if test "$wxUSE_TIMEDATE" = "yes"; then
19712 cat >> confdefs.h
<<\EOF
19713 #define wxUSE_TIMEDATE 1
19718 if test "$wxUSE_FILE" = "yes"; then
19719 cat >> confdefs.h
<<\EOF
19720 #define wxUSE_FILE 1
19725 if test "$wxUSE_FFILE" = "yes"; then
19726 cat >> confdefs.h
<<\EOF
19727 #define wxUSE_FFILE 1
19732 if test "$wxUSE_FILESYSTEM" = "yes"; then
19733 cat >> confdefs.h
<<\EOF
19734 #define wxUSE_FILESYSTEM 1
19739 if test "$wxUSE_FS_INET" = "yes"; then
19740 cat >> confdefs.h
<<\EOF
19741 #define wxUSE_FS_INET 1
19746 if test "$wxUSE_FS_ZIP" = "yes"; then
19747 cat >> confdefs.h
<<\EOF
19748 #define wxUSE_FS_ZIP 1
19753 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19754 cat >> confdefs.h
<<\EOF
19755 #define wxUSE_ZIPSTREAM 1
19760 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19761 cat >> confdefs.h
<<\EOF
19762 #define wxUSE_ON_FATAL_EXCEPTION 1
19767 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19768 cat >> confdefs.h
<<\EOF
19769 #define wxUSE_SNGLINST_CHECKER 1
19774 if test "$wxUSE_BUSYINFO" = "yes"; then
19775 cat >> confdefs.h
<<\EOF
19776 #define wxUSE_BUSYINFO 1
19781 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19782 cat >> confdefs.h
<<\EOF
19783 #define wxUSE_STD_IOSTREAM 1
19788 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19789 cat >> confdefs.h
<<\EOF
19790 #define wxUSE_TEXTBUFFER 1
19795 if test "$wxUSE_TEXTFILE" = "yes"; then
19796 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19797 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19799 cat >> confdefs.h
<<\EOF
19800 #define wxUSE_TEXTFILE 1
19806 if test "$wxUSE_CONFIG" = "yes" ; then
19807 if test "$wxUSE_TEXTFILE" != "yes"; then
19808 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19810 cat >> confdefs.h
<<\EOF
19811 #define wxUSE_CONFIG 1
19814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19818 if test "$wxUSE_INTL" = "yes" ; then
19819 if test "$wxUSE_FILE" != "yes"; then
19820 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19822 cat >> confdefs.h
<<\EOF
19823 #define wxUSE_INTL 1
19826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19827 GUIDIST
="$GUIDIST INTL_DIST"
19831 if test "$wxUSE_LOG" = "yes"; then
19832 cat >> confdefs.h
<<\EOF
19833 #define wxUSE_LOG 1
19837 if test "$wxUSE_LOGGUI" = "yes"; then
19838 cat >> confdefs.h
<<\EOF
19839 #define wxUSE_LOGGUI 1
19844 if test "$wxUSE_LOGWINDOW" = "yes"; then
19845 cat >> confdefs.h
<<\EOF
19846 #define wxUSE_LOGWINDOW 1
19851 if test "$wxUSE_LOGDIALOG" = "yes"; then
19852 cat >> confdefs.h
<<\EOF
19853 #define wxUSE_LOG_DIALOG 1
19859 if test "$wxUSE_LONGLONG" = "yes"; then
19860 cat >> confdefs.h
<<\EOF
19861 #define wxUSE_LONGLONG 1
19866 if test "$wxUSE_GEOMETRY" = "yes"; then
19867 cat >> confdefs.h
<<\EOF
19868 #define wxUSE_GEOMETRY 1
19873 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19874 cat >> confdefs.h
<<\EOF
19875 #define wxUSE_DIALUP_MANAGER 1
19878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19881 if test "$wxUSE_STREAMS" = "yes" ; then
19882 cat >> confdefs.h
<<\EOF
19883 #define wxUSE_STREAMS 1
19889 if test "$wxUSE_DATETIME" = "yes"; then
19890 for ac_func
in strptime
19892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19893 echo "configure:19894: checking for $ac_func" >&5
19894 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19895 echo $ac_n "(cached) $ac_c" 1>&6
19897 cat > conftest.
$ac_ext <<EOF
19898 #line 19899 "configure"
19899 #include "confdefs.h"
19900 /* System header to define __stub macros and hopefully few prototypes,
19901 which can conflict with char $ac_func(); below. */
19902 #include <assert.h>
19903 /* Override any gcc2 internal prototype to avoid an error. */
19904 /* We use char because int might match the return type of a gcc2
19905 builtin and then its argument prototype would still apply. */
19910 /* The GNU C library defines this for functions which it implements
19911 to always fail with ENOSYS. Some functions are actually named
19912 something starting with __ and the normal name is an alias. */
19913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19921 if { (eval echo configure
:19922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19923 eval "ac_cv_func_$ac_func=yes"
19925 echo "configure: failed program was:" >&5
19926 cat conftest.
$ac_ext >&5
19928 eval "ac_cv_func_$ac_func=no"
19933 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19934 echo "$ac_t""yes" 1>&6
19935 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19936 cat >> confdefs.h
<<EOF
19937 #define $ac_tr_func 1
19941 echo "$ac_t""no" 1>&6
19946 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19947 echo "configure:19948: checking for timezone variable in <time.h>" >&5
19948 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19949 echo $ac_n "(cached) $ac_c" 1>&6
19952 cat > conftest.
$ac_ext <<EOF
19953 #line 19954 "configure"
19954 #include "confdefs.h"
19965 if { (eval echo configure
:19966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19968 wx_cv_var_timezone
=timezone
19971 echo "configure: failed program was:" >&5
19972 cat conftest.
$ac_ext >&5
19975 cat > conftest.
$ac_ext <<EOF
19976 #line 19977 "configure"
19977 #include "confdefs.h"
19988 if { (eval echo configure
:19989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19991 wx_cv_var_timezone
=_timezone
19994 echo "configure: failed program was:" >&5
19995 cat conftest.
$ac_ext >&5
19998 cat > conftest.
$ac_ext <<EOF
19999 #line 20000 "configure"
20000 #include "confdefs.h"
20011 if { (eval echo configure
:20012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20014 wx_cv_var_timezone
=__timezone
20017 echo "configure: failed program was:" >&5
20018 cat conftest.
$ac_ext >&5
20021 if test "$USE_DOS" = 0 ; then
20022 echo "configure: warning: no timezone variable" 1>&2
20040 echo "$ac_t""$wx_cv_var_timezone" 1>&6
20042 if test "x$wx_cv_var_timezone" != x
; then
20043 cat >> confdefs.h
<<EOF
20044 #define WX_TIMEZONE $wx_cv_var_timezone
20049 for ac_func
in localtime
20051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20052 echo "configure:20053: checking for $ac_func" >&5
20053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20054 echo $ac_n "(cached) $ac_c" 1>&6
20056 cat > conftest.
$ac_ext <<EOF
20057 #line 20058 "configure"
20058 #include "confdefs.h"
20059 /* System header to define __stub macros and hopefully few prototypes,
20060 which can conflict with char $ac_func(); below. */
20061 #include <assert.h>
20062 /* Override any gcc2 internal prototype to avoid an error. */
20063 /* We use char because int might match the return type of a gcc2
20064 builtin and then its argument prototype would still apply. */
20069 /* The GNU C library defines this for functions which it implements
20070 to always fail with ENOSYS. Some functions are actually named
20071 something starting with __ and the normal name is an alias. */
20072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20080 if { (eval echo configure
:20081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20082 eval "ac_cv_func_$ac_func=yes"
20084 echo "configure: failed program was:" >&5
20085 cat conftest.
$ac_ext >&5
20087 eval "ac_cv_func_$ac_func=no"
20092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20093 echo "$ac_t""yes" 1>&6
20094 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20095 cat >> confdefs.h
<<EOF
20096 #define $ac_tr_func 1
20100 echo "$ac_t""no" 1>&6
20105 if test "$ac_cv_func_localtime" = "yes"; then
20106 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20107 echo "configure:20108: checking for tm_gmtoff in struct tm" >&5
20108 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20109 echo $ac_n "(cached) $ac_c" 1>&6
20112 cat > conftest.
$ac_ext <<EOF
20113 #line 20114 "configure"
20114 #include "confdefs.h"
20125 if { (eval echo configure
:20126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20128 wx_cv_struct_tm_has_gmtoff
=yes
20131 echo "configure: failed program was:" >&5
20132 cat conftest.
$ac_ext >&5
20134 wx_cv_struct_tm_has_gmtoff
=no
20141 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20144 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20145 cat >> confdefs.h
<<\EOF
20146 #define WX_GMTOFF_IN_TM 1
20151 for ac_func
in gettimeofday ftime
20153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20154 echo "configure:20155: checking for $ac_func" >&5
20155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20156 echo $ac_n "(cached) $ac_c" 1>&6
20158 cat > conftest.
$ac_ext <<EOF
20159 #line 20160 "configure"
20160 #include "confdefs.h"
20161 /* System header to define __stub macros and hopefully few prototypes,
20162 which can conflict with char $ac_func(); below. */
20163 #include <assert.h>
20164 /* Override any gcc2 internal prototype to avoid an error. */
20165 /* We use char because int might match the return type of a gcc2
20166 builtin and then its argument prototype would still apply. */
20171 /* The GNU C library defines this for functions which it implements
20172 to always fail with ENOSYS. Some functions are actually named
20173 something starting with __ and the normal name is an alias. */
20174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20182 if { (eval echo configure
:20183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20184 eval "ac_cv_func_$ac_func=yes"
20186 echo "configure: failed program was:" >&5
20187 cat conftest.
$ac_ext >&5
20189 eval "ac_cv_func_$ac_func=no"
20194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20195 echo "$ac_t""yes" 1>&6
20196 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20197 cat >> confdefs.h
<<EOF
20198 #define $ac_tr_func 1
20202 echo "$ac_t""no" 1>&6
20207 if test "$ac_cv_func_gettimeofday" = "yes"; then
20208 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20209 echo "configure:20210: checking whether gettimeofday takes two arguments" >&5
20210 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20211 echo $ac_n "(cached) $ac_c" 1>&6
20216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20217 ac_cpp
='$CXXCPP $CPPFLAGS'
20218 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20219 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20220 cross_compiling
=$ac_cv_prog_cxx_cross
20223 cat > conftest.
$ac_ext <<EOF
20224 #line 20225 "configure"
20225 #include "confdefs.h"
20227 #include <sys/time.h>
20228 #include <unistd.h>
20233 gettimeofday(&tv, NULL);
20237 if { (eval echo configure
:20238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20239 wx_cv_func_gettimeofday_has_2_args
=yes
20241 echo "configure: failed program was:" >&5
20242 cat conftest.
$ac_ext >&5
20244 cat > conftest.
$ac_ext <<EOF
20245 #line 20246 "configure"
20246 #include "confdefs.h"
20248 #include <sys/time.h>
20249 #include <unistd.h>
20258 if { (eval echo configure
:20259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20260 wx_cv_func_gettimeofday_has_2_args
=no
20262 echo "configure: failed program was:" >&5
20263 cat conftest.
$ac_ext >&5
20266 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20267 wx_cv_func_gettimeofday_has_2_args
=unknown
20276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20277 ac_cpp
='$CPP $CPPFLAGS'
20278 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20279 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20280 cross_compiling
=$ac_cv_prog_cc_cross
20285 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20287 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20288 cat >> confdefs.h
<<\EOF
20289 #define WX_GETTIMEOFDAY_NO_TZ 1
20295 cat >> confdefs.h
<<\EOF
20296 #define wxUSE_TIMEDATE 1
20299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20303 if test "$wxUSE_SOCKETS" = "yes"; then
20304 if test "$wxUSE_MGL" = "1"; then
20305 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20310 if test "$wxUSE_SOCKETS" = "yes"; then
20311 if test "$TOOLKIT" != "MSW"; then
20312 echo $ac_n "checking for socket""... $ac_c" 1>&6
20313 echo "configure:20314: checking for socket" >&5
20314 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20315 echo $ac_n "(cached) $ac_c" 1>&6
20317 cat > conftest.
$ac_ext <<EOF
20318 #line 20319 "configure"
20319 #include "confdefs.h"
20320 /* System header to define __stub macros and hopefully few prototypes,
20321 which can conflict with char socket(); below. */
20322 #include <assert.h>
20323 /* Override any gcc2 internal prototype to avoid an error. */
20324 /* We use char because int might match the return type of a gcc2
20325 builtin and then its argument prototype would still apply. */
20330 /* The GNU C library defines this for functions which it implements
20331 to always fail with ENOSYS. Some functions are actually named
20332 something starting with __ and the normal name is an alias. */
20333 #if defined (__stub_socket) || defined (__stub___socket)
20341 if { (eval echo configure
:20342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20343 eval "ac_cv_func_socket=yes"
20345 echo "configure: failed program was:" >&5
20346 cat conftest.
$ac_ext >&5
20348 eval "ac_cv_func_socket=no"
20353 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20354 echo "$ac_t""yes" 1>&6
20357 echo "$ac_t""no" 1>&6
20358 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20359 echo "configure:20360: checking for socket in -lsocket" >&5
20360 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20361 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20362 echo $ac_n "(cached) $ac_c" 1>&6
20364 ac_save_LIBS
="$LIBS"
20365 LIBS
="-lsocket $LIBS"
20366 cat > conftest.
$ac_ext <<EOF
20367 #line 20368 "configure"
20368 #include "confdefs.h"
20369 /* Override any gcc2 internal prototype to avoid an error. */
20370 /* We use char because int might match the return type of a gcc2
20371 builtin and then its argument prototype would still apply. */
20378 if { (eval echo configure
:20379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20380 eval "ac_cv_lib_$ac_lib_var=yes"
20382 echo "configure: failed program was:" >&5
20383 cat conftest.
$ac_ext >&5
20385 eval "ac_cv_lib_$ac_lib_var=no"
20388 LIBS
="$ac_save_LIBS"
20391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20392 echo "$ac_t""yes" 1>&6
20393 if test "$INET_LINK" != " -lsocket"; then
20394 INET_LINK
="$INET_LINK -lsocket"
20397 echo "$ac_t""no" 1>&6
20399 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20411 if test "$wxUSE_SOCKETS" = "yes" ; then
20412 if test "$TOOLKIT" != "MSW"; then
20413 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20414 echo "configure:20415: checking what is the type of the third argument of getsockname" >&5
20415 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20416 echo $ac_n "(cached) $ac_c" 1>&6
20421 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20422 ac_cpp
='$CXXCPP $CPPFLAGS'
20423 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20424 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20425 cross_compiling
=$ac_cv_prog_cxx_cross
20428 cat > conftest.
$ac_ext <<EOF
20429 #line 20430 "configure"
20430 #include "confdefs.h"
20432 #include <sys/types.h>
20433 #include <sys/socket.h>
20438 getsockname(0, 0, &len);
20442 if { (eval echo configure
:20443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20444 wx_cv_type_getsockname3
=socklen_t
20446 echo "configure: failed program was:" >&5
20447 cat conftest.
$ac_ext >&5
20449 cat > conftest.
$ac_ext <<EOF
20450 #line 20451 "configure"
20451 #include "confdefs.h"
20453 #include <sys/types.h>
20454 #include <sys/socket.h>
20459 getsockname(0, 0, &len);
20463 if { (eval echo configure
:20464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20465 wx_cv_type_getsockname3
=size_t
20467 echo "configure: failed program was:" >&5
20468 cat conftest.
$ac_ext >&5
20470 cat > conftest.
$ac_ext <<EOF
20471 #line 20472 "configure"
20472 #include "confdefs.h"
20474 #include <sys/types.h>
20475 #include <sys/socket.h>
20480 getsockname(0, 0, &len);
20484 if { (eval echo configure
:20485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20486 wx_cv_type_getsockname3
=int
20488 echo "configure: failed program was:" >&5
20489 cat conftest.
$ac_ext >&5
20491 wx_cv_type_getsockname3
=unknown
20503 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20504 ac_cpp
='$CPP $CPPFLAGS'
20505 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20506 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20507 cross_compiling
=$ac_cv_prog_cc_cross
20512 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20514 if test "$wx_cv_type_getsockname3" = "unknown"; then
20516 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20518 cat >> confdefs.h
<<EOF
20519 #define SOCKLEN_T $wx_cv_type_getsockname3
20526 if test "$wxUSE_SOCKETS" = "yes" ; then
20527 cat >> confdefs.h
<<\EOF
20528 #define wxUSE_SOCKETS 1
20531 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20535 if test "$wxUSE_GUI" = "yes"; then
20537 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20538 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20541 if test "$TOOLKIT" = "MOTIF"; then
20542 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20545 if test "$TOOLKIT" = "X11"; then
20546 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20550 if test "$TOOLKIT" != "MSW"; then
20551 if test "$wxUSE_JOYSTICK" = "yes"; then
20552 for ac_hdr
in linux
/joystick.h
20554 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20555 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20556 echo "configure:20557: checking for $ac_hdr" >&5
20557 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20558 echo $ac_n "(cached) $ac_c" 1>&6
20560 cat > conftest.
$ac_ext <<EOF
20561 #line 20562 "configure"
20562 #include "confdefs.h"
20565 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20566 { (eval echo configure
:20567: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20567 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20568 if test -z "$ac_err"; then
20570 eval "ac_cv_header_$ac_safe=yes"
20573 echo "configure: failed program was:" >&5
20574 cat conftest.
$ac_ext >&5
20576 eval "ac_cv_header_$ac_safe=no"
20580 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20581 echo "$ac_t""yes" 1>&6
20582 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20583 cat >> confdefs.h
<<EOF
20584 #define $ac_tr_hdr 1
20588 echo "$ac_t""no" 1>&6
20592 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20594 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20599 if test "$wxUSE_JOYSTICK" = "yes"; then
20600 cat >> confdefs.h
<<\EOF
20601 #define wxUSE_JOYSTICK 1
20604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20609 if test "$TOOLKIT" != "MSW"; then
20613 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20614 if test "$USE_DARWIN" = 1; then
20617 for ac_func
in dlopen
20619 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20620 echo "configure:20621: checking for $ac_func" >&5
20621 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20622 echo $ac_n "(cached) $ac_c" 1>&6
20624 cat > conftest.
$ac_ext <<EOF
20625 #line 20626 "configure"
20626 #include "confdefs.h"
20627 /* System header to define __stub macros and hopefully few prototypes,
20628 which can conflict with char $ac_func(); below. */
20629 #include <assert.h>
20630 /* Override any gcc2 internal prototype to avoid an error. */
20631 /* We use char because int might match the return type of a gcc2
20632 builtin and then its argument prototype would still apply. */
20637 /* The GNU C library defines this for functions which it implements
20638 to always fail with ENOSYS. Some functions are actually named
20639 something starting with __ and the normal name is an alias. */
20640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20648 if { (eval echo configure
:20649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20650 eval "ac_cv_func_$ac_func=yes"
20652 echo "configure: failed program was:" >&5
20653 cat conftest.
$ac_ext >&5
20655 eval "ac_cv_func_$ac_func=no"
20660 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20661 echo "$ac_t""yes" 1>&6
20662 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20663 cat >> confdefs.h
<<EOF
20664 #define $ac_tr_func 1
20667 cat >> confdefs.h
<<\EOF
20668 #define HAVE_DLOPEN 1
20674 echo "$ac_t""no" 1>&6
20675 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20676 echo "configure:20677: checking for dlopen in -ldl" >&5
20677 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20679 echo $ac_n "(cached) $ac_c" 1>&6
20681 ac_save_LIBS
="$LIBS"
20683 cat > conftest.
$ac_ext <<EOF
20684 #line 20685 "configure"
20685 #include "confdefs.h"
20686 /* Override any gcc2 internal prototype to avoid an error. */
20687 /* We use char because int might match the return type of a gcc2
20688 builtin and then its argument prototype would still apply. */
20695 if { (eval echo configure
:20696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20697 eval "ac_cv_lib_$ac_lib_var=yes"
20699 echo "configure: failed program was:" >&5
20700 cat conftest.
$ac_ext >&5
20702 eval "ac_cv_lib_$ac_lib_var=no"
20705 LIBS
="$ac_save_LIBS"
20708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20709 echo "$ac_t""yes" 1>&6
20711 cat >> confdefs.h
<<\EOF
20712 #define HAVE_DLOPEN 1
20716 DL_LINK
=" -ldl$DL_LINK"
20719 echo "$ac_t""no" 1>&6
20721 for ac_func
in shl_load
20723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20724 echo "configure:20725: checking for $ac_func" >&5
20725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20726 echo $ac_n "(cached) $ac_c" 1>&6
20728 cat > conftest.
$ac_ext <<EOF
20729 #line 20730 "configure"
20730 #include "confdefs.h"
20731 /* System header to define __stub macros and hopefully few prototypes,
20732 which can conflict with char $ac_func(); below. */
20733 #include <assert.h>
20734 /* Override any gcc2 internal prototype to avoid an error. */
20735 /* We use char because int might match the return type of a gcc2
20736 builtin and then its argument prototype would still apply. */
20741 /* The GNU C library defines this for functions which it implements
20742 to always fail with ENOSYS. Some functions are actually named
20743 something starting with __ and the normal name is an alias. */
20744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20752 if { (eval echo configure
:20753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20754 eval "ac_cv_func_$ac_func=yes"
20756 echo "configure: failed program was:" >&5
20757 cat conftest.
$ac_ext >&5
20759 eval "ac_cv_func_$ac_func=no"
20764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20765 echo "$ac_t""yes" 1>&6
20766 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20767 cat >> confdefs.h
<<EOF
20768 #define $ac_tr_func 1
20771 cat >> confdefs.h
<<\EOF
20772 #define HAVE_SHL_LOAD 1
20778 echo "$ac_t""no" 1>&6
20779 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20780 echo "configure:20781: checking for dld in -lshl_load" >&5
20781 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20783 echo $ac_n "(cached) $ac_c" 1>&6
20785 ac_save_LIBS
="$LIBS"
20786 LIBS
="-lshl_load $LIBS"
20787 cat > conftest.
$ac_ext <<EOF
20788 #line 20789 "configure"
20789 #include "confdefs.h"
20790 /* Override any gcc2 internal prototype to avoid an error. */
20791 /* We use char because int might match the return type of a gcc2
20792 builtin and then its argument prototype would still apply. */
20799 if { (eval echo configure
:20800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20801 eval "ac_cv_lib_$ac_lib_var=yes"
20803 echo "configure: failed program was:" >&5
20804 cat conftest.
$ac_ext >&5
20806 eval "ac_cv_lib_$ac_lib_var=no"
20809 LIBS
="$ac_save_LIBS"
20812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20813 echo "$ac_t""yes" 1>&6
20816 DL_LINK
=" -ldld$DL_LINK"
20819 echo "$ac_t""no" 1>&6
20834 if test "$HAVE_DL_FUNCS" = 1; then
20835 for ac_func
in dlerror
20837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20838 echo "configure:20839: checking for $ac_func" >&5
20839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20840 echo $ac_n "(cached) $ac_c" 1>&6
20842 cat > conftest.
$ac_ext <<EOF
20843 #line 20844 "configure"
20844 #include "confdefs.h"
20845 /* System header to define __stub macros and hopefully few prototypes,
20846 which can conflict with char $ac_func(); below. */
20847 #include <assert.h>
20848 /* Override any gcc2 internal prototype to avoid an error. */
20849 /* We use char because int might match the return type of a gcc2
20850 builtin and then its argument prototype would still apply. */
20855 /* The GNU C library defines this for functions which it implements
20856 to always fail with ENOSYS. Some functions are actually named
20857 something starting with __ and the normal name is an alias. */
20858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20866 if { (eval echo configure
:20867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20868 eval "ac_cv_func_$ac_func=yes"
20870 echo "configure: failed program was:" >&5
20871 cat conftest.
$ac_ext >&5
20873 eval "ac_cv_func_$ac_func=no"
20878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20879 echo "$ac_t""yes" 1>&6
20880 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20881 cat >> confdefs.h
<<EOF
20882 #define $ac_tr_func 1
20884 cat >> confdefs.h
<<\EOF
20885 #define HAVE_DLERROR 1
20889 echo "$ac_t""no" 1>&6
20890 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20891 echo "configure:20892: checking for dlerror in -ldl" >&5
20892 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20893 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20894 echo $ac_n "(cached) $ac_c" 1>&6
20896 ac_save_LIBS
="$LIBS"
20898 cat > conftest.
$ac_ext <<EOF
20899 #line 20900 "configure"
20900 #include "confdefs.h"
20901 /* Override any gcc2 internal prototype to avoid an error. */
20902 /* We use char because int might match the return type of a gcc2
20903 builtin and then its argument prototype would still apply. */
20910 if { (eval echo configure
:20911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20912 eval "ac_cv_lib_$ac_lib_var=yes"
20914 echo "configure: failed program was:" >&5
20915 cat conftest.
$ac_ext >&5
20917 eval "ac_cv_lib_$ac_lib_var=no"
20920 LIBS
="$ac_save_LIBS"
20923 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20924 echo "$ac_t""yes" 1>&6
20925 cat >> confdefs.h
<<\EOF
20926 #define HAVE_DLERROR 1
20930 echo "$ac_t""no" 1>&6
20939 if test "$HAVE_DL_FUNCS" = 0; then
20940 if test "$HAVE_SHL_FUNCS" = 0; then
20941 if test "$USE_UNIX" = 1; then
20942 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20943 wxUSE_DYNAMIC_LOADER
=no
20944 wxUSE_DYNLIB_CLASS
=no
20946 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20953 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20954 cat >> confdefs.h
<<\EOF
20955 #define wxUSE_DYNAMIC_LOADER 1
20958 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20959 cat >> confdefs.h
<<\EOF
20960 #define wxUSE_DYNLIB_CLASS 1
20966 if test "$wxUSE_FONTMAP" = "yes" ; then
20967 cat >> confdefs.h
<<\EOF
20968 #define wxUSE_FONTMAP 1
20973 if test "$wxUSE_UNICODE" = "yes" ; then
20974 cat >> confdefs.h
<<\EOF
20975 #define wxUSE_UNICODE 1
20979 if test "$wxUSE_MSW" != 1; then
20980 wxUSE_UNICODE_MSLU
=no
20983 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20984 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20985 echo "configure:20986: checking for main in -lunicows" >&5
20986 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20987 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20988 echo $ac_n "(cached) $ac_c" 1>&6
20990 ac_save_LIBS
="$LIBS"
20991 LIBS
="-lunicows $LIBS"
20992 cat > conftest.
$ac_ext <<EOF
20993 #line 20994 "configure"
20994 #include "confdefs.h"
21000 if { (eval echo configure
:21001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21002 eval "ac_cv_lib_$ac_lib_var=yes"
21004 echo "configure: failed program was:" >&5
21005 cat conftest.
$ac_ext >&5
21007 eval "ac_cv_lib_$ac_lib_var=no"
21010 LIBS
="$ac_save_LIBS"
21013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21014 echo "$ac_t""yes" 1>&6
21016 cat >> confdefs.h
<<\EOF
21017 #define wxUSE_UNICODE_MSLU 1
21022 echo "$ac_t""no" 1>&6
21024 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
21025 Applications will only run on Windows NT/2000/XP!" 1>&2
21026 wxUSE_UNICODE_MSLU
=no
21033 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
21034 cat >> confdefs.h
<<\EOF
21035 #define wxUSE_EXPERIMENTAL_PRINTF 1
21043 if test "$wxUSE_ODBC" = "yes" ; then
21044 cat >> confdefs.h
<<\EOF
21045 #define wxUSE_ODBC 1
21048 WXODBCFLAG
="-D_IODBC_"
21049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
21053 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21054 cat >> confdefs.h
<<\EOF
21055 #define wxUSE_POSTSCRIPT 1
21060 cat >> confdefs.h
<<\EOF
21061 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21065 cat >> confdefs.h
<<\EOF
21066 #define wxUSE_NORMALIZED_PS_FONTS 1
21071 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21072 cat >> confdefs.h
<<\EOF
21073 #define wxUSE_CONSTRAINTS 1
21076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21079 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21082 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21083 cat >> confdefs.h
<<\EOF
21084 #define wxUSE_MDI_ARCHITECTURE 1
21087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21091 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21092 cat >> confdefs.h
<<\EOF
21093 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21096 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21097 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21102 if test "$wxUSE_HELP" = "yes"; then
21103 cat >> confdefs.h
<<\EOF
21104 #define wxUSE_HELP 1
21107 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21109 if test "$wxUSE_MSW" = 1; then
21110 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21111 cat >> confdefs.h
<<\EOF
21112 #define wxUSE_MS_HTML_HELP 1
21118 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21119 if test "$wxUSE_HTML" = "yes"; then
21120 cat >> confdefs.h
<<\EOF
21121 #define wxUSE_WXHTML_HELP 1
21125 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21126 wxUSE_WXHTML_HELP
=no
21131 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21132 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21133 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21135 cat >> confdefs.h
<<\EOF
21136 #define wxUSE_PRINTING_ARCHITECTURE 1
21140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21143 if test "$wxUSE_PROLOGIO" = "yes" ; then
21144 cat >> confdefs.h
<<\EOF
21145 #define wxUSE_PROLOGIO 1
21148 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21151 if test "$wxUSE_RESOURCES" = "yes" ; then
21152 if test "$wxUSE_NANOX" = "yes"; then
21153 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
21155 cat >> confdefs.h
<<\EOF
21156 #define wxUSE_RESOURCES 1
21159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
21161 if test "$wxUSE_PROLOGIO" != "yes" ; then
21162 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21166 if test "$wxUSE_X_RESOURCES" = "yes"; then
21167 cat >> confdefs.h
<<\EOF
21168 #define wxUSE_X_RESOURCES 1
21174 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21175 -o "$wxUSE_CLIPBOARD" = "yes" \
21176 -o "$wxUSE_OLE" = "yes" \
21177 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21178 for ac_hdr
in ole2.h
21180 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21182 echo "configure:21183: checking for $ac_hdr" >&5
21183 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21184 echo $ac_n "(cached) $ac_c" 1>&6
21186 cat > conftest.
$ac_ext <<EOF
21187 #line 21188 "configure"
21188 #include "confdefs.h"
21191 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21192 { (eval echo configure
:21193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21193 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21194 if test -z "$ac_err"; then
21196 eval "ac_cv_header_$ac_safe=yes"
21199 echo "configure: failed program was:" >&5
21200 cat conftest.
$ac_ext >&5
21202 eval "ac_cv_header_$ac_safe=no"
21206 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21207 echo "$ac_t""yes" 1>&6
21208 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21209 cat >> confdefs.h
<<EOF
21210 #define $ac_tr_hdr 1
21214 echo "$ac_t""no" 1>&6
21219 if test "$ac_cv_header_ole2_h" = "yes" ; then
21220 if test "$GCC" = yes ; then
21223 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21224 ac_cpp
='$CXXCPP $CPPFLAGS'
21225 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21226 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21227 cross_compiling
=$ac_cv_prog_cxx_cross
21230 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21231 echo "configure:21232: checking if g++ requires -fvtable-thunks" >&5
21232 cat > conftest.
$ac_ext <<EOF
21233 #line 21234 "configure"
21234 #include "confdefs.h"
21235 #include <windows.h>
21241 if { (eval echo configure
:21242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21243 echo "$ac_t""no" 1>&6
21245 echo "configure: failed program was:" >&5
21246 cat conftest.
$ac_ext >&5
21248 echo "$ac_t""yes" 1>&6
21249 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21253 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21254 ac_cpp
='$CPP $CPPFLAGS'
21255 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21256 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21257 cross_compiling
=$ac_cv_prog_cc_cross
21259 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21260 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21261 cat >> confdefs.h
<<\EOF
21262 #define wxUSE_OLE 1
21268 cat >> confdefs.h
<<\EOF
21269 #define wxUSE_DATAOBJ 1
21273 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21276 wxUSE_DRAG_AND_DROP
=no
21281 if test "$wxUSE_METAFILE" = "yes"; then
21282 cat >> confdefs.h
<<\EOF
21283 #define wxUSE_METAFILE 1
21287 cat >> confdefs.h
<<\EOF
21288 #define wxUSE_ENH_METAFILE 1
21294 if test "$wxUSE_IPC" = "yes"; then
21295 if test "$wxUSE_SOCKETS" != "yes"; then
21296 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21299 cat >> confdefs.h
<<\EOF
21300 #define wxUSE_IPC 1
21305 if test "$wxUSE_CLIPBOARD" = "yes"; then
21306 if test "$wxUSE_MGL" = 1; then
21307 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21311 if test "$wxUSE_CLIPBOARD" = "yes"; then
21312 cat >> confdefs.h
<<\EOF
21313 #define wxUSE_CLIPBOARD 1
21317 cat >> confdefs.h
<<\EOF
21318 #define wxUSE_DATAOBJ 1
21324 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21325 if test "$wxUSE_GTK" = 1; then
21326 if test "$WXGTK12" != 1; then
21327 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21328 wxUSE_DRAG_AND_DROP
=no
21332 if test "$wxUSE_MOTIF" = 1; then
21333 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21334 wxUSE_DRAG_AND_DROP
=no
21337 if test "$wxUSE_X11" = 1; then
21338 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21339 wxUSE_DRAG_AND_DROP
=no
21342 if test "$wxUSE_MGL" = 1; then
21343 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21344 wxUSE_DRAG_AND_DROP
=no
21347 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21348 cat >> confdefs.h
<<\EOF
21349 #define wxUSE_DRAG_AND_DROP 1
21352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21357 if test "$wxUSE_SPLINES" = "yes" ; then
21358 cat >> confdefs.h
<<\EOF
21359 #define wxUSE_SPLINES 1
21366 if test "$wxUSE_CONTROLS" = "yes"; then
21370 if test "$wxUSE_ACCEL" = "yes"; then
21371 cat >> confdefs.h
<<\EOF
21372 #define wxUSE_ACCEL 1
21378 if test "$wxUSE_BUTTON" = "yes"; then
21379 cat >> confdefs.h
<<\EOF
21380 #define wxUSE_BUTTON 1
21386 if test "$wxUSE_BMPBUTTON" = "yes"; then
21387 cat >> confdefs.h
<<\EOF
21388 #define wxUSE_BMPBUTTON 1
21394 if test "$wxUSE_CALCTRL" = "yes"; then
21395 cat >> confdefs.h
<<\EOF
21396 #define wxUSE_CALENDARCTRL 1
21400 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21403 if test "$wxUSE_CARET" = "yes"; then
21404 cat >> confdefs.h
<<\EOF
21405 #define wxUSE_CARET 1
21409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21412 if test "$wxUSE_COMBOBOX" = "yes"; then
21413 cat >> confdefs.h
<<\EOF
21414 #define wxUSE_COMBOBOX 1
21420 if test "$wxUSE_CHOICE" = "yes"; then
21421 cat >> confdefs.h
<<\EOF
21422 #define wxUSE_CHOICE 1
21428 if test "$wxUSE_CHECKBOX" = "yes"; then
21429 cat >> confdefs.h
<<\EOF
21430 #define wxUSE_CHECKBOX 1
21436 if test "$wxUSE_CHECKLST" = "yes"; then
21437 cat >> confdefs.h
<<\EOF
21438 #define wxUSE_CHECKLISTBOX 1
21442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21445 if test "$wxUSE_DISPLAY" = "yes"; then
21446 cat >> confdefs.h
<<\EOF
21447 #define wxUSE_DISPLAY 1
21450 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21453 if test "$wxUSE_GAUGE" = "yes"; then
21454 cat >> confdefs.h
<<\EOF
21455 #define wxUSE_GAUGE 1
21461 if test "$wxUSE_NEW_GRID" = "yes"; then
21463 cat >> confdefs.h
<<\EOF
21464 #define wxUSE_NEW_GRID 1
21468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
21471 if test "$wxUSE_GRID" = "yes"; then
21472 cat >> confdefs.h
<<\EOF
21473 #define wxUSE_GRID 1
21477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21480 if test "$wxUSE_IMAGLIST" = "yes"; then
21481 cat >> confdefs.h
<<\EOF
21482 #define wxUSE_IMAGLIST 1
21487 if test "$wxUSE_LISTBOX" = "yes"; then
21488 cat >> confdefs.h
<<\EOF
21489 #define wxUSE_LISTBOX 1
21495 if test "$wxUSE_LISTCTRL" = "yes"; then
21496 if test "$wxUSE_IMAGLIST" = "yes"; then
21497 cat >> confdefs.h
<<\EOF
21498 #define wxUSE_LISTCTRL 1
21502 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21504 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21508 if test "$wxUSE_NOTEBOOK" = "yes"; then
21509 cat >> confdefs.h
<<\EOF
21510 #define wxUSE_NOTEBOOK 1
21514 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21517 if test "$wxUSE_PROPSHEET" = "yes"; then
21518 cat >> confdefs.h
<<\EOF
21519 #define wxUSE_PROPSHEET 1
21523 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21526 if test "$wxUSE_RADIOBOX" = "yes"; then
21527 cat >> confdefs.h
<<\EOF
21528 #define wxUSE_RADIOBOX 1
21534 if test "$wxUSE_RADIOBTN" = "yes"; then
21535 cat >> confdefs.h
<<\EOF
21536 #define wxUSE_RADIOBTN 1
21542 if test "$wxUSE_SASH" = "yes"; then
21543 cat >> confdefs.h
<<\EOF
21544 #define wxUSE_SASH 1
21547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21550 if test "$wxUSE_SCROLLBAR" = "yes"; then
21551 cat >> confdefs.h
<<\EOF
21552 #define wxUSE_SCROLLBAR 1
21556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21559 if test "$wxUSE_SLIDER" = "yes"; then
21560 cat >> confdefs.h
<<\EOF
21561 #define wxUSE_SLIDER 1
21567 if test "$wxUSE_SPINBTN" = "yes"; then
21568 cat >> confdefs.h
<<\EOF
21569 #define wxUSE_SPINBTN 1
21575 if test "$wxUSE_SPINCTRL" = "yes"; then
21576 cat >> confdefs.h
<<\EOF
21577 #define wxUSE_SPINCTRL 1
21583 if test "$wxUSE_SPLITTER" = "yes"; then
21584 cat >> confdefs.h
<<\EOF
21585 #define wxUSE_SPLITTER 1
21588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21591 if test "$wxUSE_STATBMP" = "yes"; then
21592 cat >> confdefs.h
<<\EOF
21593 #define wxUSE_STATBMP 1
21599 if test "$wxUSE_STATBOX" = "yes"; then
21600 cat >> confdefs.h
<<\EOF
21601 #define wxUSE_STATBOX 1
21607 if test "$wxUSE_STATTEXT" = "yes"; then
21608 cat >> confdefs.h
<<\EOF
21609 #define wxUSE_STATTEXT 1
21615 if test "$wxUSE_STATLINE" = "yes"; then
21616 cat >> confdefs.h
<<\EOF
21617 #define wxUSE_STATLINE 1
21623 if test "$wxUSE_STATUSBAR" = "yes"; then
21624 cat >> confdefs.h
<<\EOF
21625 #define wxUSE_STATUSBAR 1
21630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21633 if test "$wxUSE_TABDIALOG" = "yes"; then
21634 cat >> confdefs.h
<<\EOF
21635 #define wxUSE_TAB_DIALOG 1
21638 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21641 if test "$wxUSE_TEXTCTRL" = "yes"; then
21642 cat >> confdefs.h
<<\EOF
21643 #define wxUSE_TEXTCTRL 1
21647 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21650 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21651 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21652 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21655 if test "$wxUSE_UNIVERSAL" = "yes"; then
21656 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21660 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21661 cat >> confdefs.h
<<\EOF
21662 #define wxUSE_TOGGLEBTN 1
21669 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21670 cat >> confdefs.h
<<\EOF
21671 #define wxUSE_TOOLBAR_SIMPLE 1
21674 wxUSE_TOOLBAR
="yes"
21678 if test "$wxUSE_TOOLBAR" = "yes"; then
21679 cat >> confdefs.h
<<\EOF
21680 #define wxUSE_TOOLBAR 1
21685 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21686 wxUSE_TOOLBAR_NATIVE
="yes"
21689 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21690 cat >> confdefs.h
<<\EOF
21691 #define wxUSE_TOOLBAR_NATIVE 1
21697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21700 if test "$wxUSE_TOOLTIPS" = "yes"; then
21701 if test "$wxUSE_MOTIF" = 1; then
21702 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21704 if test "$wxUSE_UNIVERSAL" = "yes"; then
21705 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21707 cat >> confdefs.h
<<\EOF
21708 #define wxUSE_TOOLTIPS 1
21715 if test "$wxUSE_TREECTRL" = "yes"; then
21716 if test "$wxUSE_IMAGLIST" = "yes"; then
21717 cat >> confdefs.h
<<\EOF
21718 #define wxUSE_TREECTRL 1
21722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21724 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21728 if test "$wxUSE_POPUPWIN" = "yes"; then
21729 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21730 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21732 if test "$wxUSE_MOTIF" = 1; then
21733 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21735 if test "$wxUSE_PM" = 1; then
21736 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21738 cat >> confdefs.h
<<\EOF
21739 #define wxUSE_POPUPWIN 1
21749 if test "$wxUSE_TIPWINDOW" = "yes"; then
21750 if test "$wxUSE_PM" = 1; then
21751 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21753 cat >> confdefs.h
<<\EOF
21754 #define wxUSE_TIPWINDOW 1
21760 if test "$USES_CONTROLS" = 1; then
21761 cat >> confdefs.h
<<\EOF
21762 #define wxUSE_CONTROLS 1
21768 if test "$wxUSE_TREELAYOUT" = "yes"; then
21769 cat >> confdefs.h
<<\EOF
21770 #define wxUSE_TREELAYOUT 1
21773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21776 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21777 cat >> confdefs.h
<<\EOF
21778 #define wxUSE_DRAGIMAGE 1
21781 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21784 if test "$wxUSE_MENUS" = "yes"; then
21785 cat >> confdefs.h
<<\EOF
21786 #define wxUSE_MENUS 1
21789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21792 if test "$wxUSE_METAFILE" = "yes"; then
21793 cat >> confdefs.h
<<\EOF
21794 #define wxUSE_METAFILE 1
21799 if test "$wxUSE_MIMETYPE" = "yes"; then
21800 cat >> confdefs.h
<<\EOF
21801 #define wxUSE_MIMETYPE 1
21806 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21807 cat >> confdefs.h
<<\EOF
21808 #define wxUSE_SYSTEM_OPTIONS 1
21811 if test "$TOOLKIT" = "MSW"; then
21812 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21817 if test "$wxUSE_PROTOCOL" = "yes"; then
21818 if test "$wxUSE_SOCKETS" != "yes"; then
21819 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21823 if test "$wxUSE_PROTOCOL" = "yes"; then
21824 cat >> confdefs.h
<<\EOF
21825 #define wxUSE_PROTOCOL 1
21829 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21830 cat >> confdefs.h
<<\EOF
21831 #define wxUSE_PROTOCOL_HTTP 1
21835 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21836 cat >> confdefs.h
<<\EOF
21837 #define wxUSE_PROTOCOL_FTP 1
21841 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21842 cat >> confdefs.h
<<\EOF
21843 #define wxUSE_PROTOCOL_FILE 1
21850 if test "$wxUSE_URL" = "yes"; then
21851 if test "$wxUSE_PROTOCOL" != "yes"; then
21852 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21855 if test "$wxUSE_URL" = "yes"; then
21856 cat >> confdefs.h
<<\EOF
21857 #define wxUSE_URL 1
21863 if test "$wxUSE_MINIFRAME" = "yes"; then
21864 cat >> confdefs.h
<<\EOF
21865 #define wxUSE_MINIFRAME 1
21868 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21871 if test "$wxUSE_HTML" = "yes"; then
21872 cat >> confdefs.h
<<\EOF
21873 #define wxUSE_HTML 1
21876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21879 if test "$wxUSE_VALIDATORS" = "yes"; then
21880 cat >> confdefs.h
<<\EOF
21881 #define wxUSE_VALIDATORS 1
21884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21887 if test "$wxUSE_PALETTE" = "yes" ; then
21888 cat >> confdefs.h
<<\EOF
21889 #define wxUSE_PALETTE 1
21894 if test "$wxUSE_IMAGE" = "yes" ; then
21895 cat >> confdefs.h
<<\EOF
21896 #define wxUSE_IMAGE 1
21901 if test "$wxUSE_GIF" = "yes" ; then
21902 cat >> confdefs.h
<<\EOF
21903 #define wxUSE_GIF 1
21908 if test "$wxUSE_PCX" = "yes" ; then
21909 cat >> confdefs.h
<<\EOF
21910 #define wxUSE_PCX 1
21915 if test "$wxUSE_IFF" = "yes" ; then
21916 cat >> confdefs.h
<<\EOF
21917 #define wxUSE_IFF 1
21922 if test "$wxUSE_PNM" = "yes" ; then
21923 cat >> confdefs.h
<<\EOF
21924 #define wxUSE_PNM 1
21929 if test "$wxUSE_XPM" = "yes" ; then
21930 cat >> confdefs.h
<<\EOF
21931 #define wxUSE_XPM 1
21936 if test "$wxUSE_ICO_CUR" = "yes" ; then
21937 cat >> confdefs.h
<<\EOF
21938 #define wxUSE_ICO_CUR 1
21943 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21944 LIBS
=" -lunicows $LIBS"
21948 if test "$wxUSE_CHOICEDLG" = "yes"; then
21949 cat >> confdefs.h
<<\EOF
21950 #define wxUSE_CHOICEDLG 1
21955 if test "$wxUSE_COLOURDLG" = "yes"; then
21956 cat >> confdefs.h
<<\EOF
21957 #define wxUSE_COLOURDLG 1
21962 if test "$wxUSE_FILEDLG" = "yes"; then
21963 cat >> confdefs.h
<<\EOF
21964 #define wxUSE_FILEDLG 1
21969 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21970 cat >> confdefs.h
<<\EOF
21971 #define wxUSE_FINDREPLDLG 1
21976 if test "$wxUSE_FONTDLG" = "yes"; then
21977 cat >> confdefs.h
<<\EOF
21978 #define wxUSE_FONTDLG 1
21983 if test "$wxUSE_DIRDLG" = "yes"; then
21984 if test "$wxUSE_TREECTRL" != "yes"; then
21985 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21987 cat >> confdefs.h
<<\EOF
21988 #define wxUSE_DIRDLG 1
21994 if test "$wxUSE_MSGDLG" = "yes"; then
21995 cat >> confdefs.h
<<\EOF
21996 #define wxUSE_MSGDLG 1
22001 if test "$wxUSE_NUMBERDLG" = "yes"; then
22002 cat >> confdefs.h
<<\EOF
22003 #define wxUSE_NUMBERDLG 1
22008 if test "$wxUSE_PROGRESSDLG" = "yes"; then
22009 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22010 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
22012 cat >> confdefs.h
<<\EOF
22013 #define wxUSE_PROGRESSDLG 1
22019 if test "$wxUSE_SPLASH" = "yes"; then
22020 cat >> confdefs.h
<<\EOF
22021 #define wxUSE_SPLASH 1
22026 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
22027 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22028 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
22030 cat >> confdefs.h
<<\EOF
22031 #define wxUSE_STARTUP_TIPS 1
22037 if test "$wxUSE_TEXTDLG" = "yes"; then
22038 cat >> confdefs.h
<<\EOF
22039 #define wxUSE_TEXTDLG 1
22044 if test "$wxUSE_WIZARDDLG" = "yes"; then
22045 cat >> confdefs.h
<<\EOF
22046 #define wxUSE_WIZARDDLG 1
22049 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22053 if test "$cross_compiling" = "yes"; then
22056 OSINFO
=`uname -s -r -m`
22057 OSINFO
="\"$OSINFO\""
22060 cat >> confdefs.h
<<EOF
22061 #define WXWIN_OS_DESCRIPTION $OSINFO
22066 if test "x$prefix" != "xNONE"; then
22069 wxPREFIX
=$ac_default_prefix
22072 cat >> confdefs.h
<<EOF
22073 #define wxINSTALL_PREFIX "$wxPREFIX"
22082 if test "$wxUSE_MAC" = 1 ; then
22083 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22085 if test "$wxUSE_COCOA" = 1 ; then
22086 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
22090 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22097 echo "configure:22098: checking for $ac_func" >&5
22098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22099 echo $ac_n "(cached) $ac_c" 1>&6
22101 cat > conftest.
$ac_ext <<EOF
22102 #line 22103 "configure"
22103 #include "confdefs.h"
22104 /* System header to define __stub macros and hopefully few prototypes,
22105 which can conflict with char $ac_func(); below. */
22106 #include <assert.h>
22107 /* Override any gcc2 internal prototype to avoid an error. */
22108 /* We use char because int might match the return type of a gcc2
22109 builtin and then its argument prototype would still apply. */
22114 /* The GNU C library defines this for functions which it implements
22115 to always fail with ENOSYS. Some functions are actually named
22116 something starting with __ and the normal name is an alias. */
22117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22125 if { (eval echo configure
:22126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22127 eval "ac_cv_func_$ac_func=yes"
22129 echo "configure: failed program was:" >&5
22130 cat conftest.
$ac_ext >&5
22132 eval "ac_cv_func_$ac_func=no"
22137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22138 echo "$ac_t""yes" 1>&6
22139 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22140 cat >> confdefs.h
<<EOF
22141 #define $ac_tr_func 1
22145 echo "$ac_t""no" 1>&6
22149 for ac_func
in floor
22151 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22152 echo "configure:22153: checking for $ac_func" >&5
22153 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22154 echo $ac_n "(cached) $ac_c" 1>&6
22156 cat > conftest.
$ac_ext <<EOF
22157 #line 22158 "configure"
22158 #include "confdefs.h"
22159 /* System header to define __stub macros and hopefully few prototypes,
22160 which can conflict with char $ac_func(); below. */
22161 #include <assert.h>
22162 /* Override any gcc2 internal prototype to avoid an error. */
22163 /* We use char because int might match the return type of a gcc2
22164 builtin and then its argument prototype would still apply. */
22169 /* The GNU C library defines this for functions which it implements
22170 to always fail with ENOSYS. Some functions are actually named
22171 something starting with __ and the normal name is an alias. */
22172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22180 if { (eval echo configure
:22181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22182 eval "ac_cv_func_$ac_func=yes"
22184 echo "configure: failed program was:" >&5
22185 cat conftest.
$ac_ext >&5
22187 eval "ac_cv_func_$ac_func=no"
22192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22193 echo "$ac_t""yes" 1>&6
22194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22195 cat >> confdefs.h
<<EOF
22196 #define $ac_tr_func 1
22200 echo "$ac_t""no" 1>&6
22204 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22205 echo "configure:22206: checking if floating point functions link without -lm" >&5
22206 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22207 echo "$ac_t""yes" 1>&6
22209 echo "$ac_t""no" 1>&6
22211 # use different functions to avoid configure caching
22216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22217 echo "configure:22218: checking for $ac_func" >&5
22218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22219 echo $ac_n "(cached) $ac_c" 1>&6
22221 cat > conftest.
$ac_ext <<EOF
22222 #line 22223 "configure"
22223 #include "confdefs.h"
22224 /* System header to define __stub macros and hopefully few prototypes,
22225 which can conflict with char $ac_func(); below. */
22226 #include <assert.h>
22227 /* Override any gcc2 internal prototype to avoid an error. */
22228 /* We use char because int might match the return type of a gcc2
22229 builtin and then its argument prototype would still apply. */
22234 /* The GNU C library defines this for functions which it implements
22235 to always fail with ENOSYS. Some functions are actually named
22236 something starting with __ and the normal name is an alias. */
22237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22245 if { (eval echo configure
:22246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22247 eval "ac_cv_func_$ac_func=yes"
22249 echo "configure: failed program was:" >&5
22250 cat conftest.
$ac_ext >&5
22252 eval "ac_cv_func_$ac_func=no"
22257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22258 echo "$ac_t""yes" 1>&6
22259 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22260 cat >> confdefs.h
<<EOF
22261 #define $ac_tr_func 1
22265 echo "$ac_t""no" 1>&6
22269 for ac_func
in ceil
22271 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22272 echo "configure:22273: checking for $ac_func" >&5
22273 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22274 echo $ac_n "(cached) $ac_c" 1>&6
22276 cat > conftest.
$ac_ext <<EOF
22277 #line 22278 "configure"
22278 #include "confdefs.h"
22279 /* System header to define __stub macros and hopefully few prototypes,
22280 which can conflict with char $ac_func(); below. */
22281 #include <assert.h>
22282 /* Override any gcc2 internal prototype to avoid an error. */
22283 /* We use char because int might match the return type of a gcc2
22284 builtin and then its argument prototype would still apply. */
22289 /* The GNU C library defines this for functions which it implements
22290 to always fail with ENOSYS. Some functions are actually named
22291 something starting with __ and the normal name is an alias. */
22292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22300 if { (eval echo configure
:22301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22302 eval "ac_cv_func_$ac_func=yes"
22304 echo "configure: failed program was:" >&5
22305 cat conftest.
$ac_ext >&5
22307 eval "ac_cv_func_$ac_func=no"
22312 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22313 echo "$ac_t""yes" 1>&6
22314 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22315 cat >> confdefs.h
<<EOF
22316 #define $ac_tr_func 1
22320 echo "$ac_t""no" 1>&6
22324 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22325 echo "configure:22326: checking if floating point functions link with -lm" >&5
22326 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22327 echo "$ac_t""yes" 1>&6
22329 echo "$ac_t""no" 1>&6
22330 # not sure we should warn the user, crash, etc.
22334 if test "$wxUSE_GUI" = "yes"; then
22336 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22340 drawing dynamic erase event exec font image \
22341 minimal propsize rotate widgets"
22343 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22345 SAMPLES_SUBDIRS
="console"
22349 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22350 -I\${top_srcdir}/include \
22351 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22354 if test "$wxUSE_GTK" = 1; then
22357 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22360 if test "$GXX" = yes ; then
22361 CXXWARNINGS
="-Wall"
22363 if test "$wxUSE_NO_DEPS" = "no" ; then
22364 CFLAGS
="-MMD $CFLAGS"
22365 CXXFLAGS
="-MMD $CXXFLAGS"
22369 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22371 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22372 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22373 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22374 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22376 LDFLAGS
="$LDFLAGS $PROFILE"
22378 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22480 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22481 echo "configure:22482: checking whether ${MAKE-make} sets \${MAKE}" >&5
22482 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22483 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22484 echo $ac_n "(cached) $ac_c" 1>&6
22486 cat > conftestmake
<<\EOF
22488 @
echo 'ac_maketemp="${MAKE}"'
22490 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22491 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22492 if test -n "$ac_maketemp"; then
22493 eval ac_cv_prog_make_
${ac_make}_set
=yes
22495 eval ac_cv_prog_make_
${ac_make}_set
=no
22499 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22500 echo "$ac_t""yes" 1>&6
22503 echo "$ac_t""no" 1>&6
22504 SET_MAKE
="MAKE=${MAKE-make}"
22508 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22509 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22514 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22515 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22516 wx_cv_path_ifs
=$PATH_IFS
22517 wx_cv_program_ext
=$PROGRAM_EXT
22518 wx_cv_target_library
=$WX_TARGET_LIBRARY
22519 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22520 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22521 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22522 wx_cv_release
=${WX_RELEASE}
22523 wx_cv_current
=${WX_CURRENT}
22524 wx_cv_revision
=${WX_REVISION}
22525 wx_cv_age
=${WX_AGE}
22526 wx_cv_use_gui
=${USE_GUI}
22527 wx_cv_use_resources
=${wxUSE_RESOURCES}
22528 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22529 wx_cv_path_ifs wx_cv_program_ext \
22530 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22531 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22532 wx_cv_use_gui wx_cv_use_resources
22534 subdirs
="demos samples utils contrib"
22538 cat > confcache
<<\EOF
22539 # This file is a shell script that caches the results of configure
22540 # tests run on this system so they can be shared between configure
22541 # scripts and configure runs. It is not useful on other systems.
22542 # If it contains results you don't want to keep, you may remove or edit it.
22544 # By default, configure uses ./config.cache as the cache file,
22545 # creating it if it does not exist already. You can give configure
22546 # the --cache-file=FILE option to use a different cache file; that is
22547 # what configure does when it calls configure scripts in
22548 # subdirectories, so they share the cache.
22549 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22550 # config.status only pays attention to the cache file if you give it the
22551 # --recheck option to rerun configure.
22554 # The following way of writing the cache mishandles newlines in values,
22555 # but we know of no workaround that is simple, portable, and efficient.
22556 # So, don't put newlines in cache variables' values.
22557 # Ultrix sh set writes to stderr and can't be redirected directly,
22558 # and sets the high bit in the cache file unless we assign to the vars.
22560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22562 # `set' does not quote correctly, so add quotes (double-quote substitution
22563 # turns \\\\ into \\, and sed turns \\ into \).
22565 -e "s/'/'\\\\''/g" \
22566 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22569 # `set' quotes correctly as required by POSIX, so do not add quotes.
22570 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22573 if cmp -s $cache_file confcache
; then
22576 if test -w $cache_file; then
22577 echo "updating cache $cache_file"
22578 cat confcache
> $cache_file
22580 echo "not updating unwritable cache $cache_file"
22585 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22587 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22588 # Let make expand exec_prefix.
22589 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22591 # Any assignment to VPATH causes Sun make to only execute
22592 # the first set of double-colon rules, so remove it if not needed.
22593 # If there is a colon in the path, we need to keep it.
22594 if test "x$srcdir" = x.
; then
22595 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22598 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22600 DEFS
=-DHAVE_CONFIG_H
22602 # Without the "./", some shells look in PATH for config.status.
22603 : ${CONFIG_STATUS=./config.status}
22605 echo creating
$CONFIG_STATUS
22606 rm -f $CONFIG_STATUS
22607 cat > $CONFIG_STATUS <<EOF
22609 # Generated automatically by configure.
22610 # Run this file to recreate the current configuration.
22611 # This directory was configured as follows,
22612 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22614 # $0 $ac_configure_args
22616 # Compiler output produced by configure, useful for debugging
22617 # configure, is in ./config.log if it exists.
22619 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22622 case "\$ac_option" in
22623 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22624 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22625 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22626 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22627 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22629 -help | --help | --hel | --he | --h)
22630 echo "\$ac_cs_usage"; exit 0 ;;
22631 *) echo "\$ac_cs_usage"; exit 1 ;;
22635 ac_given_srcdir=$srcdir
22636 ac_given_INSTALL="$INSTALL"
22638 trap 'rm -fr `echo "
22645 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22647 cat >> $CONFIG_STATUS <<EOF
22649 # Protect against being on the right side of a sed subst in config.status.
22650 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22651 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22655 s%@CFLAGS@%$CFLAGS%g
22656 s%@CPPFLAGS@%$CPPFLAGS%g
22657 s%@CXXFLAGS@%$CXXFLAGS%g
22658 s%@FFLAGS@%$FFLAGS%g
22660 s%@LDFLAGS@%$LDFLAGS%g
22662 s%@exec_prefix@%$exec_prefix%g
22663 s%@prefix@%$prefix%g
22664 s%@program_transform_name@%$program_transform_name%g
22665 s%@bindir@%$bindir%g
22666 s%@sbindir@%$sbindir%g
22667 s%@libexecdir@%$libexecdir%g
22668 s%@datadir@%$datadir%g
22669 s%@sysconfdir@%$sysconfdir%g
22670 s%@sharedstatedir@%$sharedstatedir%g
22671 s%@localstatedir@%$localstatedir%g
22672 s%@libdir@%$libdir%g
22673 s%@includedir@%$includedir%g
22674 s%@oldincludedir@%$oldincludedir%g
22675 s%@infodir@%$infodir%g
22676 s%@mandir@%$mandir%g
22678 s%@host_alias@%$host_alias%g
22679 s%@host_cpu@%$host_cpu%g
22680 s%@host_vendor@%$host_vendor%g
22681 s%@host_os@%$host_os%g
22682 s%@target@%$target%g
22683 s%@target_alias@%$target_alias%g
22684 s%@target_cpu@%$target_cpu%g
22685 s%@target_vendor@%$target_vendor%g
22686 s%@target_os@%$target_os%g
22688 s%@build_alias@%$build_alias%g
22689 s%@build_cpu@%$build_cpu%g
22690 s%@build_vendor@%$build_vendor%g
22691 s%@build_os@%$build_os%g
22695 s%@RANLIB@%$RANLIB%g
22697 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22698 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22699 s%@INSTALL_DATA@%$INSTALL_DATA%g
22701 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22704 s%@LEXLIB@%$LEXLIB%g
22706 s%@CXXCPP@%$CXXCPP%g
22707 s%@PKG_CONFIG@%$PKG_CONFIG%g
22708 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22709 s%@GTK_LIBS@%$GTK_LIBS%g
22710 s%@GTK_CONFIG@%$GTK_CONFIG%g
22711 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22712 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22713 s%@X_CFLAGS@%$X_CFLAGS%g
22714 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22715 s%@X_LIBS@%$X_LIBS%g
22716 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22717 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22718 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22719 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22720 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22721 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22722 s%@RESCOMP@%$RESCOMP%g
22724 s%@SETFILE@%$SETFILE%g
22725 s%@LIBICONV@%$LIBICONV%g
22726 s%@LEX_STEM@%$LEX_STEM%g
22727 s%@PATH_IFS@%$PATH_IFS%g
22728 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22729 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22730 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22731 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22732 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22733 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22734 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22735 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22736 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22737 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22738 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22739 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22740 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22741 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22742 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22743 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22744 s%@WX_ALL@%$WX_ALL%g
22745 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22746 s%@SHARED_LD@%$SHARED_LD%g
22747 s%@PIC_FLAG@%$PIC_FLAG%g
22748 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22749 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22750 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22751 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22752 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22753 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22754 s%@STATIC_FLAG@%$STATIC_FLAG%g
22755 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22756 s%@USE_GUI@%$USE_GUI%g
22757 s%@AFMINSTALL@%$AFMINSTALL%g
22758 s%@WIN32INSTALL@%$WIN32INSTALL%g
22759 s%@TOOLKIT@%$TOOLKIT%g
22760 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22761 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22762 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22763 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22764 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22765 s%@top_builddir@%$top_builddir%g
22766 s%@cross_compiling@%$cross_compiling%g
22767 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22768 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22769 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22770 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22771 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22772 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22773 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22774 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22775 s%@ALL_HEADERS@%$ALL_HEADERS%g
22776 s%@ALL_SOURCES@%$ALL_SOURCES%g
22777 s%@GUIDIST@%$GUIDIST%g
22778 s%@PORT_FILES@%$PORT_FILES%g
22779 s%@DISTDIR@%$DISTDIR%g
22780 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22781 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22782 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22783 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22784 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22785 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22786 s%@EXTRADEFS@%$EXTRADEFS%g
22787 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22788 s%@RESFLAGS@%$RESFLAGS%g
22789 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22790 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22791 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22792 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22793 s%@LIBWXMACRES@%$LIBWXMACRES%g
22794 s%@MACRESCOMP@%$MACRESCOMP%g
22795 s%@MACSETFILE@%$MACSETFILE%g
22796 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22798 s%@DLLTOOL@%$DLLTOOL%g
22802 s%@MAKEINFO@%$MAKEINFO%g
22803 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22804 s%@INSTALL_DIR@%$INSTALL_DIR%g
22805 s%@SET_MAKE@%$SET_MAKE%g
22806 s%@subdirs@%$subdirs%g
22811 cat >> $CONFIG_STATUS <<\EOF
22813 # Split the substitutions into bite-sized pieces for seds with
22814 # small command number limits, like on Digital OSF/1 and HP-UX.
22815 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22816 ac_file
=1 # Number of current file.
22817 ac_beg
=1 # First line for current file.
22818 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22821 while $ac_more_lines; do
22822 if test $ac_beg -gt 1; then
22823 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22825 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22827 if test ! -s conftest.s
$ac_file; then
22828 ac_more_lines
=false
22829 rm -f conftest.s
$ac_file
22831 if test -z "$ac_sed_cmds"; then
22832 ac_sed_cmds
="sed -f conftest.s$ac_file"
22834 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22836 ac_file
=`expr $ac_file + 1`
22838 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22841 if test -z "$ac_sed_cmds"; then
22846 cat >> $CONFIG_STATUS <<EOF
22848 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22856 cat >> $CONFIG_STATUS <<\EOF
22857 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22858 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22860 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22861 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22862 *) ac_file_in
="${ac_file}.in" ;;
22865 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22867 # Remove last slash and all that follows it. Not all systems have dirname.
22868 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22869 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22870 # The file is in a subdirectory.
22871 test ! -d "$ac_dir" && mkdir "$ac_dir"
22872 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22873 # A "../" for each directory in $ac_dir_suffix.
22874 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22876 ac_dir_suffix
= ac_dots
=
22879 case "$ac_given_srcdir" in
22881 if test -z "$ac_dots"; then top_srcdir
=.
22882 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22883 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22884 *) # Relative path.
22885 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22886 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22889 case "$ac_given_INSTALL" in
22890 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22891 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22894 echo creating
"$ac_file"
22896 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22898 *Makefile
*) ac_comsub
="1i\\
22899 # $configure_input" ;;
22903 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22905 s%@configure_input@%$configure_input%g
22906 s%@srcdir@%$srcdir%g
22907 s%@top_srcdir@%$top_srcdir%g
22908 s%@INSTALL@%$INSTALL%g
22909 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22913 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22914 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22916 # ac_d sets the value in "#define NAME VALUE" lines.
22917 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22918 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22921 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22922 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22923 ac_uB
='\([ ]\)%\1#\2define\3'
22926 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22927 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22928 ac_eB
='$%\1#\2define\3'
22932 if test "${CONFIG_HEADERS+set}" != set; then
22934 cat >> $CONFIG_STATUS <<EOF
22935 CONFIG_HEADERS="setup.h:setup.h.in"
22937 cat >> $CONFIG_STATUS <<\EOF
22939 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22940 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22942 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22943 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22944 *) ac_file_in
="${ac_file}.in" ;;
22947 echo creating
$ac_file
22949 rm -f conftest.frag conftest.
in conftest.out
22950 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22951 cat $ac_file_inputs > conftest.
in
22955 # Transform confdefs.h into a sed script conftest.vals that substitutes
22956 # the proper values into config.h.in to produce config.h. And first:
22957 # Protect against being on the right side of a sed subst in config.status.
22958 # Protect against being in an unquoted here document in config.status.
22959 rm -f conftest.vals
22960 cat > conftest.hdr
<<\EOF
22963 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22967 sed -n -f conftest.hdr confdefs.h > conftest.vals
22970 # This sed command replaces #undef with comments. This is necessary, for
22971 # example, in the case of _POSIX_SOURCE, which is predefined and required
22972 # on some systems where configure will not decide to define it.
22973 cat >> conftest.vals <<\EOF
22974 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22977 # Break up conftest.vals because some shells have a limit on
22978 # the size of here documents, and old seds have small limits too.
22980 rm -f conftest.tail
22983 ac_lines=`grep -c . conftest.vals
`
22984 # grep -c gives empty output for an empty file on some AIX systems.
22985 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22986 # Write a limited-size here document to conftest.frag.
22987 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22988 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22990 sed -f conftest.frag conftest.in > conftest.out
22992 mv conftest.out conftest.in
22993 ' >> $CONFIG_STATUS
22994 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22995 rm -f conftest.vals
22996 mv conftest.tail conftest.vals
22998 rm -f conftest.vals
23000 cat >> $CONFIG_STATUS <<\EOF
23001 rm -f conftest.frag conftest.h
23002 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
23003 cat conftest.in >> conftest.h
23005 if cmp -s $ac_file conftest.h 2>/dev/null; then
23006 echo "$ac_file is unchanged"
23009 # Remove last slash and all that follows it. Not all systems have dirname.
23010 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23011 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23012 # The file is in a subdirectory.
23013 test ! -d "$ac_dir" && mkdir "$ac_dir"
23016 mv conftest.h $ac_file
23021 cat >> $CONFIG_STATUS <<EOF
23023 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
23028 cat >> $CONFIG_STATUS <<\EOF
23030 if test ! -h wx-config; then
23032 mv wx-config wx${TOOLCHAIN_NAME}-config
23033 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
23036 if test ! -d lib; then
23039 if test ! -d lib/wx; then
23042 if test ! -d lib/wx/include; then
23043 mkdir lib/wx/include
23045 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
23046 mkdir lib/wx/include/${TOOLCHAIN_NAME}
23048 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
23049 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
23051 if test -f setup.h; then
23052 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
23057 chmod +x $CONFIG_STATUS
23058 rm -fr confdefs* $ac_clean_files
23059 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23061 if test "$no_recursion" != yes; then
23063 # Remove --cache-file and --srcdir arguments so they do not pile up.
23064 ac_sub_configure_args=
23066 for ac_arg in $ac_configure_args; do
23067 if test -n "$ac_prev"; then
23072 -cache-file | --cache-file | --cache-fil | --cache-fi \
23073 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23074 ac_prev=cache_file ;;
23075 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23076 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
23078 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23080 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23082 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
23086 for ac_config_dir in demos samples utils contrib; do
23088 # Do not complain, so a configure script can configure whichever
23089 # parts of a large source tree are present.
23090 if test ! -d $srcdir/$ac_config_dir; then
23094 echo configuring in $ac_config_dir
23099 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23101 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23109 # A "../" for each directory in /$ac_config_dir.
23110 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23113 .) # No --srcdir option. We are building in place.
23114 ac_sub_srcdir=$srcdir ;;
23115 /*) # Absolute path.
23116 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23117 *) # Relative path.
23118 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23121 # Check for guested configure; otherwise get Cygnus style configure.
23122 if test -f $ac_sub_srcdir/configure; then
23123 ac_sub_configure=$ac_sub_srcdir/configure
23124 elif test -f $ac_sub_srcdir/configure.in; then
23125 ac_sub_configure=$ac_configure
23127 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23131 # The recursion is here.
23132 if test -n "$ac_sub_configure"; then
23134 # Make the cache file name correct relative to the subdirectory.
23135 case "$cache_file" in
23136 /*) ac_sub_cache_file=$cache_file ;;
23137 *) # Relative path.
23138 ac_sub_cache_file="$ac_dots$cache_file" ;;
23140 case "$ac_given_INSTALL" in
23141 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23142 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23145 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23146 # The eval makes quoting arguments work.
23147 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23150 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23160 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23162 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23164 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23165 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23166 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23168 echo " What level of wxWindows compatibility should be enabled?"
23169 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23170 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23171 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23173 echo " Which libraries should wxWindows use?"
23174 echo " jpeg ${wxUSE_LIBJPEG-none}"
23175 echo " png ${wxUSE_LIBPNG-none}"
23176 echo " regex ${wxUSE_REGEX}"
23177 echo " tiff ${wxUSE_LIBTIFF-none}"
23178 echo " zlib ${wxUSE_ZLIB}"