3 # From configure.in Id: configure.in
65 # Configure paths for GTK+
66 # Owen Taylor 1997-2001
70 # Configure paths for GTK+
80 # Guess values for system-dependent variables and create Makefiles.
81 # Generated automatically using autoconf version 2.13
82 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
84 # This configure script is free software; the Free Software Foundation
85 # gives unlimited permission to copy, distribute and modify it.
89 ac_default_prefix
=/usr
/local
90 # Any additions from configure.in:
92 --enable-gui use GUI classes"
94 --enable-universal use wxWindows GUI controls instead of native ones"
98 --with-motif use Motif/Lesstif"
100 --with-mac use Mac OS X"
102 --with-cocoa use Cocoa"
104 --with-wine use Wine"
106 --with-msw use MS-Windows"
108 --with-pm use OS/2 Presentation Manager"
110 --with-mgl use SciTech MGL"
112 --with-microwin use MicroWindows"
116 --enable-nanox use NanoX"
118 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
120 --with-libpng use libpng (PNG image format)"
122 --with-libjpeg use libjpeg (JPEG file format)"
124 --with-libtiff use libtiff (TIFF file format)"
126 --with-opengl use OpenGL (or Mesa)"
128 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
130 --with-regex enable support for wxRegEx class"
132 --with-zlib use zlib for LZW compression"
134 --with-odbc use the IODBC and wxODBC classes"
136 --enable-shared create shared library code"
138 --enable-soname set the DT_SONAME field in ELF shared libraries"
140 --enable-optimise create optimised code"
142 --enable-debug same as debug_flag and debug_info"
144 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
146 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
148 --enable-debug_info create code with debugging information"
150 --enable-debug_gdb create code with extra GDB debugging information"
152 --enable-debug_cntxt use wxDebugContext"
154 --enable-mem_tracing create code with memory tracing"
156 --enable-profile create code with profiling information"
158 --enable-no_rtti create code without RTTI information"
160 --enable-no_exceptions create code without C++ exceptions handling"
162 --enable-permissive compile code disregarding strict ANSI"
164 --enable-no_deps create code without dependency information"
166 --enable-compat20 enable wxWindows 2.0 compatibility"
168 --enable-compat22 enable wxWindows 2.2 compatibility"
170 --disable-compat24 disable wxWindows 2.4 compatibility"
172 --enable-rpath=DIR output the rpath flag from wx-config"
174 --enable-intl use internationalization system"
176 --enable-config use wxConfig (and derived) classes"
178 --enable-protocols use wxProtocol and derived classes"
180 --enable-ftp use wxFTP (requires wxProtocol"
182 --enable-http use wxHTTP (requires wxProtocol"
184 --enable-fileproto use wxFileProto class (requires wxProtocol"
186 --enable-sockets use socket/network classes"
188 --enable-ole use OLE classes"
190 --enable-dataobj use data object classes"
192 --enable-ipc use interprocess communication (wxSocket etc.)"
194 --enable-cmdline use wxCmdLineParser class"
196 --enable-datetime use wxDateTime class"
198 --enable-stopwatch use wxStopWatch class"
200 --enable-dialupman use dialup network classes"
202 --enable-apple_ieee use the Apple IEEE codec"
204 --enable-timer use wxTimer class"
206 --enable-wave use wxWave class"
208 --enable-fraction use wxFraction class"
210 --enable-dynlib use wxLibrary class for DLL loading"
212 --enable-dynamicloader use (new) wxDynamicLibrary class"
214 --enable-longlong use wxLongLong class"
216 --enable-geometry use geometry class"
218 --enable-log use logging system"
220 --enable-streams use wxStream etc classes"
222 --enable-file use wxFile classes"
224 --enable-ffile use wxFFile classes"
226 --enable-textbuf use wxTextBuffer class"
228 --enable-textfile use wxTextFile class"
230 --enable-fontmap use font encodings conversion classes"
232 --enable-unicode compile wxString with Unicode support"
234 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
236 --enable-wxprintfv use wxWindows implementation of vprintf()"
238 --enable-std_iostreams use standard C++ stream classes"
240 --enable-filesystem use virtual file systems classes"
242 --enable-fs_inet use virtual HTTP/FTP filesystems"
244 --enable-fs_zip use virtual ZIP filesystems"
246 --enable-zipstream use wxZipInputStream"
248 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
250 --enable-snglinst use wxSingleInstanceChecker class"
252 --enable-mimetype use wxMimeTypesManager"
254 --enable-sysoptions use wxSystemOptions"
256 --enable-url use wxURL class"
258 --enable-protocol use wxProtocol class"
260 --enable-protocol-http HTTP support in wxProtocol"
262 --enable-protocol-ftp FTP support in wxProtocol"
264 --enable-protocol-file FILE support in wxProtocol"
266 --enable-threads use threads"
268 --enable-docview use document view architecture"
270 --enable-help use help subsystem"
272 --enable-mshtmlhelp use MS HTML Help (win32)"
274 --enable-html use wxHTML sub-library"
276 --enable-htmlhelp use wxHTML-based help"
278 --enable-constraints use layout-constraints system"
280 --enable-printarch use printing architecture"
282 --enable-mdi use multiple document interface architecture"
284 --enable-loggui use standard GUI logger"
286 --enable-logwin use wxLogWindow"
288 --enable-logdialog use wxLogDialog"
290 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
292 --enable-prologio use Prolog IO library"
294 --enable-resources use wxWindows resources"
296 --enable-xresources use X resources for save (default for gtk+)"
298 --enable-clipboard use wxClipboard class"
300 --enable-dnd use Drag'n'Drop classes"
302 --enable-metafile use win32 metafiles"
304 --enable-treelayout use wxTreeLayout class"
306 --enable-controls use all usual controls"
308 --enable-accel use accelerators"
310 --enable-button use wxButton class"
312 --enable-bmpbutton use wxBitmapButton class"
314 --enable-calendar use wxCalendarCtrl class"
316 --enable-caret use wxCaret class"
318 --enable-checkbox use wxCheckBox class"
320 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
322 --enable-choice use wxChoice class"
324 --enable-combobox use wxComboBox class"
326 --enable-display use wxDisplay class"
328 --enable-gauge use wxGauge class"
330 --enable-grid use wxGrid class"
332 --enable-imaglist use wxImageList class"
334 --enable-listbox use wxListBox class"
336 --enable-listctrl use wxListCtrl class"
338 --enable-notebook use wxNotebook class"
340 --enable-propsheet use wxPropertySheet class"
342 --enable-radiobox use wxRadioBox class"
344 --enable-radiobtn use wxRadioButton class"
346 --enable-sash use wxSashWindow class"
348 --enable-scrollbar use wxScrollBar class and scrollable windows"
350 --enable-slider use wxSlider class"
352 --enable-spinbtn use wxSpinButton class"
354 --enable-spinctrl use wxSpinCtrl class"
356 --enable-splitter use wxSplitterWindow class"
358 --enable-statbmp use wxStaticBitmap class"
360 --enable-statbox use wxStaticBox class"
362 --enable-statline use wxStaticLine class"
364 --enable-stattext use wxStaticText class"
366 --enable-statusbar use wxStatusBar class"
368 --enable-tabdialog use wxTabControl class"
370 --enable-textctrl use wxTextCtrl class"
372 --enable-togglebtn use wxToggleButton class"
374 --enable-toolbar use wxToolBar class"
376 --enable-tbarnative use native wxToolBar class"
378 --enable-tbarsmpl use wxToolBarSimple class"
380 --enable-treectrl use wxTreeCtrl class"
382 --enable-tipwindow use wxTipWindow class"
384 --enable-popupwin use wxPopUpWindow class"
386 --enable-commondlg use all common dialogs"
388 --enable-choicedlg use wxChoiceDialog"
390 --enable-coldlg use wxColourDialog"
392 --enable-filedlg use wxFileDialog"
394 --enable-finddlg use wxFindReplaceDialog"
396 --enable-fontdlg use wxFontDialog"
398 --enable-dirdlg use wxDirDialog"
400 --enable-msgdlg use wxMessageDialog"
402 --enable-numberdlg use wxNumberEntryDialog"
404 --enable-splash use wxSplashScreen"
406 --enable-textdlg use wxTextDialog"
408 --enable-tipdlg use startup tips"
410 --enable-progressdlg use wxProgressDialog"
412 --enable-wizarddlg use wxWizard"
414 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
416 --enable-miniframe use wxMiniFrame class"
418 --enable-tooltips use wxToolTip class"
420 --enable-splines use spline drawing code"
422 --enable-validators use wxValidator and derived classes"
424 --enable-busyinfo use wxBusyInfo"
426 --enable-joystick use wxJoystick (Linux only)"
428 --enable-metafiles use wxMetaFile (Windows only)"
430 --enable-dragimage use wxDragImage"
432 --enable-palette use wxPalette class"
434 --enable-image use wxImage class"
436 --enable-gif use gif images (GIF file format)"
438 --enable-pcx use pcx images (PCX file format)"
440 --enable-iff use iff images (IFF file format)"
442 --enable-pnm use pnm images (PNM file format)"
444 --enable-xpm use xpm images (XPM file format)"
446 --enable-icocur use Windows ICO and CUR formats"
448 --disable-largefile omit support for large files"
450 --disable-gtktest do not try to compile and run a test GTK+ program"
452 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
454 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
456 --disable-gtktest Do not try to compile and run a test GTK program"
458 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
460 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
462 --disable-gtktest Do not try to compile and run a test GTK program"
464 --with-x use the X Window System"
466 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
468 # Initialize some variables set by options.
469 # The variables have the same names as the options, with
470 # dashes changed to underlines.
472 cache_file
=.
/config.cache
481 program_transform_name
=s
,x
,x
,
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
502 # Initialize some other variables.
505 SHELL
=${CONFIG_SHELL-/bin/sh}
506 # Maximum number of lines to put in a shell here document.
513 # If the previous option needs an argument, assign it.
514 if test -n "$ac_prev"; then
515 eval "$ac_prev=\$ac_option"
521 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
525 # Accept the important Cygnus configure options, so we can diagnose typos.
529 -bindir | --bindir | --bindi | --bind | --bin | --bi)
531 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 bindir
="$ac_optarg" ;;
534 -build | --build | --buil | --bui | --bu)
536 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
537 build
="$ac_optarg" ;;
539 -cache-file | --cache-file | --cache-fil | --cache-fi \
540 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
541 ac_prev
=cache_file
;;
542 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
543 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
544 cache_file
="$ac_optarg" ;;
546 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
548 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
550 datadir
="$ac_optarg" ;;
552 -disable-* | --disable-*)
553 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
554 # Reject names that are not valid shell variable names.
555 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
556 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
558 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
559 eval "enable_${ac_feature}=no" ;;
561 -enable-* | --enable-*)
562 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
563 # Reject names that are not valid shell variable names.
564 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
565 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
567 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
572 eval "enable_${ac_feature}='$ac_optarg'" ;;
574 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
575 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
576 | --exec | --exe | --ex)
577 ac_prev
=exec_prefix
;;
578 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
579 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
580 | --exec=* | --exe=* | --ex=*)
581 exec_prefix
="$ac_optarg" ;;
583 -gas | --gas | --ga | --g)
584 # Obsolete; use --with-gas.
587 -help | --help | --hel | --he)
588 # Omit some internal or obsolete options to make the list less imposing.
589 # This message is too long to be a string in the A/UX 3.1 sh.
591 Usage: configure [options] [host]
592 Options: [defaults in brackets after descriptions]
594 --cache-file=FILE cache test results in FILE
595 --help print this message
596 --no-create do not create output files
597 --quiet, --silent do not print \`checking...' messages
598 --version print the version of autoconf that created configure
599 Directory and file names:
600 --prefix=PREFIX install architecture-independent files in PREFIX
602 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
604 --bindir=DIR user executables in DIR [EPREFIX/bin]
605 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
606 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
607 --datadir=DIR read-only architecture-independent data in DIR
609 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
610 --sharedstatedir=DIR modifiable architecture-independent data in DIR
612 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
613 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
614 --includedir=DIR C header files in DIR [PREFIX/include]
615 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
616 --infodir=DIR info documentation in DIR [PREFIX/info]
617 --mandir=DIR man documentation in DIR [PREFIX/man]
618 --srcdir=DIR find the sources in DIR [configure dir or ..]
619 --program-prefix=PREFIX prepend PREFIX to installed program names
620 --program-suffix=SUFFIX append SUFFIX to installed program names
621 --program-transform-name=PROGRAM
622 run sed PROGRAM on installed program names
626 --build=BUILD configure for building on BUILD [BUILD=HOST]
627 --host=HOST configure for HOST [guessed]
628 --target=TARGET configure for TARGET [TARGET=HOST]
629 Features and packages:
630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
632 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
633 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
634 --x-includes=DIR X include files are in DIR
635 --x-libraries=DIR X library files are in DIR
637 if test -n "$ac_help"; then
638 echo "--enable and --with options recognized:$ac_help"
642 -host | --host | --hos | --ho)
644 -host=* | --host=* | --hos=* | --ho=*)
647 -includedir | --includedir | --includedi | --included | --include \
648 | --includ | --inclu | --incl | --inc)
649 ac_prev
=includedir
;;
650 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
651 | --includ=* | --inclu=* | --incl=* | --inc=*)
652 includedir
="$ac_optarg" ;;
654 -infodir | --infodir | --infodi | --infod | --info | --inf)
656 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
657 infodir
="$ac_optarg" ;;
659 -libdir | --libdir | --libdi | --libd)
661 -libdir=* | --libdir=* | --libdi=* | --libd=*)
662 libdir
="$ac_optarg" ;;
664 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
665 | --libexe | --libex | --libe)
666 ac_prev
=libexecdir
;;
667 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
668 | --libexe=* | --libex=* | --libe=*)
669 libexecdir
="$ac_optarg" ;;
671 -localstatedir | --localstatedir | --localstatedi | --localstated \
672 | --localstate | --localstat | --localsta | --localst \
673 | --locals | --local | --loca | --loc | --lo)
674 ac_prev
=localstatedir
;;
675 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
676 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
677 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
678 localstatedir
="$ac_optarg" ;;
680 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
682 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
683 mandir
="$ac_optarg" ;;
686 # Obsolete; use --without-fp.
689 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
693 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
694 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
697 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
698 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
699 | --oldin | --oldi | --old | --ol | --o)
700 ac_prev
=oldincludedir
;;
701 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
702 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
703 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
704 oldincludedir
="$ac_optarg" ;;
706 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
708 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
709 prefix
="$ac_optarg" ;;
711 -program-prefix | --program-prefix | --program-prefi | --program-pref \
712 | --program-pre | --program-pr | --program-p)
713 ac_prev
=program_prefix
;;
714 -program-prefix=* | --program-prefix=* | --program-prefi=* \
715 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
716 program_prefix
="$ac_optarg" ;;
718 -program-suffix | --program-suffix | --program-suffi | --program-suff \
719 | --program-suf | --program-su | --program-s)
720 ac_prev
=program_suffix
;;
721 -program-suffix=* | --program-suffix=* | --program-suffi=* \
722 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
723 program_suffix
="$ac_optarg" ;;
725 -program-transform-name | --program-transform-name \
726 | --program-transform-nam | --program-transform-na \
727 | --program-transform-n | --program-transform- \
728 | --program-transform | --program-transfor \
729 | --program-transfo | --program-transf \
730 | --program-trans | --program-tran \
731 | --progr-tra | --program-tr | --program-t)
732 ac_prev
=program_transform_name
;;
733 -program-transform-name=* | --program-transform-name=* \
734 | --program-transform-nam=* | --program-transform-na=* \
735 | --program-transform-n=* | --program-transform-=* \
736 | --program-transform=* | --program-transfor=* \
737 | --program-transfo=* | --program-transf=* \
738 | --program-trans=* | --program-tran=* \
739 | --progr-tra=* | --program-tr=* | --program-t=*)
740 program_transform_name
="$ac_optarg" ;;
742 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
743 | -silent | --silent | --silen | --sile | --sil)
746 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
748 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
750 sbindir
="$ac_optarg" ;;
752 -sharedstatedir | --sharedstatedir | --sharedstatedi \
753 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
754 | --sharedst | --shareds | --shared | --share | --shar \
756 ac_prev
=sharedstatedir
;;
757 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
758 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
759 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
761 sharedstatedir
="$ac_optarg" ;;
763 -site | --site | --sit)
765 -site=* | --site=* | --sit=*)
768 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
770 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
771 srcdir
="$ac_optarg" ;;
773 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
774 | --syscon | --sysco | --sysc | --sys | --sy)
775 ac_prev
=sysconfdir
;;
776 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
777 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
778 sysconfdir
="$ac_optarg" ;;
780 -target | --target | --targe | --targ | --tar | --ta | --t)
782 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
783 target
="$ac_optarg" ;;
785 -v | -verbose | --verbose | --verbos | --verbo | --verb)
788 -version | --version | --versio | --versi | --vers)
789 echo "configure generated by autoconf version 2.13"
793 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
794 # Reject names that are not valid shell variable names.
795 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
796 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
798 ac_package
=`echo $ac_package| sed 's/-/_/g'`
803 eval "with_${ac_package}='$ac_optarg'" ;;
805 -without-* | --without-*)
806 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
807 # Reject names that are not valid shell variable names.
808 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
809 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
811 ac_package
=`echo $ac_package| sed 's/-/_/g'`
812 eval "with_${ac_package}=no" ;;
815 # Obsolete; use --with-x.
818 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
819 | --x-incl | --x-inc | --x-in | --x-i)
820 ac_prev
=x_includes
;;
821 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
822 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
823 x_includes
="$ac_optarg" ;;
825 -x-libraries | --x-libraries | --x-librarie | --x-librari \
826 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
827 ac_prev
=x_libraries
;;
828 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
829 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
830 x_libraries
="$ac_optarg" ;;
832 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
836 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
837 echo "configure: warning: $ac_option: invalid host type" 1>&2
839 if test "x$nonopt" != xNONE
; then
840 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
848 if test -n "$ac_prev"; then
849 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
852 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
854 # File descriptor usage:
857 # 2 errors and warnings
858 # 3 some systems may open it to /dev/tty
859 # 4 used on the Kubota Titan
860 # 6 checking for... messages and results
861 # 5 compiler messages saved in config.log
862 if test "$silent" = yes; then
870 This file contains any messages produced by compilers while
871 running configure, to aid debugging if configure makes a mistake.
874 # Strip out --no-create and --no-recursion so they do not pile up.
875 # Also quote any args containing shell metacharacters.
880 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
881 | --no-cr | --no-c) ;;
882 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
883 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
884 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
885 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
886 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
891 # Only set these to C if already set. These must not be set unconditionally
892 # because not all systems understand e.g. LANG=C (notably SCO).
893 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
894 # Non-C LC_CTYPE values break the ctype check.
895 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
896 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
897 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
898 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
900 # confdefs.h avoids OS command line length limits that DEFS can exceed.
901 rm -rf conftest
* confdefs.h
902 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
905 # A filename unique to this package, relative to the directory that
906 # configure is in, which we can look for to find out if srcdir is correct.
907 ac_unique_file
=wx
-config.
in
909 # Find the source files, if location was not specified.
910 if test -z "$srcdir"; then
911 ac_srcdir_defaulted
=yes
912 # Try the directory containing this script, then its parent.
914 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
915 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
917 if test ! -r $srcdir/$ac_unique_file; then
921 ac_srcdir_defaulted
=no
923 if test ! -r $srcdir/$ac_unique_file; then
924 if test "$ac_srcdir_defaulted" = yes; then
925 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
927 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
930 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
932 # Prefer explicitly selected file to automatically selected ones.
933 if test -z "$CONFIG_SITE"; then
934 if test "x$prefix" != xNONE
; then
935 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
937 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
940 for ac_site_file
in $CONFIG_SITE; do
941 if test -r "$ac_site_file"; then
942 echo "loading site script $ac_site_file"
947 if test -r "$cache_file"; then
948 echo "loading cache $cache_file"
951 echo "creating cache $cache_file"
956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
957 ac_cpp
='$CPP $CPPFLAGS'
958 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
959 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
960 cross_compiling
=$ac_cv_prog_cc_cross
964 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
965 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
966 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
973 ac_n
= ac_c
='\c' ac_t
=
979 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
980 if test -f $ac_dir/install-sh; then
982 ac_install_sh
="$ac_aux_dir/install-sh -c"
984 elif test -f $ac_dir/install.sh
; then
986 ac_install_sh
="$ac_aux_dir/install.sh -c"
990 if test -z "$ac_aux_dir"; then
991 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
993 ac_config_guess
=$ac_aux_dir/config.guess
994 ac_config_sub
=$ac_aux_dir/config.sub
995 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
998 # Do some error checking and defaulting for the host and target type.
1000 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
1003 # 1. You are not allowed to specify --host, --target, and nonopt at the
1005 # 2. Host defaults to nonopt.
1006 # 3. If nonopt is not specified, then host defaults to the current host,
1007 # as determined by config.guess.
1008 # 4. Target and build default to nonopt.
1009 # 5. If nonopt is not specified, then target and build default to host.
1011 # The aliases save the names the user supplied, while $host etc.
1012 # will get canonicalized.
1013 case $host---$target---$nonopt in
1014 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1015 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1019 # Make sure we can run config.sub.
1020 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1021 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1024 echo $ac_n "checking host system type""... $ac_c" 1>&6
1025 echo "configure:1026: checking host system type" >&5
1028 case "$host_alias" in
1032 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1033 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1035 *) host_alias
=$nonopt ;;
1039 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1040 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1041 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1042 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1043 echo "$ac_t""$host" 1>&6
1045 echo $ac_n "checking target system type""... $ac_c" 1>&6
1046 echo "configure:1047: checking target system type" >&5
1048 target_alias
=$target
1049 case "$target_alias" in
1052 NONE
) target_alias
=$host_alias ;;
1053 *) target_alias
=$nonopt ;;
1057 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1058 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1059 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1060 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1061 echo "$ac_t""$target" 1>&6
1063 echo $ac_n "checking build system type""... $ac_c" 1>&6
1064 echo "configure:1065: checking build system type" >&5
1067 case "$build_alias" in
1070 NONE
) build_alias
=$host_alias ;;
1071 *) build_alias
=$nonopt ;;
1075 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1076 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1077 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1078 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1079 echo "$ac_t""$build" 1>&6
1081 test "$host_alias" != "$target_alias" &&
1082 test "$program_prefix$program_suffix$program_transform_name" = \
1084 program_prefix
=${target_alias}-
1088 WX_MAJOR_VERSION_NUMBER
=2
1089 WX_MINOR_VERSION_NUMBER
=5
1092 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1093 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1095 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1129 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1131 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1133 DEFAULT_wxUSE_COCOA
=0
1137 DEFAULT_wxUSE_MICROWIN
=0
1138 DEFAULT_wxUSE_MOTIF
=0
1143 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1144 DEFAULT_DEFAULT_wxUSE_GTK
=0
1145 DEFAULT_DEFAULT_wxUSE_MAC
=0
1146 DEFAULT_DEFAULT_wxUSE_MGL
=0
1147 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1148 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1149 DEFAULT_DEFAULT_wxUSE_MSW
=0
1150 DEFAULT_DEFAULT_wxUSE_PM
=0
1151 DEFAULT_DEFAULT_wxUSE_X11
=0
1159 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1160 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1162 cat >> confdefs.h
<<\EOF
1169 cat >> confdefs.h
<<\EOF
1174 if test "x$TMP" = "xalpha"; then
1176 cat >> confdefs.h
<<\EOF
1181 DEFAULT_DEFAULT_wxUSE_GTK
=1
1183 *-*-irix5* | *-*-irix6* )
1186 cat >> confdefs.h
<<\EOF
1190 cat >> confdefs.h
<<\EOF
1194 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1200 cat >> confdefs.h
<<\EOF
1204 cat >> confdefs.h
<<\EOF
1205 #define __SOLARIS__ 1
1208 cat >> confdefs.h
<<\EOF
1212 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1213 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1219 cat >> confdefs.h
<<\EOF
1223 cat >> confdefs.h
<<\EOF
1227 cat >> confdefs.h
<<\EOF
1231 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1236 cat >> confdefs.h
<<\EOF
1237 #define __FREEBSD__ 1
1240 cat >> confdefs.h
<<\EOF
1244 DEFAULT_DEFAULT_wxUSE_GTK
=1
1249 cat >> confdefs.h
<<\EOF
1250 #define __OPENBSD__ 1
1253 cat >> confdefs.h
<<\EOF
1257 DEFAULT_DEFAULT_wxUSE_GTK
=1
1262 cat >> confdefs.h
<<\EOF
1263 #define __NETBSD__ 1
1266 cat >> confdefs.h
<<\EOF
1270 DEFAULT_DEFAULT_wxUSE_GTK
=1
1275 cat >> confdefs.h
<<\EOF
1279 cat >> confdefs.h
<<\EOF
1283 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1284 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1289 cat >> confdefs.h
<<\EOF
1293 cat >> confdefs.h
<<\EOF
1297 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1302 cat >> confdefs.h
<<\EOF
1306 cat >> confdefs.h
<<\EOF
1310 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1317 cat >> confdefs.h
<<\EOF
1321 cat >> confdefs.h
<<\EOF
1325 cat >> confdefs.h
<<\EOF
1329 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1332 *-*-cygwin* | *-*-mingw32* )
1336 DEFAULT_DEFAULT_wxUSE_MSW
=1
1342 cat >> confdefs.h
<<\EOF
1347 DEFAULT_DEFAULT_wxUSE_MGL
=1
1348 LIBS
="$LIBS -lstdc++"
1351 *-pc-os2_emx | *-pc-os2-emx )
1352 cat >> confdefs.h
<<\EOF
1357 DEFAULT_DEFAULT_wxUSE_PM
=1
1364 cat >> confdefs.h
<<\EOF
1368 cat >> confdefs.h
<<\EOF
1369 #define __DARWIN__ 1
1372 cat >> confdefs.h
<<\EOF
1373 #define __POWERPC__ 1
1376 cat >> confdefs.h
<<\EOF
1377 #define TARGET_CARBON 1
1380 DEFAULT_DEFAULT_wxUSE_MAC
=1
1385 cat >> confdefs.h
<<\EOF
1392 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1398 wx_arg_cache_file
="configarg.cache"
1399 echo "loading argument cache $wx_arg_cache_file"
1400 rm -f ${wx_arg_cache_file}.tmp
1401 touch ${wx_arg_cache_file}.tmp
1402 touch ${wx_arg_cache_file}
1406 if test $DEBUG_CONFIGURE = 1; then
1407 DEFAULT_wxUSE_UNIVERSAL
=no
1409 DEFAULT_wxUSE_NANOX
=no
1411 DEFAULT_wxUSE_THREADS
=yes
1413 DEFAULT_wxUSE_SHARED
=yes
1414 DEFAULT_wxUSE_SONAME
=no
1415 DEFAULT_wxUSE_OPTIMISE
=no
1416 DEFAULT_wxUSE_PROFILE
=no
1417 DEFAULT_wxUSE_NO_DEPS
=no
1418 DEFAULT_wxUSE_NO_RTTI
=no
1419 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1420 DEFAULT_wxUSE_PERMISSIVE
=no
1421 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1422 DEFAULT_wxUSE_DEBUG_INFO
=yes
1423 DEFAULT_wxUSE_DEBUG_GDB
=yes
1424 DEFAULT_wxUSE_MEM_TRACING
=no
1425 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1426 DEFAULT_wxUSE_DMALLOC
=no
1427 DEFAULT_wxUSE_PRECOMP
=no
1428 DEFAULT_wxUSE_APPLE_IEEE
=no
1430 DEFAULT_wxUSE_LOG
=yes
1431 DEFAULT_wxUSE_LOGWINDOW
=no
1432 DEFAULT_wxUSE_LOGGUI
=no
1433 DEFAULT_wxUSE_LOGDIALOG
=no
1435 DEFAULT_wxUSE_GUI
=yes
1436 DEFAULT_wxUSE_CONTROLS
=no
1438 DEFAULT_wxUSE_REGEX
=no
1439 DEFAULT_wxUSE_ZLIB
=no
1440 DEFAULT_wxUSE_LIBPNG
=no
1441 DEFAULT_wxUSE_LIBJPEG
=no
1442 DEFAULT_wxUSE_LIBTIFF
=no
1443 DEFAULT_wxUSE_ODBC
=no
1444 DEFAULT_wxUSE_OPENGL
=no
1446 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1447 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1448 DEFAULT_wxUSE_STD_IOSTREAM
=no
1449 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1450 DEFAULT_wxUSE_DATETIME
=no
1451 DEFAULT_wxUSE_TIMER
=no
1452 DEFAULT_wxUSE_STOPWATCH
=no
1453 DEFAULT_wxUSE_FILE
=no
1454 DEFAULT_wxUSE_FFILE
=no
1455 DEFAULT_wxUSE_TEXTBUFFER
=no
1456 DEFAULT_wxUSE_TEXTFILE
=no
1457 DEFAULT_wxUSE_WAVE
=no
1458 DEFAULT_wxUSE_INTL
=no
1459 DEFAULT_wxUSE_CONFIG
=no
1460 DEFAULT_wxUSE_FONTMAP
=no
1461 DEFAULT_wxUSE_STREAMS
=no
1462 DEFAULT_wxUSE_SOCKETS
=no
1463 DEFAULT_wxUSE_OLE
=no
1464 DEFAULT_wxUSE_DATAOBJ
=no
1465 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1466 DEFAULT_wxUSE_JOYSTICK
=no
1467 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1468 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1469 DEFAULT_wxUSE_LONGLONG
=no
1470 DEFAULT_wxUSE_GEOMETRY
=no
1472 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1473 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1474 DEFAULT_wxUSE_POSTSCRIPT
=no
1476 DEFAULT_wxUSE_X_RESOURCES
=no
1477 DEFAULT_wxUSE_CLIPBOARD
=no
1478 DEFAULT_wxUSE_TOOLTIPS
=no
1479 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1480 DEFAULT_wxUSE_DRAGIMAGE
=no
1481 DEFAULT_wxUSE_SPLINES
=no
1483 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1484 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1485 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1487 DEFAULT_wxUSE_PROLOGIO
=no
1488 DEFAULT_wxUSE_RESOURCES
=no
1489 DEFAULT_wxUSE_CONSTRAINTS
=no
1490 DEFAULT_wxUSE_IPC
=no
1491 DEFAULT_wxUSE_HELP
=no
1492 DEFAULT_wxUSE_MS_HTML_HELP
=no
1493 DEFAULT_wxUSE_WXHTML_HELP
=no
1494 DEFAULT_wxUSE_TREELAYOUT
=no
1495 DEFAULT_wxUSE_METAFILE
=no
1496 DEFAULT_wxUSE_MIMETYPE
=no
1497 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1498 DEFAULT_wxUSE_PROTOCOL
=no
1499 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1500 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1501 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1502 DEFAULT_wxUSE_URL
=no
1504 DEFAULT_wxUSE_COMMONDLGS
=no
1505 DEFAULT_wxUSE_CHOICEDLG
=no
1506 DEFAULT_wxUSE_COLOURDLG
=no
1507 DEFAULT_wxUSE_DIRDLG
=no
1508 DEFAULT_wxUSE_FILEDLG
=no
1509 DEFAULT_wxUSE_FINDREPLDLG
=no
1510 DEFAULT_wxUSE_FONTDLG
=no
1511 DEFAULT_wxUSE_MSGDLG
=no
1512 DEFAULT_wxUSE_NUMBERDLG
=no
1513 DEFAULT_wxUSE_TEXTDLG
=no
1514 DEFAULT_wxUSE_SPLASH
=no
1515 DEFAULT_wxUSE_STARTUP_TIPS
=no
1516 DEFAULT_wxUSE_PROGRESSDLG
=no
1517 DEFAULT_wxUSE_WIZARDDLG
=no
1519 DEFAULT_wxUSE_MENUS
=no
1520 DEFAULT_wxUSE_MINIFRAME
=no
1521 DEFAULT_wxUSE_HTML
=no
1522 DEFAULT_wxUSE_FILESYSTEM
=no
1523 DEFAULT_wxUSE_FS_INET
=no
1524 DEFAULT_wxUSE_FS_ZIP
=no
1525 DEFAULT_wxUSE_BUSYINFO
=no
1526 DEFAULT_wxUSE_ZIPSTREAM
=no
1527 DEFAULT_wxUSE_VALIDATORS
=no
1529 DEFAULT_wxUSE_ACCEL
=no
1530 DEFAULT_wxUSE_BUTTON
=no
1531 DEFAULT_wxUSE_BMPBUTTON
=no
1532 DEFAULT_wxUSE_CALCTRL
=no
1533 DEFAULT_wxUSE_CARET
=no
1534 DEFAULT_wxUSE_CHECKBOX
=no
1535 DEFAULT_wxUSE_CHECKLST
=no
1536 DEFAULT_wxUSE_CHOICE
=no
1537 DEFAULT_wxUSE_COMBOBOX
=no
1538 DEFAULT_wxUSE_DISPLAY
=no
1539 DEFAULT_wxUSE_GAUGE
=no
1540 DEFAULT_wxUSE_GRID
=no
1541 DEFAULT_wxUSE_IMAGLIST
=no
1542 DEFAULT_wxUSE_LISTBOX
=no
1543 DEFAULT_wxUSE_LISTCTRL
=no
1544 DEFAULT_wxUSE_NOTEBOOK
=no
1545 DEFAULT_wxUSE_PROPSHEET
=no
1546 DEFAULT_wxUSE_RADIOBOX
=no
1547 DEFAULT_wxUSE_RADIOBTN
=no
1548 DEFAULT_wxUSE_SASH
=no
1549 DEFAULT_wxUSE_SCROLLBAR
=no
1550 DEFAULT_wxUSE_SLIDER
=no
1551 DEFAULT_wxUSE_SPINBTN
=no
1552 DEFAULT_wxUSE_SPINCTRL
=no
1553 DEFAULT_wxUSE_SPLITTER
=no
1554 DEFAULT_wxUSE_STATBMP
=no
1555 DEFAULT_wxUSE_STATBOX
=no
1556 DEFAULT_wxUSE_STATLINE
=no
1557 DEFAULT_wxUSE_STATTEXT
=no
1558 DEFAULT_wxUSE_STATUSBAR
=yes
1559 DEFAULT_wxUSE_TABDIALOG
=no
1560 DEFAULT_wxUSE_TEXTCTRL
=no
1561 DEFAULT_wxUSE_TOGGLEBTN
=no
1562 DEFAULT_wxUSE_TOOLBAR
=no
1563 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1564 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1565 DEFAULT_wxUSE_TREECTRL
=no
1566 DEFAULT_wxUSE_POPUPWIN
=no
1567 DEFAULT_wxUSE_TIPWINDOW
=no
1569 DEFAULT_wxUSE_UNICODE
=no
1570 DEFAULT_wxUSE_UNICODE_MSLU
=no
1571 DEFAULT_wxUSE_WCSRTOMBS
=no
1573 DEFAULT_wxUSE_PALETTE
=no
1574 DEFAULT_wxUSE_IMAGE
=no
1575 DEFAULT_wxUSE_GIF
=no
1576 DEFAULT_wxUSE_PCX
=no
1577 DEFAULT_wxUSE_PNM
=no
1578 DEFAULT_wxUSE_IFF
=no
1579 DEFAULT_wxUSE_XPM
=no
1580 DEFAULT_wxUSE_ICO_CUR
=no
1582 DEFAULT_wxUSE_UNIVERSAL
=no
1584 DEFAULT_wxUSE_NANOX
=no
1586 DEFAULT_wxUSE_THREADS
=yes
1588 DEFAULT_wxUSE_SHARED
=yes
1589 DEFAULT_wxUSE_SONAME
=no
1590 DEFAULT_wxUSE_OPTIMISE
=yes
1591 DEFAULT_wxUSE_PROFILE
=no
1592 DEFAULT_wxUSE_NO_DEPS
=no
1593 DEFAULT_wxUSE_NO_RTTI
=no
1594 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1595 DEFAULT_wxUSE_PERMISSIVE
=no
1596 DEFAULT_wxUSE_DEBUG_FLAG
=no
1597 DEFAULT_wxUSE_DEBUG_INFO
=no
1598 DEFAULT_wxUSE_DEBUG_GDB
=no
1599 DEFAULT_wxUSE_MEM_TRACING
=no
1600 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1601 DEFAULT_wxUSE_DMALLOC
=no
1602 DEFAULT_wxUSE_PRECOMP
=no
1603 DEFAULT_wxUSE_APPLE_IEEE
=yes
1605 DEFAULT_wxUSE_LOG
=yes
1606 DEFAULT_wxUSE_LOGWINDOW
=yes
1607 DEFAULT_wxUSE_LOGGUI
=yes
1608 DEFAULT_wxUSE_LOGDIALOG
=yes
1610 DEFAULT_wxUSE_GUI
=yes
1612 DEFAULT_wxUSE_REGEX
=yes
1613 DEFAULT_wxUSE_ZLIB
=yes
1614 DEFAULT_wxUSE_LIBPNG
=yes
1615 DEFAULT_wxUSE_LIBJPEG
=yes
1616 DEFAULT_wxUSE_LIBTIFF
=yes
1617 DEFAULT_wxUSE_ODBC
=no
1618 DEFAULT_wxUSE_OPENGL
=no
1620 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1621 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1622 DEFAULT_wxUSE_STD_IOSTREAM
=no
1623 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1624 DEFAULT_wxUSE_DATETIME
=yes
1625 DEFAULT_wxUSE_TIMER
=yes
1626 DEFAULT_wxUSE_STOPWATCH
=yes
1627 DEFAULT_wxUSE_FILE
=yes
1628 DEFAULT_wxUSE_FFILE
=yes
1629 DEFAULT_wxUSE_TEXTBUFFER
=yes
1630 DEFAULT_wxUSE_TEXTFILE
=yes
1631 DEFAULT_wxUSE_WAVE
=no
1632 DEFAULT_wxUSE_INTL
=yes
1633 DEFAULT_wxUSE_CONFIG
=yes
1634 DEFAULT_wxUSE_FONTMAP
=yes
1635 DEFAULT_wxUSE_STREAMS
=yes
1636 DEFAULT_wxUSE_SOCKETS
=yes
1637 DEFAULT_wxUSE_OLE
=yes
1638 DEFAULT_wxUSE_DATAOBJ
=yes
1639 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1640 DEFAULT_wxUSE_JOYSTICK
=yes
1641 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1642 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1643 DEFAULT_wxUSE_LONGLONG
=yes
1644 DEFAULT_wxUSE_GEOMETRY
=yes
1646 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1647 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1648 DEFAULT_wxUSE_POSTSCRIPT
=yes
1650 DEFAULT_wxUSE_X_RESOURCES
=no
1651 DEFAULT_wxUSE_CLIPBOARD
=yes
1652 DEFAULT_wxUSE_TOOLTIPS
=yes
1653 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1654 DEFAULT_wxUSE_DRAGIMAGE
=yes
1655 DEFAULT_wxUSE_SPLINES
=yes
1657 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1658 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1659 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1661 DEFAULT_wxUSE_PROLOGIO
=no
1662 DEFAULT_wxUSE_RESOURCES
=no
1663 DEFAULT_wxUSE_CONSTRAINTS
=yes
1664 DEFAULT_wxUSE_IPC
=yes
1665 DEFAULT_wxUSE_HELP
=yes
1666 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1667 DEFAULT_wxUSE_WXHTML_HELP
=yes
1668 DEFAULT_wxUSE_TREELAYOUT
=yes
1669 DEFAULT_wxUSE_METAFILE
=yes
1670 DEFAULT_wxUSE_MIMETYPE
=yes
1671 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1672 DEFAULT_wxUSE_PROTOCOL
=yes
1673 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1674 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1675 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1676 DEFAULT_wxUSE_URL
=yes
1678 DEFAULT_wxUSE_COMMONDLGS
=yes
1679 DEFAULT_wxUSE_CHOICEDLG
=yes
1680 DEFAULT_wxUSE_COLOURDLG
=yes
1681 DEFAULT_wxUSE_DIRDLG
=yes
1682 DEFAULT_wxUSE_FILEDLG
=yes
1683 DEFAULT_wxUSE_FINDREPLDLG
=yes
1684 DEFAULT_wxUSE_FONTDLG
=yes
1685 DEFAULT_wxUSE_MSGDLG
=yes
1686 DEFAULT_wxUSE_NUMBERDLG
=yes
1687 DEFAULT_wxUSE_TEXTDLG
=yes
1688 DEFAULT_wxUSE_SPLASH
=yes
1689 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1690 DEFAULT_wxUSE_PROGRESSDLG
=yes
1691 DEFAULT_wxUSE_WIZARDDLG
=yes
1693 DEFAULT_wxUSE_MENUS
=yes
1694 DEFAULT_wxUSE_MINIFRAME
=yes
1695 DEFAULT_wxUSE_HTML
=yes
1696 DEFAULT_wxUSE_FILESYSTEM
=yes
1697 DEFAULT_wxUSE_FS_INET
=yes
1698 DEFAULT_wxUSE_FS_ZIP
=yes
1699 DEFAULT_wxUSE_BUSYINFO
=yes
1700 DEFAULT_wxUSE_ZIPSTREAM
=yes
1701 DEFAULT_wxUSE_VALIDATORS
=yes
1703 DEFAULT_wxUSE_ACCEL
=yes
1704 DEFAULT_wxUSE_BUTTON
=yes
1705 DEFAULT_wxUSE_BMPBUTTON
=yes
1706 DEFAULT_wxUSE_CALCTRL
=yes
1707 DEFAULT_wxUSE_CARET
=yes
1708 DEFAULT_wxUSE_CHECKBOX
=yes
1709 DEFAULT_wxUSE_CHECKLST
=yes
1710 DEFAULT_wxUSE_CHOICE
=yes
1711 DEFAULT_wxUSE_COMBOBOX
=yes
1712 DEFAULT_wxUSE_DISPLAY
=no
1713 DEFAULT_wxUSE_GAUGE
=yes
1714 DEFAULT_wxUSE_GRID
=yes
1715 DEFAULT_wxUSE_IMAGLIST
=yes
1716 DEFAULT_wxUSE_LISTBOX
=yes
1717 DEFAULT_wxUSE_LISTCTRL
=yes
1718 DEFAULT_wxUSE_NOTEBOOK
=yes
1719 DEFAULT_wxUSE_PROPSHEET
=yes
1720 DEFAULT_wxUSE_RADIOBOX
=yes
1721 DEFAULT_wxUSE_RADIOBTN
=yes
1722 DEFAULT_wxUSE_SASH
=yes
1723 DEFAULT_wxUSE_SCROLLBAR
=yes
1724 DEFAULT_wxUSE_SLIDER
=yes
1725 DEFAULT_wxUSE_SPINBTN
=yes
1726 DEFAULT_wxUSE_SPINCTRL
=yes
1727 DEFAULT_wxUSE_SPLITTER
=yes
1728 DEFAULT_wxUSE_STATBMP
=yes
1729 DEFAULT_wxUSE_STATBOX
=yes
1730 DEFAULT_wxUSE_STATLINE
=yes
1731 DEFAULT_wxUSE_STATTEXT
=yes
1732 DEFAULT_wxUSE_STATUSBAR
=yes
1733 DEFAULT_wxUSE_TABDIALOG
=no
1734 DEFAULT_wxUSE_TEXTCTRL
=yes
1735 DEFAULT_wxUSE_TOGGLEBTN
=yes
1736 DEFAULT_wxUSE_TOOLBAR
=yes
1737 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1738 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1739 DEFAULT_wxUSE_TREECTRL
=yes
1740 DEFAULT_wxUSE_POPUPWIN
=yes
1741 DEFAULT_wxUSE_TIPWINDOW
=yes
1743 DEFAULT_wxUSE_UNICODE
=no
1744 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1745 DEFAULT_wxUSE_WCSRTOMBS
=no
1747 DEFAULT_wxUSE_PALETTE
=yes
1748 DEFAULT_wxUSE_IMAGE
=yes
1749 DEFAULT_wxUSE_GIF
=yes
1750 DEFAULT_wxUSE_PCX
=yes
1751 DEFAULT_wxUSE_IFF
=no
1752 DEFAULT_wxUSE_PNM
=yes
1753 DEFAULT_wxUSE_XPM
=yes
1754 DEFAULT_wxUSE_ICO_CUR
=yes
1759 for toolkit
in `echo $ALL_TOOLKITS`; do
1760 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1761 if test "x$LINE" != "x" ; then
1762 has_toolkit_in_cache
=1
1763 eval "DEFAULT_$LINE"
1764 eval "CACHE_$toolkit=1"
1771 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1772 echo "configure:1773: checking for --${enablestring:-enable}-gui" >&5
1774 # Check whether --enable-gui or --disable-gui was given.
1775 if test "${enable_gui+set}" = set; then
1776 enableval
="$enable_gui"
1778 if test "$enableval" = yes; then
1779 ac_cv_use_gui
='wxUSE_GUI=yes'
1781 ac_cv_use_gui
='wxUSE_GUI=no'
1786 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1787 if test "x$LINE" != x
; then
1788 eval "DEFAULT_$LINE"
1793 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1798 eval "$ac_cv_use_gui"
1799 if test "$no_cache" != 1; then
1800 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1803 if test "$wxUSE_GUI" = yes; then
1804 echo "$ac_t""yes" 1>&6
1806 echo "$ac_t""no" 1>&6
1810 if test "$wxUSE_GUI" = "yes"; then
1814 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1815 echo "configure:1816: checking for --${enablestring:-enable}-universal" >&5
1817 # Check whether --enable-universal or --disable-universal was given.
1818 if test "${enable_universal+set}" = set; then
1819 enableval
="$enable_universal"
1821 if test "$enableval" = yes; then
1822 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1824 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1829 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1830 if test "x$LINE" != x
; then
1831 eval "DEFAULT_$LINE"
1836 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1841 eval "$ac_cv_use_universal"
1842 if test "$no_cache" != 1; then
1843 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1846 if test "$wxUSE_UNIVERSAL" = yes; then
1847 echo "$ac_t""yes" 1>&6
1849 echo "$ac_t""no" 1>&6
1852 # Check whether --with-gtk or --without-gtk was given.
1853 if test "${with_gtk+set}" = set; then
1855 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1858 # Check whether --with-motif or --without-motif was given.
1859 if test "${with_motif+set}" = set; then
1860 withval
="$with_motif"
1861 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1864 # Check whether --with-mac or --without-mac was given.
1865 if test "${with_mac+set}" = set; then
1867 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1870 # Check whether --with-cocoa or --without-cocoa was given.
1871 if test "${with_cocoa+set}" = set; then
1872 withval
="$with_cocoa"
1873 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1876 # Check whether --with-wine or --without-wine was given.
1877 if test "${with_wine+set}" = set; then
1878 withval
="$with_wine"
1879 wxUSE_WINE
="$withval" CACHE_WINE
=1
1882 # Check whether --with-msw or --without-msw was given.
1883 if test "${with_msw+set}" = set; then
1885 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1888 # Check whether --with-pm or --without-pm was given.
1889 if test "${with_pm+set}" = set; then
1891 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1894 # Check whether --with-mgl or --without-mgl was given.
1895 if test "${with_mgl+set}" = set; then
1897 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1900 # Check whether --with-microwin or --without-microwin was given.
1901 if test "${with_microwin+set}" = set; then
1902 withval
="$with_microwin"
1903 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1906 # Check whether --with-x11 or --without-x11 was given.
1907 if test "${with_x11+set}" = set; then
1909 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1914 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1915 echo "configure:1916: checking for --${enablestring:-enable}-nanox" >&5
1917 # Check whether --enable-nanox or --disable-nanox was given.
1918 if test "${enable_nanox+set}" = set; then
1919 enableval
="$enable_nanox"
1921 if test "$enableval" = yes; then
1922 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1924 ac_cv_use_nanox
='wxUSE_NANOX=no'
1929 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1930 if test "x$LINE" != x
; then
1931 eval "DEFAULT_$LINE"
1936 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1941 eval "$ac_cv_use_nanox"
1942 if test "$no_cache" != 1; then
1943 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1946 if test "$wxUSE_NANOX" = yes; then
1947 echo "$ac_t""yes" 1>&6
1949 echo "$ac_t""no" 1>&6
1955 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1956 echo "configure:1957: checking for --${enablestring:-enable}-gtk2" >&5
1958 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1959 if test "${enable_gtk2+set}" = set; then
1960 enableval
="$enable_gtk2"
1962 if test "$enableval" = yes; then
1963 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1965 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1970 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1971 if test "x$LINE" != x
; then
1972 eval "DEFAULT_$LINE"
1977 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1982 eval "$ac_cv_use_gtk2"
1983 if test "$no_cache" != 1; then
1984 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1987 if test "$wxUSE_GTK2" = yes; then
1988 echo "$ac_t""yes" 1>&6
1990 echo "$ac_t""no" 1>&6
1995 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1996 echo "configure:1997: checking for --with-libpng" >&5
1998 # Check whether --with-libpng or --without-libpng was given.
1999 if test "${with_libpng+set}" = set; then
2000 withval
="$with_libpng"
2002 if test "$withval" = yes; then
2003 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2004 elif test "$withval" = no
; then
2005 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2006 elif test "$withval" = sys
; then
2007 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2008 elif test "$withval" = builtin; then
2009 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2011 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2016 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2017 if test "x$LINE" != x
; then
2018 eval "DEFAULT_$LINE"
2023 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2028 eval "$ac_cv_use_libpng"
2029 if test "$no_cache" != 1; then
2030 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2033 if test "$wxUSE_LIBPNG" = yes; then
2034 echo "$ac_t""yes" 1>&6
2035 elif test "$wxUSE_LIBPNG" = no
; then
2036 echo "$ac_t""no" 1>&6
2037 elif test "$wxUSE_LIBPNG" = sys
; then
2038 echo "$ac_t""system version" 1>&6
2039 elif test "$wxUSE_LIBPNG" = builtin; then
2040 echo "$ac_t""builtin version" 1>&6
2042 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2046 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2047 echo "configure:2048: checking for --with-libjpeg" >&5
2049 # Check whether --with-libjpeg or --without-libjpeg was given.
2050 if test "${with_libjpeg+set}" = set; then
2051 withval
="$with_libjpeg"
2053 if test "$withval" = yes; then
2054 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2055 elif test "$withval" = no
; then
2056 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2057 elif test "$withval" = sys
; then
2058 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2059 elif test "$withval" = builtin; then
2060 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2062 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2067 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2068 if test "x$LINE" != x
; then
2069 eval "DEFAULT_$LINE"
2074 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2079 eval "$ac_cv_use_libjpeg"
2080 if test "$no_cache" != 1; then
2081 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2084 if test "$wxUSE_LIBJPEG" = yes; then
2085 echo "$ac_t""yes" 1>&6
2086 elif test "$wxUSE_LIBJPEG" = no
; then
2087 echo "$ac_t""no" 1>&6
2088 elif test "$wxUSE_LIBJPEG" = sys
; then
2089 echo "$ac_t""system version" 1>&6
2090 elif test "$wxUSE_LIBJPEG" = builtin; then
2091 echo "$ac_t""builtin version" 1>&6
2093 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2097 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2098 echo "configure:2099: checking for --with-libtiff" >&5
2100 # Check whether --with-libtiff or --without-libtiff was given.
2101 if test "${with_libtiff+set}" = set; then
2102 withval
="$with_libtiff"
2104 if test "$withval" = yes; then
2105 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2106 elif test "$withval" = no
; then
2107 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2108 elif test "$withval" = sys
; then
2109 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2110 elif test "$withval" = builtin; then
2111 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2113 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2118 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2119 if test "x$LINE" != x
; then
2120 eval "DEFAULT_$LINE"
2125 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2130 eval "$ac_cv_use_libtiff"
2131 if test "$no_cache" != 1; then
2132 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2135 if test "$wxUSE_LIBTIFF" = yes; then
2136 echo "$ac_t""yes" 1>&6
2137 elif test "$wxUSE_LIBTIFF" = no
; then
2138 echo "$ac_t""no" 1>&6
2139 elif test "$wxUSE_LIBTIFF" = sys
; then
2140 echo "$ac_t""system version" 1>&6
2141 elif test "$wxUSE_LIBTIFF" = builtin; then
2142 echo "$ac_t""builtin version" 1>&6
2144 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2148 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2149 echo "configure:2150: checking for --with-opengl" >&5
2151 # Check whether --with-opengl or --without-opengl was given.
2152 if test "${with_opengl+set}" = set; then
2153 withval
="$with_opengl"
2155 if test "$withval" = yes; then
2156 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2158 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2163 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2164 if test "x$LINE" != x
; then
2165 eval "DEFAULT_$LINE"
2170 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2175 eval "$ac_cv_use_opengl"
2176 if test "$no_cache" != 1; then
2177 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2180 if test "$wxUSE_OPENGL" = yes; then
2181 echo "$ac_t""yes" 1>&6
2183 echo "$ac_t""no" 1>&6
2190 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2191 echo "configure:2192: checking for --with-dmalloc" >&5
2193 # Check whether --with-dmalloc or --without-dmalloc was given.
2194 if test "${with_dmalloc+set}" = set; then
2195 withval
="$with_dmalloc"
2197 if test "$withval" = yes; then
2198 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2200 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2205 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2206 if test "x$LINE" != x
; then
2207 eval "DEFAULT_$LINE"
2212 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2217 eval "$ac_cv_use_dmalloc"
2218 if test "$no_cache" != 1; then
2219 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2222 if test "$wxUSE_DMALLOC" = yes; then
2223 echo "$ac_t""yes" 1>&6
2225 echo "$ac_t""no" 1>&6
2229 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2230 echo "configure:2231: checking for --with-regex" >&5
2232 # Check whether --with-regex or --without-regex was given.
2233 if test "${with_regex+set}" = set; then
2234 withval
="$with_regex"
2236 if test "$withval" = yes; then
2237 ac_cv_use_regex
='wxUSE_REGEX=yes'
2238 elif test "$withval" = no
; then
2239 ac_cv_use_regex
='wxUSE_REGEX=no'
2240 elif test "$withval" = sys
; then
2241 ac_cv_use_regex
='wxUSE_REGEX=sys'
2242 elif test "$withval" = builtin; then
2243 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2245 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2250 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2251 if test "x$LINE" != x
; then
2252 eval "DEFAULT_$LINE"
2257 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2262 eval "$ac_cv_use_regex"
2263 if test "$no_cache" != 1; then
2264 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2267 if test "$wxUSE_REGEX" = yes; then
2268 echo "$ac_t""yes" 1>&6
2269 elif test "$wxUSE_REGEX" = no
; then
2270 echo "$ac_t""no" 1>&6
2271 elif test "$wxUSE_REGEX" = sys
; then
2272 echo "$ac_t""system version" 1>&6
2273 elif test "$wxUSE_REGEX" = builtin; then
2274 echo "$ac_t""builtin version" 1>&6
2276 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2280 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2281 echo "configure:2282: checking for --with-zlib" >&5
2283 # Check whether --with-zlib or --without-zlib was given.
2284 if test "${with_zlib+set}" = set; then
2285 withval
="$with_zlib"
2287 if test "$withval" = yes; then
2288 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2289 elif test "$withval" = no
; then
2290 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2291 elif test "$withval" = sys
; then
2292 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2293 elif test "$withval" = builtin; then
2294 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2296 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2301 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2302 if test "x$LINE" != x
; then
2303 eval "DEFAULT_$LINE"
2308 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2313 eval "$ac_cv_use_zlib"
2314 if test "$no_cache" != 1; then
2315 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2318 if test "$wxUSE_ZLIB" = yes; then
2319 echo "$ac_t""yes" 1>&6
2320 elif test "$wxUSE_ZLIB" = no
; then
2321 echo "$ac_t""no" 1>&6
2322 elif test "$wxUSE_ZLIB" = sys
; then
2323 echo "$ac_t""system version" 1>&6
2324 elif test "$wxUSE_ZLIB" = builtin; then
2325 echo "$ac_t""builtin version" 1>&6
2327 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2331 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2332 echo "configure:2333: checking for --with-odbc" >&5
2334 # Check whether --with-odbc or --without-odbc was given.
2335 if test "${with_odbc+set}" = set; then
2336 withval
="$with_odbc"
2338 if test "$withval" = yes; then
2339 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2341 ac_cv_use_odbc
='wxUSE_ODBC=no'
2346 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2347 if test "x$LINE" != x
; then
2348 eval "DEFAULT_$LINE"
2353 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2358 eval "$ac_cv_use_odbc"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_ODBC" = yes; then
2364 echo "$ac_t""yes" 1>&6
2366 echo "$ac_t""no" 1>&6
2373 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2374 echo "configure:2375: checking for --${enablestring:-enable}-shared" >&5
2376 # Check whether --enable-shared or --disable-shared was given.
2377 if test "${enable_shared+set}" = set; then
2378 enableval
="$enable_shared"
2380 if test "$enableval" = yes; then
2381 ac_cv_use_shared
='wxUSE_SHARED=yes'
2383 ac_cv_use_shared
='wxUSE_SHARED=no'
2388 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2389 if test "x$LINE" != x
; then
2390 eval "DEFAULT_$LINE"
2395 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2400 eval "$ac_cv_use_shared"
2401 if test "$no_cache" != 1; then
2402 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2405 if test "$wxUSE_SHARED" = yes; then
2406 echo "$ac_t""yes" 1>&6
2408 echo "$ac_t""no" 1>&6
2413 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2414 echo "configure:2415: checking for --${enablestring:-enable}-soname" >&5
2416 # Check whether --enable-soname or --disable-soname was given.
2417 if test "${enable_soname+set}" = set; then
2418 enableval
="$enable_soname"
2420 if test "$enableval" = yes; then
2421 ac_cv_use_soname
='wxUSE_SONAME=yes'
2423 ac_cv_use_soname
='wxUSE_SONAME=no'
2428 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2429 if test "x$LINE" != x
; then
2430 eval "DEFAULT_$LINE"
2435 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2440 eval "$ac_cv_use_soname"
2441 if test "$no_cache" != 1; then
2442 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2445 if test "$wxUSE_SONAME" = yes; then
2446 echo "$ac_t""yes" 1>&6
2448 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2454 echo "configure:2455: checking for --${enablestring:-enable}-optimise" >&5
2456 # Check whether --enable-optimise or --disable-optimise was given.
2457 if test "${enable_optimise+set}" = set; then
2458 enableval
="$enable_optimise"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2463 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2468 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2480 eval "$ac_cv_use_optimise"
2481 if test "$no_cache" != 1; then
2482 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2485 if test "$wxUSE_OPTIMISE" = yes; then
2486 echo "$ac_t""yes" 1>&6
2488 echo "$ac_t""no" 1>&6
2493 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2494 echo "configure:2495: checking for --${enablestring:-enable}-debug" >&5
2496 # Check whether --enable-debug or --disable-debug was given.
2497 if test "${enable_debug+set}" = set; then
2498 enableval
="$enable_debug"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2503 ac_cv_use_debug
='wxUSE_DEBUG=no'
2508 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2520 eval "$ac_cv_use_debug"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_DEBUG" = yes; then
2526 echo "$ac_t""yes" 1>&6
2528 echo "$ac_t""no" 1>&6
2534 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2535 echo "configure:2536: checking for --${enablestring:-enable}-precomp" >&5
2537 # Check whether --enable-precomp or --disable-precomp was given.
2538 if test "${enable_precomp+set}" = set; then
2539 enableval
="$enable_precomp"
2541 if test "$enableval" = yes; then
2542 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2544 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2549 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2550 if test "x$LINE" != x
; then
2551 eval "DEFAULT_$LINE"
2556 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2561 eval "$ac_cv_use_precomp"
2562 if test "$no_cache" != 1; then
2563 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2566 if test "$wxUSE_PRECOMP" = yes; then
2567 echo "$ac_t""yes" 1>&6
2569 echo "$ac_t""no" 1>&6
2573 if test "$wxUSE_DEBUG" = "yes"; then
2574 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2575 DEFAULT_wxUSE_DEBUG_INFO
=yes
2576 elif test "$wxUSE_DEBUG" = "no"; then
2577 DEFAULT_wxUSE_DEBUG_FLAG
=no
2578 DEFAULT_wxUSE_DEBUG_INFO
=no
2583 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2584 echo "configure:2585: checking for --${enablestring:-enable}-debug_flag" >&5
2586 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2587 if test "${enable_debug_flag+set}" = set; then
2588 enableval
="$enable_debug_flag"
2590 if test "$enableval" = yes; then
2591 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2593 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2598 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2599 if test "x$LINE" != x
; then
2600 eval "DEFAULT_$LINE"
2605 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2610 eval "$ac_cv_use_debug_flag"
2611 if test "$no_cache" != 1; then
2612 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2615 if test "$wxUSE_DEBUG_FLAG" = yes; then
2616 echo "$ac_t""yes" 1>&6
2618 echo "$ac_t""no" 1>&6
2623 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2624 echo "configure:2625: checking for --${enablestring:-enable}-debug_info" >&5
2626 # Check whether --enable-debug_info or --disable-debug_info was given.
2627 if test "${enable_debug_info+set}" = set; then
2628 enableval
="$enable_debug_info"
2630 if test "$enableval" = yes; then
2631 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2633 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2638 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2639 if test "x$LINE" != x
; then
2640 eval "DEFAULT_$LINE"
2645 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2650 eval "$ac_cv_use_debug_info"
2651 if test "$no_cache" != 1; then
2652 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2655 if test "$wxUSE_DEBUG_INFO" = yes; then
2656 echo "$ac_t""yes" 1>&6
2658 echo "$ac_t""no" 1>&6
2663 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2664 echo "configure:2665: checking for --${enablestring:-enable}-debug_gdb" >&5
2666 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2667 if test "${enable_debug_gdb+set}" = set; then
2668 enableval
="$enable_debug_gdb"
2670 if test "$enableval" = yes; then
2671 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2673 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2678 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2679 if test "x$LINE" != x
; then
2680 eval "DEFAULT_$LINE"
2685 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2690 eval "$ac_cv_use_debug_gdb"
2691 if test "$no_cache" != 1; then
2692 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2695 if test "$wxUSE_DEBUG_GDB" = yes; then
2696 echo "$ac_t""yes" 1>&6
2698 echo "$ac_t""no" 1>&6
2703 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2704 echo "configure:2705: checking for --${enablestring:-enable}-debug_cntxt" >&5
2706 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2707 if test "${enable_debug_cntxt+set}" = set; then
2708 enableval
="$enable_debug_cntxt"
2710 if test "$enableval" = yes; then
2711 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2713 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2718 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2719 if test "x$LINE" != x
; then
2720 eval "DEFAULT_$LINE"
2725 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2730 eval "$ac_cv_use_debug_cntxt"
2731 if test "$no_cache" != 1; then
2732 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2735 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2736 echo "$ac_t""yes" 1>&6
2738 echo "$ac_t""no" 1>&6
2743 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2744 echo "configure:2745: checking for --${enablestring:-enable}-mem_tracing" >&5
2746 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2747 if test "${enable_mem_tracing+set}" = set; then
2748 enableval
="$enable_mem_tracing"
2750 if test "$enableval" = yes; then
2751 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2753 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2758 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x
; then
2760 eval "DEFAULT_$LINE"
2765 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2770 eval "$ac_cv_use_mem_tracing"
2771 if test "$no_cache" != 1; then
2772 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2775 if test "$wxUSE_MEM_TRACING" = yes; then
2776 echo "$ac_t""yes" 1>&6
2778 echo "$ac_t""no" 1>&6
2783 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2784 echo "configure:2785: checking for --${enablestring:-enable}-profile" >&5
2786 # Check whether --enable-profile or --disable-profile was given.
2787 if test "${enable_profile+set}" = set; then
2788 enableval
="$enable_profile"
2790 if test "$enableval" = yes; then
2791 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2793 ac_cv_use_profile
='wxUSE_PROFILE=no'
2798 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x
; then
2800 eval "DEFAULT_$LINE"
2805 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2810 eval "$ac_cv_use_profile"
2811 if test "$no_cache" != 1; then
2812 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2815 if test "$wxUSE_PROFILE" = yes; then
2816 echo "$ac_t""yes" 1>&6
2818 echo "$ac_t""no" 1>&6
2823 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2824 echo "configure:2825: checking for --${enablestring:-enable}-no_rtti" >&5
2826 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2827 if test "${enable_no_rtti+set}" = set; then
2828 enableval
="$enable_no_rtti"
2830 if test "$enableval" = yes; then
2831 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2833 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2838 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x
; then
2840 eval "DEFAULT_$LINE"
2845 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2850 eval "$ac_cv_use_no_rtti"
2851 if test "$no_cache" != 1; then
2852 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2855 if test "$wxUSE_NO_RTTI" = yes; then
2856 echo "$ac_t""yes" 1>&6
2858 echo "$ac_t""no" 1>&6
2863 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2864 echo "configure:2865: checking for --${enablestring:-enable}-no_exceptions" >&5
2866 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2867 if test "${enable_no_exceptions+set}" = set; then
2868 enableval
="$enable_no_exceptions"
2870 if test "$enableval" = yes; then
2871 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2873 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2878 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2879 if test "x$LINE" != x
; then
2880 eval "DEFAULT_$LINE"
2885 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2890 eval "$ac_cv_use_no_exceptions"
2891 if test "$no_cache" != 1; then
2892 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2895 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2896 echo "$ac_t""yes" 1>&6
2898 echo "$ac_t""no" 1>&6
2903 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2904 echo "configure:2905: checking for --${enablestring:-enable}-permissive" >&5
2906 # Check whether --enable-permissive or --disable-permissive was given.
2907 if test "${enable_permissive+set}" = set; then
2908 enableval
="$enable_permissive"
2910 if test "$enableval" = yes; then
2911 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2913 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2918 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x
; then
2920 eval "DEFAULT_$LINE"
2925 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2930 eval "$ac_cv_use_permissive"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_PERMISSIVE" = yes; then
2936 echo "$ac_t""yes" 1>&6
2938 echo "$ac_t""no" 1>&6
2943 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2944 echo "configure:2945: checking for --${enablestring:-enable}-no_deps" >&5
2946 # Check whether --enable-no_deps or --disable-no_deps was given.
2947 if test "${enable_no_deps+set}" = set; then
2948 enableval
="$enable_no_deps"
2950 if test "$enableval" = yes; then
2951 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2953 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2958 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2959 if test "x$LINE" != x
; then
2960 eval "DEFAULT_$LINE"
2965 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2970 eval "$ac_cv_use_no_deps"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2975 if test "$wxUSE_NO_DEPS" = yes; then
2976 echo "$ac_t""yes" 1>&6
2978 echo "$ac_t""no" 1>&6
2984 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2985 echo "configure:2986: checking for --${enablestring:-enable}-compat20" >&5
2987 # Check whether --enable-compat20 or --disable-compat20 was given.
2988 if test "${enable_compat20+set}" = set; then
2989 enableval
="$enable_compat20"
2991 if test "$enableval" = yes; then
2992 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2994 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2999 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x
; then
3001 eval "DEFAULT_$LINE"
3006 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3011 eval "$ac_cv_use_compat20"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3016 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3017 echo "$ac_t""yes" 1>&6
3019 echo "$ac_t""no" 1>&6
3024 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3025 echo "configure:3026: checking for --${enablestring:-enable}-compat22" >&5
3027 # Check whether --enable-compat22 or --disable-compat22 was given.
3028 if test "${enable_compat22+set}" = set; then
3029 enableval
="$enable_compat22"
3031 if test "$enableval" = yes; then
3032 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3034 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3039 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3040 if test "x$LINE" != x
; then
3041 eval "DEFAULT_$LINE"
3046 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3051 eval "$ac_cv_use_compat22"
3052 if test "$no_cache" != 1; then
3053 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3056 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3057 echo "$ac_t""yes" 1>&6
3059 echo "$ac_t""no" 1>&6
3063 enablestring
=disable
3064 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3065 echo "configure:3066: checking for --${enablestring:-enable}-compat24" >&5
3067 # Check whether --enable-compat24 or --disable-compat24 was given.
3068 if test "${enable_compat24+set}" = set; then
3069 enableval
="$enable_compat24"
3071 if test "$enableval" = yes; then
3072 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3074 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3079 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3080 if test "x$LINE" != x
; then
3081 eval "DEFAULT_$LINE"
3086 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3091 eval "$ac_cv_use_compat24"
3092 if test "$no_cache" != 1; then
3093 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3096 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3097 echo "$ac_t""yes" 1>&6
3099 echo "$ac_t""no" 1>&6
3103 # Check whether --enable-rpath or --disable-rpath was given.
3104 if test "${enable_rpath+set}" = set; then
3105 enableval
="$enable_rpath"
3106 wxRPATH_DIR
="$enableval"
3110 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3111 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3118 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3119 echo "configure:3120: checking for --${enablestring:-enable}-intl" >&5
3121 # Check whether --enable-intl or --disable-intl was given.
3122 if test "${enable_intl+set}" = set; then
3123 enableval
="$enable_intl"
3125 if test "$enableval" = yes; then
3126 ac_cv_use_intl
='wxUSE_INTL=yes'
3128 ac_cv_use_intl
='wxUSE_INTL=no'
3133 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3134 if test "x$LINE" != x
; then
3135 eval "DEFAULT_$LINE"
3140 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3145 eval "$ac_cv_use_intl"
3146 if test "$no_cache" != 1; then
3147 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3150 if test "$wxUSE_INTL" = yes; then
3151 echo "$ac_t""yes" 1>&6
3153 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3159 echo "configure:3160: checking for --${enablestring:-enable}-config" >&5
3161 # Check whether --enable-config or --disable-config was given.
3162 if test "${enable_config+set}" = set; then
3163 enableval
="$enable_config"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_config
='wxUSE_CONFIG=yes'
3168 ac_cv_use_config
='wxUSE_CONFIG=no'
3173 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3185 eval "$ac_cv_use_config"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_CONFIG" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3199 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3200 echo "configure:3201: checking for --${enablestring:-enable}-protocols" >&5
3202 # Check whether --enable-protocols or --disable-protocols was given.
3203 if test "${enable_protocols+set}" = set; then
3204 enableval
="$enable_protocols"
3206 if test "$enableval" = yes; then
3207 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3209 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3214 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3215 if test "x$LINE" != x
; then
3216 eval "DEFAULT_$LINE"
3221 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3226 eval "$ac_cv_use_protocols"
3227 if test "$no_cache" != 1; then
3228 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3231 if test "$wxUSE_PROTOCOL" = yes; then
3232 echo "$ac_t""yes" 1>&6
3234 echo "$ac_t""no" 1>&6
3239 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3240 echo "configure:3241: checking for --${enablestring:-enable}-ftp" >&5
3242 # Check whether --enable-ftp or --disable-ftp was given.
3243 if test "${enable_ftp+set}" = set; then
3244 enableval
="$enable_ftp"
3246 if test "$enableval" = yes; then
3247 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3249 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3254 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3255 if test "x$LINE" != x
; then
3256 eval "DEFAULT_$LINE"
3261 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3266 eval "$ac_cv_use_ftp"
3267 if test "$no_cache" != 1; then
3268 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3271 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3272 echo "$ac_t""yes" 1>&6
3274 echo "$ac_t""no" 1>&6
3279 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3280 echo "configure:3281: checking for --${enablestring:-enable}-http" >&5
3282 # Check whether --enable-http or --disable-http was given.
3283 if test "${enable_http+set}" = set; then
3284 enableval
="$enable_http"
3286 if test "$enableval" = yes; then
3287 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3289 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3294 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3295 if test "x$LINE" != x
; then
3296 eval "DEFAULT_$LINE"
3301 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3306 eval "$ac_cv_use_http"
3307 if test "$no_cache" != 1; then
3308 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3311 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3312 echo "$ac_t""yes" 1>&6
3314 echo "$ac_t""no" 1>&6
3319 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3320 echo "configure:3321: checking for --${enablestring:-enable}-fileproto" >&5
3322 # Check whether --enable-fileproto or --disable-fileproto was given.
3323 if test "${enable_fileproto+set}" = set; then
3324 enableval
="$enable_fileproto"
3326 if test "$enableval" = yes; then
3327 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3329 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3334 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3335 if test "x$LINE" != x
; then
3336 eval "DEFAULT_$LINE"
3341 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3346 eval "$ac_cv_use_fileproto"
3347 if test "$no_cache" != 1; then
3348 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3351 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3352 echo "$ac_t""yes" 1>&6
3354 echo "$ac_t""no" 1>&6
3359 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3360 echo "configure:3361: checking for --${enablestring:-enable}-sockets" >&5
3362 # Check whether --enable-sockets or --disable-sockets was given.
3363 if test "${enable_sockets+set}" = set; then
3364 enableval
="$enable_sockets"
3366 if test "$enableval" = yes; then
3367 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3369 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3374 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3375 if test "x$LINE" != x
; then
3376 eval "DEFAULT_$LINE"
3381 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3386 eval "$ac_cv_use_sockets"
3387 if test "$no_cache" != 1; then
3388 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3391 if test "$wxUSE_SOCKETS" = yes; then
3392 echo "$ac_t""yes" 1>&6
3394 echo "$ac_t""no" 1>&6
3399 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3400 echo "configure:3401: checking for --${enablestring:-enable}-ole" >&5
3402 # Check whether --enable-ole or --disable-ole was given.
3403 if test "${enable_ole+set}" = set; then
3404 enableval
="$enable_ole"
3406 if test "$enableval" = yes; then
3407 ac_cv_use_ole
='wxUSE_OLE=yes'
3409 ac_cv_use_ole
='wxUSE_OLE=no'
3414 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3415 if test "x$LINE" != x
; then
3416 eval "DEFAULT_$LINE"
3421 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3426 eval "$ac_cv_use_ole"
3427 if test "$no_cache" != 1; then
3428 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3431 if test "$wxUSE_OLE" = yes; then
3432 echo "$ac_t""yes" 1>&6
3434 echo "$ac_t""no" 1>&6
3439 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3440 echo "configure:3441: checking for --${enablestring:-enable}-dataobj" >&5
3442 # Check whether --enable-dataobj or --disable-dataobj was given.
3443 if test "${enable_dataobj+set}" = set; then
3444 enableval
="$enable_dataobj"
3446 if test "$enableval" = yes; then
3447 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3449 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3454 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3455 if test "x$LINE" != x
; then
3456 eval "DEFAULT_$LINE"
3461 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3466 eval "$ac_cv_use_dataobj"
3467 if test "$no_cache" != 1; then
3468 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3471 if test "$wxUSE_DATAOBJ" = yes; then
3472 echo "$ac_t""yes" 1>&6
3474 echo "$ac_t""no" 1>&6
3480 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3481 echo "configure:3482: checking for --${enablestring:-enable}-ipc" >&5
3483 # Check whether --enable-ipc or --disable-ipc was given.
3484 if test "${enable_ipc+set}" = set; then
3485 enableval
="$enable_ipc"
3487 if test "$enableval" = yes; then
3488 ac_cv_use_ipc
='wxUSE_IPC=yes'
3490 ac_cv_use_ipc
='wxUSE_IPC=no'
3495 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x
; then
3497 eval "DEFAULT_$LINE"
3502 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3507 eval "$ac_cv_use_ipc"
3508 if test "$no_cache" != 1; then
3509 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3512 if test "$wxUSE_IPC" = yes; then
3513 echo "$ac_t""yes" 1>&6
3515 echo "$ac_t""no" 1>&6
3521 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3522 echo "configure:3523: checking for --${enablestring:-enable}-cmdline" >&5
3524 # Check whether --enable-cmdline or --disable-cmdline was given.
3525 if test "${enable_cmdline+set}" = set; then
3526 enableval
="$enable_cmdline"
3528 if test "$enableval" = yes; then
3529 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3531 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3536 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3537 if test "x$LINE" != x
; then
3538 eval "DEFAULT_$LINE"
3543 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3548 eval "$ac_cv_use_cmdline"
3549 if test "$no_cache" != 1; then
3550 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3553 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3554 echo "$ac_t""yes" 1>&6
3556 echo "$ac_t""no" 1>&6
3561 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3562 echo "configure:3563: checking for --${enablestring:-enable}-datetime" >&5
3564 # Check whether --enable-datetime or --disable-datetime was given.
3565 if test "${enable_datetime+set}" = set; then
3566 enableval
="$enable_datetime"
3568 if test "$enableval" = yes; then
3569 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3571 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3576 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x
; then
3578 eval "DEFAULT_$LINE"
3583 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3588 eval "$ac_cv_use_datetime"
3589 if test "$no_cache" != 1; then
3590 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3593 if test "$wxUSE_DATETIME" = yes; then
3594 echo "$ac_t""yes" 1>&6
3596 echo "$ac_t""no" 1>&6
3601 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3602 echo "configure:3603: checking for --${enablestring:-enable}-stopwatch" >&5
3604 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3605 if test "${enable_stopwatch+set}" = set; then
3606 enableval
="$enable_stopwatch"
3608 if test "$enableval" = yes; then
3609 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3611 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3616 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3617 if test "x$LINE" != x
; then
3618 eval "DEFAULT_$LINE"
3623 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3628 eval "$ac_cv_use_stopwatch"
3629 if test "$no_cache" != 1; then
3630 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3633 if test "$wxUSE_STOPWATCH" = yes; then
3634 echo "$ac_t""yes" 1>&6
3636 echo "$ac_t""no" 1>&6
3641 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3642 echo "configure:3643: checking for --${enablestring:-enable}-dialupman" >&5
3644 # Check whether --enable-dialupman or --disable-dialupman was given.
3645 if test "${enable_dialupman+set}" = set; then
3646 enableval
="$enable_dialupman"
3648 if test "$enableval" = yes; then
3649 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3651 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3656 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x
; then
3658 eval "DEFAULT_$LINE"
3663 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3668 eval "$ac_cv_use_dialupman"
3669 if test "$no_cache" != 1; then
3670 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3673 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3674 echo "$ac_t""yes" 1>&6
3676 echo "$ac_t""no" 1>&6
3681 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3682 echo "configure:3683: checking for --${enablestring:-enable}-apple_ieee" >&5
3684 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3685 if test "${enable_apple_ieee+set}" = set; then
3686 enableval
="$enable_apple_ieee"
3688 if test "$enableval" = yes; then
3689 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3691 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3696 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x
; then
3698 eval "DEFAULT_$LINE"
3703 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3708 eval "$ac_cv_use_apple_ieee"
3709 if test "$no_cache" != 1; then
3710 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3713 if test "$wxUSE_APPLE_IEEE" = yes; then
3714 echo "$ac_t""yes" 1>&6
3716 echo "$ac_t""no" 1>&6
3721 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3722 echo "configure:3723: checking for --${enablestring:-enable}-timer" >&5
3724 # Check whether --enable-timer or --disable-timer was given.
3725 if test "${enable_timer+set}" = set; then
3726 enableval
="$enable_timer"
3728 if test "$enableval" = yes; then
3729 ac_cv_use_timer
='wxUSE_TIMER=yes'
3731 ac_cv_use_timer
='wxUSE_TIMER=no'
3736 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3737 if test "x$LINE" != x
; then
3738 eval "DEFAULT_$LINE"
3743 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3748 eval "$ac_cv_use_timer"
3749 if test "$no_cache" != 1; then
3750 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3753 if test "$wxUSE_TIMER" = yes; then
3754 echo "$ac_t""yes" 1>&6
3756 echo "$ac_t""no" 1>&6
3761 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3762 echo "configure:3763: checking for --${enablestring:-enable}-wave" >&5
3764 # Check whether --enable-wave or --disable-wave was given.
3765 if test "${enable_wave+set}" = set; then
3766 enableval
="$enable_wave"
3768 if test "$enableval" = yes; then
3769 ac_cv_use_wave
='wxUSE_WAVE=yes'
3771 ac_cv_use_wave
='wxUSE_WAVE=no'
3776 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3777 if test "x$LINE" != x
; then
3778 eval "DEFAULT_$LINE"
3783 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3788 eval "$ac_cv_use_wave"
3789 if test "$no_cache" != 1; then
3790 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3793 if test "$wxUSE_WAVE" = yes; then
3794 echo "$ac_t""yes" 1>&6
3796 echo "$ac_t""no" 1>&6
3801 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3802 echo "configure:3803: checking for --${enablestring:-enable}-fraction" >&5
3804 # Check whether --enable-fraction or --disable-fraction was given.
3805 if test "${enable_fraction+set}" = set; then
3806 enableval
="$enable_fraction"
3808 if test "$enableval" = yes; then
3809 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3811 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3816 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x
; then
3818 eval "DEFAULT_$LINE"
3823 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3828 eval "$ac_cv_use_fraction"
3829 if test "$no_cache" != 1; then
3830 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3833 if test "$wxUSE_FRACTION" = yes; then
3834 echo "$ac_t""yes" 1>&6
3836 echo "$ac_t""no" 1>&6
3841 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3842 echo "configure:3843: checking for --${enablestring:-enable}-dynlib" >&5
3844 # Check whether --enable-dynlib or --disable-dynlib was given.
3845 if test "${enable_dynlib+set}" = set; then
3846 enableval
="$enable_dynlib"
3848 if test "$enableval" = yes; then
3849 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3851 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3856 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3857 if test "x$LINE" != x
; then
3858 eval "DEFAULT_$LINE"
3863 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3868 eval "$ac_cv_use_dynlib"
3869 if test "$no_cache" != 1; then
3870 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3873 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3874 echo "$ac_t""yes" 1>&6
3876 echo "$ac_t""no" 1>&6
3881 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3882 echo "configure:3883: checking for --${enablestring:-enable}-dynamicloader" >&5
3884 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3885 if test "${enable_dynamicloader+set}" = set; then
3886 enableval
="$enable_dynamicloader"
3888 if test "$enableval" = yes; then
3889 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3891 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3896 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3897 if test "x$LINE" != x
; then
3898 eval "DEFAULT_$LINE"
3903 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3908 eval "$ac_cv_use_dynamicloader"
3909 if test "$no_cache" != 1; then
3910 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3913 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3914 echo "$ac_t""yes" 1>&6
3916 echo "$ac_t""no" 1>&6
3921 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3922 echo "configure:3923: checking for --${enablestring:-enable}-longlong" >&5
3924 # Check whether --enable-longlong or --disable-longlong was given.
3925 if test "${enable_longlong+set}" = set; then
3926 enableval
="$enable_longlong"
3928 if test "$enableval" = yes; then
3929 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3931 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3936 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3937 if test "x$LINE" != x
; then
3938 eval "DEFAULT_$LINE"
3943 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3948 eval "$ac_cv_use_longlong"
3949 if test "$no_cache" != 1; then
3950 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3953 if test "$wxUSE_LONGLONG" = yes; then
3954 echo "$ac_t""yes" 1>&6
3956 echo "$ac_t""no" 1>&6
3961 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3962 echo "configure:3963: checking for --${enablestring:-enable}-geometry" >&5
3964 # Check whether --enable-geometry or --disable-geometry was given.
3965 if test "${enable_geometry+set}" = set; then
3966 enableval
="$enable_geometry"
3968 if test "$enableval" = yes; then
3969 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3971 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3976 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3977 if test "x$LINE" != x
; then
3978 eval "DEFAULT_$LINE"
3983 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3988 eval "$ac_cv_use_geometry"
3989 if test "$no_cache" != 1; then
3990 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3993 if test "$wxUSE_GEOMETRY" = yes; then
3994 echo "$ac_t""yes" 1>&6
3996 echo "$ac_t""no" 1>&6
4001 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4002 echo "configure:4003: checking for --${enablestring:-enable}-log" >&5
4004 # Check whether --enable-log or --disable-log was given.
4005 if test "${enable_log+set}" = set; then
4006 enableval
="$enable_log"
4008 if test "$enableval" = yes; then
4009 ac_cv_use_log
='wxUSE_LOG=yes'
4011 ac_cv_use_log
='wxUSE_LOG=no'
4016 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x
; then
4018 eval "DEFAULT_$LINE"
4023 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4028 eval "$ac_cv_use_log"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4033 if test "$wxUSE_LOG" = yes; then
4034 echo "$ac_t""yes" 1>&6
4036 echo "$ac_t""no" 1>&6
4041 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4042 echo "configure:4043: checking for --${enablestring:-enable}-streams" >&5
4044 # Check whether --enable-streams or --disable-streams was given.
4045 if test "${enable_streams+set}" = set; then
4046 enableval
="$enable_streams"
4048 if test "$enableval" = yes; then
4049 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4051 ac_cv_use_streams
='wxUSE_STREAMS=no'
4056 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4057 if test "x$LINE" != x
; then
4058 eval "DEFAULT_$LINE"
4063 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4068 eval "$ac_cv_use_streams"
4069 if test "$no_cache" != 1; then
4070 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4073 if test "$wxUSE_STREAMS" = yes; then
4074 echo "$ac_t""yes" 1>&6
4076 echo "$ac_t""no" 1>&6
4081 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4082 echo "configure:4083: checking for --${enablestring:-enable}-file" >&5
4084 # Check whether --enable-file or --disable-file was given.
4085 if test "${enable_file+set}" = set; then
4086 enableval
="$enable_file"
4088 if test "$enableval" = yes; then
4089 ac_cv_use_file
='wxUSE_FILE=yes'
4091 ac_cv_use_file
='wxUSE_FILE=no'
4096 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4097 if test "x$LINE" != x
; then
4098 eval "DEFAULT_$LINE"
4103 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4108 eval "$ac_cv_use_file"
4109 if test "$no_cache" != 1; then
4110 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4113 if test "$wxUSE_FILE" = yes; then
4114 echo "$ac_t""yes" 1>&6
4116 echo "$ac_t""no" 1>&6
4121 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4122 echo "configure:4123: checking for --${enablestring:-enable}-ffile" >&5
4124 # Check whether --enable-ffile or --disable-ffile was given.
4125 if test "${enable_ffile+set}" = set; then
4126 enableval
="$enable_ffile"
4128 if test "$enableval" = yes; then
4129 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4131 ac_cv_use_ffile
='wxUSE_FFILE=no'
4136 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4137 if test "x$LINE" != x
; then
4138 eval "DEFAULT_$LINE"
4143 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4148 eval "$ac_cv_use_ffile"
4149 if test "$no_cache" != 1; then
4150 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4153 if test "$wxUSE_FFILE" = yes; then
4154 echo "$ac_t""yes" 1>&6
4156 echo "$ac_t""no" 1>&6
4161 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4162 echo "configure:4163: checking for --${enablestring:-enable}-textbuf" >&5
4164 # Check whether --enable-textbuf or --disable-textbuf was given.
4165 if test "${enable_textbuf+set}" = set; then
4166 enableval
="$enable_textbuf"
4168 if test "$enableval" = yes; then
4169 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4171 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4176 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4177 if test "x$LINE" != x
; then
4178 eval "DEFAULT_$LINE"
4183 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4188 eval "$ac_cv_use_textbuf"
4189 if test "$no_cache" != 1; then
4190 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4193 if test "$wxUSE_TEXTBUFFER" = yes; then
4194 echo "$ac_t""yes" 1>&6
4196 echo "$ac_t""no" 1>&6
4201 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4202 echo "configure:4203: checking for --${enablestring:-enable}-textfile" >&5
4204 # Check whether --enable-textfile or --disable-textfile was given.
4205 if test "${enable_textfile+set}" = set; then
4206 enableval
="$enable_textfile"
4208 if test "$enableval" = yes; then
4209 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4211 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4216 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4217 if test "x$LINE" != x
; then
4218 eval "DEFAULT_$LINE"
4223 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4228 eval "$ac_cv_use_textfile"
4229 if test "$no_cache" != 1; then
4230 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4233 if test "$wxUSE_TEXTFILE" = yes; then
4234 echo "$ac_t""yes" 1>&6
4236 echo "$ac_t""no" 1>&6
4241 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4242 echo "configure:4243: checking for --${enablestring:-enable}-fontmap" >&5
4244 # Check whether --enable-fontmap or --disable-fontmap was given.
4245 if test "${enable_fontmap+set}" = set; then
4246 enableval
="$enable_fontmap"
4248 if test "$enableval" = yes; then
4249 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4251 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4256 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4257 if test "x$LINE" != x
; then
4258 eval "DEFAULT_$LINE"
4263 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4268 eval "$ac_cv_use_fontmap"
4269 if test "$no_cache" != 1; then
4270 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4273 if test "$wxUSE_FONTMAP" = yes; then
4274 echo "$ac_t""yes" 1>&6
4276 echo "$ac_t""no" 1>&6
4281 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4282 echo "configure:4283: checking for --${enablestring:-enable}-unicode" >&5
4284 # Check whether --enable-unicode or --disable-unicode was given.
4285 if test "${enable_unicode+set}" = set; then
4286 enableval
="$enable_unicode"
4288 if test "$enableval" = yes; then
4289 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4291 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4296 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x
; then
4298 eval "DEFAULT_$LINE"
4303 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4308 eval "$ac_cv_use_unicode"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4313 if test "$wxUSE_UNICODE" = yes; then
4314 echo "$ac_t""yes" 1>&6
4316 echo "$ac_t""no" 1>&6
4321 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4322 echo "configure:4323: checking for --${enablestring:-enable}-mslu" >&5
4324 # Check whether --enable-mslu or --disable-mslu was given.
4325 if test "${enable_mslu+set}" = set; then
4326 enableval
="$enable_mslu"
4328 if test "$enableval" = yes; then
4329 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4331 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4336 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4337 if test "x$LINE" != x
; then
4338 eval "DEFAULT_$LINE"
4343 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4348 eval "$ac_cv_use_mslu"
4349 if test "$no_cache" != 1; then
4350 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4353 if test "$wxUSE_UNICODE_MSLU" = yes; then
4354 echo "$ac_t""yes" 1>&6
4356 echo "$ac_t""no" 1>&6
4361 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4362 echo "configure:4363: checking for --${enablestring:-enable}-wxprintfv" >&5
4364 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4365 if test "${enable_wxprintfv+set}" = set; then
4366 enableval
="$enable_wxprintfv"
4368 if test "$enableval" = yes; then
4369 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4371 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4376 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x
; then
4378 eval "DEFAULT_$LINE"
4383 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4388 eval "$ac_cv_use_wxprintfv"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4394 echo "$ac_t""yes" 1>&6
4396 echo "$ac_t""no" 1>&6
4401 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4402 echo "configure:4403: checking for --${enablestring:-enable}-std_iostreams" >&5
4404 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4405 if test "${enable_std_iostreams+set}" = set; then
4406 enableval
="$enable_std_iostreams"
4408 if test "$enableval" = yes; then
4409 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4411 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4416 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x
; then
4418 eval "DEFAULT_$LINE"
4423 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4428 eval "$ac_cv_use_std_iostreams"
4429 if test "$no_cache" != 1; then
4430 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4433 if test "$wxUSE_STD_IOSTREAM" = yes; then
4434 echo "$ac_t""yes" 1>&6
4436 echo "$ac_t""no" 1>&6
4441 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4442 echo "configure:4443: checking for --${enablestring:-enable}-filesystem" >&5
4444 # Check whether --enable-filesystem or --disable-filesystem was given.
4445 if test "${enable_filesystem+set}" = set; then
4446 enableval
="$enable_filesystem"
4448 if test "$enableval" = yes; then
4449 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4451 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4456 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x
; then
4458 eval "DEFAULT_$LINE"
4463 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4468 eval "$ac_cv_use_filesystem"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4473 if test "$wxUSE_FILESYSTEM" = yes; then
4474 echo "$ac_t""yes" 1>&6
4476 echo "$ac_t""no" 1>&6
4481 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4482 echo "configure:4483: checking for --${enablestring:-enable}-fs_inet" >&5
4484 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4485 if test "${enable_fs_inet+set}" = set; then
4486 enableval
="$enable_fs_inet"
4488 if test "$enableval" = yes; then
4489 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4491 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4496 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4497 if test "x$LINE" != x
; then
4498 eval "DEFAULT_$LINE"
4503 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4508 eval "$ac_cv_use_fs_inet"
4509 if test "$no_cache" != 1; then
4510 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4513 if test "$wxUSE_FS_INET" = yes; then
4514 echo "$ac_t""yes" 1>&6
4516 echo "$ac_t""no" 1>&6
4521 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4522 echo "configure:4523: checking for --${enablestring:-enable}-fs_zip" >&5
4524 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4525 if test "${enable_fs_zip+set}" = set; then
4526 enableval
="$enable_fs_zip"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4531 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4536 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x
; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4548 eval "$ac_cv_use_fs_zip"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_FS_ZIP" = yes; then
4554 echo "$ac_t""yes" 1>&6
4556 echo "$ac_t""no" 1>&6
4561 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4562 echo "configure:4563: checking for --${enablestring:-enable}-zipstream" >&5
4564 # Check whether --enable-zipstream or --disable-zipstream was given.
4565 if test "${enable_zipstream+set}" = set; then
4566 enableval
="$enable_zipstream"
4568 if test "$enableval" = yes; then
4569 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4571 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4576 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4577 if test "x$LINE" != x
; then
4578 eval "DEFAULT_$LINE"
4583 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4588 eval "$ac_cv_use_zipstream"
4589 if test "$no_cache" != 1; then
4590 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4593 if test "$wxUSE_ZIPSTREAM" = yes; then
4594 echo "$ac_t""yes" 1>&6
4596 echo "$ac_t""no" 1>&6
4602 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4603 echo "configure:4604: checking for --${enablestring:-enable}-catch_segvs" >&5
4605 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4606 if test "${enable_catch_segvs+set}" = set; then
4607 enableval
="$enable_catch_segvs"
4609 if test "$enableval" = yes; then
4610 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4612 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4617 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4618 if test "x$LINE" != x
; then
4619 eval "DEFAULT_$LINE"
4624 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4629 eval "$ac_cv_use_catch_segvs"
4630 if test "$no_cache" != 1; then
4631 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4634 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4635 echo "$ac_t""yes" 1>&6
4637 echo "$ac_t""no" 1>&6
4642 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4643 echo "configure:4644: checking for --${enablestring:-enable}-snglinst" >&5
4645 # Check whether --enable-snglinst or --disable-snglinst was given.
4646 if test "${enable_snglinst+set}" = set; then
4647 enableval
="$enable_snglinst"
4649 if test "$enableval" = yes; then
4650 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4652 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4657 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4658 if test "x$LINE" != x
; then
4659 eval "DEFAULT_$LINE"
4664 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4669 eval "$ac_cv_use_snglinst"
4670 if test "$no_cache" != 1; then
4671 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4674 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4675 echo "$ac_t""yes" 1>&6
4677 echo "$ac_t""no" 1>&6
4683 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4684 echo "configure:4685: checking for --${enablestring:-enable}-mimetype" >&5
4686 # Check whether --enable-mimetype or --disable-mimetype was given.
4687 if test "${enable_mimetype+set}" = set; then
4688 enableval
="$enable_mimetype"
4690 if test "$enableval" = yes; then
4691 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4693 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4698 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4699 if test "x$LINE" != x
; then
4700 eval "DEFAULT_$LINE"
4705 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4710 eval "$ac_cv_use_mimetype"
4711 if test "$no_cache" != 1; then
4712 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4715 if test "$wxUSE_MIMETYPE" = yes; then
4716 echo "$ac_t""yes" 1>&6
4718 echo "$ac_t""no" 1>&6
4723 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4724 echo "configure:4725: checking for --${enablestring:-enable}-system_options" >&5
4726 # Check whether --enable-system_options or --disable-system_options was given.
4727 if test "${enable_system_options+set}" = set; then
4728 enableval
="$enable_system_options"
4730 if test "$enableval" = yes; then
4731 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4733 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4738 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4739 if test "x$LINE" != x
; then
4740 eval "DEFAULT_$LINE"
4745 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4750 eval "$ac_cv_use_system_options"
4751 if test "$no_cache" != 1; then
4752 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4755 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4756 echo "$ac_t""yes" 1>&6
4758 echo "$ac_t""no" 1>&6
4764 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4765 echo "configure:4766: checking for --${enablestring:-enable}-url" >&5
4767 # Check whether --enable-url or --disable-url was given.
4768 if test "${enable_url+set}" = set; then
4769 enableval
="$enable_url"
4771 if test "$enableval" = yes; then
4772 ac_cv_use_url
='wxUSE_URL=yes'
4774 ac_cv_use_url
='wxUSE_URL=no'
4779 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4780 if test "x$LINE" != x
; then
4781 eval "DEFAULT_$LINE"
4786 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4791 eval "$ac_cv_use_url"
4792 if test "$no_cache" != 1; then
4793 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4796 if test "$wxUSE_URL" = yes; then
4797 echo "$ac_t""yes" 1>&6
4799 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4805 echo "configure:4806: checking for --${enablestring:-enable}-protocol" >&5
4807 # Check whether --enable-protocol or --disable-protocol was given.
4808 if test "${enable_protocol+set}" = set; then
4809 enableval
="$enable_protocol"
4811 if test "$enableval" = yes; then
4812 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4814 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4819 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x
; then
4821 eval "DEFAULT_$LINE"
4826 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4831 eval "$ac_cv_use_protocol"
4832 if test "$no_cache" != 1; then
4833 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4836 if test "$wxUSE_PROTOCOL" = yes; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4844 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4845 echo "configure:4846: checking for --${enablestring:-enable}-protocol_http" >&5
4847 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4848 if test "${enable_protocol_http+set}" = set; then
4849 enableval
="$enable_protocol_http"
4851 if test "$enableval" = yes; then
4852 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4854 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4859 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4860 if test "x$LINE" != x
; then
4861 eval "DEFAULT_$LINE"
4866 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4871 eval "$ac_cv_use_protocol_http"
4872 if test "$no_cache" != 1; then
4873 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4876 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4877 echo "$ac_t""yes" 1>&6
4879 echo "$ac_t""no" 1>&6
4884 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4885 echo "configure:4886: checking for --${enablestring:-enable}-protocol_ftp" >&5
4887 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4888 if test "${enable_protocol_ftp+set}" = set; then
4889 enableval
="$enable_protocol_ftp"
4891 if test "$enableval" = yes; then
4892 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4894 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4899 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x
; then
4901 eval "DEFAULT_$LINE"
4906 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4911 eval "$ac_cv_use_protocol_ftp"
4912 if test "$no_cache" != 1; then
4913 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4916 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4917 echo "$ac_t""yes" 1>&6
4919 echo "$ac_t""no" 1>&6
4924 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4925 echo "configure:4926: checking for --${enablestring:-enable}-protocol_file" >&5
4927 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4928 if test "${enable_protocol_file+set}" = set; then
4929 enableval
="$enable_protocol_file"
4931 if test "$enableval" = yes; then
4932 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4934 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4939 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4940 if test "x$LINE" != x
; then
4941 eval "DEFAULT_$LINE"
4946 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4951 eval "$ac_cv_use_protocol_file"
4952 if test "$no_cache" != 1; then
4953 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4956 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4957 echo "$ac_t""yes" 1>&6
4959 echo "$ac_t""no" 1>&6
4967 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4968 echo "configure:4969: checking for --${enablestring:-enable}-threads" >&5
4970 # Check whether --enable-threads or --disable-threads was given.
4971 if test "${enable_threads+set}" = set; then
4972 enableval
="$enable_threads"
4974 if test "$enableval" = yes; then
4975 ac_cv_use_threads
='wxUSE_THREADS=yes'
4977 ac_cv_use_threads
='wxUSE_THREADS=no'
4982 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4983 if test "x$LINE" != x
; then
4984 eval "DEFAULT_$LINE"
4989 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4994 eval "$ac_cv_use_threads"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_THREADS" = yes; then
5000 echo "$ac_t""yes" 1>&6
5002 echo "$ac_t""no" 1>&6
5006 if test "$wxUSE_GUI" = "yes"; then
5011 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5012 echo "configure:5013: checking for --${enablestring:-enable}-docview" >&5
5014 # Check whether --enable-docview or --disable-docview was given.
5015 if test "${enable_docview+set}" = set; then
5016 enableval
="$enable_docview"
5018 if test "$enableval" = yes; then
5019 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5021 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5026 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5027 if test "x$LINE" != x
; then
5028 eval "DEFAULT_$LINE"
5033 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5038 eval "$ac_cv_use_docview"
5039 if test "$no_cache" != 1; then
5040 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5043 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5044 echo "$ac_t""yes" 1>&6
5046 echo "$ac_t""no" 1>&6
5051 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5052 echo "configure:5053: checking for --${enablestring:-enable}-help" >&5
5054 # Check whether --enable-help or --disable-help was given.
5055 if test "${enable_help+set}" = set; then
5056 enableval
="$enable_help"
5058 if test "$enableval" = yes; then
5059 ac_cv_use_help
='wxUSE_HELP=yes'
5061 ac_cv_use_help
='wxUSE_HELP=no'
5066 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x
; then
5068 eval "DEFAULT_$LINE"
5073 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5078 eval "$ac_cv_use_help"
5079 if test "$no_cache" != 1; then
5080 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5083 if test "$wxUSE_HELP" = yes; then
5084 echo "$ac_t""yes" 1>&6
5086 echo "$ac_t""no" 1>&6
5091 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5092 echo "configure:5093: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5094 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5095 if test "${enable_mshtmlhelp+set}" = set; then
5096 enableval
="$enable_mshtmlhelp"
5098 if test "$enableval" = yes; then
5099 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5101 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5106 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x
; then
5108 eval "DEFAULT_$LINE"
5113 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5118 eval "$ac_cv_use_mshtmlhelp"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5123 if test "$wxUSE_MS_HTML_HELP" = yes; then
5124 echo "$ac_t""yes" 1>&6
5126 echo "$ac_t""no" 1>&6
5131 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5132 echo "configure:5133: checking for --${enablestring:-enable}-html" >&5
5134 # Check whether --enable-html or --disable-html was given.
5135 if test "${enable_html+set}" = set; then
5136 enableval
="$enable_html"
5138 if test "$enableval" = yes; then
5139 ac_cv_use_html
='wxUSE_HTML=yes'
5141 ac_cv_use_html
='wxUSE_HTML=no'
5146 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5147 if test "x$LINE" != x
; then
5148 eval "DEFAULT_$LINE"
5153 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5158 eval "$ac_cv_use_html"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_HTML" = yes; then
5164 echo "$ac_t""yes" 1>&6
5166 echo "$ac_t""no" 1>&6
5171 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5172 echo "configure:5173: checking for --${enablestring:-enable}-htmlhelp" >&5
5174 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5175 if test "${enable_htmlhelp+set}" = set; then
5176 enableval
="$enable_htmlhelp"
5178 if test "$enableval" = yes; then
5179 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5181 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5186 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5187 if test "x$LINE" != x
; then
5188 eval "DEFAULT_$LINE"
5193 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5198 eval "$ac_cv_use_htmlhelp"
5199 if test "$no_cache" != 1; then
5200 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5203 if test "$wxUSE_WXHTML_HELP" = yes; then
5204 echo "$ac_t""yes" 1>&6
5206 echo "$ac_t""no" 1>&6
5211 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5212 echo "configure:5213: checking for --${enablestring:-enable}-constraints" >&5
5214 # Check whether --enable-constraints or --disable-constraints was given.
5215 if test "${enable_constraints+set}" = set; then
5216 enableval
="$enable_constraints"
5218 if test "$enableval" = yes; then
5219 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5221 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5226 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x
; then
5228 eval "DEFAULT_$LINE"
5233 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5238 eval "$ac_cv_use_constraints"
5239 if test "$no_cache" != 1; then
5240 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5243 if test "$wxUSE_CONSTRAINTS" = yes; then
5244 echo "$ac_t""yes" 1>&6
5246 echo "$ac_t""no" 1>&6
5251 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5252 echo "configure:5253: checking for --${enablestring:-enable}-printarch" >&5
5254 # Check whether --enable-printarch or --disable-printarch was given.
5255 if test "${enable_printarch+set}" = set; then
5256 enableval
="$enable_printarch"
5258 if test "$enableval" = yes; then
5259 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5261 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5266 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5267 if test "x$LINE" != x
; then
5268 eval "DEFAULT_$LINE"
5273 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5278 eval "$ac_cv_use_printarch"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5284 echo "$ac_t""yes" 1>&6
5286 echo "$ac_t""no" 1>&6
5291 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5292 echo "configure:5293: checking for --${enablestring:-enable}-mdi" >&5
5294 # Check whether --enable-mdi or --disable-mdi was given.
5295 if test "${enable_mdi+set}" = set; then
5296 enableval
="$enable_mdi"
5298 if test "$enableval" = yes; then
5299 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5301 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5306 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5307 if test "x$LINE" != x
; then
5308 eval "DEFAULT_$LINE"
5313 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5318 eval "$ac_cv_use_mdi"
5319 if test "$no_cache" != 1; then
5320 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5323 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5324 echo "$ac_t""yes" 1>&6
5326 echo "$ac_t""no" 1>&6
5331 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5332 echo "configure:5333: checking for --${enablestring:-enable}-loggui" >&5
5334 # Check whether --enable-loggui or --disable-loggui was given.
5335 if test "${enable_loggui+set}" = set; then
5336 enableval
="$enable_loggui"
5338 if test "$enableval" = yes; then
5339 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5341 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5346 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5347 if test "x$LINE" != x
; then
5348 eval "DEFAULT_$LINE"
5353 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5358 eval "$ac_cv_use_loggui"
5359 if test "$no_cache" != 1; then
5360 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5363 if test "$wxUSE_LOGGUI" = yes; then
5364 echo "$ac_t""yes" 1>&6
5366 echo "$ac_t""no" 1>&6
5371 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5372 echo "configure:5373: checking for --${enablestring:-enable}-logwin" >&5
5374 # Check whether --enable-logwin or --disable-logwin was given.
5375 if test "${enable_logwin+set}" = set; then
5376 enableval
="$enable_logwin"
5378 if test "$enableval" = yes; then
5379 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5381 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5386 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5387 if test "x$LINE" != x
; then
5388 eval "DEFAULT_$LINE"
5393 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5398 eval "$ac_cv_use_logwin"
5399 if test "$no_cache" != 1; then
5400 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5403 if test "$wxUSE_LOGWINDOW" = yes; then
5404 echo "$ac_t""yes" 1>&6
5406 echo "$ac_t""no" 1>&6
5411 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5412 echo "configure:5413: checking for --${enablestring:-enable}-logdialog" >&5
5414 # Check whether --enable-logdialog or --disable-logdialog was given.
5415 if test "${enable_logdialog+set}" = set; then
5416 enableval
="$enable_logdialog"
5418 if test "$enableval" = yes; then
5419 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5421 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5426 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5427 if test "x$LINE" != x
; then
5428 eval "DEFAULT_$LINE"
5433 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5438 eval "$ac_cv_use_logdialog"
5439 if test "$no_cache" != 1; then
5440 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5443 if test "$wxUSE_LOGDIALOG" = yes; then
5444 echo "$ac_t""yes" 1>&6
5446 echo "$ac_t""no" 1>&6
5452 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5453 echo "configure:5454: checking for --${enablestring:-enable}-postscript" >&5
5455 # Check whether --enable-postscript or --disable-postscript was given.
5456 if test "${enable_postscript+set}" = set; then
5457 enableval
="$enable_postscript"
5459 if test "$enableval" = yes; then
5460 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5462 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5467 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5468 if test "x$LINE" != x
; then
5469 eval "DEFAULT_$LINE"
5474 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5479 eval "$ac_cv_use_postscript"
5480 if test "$no_cache" != 1; then
5481 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5484 if test "$wxUSE_POSTSCRIPT" = yes; then
5485 echo "$ac_t""yes" 1>&6
5487 echo "$ac_t""no" 1>&6
5495 echo $ac_n "checking for --${enablestring:-enable}-prologio""... $ac_c" 1>&6
5496 echo "configure:5497: checking for --${enablestring:-enable}-prologio" >&5
5498 # Check whether --enable-prologio or --disable-prologio was given.
5499 if test "${enable_prologio+set}" = set; then
5500 enableval
="$enable_prologio"
5502 if test "$enableval" = yes; then
5503 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5505 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5510 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5511 if test "x$LINE" != x
; then
5512 eval "DEFAULT_$LINE"
5517 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5522 eval "$ac_cv_use_prologio"
5523 if test "$no_cache" != 1; then
5524 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5527 if test "$wxUSE_PROLOGIO" = yes; then
5528 echo "$ac_t""yes" 1>&6
5530 echo "$ac_t""no" 1>&6
5535 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5536 echo "configure:5537: checking for --${enablestring:-enable}-resources" >&5
5538 # Check whether --enable-resources or --disable-resources was given.
5539 if test "${enable_resources+set}" = set; then
5540 enableval
="$enable_resources"
5542 if test "$enableval" = yes; then
5543 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5545 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5550 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5551 if test "x$LINE" != x
; then
5552 eval "DEFAULT_$LINE"
5557 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5562 eval "$ac_cv_use_resources"
5563 if test "$no_cache" != 1; then
5564 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5567 if test "$wxUSE_RESOURCES" = yes; then
5568 echo "$ac_t""yes" 1>&6
5570 echo "$ac_t""no" 1>&6
5576 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5577 echo "configure:5578: checking for --${enablestring:-enable}-xresources" >&5
5579 # Check whether --enable-xresources or --disable-xresources was given.
5580 if test "${enable_xresources+set}" = set; then
5581 enableval
="$enable_xresources"
5583 if test "$enableval" = yes; then
5584 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5586 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5591 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5592 if test "x$LINE" != x
; then
5593 eval "DEFAULT_$LINE"
5598 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5603 eval "$ac_cv_use_xresources"
5604 if test "$no_cache" != 1; then
5605 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5608 if test "$wxUSE_X_RESOURCES" = yes; then
5609 echo "$ac_t""yes" 1>&6
5611 echo "$ac_t""no" 1>&6
5618 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5619 echo "configure:5620: checking for --${enablestring:-enable}-clipboard" >&5
5621 # Check whether --enable-clipboard or --disable-clipboard was given.
5622 if test "${enable_clipboard+set}" = set; then
5623 enableval
="$enable_clipboard"
5625 if test "$enableval" = yes; then
5626 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5628 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5633 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5634 if test "x$LINE" != x
; then
5635 eval "DEFAULT_$LINE"
5640 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5645 eval "$ac_cv_use_clipboard"
5646 if test "$no_cache" != 1; then
5647 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5650 if test "$wxUSE_CLIPBOARD" = yes; then
5651 echo "$ac_t""yes" 1>&6
5653 echo "$ac_t""no" 1>&6
5658 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5659 echo "configure:5660: checking for --${enablestring:-enable}-dnd" >&5
5661 # Check whether --enable-dnd or --disable-dnd was given.
5662 if test "${enable_dnd+set}" = set; then
5663 enableval
="$enable_dnd"
5665 if test "$enableval" = yes; then
5666 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5668 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5673 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5674 if test "x$LINE" != x
; then
5675 eval "DEFAULT_$LINE"
5680 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5685 eval "$ac_cv_use_dnd"
5686 if test "$no_cache" != 1; then
5687 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5690 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5691 echo "$ac_t""yes" 1>&6
5693 echo "$ac_t""no" 1>&6
5698 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5699 echo "configure:5700: checking for --${enablestring:-enable}-metafile" >&5
5701 # Check whether --enable-metafile or --disable-metafile was given.
5702 if test "${enable_metafile+set}" = set; then
5703 enableval
="$enable_metafile"
5705 if test "$enableval" = yes; then
5706 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5708 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5713 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5714 if test "x$LINE" != x
; then
5715 eval "DEFAULT_$LINE"
5720 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5725 eval "$ac_cv_use_metafile"
5726 if test "$no_cache" != 1; then
5727 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5730 if test "$wxUSE_METAFILE" = yes; then
5731 echo "$ac_t""yes" 1>&6
5733 echo "$ac_t""no" 1>&6
5739 echo $ac_n "checking for --${enablestring:-enable}-treelayout""... $ac_c" 1>&6
5740 echo "configure:5741: checking for --${enablestring:-enable}-treelayout" >&5
5742 # Check whether --enable-treelayout or --disable-treelayout was given.
5743 if test "${enable_treelayout+set}" = set; then
5744 enableval
="$enable_treelayout"
5746 if test "$enableval" = yes; then
5747 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5749 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5754 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5755 if test "x$LINE" != x
; then
5756 eval "DEFAULT_$LINE"
5761 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5766 eval "$ac_cv_use_treelayout"
5767 if test "$no_cache" != 1; then
5768 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5771 if test "$wxUSE_TREELAYOUT" = yes; then
5772 echo "$ac_t""yes" 1>&6
5774 echo "$ac_t""no" 1>&6
5781 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5782 echo "configure:5783: checking for --${enablestring:-enable}-controls" >&5
5784 # Check whether --enable-controls or --disable-controls was given.
5785 if test "${enable_controls+set}" = set; then
5786 enableval
="$enable_controls"
5788 if test "$enableval" = yes; then
5789 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5791 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5796 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5797 if test "x$LINE" != x
; then
5798 eval "DEFAULT_$LINE"
5803 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5808 eval "$ac_cv_use_controls"
5809 if test "$no_cache" != 1; then
5810 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5813 if test "$wxUSE_CONTROLS" = yes; then
5814 echo "$ac_t""yes" 1>&6
5816 echo "$ac_t""no" 1>&6
5820 if test "$wxUSE_CONTROLS" = "yes"; then
5821 DEFAULT_wxUSE_ACCEL
=yes
5822 DEFAULT_wxUSE_BMPBUTTON
=yes
5823 DEFAULT_wxUSE_BUTTON
=yes
5824 DEFAULT_wxUSE_CALCTRL
=no
5825 DEFAULT_wxUSE_CARET
=yes
5826 DEFAULT_wxUSE_COMBOBOX
=yes
5827 DEFAULT_wxUSE_CHECKBOX
=yes
5828 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5829 DEFAULT_wxUSE_CHOICE
=yes
5830 DEFAULT_wxUSE_GAUGE
=yes
5831 DEFAULT_wxUSE_GRID
=yes
5832 DEFAULT_wxUSE_IMAGLIST
=yes
5833 DEFAULT_wxUSE_LISTBOX
=yes
5834 DEFAULT_wxUSE_LISTCTRL
=yes
5835 DEFAULT_wxUSE_NOTEBOOK
=yes
5836 DEFAULT_wxUSE_PROPSHEET
=yes
5837 DEFAULT_wxUSE_RADIOBOX
=yes
5838 DEFAULT_wxUSE_RADIOBTN
=yes
5839 DEFAULT_wxUSE_SASH
=yes
5840 DEFAULT_wxUSE_SCROLLBAR
=yes
5841 DEFAULT_wxUSE_SLIDER
=yes
5842 DEFAULT_wxUSE_SPINBTN
=yes
5843 DEFAULT_wxUSE_SPINCTRL
=yes
5844 DEFAULT_wxUSE_SPLITTER
=yes
5845 DEFAULT_wxUSE_STATBMP
=yes
5846 DEFAULT_wxUSE_STATBOX
=yes
5847 DEFAULT_wxUSE_STATLINE
=yes
5848 DEFAULT_wxUSE_STATUSBAR
=yes
5849 DEFAULT_wxUSE_TAB_DIALOG
=yes
5850 DEFAULT_wxUSE_TOGGLEBTN
=yes
5851 DEFAULT_wxUSE_TOOLBAR
=yes
5852 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5853 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5854 DEFAULT_wxUSE_TOOLTIPS
=yes
5855 DEFAULT_wxUSE_TREECTRL
=yes
5856 DEFAULT_wxUSE_POPUPWIN
=yes
5857 DEFAULT_wxUSE_TIPWINDOW
=yes
5858 elif test "$wxUSE_CONTROLS" = "no"; then
5859 DEFAULT_wxUSE_ACCEL
=no
5860 DEFAULT_wxUSE_BMPBUTTON
=no
5861 DEFAULT_wxUSE_BUTTON
=no
5862 DEFAULT_wxUSE_CALCTRL
=no
5863 DEFAULT_wxUSE_CARET
=no
5864 DEFAULT_wxUSE_COMBOBOX
=no
5865 DEFAULT_wxUSE_CHECKBOX
=no
5866 DEFAULT_wxUSE_CHECKLISTBOX
=no
5867 DEFAULT_wxUSE_CHOICE
=no
5868 DEFAULT_wxUSE_GAUGE
=no
5869 DEFAULT_wxUSE_GRID
=no
5870 DEFAULT_wxUSE_IMAGLIST
=no
5871 DEFAULT_wxUSE_LISTBOX
=no
5872 DEFAULT_wxUSE_LISTCTRL
=no
5873 DEFAULT_wxUSE_NOTEBOOK
=no
5874 DEFAULT_wxUSE_PROPSHEET
=no
5875 DEFAULT_wxUSE_RADIOBOX
=no
5876 DEFAULT_wxUSE_RADIOBTN
=no
5877 DEFAULT_wxUSE_SASH
=no
5878 DEFAULT_wxUSE_SCROLLBAR
=no
5879 DEFAULT_wxUSE_SLIDER
=no
5880 DEFAULT_wxUSE_SPINBTN
=no
5881 DEFAULT_wxUSE_SPINCTRL
=no
5882 DEFAULT_wxUSE_SPLITTER
=no
5883 DEFAULT_wxUSE_STATBMP
=no
5884 DEFAULT_wxUSE_STATBOX
=no
5885 DEFAULT_wxUSE_STATLINE
=no
5886 DEFAULT_wxUSE_STATUSBAR
=no
5887 DEFAULT_wxUSE_TAB_DIALOG
=no
5888 DEFAULT_wxUSE_TOGGLEBTN
=no
5889 DEFAULT_wxUSE_TOOLBAR
=no
5890 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5891 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5892 DEFAULT_wxUSE_TOOLTIPS
=no
5893 DEFAULT_wxUSE_TREECTRL
=no
5894 DEFAULT_wxUSE_POPUPWIN
=no
5895 DEFAULT_wxUSE_TIPWINDOW
=no
5898 ## FIXME: This is a blatant hack
5899 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5900 wxUSE_PRINTING_ARCHITECTURE
=no
5903 wxUSE_DRAG_AND_DROP
=no
5905 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5906 DEFAULT_wxUSE_TEXTDLG
=no
5907 DEFAULT_wxUSE_GAUGE
=no
5908 DEFAULT_wxUSE_SCROLLBAR
=no
5909 DEFAULT_wxUSE_SLIDER
=no
5910 DEFAULT_wxUSE_COMBOBOX
=no
5911 DEFAULT_wxUSE_CALCTRL
=no
5912 DEFAULT_wxUSE_SPINBTN
=no
5913 DEFAULT_wxUSE_SPINCTRL
=no
5914 DEFAULT_wxUSE_TOOLTIPS
=no
5915 DEFAULT_wxUSE_COLOURDLG
=no
5916 DEFAULT_wxUSE_DIRDLG
=no
5917 DEFAULT_wxUSE_DRAGIMAGE
=no
5918 DEFAULT_wxUSE_FINDREPLDLG
=no
5919 DEFAULT_wxUSE_FONTDLG
=no
5920 DEFAULT_wxUSE_GRID
=no
5921 DEFAULT_wxUSE_NUMBERDLG
=no
5922 DEFAULT_wxUSE_PROGRESSDLG
=no
5923 DEFAULT_wxUSE_PROPSHEET
=no
5924 DEFAULT_wxUSE_SASH
=no
5925 DEFAULT_wxUSE_SPLITTER
=no
5926 DEFAULT_wxUSE_WIZARDDLG
=no
5927 DEFAULT_wxUSE_SPLITTER
=no
5928 DEFAULT_wxUSE_STARTUP_TIPS
=no
5929 DEFAULT_wxUSE_TREECTRL
=no
5934 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5935 echo "configure:5936: checking for --${enablestring:-enable}-accel" >&5
5937 # Check whether --enable-accel or --disable-accel was given.
5938 if test "${enable_accel+set}" = set; then
5939 enableval
="$enable_accel"
5941 if test "$enableval" = yes; then
5942 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5944 ac_cv_use_accel
='wxUSE_ACCEL=no'
5949 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5950 if test "x$LINE" != x
; then
5951 eval "DEFAULT_$LINE"
5956 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5961 eval "$ac_cv_use_accel"
5962 if test "$no_cache" != 1; then
5963 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5966 if test "$wxUSE_ACCEL" = yes; then
5967 echo "$ac_t""yes" 1>&6
5969 echo "$ac_t""no" 1>&6
5974 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5975 echo "configure:5976: checking for --${enablestring:-enable}-button" >&5
5977 # Check whether --enable-button or --disable-button was given.
5978 if test "${enable_button+set}" = set; then
5979 enableval
="$enable_button"
5981 if test "$enableval" = yes; then
5982 ac_cv_use_button
='wxUSE_BUTTON=yes'
5984 ac_cv_use_button
='wxUSE_BUTTON=no'
5989 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x
; then
5991 eval "DEFAULT_$LINE"
5996 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
6001 eval "$ac_cv_use_button"
6002 if test "$no_cache" != 1; then
6003 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
6006 if test "$wxUSE_BUTTON" = yes; then
6007 echo "$ac_t""yes" 1>&6
6009 echo "$ac_t""no" 1>&6
6014 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
6015 echo "configure:6016: checking for --${enablestring:-enable}-bmpbutton" >&5
6017 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
6018 if test "${enable_bmpbutton+set}" = set; then
6019 enableval
="$enable_bmpbutton"
6021 if test "$enableval" = yes; then
6022 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
6024 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
6029 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
6030 if test "x$LINE" != x
; then
6031 eval "DEFAULT_$LINE"
6036 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
6041 eval "$ac_cv_use_bmpbutton"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
6046 if test "$wxUSE_BMPBUTTON" = yes; then
6047 echo "$ac_t""yes" 1>&6
6049 echo "$ac_t""no" 1>&6
6054 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
6055 echo "configure:6056: checking for --${enablestring:-enable}-calendar" >&5
6057 # Check whether --enable-calendar or --disable-calendar was given.
6058 if test "${enable_calendar+set}" = set; then
6059 enableval
="$enable_calendar"
6061 if test "$enableval" = yes; then
6062 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
6064 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6069 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6070 if test "x$LINE" != x
; then
6071 eval "DEFAULT_$LINE"
6076 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6081 eval "$ac_cv_use_calendar"
6082 if test "$no_cache" != 1; then
6083 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6086 if test "$wxUSE_CALCTRL" = yes; then
6087 echo "$ac_t""yes" 1>&6
6089 echo "$ac_t""no" 1>&6
6094 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6095 echo "configure:6096: checking for --${enablestring:-enable}-caret" >&5
6097 # Check whether --enable-caret or --disable-caret was given.
6098 if test "${enable_caret+set}" = set; then
6099 enableval
="$enable_caret"
6101 if test "$enableval" = yes; then
6102 ac_cv_use_caret
='wxUSE_CARET=yes'
6104 ac_cv_use_caret
='wxUSE_CARET=no'
6109 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x
; then
6111 eval "DEFAULT_$LINE"
6116 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6121 eval "$ac_cv_use_caret"
6122 if test "$no_cache" != 1; then
6123 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6126 if test "$wxUSE_CARET" = yes; then
6127 echo "$ac_t""yes" 1>&6
6129 echo "$ac_t""no" 1>&6
6134 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6135 echo "configure:6136: checking for --${enablestring:-enable}-checkbox" >&5
6137 # Check whether --enable-checkbox or --disable-checkbox was given.
6138 if test "${enable_checkbox+set}" = set; then
6139 enableval
="$enable_checkbox"
6141 if test "$enableval" = yes; then
6142 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6144 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6149 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6150 if test "x$LINE" != x
; then
6151 eval "DEFAULT_$LINE"
6156 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6161 eval "$ac_cv_use_checkbox"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6166 if test "$wxUSE_CHECKBOX" = yes; then
6167 echo "$ac_t""yes" 1>&6
6169 echo "$ac_t""no" 1>&6
6174 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6175 echo "configure:6176: checking for --${enablestring:-enable}-checklst" >&5
6177 # Check whether --enable-checklst or --disable-checklst was given.
6178 if test "${enable_checklst+set}" = set; then
6179 enableval
="$enable_checklst"
6181 if test "$enableval" = yes; then
6182 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6184 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6189 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x
; then
6191 eval "DEFAULT_$LINE"
6196 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6201 eval "$ac_cv_use_checklst"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_CHECKLST" = yes; then
6207 echo "$ac_t""yes" 1>&6
6209 echo "$ac_t""no" 1>&6
6214 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6215 echo "configure:6216: checking for --${enablestring:-enable}-choice" >&5
6217 # Check whether --enable-choice or --disable-choice was given.
6218 if test "${enable_choice+set}" = set; then
6219 enableval
="$enable_choice"
6221 if test "$enableval" = yes; then
6222 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6224 ac_cv_use_choice
='wxUSE_CHOICE=no'
6229 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6230 if test "x$LINE" != x
; then
6231 eval "DEFAULT_$LINE"
6236 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6241 eval "$ac_cv_use_choice"
6242 if test "$no_cache" != 1; then
6243 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6246 if test "$wxUSE_CHOICE" = yes; then
6247 echo "$ac_t""yes" 1>&6
6249 echo "$ac_t""no" 1>&6
6254 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6255 echo "configure:6256: checking for --${enablestring:-enable}-combobox" >&5
6257 # Check whether --enable-combobox or --disable-combobox was given.
6258 if test "${enable_combobox+set}" = set; then
6259 enableval
="$enable_combobox"
6261 if test "$enableval" = yes; then
6262 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6264 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6269 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x
; then
6271 eval "DEFAULT_$LINE"
6276 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6281 eval "$ac_cv_use_combobox"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_COMBOBOX" = yes; then
6287 echo "$ac_t""yes" 1>&6
6289 echo "$ac_t""no" 1>&6
6294 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6295 echo "configure:6296: checking for --${enablestring:-enable}-display" >&5
6297 # Check whether --enable-display or --disable-display was given.
6298 if test "${enable_display+set}" = set; then
6299 enableval
="$enable_display"
6301 if test "$enableval" = yes; then
6302 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6304 ac_cv_use_display
='wxUSE_DISPLAY=no'
6309 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6310 if test "x$LINE" != x
; then
6311 eval "DEFAULT_$LINE"
6316 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6321 eval "$ac_cv_use_display"
6322 if test "$no_cache" != 1; then
6323 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6326 if test "$wxUSE_DISPLAY" = yes; then
6327 echo "$ac_t""yes" 1>&6
6329 echo "$ac_t""no" 1>&6
6334 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6335 echo "configure:6336: checking for --${enablestring:-enable}-gauge" >&5
6337 # Check whether --enable-gauge or --disable-gauge was given.
6338 if test "${enable_gauge+set}" = set; then
6339 enableval
="$enable_gauge"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6344 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6349 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x
; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6361 eval "$ac_cv_use_gauge"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6366 if test "$wxUSE_GAUGE" = yes; then
6367 echo "$ac_t""yes" 1>&6
6369 echo "$ac_t""no" 1>&6
6374 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6375 echo "configure:6376: checking for --${enablestring:-enable}-grid" >&5
6377 # Check whether --enable-grid or --disable-grid was given.
6378 if test "${enable_grid+set}" = set; then
6379 enableval
="$enable_grid"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_grid
='wxUSE_GRID=yes'
6384 ac_cv_use_grid
='wxUSE_GRID=no'
6389 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6401 eval "$ac_cv_use_grid"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_GRID" = yes; then
6407 echo "$ac_t""yes" 1>&6
6409 echo "$ac_t""no" 1>&6
6414 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6415 echo "configure:6416: checking for --${enablestring:-enable}-imaglist" >&5
6417 # Check whether --enable-imaglist or --disable-imaglist was given.
6418 if test "${enable_imaglist+set}" = set; then
6419 enableval
="$enable_imaglist"
6421 if test "$enableval" = yes; then
6422 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6424 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6429 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x
; then
6431 eval "DEFAULT_$LINE"
6436 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6441 eval "$ac_cv_use_imaglist"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6446 if test "$wxUSE_IMAGLIST" = yes; then
6447 echo "$ac_t""yes" 1>&6
6449 echo "$ac_t""no" 1>&6
6454 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6455 echo "configure:6456: checking for --${enablestring:-enable}-listbox" >&5
6457 # Check whether --enable-listbox or --disable-listbox was given.
6458 if test "${enable_listbox+set}" = set; then
6459 enableval
="$enable_listbox"
6461 if test "$enableval" = yes; then
6462 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6464 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6469 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6470 if test "x$LINE" != x
; then
6471 eval "DEFAULT_$LINE"
6476 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6481 eval "$ac_cv_use_listbox"
6482 if test "$no_cache" != 1; then
6483 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6486 if test "$wxUSE_LISTBOX" = yes; then
6487 echo "$ac_t""yes" 1>&6
6489 echo "$ac_t""no" 1>&6
6494 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6495 echo "configure:6496: checking for --${enablestring:-enable}-listctrl" >&5
6497 # Check whether --enable-listctrl or --disable-listctrl was given.
6498 if test "${enable_listctrl+set}" = set; then
6499 enableval
="$enable_listctrl"
6501 if test "$enableval" = yes; then
6502 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6504 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6509 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6510 if test "x$LINE" != x
; then
6511 eval "DEFAULT_$LINE"
6516 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6521 eval "$ac_cv_use_listctrl"
6522 if test "$no_cache" != 1; then
6523 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6526 if test "$wxUSE_LISTCTRL" = yes; then
6527 echo "$ac_t""yes" 1>&6
6529 echo "$ac_t""no" 1>&6
6534 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6535 echo "configure:6536: checking for --${enablestring:-enable}-notebook" >&5
6537 # Check whether --enable-notebook or --disable-notebook was given.
6538 if test "${enable_notebook+set}" = set; then
6539 enableval
="$enable_notebook"
6541 if test "$enableval" = yes; then
6542 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6544 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6549 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6550 if test "x$LINE" != x
; then
6551 eval "DEFAULT_$LINE"
6556 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6561 eval "$ac_cv_use_notebook"
6562 if test "$no_cache" != 1; then
6563 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6566 if test "$wxUSE_NOTEBOOK" = yes; then
6567 echo "$ac_t""yes" 1>&6
6569 echo "$ac_t""no" 1>&6
6574 echo $ac_n "checking for --${enablestring:-enable}-propsheet""... $ac_c" 1>&6
6575 echo "configure:6576: checking for --${enablestring:-enable}-propsheet" >&5
6577 # Check whether --enable-propsheet or --disable-propsheet was given.
6578 if test "${enable_propsheet+set}" = set; then
6579 enableval
="$enable_propsheet"
6581 if test "$enableval" = yes; then
6582 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6584 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6589 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6590 if test "x$LINE" != x
; then
6591 eval "DEFAULT_$LINE"
6596 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6601 eval "$ac_cv_use_propsheet"
6602 if test "$no_cache" != 1; then
6603 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6606 if test "$wxUSE_PROPSHEET" = yes; then
6607 echo "$ac_t""yes" 1>&6
6609 echo "$ac_t""no" 1>&6
6614 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6615 echo "configure:6616: checking for --${enablestring:-enable}-radiobox" >&5
6617 # Check whether --enable-radiobox or --disable-radiobox was given.
6618 if test "${enable_radiobox+set}" = set; then
6619 enableval
="$enable_radiobox"
6621 if test "$enableval" = yes; then
6622 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6624 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6629 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6630 if test "x$LINE" != x
; then
6631 eval "DEFAULT_$LINE"
6636 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6641 eval "$ac_cv_use_radiobox"
6642 if test "$no_cache" != 1; then
6643 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6646 if test "$wxUSE_RADIOBOX" = yes; then
6647 echo "$ac_t""yes" 1>&6
6649 echo "$ac_t""no" 1>&6
6654 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6655 echo "configure:6656: checking for --${enablestring:-enable}-radiobtn" >&5
6657 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6658 if test "${enable_radiobtn+set}" = set; then
6659 enableval
="$enable_radiobtn"
6661 if test "$enableval" = yes; then
6662 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6664 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6669 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6670 if test "x$LINE" != x
; then
6671 eval "DEFAULT_$LINE"
6676 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6681 eval "$ac_cv_use_radiobtn"
6682 if test "$no_cache" != 1; then
6683 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6686 if test "$wxUSE_RADIOBTN" = yes; then
6687 echo "$ac_t""yes" 1>&6
6689 echo "$ac_t""no" 1>&6
6694 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6695 echo "configure:6696: checking for --${enablestring:-enable}-sash" >&5
6697 # Check whether --enable-sash or --disable-sash was given.
6698 if test "${enable_sash+set}" = set; then
6699 enableval
="$enable_sash"
6701 if test "$enableval" = yes; then
6702 ac_cv_use_sash
='wxUSE_SASH=yes'
6704 ac_cv_use_sash
='wxUSE_SASH=no'
6709 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6710 if test "x$LINE" != x
; then
6711 eval "DEFAULT_$LINE"
6716 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6721 eval "$ac_cv_use_sash"
6722 if test "$no_cache" != 1; then
6723 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6726 if test "$wxUSE_SASH" = yes; then
6727 echo "$ac_t""yes" 1>&6
6729 echo "$ac_t""no" 1>&6
6734 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6735 echo "configure:6736: checking for --${enablestring:-enable}-scrollbar" >&5
6737 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6738 if test "${enable_scrollbar+set}" = set; then
6739 enableval
="$enable_scrollbar"
6741 if test "$enableval" = yes; then
6742 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6744 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6749 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6750 if test "x$LINE" != x
; then
6751 eval "DEFAULT_$LINE"
6756 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6761 eval "$ac_cv_use_scrollbar"
6762 if test "$no_cache" != 1; then
6763 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6766 if test "$wxUSE_SCROLLBAR" = yes; then
6767 echo "$ac_t""yes" 1>&6
6769 echo "$ac_t""no" 1>&6
6774 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6775 echo "configure:6776: checking for --${enablestring:-enable}-slider" >&5
6777 # Check whether --enable-slider or --disable-slider was given.
6778 if test "${enable_slider+set}" = set; then
6779 enableval
="$enable_slider"
6781 if test "$enableval" = yes; then
6782 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6784 ac_cv_use_slider
='wxUSE_SLIDER=no'
6789 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6790 if test "x$LINE" != x
; then
6791 eval "DEFAULT_$LINE"
6796 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6801 eval "$ac_cv_use_slider"
6802 if test "$no_cache" != 1; then
6803 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6806 if test "$wxUSE_SLIDER" = yes; then
6807 echo "$ac_t""yes" 1>&6
6809 echo "$ac_t""no" 1>&6
6814 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6815 echo "configure:6816: checking for --${enablestring:-enable}-spinbtn" >&5
6817 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6818 if test "${enable_spinbtn+set}" = set; then
6819 enableval
="$enable_spinbtn"
6821 if test "$enableval" = yes; then
6822 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6824 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6829 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6830 if test "x$LINE" != x
; then
6831 eval "DEFAULT_$LINE"
6836 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6841 eval "$ac_cv_use_spinbtn"
6842 if test "$no_cache" != 1; then
6843 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6846 if test "$wxUSE_SPINBTN" = yes; then
6847 echo "$ac_t""yes" 1>&6
6849 echo "$ac_t""no" 1>&6
6854 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6855 echo "configure:6856: checking for --${enablestring:-enable}-spinctrl" >&5
6857 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6858 if test "${enable_spinctrl+set}" = set; then
6859 enableval
="$enable_spinctrl"
6861 if test "$enableval" = yes; then
6862 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6864 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6869 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6870 if test "x$LINE" != x
; then
6871 eval "DEFAULT_$LINE"
6876 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6881 eval "$ac_cv_use_spinctrl"
6882 if test "$no_cache" != 1; then
6883 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6886 if test "$wxUSE_SPINCTRL" = yes; then
6887 echo "$ac_t""yes" 1>&6
6889 echo "$ac_t""no" 1>&6
6894 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6895 echo "configure:6896: checking for --${enablestring:-enable}-splitter" >&5
6897 # Check whether --enable-splitter or --disable-splitter was given.
6898 if test "${enable_splitter+set}" = set; then
6899 enableval
="$enable_splitter"
6901 if test "$enableval" = yes; then
6902 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6904 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6909 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6910 if test "x$LINE" != x
; then
6911 eval "DEFAULT_$LINE"
6916 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6921 eval "$ac_cv_use_splitter"
6922 if test "$no_cache" != 1; then
6923 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6926 if test "$wxUSE_SPLITTER" = yes; then
6927 echo "$ac_t""yes" 1>&6
6929 echo "$ac_t""no" 1>&6
6934 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6935 echo "configure:6936: checking for --${enablestring:-enable}-statbmp" >&5
6937 # Check whether --enable-statbmp or --disable-statbmp was given.
6938 if test "${enable_statbmp+set}" = set; then
6939 enableval
="$enable_statbmp"
6941 if test "$enableval" = yes; then
6942 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6944 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6949 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6950 if test "x$LINE" != x
; then
6951 eval "DEFAULT_$LINE"
6956 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6961 eval "$ac_cv_use_statbmp"
6962 if test "$no_cache" != 1; then
6963 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6966 if test "$wxUSE_STATBMP" = yes; then
6967 echo "$ac_t""yes" 1>&6
6969 echo "$ac_t""no" 1>&6
6974 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6975 echo "configure:6976: checking for --${enablestring:-enable}-statbox" >&5
6977 # Check whether --enable-statbox or --disable-statbox was given.
6978 if test "${enable_statbox+set}" = set; then
6979 enableval
="$enable_statbox"
6981 if test "$enableval" = yes; then
6982 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6984 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6989 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6990 if test "x$LINE" != x
; then
6991 eval "DEFAULT_$LINE"
6996 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
7001 eval "$ac_cv_use_statbox"
7002 if test "$no_cache" != 1; then
7003 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
7006 if test "$wxUSE_STATBOX" = yes; then
7007 echo "$ac_t""yes" 1>&6
7009 echo "$ac_t""no" 1>&6
7014 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
7015 echo "configure:7016: checking for --${enablestring:-enable}-statline" >&5
7017 # Check whether --enable-statline or --disable-statline was given.
7018 if test "${enable_statline+set}" = set; then
7019 enableval
="$enable_statline"
7021 if test "$enableval" = yes; then
7022 ac_cv_use_statline
='wxUSE_STATLINE=yes'
7024 ac_cv_use_statline
='wxUSE_STATLINE=no'
7029 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
7030 if test "x$LINE" != x
; then
7031 eval "DEFAULT_$LINE"
7036 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
7041 eval "$ac_cv_use_statline"
7042 if test "$no_cache" != 1; then
7043 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
7046 if test "$wxUSE_STATLINE" = yes; then
7047 echo "$ac_t""yes" 1>&6
7049 echo "$ac_t""no" 1>&6
7054 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
7055 echo "configure:7056: checking for --${enablestring:-enable}-stattext" >&5
7057 # Check whether --enable-stattext or --disable-stattext was given.
7058 if test "${enable_stattext+set}" = set; then
7059 enableval
="$enable_stattext"
7061 if test "$enableval" = yes; then
7062 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
7064 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
7069 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
7070 if test "x$LINE" != x
; then
7071 eval "DEFAULT_$LINE"
7076 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
7081 eval "$ac_cv_use_stattext"
7082 if test "$no_cache" != 1; then
7083 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
7086 if test "$wxUSE_STATTEXT" = yes; then
7087 echo "$ac_t""yes" 1>&6
7089 echo "$ac_t""no" 1>&6
7094 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
7095 echo "configure:7096: checking for --${enablestring:-enable}-statusbar" >&5
7097 # Check whether --enable-statusbar or --disable-statusbar was given.
7098 if test "${enable_statusbar+set}" = set; then
7099 enableval
="$enable_statusbar"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
7104 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7109 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x
; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7121 eval "$ac_cv_use_statusbar"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7126 if test "$wxUSE_STATUSBAR" = yes; then
7127 echo "$ac_t""yes" 1>&6
7129 echo "$ac_t""no" 1>&6
7134 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7135 echo "configure:7136: checking for --${enablestring:-enable}-tabdialog" >&5
7137 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7138 if test "${enable_tabdialog+set}" = set; then
7139 enableval
="$enable_tabdialog"
7141 if test "$enableval" = yes; then
7142 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7144 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7149 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7150 if test "x$LINE" != x
; then
7151 eval "DEFAULT_$LINE"
7156 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7161 eval "$ac_cv_use_tabdialog"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7166 if test "$wxUSE_TABDIALOG" = yes; then
7167 echo "$ac_t""yes" 1>&6
7169 echo "$ac_t""no" 1>&6
7174 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7175 echo "configure:7176: checking for --${enablestring:-enable}-textctrl" >&5
7177 # Check whether --enable-textctrl or --disable-textctrl was given.
7178 if test "${enable_textctrl+set}" = set; then
7179 enableval
="$enable_textctrl"
7181 if test "$enableval" = yes; then
7182 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7184 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7189 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7190 if test "x$LINE" != x
; then
7191 eval "DEFAULT_$LINE"
7196 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7201 eval "$ac_cv_use_textctrl"
7202 if test "$no_cache" != 1; then
7203 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7206 if test "$wxUSE_TEXTCTRL" = yes; then
7207 echo "$ac_t""yes" 1>&6
7209 echo "$ac_t""no" 1>&6
7214 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7215 echo "configure:7216: checking for --${enablestring:-enable}-togglebtn" >&5
7217 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7218 if test "${enable_togglebtn+set}" = set; then
7219 enableval
="$enable_togglebtn"
7221 if test "$enableval" = yes; then
7222 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7224 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7229 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7230 if test "x$LINE" != x
; then
7231 eval "DEFAULT_$LINE"
7236 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7241 eval "$ac_cv_use_togglebtn"
7242 if test "$no_cache" != 1; then
7243 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7246 if test "$wxUSE_TOGGLEBTN" = yes; then
7247 echo "$ac_t""yes" 1>&6
7249 echo "$ac_t""no" 1>&6
7254 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7255 echo "configure:7256: checking for --${enablestring:-enable}-toolbar" >&5
7257 # Check whether --enable-toolbar or --disable-toolbar was given.
7258 if test "${enable_toolbar+set}" = set; then
7259 enableval
="$enable_toolbar"
7261 if test "$enableval" = yes; then
7262 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7264 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7269 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7270 if test "x$LINE" != x
; then
7271 eval "DEFAULT_$LINE"
7276 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7281 eval "$ac_cv_use_toolbar"
7282 if test "$no_cache" != 1; then
7283 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7286 if test "$wxUSE_TOOLBAR" = yes; then
7287 echo "$ac_t""yes" 1>&6
7289 echo "$ac_t""no" 1>&6
7294 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7295 echo "configure:7296: checking for --${enablestring:-enable}-tbarnative" >&5
7297 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7298 if test "${enable_tbarnative+set}" = set; then
7299 enableval
="$enable_tbarnative"
7301 if test "$enableval" = yes; then
7302 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7304 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7309 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x
; then
7311 eval "DEFAULT_$LINE"
7316 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7321 eval "$ac_cv_use_tbarnative"
7322 if test "$no_cache" != 1; then
7323 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7326 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7327 echo "$ac_t""yes" 1>&6
7329 echo "$ac_t""no" 1>&6
7334 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7335 echo "configure:7336: checking for --${enablestring:-enable}-tbarsmpl" >&5
7337 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7338 if test "${enable_tbarsmpl+set}" = set; then
7339 enableval
="$enable_tbarsmpl"
7341 if test "$enableval" = yes; then
7342 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7344 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7349 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7350 if test "x$LINE" != x
; then
7351 eval "DEFAULT_$LINE"
7356 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7361 eval "$ac_cv_use_tbarsmpl"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7366 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7367 echo "$ac_t""yes" 1>&6
7369 echo "$ac_t""no" 1>&6
7374 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7375 echo "configure:7376: checking for --${enablestring:-enable}-treectrl" >&5
7377 # Check whether --enable-treectrl or --disable-treectrl was given.
7378 if test "${enable_treectrl+set}" = set; then
7379 enableval
="$enable_treectrl"
7381 if test "$enableval" = yes; then
7382 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7384 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7389 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7390 if test "x$LINE" != x
; then
7391 eval "DEFAULT_$LINE"
7396 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7401 eval "$ac_cv_use_treectrl"
7402 if test "$no_cache" != 1; then
7403 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7406 if test "$wxUSE_TREECTRL" = yes; then
7407 echo "$ac_t""yes" 1>&6
7409 echo "$ac_t""no" 1>&6
7414 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7415 echo "configure:7416: checking for --${enablestring:-enable}-tipwindow" >&5
7417 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7418 if test "${enable_tipwindow+set}" = set; then
7419 enableval
="$enable_tipwindow"
7421 if test "$enableval" = yes; then
7422 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7424 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7429 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x
; then
7431 eval "DEFAULT_$LINE"
7436 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7441 eval "$ac_cv_use_tipwindow"
7442 if test "$no_cache" != 1; then
7443 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7446 if test "$wxUSE_TIPWINDOW" = yes; then
7447 echo "$ac_t""yes" 1>&6
7449 echo "$ac_t""no" 1>&6
7454 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7455 echo "configure:7456: checking for --${enablestring:-enable}-popupwin" >&5
7457 # Check whether --enable-popupwin or --disable-popupwin was given.
7458 if test "${enable_popupwin+set}" = set; then
7459 enableval
="$enable_popupwin"
7461 if test "$enableval" = yes; then
7462 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7464 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7469 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7470 if test "x$LINE" != x
; then
7471 eval "DEFAULT_$LINE"
7476 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7481 eval "$ac_cv_use_popupwin"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7486 if test "$wxUSE_POPUPWIN" = yes; then
7487 echo "$ac_t""yes" 1>&6
7489 echo "$ac_t""no" 1>&6
7496 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7497 echo "configure:7498: checking for --${enablestring:-enable}-commondlg" >&5
7499 # Check whether --enable-commondlg or --disable-commondlg was given.
7500 if test "${enable_commondlg+set}" = set; then
7501 enableval
="$enable_commondlg"
7503 if test "$enableval" = yes; then
7504 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7506 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7511 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x
; then
7513 eval "DEFAULT_$LINE"
7518 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7523 eval "$ac_cv_use_commondlg"
7524 if test "$no_cache" != 1; then
7525 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7528 if test "$wxUSE_COMMONDLGS" = yes; then
7529 echo "$ac_t""yes" 1>&6
7531 echo "$ac_t""no" 1>&6
7536 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7537 echo "configure:7538: checking for --${enablestring:-enable}-choicedlg" >&5
7539 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7540 if test "${enable_choicedlg+set}" = set; then
7541 enableval
="$enable_choicedlg"
7543 if test "$enableval" = yes; then
7544 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7546 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7551 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x
; then
7553 eval "DEFAULT_$LINE"
7558 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7563 eval "$ac_cv_use_choicedlg"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7568 if test "$wxUSE_CHOICEDLG" = yes; then
7569 echo "$ac_t""yes" 1>&6
7571 echo "$ac_t""no" 1>&6
7576 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7577 echo "configure:7578: checking for --${enablestring:-enable}-coldlg" >&5
7579 # Check whether --enable-coldlg or --disable-coldlg was given.
7580 if test "${enable_coldlg+set}" = set; then
7581 enableval
="$enable_coldlg"
7583 if test "$enableval" = yes; then
7584 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7586 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7591 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7592 if test "x$LINE" != x
; then
7593 eval "DEFAULT_$LINE"
7598 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7603 eval "$ac_cv_use_coldlg"
7604 if test "$no_cache" != 1; then
7605 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7608 if test "$wxUSE_COLOURDLG" = yes; then
7609 echo "$ac_t""yes" 1>&6
7611 echo "$ac_t""no" 1>&6
7616 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7617 echo "configure:7618: checking for --${enablestring:-enable}-filedlg" >&5
7619 # Check whether --enable-filedlg or --disable-filedlg was given.
7620 if test "${enable_filedlg+set}" = set; then
7621 enableval
="$enable_filedlg"
7623 if test "$enableval" = yes; then
7624 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7626 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7631 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7632 if test "x$LINE" != x
; then
7633 eval "DEFAULT_$LINE"
7638 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7643 eval "$ac_cv_use_filedlg"
7644 if test "$no_cache" != 1; then
7645 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7648 if test "$wxUSE_FILEDLG" = yes; then
7649 echo "$ac_t""yes" 1>&6
7651 echo "$ac_t""no" 1>&6
7656 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7657 echo "configure:7658: checking for --${enablestring:-enable}-finddlg" >&5
7659 # Check whether --enable-finddlg or --disable-finddlg was given.
7660 if test "${enable_finddlg+set}" = set; then
7661 enableval
="$enable_finddlg"
7663 if test "$enableval" = yes; then
7664 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7666 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7671 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7672 if test "x$LINE" != x
; then
7673 eval "DEFAULT_$LINE"
7678 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7683 eval "$ac_cv_use_finddlg"
7684 if test "$no_cache" != 1; then
7685 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7688 if test "$wxUSE_FINDREPLDLG" = yes; then
7689 echo "$ac_t""yes" 1>&6
7691 echo "$ac_t""no" 1>&6
7696 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7697 echo "configure:7698: checking for --${enablestring:-enable}-fontdlg" >&5
7699 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7700 if test "${enable_fontdlg+set}" = set; then
7701 enableval
="$enable_fontdlg"
7703 if test "$enableval" = yes; then
7704 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7706 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7711 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7712 if test "x$LINE" != x
; then
7713 eval "DEFAULT_$LINE"
7718 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7723 eval "$ac_cv_use_fontdlg"
7724 if test "$no_cache" != 1; then
7725 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7728 if test "$wxUSE_FONTDLG" = yes; then
7729 echo "$ac_t""yes" 1>&6
7731 echo "$ac_t""no" 1>&6
7736 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7737 echo "configure:7738: checking for --${enablestring:-enable}-dirdlg" >&5
7739 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7740 if test "${enable_dirdlg+set}" = set; then
7741 enableval
="$enable_dirdlg"
7743 if test "$enableval" = yes; then
7744 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7746 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7751 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7752 if test "x$LINE" != x
; then
7753 eval "DEFAULT_$LINE"
7758 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7763 eval "$ac_cv_use_dirdlg"
7764 if test "$no_cache" != 1; then
7765 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7768 if test "$wxUSE_DIRDLG" = yes; then
7769 echo "$ac_t""yes" 1>&6
7771 echo "$ac_t""no" 1>&6
7776 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7777 echo "configure:7778: checking for --${enablestring:-enable}-msgdlg" >&5
7779 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7780 if test "${enable_msgdlg+set}" = set; then
7781 enableval
="$enable_msgdlg"
7783 if test "$enableval" = yes; then
7784 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7786 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7791 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7792 if test "x$LINE" != x
; then
7793 eval "DEFAULT_$LINE"
7798 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7803 eval "$ac_cv_use_msgdlg"
7804 if test "$no_cache" != 1; then
7805 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7808 if test "$wxUSE_MSGDLG" = yes; then
7809 echo "$ac_t""yes" 1>&6
7811 echo "$ac_t""no" 1>&6
7816 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7817 echo "configure:7818: checking for --${enablestring:-enable}-numberdlg" >&5
7819 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7820 if test "${enable_numberdlg+set}" = set; then
7821 enableval
="$enable_numberdlg"
7823 if test "$enableval" = yes; then
7824 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7826 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7831 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x
; then
7833 eval "DEFAULT_$LINE"
7838 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7843 eval "$ac_cv_use_numberdlg"
7844 if test "$no_cache" != 1; then
7845 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7848 if test "$wxUSE_NUMBERDLG" = yes; then
7849 echo "$ac_t""yes" 1>&6
7851 echo "$ac_t""no" 1>&6
7856 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7857 echo "configure:7858: checking for --${enablestring:-enable}-splash" >&5
7859 # Check whether --enable-splash or --disable-splash was given.
7860 if test "${enable_splash+set}" = set; then
7861 enableval
="$enable_splash"
7863 if test "$enableval" = yes; then
7864 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7866 ac_cv_use_splash
='wxUSE_SPLASH=no'
7871 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7872 if test "x$LINE" != x
; then
7873 eval "DEFAULT_$LINE"
7878 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7883 eval "$ac_cv_use_splash"
7884 if test "$no_cache" != 1; then
7885 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7888 if test "$wxUSE_SPLASH" = yes; then
7889 echo "$ac_t""yes" 1>&6
7891 echo "$ac_t""no" 1>&6
7896 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7897 echo "configure:7898: checking for --${enablestring:-enable}-textdlg" >&5
7899 # Check whether --enable-textdlg or --disable-textdlg was given.
7900 if test "${enable_textdlg+set}" = set; then
7901 enableval
="$enable_textdlg"
7903 if test "$enableval" = yes; then
7904 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7906 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7911 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7912 if test "x$LINE" != x
; then
7913 eval "DEFAULT_$LINE"
7918 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7923 eval "$ac_cv_use_textdlg"
7924 if test "$no_cache" != 1; then
7925 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7928 if test "$wxUSE_TEXTDLG" = yes; then
7929 echo "$ac_t""yes" 1>&6
7931 echo "$ac_t""no" 1>&6
7936 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7937 echo "configure:7938: checking for --${enablestring:-enable}-tipdlg" >&5
7939 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7940 if test "${enable_tipdlg+set}" = set; then
7941 enableval
="$enable_tipdlg"
7943 if test "$enableval" = yes; then
7944 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7946 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7951 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x
; then
7953 eval "DEFAULT_$LINE"
7958 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7963 eval "$ac_cv_use_tipdlg"
7964 if test "$no_cache" != 1; then
7965 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7968 if test "$wxUSE_STARTUP_TIPS" = yes; then
7969 echo "$ac_t""yes" 1>&6
7971 echo "$ac_t""no" 1>&6
7976 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7977 echo "configure:7978: checking for --${enablestring:-enable}-progressdlg" >&5
7979 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7980 if test "${enable_progressdlg+set}" = set; then
7981 enableval
="$enable_progressdlg"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7986 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7991 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x
; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
8003 eval "$ac_cv_use_progressdlg"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
8008 if test "$wxUSE_PROGRESSDLG" = yes; then
8009 echo "$ac_t""yes" 1>&6
8011 echo "$ac_t""no" 1>&6
8016 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
8017 echo "configure:8018: checking for --${enablestring:-enable}-wizarddlg" >&5
8019 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
8020 if test "${enable_wizarddlg+set}" = set; then
8021 enableval
="$enable_wizarddlg"
8023 if test "$enableval" = yes; then
8024 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
8026 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
8031 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x
; then
8033 eval "DEFAULT_$LINE"
8038 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
8043 eval "$ac_cv_use_wizarddlg"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_WIZARDDLG" = yes; then
8049 echo "$ac_t""yes" 1>&6
8051 echo "$ac_t""no" 1>&6
8058 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
8059 echo "configure:8060: checking for --${enablestring:-enable}-menus" >&5
8061 # Check whether --enable-menus or --disable-menus was given.
8062 if test "${enable_menus+set}" = set; then
8063 enableval
="$enable_menus"
8065 if test "$enableval" = yes; then
8066 ac_cv_use_menus
='wxUSE_MENUS=yes'
8068 ac_cv_use_menus
='wxUSE_MENUS=no'
8073 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x
; then
8075 eval "DEFAULT_$LINE"
8080 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
8085 eval "$ac_cv_use_menus"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
8090 if test "$wxUSE_MENUS" = yes; then
8091 echo "$ac_t""yes" 1>&6
8093 echo "$ac_t""no" 1>&6
8098 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
8099 echo "configure:8100: checking for --${enablestring:-enable}-miniframe" >&5
8101 # Check whether --enable-miniframe or --disable-miniframe was given.
8102 if test "${enable_miniframe+set}" = set; then
8103 enableval
="$enable_miniframe"
8105 if test "$enableval" = yes; then
8106 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
8108 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8113 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8114 if test "x$LINE" != x
; then
8115 eval "DEFAULT_$LINE"
8120 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8125 eval "$ac_cv_use_miniframe"
8126 if test "$no_cache" != 1; then
8127 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8130 if test "$wxUSE_MINIFRAME" = yes; then
8131 echo "$ac_t""yes" 1>&6
8133 echo "$ac_t""no" 1>&6
8138 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8139 echo "configure:8140: checking for --${enablestring:-enable}-tooltips" >&5
8141 # Check whether --enable-tooltips or --disable-tooltips was given.
8142 if test "${enable_tooltips+set}" = set; then
8143 enableval
="$enable_tooltips"
8145 if test "$enableval" = yes; then
8146 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8148 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8153 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8154 if test "x$LINE" != x
; then
8155 eval "DEFAULT_$LINE"
8160 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8165 eval "$ac_cv_use_tooltips"
8166 if test "$no_cache" != 1; then
8167 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8170 if test "$wxUSE_TOOLTIPS" = yes; then
8171 echo "$ac_t""yes" 1>&6
8173 echo "$ac_t""no" 1>&6
8178 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8179 echo "configure:8180: checking for --${enablestring:-enable}-splines" >&5
8181 # Check whether --enable-splines or --disable-splines was given.
8182 if test "${enable_splines+set}" = set; then
8183 enableval
="$enable_splines"
8185 if test "$enableval" = yes; then
8186 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8188 ac_cv_use_splines
='wxUSE_SPLINES=no'
8193 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8194 if test "x$LINE" != x
; then
8195 eval "DEFAULT_$LINE"
8200 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8205 eval "$ac_cv_use_splines"
8206 if test "$no_cache" != 1; then
8207 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8210 if test "$wxUSE_SPLINES" = yes; then
8211 echo "$ac_t""yes" 1>&6
8213 echo "$ac_t""no" 1>&6
8218 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8219 echo "configure:8220: checking for --${enablestring:-enable}-validators" >&5
8221 # Check whether --enable-validators or --disable-validators was given.
8222 if test "${enable_validators+set}" = set; then
8223 enableval
="$enable_validators"
8225 if test "$enableval" = yes; then
8226 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8228 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8233 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8234 if test "x$LINE" != x
; then
8235 eval "DEFAULT_$LINE"
8240 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8245 eval "$ac_cv_use_validators"
8246 if test "$no_cache" != 1; then
8247 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8250 if test "$wxUSE_VALIDATORS" = yes; then
8251 echo "$ac_t""yes" 1>&6
8253 echo "$ac_t""no" 1>&6
8258 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8259 echo "configure:8260: checking for --${enablestring:-enable}-busyinfo" >&5
8261 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8262 if test "${enable_busyinfo+set}" = set; then
8263 enableval
="$enable_busyinfo"
8265 if test "$enableval" = yes; then
8266 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8268 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8273 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8274 if test "x$LINE" != x
; then
8275 eval "DEFAULT_$LINE"
8280 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8285 eval "$ac_cv_use_busyinfo"
8286 if test "$no_cache" != 1; then
8287 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8290 if test "$wxUSE_BUSYINFO" = yes; then
8291 echo "$ac_t""yes" 1>&6
8293 echo "$ac_t""no" 1>&6
8298 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8299 echo "configure:8300: checking for --${enablestring:-enable}-joystick" >&5
8301 # Check whether --enable-joystick or --disable-joystick was given.
8302 if test "${enable_joystick+set}" = set; then
8303 enableval
="$enable_joystick"
8305 if test "$enableval" = yes; then
8306 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8308 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8313 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8314 if test "x$LINE" != x
; then
8315 eval "DEFAULT_$LINE"
8320 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8325 eval "$ac_cv_use_joystick"
8326 if test "$no_cache" != 1; then
8327 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8330 if test "$wxUSE_JOYSTICK" = yes; then
8331 echo "$ac_t""yes" 1>&6
8333 echo "$ac_t""no" 1>&6
8338 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8339 echo "configure:8340: checking for --${enablestring:-enable}-metafile" >&5
8341 # Check whether --enable-metafile or --disable-metafile was given.
8342 if test "${enable_metafile+set}" = set; then
8343 enableval
="$enable_metafile"
8345 if test "$enableval" = yes; then
8346 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8348 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8353 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8354 if test "x$LINE" != x
; then
8355 eval "DEFAULT_$LINE"
8360 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8365 eval "$ac_cv_use_metafile"
8366 if test "$no_cache" != 1; then
8367 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8370 if test "$wxUSE_METAFILE" = yes; then
8371 echo "$ac_t""yes" 1>&6
8373 echo "$ac_t""no" 1>&6
8378 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8379 echo "configure:8380: checking for --${enablestring:-enable}-dragimage" >&5
8381 # Check whether --enable-dragimage or --disable-dragimage was given.
8382 if test "${enable_dragimage+set}" = set; then
8383 enableval
="$enable_dragimage"
8385 if test "$enableval" = yes; then
8386 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8388 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8393 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8394 if test "x$LINE" != x
; then
8395 eval "DEFAULT_$LINE"
8400 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8405 eval "$ac_cv_use_dragimage"
8406 if test "$no_cache" != 1; then
8407 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8410 if test "$wxUSE_DRAGIMAGE" = yes; then
8411 echo "$ac_t""yes" 1>&6
8413 echo "$ac_t""no" 1>&6
8420 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8421 echo "configure:8422: checking for --${enablestring:-enable}-palette" >&5
8423 # Check whether --enable-palette or --disable-palette was given.
8424 if test "${enable_palette+set}" = set; then
8425 enableval
="$enable_palette"
8427 if test "$enableval" = yes; then
8428 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8430 ac_cv_use_palette
='wxUSE_PALETTE=no'
8435 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8436 if test "x$LINE" != x
; then
8437 eval "DEFAULT_$LINE"
8442 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8447 eval "$ac_cv_use_palette"
8448 if test "$no_cache" != 1; then
8449 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8452 if test "$wxUSE_PALETTE" = yes; then
8453 echo "$ac_t""yes" 1>&6
8455 echo "$ac_t""no" 1>&6
8460 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8461 echo "configure:8462: checking for --${enablestring:-enable}-image" >&5
8463 # Check whether --enable-image or --disable-image was given.
8464 if test "${enable_image+set}" = set; then
8465 enableval
="$enable_image"
8467 if test "$enableval" = yes; then
8468 ac_cv_use_image
='wxUSE_IMAGE=yes'
8470 ac_cv_use_image
='wxUSE_IMAGE=no'
8475 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8476 if test "x$LINE" != x
; then
8477 eval "DEFAULT_$LINE"
8482 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8487 eval "$ac_cv_use_image"
8488 if test "$no_cache" != 1; then
8489 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8492 if test "$wxUSE_IMAGE" = yes; then
8493 echo "$ac_t""yes" 1>&6
8495 echo "$ac_t""no" 1>&6
8500 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8501 echo "configure:8502: checking for --${enablestring:-enable}-gif" >&5
8503 # Check whether --enable-gif or --disable-gif was given.
8504 if test "${enable_gif+set}" = set; then
8505 enableval
="$enable_gif"
8507 if test "$enableval" = yes; then
8508 ac_cv_use_gif
='wxUSE_GIF=yes'
8510 ac_cv_use_gif
='wxUSE_GIF=no'
8515 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8516 if test "x$LINE" != x
; then
8517 eval "DEFAULT_$LINE"
8522 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8527 eval "$ac_cv_use_gif"
8528 if test "$no_cache" != 1; then
8529 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8532 if test "$wxUSE_GIF" = yes; then
8533 echo "$ac_t""yes" 1>&6
8535 echo "$ac_t""no" 1>&6
8540 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8541 echo "configure:8542: checking for --${enablestring:-enable}-pcx" >&5
8543 # Check whether --enable-pcx or --disable-pcx was given.
8544 if test "${enable_pcx+set}" = set; then
8545 enableval
="$enable_pcx"
8547 if test "$enableval" = yes; then
8548 ac_cv_use_pcx
='wxUSE_PCX=yes'
8550 ac_cv_use_pcx
='wxUSE_PCX=no'
8555 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8556 if test "x$LINE" != x
; then
8557 eval "DEFAULT_$LINE"
8562 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8567 eval "$ac_cv_use_pcx"
8568 if test "$no_cache" != 1; then
8569 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8572 if test "$wxUSE_PCX" = yes; then
8573 echo "$ac_t""yes" 1>&6
8575 echo "$ac_t""no" 1>&6
8580 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8581 echo "configure:8582: checking for --${enablestring:-enable}-iff" >&5
8583 # Check whether --enable-iff or --disable-iff was given.
8584 if test "${enable_iff+set}" = set; then
8585 enableval
="$enable_iff"
8587 if test "$enableval" = yes; then
8588 ac_cv_use_iff
='wxUSE_IFF=yes'
8590 ac_cv_use_iff
='wxUSE_IFF=no'
8595 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8596 if test "x$LINE" != x
; then
8597 eval "DEFAULT_$LINE"
8602 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8607 eval "$ac_cv_use_iff"
8608 if test "$no_cache" != 1; then
8609 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8612 if test "$wxUSE_IFF" = yes; then
8613 echo "$ac_t""yes" 1>&6
8615 echo "$ac_t""no" 1>&6
8620 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8621 echo "configure:8622: checking for --${enablestring:-enable}-pnm" >&5
8623 # Check whether --enable-pnm or --disable-pnm was given.
8624 if test "${enable_pnm+set}" = set; then
8625 enableval
="$enable_pnm"
8627 if test "$enableval" = yes; then
8628 ac_cv_use_pnm
='wxUSE_PNM=yes'
8630 ac_cv_use_pnm
='wxUSE_PNM=no'
8635 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8636 if test "x$LINE" != x
; then
8637 eval "DEFAULT_$LINE"
8642 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8647 eval "$ac_cv_use_pnm"
8648 if test "$no_cache" != 1; then
8649 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8652 if test "$wxUSE_PNM" = yes; then
8653 echo "$ac_t""yes" 1>&6
8655 echo "$ac_t""no" 1>&6
8660 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8661 echo "configure:8662: checking for --${enablestring:-enable}-xpm" >&5
8663 # Check whether --enable-xpm or --disable-xpm was given.
8664 if test "${enable_xpm+set}" = set; then
8665 enableval
="$enable_xpm"
8667 if test "$enableval" = yes; then
8668 ac_cv_use_xpm
='wxUSE_XPM=yes'
8670 ac_cv_use_xpm
='wxUSE_XPM=no'
8675 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8676 if test "x$LINE" != x
; then
8677 eval "DEFAULT_$LINE"
8682 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8687 eval "$ac_cv_use_xpm"
8688 if test "$no_cache" != 1; then
8689 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8692 if test "$wxUSE_XPM" = yes; then
8693 echo "$ac_t""yes" 1>&6
8695 echo "$ac_t""no" 1>&6
8700 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8701 echo "configure:8702: checking for --${enablestring:-enable}-ico_cur" >&5
8703 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8704 if test "${enable_ico_cur+set}" = set; then
8705 enableval
="$enable_ico_cur"
8707 if test "$enableval" = yes; then
8708 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8710 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8715 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8716 if test "x$LINE" != x
; then
8717 eval "DEFAULT_$LINE"
8722 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8727 eval "$ac_cv_use_ico_cur"
8728 if test "$no_cache" != 1; then
8729 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8732 if test "$wxUSE_ICO_CUR" = yes; then
8733 echo "$ac_t""yes" 1>&6
8735 echo "$ac_t""no" 1>&6
8742 *-pc-os2_emx | *-pc-os2-emx )
8754 echo "saving argument cache $wx_arg_cache_file"
8755 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8759 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8760 echo "configure:8761: checking for toolkit" >&5
8762 # In Wine, we need to default to MSW, not GTK or MOTIF
8763 if test "$wxUSE_WINE" = "yes"; then
8764 DEFAULT_DEFAULT_wxUSE_GTK
=0
8765 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8766 DEFAULT_DEFAULT_wxUSE_MSW
=1
8769 if test "$wxUSE_GUI" = "yes"; then
8771 if test "$USE_BEOS" = 1; then
8772 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8775 if test "$TOOLKIT_GIVEN" = 1; then
8776 for toolkit
in `echo $ALL_TOOLKITS`; do
8778 eval "value=\$${var}"
8779 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8782 for toolkit
in `echo $ALL_TOOLKITS`; do
8783 if test "$has_toolkit_in_cache" != 1; then
8784 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8786 var
=DEFAULT_wxUSE_
$toolkit
8788 eval "wxUSE_$toolkit=\$${var}"
8792 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8793 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8794 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8797 *-pc-os2_emx | *-pc-os2-emx )
8798 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8801 case "$NUM_TOOLKITS" in
8805 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8808 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8811 for toolkit
in `echo $ALL_TOOLKITS`; do
8813 eval "value=\$${var}"
8814 if test "x$value" != x
; then
8815 cache_var
=CACHE_
$toolkit
8816 eval "cache=\$${cache_var}"
8817 if test "$cache" = 1; then
8818 echo "$var=$value" >> ${wx_arg_cache_file}
8820 if test "$value" = 1; then
8821 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8822 echo "$ac_t""$toolkit_echo" 1>&6
8827 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8834 if test "$wxUSE_MSW" = 1 ; then
8845 if test "$wxUSE_WINE" = "yes"; then
8852 if test "$wants_win32" = 1 ; then
8855 cat >> confdefs.h
<<\EOF
8859 cat >> confdefs.h
<<\EOF
8863 cat >> confdefs.h
<<\EOF
8864 #define __WINDOWS__ 1
8867 cat >> confdefs.h
<<\EOF
8868 #define __GNUWIN32__ 1
8871 cat >> confdefs.h
<<\EOF
8875 cat >> confdefs.h
<<\EOF
8876 #define WINVER 0x0400
8880 if test "$doesnt_want_win32" = 1 ; then
8885 if test "$USE_UNIX" = 1 ; then
8887 cat >> confdefs.h
<<\EOF
8894 cat > confcache
<<\EOF
8895 # This file is a shell script that caches the results of configure
8896 # tests run on this system so they can be shared between configure
8897 # scripts and configure runs. It is not useful on other systems.
8898 # If it contains results you don't want to keep, you may remove or edit it.
8900 # By default, configure uses ./config.cache as the cache file,
8901 # creating it if it does not exist already. You can give configure
8902 # the --cache-file=FILE option to use a different cache file; that is
8903 # what configure does when it calls configure scripts in
8904 # subdirectories, so they share the cache.
8905 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8906 # config.status only pays attention to the cache file if you give it the
8907 # --recheck option to rerun configure.
8910 # The following way of writing the cache mishandles newlines in values,
8911 # but we know of no workaround that is simple, portable, and efficient.
8912 # So, don't put newlines in cache variables' values.
8913 # Ultrix sh set writes to stderr and can't be redirected directly,
8914 # and sets the high bit in the cache file unless we assign to the vars.
8916 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8918 # `set' does not quote correctly, so add quotes (double-quote substitution
8919 # turns \\\\ into \\, and sed turns \\ into \).
8921 -e "s/'/'\\\\''/g" \
8922 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8925 # `set' quotes correctly as required by POSIX, so do not add quotes.
8926 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8929 if cmp -s $cache_file confcache
; then
8932 if test -w $cache_file; then
8933 echo "updating cache $cache_file"
8934 cat confcache
> $cache_file
8936 echo "not updating unwritable cache $cache_file"
8942 if test "$build" != "$host" ; then
8943 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8947 RANLIB
=$host_alias-ranlib
8948 DLLTOOL
=$host_alias-dlltool
8949 RESCOMP
=$host_alias-windres
8952 STRIP
=$host_alias-strip
8954 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8959 # Extract the first word of "gcc", so it can be a program name with args.
8960 set dummy gcc
; ac_word
=$2
8961 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8962 echo "configure:8963: checking for $ac_word" >&5
8963 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8964 echo $ac_n "(cached) $ac_c" 1>&6
8966 if test -n "$CC"; then
8967 ac_cv_prog_CC
="$CC" # Let the user override the test.
8969 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8971 for ac_dir
in $ac_dummy; do
8972 test -z "$ac_dir" && ac_dir
=.
8973 if test -f $ac_dir/$ac_word; then
8982 if test -n "$CC"; then
8983 echo "$ac_t""$CC" 1>&6
8985 echo "$ac_t""no" 1>&6
8988 if test -z "$CC"; then
8989 # Extract the first word of "cc", so it can be a program name with args.
8990 set dummy cc
; ac_word
=$2
8991 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8992 echo "configure:8993: checking for $ac_word" >&5
8993 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8994 echo $ac_n "(cached) $ac_c" 1>&6
8996 if test -n "$CC"; then
8997 ac_cv_prog_CC
="$CC" # Let the user override the test.
8999 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9002 for ac_dir
in $ac_dummy; do
9003 test -z "$ac_dir" && ac_dir
=.
9004 if test -f $ac_dir/$ac_word; then
9005 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
9006 ac_prog_rejected
=yes
9014 if test $ac_prog_rejected = yes; then
9015 # We found a bogon in the path, so make sure we never use it.
9016 set dummy
$ac_cv_prog_CC
9018 if test $# -gt 0; then
9019 # We chose a different compiler from the bogus one.
9020 # However, it has the same basename, so the bogon will be chosen
9021 # first if we set CC to just the basename; use the full file name.
9023 set dummy
"$ac_dir/$ac_word" "$@"
9031 if test -n "$CC"; then
9032 echo "$ac_t""$CC" 1>&6
9034 echo "$ac_t""no" 1>&6
9037 if test -z "$CC"; then
9038 case "`uname -s`" in
9040 # Extract the first word of "cl", so it can be a program name with args.
9041 set dummy cl
; ac_word
=$2
9042 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9043 echo "configure:9044: checking for $ac_word" >&5
9044 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
9045 echo $ac_n "(cached) $ac_c" 1>&6
9047 if test -n "$CC"; then
9048 ac_cv_prog_CC
="$CC" # Let the user override the test.
9050 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9052 for ac_dir
in $ac_dummy; do
9053 test -z "$ac_dir" && ac_dir
=.
9054 if test -f $ac_dir/$ac_word; then
9063 if test -n "$CC"; then
9064 echo "$ac_t""$CC" 1>&6
9066 echo "$ac_t""no" 1>&6
9071 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9074 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9075 echo "configure:9076: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9078 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9079 ac_cpp
='$CPP $CPPFLAGS'
9080 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9081 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9082 cross_compiling
=$ac_cv_prog_cc_cross
9084 cat > conftest.
$ac_ext << EOF
9086 #line 9087 "configure"
9087 #include "confdefs.h"
9091 if { (eval echo configure
:9092: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9092 ac_cv_prog_cc_works
=yes
9093 # If we can't run a trivial program, we are probably using a cross compiler.
9094 if (.
/conftest
; exit) 2>/dev
/null
; then
9095 ac_cv_prog_cc_cross
=no
9097 ac_cv_prog_cc_cross
=yes
9100 echo "configure: failed program was:" >&5
9101 cat conftest.
$ac_ext >&5
9102 ac_cv_prog_cc_works
=no
9106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9107 ac_cpp
='$CPP $CPPFLAGS'
9108 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9109 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9110 cross_compiling
=$ac_cv_prog_cc_cross
9112 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9113 if test $ac_cv_prog_cc_works = no
; then
9114 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9116 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9117 echo "configure:9118: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9118 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9119 cross_compiling
=$ac_cv_prog_cc_cross
9121 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9122 echo "configure:9123: checking whether we are using GNU C" >&5
9123 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9124 echo $ac_n "(cached) $ac_c" 1>&6
9126 cat > conftest.c
<<EOF
9131 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9132: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9138 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9140 if test $ac_cv_prog_gcc = yes; then
9146 ac_test_CFLAGS
="${CFLAGS+set}"
9147 ac_save_CFLAGS
="$CFLAGS"
9149 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9150 echo "configure:9151: checking whether ${CC-cc} accepts -g" >&5
9151 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9152 echo $ac_n "(cached) $ac_c" 1>&6
9154 echo 'void f(){}' > conftest.c
9155 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9164 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9165 if test "$ac_test_CFLAGS" = set; then
9166 CFLAGS
="$ac_save_CFLAGS"
9167 elif test $ac_cv_prog_cc_g = yes; then
9168 if test "$GCC" = yes; then
9174 if test "$GCC" = yes; then
9182 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9183 echo "configure:9184: checking how to run the C preprocessor" >&5
9184 # On Suns, sometimes $CPP names a directory.
9185 if test -n "$CPP" && test -d "$CPP"; then
9188 if test -z "$CPP"; then
9189 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9190 echo $ac_n "(cached) $ac_c" 1>&6
9192 # This must be in double quotes, not single quotes, because CPP may get
9193 # substituted into the Makefile and "${CC-cc}" will confuse make.
9195 # On the NeXT, cc -E runs the code through the compiler's parser,
9196 # not just through cpp.
9197 cat > conftest.
$ac_ext <<EOF
9198 #line 9199 "configure"
9199 #include "confdefs.h"
9203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9204 { (eval echo configure
:9205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9206 if test -z "$ac_err"; then
9210 echo "configure: failed program was:" >&5
9211 cat conftest.
$ac_ext >&5
9213 CPP
="${CC-cc} -E -traditional-cpp"
9214 cat > conftest.
$ac_ext <<EOF
9215 #line 9216 "configure"
9216 #include "confdefs.h"
9220 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9221 { (eval echo configure
:9222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9222 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9223 if test -z "$ac_err"; then
9227 echo "configure: failed program was:" >&5
9228 cat conftest.
$ac_ext >&5
9230 CPP
="${CC-cc} -nologo -E"
9231 cat > conftest.
$ac_ext <<EOF
9232 #line 9233 "configure"
9233 #include "confdefs.h"
9237 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9238 { (eval echo configure
:9239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9239 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9240 if test -z "$ac_err"; then
9244 echo "configure: failed program was:" >&5
9245 cat conftest.
$ac_ext >&5
9254 ac_cv_prog_CPP
="$CPP"
9256 CPP
="$ac_cv_prog_CPP"
9258 ac_cv_prog_CPP
="$CPP"
9260 echo "$ac_t""$CPP" 1>&6
9262 if test $ac_cv_prog_gcc = yes; then
9263 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9264 echo "configure:9265: checking whether ${CC-cc} needs -traditional" >&5
9265 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9266 echo $ac_n "(cached) $ac_c" 1>&6
9268 ac_pattern
="Autoconf.*'x'"
9269 cat > conftest.
$ac_ext <<EOF
9270 #line 9271 "configure"
9271 #include "confdefs.h"
9275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9276 egrep "$ac_pattern" >/dev
/null
2>&1; then
9278 ac_cv_prog_gcc_traditional
=yes
9281 ac_cv_prog_gcc_traditional
=no
9286 if test $ac_cv_prog_gcc_traditional = no
; then
9287 cat > conftest.
$ac_ext <<EOF
9288 #line 9289 "configure"
9289 #include "confdefs.h"
9293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9294 egrep "$ac_pattern" >/dev
/null
2>&1; then
9296 ac_cv_prog_gcc_traditional
=yes
9303 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9304 if test $ac_cv_prog_gcc_traditional = yes; then
9305 CC
="$CC -traditional"
9312 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9313 ac_cpp
='$CXXCPP $CPPFLAGS'
9314 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9315 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9316 cross_compiling
=$ac_cv_prog_cxx_cross
9319 CXXFLAGS
=${CXXFLAGS:=}
9320 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9322 # Extract the first word of "$ac_prog", so it can be a program name with args.
9323 set dummy
$ac_prog; ac_word
=$2
9324 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9325 echo "configure:9326: checking for $ac_word" >&5
9326 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9327 echo $ac_n "(cached) $ac_c" 1>&6
9329 if test -n "$CXX"; then
9330 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9332 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9334 for ac_dir
in $ac_dummy; do
9335 test -z "$ac_dir" && ac_dir
=.
9336 if test -f $ac_dir/$ac_word; then
9337 ac_cv_prog_CXX
="$ac_prog"
9344 CXX
="$ac_cv_prog_CXX"
9345 if test -n "$CXX"; then
9346 echo "$ac_t""$CXX" 1>&6
9348 echo "$ac_t""no" 1>&6
9351 test -n "$CXX" && break
9353 test -n "$CXX" || CXX
="gcc"
9356 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9357 echo "configure:9358: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9360 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9361 ac_cpp
='$CXXCPP $CPPFLAGS'
9362 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9363 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9364 cross_compiling
=$ac_cv_prog_cxx_cross
9366 cat > conftest.
$ac_ext << EOF
9368 #line 9369 "configure"
9369 #include "confdefs.h"
9371 int main(){return(0);}
9373 if { (eval echo configure
:9374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9374 ac_cv_prog_cxx_works
=yes
9375 # If we can't run a trivial program, we are probably using a cross compiler.
9376 if (.
/conftest
; exit) 2>/dev
/null
; then
9377 ac_cv_prog_cxx_cross
=no
9379 ac_cv_prog_cxx_cross
=yes
9382 echo "configure: failed program was:" >&5
9383 cat conftest.
$ac_ext >&5
9384 ac_cv_prog_cxx_works
=no
9388 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9389 ac_cpp
='$CXXCPP $CPPFLAGS'
9390 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9391 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9392 cross_compiling
=$ac_cv_prog_cxx_cross
9394 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9395 if test $ac_cv_prog_cxx_works = no
; then
9396 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9398 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9399 echo "configure:9400: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9400 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9401 cross_compiling
=$ac_cv_prog_cxx_cross
9403 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9404 echo "configure:9405: checking whether we are using GNU C++" >&5
9405 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9406 echo $ac_n "(cached) $ac_c" 1>&6
9408 cat > conftest.C
<<EOF
9413 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9420 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9422 if test $ac_cv_prog_gxx = yes; then
9428 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9429 ac_save_CXXFLAGS
="$CXXFLAGS"
9431 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9432 echo "configure:9433: checking whether ${CXX-g++} accepts -g" >&5
9433 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9434 echo $ac_n "(cached) $ac_c" 1>&6
9436 echo 'void f(){}' > conftest.cc
9437 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9438 ac_cv_prog_cxx_g
=yes
9446 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9447 if test "$ac_test_CXXFLAGS" = set; then
9448 CXXFLAGS
="$ac_save_CXXFLAGS"
9449 elif test $ac_cv_prog_cxx_g = yes; then
9450 if test "$GXX" = yes; then
9456 if test "$GXX" = yes; then
9465 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9466 ac_cpp
='$CPP $CPPFLAGS'
9467 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9468 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9469 cross_compiling
=$ac_cv_prog_cc_cross
9472 # Extract the first word of "ranlib", so it can be a program name with args.
9473 set dummy ranlib
; ac_word
=$2
9474 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9475 echo "configure:9476: checking for $ac_word" >&5
9476 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9477 echo $ac_n "(cached) $ac_c" 1>&6
9479 if test -n "$RANLIB"; then
9480 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9482 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9484 for ac_dir
in $ac_dummy; do
9485 test -z "$ac_dir" && ac_dir
=.
9486 if test -f $ac_dir/$ac_word; then
9487 ac_cv_prog_RANLIB
="ranlib"
9492 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9495 RANLIB
="$ac_cv_prog_RANLIB"
9496 if test -n "$RANLIB"; then
9497 echo "$ac_t""$RANLIB" 1>&6
9499 echo "$ac_t""no" 1>&6
9503 # Extract the first word of "ar", so it can be a program name with args.
9504 set dummy
ar; ac_word
=$2
9505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9506 echo "configure:9507: checking for $ac_word" >&5
9507 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9508 echo $ac_n "(cached) $ac_c" 1>&6
9510 if test -n "$AR"; then
9511 ac_cv_prog_AR
="$AR" # Let the user override the test.
9513 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9515 for ac_dir
in $ac_dummy; do
9516 test -z "$ac_dir" && ac_dir
=.
9517 if test -f $ac_dir/$ac_word; then
9523 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9527 if test -n "$AR"; then
9528 echo "$ac_t""$AR" 1>&6
9530 echo "$ac_t""no" 1>&6
9534 # Find a good install program. We prefer a C program (faster),
9535 # so one script is as good as another. But avoid the broken or
9536 # incompatible versions:
9537 # SysV /etc/install, /usr/sbin/install
9538 # SunOS /usr/etc/install
9539 # IRIX /sbin/install
9541 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9542 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9543 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9544 # ./install, which can be erroneously created by make from ./install.sh.
9545 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9546 echo "configure:9547: checking for a BSD compatible install" >&5
9547 if test -z "$INSTALL"; then
9548 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9549 echo $ac_n "(cached) $ac_c" 1>&6
9551 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9552 for ac_dir
in $PATH; do
9553 # Account for people who put trailing slashes in PATH elements.
9555 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9557 # OSF1 and SCO ODT 3.0 have their own names for install.
9558 # Don't use installbsd from OSF since it installs stuff as root
9560 for ac_prog
in ginstall scoinst
install; do
9561 if test -f $ac_dir/$ac_prog; then
9562 if test $ac_prog = install &&
9563 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9564 # AIX install. It has an incompatible calling convention.
9567 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9578 if test "${ac_cv_path_install+set}" = set; then
9579 INSTALL
="$ac_cv_path_install"
9581 # As a last resort, use the slow shell script. We don't cache a
9582 # path for INSTALL within a source directory, because that will
9583 # break other packages using the cache if that directory is
9584 # removed, or if the path is relative.
9585 INSTALL
="$ac_install_sh"
9588 echo "$ac_t""$INSTALL" 1>&6
9590 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9591 # It thinks the first close brace ends the variable substitution.
9592 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9594 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9596 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9602 ?
:* ) # Drive letter, considered as absolute.
9605 INSTALL
=`pwd`/${INSTALL} ;;
9613 *) INSTALL_DIR
="$INSTALL -d"
9621 INSTALL_PROGRAM
="cp -fp"
9622 INSTALL_DATA
="cp -fp"
9628 # Extract the first word of "strip", so it can be a program name with args.
9629 set dummy strip
; ac_word
=$2
9630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9631 echo "configure:9632: checking for $ac_word" >&5
9632 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9633 echo $ac_n "(cached) $ac_c" 1>&6
9635 if test -n "$STRIP"; then
9636 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9638 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9640 for ac_dir
in $ac_dummy; do
9641 test -z "$ac_dir" && ac_dir
=.
9642 if test -f $ac_dir/$ac_word; then
9643 ac_cv_prog_STRIP
="strip"
9648 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9651 STRIP
="$ac_cv_prog_STRIP"
9652 if test -n "$STRIP"; then
9653 echo "$ac_t""$STRIP" 1>&6
9655 echo "$ac_t""no" 1>&6
9659 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9660 echo "configure:9661: checking if make is GNU make" >&5
9661 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9662 echo $ac_n "(cached) $ac_c" 1>&6
9665 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9666 egrep -s GNU
> /dev
/null
); then
9667 wx_cv_prog_makeisgnu
="yes"
9669 wx_cv_prog_makeisgnu
="no"
9674 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9676 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9684 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9685 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9686 echo "configure:9687: checking if make supports VPATH" >&5
9687 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9688 echo $ac_n "(cached) $ac_c" 1>&6
9691 cat - << EOF > confMake
9697 if test ! -d sub
; then
9700 echo dummy
> sub
/file
9701 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9703 rm -f sub
/file check final_file confMake
9705 if test "$RESULT" = 0; then
9706 wx_cv_prog_makevpath
="yes"
9708 wx_cv_prog_makevpath
="no"
9713 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9715 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9716 { echo "configure: error:
9717 You need a make-utility that is able to use the variable
9719 If your version of make does not support VPATH correctly,
9720 please install GNU-make (possibly as gmake), and start
9721 configure with the following command:
9722 export MAKE=gmake; ./configure for sh-type shells
9723 setenv MAKE gmake; ./configure for csh-type shells
9724 Also please do remember to use gmake in this case every time
9725 you are trying to compile.
9728 for ac_prog
in 'bison -y' byacc
9730 # Extract the first word of "$ac_prog", so it can be a program name with args.
9731 set dummy
$ac_prog; ac_word
=$2
9732 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9733 echo "configure:9734: checking for $ac_word" >&5
9734 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9735 echo $ac_n "(cached) $ac_c" 1>&6
9737 if test -n "$YACC"; then
9738 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9740 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9742 for ac_dir
in $ac_dummy; do
9743 test -z "$ac_dir" && ac_dir
=.
9744 if test -f $ac_dir/$ac_word; then
9745 ac_cv_prog_YACC
="$ac_prog"
9752 YACC
="$ac_cv_prog_YACC"
9753 if test -n "$YACC"; then
9754 echo "$ac_t""$YACC" 1>&6
9756 echo "$ac_t""no" 1>&6
9759 test -n "$YACC" && break
9761 test -n "$YACC" || YACC
="yacc"
9764 # Extract the first word of "flex", so it can be a program name with args.
9765 set dummy flex
; ac_word
=$2
9766 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9767 echo "configure:9768: checking for $ac_word" >&5
9768 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9769 echo $ac_n "(cached) $ac_c" 1>&6
9771 if test -n "$LEX"; then
9772 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9774 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9776 for ac_dir
in $ac_dummy; do
9777 test -z "$ac_dir" && ac_dir
=.
9778 if test -f $ac_dir/$ac_word; then
9779 ac_cv_prog_LEX
="flex"
9784 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9787 LEX
="$ac_cv_prog_LEX"
9788 if test -n "$LEX"; then
9789 echo "$ac_t""$LEX" 1>&6
9791 echo "$ac_t""no" 1>&6
9794 if test -z "$LEXLIB"
9800 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9801 echo "configure:9802: checking for yywrap in -l$ac_lib" >&5
9802 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9803 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9804 echo $ac_n "(cached) $ac_c" 1>&6
9806 ac_save_LIBS
="$LIBS"
9807 LIBS
="-l$ac_lib $LIBS"
9808 cat > conftest.
$ac_ext <<EOF
9809 #line 9810 "configure"
9810 #include "confdefs.h"
9811 /* Override any gcc2 internal prototype to avoid an error. */
9812 /* We use char because int might match the return type of a gcc2
9813 builtin and then its argument prototype would still apply. */
9820 if { (eval echo configure
:9821: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9822 eval "ac_cv_lib_$ac_lib_var=yes"
9824 echo "configure: failed program was:" >&5
9825 cat conftest.
$ac_ext >&5
9827 eval "ac_cv_lib_$ac_lib_var=no"
9830 LIBS
="$ac_save_LIBS"
9833 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9834 echo "$ac_t""yes" 1>&6
9837 echo "$ac_t""no" 1>&6
9843 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9844 echo "configure:9845: checking whether ln -s works" >&5
9845 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9846 echo $ac_n "(cached) $ac_c" 1>&6
9849 if ln -s X conftestdata
2>/dev
/null
9852 ac_cv_prog_LN_S
="ln -s"
9857 LN_S
="$ac_cv_prog_LN_S"
9858 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9859 echo "$ac_t""yes" 1>&6
9861 echo "$ac_t""no" 1>&6
9866 *-pc-os2_emx | *-pc-os2-emx )
9867 LIBS
="$LIBS -lstdcpp"
9868 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9869 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9870 echo "configure:9871: checking for drand48 in -lcExt" >&5
9871 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9872 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9873 echo $ac_n "(cached) $ac_c" 1>&6
9875 ac_save_LIBS
="$LIBS"
9877 cat > conftest.
$ac_ext <<EOF
9878 #line 9879 "configure"
9879 #include "confdefs.h"
9880 /* Override any gcc2 internal prototype to avoid an error. */
9881 /* We use char because int might match the return type of a gcc2
9882 builtin and then its argument prototype would still apply. */
9889 if { (eval echo configure
:9890: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9891 eval "ac_cv_lib_$ac_lib_var=yes"
9893 echo "configure: failed program was:" >&5
9894 cat conftest.
$ac_ext >&5
9896 eval "ac_cv_lib_$ac_lib_var=no"
9899 LIBS
="$ac_save_LIBS"
9902 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9903 echo "$ac_t""yes" 1>&6
9906 echo "$ac_t""no" 1>&6
9910 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9916 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9917 for ac_hdr
in strings.h
9919 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9920 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9921 echo "configure:9922: checking for $ac_hdr" >&5
9922 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9925 cat > conftest.
$ac_ext <<EOF
9926 #line 9927 "configure"
9927 #include "confdefs.h"
9930 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9931 { (eval echo configure
:9932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9932 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9933 if test -z "$ac_err"; then
9935 eval "ac_cv_header_$ac_safe=yes"
9938 echo "configure: failed program was:" >&5
9939 cat conftest.
$ac_ext >&5
9941 eval "ac_cv_header_$ac_safe=no"
9945 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9946 echo "$ac_t""yes" 1>&6
9947 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9948 cat >> confdefs.h
<<EOF
9949 #define $ac_tr_hdr 1
9953 echo "$ac_t""no" 1>&6
9959 for ac_hdr
in stdlib.h
9961 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9962 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9963 echo "configure:9964: checking for $ac_hdr" >&5
9964 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9965 echo $ac_n "(cached) $ac_c" 1>&6
9967 cat > conftest.
$ac_ext <<EOF
9968 #line 9969 "configure"
9969 #include "confdefs.h"
9972 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9973 { (eval echo configure
:9974: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9974 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9975 if test -z "$ac_err"; then
9977 eval "ac_cv_header_$ac_safe=yes"
9980 echo "configure: failed program was:" >&5
9981 cat conftest.
$ac_ext >&5
9983 eval "ac_cv_header_$ac_safe=no"
9987 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9988 echo "$ac_t""yes" 1>&6
9989 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9990 cat >> confdefs.h
<<EOF
9991 #define $ac_tr_hdr 1
9995 echo "$ac_t""no" 1>&6
9999 for ac_hdr
in malloc.h
10001 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10002 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10003 echo "configure:10004: checking for $ac_hdr" >&5
10004 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10005 echo $ac_n "(cached) $ac_c" 1>&6
10007 cat > conftest.
$ac_ext <<EOF
10008 #line 10009 "configure"
10009 #include "confdefs.h"
10012 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10013 { (eval echo configure
:10014: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10014 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10015 if test -z "$ac_err"; then
10017 eval "ac_cv_header_$ac_safe=yes"
10020 echo "configure: failed program was:" >&5
10021 cat conftest.
$ac_ext >&5
10023 eval "ac_cv_header_$ac_safe=no"
10027 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10028 echo "$ac_t""yes" 1>&6
10029 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10030 cat >> confdefs.h
<<EOF
10031 #define $ac_tr_hdr 1
10035 echo "$ac_t""no" 1>&6
10039 for ac_hdr
in unistd.h
10041 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10042 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10043 echo "configure:10044: checking for $ac_hdr" >&5
10044 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10045 echo $ac_n "(cached) $ac_c" 1>&6
10047 cat > conftest.
$ac_ext <<EOF
10048 #line 10049 "configure"
10049 #include "confdefs.h"
10052 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10053 { (eval echo configure
:10054: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10054 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10055 if test -z "$ac_err"; then
10057 eval "ac_cv_header_$ac_safe=yes"
10060 echo "configure: failed program was:" >&5
10061 cat conftest.
$ac_ext >&5
10063 eval "ac_cv_header_$ac_safe=no"
10067 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10068 echo "$ac_t""yes" 1>&6
10069 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10070 cat >> confdefs.h
<<EOF
10071 #define $ac_tr_hdr 1
10075 echo "$ac_t""no" 1>&6
10079 for ac_hdr
in wchar.h
10081 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10083 echo "configure:10084: checking for $ac_hdr" >&5
10084 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10085 echo $ac_n "(cached) $ac_c" 1>&6
10087 cat > conftest.
$ac_ext <<EOF
10088 #line 10089 "configure"
10089 #include "confdefs.h"
10092 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10093 { (eval echo configure
:10094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10094 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10095 if test -z "$ac_err"; then
10097 eval "ac_cv_header_$ac_safe=yes"
10100 echo "configure: failed program was:" >&5
10101 cat conftest.
$ac_ext >&5
10103 eval "ac_cv_header_$ac_safe=no"
10107 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10108 echo "$ac_t""yes" 1>&6
10109 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10110 cat >> confdefs.h
<<EOF
10111 #define $ac_tr_hdr 1
10115 echo "$ac_t""no" 1>&6
10120 if test "$ac_cv_header_wchar_h" != "yes"; then
10121 for ac_hdr
in wcstr.h
10123 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10125 echo "configure:10126: checking for $ac_hdr" >&5
10126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10129 cat > conftest.
$ac_ext <<EOF
10130 #line 10131 "configure"
10131 #include "confdefs.h"
10134 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10135 { (eval echo configure
:10136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10136 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10137 if test -z "$ac_err"; then
10139 eval "ac_cv_header_$ac_safe=yes"
10142 echo "configure: failed program was:" >&5
10143 cat conftest.
$ac_ext >&5
10145 eval "ac_cv_header_$ac_safe=no"
10149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10150 echo "$ac_t""yes" 1>&6
10151 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10152 cat >> confdefs.h
<<EOF
10153 #define $ac_tr_hdr 1
10157 echo "$ac_t""no" 1>&6
10163 for ac_hdr
in fnmatch.h
10165 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10166 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10167 echo "configure:10168: checking for $ac_hdr" >&5
10168 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10169 echo $ac_n "(cached) $ac_c" 1>&6
10171 cat > conftest.
$ac_ext <<EOF
10172 #line 10173 "configure"
10173 #include "confdefs.h"
10176 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10177 { (eval echo configure
:10178: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10178 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10179 if test -z "$ac_err"; then
10181 eval "ac_cv_header_$ac_safe=yes"
10184 echo "configure: failed program was:" >&5
10185 cat conftest.
$ac_ext >&5
10187 eval "ac_cv_header_$ac_safe=no"
10191 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10192 echo "$ac_t""yes" 1>&6
10193 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10194 cat >> confdefs.h
<<EOF
10195 #define $ac_tr_hdr 1
10199 echo "$ac_t""no" 1>&6
10204 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10205 for ac_func
in fnmatch
10207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10208 echo "configure:10209: checking for $ac_func" >&5
10209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10210 echo $ac_n "(cached) $ac_c" 1>&6
10212 cat > conftest.
$ac_ext <<EOF
10213 #line 10214 "configure"
10214 #include "confdefs.h"
10215 /* System header to define __stub macros and hopefully few prototypes,
10216 which can conflict with char $ac_func(); below. */
10217 #include <assert.h>
10218 /* Override any gcc2 internal prototype to avoid an error. */
10219 /* We use char because int might match the return type of a gcc2
10220 builtin and then its argument prototype would still apply. */
10225 /* The GNU C library defines this for functions which it implements
10226 to always fail with ENOSYS. Some functions are actually named
10227 something starting with __ and the normal name is an alias. */
10228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10236 if { (eval echo configure
:10237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10238 eval "ac_cv_func_$ac_func=yes"
10240 echo "configure: failed program was:" >&5
10241 cat conftest.
$ac_ext >&5
10243 eval "ac_cv_func_$ac_func=no"
10248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10249 echo "$ac_t""yes" 1>&6
10250 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10251 cat >> confdefs.h
<<EOF
10252 #define $ac_tr_func 1
10256 echo "$ac_t""no" 1>&6
10262 for ac_hdr
in langinfo.h
10264 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10265 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10266 echo "configure:10267: checking for $ac_hdr" >&5
10267 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10268 echo $ac_n "(cached) $ac_c" 1>&6
10270 cat > conftest.
$ac_ext <<EOF
10271 #line 10272 "configure"
10272 #include "confdefs.h"
10275 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10276 { (eval echo configure
:10277: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10277 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10278 if test -z "$ac_err"; then
10280 eval "ac_cv_header_$ac_safe=yes"
10283 echo "configure: failed program was:" >&5
10284 cat conftest.
$ac_ext >&5
10286 eval "ac_cv_header_$ac_safe=no"
10290 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10291 echo "$ac_t""yes" 1>&6
10292 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10293 cat >> confdefs.h
<<EOF
10294 #define $ac_tr_hdr 1
10298 echo "$ac_t""no" 1>&6
10304 *-pc-os2_emx | *-pc-os2-emx )
10305 if test $ac_cv_header_langinfo_h = "yes"; then
10306 LIBS
="$LIBS -lintl"
10311 if test "$wxUSE_GUI" = "yes"; then
10312 if test "$wxUSE_UNIX" = "yes"; then
10313 for ac_hdr
in X
11/XKBlib.h
10315 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10316 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10317 echo "configure:10318: checking for $ac_hdr" >&5
10318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10319 echo $ac_n "(cached) $ac_c" 1>&6
10321 cat > conftest.
$ac_ext <<EOF
10322 #line 10323 "configure"
10323 #include "confdefs.h"
10326 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10327 { (eval echo configure
:10328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10328 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10329 if test -z "$ac_err"; then
10331 eval "ac_cv_header_$ac_safe=yes"
10334 echo "configure: failed program was:" >&5
10335 cat conftest.
$ac_ext >&5
10337 eval "ac_cv_header_$ac_safe=no"
10341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10342 echo "$ac_t""yes" 1>&6
10343 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10344 cat >> confdefs.h
<<EOF
10345 #define $ac_tr_hdr 1
10349 echo "$ac_t""no" 1>&6
10357 echo $ac_n "checking for working const""... $ac_c" 1>&6
10358 echo "configure:10359: checking for working const" >&5
10359 if eval "test \"`echo '$''{'ac_cv_c_const'+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"
10368 /* Ultrix mips cc rejects this. */
10369 typedef int charset[2]; const charset x;
10370 /* SunOS 4.1.1 cc rejects this. */
10371 char const *const *ccp;
10373 /* NEC SVR4.0.2 mips cc rejects this. */
10374 struct point {int x, y;};
10375 static struct point const zero = {0,0};
10376 /* AIX XL C 1.02.0.0 rejects this.
10377 It does not let you subtract one const X* pointer from another in an arm
10378 of an if-expression whose if-part is not a constant expression */
10379 const char *g = "string";
10380 ccp = &g + (g ? g-g : 0);
10381 /* HPUX 7.0 cc rejects these. */
10384 ccp = (char const *const *) p;
10385 { /* SCO 3.2v4 cc rejects this. */
10387 char const *s = 0 ? (char *) 0 : (char const *) 0;
10391 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10392 int x[] = {25, 17};
10393 const int *foo = &x[0];
10396 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10397 typedef const int *iptr;
10401 { /* AIX XL C 1.02.0.0 rejects this saying
10402 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10403 struct s { int j; const int *ap[3]; };
10404 struct s *b; b->j = 5;
10406 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10407 const int foo = 10;
10412 if { (eval echo configure
:10413: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10416 echo "configure: failed program was:" >&5
10417 cat conftest.
$ac_ext >&5
10424 echo "$ac_t""$ac_cv_c_const" 1>&6
10425 if test $ac_cv_c_const = no
; then
10426 cat >> confdefs.h
<<\EOF
10432 echo $ac_n "checking for inline""... $ac_c" 1>&6
10433 echo "configure:10434: checking for inline" >&5
10434 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10435 echo $ac_n "(cached) $ac_c" 1>&6
10438 for ac_kw
in inline __inline__ __inline
; do
10439 cat > conftest.
$ac_ext <<EOF
10440 #line 10441 "configure"
10441 #include "confdefs.h"
10447 if { (eval echo configure
:10448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10449 ac_cv_c_inline
=$ac_kw; break
10451 echo "configure: failed program was:" >&5
10452 cat conftest.
$ac_ext >&5
10459 echo "$ac_t""$ac_cv_c_inline" 1>&6
10460 case "$ac_cv_c_inline" in
10462 no
) cat >> confdefs.h
<<\EOF
10466 *) cat >> confdefs.h
<<EOF
10467 #define inline $ac_cv_c_inline
10473 echo $ac_n "checking size of char""... $ac_c" 1>&6
10474 echo "configure:10475: checking size of char" >&5
10475 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10476 echo $ac_n "(cached) $ac_c" 1>&6
10478 if test "$cross_compiling" = yes; then
10479 ac_cv_sizeof_char
=1
10481 cat > conftest.
$ac_ext <<EOF
10482 #line 10483 "configure"
10483 #include "confdefs.h"
10487 FILE *f=fopen("conftestval", "w");
10489 fprintf(f, "%d\n", sizeof(char));
10493 if { (eval echo configure
:10494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10495 ac_cv_sizeof_char
=`cat conftestval`
10497 echo "configure: failed program was:" >&5
10498 cat conftest.
$ac_ext >&5
10500 ac_cv_sizeof_char
=0
10506 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10507 cat >> confdefs.h
<<EOF
10508 #define SIZEOF_CHAR $ac_cv_sizeof_char
10512 echo $ac_n "checking size of short""... $ac_c" 1>&6
10513 echo "configure:10514: checking size of short" >&5
10514 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10515 echo $ac_n "(cached) $ac_c" 1>&6
10517 if test "$cross_compiling" = yes; then
10518 ac_cv_sizeof_short
=2
10520 cat > conftest.
$ac_ext <<EOF
10521 #line 10522 "configure"
10522 #include "confdefs.h"
10526 FILE *f=fopen("conftestval", "w");
10528 fprintf(f, "%d\n", sizeof(short));
10532 if { (eval echo configure
:10533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10534 ac_cv_sizeof_short
=`cat conftestval`
10536 echo "configure: failed program was:" >&5
10537 cat conftest.
$ac_ext >&5
10539 ac_cv_sizeof_short
=0
10545 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10546 cat >> confdefs.h
<<EOF
10547 #define SIZEOF_SHORT $ac_cv_sizeof_short
10551 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10552 echo "configure:10553: checking size of void *" >&5
10553 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10554 echo $ac_n "(cached) $ac_c" 1>&6
10556 if test "$cross_compiling" = yes; then
10557 ac_cv_sizeof_void_p
=4
10559 cat > conftest.
$ac_ext <<EOF
10560 #line 10561 "configure"
10561 #include "confdefs.h"
10565 FILE *f=fopen("conftestval", "w");
10567 fprintf(f, "%d\n", sizeof(void *));
10571 if { (eval echo configure
:10572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10573 ac_cv_sizeof_void_p
=`cat conftestval`
10575 echo "configure: failed program was:" >&5
10576 cat conftest.
$ac_ext >&5
10578 ac_cv_sizeof_void_p
=0
10584 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10585 cat >> confdefs.h
<<EOF
10586 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10590 echo $ac_n "checking size of int""... $ac_c" 1>&6
10591 echo "configure:10592: checking size of int" >&5
10592 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10593 echo $ac_n "(cached) $ac_c" 1>&6
10595 if test "$cross_compiling" = yes; then
10598 cat > conftest.
$ac_ext <<EOF
10599 #line 10600 "configure"
10600 #include "confdefs.h"
10604 FILE *f=fopen("conftestval", "w");
10606 fprintf(f, "%d\n", sizeof(int));
10610 if { (eval echo configure
:10611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10612 ac_cv_sizeof_int
=`cat conftestval`
10614 echo "configure: failed program was:" >&5
10615 cat conftest.
$ac_ext >&5
10623 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10624 cat >> confdefs.h
<<EOF
10625 #define SIZEOF_INT $ac_cv_sizeof_int
10629 echo $ac_n "checking size of long""... $ac_c" 1>&6
10630 echo "configure:10631: checking size of long" >&5
10631 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10632 echo $ac_n "(cached) $ac_c" 1>&6
10634 if test "$cross_compiling" = yes; then
10635 ac_cv_sizeof_long
=4
10637 cat > conftest.
$ac_ext <<EOF
10638 #line 10639 "configure"
10639 #include "confdefs.h"
10643 FILE *f=fopen("conftestval", "w");
10645 fprintf(f, "%d\n", sizeof(long));
10649 if { (eval echo configure
:10650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10651 ac_cv_sizeof_long
=`cat conftestval`
10653 echo "configure: failed program was:" >&5
10654 cat conftest.
$ac_ext >&5
10656 ac_cv_sizeof_long
=0
10662 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10663 cat >> confdefs.h
<<EOF
10664 #define SIZEOF_LONG $ac_cv_sizeof_long
10671 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10672 echo "configure:10673: checking size of long long" >&5
10673 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10674 echo $ac_n "(cached) $ac_c" 1>&6
10676 if test "$cross_compiling" = yes; then
10677 ac_cv_sizeof_long_long
=8
10679 cat > conftest.
$ac_ext <<EOF
10680 #line 10681 "configure"
10681 #include "confdefs.h"
10685 FILE *f=fopen("conftestval", "w");
10687 fprintf(f, "%d\n", sizeof(long long));
10691 if { (eval echo configure
:10692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10693 ac_cv_sizeof_long_long
=`cat conftestval`
10695 echo "configure: failed program was:" >&5
10696 cat conftest.
$ac_ext >&5
10698 ac_cv_sizeof_long_long
=0
10704 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10705 cat >> confdefs.h
<<EOF
10706 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10712 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10713 echo "configure:10714: checking size of long long" >&5
10714 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10715 echo $ac_n "(cached) $ac_c" 1>&6
10717 if test "$cross_compiling" = yes; then
10718 ac_cv_sizeof_long_long
=0
10720 cat > conftest.
$ac_ext <<EOF
10721 #line 10722 "configure"
10722 #include "confdefs.h"
10726 FILE *f=fopen("conftestval", "w");
10728 fprintf(f, "%d\n", sizeof(long long));
10732 if { (eval echo configure
:10733: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10734 ac_cv_sizeof_long_long
=`cat conftestval`
10736 echo "configure: failed program was:" >&5
10737 cat conftest.
$ac_ext >&5
10739 ac_cv_sizeof_long_long
=0
10745 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10746 cat >> confdefs.h
<<EOF
10747 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10751 if test "$ac_cv_sizeof_long_long" != "0"; then
10752 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10756 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10757 echo "configure:10758: checking size of long long" >&5
10758 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10759 echo $ac_n "(cached) $ac_c" 1>&6
10761 if test "$cross_compiling" = yes; then
10762 ac_cv_sizeof_long_long
=0
10764 cat > conftest.
$ac_ext <<EOF
10765 #line 10766 "configure"
10766 #include "confdefs.h"
10770 FILE *f=fopen("conftestval", "w");
10772 fprintf(f, "%d\n", sizeof(long long));
10776 if { (eval echo configure
:10777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10778 ac_cv_sizeof_long_long
=`cat conftestval`
10780 echo "configure: failed program was:" >&5
10781 cat conftest.
$ac_ext >&5
10783 ac_cv_sizeof_long_long
=0
10789 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10790 cat >> confdefs.h
<<EOF
10791 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10797 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10798 echo "configure:10799: checking size of wchar_t" >&5
10799 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10800 echo $ac_n "(cached) $ac_c" 1>&6
10803 if test "$cross_compiling" = yes; then
10807 wx_cv_sizeof_wchar_t
=0
10810 wx_cv_sizeof_wchar_t
=4
10816 cat > conftest.
$ac_ext <<EOF
10817 #line 10818 "configure"
10818 #include "confdefs.h"
10820 /* DJGPP only has fake wchar_t: */
10822 # error "fake wchar_t"
10824 #ifdef HAVE_WCHAR_H
10826 # include <stddef.h>
10828 # include <wchar.h>
10830 #ifdef HAVE_STDLIB_H
10831 # include <stdlib.h>
10836 FILE *f=fopen("conftestval", "w");
10838 fprintf(f, "%i", sizeof(wchar_t));
10843 if { (eval echo configure
:10844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10845 wx_cv_sizeof_wchar_t
=`cat conftestval`
10847 echo "configure: failed program was:" >&5
10848 cat conftest.
$ac_ext >&5
10850 wx_cv_sizeof_wchar_t
=0
10858 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10860 cat >> confdefs.h
<<EOF
10861 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10865 # Check whether --enable-largefile or --disable-largefile was given.
10866 if test "${enable_largefile+set}" = set; then
10867 enableval
="$enable_largefile"
10871 if test "$enable_largefile" != no
; then
10874 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10875 echo "configure:10876: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10876 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10877 echo $ac_n "(cached) $ac_c" 1>&6
10880 cat > conftest.
$ac_ext <<EOF
10881 #line 10882 "configure"
10882 #include "confdefs.h"
10883 #define _FILE_OFFSET_BITS 64
10884 #include <sys/types.h>
10887 unsigned int field: sizeof(off_t) == 8;
10892 if { (eval echo configure
:10893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10894 ac_cv_sys_file_offset_bits
=64
10896 echo "configure: failed program was:" >&5
10897 cat conftest.
$ac_ext >&5
10899 ac_cv_sys_file_offset_bits
=no
10906 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10908 if test "$ac_cv_sys_file_offset_bits" != no
; then
10910 cat >> confdefs.h
<<EOF
10911 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10916 if test "x$wx_largefile" != "xyes"; then
10918 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10919 echo "configure:10920: checking for _LARGE_FILES value needed for large files" >&5
10920 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10921 echo $ac_n "(cached) $ac_c" 1>&6
10924 cat > conftest.
$ac_ext <<EOF
10925 #line 10926 "configure"
10926 #include "confdefs.h"
10927 #define _LARGE_FILES 1
10928 #include <sys/types.h>
10931 unsigned int field: sizeof(off_t) == 8;
10936 if { (eval echo configure
:10937: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10938 ac_cv_sys_large_files
=1
10940 echo "configure: failed program was:" >&5
10941 cat conftest.
$ac_ext >&5
10943 ac_cv_sys_large_files
=no
10950 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10952 if test "$ac_cv_sys_large_files" != no
; then
10954 cat >> confdefs.h
<<EOF
10955 #define _LARGE_FILES $ac_cv_sys_large_files
10962 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10963 echo "configure:10964: checking if large file support is available" >&5
10964 if test "x$wx_largefile" = "xyes"; then
10965 cat >> confdefs.h
<<\EOF
10966 #define HAVE_LARGEFILE_SUPPORT 1
10970 echo "$ac_t""$wx_largefile" 1>&6
10974 if test "x$wx_largefile" = "xyes"; then
10975 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10976 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10978 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10980 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10983 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10984 echo "configure:10985: checking whether byte ordering is bigendian" >&5
10985 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10986 echo $ac_n "(cached) $ac_c" 1>&6
10988 ac_cv_c_bigendian
=unknown
10989 # See if sys/param.h defines the BYTE_ORDER macro.
10990 cat > conftest.
$ac_ext <<EOF
10991 #line 10992 "configure"
10992 #include "confdefs.h"
10993 #include <sys/types.h>
10994 #include <sys/param.h>
10997 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10998 bogus endian macros
11002 if { (eval echo configure
:11003: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11004 # It does; now see whether it defined to BIG_ENDIAN or not.
11005 cat > conftest.
$ac_ext <<EOF
11006 #line 11007 "configure"
11007 #include "confdefs.h"
11008 #include <sys/types.h>
11009 #include <sys/param.h>
11012 #if BYTE_ORDER != BIG_ENDIAN
11017 if { (eval echo configure
:11018: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11019 ac_cv_c_bigendian
=yes
11021 echo "configure: failed program was:" >&5
11022 cat conftest.
$ac_ext >&5
11024 ac_cv_c_bigendian
=no
11028 echo "configure: failed program was:" >&5
11029 cat conftest.
$ac_ext >&5
11032 if test $ac_cv_c_bigendian = unknown
; then
11033 if test "$cross_compiling" = yes; then
11034 ac_cv_c_bigendian
=unknown
11036 cat > conftest.
$ac_ext <<EOF
11037 #line 11038 "configure"
11038 #include "confdefs.h"
11040 /* Are we little or big endian? From Harbison&Steele. */
11044 char c[sizeof (long)];
11047 exit (u.c[sizeof (long) - 1] == 1);
11050 if { (eval echo configure
:11051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11052 ac_cv_c_bigendian
=no
11054 echo "configure: failed program was:" >&5
11055 cat conftest.
$ac_ext >&5
11057 ac_cv_c_bigendian
=yes
11065 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11066 if test $ac_cv_c_bigendian = unknown
; then
11067 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
11069 if test $ac_cv_c_bigendian = yes; then
11070 cat >> confdefs.h
<<\EOF
11071 #define WORDS_BIGENDIAN 1
11077 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11078 echo "configure:11079: checking how to run the C++ preprocessor" >&5
11079 if test -z "$CXXCPP"; then
11080 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11081 echo $ac_n "(cached) $ac_c" 1>&6
11084 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11085 ac_cpp
='$CXXCPP $CPPFLAGS'
11086 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11087 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11088 cross_compiling
=$ac_cv_prog_cxx_cross
11089 CXXCPP
="${CXX-g++} -E"
11090 cat > conftest.
$ac_ext <<EOF
11091 #line 11092 "configure"
11092 #include "confdefs.h"
11093 #include <stdlib.h>
11095 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11096 { (eval echo configure
:11097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11097 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11098 if test -z "$ac_err"; then
11102 echo "configure: failed program was:" >&5
11103 cat conftest.
$ac_ext >&5
11108 ac_cv_prog_CXXCPP
="$CXXCPP"
11110 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11111 ac_cpp
='$CXXCPP $CPPFLAGS'
11112 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11113 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11114 cross_compiling
=$ac_cv_prog_cxx_cross
11117 CXXCPP
="$ac_cv_prog_CXXCPP"
11118 echo "$ac_t""$CXXCPP" 1>&6
11121 if test "$cross_compiling" = "yes"; then
11122 cat >> confdefs.h
<<\EOF
11123 #define wxUSE_IOSTREAMH 1
11129 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11130 ac_cpp
='$CXXCPP $CPPFLAGS'
11131 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11132 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11133 cross_compiling
=$ac_cv_prog_cxx_cross
11136 for ac_hdr
in iostream
11138 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11139 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11140 echo "configure:11141: checking for $ac_hdr" >&5
11141 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11142 echo $ac_n "(cached) $ac_c" 1>&6
11144 cat > conftest.
$ac_ext <<EOF
11145 #line 11146 "configure"
11146 #include "confdefs.h"
11149 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11150 { (eval echo configure
:11151: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11151 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11152 if test -z "$ac_err"; then
11154 eval "ac_cv_header_$ac_safe=yes"
11157 echo "configure: failed program was:" >&5
11158 cat conftest.
$ac_ext >&5
11160 eval "ac_cv_header_$ac_safe=no"
11164 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11165 echo "$ac_t""yes" 1>&6
11166 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11167 cat >> confdefs.h
<<EOF
11168 #define $ac_tr_hdr 1
11172 echo "$ac_t""no" 1>&6
11177 if test "$ac_cv_header_iostream" = "yes" ; then
11180 cat >> confdefs.h
<<\EOF
11181 #define wxUSE_IOSTREAMH 1
11187 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11188 ac_cpp
='$CPP $CPPFLAGS'
11189 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11190 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11191 cross_compiling
=$ac_cv_prog_cc_cross
11197 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11198 echo "configure:11199: checking if C++ compiler supports bool" >&5
11199 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11200 echo $ac_n "(cached) $ac_c" 1>&6
11205 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11206 ac_cpp
='$CXXCPP $CPPFLAGS'
11207 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11208 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11209 cross_compiling
=$ac_cv_prog_cxx_cross
11212 cat > conftest.
$ac_ext <<EOF
11213 #line 11214 "configure"
11214 #include "confdefs.h"
11225 if { (eval echo configure
:11226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11231 echo "configure: failed program was:" >&5
11232 cat conftest.
$ac_ext >&5
11242 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11243 ac_cpp
='$CPP $CPPFLAGS'
11244 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11245 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11246 cross_compiling
=$ac_cv_prog_cc_cross
11251 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11253 if test "$wx_cv_cpp_bool" = "yes"; then
11254 cat >> confdefs.h
<<\EOF
11255 #define HAVE_BOOL 1
11262 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11263 echo "configure:11264: checking if C++ compiler supports the explicit keyword" >&5
11264 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11265 echo $ac_n "(cached) $ac_c" 1>&6
11270 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11271 ac_cpp
='$CXXCPP $CPPFLAGS'
11272 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11273 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11274 cross_compiling
=$ac_cv_prog_cxx_cross
11277 cat > conftest.
$ac_ext <<EOF
11278 #line 11279 "configure"
11279 #include "confdefs.h"
11281 class Foo { public: explicit Foo(int) {} };
11289 if { (eval echo configure
:11290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11292 cat > conftest.
$ac_ext <<EOF
11293 #line 11294 "configure"
11294 #include "confdefs.h"
11296 class Foo { public: explicit Foo(int) {} };
11297 static void TakeFoo(const Foo& foo) { }
11306 if { (eval echo configure
:11307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11310 echo "configure: failed program was:" >&5
11311 cat conftest.
$ac_ext >&5
11319 echo "configure: failed program was:" >&5
11320 cat conftest.
$ac_ext >&5
11328 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11329 ac_cpp
='$CPP $CPPFLAGS'
11330 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11331 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11332 cross_compiling
=$ac_cv_prog_cc_cross
11337 echo "$ac_t""$wx_cv_explicit" 1>&6
11339 if test "$wx_cv_explicit" = "yes"; then
11340 cat >> confdefs.h
<<\EOF
11341 #define HAVE_EXPLICIT 1
11347 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11348 echo "configure:11349: checking whether the compiler supports const_cast<>" >&5
11349 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11350 echo $ac_n "(cached) $ac_c" 1>&6
11354 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11355 ac_cpp
='$CXXCPP $CPPFLAGS'
11356 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11357 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11358 cross_compiling
=$ac_cv_prog_cxx_cross
11360 cat > conftest.
$ac_ext <<EOF
11361 #line 11362 "configure"
11362 #include "confdefs.h"
11365 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11368 if { (eval echo configure
:11369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11370 ac_cv_cxx_const_cast
=yes
11372 echo "configure: failed program was:" >&5
11373 cat conftest.
$ac_ext >&5
11375 ac_cv_cxx_const_cast
=no
11379 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11380 ac_cpp
='$CPP $CPPFLAGS'
11381 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11382 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11383 cross_compiling
=$ac_cv_prog_cc_cross
11388 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11389 if test "$ac_cv_cxx_const_cast" = yes; then
11390 cat >> confdefs.h
<<\EOF
11391 #define HAVE_CONST_CAST
11399 /usr/local/include \
11401 /usr/Motif-1.2/include \
11402 /usr/Motif-2.1/include \
11404 /usr/include/Motif1.2 \
11405 /opt/xpm/include/X11 \
11406 /opt/GBxpm/include/ \
11407 /opt/GBxpm/X11/include/ \
11409 /usr/Motif1.2/include \
11411 /usr/openwin/include \
11415 /usr/X11R6/include \
11416 /usr/X11R6.4/include \
11417 /usr/X11R5/include \
11418 /usr/X11R4/include \
11420 /usr/include/X11R6 \
11421 /usr/include/X11R5 \
11422 /usr/include/X11R4 \
11424 /usr/local/X11R6/include \
11425 /usr/local/X11R5/include \
11426 /usr/local/X11R4/include \
11428 /usr/local/include/X11R6 \
11429 /usr/local/include/X11R5 \
11430 /usr/local/include/X11R4 \
11434 /usr/local/X11/include \
11435 /usr/local/include/X11 \
11437 /usr/X386/include \
11438 /usr/x386/include \
11439 /usr/XFree86/include/X11 \
11441 X:/XFree86/include \
11442 X:/XFree86/include/X11 \
11445 /usr/local/include/gtk \
11446 /usr/include/glib \
11447 /usr/local/include/glib \
11450 /usr/local/include/qt \
11452 /usr/include/windows \
11453 /usr/include/wine \
11454 /usr/local/include/wine \
11456 /usr/unsupported/include \
11457 /usr/athena/include \
11458 /usr/local/x11r5/include \
11459 /usr/lpp/Xamples/include \
11461 /usr/openwin/share/include"
11463 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11466 cat > confcache
<<\EOF
11467 # This file is a shell script that caches the results of configure
11468 # tests run on this system so they can be shared between configure
11469 # scripts and configure runs. It is not useful on other systems.
11470 # If it contains results you don't want to keep, you may remove or edit it.
11472 # By default, configure uses ./config.cache as the cache file,
11473 # creating it if it does not exist already. You can give configure
11474 # the --cache-file=FILE option to use a different cache file; that is
11475 # what configure does when it calls configure scripts in
11476 # subdirectories, so they share the cache.
11477 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11478 # config.status only pays attention to the cache file if you give it the
11479 # --recheck option to rerun configure.
11482 # The following way of writing the cache mishandles newlines in values,
11483 # but we know of no workaround that is simple, portable, and efficient.
11484 # So, don't put newlines in cache variables' values.
11485 # Ultrix sh set writes to stderr and can't be redirected directly,
11486 # and sets the high bit in the cache file unless we assign to the vars.
11488 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11490 # `set' does not quote correctly, so add quotes (double-quote substitution
11491 # turns \\\\ into \\, and sed turns \\ into \).
11493 -e "s/'/'\\\\''/g" \
11494 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11497 # `set' quotes correctly as required by POSIX, so do not add quotes.
11498 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11501 if cmp -s $cache_file confcache
; then
11504 if test -w $cache_file; then
11505 echo "updating cache $cache_file"
11506 cat confcache
> $cache_file
11508 echo "not updating unwritable cache $cache_file"
11514 if test "$USE_LINUX" = 1; then
11515 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11516 echo "configure:11517: checking for glibc 2.1 or later" >&5
11517 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11518 echo $ac_n "(cached) $ac_c" 1>&6
11521 cat > conftest.
$ac_ext <<EOF
11522 #line 11523 "configure"
11523 #include "confdefs.h"
11524 #include <features.h>
11527 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11528 #error not glibc2.1
11533 if { (eval echo configure
:11534: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11536 wx_cv_lib_glibc21
=yes
11539 echo "configure: failed program was:" >&5
11540 cat conftest.
$ac_ext >&5
11543 wx_cv_lib_glibc21
=no
11551 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11552 if test "$wx_cv_lib_glibc21" = "yes"; then
11553 cat >> confdefs.h
<<\EOF
11554 #define wxHAVE_GLIBC2 1
11560 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11561 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11562 cat >> confdefs.h
<<\EOF
11563 #define _GNU_SOURCE 1
11572 if test "$wxUSE_REGEX" != "no"; then
11573 cat >> confdefs.h
<<\EOF
11574 #define wxUSE_REGEX 1
11578 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11579 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11580 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11581 echo "configure:11582: checking for regex.h" >&5
11582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11583 echo $ac_n "(cached) $ac_c" 1>&6
11585 cat > conftest.
$ac_ext <<EOF
11586 #line 11587 "configure"
11587 #include "confdefs.h"
11590 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11591 { (eval echo configure
:11592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11592 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11593 if test -z "$ac_err"; then
11595 eval "ac_cv_header_$ac_safe=yes"
11598 echo "configure: failed program was:" >&5
11599 cat conftest.
$ac_ext >&5
11601 eval "ac_cv_header_$ac_safe=no"
11605 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11606 echo "$ac_t""yes" 1>&6
11607 for ac_func
in regcomp
11609 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11610 echo "configure:11611: checking for $ac_func" >&5
11611 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11612 echo $ac_n "(cached) $ac_c" 1>&6
11614 cat > conftest.
$ac_ext <<EOF
11615 #line 11616 "configure"
11616 #include "confdefs.h"
11617 /* System header to define __stub macros and hopefully few prototypes,
11618 which can conflict with char $ac_func(); below. */
11619 #include <assert.h>
11620 /* Override any gcc2 internal prototype to avoid an error. */
11621 /* We use char because int might match the return type of a gcc2
11622 builtin and then its argument prototype would still apply. */
11627 /* The GNU C library defines this for functions which it implements
11628 to always fail with ENOSYS. Some functions are actually named
11629 something starting with __ and the normal name is an alias. */
11630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11638 if { (eval echo configure
:11639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11640 eval "ac_cv_func_$ac_func=yes"
11642 echo "configure: failed program was:" >&5
11643 cat conftest.
$ac_ext >&5
11645 eval "ac_cv_func_$ac_func=no"
11650 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11651 echo "$ac_t""yes" 1>&6
11652 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11653 cat >> confdefs.h
<<EOF
11654 #define $ac_tr_func 1
11658 echo "$ac_t""no" 1>&6
11663 echo "$ac_t""no" 1>&6
11667 if test "x$ac_cv_func_regcomp" != "xyes"; then
11668 if test "$wxUSE_REGEX" = "sys" ; then
11669 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11671 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11672 wxUSE_REGEX
=builtin
11679 if test "$wxUSE_REGEX" = "builtin" ; then
11680 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11687 if test "$wxUSE_ZLIB" != "no" ; then
11688 cat >> confdefs.h
<<\EOF
11689 #define wxUSE_ZLIB 1
11693 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11694 if test "$USE_DARWIN" = 1; then
11695 system_zlib_h_ok
="yes"
11697 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11698 echo "configure:11699: checking for zlib.h >= 1.1.4" >&5
11699 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11700 echo $ac_n "(cached) $ac_c" 1>&6
11702 if test "$cross_compiling" = yes; then
11703 unset ac_cv_header_zlib_h
11706 cat > conftest.
$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11716 FILE *f=fopen("conftestval", "w");
11719 ZLIB_VERSION[0] == '1' &&
11720 (ZLIB_VERSION[2] > '1' ||
11721 (ZLIB_VERSION[2] == '1' &&
11722 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11728 if { (eval echo configure
:11729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11730 ac_cv_header_zlib_h
=`cat conftestval`
11732 echo "configure: failed program was:" >&5
11733 cat conftest.
$ac_ext >&5
11735 ac_cv_header_zlib_h
=no
11743 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11744 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11745 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11746 echo "configure:11747: checking for zlib.h" >&5
11747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11748 echo $ac_n "(cached) $ac_c" 1>&6
11750 cat > conftest.
$ac_ext <<EOF
11751 #line 11752 "configure"
11752 #include "confdefs.h"
11755 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11756 { (eval echo configure
:11757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11757 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11758 if test -z "$ac_err"; then
11760 eval "ac_cv_header_$ac_safe=yes"
11763 echo "configure: failed program was:" >&5
11764 cat conftest.
$ac_ext >&5
11766 eval "ac_cv_header_$ac_safe=no"
11770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11771 echo "$ac_t""yes" 1>&6
11774 echo "$ac_t""no" 1>&6
11778 system_zlib_h_ok
=$ac_cv_header_zlib_h
11781 if test "$system_zlib_h_ok" = "yes"; then
11782 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11783 echo "configure:11784: checking for deflate in -lz" >&5
11784 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11785 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11786 echo $ac_n "(cached) $ac_c" 1>&6
11788 ac_save_LIBS
="$LIBS"
11790 cat > conftest.
$ac_ext <<EOF
11791 #line 11792 "configure"
11792 #include "confdefs.h"
11793 /* Override any gcc2 internal prototype to avoid an error. */
11794 /* We use char because int might match the return type of a gcc2
11795 builtin and then its argument prototype would still apply. */
11802 if { (eval echo configure
:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11804 eval "ac_cv_lib_$ac_lib_var=yes"
11806 echo "configure: failed program was:" >&5
11807 cat conftest.
$ac_ext >&5
11809 eval "ac_cv_lib_$ac_lib_var=no"
11812 LIBS
="$ac_save_LIBS"
11815 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11816 echo "$ac_t""yes" 1>&6
11819 echo "$ac_t""no" 1>&6
11824 if test "x$ZLIB_LINK" = "x" ; then
11825 if test "$wxUSE_ZLIB" = "sys" ; then
11826 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11828 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11836 if test "$wxUSE_ZLIB" = "builtin" ; then
11837 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11844 if test "$wxUSE_LIBPNG" != "no" ; then
11845 cat >> confdefs.h
<<\EOF
11846 #define wxUSE_LIBPNG 1
11850 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11851 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11855 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11856 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11857 wxUSE_LIBPNG
=builtin
11860 if test "$wxUSE_MGL" != 1 ; then
11861 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11862 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11863 echo "configure:11864: checking for png.h > 0.90" >&5
11864 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11865 echo $ac_n "(cached) $ac_c" 1>&6
11867 if test "$cross_compiling" = yes; then
11868 unset ac_cv_header_png_h
11871 cat > conftest.
$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11880 FILE *f=fopen("conftestval", "w");
11883 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11888 if { (eval echo configure
:11889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11890 ac_cv_header_png_h
=`cat conftestval`
11892 echo "configure: failed program was:" >&5
11893 cat conftest.
$ac_ext >&5
11895 ac_cv_header_png_h
=no
11903 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11904 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11905 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11906 echo "configure:11907: checking for png.h" >&5
11907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11908 echo $ac_n "(cached) $ac_c" 1>&6
11910 cat > conftest.
$ac_ext <<EOF
11911 #line 11912 "configure"
11912 #include "confdefs.h"
11915 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11916 { (eval echo configure
:11917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11917 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11918 if test -z "$ac_err"; then
11920 eval "ac_cv_header_$ac_safe=yes"
11923 echo "configure: failed program was:" >&5
11924 cat conftest.
$ac_ext >&5
11926 eval "ac_cv_header_$ac_safe=no"
11930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11931 echo "$ac_t""yes" 1>&6
11934 echo "$ac_t""no" 1>&6
11938 if test "$ac_cv_header_png_h" = "yes"; then
11939 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11940 echo "configure:11941: checking for png_check_sig in -lpng" >&5
11941 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11942 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11943 echo $ac_n "(cached) $ac_c" 1>&6
11945 ac_save_LIBS
="$LIBS"
11946 LIBS
="-lpng -lz -lm $LIBS"
11947 cat > conftest.
$ac_ext <<EOF
11948 #line 11949 "configure"
11949 #include "confdefs.h"
11950 /* Override any gcc2 internal prototype to avoid an error. */
11951 /* We use char because int might match the return type of a gcc2
11952 builtin and then its argument prototype would still apply. */
11953 char png_check_sig();
11959 if { (eval echo configure
:11960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11961 eval "ac_cv_lib_$ac_lib_var=yes"
11963 echo "configure: failed program was:" >&5
11964 cat conftest.
$ac_ext >&5
11966 eval "ac_cv_lib_$ac_lib_var=no"
11969 LIBS
="$ac_save_LIBS"
11972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11973 echo "$ac_t""yes" 1>&6
11976 echo "$ac_t""no" 1>&6
11981 if test "x$PNG_LINK" = "x" ; then
11982 if test "$wxUSE_LIBPNG" = "sys" ; then
11983 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11985 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11986 wxUSE_LIBPNG
=builtin
11994 if test "$wxUSE_LIBPNG" = "builtin" ; then
11995 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11998 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12004 if test "$wxUSE_LIBJPEG" != "no" ; then
12005 cat >> confdefs.h
<<\EOF
12006 #define wxUSE_LIBJPEG 1
12010 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
12011 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
12015 if test "$wxUSE_MGL" != 1 ; then
12016 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
12017 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12018 echo "configure:12019: checking for jpeglib.h" >&5
12019 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
12020 echo $ac_n "(cached) $ac_c" 1>&6
12022 cat > conftest.
$ac_ext <<EOF
12023 #line 12024 "configure"
12024 #include "confdefs.h"
12026 #undef HAVE_STDLIB_H
12028 #include <jpeglib.h>
12035 if { (eval echo configure
:12036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12037 ac_cv_header_jpeglib_h
=yes
12039 echo "configure: failed program was:" >&5
12040 cat conftest.
$ac_ext >&5
12042 ac_cv_header_jpeglib_h
=no
12049 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
12051 if test "$ac_cv_header_jpeglib_h" = "yes"; then
12052 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12053 echo "configure:12054: checking for jpeg_read_header in -ljpeg" >&5
12054 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12056 echo $ac_n "(cached) $ac_c" 1>&6
12058 ac_save_LIBS
="$LIBS"
12059 LIBS
="-ljpeg $LIBS"
12060 cat > conftest.
$ac_ext <<EOF
12061 #line 12062 "configure"
12062 #include "confdefs.h"
12063 /* Override any gcc2 internal prototype to avoid an error. */
12064 /* We use char because int might match the return type of a gcc2
12065 builtin and then its argument prototype would still apply. */
12066 char jpeg_read_header();
12072 if { (eval echo configure
:12073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12074 eval "ac_cv_lib_$ac_lib_var=yes"
12076 echo "configure: failed program was:" >&5
12077 cat conftest.
$ac_ext >&5
12079 eval "ac_cv_lib_$ac_lib_var=no"
12082 LIBS
="$ac_save_LIBS"
12085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12086 echo "$ac_t""yes" 1>&6
12087 JPEG_LINK
=" -ljpeg"
12089 echo "$ac_t""no" 1>&6
12094 if test "x$JPEG_LINK" = "x" ; then
12095 if test "$wxUSE_LIBJPEG" = "sys" ; then
12096 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12098 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12099 wxUSE_LIBJPEG
=builtin
12107 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12108 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12115 TIFF_PREREQ_LINKS
=-lm
12116 if test "$wxUSE_LIBTIFF" != "no" ; then
12117 cat >> confdefs.h
<<\EOF
12118 #define wxUSE_LIBTIFF 1
12122 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12123 if test "$wxUSE_LIBJPEG" = "sys"; then
12124 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12126 if test "$wxUSE_ZLIB" = "sys"; then
12127 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12129 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12130 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12131 echo "configure:12132: checking for tiffio.h" >&5
12132 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12133 echo $ac_n "(cached) $ac_c" 1>&6
12135 cat > conftest.
$ac_ext <<EOF
12136 #line 12137 "configure"
12137 #include "confdefs.h"
12138 #include <tiffio.h>
12140 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12141 { (eval echo configure
:12142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12142 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12143 if test -z "$ac_err"; then
12145 eval "ac_cv_header_$ac_safe=yes"
12148 echo "configure: failed program was:" >&5
12149 cat conftest.
$ac_ext >&5
12151 eval "ac_cv_header_$ac_safe=no"
12155 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12156 echo "$ac_t""yes" 1>&6
12157 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12158 echo "configure:12159: checking for TIFFError in -ltiff" >&5
12159 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12161 echo $ac_n "(cached) $ac_c" 1>&6
12163 ac_save_LIBS
="$LIBS"
12164 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12165 cat > conftest.
$ac_ext <<EOF
12166 #line 12167 "configure"
12167 #include "confdefs.h"
12168 /* Override any gcc2 internal prototype to avoid an error. */
12169 /* We use char because int might match the return type of a gcc2
12170 builtin and then its argument prototype would still apply. */
12177 if { (eval echo configure
:12178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12179 eval "ac_cv_lib_$ac_lib_var=yes"
12181 echo "configure: failed program was:" >&5
12182 cat conftest.
$ac_ext >&5
12184 eval "ac_cv_lib_$ac_lib_var=no"
12187 LIBS
="$ac_save_LIBS"
12190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12191 echo "$ac_t""yes" 1>&6
12192 TIFF_LINK
=" -ltiff"
12194 echo "$ac_t""no" 1>&6
12199 echo "$ac_t""no" 1>&6
12203 if test "x$TIFF_LINK" = "x" ; then
12204 if test "$wxUSE_LIBTIFF" = "sys" ; then
12205 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12207 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12208 wxUSE_LIBTIFF
=builtin
12215 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12216 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12228 if test "$USE_WIN32" = 1 ; then
12229 for ac_hdr
in w32api.h
12231 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12232 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12233 echo "configure:12234: checking for $ac_hdr" >&5
12234 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12235 echo $ac_n "(cached) $ac_c" 1>&6
12237 cat > conftest.
$ac_ext <<EOF
12238 #line 12239 "configure"
12239 #include "confdefs.h"
12242 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12243 { (eval echo configure
:12244: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12244 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12245 if test -z "$ac_err"; then
12247 eval "ac_cv_header_$ac_safe=yes"
12250 echo "configure: failed program was:" >&5
12251 cat conftest.
$ac_ext >&5
12253 eval "ac_cv_header_$ac_safe=no"
12257 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12258 echo "$ac_t""yes" 1>&6
12259 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12260 cat >> confdefs.h
<<EOF
12261 #define $ac_tr_hdr 1
12265 echo "$ac_t""no" 1>&6
12269 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12270 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12271 echo "configure:12272: checking for windows.h" >&5
12272 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12273 echo $ac_n "(cached) $ac_c" 1>&6
12275 cat > conftest.
$ac_ext <<EOF
12276 #line 12277 "configure"
12277 #include "confdefs.h"
12278 #include <windows.h>
12280 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12281 { (eval echo configure
:12282: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12282 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12283 if test -z "$ac_err"; then
12285 eval "ac_cv_header_$ac_safe=yes"
12288 echo "configure: failed program was:" >&5
12289 cat conftest.
$ac_ext >&5
12291 eval "ac_cv_header_$ac_safe=no"
12295 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12296 echo "$ac_t""yes" 1>&6
12299 echo "$ac_t""no" 1>&6
12301 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12306 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12307 echo "configure:12308: checking if w32api has good enough MSIE support" >&5
12308 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12309 echo $ac_n "(cached) $ac_c" 1>&6
12312 cat > conftest.
$ac_ext <<EOF
12313 #line 12314 "configure"
12314 #include "confdefs.h"
12315 #include <w32api.h>
12318 #define wxCHECK_W32API_VERSION( major, minor ) \
12319 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12320 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12321 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12323 #if !wxCHECK_W32API_VERSION(1,1)
12324 #error You need w32api 1.1 or newer
12329 if { (eval echo configure
:12330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12332 wx_cv_w32api_win32_ie
=yes
12335 echo "configure: failed program was:" >&5
12336 cat conftest.
$ac_ext >&5
12339 wx_cv_w32api_win32_ie
=no
12346 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12347 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12348 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12351 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12355 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12356 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12359 if test "$wxUSE_ODBC" = "yes" ; then
12360 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12363 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12364 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12366 WIN32INSTALL
=win32install
12369 if test "$USE_DARWIN" = 1; then
12370 if test "$wxUSE_PRECOMP" = "yes"; then
12371 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12373 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12377 if test "$wxUSE_GUI" = "yes"; then
12386 if test "$wxUSE_MSW" = 1 ; then
12390 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12393 if test "$wxUSE_GTK" = 1; then
12394 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12395 echo "configure:12396: checking for GTK+ version" >&5
12397 gtk_version_cached
=1
12398 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12399 echo $ac_n "(cached) $ac_c" 1>&6
12402 gtk_version_cached
=0
12403 echo "$ac_t""" 1>&6
12406 if test "$wxUSE_THREADS" = "yes"; then
12407 GTK_MODULES
=gthread
12411 if test "x$wxUSE_GTK2" = "xyes"; then
12412 # Check whether --enable-gtktest or --disable-gtktest was given.
12413 if test "${enable_gtktest+set}" = set; then
12414 enableval
="$enable_gtktest"
12421 pkg_config_args
=gtk
+-2.0
12422 for module
in .
$GTK_MODULES
12426 pkg_config_args
="$pkg_config_args gthread-2.0"
12433 # Extract the first word of "pkg-config", so it can be a program name with args.
12434 set dummy pkg
-config; ac_word
=$2
12435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12436 echo "configure:12437: checking for $ac_word" >&5
12437 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12438 echo $ac_n "(cached) $ac_c" 1>&6
12440 case "$PKG_CONFIG" in
12442 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12445 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12448 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12450 for ac_dir
in $ac_dummy; do
12451 test -z "$ac_dir" && ac_dir
=.
12452 if test -f $ac_dir/$ac_word; then
12453 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12458 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12462 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12463 if test -n "$PKG_CONFIG"; then
12464 echo "$ac_t""$PKG_CONFIG" 1>&6
12466 echo "$ac_t""no" 1>&6
12470 if test x
$PKG_CONFIG != xno
; then
12471 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12474 echo *** pkg
-config too old
; version
0.7 or better required.
12482 min_gtk_version
=2.0.0
12483 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12484 echo "configure:12485: checking for GTK+ - version >= $min_gtk_version" >&5
12486 if test x
$PKG_CONFIG != xno
; then
12487 ## don't try to run the test against uninstalled libtool libs
12488 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12489 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12493 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12500 if test x
"$no_gtk" = x
; then
12501 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12502 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12503 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12504 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12505 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12506 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12507 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12508 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12509 if test "x$enable_gtktest" = "xyes" ; then
12510 ac_save_CFLAGS
="$CFLAGS"
12511 ac_save_LIBS
="$LIBS"
12512 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12513 LIBS
="$GTK_LIBS $LIBS"
12515 if test "$cross_compiling" = yes; then
12516 echo $ac_n "cross compiling; assumed OK... $ac_c"
12518 cat > conftest.
$ac_ext <<EOF
12519 #line 12520 "configure"
12520 #include "confdefs.h"
12522 #include <gtk/gtk.h>
12524 #include <stdlib.h>
12529 int major, minor, micro;
12532 system ("touch conf.gtktest");
12534 /* HP/UX 9 (%@#!) writes to sscanf strings */
12535 tmp_version = g_strdup("$min_gtk_version");
12536 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12537 printf("%s, bad version string\n", "$min_gtk_version");
12541 if ((gtk_major_version != $gtk_config_major_version) ||
12542 (gtk_minor_version != $gtk_config_minor_version) ||
12543 (gtk_micro_version != $gtk_config_micro_version))
12545 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12546 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12547 gtk_major_version, gtk_minor_version, gtk_micro_version);
12548 printf ("*** was found! If pkg-config was correct, then it is best\n");
12549 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12550 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12551 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12552 printf("*** required on your system.\n");
12553 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12554 printf("*** to point to the correct configuration files\n");
12556 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12557 (gtk_minor_version != GTK_MINOR_VERSION) ||
12558 (gtk_micro_version != GTK_MICRO_VERSION))
12560 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12561 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12562 printf("*** library (version %d.%d.%d)\n",
12563 gtk_major_version, gtk_minor_version, gtk_micro_version);
12567 if ((gtk_major_version > major) ||
12568 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12569 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12575 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12576 gtk_major_version, gtk_minor_version, gtk_micro_version);
12577 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12578 major, minor, micro);
12579 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12581 printf("*** If you have already installed a sufficiently new version, this error\n");
12582 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12583 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12584 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12585 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12586 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12587 printf("*** so that the correct libraries are found at run-time))\n");
12594 if { (eval echo configure
:12595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12598 echo "configure: failed program was:" >&5
12599 cat conftest.
$ac_ext >&5
12606 CFLAGS
="$ac_save_CFLAGS"
12607 LIBS
="$ac_save_LIBS"
12610 if test "x$no_gtk" = x
; then
12611 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12614 echo "$ac_t""no" 1>&6
12615 if test "$PKG_CONFIG" = "no" ; then
12616 echo "*** A new enough version of pkg-config was not found."
12617 echo "*** See http://pkgconfig.sourceforge.net"
12619 if test -f conf.gtktest
; then
12622 echo "*** Could not run GTK+ test program, checking why..."
12623 ac_save_CFLAGS
="$CFLAGS"
12624 ac_save_LIBS
="$LIBS"
12625 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12626 LIBS
="$LIBS $GTK_LIBS"
12627 cat > conftest.
$ac_ext <<EOF
12628 #line 12629 "configure"
12629 #include "confdefs.h"
12631 #include <gtk/gtk.h>
12635 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12638 if { (eval echo configure
:12639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12640 echo "*** The test program compiled, but did not run. This usually means"
12641 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12642 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12643 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12644 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12645 echo "*** is required on your system"
12647 echo "*** If you have an old version installed, it is best to remove it, although"
12648 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12650 echo "configure: failed program was:" >&5
12651 cat conftest.
$ac_ext >&5
12653 echo "*** The test program failed to compile or link. See the file config.log for the"
12654 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12657 CFLAGS
="$ac_save_CFLAGS"
12658 LIBS
="$ac_save_LIBS"
12670 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12671 if test "${with_gtk_prefix+set}" = set; then
12672 withval
="$with_gtk_prefix"
12673 gtk_config_prefix
="$withval"
12675 gtk_config_prefix
=""
12678 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12679 if test "${with_gtk_exec_prefix+set}" = set; then
12680 withval
="$with_gtk_exec_prefix"
12681 gtk_config_exec_prefix
="$withval"
12683 gtk_config_exec_prefix
=""
12686 # Check whether --enable-gtktest or --disable-gtktest was given.
12687 if test "${enable_gtktest+set}" = set; then
12688 enableval
="$enable_gtktest"
12695 for module
in .
$GTK_MODULES
12699 gtk_config_args
="$gtk_config_args gthread"
12704 if test x
$gtk_config_exec_prefix != x
; then
12705 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12706 if test x
${GTK_CONFIG+set} != xset
; then
12707 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12710 if test x
$gtk_config_prefix != x
; then
12711 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12712 if test x
${GTK_CONFIG+set} != xset
; then
12713 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12717 # Extract the first word of "gtk-config", so it can be a program name with args.
12718 set dummy gtk
-config; ac_word
=$2
12719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12720 echo "configure:12721: checking for $ac_word" >&5
12721 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12722 echo $ac_n "(cached) $ac_c" 1>&6
12724 case "$GTK_CONFIG" in
12726 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12729 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12732 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12734 for ac_dir
in $ac_dummy; do
12735 test -z "$ac_dir" && ac_dir
=.
12736 if test -f $ac_dir/$ac_word; then
12737 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12742 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12746 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12747 if test -n "$GTK_CONFIG"; then
12748 echo "$ac_t""$GTK_CONFIG" 1>&6
12750 echo "$ac_t""no" 1>&6
12753 min_gtk_version
=1.2.7
12754 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12755 echo "configure:12756: checking for GTK - version >= $min_gtk_version" >&5
12757 if test "$GTK_CONFIG" = "no" ; then
12760 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12761 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12762 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12763 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12764 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12765 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12766 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12767 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12768 if test "x$enable_gtktest" = "xyes" ; then
12769 ac_save_CFLAGS
="$CFLAGS"
12770 ac_save_LIBS
="$LIBS"
12771 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12772 LIBS
="$GTK_LIBS $LIBS"
12774 if test "$cross_compiling" = yes; then
12775 echo $ac_n "cross compiling; assumed OK... $ac_c"
12777 cat > conftest.
$ac_ext <<EOF
12778 #line 12779 "configure"
12779 #include "confdefs.h"
12781 #include <gtk/gtk.h>
12783 #include <stdlib.h>
12788 int major, minor, micro;
12791 system ("touch conf.gtktest");
12793 /* HP/UX 9 (%@#!) writes to sscanf strings */
12794 tmp_version = g_strdup("$min_gtk_version");
12795 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12796 printf("%s, bad version string\n", "$min_gtk_version");
12800 if ((gtk_major_version != $gtk_config_major_version) ||
12801 (gtk_minor_version != $gtk_config_minor_version) ||
12802 (gtk_micro_version != $gtk_config_micro_version))
12804 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12805 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12806 gtk_major_version, gtk_minor_version, gtk_micro_version);
12807 printf ("*** was found! If gtk-config was correct, then it is best\n");
12808 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12809 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12810 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12811 printf("*** required on your system.\n");
12812 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12813 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12814 printf("*** before re-running configure\n");
12816 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12817 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12818 (gtk_minor_version != GTK_MINOR_VERSION) ||
12819 (gtk_micro_version != GTK_MICRO_VERSION))
12821 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12822 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12823 printf("*** library (version %d.%d.%d)\n",
12824 gtk_major_version, gtk_minor_version, gtk_micro_version);
12826 #endif /* defined (GTK_MAJOR_VERSION) ... */
12829 if ((gtk_major_version > major) ||
12830 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12831 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12837 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12838 gtk_major_version, gtk_minor_version, gtk_micro_version);
12839 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12840 major, minor, micro);
12841 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12843 printf("*** If you have already installed a sufficiently new version, this error\n");
12844 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12845 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12846 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12847 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12848 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12849 printf("*** so that the correct libraries are found at run-time))\n");
12856 if { (eval echo configure
:12857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12860 echo "configure: failed program was:" >&5
12861 cat conftest.
$ac_ext >&5
12868 CFLAGS
="$ac_save_CFLAGS"
12869 LIBS
="$ac_save_LIBS"
12872 if test "x$no_gtk" = x
; then
12873 echo "$ac_t""yes" 1>&6
12874 wx_cv_lib_gtk
=1.2.7
12876 echo "$ac_t""no" 1>&6
12877 if test "$GTK_CONFIG" = "no" ; then
12878 echo "*** The gtk-config script installed by GTK could not be found"
12879 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12880 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12881 echo "*** full path to gtk-config."
12883 if test -f conf.gtktest
; then
12886 echo "*** Could not run GTK test program, checking why..."
12887 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12888 LIBS
="$LIBS $GTK_LIBS"
12889 cat > conftest.
$ac_ext <<EOF
12890 #line 12891 "configure"
12891 #include "confdefs.h"
12893 #include <gtk/gtk.h>
12897 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12900 if { (eval echo configure
:12901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12902 echo "*** The test program compiled, but did not run. This usually means"
12903 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12904 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12905 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12906 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12907 echo "*** is required on your system"
12909 echo "*** If you have an old version installed, it is best to remove it, although"
12910 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12912 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12913 echo "*** came with the system with the command"
12915 echo "*** rpm --erase --nodeps gtk gtk-devel"
12917 echo "configure: failed program was:" >&5
12918 cat conftest.
$ac_ext >&5
12920 echo "*** The test program failed to compile or link. See the file config.log for the"
12921 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12922 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12923 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12926 CFLAGS
="$ac_save_CFLAGS"
12927 LIBS
="$ac_save_LIBS"
12939 if test -z "$wx_cv_lib_gtk"; then
12940 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12941 if test "${with_gtk_prefix+set}" = set; then
12942 withval
="$with_gtk_prefix"
12943 gtk_config_prefix
="$withval"
12945 gtk_config_prefix
=""
12948 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12949 if test "${with_gtk_exec_prefix+set}" = set; then
12950 withval
="$with_gtk_exec_prefix"
12951 gtk_config_exec_prefix
="$withval"
12953 gtk_config_exec_prefix
=""
12956 # Check whether --enable-gtktest or --disable-gtktest was given.
12957 if test "${enable_gtktest+set}" = set; then
12958 enableval
="$enable_gtktest"
12965 for module
in .
$GTK_MODULES
12969 gtk_config_args
="$gtk_config_args gthread"
12974 if test x
$gtk_config_exec_prefix != x
; then
12975 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12976 if test x
${GTK_CONFIG+set} != xset
; then
12977 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12980 if test x
$gtk_config_prefix != x
; then
12981 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12982 if test x
${GTK_CONFIG+set} != xset
; then
12983 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12987 # Extract the first word of "gtk-config", so it can be a program name with args.
12988 set dummy gtk
-config; ac_word
=$2
12989 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12990 echo "configure:12991: checking for $ac_word" >&5
12991 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12992 echo $ac_n "(cached) $ac_c" 1>&6
12994 case "$GTK_CONFIG" in
12996 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12999 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
13002 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13004 for ac_dir
in $ac_dummy; do
13005 test -z "$ac_dir" && ac_dir
=.
13006 if test -f $ac_dir/$ac_word; then
13007 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
13012 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
13016 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
13017 if test -n "$GTK_CONFIG"; then
13018 echo "$ac_t""$GTK_CONFIG" 1>&6
13020 echo "$ac_t""no" 1>&6
13023 min_gtk_version
=1.2.3
13024 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
13025 echo "configure:13026: checking for GTK - version >= $min_gtk_version" >&5
13027 if test "$GTK_CONFIG" = "no" ; then
13030 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
13031 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
13032 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
13033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13034 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
13035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13036 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
13037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13038 if test "x$enable_gtktest" = "xyes" ; then
13039 ac_save_CFLAGS
="$CFLAGS"
13040 ac_save_LIBS
="$LIBS"
13041 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13042 LIBS
="$GTK_LIBS $LIBS"
13044 if test "$cross_compiling" = yes; then
13045 echo $ac_n "cross compiling; assumed OK... $ac_c"
13047 cat > conftest.
$ac_ext <<EOF
13048 #line 13049 "configure"
13049 #include "confdefs.h"
13051 #include <gtk/gtk.h>
13053 #include <stdlib.h>
13058 int major, minor, micro;
13061 system ("touch conf.gtktest");
13063 /* HP/UX 9 (%@#!) writes to sscanf strings */
13064 tmp_version = g_strdup("$min_gtk_version");
13065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13066 printf("%s, bad version string\n", "$min_gtk_version");
13070 if ((gtk_major_version != $gtk_config_major_version) ||
13071 (gtk_minor_version != $gtk_config_minor_version) ||
13072 (gtk_micro_version != $gtk_config_micro_version))
13074 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13076 gtk_major_version, gtk_minor_version, gtk_micro_version);
13077 printf ("*** was found! If gtk-config was correct, then it is best\n");
13078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13079 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13081 printf("*** required on your system.\n");
13082 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13083 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13084 printf("*** before re-running configure\n");
13086 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13087 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13088 (gtk_minor_version != GTK_MINOR_VERSION) ||
13089 (gtk_micro_version != GTK_MICRO_VERSION))
13091 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13092 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13093 printf("*** library (version %d.%d.%d)\n",
13094 gtk_major_version, gtk_minor_version, gtk_micro_version);
13096 #endif /* defined (GTK_MAJOR_VERSION) ... */
13099 if ((gtk_major_version > major) ||
13100 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13101 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13107 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13108 gtk_major_version, gtk_minor_version, gtk_micro_version);
13109 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13110 major, minor, micro);
13111 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13113 printf("*** If you have already installed a sufficiently new version, this error\n");
13114 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13115 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13116 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13117 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13118 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13119 printf("*** so that the correct libraries are found at run-time))\n");
13126 if { (eval echo configure
:13127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13130 echo "configure: failed program was:" >&5
13131 cat conftest.
$ac_ext >&5
13138 CFLAGS
="$ac_save_CFLAGS"
13139 LIBS
="$ac_save_LIBS"
13142 if test "x$no_gtk" = x
; then
13143 echo "$ac_t""yes" 1>&6
13144 wx_cv_lib_gtk
=1.2.3
13146 echo "$ac_t""no" 1>&6
13147 if test "$GTK_CONFIG" = "no" ; then
13148 echo "*** The gtk-config script installed by GTK could not be found"
13149 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13150 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13151 echo "*** full path to gtk-config."
13153 if test -f conf.gtktest
; then
13156 echo "*** Could not run GTK test program, checking why..."
13157 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13158 LIBS
="$LIBS $GTK_LIBS"
13159 cat > conftest.
$ac_ext <<EOF
13160 #line 13161 "configure"
13161 #include "confdefs.h"
13163 #include <gtk/gtk.h>
13167 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13170 if { (eval echo configure
:13171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13172 echo "*** The test program compiled, but did not run. This usually means"
13173 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13174 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13175 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13176 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13177 echo "*** is required on your system"
13179 echo "*** If you have an old version installed, it is best to remove it, although"
13180 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13182 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13183 echo "*** came with the system with the command"
13185 echo "*** rpm --erase --nodeps gtk gtk-devel"
13187 echo "configure: failed program was:" >&5
13188 cat conftest.
$ac_ext >&5
13190 echo "*** The test program failed to compile or link. See the file config.log for the"
13191 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13192 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13193 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13196 CFLAGS
="$ac_save_CFLAGS"
13197 LIBS
="$ac_save_LIBS"
13211 if test -z "$wx_cv_lib_gtk"; then
13214 wx_cv_cflags_gtk
=$GTK_CFLAGS
13215 wx_cv_libs_gtk
=$GTK_LIBS
13222 if test "$gtk_version_cached" = 1; then
13223 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13226 case "$wx_cv_lib_gtk" in
13235 *) { echo "configure: error:
13236 Please check that gtk-config is in path, the directory
13237 where GTK+ libraries are installed (returned by
13238 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13239 equivalent variable and GTK+ is version 1.2.3 or above.
13244 if test "$WXGTK20" = 1; then
13245 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13249 if test -z "$PKG_CONFIG"; then
13250 # Extract the first word of "pkg-config", so it can be a program name with args.
13251 set dummy pkg
-config; ac_word
=$2
13252 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13253 echo "configure:13254: checking for $ac_word" >&5
13254 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13255 echo $ac_n "(cached) $ac_c" 1>&6
13257 case "$PKG_CONFIG" in
13259 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13262 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13265 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13267 for ac_dir
in $ac_dummy; do
13268 test -z "$ac_dir" && ac_dir
=.
13269 if test -f $ac_dir/$ac_word; then
13270 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13275 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13279 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13280 if test -n "$PKG_CONFIG"; then
13281 echo "$ac_t""$PKG_CONFIG" 1>&6
13283 echo "$ac_t""no" 1>&6
13288 if test "$PKG_CONFIG" = "no" ; then
13289 echo "*** The pkg-config script could not be found. Make sure it is"
13290 echo "*** in your path, or set the PKG_CONFIG environment variable"
13291 echo "*** to the full path to pkg-config."
13292 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13294 PKG_CONFIG_MIN_VERSION
=0.9.0
13295 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13296 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13297 echo "configure:13298: checking for pangoft2" >&5
13299 if $PKG_CONFIG --exists "pangoft2" ; then
13300 echo "$ac_t""yes" 1>&6
13303 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13304 echo "configure:13305: checking PANGOFT2_CFLAGS" >&5
13305 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13306 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13308 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13309 echo "configure:13310: checking PANGOFT2_LIBS" >&5
13310 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13311 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13315 ## If we have a custom action on failure, don't print errors, but
13316 ## do set a variable so people can do so.
13317 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13324 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13325 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13329 if test $succeeded = yes; then
13331 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13332 LIBS
="$LIBS $PANGOFT2_LIBS"
13336 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13337 wxUSE_PRINTING_ARCHITECTURE
="no"
13344 if test "$wxUSE_UNICODE" = "yes"; then
13345 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13350 if test "$USE_DARWIN" != 1; then
13351 for ac_func
in poll
13353 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13354 echo "configure:13355: checking for $ac_func" >&5
13355 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13356 echo $ac_n "(cached) $ac_c" 1>&6
13358 cat > conftest.
$ac_ext <<EOF
13359 #line 13360 "configure"
13360 #include "confdefs.h"
13361 /* System header to define __stub macros and hopefully few prototypes,
13362 which can conflict with char $ac_func(); below. */
13363 #include <assert.h>
13364 /* Override any gcc2 internal prototype to avoid an error. */
13365 /* We use char because int might match the return type of a gcc2
13366 builtin and then its argument prototype would still apply. */
13371 /* The GNU C library defines this for functions which it implements
13372 to always fail with ENOSYS. Some functions are actually named
13373 something starting with __ and the normal name is an alias. */
13374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13382 if { (eval echo configure
:13383: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13384 eval "ac_cv_func_$ac_func=yes"
13386 echo "configure: failed program was:" >&5
13387 cat conftest.
$ac_ext >&5
13389 eval "ac_cv_func_$ac_func=no"
13394 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13395 echo "$ac_t""yes" 1>&6
13396 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13397 cat >> confdefs.h
<<EOF
13398 #define $ac_tr_func 1
13402 echo "$ac_t""no" 1>&6
13408 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13409 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13411 AFMINSTALL
=afminstall
13415 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13416 echo "configure:13417: checking for gdk_im_open in -lgdk" >&5
13417 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13418 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13419 echo $ac_n "(cached) $ac_c" 1>&6
13421 ac_save_LIBS
="$LIBS"
13423 cat > conftest.
$ac_ext <<EOF
13424 #line 13425 "configure"
13425 #include "confdefs.h"
13426 /* Override any gcc2 internal prototype to avoid an error. */
13427 /* We use char because int might match the return type of a gcc2
13428 builtin and then its argument prototype would still apply. */
13429 char gdk_im_open();
13435 if { (eval echo configure
:13436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13437 eval "ac_cv_lib_$ac_lib_var=yes"
13439 echo "configure: failed program was:" >&5
13440 cat conftest.
$ac_ext >&5
13442 eval "ac_cv_lib_$ac_lib_var=no"
13445 LIBS
="$ac_save_LIBS"
13448 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13449 echo "$ac_t""yes" 1>&6
13450 cat >> confdefs.h
<<\EOF
13455 echo "$ac_t""no" 1>&6
13460 if test "$wxUSE_MGL" = 1; then
13461 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13462 echo "configure:13463: checking for SciTech MGL library" >&5
13463 if test "x$MGL_ROOT" = x
; then
13464 echo "$ac_t""not found" 1>&6
13465 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13467 echo "$ac_t""$MGL_ROOT" 1>&6
13470 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13471 echo "configure:13472: checking for libmgl location" >&5
13474 if test "x$wxUSE_SHARED" = xyes
; then
13475 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13477 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13481 mgl_os_candidates
="dos32/dj2"
13484 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13490 for mgl_os_i
in $mgl_os_candidates ; do
13491 if test "x$mgl_os" = x
; then
13492 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13493 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13494 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13499 if test "x$mgl_lib_type" = x
; then
13500 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13501 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13502 mgl_lib_type
=release
13509 if test "x$mgl_os" = x
; then
13510 echo "$ac_t""not found" 1>&6
13511 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13513 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13515 wxUSE_UNIVERSAL
="yes"
13517 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13518 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13520 AFMINSTALL
=afminstall
13525 if test "$wxUSE_MICROWIN" = 1; then
13526 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13527 echo "configure:13528: checking for MicroWindows" >&5
13528 if test "x$MICROWINDOWS" = x
; then
13529 echo "$ac_t""not found" 1>&6
13530 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13532 echo "$ac_t""$MICROWINDOWS" 1>&6
13535 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13536 echo "$ac_t""MicroWindows' libraries found." 1>&6
13538 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13541 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13542 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13544 wxUSE_UNIVERSAL
="yes"
13546 AFMINSTALL
=afminstall
13548 GUIDIST
=MICROWIN_DIST
13550 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13553 if test "$wxUSE_X11" = 1; then
13554 # If we find X, set shell vars x_includes and x_libraries to the
13555 # paths, otherwise set no_x=yes.
13556 # Uses ac_ vars as temps to allow command line to override cache and checks.
13557 # --without-x overrides everything else, but does not touch the cache.
13558 echo $ac_n "checking for X""... $ac_c" 1>&6
13559 echo "configure:13560: checking for X" >&5
13561 # Check whether --with-x or --without-x was given.
13562 if test "${with_x+set}" = set; then
13567 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13568 if test "x$with_x" = xno
; then
13569 # The user explicitly disabled X.
13572 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13573 # Both variables are already set.
13576 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13577 echo $ac_n "(cached) $ac_c" 1>&6
13579 # One or both of the vars are not set, and there is no cached value.
13580 ac_x_includes
=NO ac_x_libraries
=NO
13582 if mkdir conftestdir
; then
13584 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13585 cat > Imakefile
<<'EOF'
13587 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13589 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13590 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13591 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13592 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13593 for ac_extension
in a so sl
; do
13594 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13595 test -f $ac_im_libdir/libX11.
$ac_extension; then
13596 ac_im_usrlibdir
=$ac_im_libdir; break
13599 # Screen out bogus values from the imake configuration. They are
13600 # bogus both because they are the default anyway, and because
13601 # using them would break gcc on systems where it needs fixed includes.
13602 case "$ac_im_incroot" in
13604 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13606 case "$ac_im_usrlibdir" in
13607 /usr
/lib
| /lib
) ;;
13608 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13615 if test "$ac_x_includes" = NO
; then
13616 # Guess where to find include files, by looking for this one X11 .h file.
13617 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13619 # First, try using that file with no special directory specified.
13620 cat > conftest.
$ac_ext <<EOF
13621 #line 13622 "configure"
13622 #include "confdefs.h"
13623 #include <$x_direct_test_include>
13625 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13626 { (eval echo configure
:13627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13627 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13628 if test -z "$ac_err"; then
13630 # We can compile using X headers with no special include directory.
13634 echo "configure: failed program was:" >&5
13635 cat conftest.
$ac_ext >&5
13637 # Look for the header file in a standard set of common directories.
13638 # Check X11 before X11Rn because it is often a symlink to the current release.
13641 /usr
/X
11R
6/include \
13642 /usr
/X
11R
5/include \
13643 /usr
/X
11R
4/include \
13646 /usr
/include
/X11R6 \
13647 /usr
/include
/X11R5 \
13648 /usr
/include
/X11R4 \
13650 /usr
/local
/X
11/include \
13651 /usr
/local
/X
11R
6/include \
13652 /usr
/local
/X
11R
5/include \
13653 /usr
/local
/X
11R
4/include \
13655 /usr
/local
/include
/X11 \
13656 /usr
/local
/include
/X11R6 \
13657 /usr
/local
/include
/X11R5 \
13658 /usr
/local
/include
/X11R4 \
13660 /usr
/X
386/include \
13661 /usr
/x
386/include \
13662 /usr
/XFree
86/include
/X11 \
13665 /usr
/local
/include \
13666 /usr
/unsupported
/include \
13667 /usr
/athena
/include \
13668 /usr
/local
/x
11r
5/include \
13669 /usr
/lpp
/Xamples
/include \
13671 /usr
/openwin
/include \
13672 /usr
/openwin
/share
/include \
13675 if test -r "$ac_dir/$x_direct_test_include"; then
13676 ac_x_includes
=$ac_dir
13682 fi # $ac_x_includes = NO
13684 if test "$ac_x_libraries" = NO
; then
13685 # Check for the libraries.
13687 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13688 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13690 # See if we find them without any special options.
13691 # Don't add to $LIBS permanently.
13692 ac_save_LIBS
="$LIBS"
13693 LIBS
="-l$x_direct_test_library $LIBS"
13694 cat > conftest.
$ac_ext <<EOF
13695 #line 13696 "configure"
13696 #include "confdefs.h"
13699 ${x_direct_test_function}()
13702 if { (eval echo configure
:13703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13704 LIBS
="$ac_save_LIBS"
13705 # We can link X programs with no special library path.
13708 echo "configure: failed program was:" >&5
13709 cat conftest.
$ac_ext >&5
13711 LIBS
="$ac_save_LIBS"
13712 # First see if replacing the include by lib works.
13713 # Check X11 before X11Rn because it is often a symlink to the current release.
13714 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13725 /usr
/local
/X
11/lib \
13726 /usr
/local
/X
11R
6/lib \
13727 /usr
/local
/X
11R
5/lib \
13728 /usr
/local
/X
11R
4/lib \
13730 /usr
/local
/lib
/X11 \
13731 /usr
/local
/lib
/X11R6 \
13732 /usr
/local
/lib
/X11R5 \
13733 /usr
/local
/lib
/X11R4 \
13737 /usr
/XFree
86/lib
/X11 \
13741 /usr
/unsupported
/lib \
13743 /usr
/local
/x
11r
5/lib \
13744 /usr
/lpp
/Xamples
/lib \
13748 /usr
/openwin
/share
/lib \
13751 for ac_extension
in a so sl
; do
13752 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13753 ac_x_libraries
=$ac_dir
13760 fi # $ac_x_libraries = NO
13762 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13763 # Didn't find X anywhere. Cache the known absence of X.
13764 ac_cv_have_x
="have_x=no"
13766 # Record where we found X for the cache.
13767 ac_cv_have_x
="have_x=yes \
13768 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13772 eval "$ac_cv_have_x"
13775 if test "$have_x" != yes; then
13776 echo "$ac_t""$have_x" 1>&6
13779 # If each of the values was on the command line, it overrides each guess.
13780 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13781 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13782 # Update the cache value to reflect the command line values.
13783 ac_cv_have_x
="have_x=yes \
13784 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13785 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13788 if test "$no_x" = yes; then
13789 # Not all programs may use this symbol, but it does not hurt to define it.
13790 cat >> confdefs.h
<<\EOF
13791 #define X_DISPLAY_MISSING 1
13794 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13796 if test -n "$x_includes"; then
13797 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13800 # It would also be nice to do this for all -L options, not just this one.
13801 if test -n "$x_libraries"; then
13802 X_LIBS
="$X_LIBS -L$x_libraries"
13803 # For Solaris; some versions of Sun CC require a space after -R and
13804 # others require no space. Words are not sufficient . . . .
13805 case "`(uname -sr) 2>/dev/null`" in
13807 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13808 echo "configure:13809: checking whether -R must be followed by a space" >&5
13809 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13810 cat > conftest.
$ac_ext <<EOF
13811 #line 13812 "configure"
13812 #include "confdefs.h"
13818 if { (eval echo configure
:13819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13822 echo "configure: failed program was:" >&5
13823 cat conftest.
$ac_ext >&5
13828 if test $ac_R_nospace = yes; then
13829 echo "$ac_t""no" 1>&6
13830 X_LIBS
="$X_LIBS -R$x_libraries"
13832 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13833 cat > conftest.
$ac_ext <<EOF
13834 #line 13835 "configure"
13835 #include "confdefs.h"
13841 if { (eval echo configure
:13842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13845 echo "configure: failed program was:" >&5
13846 cat conftest.
$ac_ext >&5
13851 if test $ac_R_space = yes; then
13852 echo "$ac_t""yes" 1>&6
13853 X_LIBS
="$X_LIBS -R $x_libraries"
13855 echo "$ac_t""neither works" 1>&6
13858 LIBS
="$ac_xsave_LIBS"
13862 # Check for system-dependent libraries X programs must link with.
13863 # Do this before checking for the system-independent R6 libraries
13864 # (-lICE), since we may need -lsocket or whatever for X linking.
13866 if test "$ISC" = yes; then
13867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13869 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13870 # libraries were built with DECnet support. And karl@cs.umb.edu says
13871 # the Alpha needs dnet_stub (dnet does not exist).
13872 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13873 echo "configure:13874: checking for dnet_ntoa in -ldnet" >&5
13874 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13876 echo $ac_n "(cached) $ac_c" 1>&6
13878 ac_save_LIBS
="$LIBS"
13879 LIBS
="-ldnet $LIBS"
13880 cat > conftest.
$ac_ext <<EOF
13881 #line 13882 "configure"
13882 #include "confdefs.h"
13883 /* Override any gcc2 internal prototype to avoid an error. */
13884 /* We use char because int might match the return type of a gcc2
13885 builtin and then its argument prototype would still apply. */
13892 if { (eval echo configure
:13893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13894 eval "ac_cv_lib_$ac_lib_var=yes"
13896 echo "configure: failed program was:" >&5
13897 cat conftest.
$ac_ext >&5
13899 eval "ac_cv_lib_$ac_lib_var=no"
13902 LIBS
="$ac_save_LIBS"
13905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13906 echo "$ac_t""yes" 1>&6
13907 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13909 echo "$ac_t""no" 1>&6
13912 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13913 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13914 echo "configure:13915: checking for dnet_ntoa in -ldnet_stub" >&5
13915 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13916 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13917 echo $ac_n "(cached) $ac_c" 1>&6
13919 ac_save_LIBS
="$LIBS"
13920 LIBS
="-ldnet_stub $LIBS"
13921 cat > conftest.
$ac_ext <<EOF
13922 #line 13923 "configure"
13923 #include "confdefs.h"
13924 /* Override any gcc2 internal prototype to avoid an error. */
13925 /* We use char because int might match the return type of a gcc2
13926 builtin and then its argument prototype would still apply. */
13933 if { (eval echo configure
:13934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13935 eval "ac_cv_lib_$ac_lib_var=yes"
13937 echo "configure: failed program was:" >&5
13938 cat conftest.
$ac_ext >&5
13940 eval "ac_cv_lib_$ac_lib_var=no"
13943 LIBS
="$ac_save_LIBS"
13946 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13947 echo "$ac_t""yes" 1>&6
13948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13950 echo "$ac_t""no" 1>&6
13955 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13956 # to get the SysV transport functions.
13957 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13959 # The nsl library prevents programs from opening the X display
13960 # on Irix 5.2, according to dickey@clark.net.
13961 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13962 echo "configure:13963: checking for gethostbyname" >&5
13963 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13964 echo $ac_n "(cached) $ac_c" 1>&6
13966 cat > conftest.
$ac_ext <<EOF
13967 #line 13968 "configure"
13968 #include "confdefs.h"
13969 /* System header to define __stub macros and hopefully few prototypes,
13970 which can conflict with char gethostbyname(); below. */
13971 #include <assert.h>
13972 /* Override any gcc2 internal prototype to avoid an error. */
13973 /* We use char because int might match the return type of a gcc2
13974 builtin and then its argument prototype would still apply. */
13975 char gethostbyname();
13979 /* The GNU C library defines this for functions which it implements
13980 to always fail with ENOSYS. Some functions are actually named
13981 something starting with __ and the normal name is an alias. */
13982 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13990 if { (eval echo configure
:13991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13992 eval "ac_cv_func_gethostbyname=yes"
13994 echo "configure: failed program was:" >&5
13995 cat conftest.
$ac_ext >&5
13997 eval "ac_cv_func_gethostbyname=no"
14002 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14003 echo "$ac_t""yes" 1>&6
14006 echo "$ac_t""no" 1>&6
14009 if test $ac_cv_func_gethostbyname = no
; then
14010 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14011 echo "configure:14012: checking for gethostbyname in -lnsl" >&5
14012 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14014 echo $ac_n "(cached) $ac_c" 1>&6
14016 ac_save_LIBS
="$LIBS"
14018 cat > conftest.
$ac_ext <<EOF
14019 #line 14020 "configure"
14020 #include "confdefs.h"
14021 /* Override any gcc2 internal prototype to avoid an error. */
14022 /* We use char because int might match the return type of a gcc2
14023 builtin and then its argument prototype would still apply. */
14024 char gethostbyname();
14030 if { (eval echo configure
:14031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14032 eval "ac_cv_lib_$ac_lib_var=yes"
14034 echo "configure: failed program was:" >&5
14035 cat conftest.
$ac_ext >&5
14037 eval "ac_cv_lib_$ac_lib_var=no"
14040 LIBS
="$ac_save_LIBS"
14043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14044 echo "$ac_t""yes" 1>&6
14045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14047 echo "$ac_t""no" 1>&6
14052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14053 # socket/setsockopt and other routines are undefined under SCO ODT
14054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14055 # on later versions), says simon@lia.di.epfl.ch: it contains
14056 # gethostby* variants that don't use the nameserver (or something).
14057 # -lsocket must be given before -lnsl if both are needed.
14058 # We assume that if connect needs -lnsl, so does gethostbyname.
14059 echo $ac_n "checking for connect""... $ac_c" 1>&6
14060 echo "configure:14061: checking for connect" >&5
14061 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14062 echo $ac_n "(cached) $ac_c" 1>&6
14064 cat > conftest.
$ac_ext <<EOF
14065 #line 14066 "configure"
14066 #include "confdefs.h"
14067 /* System header to define __stub macros and hopefully few prototypes,
14068 which can conflict with char connect(); below. */
14069 #include <assert.h>
14070 /* Override any gcc2 internal prototype to avoid an error. */
14071 /* We use char because int might match the return type of a gcc2
14072 builtin and then its argument prototype would still apply. */
14077 /* The GNU C library defines this for functions which it implements
14078 to always fail with ENOSYS. Some functions are actually named
14079 something starting with __ and the normal name is an alias. */
14080 #if defined (__stub_connect) || defined (__stub___connect)
14088 if { (eval echo configure
:14089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14090 eval "ac_cv_func_connect=yes"
14092 echo "configure: failed program was:" >&5
14093 cat conftest.
$ac_ext >&5
14095 eval "ac_cv_func_connect=no"
14100 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14101 echo "$ac_t""yes" 1>&6
14104 echo "$ac_t""no" 1>&6
14107 if test $ac_cv_func_connect = no
; then
14108 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14109 echo "configure:14110: checking for connect in -lsocket" >&5
14110 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14112 echo $ac_n "(cached) $ac_c" 1>&6
14114 ac_save_LIBS
="$LIBS"
14115 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14116 cat > conftest.
$ac_ext <<EOF
14117 #line 14118 "configure"
14118 #include "confdefs.h"
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14128 if { (eval echo configure
:14129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14130 eval "ac_cv_lib_$ac_lib_var=yes"
14132 echo "configure: failed program was:" >&5
14133 cat conftest.
$ac_ext >&5
14135 eval "ac_cv_lib_$ac_lib_var=no"
14138 LIBS
="$ac_save_LIBS"
14141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14142 echo "$ac_t""yes" 1>&6
14143 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14145 echo "$ac_t""no" 1>&6
14150 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14151 echo $ac_n "checking for remove""... $ac_c" 1>&6
14152 echo "configure:14153: checking for remove" >&5
14153 if eval "test \"`echo '$''{'ac_cv_func_remove'+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 remove(); 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_remove) || defined (__stub___remove)
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_remove=yes"
14184 echo "configure: failed program was:" >&5
14185 cat conftest.
$ac_ext >&5
14187 eval "ac_cv_func_remove=no"
14192 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14193 echo "$ac_t""yes" 1>&6
14196 echo "$ac_t""no" 1>&6
14199 if test $ac_cv_func_remove = no
; then
14200 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14201 echo "configure:14202: checking for remove in -lposix" >&5
14202 ac_lib_var
=`echo posix'_'remove | 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
="-lposix $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
="$X_EXTRA_LIBS -lposix"
14237 echo "$ac_t""no" 1>&6
14242 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14243 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14244 echo "configure:14245: checking for shmat" >&5
14245 if eval "test \"`echo '$''{'ac_cv_func_shmat'+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 shmat(); 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_shmat) || defined (__stub___shmat)
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_shmat=yes"
14276 echo "configure: failed program was:" >&5
14277 cat conftest.
$ac_ext >&5
14279 eval "ac_cv_func_shmat=no"
14284 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14285 echo "$ac_t""yes" 1>&6
14288 echo "$ac_t""no" 1>&6
14291 if test $ac_cv_func_shmat = no
; then
14292 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14293 echo "configure:14294: checking for shmat in -lipc" >&5
14294 ac_lib_var
=`echo ipc'_'shmat | 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"
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 -lipc"
14329 echo "$ac_t""no" 1>&6
14335 # Check for libraries that X11R6 Xt/Xaw programs need.
14336 ac_save_LDFLAGS
="$LDFLAGS"
14337 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14338 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14339 # check for ICE first), but we must link in the order -lSM -lICE or
14340 # we get undefined symbols. So assume we have SM if we have ICE.
14341 # These have to be linked with before -lX11, unlike the other
14342 # libraries we check for below, so use a different variable.
14343 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14344 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14345 echo "configure:14346: checking for IceConnectionNumber in -lICE" >&5
14346 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14347 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14348 echo $ac_n "(cached) $ac_c" 1>&6
14350 ac_save_LIBS
="$LIBS"
14351 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14352 cat > conftest.
$ac_ext <<EOF
14353 #line 14354 "configure"
14354 #include "confdefs.h"
14355 /* Override any gcc2 internal prototype to avoid an error. */
14356 /* We use char because int might match the return type of a gcc2
14357 builtin and then its argument prototype would still apply. */
14358 char IceConnectionNumber();
14361 IceConnectionNumber()
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_lib_$ac_lib_var=yes"
14368 echo "configure: failed program was:" >&5
14369 cat conftest.
$ac_ext >&5
14371 eval "ac_cv_lib_$ac_lib_var=no"
14374 LIBS
="$ac_save_LIBS"
14377 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14378 echo "$ac_t""yes" 1>&6
14379 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14381 echo "$ac_t""no" 1>&6
14384 LDFLAGS
="$ac_save_LDFLAGS"
14389 if test "$no_x" = "yes"; then
14390 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14393 GUI_TK_LIBRARY
="$X_LIBS"
14394 TOOLKIT_INCLUDE
="$X_CFLAGS"
14395 AFMINSTALL
=afminstall
14396 COMPILED_X_PROGRAM
=0
14398 if test "$wxUSE_NANOX" = "yes"; then
14399 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14400 echo "configure:14401: checking for MicroWindows/NanoX distribution" >&5
14401 if test "x$MICROWIN" = x
; then
14402 echo "$ac_t""not found" 1>&6
14403 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14405 echo "$ac_t""$MICROWIN" 1>&6
14406 cat >> confdefs.h
<<\EOF
14407 #define wxUSE_NANOX 1
14414 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14415 echo "configure:14416: checking for Xpm library" >&5
14418 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14420 for ac_extension
in a so sl dylib
; do
14421 if test -f "$ac_dir/libXpm.$ac_extension"; then
14422 ac_find_libraries
=$ac_dir
14428 if test "$ac_find_libraries" != "" ; then
14430 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14432 if test $result = 0; then
14435 ac_path_to_link
=" -L$ac_find_libraries"
14438 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14440 cat >> confdefs.h
<<\EOF
14441 #define wxHAVE_LIB_XPM 1
14444 echo "$ac_t""found at $ac_find_libraries" 1>&6
14446 cat > conftest.
$ac_ext <<EOF
14447 #line 14448 "configure"
14448 #include "confdefs.h"
14450 #include <X11/xpm.h>
14455 version = XpmLibraryVersion();
14459 if { (eval echo configure
:14460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14463 cat >> confdefs.h
<<\EOF
14464 #define wxHAVE_LIB_XPM 1
14467 echo "$ac_t""found in default search path" 1>&6
14468 COMPILED_X_PROGRAM
=0
14471 echo "configure: failed program was:" >&5
14472 cat conftest.
$ac_ext >&5
14475 echo "$ac_t""no" 1>&6
14476 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14483 if test "$wxUSE_UNICODE" = "yes"; then
14487 if test -z "$PKG_CONFIG"; then
14488 # Extract the first word of "pkg-config", so it can be a program name with args.
14489 set dummy pkg
-config; ac_word
=$2
14490 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14491 echo "configure:14492: checking for $ac_word" >&5
14492 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14493 echo $ac_n "(cached) $ac_c" 1>&6
14495 case "$PKG_CONFIG" in
14497 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14500 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14503 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14505 for ac_dir
in $ac_dummy; do
14506 test -z "$ac_dir" && ac_dir
=.
14507 if test -f $ac_dir/$ac_word; then
14508 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14513 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14517 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14518 if test -n "$PKG_CONFIG"; then
14519 echo "$ac_t""$PKG_CONFIG" 1>&6
14521 echo "$ac_t""no" 1>&6
14526 if test "$PKG_CONFIG" = "no" ; then
14527 echo "*** The pkg-config script could not be found. Make sure it is"
14528 echo "*** in your path, or set the PKG_CONFIG environment variable"
14529 echo "*** to the full path to pkg-config."
14530 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14532 PKG_CONFIG_MIN_VERSION
=0.9.0
14533 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14534 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14535 echo "configure:14536: checking for pangox" >&5
14537 if $PKG_CONFIG --exists "pangox" ; then
14538 echo "$ac_t""yes" 1>&6
14541 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14542 echo "configure:14543: checking PANGOX_CFLAGS" >&5
14543 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14544 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14546 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14547 echo "configure:14548: checking PANGOX_LIBS" >&5
14548 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14549 echo "$ac_t""$PANGOX_LIBS" 1>&6
14553 ## If we have a custom action on failure, don't print errors, but
14554 ## do set a variable so people can do so.
14555 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14562 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14563 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14567 if test $succeeded = yes; then
14569 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14570 LIBS
="$LIBS $PANGOX_LIBS"
14574 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14582 if test -z "$PKG_CONFIG"; then
14583 # Extract the first word of "pkg-config", so it can be a program name with args.
14584 set dummy pkg
-config; ac_word
=$2
14585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14586 echo "configure:14587: checking for $ac_word" >&5
14587 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14588 echo $ac_n "(cached) $ac_c" 1>&6
14590 case "$PKG_CONFIG" in
14592 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14595 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14598 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14600 for ac_dir
in $ac_dummy; do
14601 test -z "$ac_dir" && ac_dir
=.
14602 if test -f $ac_dir/$ac_word; then
14603 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14608 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14612 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14613 if test -n "$PKG_CONFIG"; then
14614 echo "$ac_t""$PKG_CONFIG" 1>&6
14616 echo "$ac_t""no" 1>&6
14621 if test "$PKG_CONFIG" = "no" ; then
14622 echo "*** The pkg-config script could not be found. Make sure it is"
14623 echo "*** in your path, or set the PKG_CONFIG environment variable"
14624 echo "*** to the full path to pkg-config."
14625 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14627 PKG_CONFIG_MIN_VERSION
=0.9.0
14628 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14629 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14630 echo "configure:14631: checking for pangoft2" >&5
14632 if $PKG_CONFIG --exists "pangoft2" ; then
14633 echo "$ac_t""yes" 1>&6
14636 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14637 echo "configure:14638: checking PANGOFT2_CFLAGS" >&5
14638 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14639 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14641 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14642 echo "configure:14643: checking PANGOFT2_LIBS" >&5
14643 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14644 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14648 ## If we have a custom action on failure, don't print errors, but
14649 ## do set a variable so people can do so.
14650 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14657 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14658 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14662 if test $succeeded = yes; then
14664 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14665 LIBS
="$LIBS $PANGOFT2_LIBS"
14669 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14670 wxUSE_PRINTING_ARCHITECTURE
="no"
14678 if test -z "$PKG_CONFIG"; then
14679 # Extract the first word of "pkg-config", so it can be a program name with args.
14680 set dummy pkg
-config; ac_word
=$2
14681 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14682 echo "configure:14683: checking for $ac_word" >&5
14683 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14684 echo $ac_n "(cached) $ac_c" 1>&6
14686 case "$PKG_CONFIG" in
14688 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14691 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14694 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14696 for ac_dir
in $ac_dummy; do
14697 test -z "$ac_dir" && ac_dir
=.
14698 if test -f $ac_dir/$ac_word; then
14699 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14704 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14708 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14709 if test -n "$PKG_CONFIG"; then
14710 echo "$ac_t""$PKG_CONFIG" 1>&6
14712 echo "$ac_t""no" 1>&6
14717 if test "$PKG_CONFIG" = "no" ; then
14718 echo "*** The pkg-config script could not be found. Make sure it is"
14719 echo "*** in your path, or set the PKG_CONFIG environment variable"
14720 echo "*** to the full path to pkg-config."
14721 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14723 PKG_CONFIG_MIN_VERSION
=0.9.0
14724 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14725 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14726 echo "configure:14727: checking for pangoxft" >&5
14728 if $PKG_CONFIG --exists "pangoxft" ; then
14729 echo "$ac_t""yes" 1>&6
14732 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14733 echo "configure:14734: checking PANGOXFT_CFLAGS" >&5
14734 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14735 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14737 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14738 echo "configure:14739: checking PANGOXFT_LIBS" >&5
14739 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14740 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14744 ## If we have a custom action on failure, don't print errors, but
14745 ## do set a variable so people can do so.
14746 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14753 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14754 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14758 if test $succeeded = yes; then
14760 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14761 LIBS
="$LIBS $PANGOXFT_LIBS"
14765 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14772 wxUSE_UNIVERSAL
="yes"
14774 if test "$wxUSE_NANOX" = "yes"; then
14775 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14776 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"
14777 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14779 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14782 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14787 if test "$wxUSE_MOTIF" = 1; then
14788 if test "$no_x" = yes; then
14789 # Not all programs may use this symbol, but it does not hurt to define it.
14790 cat >> confdefs.h
<<\EOF
14791 #define X_DISPLAY_MISSING 1
14794 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14796 if test -n "$x_includes"; then
14797 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14800 # It would also be nice to do this for all -L options, not just this one.
14801 if test -n "$x_libraries"; then
14802 X_LIBS
="$X_LIBS -L$x_libraries"
14803 # For Solaris; some versions of Sun CC require a space after -R and
14804 # others require no space. Words are not sufficient . . . .
14805 case "`(uname -sr) 2>/dev/null`" in
14807 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14808 echo "configure:14809: checking whether -R must be followed by a space" >&5
14809 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14810 cat > conftest.
$ac_ext <<EOF
14811 #line 14812 "configure"
14812 #include "confdefs.h"
14818 if { (eval echo configure
:14819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14822 echo "configure: failed program was:" >&5
14823 cat conftest.
$ac_ext >&5
14828 if test $ac_R_nospace = yes; then
14829 echo "$ac_t""no" 1>&6
14830 X_LIBS
="$X_LIBS -R$x_libraries"
14832 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14833 cat > conftest.
$ac_ext <<EOF
14834 #line 14835 "configure"
14835 #include "confdefs.h"
14841 if { (eval echo configure
:14842: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14845 echo "configure: failed program was:" >&5
14846 cat conftest.
$ac_ext >&5
14851 if test $ac_R_space = yes; then
14852 echo "$ac_t""yes" 1>&6
14853 X_LIBS
="$X_LIBS -R $x_libraries"
14855 echo "$ac_t""neither works" 1>&6
14858 LIBS
="$ac_xsave_LIBS"
14862 # Check for system-dependent libraries X programs must link with.
14863 # Do this before checking for the system-independent R6 libraries
14864 # (-lICE), since we may need -lsocket or whatever for X linking.
14866 if test "$ISC" = yes; then
14867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14869 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14870 # libraries were built with DECnet support. And karl@cs.umb.edu says
14871 # the Alpha needs dnet_stub (dnet does not exist).
14872 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14873 echo "configure:14874: checking for dnet_ntoa in -ldnet" >&5
14874 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14876 echo $ac_n "(cached) $ac_c" 1>&6
14878 ac_save_LIBS
="$LIBS"
14879 LIBS
="-ldnet $LIBS"
14880 cat > conftest.
$ac_ext <<EOF
14881 #line 14882 "configure"
14882 #include "confdefs.h"
14883 /* Override any gcc2 internal prototype to avoid an error. */
14884 /* We use char because int might match the return type of a gcc2
14885 builtin and then its argument prototype would still apply. */
14892 if { (eval echo configure
:14893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14894 eval "ac_cv_lib_$ac_lib_var=yes"
14896 echo "configure: failed program was:" >&5
14897 cat conftest.
$ac_ext >&5
14899 eval "ac_cv_lib_$ac_lib_var=no"
14902 LIBS
="$ac_save_LIBS"
14905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14906 echo "$ac_t""yes" 1>&6
14907 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14909 echo "$ac_t""no" 1>&6
14912 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14913 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14914 echo "configure:14915: checking for dnet_ntoa in -ldnet_stub" >&5
14915 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14916 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14917 echo $ac_n "(cached) $ac_c" 1>&6
14919 ac_save_LIBS
="$LIBS"
14920 LIBS
="-ldnet_stub $LIBS"
14921 cat > conftest.
$ac_ext <<EOF
14922 #line 14923 "configure"
14923 #include "confdefs.h"
14924 /* Override any gcc2 internal prototype to avoid an error. */
14925 /* We use char because int might match the return type of a gcc2
14926 builtin and then its argument prototype would still apply. */
14933 if { (eval echo configure
:14934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14935 eval "ac_cv_lib_$ac_lib_var=yes"
14937 echo "configure: failed program was:" >&5
14938 cat conftest.
$ac_ext >&5
14940 eval "ac_cv_lib_$ac_lib_var=no"
14943 LIBS
="$ac_save_LIBS"
14946 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14947 echo "$ac_t""yes" 1>&6
14948 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14950 echo "$ac_t""no" 1>&6
14955 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14956 # to get the SysV transport functions.
14957 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14959 # The nsl library prevents programs from opening the X display
14960 # on Irix 5.2, according to dickey@clark.net.
14961 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14962 echo "configure:14963: checking for gethostbyname" >&5
14963 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14964 echo $ac_n "(cached) $ac_c" 1>&6
14966 cat > conftest.
$ac_ext <<EOF
14967 #line 14968 "configure"
14968 #include "confdefs.h"
14969 /* System header to define __stub macros and hopefully few prototypes,
14970 which can conflict with char gethostbyname(); below. */
14971 #include <assert.h>
14972 /* Override any gcc2 internal prototype to avoid an error. */
14973 /* We use char because int might match the return type of a gcc2
14974 builtin and then its argument prototype would still apply. */
14975 char gethostbyname();
14979 /* The GNU C library defines this for functions which it implements
14980 to always fail with ENOSYS. Some functions are actually named
14981 something starting with __ and the normal name is an alias. */
14982 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14990 if { (eval echo configure
:14991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14992 eval "ac_cv_func_gethostbyname=yes"
14994 echo "configure: failed program was:" >&5
14995 cat conftest.
$ac_ext >&5
14997 eval "ac_cv_func_gethostbyname=no"
15002 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
15003 echo "$ac_t""yes" 1>&6
15006 echo "$ac_t""no" 1>&6
15009 if test $ac_cv_func_gethostbyname = no
; then
15010 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
15011 echo "configure:15012: checking for gethostbyname in -lnsl" >&5
15012 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
15013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15014 echo $ac_n "(cached) $ac_c" 1>&6
15016 ac_save_LIBS
="$LIBS"
15018 cat > conftest.
$ac_ext <<EOF
15019 #line 15020 "configure"
15020 #include "confdefs.h"
15021 /* Override any gcc2 internal prototype to avoid an error. */
15022 /* We use char because int might match the return type of a gcc2
15023 builtin and then its argument prototype would still apply. */
15024 char gethostbyname();
15030 if { (eval echo configure
:15031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15032 eval "ac_cv_lib_$ac_lib_var=yes"
15034 echo "configure: failed program was:" >&5
15035 cat conftest.
$ac_ext >&5
15037 eval "ac_cv_lib_$ac_lib_var=no"
15040 LIBS
="$ac_save_LIBS"
15043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15044 echo "$ac_t""yes" 1>&6
15045 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15047 echo "$ac_t""no" 1>&6
15052 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15053 # socket/setsockopt and other routines are undefined under SCO ODT
15054 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15055 # on later versions), says simon@lia.di.epfl.ch: it contains
15056 # gethostby* variants that don't use the nameserver (or something).
15057 # -lsocket must be given before -lnsl if both are needed.
15058 # We assume that if connect needs -lnsl, so does gethostbyname.
15059 echo $ac_n "checking for connect""... $ac_c" 1>&6
15060 echo "configure:15061: checking for connect" >&5
15061 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15062 echo $ac_n "(cached) $ac_c" 1>&6
15064 cat > conftest.
$ac_ext <<EOF
15065 #line 15066 "configure"
15066 #include "confdefs.h"
15067 /* System header to define __stub macros and hopefully few prototypes,
15068 which can conflict with char connect(); below. */
15069 #include <assert.h>
15070 /* Override any gcc2 internal prototype to avoid an error. */
15071 /* We use char because int might match the return type of a gcc2
15072 builtin and then its argument prototype would still apply. */
15077 /* The GNU C library defines this for functions which it implements
15078 to always fail with ENOSYS. Some functions are actually named
15079 something starting with __ and the normal name is an alias. */
15080 #if defined (__stub_connect) || defined (__stub___connect)
15088 if { (eval echo configure
:15089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15090 eval "ac_cv_func_connect=yes"
15092 echo "configure: failed program was:" >&5
15093 cat conftest.
$ac_ext >&5
15095 eval "ac_cv_func_connect=no"
15100 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15101 echo "$ac_t""yes" 1>&6
15104 echo "$ac_t""no" 1>&6
15107 if test $ac_cv_func_connect = no
; then
15108 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15109 echo "configure:15110: checking for connect in -lsocket" >&5
15110 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15112 echo $ac_n "(cached) $ac_c" 1>&6
15114 ac_save_LIBS
="$LIBS"
15115 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15116 cat > conftest.
$ac_ext <<EOF
15117 #line 15118 "configure"
15118 #include "confdefs.h"
15119 /* Override any gcc2 internal prototype to avoid an error. */
15120 /* We use char because int might match the return type of a gcc2
15121 builtin and then its argument prototype would still apply. */
15128 if { (eval echo configure
:15129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15130 eval "ac_cv_lib_$ac_lib_var=yes"
15132 echo "configure: failed program was:" >&5
15133 cat conftest.
$ac_ext >&5
15135 eval "ac_cv_lib_$ac_lib_var=no"
15138 LIBS
="$ac_save_LIBS"
15141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15142 echo "$ac_t""yes" 1>&6
15143 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15145 echo "$ac_t""no" 1>&6
15150 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15151 echo $ac_n "checking for remove""... $ac_c" 1>&6
15152 echo "configure:15153: checking for remove" >&5
15153 if eval "test \"`echo '$''{'ac_cv_func_remove'+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 remove(); 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_remove) || defined (__stub___remove)
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_remove=yes"
15184 echo "configure: failed program was:" >&5
15185 cat conftest.
$ac_ext >&5
15187 eval "ac_cv_func_remove=no"
15192 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15193 echo "$ac_t""yes" 1>&6
15196 echo "$ac_t""no" 1>&6
15199 if test $ac_cv_func_remove = no
; then
15200 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15201 echo "configure:15202: checking for remove in -lposix" >&5
15202 ac_lib_var
=`echo posix'_'remove | 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
="-lposix $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
="$X_EXTRA_LIBS -lposix"
15237 echo "$ac_t""no" 1>&6
15242 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15243 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15244 echo "configure:15245: checking for shmat" >&5
15245 if eval "test \"`echo '$''{'ac_cv_func_shmat'+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 shmat(); 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_shmat) || defined (__stub___shmat)
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_shmat=yes"
15276 echo "configure: failed program was:" >&5
15277 cat conftest.
$ac_ext >&5
15279 eval "ac_cv_func_shmat=no"
15284 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15285 echo "$ac_t""yes" 1>&6
15288 echo "$ac_t""no" 1>&6
15291 if test $ac_cv_func_shmat = no
; then
15292 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15293 echo "configure:15294: checking for shmat in -lipc" >&5
15294 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15296 echo $ac_n "(cached) $ac_c" 1>&6
15298 ac_save_LIBS
="$LIBS"
15300 cat > conftest.
$ac_ext <<EOF
15301 #line 15302 "configure"
15302 #include "confdefs.h"
15303 /* Override any gcc2 internal prototype to avoid an error. */
15304 /* We use char because int might match the return type of a gcc2
15305 builtin and then its argument prototype would still apply. */
15312 if { (eval echo configure
:15313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15314 eval "ac_cv_lib_$ac_lib_var=yes"
15316 echo "configure: failed program was:" >&5
15317 cat conftest.
$ac_ext >&5
15319 eval "ac_cv_lib_$ac_lib_var=no"
15322 LIBS
="$ac_save_LIBS"
15325 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15326 echo "$ac_t""yes" 1>&6
15327 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15329 echo "$ac_t""no" 1>&6
15335 # Check for libraries that X11R6 Xt/Xaw programs need.
15336 ac_save_LDFLAGS
="$LDFLAGS"
15337 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15338 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15339 # check for ICE first), but we must link in the order -lSM -lICE or
15340 # we get undefined symbols. So assume we have SM if we have ICE.
15341 # These have to be linked with before -lX11, unlike the other
15342 # libraries we check for below, so use a different variable.
15343 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15344 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15345 echo "configure:15346: checking for IceConnectionNumber in -lICE" >&5
15346 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15347 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15348 echo $ac_n "(cached) $ac_c" 1>&6
15350 ac_save_LIBS
="$LIBS"
15351 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15352 cat > conftest.
$ac_ext <<EOF
15353 #line 15354 "configure"
15354 #include "confdefs.h"
15355 /* Override any gcc2 internal prototype to avoid an error. */
15356 /* We use char because int might match the return type of a gcc2
15357 builtin and then its argument prototype would still apply. */
15358 char IceConnectionNumber();
15361 IceConnectionNumber()
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_lib_$ac_lib_var=yes"
15368 echo "configure: failed program was:" >&5
15369 cat conftest.
$ac_ext >&5
15371 eval "ac_cv_lib_$ac_lib_var=no"
15374 LIBS
="$ac_save_LIBS"
15377 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15378 echo "$ac_t""yes" 1>&6
15379 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15381 echo "$ac_t""no" 1>&6
15384 LDFLAGS
="$ac_save_LDFLAGS"
15389 if test "$no_x" = "yes"; then
15390 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15393 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15394 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15395 AFMINSTALL
=afminstall
15396 COMPILED_X_PROGRAM
=0
15398 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15399 echo "configure:15400: checking for Motif/Lesstif headers" >&5
15402 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15404 if test -f "$ac_dir/Xm/Xm.h"; then
15405 ac_find_includes
=$ac_dir
15410 if test "$ac_find_includes" != "" ; then
15411 echo "$ac_t""found in $ac_find_includes" 1>&6
15413 if test "x$ac_find_includes" = "x/usr/include"; then
15414 ac_path_to_include
=""
15416 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15418 if test $result = 0; then
15419 ac_path_to_include
=""
15421 ac_path_to_include
=" -I$ac_find_includes"
15425 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15427 cat > conftest.
$ac_ext <<EOF
15428 #line 15429 "configure"
15429 #include "confdefs.h"
15436 version = xmUseVersion;
15440 if { (eval echo configure
:15441: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15443 echo "$ac_t""found in default search path" 1>&6
15444 COMPILED_X_PROGRAM
=1
15447 echo "configure: failed program was:" >&5
15448 cat conftest.
$ac_ext >&5
15451 echo "$ac_t""no" 1>&6
15452 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15459 if test "$COMPILED_X_PROGRAM" = 0; then
15460 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15461 echo "configure:15462: checking for Motif/Lesstif library" >&5
15464 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15466 for ac_extension
in a so sl dylib
; do
15467 if test -f "$ac_dir/libXm.$ac_extension"; then
15468 ac_find_libraries
=$ac_dir
15474 if test "$ac_find_libraries" != "" ; then
15475 echo "$ac_t""found at $ac_find_libraries" 1>&6
15478 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15480 if test $result = 0; then
15483 ac_path_to_link
=" -L$ac_find_libraries"
15486 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15488 save_CFLAGS
=$CFLAGS
15489 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15491 cat > conftest.
$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15500 version = xmUseVersion;
15504 if { (eval echo configure
:15505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15507 echo "$ac_t""found in default search path" 1>&6
15508 COMPILED_X_PROGRAM
=1
15511 echo "configure: failed program was:" >&5
15512 cat conftest.
$ac_ext >&5
15515 echo "$ac_t""no" 1>&6
15516 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15522 CFLAGS
=$save_CFLAGS
15527 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15528 echo "configure:15529: checking for Xpm library" >&5
15531 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15533 for ac_extension
in a so sl dylib
; do
15534 if test -f "$ac_dir/libXpm.$ac_extension"; then
15535 ac_find_libraries
=$ac_dir
15541 if test "$ac_find_libraries" != "" ; then
15543 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15545 if test $result = 0; then
15548 ac_path_to_link
=" -L$ac_find_libraries"
15551 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15554 cat >> confdefs.h
<<\EOF
15555 #define wxHAVE_LIB_XPM 1
15558 echo "$ac_t""found at $ac_find_libraries" 1>&6
15560 save_CFLAGS
=$CFLAGS
15561 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15563 cat > conftest.
$ac_ext <<EOF
15564 #line 15565 "configure"
15565 #include "confdefs.h"
15567 #include <X11/xpm.h>
15572 version = XpmLibraryVersion();
15576 if { (eval echo configure
:15577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15580 cat >> confdefs.h
<<\EOF
15581 #define wxHAVE_LIB_XPM 1
15584 echo "$ac_t""found in default search path" 1>&6
15585 COMPILED_X_PROGRAM
=0
15588 echo "configure: failed program was:" >&5
15589 cat conftest.
$ac_ext >&5
15592 echo "$ac_t""no" 1>&6
15593 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15599 CFLAGS
=$save_CFLAGS
15602 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15603 echo "configure:15604: checking if we need -lXp and/or -lSM -lICE" >&5
15607 for libp
in "" " -lXp"; do
15608 if test "$libs_found" = "0"; then
15609 for libsm_ice
in " -lSM -lICE"; do
15610 if test "$libs_found" = "0"; then
15612 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15613 save_CFLAGS
=$CFLAGS
15614 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15616 cat > conftest.
$ac_ext <<EOF
15617 #line 15618 "configure"
15618 #include "confdefs.h"
15621 #include <Xm/List.h>
15625 XmString string = NULL;
15628 XmListAddItem(w, string, position);
15632 if { (eval echo configure
:15633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15636 libsm_ice_link
="$libsm_ice"
15637 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15641 echo "configure: failed program was:" >&5
15642 cat conftest.
$ac_ext >&5
15650 CFLAGS
=$save_CFLAGS
15656 if test "$libs_found" = "0"; then
15657 echo "$ac_t""can't find the right libraries" 1>&6
15658 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15661 save_CFLAGS
=$CFLAGS
15662 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15663 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15664 echo "configure:15665: checking for Motif 2" >&5
15665 cat > conftest.
$ac_ext <<EOF
15666 #line 15667 "configure"
15667 #include "confdefs.h"
15673 #if XmVersion < 2000
15674 #error "Not Motif 2"
15679 if { (eval echo configure
:15680: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15682 cat >> confdefs.h
<<\EOF
15683 #define __WXMOTIF20__ 1
15686 echo "$ac_t""found" 1>&6
15689 echo "configure: failed program was:" >&5
15690 cat conftest.
$ac_ext >&5
15693 cat >> confdefs.h
<<\EOF
15694 #define __WXMOTIF20__ 0
15697 echo "$ac_t""not found" 1>&6
15701 CFLAGS
=$save_CFLAGS
15703 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15704 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15709 if test "$wxUSE_MAC" = 1; then
15710 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15712 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15717 if test "$wxUSE_COCOA" = 1; then
15718 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15723 if test "$wxUSE_PM" = 1; then
15726 echo "configure: warning: OS/2 PM requires old resource format, re-enabled" 1>&2
15727 wxUSE_PROLOGIO
="yes"
15728 wxUSE_RESOURCES
="yes"
15729 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15733 if test "$TOOLKIT" = "PM" ; then
15736 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15739 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15741 if test "$wxUSE_UNIVERSAL" = "yes"; then
15742 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15744 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15745 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15747 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15748 if test "$wxUSE_X11" = 1; then
15749 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15751 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15753 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15756 ALL_OBJECTS
="\$(GUIOBJS)"
15757 ALL_SOURCES
="\$(ALL_SOURCES)"
15758 ALL_HEADERS
="\$(ALL_HEADERS)"
15761 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15763 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15764 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15767 if test "$wxUSE_HTML" = "yes"; then
15768 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15771 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15772 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15774 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15775 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15777 if test "$wxUSE_LIBPNG" = "builtin" ; then
15778 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15781 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15782 DISTDIR
="wx\$(TOOLKIT)"
15788 if test "$USE_WIN32" = 1 ; then
15789 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15790 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15794 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15795 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15798 ALL_SOURCES
="\$(ALL_SOURCES)"
15799 ALL_HEADERS
="\$(ALL_HEADERS)"
15801 PORT_FILES
="\${top_srcdir}/src/files.lst"
15803 GUIDIST
="BASE_DIST"
15808 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15809 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15812 if test "$wxUSE_REGEX" = "builtin" ; then
15813 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15815 if test "$wxUSE_ZLIB" = "builtin" ; then
15816 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15820 if test "$wxUSE_OPENGL" = "yes"; then
15821 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15822 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15823 elif test "$wxUSE_MSW" = 1; then
15824 OPENGL_LIBS
="-lopengl32 -lglu32"
15826 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15827 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15828 echo "configure:15829: checking for GL/gl.h" >&5
15829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15830 echo $ac_n "(cached) $ac_c" 1>&6
15832 cat > conftest.
$ac_ext <<EOF
15833 #line 15834 "configure"
15834 #include "confdefs.h"
15837 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15838 { (eval echo configure
:15839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15839 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15840 if test -z "$ac_err"; then
15842 eval "ac_cv_header_$ac_safe=yes"
15845 echo "configure: failed program was:" >&5
15846 cat conftest.
$ac_ext >&5
15848 eval "ac_cv_header_$ac_safe=no"
15852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15853 echo "$ac_t""yes" 1>&6
15855 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15856 echo "configure:15857: checking for -lGL" >&5
15859 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15861 for ac_extension
in a so sl dylib
; do
15862 if test -f "$ac_dir/libGL.$ac_extension"; then
15863 ac_find_libraries
=$ac_dir
15869 if test "$ac_find_libraries" != "" ; then
15871 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15873 if test $result = 0; then
15876 ac_path_to_link
=" -L$ac_find_libraries"
15879 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15880 LDFLAGS_GL
="$LDFLAGS"
15882 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15884 OPENGL_LIBS
="-lGL -lGLU"
15885 echo "$ac_t""yes" 1>&6
15887 echo "$ac_t""no" 1>&6
15888 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15889 echo "configure:15890: checking for -lMesaGL" >&5
15892 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15894 for ac_extension
in a so sl dylib
; do
15895 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15896 ac_find_libraries
=$ac_dir
15902 if test "$ac_find_libraries" != "" ; then
15904 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15906 if test $result = 0; then
15909 ac_path_to_link
=" -L$ac_find_libraries"
15912 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15913 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15914 echo "$ac_t""yes" 1>&6
15916 echo "$ac_t""no" 1>&6
15921 echo "$ac_t""no" 1>&6
15925 if test "x$OPENGL_LIBS" = "x"; then
15926 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15930 if test "$wxUSE_OPENGL" = "yes"; then
15931 cat >> confdefs.h
<<\EOF
15932 #define wxUSE_OPENGL 1
15935 cat >> confdefs.h
<<\EOF
15936 #define wxUSE_GLCANVAS 1
15939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15943 if test -z "$TOOLKIT_VPATH" ; then
15944 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15947 if test -n "$TOOLKIT" ; then
15948 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15951 lib_unicode_suffix
=
15952 if test "$wxUSE_UNICODE" = "yes"; then
15953 lib_unicode_suffix
=u
15957 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15961 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15963 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15964 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15966 if test "$cross_compiling" = "yes"; then
15967 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15968 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15971 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15972 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15973 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15975 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15976 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15978 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15979 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15980 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15981 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15984 *-*-cygwin* | *-*-mingw32* )
15988 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15989 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15990 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15991 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15992 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15994 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15995 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16001 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16002 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16004 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16005 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16006 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16007 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16009 if test "$wxUSE_MAC" = 1; then
16010 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16011 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16016 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16017 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16019 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16020 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16022 if test "$wxUSE_OPENGL" = "yes"; then
16023 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16024 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16029 if test "$wxUSE_SHARED" = "yes"; then
16031 *-pc-os2_emx | *-pc-os2-emx | \
16034 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16039 if test "$wxUSE_SHARED" = "yes"; then
16041 if test "$wxUSE_OPENGL" = "yes"; then
16042 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16043 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16045 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16046 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16049 if test "$GCC" = "yes"; then
16055 found_versioning
=no
16058 if test $found_versioning = no
; then
16059 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16060 echo "configure:16061: checking if the linker accepts --version-script" >&5
16061 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16062 echo $ac_n "(cached) $ac_c" 1>&6
16065 echo "VER_1 { *; };" >conftest.sym
16066 echo "int main() { return 0; }" >conftest.cpp
16069 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16070 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16071: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16071 if test -s conftest.stderr
; then
16072 wx_cv_version_script
=no
16074 wx_cv_version_script
=yes
16077 wx_cv_version_script
=no
16079 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16083 echo "$ac_t""$wx_cv_version_script" 1>&6
16084 if test $wx_cv_version_script = yes ; then
16085 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16090 SHARED_LD
="${CXX} -shared -o"
16094 if test "$GCC" = "yes"; then
16095 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16097 LDFLAGS
="$LDFLAGS -L/usr/lib"
16099 SHARED_LD
="${CXX} -b -o"
16103 if test "$wxUSE_OPENGL" = "yes"; then
16104 WX_ALL_INSTALLED
="preinstall_gl"
16105 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16107 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16112 if test "$GCC" != "yes"; then
16113 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16114 echo "configure:16115: checking for Intel compiler" >&5
16115 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16116 echo $ac_n "(cached) $ac_c" 1>&6
16119 cat > conftest.
$ac_ext <<EOF
16120 #line 16121 "configure"
16121 #include "confdefs.h"
16125 #ifndef __INTEL_COMPILER
16131 if { (eval echo configure
:16132: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16135 echo "configure: failed program was:" >&5
16136 cat conftest.
$ac_ext >&5
16145 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16146 if test "$wx_cv_prog_icc" = "yes"; then
16151 if test "$wxUSE_SONAME" = "yes" ; then
16152 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16153 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16154 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16159 if test "$GCC" = yes ; then
16160 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16162 SHARED_LD
="${CXX} -G -o"
16164 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16165 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16170 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16171 CFLAGS
="$CFLAGS -fno-common"
16172 CXXFLAGS
="$CXXFLAGS -fno-common"
16173 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16174 PIC_FLAG
="-dynamic -fPIC"
16175 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16176 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16180 if test "$GCC" != "yes"; then
16181 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16182 set dummy makeC
++SharedLib
; ac_word
=$2
16183 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16184 echo "configure:16185: checking for $ac_word" >&5
16185 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16186 echo $ac_n "(cached) $ac_c" 1>&6
16188 if test -n "$AIX_CXX_LD"; then
16189 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16191 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16193 for ac_dir
in $ac_dummy; do
16194 test -z "$ac_dir" && ac_dir
=.
16195 if test -f $ac_dir/$ac_word; then
16196 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16201 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16204 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16205 if test -n "$AIX_CXX_LD"; then
16206 echo "$ac_t""$AIX_CXX_LD" 1>&6
16208 echo "$ac_t""no" 1>&6
16212 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16216 *-*-cygwin* | *-*-mingw32* )
16217 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16219 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16220 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16222 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16224 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16225 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16227 if test "$wxUSE_OPENGL" = "yes"; then
16228 LIBS
="${LIBS} ${OPENGL_LIBS}"
16233 SHARED_LD
="${LD} -shared -o"
16237 if test "$GCC" != "yes"; then
16242 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16250 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16253 if test "x$WX_TARGET_LIBRARY" = "x"; then
16254 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16255 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16258 WX_TARGET_LIBRARY_TYPE
="so"
16259 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16262 if test "$wxUSE_SHARED" = "no"; then
16264 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16265 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16268 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16269 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16272 if test "$wxUSE_OPENGL" = "yes"; then
16273 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16274 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16276 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16279 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16280 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16282 WX_TARGET_LIBRARY_TYPE
="a"
16283 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16293 if test "$wxUSE_MAC" = 1; then
16294 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16295 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16296 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16297 # Extract the first word of "Rez", so it can be a program name with args.
16298 set dummy Rez
; ac_word
=$2
16299 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16300 echo "configure:16301: checking for $ac_word" >&5
16301 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16302 echo $ac_n "(cached) $ac_c" 1>&6
16304 if test -n "$RESCOMP"; then
16305 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16307 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16309 for ac_dir
in $ac_dummy; do
16310 test -z "$ac_dir" && ac_dir
=.
16311 if test -f $ac_dir/$ac_word; then
16312 ac_cv_prog_RESCOMP
="Rez"
16317 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16320 RESCOMP
="$ac_cv_prog_RESCOMP"
16321 if test -n "$RESCOMP"; then
16322 echo "$ac_t""$RESCOMP" 1>&6
16324 echo "$ac_t""no" 1>&6
16327 # Extract the first word of "DeRez", so it can be a program name with args.
16328 set dummy DeRez
; ac_word
=$2
16329 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16330 echo "configure:16331: checking for $ac_word" >&5
16331 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16332 echo $ac_n "(cached) $ac_c" 1>&6
16334 if test -n "$DEREZ"; then
16335 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16337 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16339 for ac_dir
in $ac_dummy; do
16340 test -z "$ac_dir" && ac_dir
=.
16341 if test -f $ac_dir/$ac_word; then
16342 ac_cv_prog_DEREZ
="DeRez"
16347 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16350 DEREZ
="$ac_cv_prog_DEREZ"
16351 if test -n "$DEREZ"; then
16352 echo "$ac_t""$DEREZ" 1>&6
16354 echo "$ac_t""no" 1>&6
16357 # Extract the first word of "SetFile", so it can be a program name with args.
16358 set dummy SetFile
; ac_word
=$2
16359 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16360 echo "configure:16361: checking for $ac_word" >&5
16361 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16362 echo $ac_n "(cached) $ac_c" 1>&6
16364 if test -n "$SETFILE"; then
16365 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16367 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16369 for ac_dir
in $ac_dummy; do
16370 test -z "$ac_dir" && ac_dir
=.
16371 if test -f $ac_dir/$ac_word; then
16372 ac_cv_prog_SETFILE
="SetFile"
16377 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16380 SETFILE
="$ac_cv_prog_SETFILE"
16381 if test -n "$SETFILE"; then
16382 echo "$ac_t""$SETFILE" 1>&6
16384 echo "$ac_t""no" 1>&6
16387 MACOSX_BUNDLE
="bundle"
16388 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16389 MACSETFILE
="\$(SETFILE)"
16390 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16392 if test "$wxUSE_PM" = 1; then
16393 MACRESCOMP
="emxbind -ep"
16398 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16399 echo "configure:16400: checking for ANSI C header files" >&5
16400 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16401 echo $ac_n "(cached) $ac_c" 1>&6
16403 cat > conftest.
$ac_ext <<EOF
16404 #line 16405 "configure"
16405 #include "confdefs.h"
16406 #include <stdlib.h>
16407 #include <stdarg.h>
16408 #include <string.h>
16411 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16412 { (eval echo configure
:16413: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16413 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16414 if test -z "$ac_err"; then
16416 ac_cv_header_stdc
=yes
16419 echo "configure: failed program was:" >&5
16420 cat conftest.
$ac_ext >&5
16422 ac_cv_header_stdc
=no
16426 if test $ac_cv_header_stdc = yes; then
16427 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16428 cat > conftest.
$ac_ext <<EOF
16429 #line 16430 "configure"
16430 #include "confdefs.h"
16431 #include <string.h>
16433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16434 egrep "memchr" >/dev
/null
2>&1; then
16438 ac_cv_header_stdc
=no
16444 if test $ac_cv_header_stdc = yes; then
16445 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16446 cat > conftest.
$ac_ext <<EOF
16447 #line 16448 "configure"
16448 #include "confdefs.h"
16449 #include <stdlib.h>
16451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16452 egrep "free" >/dev
/null
2>&1; then
16456 ac_cv_header_stdc
=no
16462 if test $ac_cv_header_stdc = yes; then
16463 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16464 if test "$cross_compiling" = yes; then
16467 cat > conftest.
$ac_ext <<EOF
16468 #line 16469 "configure"
16469 #include "confdefs.h"
16471 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16472 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16473 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16474 int main () { int i; for (i = 0; i < 256; i++)
16475 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16479 if { (eval echo configure
:16480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16483 echo "configure: failed program was:" >&5
16484 cat conftest.
$ac_ext >&5
16486 ac_cv_header_stdc
=no
16494 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16495 if test $ac_cv_header_stdc = yes; then
16496 cat >> confdefs.h
<<\EOF
16497 #define STDC_HEADERS 1
16502 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16503 echo "configure:16504: checking for mode_t" >&5
16504 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16505 echo $ac_n "(cached) $ac_c" 1>&6
16507 cat > conftest.
$ac_ext <<EOF
16508 #line 16509 "configure"
16509 #include "confdefs.h"
16510 #include <sys/types.h>
16512 #include <stdlib.h>
16513 #include <stddef.h>
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16519 ac_cv_type_mode_t
=yes
16522 ac_cv_type_mode_t
=no
16527 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16528 if test $ac_cv_type_mode_t = no
; then
16529 cat >> confdefs.h
<<\EOF
16535 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16536 echo "configure:16537: checking for off_t" >&5
16537 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16538 echo $ac_n "(cached) $ac_c" 1>&6
16540 cat > conftest.
$ac_ext <<EOF
16541 #line 16542 "configure"
16542 #include "confdefs.h"
16543 #include <sys/types.h>
16545 #include <stdlib.h>
16546 #include <stddef.h>
16549 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16550 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16552 ac_cv_type_off_t
=yes
16555 ac_cv_type_off_t
=no
16560 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16561 if test $ac_cv_type_off_t = no
; then
16562 cat >> confdefs.h
<<\EOF
16568 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16569 echo "configure:16570: checking for pid_t" >&5
16570 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16571 echo $ac_n "(cached) $ac_c" 1>&6
16573 cat > conftest.
$ac_ext <<EOF
16574 #line 16575 "configure"
16575 #include "confdefs.h"
16576 #include <sys/types.h>
16578 #include <stdlib.h>
16579 #include <stddef.h>
16582 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16583 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16585 ac_cv_type_pid_t
=yes
16588 ac_cv_type_pid_t
=no
16593 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16594 if test $ac_cv_type_pid_t = no
; then
16595 cat >> confdefs.h
<<\EOF
16601 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16602 echo "configure:16603: checking for size_t" >&5
16603 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16604 echo $ac_n "(cached) $ac_c" 1>&6
16606 cat > conftest.
$ac_ext <<EOF
16607 #line 16608 "configure"
16608 #include "confdefs.h"
16609 #include <sys/types.h>
16611 #include <stdlib.h>
16612 #include <stddef.h>
16615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16616 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16618 ac_cv_type_size_t
=yes
16621 ac_cv_type_size_t
=no
16626 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16627 if test $ac_cv_type_size_t = no
; then
16628 cat >> confdefs.h
<<\EOF
16629 #define size_t unsigned
16634 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16635 echo "configure:16636: checking for uid_t in sys/types.h" >&5
16636 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16637 echo $ac_n "(cached) $ac_c" 1>&6
16639 cat > conftest.
$ac_ext <<EOF
16640 #line 16641 "configure"
16641 #include "confdefs.h"
16642 #include <sys/types.h>
16644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16645 egrep "uid_t" >/dev
/null
2>&1; then
16647 ac_cv_type_uid_t
=yes
16650 ac_cv_type_uid_t
=no
16656 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16657 if test $ac_cv_type_uid_t = no
; then
16658 cat >> confdefs.h
<<\EOF
16662 cat >> confdefs.h
<<\EOF
16671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16672 ac_cpp
='$CXXCPP $CPPFLAGS'
16673 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16674 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16675 cross_compiling
=$ac_cv_prog_cxx_cross
16677 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16678 echo "configure:16679: checking if size_t is unsigned int" >&5
16679 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16680 echo $ac_n "(cached) $ac_c" 1>&6
16682 cat > conftest.
$ac_ext <<EOF
16683 #line 16684 "configure"
16684 #include "confdefs.h"
16685 #include <stddef.h>
16690 struct Foo { void foo(size_t); void foo(unsigned int); };
16696 if { (eval echo configure
:16697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16698 wx_cv_size_t_is_uint
=no
16700 echo "configure: failed program was:" >&5
16701 cat conftest.
$ac_ext >&5
16703 wx_cv_size_t_is_uint
=yes
16710 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16712 if test "$wx_cv_size_t_is_uint" = "yes"; then
16713 cat >> confdefs.h
<<\EOF
16714 #define wxSIZE_T_IS_UINT 1
16718 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16719 echo "configure:16720: checking if size_t is unsigned long" >&5
16720 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16721 echo $ac_n "(cached) $ac_c" 1>&6
16723 cat > conftest.
$ac_ext <<EOF
16724 #line 16725 "configure"
16725 #include "confdefs.h"
16726 #include <stddef.h>
16731 struct Foo { void foo(size_t); void foo(unsigned long); };
16737 if { (eval echo configure
:16738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16739 wx_cv_size_t_is_ulong
=no
16741 echo "configure: failed program was:" >&5
16742 cat conftest.
$ac_ext >&5
16744 wx_cv_size_t_is_ulong
=yes
16751 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16753 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16754 cat >> confdefs.h
<<\EOF
16755 #define wxSIZE_T_IS_ULONG 1
16762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16763 ac_cpp
='$CPP $CPPFLAGS'
16764 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16765 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16766 cross_compiling
=$ac_cv_prog_cc_cross
16770 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16771 echo "configure:16772: checking for pw_gecos in struct passwd" >&5
16772 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16773 echo $ac_n "(cached) $ac_c" 1>&6
16776 cat > conftest.
$ac_ext <<EOF
16777 #line 16778 "configure"
16778 #include "confdefs.h"
16788 if { (eval echo configure
:16789: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16791 wx_cv_struct_pw_gecos
=yes
16794 echo "configure: failed program was:" >&5
16795 cat conftest.
$ac_ext >&5
16798 wx_cv_struct_pw_gecos
=no
16807 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16809 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16810 cat >> confdefs.h
<<\EOF
16811 #define HAVE_PW_GECOS 1
16817 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16818 cat >> confdefs.h
<<\EOF
16819 #define wxUSE_WCHAR_T 1
16825 for ac_func
in wcslen
16827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16828 echo "configure:16829: checking for $ac_func" >&5
16829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16830 echo $ac_n "(cached) $ac_c" 1>&6
16832 cat > conftest.
$ac_ext <<EOF
16833 #line 16834 "configure"
16834 #include "confdefs.h"
16835 /* System header to define __stub macros and hopefully few prototypes,
16836 which can conflict with char $ac_func(); below. */
16837 #include <assert.h>
16838 /* Override any gcc2 internal prototype to avoid an error. */
16839 /* We use char because int might match the return type of a gcc2
16840 builtin and then its argument prototype would still apply. */
16845 /* The GNU C library defines this for functions which it implements
16846 to always fail with ENOSYS. Some functions are actually named
16847 something starting with __ and the normal name is an alias. */
16848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16856 if { (eval echo configure
:16857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16858 eval "ac_cv_func_$ac_func=yes"
16860 echo "configure: failed program was:" >&5
16861 cat conftest.
$ac_ext >&5
16863 eval "ac_cv_func_$ac_func=no"
16868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16869 echo "$ac_t""yes" 1>&6
16870 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16871 cat >> confdefs.h
<<EOF
16872 #define $ac_tr_func 1
16876 echo "$ac_t""no" 1>&6
16881 if test "$WCSLEN_FOUND" = 0; then
16882 if test "$TOOLKIT" = "MSW"; then
16883 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16884 echo "configure:16885: checking for wcslen in -lmsvcrt" >&5
16885 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16886 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16887 echo $ac_n "(cached) $ac_c" 1>&6
16889 ac_save_LIBS
="$LIBS"
16890 LIBS
="-lmsvcrt $LIBS"
16891 cat > conftest.
$ac_ext <<EOF
16892 #line 16893 "configure"
16893 #include "confdefs.h"
16894 /* Override any gcc2 internal prototype to avoid an error. */
16895 /* We use char because int might match the return type of a gcc2
16896 builtin and then its argument prototype would still apply. */
16903 if { (eval echo configure
:16904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16905 eval "ac_cv_lib_$ac_lib_var=yes"
16907 echo "configure: failed program was:" >&5
16908 cat conftest.
$ac_ext >&5
16910 eval "ac_cv_lib_$ac_lib_var=no"
16913 LIBS
="$ac_save_LIBS"
16916 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16917 echo "$ac_t""yes" 1>&6
16920 echo "$ac_t""no" 1>&6
16924 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16925 echo "configure:16926: checking for wcslen in -lw" >&5
16926 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16927 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16928 echo $ac_n "(cached) $ac_c" 1>&6
16930 ac_save_LIBS
="$LIBS"
16932 cat > conftest.
$ac_ext <<EOF
16933 #line 16934 "configure"
16934 #include "confdefs.h"
16935 /* Override any gcc2 internal prototype to avoid an error. */
16936 /* We use char because int might match the return type of a gcc2
16937 builtin and then its argument prototype would still apply. */
16944 if { (eval echo configure
:16945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16946 eval "ac_cv_lib_$ac_lib_var=yes"
16948 echo "configure: failed program was:" >&5
16949 cat conftest.
$ac_ext >&5
16951 eval "ac_cv_lib_$ac_lib_var=no"
16954 LIBS
="$ac_save_LIBS"
16957 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16958 echo "$ac_t""yes" 1>&6
16964 echo "$ac_t""no" 1>&6
16970 if test "$WCSLEN_FOUND" = 1; then
16971 cat >> confdefs.h
<<\EOF
16972 #define HAVE_WCSLEN 1
16977 for ac_func
in wcsrtombs
16979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16980 echo "configure:16981: checking for $ac_func" >&5
16981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16982 echo $ac_n "(cached) $ac_c" 1>&6
16984 cat > conftest.
$ac_ext <<EOF
16985 #line 16986 "configure"
16986 #include "confdefs.h"
16987 /* System header to define __stub macros and hopefully few prototypes,
16988 which can conflict with char $ac_func(); below. */
16989 #include <assert.h>
16990 /* Override any gcc2 internal prototype to avoid an error. */
16991 /* We use char because int might match the return type of a gcc2
16992 builtin and then its argument prototype would still apply. */
16997 /* The GNU C library defines this for functions which it implements
16998 to always fail with ENOSYS. Some functions are actually named
16999 something starting with __ and the normal name is an alias. */
17000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17008 if { (eval echo configure
:17009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17010 eval "ac_cv_func_$ac_func=yes"
17012 echo "configure: failed program was:" >&5
17013 cat conftest.
$ac_ext >&5
17015 eval "ac_cv_func_$ac_func=no"
17020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17021 echo "$ac_t""yes" 1>&6
17022 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17023 cat >> confdefs.h
<<EOF
17024 #define $ac_tr_func 1
17028 echo "$ac_t""no" 1>&6
17033 echo "configure: warning: Wide character support is unavailable" 1>&2
17038 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17039 ac_cpp
='$CXXCPP $CPPFLAGS'
17040 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17041 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17042 cross_compiling
=$ac_cv_prog_cxx_cross
17045 for ac_func
in vsnprintf
17047 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17048 echo "configure:17049: checking for $ac_func" >&5
17049 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17050 echo $ac_n "(cached) $ac_c" 1>&6
17052 cat > conftest.
$ac_ext <<EOF
17053 #line 17054 "configure"
17054 #include "confdefs.h"
17055 /* System header to define __stub macros and hopefully few prototypes,
17056 which can conflict with char $ac_func(); below. */
17057 #include <assert.h>
17058 /* Override any gcc2 internal prototype to avoid an error. */
17062 /* We use char because int might match the return type of a gcc2
17063 builtin and then its argument prototype would still apply. */
17068 /* The GNU C library defines this for functions which it implements
17069 to always fail with ENOSYS. Some functions are actually named
17070 something starting with __ and the normal name is an alias. */
17071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17079 if { (eval echo configure
:17080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17081 eval "ac_cv_func_$ac_func=yes"
17083 echo "configure: failed program was:" >&5
17084 cat conftest.
$ac_ext >&5
17086 eval "ac_cv_func_$ac_func=no"
17091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17092 echo "$ac_t""yes" 1>&6
17093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17094 cat >> confdefs.h
<<EOF
17095 #define $ac_tr_func 1
17099 echo "$ac_t""no" 1>&6
17104 if test "$ac_cv_func_vsnprintf" = "yes"; then
17105 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17106 echo "configure:17107: checking for vsnprintf declaration" >&5
17107 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17108 echo $ac_n "(cached) $ac_c" 1>&6
17111 cat > conftest.
$ac_ext <<EOF
17112 #line 17113 "configure"
17113 #include "confdefs.h"
17116 #include <stdarg.h>
17122 vsnprintf(buf, 10u, "%s", ap);
17126 if { (eval echo configure
:17127: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17128 wx_cv_func_vsnprintf_decl
=yes
17130 echo "configure: failed program was:" >&5
17131 cat conftest.
$ac_ext >&5
17133 wx_cv_func_vsnprintf_decl
=no
17141 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17143 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17144 cat >> confdefs.h
<<\EOF
17145 #define HAVE_VSNPRINTF_DECL 1
17151 if test "$wxUSE_UNICODE" = yes; then
17152 for ac_func
in fputwc wprintf vswprintf
17154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17155 echo "configure:17156: checking for $ac_func" >&5
17156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17157 echo $ac_n "(cached) $ac_c" 1>&6
17159 cat > conftest.
$ac_ext <<EOF
17160 #line 17161 "configure"
17161 #include "confdefs.h"
17162 /* System header to define __stub macros and hopefully few prototypes,
17163 which can conflict with char $ac_func(); below. */
17164 #include <assert.h>
17165 /* Override any gcc2 internal prototype to avoid an error. */
17169 /* We use char because int might match the return type of a gcc2
17170 builtin and then its argument prototype would still apply. */
17175 /* The GNU C library defines this for functions which it implements
17176 to always fail with ENOSYS. Some functions are actually named
17177 something starting with __ and the normal name is an alias. */
17178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17186 if { (eval echo configure
:17187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17188 eval "ac_cv_func_$ac_func=yes"
17190 echo "configure: failed program was:" >&5
17191 cat conftest.
$ac_ext >&5
17193 eval "ac_cv_func_$ac_func=no"
17198 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17199 echo "$ac_t""yes" 1>&6
17200 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17201 cat >> confdefs.h
<<EOF
17202 #define $ac_tr_func 1
17206 echo "$ac_t""no" 1>&6
17211 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17212 echo "configure:17213: checking for _vsnwprintf" >&5
17213 cat > conftest.
$ac_ext <<EOF
17214 #line 17215 "configure"
17215 #include "confdefs.h"
17221 if { (eval echo configure
:17222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17223 echo "$ac_t""yes" 1>&6
17224 cat >> confdefs.h
<<\EOF
17225 #define HAVE__VSNWPRINTF 1
17229 echo "configure: failed program was:" >&5
17230 cat conftest.
$ac_ext >&5
17232 echo "$ac_t""no" 1>&6
17238 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17239 ac_cpp
='$CPP $CPPFLAGS'
17240 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17241 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17242 cross_compiling
=$ac_cv_prog_cc_cross
17247 if test "$TOOLKIT" != "MSW"; then
17252 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17253 ac_cpp
='$CXXCPP $CPPFLAGS'
17254 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17255 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17256 cross_compiling
=$ac_cv_prog_cxx_cross
17260 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17261 if test "${with_libiconv_prefix+set}" = set; then
17262 withval
="$with_libiconv_prefix"
17264 for dir
in `echo "$withval" | tr : ' '`; do
17265 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17266 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17272 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17273 echo "configure:17274: checking for iconv" >&5
17274 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17275 echo $ac_n "(cached) $ac_c" 1>&6
17278 am_cv_func_iconv
="no, consider installing GNU libiconv"
17280 cat > conftest.
$ac_ext <<EOF
17281 #line 17282 "configure"
17282 #include "confdefs.h"
17283 #include <stdlib.h>
17286 iconv_t cd = iconv_open("","");
17287 iconv(cd,NULL,NULL,NULL,NULL);
17291 if { (eval echo configure
:17292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17293 am_cv_func_iconv
=yes
17295 echo "configure: failed program was:" >&5
17296 cat conftest.
$ac_ext >&5
17299 if test "$am_cv_func_iconv" != yes; then
17300 am_save_LIBS
="$LIBS"
17301 LIBS
="$LIBS -liconv"
17302 cat > conftest.
$ac_ext <<EOF
17303 #line 17304 "configure"
17304 #include "confdefs.h"
17305 #include <stdlib.h>
17308 iconv_t cd = iconv_open("","");
17309 iconv(cd,NULL,NULL,NULL,NULL);
17313 if { (eval echo configure
:17314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17315 am_cv_lib_iconv
=yes
17316 am_cv_func_iconv
=yes
17318 echo "configure: failed program was:" >&5
17319 cat conftest.
$ac_ext >&5
17322 LIBS
="$am_save_LIBS"
17327 echo "$ac_t""$am_cv_func_iconv" 1>&6
17328 if test "$am_cv_func_iconv" = yes; then
17329 cat >> confdefs.h
<<\EOF
17330 #define HAVE_ICONV 1
17333 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17334 echo "configure:17335: checking if iconv needs const" >&5
17335 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17336 echo $ac_n "(cached) $ac_c" 1>&6
17338 cat > conftest.
$ac_ext <<EOF
17339 #line 17340 "configure"
17340 #include "confdefs.h"
17342 #include <stdlib.h>
17348 #if defined(__STDC__) || defined(__cplusplus)
17349 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17358 if { (eval echo configure
:17359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17360 wx_cv_func_iconv_const
="no"
17362 echo "configure: failed program was:" >&5
17363 cat conftest.
$ac_ext >&5
17365 wx_cv_func_iconv_const
="yes"
17372 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17375 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17376 iconv_const
="const"
17379 cat >> confdefs.h
<<EOF
17380 #define ICONV_CONST $iconv_const
17385 if test "$am_cv_lib_iconv" = yes; then
17390 LIBS
="$LIBICONV $LIBS"
17392 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17393 ac_cpp
='$CPP $CPPFLAGS'
17394 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17395 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17396 cross_compiling
=$ac_cv_prog_cc_cross
17399 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17400 for ac_func
in sigaction
17402 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17403 echo "configure:17404: checking for $ac_func" >&5
17404 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17405 echo $ac_n "(cached) $ac_c" 1>&6
17407 cat > conftest.
$ac_ext <<EOF
17408 #line 17409 "configure"
17409 #include "confdefs.h"
17410 /* System header to define __stub macros and hopefully few prototypes,
17411 which can conflict with char $ac_func(); below. */
17412 #include <assert.h>
17413 /* Override any gcc2 internal prototype to avoid an error. */
17414 /* We use char because int might match the return type of a gcc2
17415 builtin and then its argument prototype would still apply. */
17420 /* The GNU C library defines this for functions which it implements
17421 to always fail with ENOSYS. Some functions are actually named
17422 something starting with __ and the normal name is an alias. */
17423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17431 if { (eval echo configure
:17432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17433 eval "ac_cv_func_$ac_func=yes"
17435 echo "configure: failed program was:" >&5
17436 cat conftest.
$ac_ext >&5
17438 eval "ac_cv_func_$ac_func=no"
17443 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17444 echo "$ac_t""yes" 1>&6
17445 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17446 cat >> confdefs.h
<<EOF
17447 #define $ac_tr_func 1
17451 echo "$ac_t""no" 1>&6
17456 if test "$ac_cv_func_sigaction" = "no"; then
17457 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17458 wxUSE_ON_FATAL_EXCEPTION
=no
17461 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17464 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17465 ac_cpp
='$CXXCPP $CPPFLAGS'
17466 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17467 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17468 cross_compiling
=$ac_cv_prog_cxx_cross
17471 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17472 echo "configure:17473: checking for sa_handler type" >&5
17473 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17474 echo $ac_n "(cached) $ac_c" 1>&6
17477 cat > conftest.
$ac_ext <<EOF
17478 #line 17479 "configure"
17479 #include "confdefs.h"
17480 #include <signal.h>
17483 extern void testSigHandler(int);
17485 struct sigaction sa;
17486 sa.sa_handler = testSigHandler;
17490 if { (eval echo configure
:17491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17493 wx_cv_type_sa_handler
=int
17496 echo "configure: failed program was:" >&5
17497 cat conftest.
$ac_ext >&5
17500 wx_cv_type_sa_handler
=void
17507 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17510 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17511 ac_cpp
='$CPP $CPPFLAGS'
17512 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17513 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17514 cross_compiling
=$ac_cv_prog_cc_cross
17517 cat >> confdefs.h
<<EOF
17518 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17524 for ac_func
in mkstemp mktemp
17526 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17527 echo "configure:17528: checking for $ac_func" >&5
17528 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17529 echo $ac_n "(cached) $ac_c" 1>&6
17531 cat > conftest.
$ac_ext <<EOF
17532 #line 17533 "configure"
17533 #include "confdefs.h"
17534 /* System header to define __stub macros and hopefully few prototypes,
17535 which can conflict with char $ac_func(); below. */
17536 #include <assert.h>
17537 /* Override any gcc2 internal prototype to avoid an error. */
17538 /* We use char because int might match the return type of a gcc2
17539 builtin and then its argument prototype would still apply. */
17544 /* The GNU C library defines this for functions which it implements
17545 to always fail with ENOSYS. Some functions are actually named
17546 something starting with __ and the normal name is an alias. */
17547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17555 if { (eval echo configure
:17556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17557 eval "ac_cv_func_$ac_func=yes"
17559 echo "configure: failed program was:" >&5
17560 cat conftest.
$ac_ext >&5
17562 eval "ac_cv_func_$ac_func=no"
17567 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17568 echo "$ac_t""yes" 1>&6
17569 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17570 cat >> confdefs.h
<<EOF
17571 #define $ac_tr_func 1
17575 echo "$ac_t""no" 1>&6
17580 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17581 echo "configure:17582: checking for statfs" >&5
17582 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17583 echo $ac_n "(cached) $ac_c" 1>&6
17585 cat > conftest.
$ac_ext <<EOF
17586 #line 17587 "configure"
17587 #include "confdefs.h"
17589 #if defined(__BSD__)
17590 #include <sys/param.h>
17591 #include <sys/mount.h>
17593 #include <sys/vfs.h>
17607 if { (eval echo configure
:17608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17610 wx_cv_func_statfs
=yes
17613 echo "configure: failed program was:" >&5
17614 cat conftest.
$ac_ext >&5
17617 wx_cv_func_statfs
=no
17625 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17627 if test "$wx_cv_func_statfs" = "yes"; then
17628 wx_cv_type_statvfs_t
="struct statfs"
17629 cat >> confdefs.h
<<\EOF
17630 #define HAVE_STATFS 1
17634 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17635 echo "configure:17636: checking for statvfs" >&5
17636 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17637 echo $ac_n "(cached) $ac_c" 1>&6
17639 cat > conftest.
$ac_ext <<EOF
17640 #line 17641 "configure"
17641 #include "confdefs.h"
17643 #include <stddef.h>
17644 #include <sys/statvfs.h>
17648 statvfs("/", NULL);
17652 if { (eval echo configure
:17653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17654 wx_cv_func_statvfs
=yes
17656 echo "configure: failed program was:" >&5
17657 cat conftest.
$ac_ext >&5
17659 wx_cv_func_statvfs
=no
17666 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17668 if test "$wx_cv_func_statvfs" = "yes"; then
17671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17672 ac_cpp
='$CXXCPP $CPPFLAGS'
17673 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17674 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17675 cross_compiling
=$ac_cv_prog_cxx_cross
17678 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17679 echo "configure:17680: checking for statvfs argument type" >&5
17680 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17681 echo $ac_n "(cached) $ac_c" 1>&6
17683 cat > conftest.
$ac_ext <<EOF
17684 #line 17685 "configure"
17685 #include "confdefs.h"
17687 #include <sys/statvfs.h>
17700 if { (eval echo configure
:17701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17702 wx_cv_type_statvfs_t
=statvfs_t
17704 echo "configure: failed program was:" >&5
17705 cat conftest.
$ac_ext >&5
17708 cat > conftest.
$ac_ext <<EOF
17709 #line 17710 "configure"
17710 #include "confdefs.h"
17712 #include <sys/statvfs.h>
17725 if { (eval echo configure
:17726: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17727 wx_cv_type_statvfs_t
="struct statvfs"
17729 echo "configure: failed program was:" >&5
17730 cat conftest.
$ac_ext >&5
17732 wx_cv_type_statvfs_t
="unknown"
17743 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17747 ac_cpp
='$CPP $CPPFLAGS'
17748 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17749 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17750 cross_compiling
=$ac_cv_prog_cc_cross
17753 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17754 cat >> confdefs.h
<<\EOF
17755 #define HAVE_STATVFS 1
17760 wx_cv_type_statvfs_t
="unknown"
17764 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17765 cat >> confdefs.h
<<EOF
17766 #define WX_STATFS_T $wx_cv_type_statvfs_t
17770 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17773 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17774 for ac_func
in fcntl flock
17776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17777 echo "configure:17778: checking for $ac_func" >&5
17778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17779 echo $ac_n "(cached) $ac_c" 1>&6
17781 cat > conftest.
$ac_ext <<EOF
17782 #line 17783 "configure"
17783 #include "confdefs.h"
17784 /* System header to define __stub macros and hopefully few prototypes,
17785 which can conflict with char $ac_func(); below. */
17786 #include <assert.h>
17787 /* Override any gcc2 internal prototype to avoid an error. */
17788 /* We use char because int might match the return type of a gcc2
17789 builtin and then its argument prototype would still apply. */
17794 /* The GNU C library defines this for functions which it implements
17795 to always fail with ENOSYS. Some functions are actually named
17796 something starting with __ and the normal name is an alias. */
17797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17805 if { (eval echo configure
:17806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17807 eval "ac_cv_func_$ac_func=yes"
17809 echo "configure: failed program was:" >&5
17810 cat conftest.
$ac_ext >&5
17812 eval "ac_cv_func_$ac_func=no"
17817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17818 echo "$ac_t""yes" 1>&6
17819 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17820 cat >> confdefs.h
<<EOF
17821 #define $ac_tr_func 1
17825 echo "$ac_t""no" 1>&6
17830 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17831 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17832 wxUSE_SNGLINST_CHECKER
=no
17836 for ac_func
in timegm
17838 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17839 echo "configure:17840: checking for $ac_func" >&5
17840 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17841 echo $ac_n "(cached) $ac_c" 1>&6
17843 cat > conftest.
$ac_ext <<EOF
17844 #line 17845 "configure"
17845 #include "confdefs.h"
17846 /* System header to define __stub macros and hopefully few prototypes,
17847 which can conflict with char $ac_func(); below. */
17848 #include <assert.h>
17849 /* Override any gcc2 internal prototype to avoid an error. */
17850 /* We use char because int might match the return type of a gcc2
17851 builtin and then its argument prototype would still apply. */
17856 /* The GNU C library defines this for functions which it implements
17857 to always fail with ENOSYS. Some functions are actually named
17858 something starting with __ and the normal name is an alias. */
17859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17867 if { (eval echo configure
:17868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17869 eval "ac_cv_func_$ac_func=yes"
17871 echo "configure: failed program was:" >&5
17872 cat conftest.
$ac_ext >&5
17874 eval "ac_cv_func_$ac_func=no"
17879 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17880 echo "$ac_t""yes" 1>&6
17881 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17882 cat >> confdefs.h
<<EOF
17883 #define $ac_tr_func 1
17887 echo "$ac_t""no" 1>&6
17892 for ac_func
in putenv setenv
17894 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17895 echo "configure:17896: checking for $ac_func" >&5
17896 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17897 echo $ac_n "(cached) $ac_c" 1>&6
17899 cat > conftest.
$ac_ext <<EOF
17900 #line 17901 "configure"
17901 #include "confdefs.h"
17902 /* System header to define __stub macros and hopefully few prototypes,
17903 which can conflict with char $ac_func(); below. */
17904 #include <assert.h>
17905 /* Override any gcc2 internal prototype to avoid an error. */
17906 /* We use char because int might match the return type of a gcc2
17907 builtin and then its argument prototype would still apply. */
17912 /* The GNU C library defines this for functions which it implements
17913 to always fail with ENOSYS. Some functions are actually named
17914 something starting with __ and the normal name is an alias. */
17915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17923 if { (eval echo configure
:17924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17925 eval "ac_cv_func_$ac_func=yes"
17927 echo "configure: failed program was:" >&5
17928 cat conftest.
$ac_ext >&5
17930 eval "ac_cv_func_$ac_func=no"
17935 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17936 echo "$ac_t""yes" 1>&6
17937 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17938 cat >> confdefs.h
<<EOF
17939 #define $ac_tr_func 1
17943 echo "$ac_t""no" 1>&6
17948 HAVE_SOME_SLEEP_FUNC
=0
17949 if test "$USE_BEOS" = 1; then
17950 cat >> confdefs.h
<<\EOF
17951 #define HAVE_SLEEP 1
17954 HAVE_SOME_SLEEP_FUNC
=1
17957 if test "$USE_DARWIN" = 1; then
17958 cat >> confdefs.h
<<\EOF
17959 #define HAVE_USLEEP 1
17962 HAVE_SOME_SLEEP_FUNC
=1
17965 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17967 for ac_func
in nanosleep
17969 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17970 echo "configure:17971: checking for $ac_func" >&5
17971 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17972 echo $ac_n "(cached) $ac_c" 1>&6
17974 cat > conftest.
$ac_ext <<EOF
17975 #line 17976 "configure"
17976 #include "confdefs.h"
17977 /* System header to define __stub macros and hopefully few prototypes,
17978 which can conflict with char $ac_func(); below. */
17979 #include <assert.h>
17980 /* Override any gcc2 internal prototype to avoid an error. */
17981 /* We use char because int might match the return type of a gcc2
17982 builtin and then its argument prototype would still apply. */
17987 /* The GNU C library defines this for functions which it implements
17988 to always fail with ENOSYS. Some functions are actually named
17989 something starting with __ and the normal name is an alias. */
17990 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17998 if { (eval echo configure
:17999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18000 eval "ac_cv_func_$ac_func=yes"
18002 echo "configure: failed program was:" >&5
18003 cat conftest.
$ac_ext >&5
18005 eval "ac_cv_func_$ac_func=no"
18010 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18011 echo "$ac_t""yes" 1>&6
18012 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18013 cat >> confdefs.h
<<EOF
18014 #define $ac_tr_func 1
18016 cat >> confdefs.h
<<\EOF
18017 #define HAVE_NANOSLEEP 1
18021 echo "$ac_t""no" 1>&6
18022 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18023 echo "configure:18024: checking for nanosleep in -lposix4" >&5
18024 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18025 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18026 echo $ac_n "(cached) $ac_c" 1>&6
18028 ac_save_LIBS
="$LIBS"
18029 LIBS
="-lposix4 $LIBS"
18030 cat > conftest.
$ac_ext <<EOF
18031 #line 18032 "configure"
18032 #include "confdefs.h"
18033 /* Override any gcc2 internal prototype to avoid an error. */
18034 /* We use char because int might match the return type of a gcc2
18035 builtin and then its argument prototype would still apply. */
18042 if { (eval echo configure
:18043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18044 eval "ac_cv_lib_$ac_lib_var=yes"
18046 echo "configure: failed program was:" >&5
18047 cat conftest.
$ac_ext >&5
18049 eval "ac_cv_lib_$ac_lib_var=no"
18052 LIBS
="$ac_save_LIBS"
18055 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18056 echo "$ac_t""yes" 1>&6
18058 cat >> confdefs.h
<<\EOF
18059 #define HAVE_NANOSLEEP 1
18062 POSIX4_LINK
=" -lposix4"
18065 echo "$ac_t""no" 1>&6
18067 for ac_func
in usleep
18069 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18070 echo "configure:18071: checking for $ac_func" >&5
18071 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18072 echo $ac_n "(cached) $ac_c" 1>&6
18074 cat > conftest.
$ac_ext <<EOF
18075 #line 18076 "configure"
18076 #include "confdefs.h"
18077 /* System header to define __stub macros and hopefully few prototypes,
18078 which can conflict with char $ac_func(); below. */
18079 #include <assert.h>
18080 /* Override any gcc2 internal prototype to avoid an error. */
18081 /* We use char because int might match the return type of a gcc2
18082 builtin and then its argument prototype would still apply. */
18087 /* The GNU C library defines this for functions which it implements
18088 to always fail with ENOSYS. Some functions are actually named
18089 something starting with __ and the normal name is an alias. */
18090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18098 if { (eval echo configure
:18099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18100 eval "ac_cv_func_$ac_func=yes"
18102 echo "configure: failed program was:" >&5
18103 cat conftest.
$ac_ext >&5
18105 eval "ac_cv_func_$ac_func=no"
18110 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18111 echo "$ac_t""yes" 1>&6
18112 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18113 cat >> confdefs.h
<<EOF
18114 #define $ac_tr_func 1
18116 cat >> confdefs.h
<<\EOF
18117 #define HAVE_USLEEP 1
18121 echo "$ac_t""no" 1>&6
18122 echo "configure: warning: wxSleep() function will not work" 1>&2
18138 for ac_func
in uname gethostname
18140 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18141 echo "configure:18142: checking for $ac_func" >&5
18142 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18143 echo $ac_n "(cached) $ac_c" 1>&6
18145 cat > conftest.
$ac_ext <<EOF
18146 #line 18147 "configure"
18147 #include "confdefs.h"
18148 /* System header to define __stub macros and hopefully few prototypes,
18149 which can conflict with char $ac_func(); below. */
18150 #include <assert.h>
18151 /* Override any gcc2 internal prototype to avoid an error. */
18152 /* We use char because int might match the return type of a gcc2
18153 builtin and then its argument prototype would still apply. */
18158 /* The GNU C library defines this for functions which it implements
18159 to always fail with ENOSYS. Some functions are actually named
18160 something starting with __ and the normal name is an alias. */
18161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18169 if { (eval echo configure
:18170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18171 eval "ac_cv_func_$ac_func=yes"
18173 echo "configure: failed program was:" >&5
18174 cat conftest.
$ac_ext >&5
18176 eval "ac_cv_func_$ac_func=no"
18181 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18182 echo "$ac_t""yes" 1>&6
18183 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18184 cat >> confdefs.h
<<EOF
18185 #define $ac_tr_func 1
18189 echo "$ac_t""no" 1>&6
18196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18197 ac_cpp
='$CXXCPP $CPPFLAGS'
18198 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18199 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18200 cross_compiling
=$ac_cv_prog_cxx_cross
18203 for ac_func
in strtok_r
18205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18206 echo "configure:18207: checking for $ac_func" >&5
18207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18208 echo $ac_n "(cached) $ac_c" 1>&6
18210 cat > conftest.
$ac_ext <<EOF
18211 #line 18212 "configure"
18212 #include "confdefs.h"
18213 /* System header to define __stub macros and hopefully few prototypes,
18214 which can conflict with char $ac_func(); below. */
18215 #include <assert.h>
18216 /* Override any gcc2 internal prototype to avoid an error. */
18220 /* We use char because int might match the return type of a gcc2
18221 builtin and then its argument prototype would still apply. */
18226 /* The GNU C library defines this for functions which it implements
18227 to always fail with ENOSYS. Some functions are actually named
18228 something starting with __ and the normal name is an alias. */
18229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18237 if { (eval echo configure
:18238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18239 eval "ac_cv_func_$ac_func=yes"
18241 echo "configure: failed program was:" >&5
18242 cat conftest.
$ac_ext >&5
18244 eval "ac_cv_func_$ac_func=no"
18249 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18250 echo "$ac_t""yes" 1>&6
18251 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18252 cat >> confdefs.h
<<EOF
18253 #define $ac_tr_func 1
18257 echo "$ac_t""no" 1>&6
18263 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18264 ac_cpp
='$CPP $CPPFLAGS'
18265 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18266 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18267 cross_compiling
=$ac_cv_prog_cc_cross
18271 for ac_func
in inet_addr
18273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18274 echo "configure:18275: checking for $ac_func" >&5
18275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18276 echo $ac_n "(cached) $ac_c" 1>&6
18278 cat > conftest.
$ac_ext <<EOF
18279 #line 18280 "configure"
18280 #include "confdefs.h"
18281 /* System header to define __stub macros and hopefully few prototypes,
18282 which can conflict with char $ac_func(); below. */
18283 #include <assert.h>
18284 /* Override any gcc2 internal prototype to avoid an error. */
18285 /* We use char because int might match the return type of a gcc2
18286 builtin and then its argument prototype would still apply. */
18291 /* The GNU C library defines this for functions which it implements
18292 to always fail with ENOSYS. Some functions are actually named
18293 something starting with __ and the normal name is an alias. */
18294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18302 if { (eval echo configure
:18303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18304 eval "ac_cv_func_$ac_func=yes"
18306 echo "configure: failed program was:" >&5
18307 cat conftest.
$ac_ext >&5
18309 eval "ac_cv_func_$ac_func=no"
18314 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18315 echo "$ac_t""yes" 1>&6
18316 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18317 cat >> confdefs.h
<<EOF
18318 #define $ac_tr_func 1
18320 cat >> confdefs.h
<<\EOF
18321 #define HAVE_INET_ADDR 1
18325 echo "$ac_t""no" 1>&6
18326 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18327 echo "configure:18328: checking for inet_addr in -lnsl" >&5
18328 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18329 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18330 echo $ac_n "(cached) $ac_c" 1>&6
18332 ac_save_LIBS
="$LIBS"
18334 cat > conftest.
$ac_ext <<EOF
18335 #line 18336 "configure"
18336 #include "confdefs.h"
18337 /* Override any gcc2 internal prototype to avoid an error. */
18338 /* We use char because int might match the return type of a gcc2
18339 builtin and then its argument prototype would still apply. */
18346 if { (eval echo configure
:18347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18348 eval "ac_cv_lib_$ac_lib_var=yes"
18350 echo "configure: failed program was:" >&5
18351 cat conftest.
$ac_ext >&5
18353 eval "ac_cv_lib_$ac_lib_var=no"
18356 LIBS
="$ac_save_LIBS"
18359 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18360 echo "$ac_t""yes" 1>&6
18363 echo "$ac_t""no" 1>&6
18364 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18365 echo "configure:18366: checking for inet_addr in -lresolv" >&5
18366 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18367 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18368 echo $ac_n "(cached) $ac_c" 1>&6
18370 ac_save_LIBS
="$LIBS"
18371 LIBS
="-lresolv $LIBS"
18372 cat > conftest.
$ac_ext <<EOF
18373 #line 18374 "configure"
18374 #include "confdefs.h"
18375 /* Override any gcc2 internal prototype to avoid an error. */
18376 /* We use char because int might match the return type of a gcc2
18377 builtin and then its argument prototype would still apply. */
18384 if { (eval echo configure
:18385: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18386 eval "ac_cv_lib_$ac_lib_var=yes"
18388 echo "configure: failed program was:" >&5
18389 cat conftest.
$ac_ext >&5
18391 eval "ac_cv_lib_$ac_lib_var=no"
18394 LIBS
="$ac_save_LIBS"
18397 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18398 echo "$ac_t""yes" 1>&6
18401 echo "$ac_t""no" 1>&6
18402 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18403 echo "configure:18404: checking for inet_addr in -lsocket" >&5
18404 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18405 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18406 echo $ac_n "(cached) $ac_c" 1>&6
18408 ac_save_LIBS
="$LIBS"
18409 LIBS
="-lsocket $LIBS"
18410 cat > conftest.
$ac_ext <<EOF
18411 #line 18412 "configure"
18412 #include "confdefs.h"
18413 /* Override any gcc2 internal prototype to avoid an error. */
18414 /* We use char because int might match the return type of a gcc2
18415 builtin and then its argument prototype would still apply. */
18422 if { (eval echo configure
:18423: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18424 eval "ac_cv_lib_$ac_lib_var=yes"
18426 echo "configure: failed program was:" >&5
18427 cat conftest.
$ac_ext >&5
18429 eval "ac_cv_lib_$ac_lib_var=no"
18432 LIBS
="$ac_save_LIBS"
18435 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18436 echo "$ac_t""yes" 1>&6
18440 echo "$ac_t""no" 1>&6
18455 for ac_func
in inet_aton
18457 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18458 echo "configure:18459: checking for $ac_func" >&5
18459 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18460 echo $ac_n "(cached) $ac_c" 1>&6
18462 cat > conftest.
$ac_ext <<EOF
18463 #line 18464 "configure"
18464 #include "confdefs.h"
18465 /* System header to define __stub macros and hopefully few prototypes,
18466 which can conflict with char $ac_func(); below. */
18467 #include <assert.h>
18468 /* Override any gcc2 internal prototype to avoid an error. */
18469 /* We use char because int might match the return type of a gcc2
18470 builtin and then its argument prototype would still apply. */
18475 /* The GNU C library defines this for functions which it implements
18476 to always fail with ENOSYS. Some functions are actually named
18477 something starting with __ and the normal name is an alias. */
18478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18486 if { (eval echo configure
:18487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18488 eval "ac_cv_func_$ac_func=yes"
18490 echo "configure: failed program was:" >&5
18491 cat conftest.
$ac_ext >&5
18493 eval "ac_cv_func_$ac_func=no"
18498 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18499 echo "$ac_t""yes" 1>&6
18500 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18501 cat >> confdefs.h
<<EOF
18502 #define $ac_tr_func 1
18504 cat >> confdefs.h
<<\EOF
18505 #define HAVE_INET_ATON 1
18509 echo "$ac_t""no" 1>&6
18510 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18511 echo "configure:18512: checking for inet_aton in -l$INET_LINK" >&5
18512 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18514 echo $ac_n "(cached) $ac_c" 1>&6
18516 ac_save_LIBS
="$LIBS"
18517 LIBS
="-l$INET_LINK $LIBS"
18518 cat > conftest.
$ac_ext <<EOF
18519 #line 18520 "configure"
18520 #include "confdefs.h"
18521 /* Override any gcc2 internal prototype to avoid an error. */
18522 /* We use char because int might match the return type of a gcc2
18523 builtin and then its argument prototype would still apply. */
18530 if { (eval echo configure
:18531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18532 eval "ac_cv_lib_$ac_lib_var=yes"
18534 echo "configure: failed program was:" >&5
18535 cat conftest.
$ac_ext >&5
18537 eval "ac_cv_lib_$ac_lib_var=no"
18540 LIBS
="$ac_save_LIBS"
18543 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18544 echo "$ac_t""yes" 1>&6
18545 cat >> confdefs.h
<<\EOF
18546 #define HAVE_INET_ATON 1
18550 echo "$ac_t""no" 1>&6
18558 if test "x$INET_LINK" != "x"; then
18559 cat >> confdefs.h
<<\EOF
18560 #define HAVE_INET_ADDR 1
18563 INET_LINK
=" -l$INET_LINK"
18569 cat > confcache
<<\EOF
18570 # This file is a shell script that caches the results of configure
18571 # tests run on this system so they can be shared between configure
18572 # scripts and configure runs. It is not useful on other systems.
18573 # If it contains results you don't want to keep, you may remove or edit it.
18575 # By default, configure uses ./config.cache as the cache file,
18576 # creating it if it does not exist already. You can give configure
18577 # the --cache-file=FILE option to use a different cache file; that is
18578 # what configure does when it calls configure scripts in
18579 # subdirectories, so they share the cache.
18580 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18581 # config.status only pays attention to the cache file if you give it the
18582 # --recheck option to rerun configure.
18585 # The following way of writing the cache mishandles newlines in values,
18586 # but we know of no workaround that is simple, portable, and efficient.
18587 # So, don't put newlines in cache variables' values.
18588 # Ultrix sh set writes to stderr and can't be redirected directly,
18589 # and sets the high bit in the cache file unless we assign to the vars.
18591 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18593 # `set' does not quote correctly, so add quotes (double-quote substitution
18594 # turns \\\\ into \\, and sed turns \\ into \).
18596 -e "s/'/'\\\\''/g" \
18597 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18600 # `set' quotes correctly as required by POSIX, so do not add quotes.
18601 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18604 if cmp -s $cache_file confcache
; then
18607 if test -w $cache_file; then
18608 echo "updating cache $cache_file"
18609 cat confcache
> $cache_file
18611 echo "not updating unwritable cache $cache_file"
18619 if test "$TOOLKIT" != "MSW"; then
18625 if test "$wxUSE_THREADS" = "yes" ; then
18626 if test "$USE_BEOS" = 1; then
18627 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18632 if test "$wxUSE_THREADS" = "yes" ; then
18635 THREAD_OPTS
="-pthread"
18637 *-*-solaris2* | *-*-sunos4* )
18638 if test "x$GCC" = "xyes"; then
18639 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18641 THREAD_OPTS
="-mt $THREAD_OPTS"
18645 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18647 *-*-darwin* | *-*-cygwin* )
18651 THREAD_OPTS
="pthreads"
18654 if test "x$GCC" != "xyes"; then
18659 THREAD_OPTS
="$THREAD_OPTS pthread none"
18662 for flag
in $THREAD_OPTS; do
18665 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18666 echo "configure:18667: checking whether pthreads work without any flags" >&5
18670 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18671 echo "configure:18672: checking whether pthreads work with $flag" >&5
18672 THREADS_CFLAGS
="$flag"
18676 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18677 echo "configure:18678: checking for the pthreads library -l$flag" >&5
18678 THREADS_LINK
="-l$flag"
18683 save_CFLAGS
="$CFLAGS"
18684 LIBS
="$THREADS_LINK $LIBS"
18685 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18687 cat > conftest.
$ac_ext <<EOF
18688 #line 18689 "configure"
18689 #include "confdefs.h"
18690 #include <pthread.h>
18692 pthread_create(0,0,0,0);
18695 if { (eval echo configure
:18696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18699 echo "configure: failed program was:" >&5
18700 cat conftest.
$ac_ext >&5
18705 CFLAGS
="$save_CFLAGS"
18707 echo "$ac_t""$THREADS_OK" 1>&6
18708 if test "x$THREADS_OK" = "xyes"; then
18716 if test "x$THREADS_OK" != "xyes"; then
18718 echo "configure: warning: No thread support on this system... disabled" 1>&2
18720 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18721 LIBS
="$THREADS_LINK $LIBS"
18723 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18724 echo "configure:18725: checking if more special flags are required for pthreads" >&5
18728 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18729 flag
="-D_THREAD_SAFE"
18732 flag
="-D_THREAD_SAFE"
18735 flag
="-D_REENTRANT"
18736 if test "x$GCC" != "xyes"; then
18737 flag
="$flag -D_RWSTD_MULTI_THREAD"
18740 *solaris
* | alpha
*-osf*)
18741 flag
="-D_REENTRANT"
18744 echo "$ac_t""${flag}" 1>&6
18745 if test "x$flag" != xno
; then
18746 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18749 if test "x$THREADS_CFLAGS" != "x"; then
18750 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18751 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18756 if test "$wxUSE_THREADS" = "yes" ; then
18757 for ac_func
in thr_setconcurrency
18759 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18760 echo "configure:18761: checking for $ac_func" >&5
18761 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18762 echo $ac_n "(cached) $ac_c" 1>&6
18764 cat > conftest.
$ac_ext <<EOF
18765 #line 18766 "configure"
18766 #include "confdefs.h"
18767 /* System header to define __stub macros and hopefully few prototypes,
18768 which can conflict with char $ac_func(); below. */
18769 #include <assert.h>
18770 /* Override any gcc2 internal prototype to avoid an error. */
18771 /* We use char because int might match the return type of a gcc2
18772 builtin and then its argument prototype would still apply. */
18777 /* The GNU C library defines this for functions which it implements
18778 to always fail with ENOSYS. Some functions are actually named
18779 something starting with __ and the normal name is an alias. */
18780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18788 if { (eval echo configure
:18789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18790 eval "ac_cv_func_$ac_func=yes"
18792 echo "configure: failed program was:" >&5
18793 cat conftest.
$ac_ext >&5
18795 eval "ac_cv_func_$ac_func=no"
18800 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18801 echo "$ac_t""yes" 1>&6
18802 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18803 cat >> confdefs.h
<<EOF
18804 #define $ac_tr_func 1
18808 echo "$ac_t""no" 1>&6
18813 for ac_hdr
in sched.h
18815 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18816 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18817 echo "configure:18818: checking for $ac_hdr" >&5
18818 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18819 echo $ac_n "(cached) $ac_c" 1>&6
18821 cat > conftest.
$ac_ext <<EOF
18822 #line 18823 "configure"
18823 #include "confdefs.h"
18826 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18827 { (eval echo configure
:18828: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18828 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18829 if test -z "$ac_err"; then
18831 eval "ac_cv_header_$ac_safe=yes"
18834 echo "configure: failed program was:" >&5
18835 cat conftest.
$ac_ext >&5
18837 eval "ac_cv_header_$ac_safe=no"
18841 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18842 echo "$ac_t""yes" 1>&6
18843 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18844 cat >> confdefs.h
<<EOF
18845 #define $ac_tr_hdr 1
18849 echo "$ac_t""no" 1>&6
18853 if test "$ac_cv_header_sched_h" = "yes"; then
18854 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18855 echo "configure:18856: checking for sched_yield" >&5
18856 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18857 echo $ac_n "(cached) $ac_c" 1>&6
18859 cat > conftest.
$ac_ext <<EOF
18860 #line 18861 "configure"
18861 #include "confdefs.h"
18862 /* System header to define __stub macros and hopefully few prototypes,
18863 which can conflict with char sched_yield(); below. */
18864 #include <assert.h>
18865 /* Override any gcc2 internal prototype to avoid an error. */
18866 /* We use char because int might match the return type of a gcc2
18867 builtin and then its argument prototype would still apply. */
18868 char sched_yield();
18872 /* The GNU C library defines this for functions which it implements
18873 to always fail with ENOSYS. Some functions are actually named
18874 something starting with __ and the normal name is an alias. */
18875 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18883 if { (eval echo configure
:18884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18885 eval "ac_cv_func_sched_yield=yes"
18887 echo "configure: failed program was:" >&5
18888 cat conftest.
$ac_ext >&5
18890 eval "ac_cv_func_sched_yield=no"
18895 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18896 echo "$ac_t""yes" 1>&6
18897 cat >> confdefs.h
<<\EOF
18898 #define HAVE_SCHED_YIELD 1
18902 echo "$ac_t""no" 1>&6
18904 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18905 echo "configure:18906: checking for sched_yield in -lposix4" >&5
18906 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18907 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18908 echo $ac_n "(cached) $ac_c" 1>&6
18910 ac_save_LIBS
="$LIBS"
18911 LIBS
="-lposix4 $LIBS"
18912 cat > conftest.
$ac_ext <<EOF
18913 #line 18914 "configure"
18914 #include "confdefs.h"
18915 /* Override any gcc2 internal prototype to avoid an error. */
18916 /* We use char because int might match the return type of a gcc2
18917 builtin and then its argument prototype would still apply. */
18918 char sched_yield();
18924 if { (eval echo configure
:18925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18926 eval "ac_cv_lib_$ac_lib_var=yes"
18928 echo "configure: failed program was:" >&5
18929 cat conftest.
$ac_ext >&5
18931 eval "ac_cv_lib_$ac_lib_var=no"
18934 LIBS
="$ac_save_LIBS"
18937 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18938 echo "$ac_t""yes" 1>&6
18939 cat >> confdefs.h
<<\EOF
18940 #define HAVE_SCHED_YIELD 1
18942 POSIX4_LINK
=" -lposix4"
18944 echo "$ac_t""no" 1>&6
18945 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18956 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18957 echo "configure:18958: checking for pthread_attr_getschedpolicy" >&5
18958 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18959 echo $ac_n "(cached) $ac_c" 1>&6
18961 cat > conftest.
$ac_ext <<EOF
18962 #line 18963 "configure"
18963 #include "confdefs.h"
18964 /* System header to define __stub macros and hopefully few prototypes,
18965 which can conflict with char pthread_attr_getschedpolicy(); below. */
18966 #include <assert.h>
18967 /* Override any gcc2 internal prototype to avoid an error. */
18968 /* We use char because int might match the return type of a gcc2
18969 builtin and then its argument prototype would still apply. */
18970 char pthread_attr_getschedpolicy();
18974 /* The GNU C library defines this for functions which it implements
18975 to always fail with ENOSYS. Some functions are actually named
18976 something starting with __ and the normal name is an alias. */
18977 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18980 pthread_attr_getschedpolicy();
18985 if { (eval echo configure
:18986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18987 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18989 echo "configure: failed program was:" >&5
18990 cat conftest.
$ac_ext >&5
18992 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18997 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18998 echo "$ac_t""yes" 1>&6
18999 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19000 echo "configure:19001: checking for pthread_attr_setschedparam" >&5
19001 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19002 echo $ac_n "(cached) $ac_c" 1>&6
19004 cat > conftest.
$ac_ext <<EOF
19005 #line 19006 "configure"
19006 #include "confdefs.h"
19007 /* System header to define __stub macros and hopefully few prototypes,
19008 which can conflict with char pthread_attr_setschedparam(); below. */
19009 #include <assert.h>
19010 /* Override any gcc2 internal prototype to avoid an error. */
19011 /* We use char because int might match the return type of a gcc2
19012 builtin and then its argument prototype would still apply. */
19013 char pthread_attr_setschedparam();
19017 /* The GNU C library defines this for functions which it implements
19018 to always fail with ENOSYS. Some functions are actually named
19019 something starting with __ and the normal name is an alias. */
19020 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19023 pthread_attr_setschedparam();
19028 if { (eval echo configure
:19029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19030 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19032 echo "configure: failed program was:" >&5
19033 cat conftest.
$ac_ext >&5
19035 eval "ac_cv_func_pthread_attr_setschedparam=no"
19040 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19041 echo "$ac_t""yes" 1>&6
19042 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19043 echo "configure:19044: checking for sched_get_priority_max" >&5
19044 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19045 echo $ac_n "(cached) $ac_c" 1>&6
19047 cat > conftest.
$ac_ext <<EOF
19048 #line 19049 "configure"
19049 #include "confdefs.h"
19050 /* System header to define __stub macros and hopefully few prototypes
19052 echo "$ac_t""no" 1>&6
19053 which can conflict with char sched_get_priority_max(); below. */
19054 #include <assert.h>
19055 /* Override any gcc2 internal prototype to avoid an error. */
19056 /* We use char because int might match the return type of a gcc2
19057 builtin and then its argument prototype would still apply. */
19058 char sched_get_priority_max();
19062 /* The GNU C library defines this for functions which it implements
19063 to always fail with ENOSYS. Some functions are actually named
19064 something starting with __ and the normal name is an alias. */
19065 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19068 sched_get_priority_max();
19073 if { (eval echo configure
:19074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19075 eval "ac_cv_func_sched_get_priority_max=yes"
19077 echo "configure: failed program was:" >&5
19078 cat conftest.
$ac_ext >&5
19080 eval "ac_cv_func_sched_get_priority_max=no"
19085 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19086 echo "$ac_t""yes" 1>&6
19089 echo "$ac_t""no" 1>&6
19090 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19091 echo "configure:19092: checking for sched_get_priority_max in -lposix4" >&5
19092 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19093 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19094 echo $ac_n "(cached) $ac_c" 1>&6
19096 ac_save_LIBS
="$LIBS"
19097 LIBS
="-lposix4 $LIBS"
19098 cat > conftest.
$ac_ext <<EOF
19099 #line 19100 "configure"
19100 #include "confdefs.h"
19101 /* Override any gcc2 internal prototype to avoid an error. */
19102 /* We use char because int might match the return type of a gcc2
19103 builtin and then its argument prototype would still apply. */
19104 char sched_get_priority_max();
19107 sched_get_priority_max()
19110 if { (eval echo configure
:19111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19112 eval "ac_cv_lib_$ac_lib_var=yes"
19114 echo "configure: failed program was:" >&5
19115 cat conftest.
$ac_ext >&5
19117 eval "ac_cv_lib_$ac_lib_var=no"
19120 LIBS
="$ac_save_LIBS"
19123 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19124 echo "$ac_t""yes" 1>&6
19127 POSIX4_LINK
=" -lposix4"
19130 echo "$ac_t""no" 1>&6
19138 echo "$ac_t""no" 1>&6
19145 if test "$HAVE_PRIOR_FUNCS" = 1; then
19146 cat >> confdefs.h
<<\EOF
19147 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19151 echo "configure: warning: Setting thread priority will not work" 1>&2
19154 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19155 echo "configure:19156: checking for pthread_cancel" >&5
19156 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19157 echo $ac_n "(cached) $ac_c" 1>&6
19159 cat > conftest.
$ac_ext <<EOF
19160 #line 19161 "configure"
19161 #include "confdefs.h"
19162 /* System header to define __stub macros and hopefully few prototypes,
19163 which can conflict with char pthread_cancel(); below. */
19164 #include <assert.h>
19165 /* Override any gcc2 internal prototype to avoid an error. */
19166 /* We use char because int might match the return type of a gcc2
19167 builtin and then its argument prototype would still apply. */
19168 char pthread_cancel();
19172 /* The GNU C library defines this for functions which it implements
19173 to always fail with ENOSYS. Some functions are actually named
19174 something starting with __ and the normal name is an alias. */
19175 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19183 if { (eval echo configure
:19184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19185 eval "ac_cv_func_pthread_cancel=yes"
19187 echo "configure: failed program was:" >&5
19188 cat conftest.
$ac_ext >&5
19190 eval "ac_cv_func_pthread_cancel=no"
19195 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19196 echo "$ac_t""yes" 1>&6
19197 cat >> confdefs.h
<<\EOF
19198 #define HAVE_PTHREAD_CANCEL 1
19202 echo "$ac_t""no" 1>&6
19203 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19207 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19208 echo "configure:19209: checking for pthread_cleanup_push/pop" >&5
19209 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19210 echo $ac_n "(cached) $ac_c" 1>&6
19213 cat > conftest.
$ac_ext <<EOF
19214 #line 19215 "configure"
19215 #include "confdefs.h"
19216 #include <pthread.h>
19219 pthread_cleanup_push(NULL, NULL);
19220 pthread_cleanup_pop(0);
19224 if { (eval echo configure
:19225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19227 wx_cv_func_pthread_cleanup_push
=yes
19230 echo "configure: failed program was:" >&5
19231 cat conftest.
$ac_ext >&5
19234 wx_cv_func_pthread_cleanup_push
=no
19241 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19243 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19244 cat >> confdefs.h
<<\EOF
19245 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19251 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19252 echo "configure:19253: checking for pthread_mutexattr_t" >&5
19253 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19254 echo $ac_n "(cached) $ac_c" 1>&6
19257 cat > conftest.
$ac_ext <<EOF
19258 #line 19259 "configure"
19259 #include "confdefs.h"
19260 #include <pthread.h>
19263 pthread_mutexattr_t attr;
19264 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19268 if { (eval echo configure
:19269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19271 wx_cv_type_pthread_mutexattr_t
=yes
19274 echo "configure: failed program was:" >&5
19275 cat conftest.
$ac_ext >&5
19278 wx_cv_type_pthread_mutexattr_t
=no
19286 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19288 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19289 cat >> confdefs.h
<<\EOF
19290 #define HAVE_PTHREAD_MUTEXATTR_T 1
19294 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19295 echo "configure:19296: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19296 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19297 echo $ac_n "(cached) $ac_c" 1>&6
19300 cat > conftest.
$ac_ext <<EOF
19301 #line 19302 "configure"
19302 #include "confdefs.h"
19303 #include <pthread.h>
19306 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19310 if { (eval echo configure
:19311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19313 wx_cv_type_pthread_rec_mutex_init
=yes
19316 echo "configure: failed program was:" >&5
19317 cat conftest.
$ac_ext >&5
19320 wx_cv_type_pthread_rec_mutex_init
=no
19328 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19329 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19330 cat >> confdefs.h
<<\EOF
19331 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19335 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19341 if test "$wxUSE_THREADS" = "yes" ; then
19344 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19345 echo "configure:19346: checking if compiler supports -mthreads" >&5
19346 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19347 echo $ac_n "(cached) $ac_c" 1>&6
19350 CFLAGS_OLD
="$CFLAGS"
19351 CFLAGS
="$CFLAGS -mthreads"
19352 cat > conftest.
$ac_ext <<EOF
19353 #line 19354 "configure"
19354 #include "confdefs.h"
19360 if { (eval echo configure
:19361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19362 wx_cv_cflags_mthread
=yes
19364 echo "configure: failed program was:" >&5
19365 cat conftest.
$ac_ext >&5
19367 wx_cv_cflags_mthread
=no
19375 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19377 if test "$wx_cv_cflags_mthread" = "yes"; then
19378 CXXFLAGS
="$CXXFLAGS -mthreads"
19379 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19380 LDFLAGS
="$LDFLAGS -mthreads"
19382 CFLAGS
="$CFLAGS_OLD"
19389 if test "$wxUSE_THREADS" = "yes"; then
19390 cat >> confdefs.h
<<\EOF
19391 #define wxUSE_THREADS 1
19395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19397 if test "$ac_cv_func_strtok_r" = "yes"; then
19398 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19399 echo "configure:19400: checking if -D_REENTRANT is needed" >&5
19400 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19401 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19402 echo "$ac_t""yes" 1>&6
19404 echo "$ac_t""no" 1>&6
19409 if test "$WXGTK20" = 1 ; then
19410 cat >> confdefs.h
<<EOF
19411 #define __WXGTK20__ $WXGTK20
19417 if test "$WXGTK12" = 1 ; then
19418 cat >> confdefs.h
<<EOF
19419 #define __WXGTK12__ $WXGTK12
19424 if test "$WXGTK127" = 1 ; then
19425 cat >> confdefs.h
<<EOF
19426 #define __WXGTK127__ $WXGTK127
19433 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19438 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19439 wxUSE_DEBUG_INFO
=yes
19443 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19444 cat >> confdefs.h
<<\EOF
19448 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19450 if test "$wxUSE_GTK" = 1 ; then
19451 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19455 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19456 cat >> confdefs.h
<<\EOF
19457 #define wxUSE_MEMORY_TRACING 1
19460 cat >> confdefs.h
<<\EOF
19461 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19464 cat >> confdefs.h
<<\EOF
19465 #define wxUSE_DEBUG_NEW_ALWAYS 1
19468 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19471 if test "$wxUSE_DMALLOC" = "yes" ; then
19472 DMALLOC_LIBS
="-ldmalloc"
19476 if test "$wxUSE_PROFILE" = "yes" ; then
19481 CODE_GEN_FLAGS_CXX
=
19482 if test "$GCC" = "yes" ; then
19483 if test "$wxUSE_NO_RTTI" = "yes" ; then
19484 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19486 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19487 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19489 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19490 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19492 if test "$USE_WIN32" = 1 ; then
19493 # I'm not even really sure what this was ever added to solve,
19494 # but someone added it for mingw native builds, so I guess
19495 # they had a reason, right??
19496 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19501 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19504 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19510 if test "$wxUSE_OPTIMISE" = "no" ; then
19511 if test "$GCC" = yes ; then
19515 if test "$GCC" = yes ; then
19519 i586
-*-*|i686
-*-* )
19520 OPTIMISE
="${OPTIMISE} "
19529 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19530 cat >> confdefs.h
<<\EOF
19531 #define WXWIN_COMPATIBILITY_2 1
19535 WXWIN_COMPATIBILITY_2_2
="yes"
19538 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19539 cat >> confdefs.h
<<\EOF
19540 #define WXWIN_COMPATIBILITY_2_2 1
19544 WXWIN_COMPATIBILITY_2_4
="yes"
19547 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19548 cat >> confdefs.h
<<\EOF
19549 #define WXWIN_COMPATIBILITY_2_4 1
19555 if test "$wxUSE_GUI" = "yes"; then
19556 cat >> confdefs.h
<<\EOF
19557 #define wxUSE_GUI 1
19562 cat >> confdefs.h
<<\EOF
19563 #define wxUSE_NOGUI 1
19569 if test "$wxUSE_UNIX" = "yes"; then
19570 cat >> confdefs.h
<<\EOF
19571 #define wxUSE_UNIX 1
19577 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19578 cat >> confdefs.h
<<\EOF
19579 #define wxUSE_APPLE_IEEE 1
19584 if test "$wxUSE_TIMER" = "yes"; then
19585 cat >> confdefs.h
<<\EOF
19586 #define wxUSE_TIMER 1
19591 if test "$wxUSE_WAVE" = "yes"; then
19592 cat >> confdefs.h
<<\EOF
19593 #define wxUSE_WAVE 1
19598 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19599 cat >> confdefs.h
<<\EOF
19600 #define wxUSE_CMDLINE_PARSER 1
19605 if test "$wxUSE_STOPWATCH" = "yes"; then
19606 cat >> confdefs.h
<<\EOF
19607 #define wxUSE_STOPWATCH 1
19612 if test "$wxUSE_DATETIME" = "yes"; then
19613 cat >> confdefs.h
<<\EOF
19614 #define wxUSE_DATETIME 1
19619 if test "$wxUSE_FILE" = "yes"; then
19620 cat >> confdefs.h
<<\EOF
19621 #define wxUSE_FILE 1
19626 if test "$wxUSE_FFILE" = "yes"; then
19627 cat >> confdefs.h
<<\EOF
19628 #define wxUSE_FFILE 1
19633 if test "$wxUSE_FILESYSTEM" = "yes"; then
19634 cat >> confdefs.h
<<\EOF
19635 #define wxUSE_FILESYSTEM 1
19640 if test "$wxUSE_FS_INET" = "yes"; then
19641 cat >> confdefs.h
<<\EOF
19642 #define wxUSE_FS_INET 1
19647 if test "$wxUSE_FS_ZIP" = "yes"; then
19648 cat >> confdefs.h
<<\EOF
19649 #define wxUSE_FS_ZIP 1
19654 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19655 cat >> confdefs.h
<<\EOF
19656 #define wxUSE_ZIPSTREAM 1
19661 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19662 cat >> confdefs.h
<<\EOF
19663 #define wxUSE_ON_FATAL_EXCEPTION 1
19668 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19669 cat >> confdefs.h
<<\EOF
19670 #define wxUSE_SNGLINST_CHECKER 1
19675 if test "$wxUSE_BUSYINFO" = "yes"; then
19676 cat >> confdefs.h
<<\EOF
19677 #define wxUSE_BUSYINFO 1
19682 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19683 cat >> confdefs.h
<<\EOF
19684 #define wxUSE_STD_IOSTREAM 1
19689 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19690 cat >> confdefs.h
<<\EOF
19691 #define wxUSE_TEXTBUFFER 1
19696 if test "$wxUSE_TEXTFILE" = "yes"; then
19697 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19698 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19700 cat >> confdefs.h
<<\EOF
19701 #define wxUSE_TEXTFILE 1
19707 if test "$wxUSE_CONFIG" = "yes" ; then
19708 if test "$wxUSE_TEXTFILE" != "yes"; then
19709 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19711 cat >> confdefs.h
<<\EOF
19712 #define wxUSE_CONFIG 1
19715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19719 if test "$wxUSE_INTL" = "yes" ; then
19720 if test "$wxUSE_FILE" != "yes"; then
19721 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19723 cat >> confdefs.h
<<\EOF
19724 #define wxUSE_INTL 1
19727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19728 GUIDIST
="$GUIDIST INTL_DIST"
19732 if test "$wxUSE_LOG" = "yes"; then
19733 cat >> confdefs.h
<<\EOF
19734 #define wxUSE_LOG 1
19738 if test "$wxUSE_LOGGUI" = "yes"; then
19739 cat >> confdefs.h
<<\EOF
19740 #define wxUSE_LOGGUI 1
19745 if test "$wxUSE_LOGWINDOW" = "yes"; then
19746 cat >> confdefs.h
<<\EOF
19747 #define wxUSE_LOGWINDOW 1
19752 if test "$wxUSE_LOGDIALOG" = "yes"; then
19753 cat >> confdefs.h
<<\EOF
19754 #define wxUSE_LOG_DIALOG 1
19760 if test "$wxUSE_LONGLONG" = "yes"; then
19761 cat >> confdefs.h
<<\EOF
19762 #define wxUSE_LONGLONG 1
19767 if test "$wxUSE_GEOMETRY" = "yes"; then
19768 cat >> confdefs.h
<<\EOF
19769 #define wxUSE_GEOMETRY 1
19774 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19775 cat >> confdefs.h
<<\EOF
19776 #define wxUSE_DIALUP_MANAGER 1
19779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19782 if test "$wxUSE_STREAMS" = "yes" ; then
19783 cat >> confdefs.h
<<\EOF
19784 #define wxUSE_STREAMS 1
19790 if test "$wxUSE_DATETIME" = "yes"; then
19791 for ac_func
in strptime
19793 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19794 echo "configure:19795: checking for $ac_func" >&5
19795 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19796 echo $ac_n "(cached) $ac_c" 1>&6
19798 cat > conftest.
$ac_ext <<EOF
19799 #line 19800 "configure"
19800 #include "confdefs.h"
19801 /* System header to define __stub macros and hopefully few prototypes,
19802 which can conflict with char $ac_func(); below. */
19803 #include <assert.h>
19804 /* Override any gcc2 internal prototype to avoid an error. */
19805 /* We use char because int might match the return type of a gcc2
19806 builtin and then its argument prototype would still apply. */
19811 /* The GNU C library defines this for functions which it implements
19812 to always fail with ENOSYS. Some functions are actually named
19813 something starting with __ and the normal name is an alias. */
19814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19822 if { (eval echo configure
:19823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19824 eval "ac_cv_func_$ac_func=yes"
19826 echo "configure: failed program was:" >&5
19827 cat conftest.
$ac_ext >&5
19829 eval "ac_cv_func_$ac_func=no"
19834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19835 echo "$ac_t""yes" 1>&6
19836 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19837 cat >> confdefs.h
<<EOF
19838 #define $ac_tr_func 1
19842 echo "$ac_t""no" 1>&6
19847 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19848 echo "configure:19849: checking for timezone variable in <time.h>" >&5
19849 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19850 echo $ac_n "(cached) $ac_c" 1>&6
19853 cat > conftest.
$ac_ext <<EOF
19854 #line 19855 "configure"
19855 #include "confdefs.h"
19866 if { (eval echo configure
:19867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19869 wx_cv_var_timezone
=timezone
19872 echo "configure: failed program was:" >&5
19873 cat conftest.
$ac_ext >&5
19876 cat > conftest.
$ac_ext <<EOF
19877 #line 19878 "configure"
19878 #include "confdefs.h"
19889 if { (eval echo configure
:19890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19892 wx_cv_var_timezone
=_timezone
19895 echo "configure: failed program was:" >&5
19896 cat conftest.
$ac_ext >&5
19899 cat > conftest.
$ac_ext <<EOF
19900 #line 19901 "configure"
19901 #include "confdefs.h"
19912 if { (eval echo configure
:19913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19915 wx_cv_var_timezone
=__timezone
19918 echo "configure: failed program was:" >&5
19919 cat conftest.
$ac_ext >&5
19922 if test "$USE_DOS" = 0 ; then
19923 echo "configure: warning: no timezone variable" 1>&2
19941 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19943 if test "x$wx_cv_var_timezone" != x
; then
19944 cat >> confdefs.h
<<EOF
19945 #define WX_TIMEZONE $wx_cv_var_timezone
19950 for ac_func
in localtime
19952 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19953 echo "configure:19954: checking for $ac_func" >&5
19954 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19955 echo $ac_n "(cached) $ac_c" 1>&6
19957 cat > conftest.
$ac_ext <<EOF
19958 #line 19959 "configure"
19959 #include "confdefs.h"
19960 /* System header to define __stub macros and hopefully few prototypes,
19961 which can conflict with char $ac_func(); below. */
19962 #include <assert.h>
19963 /* Override any gcc2 internal prototype to avoid an error. */
19964 /* We use char because int might match the return type of a gcc2
19965 builtin and then its argument prototype would still apply. */
19970 /* The GNU C library defines this for functions which it implements
19971 to always fail with ENOSYS. Some functions are actually named
19972 something starting with __ and the normal name is an alias. */
19973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19981 if { (eval echo configure
:19982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19983 eval "ac_cv_func_$ac_func=yes"
19985 echo "configure: failed program was:" >&5
19986 cat conftest.
$ac_ext >&5
19988 eval "ac_cv_func_$ac_func=no"
19993 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19994 echo "$ac_t""yes" 1>&6
19995 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19996 cat >> confdefs.h
<<EOF
19997 #define $ac_tr_func 1
20001 echo "$ac_t""no" 1>&6
20006 if test "$ac_cv_func_localtime" = "yes"; then
20007 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20008 echo "configure:20009: checking for tm_gmtoff in struct tm" >&5
20009 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20010 echo $ac_n "(cached) $ac_c" 1>&6
20013 cat > conftest.
$ac_ext <<EOF
20014 #line 20015 "configure"
20015 #include "confdefs.h"
20026 if { (eval echo configure
:20027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20029 wx_cv_struct_tm_has_gmtoff
=yes
20032 echo "configure: failed program was:" >&5
20033 cat conftest.
$ac_ext >&5
20035 wx_cv_struct_tm_has_gmtoff
=no
20042 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20045 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20046 cat >> confdefs.h
<<\EOF
20047 #define WX_GMTOFF_IN_TM 1
20052 for ac_func
in gettimeofday ftime
20054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20055 echo "configure:20056: checking for $ac_func" >&5
20056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20057 echo $ac_n "(cached) $ac_c" 1>&6
20059 cat > conftest.
$ac_ext <<EOF
20060 #line 20061 "configure"
20061 #include "confdefs.h"
20062 /* System header to define __stub macros and hopefully few prototypes,
20063 which can conflict with char $ac_func(); below. */
20064 #include <assert.h>
20065 /* Override any gcc2 internal prototype to avoid an error. */
20066 /* We use char because int might match the return type of a gcc2
20067 builtin and then its argument prototype would still apply. */
20072 /* The GNU C library defines this for functions which it implements
20073 to always fail with ENOSYS. Some functions are actually named
20074 something starting with __ and the normal name is an alias. */
20075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20083 if { (eval echo configure
:20084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20085 eval "ac_cv_func_$ac_func=yes"
20087 echo "configure: failed program was:" >&5
20088 cat conftest.
$ac_ext >&5
20090 eval "ac_cv_func_$ac_func=no"
20095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20096 echo "$ac_t""yes" 1>&6
20097 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20098 cat >> confdefs.h
<<EOF
20099 #define $ac_tr_func 1
20103 echo "$ac_t""no" 1>&6
20108 if test "$ac_cv_func_gettimeofday" = "yes"; then
20109 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20110 echo "configure:20111: checking whether gettimeofday takes two arguments" >&5
20111 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20112 echo $ac_n "(cached) $ac_c" 1>&6
20117 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20118 ac_cpp
='$CXXCPP $CPPFLAGS'
20119 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20120 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20121 cross_compiling
=$ac_cv_prog_cxx_cross
20124 cat > conftest.
$ac_ext <<EOF
20125 #line 20126 "configure"
20126 #include "confdefs.h"
20128 #include <sys/time.h>
20129 #include <unistd.h>
20134 gettimeofday(&tv, NULL);
20138 if { (eval echo configure
:20139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20140 wx_cv_func_gettimeofday_has_2_args
=yes
20142 echo "configure: failed program was:" >&5
20143 cat conftest.
$ac_ext >&5
20145 cat > conftest.
$ac_ext <<EOF
20146 #line 20147 "configure"
20147 #include "confdefs.h"
20149 #include <sys/time.h>
20150 #include <unistd.h>
20159 if { (eval echo configure
:20160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20161 wx_cv_func_gettimeofday_has_2_args
=no
20163 echo "configure: failed program was:" >&5
20164 cat conftest.
$ac_ext >&5
20167 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20168 wx_cv_func_gettimeofday_has_2_args
=unknown
20177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20178 ac_cpp
='$CPP $CPPFLAGS'
20179 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20180 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20181 cross_compiling
=$ac_cv_prog_cc_cross
20186 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20188 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20189 cat >> confdefs.h
<<\EOF
20190 #define WX_GETTIMEOFDAY_NO_TZ 1
20196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20200 if test "$wxUSE_SOCKETS" = "yes"; then
20201 if test "$wxUSE_MGL" = "1"; then
20202 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20207 if test "$wxUSE_SOCKETS" = "yes"; then
20208 if test "$TOOLKIT" != "MSW"; then
20209 echo $ac_n "checking for socket""... $ac_c" 1>&6
20210 echo "configure:20211: checking for socket" >&5
20211 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20212 echo $ac_n "(cached) $ac_c" 1>&6
20214 cat > conftest.
$ac_ext <<EOF
20215 #line 20216 "configure"
20216 #include "confdefs.h"
20217 /* System header to define __stub macros and hopefully few prototypes,
20218 which can conflict with char socket(); below. */
20219 #include <assert.h>
20220 /* Override any gcc2 internal prototype to avoid an error. */
20221 /* We use char because int might match the return type of a gcc2
20222 builtin and then its argument prototype would still apply. */
20227 /* The GNU C library defines this for functions which it implements
20228 to always fail with ENOSYS. Some functions are actually named
20229 something starting with __ and the normal name is an alias. */
20230 #if defined (__stub_socket) || defined (__stub___socket)
20238 if { (eval echo configure
:20239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20240 eval "ac_cv_func_socket=yes"
20242 echo "configure: failed program was:" >&5
20243 cat conftest.
$ac_ext >&5
20245 eval "ac_cv_func_socket=no"
20250 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20251 echo "$ac_t""yes" 1>&6
20254 echo "$ac_t""no" 1>&6
20255 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20256 echo "configure:20257: checking for socket in -lsocket" >&5
20257 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20259 echo $ac_n "(cached) $ac_c" 1>&6
20261 ac_save_LIBS
="$LIBS"
20262 LIBS
="-lsocket $LIBS"
20263 cat > conftest.
$ac_ext <<EOF
20264 #line 20265 "configure"
20265 #include "confdefs.h"
20266 /* Override any gcc2 internal prototype to avoid an error. */
20267 /* We use char because int might match the return type of a gcc2
20268 builtin and then its argument prototype would still apply. */
20275 if { (eval echo configure
:20276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20277 eval "ac_cv_lib_$ac_lib_var=yes"
20279 echo "configure: failed program was:" >&5
20280 cat conftest.
$ac_ext >&5
20282 eval "ac_cv_lib_$ac_lib_var=no"
20285 LIBS
="$ac_save_LIBS"
20288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20289 echo "$ac_t""yes" 1>&6
20290 if test "$INET_LINK" != " -lsocket"; then
20291 INET_LINK
="$INET_LINK -lsocket"
20294 echo "$ac_t""no" 1>&6
20296 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20308 if test "$wxUSE_SOCKETS" = "yes" ; then
20309 if test "$TOOLKIT" != "MSW"; then
20310 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20311 echo "configure:20312: checking what is the type of the third argument of getsockname" >&5
20312 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20313 echo $ac_n "(cached) $ac_c" 1>&6
20318 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20319 ac_cpp
='$CXXCPP $CPPFLAGS'
20320 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20321 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20322 cross_compiling
=$ac_cv_prog_cxx_cross
20325 cat > conftest.
$ac_ext <<EOF
20326 #line 20327 "configure"
20327 #include "confdefs.h"
20329 #include <sys/types.h>
20330 #include <sys/socket.h>
20335 getsockname(0, 0, &len);
20339 if { (eval echo configure
:20340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20341 wx_cv_type_getsockname3
=socklen_t
20343 echo "configure: failed program was:" >&5
20344 cat conftest.
$ac_ext >&5
20346 cat > conftest.
$ac_ext <<EOF
20347 #line 20348 "configure"
20348 #include "confdefs.h"
20350 #include <sys/types.h>
20351 #include <sys/socket.h>
20356 getsockname(0, 0, &len);
20360 if { (eval echo configure
:20361: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20362 wx_cv_type_getsockname3
=size_t
20364 echo "configure: failed program was:" >&5
20365 cat conftest.
$ac_ext >&5
20367 cat > conftest.
$ac_ext <<EOF
20368 #line 20369 "configure"
20369 #include "confdefs.h"
20371 #include <sys/types.h>
20372 #include <sys/socket.h>
20377 getsockname(0, 0, &len);
20381 if { (eval echo configure
:20382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20383 wx_cv_type_getsockname3
=int
20385 echo "configure: failed program was:" >&5
20386 cat conftest.
$ac_ext >&5
20388 wx_cv_type_getsockname3
=unknown
20400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20401 ac_cpp
='$CPP $CPPFLAGS'
20402 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20403 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20404 cross_compiling
=$ac_cv_prog_cc_cross
20409 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20411 if test "$wx_cv_type_getsockname3" = "unknown"; then
20413 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20415 cat >> confdefs.h
<<EOF
20416 #define SOCKLEN_T $wx_cv_type_getsockname3
20423 if test "$wxUSE_SOCKETS" = "yes" ; then
20424 cat >> confdefs.h
<<\EOF
20425 #define wxUSE_SOCKETS 1
20428 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20432 if test "$wxUSE_GUI" = "yes"; then
20434 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20435 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20438 if test "$TOOLKIT" = "MOTIF"; then
20439 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20442 if test "$TOOLKIT" = "X11"; then
20443 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20447 if test "$TOOLKIT" != "MSW"; then
20448 if test "$wxUSE_JOYSTICK" = "yes"; then
20449 for ac_hdr
in linux
/joystick.h
20451 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20452 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20453 echo "configure:20454: checking for $ac_hdr" >&5
20454 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20455 echo $ac_n "(cached) $ac_c" 1>&6
20457 cat > conftest.
$ac_ext <<EOF
20458 #line 20459 "configure"
20459 #include "confdefs.h"
20462 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20463 { (eval echo configure
:20464: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20464 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20465 if test -z "$ac_err"; then
20467 eval "ac_cv_header_$ac_safe=yes"
20470 echo "configure: failed program was:" >&5
20471 cat conftest.
$ac_ext >&5
20473 eval "ac_cv_header_$ac_safe=no"
20477 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20478 echo "$ac_t""yes" 1>&6
20479 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20480 cat >> confdefs.h
<<EOF
20481 #define $ac_tr_hdr 1
20485 echo "$ac_t""no" 1>&6
20489 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20491 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20496 if test "$wxUSE_JOYSTICK" = "yes"; then
20497 cat >> confdefs.h
<<\EOF
20498 #define wxUSE_JOYSTICK 1
20501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20506 if test "$TOOLKIT" != "MSW"; then
20510 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20511 if test "$USE_DARWIN" = 1; then
20514 for ac_func
in dlopen
20516 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20517 echo "configure:20518: checking for $ac_func" >&5
20518 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20519 echo $ac_n "(cached) $ac_c" 1>&6
20521 cat > conftest.
$ac_ext <<EOF
20522 #line 20523 "configure"
20523 #include "confdefs.h"
20524 /* System header to define __stub macros and hopefully few prototypes,
20525 which can conflict with char $ac_func(); below. */
20526 #include <assert.h>
20527 /* Override any gcc2 internal prototype to avoid an error. */
20528 /* We use char because int might match the return type of a gcc2
20529 builtin and then its argument prototype would still apply. */
20534 /* The GNU C library defines this for functions which it implements
20535 to always fail with ENOSYS. Some functions are actually named
20536 something starting with __ and the normal name is an alias. */
20537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20545 if { (eval echo configure
:20546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20547 eval "ac_cv_func_$ac_func=yes"
20549 echo "configure: failed program was:" >&5
20550 cat conftest.
$ac_ext >&5
20552 eval "ac_cv_func_$ac_func=no"
20557 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20558 echo "$ac_t""yes" 1>&6
20559 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20560 cat >> confdefs.h
<<EOF
20561 #define $ac_tr_func 1
20564 cat >> confdefs.h
<<\EOF
20565 #define HAVE_DLOPEN 1
20571 echo "$ac_t""no" 1>&6
20572 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20573 echo "configure:20574: checking for dlopen in -ldl" >&5
20574 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20575 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20576 echo $ac_n "(cached) $ac_c" 1>&6
20578 ac_save_LIBS
="$LIBS"
20580 cat > conftest.
$ac_ext <<EOF
20581 #line 20582 "configure"
20582 #include "confdefs.h"
20583 /* Override any gcc2 internal prototype to avoid an error. */
20584 /* We use char because int might match the return type of a gcc2
20585 builtin and then its argument prototype would still apply. */
20592 if { (eval echo configure
:20593: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20594 eval "ac_cv_lib_$ac_lib_var=yes"
20596 echo "configure: failed program was:" >&5
20597 cat conftest.
$ac_ext >&5
20599 eval "ac_cv_lib_$ac_lib_var=no"
20602 LIBS
="$ac_save_LIBS"
20605 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20606 echo "$ac_t""yes" 1>&6
20608 cat >> confdefs.h
<<\EOF
20609 #define HAVE_DLOPEN 1
20613 DL_LINK
=" -ldl$DL_LINK"
20616 echo "$ac_t""no" 1>&6
20618 for ac_func
in shl_load
20620 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20621 echo "configure:20622: checking for $ac_func" >&5
20622 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20623 echo $ac_n "(cached) $ac_c" 1>&6
20625 cat > conftest.
$ac_ext <<EOF
20626 #line 20627 "configure"
20627 #include "confdefs.h"
20628 /* System header to define __stub macros and hopefully few prototypes,
20629 which can conflict with char $ac_func(); below. */
20630 #include <assert.h>
20631 /* Override any gcc2 internal prototype to avoid an error. */
20632 /* We use char because int might match the return type of a gcc2
20633 builtin and then its argument prototype would still apply. */
20638 /* The GNU C library defines this for functions which it implements
20639 to always fail with ENOSYS. Some functions are actually named
20640 something starting with __ and the normal name is an alias. */
20641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20649 if { (eval echo configure
:20650: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20651 eval "ac_cv_func_$ac_func=yes"
20653 echo "configure: failed program was:" >&5
20654 cat conftest.
$ac_ext >&5
20656 eval "ac_cv_func_$ac_func=no"
20661 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20662 echo "$ac_t""yes" 1>&6
20663 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20664 cat >> confdefs.h
<<EOF
20665 #define $ac_tr_func 1
20668 cat >> confdefs.h
<<\EOF
20669 #define HAVE_SHL_LOAD 1
20675 echo "$ac_t""no" 1>&6
20676 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20677 echo "configure:20678: checking for dld in -lshl_load" >&5
20678 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20680 echo $ac_n "(cached) $ac_c" 1>&6
20682 ac_save_LIBS
="$LIBS"
20683 LIBS
="-lshl_load $LIBS"
20684 cat > conftest.
$ac_ext <<EOF
20685 #line 20686 "configure"
20686 #include "confdefs.h"
20687 /* Override any gcc2 internal prototype to avoid an error. */
20688 /* We use char because int might match the return type of a gcc2
20689 builtin and then its argument prototype would still apply. */
20696 if { (eval echo configure
:20697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20698 eval "ac_cv_lib_$ac_lib_var=yes"
20700 echo "configure: failed program was:" >&5
20701 cat conftest.
$ac_ext >&5
20703 eval "ac_cv_lib_$ac_lib_var=no"
20706 LIBS
="$ac_save_LIBS"
20709 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20710 echo "$ac_t""yes" 1>&6
20713 DL_LINK
=" -ldld$DL_LINK"
20716 echo "$ac_t""no" 1>&6
20731 if test "$HAVE_DL_FUNCS" = 1; then
20732 for ac_func
in dlerror
20734 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20735 echo "configure:20736: checking for $ac_func" >&5
20736 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20737 echo $ac_n "(cached) $ac_c" 1>&6
20739 cat > conftest.
$ac_ext <<EOF
20740 #line 20741 "configure"
20741 #include "confdefs.h"
20742 /* System header to define __stub macros and hopefully few prototypes,
20743 which can conflict with char $ac_func(); below. */
20744 #include <assert.h>
20745 /* Override any gcc2 internal prototype to avoid an error. */
20746 /* We use char because int might match the return type of a gcc2
20747 builtin and then its argument prototype would still apply. */
20752 /* The GNU C library defines this for functions which it implements
20753 to always fail with ENOSYS. Some functions are actually named
20754 something starting with __ and the normal name is an alias. */
20755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20763 if { (eval echo configure
:20764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20765 eval "ac_cv_func_$ac_func=yes"
20767 echo "configure: failed program was:" >&5
20768 cat conftest.
$ac_ext >&5
20770 eval "ac_cv_func_$ac_func=no"
20775 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20776 echo "$ac_t""yes" 1>&6
20777 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20778 cat >> confdefs.h
<<EOF
20779 #define $ac_tr_func 1
20781 cat >> confdefs.h
<<\EOF
20782 #define HAVE_DLERROR 1
20786 echo "$ac_t""no" 1>&6
20787 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20788 echo "configure:20789: checking for dlerror in -ldl" >&5
20789 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20791 echo $ac_n "(cached) $ac_c" 1>&6
20793 ac_save_LIBS
="$LIBS"
20795 cat > conftest.
$ac_ext <<EOF
20796 #line 20797 "configure"
20797 #include "confdefs.h"
20798 /* Override any gcc2 internal prototype to avoid an error. */
20799 /* We use char because int might match the return type of a gcc2
20800 builtin and then its argument prototype would still apply. */
20807 if { (eval echo configure
:20808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20809 eval "ac_cv_lib_$ac_lib_var=yes"
20811 echo "configure: failed program was:" >&5
20812 cat conftest.
$ac_ext >&5
20814 eval "ac_cv_lib_$ac_lib_var=no"
20817 LIBS
="$ac_save_LIBS"
20820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20821 echo "$ac_t""yes" 1>&6
20822 cat >> confdefs.h
<<\EOF
20823 #define HAVE_DLERROR 1
20827 echo "$ac_t""no" 1>&6
20836 if test "$HAVE_DL_FUNCS" = 0; then
20837 if test "$HAVE_SHL_FUNCS" = 0; then
20838 if test "$USE_UNIX" = 1; then
20839 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20840 wxUSE_DYNAMIC_LOADER
=no
20841 wxUSE_DYNLIB_CLASS
=no
20843 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20850 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20851 cat >> confdefs.h
<<\EOF
20852 #define wxUSE_DYNAMIC_LOADER 1
20855 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20856 cat >> confdefs.h
<<\EOF
20857 #define wxUSE_DYNLIB_CLASS 1
20863 if test "$wxUSE_FONTMAP" = "yes" ; then
20864 cat >> confdefs.h
<<\EOF
20865 #define wxUSE_FONTMAP 1
20870 if test "$wxUSE_UNICODE" = "yes" ; then
20871 cat >> confdefs.h
<<\EOF
20872 #define wxUSE_UNICODE 1
20876 if test "$wxUSE_MSW" != 1; then
20877 wxUSE_UNICODE_MSLU
=no
20880 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20881 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20882 echo "configure:20883: checking for main in -lunicows" >&5
20883 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20884 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20885 echo $ac_n "(cached) $ac_c" 1>&6
20887 ac_save_LIBS
="$LIBS"
20888 LIBS
="-lunicows $LIBS"
20889 cat > conftest.
$ac_ext <<EOF
20890 #line 20891 "configure"
20891 #include "confdefs.h"
20897 if { (eval echo configure
:20898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20899 eval "ac_cv_lib_$ac_lib_var=yes"
20901 echo "configure: failed program was:" >&5
20902 cat conftest.
$ac_ext >&5
20904 eval "ac_cv_lib_$ac_lib_var=no"
20907 LIBS
="$ac_save_LIBS"
20910 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20911 echo "$ac_t""yes" 1>&6
20913 cat >> confdefs.h
<<\EOF
20914 #define wxUSE_UNICODE_MSLU 1
20919 echo "$ac_t""no" 1>&6
20921 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20922 Applications will only run on Windows NT/2000/XP!" 1>&2
20923 wxUSE_UNICODE_MSLU
=no
20930 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20931 cat >> confdefs.h
<<\EOF
20932 #define wxUSE_EXPERIMENTAL_PRINTF 1
20940 if test "$wxUSE_ODBC" = "yes" ; then
20941 cat >> confdefs.h
<<\EOF
20942 #define wxUSE_ODBC 1
20945 WXODBCFLAG
="-D_IODBC_"
20946 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20950 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20951 cat >> confdefs.h
<<\EOF
20952 #define wxUSE_POSTSCRIPT 1
20957 cat >> confdefs.h
<<\EOF
20958 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20962 cat >> confdefs.h
<<\EOF
20963 #define wxUSE_NORMALIZED_PS_FONTS 1
20968 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20969 cat >> confdefs.h
<<\EOF
20970 #define wxUSE_CONSTRAINTS 1
20973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20976 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20979 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20980 cat >> confdefs.h
<<\EOF
20981 #define wxUSE_MDI_ARCHITECTURE 1
20984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20988 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20989 cat >> confdefs.h
<<\EOF
20990 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20994 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20995 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
20999 if test "$wxUSE_HELP" = "yes"; then
21000 cat >> confdefs.h
<<\EOF
21001 #define wxUSE_HELP 1
21004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21006 if test "$wxUSE_MSW" = 1; then
21007 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21008 cat >> confdefs.h
<<\EOF
21009 #define wxUSE_MS_HTML_HELP 1
21015 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21016 if test "$wxUSE_HTML" = "yes"; then
21017 cat >> confdefs.h
<<\EOF
21018 #define wxUSE_WXHTML_HELP 1
21022 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21023 wxUSE_WXHTML_HELP
=no
21028 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21029 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21030 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21032 cat >> confdefs.h
<<\EOF
21033 #define wxUSE_PRINTING_ARCHITECTURE 1
21037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21040 if test "$wxUSE_PROLOGIO" = "yes" ; then
21041 cat >> confdefs.h
<<\EOF
21042 #define wxUSE_PROLOGIO 1
21045 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21048 if test "$wxUSE_RESOURCES" = "yes" ; then
21049 if test "$wxUSE_NANOX" = "yes"; then
21050 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
21052 cat >> confdefs.h
<<\EOF
21053 #define wxUSE_RESOURCES 1
21056 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
21058 if test "$wxUSE_PROLOGIO" != "yes" ; then
21059 ALL_OBJECTS
="$ALL_OBJECTS parser.o"
21063 if test "$wxUSE_X_RESOURCES" = "yes"; then
21064 cat >> confdefs.h
<<\EOF
21065 #define wxUSE_X_RESOURCES 1
21071 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21072 -o "$wxUSE_CLIPBOARD" = "yes" \
21073 -o "$wxUSE_OLE" = "yes" \
21074 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21075 for ac_hdr
in ole2.h
21077 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21078 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21079 echo "configure:21080: checking for $ac_hdr" >&5
21080 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21081 echo $ac_n "(cached) $ac_c" 1>&6
21083 cat > conftest.
$ac_ext <<EOF
21084 #line 21085 "configure"
21085 #include "confdefs.h"
21088 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21089 { (eval echo configure
:21090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21090 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21091 if test -z "$ac_err"; then
21093 eval "ac_cv_header_$ac_safe=yes"
21096 echo "configure: failed program was:" >&5
21097 cat conftest.
$ac_ext >&5
21099 eval "ac_cv_header_$ac_safe=no"
21103 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21104 echo "$ac_t""yes" 1>&6
21105 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21106 cat >> confdefs.h
<<EOF
21107 #define $ac_tr_hdr 1
21111 echo "$ac_t""no" 1>&6
21116 if test "$ac_cv_header_ole2_h" = "yes" ; then
21117 if test "$GCC" = yes ; then
21120 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21121 ac_cpp
='$CXXCPP $CPPFLAGS'
21122 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21123 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21124 cross_compiling
=$ac_cv_prog_cxx_cross
21127 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21128 echo "configure:21129: checking if g++ requires -fvtable-thunks" >&5
21129 cat > conftest.
$ac_ext <<EOF
21130 #line 21131 "configure"
21131 #include "confdefs.h"
21132 #include <windows.h>
21138 if { (eval echo configure
:21139: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21140 echo "$ac_t""no" 1>&6
21142 echo "configure: failed program was:" >&5
21143 cat conftest.
$ac_ext >&5
21145 echo "$ac_t""yes" 1>&6
21146 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21150 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21151 ac_cpp
='$CPP $CPPFLAGS'
21152 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21153 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21154 cross_compiling
=$ac_cv_prog_cc_cross
21156 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21157 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21158 cat >> confdefs.h
<<\EOF
21159 #define wxUSE_OLE 1
21165 cat >> confdefs.h
<<\EOF
21166 #define wxUSE_DATAOBJ 1
21170 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21173 wxUSE_DRAG_AND_DROP
=no
21178 if test "$wxUSE_METAFILE" = "yes"; then
21179 cat >> confdefs.h
<<\EOF
21180 #define wxUSE_METAFILE 1
21184 cat >> confdefs.h
<<\EOF
21185 #define wxUSE_ENH_METAFILE 1
21191 if test "$wxUSE_IPC" = "yes"; then
21192 if test "$wxUSE_SOCKETS" != "yes"; then
21193 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21196 cat >> confdefs.h
<<\EOF
21197 #define wxUSE_IPC 1
21202 if test "$wxUSE_CLIPBOARD" = "yes"; then
21203 if test "$wxUSE_MGL" = 1; then
21204 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21208 if test "$wxUSE_CLIPBOARD" = "yes"; then
21209 cat >> confdefs.h
<<\EOF
21210 #define wxUSE_CLIPBOARD 1
21214 cat >> confdefs.h
<<\EOF
21215 #define wxUSE_DATAOBJ 1
21221 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21222 if test "$wxUSE_GTK" = 1; then
21223 if test "$WXGTK12" != 1; then
21224 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21225 wxUSE_DRAG_AND_DROP
=no
21229 if test "$wxUSE_MOTIF" = 1; then
21230 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21231 wxUSE_DRAG_AND_DROP
=no
21234 if test "$wxUSE_X11" = 1; then
21235 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21236 wxUSE_DRAG_AND_DROP
=no
21239 if test "$wxUSE_MGL" = 1; then
21240 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21241 wxUSE_DRAG_AND_DROP
=no
21244 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21245 cat >> confdefs.h
<<\EOF
21246 #define wxUSE_DRAG_AND_DROP 1
21249 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21254 if test "$wxUSE_SPLINES" = "yes" ; then
21255 cat >> confdefs.h
<<\EOF
21256 #define wxUSE_SPLINES 1
21263 if test "$wxUSE_CONTROLS" = "yes"; then
21267 if test "$wxUSE_ACCEL" = "yes"; then
21268 cat >> confdefs.h
<<\EOF
21269 #define wxUSE_ACCEL 1
21275 if test "$wxUSE_BUTTON" = "yes"; then
21276 cat >> confdefs.h
<<\EOF
21277 #define wxUSE_BUTTON 1
21283 if test "$wxUSE_BMPBUTTON" = "yes"; then
21284 cat >> confdefs.h
<<\EOF
21285 #define wxUSE_BMPBUTTON 1
21291 if test "$wxUSE_CALCTRL" = "yes"; then
21292 cat >> confdefs.h
<<\EOF
21293 #define wxUSE_CALENDARCTRL 1
21297 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21300 if test "$wxUSE_CARET" = "yes"; then
21301 cat >> confdefs.h
<<\EOF
21302 #define wxUSE_CARET 1
21306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21309 if test "$wxUSE_COMBOBOX" = "yes"; then
21310 cat >> confdefs.h
<<\EOF
21311 #define wxUSE_COMBOBOX 1
21317 if test "$wxUSE_CHOICE" = "yes"; then
21318 cat >> confdefs.h
<<\EOF
21319 #define wxUSE_CHOICE 1
21325 if test "$wxUSE_CHECKBOX" = "yes"; then
21326 cat >> confdefs.h
<<\EOF
21327 #define wxUSE_CHECKBOX 1
21333 if test "$wxUSE_CHECKLST" = "yes"; then
21334 cat >> confdefs.h
<<\EOF
21335 #define wxUSE_CHECKLISTBOX 1
21339 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21342 if test "$wxUSE_DISPLAY" = "yes"; then
21343 cat >> confdefs.h
<<\EOF
21344 #define wxUSE_DISPLAY 1
21347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21350 if test "$wxUSE_GAUGE" = "yes"; then
21351 cat >> confdefs.h
<<\EOF
21352 #define wxUSE_GAUGE 1
21358 if test "$wxUSE_GRID" = "yes"; then
21359 cat >> confdefs.h
<<\EOF
21360 #define wxUSE_GRID 1
21364 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21367 if test "$wxUSE_IMAGLIST" = "yes"; then
21368 cat >> confdefs.h
<<\EOF
21369 #define wxUSE_IMAGLIST 1
21374 if test "$wxUSE_LISTBOX" = "yes"; then
21375 cat >> confdefs.h
<<\EOF
21376 #define wxUSE_LISTBOX 1
21382 if test "$wxUSE_LISTCTRL" = "yes"; then
21383 if test "$wxUSE_IMAGLIST" = "yes"; then
21384 cat >> confdefs.h
<<\EOF
21385 #define wxUSE_LISTCTRL 1
21389 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21391 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21395 if test "$wxUSE_NOTEBOOK" = "yes"; then
21396 cat >> confdefs.h
<<\EOF
21397 #define wxUSE_NOTEBOOK 1
21401 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21404 if test "$wxUSE_PROPSHEET" = "yes"; then
21405 cat >> confdefs.h
<<\EOF
21406 #define wxUSE_PROPSHEET 1
21410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
21413 if test "$wxUSE_RADIOBOX" = "yes"; then
21414 cat >> confdefs.h
<<\EOF
21415 #define wxUSE_RADIOBOX 1
21421 if test "$wxUSE_RADIOBTN" = "yes"; then
21422 cat >> confdefs.h
<<\EOF
21423 #define wxUSE_RADIOBTN 1
21429 if test "$wxUSE_SASH" = "yes"; then
21430 cat >> confdefs.h
<<\EOF
21431 #define wxUSE_SASH 1
21434 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21437 if test "$wxUSE_SCROLLBAR" = "yes"; then
21438 cat >> confdefs.h
<<\EOF
21439 #define wxUSE_SCROLLBAR 1
21443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21446 if test "$wxUSE_SLIDER" = "yes"; then
21447 cat >> confdefs.h
<<\EOF
21448 #define wxUSE_SLIDER 1
21454 if test "$wxUSE_SPINBTN" = "yes"; then
21455 cat >> confdefs.h
<<\EOF
21456 #define wxUSE_SPINBTN 1
21462 if test "$wxUSE_SPINCTRL" = "yes"; then
21463 cat >> confdefs.h
<<\EOF
21464 #define wxUSE_SPINCTRL 1
21470 if test "$wxUSE_SPLITTER" = "yes"; then
21471 cat >> confdefs.h
<<\EOF
21472 #define wxUSE_SPLITTER 1
21475 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21478 if test "$wxUSE_STATBMP" = "yes"; then
21479 cat >> confdefs.h
<<\EOF
21480 #define wxUSE_STATBMP 1
21486 if test "$wxUSE_STATBOX" = "yes"; then
21487 cat >> confdefs.h
<<\EOF
21488 #define wxUSE_STATBOX 1
21494 if test "$wxUSE_STATTEXT" = "yes"; then
21495 cat >> confdefs.h
<<\EOF
21496 #define wxUSE_STATTEXT 1
21502 if test "$wxUSE_STATLINE" = "yes"; then
21503 cat >> confdefs.h
<<\EOF
21504 #define wxUSE_STATLINE 1
21510 if test "$wxUSE_STATUSBAR" = "yes"; then
21511 cat >> confdefs.h
<<\EOF
21512 #define wxUSE_STATUSBAR 1
21517 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21520 if test "$wxUSE_TABDIALOG" = "yes"; then
21521 cat >> confdefs.h
<<\EOF
21522 #define wxUSE_TAB_DIALOG 1
21525 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21528 if test "$wxUSE_TEXTCTRL" = "yes"; then
21529 cat >> confdefs.h
<<\EOF
21530 #define wxUSE_TEXTCTRL 1
21534 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21537 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21538 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21539 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21542 if test "$wxUSE_UNIVERSAL" = "yes"; then
21543 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21547 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21548 cat >> confdefs.h
<<\EOF
21549 #define wxUSE_TOGGLEBTN 1
21556 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21557 cat >> confdefs.h
<<\EOF
21558 #define wxUSE_TOOLBAR_SIMPLE 1
21561 wxUSE_TOOLBAR
="yes"
21565 if test "$wxUSE_TOOLBAR" = "yes"; then
21566 cat >> confdefs.h
<<\EOF
21567 #define wxUSE_TOOLBAR 1
21572 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21573 wxUSE_TOOLBAR_NATIVE
="yes"
21576 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21577 cat >> confdefs.h
<<\EOF
21578 #define wxUSE_TOOLBAR_NATIVE 1
21584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21587 if test "$wxUSE_TOOLTIPS" = "yes"; then
21588 if test "$wxUSE_MOTIF" = 1; then
21589 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21591 if test "$wxUSE_UNIVERSAL" = "yes"; then
21592 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21594 cat >> confdefs.h
<<\EOF
21595 #define wxUSE_TOOLTIPS 1
21602 if test "$wxUSE_TREECTRL" = "yes"; then
21603 if test "$wxUSE_IMAGLIST" = "yes"; then
21604 cat >> confdefs.h
<<\EOF
21605 #define wxUSE_TREECTRL 1
21609 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21611 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21615 if test "$wxUSE_POPUPWIN" = "yes"; then
21616 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21617 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21619 if test "$wxUSE_MOTIF" = 1; then
21620 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21622 if test "$wxUSE_PM" = 1; then
21623 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21625 cat >> confdefs.h
<<\EOF
21626 #define wxUSE_POPUPWIN 1
21636 if test "$wxUSE_TIPWINDOW" = "yes"; then
21637 if test "$wxUSE_PM" = 1; then
21638 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21640 cat >> confdefs.h
<<\EOF
21641 #define wxUSE_TIPWINDOW 1
21647 if test "$USES_CONTROLS" = 1; then
21648 cat >> confdefs.h
<<\EOF
21649 #define wxUSE_CONTROLS 1
21655 if test "$wxUSE_TREELAYOUT" = "yes"; then
21656 cat >> confdefs.h
<<\EOF
21657 #define wxUSE_TREELAYOUT 1
21660 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
21663 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21664 cat >> confdefs.h
<<\EOF
21665 #define wxUSE_DRAGIMAGE 1
21668 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21671 if test "$wxUSE_MENUS" = "yes"; then
21672 cat >> confdefs.h
<<\EOF
21673 #define wxUSE_MENUS 1
21676 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21679 if test "$wxUSE_METAFILE" = "yes"; then
21680 cat >> confdefs.h
<<\EOF
21681 #define wxUSE_METAFILE 1
21686 if test "$wxUSE_MIMETYPE" = "yes"; then
21687 cat >> confdefs.h
<<\EOF
21688 #define wxUSE_MIMETYPE 1
21693 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21694 cat >> confdefs.h
<<\EOF
21695 #define wxUSE_SYSTEM_OPTIONS 1
21698 if test "$TOOLKIT" = "MSW"; then
21699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21704 if test "$wxUSE_PROTOCOL" = "yes"; then
21705 if test "$wxUSE_SOCKETS" != "yes"; then
21706 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21710 if test "$wxUSE_PROTOCOL" = "yes"; then
21711 cat >> confdefs.h
<<\EOF
21712 #define wxUSE_PROTOCOL 1
21716 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21717 cat >> confdefs.h
<<\EOF
21718 #define wxUSE_PROTOCOL_HTTP 1
21722 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21723 cat >> confdefs.h
<<\EOF
21724 #define wxUSE_PROTOCOL_FTP 1
21728 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21729 cat >> confdefs.h
<<\EOF
21730 #define wxUSE_PROTOCOL_FILE 1
21737 if test "$wxUSE_URL" = "yes"; then
21738 if test "$wxUSE_PROTOCOL" != "yes"; then
21739 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21742 if test "$wxUSE_URL" = "yes"; then
21743 cat >> confdefs.h
<<\EOF
21744 #define wxUSE_URL 1
21750 if test "$wxUSE_MINIFRAME" = "yes"; then
21751 cat >> confdefs.h
<<\EOF
21752 #define wxUSE_MINIFRAME 1
21755 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21758 if test "$wxUSE_HTML" = "yes"; then
21759 cat >> confdefs.h
<<\EOF
21760 #define wxUSE_HTML 1
21763 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21766 if test "$wxUSE_VALIDATORS" = "yes"; then
21767 cat >> confdefs.h
<<\EOF
21768 #define wxUSE_VALIDATORS 1
21771 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21774 if test "$wxUSE_PALETTE" = "yes" ; then
21775 cat >> confdefs.h
<<\EOF
21776 #define wxUSE_PALETTE 1
21781 if test "$wxUSE_IMAGE" = "yes" ; then
21782 cat >> confdefs.h
<<\EOF
21783 #define wxUSE_IMAGE 1
21788 if test "$wxUSE_GIF" = "yes" ; then
21789 cat >> confdefs.h
<<\EOF
21790 #define wxUSE_GIF 1
21795 if test "$wxUSE_PCX" = "yes" ; then
21796 cat >> confdefs.h
<<\EOF
21797 #define wxUSE_PCX 1
21802 if test "$wxUSE_IFF" = "yes" ; then
21803 cat >> confdefs.h
<<\EOF
21804 #define wxUSE_IFF 1
21809 if test "$wxUSE_PNM" = "yes" ; then
21810 cat >> confdefs.h
<<\EOF
21811 #define wxUSE_PNM 1
21816 if test "$wxUSE_XPM" = "yes" ; then
21817 cat >> confdefs.h
<<\EOF
21818 #define wxUSE_XPM 1
21823 if test "$wxUSE_ICO_CUR" = "yes" ; then
21824 cat >> confdefs.h
<<\EOF
21825 #define wxUSE_ICO_CUR 1
21830 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21831 LIBS
=" -lunicows $LIBS"
21835 if test "$wxUSE_CHOICEDLG" = "yes"; then
21836 cat >> confdefs.h
<<\EOF
21837 #define wxUSE_CHOICEDLG 1
21842 if test "$wxUSE_COLOURDLG" = "yes"; then
21843 cat >> confdefs.h
<<\EOF
21844 #define wxUSE_COLOURDLG 1
21849 if test "$wxUSE_FILEDLG" = "yes"; then
21850 cat >> confdefs.h
<<\EOF
21851 #define wxUSE_FILEDLG 1
21856 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21857 cat >> confdefs.h
<<\EOF
21858 #define wxUSE_FINDREPLDLG 1
21863 if test "$wxUSE_FONTDLG" = "yes"; then
21864 cat >> confdefs.h
<<\EOF
21865 #define wxUSE_FONTDLG 1
21870 if test "$wxUSE_DIRDLG" = "yes"; then
21871 if test "$wxUSE_TREECTRL" != "yes"; then
21872 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21874 cat >> confdefs.h
<<\EOF
21875 #define wxUSE_DIRDLG 1
21881 if test "$wxUSE_MSGDLG" = "yes"; then
21882 cat >> confdefs.h
<<\EOF
21883 #define wxUSE_MSGDLG 1
21888 if test "$wxUSE_NUMBERDLG" = "yes"; then
21889 cat >> confdefs.h
<<\EOF
21890 #define wxUSE_NUMBERDLG 1
21895 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21896 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21897 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21899 cat >> confdefs.h
<<\EOF
21900 #define wxUSE_PROGRESSDLG 1
21906 if test "$wxUSE_SPLASH" = "yes"; then
21907 cat >> confdefs.h
<<\EOF
21908 #define wxUSE_SPLASH 1
21913 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21914 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21915 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21917 cat >> confdefs.h
<<\EOF
21918 #define wxUSE_STARTUP_TIPS 1
21924 if test "$wxUSE_TEXTDLG" = "yes"; then
21925 cat >> confdefs.h
<<\EOF
21926 #define wxUSE_TEXTDLG 1
21931 if test "$wxUSE_WIZARDDLG" = "yes"; then
21932 cat >> confdefs.h
<<\EOF
21933 #define wxUSE_WIZARDDLG 1
21936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21940 if test "$cross_compiling" = "yes"; then
21943 OSINFO
=`uname -s -r -m`
21944 OSINFO
="\"$OSINFO\""
21947 cat >> confdefs.h
<<EOF
21948 #define WXWIN_OS_DESCRIPTION $OSINFO
21953 if test "x$prefix" != "xNONE"; then
21956 wxPREFIX
=$ac_default_prefix
21959 cat >> confdefs.h
<<EOF
21960 #define wxINSTALL_PREFIX "$wxPREFIX"
21969 if test "$wxUSE_MAC" = 1 ; then
21970 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21972 if test "$wxUSE_COCOA" = 1 ; then
21973 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
21977 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21983 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21984 echo "configure:21985: checking for $ac_func" >&5
21985 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21986 echo $ac_n "(cached) $ac_c" 1>&6
21988 cat > conftest.
$ac_ext <<EOF
21989 #line 21990 "configure"
21990 #include "confdefs.h"
21991 /* System header to define __stub macros and hopefully few prototypes,
21992 which can conflict with char $ac_func(); below. */
21993 #include <assert.h>
21994 /* Override any gcc2 internal prototype to avoid an error. */
21995 /* We use char because int might match the return type of a gcc2
21996 builtin and then its argument prototype would still apply. */
22001 /* The GNU C library defines this for functions which it implements
22002 to always fail with ENOSYS. Some functions are actually named
22003 something starting with __ and the normal name is an alias. */
22004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22012 if { (eval echo configure
:22013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22014 eval "ac_cv_func_$ac_func=yes"
22016 echo "configure: failed program was:" >&5
22017 cat conftest.
$ac_ext >&5
22019 eval "ac_cv_func_$ac_func=no"
22024 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22025 echo "$ac_t""yes" 1>&6
22026 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22027 cat >> confdefs.h
<<EOF
22028 #define $ac_tr_func 1
22032 echo "$ac_t""no" 1>&6
22036 for ac_func
in floor
22038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22039 echo "configure:22040: checking for $ac_func" >&5
22040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22041 echo $ac_n "(cached) $ac_c" 1>&6
22043 cat > conftest.
$ac_ext <<EOF
22044 #line 22045 "configure"
22045 #include "confdefs.h"
22046 /* System header to define __stub macros and hopefully few prototypes,
22047 which can conflict with char $ac_func(); below. */
22048 #include <assert.h>
22049 /* Override any gcc2 internal prototype to avoid an error. */
22050 /* We use char because int might match the return type of a gcc2
22051 builtin and then its argument prototype would still apply. */
22056 /* The GNU C library defines this for functions which it implements
22057 to always fail with ENOSYS. Some functions are actually named
22058 something starting with __ and the normal name is an alias. */
22059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22067 if { (eval echo configure
:22068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22069 eval "ac_cv_func_$ac_func=yes"
22071 echo "configure: failed program was:" >&5
22072 cat conftest.
$ac_ext >&5
22074 eval "ac_cv_func_$ac_func=no"
22079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22080 echo "$ac_t""yes" 1>&6
22081 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22082 cat >> confdefs.h
<<EOF
22083 #define $ac_tr_func 1
22087 echo "$ac_t""no" 1>&6
22091 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22092 echo "configure:22093: checking if floating point functions link without -lm" >&5
22093 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22094 echo "$ac_t""yes" 1>&6
22096 echo "$ac_t""no" 1>&6
22098 # use different functions to avoid configure caching
22103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22104 echo "configure:22105: checking for $ac_func" >&5
22105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22106 echo $ac_n "(cached) $ac_c" 1>&6
22108 cat > conftest.
$ac_ext <<EOF
22109 #line 22110 "configure"
22110 #include "confdefs.h"
22111 /* System header to define __stub macros and hopefully few prototypes,
22112 which can conflict with char $ac_func(); below. */
22113 #include <assert.h>
22114 /* Override any gcc2 internal prototype to avoid an error. */
22115 /* We use char because int might match the return type of a gcc2
22116 builtin and then its argument prototype would still apply. */
22121 /* The GNU C library defines this for functions which it implements
22122 to always fail with ENOSYS. Some functions are actually named
22123 something starting with __ and the normal name is an alias. */
22124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22132 if { (eval echo configure
:22133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22134 eval "ac_cv_func_$ac_func=yes"
22136 echo "configure: failed program was:" >&5
22137 cat conftest.
$ac_ext >&5
22139 eval "ac_cv_func_$ac_func=no"
22144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22145 echo "$ac_t""yes" 1>&6
22146 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22147 cat >> confdefs.h
<<EOF
22148 #define $ac_tr_func 1
22152 echo "$ac_t""no" 1>&6
22156 for ac_func
in ceil
22158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22159 echo "configure:22160: checking for $ac_func" >&5
22160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22161 echo $ac_n "(cached) $ac_c" 1>&6
22163 cat > conftest.
$ac_ext <<EOF
22164 #line 22165 "configure"
22165 #include "confdefs.h"
22166 /* System header to define __stub macros and hopefully few prototypes,
22167 which can conflict with char $ac_func(); below. */
22168 #include <assert.h>
22169 /* Override any gcc2 internal prototype to avoid an error. */
22170 /* We use char because int might match the return type of a gcc2
22171 builtin and then its argument prototype would still apply. */
22176 /* The GNU C library defines this for functions which it implements
22177 to always fail with ENOSYS. Some functions are actually named
22178 something starting with __ and the normal name is an alias. */
22179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22187 if { (eval echo configure
:22188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22189 eval "ac_cv_func_$ac_func=yes"
22191 echo "configure: failed program was:" >&5
22192 cat conftest.
$ac_ext >&5
22194 eval "ac_cv_func_$ac_func=no"
22199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22200 echo "$ac_t""yes" 1>&6
22201 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22202 cat >> confdefs.h
<<EOF
22203 #define $ac_tr_func 1
22207 echo "$ac_t""no" 1>&6
22211 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22212 echo "configure:22213: checking if floating point functions link with -lm" >&5
22213 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22214 echo "$ac_t""yes" 1>&6
22216 echo "$ac_t""no" 1>&6
22217 # not sure we should warn the user, crash, etc.
22221 if test "$wxUSE_GUI" = "yes"; then
22223 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22226 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22227 drawing dynamic erase event exec font image \
22228 minimal propsize rotate shaped widgets"
22230 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22232 SAMPLES_SUBDIRS
="console"
22236 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22237 -I\${top_srcdir}/include \
22238 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22241 if test "$wxUSE_GTK" = 1; then
22244 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22247 if test "$GXX" = yes ; then
22248 CXXWARNINGS
="-Wall"
22250 if test "$wxUSE_NO_DEPS" = "no" ; then
22251 CFLAGS
="-MMD $CFLAGS"
22252 CXXFLAGS
="-MMD $CXXFLAGS"
22256 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22258 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22259 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22260 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22261 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22263 LDFLAGS
="$LDFLAGS $PROFILE"
22265 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22367 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22368 echo "configure:22369: checking whether ${MAKE-make} sets \${MAKE}" >&5
22369 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22370 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22371 echo $ac_n "(cached) $ac_c" 1>&6
22373 cat > conftestmake
<<\EOF
22375 @
echo 'ac_maketemp="${MAKE}"'
22377 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22378 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22379 if test -n "$ac_maketemp"; then
22380 eval ac_cv_prog_make_
${ac_make}_set
=yes
22382 eval ac_cv_prog_make_
${ac_make}_set
=no
22386 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22387 echo "$ac_t""yes" 1>&6
22390 echo "$ac_t""no" 1>&6
22391 SET_MAKE
="MAKE=${MAKE-make}"
22395 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22396 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22401 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22402 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22403 wx_cv_path_ifs
=$PATH_IFS
22404 wx_cv_program_ext
=$PROGRAM_EXT
22405 wx_cv_target_library
=$WX_TARGET_LIBRARY
22406 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22407 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22408 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22409 wx_cv_release
=${WX_RELEASE}
22410 wx_cv_current
=${WX_CURRENT}
22411 wx_cv_revision
=${WX_REVISION}
22412 wx_cv_age
=${WX_AGE}
22413 wx_cv_use_gui
=${USE_GUI}
22414 wx_cv_use_resources
=${wxUSE_RESOURCES}
22415 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22416 wx_cv_path_ifs wx_cv_program_ext \
22417 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22418 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22419 wx_cv_use_gui wx_cv_use_resources
22421 subdirs
="demos samples utils contrib"
22425 cat > confcache
<<\EOF
22426 # This file is a shell script that caches the results of configure
22427 # tests run on this system so they can be shared between configure
22428 # scripts and configure runs. It is not useful on other systems.
22429 # If it contains results you don't want to keep, you may remove or edit it.
22431 # By default, configure uses ./config.cache as the cache file,
22432 # creating it if it does not exist already. You can give configure
22433 # the --cache-file=FILE option to use a different cache file; that is
22434 # what configure does when it calls configure scripts in
22435 # subdirectories, so they share the cache.
22436 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22437 # config.status only pays attention to the cache file if you give it the
22438 # --recheck option to rerun configure.
22441 # The following way of writing the cache mishandles newlines in values,
22442 # but we know of no workaround that is simple, portable, and efficient.
22443 # So, don't put newlines in cache variables' values.
22444 # Ultrix sh set writes to stderr and can't be redirected directly,
22445 # and sets the high bit in the cache file unless we assign to the vars.
22447 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22449 # `set' does not quote correctly, so add quotes (double-quote substitution
22450 # turns \\\\ into \\, and sed turns \\ into \).
22452 -e "s/'/'\\\\''/g" \
22453 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22456 # `set' quotes correctly as required by POSIX, so do not add quotes.
22457 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22460 if cmp -s $cache_file confcache
; then
22463 if test -w $cache_file; then
22464 echo "updating cache $cache_file"
22465 cat confcache
> $cache_file
22467 echo "not updating unwritable cache $cache_file"
22472 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22474 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22475 # Let make expand exec_prefix.
22476 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22478 # Any assignment to VPATH causes Sun make to only execute
22479 # the first set of double-colon rules, so remove it if not needed.
22480 # If there is a colon in the path, we need to keep it.
22481 if test "x$srcdir" = x.
; then
22482 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22485 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22487 DEFS
=-DHAVE_CONFIG_H
22489 # Without the "./", some shells look in PATH for config.status.
22490 : ${CONFIG_STATUS=./config.status}
22492 echo creating
$CONFIG_STATUS
22493 rm -f $CONFIG_STATUS
22494 cat > $CONFIG_STATUS <<EOF
22496 # Generated automatically by configure.
22497 # Run this file to recreate the current configuration.
22498 # This directory was configured as follows,
22499 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22501 # $0 $ac_configure_args
22503 # Compiler output produced by configure, useful for debugging
22504 # configure, is in ./config.log if it exists.
22506 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22509 case "\$ac_option" in
22510 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22511 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22512 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22513 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22514 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22516 -help | --help | --hel | --he | --h)
22517 echo "\$ac_cs_usage"; exit 0 ;;
22518 *) echo "\$ac_cs_usage"; exit 1 ;;
22522 ac_given_srcdir=$srcdir
22523 ac_given_INSTALL="$INSTALL"
22525 trap 'rm -fr `echo "
22532 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22534 cat >> $CONFIG_STATUS <<EOF
22536 # Protect against being on the right side of a sed subst in config.status.
22537 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22538 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22542 s%@CFLAGS@%$CFLAGS%g
22543 s%@CPPFLAGS@%$CPPFLAGS%g
22544 s%@CXXFLAGS@%$CXXFLAGS%g
22545 s%@FFLAGS@%$FFLAGS%g
22547 s%@LDFLAGS@%$LDFLAGS%g
22549 s%@exec_prefix@%$exec_prefix%g
22550 s%@prefix@%$prefix%g
22551 s%@program_transform_name@%$program_transform_name%g
22552 s%@bindir@%$bindir%g
22553 s%@sbindir@%$sbindir%g
22554 s%@libexecdir@%$libexecdir%g
22555 s%@datadir@%$datadir%g
22556 s%@sysconfdir@%$sysconfdir%g
22557 s%@sharedstatedir@%$sharedstatedir%g
22558 s%@localstatedir@%$localstatedir%g
22559 s%@libdir@%$libdir%g
22560 s%@includedir@%$includedir%g
22561 s%@oldincludedir@%$oldincludedir%g
22562 s%@infodir@%$infodir%g
22563 s%@mandir@%$mandir%g
22565 s%@host_alias@%$host_alias%g
22566 s%@host_cpu@%$host_cpu%g
22567 s%@host_vendor@%$host_vendor%g
22568 s%@host_os@%$host_os%g
22569 s%@target@%$target%g
22570 s%@target_alias@%$target_alias%g
22571 s%@target_cpu@%$target_cpu%g
22572 s%@target_vendor@%$target_vendor%g
22573 s%@target_os@%$target_os%g
22575 s%@build_alias@%$build_alias%g
22576 s%@build_cpu@%$build_cpu%g
22577 s%@build_vendor@%$build_vendor%g
22578 s%@build_os@%$build_os%g
22582 s%@RANLIB@%$RANLIB%g
22584 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22585 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22586 s%@INSTALL_DATA@%$INSTALL_DATA%g
22588 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22591 s%@LEXLIB@%$LEXLIB%g
22593 s%@CXXCPP@%$CXXCPP%g
22594 s%@PKG_CONFIG@%$PKG_CONFIG%g
22595 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22596 s%@GTK_LIBS@%$GTK_LIBS%g
22597 s%@GTK_CONFIG@%$GTK_CONFIG%g
22598 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22599 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22600 s%@X_CFLAGS@%$X_CFLAGS%g
22601 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22602 s%@X_LIBS@%$X_LIBS%g
22603 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22604 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22605 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22606 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22607 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22608 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22609 s%@RESCOMP@%$RESCOMP%g
22611 s%@SETFILE@%$SETFILE%g
22612 s%@LIBICONV@%$LIBICONV%g
22613 s%@LEX_STEM@%$LEX_STEM%g
22614 s%@PATH_IFS@%$PATH_IFS%g
22615 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22616 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22617 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22618 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22619 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22620 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22621 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22622 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22623 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22624 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22625 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22626 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22627 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22628 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22629 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22630 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22631 s%@WX_ALL@%$WX_ALL%g
22632 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22633 s%@SHARED_LD@%$SHARED_LD%g
22634 s%@PIC_FLAG@%$PIC_FLAG%g
22635 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22636 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22637 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22638 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22639 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22640 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22641 s%@STATIC_FLAG@%$STATIC_FLAG%g
22642 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22643 s%@USE_GUI@%$USE_GUI%g
22644 s%@AFMINSTALL@%$AFMINSTALL%g
22645 s%@WIN32INSTALL@%$WIN32INSTALL%g
22646 s%@TOOLKIT@%$TOOLKIT%g
22647 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22648 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22649 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22650 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22651 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22652 s%@top_builddir@%$top_builddir%g
22653 s%@cross_compiling@%$cross_compiling%g
22654 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22655 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22656 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22657 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22658 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22659 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22660 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22661 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22662 s%@ALL_HEADERS@%$ALL_HEADERS%g
22663 s%@ALL_SOURCES@%$ALL_SOURCES%g
22664 s%@GUIDIST@%$GUIDIST%g
22665 s%@PORT_FILES@%$PORT_FILES%g
22666 s%@DISTDIR@%$DISTDIR%g
22667 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22668 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22669 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22670 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22671 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22672 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22673 s%@EXTRADEFS@%$EXTRADEFS%g
22674 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22675 s%@RESFLAGS@%$RESFLAGS%g
22676 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22677 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22678 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22679 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22680 s%@LIBWXMACRES@%$LIBWXMACRES%g
22681 s%@MACRESCOMP@%$MACRESCOMP%g
22682 s%@MACSETFILE@%$MACSETFILE%g
22683 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22685 s%@DLLTOOL@%$DLLTOOL%g
22689 s%@MAKEINFO@%$MAKEINFO%g
22690 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22691 s%@INSTALL_DIR@%$INSTALL_DIR%g
22692 s%@SET_MAKE@%$SET_MAKE%g
22693 s%@subdirs@%$subdirs%g
22698 cat >> $CONFIG_STATUS <<\EOF
22700 # Split the substitutions into bite-sized pieces for seds with
22701 # small command number limits, like on Digital OSF/1 and HP-UX.
22702 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22703 ac_file
=1 # Number of current file.
22704 ac_beg
=1 # First line for current file.
22705 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22708 while $ac_more_lines; do
22709 if test $ac_beg -gt 1; then
22710 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22712 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22714 if test ! -s conftest.s
$ac_file; then
22715 ac_more_lines
=false
22716 rm -f conftest.s
$ac_file
22718 if test -z "$ac_sed_cmds"; then
22719 ac_sed_cmds
="sed -f conftest.s$ac_file"
22721 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22723 ac_file
=`expr $ac_file + 1`
22725 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22728 if test -z "$ac_sed_cmds"; then
22733 cat >> $CONFIG_STATUS <<EOF
22735 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22743 cat >> $CONFIG_STATUS <<\EOF
22744 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22745 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22747 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22748 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22749 *) ac_file_in
="${ac_file}.in" ;;
22752 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22754 # Remove last slash and all that follows it. Not all systems have dirname.
22755 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22756 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22757 # The file is in a subdirectory.
22758 test ! -d "$ac_dir" && mkdir "$ac_dir"
22759 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22760 # A "../" for each directory in $ac_dir_suffix.
22761 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22763 ac_dir_suffix
= ac_dots
=
22766 case "$ac_given_srcdir" in
22768 if test -z "$ac_dots"; then top_srcdir
=.
22769 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22770 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22771 *) # Relative path.
22772 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22773 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22776 case "$ac_given_INSTALL" in
22777 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22778 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22781 echo creating
"$ac_file"
22783 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22785 *Makefile
*) ac_comsub
="1i\\
22786 # $configure_input" ;;
22790 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22792 s%@configure_input@%$configure_input%g
22793 s%@srcdir@%$srcdir%g
22794 s%@top_srcdir@%$top_srcdir%g
22795 s%@INSTALL@%$INSTALL%g
22796 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22800 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22801 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22803 # ac_d sets the value in "#define NAME VALUE" lines.
22804 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22805 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22808 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22809 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22810 ac_uB
='\([ ]\)%\1#\2define\3'
22813 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22814 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22815 ac_eB
='$%\1#\2define\3'
22819 if test "${CONFIG_HEADERS+set}" != set; then
22821 cat >> $CONFIG_STATUS <<EOF
22822 CONFIG_HEADERS="setup.h:setup.h.in"
22824 cat >> $CONFIG_STATUS <<\EOF
22826 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22827 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22829 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22830 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22831 *) ac_file_in
="${ac_file}.in" ;;
22834 echo creating
$ac_file
22836 rm -f conftest.frag conftest.
in conftest.out
22837 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22838 cat $ac_file_inputs > conftest.
in
22842 # Transform confdefs.h into a sed script conftest.vals that substitutes
22843 # the proper values into config.h.in to produce config.h. And first:
22844 # Protect against being on the right side of a sed subst in config.status.
22845 # Protect against being in an unquoted here document in config.status.
22846 rm -f conftest.vals
22847 cat > conftest.hdr
<<\EOF
22850 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22854 sed -n -f conftest.hdr confdefs.h > conftest.vals
22857 # This sed command replaces #undef with comments. This is necessary, for
22858 # example, in the case of _POSIX_SOURCE, which is predefined and required
22859 # on some systems where configure will not decide to define it.
22860 cat >> conftest.vals <<\EOF
22861 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22864 # Break up conftest.vals because some shells have a limit on
22865 # the size of here documents, and old seds have small limits too.
22867 rm -f conftest.tail
22870 ac_lines=`grep -c . conftest.vals
`
22871 # grep -c gives empty output for an empty file on some AIX systems.
22872 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22873 # Write a limited-size here document to conftest.frag.
22874 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22875 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22877 sed -f conftest.frag conftest.in > conftest.out
22879 mv conftest.out conftest.in
22880 ' >> $CONFIG_STATUS
22881 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22882 rm -f conftest.vals
22883 mv conftest.tail conftest.vals
22885 rm -f conftest.vals
22887 cat >> $CONFIG_STATUS <<\EOF
22888 rm -f conftest.frag conftest.h
22889 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22890 cat conftest.in >> conftest.h
22892 if cmp -s $ac_file conftest.h 2>/dev/null; then
22893 echo "$ac_file is unchanged"
22896 # Remove last slash and all that follows it. Not all systems have dirname.
22897 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22898 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22899 # The file is in a subdirectory.
22900 test ! -d "$ac_dir" && mkdir "$ac_dir"
22903 mv conftest.h $ac_file
22908 cat >> $CONFIG_STATUS <<EOF
22910 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22915 cat >> $CONFIG_STATUS <<\EOF
22917 if test ! -h wx-config; then
22919 mv wx-config wx${TOOLCHAIN_NAME}-config
22920 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22923 if test ! -d lib; then
22926 if test ! -d lib/wx; then
22929 if test ! -d lib/wx/include; then
22930 mkdir lib/wx/include
22932 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22933 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22935 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22936 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22938 if test -f setup.h; then
22939 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22944 chmod +x $CONFIG_STATUS
22945 rm -fr confdefs* $ac_clean_files
22946 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22948 if test "$no_recursion" != yes; then
22950 # Remove --cache-file and --srcdir arguments so they do not pile up.
22951 ac_sub_configure_args=
22953 for ac_arg in $ac_configure_args; do
22954 if test -n "$ac_prev"; then
22959 -cache-file | --cache-file | --cache-fil | --cache-fi \
22960 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22961 ac_prev=cache_file ;;
22962 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22963 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22965 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22967 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22969 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22973 for ac_config_dir in demos samples utils contrib; do
22975 # Do not complain, so a configure script can configure whichever
22976 # parts of a large source tree are present.
22977 if test ! -d $srcdir/$ac_config_dir; then
22981 echo configuring in $ac_config_dir
22986 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22988 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22996 # A "../" for each directory in /$ac_config_dir.
22997 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23000 .) # No --srcdir option. We are building in place.
23001 ac_sub_srcdir=$srcdir ;;
23002 /*) # Absolute path.
23003 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23004 *) # Relative path.
23005 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23008 # Check for guested configure; otherwise get Cygnus style configure.
23009 if test -f $ac_sub_srcdir/configure; then
23010 ac_sub_configure=$ac_sub_srcdir/configure
23011 elif test -f $ac_sub_srcdir/configure.in; then
23012 ac_sub_configure=$ac_configure
23014 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23018 # The recursion is here.
23019 if test -n "$ac_sub_configure"; then
23021 # Make the cache file name correct relative to the subdirectory.
23022 case "$cache_file" in
23023 /*) ac_sub_cache_file=$cache_file ;;
23024 *) # Relative path.
23025 ac_sub_cache_file="$ac_dots$cache_file" ;;
23027 case "$ac_given_INSTALL" in
23028 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23029 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23032 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23033 # The eval makes quoting arguments work.
23034 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23037 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23047 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23049 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23051 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23052 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23053 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23055 echo " What level of wxWindows compatibility should be enabled?"
23056 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23057 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23058 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23060 echo " Which libraries should wxWindows use?"
23061 echo " jpeg ${wxUSE_LIBJPEG-none}"
23062 echo " png ${wxUSE_LIBPNG-none}"
23063 echo " regex ${wxUSE_REGEX}"
23064 echo " tiff ${wxUSE_LIBTIFF-none}"
23065 echo " zlib ${wxUSE_ZLIB}"