3 # From configure.in Id: configure.in
65 # Configure paths for GTK+
66 # Owen Taylor 1997-2001
70 # Configure paths for GTK+
80 # Guess values for system-dependent variables and create Makefiles.
81 # Generated automatically using autoconf version 2.13
82 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
84 # This configure script is free software; the Free Software Foundation
85 # gives unlimited permission to copy, distribute and modify it.
89 ac_default_prefix
=/usr
/local
90 # Any additions from configure.in:
92 --enable-gui use GUI classes"
94 --enable-universal use wxWindows GUI controls instead of native ones"
98 --with-motif use Motif/Lesstif"
100 --with-mac use Mac OS X"
102 --with-cocoa use Cocoa"
104 --with-wine use Wine"
106 --with-msw use MS-Windows"
108 --with-pm use OS/2 Presentation Manager"
110 --with-mgl use SciTech MGL"
112 --with-microwin use MicroWindows"
116 --enable-nanox use NanoX"
118 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
120 --with-libpng use libpng (PNG image format)"
122 --with-libjpeg use libjpeg (JPEG file format)"
124 --with-libtiff use libtiff (TIFF file format)"
126 --with-opengl use OpenGL (or Mesa)"
128 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
130 --with-regex enable support for wxRegEx class"
132 --with-zlib use zlib for LZW compression"
134 --with-odbc use the IODBC and wxODBC classes"
136 --enable-shared create shared library code"
138 --enable-soname set the DT_SONAME field in ELF shared libraries"
140 --enable-optimise create optimised code"
142 --enable-debug same as debug_flag and debug_info"
144 --enable-precomp enable use of precompiled headers (Mac OS X/Darwin)"
146 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
148 --enable-debug_info create code with debugging information"
150 --enable-debug_gdb create code with extra GDB debugging information"
152 --enable-debug_cntxt use wxDebugContext"
154 --enable-mem_tracing create code with memory tracing"
156 --enable-profile create code with profiling information"
158 --enable-no_rtti create code without RTTI information"
160 --enable-no_exceptions create code without C++ exceptions handling"
162 --enable-permissive compile code disregarding strict ANSI"
164 --enable-no_deps create code without dependency information"
166 --enable-compat20 enable wxWindows 2.0 compatibility"
168 --enable-compat22 enable wxWindows 2.2 compatibility"
170 --disable-compat24 disable wxWindows 2.4 compatibility"
172 --enable-rpath=DIR output the rpath flag from wx-config"
174 --enable-intl use internationalization system"
176 --enable-config use wxConfig (and derived) classes"
178 --enable-protocols use wxProtocol and derived classes"
180 --enable-ftp use wxFTP (requires wxProtocol"
182 --enable-http use wxHTTP (requires wxProtocol"
184 --enable-fileproto use wxFileProto class (requires wxProtocol"
186 --enable-sockets use socket/network classes"
188 --enable-ole use OLE classes"
190 --enable-dataobj use data object classes"
192 --enable-ipc use interprocess communication (wxSocket etc.)"
194 --enable-cmdline use wxCmdLineParser class"
196 --enable-datetime use wxDateTime class"
198 --enable-stopwatch use wxStopWatch class"
200 --enable-dialupman use dialup network classes"
202 --enable-apple_ieee use the Apple IEEE codec"
204 --enable-timer use wxTimer class"
206 --enable-wave use wxWave class"
208 --enable-fraction use wxFraction class"
210 --enable-dynlib use wxLibrary class for DLL loading"
212 --enable-dynamicloader use (new) wxDynamicLibrary class"
214 --enable-longlong use wxLongLong class"
216 --enable-geometry use geometry class"
218 --enable-log use logging system"
220 --enable-streams use wxStream etc classes"
222 --enable-file use wxFile classes"
224 --enable-ffile use wxFFile classes"
226 --enable-textbuf use wxTextBuffer class"
228 --enable-textfile use wxTextFile class"
230 --enable-fontmap use font encodings conversion classes"
232 --enable-unicode compile wxString with Unicode support"
234 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
236 --enable-wxprintfv use wxWindows implementation of vprintf()"
238 --enable-std_iostreams use standard C++ stream classes"
240 --enable-filesystem use virtual file systems classes"
242 --enable-fs_inet use virtual HTTP/FTP filesystems"
244 --enable-fs_zip use virtual ZIP filesystems"
246 --enable-zipstream use wxZipInputStream"
248 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
250 --enable-snglinst use wxSingleInstanceChecker class"
252 --enable-mimetype use wxMimeTypesManager"
254 --enable-sysoptions use wxSystemOptions"
256 --enable-url use wxURL class"
258 --enable-protocol use wxProtocol class"
260 --enable-protocol-http HTTP support in wxProtocol"
262 --enable-protocol-ftp FTP support in wxProtocol"
264 --enable-protocol-file FILE support in wxProtocol"
266 --enable-threads use threads"
268 --enable-docview use document view architecture"
270 --enable-help use help subsystem"
272 --enable-mshtmlhelp use MS HTML Help (win32)"
274 --enable-html use wxHTML sub-library"
276 --enable-htmlhelp use wxHTML-based help"
278 --enable-constraints use layout-constraints system"
280 --enable-printarch use printing architecture"
282 --enable-mdi use multiple document interface architecture"
284 --enable-loggui use standard GUI logger"
286 --enable-logwin use wxLogWindow"
288 --enable-logdialog use wxLogDialog"
290 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
292 --enable-resources use wxWindows resources"
294 --enable-xresources use X resources for save (default for gtk+)"
296 --enable-clipboard use wxClipboard class"
298 --enable-dnd use Drag'n'Drop classes"
300 --enable-metafile use win32 metafiles"
302 --enable-controls use all usual controls"
304 --enable-accel use accelerators"
306 --enable-button use wxButton class"
308 --enable-bmpbutton use wxBitmapButton class"
310 --enable-calendar use wxCalendarCtrl class"
312 --enable-caret use wxCaret class"
314 --enable-checkbox use wxCheckBox class"
316 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
318 --enable-choice use wxChoice class"
320 --enable-combobox use wxComboBox class"
322 --enable-display use wxDisplay class"
324 --enable-gauge use wxGauge class"
326 --enable-grid use wxGrid class"
328 --enable-imaglist use wxImageList class"
330 --enable-listbox use wxListBox class"
332 --enable-listctrl use wxListCtrl class"
334 --enable-notebook use wxNotebook class"
336 --enable-radiobox use wxRadioBox class"
338 --enable-radiobtn use wxRadioButton class"
340 --enable-sash use wxSashWindow class"
342 --enable-scrollbar use wxScrollBar class and scrollable windows"
344 --enable-slider use wxSlider class"
346 --enable-spinbtn use wxSpinButton class"
348 --enable-spinctrl use wxSpinCtrl class"
350 --enable-splitter use wxSplitterWindow class"
352 --enable-statbmp use wxStaticBitmap class"
354 --enable-statbox use wxStaticBox class"
356 --enable-statline use wxStaticLine class"
358 --enable-stattext use wxStaticText class"
360 --enable-statusbar use wxStatusBar class"
362 --enable-tabdialog use wxTabControl class"
364 --enable-textctrl use wxTextCtrl class"
366 --enable-togglebtn use wxToggleButton class"
368 --enable-toolbar use wxToolBar class"
370 --enable-tbarnative use native wxToolBar class"
372 --enable-tbarsmpl use wxToolBarSimple class"
374 --enable-treectrl use wxTreeCtrl class"
376 --enable-tipwindow use wxTipWindow class"
378 --enable-popupwin use wxPopUpWindow class"
380 --enable-commondlg use all common dialogs"
382 --enable-choicedlg use wxChoiceDialog"
384 --enable-coldlg use wxColourDialog"
386 --enable-filedlg use wxFileDialog"
388 --enable-finddlg use wxFindReplaceDialog"
390 --enable-fontdlg use wxFontDialog"
392 --enable-dirdlg use wxDirDialog"
394 --enable-msgdlg use wxMessageDialog"
396 --enable-numberdlg use wxNumberEntryDialog"
398 --enable-splash use wxSplashScreen"
400 --enable-textdlg use wxTextDialog"
402 --enable-tipdlg use startup tips"
404 --enable-progressdlg use wxProgressDialog"
406 --enable-wizarddlg use wxWizard"
408 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
410 --enable-miniframe use wxMiniFrame class"
412 --enable-tooltips use wxToolTip class"
414 --enable-splines use spline drawing code"
416 --enable-validators use wxValidator and derived classes"
418 --enable-busyinfo use wxBusyInfo"
420 --enable-joystick use wxJoystick (Linux only)"
422 --enable-metafiles use wxMetaFile (Windows only)"
424 --enable-dragimage use wxDragImage"
426 --enable-accessibility enable accessibility support"
428 --enable-palette use wxPalette class"
430 --enable-image use wxImage class"
432 --enable-gif use gif images (GIF file format)"
434 --enable-pcx use pcx images (PCX file format)"
436 --enable-iff use iff images (IFF file format)"
438 --enable-pnm use pnm images (PNM file format)"
440 --enable-xpm use xpm images (XPM file format)"
442 --enable-icocur use Windows ICO and CUR formats"
444 --disable-largefile omit support for large files"
446 --disable-gtktest do not try to compile and run a test GTK+ program"
448 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
450 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
452 --disable-gtktest Do not try to compile and run a test GTK program"
454 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
456 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
458 --disable-gtktest Do not try to compile and run a test GTK program"
460 --with-x use the X Window System"
462 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
464 # Initialize some variables set by options.
465 # The variables have the same names as the options, with
466 # dashes changed to underlines.
468 cache_file
=.
/config.cache
477 program_transform_name
=s
,x
,x
,
485 bindir
='${exec_prefix}/bin'
486 sbindir
='${exec_prefix}/sbin'
487 libexecdir
='${exec_prefix}/libexec'
488 datadir
='${prefix}/share'
489 sysconfdir
='${prefix}/etc'
490 sharedstatedir
='${prefix}/com'
491 localstatedir
='${prefix}/var'
492 libdir
='${exec_prefix}/lib'
493 includedir
='${prefix}/include'
494 oldincludedir
='/usr/include'
495 infodir
='${prefix}/info'
496 mandir
='${prefix}/man'
498 # Initialize some other variables.
501 SHELL
=${CONFIG_SHELL-/bin/sh}
502 # Maximum number of lines to put in a shell here document.
509 # If the previous option needs an argument, assign it.
510 if test -n "$ac_prev"; then
511 eval "$ac_prev=\$ac_option"
517 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
521 # Accept the important Cygnus configure options, so we can diagnose typos.
525 -bindir | --bindir | --bindi | --bind | --bin | --bi)
527 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
528 bindir
="$ac_optarg" ;;
530 -build | --build | --buil | --bui | --bu)
532 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
533 build
="$ac_optarg" ;;
535 -cache-file | --cache-file | --cache-fil | --cache-fi \
536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
537 ac_prev
=cache_file
;;
538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
540 cache_file
="$ac_optarg" ;;
542 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
544 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
546 datadir
="$ac_optarg" ;;
548 -disable-* | --disable-*)
549 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
550 # Reject names that are not valid shell variable names.
551 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
552 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
554 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
555 eval "enable_${ac_feature}=no" ;;
557 -enable-* | --enable-*)
558 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
559 # Reject names that are not valid shell variable names.
560 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
561 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
563 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
568 eval "enable_${ac_feature}='$ac_optarg'" ;;
570 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
571 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
572 | --exec | --exe | --ex)
573 ac_prev
=exec_prefix
;;
574 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
575 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
576 | --exec=* | --exe=* | --ex=*)
577 exec_prefix
="$ac_optarg" ;;
579 -gas | --gas | --ga | --g)
580 # Obsolete; use --with-gas.
583 -help | --help | --hel | --he)
584 # Omit some internal or obsolete options to make the list less imposing.
585 # This message is too long to be a string in the A/UX 3.1 sh.
587 Usage: configure [options] [host]
588 Options: [defaults in brackets after descriptions]
590 --cache-file=FILE cache test results in FILE
591 --help print this message
592 --no-create do not create output files
593 --quiet, --silent do not print \`checking...' messages
594 --version print the version of autoconf that created configure
595 Directory and file names:
596 --prefix=PREFIX install architecture-independent files in PREFIX
598 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
600 --bindir=DIR user executables in DIR [EPREFIX/bin]
601 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
602 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
603 --datadir=DIR read-only architecture-independent data in DIR
605 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
606 --sharedstatedir=DIR modifiable architecture-independent data in DIR
608 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
609 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
610 --includedir=DIR C header files in DIR [PREFIX/include]
611 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
612 --infodir=DIR info documentation in DIR [PREFIX/info]
613 --mandir=DIR man documentation in DIR [PREFIX/man]
614 --srcdir=DIR find the sources in DIR [configure dir or ..]
615 --program-prefix=PREFIX prepend PREFIX to installed program names
616 --program-suffix=SUFFIX append SUFFIX to installed program names
617 --program-transform-name=PROGRAM
618 run sed PROGRAM on installed program names
622 --build=BUILD configure for building on BUILD [BUILD=HOST]
623 --host=HOST configure for HOST [guessed]
624 --target=TARGET configure for TARGET [TARGET=HOST]
625 Features and packages:
626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
628 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
629 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
630 --x-includes=DIR X include files are in DIR
631 --x-libraries=DIR X library files are in DIR
633 if test -n "$ac_help"; then
634 echo "--enable and --with options recognized:$ac_help"
638 -host | --host | --hos | --ho)
640 -host=* | --host=* | --hos=* | --ho=*)
643 -includedir | --includedir | --includedi | --included | --include \
644 | --includ | --inclu | --incl | --inc)
645 ac_prev
=includedir
;;
646 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
647 | --includ=* | --inclu=* | --incl=* | --inc=*)
648 includedir
="$ac_optarg" ;;
650 -infodir | --infodir | --infodi | --infod | --info | --inf)
652 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
653 infodir
="$ac_optarg" ;;
655 -libdir | --libdir | --libdi | --libd)
657 -libdir=* | --libdir=* | --libdi=* | --libd=*)
658 libdir
="$ac_optarg" ;;
660 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
661 | --libexe | --libex | --libe)
662 ac_prev
=libexecdir
;;
663 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
664 | --libexe=* | --libex=* | --libe=*)
665 libexecdir
="$ac_optarg" ;;
667 -localstatedir | --localstatedir | --localstatedi | --localstated \
668 | --localstate | --localstat | --localsta | --localst \
669 | --locals | --local | --loca | --loc | --lo)
670 ac_prev
=localstatedir
;;
671 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
672 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
673 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
674 localstatedir
="$ac_optarg" ;;
676 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
678 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
679 mandir
="$ac_optarg" ;;
682 # Obsolete; use --without-fp.
685 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
689 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
690 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
693 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
694 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
695 | --oldin | --oldi | --old | --ol | --o)
696 ac_prev
=oldincludedir
;;
697 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
698 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
699 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
700 oldincludedir
="$ac_optarg" ;;
702 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
704 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
705 prefix
="$ac_optarg" ;;
707 -program-prefix | --program-prefix | --program-prefi | --program-pref \
708 | --program-pre | --program-pr | --program-p)
709 ac_prev
=program_prefix
;;
710 -program-prefix=* | --program-prefix=* | --program-prefi=* \
711 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
712 program_prefix
="$ac_optarg" ;;
714 -program-suffix | --program-suffix | --program-suffi | --program-suff \
715 | --program-suf | --program-su | --program-s)
716 ac_prev
=program_suffix
;;
717 -program-suffix=* | --program-suffix=* | --program-suffi=* \
718 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
719 program_suffix
="$ac_optarg" ;;
721 -program-transform-name | --program-transform-name \
722 | --program-transform-nam | --program-transform-na \
723 | --program-transform-n | --program-transform- \
724 | --program-transform | --program-transfor \
725 | --program-transfo | --program-transf \
726 | --program-trans | --program-tran \
727 | --progr-tra | --program-tr | --program-t)
728 ac_prev
=program_transform_name
;;
729 -program-transform-name=* | --program-transform-name=* \
730 | --program-transform-nam=* | --program-transform-na=* \
731 | --program-transform-n=* | --program-transform-=* \
732 | --program-transform=* | --program-transfor=* \
733 | --program-transfo=* | --program-transf=* \
734 | --program-trans=* | --program-tran=* \
735 | --progr-tra=* | --program-tr=* | --program-t=*)
736 program_transform_name
="$ac_optarg" ;;
738 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
739 | -silent | --silent | --silen | --sile | --sil)
742 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
744 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
746 sbindir
="$ac_optarg" ;;
748 -sharedstatedir | --sharedstatedir | --sharedstatedi \
749 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
750 | --sharedst | --shareds | --shared | --share | --shar \
752 ac_prev
=sharedstatedir
;;
753 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
754 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
755 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
757 sharedstatedir
="$ac_optarg" ;;
759 -site | --site | --sit)
761 -site=* | --site=* | --sit=*)
764 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
766 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
767 srcdir
="$ac_optarg" ;;
769 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
770 | --syscon | --sysco | --sysc | --sys | --sy)
771 ac_prev
=sysconfdir
;;
772 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
773 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
774 sysconfdir
="$ac_optarg" ;;
776 -target | --target | --targe | --targ | --tar | --ta | --t)
778 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
779 target
="$ac_optarg" ;;
781 -v | -verbose | --verbose | --verbos | --verbo | --verb)
784 -version | --version | --versio | --versi | --vers)
785 echo "configure generated by autoconf version 2.13"
789 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
790 # Reject names that are not valid shell variable names.
791 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
792 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
794 ac_package
=`echo $ac_package| sed 's/-/_/g'`
799 eval "with_${ac_package}='$ac_optarg'" ;;
801 -without-* | --without-*)
802 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
803 # Reject names that are not valid shell variable names.
804 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
805 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
807 ac_package
=`echo $ac_package| sed 's/-/_/g'`
808 eval "with_${ac_package}=no" ;;
811 # Obsolete; use --with-x.
814 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
815 | --x-incl | --x-inc | --x-in | --x-i)
816 ac_prev
=x_includes
;;
817 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
818 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
819 x_includes
="$ac_optarg" ;;
821 -x-libraries | --x-libraries | --x-librarie | --x-librari \
822 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
823 ac_prev
=x_libraries
;;
824 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
825 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
826 x_libraries
="$ac_optarg" ;;
828 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
832 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
833 echo "configure: warning: $ac_option: invalid host type" 1>&2
835 if test "x$nonopt" != xNONE
; then
836 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
844 if test -n "$ac_prev"; then
845 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
848 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
850 # File descriptor usage:
853 # 2 errors and warnings
854 # 3 some systems may open it to /dev/tty
855 # 4 used on the Kubota Titan
856 # 6 checking for... messages and results
857 # 5 compiler messages saved in config.log
858 if test "$silent" = yes; then
866 This file contains any messages produced by compilers while
867 running configure, to aid debugging if configure makes a mistake.
870 # Strip out --no-create and --no-recursion so they do not pile up.
871 # Also quote any args containing shell metacharacters.
876 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
877 | --no-cr | --no-c) ;;
878 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
879 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
880 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
881 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
882 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
887 # Only set these to C if already set. These must not be set unconditionally
888 # because not all systems understand e.g. LANG=C (notably SCO).
889 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
890 # Non-C LC_CTYPE values break the ctype check.
891 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
892 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
893 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
894 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
896 # confdefs.h avoids OS command line length limits that DEFS can exceed.
897 rm -rf conftest
* confdefs.h
898 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
901 # A filename unique to this package, relative to the directory that
902 # configure is in, which we can look for to find out if srcdir is correct.
903 ac_unique_file
=wx
-config.
in
905 # Find the source files, if location was not specified.
906 if test -z "$srcdir"; then
907 ac_srcdir_defaulted
=yes
908 # Try the directory containing this script, then its parent.
910 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
911 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
913 if test ! -r $srcdir/$ac_unique_file; then
917 ac_srcdir_defaulted
=no
919 if test ! -r $srcdir/$ac_unique_file; then
920 if test "$ac_srcdir_defaulted" = yes; then
921 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
923 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
926 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
928 # Prefer explicitly selected file to automatically selected ones.
929 if test -z "$CONFIG_SITE"; then
930 if test "x$prefix" != xNONE
; then
931 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
933 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
936 for ac_site_file
in $CONFIG_SITE; do
937 if test -r "$ac_site_file"; then
938 echo "loading site script $ac_site_file"
943 if test -r "$cache_file"; then
944 echo "loading cache $cache_file"
947 echo "creating cache $cache_file"
952 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
953 ac_cpp
='$CPP $CPPFLAGS'
954 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
955 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
956 cross_compiling
=$ac_cv_prog_cc_cross
960 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
961 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
962 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
969 ac_n
= ac_c
='\c' ac_t
=
975 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
976 if test -f $ac_dir/install-sh; then
978 ac_install_sh
="$ac_aux_dir/install-sh -c"
980 elif test -f $ac_dir/install.sh
; then
982 ac_install_sh
="$ac_aux_dir/install.sh -c"
986 if test -z "$ac_aux_dir"; then
987 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
989 ac_config_guess
=$ac_aux_dir/config.guess
990 ac_config_sub
=$ac_aux_dir/config.sub
991 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
994 # Do some error checking and defaulting for the host and target type.
996 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
999 # 1. You are not allowed to specify --host, --target, and nonopt at the
1001 # 2. Host defaults to nonopt.
1002 # 3. If nonopt is not specified, then host defaults to the current host,
1003 # as determined by config.guess.
1004 # 4. Target and build default to nonopt.
1005 # 5. If nonopt is not specified, then target and build default to host.
1007 # The aliases save the names the user supplied, while $host etc.
1008 # will get canonicalized.
1009 case $host---$target---$nonopt in
1010 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1011 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1015 # Make sure we can run config.sub.
1016 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1017 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1020 echo $ac_n "checking host system type""... $ac_c" 1>&6
1021 echo "configure:1022: checking host system type" >&5
1024 case "$host_alias" in
1028 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1029 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1031 *) host_alias
=$nonopt ;;
1035 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1036 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1037 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1038 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1039 echo "$ac_t""$host" 1>&6
1041 echo $ac_n "checking target system type""... $ac_c" 1>&6
1042 echo "configure:1043: checking target system type" >&5
1044 target_alias
=$target
1045 case "$target_alias" in
1048 NONE
) target_alias
=$host_alias ;;
1049 *) target_alias
=$nonopt ;;
1053 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1054 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1055 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1056 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1057 echo "$ac_t""$target" 1>&6
1059 echo $ac_n "checking build system type""... $ac_c" 1>&6
1060 echo "configure:1061: checking build system type" >&5
1063 case "$build_alias" in
1066 NONE
) build_alias
=$host_alias ;;
1067 *) build_alias
=$nonopt ;;
1071 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1072 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1073 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1074 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1075 echo "$ac_t""$build" 1>&6
1077 test "$host_alias" != "$target_alias" &&
1078 test "$program_prefix$program_suffix$program_transform_name" = \
1080 program_prefix
=${target_alias}-
1084 WX_MAJOR_VERSION_NUMBER
=2
1085 WX_MINOR_VERSION_NUMBER
=5
1088 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1089 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1091 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1126 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1128 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1130 DEFAULT_wxUSE_COCOA
=0
1134 DEFAULT_wxUSE_MICROWIN
=0
1135 DEFAULT_wxUSE_MOTIF
=0
1140 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1141 DEFAULT_DEFAULT_wxUSE_GTK
=0
1142 DEFAULT_DEFAULT_wxUSE_MAC
=0
1143 DEFAULT_DEFAULT_wxUSE_MGL
=0
1144 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1145 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1146 DEFAULT_DEFAULT_wxUSE_MSW
=0
1147 DEFAULT_DEFAULT_wxUSE_PM
=0
1148 DEFAULT_DEFAULT_wxUSE_X11
=0
1156 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1157 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1159 cat >> confdefs.h
<<\EOF
1166 cat >> confdefs.h
<<\EOF
1171 if test "x$TMP" = "xalpha"; then
1173 cat >> confdefs.h
<<\EOF
1178 DEFAULT_DEFAULT_wxUSE_GTK
=1
1180 *-*-irix5* | *-*-irix6* )
1183 cat >> confdefs.h
<<\EOF
1187 cat >> confdefs.h
<<\EOF
1191 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1197 cat >> confdefs.h
<<\EOF
1201 cat >> confdefs.h
<<\EOF
1202 #define __SOLARIS__ 1
1205 cat >> confdefs.h
<<\EOF
1209 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1210 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 cat >> confdefs.h
<<\EOF
1228 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1233 cat >> confdefs.h
<<\EOF
1234 #define __FREEBSD__ 1
1237 cat >> confdefs.h
<<\EOF
1241 DEFAULT_DEFAULT_wxUSE_GTK
=1
1246 cat >> confdefs.h
<<\EOF
1247 #define __OPENBSD__ 1
1250 cat >> confdefs.h
<<\EOF
1254 DEFAULT_DEFAULT_wxUSE_GTK
=1
1259 cat >> confdefs.h
<<\EOF
1260 #define __NETBSD__ 1
1263 cat >> confdefs.h
<<\EOF
1267 DEFAULT_DEFAULT_wxUSE_GTK
=1
1272 cat >> confdefs.h
<<\EOF
1276 cat >> confdefs.h
<<\EOF
1280 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1281 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1286 cat >> confdefs.h
<<\EOF
1290 cat >> confdefs.h
<<\EOF
1294 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1299 cat >> confdefs.h
<<\EOF
1303 cat >> confdefs.h
<<\EOF
1307 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1314 cat >> confdefs.h
<<\EOF
1318 cat >> confdefs.h
<<\EOF
1322 cat >> confdefs.h
<<\EOF
1326 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1333 cat >> confdefs.h
<<\EOF
1334 #define __UNIXWARE__ 1
1339 *-*-cygwin* | *-*-mingw32* )
1343 DEFAULT_DEFAULT_wxUSE_MSW
=1
1349 cat >> confdefs.h
<<\EOF
1354 DEFAULT_DEFAULT_wxUSE_MGL
=1
1355 LIBS
="$LIBS -lstdc++"
1358 *-pc-os2_emx | *-pc-os2-emx )
1359 cat >> confdefs.h
<<\EOF
1364 DEFAULT_DEFAULT_wxUSE_PM
=1
1371 cat >> confdefs.h
<<\EOF
1375 cat >> confdefs.h
<<\EOF
1376 #define __DARWIN__ 1
1379 cat >> confdefs.h
<<\EOF
1380 #define __POWERPC__ 1
1383 cat >> confdefs.h
<<\EOF
1384 #define TARGET_CARBON 1
1387 DEFAULT_DEFAULT_wxUSE_MAC
=1
1392 cat >> confdefs.h
<<\EOF
1399 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1405 wx_arg_cache_file
="configarg.cache"
1406 echo "loading argument cache $wx_arg_cache_file"
1407 rm -f ${wx_arg_cache_file}.tmp
1408 touch ${wx_arg_cache_file}.tmp
1409 touch ${wx_arg_cache_file}
1413 if test $DEBUG_CONFIGURE = 1; then
1414 DEFAULT_wxUSE_UNIVERSAL
=no
1416 DEFAULT_wxUSE_NANOX
=no
1418 DEFAULT_wxUSE_THREADS
=yes
1420 DEFAULT_wxUSE_SHARED
=yes
1421 DEFAULT_wxUSE_SONAME
=no
1422 DEFAULT_wxUSE_OPTIMISE
=no
1423 DEFAULT_wxUSE_PROFILE
=no
1424 DEFAULT_wxUSE_NO_DEPS
=no
1425 DEFAULT_wxUSE_NO_RTTI
=no
1426 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1427 DEFAULT_wxUSE_PERMISSIVE
=no
1428 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1429 DEFAULT_wxUSE_DEBUG_INFO
=yes
1430 DEFAULT_wxUSE_DEBUG_GDB
=yes
1431 DEFAULT_wxUSE_MEM_TRACING
=no
1432 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1433 DEFAULT_wxUSE_DMALLOC
=no
1434 DEFAULT_wxUSE_PRECOMP
=no
1435 DEFAULT_wxUSE_APPLE_IEEE
=no
1437 DEFAULT_wxUSE_LOG
=yes
1438 DEFAULT_wxUSE_LOGWINDOW
=no
1439 DEFAULT_wxUSE_LOGGUI
=no
1440 DEFAULT_wxUSE_LOGDIALOG
=no
1442 DEFAULT_wxUSE_GUI
=yes
1443 DEFAULT_wxUSE_CONTROLS
=no
1445 DEFAULT_wxUSE_REGEX
=no
1446 DEFAULT_wxUSE_ZLIB
=no
1447 DEFAULT_wxUSE_LIBPNG
=no
1448 DEFAULT_wxUSE_LIBJPEG
=no
1449 DEFAULT_wxUSE_LIBTIFF
=no
1450 DEFAULT_wxUSE_ODBC
=no
1451 DEFAULT_wxUSE_OPENGL
=no
1453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1454 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1455 DEFAULT_wxUSE_STD_IOSTREAM
=no
1456 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1457 DEFAULT_wxUSE_DATETIME
=no
1458 DEFAULT_wxUSE_TIMER
=no
1459 DEFAULT_wxUSE_STOPWATCH
=no
1460 DEFAULT_wxUSE_FILE
=no
1461 DEFAULT_wxUSE_FFILE
=no
1462 DEFAULT_wxUSE_TEXTBUFFER
=no
1463 DEFAULT_wxUSE_TEXTFILE
=no
1464 DEFAULT_wxUSE_WAVE
=no
1465 DEFAULT_wxUSE_INTL
=no
1466 DEFAULT_wxUSE_CONFIG
=no
1467 DEFAULT_wxUSE_FONTMAP
=no
1468 DEFAULT_wxUSE_STREAMS
=no
1469 DEFAULT_wxUSE_SOCKETS
=no
1470 DEFAULT_wxUSE_OLE
=no
1471 DEFAULT_wxUSE_DATAOBJ
=no
1472 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1473 DEFAULT_wxUSE_JOYSTICK
=no
1474 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1475 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1476 DEFAULT_wxUSE_LONGLONG
=no
1477 DEFAULT_wxUSE_GEOMETRY
=no
1479 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1480 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1481 DEFAULT_wxUSE_POSTSCRIPT
=no
1483 DEFAULT_wxUSE_X_RESOURCES
=no
1484 DEFAULT_wxUSE_CLIPBOARD
=no
1485 DEFAULT_wxUSE_TOOLTIPS
=no
1486 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1487 DEFAULT_wxUSE_DRAGIMAGE
=no
1488 DEFAULT_wxUSE_SPLINES
=no
1490 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1491 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1494 DEFAULT_wxUSE_RESOURCES
=no
1495 DEFAULT_wxUSE_CONSTRAINTS
=no
1496 DEFAULT_wxUSE_IPC
=no
1497 DEFAULT_wxUSE_HELP
=no
1498 DEFAULT_wxUSE_MS_HTML_HELP
=no
1499 DEFAULT_wxUSE_WXHTML_HELP
=no
1500 DEFAULT_wxUSE_TREELAYOUT
=no
1501 DEFAULT_wxUSE_METAFILE
=no
1502 DEFAULT_wxUSE_MIMETYPE
=no
1503 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1504 DEFAULT_wxUSE_PROTOCOL
=no
1505 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1506 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1507 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1508 DEFAULT_wxUSE_URL
=no
1510 DEFAULT_wxUSE_COMMONDLGS
=no
1511 DEFAULT_wxUSE_CHOICEDLG
=no
1512 DEFAULT_wxUSE_COLOURDLG
=no
1513 DEFAULT_wxUSE_DIRDLG
=no
1514 DEFAULT_wxUSE_FILEDLG
=no
1515 DEFAULT_wxUSE_FINDREPLDLG
=no
1516 DEFAULT_wxUSE_FONTDLG
=no
1517 DEFAULT_wxUSE_MSGDLG
=no
1518 DEFAULT_wxUSE_NUMBERDLG
=no
1519 DEFAULT_wxUSE_TEXTDLG
=no
1520 DEFAULT_wxUSE_SPLASH
=no
1521 DEFAULT_wxUSE_STARTUP_TIPS
=no
1522 DEFAULT_wxUSE_PROGRESSDLG
=no
1523 DEFAULT_wxUSE_WIZARDDLG
=no
1525 DEFAULT_wxUSE_MENUS
=no
1526 DEFAULT_wxUSE_MINIFRAME
=no
1527 DEFAULT_wxUSE_HTML
=no
1528 DEFAULT_wxUSE_FILESYSTEM
=no
1529 DEFAULT_wxUSE_FS_INET
=no
1530 DEFAULT_wxUSE_FS_ZIP
=no
1531 DEFAULT_wxUSE_BUSYINFO
=no
1532 DEFAULT_wxUSE_ZIPSTREAM
=no
1533 DEFAULT_wxUSE_VALIDATORS
=no
1535 DEFAULT_wxUSE_ACCEL
=no
1536 DEFAULT_wxUSE_BUTTON
=no
1537 DEFAULT_wxUSE_BMPBUTTON
=no
1538 DEFAULT_wxUSE_CALCTRL
=no
1539 DEFAULT_wxUSE_CARET
=no
1540 DEFAULT_wxUSE_CHECKBOX
=no
1541 DEFAULT_wxUSE_CHECKLST
=no
1542 DEFAULT_wxUSE_CHOICE
=no
1543 DEFAULT_wxUSE_COMBOBOX
=no
1544 DEFAULT_wxUSE_DISPLAY
=no
1545 DEFAULT_wxUSE_GAUGE
=no
1546 DEFAULT_wxUSE_GRID
=no
1547 DEFAULT_wxUSE_IMAGLIST
=no
1548 DEFAULT_wxUSE_LISTBOX
=no
1549 DEFAULT_wxUSE_LISTCTRL
=no
1550 DEFAULT_wxUSE_NOTEBOOK
=no
1551 DEFAULT_wxUSE_RADIOBOX
=no
1552 DEFAULT_wxUSE_RADIOBTN
=no
1553 DEFAULT_wxUSE_SASH
=no
1554 DEFAULT_wxUSE_SCROLLBAR
=no
1555 DEFAULT_wxUSE_SLIDER
=no
1556 DEFAULT_wxUSE_SPINBTN
=no
1557 DEFAULT_wxUSE_SPINCTRL
=no
1558 DEFAULT_wxUSE_SPLITTER
=no
1559 DEFAULT_wxUSE_STATBMP
=no
1560 DEFAULT_wxUSE_STATBOX
=no
1561 DEFAULT_wxUSE_STATLINE
=no
1562 DEFAULT_wxUSE_STATTEXT
=no
1563 DEFAULT_wxUSE_STATUSBAR
=yes
1564 DEFAULT_wxUSE_TABDIALOG
=no
1565 DEFAULT_wxUSE_TEXTCTRL
=no
1566 DEFAULT_wxUSE_TOGGLEBTN
=no
1567 DEFAULT_wxUSE_TOOLBAR
=no
1568 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1569 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1570 DEFAULT_wxUSE_TREECTRL
=no
1571 DEFAULT_wxUSE_POPUPWIN
=no
1572 DEFAULT_wxUSE_TIPWINDOW
=no
1574 DEFAULT_wxUSE_UNICODE
=no
1575 DEFAULT_wxUSE_UNICODE_MSLU
=no
1576 DEFAULT_wxUSE_WCSRTOMBS
=no
1578 DEFAULT_wxUSE_PALETTE
=no
1579 DEFAULT_wxUSE_IMAGE
=no
1580 DEFAULT_wxUSE_GIF
=no
1581 DEFAULT_wxUSE_PCX
=no
1582 DEFAULT_wxUSE_PNM
=no
1583 DEFAULT_wxUSE_IFF
=no
1584 DEFAULT_wxUSE_XPM
=no
1585 DEFAULT_wxUSE_ICO_CUR
=no
1586 DEFAULT_wxUSE_ACCESSIBILITY
=no
1588 DEFAULT_wxUSE_UNIVERSAL
=no
1590 DEFAULT_wxUSE_NANOX
=no
1592 DEFAULT_wxUSE_THREADS
=yes
1594 DEFAULT_wxUSE_SHARED
=yes
1595 DEFAULT_wxUSE_SONAME
=no
1596 DEFAULT_wxUSE_OPTIMISE
=yes
1597 DEFAULT_wxUSE_PROFILE
=no
1598 DEFAULT_wxUSE_NO_DEPS
=no
1599 DEFAULT_wxUSE_NO_RTTI
=no
1600 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1601 DEFAULT_wxUSE_PERMISSIVE
=no
1602 DEFAULT_wxUSE_DEBUG_FLAG
=no
1603 DEFAULT_wxUSE_DEBUG_INFO
=no
1604 DEFAULT_wxUSE_DEBUG_GDB
=no
1605 DEFAULT_wxUSE_MEM_TRACING
=no
1606 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1607 DEFAULT_wxUSE_DMALLOC
=no
1608 DEFAULT_wxUSE_PRECOMP
=no
1609 DEFAULT_wxUSE_APPLE_IEEE
=yes
1611 DEFAULT_wxUSE_LOG
=yes
1612 DEFAULT_wxUSE_LOGWINDOW
=yes
1613 DEFAULT_wxUSE_LOGGUI
=yes
1614 DEFAULT_wxUSE_LOGDIALOG
=yes
1616 DEFAULT_wxUSE_GUI
=yes
1618 DEFAULT_wxUSE_REGEX
=yes
1619 DEFAULT_wxUSE_ZLIB
=yes
1620 DEFAULT_wxUSE_LIBPNG
=yes
1621 DEFAULT_wxUSE_LIBJPEG
=yes
1622 DEFAULT_wxUSE_LIBTIFF
=yes
1623 DEFAULT_wxUSE_ODBC
=no
1624 DEFAULT_wxUSE_OPENGL
=no
1626 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1627 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1628 DEFAULT_wxUSE_STD_IOSTREAM
=no
1629 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1630 DEFAULT_wxUSE_DATETIME
=yes
1631 DEFAULT_wxUSE_TIMER
=yes
1632 DEFAULT_wxUSE_STOPWATCH
=yes
1633 DEFAULT_wxUSE_FILE
=yes
1634 DEFAULT_wxUSE_FFILE
=yes
1635 DEFAULT_wxUSE_TEXTBUFFER
=yes
1636 DEFAULT_wxUSE_TEXTFILE
=yes
1637 DEFAULT_wxUSE_WAVE
=no
1638 DEFAULT_wxUSE_INTL
=yes
1639 DEFAULT_wxUSE_CONFIG
=yes
1640 DEFAULT_wxUSE_FONTMAP
=yes
1641 DEFAULT_wxUSE_STREAMS
=yes
1642 DEFAULT_wxUSE_SOCKETS
=yes
1643 DEFAULT_wxUSE_OLE
=yes
1644 DEFAULT_wxUSE_DATAOBJ
=yes
1645 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1646 DEFAULT_wxUSE_JOYSTICK
=yes
1647 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1648 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1649 DEFAULT_wxUSE_LONGLONG
=yes
1650 DEFAULT_wxUSE_GEOMETRY
=yes
1652 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1653 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1654 DEFAULT_wxUSE_POSTSCRIPT
=yes
1656 DEFAULT_wxUSE_X_RESOURCES
=no
1657 DEFAULT_wxUSE_CLIPBOARD
=yes
1658 DEFAULT_wxUSE_TOOLTIPS
=yes
1659 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1660 DEFAULT_wxUSE_DRAGIMAGE
=yes
1661 DEFAULT_wxUSE_SPLINES
=yes
1663 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1664 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1665 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1667 DEFAULT_wxUSE_RESOURCES
=no
1668 DEFAULT_wxUSE_CONSTRAINTS
=yes
1669 DEFAULT_wxUSE_IPC
=yes
1670 DEFAULT_wxUSE_HELP
=yes
1671 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1672 DEFAULT_wxUSE_WXHTML_HELP
=yes
1673 DEFAULT_wxUSE_TREELAYOUT
=yes
1674 DEFAULT_wxUSE_METAFILE
=yes
1675 DEFAULT_wxUSE_MIMETYPE
=yes
1676 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1677 DEFAULT_wxUSE_PROTOCOL
=yes
1678 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1679 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1680 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1681 DEFAULT_wxUSE_URL
=yes
1683 DEFAULT_wxUSE_COMMONDLGS
=yes
1684 DEFAULT_wxUSE_CHOICEDLG
=yes
1685 DEFAULT_wxUSE_COLOURDLG
=yes
1686 DEFAULT_wxUSE_DIRDLG
=yes
1687 DEFAULT_wxUSE_FILEDLG
=yes
1688 DEFAULT_wxUSE_FINDREPLDLG
=yes
1689 DEFAULT_wxUSE_FONTDLG
=yes
1690 DEFAULT_wxUSE_MSGDLG
=yes
1691 DEFAULT_wxUSE_NUMBERDLG
=yes
1692 DEFAULT_wxUSE_TEXTDLG
=yes
1693 DEFAULT_wxUSE_SPLASH
=yes
1694 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1695 DEFAULT_wxUSE_PROGRESSDLG
=yes
1696 DEFAULT_wxUSE_WIZARDDLG
=yes
1698 DEFAULT_wxUSE_MENUS
=yes
1699 DEFAULT_wxUSE_MINIFRAME
=yes
1700 DEFAULT_wxUSE_HTML
=yes
1701 DEFAULT_wxUSE_FILESYSTEM
=yes
1702 DEFAULT_wxUSE_FS_INET
=yes
1703 DEFAULT_wxUSE_FS_ZIP
=yes
1704 DEFAULT_wxUSE_BUSYINFO
=yes
1705 DEFAULT_wxUSE_ZIPSTREAM
=yes
1706 DEFAULT_wxUSE_VALIDATORS
=yes
1708 DEFAULT_wxUSE_ACCEL
=yes
1709 DEFAULT_wxUSE_BUTTON
=yes
1710 DEFAULT_wxUSE_BMPBUTTON
=yes
1711 DEFAULT_wxUSE_CALCTRL
=yes
1712 DEFAULT_wxUSE_CARET
=yes
1713 DEFAULT_wxUSE_CHECKBOX
=yes
1714 DEFAULT_wxUSE_CHECKLST
=yes
1715 DEFAULT_wxUSE_CHOICE
=yes
1716 DEFAULT_wxUSE_COMBOBOX
=yes
1717 DEFAULT_wxUSE_DISPLAY
=no
1718 DEFAULT_wxUSE_GAUGE
=yes
1719 DEFAULT_wxUSE_GRID
=yes
1720 DEFAULT_wxUSE_IMAGLIST
=yes
1721 DEFAULT_wxUSE_LISTBOX
=yes
1722 DEFAULT_wxUSE_LISTCTRL
=yes
1723 DEFAULT_wxUSE_NOTEBOOK
=yes
1724 DEFAULT_wxUSE_RADIOBOX
=yes
1725 DEFAULT_wxUSE_RADIOBTN
=yes
1726 DEFAULT_wxUSE_SASH
=yes
1727 DEFAULT_wxUSE_SCROLLBAR
=yes
1728 DEFAULT_wxUSE_SLIDER
=yes
1729 DEFAULT_wxUSE_SPINBTN
=yes
1730 DEFAULT_wxUSE_SPINCTRL
=yes
1731 DEFAULT_wxUSE_SPLITTER
=yes
1732 DEFAULT_wxUSE_STATBMP
=yes
1733 DEFAULT_wxUSE_STATBOX
=yes
1734 DEFAULT_wxUSE_STATLINE
=yes
1735 DEFAULT_wxUSE_STATTEXT
=yes
1736 DEFAULT_wxUSE_STATUSBAR
=yes
1737 DEFAULT_wxUSE_TABDIALOG
=no
1738 DEFAULT_wxUSE_TEXTCTRL
=yes
1739 DEFAULT_wxUSE_TOGGLEBTN
=yes
1740 DEFAULT_wxUSE_TOOLBAR
=yes
1741 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1742 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1743 DEFAULT_wxUSE_TREECTRL
=yes
1744 DEFAULT_wxUSE_POPUPWIN
=yes
1745 DEFAULT_wxUSE_TIPWINDOW
=yes
1747 DEFAULT_wxUSE_UNICODE
=no
1748 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1749 DEFAULT_wxUSE_WCSRTOMBS
=no
1751 DEFAULT_wxUSE_PALETTE
=yes
1752 DEFAULT_wxUSE_IMAGE
=yes
1753 DEFAULT_wxUSE_GIF
=yes
1754 DEFAULT_wxUSE_PCX
=yes
1755 DEFAULT_wxUSE_IFF
=no
1756 DEFAULT_wxUSE_PNM
=yes
1757 DEFAULT_wxUSE_XPM
=yes
1758 DEFAULT_wxUSE_ICO_CUR
=yes
1759 DEFAULT_wxUSE_ACCESSIBILITY
=no
1764 for toolkit
in `echo $ALL_TOOLKITS`; do
1765 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1766 if test "x$LINE" != "x" ; then
1767 has_toolkit_in_cache
=1
1768 eval "DEFAULT_$LINE"
1769 eval "CACHE_$toolkit=1"
1776 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1777 echo "configure:1778: checking for --${enablestring:-enable}-gui" >&5
1779 # Check whether --enable-gui or --disable-gui was given.
1780 if test "${enable_gui+set}" = set; then
1781 enableval
="$enable_gui"
1783 if test "$enableval" = yes; then
1784 ac_cv_use_gui
='wxUSE_GUI=yes'
1786 ac_cv_use_gui
='wxUSE_GUI=no'
1791 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1792 if test "x$LINE" != x
; then
1793 eval "DEFAULT_$LINE"
1798 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1803 eval "$ac_cv_use_gui"
1804 if test "$no_cache" != 1; then
1805 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1808 if test "$wxUSE_GUI" = yes; then
1809 echo "$ac_t""yes" 1>&6
1811 echo "$ac_t""no" 1>&6
1815 if test "$wxUSE_GUI" = "yes"; then
1819 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1820 echo "configure:1821: checking for --${enablestring:-enable}-universal" >&5
1822 # Check whether --enable-universal or --disable-universal was given.
1823 if test "${enable_universal+set}" = set; then
1824 enableval
="$enable_universal"
1826 if test "$enableval" = yes; then
1827 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1829 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1834 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1835 if test "x$LINE" != x
; then
1836 eval "DEFAULT_$LINE"
1841 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1846 eval "$ac_cv_use_universal"
1847 if test "$no_cache" != 1; then
1848 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1851 if test "$wxUSE_UNIVERSAL" = yes; then
1852 echo "$ac_t""yes" 1>&6
1854 echo "$ac_t""no" 1>&6
1857 # Check whether --with-gtk or --without-gtk was given.
1858 if test "${with_gtk+set}" = set; then
1860 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1863 # Check whether --with-motif or --without-motif was given.
1864 if test "${with_motif+set}" = set; then
1865 withval
="$with_motif"
1866 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1869 # Check whether --with-mac or --without-mac was given.
1870 if test "${with_mac+set}" = set; then
1872 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1875 # Check whether --with-cocoa or --without-cocoa was given.
1876 if test "${with_cocoa+set}" = set; then
1877 withval
="$with_cocoa"
1878 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1881 # Check whether --with-wine or --without-wine was given.
1882 if test "${with_wine+set}" = set; then
1883 withval
="$with_wine"
1884 wxUSE_WINE
="$withval" CACHE_WINE
=1
1887 # Check whether --with-msw or --without-msw was given.
1888 if test "${with_msw+set}" = set; then
1890 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1893 # Check whether --with-pm or --without-pm was given.
1894 if test "${with_pm+set}" = set; then
1896 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1899 # Check whether --with-mgl or --without-mgl was given.
1900 if test "${with_mgl+set}" = set; then
1902 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1905 # Check whether --with-microwin or --without-microwin was given.
1906 if test "${with_microwin+set}" = set; then
1907 withval
="$with_microwin"
1908 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1911 # Check whether --with-x11 or --without-x11 was given.
1912 if test "${with_x11+set}" = set; then
1914 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1919 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1920 echo "configure:1921: checking for --${enablestring:-enable}-nanox" >&5
1922 # Check whether --enable-nanox or --disable-nanox was given.
1923 if test "${enable_nanox+set}" = set; then
1924 enableval
="$enable_nanox"
1926 if test "$enableval" = yes; then
1927 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1929 ac_cv_use_nanox
='wxUSE_NANOX=no'
1934 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1935 if test "x$LINE" != x
; then
1936 eval "DEFAULT_$LINE"
1941 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1946 eval "$ac_cv_use_nanox"
1947 if test "$no_cache" != 1; then
1948 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1951 if test "$wxUSE_NANOX" = yes; then
1952 echo "$ac_t""yes" 1>&6
1954 echo "$ac_t""no" 1>&6
1960 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1961 echo "configure:1962: checking for --${enablestring:-enable}-gtk2" >&5
1963 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1964 if test "${enable_gtk2+set}" = set; then
1965 enableval
="$enable_gtk2"
1967 if test "$enableval" = yes; then
1968 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1970 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1975 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1976 if test "x$LINE" != x
; then
1977 eval "DEFAULT_$LINE"
1982 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1987 eval "$ac_cv_use_gtk2"
1988 if test "$no_cache" != 1; then
1989 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1992 if test "$wxUSE_GTK2" = yes; then
1993 echo "$ac_t""yes" 1>&6
1995 echo "$ac_t""no" 1>&6
2000 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
2001 echo "configure:2002: checking for --with-libpng" >&5
2003 # Check whether --with-libpng or --without-libpng was given.
2004 if test "${with_libpng+set}" = set; then
2005 withval
="$with_libpng"
2007 if test "$withval" = yes; then
2008 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2009 elif test "$withval" = no
; then
2010 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2011 elif test "$withval" = sys
; then
2012 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2013 elif test "$withval" = builtin; then
2014 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2016 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2021 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2022 if test "x$LINE" != x
; then
2023 eval "DEFAULT_$LINE"
2028 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2033 eval "$ac_cv_use_libpng"
2034 if test "$no_cache" != 1; then
2035 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2038 if test "$wxUSE_LIBPNG" = yes; then
2039 echo "$ac_t""yes" 1>&6
2040 elif test "$wxUSE_LIBPNG" = no
; then
2041 echo "$ac_t""no" 1>&6
2042 elif test "$wxUSE_LIBPNG" = sys
; then
2043 echo "$ac_t""system version" 1>&6
2044 elif test "$wxUSE_LIBPNG" = builtin; then
2045 echo "$ac_t""builtin version" 1>&6
2047 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2051 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2052 echo "configure:2053: checking for --with-libjpeg" >&5
2054 # Check whether --with-libjpeg or --without-libjpeg was given.
2055 if test "${with_libjpeg+set}" = set; then
2056 withval
="$with_libjpeg"
2058 if test "$withval" = yes; then
2059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2060 elif test "$withval" = no
; then
2061 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2062 elif test "$withval" = sys
; then
2063 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2064 elif test "$withval" = builtin; then
2065 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2067 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2072 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2073 if test "x$LINE" != x
; then
2074 eval "DEFAULT_$LINE"
2079 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2084 eval "$ac_cv_use_libjpeg"
2085 if test "$no_cache" != 1; then
2086 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2089 if test "$wxUSE_LIBJPEG" = yes; then
2090 echo "$ac_t""yes" 1>&6
2091 elif test "$wxUSE_LIBJPEG" = no
; then
2092 echo "$ac_t""no" 1>&6
2093 elif test "$wxUSE_LIBJPEG" = sys
; then
2094 echo "$ac_t""system version" 1>&6
2095 elif test "$wxUSE_LIBJPEG" = builtin; then
2096 echo "$ac_t""builtin version" 1>&6
2098 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2102 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2103 echo "configure:2104: checking for --with-libtiff" >&5
2105 # Check whether --with-libtiff or --without-libtiff was given.
2106 if test "${with_libtiff+set}" = set; then
2107 withval
="$with_libtiff"
2109 if test "$withval" = yes; then
2110 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2111 elif test "$withval" = no
; then
2112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2113 elif test "$withval" = sys
; then
2114 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2115 elif test "$withval" = builtin; then
2116 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2118 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2123 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2124 if test "x$LINE" != x
; then
2125 eval "DEFAULT_$LINE"
2130 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2135 eval "$ac_cv_use_libtiff"
2136 if test "$no_cache" != 1; then
2137 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2140 if test "$wxUSE_LIBTIFF" = yes; then
2141 echo "$ac_t""yes" 1>&6
2142 elif test "$wxUSE_LIBTIFF" = no
; then
2143 echo "$ac_t""no" 1>&6
2144 elif test "$wxUSE_LIBTIFF" = sys
; then
2145 echo "$ac_t""system version" 1>&6
2146 elif test "$wxUSE_LIBTIFF" = builtin; then
2147 echo "$ac_t""builtin version" 1>&6
2149 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2153 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2154 echo "configure:2155: checking for --with-opengl" >&5
2156 # Check whether --with-opengl or --without-opengl was given.
2157 if test "${with_opengl+set}" = set; then
2158 withval
="$with_opengl"
2160 if test "$withval" = yes; then
2161 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2163 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2168 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2169 if test "x$LINE" != x
; then
2170 eval "DEFAULT_$LINE"
2175 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2180 eval "$ac_cv_use_opengl"
2181 if test "$no_cache" != 1; then
2182 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2185 if test "$wxUSE_OPENGL" = yes; then
2186 echo "$ac_t""yes" 1>&6
2188 echo "$ac_t""no" 1>&6
2195 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2196 echo "configure:2197: checking for --with-dmalloc" >&5
2198 # Check whether --with-dmalloc or --without-dmalloc was given.
2199 if test "${with_dmalloc+set}" = set; then
2200 withval
="$with_dmalloc"
2202 if test "$withval" = yes; then
2203 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2205 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2210 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2211 if test "x$LINE" != x
; then
2212 eval "DEFAULT_$LINE"
2217 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2222 eval "$ac_cv_use_dmalloc"
2223 if test "$no_cache" != 1; then
2224 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2227 if test "$wxUSE_DMALLOC" = yes; then
2228 echo "$ac_t""yes" 1>&6
2230 echo "$ac_t""no" 1>&6
2234 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2235 echo "configure:2236: checking for --with-regex" >&5
2237 # Check whether --with-regex or --without-regex was given.
2238 if test "${with_regex+set}" = set; then
2239 withval
="$with_regex"
2241 if test "$withval" = yes; then
2242 ac_cv_use_regex
='wxUSE_REGEX=yes'
2243 elif test "$withval" = no
; then
2244 ac_cv_use_regex
='wxUSE_REGEX=no'
2245 elif test "$withval" = sys
; then
2246 ac_cv_use_regex
='wxUSE_REGEX=sys'
2247 elif test "$withval" = builtin; then
2248 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2250 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2255 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2256 if test "x$LINE" != x
; then
2257 eval "DEFAULT_$LINE"
2262 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2267 eval "$ac_cv_use_regex"
2268 if test "$no_cache" != 1; then
2269 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2272 if test "$wxUSE_REGEX" = yes; then
2273 echo "$ac_t""yes" 1>&6
2274 elif test "$wxUSE_REGEX" = no
; then
2275 echo "$ac_t""no" 1>&6
2276 elif test "$wxUSE_REGEX" = sys
; then
2277 echo "$ac_t""system version" 1>&6
2278 elif test "$wxUSE_REGEX" = builtin; then
2279 echo "$ac_t""builtin version" 1>&6
2281 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2285 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2286 echo "configure:2287: checking for --with-zlib" >&5
2288 # Check whether --with-zlib or --without-zlib was given.
2289 if test "${with_zlib+set}" = set; then
2290 withval
="$with_zlib"
2292 if test "$withval" = yes; then
2293 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2294 elif test "$withval" = no
; then
2295 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2296 elif test "$withval" = sys
; then
2297 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2298 elif test "$withval" = builtin; then
2299 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2301 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2306 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2307 if test "x$LINE" != x
; then
2308 eval "DEFAULT_$LINE"
2313 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2318 eval "$ac_cv_use_zlib"
2319 if test "$no_cache" != 1; then
2320 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2323 if test "$wxUSE_ZLIB" = yes; then
2324 echo "$ac_t""yes" 1>&6
2325 elif test "$wxUSE_ZLIB" = no
; then
2326 echo "$ac_t""no" 1>&6
2327 elif test "$wxUSE_ZLIB" = sys
; then
2328 echo "$ac_t""system version" 1>&6
2329 elif test "$wxUSE_ZLIB" = builtin; then
2330 echo "$ac_t""builtin version" 1>&6
2332 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2336 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2337 echo "configure:2338: checking for --with-odbc" >&5
2339 # Check whether --with-odbc or --without-odbc was given.
2340 if test "${with_odbc+set}" = set; then
2341 withval
="$with_odbc"
2343 if test "$withval" = yes; then
2344 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2345 elif test "$withval" = no
; then
2346 ac_cv_use_odbc
='wxUSE_ODBC=no'
2347 elif test "$withval" = sys
; then
2348 ac_cv_use_odbc
='wxUSE_ODBC=sys'
2349 elif test "$withval" = builtin; then
2350 ac_cv_use_odbc
='wxUSE_ODBC=builtin'
2352 { echo "configure: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2357 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2358 if test "x$LINE" != x
; then
2359 eval "DEFAULT_$LINE"
2364 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2369 eval "$ac_cv_use_odbc"
2370 if test "$no_cache" != 1; then
2371 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2374 if test "$wxUSE_ODBC" = yes; then
2375 echo "$ac_t""yes" 1>&6
2376 elif test "$wxUSE_ODBC" = no
; then
2377 echo "$ac_t""no" 1>&6
2378 elif test "$wxUSE_ODBC" = sys
; then
2379 echo "$ac_t""system version" 1>&6
2380 elif test "$wxUSE_ODBC" = builtin; then
2381 echo "$ac_t""builtin version" 1>&6
2383 { echo "configure: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2390 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2391 echo "configure:2392: checking for --${enablestring:-enable}-shared" >&5
2393 # Check whether --enable-shared or --disable-shared was given.
2394 if test "${enable_shared+set}" = set; then
2395 enableval
="$enable_shared"
2397 if test "$enableval" = yes; then
2398 ac_cv_use_shared
='wxUSE_SHARED=yes'
2400 ac_cv_use_shared
='wxUSE_SHARED=no'
2405 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2406 if test "x$LINE" != x
; then
2407 eval "DEFAULT_$LINE"
2412 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2417 eval "$ac_cv_use_shared"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2422 if test "$wxUSE_SHARED" = yes; then
2423 echo "$ac_t""yes" 1>&6
2425 echo "$ac_t""no" 1>&6
2430 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2431 echo "configure:2432: checking for --${enablestring:-enable}-soname" >&5
2433 # Check whether --enable-soname or --disable-soname was given.
2434 if test "${enable_soname+set}" = set; then
2435 enableval
="$enable_soname"
2437 if test "$enableval" = yes; then
2438 ac_cv_use_soname
='wxUSE_SONAME=yes'
2440 ac_cv_use_soname
='wxUSE_SONAME=no'
2445 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2446 if test "x$LINE" != x
; then
2447 eval "DEFAULT_$LINE"
2452 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2457 eval "$ac_cv_use_soname"
2458 if test "$no_cache" != 1; then
2459 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2462 if test "$wxUSE_SONAME" = yes; then
2463 echo "$ac_t""yes" 1>&6
2465 echo "$ac_t""no" 1>&6
2470 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2471 echo "configure:2472: checking for --${enablestring:-enable}-optimise" >&5
2473 # Check whether --enable-optimise or --disable-optimise was given.
2474 if test "${enable_optimise+set}" = set; then
2475 enableval
="$enable_optimise"
2477 if test "$enableval" = yes; then
2478 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2480 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2485 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2486 if test "x$LINE" != x
; then
2487 eval "DEFAULT_$LINE"
2492 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2497 eval "$ac_cv_use_optimise"
2498 if test "$no_cache" != 1; then
2499 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2502 if test "$wxUSE_OPTIMISE" = yes; then
2503 echo "$ac_t""yes" 1>&6
2505 echo "$ac_t""no" 1>&6
2510 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2511 echo "configure:2512: checking for --${enablestring:-enable}-debug" >&5
2513 # Check whether --enable-debug or --disable-debug was given.
2514 if test "${enable_debug+set}" = set; then
2515 enableval
="$enable_debug"
2517 if test "$enableval" = yes; then
2518 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2520 ac_cv_use_debug
='wxUSE_DEBUG=no'
2525 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2526 if test "x$LINE" != x
; then
2527 eval "DEFAULT_$LINE"
2532 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2537 eval "$ac_cv_use_debug"
2538 if test "$no_cache" != 1; then
2539 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2542 if test "$wxUSE_DEBUG" = yes; then
2543 echo "$ac_t""yes" 1>&6
2545 echo "$ac_t""no" 1>&6
2551 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2552 echo "configure:2553: checking for --${enablestring:-enable}-precomp" >&5
2554 # Check whether --enable-precomp or --disable-precomp was given.
2555 if test "${enable_precomp+set}" = set; then
2556 enableval
="$enable_precomp"
2558 if test "$enableval" = yes; then
2559 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2561 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2566 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2567 if test "x$LINE" != x
; then
2568 eval "DEFAULT_$LINE"
2573 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2578 eval "$ac_cv_use_precomp"
2579 if test "$no_cache" != 1; then
2580 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2583 if test "$wxUSE_PRECOMP" = yes; then
2584 echo "$ac_t""yes" 1>&6
2586 echo "$ac_t""no" 1>&6
2590 if test "$wxUSE_DEBUG" = "yes"; then
2591 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2592 DEFAULT_wxUSE_DEBUG_INFO
=yes
2593 elif test "$wxUSE_DEBUG" = "no"; then
2594 DEFAULT_wxUSE_DEBUG_FLAG
=no
2595 DEFAULT_wxUSE_DEBUG_INFO
=no
2600 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2601 echo "configure:2602: checking for --${enablestring:-enable}-debug_flag" >&5
2603 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2604 if test "${enable_debug_flag+set}" = set; then
2605 enableval
="$enable_debug_flag"
2607 if test "$enableval" = yes; then
2608 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2610 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2615 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2616 if test "x$LINE" != x
; then
2617 eval "DEFAULT_$LINE"
2622 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2627 eval "$ac_cv_use_debug_flag"
2628 if test "$no_cache" != 1; then
2629 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2632 if test "$wxUSE_DEBUG_FLAG" = yes; then
2633 echo "$ac_t""yes" 1>&6
2635 echo "$ac_t""no" 1>&6
2640 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2641 echo "configure:2642: checking for --${enablestring:-enable}-debug_info" >&5
2643 # Check whether --enable-debug_info or --disable-debug_info was given.
2644 if test "${enable_debug_info+set}" = set; then
2645 enableval
="$enable_debug_info"
2647 if test "$enableval" = yes; then
2648 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2650 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2655 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2656 if test "x$LINE" != x
; then
2657 eval "DEFAULT_$LINE"
2662 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2667 eval "$ac_cv_use_debug_info"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2672 if test "$wxUSE_DEBUG_INFO" = yes; then
2673 echo "$ac_t""yes" 1>&6
2675 echo "$ac_t""no" 1>&6
2680 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2681 echo "configure:2682: checking for --${enablestring:-enable}-debug_gdb" >&5
2683 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2684 if test "${enable_debug_gdb+set}" = set; then
2685 enableval
="$enable_debug_gdb"
2687 if test "$enableval" = yes; then
2688 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2690 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2695 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x
; then
2697 eval "DEFAULT_$LINE"
2702 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2707 eval "$ac_cv_use_debug_gdb"
2708 if test "$no_cache" != 1; then
2709 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2712 if test "$wxUSE_DEBUG_GDB" = yes; then
2713 echo "$ac_t""yes" 1>&6
2715 echo "$ac_t""no" 1>&6
2720 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2721 echo "configure:2722: checking for --${enablestring:-enable}-debug_cntxt" >&5
2723 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2724 if test "${enable_debug_cntxt+set}" = set; then
2725 enableval
="$enable_debug_cntxt"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2730 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2735 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2747 eval "$ac_cv_use_debug_cntxt"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2753 echo "$ac_t""yes" 1>&6
2755 echo "$ac_t""no" 1>&6
2760 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2761 echo "configure:2762: checking for --${enablestring:-enable}-mem_tracing" >&5
2763 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2764 if test "${enable_mem_tracing+set}" = set; then
2765 enableval
="$enable_mem_tracing"
2767 if test "$enableval" = yes; then
2768 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2770 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2775 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x
; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2787 eval "$ac_cv_use_mem_tracing"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2792 if test "$wxUSE_MEM_TRACING" = yes; then
2793 echo "$ac_t""yes" 1>&6
2795 echo "$ac_t""no" 1>&6
2800 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2801 echo "configure:2802: checking for --${enablestring:-enable}-profile" >&5
2803 # Check whether --enable-profile or --disable-profile was given.
2804 if test "${enable_profile+set}" = set; then
2805 enableval
="$enable_profile"
2807 if test "$enableval" = yes; then
2808 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2810 ac_cv_use_profile
='wxUSE_PROFILE=no'
2815 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2816 if test "x$LINE" != x
; then
2817 eval "DEFAULT_$LINE"
2822 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2827 eval "$ac_cv_use_profile"
2828 if test "$no_cache" != 1; then
2829 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2832 if test "$wxUSE_PROFILE" = yes; then
2833 echo "$ac_t""yes" 1>&6
2835 echo "$ac_t""no" 1>&6
2840 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2841 echo "configure:2842: checking for --${enablestring:-enable}-no_rtti" >&5
2843 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2844 if test "${enable_no_rtti+set}" = set; then
2845 enableval
="$enable_no_rtti"
2847 if test "$enableval" = yes; then
2848 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2850 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2855 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2856 if test "x$LINE" != x
; then
2857 eval "DEFAULT_$LINE"
2862 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2867 eval "$ac_cv_use_no_rtti"
2868 if test "$no_cache" != 1; then
2869 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2872 if test "$wxUSE_NO_RTTI" = yes; then
2873 echo "$ac_t""yes" 1>&6
2875 echo "$ac_t""no" 1>&6
2880 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2881 echo "configure:2882: checking for --${enablestring:-enable}-no_exceptions" >&5
2883 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2884 if test "${enable_no_exceptions+set}" = set; then
2885 enableval
="$enable_no_exceptions"
2887 if test "$enableval" = yes; then
2888 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2890 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2895 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2896 if test "x$LINE" != x
; then
2897 eval "DEFAULT_$LINE"
2902 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2907 eval "$ac_cv_use_no_exceptions"
2908 if test "$no_cache" != 1; then
2909 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2912 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2913 echo "$ac_t""yes" 1>&6
2915 echo "$ac_t""no" 1>&6
2920 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2921 echo "configure:2922: checking for --${enablestring:-enable}-permissive" >&5
2923 # Check whether --enable-permissive or --disable-permissive was given.
2924 if test "${enable_permissive+set}" = set; then
2925 enableval
="$enable_permissive"
2927 if test "$enableval" = yes; then
2928 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2930 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2935 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2936 if test "x$LINE" != x
; then
2937 eval "DEFAULT_$LINE"
2942 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2947 eval "$ac_cv_use_permissive"
2948 if test "$no_cache" != 1; then
2949 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2952 if test "$wxUSE_PERMISSIVE" = yes; then
2953 echo "$ac_t""yes" 1>&6
2955 echo "$ac_t""no" 1>&6
2960 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2961 echo "configure:2962: checking for --${enablestring:-enable}-no_deps" >&5
2963 # Check whether --enable-no_deps or --disable-no_deps was given.
2964 if test "${enable_no_deps+set}" = set; then
2965 enableval
="$enable_no_deps"
2967 if test "$enableval" = yes; then
2968 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2970 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2975 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2976 if test "x$LINE" != x
; then
2977 eval "DEFAULT_$LINE"
2982 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2987 eval "$ac_cv_use_no_deps"
2988 if test "$no_cache" != 1; then
2989 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2992 if test "$wxUSE_NO_DEPS" = yes; then
2993 echo "$ac_t""yes" 1>&6
2995 echo "$ac_t""no" 1>&6
3001 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
3002 echo "configure:3003: checking for --${enablestring:-enable}-compat20" >&5
3004 # Check whether --enable-compat20 or --disable-compat20 was given.
3005 if test "${enable_compat20+set}" = set; then
3006 enableval
="$enable_compat20"
3008 if test "$enableval" = yes; then
3009 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
3011 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3016 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3017 if test "x$LINE" != x
; then
3018 eval "DEFAULT_$LINE"
3023 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3028 eval "$ac_cv_use_compat20"
3029 if test "$no_cache" != 1; then
3030 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3033 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3034 echo "$ac_t""yes" 1>&6
3036 echo "$ac_t""no" 1>&6
3041 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3042 echo "configure:3043: checking for --${enablestring:-enable}-compat22" >&5
3044 # Check whether --enable-compat22 or --disable-compat22 was given.
3045 if test "${enable_compat22+set}" = set; then
3046 enableval
="$enable_compat22"
3048 if test "$enableval" = yes; then
3049 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3051 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3056 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3068 eval "$ac_cv_use_compat22"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3073 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3074 echo "$ac_t""yes" 1>&6
3076 echo "$ac_t""no" 1>&6
3080 enablestring
=disable
3081 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3082 echo "configure:3083: checking for --${enablestring:-enable}-compat24" >&5
3084 # Check whether --enable-compat24 or --disable-compat24 was given.
3085 if test "${enable_compat24+set}" = set; then
3086 enableval
="$enable_compat24"
3088 if test "$enableval" = yes; then
3089 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3091 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3096 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3097 if test "x$LINE" != x
; then
3098 eval "DEFAULT_$LINE"
3103 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3108 eval "$ac_cv_use_compat24"
3109 if test "$no_cache" != 1; then
3110 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3113 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3114 echo "$ac_t""yes" 1>&6
3116 echo "$ac_t""no" 1>&6
3120 # Check whether --enable-rpath or --disable-rpath was given.
3121 if test "${enable_rpath+set}" = set; then
3122 enableval
="$enable_rpath"
3123 wxRPATH_DIR
="$enableval"
3127 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3128 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3135 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3136 echo "configure:3137: checking for --${enablestring:-enable}-intl" >&5
3138 # Check whether --enable-intl or --disable-intl was given.
3139 if test "${enable_intl+set}" = set; then
3140 enableval
="$enable_intl"
3142 if test "$enableval" = yes; then
3143 ac_cv_use_intl
='wxUSE_INTL=yes'
3145 ac_cv_use_intl
='wxUSE_INTL=no'
3150 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3151 if test "x$LINE" != x
; then
3152 eval "DEFAULT_$LINE"
3157 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3162 eval "$ac_cv_use_intl"
3163 if test "$no_cache" != 1; then
3164 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3167 if test "$wxUSE_INTL" = yes; then
3168 echo "$ac_t""yes" 1>&6
3170 echo "$ac_t""no" 1>&6
3175 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3176 echo "configure:3177: checking for --${enablestring:-enable}-config" >&5
3178 # Check whether --enable-config or --disable-config was given.
3179 if test "${enable_config+set}" = set; then
3180 enableval
="$enable_config"
3182 if test "$enableval" = yes; then
3183 ac_cv_use_config
='wxUSE_CONFIG=yes'
3185 ac_cv_use_config
='wxUSE_CONFIG=no'
3190 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3191 if test "x$LINE" != x
; then
3192 eval "DEFAULT_$LINE"
3197 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3202 eval "$ac_cv_use_config"
3203 if test "$no_cache" != 1; then
3204 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3207 if test "$wxUSE_CONFIG" = yes; then
3208 echo "$ac_t""yes" 1>&6
3210 echo "$ac_t""no" 1>&6
3216 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3217 echo "configure:3218: checking for --${enablestring:-enable}-protocols" >&5
3219 # Check whether --enable-protocols or --disable-protocols was given.
3220 if test "${enable_protocols+set}" = set; then
3221 enableval
="$enable_protocols"
3223 if test "$enableval" = yes; then
3224 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3226 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3231 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3232 if test "x$LINE" != x
; then
3233 eval "DEFAULT_$LINE"
3238 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3243 eval "$ac_cv_use_protocols"
3244 if test "$no_cache" != 1; then
3245 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3248 if test "$wxUSE_PROTOCOL" = yes; then
3249 echo "$ac_t""yes" 1>&6
3251 echo "$ac_t""no" 1>&6
3256 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3257 echo "configure:3258: checking for --${enablestring:-enable}-ftp" >&5
3259 # Check whether --enable-ftp or --disable-ftp was given.
3260 if test "${enable_ftp+set}" = set; then
3261 enableval
="$enable_ftp"
3263 if test "$enableval" = yes; then
3264 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3266 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3271 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x
; then
3273 eval "DEFAULT_$LINE"
3278 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3283 eval "$ac_cv_use_ftp"
3284 if test "$no_cache" != 1; then
3285 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3288 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3289 echo "$ac_t""yes" 1>&6
3291 echo "$ac_t""no" 1>&6
3296 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3297 echo "configure:3298: checking for --${enablestring:-enable}-http" >&5
3299 # Check whether --enable-http or --disable-http was given.
3300 if test "${enable_http+set}" = set; then
3301 enableval
="$enable_http"
3303 if test "$enableval" = yes; then
3304 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3306 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3311 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3312 if test "x$LINE" != x
; then
3313 eval "DEFAULT_$LINE"
3318 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3323 eval "$ac_cv_use_http"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3328 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3329 echo "$ac_t""yes" 1>&6
3331 echo "$ac_t""no" 1>&6
3336 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3337 echo "configure:3338: checking for --${enablestring:-enable}-fileproto" >&5
3339 # Check whether --enable-fileproto or --disable-fileproto was given.
3340 if test "${enable_fileproto+set}" = set; then
3341 enableval
="$enable_fileproto"
3343 if test "$enableval" = yes; then
3344 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3346 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3351 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3352 if test "x$LINE" != x
; then
3353 eval "DEFAULT_$LINE"
3358 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3363 eval "$ac_cv_use_fileproto"
3364 if test "$no_cache" != 1; then
3365 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3368 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3369 echo "$ac_t""yes" 1>&6
3371 echo "$ac_t""no" 1>&6
3376 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3377 echo "configure:3378: checking for --${enablestring:-enable}-sockets" >&5
3379 # Check whether --enable-sockets or --disable-sockets was given.
3380 if test "${enable_sockets+set}" = set; then
3381 enableval
="$enable_sockets"
3383 if test "$enableval" = yes; then
3384 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3386 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3391 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x
; then
3393 eval "DEFAULT_$LINE"
3398 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3403 eval "$ac_cv_use_sockets"
3404 if test "$no_cache" != 1; then
3405 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3408 if test "$wxUSE_SOCKETS" = yes; then
3409 echo "$ac_t""yes" 1>&6
3411 echo "$ac_t""no" 1>&6
3416 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3417 echo "configure:3418: checking for --${enablestring:-enable}-ole" >&5
3419 # Check whether --enable-ole or --disable-ole was given.
3420 if test "${enable_ole+set}" = set; then
3421 enableval
="$enable_ole"
3423 if test "$enableval" = yes; then
3424 ac_cv_use_ole
='wxUSE_OLE=yes'
3426 ac_cv_use_ole
='wxUSE_OLE=no'
3431 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3432 if test "x$LINE" != x
; then
3433 eval "DEFAULT_$LINE"
3438 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3443 eval "$ac_cv_use_ole"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3448 if test "$wxUSE_OLE" = yes; then
3449 echo "$ac_t""yes" 1>&6
3451 echo "$ac_t""no" 1>&6
3456 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3457 echo "configure:3458: checking for --${enablestring:-enable}-dataobj" >&5
3459 # Check whether --enable-dataobj or --disable-dataobj was given.
3460 if test "${enable_dataobj+set}" = set; then
3461 enableval
="$enable_dataobj"
3463 if test "$enableval" = yes; then
3464 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3466 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3471 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3472 if test "x$LINE" != x
; then
3473 eval "DEFAULT_$LINE"
3478 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3483 eval "$ac_cv_use_dataobj"
3484 if test "$no_cache" != 1; then
3485 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3488 if test "$wxUSE_DATAOBJ" = yes; then
3489 echo "$ac_t""yes" 1>&6
3491 echo "$ac_t""no" 1>&6
3497 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3498 echo "configure:3499: checking for --${enablestring:-enable}-ipc" >&5
3500 # Check whether --enable-ipc or --disable-ipc was given.
3501 if test "${enable_ipc+set}" = set; then
3502 enableval
="$enable_ipc"
3504 if test "$enableval" = yes; then
3505 ac_cv_use_ipc
='wxUSE_IPC=yes'
3507 ac_cv_use_ipc
='wxUSE_IPC=no'
3512 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3513 if test "x$LINE" != x
; then
3514 eval "DEFAULT_$LINE"
3519 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3524 eval "$ac_cv_use_ipc"
3525 if test "$no_cache" != 1; then
3526 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3529 if test "$wxUSE_IPC" = yes; then
3530 echo "$ac_t""yes" 1>&6
3532 echo "$ac_t""no" 1>&6
3538 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3539 echo "configure:3540: checking for --${enablestring:-enable}-cmdline" >&5
3541 # Check whether --enable-cmdline or --disable-cmdline was given.
3542 if test "${enable_cmdline+set}" = set; then
3543 enableval
="$enable_cmdline"
3545 if test "$enableval" = yes; then
3546 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3548 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3553 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3554 if test "x$LINE" != x
; then
3555 eval "DEFAULT_$LINE"
3560 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3565 eval "$ac_cv_use_cmdline"
3566 if test "$no_cache" != 1; then
3567 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3570 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3571 echo "$ac_t""yes" 1>&6
3573 echo "$ac_t""no" 1>&6
3578 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3579 echo "configure:3580: checking for --${enablestring:-enable}-datetime" >&5
3581 # Check whether --enable-datetime or --disable-datetime was given.
3582 if test "${enable_datetime+set}" = set; then
3583 enableval
="$enable_datetime"
3585 if test "$enableval" = yes; then
3586 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3588 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3593 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3594 if test "x$LINE" != x
; then
3595 eval "DEFAULT_$LINE"
3600 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3605 eval "$ac_cv_use_datetime"
3606 if test "$no_cache" != 1; then
3607 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3610 if test "$wxUSE_DATETIME" = yes; then
3611 echo "$ac_t""yes" 1>&6
3613 echo "$ac_t""no" 1>&6
3618 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3619 echo "configure:3620: checking for --${enablestring:-enable}-stopwatch" >&5
3621 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3622 if test "${enable_stopwatch+set}" = set; then
3623 enableval
="$enable_stopwatch"
3625 if test "$enableval" = yes; then
3626 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3628 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3633 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x
; then
3635 eval "DEFAULT_$LINE"
3640 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3645 eval "$ac_cv_use_stopwatch"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3650 if test "$wxUSE_STOPWATCH" = yes; then
3651 echo "$ac_t""yes" 1>&6
3653 echo "$ac_t""no" 1>&6
3658 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3659 echo "configure:3660: checking for --${enablestring:-enable}-dialupman" >&5
3661 # Check whether --enable-dialupman or --disable-dialupman was given.
3662 if test "${enable_dialupman+set}" = set; then
3663 enableval
="$enable_dialupman"
3665 if test "$enableval" = yes; then
3666 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3668 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3673 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3674 if test "x$LINE" != x
; then
3675 eval "DEFAULT_$LINE"
3680 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3685 eval "$ac_cv_use_dialupman"
3686 if test "$no_cache" != 1; then
3687 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3690 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3691 echo "$ac_t""yes" 1>&6
3693 echo "$ac_t""no" 1>&6
3698 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3699 echo "configure:3700: checking for --${enablestring:-enable}-apple_ieee" >&5
3701 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3702 if test "${enable_apple_ieee+set}" = set; then
3703 enableval
="$enable_apple_ieee"
3705 if test "$enableval" = yes; then
3706 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3708 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3713 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3714 if test "x$LINE" != x
; then
3715 eval "DEFAULT_$LINE"
3720 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3725 eval "$ac_cv_use_apple_ieee"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3730 if test "$wxUSE_APPLE_IEEE" = yes; then
3731 echo "$ac_t""yes" 1>&6
3733 echo "$ac_t""no" 1>&6
3738 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3739 echo "configure:3740: checking for --${enablestring:-enable}-timer" >&5
3741 # Check whether --enable-timer or --disable-timer was given.
3742 if test "${enable_timer+set}" = set; then
3743 enableval
="$enable_timer"
3745 if test "$enableval" = yes; then
3746 ac_cv_use_timer
='wxUSE_TIMER=yes'
3748 ac_cv_use_timer
='wxUSE_TIMER=no'
3753 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3754 if test "x$LINE" != x
; then
3755 eval "DEFAULT_$LINE"
3760 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3765 eval "$ac_cv_use_timer"
3766 if test "$no_cache" != 1; then
3767 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3770 if test "$wxUSE_TIMER" = yes; then
3771 echo "$ac_t""yes" 1>&6
3773 echo "$ac_t""no" 1>&6
3778 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3779 echo "configure:3780: checking for --${enablestring:-enable}-wave" >&5
3781 # Check whether --enable-wave or --disable-wave was given.
3782 if test "${enable_wave+set}" = set; then
3783 enableval
="$enable_wave"
3785 if test "$enableval" = yes; then
3786 ac_cv_use_wave
='wxUSE_WAVE=yes'
3788 ac_cv_use_wave
='wxUSE_WAVE=no'
3793 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3794 if test "x$LINE" != x
; then
3795 eval "DEFAULT_$LINE"
3800 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3805 eval "$ac_cv_use_wave"
3806 if test "$no_cache" != 1; then
3807 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3810 if test "$wxUSE_WAVE" = yes; then
3811 echo "$ac_t""yes" 1>&6
3813 echo "$ac_t""no" 1>&6
3818 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3819 echo "configure:3820: checking for --${enablestring:-enable}-fraction" >&5
3821 # Check whether --enable-fraction or --disable-fraction was given.
3822 if test "${enable_fraction+set}" = set; then
3823 enableval
="$enable_fraction"
3825 if test "$enableval" = yes; then
3826 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3828 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3833 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3834 if test "x$LINE" != x
; then
3835 eval "DEFAULT_$LINE"
3840 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3845 eval "$ac_cv_use_fraction"
3846 if test "$no_cache" != 1; then
3847 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3850 if test "$wxUSE_FRACTION" = yes; then
3851 echo "$ac_t""yes" 1>&6
3853 echo "$ac_t""no" 1>&6
3858 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3859 echo "configure:3860: checking for --${enablestring:-enable}-dynlib" >&5
3861 # Check whether --enable-dynlib or --disable-dynlib was given.
3862 if test "${enable_dynlib+set}" = set; then
3863 enableval
="$enable_dynlib"
3865 if test "$enableval" = yes; then
3866 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3868 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3873 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x
; then
3875 eval "DEFAULT_$LINE"
3880 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3885 eval "$ac_cv_use_dynlib"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3891 echo "$ac_t""yes" 1>&6
3893 echo "$ac_t""no" 1>&6
3898 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3899 echo "configure:3900: checking for --${enablestring:-enable}-dynamicloader" >&5
3901 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3902 if test "${enable_dynamicloader+set}" = set; then
3903 enableval
="$enable_dynamicloader"
3905 if test "$enableval" = yes; then
3906 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3908 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3913 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3914 if test "x$LINE" != x
; then
3915 eval "DEFAULT_$LINE"
3920 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3925 eval "$ac_cv_use_dynamicloader"
3926 if test "$no_cache" != 1; then
3927 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3930 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3931 echo "$ac_t""yes" 1>&6
3933 echo "$ac_t""no" 1>&6
3938 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3939 echo "configure:3940: checking for --${enablestring:-enable}-longlong" >&5
3941 # Check whether --enable-longlong or --disable-longlong was given.
3942 if test "${enable_longlong+set}" = set; then
3943 enableval
="$enable_longlong"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3948 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3953 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3965 eval "$ac_cv_use_longlong"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_LONGLONG" = yes; then
3971 echo "$ac_t""yes" 1>&6
3973 echo "$ac_t""no" 1>&6
3978 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3979 echo "configure:3980: checking for --${enablestring:-enable}-geometry" >&5
3981 # Check whether --enable-geometry or --disable-geometry was given.
3982 if test "${enable_geometry+set}" = set; then
3983 enableval
="$enable_geometry"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3988 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3993 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x
; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
4005 eval "$ac_cv_use_geometry"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_GEOMETRY" = yes; then
4011 echo "$ac_t""yes" 1>&6
4013 echo "$ac_t""no" 1>&6
4018 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4019 echo "configure:4020: checking for --${enablestring:-enable}-log" >&5
4021 # Check whether --enable-log or --disable-log was given.
4022 if test "${enable_log+set}" = set; then
4023 enableval
="$enable_log"
4025 if test "$enableval" = yes; then
4026 ac_cv_use_log
='wxUSE_LOG=yes'
4028 ac_cv_use_log
='wxUSE_LOG=no'
4033 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x
; then
4035 eval "DEFAULT_$LINE"
4040 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4045 eval "$ac_cv_use_log"
4046 if test "$no_cache" != 1; then
4047 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4050 if test "$wxUSE_LOG" = yes; then
4051 echo "$ac_t""yes" 1>&6
4053 echo "$ac_t""no" 1>&6
4058 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4059 echo "configure:4060: checking for --${enablestring:-enable}-streams" >&5
4061 # Check whether --enable-streams or --disable-streams was given.
4062 if test "${enable_streams+set}" = set; then
4063 enableval
="$enable_streams"
4065 if test "$enableval" = yes; then
4066 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4068 ac_cv_use_streams
='wxUSE_STREAMS=no'
4073 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4074 if test "x$LINE" != x
; then
4075 eval "DEFAULT_$LINE"
4080 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4085 eval "$ac_cv_use_streams"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4090 if test "$wxUSE_STREAMS" = yes; then
4091 echo "$ac_t""yes" 1>&6
4093 echo "$ac_t""no" 1>&6
4098 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4099 echo "configure:4100: checking for --${enablestring:-enable}-file" >&5
4101 # Check whether --enable-file or --disable-file was given.
4102 if test "${enable_file+set}" = set; then
4103 enableval
="$enable_file"
4105 if test "$enableval" = yes; then
4106 ac_cv_use_file
='wxUSE_FILE=yes'
4108 ac_cv_use_file
='wxUSE_FILE=no'
4113 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x
; then
4115 eval "DEFAULT_$LINE"
4120 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4125 eval "$ac_cv_use_file"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4130 if test "$wxUSE_FILE" = yes; then
4131 echo "$ac_t""yes" 1>&6
4133 echo "$ac_t""no" 1>&6
4138 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4139 echo "configure:4140: checking for --${enablestring:-enable}-ffile" >&5
4141 # Check whether --enable-ffile or --disable-ffile was given.
4142 if test "${enable_ffile+set}" = set; then
4143 enableval
="$enable_ffile"
4145 if test "$enableval" = yes; then
4146 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4148 ac_cv_use_ffile
='wxUSE_FFILE=no'
4153 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4154 if test "x$LINE" != x
; then
4155 eval "DEFAULT_$LINE"
4160 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4165 eval "$ac_cv_use_ffile"
4166 if test "$no_cache" != 1; then
4167 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4170 if test "$wxUSE_FFILE" = yes; then
4171 echo "$ac_t""yes" 1>&6
4173 echo "$ac_t""no" 1>&6
4178 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4179 echo "configure:4180: checking for --${enablestring:-enable}-textbuf" >&5
4181 # Check whether --enable-textbuf or --disable-textbuf was given.
4182 if test "${enable_textbuf+set}" = set; then
4183 enableval
="$enable_textbuf"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4188 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4193 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x
; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4205 eval "$ac_cv_use_textbuf"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_TEXTBUFFER" = yes; then
4211 echo "$ac_t""yes" 1>&6
4213 echo "$ac_t""no" 1>&6
4218 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4219 echo "configure:4220: checking for --${enablestring:-enable}-textfile" >&5
4221 # Check whether --enable-textfile or --disable-textfile was given.
4222 if test "${enable_textfile+set}" = set; then
4223 enableval
="$enable_textfile"
4225 if test "$enableval" = yes; then
4226 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4228 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4233 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4234 if test "x$LINE" != x
; then
4235 eval "DEFAULT_$LINE"
4240 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4245 eval "$ac_cv_use_textfile"
4246 if test "$no_cache" != 1; then
4247 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4250 if test "$wxUSE_TEXTFILE" = yes; then
4251 echo "$ac_t""yes" 1>&6
4253 echo "$ac_t""no" 1>&6
4258 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4259 echo "configure:4260: checking for --${enablestring:-enable}-fontmap" >&5
4261 # Check whether --enable-fontmap or --disable-fontmap was given.
4262 if test "${enable_fontmap+set}" = set; then
4263 enableval
="$enable_fontmap"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4268 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4273 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x
; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4285 eval "$ac_cv_use_fontmap"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_FONTMAP" = yes; then
4291 echo "$ac_t""yes" 1>&6
4293 echo "$ac_t""no" 1>&6
4298 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4299 echo "configure:4300: checking for --${enablestring:-enable}-unicode" >&5
4301 # Check whether --enable-unicode or --disable-unicode was given.
4302 if test "${enable_unicode+set}" = set; then
4303 enableval
="$enable_unicode"
4305 if test "$enableval" = yes; then
4306 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4308 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4313 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x
; then
4315 eval "DEFAULT_$LINE"
4320 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4325 eval "$ac_cv_use_unicode"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4330 if test "$wxUSE_UNICODE" = yes; then
4331 echo "$ac_t""yes" 1>&6
4333 echo "$ac_t""no" 1>&6
4338 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4339 echo "configure:4340: checking for --${enablestring:-enable}-mslu" >&5
4341 # Check whether --enable-mslu or --disable-mslu was given.
4342 if test "${enable_mslu+set}" = set; then
4343 enableval
="$enable_mslu"
4345 if test "$enableval" = yes; then
4346 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4348 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4353 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4354 if test "x$LINE" != x
; then
4355 eval "DEFAULT_$LINE"
4360 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4365 eval "$ac_cv_use_mslu"
4366 if test "$no_cache" != 1; then
4367 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4370 if test "$wxUSE_UNICODE_MSLU" = yes; then
4371 echo "$ac_t""yes" 1>&6
4373 echo "$ac_t""no" 1>&6
4378 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4379 echo "configure:4380: checking for --${enablestring:-enable}-wxprintfv" >&5
4381 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4382 if test "${enable_wxprintfv+set}" = set; then
4383 enableval
="$enable_wxprintfv"
4385 if test "$enableval" = yes; then
4386 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4388 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4393 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4394 if test "x$LINE" != x
; then
4395 eval "DEFAULT_$LINE"
4400 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4405 eval "$ac_cv_use_wxprintfv"
4406 if test "$no_cache" != 1; then
4407 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4410 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4411 echo "$ac_t""yes" 1>&6
4413 echo "$ac_t""no" 1>&6
4418 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4419 echo "configure:4420: checking for --${enablestring:-enable}-std_iostreams" >&5
4421 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4422 if test "${enable_std_iostreams+set}" = set; then
4423 enableval
="$enable_std_iostreams"
4425 if test "$enableval" = yes; then
4426 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4428 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4433 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x
; then
4435 eval "DEFAULT_$LINE"
4440 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4445 eval "$ac_cv_use_std_iostreams"
4446 if test "$no_cache" != 1; then
4447 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4450 if test "$wxUSE_STD_IOSTREAM" = yes; then
4451 echo "$ac_t""yes" 1>&6
4453 echo "$ac_t""no" 1>&6
4458 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4459 echo "configure:4460: checking for --${enablestring:-enable}-filesystem" >&5
4461 # Check whether --enable-filesystem or --disable-filesystem was given.
4462 if test "${enable_filesystem+set}" = set; then
4463 enableval
="$enable_filesystem"
4465 if test "$enableval" = yes; then
4466 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4468 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4473 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4474 if test "x$LINE" != x
; then
4475 eval "DEFAULT_$LINE"
4480 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4485 eval "$ac_cv_use_filesystem"
4486 if test "$no_cache" != 1; then
4487 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4490 if test "$wxUSE_FILESYSTEM" = yes; then
4491 echo "$ac_t""yes" 1>&6
4493 echo "$ac_t""no" 1>&6
4498 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4499 echo "configure:4500: checking for --${enablestring:-enable}-fs_inet" >&5
4501 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4502 if test "${enable_fs_inet+set}" = set; then
4503 enableval
="$enable_fs_inet"
4505 if test "$enableval" = yes; then
4506 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4508 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4513 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4514 if test "x$LINE" != x
; then
4515 eval "DEFAULT_$LINE"
4520 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4525 eval "$ac_cv_use_fs_inet"
4526 if test "$no_cache" != 1; then
4527 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4530 if test "$wxUSE_FS_INET" = yes; then
4531 echo "$ac_t""yes" 1>&6
4533 echo "$ac_t""no" 1>&6
4538 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4539 echo "configure:4540: checking for --${enablestring:-enable}-fs_zip" >&5
4541 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4542 if test "${enable_fs_zip+set}" = set; then
4543 enableval
="$enable_fs_zip"
4545 if test "$enableval" = yes; then
4546 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4548 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4553 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x
; then
4555 eval "DEFAULT_$LINE"
4560 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4565 eval "$ac_cv_use_fs_zip"
4566 if test "$no_cache" != 1; then
4567 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4570 if test "$wxUSE_FS_ZIP" = yes; then
4571 echo "$ac_t""yes" 1>&6
4573 echo "$ac_t""no" 1>&6
4578 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4579 echo "configure:4580: checking for --${enablestring:-enable}-zipstream" >&5
4581 # Check whether --enable-zipstream or --disable-zipstream was given.
4582 if test "${enable_zipstream+set}" = set; then
4583 enableval
="$enable_zipstream"
4585 if test "$enableval" = yes; then
4586 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4588 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4593 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4600 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4605 eval "$ac_cv_use_zipstream"
4606 if test "$no_cache" != 1; then
4607 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4610 if test "$wxUSE_ZIPSTREAM" = yes; then
4611 echo "$ac_t""yes" 1>&6
4613 echo "$ac_t""no" 1>&6
4619 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4620 echo "configure:4621: checking for --${enablestring:-enable}-catch_segvs" >&5
4622 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4623 if test "${enable_catch_segvs+set}" = set; then
4624 enableval
="$enable_catch_segvs"
4626 if test "$enableval" = yes; then
4627 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4629 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4634 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x
; then
4636 eval "DEFAULT_$LINE"
4641 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4646 eval "$ac_cv_use_catch_segvs"
4647 if test "$no_cache" != 1; then
4648 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4651 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4652 echo "$ac_t""yes" 1>&6
4654 echo "$ac_t""no" 1>&6
4659 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4660 echo "configure:4661: checking for --${enablestring:-enable}-snglinst" >&5
4662 # Check whether --enable-snglinst or --disable-snglinst was given.
4663 if test "${enable_snglinst+set}" = set; then
4664 enableval
="$enable_snglinst"
4666 if test "$enableval" = yes; then
4667 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4669 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4674 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4675 if test "x$LINE" != x
; then
4676 eval "DEFAULT_$LINE"
4681 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4686 eval "$ac_cv_use_snglinst"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4691 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4692 echo "$ac_t""yes" 1>&6
4694 echo "$ac_t""no" 1>&6
4700 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4701 echo "configure:4702: checking for --${enablestring:-enable}-mimetype" >&5
4703 # Check whether --enable-mimetype or --disable-mimetype was given.
4704 if test "${enable_mimetype+set}" = set; then
4705 enableval
="$enable_mimetype"
4707 if test "$enableval" = yes; then
4708 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4710 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4715 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x
; then
4717 eval "DEFAULT_$LINE"
4722 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4727 eval "$ac_cv_use_mimetype"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_MIMETYPE" = yes; then
4733 echo "$ac_t""yes" 1>&6
4735 echo "$ac_t""no" 1>&6
4740 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4741 echo "configure:4742: checking for --${enablestring:-enable}-system_options" >&5
4743 # Check whether --enable-system_options or --disable-system_options was given.
4744 if test "${enable_system_options+set}" = set; then
4745 enableval
="$enable_system_options"
4747 if test "$enableval" = yes; then
4748 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4750 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4755 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4756 if test "x$LINE" != x
; then
4757 eval "DEFAULT_$LINE"
4762 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4767 eval "$ac_cv_use_system_options"
4768 if test "$no_cache" != 1; then
4769 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4772 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4773 echo "$ac_t""yes" 1>&6
4775 echo "$ac_t""no" 1>&6
4781 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4782 echo "configure:4783: checking for --${enablestring:-enable}-url" >&5
4784 # Check whether --enable-url or --disable-url was given.
4785 if test "${enable_url+set}" = set; then
4786 enableval
="$enable_url"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_url
='wxUSE_URL=yes'
4791 ac_cv_use_url
='wxUSE_URL=no'
4796 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4808 eval "$ac_cv_use_url"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4813 if test "$wxUSE_URL" = yes; then
4814 echo "$ac_t""yes" 1>&6
4816 echo "$ac_t""no" 1>&6
4821 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4822 echo "configure:4823: checking for --${enablestring:-enable}-protocol" >&5
4824 # Check whether --enable-protocol or --disable-protocol was given.
4825 if test "${enable_protocol+set}" = set; then
4826 enableval
="$enable_protocol"
4828 if test "$enableval" = yes; then
4829 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4831 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4836 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x
; then
4838 eval "DEFAULT_$LINE"
4843 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4848 eval "$ac_cv_use_protocol"
4849 if test "$no_cache" != 1; then
4850 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4853 if test "$wxUSE_PROTOCOL" = yes; then
4854 echo "$ac_t""yes" 1>&6
4856 echo "$ac_t""no" 1>&6
4861 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4862 echo "configure:4863: checking for --${enablestring:-enable}-protocol_http" >&5
4864 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4865 if test "${enable_protocol_http+set}" = set; then
4866 enableval
="$enable_protocol_http"
4868 if test "$enableval" = yes; then
4869 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4871 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4876 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4883 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4888 eval "$ac_cv_use_protocol_http"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4893 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4894 echo "$ac_t""yes" 1>&6
4896 echo "$ac_t""no" 1>&6
4901 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4902 echo "configure:4903: checking for --${enablestring:-enable}-protocol_ftp" >&5
4904 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4905 if test "${enable_protocol_ftp+set}" = set; then
4906 enableval
="$enable_protocol_ftp"
4908 if test "$enableval" = yes; then
4909 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4911 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4916 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4917 if test "x$LINE" != x
; then
4918 eval "DEFAULT_$LINE"
4923 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4928 eval "$ac_cv_use_protocol_ftp"
4929 if test "$no_cache" != 1; then
4930 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4933 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4934 echo "$ac_t""yes" 1>&6
4936 echo "$ac_t""no" 1>&6
4941 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4942 echo "configure:4943: checking for --${enablestring:-enable}-protocol_file" >&5
4944 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4945 if test "${enable_protocol_file+set}" = set; then
4946 enableval
="$enable_protocol_file"
4948 if test "$enableval" = yes; then
4949 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4951 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4956 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4957 if test "x$LINE" != x
; then
4958 eval "DEFAULT_$LINE"
4963 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4968 eval "$ac_cv_use_protocol_file"
4969 if test "$no_cache" != 1; then
4970 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4973 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4974 echo "$ac_t""yes" 1>&6
4976 echo "$ac_t""no" 1>&6
4984 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4985 echo "configure:4986: checking for --${enablestring:-enable}-threads" >&5
4987 # Check whether --enable-threads or --disable-threads was given.
4988 if test "${enable_threads+set}" = set; then
4989 enableval
="$enable_threads"
4991 if test "$enableval" = yes; then
4992 ac_cv_use_threads
='wxUSE_THREADS=yes'
4994 ac_cv_use_threads
='wxUSE_THREADS=no'
4999 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
5000 if test "x$LINE" != x
; then
5001 eval "DEFAULT_$LINE"
5006 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
5011 eval "$ac_cv_use_threads"
5012 if test "$no_cache" != 1; then
5013 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5016 if test "$wxUSE_THREADS" = yes; then
5017 echo "$ac_t""yes" 1>&6
5019 echo "$ac_t""no" 1>&6
5023 if test "$wxUSE_GUI" = "yes"; then
5028 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5029 echo "configure:5030: checking for --${enablestring:-enable}-docview" >&5
5031 # Check whether --enable-docview or --disable-docview was given.
5032 if test "${enable_docview+set}" = set; then
5033 enableval
="$enable_docview"
5035 if test "$enableval" = yes; then
5036 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5038 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5043 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x
; then
5045 eval "DEFAULT_$LINE"
5050 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5055 eval "$ac_cv_use_docview"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5061 echo "$ac_t""yes" 1>&6
5063 echo "$ac_t""no" 1>&6
5068 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5069 echo "configure:5070: checking for --${enablestring:-enable}-help" >&5
5071 # Check whether --enable-help or --disable-help was given.
5072 if test "${enable_help+set}" = set; then
5073 enableval
="$enable_help"
5075 if test "$enableval" = yes; then
5076 ac_cv_use_help
='wxUSE_HELP=yes'
5078 ac_cv_use_help
='wxUSE_HELP=no'
5083 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5084 if test "x$LINE" != x
; then
5085 eval "DEFAULT_$LINE"
5090 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5095 eval "$ac_cv_use_help"
5096 if test "$no_cache" != 1; then
5097 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5100 if test "$wxUSE_HELP" = yes; then
5101 echo "$ac_t""yes" 1>&6
5103 echo "$ac_t""no" 1>&6
5108 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5109 echo "configure:5110: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5111 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5112 if test "${enable_mshtmlhelp+set}" = set; then
5113 enableval
="$enable_mshtmlhelp"
5115 if test "$enableval" = yes; then
5116 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5118 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5123 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5124 if test "x$LINE" != x
; then
5125 eval "DEFAULT_$LINE"
5130 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5135 eval "$ac_cv_use_mshtmlhelp"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5140 if test "$wxUSE_MS_HTML_HELP" = yes; then
5141 echo "$ac_t""yes" 1>&6
5143 echo "$ac_t""no" 1>&6
5148 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5149 echo "configure:5150: checking for --${enablestring:-enable}-html" >&5
5151 # Check whether --enable-html or --disable-html was given.
5152 if test "${enable_html+set}" = set; then
5153 enableval
="$enable_html"
5155 if test "$enableval" = yes; then
5156 ac_cv_use_html
='wxUSE_HTML=yes'
5158 ac_cv_use_html
='wxUSE_HTML=no'
5163 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5164 if test "x$LINE" != x
; then
5165 eval "DEFAULT_$LINE"
5170 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5175 eval "$ac_cv_use_html"
5176 if test "$no_cache" != 1; then
5177 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5180 if test "$wxUSE_HTML" = yes; then
5181 echo "$ac_t""yes" 1>&6
5183 echo "$ac_t""no" 1>&6
5188 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5189 echo "configure:5190: checking for --${enablestring:-enable}-htmlhelp" >&5
5191 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5192 if test "${enable_htmlhelp+set}" = set; then
5193 enableval
="$enable_htmlhelp"
5195 if test "$enableval" = yes; then
5196 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5198 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5203 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5204 if test "x$LINE" != x
; then
5205 eval "DEFAULT_$LINE"
5210 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5215 eval "$ac_cv_use_htmlhelp"
5216 if test "$no_cache" != 1; then
5217 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5220 if test "$wxUSE_WXHTML_HELP" = yes; then
5221 echo "$ac_t""yes" 1>&6
5223 echo "$ac_t""no" 1>&6
5228 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5229 echo "configure:5230: checking for --${enablestring:-enable}-constraints" >&5
5231 # Check whether --enable-constraints or --disable-constraints was given.
5232 if test "${enable_constraints+set}" = set; then
5233 enableval
="$enable_constraints"
5235 if test "$enableval" = yes; then
5236 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5238 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5243 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5244 if test "x$LINE" != x
; then
5245 eval "DEFAULT_$LINE"
5250 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5255 eval "$ac_cv_use_constraints"
5256 if test "$no_cache" != 1; then
5257 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5260 if test "$wxUSE_CONSTRAINTS" = yes; then
5261 echo "$ac_t""yes" 1>&6
5263 echo "$ac_t""no" 1>&6
5268 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5269 echo "configure:5270: checking for --${enablestring:-enable}-printarch" >&5
5271 # Check whether --enable-printarch or --disable-printarch was given.
5272 if test "${enable_printarch+set}" = set; then
5273 enableval
="$enable_printarch"
5275 if test "$enableval" = yes; then
5276 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5278 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5283 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5284 if test "x$LINE" != x
; then
5285 eval "DEFAULT_$LINE"
5290 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5295 eval "$ac_cv_use_printarch"
5296 if test "$no_cache" != 1; then
5297 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5300 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5301 echo "$ac_t""yes" 1>&6
5303 echo "$ac_t""no" 1>&6
5308 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5309 echo "configure:5310: checking for --${enablestring:-enable}-mdi" >&5
5311 # Check whether --enable-mdi or --disable-mdi was given.
5312 if test "${enable_mdi+set}" = set; then
5313 enableval
="$enable_mdi"
5315 if test "$enableval" = yes; then
5316 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5318 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5323 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5324 if test "x$LINE" != x
; then
5325 eval "DEFAULT_$LINE"
5330 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5335 eval "$ac_cv_use_mdi"
5336 if test "$no_cache" != 1; then
5337 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5340 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5341 echo "$ac_t""yes" 1>&6
5343 echo "$ac_t""no" 1>&6
5348 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5349 echo "configure:5350: checking for --${enablestring:-enable}-loggui" >&5
5351 # Check whether --enable-loggui or --disable-loggui was given.
5352 if test "${enable_loggui+set}" = set; then
5353 enableval
="$enable_loggui"
5355 if test "$enableval" = yes; then
5356 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5358 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5363 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5364 if test "x$LINE" != x
; then
5365 eval "DEFAULT_$LINE"
5370 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5375 eval "$ac_cv_use_loggui"
5376 if test "$no_cache" != 1; then
5377 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5380 if test "$wxUSE_LOGGUI" = yes; then
5381 echo "$ac_t""yes" 1>&6
5383 echo "$ac_t""no" 1>&6
5388 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5389 echo "configure:5390: checking for --${enablestring:-enable}-logwin" >&5
5391 # Check whether --enable-logwin or --disable-logwin was given.
5392 if test "${enable_logwin+set}" = set; then
5393 enableval
="$enable_logwin"
5395 if test "$enableval" = yes; then
5396 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5398 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5403 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5404 if test "x$LINE" != x
; then
5405 eval "DEFAULT_$LINE"
5410 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5415 eval "$ac_cv_use_logwin"
5416 if test "$no_cache" != 1; then
5417 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5420 if test "$wxUSE_LOGWINDOW" = yes; then
5421 echo "$ac_t""yes" 1>&6
5423 echo "$ac_t""no" 1>&6
5428 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5429 echo "configure:5430: checking for --${enablestring:-enable}-logdialog" >&5
5431 # Check whether --enable-logdialog or --disable-logdialog was given.
5432 if test "${enable_logdialog+set}" = set; then
5433 enableval
="$enable_logdialog"
5435 if test "$enableval" = yes; then
5436 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5438 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5443 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x
; then
5445 eval "DEFAULT_$LINE"
5450 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5455 eval "$ac_cv_use_logdialog"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5460 if test "$wxUSE_LOGDIALOG" = yes; then
5461 echo "$ac_t""yes" 1>&6
5463 echo "$ac_t""no" 1>&6
5469 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5470 echo "configure:5471: checking for --${enablestring:-enable}-postscript" >&5
5472 # Check whether --enable-postscript or --disable-postscript was given.
5473 if test "${enable_postscript+set}" = set; then
5474 enableval
="$enable_postscript"
5476 if test "$enableval" = yes; then
5477 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5479 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5484 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x
; then
5486 eval "DEFAULT_$LINE"
5491 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5496 eval "$ac_cv_use_postscript"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5501 if test "$wxUSE_POSTSCRIPT" = yes; then
5502 echo "$ac_t""yes" 1>&6
5504 echo "$ac_t""no" 1>&6
5512 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5513 echo "configure:5514: checking for --${enablestring:-enable}-resources" >&5
5515 # Check whether --enable-resources or --disable-resources was given.
5516 if test "${enable_resources+set}" = set; then
5517 enableval
="$enable_resources"
5519 if test "$enableval" = yes; then
5520 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5522 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5527 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5528 if test "x$LINE" != x
; then
5529 eval "DEFAULT_$LINE"
5534 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5539 eval "$ac_cv_use_resources"
5540 if test "$no_cache" != 1; then
5541 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5544 if test "$wxUSE_RESOURCES" = yes; then
5545 echo "$ac_t""yes" 1>&6
5547 echo "$ac_t""no" 1>&6
5553 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5554 echo "configure:5555: checking for --${enablestring:-enable}-xresources" >&5
5556 # Check whether --enable-xresources or --disable-xresources was given.
5557 if test "${enable_xresources+set}" = set; then
5558 enableval
="$enable_xresources"
5560 if test "$enableval" = yes; then
5561 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5563 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5568 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5569 if test "x$LINE" != x
; then
5570 eval "DEFAULT_$LINE"
5575 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5580 eval "$ac_cv_use_xresources"
5581 if test "$no_cache" != 1; then
5582 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5585 if test "$wxUSE_X_RESOURCES" = yes; then
5586 echo "$ac_t""yes" 1>&6
5588 echo "$ac_t""no" 1>&6
5595 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5596 echo "configure:5597: checking for --${enablestring:-enable}-clipboard" >&5
5598 # Check whether --enable-clipboard or --disable-clipboard was given.
5599 if test "${enable_clipboard+set}" = set; then
5600 enableval
="$enable_clipboard"
5602 if test "$enableval" = yes; then
5603 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5605 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5610 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5611 if test "x$LINE" != x
; then
5612 eval "DEFAULT_$LINE"
5617 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5622 eval "$ac_cv_use_clipboard"
5623 if test "$no_cache" != 1; then
5624 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5627 if test "$wxUSE_CLIPBOARD" = yes; then
5628 echo "$ac_t""yes" 1>&6
5630 echo "$ac_t""no" 1>&6
5635 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5636 echo "configure:5637: checking for --${enablestring:-enable}-dnd" >&5
5638 # Check whether --enable-dnd or --disable-dnd was given.
5639 if test "${enable_dnd+set}" = set; then
5640 enableval
="$enable_dnd"
5642 if test "$enableval" = yes; then
5643 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5645 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5650 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x
; then
5652 eval "DEFAULT_$LINE"
5657 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5662 eval "$ac_cv_use_dnd"
5663 if test "$no_cache" != 1; then
5664 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5667 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5668 echo "$ac_t""yes" 1>&6
5670 echo "$ac_t""no" 1>&6
5675 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5676 echo "configure:5677: checking for --${enablestring:-enable}-metafile" >&5
5678 # Check whether --enable-metafile or --disable-metafile was given.
5679 if test "${enable_metafile+set}" = set; then
5680 enableval
="$enable_metafile"
5682 if test "$enableval" = yes; then
5683 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5685 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5690 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5691 if test "x$LINE" != x
; then
5692 eval "DEFAULT_$LINE"
5697 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5702 eval "$ac_cv_use_metafile"
5703 if test "$no_cache" != 1; then
5704 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5707 if test "$wxUSE_METAFILE" = yes; then
5708 echo "$ac_t""yes" 1>&6
5710 echo "$ac_t""no" 1>&6
5718 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5719 echo "configure:5720: checking for --${enablestring:-enable}-controls" >&5
5721 # Check whether --enable-controls or --disable-controls was given.
5722 if test "${enable_controls+set}" = set; then
5723 enableval
="$enable_controls"
5725 if test "$enableval" = yes; then
5726 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5728 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5733 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5734 if test "x$LINE" != x
; then
5735 eval "DEFAULT_$LINE"
5740 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5745 eval "$ac_cv_use_controls"
5746 if test "$no_cache" != 1; then
5747 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5750 if test "$wxUSE_CONTROLS" = yes; then
5751 echo "$ac_t""yes" 1>&6
5753 echo "$ac_t""no" 1>&6
5757 if test "$wxUSE_CONTROLS" = "yes"; then
5758 DEFAULT_wxUSE_ACCEL
=yes
5759 DEFAULT_wxUSE_BMPBUTTON
=yes
5760 DEFAULT_wxUSE_BUTTON
=yes
5761 DEFAULT_wxUSE_CALCTRL
=no
5762 DEFAULT_wxUSE_CARET
=yes
5763 DEFAULT_wxUSE_COMBOBOX
=yes
5764 DEFAULT_wxUSE_CHECKBOX
=yes
5765 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5766 DEFAULT_wxUSE_CHOICE
=yes
5767 DEFAULT_wxUSE_GAUGE
=yes
5768 DEFAULT_wxUSE_GRID
=yes
5769 DEFAULT_wxUSE_IMAGLIST
=yes
5770 DEFAULT_wxUSE_LISTBOX
=yes
5771 DEFAULT_wxUSE_LISTCTRL
=yes
5772 DEFAULT_wxUSE_NOTEBOOK
=yes
5773 DEFAULT_wxUSE_RADIOBOX
=yes
5774 DEFAULT_wxUSE_RADIOBTN
=yes
5775 DEFAULT_wxUSE_SASH
=yes
5776 DEFAULT_wxUSE_SCROLLBAR
=yes
5777 DEFAULT_wxUSE_SLIDER
=yes
5778 DEFAULT_wxUSE_SPINBTN
=yes
5779 DEFAULT_wxUSE_SPINCTRL
=yes
5780 DEFAULT_wxUSE_SPLITTER
=yes
5781 DEFAULT_wxUSE_STATBMP
=yes
5782 DEFAULT_wxUSE_STATBOX
=yes
5783 DEFAULT_wxUSE_STATLINE
=yes
5784 DEFAULT_wxUSE_STATUSBAR
=yes
5785 DEFAULT_wxUSE_TAB_DIALOG
=yes
5786 DEFAULT_wxUSE_TOGGLEBTN
=yes
5787 DEFAULT_wxUSE_TOOLBAR
=yes
5788 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5789 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5790 DEFAULT_wxUSE_TOOLTIPS
=yes
5791 DEFAULT_wxUSE_TREECTRL
=yes
5792 DEFAULT_wxUSE_POPUPWIN
=yes
5793 DEFAULT_wxUSE_TIPWINDOW
=yes
5794 elif test "$wxUSE_CONTROLS" = "no"; then
5795 DEFAULT_wxUSE_ACCEL
=no
5796 DEFAULT_wxUSE_BMPBUTTON
=no
5797 DEFAULT_wxUSE_BUTTON
=no
5798 DEFAULT_wxUSE_CALCTRL
=no
5799 DEFAULT_wxUSE_CARET
=no
5800 DEFAULT_wxUSE_COMBOBOX
=no
5801 DEFAULT_wxUSE_CHECKBOX
=no
5802 DEFAULT_wxUSE_CHECKLISTBOX
=no
5803 DEFAULT_wxUSE_CHOICE
=no
5804 DEFAULT_wxUSE_GAUGE
=no
5805 DEFAULT_wxUSE_GRID
=no
5806 DEFAULT_wxUSE_IMAGLIST
=no
5807 DEFAULT_wxUSE_LISTBOX
=no
5808 DEFAULT_wxUSE_LISTCTRL
=no
5809 DEFAULT_wxUSE_NOTEBOOK
=no
5810 DEFAULT_wxUSE_RADIOBOX
=no
5811 DEFAULT_wxUSE_RADIOBTN
=no
5812 DEFAULT_wxUSE_SASH
=no
5813 DEFAULT_wxUSE_SCROLLBAR
=no
5814 DEFAULT_wxUSE_SLIDER
=no
5815 DEFAULT_wxUSE_SPINBTN
=no
5816 DEFAULT_wxUSE_SPINCTRL
=no
5817 DEFAULT_wxUSE_SPLITTER
=no
5818 DEFAULT_wxUSE_STATBMP
=no
5819 DEFAULT_wxUSE_STATBOX
=no
5820 DEFAULT_wxUSE_STATLINE
=no
5821 DEFAULT_wxUSE_STATUSBAR
=no
5822 DEFAULT_wxUSE_TAB_DIALOG
=no
5823 DEFAULT_wxUSE_TOGGLEBTN
=no
5824 DEFAULT_wxUSE_TOOLBAR
=no
5825 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5826 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5827 DEFAULT_wxUSE_TOOLTIPS
=no
5828 DEFAULT_wxUSE_TREECTRL
=no
5829 DEFAULT_wxUSE_POPUPWIN
=no
5830 DEFAULT_wxUSE_TIPWINDOW
=no
5833 ## FIXME: This is a blatant hack
5834 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5835 wxUSE_PRINTING_ARCHITECTURE
=no
5838 wxUSE_DRAG_AND_DROP
=no
5840 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5841 DEFAULT_wxUSE_GAUGE
=no
5842 DEFAULT_wxUSE_SCROLLBAR
=no
5843 DEFAULT_wxUSE_SLIDER
=no
5844 DEFAULT_wxUSE_COMBOBOX
=no
5845 DEFAULT_wxUSE_CALCTRL
=no
5846 DEFAULT_wxUSE_SPINBTN
=no
5847 DEFAULT_wxUSE_SPINCTRL
=no
5848 DEFAULT_wxUSE_TOOLTIPS
=no
5849 DEFAULT_wxUSE_COLOURDLG
=no
5850 DEFAULT_wxUSE_DRAGIMAGE
=no
5851 DEFAULT_wxUSE_FINDREPLDLG
=no
5852 DEFAULT_wxUSE_FONTDLG
=no
5853 DEFAULT_wxUSE_GRID
=no
5854 DEFAULT_wxUSE_NUMBERDLG
=no
5855 DEFAULT_wxUSE_PROGRESSDLG
=no
5856 DEFAULT_wxUSE_SASH
=no
5857 DEFAULT_wxUSE_SPLITTER
=no
5858 DEFAULT_wxUSE_WIZARDDLG
=no
5859 DEFAULT_wxUSE_SPLITTER
=no
5860 DEFAULT_wxUSE_STARTUP_TIPS
=no
5865 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5866 echo "configure:5867: checking for --${enablestring:-enable}-accel" >&5
5868 # Check whether --enable-accel or --disable-accel was given.
5869 if test "${enable_accel+set}" = set; then
5870 enableval
="$enable_accel"
5872 if test "$enableval" = yes; then
5873 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5875 ac_cv_use_accel
='wxUSE_ACCEL=no'
5880 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5881 if test "x$LINE" != x
; then
5882 eval "DEFAULT_$LINE"
5887 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5892 eval "$ac_cv_use_accel"
5893 if test "$no_cache" != 1; then
5894 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5897 if test "$wxUSE_ACCEL" = yes; then
5898 echo "$ac_t""yes" 1>&6
5900 echo "$ac_t""no" 1>&6
5905 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5906 echo "configure:5907: checking for --${enablestring:-enable}-button" >&5
5908 # Check whether --enable-button or --disable-button was given.
5909 if test "${enable_button+set}" = set; then
5910 enableval
="$enable_button"
5912 if test "$enableval" = yes; then
5913 ac_cv_use_button
='wxUSE_BUTTON=yes'
5915 ac_cv_use_button
='wxUSE_BUTTON=no'
5920 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x
; then
5922 eval "DEFAULT_$LINE"
5927 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5932 eval "$ac_cv_use_button"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_BUTTON" = yes; then
5938 echo "$ac_t""yes" 1>&6
5940 echo "$ac_t""no" 1>&6
5945 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5946 echo "configure:5947: checking for --${enablestring:-enable}-bmpbutton" >&5
5948 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5949 if test "${enable_bmpbutton+set}" = set; then
5950 enableval
="$enable_bmpbutton"
5952 if test "$enableval" = yes; then
5953 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5955 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5960 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5961 if test "x$LINE" != x
; then
5962 eval "DEFAULT_$LINE"
5967 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5972 eval "$ac_cv_use_bmpbutton"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5977 if test "$wxUSE_BMPBUTTON" = yes; then
5978 echo "$ac_t""yes" 1>&6
5980 echo "$ac_t""no" 1>&6
5985 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
5986 echo "configure:5987: checking for --${enablestring:-enable}-calendar" >&5
5988 # Check whether --enable-calendar or --disable-calendar was given.
5989 if test "${enable_calendar+set}" = set; then
5990 enableval
="$enable_calendar"
5992 if test "$enableval" = yes; then
5993 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5995 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
6000 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
6001 if test "x$LINE" != x
; then
6002 eval "DEFAULT_$LINE"
6007 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
6012 eval "$ac_cv_use_calendar"
6013 if test "$no_cache" != 1; then
6014 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6017 if test "$wxUSE_CALCTRL" = yes; then
6018 echo "$ac_t""yes" 1>&6
6020 echo "$ac_t""no" 1>&6
6025 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6026 echo "configure:6027: checking for --${enablestring:-enable}-caret" >&5
6028 # Check whether --enable-caret or --disable-caret was given.
6029 if test "${enable_caret+set}" = set; then
6030 enableval
="$enable_caret"
6032 if test "$enableval" = yes; then
6033 ac_cv_use_caret
='wxUSE_CARET=yes'
6035 ac_cv_use_caret
='wxUSE_CARET=no'
6040 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6041 if test "x$LINE" != x
; then
6042 eval "DEFAULT_$LINE"
6047 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6052 eval "$ac_cv_use_caret"
6053 if test "$no_cache" != 1; then
6054 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6057 if test "$wxUSE_CARET" = yes; then
6058 echo "$ac_t""yes" 1>&6
6060 echo "$ac_t""no" 1>&6
6065 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6066 echo "configure:6067: checking for --${enablestring:-enable}-checkbox" >&5
6068 # Check whether --enable-checkbox or --disable-checkbox was given.
6069 if test "${enable_checkbox+set}" = set; then
6070 enableval
="$enable_checkbox"
6072 if test "$enableval" = yes; then
6073 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6075 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6080 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6081 if test "x$LINE" != x
; then
6082 eval "DEFAULT_$LINE"
6087 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6092 eval "$ac_cv_use_checkbox"
6093 if test "$no_cache" != 1; then
6094 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6097 if test "$wxUSE_CHECKBOX" = yes; then
6098 echo "$ac_t""yes" 1>&6
6100 echo "$ac_t""no" 1>&6
6105 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6106 echo "configure:6107: checking for --${enablestring:-enable}-checklst" >&5
6108 # Check whether --enable-checklst or --disable-checklst was given.
6109 if test "${enable_checklst+set}" = set; then
6110 enableval
="$enable_checklst"
6112 if test "$enableval" = yes; then
6113 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6115 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6120 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6121 if test "x$LINE" != x
; then
6122 eval "DEFAULT_$LINE"
6127 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6132 eval "$ac_cv_use_checklst"
6133 if test "$no_cache" != 1; then
6134 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6137 if test "$wxUSE_CHECKLST" = yes; then
6138 echo "$ac_t""yes" 1>&6
6140 echo "$ac_t""no" 1>&6
6145 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6146 echo "configure:6147: checking for --${enablestring:-enable}-choice" >&5
6148 # Check whether --enable-choice or --disable-choice was given.
6149 if test "${enable_choice+set}" = set; then
6150 enableval
="$enable_choice"
6152 if test "$enableval" = yes; then
6153 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6155 ac_cv_use_choice
='wxUSE_CHOICE=no'
6160 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6161 if test "x$LINE" != x
; then
6162 eval "DEFAULT_$LINE"
6167 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6172 eval "$ac_cv_use_choice"
6173 if test "$no_cache" != 1; then
6174 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6177 if test "$wxUSE_CHOICE" = yes; then
6178 echo "$ac_t""yes" 1>&6
6180 echo "$ac_t""no" 1>&6
6185 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6186 echo "configure:6187: checking for --${enablestring:-enable}-combobox" >&5
6188 # Check whether --enable-combobox or --disable-combobox was given.
6189 if test "${enable_combobox+set}" = set; then
6190 enableval
="$enable_combobox"
6192 if test "$enableval" = yes; then
6193 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6195 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6200 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6201 if test "x$LINE" != x
; then
6202 eval "DEFAULT_$LINE"
6207 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6212 eval "$ac_cv_use_combobox"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6217 if test "$wxUSE_COMBOBOX" = yes; then
6218 echo "$ac_t""yes" 1>&6
6220 echo "$ac_t""no" 1>&6
6225 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6226 echo "configure:6227: checking for --${enablestring:-enable}-display" >&5
6228 # Check whether --enable-display or --disable-display was given.
6229 if test "${enable_display+set}" = set; then
6230 enableval
="$enable_display"
6232 if test "$enableval" = yes; then
6233 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6235 ac_cv_use_display
='wxUSE_DISPLAY=no'
6240 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x
; then
6242 eval "DEFAULT_$LINE"
6247 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6252 eval "$ac_cv_use_display"
6253 if test "$no_cache" != 1; then
6254 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6257 if test "$wxUSE_DISPLAY" = yes; then
6258 echo "$ac_t""yes" 1>&6
6260 echo "$ac_t""no" 1>&6
6265 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6266 echo "configure:6267: checking for --${enablestring:-enable}-gauge" >&5
6268 # Check whether --enable-gauge or --disable-gauge was given.
6269 if test "${enable_gauge+set}" = set; then
6270 enableval
="$enable_gauge"
6272 if test "$enableval" = yes; then
6273 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6275 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6280 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6281 if test "x$LINE" != x
; then
6282 eval "DEFAULT_$LINE"
6287 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6292 eval "$ac_cv_use_gauge"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6297 if test "$wxUSE_GAUGE" = yes; then
6298 echo "$ac_t""yes" 1>&6
6300 echo "$ac_t""no" 1>&6
6305 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6306 echo "configure:6307: checking for --${enablestring:-enable}-grid" >&5
6308 # Check whether --enable-grid or --disable-grid was given.
6309 if test "${enable_grid+set}" = set; then
6310 enableval
="$enable_grid"
6312 if test "$enableval" = yes; then
6313 ac_cv_use_grid
='wxUSE_GRID=yes'
6315 ac_cv_use_grid
='wxUSE_GRID=no'
6320 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6321 if test "x$LINE" != x
; then
6322 eval "DEFAULT_$LINE"
6327 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6332 eval "$ac_cv_use_grid"
6333 if test "$no_cache" != 1; then
6334 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6337 if test "$wxUSE_GRID" = yes; then
6338 echo "$ac_t""yes" 1>&6
6340 echo "$ac_t""no" 1>&6
6345 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6346 echo "configure:6347: checking for --${enablestring:-enable}-imaglist" >&5
6348 # Check whether --enable-imaglist or --disable-imaglist was given.
6349 if test "${enable_imaglist+set}" = set; then
6350 enableval
="$enable_imaglist"
6352 if test "$enableval" = yes; then
6353 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6355 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6360 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x
; then
6362 eval "DEFAULT_$LINE"
6367 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6372 eval "$ac_cv_use_imaglist"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6377 if test "$wxUSE_IMAGLIST" = yes; then
6378 echo "$ac_t""yes" 1>&6
6380 echo "$ac_t""no" 1>&6
6385 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6386 echo "configure:6387: checking for --${enablestring:-enable}-listbox" >&5
6388 # Check whether --enable-listbox or --disable-listbox was given.
6389 if test "${enable_listbox+set}" = set; then
6390 enableval
="$enable_listbox"
6392 if test "$enableval" = yes; then
6393 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6395 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6400 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6401 if test "x$LINE" != x
; then
6402 eval "DEFAULT_$LINE"
6407 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6412 eval "$ac_cv_use_listbox"
6413 if test "$no_cache" != 1; then
6414 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6417 if test "$wxUSE_LISTBOX" = yes; then
6418 echo "$ac_t""yes" 1>&6
6420 echo "$ac_t""no" 1>&6
6425 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6426 echo "configure:6427: checking for --${enablestring:-enable}-listctrl" >&5
6428 # Check whether --enable-listctrl or --disable-listctrl was given.
6429 if test "${enable_listctrl+set}" = set; then
6430 enableval
="$enable_listctrl"
6432 if test "$enableval" = yes; then
6433 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6435 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6440 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x
; then
6442 eval "DEFAULT_$LINE"
6447 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6452 eval "$ac_cv_use_listctrl"
6453 if test "$no_cache" != 1; then
6454 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6457 if test "$wxUSE_LISTCTRL" = yes; then
6458 echo "$ac_t""yes" 1>&6
6460 echo "$ac_t""no" 1>&6
6465 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6466 echo "configure:6467: checking for --${enablestring:-enable}-notebook" >&5
6468 # Check whether --enable-notebook or --disable-notebook was given.
6469 if test "${enable_notebook+set}" = set; then
6470 enableval
="$enable_notebook"
6472 if test "$enableval" = yes; then
6473 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6475 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6480 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6481 if test "x$LINE" != x
; then
6482 eval "DEFAULT_$LINE"
6487 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6492 eval "$ac_cv_use_notebook"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6497 if test "$wxUSE_NOTEBOOK" = yes; then
6498 echo "$ac_t""yes" 1>&6
6500 echo "$ac_t""no" 1>&6
6505 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6506 echo "configure:6507: checking for --${enablestring:-enable}-radiobox" >&5
6508 # Check whether --enable-radiobox or --disable-radiobox was given.
6509 if test "${enable_radiobox+set}" = set; then
6510 enableval
="$enable_radiobox"
6512 if test "$enableval" = yes; then
6513 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6515 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6520 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6521 if test "x$LINE" != x
; then
6522 eval "DEFAULT_$LINE"
6527 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6532 eval "$ac_cv_use_radiobox"
6533 if test "$no_cache" != 1; then
6534 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6537 if test "$wxUSE_RADIOBOX" = yes; then
6538 echo "$ac_t""yes" 1>&6
6540 echo "$ac_t""no" 1>&6
6545 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6546 echo "configure:6547: checking for --${enablestring:-enable}-radiobtn" >&5
6548 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6549 if test "${enable_radiobtn+set}" = set; then
6550 enableval
="$enable_radiobtn"
6552 if test "$enableval" = yes; then
6553 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6555 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6560 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x
; then
6562 eval "DEFAULT_$LINE"
6567 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6572 eval "$ac_cv_use_radiobtn"
6573 if test "$no_cache" != 1; then
6574 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6577 if test "$wxUSE_RADIOBTN" = yes; then
6578 echo "$ac_t""yes" 1>&6
6580 echo "$ac_t""no" 1>&6
6585 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6586 echo "configure:6587: checking for --${enablestring:-enable}-sash" >&5
6588 # Check whether --enable-sash or --disable-sash was given.
6589 if test "${enable_sash+set}" = set; then
6590 enableval
="$enable_sash"
6592 if test "$enableval" = yes; then
6593 ac_cv_use_sash
='wxUSE_SASH=yes'
6595 ac_cv_use_sash
='wxUSE_SASH=no'
6600 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6601 if test "x$LINE" != x
; then
6602 eval "DEFAULT_$LINE"
6607 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6612 eval "$ac_cv_use_sash"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_SASH" = yes; then
6618 echo "$ac_t""yes" 1>&6
6620 echo "$ac_t""no" 1>&6
6625 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6626 echo "configure:6627: checking for --${enablestring:-enable}-scrollbar" >&5
6628 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6629 if test "${enable_scrollbar+set}" = set; then
6630 enableval
="$enable_scrollbar"
6632 if test "$enableval" = yes; then
6633 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6635 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6640 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6641 if test "x$LINE" != x
; then
6642 eval "DEFAULT_$LINE"
6647 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6652 eval "$ac_cv_use_scrollbar"
6653 if test "$no_cache" != 1; then
6654 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6657 if test "$wxUSE_SCROLLBAR" = yes; then
6658 echo "$ac_t""yes" 1>&6
6660 echo "$ac_t""no" 1>&6
6665 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6666 echo "configure:6667: checking for --${enablestring:-enable}-slider" >&5
6668 # Check whether --enable-slider or --disable-slider was given.
6669 if test "${enable_slider+set}" = set; then
6670 enableval
="$enable_slider"
6672 if test "$enableval" = yes; then
6673 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6675 ac_cv_use_slider
='wxUSE_SLIDER=no'
6680 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x
; then
6682 eval "DEFAULT_$LINE"
6687 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6692 eval "$ac_cv_use_slider"
6693 if test "$no_cache" != 1; then
6694 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6697 if test "$wxUSE_SLIDER" = yes; then
6698 echo "$ac_t""yes" 1>&6
6700 echo "$ac_t""no" 1>&6
6705 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6706 echo "configure:6707: checking for --${enablestring:-enable}-spinbtn" >&5
6708 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6709 if test "${enable_spinbtn+set}" = set; then
6710 enableval
="$enable_spinbtn"
6712 if test "$enableval" = yes; then
6713 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6715 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6720 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6721 if test "x$LINE" != x
; then
6722 eval "DEFAULT_$LINE"
6727 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6732 eval "$ac_cv_use_spinbtn"
6733 if test "$no_cache" != 1; then
6734 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6737 if test "$wxUSE_SPINBTN" = yes; then
6738 echo "$ac_t""yes" 1>&6
6740 echo "$ac_t""no" 1>&6
6745 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6746 echo "configure:6747: checking for --${enablestring:-enable}-spinctrl" >&5
6748 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6749 if test "${enable_spinctrl+set}" = set; then
6750 enableval
="$enable_spinctrl"
6752 if test "$enableval" = yes; then
6753 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6755 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6760 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6761 if test "x$LINE" != x
; then
6762 eval "DEFAULT_$LINE"
6767 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6772 eval "$ac_cv_use_spinctrl"
6773 if test "$no_cache" != 1; then
6774 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6777 if test "$wxUSE_SPINCTRL" = yes; then
6778 echo "$ac_t""yes" 1>&6
6780 echo "$ac_t""no" 1>&6
6785 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6786 echo "configure:6787: checking for --${enablestring:-enable}-splitter" >&5
6788 # Check whether --enable-splitter or --disable-splitter was given.
6789 if test "${enable_splitter+set}" = set; then
6790 enableval
="$enable_splitter"
6792 if test "$enableval" = yes; then
6793 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6795 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6800 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6801 if test "x$LINE" != x
; then
6802 eval "DEFAULT_$LINE"
6807 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6812 eval "$ac_cv_use_splitter"
6813 if test "$no_cache" != 1; then
6814 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6817 if test "$wxUSE_SPLITTER" = yes; then
6818 echo "$ac_t""yes" 1>&6
6820 echo "$ac_t""no" 1>&6
6825 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6826 echo "configure:6827: checking for --${enablestring:-enable}-statbmp" >&5
6828 # Check whether --enable-statbmp or --disable-statbmp was given.
6829 if test "${enable_statbmp+set}" = set; then
6830 enableval
="$enable_statbmp"
6832 if test "$enableval" = yes; then
6833 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6835 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6840 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6841 if test "x$LINE" != x
; then
6842 eval "DEFAULT_$LINE"
6847 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6852 eval "$ac_cv_use_statbmp"
6853 if test "$no_cache" != 1; then
6854 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6857 if test "$wxUSE_STATBMP" = yes; then
6858 echo "$ac_t""yes" 1>&6
6860 echo "$ac_t""no" 1>&6
6865 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6866 echo "configure:6867: checking for --${enablestring:-enable}-statbox" >&5
6868 # Check whether --enable-statbox or --disable-statbox was given.
6869 if test "${enable_statbox+set}" = set; then
6870 enableval
="$enable_statbox"
6872 if test "$enableval" = yes; then
6873 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6875 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6880 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6881 if test "x$LINE" != x
; then
6882 eval "DEFAULT_$LINE"
6887 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6892 eval "$ac_cv_use_statbox"
6893 if test "$no_cache" != 1; then
6894 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6897 if test "$wxUSE_STATBOX" = yes; then
6898 echo "$ac_t""yes" 1>&6
6900 echo "$ac_t""no" 1>&6
6905 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6906 echo "configure:6907: checking for --${enablestring:-enable}-statline" >&5
6908 # Check whether --enable-statline or --disable-statline was given.
6909 if test "${enable_statline+set}" = set; then
6910 enableval
="$enable_statline"
6912 if test "$enableval" = yes; then
6913 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6915 ac_cv_use_statline
='wxUSE_STATLINE=no'
6920 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6921 if test "x$LINE" != x
; then
6922 eval "DEFAULT_$LINE"
6927 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6932 eval "$ac_cv_use_statline"
6933 if test "$no_cache" != 1; then
6934 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6937 if test "$wxUSE_STATLINE" = yes; then
6938 echo "$ac_t""yes" 1>&6
6940 echo "$ac_t""no" 1>&6
6945 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
6946 echo "configure:6947: checking for --${enablestring:-enable}-stattext" >&5
6948 # Check whether --enable-stattext or --disable-stattext was given.
6949 if test "${enable_stattext+set}" = set; then
6950 enableval
="$enable_stattext"
6952 if test "$enableval" = yes; then
6953 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6955 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6960 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x
; then
6962 eval "DEFAULT_$LINE"
6967 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6972 eval "$ac_cv_use_stattext"
6973 if test "$no_cache" != 1; then
6974 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6977 if test "$wxUSE_STATTEXT" = yes; then
6978 echo "$ac_t""yes" 1>&6
6980 echo "$ac_t""no" 1>&6
6985 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
6986 echo "configure:6987: checking for --${enablestring:-enable}-statusbar" >&5
6988 # Check whether --enable-statusbar or --disable-statusbar was given.
6989 if test "${enable_statusbar+set}" = set; then
6990 enableval
="$enable_statusbar"
6992 if test "$enableval" = yes; then
6993 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6995 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
7000 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x
; then
7002 eval "DEFAULT_$LINE"
7007 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
7012 eval "$ac_cv_use_statusbar"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7017 if test "$wxUSE_STATUSBAR" = yes; then
7018 echo "$ac_t""yes" 1>&6
7020 echo "$ac_t""no" 1>&6
7025 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7026 echo "configure:7027: checking for --${enablestring:-enable}-tabdialog" >&5
7028 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7029 if test "${enable_tabdialog+set}" = set; then
7030 enableval
="$enable_tabdialog"
7032 if test "$enableval" = yes; then
7033 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7035 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7040 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7041 if test "x$LINE" != x
; then
7042 eval "DEFAULT_$LINE"
7047 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7052 eval "$ac_cv_use_tabdialog"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7057 if test "$wxUSE_TABDIALOG" = yes; then
7058 echo "$ac_t""yes" 1>&6
7060 echo "$ac_t""no" 1>&6
7065 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7066 echo "configure:7067: checking for --${enablestring:-enable}-textctrl" >&5
7068 # Check whether --enable-textctrl or --disable-textctrl was given.
7069 if test "${enable_textctrl+set}" = set; then
7070 enableval
="$enable_textctrl"
7072 if test "$enableval" = yes; then
7073 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7075 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7080 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7081 if test "x$LINE" != x
; then
7082 eval "DEFAULT_$LINE"
7087 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7092 eval "$ac_cv_use_textctrl"
7093 if test "$no_cache" != 1; then
7094 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7097 if test "$wxUSE_TEXTCTRL" = yes; then
7098 echo "$ac_t""yes" 1>&6
7100 echo "$ac_t""no" 1>&6
7105 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7106 echo "configure:7107: checking for --${enablestring:-enable}-togglebtn" >&5
7108 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7109 if test "${enable_togglebtn+set}" = set; then
7110 enableval
="$enable_togglebtn"
7112 if test "$enableval" = yes; then
7113 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7115 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7120 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x
; then
7122 eval "DEFAULT_$LINE"
7127 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7132 eval "$ac_cv_use_togglebtn"
7133 if test "$no_cache" != 1; then
7134 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7137 if test "$wxUSE_TOGGLEBTN" = yes; then
7138 echo "$ac_t""yes" 1>&6
7140 echo "$ac_t""no" 1>&6
7145 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7146 echo "configure:7147: checking for --${enablestring:-enable}-toolbar" >&5
7148 # Check whether --enable-toolbar or --disable-toolbar was given.
7149 if test "${enable_toolbar+set}" = set; then
7150 enableval
="$enable_toolbar"
7152 if test "$enableval" = yes; then
7153 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7155 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7160 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7161 if test "x$LINE" != x
; then
7162 eval "DEFAULT_$LINE"
7167 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7172 eval "$ac_cv_use_toolbar"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7177 if test "$wxUSE_TOOLBAR" = yes; then
7178 echo "$ac_t""yes" 1>&6
7180 echo "$ac_t""no" 1>&6
7185 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7186 echo "configure:7187: checking for --${enablestring:-enable}-tbarnative" >&5
7188 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7189 if test "${enable_tbarnative+set}" = set; then
7190 enableval
="$enable_tbarnative"
7192 if test "$enableval" = yes; then
7193 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7195 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7200 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7201 if test "x$LINE" != x
; then
7202 eval "DEFAULT_$LINE"
7207 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7212 eval "$ac_cv_use_tbarnative"
7213 if test "$no_cache" != 1; then
7214 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7217 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7218 echo "$ac_t""yes" 1>&6
7220 echo "$ac_t""no" 1>&6
7225 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7226 echo "configure:7227: checking for --${enablestring:-enable}-tbarsmpl" >&5
7228 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7229 if test "${enable_tbarsmpl+set}" = set; then
7230 enableval
="$enable_tbarsmpl"
7232 if test "$enableval" = yes; then
7233 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7235 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7240 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7241 if test "x$LINE" != x
; then
7242 eval "DEFAULT_$LINE"
7247 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7252 eval "$ac_cv_use_tbarsmpl"
7253 if test "$no_cache" != 1; then
7254 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7257 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7258 echo "$ac_t""yes" 1>&6
7260 echo "$ac_t""no" 1>&6
7265 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7266 echo "configure:7267: checking for --${enablestring:-enable}-treectrl" >&5
7268 # Check whether --enable-treectrl or --disable-treectrl was given.
7269 if test "${enable_treectrl+set}" = set; then
7270 enableval
="$enable_treectrl"
7272 if test "$enableval" = yes; then
7273 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7275 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7280 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7281 if test "x$LINE" != x
; then
7282 eval "DEFAULT_$LINE"
7287 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7292 eval "$ac_cv_use_treectrl"
7293 if test "$no_cache" != 1; then
7294 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7297 if test "$wxUSE_TREECTRL" = yes; then
7298 echo "$ac_t""yes" 1>&6
7300 echo "$ac_t""no" 1>&6
7305 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7306 echo "configure:7307: checking for --${enablestring:-enable}-tipwindow" >&5
7308 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7309 if test "${enable_tipwindow+set}" = set; then
7310 enableval
="$enable_tipwindow"
7312 if test "$enableval" = yes; then
7313 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7315 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7320 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7321 if test "x$LINE" != x
; then
7322 eval "DEFAULT_$LINE"
7327 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7332 eval "$ac_cv_use_tipwindow"
7333 if test "$no_cache" != 1; then
7334 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7337 if test "$wxUSE_TIPWINDOW" = yes; then
7338 echo "$ac_t""yes" 1>&6
7340 echo "$ac_t""no" 1>&6
7345 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7346 echo "configure:7347: checking for --${enablestring:-enable}-popupwin" >&5
7348 # Check whether --enable-popupwin or --disable-popupwin was given.
7349 if test "${enable_popupwin+set}" = set; then
7350 enableval
="$enable_popupwin"
7352 if test "$enableval" = yes; then
7353 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7355 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7360 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7361 if test "x$LINE" != x
; then
7362 eval "DEFAULT_$LINE"
7367 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7372 eval "$ac_cv_use_popupwin"
7373 if test "$no_cache" != 1; then
7374 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7377 if test "$wxUSE_POPUPWIN" = yes; then
7378 echo "$ac_t""yes" 1>&6
7380 echo "$ac_t""no" 1>&6
7387 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7388 echo "configure:7389: checking for --${enablestring:-enable}-commondlg" >&5
7390 # Check whether --enable-commondlg or --disable-commondlg was given.
7391 if test "${enable_commondlg+set}" = set; then
7392 enableval
="$enable_commondlg"
7394 if test "$enableval" = yes; then
7395 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7397 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7402 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7403 if test "x$LINE" != x
; then
7404 eval "DEFAULT_$LINE"
7409 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7414 eval "$ac_cv_use_commondlg"
7415 if test "$no_cache" != 1; then
7416 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7419 if test "$wxUSE_COMMONDLGS" = yes; then
7420 echo "$ac_t""yes" 1>&6
7422 echo "$ac_t""no" 1>&6
7427 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7428 echo "configure:7429: checking for --${enablestring:-enable}-choicedlg" >&5
7430 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7431 if test "${enable_choicedlg+set}" = set; then
7432 enableval
="$enable_choicedlg"
7434 if test "$enableval" = yes; then
7435 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7437 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7442 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7443 if test "x$LINE" != x
; then
7444 eval "DEFAULT_$LINE"
7449 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7454 eval "$ac_cv_use_choicedlg"
7455 if test "$no_cache" != 1; then
7456 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7459 if test "$wxUSE_CHOICEDLG" = yes; then
7460 echo "$ac_t""yes" 1>&6
7462 echo "$ac_t""no" 1>&6
7467 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7468 echo "configure:7469: checking for --${enablestring:-enable}-coldlg" >&5
7470 # Check whether --enable-coldlg or --disable-coldlg was given.
7471 if test "${enable_coldlg+set}" = set; then
7472 enableval
="$enable_coldlg"
7474 if test "$enableval" = yes; then
7475 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7477 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7482 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7483 if test "x$LINE" != x
; then
7484 eval "DEFAULT_$LINE"
7489 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7494 eval "$ac_cv_use_coldlg"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7499 if test "$wxUSE_COLOURDLG" = yes; then
7500 echo "$ac_t""yes" 1>&6
7502 echo "$ac_t""no" 1>&6
7507 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7508 echo "configure:7509: checking for --${enablestring:-enable}-filedlg" >&5
7510 # Check whether --enable-filedlg or --disable-filedlg was given.
7511 if test "${enable_filedlg+set}" = set; then
7512 enableval
="$enable_filedlg"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7517 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7522 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7534 eval "$ac_cv_use_filedlg"
7535 if test "$no_cache" != 1; then
7536 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7539 if test "$wxUSE_FILEDLG" = yes; then
7540 echo "$ac_t""yes" 1>&6
7542 echo "$ac_t""no" 1>&6
7547 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7548 echo "configure:7549: checking for --${enablestring:-enable}-finddlg" >&5
7550 # Check whether --enable-finddlg or --disable-finddlg was given.
7551 if test "${enable_finddlg+set}" = set; then
7552 enableval
="$enable_finddlg"
7554 if test "$enableval" = yes; then
7555 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7557 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7562 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7563 if test "x$LINE" != x
; then
7564 eval "DEFAULT_$LINE"
7569 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7574 eval "$ac_cv_use_finddlg"
7575 if test "$no_cache" != 1; then
7576 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7579 if test "$wxUSE_FINDREPLDLG" = yes; then
7580 echo "$ac_t""yes" 1>&6
7582 echo "$ac_t""no" 1>&6
7587 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7588 echo "configure:7589: checking for --${enablestring:-enable}-fontdlg" >&5
7590 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7591 if test "${enable_fontdlg+set}" = set; then
7592 enableval
="$enable_fontdlg"
7594 if test "$enableval" = yes; then
7595 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7597 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7602 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x
; then
7604 eval "DEFAULT_$LINE"
7609 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7614 eval "$ac_cv_use_fontdlg"
7615 if test "$no_cache" != 1; then
7616 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7619 if test "$wxUSE_FONTDLG" = yes; then
7620 echo "$ac_t""yes" 1>&6
7622 echo "$ac_t""no" 1>&6
7627 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7628 echo "configure:7629: checking for --${enablestring:-enable}-dirdlg" >&5
7630 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7631 if test "${enable_dirdlg+set}" = set; then
7632 enableval
="$enable_dirdlg"
7634 if test "$enableval" = yes; then
7635 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7637 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7642 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7643 if test "x$LINE" != x
; then
7644 eval "DEFAULT_$LINE"
7649 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7654 eval "$ac_cv_use_dirdlg"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7659 if test "$wxUSE_DIRDLG" = yes; then
7660 echo "$ac_t""yes" 1>&6
7662 echo "$ac_t""no" 1>&6
7667 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7668 echo "configure:7669: checking for --${enablestring:-enable}-msgdlg" >&5
7670 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7671 if test "${enable_msgdlg+set}" = set; then
7672 enableval
="$enable_msgdlg"
7674 if test "$enableval" = yes; then
7675 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7677 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7682 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7683 if test "x$LINE" != x
; then
7684 eval "DEFAULT_$LINE"
7689 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7694 eval "$ac_cv_use_msgdlg"
7695 if test "$no_cache" != 1; then
7696 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7699 if test "$wxUSE_MSGDLG" = yes; then
7700 echo "$ac_t""yes" 1>&6
7702 echo "$ac_t""no" 1>&6
7707 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7708 echo "configure:7709: checking for --${enablestring:-enable}-numberdlg" >&5
7710 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7711 if test "${enable_numberdlg+set}" = set; then
7712 enableval
="$enable_numberdlg"
7714 if test "$enableval" = yes; then
7715 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7717 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7722 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7723 if test "x$LINE" != x
; then
7724 eval "DEFAULT_$LINE"
7729 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7734 eval "$ac_cv_use_numberdlg"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7739 if test "$wxUSE_NUMBERDLG" = yes; then
7740 echo "$ac_t""yes" 1>&6
7742 echo "$ac_t""no" 1>&6
7747 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7748 echo "configure:7749: checking for --${enablestring:-enable}-splash" >&5
7750 # Check whether --enable-splash or --disable-splash was given.
7751 if test "${enable_splash+set}" = set; then
7752 enableval
="$enable_splash"
7754 if test "$enableval" = yes; then
7755 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7757 ac_cv_use_splash
='wxUSE_SPLASH=no'
7762 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7763 if test "x$LINE" != x
; then
7764 eval "DEFAULT_$LINE"
7769 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7774 eval "$ac_cv_use_splash"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7779 if test "$wxUSE_SPLASH" = yes; then
7780 echo "$ac_t""yes" 1>&6
7782 echo "$ac_t""no" 1>&6
7787 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7788 echo "configure:7789: checking for --${enablestring:-enable}-textdlg" >&5
7790 # Check whether --enable-textdlg or --disable-textdlg was given.
7791 if test "${enable_textdlg+set}" = set; then
7792 enableval
="$enable_textdlg"
7794 if test "$enableval" = yes; then
7795 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7797 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7802 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7803 if test "x$LINE" != x
; then
7804 eval "DEFAULT_$LINE"
7809 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7814 eval "$ac_cv_use_textdlg"
7815 if test "$no_cache" != 1; then
7816 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7819 if test "$wxUSE_TEXTDLG" = yes; then
7820 echo "$ac_t""yes" 1>&6
7822 echo "$ac_t""no" 1>&6
7827 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7828 echo "configure:7829: checking for --${enablestring:-enable}-tipdlg" >&5
7830 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7831 if test "${enable_tipdlg+set}" = set; then
7832 enableval
="$enable_tipdlg"
7834 if test "$enableval" = yes; then
7835 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7837 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7842 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7843 if test "x$LINE" != x
; then
7844 eval "DEFAULT_$LINE"
7849 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7854 eval "$ac_cv_use_tipdlg"
7855 if test "$no_cache" != 1; then
7856 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7859 if test "$wxUSE_STARTUP_TIPS" = yes; then
7860 echo "$ac_t""yes" 1>&6
7862 echo "$ac_t""no" 1>&6
7867 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7868 echo "configure:7869: checking for --${enablestring:-enable}-progressdlg" >&5
7870 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7871 if test "${enable_progressdlg+set}" = set; then
7872 enableval
="$enable_progressdlg"
7874 if test "$enableval" = yes; then
7875 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7877 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7882 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7883 if test "x$LINE" != x
; then
7884 eval "DEFAULT_$LINE"
7889 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7894 eval "$ac_cv_use_progressdlg"
7895 if test "$no_cache" != 1; then
7896 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7899 if test "$wxUSE_PROGRESSDLG" = yes; then
7900 echo "$ac_t""yes" 1>&6
7902 echo "$ac_t""no" 1>&6
7907 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7908 echo "configure:7909: checking for --${enablestring:-enable}-wizarddlg" >&5
7910 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7911 if test "${enable_wizarddlg+set}" = set; then
7912 enableval
="$enable_wizarddlg"
7914 if test "$enableval" = yes; then
7915 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7917 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7922 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7923 if test "x$LINE" != x
; then
7924 eval "DEFAULT_$LINE"
7929 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7934 eval "$ac_cv_use_wizarddlg"
7935 if test "$no_cache" != 1; then
7936 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7939 if test "$wxUSE_WIZARDDLG" = yes; then
7940 echo "$ac_t""yes" 1>&6
7942 echo "$ac_t""no" 1>&6
7949 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
7950 echo "configure:7951: checking for --${enablestring:-enable}-menus" >&5
7952 # Check whether --enable-menus or --disable-menus was given.
7953 if test "${enable_menus+set}" = set; then
7954 enableval
="$enable_menus"
7956 if test "$enableval" = yes; then
7957 ac_cv_use_menus
='wxUSE_MENUS=yes'
7959 ac_cv_use_menus
='wxUSE_MENUS=no'
7964 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7965 if test "x$LINE" != x
; then
7966 eval "DEFAULT_$LINE"
7971 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7976 eval "$ac_cv_use_menus"
7977 if test "$no_cache" != 1; then
7978 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7981 if test "$wxUSE_MENUS" = yes; then
7982 echo "$ac_t""yes" 1>&6
7984 echo "$ac_t""no" 1>&6
7989 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
7990 echo "configure:7991: checking for --${enablestring:-enable}-miniframe" >&5
7992 # Check whether --enable-miniframe or --disable-miniframe was given.
7993 if test "${enable_miniframe+set}" = set; then
7994 enableval
="$enable_miniframe"
7996 if test "$enableval" = yes; then
7997 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7999 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
8004 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
8005 if test "x$LINE" != x
; then
8006 eval "DEFAULT_$LINE"
8011 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8016 eval "$ac_cv_use_miniframe"
8017 if test "$no_cache" != 1; then
8018 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8021 if test "$wxUSE_MINIFRAME" = yes; then
8022 echo "$ac_t""yes" 1>&6
8024 echo "$ac_t""no" 1>&6
8029 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8030 echo "configure:8031: checking for --${enablestring:-enable}-tooltips" >&5
8032 # Check whether --enable-tooltips or --disable-tooltips was given.
8033 if test "${enable_tooltips+set}" = set; then
8034 enableval
="$enable_tooltips"
8036 if test "$enableval" = yes; then
8037 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8039 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8044 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8045 if test "x$LINE" != x
; then
8046 eval "DEFAULT_$LINE"
8051 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8056 eval "$ac_cv_use_tooltips"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8061 if test "$wxUSE_TOOLTIPS" = yes; then
8062 echo "$ac_t""yes" 1>&6
8064 echo "$ac_t""no" 1>&6
8069 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8070 echo "configure:8071: checking for --${enablestring:-enable}-splines" >&5
8072 # Check whether --enable-splines or --disable-splines was given.
8073 if test "${enable_splines+set}" = set; then
8074 enableval
="$enable_splines"
8076 if test "$enableval" = yes; then
8077 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8079 ac_cv_use_splines
='wxUSE_SPLINES=no'
8084 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8085 if test "x$LINE" != x
; then
8086 eval "DEFAULT_$LINE"
8091 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8096 eval "$ac_cv_use_splines"
8097 if test "$no_cache" != 1; then
8098 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8101 if test "$wxUSE_SPLINES" = yes; then
8102 echo "$ac_t""yes" 1>&6
8104 echo "$ac_t""no" 1>&6
8109 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8110 echo "configure:8111: checking for --${enablestring:-enable}-validators" >&5
8112 # Check whether --enable-validators or --disable-validators was given.
8113 if test "${enable_validators+set}" = set; then
8114 enableval
="$enable_validators"
8116 if test "$enableval" = yes; then
8117 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8119 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8124 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8125 if test "x$LINE" != x
; then
8126 eval "DEFAULT_$LINE"
8131 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8136 eval "$ac_cv_use_validators"
8137 if test "$no_cache" != 1; then
8138 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8141 if test "$wxUSE_VALIDATORS" = yes; then
8142 echo "$ac_t""yes" 1>&6
8144 echo "$ac_t""no" 1>&6
8149 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8150 echo "configure:8151: checking for --${enablestring:-enable}-busyinfo" >&5
8152 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8153 if test "${enable_busyinfo+set}" = set; then
8154 enableval
="$enable_busyinfo"
8156 if test "$enableval" = yes; then
8157 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8159 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8164 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8165 if test "x$LINE" != x
; then
8166 eval "DEFAULT_$LINE"
8171 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8176 eval "$ac_cv_use_busyinfo"
8177 if test "$no_cache" != 1; then
8178 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8181 if test "$wxUSE_BUSYINFO" = yes; then
8182 echo "$ac_t""yes" 1>&6
8184 echo "$ac_t""no" 1>&6
8189 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8190 echo "configure:8191: checking for --${enablestring:-enable}-joystick" >&5
8192 # Check whether --enable-joystick or --disable-joystick was given.
8193 if test "${enable_joystick+set}" = set; then
8194 enableval
="$enable_joystick"
8196 if test "$enableval" = yes; then
8197 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8199 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8204 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x
; then
8206 eval "DEFAULT_$LINE"
8211 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8216 eval "$ac_cv_use_joystick"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8221 if test "$wxUSE_JOYSTICK" = yes; then
8222 echo "$ac_t""yes" 1>&6
8224 echo "$ac_t""no" 1>&6
8229 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8230 echo "configure:8231: checking for --${enablestring:-enable}-metafile" >&5
8232 # Check whether --enable-metafile or --disable-metafile was given.
8233 if test "${enable_metafile+set}" = set; then
8234 enableval
="$enable_metafile"
8236 if test "$enableval" = yes; then
8237 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8239 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8244 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8245 if test "x$LINE" != x
; then
8246 eval "DEFAULT_$LINE"
8251 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8256 eval "$ac_cv_use_metafile"
8257 if test "$no_cache" != 1; then
8258 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8261 if test "$wxUSE_METAFILE" = yes; then
8262 echo "$ac_t""yes" 1>&6
8264 echo "$ac_t""no" 1>&6
8269 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8270 echo "configure:8271: checking for --${enablestring:-enable}-dragimage" >&5
8272 # Check whether --enable-dragimage or --disable-dragimage was given.
8273 if test "${enable_dragimage+set}" = set; then
8274 enableval
="$enable_dragimage"
8276 if test "$enableval" = yes; then
8277 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8279 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8284 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8285 if test "x$LINE" != x
; then
8286 eval "DEFAULT_$LINE"
8291 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8296 eval "$ac_cv_use_dragimage"
8297 if test "$no_cache" != 1; then
8298 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8301 if test "$wxUSE_DRAGIMAGE" = yes; then
8302 echo "$ac_t""yes" 1>&6
8304 echo "$ac_t""no" 1>&6
8309 echo $ac_n "checking for --${enablestring:-enable}-accessibility""... $ac_c" 1>&6
8310 echo "configure:8311: checking for --${enablestring:-enable}-accessibility" >&5
8312 # Check whether --enable-accessibility or --disable-accessibility was given.
8313 if test "${enable_accessibility+set}" = set; then
8314 enableval
="$enable_accessibility"
8316 if test "$enableval" = yes; then
8317 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
8319 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
8324 LINE
=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
8325 if test "x$LINE" != x
; then
8326 eval "DEFAULT_$LINE"
8331 ac_cv_use_accessibility
='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
8336 eval "$ac_cv_use_accessibility"
8337 if test "$no_cache" != 1; then
8338 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
8341 if test "$wxUSE_ACCESSIBILITY" = yes; then
8342 echo "$ac_t""yes" 1>&6
8344 echo "$ac_t""no" 1>&6
8351 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8352 echo "configure:8353: checking for --${enablestring:-enable}-palette" >&5
8354 # Check whether --enable-palette or --disable-palette was given.
8355 if test "${enable_palette+set}" = set; then
8356 enableval
="$enable_palette"
8358 if test "$enableval" = yes; then
8359 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8361 ac_cv_use_palette
='wxUSE_PALETTE=no'
8366 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8367 if test "x$LINE" != x
; then
8368 eval "DEFAULT_$LINE"
8373 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8378 eval "$ac_cv_use_palette"
8379 if test "$no_cache" != 1; then
8380 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8383 if test "$wxUSE_PALETTE" = yes; then
8384 echo "$ac_t""yes" 1>&6
8386 echo "$ac_t""no" 1>&6
8391 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8392 echo "configure:8393: checking for --${enablestring:-enable}-image" >&5
8394 # Check whether --enable-image or --disable-image was given.
8395 if test "${enable_image+set}" = set; then
8396 enableval
="$enable_image"
8398 if test "$enableval" = yes; then
8399 ac_cv_use_image
='wxUSE_IMAGE=yes'
8401 ac_cv_use_image
='wxUSE_IMAGE=no'
8406 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8407 if test "x$LINE" != x
; then
8408 eval "DEFAULT_$LINE"
8413 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8418 eval "$ac_cv_use_image"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8423 if test "$wxUSE_IMAGE" = yes; then
8424 echo "$ac_t""yes" 1>&6
8426 echo "$ac_t""no" 1>&6
8431 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8432 echo "configure:8433: checking for --${enablestring:-enable}-gif" >&5
8434 # Check whether --enable-gif or --disable-gif was given.
8435 if test "${enable_gif+set}" = set; then
8436 enableval
="$enable_gif"
8438 if test "$enableval" = yes; then
8439 ac_cv_use_gif
='wxUSE_GIF=yes'
8441 ac_cv_use_gif
='wxUSE_GIF=no'
8446 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8447 if test "x$LINE" != x
; then
8448 eval "DEFAULT_$LINE"
8453 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8458 eval "$ac_cv_use_gif"
8459 if test "$no_cache" != 1; then
8460 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8463 if test "$wxUSE_GIF" = yes; then
8464 echo "$ac_t""yes" 1>&6
8466 echo "$ac_t""no" 1>&6
8471 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8472 echo "configure:8473: checking for --${enablestring:-enable}-pcx" >&5
8474 # Check whether --enable-pcx or --disable-pcx was given.
8475 if test "${enable_pcx+set}" = set; then
8476 enableval
="$enable_pcx"
8478 if test "$enableval" = yes; then
8479 ac_cv_use_pcx
='wxUSE_PCX=yes'
8481 ac_cv_use_pcx
='wxUSE_PCX=no'
8486 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8487 if test "x$LINE" != x
; then
8488 eval "DEFAULT_$LINE"
8493 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8498 eval "$ac_cv_use_pcx"
8499 if test "$no_cache" != 1; then
8500 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8503 if test "$wxUSE_PCX" = yes; then
8504 echo "$ac_t""yes" 1>&6
8506 echo "$ac_t""no" 1>&6
8511 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8512 echo "configure:8513: checking for --${enablestring:-enable}-iff" >&5
8514 # Check whether --enable-iff or --disable-iff was given.
8515 if test "${enable_iff+set}" = set; then
8516 enableval
="$enable_iff"
8518 if test "$enableval" = yes; then
8519 ac_cv_use_iff
='wxUSE_IFF=yes'
8521 ac_cv_use_iff
='wxUSE_IFF=no'
8526 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8527 if test "x$LINE" != x
; then
8528 eval "DEFAULT_$LINE"
8533 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8538 eval "$ac_cv_use_iff"
8539 if test "$no_cache" != 1; then
8540 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8543 if test "$wxUSE_IFF" = yes; then
8544 echo "$ac_t""yes" 1>&6
8546 echo "$ac_t""no" 1>&6
8551 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8552 echo "configure:8553: checking for --${enablestring:-enable}-pnm" >&5
8554 # Check whether --enable-pnm or --disable-pnm was given.
8555 if test "${enable_pnm+set}" = set; then
8556 enableval
="$enable_pnm"
8558 if test "$enableval" = yes; then
8559 ac_cv_use_pnm
='wxUSE_PNM=yes'
8561 ac_cv_use_pnm
='wxUSE_PNM=no'
8566 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8567 if test "x$LINE" != x
; then
8568 eval "DEFAULT_$LINE"
8573 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8578 eval "$ac_cv_use_pnm"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8583 if test "$wxUSE_PNM" = yes; then
8584 echo "$ac_t""yes" 1>&6
8586 echo "$ac_t""no" 1>&6
8591 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8592 echo "configure:8593: checking for --${enablestring:-enable}-xpm" >&5
8594 # Check whether --enable-xpm or --disable-xpm was given.
8595 if test "${enable_xpm+set}" = set; then
8596 enableval
="$enable_xpm"
8598 if test "$enableval" = yes; then
8599 ac_cv_use_xpm
='wxUSE_XPM=yes'
8601 ac_cv_use_xpm
='wxUSE_XPM=no'
8606 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x
; then
8608 eval "DEFAULT_$LINE"
8613 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8618 eval "$ac_cv_use_xpm"
8619 if test "$no_cache" != 1; then
8620 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8623 if test "$wxUSE_XPM" = yes; then
8624 echo "$ac_t""yes" 1>&6
8626 echo "$ac_t""no" 1>&6
8631 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8632 echo "configure:8633: checking for --${enablestring:-enable}-ico_cur" >&5
8634 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8635 if test "${enable_ico_cur+set}" = set; then
8636 enableval
="$enable_ico_cur"
8638 if test "$enableval" = yes; then
8639 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8641 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8646 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8647 if test "x$LINE" != x
; then
8648 eval "DEFAULT_$LINE"
8653 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8658 eval "$ac_cv_use_ico_cur"
8659 if test "$no_cache" != 1; then
8660 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8663 if test "$wxUSE_ICO_CUR" = yes; then
8664 echo "$ac_t""yes" 1>&6
8666 echo "$ac_t""no" 1>&6
8673 *-pc-os2_emx | *-pc-os2-emx )
8685 echo "saving argument cache $wx_arg_cache_file"
8686 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8690 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8691 echo "configure:8692: checking for toolkit" >&5
8693 # In Wine, we need to default to MSW, not GTK or MOTIF
8694 if test "$wxUSE_WINE" = "yes"; then
8695 DEFAULT_DEFAULT_wxUSE_GTK
=0
8696 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8697 DEFAULT_DEFAULT_wxUSE_MSW
=1
8700 if test "$wxUSE_GUI" = "yes"; then
8702 if test "$USE_BEOS" = 1; then
8703 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8706 if test "$TOOLKIT_GIVEN" = 1; then
8707 for toolkit
in `echo $ALL_TOOLKITS`; do
8709 eval "value=\$${var}"
8710 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8713 for toolkit
in `echo $ALL_TOOLKITS`; do
8714 if test "$has_toolkit_in_cache" != 1; then
8715 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8717 var
=DEFAULT_wxUSE_
$toolkit
8719 eval "wxUSE_$toolkit=\$${var}"
8723 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8724 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8725 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8728 *-pc-os2_emx | *-pc-os2-emx )
8729 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8732 case "$NUM_TOOLKITS" in
8736 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8739 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8742 for toolkit
in `echo $ALL_TOOLKITS`; do
8744 eval "value=\$${var}"
8745 if test "x$value" != x
; then
8746 cache_var
=CACHE_
$toolkit
8747 eval "cache=\$${cache_var}"
8748 if test "$cache" = 1; then
8749 echo "$var=$value" >> ${wx_arg_cache_file}
8751 if test "$value" = 1; then
8752 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8753 echo "$ac_t""$toolkit_echo" 1>&6
8758 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8765 if test "$wxUSE_MSW" = 1 ; then
8776 if test "$wxUSE_WINE" = "yes"; then
8783 if test "$wants_win32" = 1 ; then
8786 cat >> confdefs.h
<<\EOF
8790 cat >> confdefs.h
<<\EOF
8794 cat >> confdefs.h
<<\EOF
8795 #define __WINDOWS__ 1
8798 cat >> confdefs.h
<<\EOF
8799 #define __GNUWIN32__ 1
8802 cat >> confdefs.h
<<\EOF
8806 cat >> confdefs.h
<<\EOF
8807 #define WINVER 0x0400
8811 if test "$doesnt_want_win32" = 1 ; then
8816 if test "$USE_UNIX" = 1 ; then
8818 cat >> confdefs.h
<<\EOF
8825 cat > confcache
<<\EOF
8826 # This file is a shell script that caches the results of configure
8827 # tests run on this system so they can be shared between configure
8828 # scripts and configure runs. It is not useful on other systems.
8829 # If it contains results you don't want to keep, you may remove or edit it.
8831 # By default, configure uses ./config.cache as the cache file,
8832 # creating it if it does not exist already. You can give configure
8833 # the --cache-file=FILE option to use a different cache file; that is
8834 # what configure does when it calls configure scripts in
8835 # subdirectories, so they share the cache.
8836 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8837 # config.status only pays attention to the cache file if you give it the
8838 # --recheck option to rerun configure.
8841 # The following way of writing the cache mishandles newlines in values,
8842 # but we know of no workaround that is simple, portable, and efficient.
8843 # So, don't put newlines in cache variables' values.
8844 # Ultrix sh set writes to stderr and can't be redirected directly,
8845 # and sets the high bit in the cache file unless we assign to the vars.
8847 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8849 # `set' does not quote correctly, so add quotes (double-quote substitution
8850 # turns \\\\ into \\, and sed turns \\ into \).
8852 -e "s/'/'\\\\''/g" \
8853 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8856 # `set' quotes correctly as required by POSIX, so do not add quotes.
8857 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8860 if cmp -s $cache_file confcache
; then
8863 if test -w $cache_file; then
8864 echo "updating cache $cache_file"
8865 cat confcache
> $cache_file
8867 echo "not updating unwritable cache $cache_file"
8873 if test "$build" != "$host" ; then
8874 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8878 RANLIB
=$host_alias-ranlib
8879 DLLTOOL
=$host_alias-dlltool
8880 RESCOMP
=$host_alias-windres
8883 STRIP
=$host_alias-strip
8885 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8890 # Extract the first word of "gcc", so it can be a program name with args.
8891 set dummy gcc
; ac_word
=$2
8892 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8893 echo "configure:8894: checking for $ac_word" >&5
8894 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8895 echo $ac_n "(cached) $ac_c" 1>&6
8897 if test -n "$CC"; then
8898 ac_cv_prog_CC
="$CC" # Let the user override the test.
8900 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8902 for ac_dir
in $ac_dummy; do
8903 test -z "$ac_dir" && ac_dir
=.
8904 if test -f $ac_dir/$ac_word; then
8913 if test -n "$CC"; then
8914 echo "$ac_t""$CC" 1>&6
8916 echo "$ac_t""no" 1>&6
8919 if test -z "$CC"; then
8920 # Extract the first word of "cc", so it can be a program name with args.
8921 set dummy cc
; ac_word
=$2
8922 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8923 echo "configure:8924: checking for $ac_word" >&5
8924 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8925 echo $ac_n "(cached) $ac_c" 1>&6
8927 if test -n "$CC"; then
8928 ac_cv_prog_CC
="$CC" # Let the user override the test.
8930 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8933 for ac_dir
in $ac_dummy; do
8934 test -z "$ac_dir" && ac_dir
=.
8935 if test -f $ac_dir/$ac_word; then
8936 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8937 ac_prog_rejected
=yes
8945 if test $ac_prog_rejected = yes; then
8946 # We found a bogon in the path, so make sure we never use it.
8947 set dummy
$ac_cv_prog_CC
8949 if test $# -gt 0; then
8950 # We chose a different compiler from the bogus one.
8951 # However, it has the same basename, so the bogon will be chosen
8952 # first if we set CC to just the basename; use the full file name.
8954 set dummy
"$ac_dir/$ac_word" "$@"
8962 if test -n "$CC"; then
8963 echo "$ac_t""$CC" 1>&6
8965 echo "$ac_t""no" 1>&6
8968 if test -z "$CC"; then
8969 case "`uname -s`" in
8971 # Extract the first word of "cl", so it can be a program name with args.
8972 set dummy cl
; ac_word
=$2
8973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8974 echo "configure:8975: checking for $ac_word" >&5
8975 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8976 echo $ac_n "(cached) $ac_c" 1>&6
8978 if test -n "$CC"; then
8979 ac_cv_prog_CC
="$CC" # Let the user override the test.
8981 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8983 for ac_dir
in $ac_dummy; do
8984 test -z "$ac_dir" && ac_dir
=.
8985 if test -f $ac_dir/$ac_word; then
8994 if test -n "$CC"; then
8995 echo "$ac_t""$CC" 1>&6
8997 echo "$ac_t""no" 1>&6
9002 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
9005 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9006 echo "configure:9007: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
9009 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9010 ac_cpp
='$CPP $CPPFLAGS'
9011 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9012 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9013 cross_compiling
=$ac_cv_prog_cc_cross
9015 cat > conftest.
$ac_ext << EOF
9017 #line 9018 "configure"
9018 #include "confdefs.h"
9022 if { (eval echo configure
:9023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9023 ac_cv_prog_cc_works
=yes
9024 # If we can't run a trivial program, we are probably using a cross compiler.
9025 if (.
/conftest
; exit) 2>/dev
/null
; then
9026 ac_cv_prog_cc_cross
=no
9028 ac_cv_prog_cc_cross
=yes
9031 echo "configure: failed program was:" >&5
9032 cat conftest.
$ac_ext >&5
9033 ac_cv_prog_cc_works
=no
9037 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9038 ac_cpp
='$CPP $CPPFLAGS'
9039 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9040 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9041 cross_compiling
=$ac_cv_prog_cc_cross
9043 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
9044 if test $ac_cv_prog_cc_works = no
; then
9045 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
9047 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9048 echo "configure:9049: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
9049 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
9050 cross_compiling
=$ac_cv_prog_cc_cross
9052 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
9053 echo "configure:9054: checking whether we are using GNU C" >&5
9054 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9057 cat > conftest.c
<<EOF
9062 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9069 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9071 if test $ac_cv_prog_gcc = yes; then
9077 ac_test_CFLAGS
="${CFLAGS+set}"
9078 ac_save_CFLAGS
="$CFLAGS"
9080 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9081 echo "configure:9082: checking whether ${CC-cc} accepts -g" >&5
9082 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9083 echo $ac_n "(cached) $ac_c" 1>&6
9085 echo 'void f(){}' > conftest.c
9086 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9095 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9096 if test "$ac_test_CFLAGS" = set; then
9097 CFLAGS
="$ac_save_CFLAGS"
9098 elif test $ac_cv_prog_cc_g = yes; then
9099 if test "$GCC" = yes; then
9105 if test "$GCC" = yes; then
9113 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9114 echo "configure:9115: checking how to run the C preprocessor" >&5
9115 # On Suns, sometimes $CPP names a directory.
9116 if test -n "$CPP" && test -d "$CPP"; then
9119 if test -z "$CPP"; then
9120 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9121 echo $ac_n "(cached) $ac_c" 1>&6
9123 # This must be in double quotes, not single quotes, because CPP may get
9124 # substituted into the Makefile and "${CC-cc}" will confuse make.
9126 # On the NeXT, cc -E runs the code through the compiler's parser,
9127 # not just through cpp.
9128 cat > conftest.
$ac_ext <<EOF
9129 #line 9130 "configure"
9130 #include "confdefs.h"
9134 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9135 { (eval echo configure
:9136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9136 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9137 if test -z "$ac_err"; then
9141 echo "configure: failed program was:" >&5
9142 cat conftest.
$ac_ext >&5
9144 CPP
="${CC-cc} -E -traditional-cpp"
9145 cat > conftest.
$ac_ext <<EOF
9146 #line 9147 "configure"
9147 #include "confdefs.h"
9151 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9152 { (eval echo configure
:9153: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9153 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9154 if test -z "$ac_err"; then
9158 echo "configure: failed program was:" >&5
9159 cat conftest.
$ac_ext >&5
9161 CPP
="${CC-cc} -nologo -E"
9162 cat > conftest.
$ac_ext <<EOF
9163 #line 9164 "configure"
9164 #include "confdefs.h"
9168 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9169 { (eval echo configure
:9170: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9170 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9171 if test -z "$ac_err"; then
9175 echo "configure: failed program was:" >&5
9176 cat conftest.
$ac_ext >&5
9185 ac_cv_prog_CPP
="$CPP"
9187 CPP
="$ac_cv_prog_CPP"
9189 ac_cv_prog_CPP
="$CPP"
9191 echo "$ac_t""$CPP" 1>&6
9193 if test $ac_cv_prog_gcc = yes; then
9194 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9195 echo "configure:9196: checking whether ${CC-cc} needs -traditional" >&5
9196 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9197 echo $ac_n "(cached) $ac_c" 1>&6
9199 ac_pattern
="Autoconf.*'x'"
9200 cat > conftest.
$ac_ext <<EOF
9201 #line 9202 "configure"
9202 #include "confdefs.h"
9206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9207 egrep "$ac_pattern" >/dev
/null
2>&1; then
9209 ac_cv_prog_gcc_traditional
=yes
9212 ac_cv_prog_gcc_traditional
=no
9217 if test $ac_cv_prog_gcc_traditional = no
; then
9218 cat > conftest.
$ac_ext <<EOF
9219 #line 9220 "configure"
9220 #include "confdefs.h"
9224 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9225 egrep "$ac_pattern" >/dev
/null
2>&1; then
9227 ac_cv_prog_gcc_traditional
=yes
9234 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9235 if test $ac_cv_prog_gcc_traditional = yes; then
9236 CC
="$CC -traditional"
9243 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9244 ac_cpp
='$CXXCPP $CPPFLAGS'
9245 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9246 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9247 cross_compiling
=$ac_cv_prog_cxx_cross
9250 CXXFLAGS
=${CXXFLAGS:=}
9251 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9253 # Extract the first word of "$ac_prog", so it can be a program name with args.
9254 set dummy
$ac_prog; ac_word
=$2
9255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9256 echo "configure:9257: checking for $ac_word" >&5
9257 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9258 echo $ac_n "(cached) $ac_c" 1>&6
9260 if test -n "$CXX"; then
9261 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9263 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9265 for ac_dir
in $ac_dummy; do
9266 test -z "$ac_dir" && ac_dir
=.
9267 if test -f $ac_dir/$ac_word; then
9268 ac_cv_prog_CXX
="$ac_prog"
9275 CXX
="$ac_cv_prog_CXX"
9276 if test -n "$CXX"; then
9277 echo "$ac_t""$CXX" 1>&6
9279 echo "$ac_t""no" 1>&6
9282 test -n "$CXX" && break
9284 test -n "$CXX" || CXX
="gcc"
9287 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9288 echo "configure:9289: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9291 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9292 ac_cpp
='$CXXCPP $CPPFLAGS'
9293 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9294 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9295 cross_compiling
=$ac_cv_prog_cxx_cross
9297 cat > conftest.
$ac_ext << EOF
9299 #line 9300 "configure"
9300 #include "confdefs.h"
9302 int main(){return(0);}
9304 if { (eval echo configure
:9305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9305 ac_cv_prog_cxx_works
=yes
9306 # If we can't run a trivial program, we are probably using a cross compiler.
9307 if (.
/conftest
; exit) 2>/dev
/null
; then
9308 ac_cv_prog_cxx_cross
=no
9310 ac_cv_prog_cxx_cross
=yes
9313 echo "configure: failed program was:" >&5
9314 cat conftest.
$ac_ext >&5
9315 ac_cv_prog_cxx_works
=no
9319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9320 ac_cpp
='$CXXCPP $CPPFLAGS'
9321 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9322 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9323 cross_compiling
=$ac_cv_prog_cxx_cross
9325 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9326 if test $ac_cv_prog_cxx_works = no
; then
9327 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9329 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9330 echo "configure:9331: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9331 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9332 cross_compiling
=$ac_cv_prog_cxx_cross
9334 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9335 echo "configure:9336: checking whether we are using GNU C++" >&5
9336 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9337 echo $ac_n "(cached) $ac_c" 1>&6
9339 cat > conftest.C
<<EOF
9344 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9351 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9353 if test $ac_cv_prog_gxx = yes; then
9359 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9360 ac_save_CXXFLAGS
="$CXXFLAGS"
9362 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9363 echo "configure:9364: checking whether ${CXX-g++} accepts -g" >&5
9364 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9365 echo $ac_n "(cached) $ac_c" 1>&6
9367 echo 'void f(){}' > conftest.cc
9368 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9369 ac_cv_prog_cxx_g
=yes
9377 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9378 if test "$ac_test_CXXFLAGS" = set; then
9379 CXXFLAGS
="$ac_save_CXXFLAGS"
9380 elif test $ac_cv_prog_cxx_g = yes; then
9381 if test "$GXX" = yes; then
9387 if test "$GXX" = yes; then
9396 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9397 ac_cpp
='$CPP $CPPFLAGS'
9398 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9399 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9400 cross_compiling
=$ac_cv_prog_cc_cross
9403 # Extract the first word of "ranlib", so it can be a program name with args.
9404 set dummy ranlib
; ac_word
=$2
9405 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9406 echo "configure:9407: checking for $ac_word" >&5
9407 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9408 echo $ac_n "(cached) $ac_c" 1>&6
9410 if test -n "$RANLIB"; then
9411 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9413 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9415 for ac_dir
in $ac_dummy; do
9416 test -z "$ac_dir" && ac_dir
=.
9417 if test -f $ac_dir/$ac_word; then
9418 ac_cv_prog_RANLIB
="ranlib"
9423 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9426 RANLIB
="$ac_cv_prog_RANLIB"
9427 if test -n "$RANLIB"; then
9428 echo "$ac_t""$RANLIB" 1>&6
9430 echo "$ac_t""no" 1>&6
9434 # Extract the first word of "ar", so it can be a program name with args.
9435 set dummy
ar; ac_word
=$2
9436 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9437 echo "configure:9438: checking for $ac_word" >&5
9438 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9439 echo $ac_n "(cached) $ac_c" 1>&6
9441 if test -n "$AR"; then
9442 ac_cv_prog_AR
="$AR" # Let the user override the test.
9444 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9446 for ac_dir
in $ac_dummy; do
9447 test -z "$ac_dir" && ac_dir
=.
9448 if test -f $ac_dir/$ac_word; then
9454 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9458 if test -n "$AR"; then
9459 echo "$ac_t""$AR" 1>&6
9461 echo "$ac_t""no" 1>&6
9465 # Find a good install program. We prefer a C program (faster),
9466 # so one script is as good as another. But avoid the broken or
9467 # incompatible versions:
9468 # SysV /etc/install, /usr/sbin/install
9469 # SunOS /usr/etc/install
9470 # IRIX /sbin/install
9472 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9473 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9474 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9475 # ./install, which can be erroneously created by make from ./install.sh.
9476 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9477 echo "configure:9478: checking for a BSD compatible install" >&5
9478 if test -z "$INSTALL"; then
9479 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9480 echo $ac_n "(cached) $ac_c" 1>&6
9482 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9483 for ac_dir
in $PATH; do
9484 # Account for people who put trailing slashes in PATH elements.
9486 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9488 # OSF1 and SCO ODT 3.0 have their own names for install.
9489 # Don't use installbsd from OSF since it installs stuff as root
9491 for ac_prog
in ginstall scoinst
install; do
9492 if test -f $ac_dir/$ac_prog; then
9493 if test $ac_prog = install &&
9494 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9495 # AIX install. It has an incompatible calling convention.
9498 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9509 if test "${ac_cv_path_install+set}" = set; then
9510 INSTALL
="$ac_cv_path_install"
9512 # As a last resort, use the slow shell script. We don't cache a
9513 # path for INSTALL within a source directory, because that will
9514 # break other packages using the cache if that directory is
9515 # removed, or if the path is relative.
9516 INSTALL
="$ac_install_sh"
9519 echo "$ac_t""$INSTALL" 1>&6
9521 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9522 # It thinks the first close brace ends the variable substitution.
9523 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9525 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9527 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9533 ?
:* ) # Drive letter, considered as absolute.
9536 INSTALL
=`pwd`/${INSTALL} ;;
9544 *) INSTALL_DIR
="$INSTALL -d"
9552 INSTALL_PROGRAM
="cp -fp"
9553 INSTALL_DATA
="cp -fp"
9559 # Extract the first word of "strip", so it can be a program name with args.
9560 set dummy strip
; ac_word
=$2
9561 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9562 echo "configure:9563: checking for $ac_word" >&5
9563 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9564 echo $ac_n "(cached) $ac_c" 1>&6
9566 if test -n "$STRIP"; then
9567 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9569 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9571 for ac_dir
in $ac_dummy; do
9572 test -z "$ac_dir" && ac_dir
=.
9573 if test -f $ac_dir/$ac_word; then
9574 ac_cv_prog_STRIP
="strip"
9579 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9582 STRIP
="$ac_cv_prog_STRIP"
9583 if test -n "$STRIP"; then
9584 echo "$ac_t""$STRIP" 1>&6
9586 echo "$ac_t""no" 1>&6
9590 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9591 echo "configure:9592: checking if make is GNU make" >&5
9592 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9593 echo $ac_n "(cached) $ac_c" 1>&6
9596 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9597 egrep -s GNU
> /dev
/null
); then
9598 wx_cv_prog_makeisgnu
="yes"
9600 wx_cv_prog_makeisgnu
="no"
9605 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9607 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9615 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9616 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9617 echo "configure:9618: checking if make supports VPATH" >&5
9618 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9619 echo $ac_n "(cached) $ac_c" 1>&6
9622 cat - << EOF > confMake
9628 if test ! -d sub
; then
9631 echo dummy
> sub
/file
9632 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9634 rm -f sub
/file check final_file confMake
9636 if test "$RESULT" = 0; then
9637 wx_cv_prog_makevpath
="yes"
9639 wx_cv_prog_makevpath
="no"
9644 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9646 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9647 { echo "configure: error:
9648 You need a make-utility that is able to use the variable
9650 If your version of make does not support VPATH correctly,
9651 please install GNU-make (possibly as gmake), and start
9652 configure with the following command:
9653 export MAKE=gmake; ./configure for sh-type shells
9654 setenv MAKE gmake; ./configure for csh-type shells
9655 Also please do remember to use gmake in this case every time
9656 you are trying to compile.
9659 for ac_prog
in 'bison -y' byacc
9661 # Extract the first word of "$ac_prog", so it can be a program name with args.
9662 set dummy
$ac_prog; ac_word
=$2
9663 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9664 echo "configure:9665: checking for $ac_word" >&5
9665 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9666 echo $ac_n "(cached) $ac_c" 1>&6
9668 if test -n "$YACC"; then
9669 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9671 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9673 for ac_dir
in $ac_dummy; do
9674 test -z "$ac_dir" && ac_dir
=.
9675 if test -f $ac_dir/$ac_word; then
9676 ac_cv_prog_YACC
="$ac_prog"
9683 YACC
="$ac_cv_prog_YACC"
9684 if test -n "$YACC"; then
9685 echo "$ac_t""$YACC" 1>&6
9687 echo "$ac_t""no" 1>&6
9690 test -n "$YACC" && break
9692 test -n "$YACC" || YACC
="yacc"
9695 # Extract the first word of "flex", so it can be a program name with args.
9696 set dummy flex
; ac_word
=$2
9697 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9698 echo "configure:9699: checking for $ac_word" >&5
9699 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9700 echo $ac_n "(cached) $ac_c" 1>&6
9702 if test -n "$LEX"; then
9703 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9705 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9707 for ac_dir
in $ac_dummy; do
9708 test -z "$ac_dir" && ac_dir
=.
9709 if test -f $ac_dir/$ac_word; then
9710 ac_cv_prog_LEX
="flex"
9715 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9718 LEX
="$ac_cv_prog_LEX"
9719 if test -n "$LEX"; then
9720 echo "$ac_t""$LEX" 1>&6
9722 echo "$ac_t""no" 1>&6
9725 if test -z "$LEXLIB"
9731 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9732 echo "configure:9733: checking for yywrap in -l$ac_lib" >&5
9733 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9734 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9735 echo $ac_n "(cached) $ac_c" 1>&6
9737 ac_save_LIBS
="$LIBS"
9738 LIBS
="-l$ac_lib $LIBS"
9739 cat > conftest.
$ac_ext <<EOF
9740 #line 9741 "configure"
9741 #include "confdefs.h"
9742 /* Override any gcc2 internal prototype to avoid an error. */
9743 /* We use char because int might match the return type of a gcc2
9744 builtin and then its argument prototype would still apply. */
9751 if { (eval echo configure
:9752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9753 eval "ac_cv_lib_$ac_lib_var=yes"
9755 echo "configure: failed program was:" >&5
9756 cat conftest.
$ac_ext >&5
9758 eval "ac_cv_lib_$ac_lib_var=no"
9761 LIBS
="$ac_save_LIBS"
9764 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9765 echo "$ac_t""yes" 1>&6
9768 echo "$ac_t""no" 1>&6
9774 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9775 echo "configure:9776: checking whether ln -s works" >&5
9776 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9777 echo $ac_n "(cached) $ac_c" 1>&6
9780 if ln -s X conftestdata
2>/dev
/null
9783 ac_cv_prog_LN_S
="ln -s"
9788 LN_S
="$ac_cv_prog_LN_S"
9789 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9790 echo "$ac_t""yes" 1>&6
9792 echo "$ac_t""no" 1>&6
9797 *-pc-os2_emx | *-pc-os2-emx )
9798 LIBS
="$LIBS -lstdcpp"
9799 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9800 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9801 echo "configure:9802: checking for drand48 in -lcExt" >&5
9802 ac_lib_var
=`echo cExt'_'drand48 | 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"
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
9841 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9847 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9848 for ac_hdr
in strings.h
9850 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9851 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9852 echo "configure:9853: checking for $ac_hdr" >&5
9853 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9854 echo $ac_n "(cached) $ac_c" 1>&6
9856 cat > conftest.
$ac_ext <<EOF
9857 #line 9858 "configure"
9858 #include "confdefs.h"
9861 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9862 { (eval echo configure
:9863: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9863 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9864 if test -z "$ac_err"; then
9866 eval "ac_cv_header_$ac_safe=yes"
9869 echo "configure: failed program was:" >&5
9870 cat conftest.
$ac_ext >&5
9872 eval "ac_cv_header_$ac_safe=no"
9876 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9877 echo "$ac_t""yes" 1>&6
9878 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9879 cat >> confdefs.h
<<EOF
9880 #define $ac_tr_hdr 1
9884 echo "$ac_t""no" 1>&6
9890 for ac_hdr
in stdlib.h
9892 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9894 echo "configure:9895: checking for $ac_hdr" >&5
9895 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9896 echo $ac_n "(cached) $ac_c" 1>&6
9898 cat > conftest.
$ac_ext <<EOF
9899 #line 9900 "configure"
9900 #include "confdefs.h"
9903 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9904 { (eval echo configure
:9905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9905 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9906 if test -z "$ac_err"; then
9908 eval "ac_cv_header_$ac_safe=yes"
9911 echo "configure: failed program was:" >&5
9912 cat conftest.
$ac_ext >&5
9914 eval "ac_cv_header_$ac_safe=no"
9918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9919 echo "$ac_t""yes" 1>&6
9920 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9921 cat >> confdefs.h
<<EOF
9922 #define $ac_tr_hdr 1
9926 echo "$ac_t""no" 1>&6
9930 for ac_hdr
in malloc.h
9932 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9933 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9934 echo "configure:9935: checking for $ac_hdr" >&5
9935 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9936 echo $ac_n "(cached) $ac_c" 1>&6
9938 cat > conftest.
$ac_ext <<EOF
9939 #line 9940 "configure"
9940 #include "confdefs.h"
9943 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9944 { (eval echo configure
:9945: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9945 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9946 if test -z "$ac_err"; then
9948 eval "ac_cv_header_$ac_safe=yes"
9951 echo "configure: failed program was:" >&5
9952 cat conftest.
$ac_ext >&5
9954 eval "ac_cv_header_$ac_safe=no"
9958 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9959 echo "$ac_t""yes" 1>&6
9960 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9961 cat >> confdefs.h
<<EOF
9962 #define $ac_tr_hdr 1
9966 echo "$ac_t""no" 1>&6
9970 for ac_hdr
in unistd.h
9972 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9973 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9974 echo "configure:9975: checking for $ac_hdr" >&5
9975 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9976 echo $ac_n "(cached) $ac_c" 1>&6
9978 cat > conftest.
$ac_ext <<EOF
9979 #line 9980 "configure"
9980 #include "confdefs.h"
9983 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9984 { (eval echo configure
:9985: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9985 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9986 if test -z "$ac_err"; then
9988 eval "ac_cv_header_$ac_safe=yes"
9991 echo "configure: failed program was:" >&5
9992 cat conftest.
$ac_ext >&5
9994 eval "ac_cv_header_$ac_safe=no"
9998 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9999 echo "$ac_t""yes" 1>&6
10000 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10001 cat >> confdefs.h
<<EOF
10002 #define $ac_tr_hdr 1
10006 echo "$ac_t""no" 1>&6
10010 for ac_hdr
in wchar.h
10012 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10014 echo "configure:10015: checking for $ac_hdr" >&5
10015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10016 echo $ac_n "(cached) $ac_c" 1>&6
10018 cat > conftest.
$ac_ext <<EOF
10019 #line 10020 "configure"
10020 #include "confdefs.h"
10023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10024 { (eval echo configure
:10025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10026 if test -z "$ac_err"; then
10028 eval "ac_cv_header_$ac_safe=yes"
10031 echo "configure: failed program was:" >&5
10032 cat conftest.
$ac_ext >&5
10034 eval "ac_cv_header_$ac_safe=no"
10038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10039 echo "$ac_t""yes" 1>&6
10040 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10041 cat >> confdefs.h
<<EOF
10042 #define $ac_tr_hdr 1
10046 echo "$ac_t""no" 1>&6
10051 if test "$ac_cv_header_wchar_h" != "yes"; then
10052 for ac_hdr
in wcstr.h
10054 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10055 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10056 echo "configure:10057: checking for $ac_hdr" >&5
10057 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10060 cat > conftest.
$ac_ext <<EOF
10061 #line 10062 "configure"
10062 #include "confdefs.h"
10065 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10066 { (eval echo configure
:10067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10067 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10068 if test -z "$ac_err"; then
10070 eval "ac_cv_header_$ac_safe=yes"
10073 echo "configure: failed program was:" >&5
10074 cat conftest.
$ac_ext >&5
10076 eval "ac_cv_header_$ac_safe=no"
10080 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10081 echo "$ac_t""yes" 1>&6
10082 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10083 cat >> confdefs.h
<<EOF
10084 #define $ac_tr_hdr 1
10088 echo "$ac_t""no" 1>&6
10094 for ac_hdr
in fnmatch.h
10096 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10097 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10098 echo "configure:10099: checking for $ac_hdr" >&5
10099 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10100 echo $ac_n "(cached) $ac_c" 1>&6
10102 cat > conftest.
$ac_ext <<EOF
10103 #line 10104 "configure"
10104 #include "confdefs.h"
10107 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10108 { (eval echo configure
:10109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10109 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10110 if test -z "$ac_err"; then
10112 eval "ac_cv_header_$ac_safe=yes"
10115 echo "configure: failed program was:" >&5
10116 cat conftest.
$ac_ext >&5
10118 eval "ac_cv_header_$ac_safe=no"
10122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10123 echo "$ac_t""yes" 1>&6
10124 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10125 cat >> confdefs.h
<<EOF
10126 #define $ac_tr_hdr 1
10130 echo "$ac_t""no" 1>&6
10135 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10136 for ac_func
in fnmatch
10138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10139 echo "configure:10140: checking for $ac_func" >&5
10140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10141 echo $ac_n "(cached) $ac_c" 1>&6
10143 cat > conftest.
$ac_ext <<EOF
10144 #line 10145 "configure"
10145 #include "confdefs.h"
10146 /* System header to define __stub macros and hopefully few prototypes,
10147 which can conflict with char $ac_func(); below. */
10148 #include <assert.h>
10149 /* Override any gcc2 internal prototype to avoid an error. */
10150 /* We use char because int might match the return type of a gcc2
10151 builtin and then its argument prototype would still apply. */
10156 /* The GNU C library defines this for functions which it implements
10157 to always fail with ENOSYS. Some functions are actually named
10158 something starting with __ and the normal name is an alias. */
10159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10167 if { (eval echo configure
:10168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10169 eval "ac_cv_func_$ac_func=yes"
10171 echo "configure: failed program was:" >&5
10172 cat conftest.
$ac_ext >&5
10174 eval "ac_cv_func_$ac_func=no"
10179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10180 echo "$ac_t""yes" 1>&6
10181 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10182 cat >> confdefs.h
<<EOF
10183 #define $ac_tr_func 1
10187 echo "$ac_t""no" 1>&6
10193 for ac_hdr
in langinfo.h
10195 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10197 echo "configure:10198: checking for $ac_hdr" >&5
10198 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10199 echo $ac_n "(cached) $ac_c" 1>&6
10201 cat > conftest.
$ac_ext <<EOF
10202 #line 10203 "configure"
10203 #include "confdefs.h"
10206 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10207 { (eval echo configure
:10208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10208 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10209 if test -z "$ac_err"; then
10211 eval "ac_cv_header_$ac_safe=yes"
10214 echo "configure: failed program was:" >&5
10215 cat conftest.
$ac_ext >&5
10217 eval "ac_cv_header_$ac_safe=no"
10221 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10222 echo "$ac_t""yes" 1>&6
10223 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10224 cat >> confdefs.h
<<EOF
10225 #define $ac_tr_hdr 1
10229 echo "$ac_t""no" 1>&6
10235 *-pc-os2_emx | *-pc-os2-emx )
10236 if test $ac_cv_header_langinfo_h = "yes"; then
10237 LIBS
="$LIBS -lintl"
10242 if test "$wxUSE_GUI" = "yes"; then
10243 if test "$wxUSE_UNIX" = "yes"; then
10244 for ac_hdr
in X
11/XKBlib.h
10246 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10247 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10248 echo "configure:10249: checking for $ac_hdr" >&5
10249 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10250 echo $ac_n "(cached) $ac_c" 1>&6
10252 cat > conftest.
$ac_ext <<EOF
10253 #line 10254 "configure"
10254 #include "confdefs.h"
10257 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10258 { (eval echo configure
:10259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10259 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10260 if test -z "$ac_err"; then
10262 eval "ac_cv_header_$ac_safe=yes"
10265 echo "configure: failed program was:" >&5
10266 cat conftest.
$ac_ext >&5
10268 eval "ac_cv_header_$ac_safe=no"
10272 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10273 echo "$ac_t""yes" 1>&6
10274 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10275 cat >> confdefs.h
<<EOF
10276 #define $ac_tr_hdr 1
10280 echo "$ac_t""no" 1>&6
10288 echo $ac_n "checking for working const""... $ac_c" 1>&6
10289 echo "configure:10290: checking for working const" >&5
10290 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10291 echo $ac_n "(cached) $ac_c" 1>&6
10293 cat > conftest.
$ac_ext <<EOF
10294 #line 10295 "configure"
10295 #include "confdefs.h"
10299 /* Ultrix mips cc rejects this. */
10300 typedef int charset[2]; const charset x;
10301 /* SunOS 4.1.1 cc rejects this. */
10302 char const *const *ccp;
10304 /* NEC SVR4.0.2 mips cc rejects this. */
10305 struct point {int x, y;};
10306 static struct point const zero = {0,0};
10307 /* AIX XL C 1.02.0.0 rejects this.
10308 It does not let you subtract one const X* pointer from another in an arm
10309 of an if-expression whose if-part is not a constant expression */
10310 const char *g = "string";
10311 ccp = &g + (g ? g-g : 0);
10312 /* HPUX 7.0 cc rejects these. */
10315 ccp = (char const *const *) p;
10316 { /* SCO 3.2v4 cc rejects this. */
10318 char const *s = 0 ? (char *) 0 : (char const *) 0;
10322 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10323 int x[] = {25, 17};
10324 const int *foo = &x[0];
10327 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10328 typedef const int *iptr;
10332 { /* AIX XL C 1.02.0.0 rejects this saying
10333 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10334 struct s { int j; const int *ap[3]; };
10335 struct s *b; b->j = 5;
10337 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10338 const int foo = 10;
10343 if { (eval echo configure
:10344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10347 echo "configure: failed program was:" >&5
10348 cat conftest.
$ac_ext >&5
10355 echo "$ac_t""$ac_cv_c_const" 1>&6
10356 if test $ac_cv_c_const = no
; then
10357 cat >> confdefs.h
<<\EOF
10363 echo $ac_n "checking for inline""... $ac_c" 1>&6
10364 echo "configure:10365: checking for inline" >&5
10365 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10366 echo $ac_n "(cached) $ac_c" 1>&6
10369 for ac_kw
in inline __inline__ __inline
; do
10370 cat > conftest.
$ac_ext <<EOF
10371 #line 10372 "configure"
10372 #include "confdefs.h"
10378 if { (eval echo configure
:10379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10380 ac_cv_c_inline
=$ac_kw; break
10382 echo "configure: failed program was:" >&5
10383 cat conftest.
$ac_ext >&5
10390 echo "$ac_t""$ac_cv_c_inline" 1>&6
10391 case "$ac_cv_c_inline" in
10393 no
) cat >> confdefs.h
<<\EOF
10397 *) cat >> confdefs.h
<<EOF
10398 #define inline $ac_cv_c_inline
10404 echo $ac_n "checking size of char""... $ac_c" 1>&6
10405 echo "configure:10406: checking size of char" >&5
10406 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10407 echo $ac_n "(cached) $ac_c" 1>&6
10409 if test "$cross_compiling" = yes; then
10410 ac_cv_sizeof_char
=1
10412 cat > conftest.
$ac_ext <<EOF
10413 #line 10414 "configure"
10414 #include "confdefs.h"
10416 #include <sys/types.h>
10419 FILE *f=fopen("conftestval", "w");
10421 fprintf(f, "%d\n", sizeof(char));
10425 if { (eval echo configure
:10426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10427 ac_cv_sizeof_char
=`cat conftestval`
10429 echo "configure: failed program was:" >&5
10430 cat conftest.
$ac_ext >&5
10432 ac_cv_sizeof_char
=0
10438 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10439 cat >> confdefs.h
<<EOF
10440 #define SIZEOF_CHAR $ac_cv_sizeof_char
10444 echo $ac_n "checking size of short""... $ac_c" 1>&6
10445 echo "configure:10446: checking size of short" >&5
10446 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10447 echo $ac_n "(cached) $ac_c" 1>&6
10449 if test "$cross_compiling" = yes; then
10450 ac_cv_sizeof_short
=2
10452 cat > conftest.
$ac_ext <<EOF
10453 #line 10454 "configure"
10454 #include "confdefs.h"
10456 #include <sys/types.h>
10459 FILE *f=fopen("conftestval", "w");
10461 fprintf(f, "%d\n", sizeof(short));
10465 if { (eval echo configure
:10466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10467 ac_cv_sizeof_short
=`cat conftestval`
10469 echo "configure: failed program was:" >&5
10470 cat conftest.
$ac_ext >&5
10472 ac_cv_sizeof_short
=0
10478 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10479 cat >> confdefs.h
<<EOF
10480 #define SIZEOF_SHORT $ac_cv_sizeof_short
10484 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10485 echo "configure:10486: checking size of void *" >&5
10486 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10487 echo $ac_n "(cached) $ac_c" 1>&6
10489 if test "$cross_compiling" = yes; then
10490 ac_cv_sizeof_void_p
=4
10492 cat > conftest.
$ac_ext <<EOF
10493 #line 10494 "configure"
10494 #include "confdefs.h"
10496 #include <sys/types.h>
10499 FILE *f=fopen("conftestval", "w");
10501 fprintf(f, "%d\n", sizeof(void *));
10505 if { (eval echo configure
:10506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10507 ac_cv_sizeof_void_p
=`cat conftestval`
10509 echo "configure: failed program was:" >&5
10510 cat conftest.
$ac_ext >&5
10512 ac_cv_sizeof_void_p
=0
10518 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10519 cat >> confdefs.h
<<EOF
10520 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10524 echo $ac_n "checking size of int""... $ac_c" 1>&6
10525 echo "configure:10526: checking size of int" >&5
10526 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10527 echo $ac_n "(cached) $ac_c" 1>&6
10529 if test "$cross_compiling" = yes; then
10532 cat > conftest.
$ac_ext <<EOF
10533 #line 10534 "configure"
10534 #include "confdefs.h"
10536 #include <sys/types.h>
10539 FILE *f=fopen("conftestval", "w");
10541 fprintf(f, "%d\n", sizeof(int));
10545 if { (eval echo configure
:10546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10547 ac_cv_sizeof_int
=`cat conftestval`
10549 echo "configure: failed program was:" >&5
10550 cat conftest.
$ac_ext >&5
10558 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10559 cat >> confdefs.h
<<EOF
10560 #define SIZEOF_INT $ac_cv_sizeof_int
10564 echo $ac_n "checking size of long""... $ac_c" 1>&6
10565 echo "configure:10566: checking size of long" >&5
10566 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10567 echo $ac_n "(cached) $ac_c" 1>&6
10569 if test "$cross_compiling" = yes; then
10570 ac_cv_sizeof_long
=4
10572 cat > conftest.
$ac_ext <<EOF
10573 #line 10574 "configure"
10574 #include "confdefs.h"
10576 #include <sys/types.h>
10579 FILE *f=fopen("conftestval", "w");
10581 fprintf(f, "%d\n", sizeof(long));
10585 if { (eval echo configure
:10586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10587 ac_cv_sizeof_long
=`cat conftestval`
10589 echo "configure: failed program was:" >&5
10590 cat conftest.
$ac_ext >&5
10592 ac_cv_sizeof_long
=0
10598 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10599 cat >> confdefs.h
<<EOF
10600 #define SIZEOF_LONG $ac_cv_sizeof_long
10607 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10608 echo "configure:10609: checking size of long long" >&5
10609 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10610 echo $ac_n "(cached) $ac_c" 1>&6
10612 if test "$cross_compiling" = yes; then
10613 ac_cv_sizeof_long_long
=8
10615 cat > conftest.
$ac_ext <<EOF
10616 #line 10617 "configure"
10617 #include "confdefs.h"
10619 #include <sys/types.h>
10622 FILE *f=fopen("conftestval", "w");
10624 fprintf(f, "%d\n", sizeof(long long));
10628 if { (eval echo configure
:10629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10630 ac_cv_sizeof_long_long
=`cat conftestval`
10632 echo "configure: failed program was:" >&5
10633 cat conftest.
$ac_ext >&5
10635 ac_cv_sizeof_long_long
=0
10641 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10642 cat >> confdefs.h
<<EOF
10643 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10649 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10650 echo "configure:10651: checking size of long long" >&5
10651 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10652 echo $ac_n "(cached) $ac_c" 1>&6
10654 if test "$cross_compiling" = yes; then
10655 ac_cv_sizeof_long_long
=0
10657 cat > conftest.
$ac_ext <<EOF
10658 #line 10659 "configure"
10659 #include "confdefs.h"
10661 #include <sys/types.h>
10664 FILE *f=fopen("conftestval", "w");
10666 fprintf(f, "%d\n", sizeof(long long));
10670 if { (eval echo configure
:10671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10672 ac_cv_sizeof_long_long
=`cat conftestval`
10674 echo "configure: failed program was:" >&5
10675 cat conftest.
$ac_ext >&5
10677 ac_cv_sizeof_long_long
=0
10683 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10684 cat >> confdefs.h
<<EOF
10685 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10689 if test "$ac_cv_sizeof_long_long" != "0"; then
10690 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10694 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10695 echo "configure:10696: checking size of long long" >&5
10696 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10697 echo $ac_n "(cached) $ac_c" 1>&6
10699 if test "$cross_compiling" = yes; then
10700 ac_cv_sizeof_long_long
=0
10702 cat > conftest.
$ac_ext <<EOF
10703 #line 10704 "configure"
10704 #include "confdefs.h"
10706 #include <sys/types.h>
10709 FILE *f=fopen("conftestval", "w");
10711 fprintf(f, "%d\n", sizeof(long long));
10715 if { (eval echo configure
:10716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10717 ac_cv_sizeof_long_long
=`cat conftestval`
10719 echo "configure: failed program was:" >&5
10720 cat conftest.
$ac_ext >&5
10722 ac_cv_sizeof_long_long
=0
10728 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10729 cat >> confdefs.h
<<EOF
10730 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10736 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10737 echo "configure:10738: checking size of wchar_t" >&5
10738 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10739 echo $ac_n "(cached) $ac_c" 1>&6
10742 if test "$cross_compiling" = yes; then
10746 wx_cv_sizeof_wchar_t
=0
10749 wx_cv_sizeof_wchar_t
=4
10755 cat > conftest.
$ac_ext <<EOF
10756 #line 10757 "configure"
10757 #include "confdefs.h"
10759 /* DJGPP only has fake wchar_t: */
10761 # error "fake wchar_t"
10763 #ifdef HAVE_WCHAR_H
10765 # include <stddef.h>
10767 # include <wchar.h>
10769 #ifdef HAVE_STDLIB_H
10770 # include <stdlib.h>
10775 FILE *f=fopen("conftestval", "w");
10777 fprintf(f, "%i", sizeof(wchar_t));
10782 if { (eval echo configure
:10783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10784 wx_cv_sizeof_wchar_t
=`cat conftestval`
10786 echo "configure: failed program was:" >&5
10787 cat conftest.
$ac_ext >&5
10789 wx_cv_sizeof_wchar_t
=0
10797 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10799 cat >> confdefs.h
<<EOF
10800 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10804 # Check whether --enable-largefile or --disable-largefile was given.
10805 if test "${enable_largefile+set}" = set; then
10806 enableval
="$enable_largefile"
10810 if test "$enable_largefile" != no
; then
10813 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10814 echo "configure:10815: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10815 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10816 echo $ac_n "(cached) $ac_c" 1>&6
10819 cat > conftest.
$ac_ext <<EOF
10820 #line 10821 "configure"
10821 #include "confdefs.h"
10822 #define _FILE_OFFSET_BITS 64
10823 #include <sys/types.h>
10826 unsigned int field: sizeof(off_t) == 8;
10831 if { (eval echo configure
:10832: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10833 ac_cv_sys_file_offset_bits
=64
10835 echo "configure: failed program was:" >&5
10836 cat conftest.
$ac_ext >&5
10838 ac_cv_sys_file_offset_bits
=no
10845 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10847 if test "$ac_cv_sys_file_offset_bits" != no
; then
10849 cat >> confdefs.h
<<EOF
10850 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10855 if test "x$wx_largefile" != "xyes"; then
10857 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10858 echo "configure:10859: checking for _LARGE_FILES value needed for large files" >&5
10859 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10860 echo $ac_n "(cached) $ac_c" 1>&6
10863 cat > conftest.
$ac_ext <<EOF
10864 #line 10865 "configure"
10865 #include "confdefs.h"
10866 #define _LARGE_FILES 1
10867 #include <sys/types.h>
10870 unsigned int field: sizeof(off_t) == 8;
10875 if { (eval echo configure
:10876: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10877 ac_cv_sys_large_files
=1
10879 echo "configure: failed program was:" >&5
10880 cat conftest.
$ac_ext >&5
10882 ac_cv_sys_large_files
=no
10889 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10891 if test "$ac_cv_sys_large_files" != no
; then
10893 cat >> confdefs.h
<<EOF
10894 #define _LARGE_FILES $ac_cv_sys_large_files
10901 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10902 echo "configure:10903: checking if large file support is available" >&5
10903 if test "x$wx_largefile" = "xyes"; then
10904 cat >> confdefs.h
<<\EOF
10905 #define HAVE_LARGEFILE_SUPPORT 1
10909 echo "$ac_t""$wx_largefile" 1>&6
10913 if test "x$wx_largefile" = "xyes"; then
10914 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10915 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10917 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10919 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10922 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10923 echo "configure:10924: checking whether byte ordering is bigendian" >&5
10924 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10925 echo $ac_n "(cached) $ac_c" 1>&6
10927 ac_cv_c_bigendian
=unknown
10928 # See if sys/param.h defines the BYTE_ORDER macro.
10929 cat > conftest.
$ac_ext <<EOF
10930 #line 10931 "configure"
10931 #include "confdefs.h"
10932 #include <sys/types.h>
10933 #include <sys/param.h>
10936 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10937 bogus endian macros
10941 if { (eval echo configure
:10942: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10943 # It does; now see whether it defined to BIG_ENDIAN or not.
10944 cat > conftest.
$ac_ext <<EOF
10945 #line 10946 "configure"
10946 #include "confdefs.h"
10947 #include <sys/types.h>
10948 #include <sys/param.h>
10951 #if BYTE_ORDER != BIG_ENDIAN
10956 if { (eval echo configure
:10957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10958 ac_cv_c_bigendian
=yes
10960 echo "configure: failed program was:" >&5
10961 cat conftest.
$ac_ext >&5
10963 ac_cv_c_bigendian
=no
10967 echo "configure: failed program was:" >&5
10968 cat conftest.
$ac_ext >&5
10971 if test $ac_cv_c_bigendian = unknown
; then
10972 if test "$cross_compiling" = yes; then
10973 ac_cv_c_bigendian
=unknown
10975 cat > conftest.
$ac_ext <<EOF
10976 #line 10977 "configure"
10977 #include "confdefs.h"
10979 /* Are we little or big endian? From Harbison&Steele. */
10983 char c[sizeof (long)];
10986 exit (u.c[sizeof (long) - 1] == 1);
10989 if { (eval echo configure
:10990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10991 ac_cv_c_bigendian
=no
10993 echo "configure: failed program was:" >&5
10994 cat conftest.
$ac_ext >&5
10996 ac_cv_c_bigendian
=yes
11004 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11005 if test $ac_cv_c_bigendian = unknown
; then
11006 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
11008 if test $ac_cv_c_bigendian = yes; then
11009 cat >> confdefs.h
<<\EOF
11010 #define WORDS_BIGENDIAN 1
11016 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
11017 echo "configure:11018: checking how to run the C++ preprocessor" >&5
11018 if test -z "$CXXCPP"; then
11019 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
11020 echo $ac_n "(cached) $ac_c" 1>&6
11023 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11024 ac_cpp
='$CXXCPP $CPPFLAGS'
11025 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11026 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11027 cross_compiling
=$ac_cv_prog_cxx_cross
11028 CXXCPP
="${CXX-g++} -E"
11029 cat > conftest.
$ac_ext <<EOF
11030 #line 11031 "configure"
11031 #include "confdefs.h"
11032 #include <stdlib.h>
11034 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11035 { (eval echo configure
:11036: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11036 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11037 if test -z "$ac_err"; then
11041 echo "configure: failed program was:" >&5
11042 cat conftest.
$ac_ext >&5
11047 ac_cv_prog_CXXCPP
="$CXXCPP"
11049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11050 ac_cpp
='$CXXCPP $CPPFLAGS'
11051 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11052 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11053 cross_compiling
=$ac_cv_prog_cxx_cross
11056 CXXCPP
="$ac_cv_prog_CXXCPP"
11057 echo "$ac_t""$CXXCPP" 1>&6
11060 if test "$cross_compiling" = "yes"; then
11061 cat >> confdefs.h
<<\EOF
11062 #define wxUSE_IOSTREAMH 1
11068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11069 ac_cpp
='$CXXCPP $CPPFLAGS'
11070 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11071 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11072 cross_compiling
=$ac_cv_prog_cxx_cross
11075 for ac_hdr
in iostream
11077 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11078 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11079 echo "configure:11080: checking for $ac_hdr" >&5
11080 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11081 echo $ac_n "(cached) $ac_c" 1>&6
11083 cat > conftest.
$ac_ext <<EOF
11084 #line 11085 "configure"
11085 #include "confdefs.h"
11088 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11089 { (eval echo configure
:11090: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11090 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11091 if test -z "$ac_err"; then
11093 eval "ac_cv_header_$ac_safe=yes"
11096 echo "configure: failed program was:" >&5
11097 cat conftest.
$ac_ext >&5
11099 eval "ac_cv_header_$ac_safe=no"
11103 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11104 echo "$ac_t""yes" 1>&6
11105 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11106 cat >> confdefs.h
<<EOF
11107 #define $ac_tr_hdr 1
11111 echo "$ac_t""no" 1>&6
11116 if test "$ac_cv_header_iostream" = "yes" ; then
11119 cat >> confdefs.h
<<\EOF
11120 #define wxUSE_IOSTREAMH 1
11126 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11127 ac_cpp
='$CPP $CPPFLAGS'
11128 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11129 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11130 cross_compiling
=$ac_cv_prog_cc_cross
11136 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11137 echo "configure:11138: checking if C++ compiler supports bool" >&5
11138 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11139 echo $ac_n "(cached) $ac_c" 1>&6
11144 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11145 ac_cpp
='$CXXCPP $CPPFLAGS'
11146 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11147 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11148 cross_compiling
=$ac_cv_prog_cxx_cross
11151 cat > conftest.
$ac_ext <<EOF
11152 #line 11153 "configure"
11153 #include "confdefs.h"
11164 if { (eval echo configure
:11165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11170 echo "configure: failed program was:" >&5
11171 cat conftest.
$ac_ext >&5
11181 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11182 ac_cpp
='$CPP $CPPFLAGS'
11183 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11184 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11185 cross_compiling
=$ac_cv_prog_cc_cross
11190 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11192 if test "$wx_cv_cpp_bool" = "yes"; then
11193 cat >> confdefs.h
<<\EOF
11194 #define HAVE_BOOL 1
11201 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11202 echo "configure:11203: checking if C++ compiler supports the explicit keyword" >&5
11203 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11204 echo $ac_n "(cached) $ac_c" 1>&6
11209 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11210 ac_cpp
='$CXXCPP $CPPFLAGS'
11211 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11212 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11213 cross_compiling
=$ac_cv_prog_cxx_cross
11216 cat > conftest.
$ac_ext <<EOF
11217 #line 11218 "configure"
11218 #include "confdefs.h"
11220 class Foo { public: explicit Foo(int) {} };
11228 if { (eval echo configure
:11229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11231 cat > conftest.
$ac_ext <<EOF
11232 #line 11233 "configure"
11233 #include "confdefs.h"
11235 class Foo { public: explicit Foo(int) {} };
11236 static void TakeFoo(const Foo& foo) { }
11245 if { (eval echo configure
:11246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11249 echo "configure: failed program was:" >&5
11250 cat conftest.
$ac_ext >&5
11258 echo "configure: failed program was:" >&5
11259 cat conftest.
$ac_ext >&5
11267 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11268 ac_cpp
='$CPP $CPPFLAGS'
11269 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11270 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11271 cross_compiling
=$ac_cv_prog_cc_cross
11276 echo "$ac_t""$wx_cv_explicit" 1>&6
11278 if test "$wx_cv_explicit" = "yes"; then
11279 cat >> confdefs.h
<<\EOF
11280 #define HAVE_EXPLICIT 1
11286 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11287 echo "configure:11288: checking whether the compiler supports const_cast<>" >&5
11288 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11289 echo $ac_n "(cached) $ac_c" 1>&6
11293 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11294 ac_cpp
='$CXXCPP $CPPFLAGS'
11295 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11296 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11297 cross_compiling
=$ac_cv_prog_cxx_cross
11299 cat > conftest.
$ac_ext <<EOF
11300 #line 11301 "configure"
11301 #include "confdefs.h"
11304 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11307 if { (eval echo configure
:11308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11309 ac_cv_cxx_const_cast
=yes
11311 echo "configure: failed program was:" >&5
11312 cat conftest.
$ac_ext >&5
11314 ac_cv_cxx_const_cast
=no
11318 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11319 ac_cpp
='$CPP $CPPFLAGS'
11320 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11321 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11322 cross_compiling
=$ac_cv_prog_cc_cross
11327 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11328 if test "$ac_cv_cxx_const_cast" = yes; then
11329 cat >> confdefs.h
<<\EOF
11330 #define HAVE_CONST_CAST
11338 /usr/local/include \
11340 /usr/Motif-1.2/include \
11341 /usr/Motif-2.1/include \
11343 /usr/include/Motif1.2 \
11344 /opt/xpm/include/X11 \
11345 /opt/GBxpm/include/ \
11346 /opt/GBxpm/X11/include/ \
11348 /usr/Motif1.2/include \
11350 /usr/openwin/include \
11354 /usr/X11R6/include \
11355 /usr/X11R6.4/include \
11356 /usr/X11R5/include \
11357 /usr/X11R4/include \
11359 /usr/include/X11R6 \
11360 /usr/include/X11R5 \
11361 /usr/include/X11R4 \
11363 /usr/local/X11R6/include \
11364 /usr/local/X11R5/include \
11365 /usr/local/X11R4/include \
11367 /usr/local/include/X11R6 \
11368 /usr/local/include/X11R5 \
11369 /usr/local/include/X11R4 \
11373 /usr/local/X11/include \
11374 /usr/local/include/X11 \
11376 /usr/X386/include \
11377 /usr/x386/include \
11378 /usr/XFree86/include/X11 \
11380 X:/XFree86/include \
11381 X:/XFree86/include/X11 \
11384 /usr/local/include/gtk \
11385 /usr/include/glib \
11386 /usr/local/include/glib \
11389 /usr/local/include/qt \
11391 /usr/include/windows \
11392 /usr/include/wine \
11393 /usr/local/include/wine \
11395 /usr/unsupported/include \
11396 /usr/athena/include \
11397 /usr/local/x11r5/include \
11398 /usr/lpp/Xamples/include \
11400 /usr/openwin/share/include"
11402 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11405 cat > confcache
<<\EOF
11406 # This file is a shell script that caches the results of configure
11407 # tests run on this system so they can be shared between configure
11408 # scripts and configure runs. It is not useful on other systems.
11409 # If it contains results you don't want to keep, you may remove or edit it.
11411 # By default, configure uses ./config.cache as the cache file,
11412 # creating it if it does not exist already. You can give configure
11413 # the --cache-file=FILE option to use a different cache file; that is
11414 # what configure does when it calls configure scripts in
11415 # subdirectories, so they share the cache.
11416 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11417 # config.status only pays attention to the cache file if you give it the
11418 # --recheck option to rerun configure.
11421 # The following way of writing the cache mishandles newlines in values,
11422 # but we know of no workaround that is simple, portable, and efficient.
11423 # So, don't put newlines in cache variables' values.
11424 # Ultrix sh set writes to stderr and can't be redirected directly,
11425 # and sets the high bit in the cache file unless we assign to the vars.
11427 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11429 # `set' does not quote correctly, so add quotes (double-quote substitution
11430 # turns \\\\ into \\, and sed turns \\ into \).
11432 -e "s/'/'\\\\''/g" \
11433 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11436 # `set' quotes correctly as required by POSIX, so do not add quotes.
11437 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11440 if cmp -s $cache_file confcache
; then
11443 if test -w $cache_file; then
11444 echo "updating cache $cache_file"
11445 cat confcache
> $cache_file
11447 echo "not updating unwritable cache $cache_file"
11453 if test "$USE_LINUX" = 1; then
11454 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11455 echo "configure:11456: checking for glibc 2.1 or later" >&5
11456 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11457 echo $ac_n "(cached) $ac_c" 1>&6
11460 cat > conftest.
$ac_ext <<EOF
11461 #line 11462 "configure"
11462 #include "confdefs.h"
11463 #include <features.h>
11466 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11467 #error not glibc2.1
11472 if { (eval echo configure
:11473: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11475 wx_cv_lib_glibc21
=yes
11478 echo "configure: failed program was:" >&5
11479 cat conftest.
$ac_ext >&5
11482 wx_cv_lib_glibc21
=no
11490 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11491 if test "$wx_cv_lib_glibc21" = "yes"; then
11492 cat >> confdefs.h
<<\EOF
11493 #define wxHAVE_GLIBC2 1
11499 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11500 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11501 cat >> confdefs.h
<<\EOF
11502 #define _GNU_SOURCE 1
11511 if test "$wxUSE_REGEX" != "no"; then
11512 cat >> confdefs.h
<<\EOF
11513 #define wxUSE_REGEX 1
11517 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11518 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11519 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11520 echo "configure:11521: checking for regex.h" >&5
11521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11522 echo $ac_n "(cached) $ac_c" 1>&6
11524 cat > conftest.
$ac_ext <<EOF
11525 #line 11526 "configure"
11526 #include "confdefs.h"
11529 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11530 { (eval echo configure
:11531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11531 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11532 if test -z "$ac_err"; then
11534 eval "ac_cv_header_$ac_safe=yes"
11537 echo "configure: failed program was:" >&5
11538 cat conftest.
$ac_ext >&5
11540 eval "ac_cv_header_$ac_safe=no"
11544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11545 echo "$ac_t""yes" 1>&6
11546 for ac_func
in regcomp
11548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11549 echo "configure:11550: checking for $ac_func" >&5
11550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11551 echo $ac_n "(cached) $ac_c" 1>&6
11553 cat > conftest.
$ac_ext <<EOF
11554 #line 11555 "configure"
11555 #include "confdefs.h"
11556 /* System header to define __stub macros and hopefully few prototypes,
11557 which can conflict with char $ac_func(); below. */
11558 #include <assert.h>
11559 /* Override any gcc2 internal prototype to avoid an error. */
11560 /* We use char because int might match the return type of a gcc2
11561 builtin and then its argument prototype would still apply. */
11566 /* The GNU C library defines this for functions which it implements
11567 to always fail with ENOSYS. Some functions are actually named
11568 something starting with __ and the normal name is an alias. */
11569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11577 if { (eval echo configure
:11578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11579 eval "ac_cv_func_$ac_func=yes"
11581 echo "configure: failed program was:" >&5
11582 cat conftest.
$ac_ext >&5
11584 eval "ac_cv_func_$ac_func=no"
11589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11590 echo "$ac_t""yes" 1>&6
11591 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11592 cat >> confdefs.h
<<EOF
11593 #define $ac_tr_func 1
11597 echo "$ac_t""no" 1>&6
11602 echo "$ac_t""no" 1>&6
11606 if test "x$ac_cv_func_regcomp" != "xyes"; then
11607 if test "$wxUSE_REGEX" = "sys" ; then
11608 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11610 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11611 wxUSE_REGEX
=builtin
11618 if test "$wxUSE_REGEX" = "builtin" ; then
11619 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11626 if test "$wxUSE_ZLIB" != "no" ; then
11627 cat >> confdefs.h
<<\EOF
11628 #define wxUSE_ZLIB 1
11632 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11633 if test "$USE_DARWIN" = 1; then
11634 system_zlib_h_ok
="yes"
11636 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11637 echo "configure:11638: checking for zlib.h >= 1.1.4" >&5
11638 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11639 echo $ac_n "(cached) $ac_c" 1>&6
11641 if test "$cross_compiling" = yes; then
11642 unset ac_cv_header_zlib_h
11645 cat > conftest.
$ac_ext <<EOF
11646 #line 11647 "configure"
11647 #include "confdefs.h"
11654 FILE *f=fopen("conftestval", "w");
11657 ZLIB_VERSION[0] == '1' &&
11658 (ZLIB_VERSION[2] > '1' ||
11659 (ZLIB_VERSION[2] == '1' &&
11660 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11665 if { (eval echo configure
:11666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11667 ac_cv_header_zlib_h
=`cat conftestval`
11669 echo "configure: failed program was:" >&5
11670 cat conftest.
$ac_ext >&5
11672 ac_cv_header_zlib_h
=no
11680 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11681 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11682 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11683 echo "configure:11684: checking for zlib.h" >&5
11684 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11685 echo $ac_n "(cached) $ac_c" 1>&6
11687 cat > conftest.
$ac_ext <<EOF
11688 #line 11689 "configure"
11689 #include "confdefs.h"
11692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11693 { (eval echo configure
:11694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11695 if test -z "$ac_err"; then
11697 eval "ac_cv_header_$ac_safe=yes"
11700 echo "configure: failed program was:" >&5
11701 cat conftest.
$ac_ext >&5
11703 eval "ac_cv_header_$ac_safe=no"
11707 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11708 echo "$ac_t""yes" 1>&6
11711 echo "$ac_t""no" 1>&6
11715 system_zlib_h_ok
=$ac_cv_header_zlib_h
11718 if test "$system_zlib_h_ok" = "yes"; then
11719 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11720 echo "configure:11721: checking for deflate in -lz" >&5
11721 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11722 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11723 echo $ac_n "(cached) $ac_c" 1>&6
11725 ac_save_LIBS
="$LIBS"
11727 cat > conftest.
$ac_ext <<EOF
11728 #line 11729 "configure"
11729 #include "confdefs.h"
11730 /* Override any gcc2 internal prototype to avoid an error. */
11731 /* We use char because int might match the return type of a gcc2
11732 builtin and then its argument prototype would still apply. */
11739 if { (eval echo configure
:11740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11741 eval "ac_cv_lib_$ac_lib_var=yes"
11743 echo "configure: failed program was:" >&5
11744 cat conftest.
$ac_ext >&5
11746 eval "ac_cv_lib_$ac_lib_var=no"
11749 LIBS
="$ac_save_LIBS"
11752 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11753 echo "$ac_t""yes" 1>&6
11756 echo "$ac_t""no" 1>&6
11761 if test "x$ZLIB_LINK" = "x" ; then
11762 if test "$wxUSE_ZLIB" = "sys" ; then
11763 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11765 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11773 if test "$wxUSE_ZLIB" = "builtin" ; then
11774 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11781 if test "$wxUSE_LIBPNG" != "no" ; then
11782 cat >> confdefs.h
<<\EOF
11783 #define wxUSE_LIBPNG 1
11787 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11788 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11792 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11793 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11794 wxUSE_LIBPNG
=builtin
11797 if test "$wxUSE_MGL" != 1 ; then
11798 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11799 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11800 echo "configure:11801: checking for png.h > 0.90" >&5
11801 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11802 echo $ac_n "(cached) $ac_c" 1>&6
11804 if test "$cross_compiling" = yes; then
11805 unset ac_cv_header_png_h
11808 cat > conftest.
$ac_ext <<EOF
11809 #line 11810 "configure"
11810 #include "confdefs.h"
11817 FILE *f=fopen("conftestval", "w");
11820 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11825 if { (eval echo configure
:11826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11827 ac_cv_header_png_h
=`cat conftestval`
11829 echo "configure: failed program was:" >&5
11830 cat conftest.
$ac_ext >&5
11832 ac_cv_header_png_h
=no
11840 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11841 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11842 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11843 echo "configure:11844: checking for png.h" >&5
11844 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11845 echo $ac_n "(cached) $ac_c" 1>&6
11847 cat > conftest.
$ac_ext <<EOF
11848 #line 11849 "configure"
11849 #include "confdefs.h"
11852 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11853 { (eval echo configure
:11854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11854 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11855 if test -z "$ac_err"; then
11857 eval "ac_cv_header_$ac_safe=yes"
11860 echo "configure: failed program was:" >&5
11861 cat conftest.
$ac_ext >&5
11863 eval "ac_cv_header_$ac_safe=no"
11867 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11868 echo "$ac_t""yes" 1>&6
11871 echo "$ac_t""no" 1>&6
11875 if test "$ac_cv_header_png_h" = "yes"; then
11876 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11877 echo "configure:11878: checking for png_check_sig in -lpng" >&5
11878 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11879 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11880 echo $ac_n "(cached) $ac_c" 1>&6
11882 ac_save_LIBS
="$LIBS"
11883 LIBS
="-lpng -lz -lm $LIBS"
11884 cat > conftest.
$ac_ext <<EOF
11885 #line 11886 "configure"
11886 #include "confdefs.h"
11887 /* Override any gcc2 internal prototype to avoid an error. */
11888 /* We use char because int might match the return type of a gcc2
11889 builtin and then its argument prototype would still apply. */
11890 char png_check_sig();
11896 if { (eval echo configure
:11897: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11898 eval "ac_cv_lib_$ac_lib_var=yes"
11900 echo "configure: failed program was:" >&5
11901 cat conftest.
$ac_ext >&5
11903 eval "ac_cv_lib_$ac_lib_var=no"
11906 LIBS
="$ac_save_LIBS"
11909 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11910 echo "$ac_t""yes" 1>&6
11913 echo "$ac_t""no" 1>&6
11918 if test "x$PNG_LINK" = "x" ; then
11919 if test "$wxUSE_LIBPNG" = "sys" ; then
11920 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11922 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11923 wxUSE_LIBPNG
=builtin
11931 if test "$wxUSE_LIBPNG" = "builtin" ; then
11932 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11935 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11941 if test "$wxUSE_LIBJPEG" != "no" ; then
11942 cat >> confdefs.h
<<\EOF
11943 #define wxUSE_LIBJPEG 1
11947 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11948 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11952 if test "$wxUSE_MGL" != 1 ; then
11953 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11954 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11955 echo "configure:11956: checking for jpeglib.h" >&5
11956 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11957 echo $ac_n "(cached) $ac_c" 1>&6
11959 cat > conftest.
$ac_ext <<EOF
11960 #line 11961 "configure"
11961 #include "confdefs.h"
11963 #undef HAVE_STDLIB_H
11965 #include <jpeglib.h>
11972 if { (eval echo configure
:11973: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11974 ac_cv_header_jpeglib_h
=yes
11976 echo "configure: failed program was:" >&5
11977 cat conftest.
$ac_ext >&5
11979 ac_cv_header_jpeglib_h
=no
11986 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11988 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11989 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11990 echo "configure:11991: checking for jpeg_read_header in -ljpeg" >&5
11991 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11992 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11993 echo $ac_n "(cached) $ac_c" 1>&6
11995 ac_save_LIBS
="$LIBS"
11996 LIBS
="-ljpeg $LIBS"
11997 cat > conftest.
$ac_ext <<EOF
11998 #line 11999 "configure"
11999 #include "confdefs.h"
12000 /* Override any gcc2 internal prototype to avoid an error. */
12001 /* We use char because int might match the return type of a gcc2
12002 builtin and then its argument prototype would still apply. */
12003 char jpeg_read_header();
12009 if { (eval echo configure
:12010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12011 eval "ac_cv_lib_$ac_lib_var=yes"
12013 echo "configure: failed program was:" >&5
12014 cat conftest.
$ac_ext >&5
12016 eval "ac_cv_lib_$ac_lib_var=no"
12019 LIBS
="$ac_save_LIBS"
12022 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12023 echo "$ac_t""yes" 1>&6
12024 JPEG_LINK
=" -ljpeg"
12026 echo "$ac_t""no" 1>&6
12031 if test "x$JPEG_LINK" = "x" ; then
12032 if test "$wxUSE_LIBJPEG" = "sys" ; then
12033 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
12035 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
12036 wxUSE_LIBJPEG
=builtin
12044 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12045 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12052 TIFF_PREREQ_LINKS
=-lm
12053 if test "$wxUSE_LIBTIFF" != "no" ; then
12054 cat >> confdefs.h
<<\EOF
12055 #define wxUSE_LIBTIFF 1
12059 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
12060 if test "$wxUSE_LIBJPEG" = "sys"; then
12061 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12063 if test "$wxUSE_ZLIB" = "sys"; then
12064 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12066 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12067 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12068 echo "configure:12069: checking for tiffio.h" >&5
12069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12070 echo $ac_n "(cached) $ac_c" 1>&6
12072 cat > conftest.
$ac_ext <<EOF
12073 #line 12074 "configure"
12074 #include "confdefs.h"
12075 #include <tiffio.h>
12077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12078 { (eval echo configure
:12079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12080 if test -z "$ac_err"; then
12082 eval "ac_cv_header_$ac_safe=yes"
12085 echo "configure: failed program was:" >&5
12086 cat conftest.
$ac_ext >&5
12088 eval "ac_cv_header_$ac_safe=no"
12092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12093 echo "$ac_t""yes" 1>&6
12094 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12095 echo "configure:12096: checking for TIFFError in -ltiff" >&5
12096 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12098 echo $ac_n "(cached) $ac_c" 1>&6
12100 ac_save_LIBS
="$LIBS"
12101 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12102 cat > conftest.
$ac_ext <<EOF
12103 #line 12104 "configure"
12104 #include "confdefs.h"
12105 /* Override any gcc2 internal prototype to avoid an error. */
12106 /* We use char because int might match the return type of a gcc2
12107 builtin and then its argument prototype would still apply. */
12114 if { (eval echo configure
:12115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12116 eval "ac_cv_lib_$ac_lib_var=yes"
12118 echo "configure: failed program was:" >&5
12119 cat conftest.
$ac_ext >&5
12121 eval "ac_cv_lib_$ac_lib_var=no"
12124 LIBS
="$ac_save_LIBS"
12127 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12128 echo "$ac_t""yes" 1>&6
12129 TIFF_LINK
=" -ltiff"
12131 echo "$ac_t""no" 1>&6
12136 echo "$ac_t""no" 1>&6
12140 if test "x$TIFF_LINK" = "x" ; then
12141 if test "$wxUSE_LIBTIFF" = "sys" ; then
12142 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12144 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12145 wxUSE_LIBTIFF
=builtin
12152 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12153 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12165 if test "$USE_WIN32" = 1 ; then
12166 for ac_hdr
in w32api.h
12168 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12169 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12170 echo "configure:12171: checking for $ac_hdr" >&5
12171 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12172 echo $ac_n "(cached) $ac_c" 1>&6
12174 cat > conftest.
$ac_ext <<EOF
12175 #line 12176 "configure"
12176 #include "confdefs.h"
12179 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12180 { (eval echo configure
:12181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12181 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12182 if test -z "$ac_err"; then
12184 eval "ac_cv_header_$ac_safe=yes"
12187 echo "configure: failed program was:" >&5
12188 cat conftest.
$ac_ext >&5
12190 eval "ac_cv_header_$ac_safe=no"
12194 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12195 echo "$ac_t""yes" 1>&6
12196 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12197 cat >> confdefs.h
<<EOF
12198 #define $ac_tr_hdr 1
12202 echo "$ac_t""no" 1>&6
12206 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12207 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12208 echo "configure:12209: checking for windows.h" >&5
12209 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12210 echo $ac_n "(cached) $ac_c" 1>&6
12212 cat > conftest.
$ac_ext <<EOF
12213 #line 12214 "configure"
12214 #include "confdefs.h"
12215 #include <windows.h>
12217 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12218 { (eval echo configure
:12219: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12219 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12220 if test -z "$ac_err"; then
12222 eval "ac_cv_header_$ac_safe=yes"
12225 echo "configure: failed program was:" >&5
12226 cat conftest.
$ac_ext >&5
12228 eval "ac_cv_header_$ac_safe=no"
12232 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12233 echo "$ac_t""yes" 1>&6
12236 echo "$ac_t""no" 1>&6
12238 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12243 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12244 echo "configure:12245: checking if w32api has good enough MSIE support" >&5
12245 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12246 echo $ac_n "(cached) $ac_c" 1>&6
12249 cat > conftest.
$ac_ext <<EOF
12250 #line 12251 "configure"
12251 #include "confdefs.h"
12252 #include <w32api.h>
12255 #define wxCHECK_W32API_VERSION( major, minor ) \
12256 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12257 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12258 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12260 #if !wxCHECK_W32API_VERSION(1,1)
12261 #error You need w32api 1.1 or newer
12266 if { (eval echo configure
:12267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12269 wx_cv_w32api_win32_ie
=yes
12272 echo "configure: failed program was:" >&5
12273 cat conftest.
$ac_ext >&5
12276 wx_cv_w32api_win32_ie
=no
12283 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12284 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12285 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12288 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12290 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
12291 LIBS
="$LIBS -loleacc"
12296 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12297 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12300 if test "$wxUSE_ODBC" = "sys" ; then
12303 if test "$wxUSE_ODBC" = "yes" ; then
12304 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12305 cat >> confdefs.h
<<\EOF
12306 #define wxUSE_ODBC 1
12311 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12312 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12314 WIN32INSTALL
=win32install
12317 if test "$USE_DARWIN" = 1; then
12318 if test "$wxUSE_PRECOMP" = "yes"; then
12319 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12321 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12325 if test "$wxUSE_GUI" = "yes"; then
12334 if test "$wxUSE_MSW" = 1 ; then
12338 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12341 if test "$wxUSE_GTK" = 1; then
12342 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12343 echo "configure:12344: checking for GTK+ version" >&5
12345 gtk_version_cached
=1
12346 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12347 echo $ac_n "(cached) $ac_c" 1>&6
12350 gtk_version_cached
=0
12351 echo "$ac_t""" 1>&6
12354 if test "$wxUSE_THREADS" = "yes"; then
12355 GTK_MODULES
=gthread
12359 if test "x$wxUSE_GTK2" = "xyes"; then
12360 # Check whether --enable-gtktest or --disable-gtktest was given.
12361 if test "${enable_gtktest+set}" = set; then
12362 enableval
="$enable_gtktest"
12369 pkg_config_args
=gtk
+-2.0
12370 for module
in .
$GTK_MODULES
12374 pkg_config_args
="$pkg_config_args gthread-2.0"
12381 # Extract the first word of "pkg-config", so it can be a program name with args.
12382 set dummy pkg
-config; ac_word
=$2
12383 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12384 echo "configure:12385: checking for $ac_word" >&5
12385 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12386 echo $ac_n "(cached) $ac_c" 1>&6
12388 case "$PKG_CONFIG" in
12390 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12393 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12396 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12398 for ac_dir
in $ac_dummy; do
12399 test -z "$ac_dir" && ac_dir
=.
12400 if test -f $ac_dir/$ac_word; then
12401 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12406 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12410 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12411 if test -n "$PKG_CONFIG"; then
12412 echo "$ac_t""$PKG_CONFIG" 1>&6
12414 echo "$ac_t""no" 1>&6
12418 if test x
$PKG_CONFIG != xno
; then
12419 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12422 echo *** pkg
-config too old
; version
0.7 or better required.
12430 min_gtk_version
=2.0.0
12431 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12432 echo "configure:12433: checking for GTK+ - version >= $min_gtk_version" >&5
12434 if test x
$PKG_CONFIG != xno
; then
12435 ## don't try to run the test against uninstalled libtool libs
12436 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12437 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12441 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12448 if test x
"$no_gtk" = x
; then
12449 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12450 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12451 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12453 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12455 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12457 if test "x$enable_gtktest" = "xyes" ; then
12458 ac_save_CFLAGS
="$CFLAGS"
12459 ac_save_LIBS
="$LIBS"
12460 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12461 LIBS
="$GTK_LIBS $LIBS"
12463 if test "$cross_compiling" = yes; then
12464 echo $ac_n "cross compiling; assumed OK... $ac_c"
12466 cat > conftest.
$ac_ext <<EOF
12467 #line 12468 "configure"
12468 #include "confdefs.h"
12470 #include <gtk/gtk.h>
12472 #include <stdlib.h>
12477 int major, minor, micro;
12480 system ("touch conf.gtktest");
12482 /* HP/UX 9 (%@#!) writes to sscanf strings */
12483 tmp_version = g_strdup("$min_gtk_version");
12484 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12485 printf("%s, bad version string\n", "$min_gtk_version");
12489 if ((gtk_major_version != $gtk_config_major_version) ||
12490 (gtk_minor_version != $gtk_config_minor_version) ||
12491 (gtk_micro_version != $gtk_config_micro_version))
12493 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12494 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12495 gtk_major_version, gtk_minor_version, gtk_micro_version);
12496 printf ("*** was found! If pkg-config was correct, then it is best\n");
12497 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12498 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12499 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12500 printf("*** required on your system.\n");
12501 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12502 printf("*** to point to the correct configuration files\n");
12504 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12505 (gtk_minor_version != GTK_MINOR_VERSION) ||
12506 (gtk_micro_version != GTK_MICRO_VERSION))
12508 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12509 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12510 printf("*** library (version %d.%d.%d)\n",
12511 gtk_major_version, gtk_minor_version, gtk_micro_version);
12515 if ((gtk_major_version > major) ||
12516 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12517 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12523 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12524 gtk_major_version, gtk_minor_version, gtk_micro_version);
12525 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12526 major, minor, micro);
12527 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12529 printf("*** If you have already installed a sufficiently new version, this error\n");
12530 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12531 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12532 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12533 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12534 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12535 printf("*** so that the correct libraries are found at run-time))\n");
12542 if { (eval echo configure
:12543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12546 echo "configure: failed program was:" >&5
12547 cat conftest.
$ac_ext >&5
12554 CFLAGS
="$ac_save_CFLAGS"
12555 LIBS
="$ac_save_LIBS"
12558 if test "x$no_gtk" = x
; then
12559 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12562 echo "$ac_t""no" 1>&6
12563 if test "$PKG_CONFIG" = "no" ; then
12564 echo "*** A new enough version of pkg-config was not found."
12565 echo "*** See http://pkgconfig.sourceforge.net"
12567 if test -f conf.gtktest
; then
12570 echo "*** Could not run GTK+ test program, checking why..."
12571 ac_save_CFLAGS
="$CFLAGS"
12572 ac_save_LIBS
="$LIBS"
12573 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12574 LIBS
="$LIBS $GTK_LIBS"
12575 cat > conftest.
$ac_ext <<EOF
12576 #line 12577 "configure"
12577 #include "confdefs.h"
12579 #include <gtk/gtk.h>
12583 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12586 if { (eval echo configure
:12587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12588 echo "*** The test program compiled, but did not run. This usually means"
12589 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12590 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12591 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12592 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12593 echo "*** is required on your system"
12595 echo "*** If you have an old version installed, it is best to remove it, although"
12596 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12598 echo "configure: failed program was:" >&5
12599 cat conftest.
$ac_ext >&5
12601 echo "*** The test program failed to compile or link. See the file config.log for the"
12602 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12605 CFLAGS
="$ac_save_CFLAGS"
12606 LIBS
="$ac_save_LIBS"
12618 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12619 if test "${with_gtk_prefix+set}" = set; then
12620 withval
="$with_gtk_prefix"
12621 gtk_config_prefix
="$withval"
12623 gtk_config_prefix
=""
12626 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12627 if test "${with_gtk_exec_prefix+set}" = set; then
12628 withval
="$with_gtk_exec_prefix"
12629 gtk_config_exec_prefix
="$withval"
12631 gtk_config_exec_prefix
=""
12634 # Check whether --enable-gtktest or --disable-gtktest was given.
12635 if test "${enable_gtktest+set}" = set; then
12636 enableval
="$enable_gtktest"
12643 for module
in .
$GTK_MODULES
12647 gtk_config_args
="$gtk_config_args gthread"
12652 if test x
$gtk_config_exec_prefix != x
; then
12653 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12654 if test x
${GTK_CONFIG+set} != xset
; then
12655 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12658 if test x
$gtk_config_prefix != x
; then
12659 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12660 if test x
${GTK_CONFIG+set} != xset
; then
12661 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12665 # Extract the first word of "gtk-config", so it can be a program name with args.
12666 set dummy gtk
-config; ac_word
=$2
12667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12668 echo "configure:12669: checking for $ac_word" >&5
12669 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12670 echo $ac_n "(cached) $ac_c" 1>&6
12672 case "$GTK_CONFIG" in
12674 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12677 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12680 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12682 for ac_dir
in $ac_dummy; do
12683 test -z "$ac_dir" && ac_dir
=.
12684 if test -f $ac_dir/$ac_word; then
12685 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12690 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12694 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12695 if test -n "$GTK_CONFIG"; then
12696 echo "$ac_t""$GTK_CONFIG" 1>&6
12698 echo "$ac_t""no" 1>&6
12701 min_gtk_version
=1.2.7
12702 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12703 echo "configure:12704: checking for GTK - version >= $min_gtk_version" >&5
12705 if test "$GTK_CONFIG" = "no" ; then
12708 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12709 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12710 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12711 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12712 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12713 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12714 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12716 if test "x$enable_gtktest" = "xyes" ; then
12717 ac_save_CFLAGS
="$CFLAGS"
12718 ac_save_LIBS
="$LIBS"
12719 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12720 LIBS
="$GTK_LIBS $LIBS"
12722 if test "$cross_compiling" = yes; then
12723 echo $ac_n "cross compiling; assumed OK... $ac_c"
12725 cat > conftest.
$ac_ext <<EOF
12726 #line 12727 "configure"
12727 #include "confdefs.h"
12729 #include <gtk/gtk.h>
12731 #include <stdlib.h>
12736 int major, minor, micro;
12739 system ("touch conf.gtktest");
12741 /* HP/UX 9 (%@#!) writes to sscanf strings */
12742 tmp_version = g_strdup("$min_gtk_version");
12743 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12744 printf("%s, bad version string\n", "$min_gtk_version");
12748 if ((gtk_major_version != $gtk_config_major_version) ||
12749 (gtk_minor_version != $gtk_config_minor_version) ||
12750 (gtk_micro_version != $gtk_config_micro_version))
12752 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12753 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12754 gtk_major_version, gtk_minor_version, gtk_micro_version);
12755 printf ("*** was found! If gtk-config was correct, then it is best\n");
12756 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12757 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12758 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12759 printf("*** required on your system.\n");
12760 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12761 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12762 printf("*** before re-running configure\n");
12764 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12765 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12766 (gtk_minor_version != GTK_MINOR_VERSION) ||
12767 (gtk_micro_version != GTK_MICRO_VERSION))
12769 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12770 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12771 printf("*** library (version %d.%d.%d)\n",
12772 gtk_major_version, gtk_minor_version, gtk_micro_version);
12774 #endif /* defined (GTK_MAJOR_VERSION) ... */
12777 if ((gtk_major_version > major) ||
12778 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12779 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12785 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12786 gtk_major_version, gtk_minor_version, gtk_micro_version);
12787 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12788 major, minor, micro);
12789 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12791 printf("*** If you have already installed a sufficiently new version, this error\n");
12792 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12793 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12794 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12795 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12796 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12797 printf("*** so that the correct libraries are found at run-time))\n");
12804 if { (eval echo configure
:12805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12808 echo "configure: failed program was:" >&5
12809 cat conftest.
$ac_ext >&5
12816 CFLAGS
="$ac_save_CFLAGS"
12817 LIBS
="$ac_save_LIBS"
12820 if test "x$no_gtk" = x
; then
12821 echo "$ac_t""yes" 1>&6
12822 wx_cv_lib_gtk
=1.2.7
12824 echo "$ac_t""no" 1>&6
12825 if test "$GTK_CONFIG" = "no" ; then
12826 echo "*** The gtk-config script installed by GTK could not be found"
12827 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12828 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12829 echo "*** full path to gtk-config."
12831 if test -f conf.gtktest
; then
12834 echo "*** Could not run GTK test program, checking why..."
12835 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12836 LIBS
="$LIBS $GTK_LIBS"
12837 cat > conftest.
$ac_ext <<EOF
12838 #line 12839 "configure"
12839 #include "confdefs.h"
12841 #include <gtk/gtk.h>
12845 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12848 if { (eval echo configure
:12849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12850 echo "*** The test program compiled, but did not run. This usually means"
12851 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12852 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12853 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12854 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12855 echo "*** is required on your system"
12857 echo "*** If you have an old version installed, it is best to remove it, although"
12858 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12860 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12861 echo "*** came with the system with the command"
12863 echo "*** rpm --erase --nodeps gtk gtk-devel"
12865 echo "configure: failed program was:" >&5
12866 cat conftest.
$ac_ext >&5
12868 echo "*** The test program failed to compile or link. See the file config.log for the"
12869 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12870 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12871 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12874 CFLAGS
="$ac_save_CFLAGS"
12875 LIBS
="$ac_save_LIBS"
12887 if test -z "$wx_cv_lib_gtk"; then
12888 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12889 if test "${with_gtk_prefix+set}" = set; then
12890 withval
="$with_gtk_prefix"
12891 gtk_config_prefix
="$withval"
12893 gtk_config_prefix
=""
12896 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12897 if test "${with_gtk_exec_prefix+set}" = set; then
12898 withval
="$with_gtk_exec_prefix"
12899 gtk_config_exec_prefix
="$withval"
12901 gtk_config_exec_prefix
=""
12904 # Check whether --enable-gtktest or --disable-gtktest was given.
12905 if test "${enable_gtktest+set}" = set; then
12906 enableval
="$enable_gtktest"
12913 for module
in .
$GTK_MODULES
12917 gtk_config_args
="$gtk_config_args gthread"
12922 if test x
$gtk_config_exec_prefix != x
; then
12923 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12924 if test x
${GTK_CONFIG+set} != xset
; then
12925 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12928 if test x
$gtk_config_prefix != x
; then
12929 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12930 if test x
${GTK_CONFIG+set} != xset
; then
12931 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12935 # Extract the first word of "gtk-config", so it can be a program name with args.
12936 set dummy gtk
-config; ac_word
=$2
12937 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12938 echo "configure:12939: checking for $ac_word" >&5
12939 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12940 echo $ac_n "(cached) $ac_c" 1>&6
12942 case "$GTK_CONFIG" in
12944 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12947 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12950 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12952 for ac_dir
in $ac_dummy; do
12953 test -z "$ac_dir" && ac_dir
=.
12954 if test -f $ac_dir/$ac_word; then
12955 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12960 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12964 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12965 if test -n "$GTK_CONFIG"; then
12966 echo "$ac_t""$GTK_CONFIG" 1>&6
12968 echo "$ac_t""no" 1>&6
12971 min_gtk_version
=1.2.3
12972 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12973 echo "configure:12974: checking for GTK - version >= $min_gtk_version" >&5
12975 if test "$GTK_CONFIG" = "no" ; then
12978 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12979 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12980 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12982 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12984 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12985 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12986 if test "x$enable_gtktest" = "xyes" ; then
12987 ac_save_CFLAGS
="$CFLAGS"
12988 ac_save_LIBS
="$LIBS"
12989 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12990 LIBS
="$GTK_LIBS $LIBS"
12992 if test "$cross_compiling" = yes; then
12993 echo $ac_n "cross compiling; assumed OK... $ac_c"
12995 cat > conftest.
$ac_ext <<EOF
12996 #line 12997 "configure"
12997 #include "confdefs.h"
12999 #include <gtk/gtk.h>
13001 #include <stdlib.h>
13006 int major, minor, micro;
13009 system ("touch conf.gtktest");
13011 /* HP/UX 9 (%@#!) writes to sscanf strings */
13012 tmp_version = g_strdup("$min_gtk_version");
13013 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
13014 printf("%s, bad version string\n", "$min_gtk_version");
13018 if ((gtk_major_version != $gtk_config_major_version) ||
13019 (gtk_minor_version != $gtk_config_minor_version) ||
13020 (gtk_micro_version != $gtk_config_micro_version))
13022 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
13023 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
13024 gtk_major_version, gtk_minor_version, gtk_micro_version);
13025 printf ("*** was found! If gtk-config was correct, then it is best\n");
13026 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
13027 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13028 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13029 printf("*** required on your system.\n");
13030 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
13031 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
13032 printf("*** before re-running configure\n");
13034 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
13035 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
13036 (gtk_minor_version != GTK_MINOR_VERSION) ||
13037 (gtk_micro_version != GTK_MICRO_VERSION))
13039 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
13040 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
13041 printf("*** library (version %d.%d.%d)\n",
13042 gtk_major_version, gtk_minor_version, gtk_micro_version);
13044 #endif /* defined (GTK_MAJOR_VERSION) ... */
13047 if ((gtk_major_version > major) ||
13048 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
13049 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
13055 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
13056 gtk_major_version, gtk_minor_version, gtk_micro_version);
13057 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
13058 major, minor, micro);
13059 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
13061 printf("*** If you have already installed a sufficiently new version, this error\n");
13062 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
13063 printf("*** being found. The easiest way to fix this is to remove the old version\n");
13064 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
13065 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
13066 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13067 printf("*** so that the correct libraries are found at run-time))\n");
13074 if { (eval echo configure
:13075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13078 echo "configure: failed program was:" >&5
13079 cat conftest.
$ac_ext >&5
13086 CFLAGS
="$ac_save_CFLAGS"
13087 LIBS
="$ac_save_LIBS"
13090 if test "x$no_gtk" = x
; then
13091 echo "$ac_t""yes" 1>&6
13092 wx_cv_lib_gtk
=1.2.3
13094 echo "$ac_t""no" 1>&6
13095 if test "$GTK_CONFIG" = "no" ; then
13096 echo "*** The gtk-config script installed by GTK could not be found"
13097 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13098 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13099 echo "*** full path to gtk-config."
13101 if test -f conf.gtktest
; then
13104 echo "*** Could not run GTK test program, checking why..."
13105 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13106 LIBS
="$LIBS $GTK_LIBS"
13107 cat > conftest.
$ac_ext <<EOF
13108 #line 13109 "configure"
13109 #include "confdefs.h"
13111 #include <gtk/gtk.h>
13115 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13118 if { (eval echo configure
:13119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13120 echo "*** The test program compiled, but did not run. This usually means"
13121 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13122 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13123 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13124 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13125 echo "*** is required on your system"
13127 echo "*** If you have an old version installed, it is best to remove it, although"
13128 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13130 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13131 echo "*** came with the system with the command"
13133 echo "*** rpm --erase --nodeps gtk gtk-devel"
13135 echo "configure: failed program was:" >&5
13136 cat conftest.
$ac_ext >&5
13138 echo "*** The test program failed to compile or link. See the file config.log for the"
13139 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13140 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13141 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13144 CFLAGS
="$ac_save_CFLAGS"
13145 LIBS
="$ac_save_LIBS"
13159 if test -z "$wx_cv_lib_gtk"; then
13162 wx_cv_cflags_gtk
=$GTK_CFLAGS
13163 wx_cv_libs_gtk
=$GTK_LIBS
13170 if test "$gtk_version_cached" = 1; then
13171 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13174 case "$wx_cv_lib_gtk" in
13183 *) { echo "configure: error:
13184 Please check that gtk-config is in path, the directory
13185 where GTK+ libraries are installed (returned by
13186 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13187 equivalent variable and GTK+ is version 1.2.3 or above.
13192 if test "$WXGTK20" = 1; then
13193 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13197 if test -z "$PKG_CONFIG"; then
13198 # Extract the first word of "pkg-config", so it can be a program name with args.
13199 set dummy pkg
-config; ac_word
=$2
13200 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13201 echo "configure:13202: checking for $ac_word" >&5
13202 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13203 echo $ac_n "(cached) $ac_c" 1>&6
13205 case "$PKG_CONFIG" in
13207 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13210 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13213 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13215 for ac_dir
in $ac_dummy; do
13216 test -z "$ac_dir" && ac_dir
=.
13217 if test -f $ac_dir/$ac_word; then
13218 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13223 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13227 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13228 if test -n "$PKG_CONFIG"; then
13229 echo "$ac_t""$PKG_CONFIG" 1>&6
13231 echo "$ac_t""no" 1>&6
13236 if test "$PKG_CONFIG" = "no" ; then
13237 echo "*** The pkg-config script could not be found. Make sure it is"
13238 echo "*** in your path, or set the PKG_CONFIG environment variable"
13239 echo "*** to the full path to pkg-config."
13240 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13242 PKG_CONFIG_MIN_VERSION
=0.9.0
13243 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13244 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13245 echo "configure:13246: checking for pangoft2" >&5
13247 if $PKG_CONFIG --exists "pangoft2" ; then
13248 echo "$ac_t""yes" 1>&6
13251 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13252 echo "configure:13253: checking PANGOFT2_CFLAGS" >&5
13253 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13254 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13256 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13257 echo "configure:13258: checking PANGOFT2_LIBS" >&5
13258 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13259 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13263 ## If we have a custom action on failure, don't print errors, but
13264 ## do set a variable so people can do so.
13265 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13272 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13273 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13277 if test $succeeded = yes; then
13279 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13280 LIBS
="$LIBS $PANGOFT2_LIBS"
13284 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13285 wxUSE_PRINTING_ARCHITECTURE
="no"
13292 if test "$wxUSE_UNICODE" = "yes"; then
13293 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13298 if test "$USE_DARWIN" != 1; then
13299 for ac_func
in poll
13301 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13302 echo "configure:13303: checking for $ac_func" >&5
13303 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13304 echo $ac_n "(cached) $ac_c" 1>&6
13306 cat > conftest.
$ac_ext <<EOF
13307 #line 13308 "configure"
13308 #include "confdefs.h"
13309 /* System header to define __stub macros and hopefully few prototypes,
13310 which can conflict with char $ac_func(); below. */
13311 #include <assert.h>
13312 /* Override any gcc2 internal prototype to avoid an error. */
13313 /* We use char because int might match the return type of a gcc2
13314 builtin and then its argument prototype would still apply. */
13319 /* The GNU C library defines this for functions which it implements
13320 to always fail with ENOSYS. Some functions are actually named
13321 something starting with __ and the normal name is an alias. */
13322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13330 if { (eval echo configure
:13331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13332 eval "ac_cv_func_$ac_func=yes"
13334 echo "configure: failed program was:" >&5
13335 cat conftest.
$ac_ext >&5
13337 eval "ac_cv_func_$ac_func=no"
13342 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13343 echo "$ac_t""yes" 1>&6
13344 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13345 cat >> confdefs.h
<<EOF
13346 #define $ac_tr_func 1
13350 echo "$ac_t""no" 1>&6
13356 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13357 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13359 AFMINSTALL
=afminstall
13363 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13364 echo "configure:13365: checking for gdk_im_open in -lgdk" >&5
13365 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13367 echo $ac_n "(cached) $ac_c" 1>&6
13369 ac_save_LIBS
="$LIBS"
13371 cat > conftest.
$ac_ext <<EOF
13372 #line 13373 "configure"
13373 #include "confdefs.h"
13374 /* Override any gcc2 internal prototype to avoid an error. */
13375 /* We use char because int might match the return type of a gcc2
13376 builtin and then its argument prototype would still apply. */
13377 char gdk_im_open();
13383 if { (eval echo configure
:13384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13385 eval "ac_cv_lib_$ac_lib_var=yes"
13387 echo "configure: failed program was:" >&5
13388 cat conftest.
$ac_ext >&5
13390 eval "ac_cv_lib_$ac_lib_var=no"
13393 LIBS
="$ac_save_LIBS"
13396 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13397 echo "$ac_t""yes" 1>&6
13398 cat >> confdefs.h
<<\EOF
13403 echo "$ac_t""no" 1>&6
13408 if test "$wxUSE_MGL" = 1; then
13409 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13410 echo "configure:13411: checking for SciTech MGL library" >&5
13411 if test "x$MGL_ROOT" = x
; then
13412 echo "$ac_t""not found" 1>&6
13413 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13415 echo "$ac_t""$MGL_ROOT" 1>&6
13418 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13419 echo "configure:13420: checking for libmgl location" >&5
13422 if test "x$wxUSE_SHARED" = xyes
; then
13423 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13425 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13429 mgl_os_candidates
="dos32/dj2"
13432 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13438 for mgl_os_i
in $mgl_os_candidates ; do
13439 if test "x$mgl_os" = x
; then
13440 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13441 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13442 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13447 if test "x$mgl_lib_type" = x
; then
13448 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13449 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13450 mgl_lib_type
=release
13457 if test "x$mgl_os" = x
; then
13458 echo "$ac_t""not found" 1>&6
13459 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13461 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13463 wxUSE_UNIVERSAL
="yes"
13465 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13466 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13468 AFMINSTALL
=afminstall
13473 if test "$wxUSE_MICROWIN" = 1; then
13474 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13475 echo "configure:13476: checking for MicroWindows" >&5
13476 if test "x$MICROWINDOWS" = x
; then
13477 echo "$ac_t""not found" 1>&6
13478 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13480 echo "$ac_t""$MICROWINDOWS" 1>&6
13483 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13484 echo "$ac_t""MicroWindows' libraries found." 1>&6
13486 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13489 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13490 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13492 wxUSE_UNIVERSAL
="yes"
13494 AFMINSTALL
=afminstall
13496 GUIDIST
=MICROWIN_DIST
13498 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13501 if test "$wxUSE_X11" = 1; then
13502 # If we find X, set shell vars x_includes and x_libraries to the
13503 # paths, otherwise set no_x=yes.
13504 # Uses ac_ vars as temps to allow command line to override cache and checks.
13505 # --without-x overrides everything else, but does not touch the cache.
13506 echo $ac_n "checking for X""... $ac_c" 1>&6
13507 echo "configure:13508: checking for X" >&5
13509 # Check whether --with-x or --without-x was given.
13510 if test "${with_x+set}" = set; then
13515 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13516 if test "x$with_x" = xno
; then
13517 # The user explicitly disabled X.
13520 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13521 # Both variables are already set.
13524 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13525 echo $ac_n "(cached) $ac_c" 1>&6
13527 # One or both of the vars are not set, and there is no cached value.
13528 ac_x_includes
=NO ac_x_libraries
=NO
13530 if mkdir conftestdir
; then
13532 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13533 cat > Imakefile
<<'EOF'
13535 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13537 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13538 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13539 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13540 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13541 for ac_extension
in a so sl
; do
13542 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13543 test -f $ac_im_libdir/libX11.
$ac_extension; then
13544 ac_im_usrlibdir
=$ac_im_libdir; break
13547 # Screen out bogus values from the imake configuration. They are
13548 # bogus both because they are the default anyway, and because
13549 # using them would break gcc on systems where it needs fixed includes.
13550 case "$ac_im_incroot" in
13552 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13554 case "$ac_im_usrlibdir" in
13555 /usr
/lib
| /lib
) ;;
13556 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13563 if test "$ac_x_includes" = NO
; then
13564 # Guess where to find include files, by looking for this one X11 .h file.
13565 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13567 # First, try using that file with no special directory specified.
13568 cat > conftest.
$ac_ext <<EOF
13569 #line 13570 "configure"
13570 #include "confdefs.h"
13571 #include <$x_direct_test_include>
13573 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13574 { (eval echo configure
:13575: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13575 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13576 if test -z "$ac_err"; then
13578 # We can compile using X headers with no special include directory.
13582 echo "configure: failed program was:" >&5
13583 cat conftest.
$ac_ext >&5
13585 # Look for the header file in a standard set of common directories.
13586 # Check X11 before X11Rn because it is often a symlink to the current release.
13589 /usr
/X
11R
6/include \
13590 /usr
/X
11R
5/include \
13591 /usr
/X
11R
4/include \
13594 /usr
/include
/X11R6 \
13595 /usr
/include
/X11R5 \
13596 /usr
/include
/X11R4 \
13598 /usr
/local
/X
11/include \
13599 /usr
/local
/X
11R
6/include \
13600 /usr
/local
/X
11R
5/include \
13601 /usr
/local
/X
11R
4/include \
13603 /usr
/local
/include
/X11 \
13604 /usr
/local
/include
/X11R6 \
13605 /usr
/local
/include
/X11R5 \
13606 /usr
/local
/include
/X11R4 \
13608 /usr
/X
386/include \
13609 /usr
/x
386/include \
13610 /usr
/XFree
86/include
/X11 \
13613 /usr
/local
/include \
13614 /usr
/unsupported
/include \
13615 /usr
/athena
/include \
13616 /usr
/local
/x
11r
5/include \
13617 /usr
/lpp
/Xamples
/include \
13619 /usr
/openwin
/include \
13620 /usr
/openwin
/share
/include \
13623 if test -r "$ac_dir/$x_direct_test_include"; then
13624 ac_x_includes
=$ac_dir
13630 fi # $ac_x_includes = NO
13632 if test "$ac_x_libraries" = NO
; then
13633 # Check for the libraries.
13635 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13636 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13638 # See if we find them without any special options.
13639 # Don't add to $LIBS permanently.
13640 ac_save_LIBS
="$LIBS"
13641 LIBS
="-l$x_direct_test_library $LIBS"
13642 cat > conftest.
$ac_ext <<EOF
13643 #line 13644 "configure"
13644 #include "confdefs.h"
13647 ${x_direct_test_function}()
13650 if { (eval echo configure
:13651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13652 LIBS
="$ac_save_LIBS"
13653 # We can link X programs with no special library path.
13656 echo "configure: failed program was:" >&5
13657 cat conftest.
$ac_ext >&5
13659 LIBS
="$ac_save_LIBS"
13660 # First see if replacing the include by lib works.
13661 # Check X11 before X11Rn because it is often a symlink to the current release.
13662 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13673 /usr
/local
/X
11/lib \
13674 /usr
/local
/X
11R
6/lib \
13675 /usr
/local
/X
11R
5/lib \
13676 /usr
/local
/X
11R
4/lib \
13678 /usr
/local
/lib
/X11 \
13679 /usr
/local
/lib
/X11R6 \
13680 /usr
/local
/lib
/X11R5 \
13681 /usr
/local
/lib
/X11R4 \
13685 /usr
/XFree
86/lib
/X11 \
13689 /usr
/unsupported
/lib \
13691 /usr
/local
/x
11r
5/lib \
13692 /usr
/lpp
/Xamples
/lib \
13696 /usr
/openwin
/share
/lib \
13699 for ac_extension
in a so sl
; do
13700 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13701 ac_x_libraries
=$ac_dir
13708 fi # $ac_x_libraries = NO
13710 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13711 # Didn't find X anywhere. Cache the known absence of X.
13712 ac_cv_have_x
="have_x=no"
13714 # Record where we found X for the cache.
13715 ac_cv_have_x
="have_x=yes \
13716 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13720 eval "$ac_cv_have_x"
13723 if test "$have_x" != yes; then
13724 echo "$ac_t""$have_x" 1>&6
13727 # If each of the values was on the command line, it overrides each guess.
13728 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13729 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13730 # Update the cache value to reflect the command line values.
13731 ac_cv_have_x
="have_x=yes \
13732 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13733 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13736 if test "$no_x" = yes; then
13737 # Not all programs may use this symbol, but it does not hurt to define it.
13738 cat >> confdefs.h
<<\EOF
13739 #define X_DISPLAY_MISSING 1
13742 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13744 if test -n "$x_includes"; then
13745 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13748 # It would also be nice to do this for all -L options, not just this one.
13749 if test -n "$x_libraries"; then
13750 X_LIBS
="$X_LIBS -L$x_libraries"
13751 # For Solaris; some versions of Sun CC require a space after -R and
13752 # others require no space. Words are not sufficient . . . .
13753 case "`(uname -sr) 2>/dev/null`" in
13755 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13756 echo "configure:13757: checking whether -R must be followed by a space" >&5
13757 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13758 cat > conftest.
$ac_ext <<EOF
13759 #line 13760 "configure"
13760 #include "confdefs.h"
13766 if { (eval echo configure
:13767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13770 echo "configure: failed program was:" >&5
13771 cat conftest.
$ac_ext >&5
13776 if test $ac_R_nospace = yes; then
13777 echo "$ac_t""no" 1>&6
13778 X_LIBS
="$X_LIBS -R$x_libraries"
13780 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13781 cat > conftest.
$ac_ext <<EOF
13782 #line 13783 "configure"
13783 #include "confdefs.h"
13789 if { (eval echo configure
:13790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13793 echo "configure: failed program was:" >&5
13794 cat conftest.
$ac_ext >&5
13799 if test $ac_R_space = yes; then
13800 echo "$ac_t""yes" 1>&6
13801 X_LIBS
="$X_LIBS -R $x_libraries"
13803 echo "$ac_t""neither works" 1>&6
13806 LIBS
="$ac_xsave_LIBS"
13810 # Check for system-dependent libraries X programs must link with.
13811 # Do this before checking for the system-independent R6 libraries
13812 # (-lICE), since we may need -lsocket or whatever for X linking.
13814 if test "$ISC" = yes; then
13815 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13817 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13818 # libraries were built with DECnet support. And karl@cs.umb.edu says
13819 # the Alpha needs dnet_stub (dnet does not exist).
13820 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13821 echo "configure:13822: checking for dnet_ntoa in -ldnet" >&5
13822 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13823 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13824 echo $ac_n "(cached) $ac_c" 1>&6
13826 ac_save_LIBS
="$LIBS"
13827 LIBS
="-ldnet $LIBS"
13828 cat > conftest.
$ac_ext <<EOF
13829 #line 13830 "configure"
13830 #include "confdefs.h"
13831 /* Override any gcc2 internal prototype to avoid an error. */
13832 /* We use char because int might match the return type of a gcc2
13833 builtin and then its argument prototype would still apply. */
13840 if { (eval echo configure
:13841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13842 eval "ac_cv_lib_$ac_lib_var=yes"
13844 echo "configure: failed program was:" >&5
13845 cat conftest.
$ac_ext >&5
13847 eval "ac_cv_lib_$ac_lib_var=no"
13850 LIBS
="$ac_save_LIBS"
13853 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13854 echo "$ac_t""yes" 1>&6
13855 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13857 echo "$ac_t""no" 1>&6
13860 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13861 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13862 echo "configure:13863: checking for dnet_ntoa in -ldnet_stub" >&5
13863 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13865 echo $ac_n "(cached) $ac_c" 1>&6
13867 ac_save_LIBS
="$LIBS"
13868 LIBS
="-ldnet_stub $LIBS"
13869 cat > conftest.
$ac_ext <<EOF
13870 #line 13871 "configure"
13871 #include "confdefs.h"
13872 /* Override any gcc2 internal prototype to avoid an error. */
13873 /* We use char because int might match the return type of a gcc2
13874 builtin and then its argument prototype would still apply. */
13881 if { (eval echo configure
:13882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13883 eval "ac_cv_lib_$ac_lib_var=yes"
13885 echo "configure: failed program was:" >&5
13886 cat conftest.
$ac_ext >&5
13888 eval "ac_cv_lib_$ac_lib_var=no"
13891 LIBS
="$ac_save_LIBS"
13894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13895 echo "$ac_t""yes" 1>&6
13896 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13898 echo "$ac_t""no" 1>&6
13903 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13904 # to get the SysV transport functions.
13905 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13907 # The nsl library prevents programs from opening the X display
13908 # on Irix 5.2, according to dickey@clark.net.
13909 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13910 echo "configure:13911: checking for gethostbyname" >&5
13911 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13912 echo $ac_n "(cached) $ac_c" 1>&6
13914 cat > conftest.
$ac_ext <<EOF
13915 #line 13916 "configure"
13916 #include "confdefs.h"
13917 /* System header to define __stub macros and hopefully few prototypes,
13918 which can conflict with char gethostbyname(); below. */
13919 #include <assert.h>
13920 /* Override any gcc2 internal prototype to avoid an error. */
13921 /* We use char because int might match the return type of a gcc2
13922 builtin and then its argument prototype would still apply. */
13923 char gethostbyname();
13927 /* The GNU C library defines this for functions which it implements
13928 to always fail with ENOSYS. Some functions are actually named
13929 something starting with __ and the normal name is an alias. */
13930 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13938 if { (eval echo configure
:13939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13940 eval "ac_cv_func_gethostbyname=yes"
13942 echo "configure: failed program was:" >&5
13943 cat conftest.
$ac_ext >&5
13945 eval "ac_cv_func_gethostbyname=no"
13950 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13951 echo "$ac_t""yes" 1>&6
13954 echo "$ac_t""no" 1>&6
13957 if test $ac_cv_func_gethostbyname = no
; then
13958 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13959 echo "configure:13960: checking for gethostbyname in -lnsl" >&5
13960 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13961 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13962 echo $ac_n "(cached) $ac_c" 1>&6
13964 ac_save_LIBS
="$LIBS"
13966 cat > conftest.
$ac_ext <<EOF
13967 #line 13968 "configure"
13968 #include "confdefs.h"
13969 /* Override any gcc2 internal prototype to avoid an error. */
13970 /* We use char because int might match the return type of a gcc2
13971 builtin and then its argument prototype would still apply. */
13972 char gethostbyname();
13978 if { (eval echo configure
:13979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13980 eval "ac_cv_lib_$ac_lib_var=yes"
13982 echo "configure: failed program was:" >&5
13983 cat conftest.
$ac_ext >&5
13985 eval "ac_cv_lib_$ac_lib_var=no"
13988 LIBS
="$ac_save_LIBS"
13991 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13992 echo "$ac_t""yes" 1>&6
13993 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13995 echo "$ac_t""no" 1>&6
14000 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14001 # socket/setsockopt and other routines are undefined under SCO ODT
14002 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14003 # on later versions), says simon@lia.di.epfl.ch: it contains
14004 # gethostby* variants that don't use the nameserver (or something).
14005 # -lsocket must be given before -lnsl if both are needed.
14006 # We assume that if connect needs -lnsl, so does gethostbyname.
14007 echo $ac_n "checking for connect""... $ac_c" 1>&6
14008 echo "configure:14009: checking for connect" >&5
14009 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14010 echo $ac_n "(cached) $ac_c" 1>&6
14012 cat > conftest.
$ac_ext <<EOF
14013 #line 14014 "configure"
14014 #include "confdefs.h"
14015 /* System header to define __stub macros and hopefully few prototypes,
14016 which can conflict with char connect(); below. */
14017 #include <assert.h>
14018 /* Override any gcc2 internal prototype to avoid an error. */
14019 /* We use char because int might match the return type of a gcc2
14020 builtin and then its argument prototype would still apply. */
14025 /* The GNU C library defines this for functions which it implements
14026 to always fail with ENOSYS. Some functions are actually named
14027 something starting with __ and the normal name is an alias. */
14028 #if defined (__stub_connect) || defined (__stub___connect)
14036 if { (eval echo configure
:14037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14038 eval "ac_cv_func_connect=yes"
14040 echo "configure: failed program was:" >&5
14041 cat conftest.
$ac_ext >&5
14043 eval "ac_cv_func_connect=no"
14048 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14049 echo "$ac_t""yes" 1>&6
14052 echo "$ac_t""no" 1>&6
14055 if test $ac_cv_func_connect = no
; then
14056 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14057 echo "configure:14058: checking for connect in -lsocket" >&5
14058 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14059 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14060 echo $ac_n "(cached) $ac_c" 1>&6
14062 ac_save_LIBS
="$LIBS"
14063 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14064 cat > conftest.
$ac_ext <<EOF
14065 #line 14066 "configure"
14066 #include "confdefs.h"
14067 /* Override any gcc2 internal prototype to avoid an error. */
14068 /* We use char because int might match the return type of a gcc2
14069 builtin and then its argument prototype would still apply. */
14076 if { (eval echo configure
:14077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14078 eval "ac_cv_lib_$ac_lib_var=yes"
14080 echo "configure: failed program was:" >&5
14081 cat conftest.
$ac_ext >&5
14083 eval "ac_cv_lib_$ac_lib_var=no"
14086 LIBS
="$ac_save_LIBS"
14089 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14090 echo "$ac_t""yes" 1>&6
14091 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14093 echo "$ac_t""no" 1>&6
14098 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14099 echo $ac_n "checking for remove""... $ac_c" 1>&6
14100 echo "configure:14101: checking for remove" >&5
14101 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14102 echo $ac_n "(cached) $ac_c" 1>&6
14104 cat > conftest.
$ac_ext <<EOF
14105 #line 14106 "configure"
14106 #include "confdefs.h"
14107 /* System header to define __stub macros and hopefully few prototypes,
14108 which can conflict with char remove(); below. */
14109 #include <assert.h>
14110 /* Override any gcc2 internal prototype to avoid an error. */
14111 /* We use char because int might match the return type of a gcc2
14112 builtin and then its argument prototype would still apply. */
14117 /* The GNU C library defines this for functions which it implements
14118 to always fail with ENOSYS. Some functions are actually named
14119 something starting with __ and the normal name is an alias. */
14120 #if defined (__stub_remove) || defined (__stub___remove)
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_func_remove=yes"
14132 echo "configure: failed program was:" >&5
14133 cat conftest.
$ac_ext >&5
14135 eval "ac_cv_func_remove=no"
14140 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14141 echo "$ac_t""yes" 1>&6
14144 echo "$ac_t""no" 1>&6
14147 if test $ac_cv_func_remove = no
; then
14148 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14149 echo "configure:14150: checking for remove in -lposix" >&5
14150 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14151 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14152 echo $ac_n "(cached) $ac_c" 1>&6
14154 ac_save_LIBS
="$LIBS"
14155 LIBS
="-lposix $LIBS"
14156 cat > conftest.
$ac_ext <<EOF
14157 #line 14158 "configure"
14158 #include "confdefs.h"
14159 /* Override any gcc2 internal prototype to avoid an error. */
14160 /* We use char because int might match the return type of a gcc2
14161 builtin and then its argument prototype would still apply. */
14168 if { (eval echo configure
:14169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14170 eval "ac_cv_lib_$ac_lib_var=yes"
14172 echo "configure: failed program was:" >&5
14173 cat conftest.
$ac_ext >&5
14175 eval "ac_cv_lib_$ac_lib_var=no"
14178 LIBS
="$ac_save_LIBS"
14181 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14182 echo "$ac_t""yes" 1>&6
14183 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14185 echo "$ac_t""no" 1>&6
14190 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14191 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14192 echo "configure:14193: checking for shmat" >&5
14193 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14194 echo $ac_n "(cached) $ac_c" 1>&6
14196 cat > conftest.
$ac_ext <<EOF
14197 #line 14198 "configure"
14198 #include "confdefs.h"
14199 /* System header to define __stub macros and hopefully few prototypes,
14200 which can conflict with char shmat(); below. */
14201 #include <assert.h>
14202 /* Override any gcc2 internal prototype to avoid an error. */
14203 /* We use char because int might match the return type of a gcc2
14204 builtin and then its argument prototype would still apply. */
14209 /* The GNU C library defines this for functions which it implements
14210 to always fail with ENOSYS. Some functions are actually named
14211 something starting with __ and the normal name is an alias. */
14212 #if defined (__stub_shmat) || defined (__stub___shmat)
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_func_shmat=yes"
14224 echo "configure: failed program was:" >&5
14225 cat conftest.
$ac_ext >&5
14227 eval "ac_cv_func_shmat=no"
14232 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14233 echo "$ac_t""yes" 1>&6
14236 echo "$ac_t""no" 1>&6
14239 if test $ac_cv_func_shmat = no
; then
14240 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14241 echo "configure:14242: checking for shmat in -lipc" >&5
14242 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14243 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14244 echo $ac_n "(cached) $ac_c" 1>&6
14246 ac_save_LIBS
="$LIBS"
14248 cat > conftest.
$ac_ext <<EOF
14249 #line 14250 "configure"
14250 #include "confdefs.h"
14251 /* Override any gcc2 internal prototype to avoid an error. */
14252 /* We use char because int might match the return type of a gcc2
14253 builtin and then its argument prototype would still apply. */
14260 if { (eval echo configure
:14261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14262 eval "ac_cv_lib_$ac_lib_var=yes"
14264 echo "configure: failed program was:" >&5
14265 cat conftest.
$ac_ext >&5
14267 eval "ac_cv_lib_$ac_lib_var=no"
14270 LIBS
="$ac_save_LIBS"
14273 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14274 echo "$ac_t""yes" 1>&6
14275 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14277 echo "$ac_t""no" 1>&6
14283 # Check for libraries that X11R6 Xt/Xaw programs need.
14284 ac_save_LDFLAGS
="$LDFLAGS"
14285 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14286 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14287 # check for ICE first), but we must link in the order -lSM -lICE or
14288 # we get undefined symbols. So assume we have SM if we have ICE.
14289 # These have to be linked with before -lX11, unlike the other
14290 # libraries we check for below, so use a different variable.
14291 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14292 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14293 echo "configure:14294: checking for IceConnectionNumber in -lICE" >&5
14294 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14295 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14296 echo $ac_n "(cached) $ac_c" 1>&6
14298 ac_save_LIBS
="$LIBS"
14299 LIBS
="-lICE $X_EXTRA_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. */
14306 char IceConnectionNumber();
14309 IceConnectionNumber()
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_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14329 echo "$ac_t""no" 1>&6
14332 LDFLAGS
="$ac_save_LDFLAGS"
14337 if test "$no_x" = "yes"; then
14338 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14341 GUI_TK_LIBRARY
="$X_LIBS"
14342 TOOLKIT_INCLUDE
="$X_CFLAGS"
14343 AFMINSTALL
=afminstall
14344 COMPILED_X_PROGRAM
=0
14346 if test "$wxUSE_NANOX" = "yes"; then
14347 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14348 echo "configure:14349: checking for MicroWindows/NanoX distribution" >&5
14349 if test "x$MICROWIN" = x
; then
14350 echo "$ac_t""not found" 1>&6
14351 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14353 echo "$ac_t""$MICROWIN" 1>&6
14354 cat >> confdefs.h
<<\EOF
14355 #define wxUSE_NANOX 1
14362 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14363 echo "configure:14364: checking for Xpm library" >&5
14366 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14368 for ac_extension
in a so sl dylib
; do
14369 if test -f "$ac_dir/libXpm.$ac_extension"; then
14370 ac_find_libraries
=$ac_dir
14376 if test "$ac_find_libraries" != "" ; then
14378 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14380 if test $result = 0; then
14383 ac_path_to_link
=" -L$ac_find_libraries"
14386 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14388 cat >> confdefs.h
<<\EOF
14389 #define wxHAVE_LIB_XPM 1
14392 echo "$ac_t""found at $ac_find_libraries" 1>&6
14394 cat > conftest.
$ac_ext <<EOF
14395 #line 14396 "configure"
14396 #include "confdefs.h"
14398 #include <X11/xpm.h>
14403 version = XpmLibraryVersion();
14407 if { (eval echo configure
:14408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14411 cat >> confdefs.h
<<\EOF
14412 #define wxHAVE_LIB_XPM 1
14415 echo "$ac_t""found in default search path" 1>&6
14416 COMPILED_X_PROGRAM
=0
14419 echo "configure: failed program was:" >&5
14420 cat conftest.
$ac_ext >&5
14423 echo "$ac_t""no" 1>&6
14424 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14431 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
14432 echo "configure:14433: checking for XShapeQueryExtension in -lXext" >&5
14433 ac_lib_var
=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
14434 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14435 echo $ac_n "(cached) $ac_c" 1>&6
14437 ac_save_LIBS
="$LIBS"
14438 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
14439 cat > conftest.
$ac_ext <<EOF
14440 #line 14441 "configure"
14441 #include "confdefs.h"
14442 /* Override any gcc2 internal prototype to avoid an error. */
14443 /* We use char because int might match the return type of a gcc2
14444 builtin and then its argument prototype would still apply. */
14445 char XShapeQueryExtension();
14448 XShapeQueryExtension()
14451 if { (eval echo configure
:14452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14453 eval "ac_cv_lib_$ac_lib_var=yes"
14455 echo "configure: failed program was:" >&5
14456 cat conftest.
$ac_ext >&5
14458 eval "ac_cv_lib_$ac_lib_var=no"
14461 LIBS
="$ac_save_LIBS"
14464 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14465 echo "$ac_t""yes" 1>&6
14467 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
14471 echo "$ac_t""no" 1>&6
14475 if test "$wxUSE_UNICODE" = "yes"; then
14479 if test -z "$PKG_CONFIG"; then
14480 # Extract the first word of "pkg-config", so it can be a program name with args.
14481 set dummy pkg
-config; ac_word
=$2
14482 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14483 echo "configure:14484: checking for $ac_word" >&5
14484 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14485 echo $ac_n "(cached) $ac_c" 1>&6
14487 case "$PKG_CONFIG" in
14489 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14492 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14495 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14497 for ac_dir
in $ac_dummy; do
14498 test -z "$ac_dir" && ac_dir
=.
14499 if test -f $ac_dir/$ac_word; then
14500 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14505 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14509 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14510 if test -n "$PKG_CONFIG"; then
14511 echo "$ac_t""$PKG_CONFIG" 1>&6
14513 echo "$ac_t""no" 1>&6
14518 if test "$PKG_CONFIG" = "no" ; then
14519 echo "*** The pkg-config script could not be found. Make sure it is"
14520 echo "*** in your path, or set the PKG_CONFIG environment variable"
14521 echo "*** to the full path to pkg-config."
14522 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14524 PKG_CONFIG_MIN_VERSION
=0.9.0
14525 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14526 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14527 echo "configure:14528: checking for pangox" >&5
14529 if $PKG_CONFIG --exists "pangox" ; then
14530 echo "$ac_t""yes" 1>&6
14533 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14534 echo "configure:14535: checking PANGOX_CFLAGS" >&5
14535 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14536 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14538 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14539 echo "configure:14540: checking PANGOX_LIBS" >&5
14540 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14541 echo "$ac_t""$PANGOX_LIBS" 1>&6
14545 ## If we have a custom action on failure, don't print errors, but
14546 ## do set a variable so people can do so.
14547 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14554 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14555 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14559 if test $succeeded = yes; then
14561 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14562 LIBS
="$LIBS $PANGOX_LIBS"
14566 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14574 if test -z "$PKG_CONFIG"; then
14575 # Extract the first word of "pkg-config", so it can be a program name with args.
14576 set dummy pkg
-config; ac_word
=$2
14577 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14578 echo "configure:14579: checking for $ac_word" >&5
14579 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14580 echo $ac_n "(cached) $ac_c" 1>&6
14582 case "$PKG_CONFIG" in
14584 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14587 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14590 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14592 for ac_dir
in $ac_dummy; do
14593 test -z "$ac_dir" && ac_dir
=.
14594 if test -f $ac_dir/$ac_word; then
14595 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14600 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14604 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14605 if test -n "$PKG_CONFIG"; then
14606 echo "$ac_t""$PKG_CONFIG" 1>&6
14608 echo "$ac_t""no" 1>&6
14613 if test "$PKG_CONFIG" = "no" ; then
14614 echo "*** The pkg-config script could not be found. Make sure it is"
14615 echo "*** in your path, or set the PKG_CONFIG environment variable"
14616 echo "*** to the full path to pkg-config."
14617 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14619 PKG_CONFIG_MIN_VERSION
=0.9.0
14620 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14621 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14622 echo "configure:14623: checking for pangoft2" >&5
14624 if $PKG_CONFIG --exists "pangoft2" ; then
14625 echo "$ac_t""yes" 1>&6
14628 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14629 echo "configure:14630: checking PANGOFT2_CFLAGS" >&5
14630 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14631 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14633 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14634 echo "configure:14635: checking PANGOFT2_LIBS" >&5
14635 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14636 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14640 ## If we have a custom action on failure, don't print errors, but
14641 ## do set a variable so people can do so.
14642 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14649 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14650 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14654 if test $succeeded = yes; then
14656 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14657 LIBS
="$LIBS $PANGOFT2_LIBS"
14661 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14662 wxUSE_PRINTING_ARCHITECTURE
="no"
14670 if test -z "$PKG_CONFIG"; then
14671 # Extract the first word of "pkg-config", so it can be a program name with args.
14672 set dummy pkg
-config; ac_word
=$2
14673 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14674 echo "configure:14675: checking for $ac_word" >&5
14675 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14676 echo $ac_n "(cached) $ac_c" 1>&6
14678 case "$PKG_CONFIG" in
14680 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14683 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14686 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14688 for ac_dir
in $ac_dummy; do
14689 test -z "$ac_dir" && ac_dir
=.
14690 if test -f $ac_dir/$ac_word; then
14691 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14696 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14700 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14701 if test -n "$PKG_CONFIG"; then
14702 echo "$ac_t""$PKG_CONFIG" 1>&6
14704 echo "$ac_t""no" 1>&6
14709 if test "$PKG_CONFIG" = "no" ; then
14710 echo "*** The pkg-config script could not be found. Make sure it is"
14711 echo "*** in your path, or set the PKG_CONFIG environment variable"
14712 echo "*** to the full path to pkg-config."
14713 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14715 PKG_CONFIG_MIN_VERSION
=0.9.0
14716 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14717 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14718 echo "configure:14719: checking for pangoxft" >&5
14720 if $PKG_CONFIG --exists "pangoxft" ; then
14721 echo "$ac_t""yes" 1>&6
14724 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14725 echo "configure:14726: checking PANGOXFT_CFLAGS" >&5
14726 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14727 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14729 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14730 echo "configure:14731: checking PANGOXFT_LIBS" >&5
14731 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14732 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14736 ## If we have a custom action on failure, don't print errors, but
14737 ## do set a variable so people can do so.
14738 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14745 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14746 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14750 if test $succeeded = yes; then
14752 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14753 LIBS
="$LIBS $PANGOXFT_LIBS"
14757 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14764 wxUSE_UNIVERSAL
="yes"
14766 if test "$wxUSE_NANOX" = "yes"; then
14767 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14768 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"
14769 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14771 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14774 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14779 if test "$wxUSE_MOTIF" = 1; then
14780 if test "$no_x" = yes; then
14781 # Not all programs may use this symbol, but it does not hurt to define it.
14782 cat >> confdefs.h
<<\EOF
14783 #define X_DISPLAY_MISSING 1
14786 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14788 if test -n "$x_includes"; then
14789 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14792 # It would also be nice to do this for all -L options, not just this one.
14793 if test -n "$x_libraries"; then
14794 X_LIBS
="$X_LIBS -L$x_libraries"
14795 # For Solaris; some versions of Sun CC require a space after -R and
14796 # others require no space. Words are not sufficient . . . .
14797 case "`(uname -sr) 2>/dev/null`" in
14799 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14800 echo "configure:14801: checking whether -R must be followed by a space" >&5
14801 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14802 cat > conftest.
$ac_ext <<EOF
14803 #line 14804 "configure"
14804 #include "confdefs.h"
14810 if { (eval echo configure
:14811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14814 echo "configure: failed program was:" >&5
14815 cat conftest.
$ac_ext >&5
14820 if test $ac_R_nospace = yes; then
14821 echo "$ac_t""no" 1>&6
14822 X_LIBS
="$X_LIBS -R$x_libraries"
14824 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14825 cat > conftest.
$ac_ext <<EOF
14826 #line 14827 "configure"
14827 #include "confdefs.h"
14833 if { (eval echo configure
:14834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14837 echo "configure: failed program was:" >&5
14838 cat conftest.
$ac_ext >&5
14843 if test $ac_R_space = yes; then
14844 echo "$ac_t""yes" 1>&6
14845 X_LIBS
="$X_LIBS -R $x_libraries"
14847 echo "$ac_t""neither works" 1>&6
14850 LIBS
="$ac_xsave_LIBS"
14854 # Check for system-dependent libraries X programs must link with.
14855 # Do this before checking for the system-independent R6 libraries
14856 # (-lICE), since we may need -lsocket or whatever for X linking.
14858 if test "$ISC" = yes; then
14859 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14861 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14862 # libraries were built with DECnet support. And karl@cs.umb.edu says
14863 # the Alpha needs dnet_stub (dnet does not exist).
14864 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14865 echo "configure:14866: checking for dnet_ntoa in -ldnet" >&5
14866 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14867 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14868 echo $ac_n "(cached) $ac_c" 1>&6
14870 ac_save_LIBS
="$LIBS"
14871 LIBS
="-ldnet $LIBS"
14872 cat > conftest.
$ac_ext <<EOF
14873 #line 14874 "configure"
14874 #include "confdefs.h"
14875 /* Override any gcc2 internal prototype to avoid an error. */
14876 /* We use char because int might match the return type of a gcc2
14877 builtin and then its argument prototype would still apply. */
14884 if { (eval echo configure
:14885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14886 eval "ac_cv_lib_$ac_lib_var=yes"
14888 echo "configure: failed program was:" >&5
14889 cat conftest.
$ac_ext >&5
14891 eval "ac_cv_lib_$ac_lib_var=no"
14894 LIBS
="$ac_save_LIBS"
14897 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14898 echo "$ac_t""yes" 1>&6
14899 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14901 echo "$ac_t""no" 1>&6
14904 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14905 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14906 echo "configure:14907: checking for dnet_ntoa in -ldnet_stub" >&5
14907 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14909 echo $ac_n "(cached) $ac_c" 1>&6
14911 ac_save_LIBS
="$LIBS"
14912 LIBS
="-ldnet_stub $LIBS"
14913 cat > conftest.
$ac_ext <<EOF
14914 #line 14915 "configure"
14915 #include "confdefs.h"
14916 /* Override any gcc2 internal prototype to avoid an error. */
14917 /* We use char because int might match the return type of a gcc2
14918 builtin and then its argument prototype would still apply. */
14925 if { (eval echo configure
:14926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14927 eval "ac_cv_lib_$ac_lib_var=yes"
14929 echo "configure: failed program was:" >&5
14930 cat conftest.
$ac_ext >&5
14932 eval "ac_cv_lib_$ac_lib_var=no"
14935 LIBS
="$ac_save_LIBS"
14938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14939 echo "$ac_t""yes" 1>&6
14940 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14942 echo "$ac_t""no" 1>&6
14947 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14948 # to get the SysV transport functions.
14949 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14951 # The nsl library prevents programs from opening the X display
14952 # on Irix 5.2, according to dickey@clark.net.
14953 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14954 echo "configure:14955: checking for gethostbyname" >&5
14955 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14956 echo $ac_n "(cached) $ac_c" 1>&6
14958 cat > conftest.
$ac_ext <<EOF
14959 #line 14960 "configure"
14960 #include "confdefs.h"
14961 /* System header to define __stub macros and hopefully few prototypes,
14962 which can conflict with char gethostbyname(); below. */
14963 #include <assert.h>
14964 /* Override any gcc2 internal prototype to avoid an error. */
14965 /* We use char because int might match the return type of a gcc2
14966 builtin and then its argument prototype would still apply. */
14967 char gethostbyname();
14971 /* The GNU C library defines this for functions which it implements
14972 to always fail with ENOSYS. Some functions are actually named
14973 something starting with __ and the normal name is an alias. */
14974 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14982 if { (eval echo configure
:14983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14984 eval "ac_cv_func_gethostbyname=yes"
14986 echo "configure: failed program was:" >&5
14987 cat conftest.
$ac_ext >&5
14989 eval "ac_cv_func_gethostbyname=no"
14994 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14995 echo "$ac_t""yes" 1>&6
14998 echo "$ac_t""no" 1>&6
15001 if test $ac_cv_func_gethostbyname = no
; then
15002 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
15003 echo "configure:15004: checking for gethostbyname in -lnsl" >&5
15004 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
15005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15006 echo $ac_n "(cached) $ac_c" 1>&6
15008 ac_save_LIBS
="$LIBS"
15010 cat > conftest.
$ac_ext <<EOF
15011 #line 15012 "configure"
15012 #include "confdefs.h"
15013 /* Override any gcc2 internal prototype to avoid an error. */
15014 /* We use char because int might match the return type of a gcc2
15015 builtin and then its argument prototype would still apply. */
15016 char gethostbyname();
15022 if { (eval echo configure
:15023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15024 eval "ac_cv_lib_$ac_lib_var=yes"
15026 echo "configure: failed program was:" >&5
15027 cat conftest.
$ac_ext >&5
15029 eval "ac_cv_lib_$ac_lib_var=no"
15032 LIBS
="$ac_save_LIBS"
15035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15036 echo "$ac_t""yes" 1>&6
15037 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
15039 echo "$ac_t""no" 1>&6
15044 # lieder@skyler.mavd.honeywell.com says without -lsocket,
15045 # socket/setsockopt and other routines are undefined under SCO ODT
15046 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
15047 # on later versions), says simon@lia.di.epfl.ch: it contains
15048 # gethostby* variants that don't use the nameserver (or something).
15049 # -lsocket must be given before -lnsl if both are needed.
15050 # We assume that if connect needs -lnsl, so does gethostbyname.
15051 echo $ac_n "checking for connect""... $ac_c" 1>&6
15052 echo "configure:15053: checking for connect" >&5
15053 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
15054 echo $ac_n "(cached) $ac_c" 1>&6
15056 cat > conftest.
$ac_ext <<EOF
15057 #line 15058 "configure"
15058 #include "confdefs.h"
15059 /* System header to define __stub macros and hopefully few prototypes,
15060 which can conflict with char connect(); below. */
15061 #include <assert.h>
15062 /* Override any gcc2 internal prototype to avoid an error. */
15063 /* We use char because int might match the return type of a gcc2
15064 builtin and then its argument prototype would still apply. */
15069 /* The GNU C library defines this for functions which it implements
15070 to always fail with ENOSYS. Some functions are actually named
15071 something starting with __ and the normal name is an alias. */
15072 #if defined (__stub_connect) || defined (__stub___connect)
15080 if { (eval echo configure
:15081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15082 eval "ac_cv_func_connect=yes"
15084 echo "configure: failed program was:" >&5
15085 cat conftest.
$ac_ext >&5
15087 eval "ac_cv_func_connect=no"
15092 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15093 echo "$ac_t""yes" 1>&6
15096 echo "$ac_t""no" 1>&6
15099 if test $ac_cv_func_connect = no
; then
15100 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15101 echo "configure:15102: checking for connect in -lsocket" >&5
15102 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15103 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15104 echo $ac_n "(cached) $ac_c" 1>&6
15106 ac_save_LIBS
="$LIBS"
15107 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15108 cat > conftest.
$ac_ext <<EOF
15109 #line 15110 "configure"
15110 #include "confdefs.h"
15111 /* Override any gcc2 internal prototype to avoid an error. */
15112 /* We use char because int might match the return type of a gcc2
15113 builtin and then its argument prototype would still apply. */
15120 if { (eval echo configure
:15121: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15122 eval "ac_cv_lib_$ac_lib_var=yes"
15124 echo "configure: failed program was:" >&5
15125 cat conftest.
$ac_ext >&5
15127 eval "ac_cv_lib_$ac_lib_var=no"
15130 LIBS
="$ac_save_LIBS"
15133 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15134 echo "$ac_t""yes" 1>&6
15135 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15137 echo "$ac_t""no" 1>&6
15142 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15143 echo $ac_n "checking for remove""... $ac_c" 1>&6
15144 echo "configure:15145: checking for remove" >&5
15145 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15146 echo $ac_n "(cached) $ac_c" 1>&6
15148 cat > conftest.
$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15151 /* System header to define __stub macros and hopefully few prototypes,
15152 which can conflict with char remove(); below. */
15153 #include <assert.h>
15154 /* Override any gcc2 internal prototype to avoid an error. */
15155 /* We use char because int might match the return type of a gcc2
15156 builtin and then its argument prototype would still apply. */
15161 /* The GNU C library defines this for functions which it implements
15162 to always fail with ENOSYS. Some functions are actually named
15163 something starting with __ and the normal name is an alias. */
15164 #if defined (__stub_remove) || defined (__stub___remove)
15172 if { (eval echo configure
:15173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15174 eval "ac_cv_func_remove=yes"
15176 echo "configure: failed program was:" >&5
15177 cat conftest.
$ac_ext >&5
15179 eval "ac_cv_func_remove=no"
15184 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15185 echo "$ac_t""yes" 1>&6
15188 echo "$ac_t""no" 1>&6
15191 if test $ac_cv_func_remove = no
; then
15192 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15193 echo "configure:15194: checking for remove in -lposix" >&5
15194 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15195 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15196 echo $ac_n "(cached) $ac_c" 1>&6
15198 ac_save_LIBS
="$LIBS"
15199 LIBS
="-lposix $LIBS"
15200 cat > conftest.
$ac_ext <<EOF
15201 #line 15202 "configure"
15202 #include "confdefs.h"
15203 /* Override any gcc2 internal prototype to avoid an error. */
15204 /* We use char because int might match the return type of a gcc2
15205 builtin and then its argument prototype would still apply. */
15212 if { (eval echo configure
:15213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15214 eval "ac_cv_lib_$ac_lib_var=yes"
15216 echo "configure: failed program was:" >&5
15217 cat conftest.
$ac_ext >&5
15219 eval "ac_cv_lib_$ac_lib_var=no"
15222 LIBS
="$ac_save_LIBS"
15225 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15226 echo "$ac_t""yes" 1>&6
15227 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15229 echo "$ac_t""no" 1>&6
15234 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15235 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15236 echo "configure:15237: checking for shmat" >&5
15237 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15238 echo $ac_n "(cached) $ac_c" 1>&6
15240 cat > conftest.
$ac_ext <<EOF
15241 #line 15242 "configure"
15242 #include "confdefs.h"
15243 /* System header to define __stub macros and hopefully few prototypes,
15244 which can conflict with char shmat(); below. */
15245 #include <assert.h>
15246 /* Override any gcc2 internal prototype to avoid an error. */
15247 /* We use char because int might match the return type of a gcc2
15248 builtin and then its argument prototype would still apply. */
15253 /* The GNU C library defines this for functions which it implements
15254 to always fail with ENOSYS. Some functions are actually named
15255 something starting with __ and the normal name is an alias. */
15256 #if defined (__stub_shmat) || defined (__stub___shmat)
15264 if { (eval echo configure
:15265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15266 eval "ac_cv_func_shmat=yes"
15268 echo "configure: failed program was:" >&5
15269 cat conftest.
$ac_ext >&5
15271 eval "ac_cv_func_shmat=no"
15276 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15277 echo "$ac_t""yes" 1>&6
15280 echo "$ac_t""no" 1>&6
15283 if test $ac_cv_func_shmat = no
; then
15284 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15285 echo "configure:15286: checking for shmat in -lipc" >&5
15286 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15287 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15288 echo $ac_n "(cached) $ac_c" 1>&6
15290 ac_save_LIBS
="$LIBS"
15292 cat > conftest.
$ac_ext <<EOF
15293 #line 15294 "configure"
15294 #include "confdefs.h"
15295 /* Override any gcc2 internal prototype to avoid an error. */
15296 /* We use char because int might match the return type of a gcc2
15297 builtin and then its argument prototype would still apply. */
15304 if { (eval echo configure
:15305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15306 eval "ac_cv_lib_$ac_lib_var=yes"
15308 echo "configure: failed program was:" >&5
15309 cat conftest.
$ac_ext >&5
15311 eval "ac_cv_lib_$ac_lib_var=no"
15314 LIBS
="$ac_save_LIBS"
15317 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15318 echo "$ac_t""yes" 1>&6
15319 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15321 echo "$ac_t""no" 1>&6
15327 # Check for libraries that X11R6 Xt/Xaw programs need.
15328 ac_save_LDFLAGS
="$LDFLAGS"
15329 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15330 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15331 # check for ICE first), but we must link in the order -lSM -lICE or
15332 # we get undefined symbols. So assume we have SM if we have ICE.
15333 # These have to be linked with before -lX11, unlike the other
15334 # libraries we check for below, so use a different variable.
15335 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15336 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15337 echo "configure:15338: checking for IceConnectionNumber in -lICE" >&5
15338 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15339 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15340 echo $ac_n "(cached) $ac_c" 1>&6
15342 ac_save_LIBS
="$LIBS"
15343 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15344 cat > conftest.
$ac_ext <<EOF
15345 #line 15346 "configure"
15346 #include "confdefs.h"
15347 /* Override any gcc2 internal prototype to avoid an error. */
15348 /* We use char because int might match the return type of a gcc2
15349 builtin and then its argument prototype would still apply. */
15350 char IceConnectionNumber();
15353 IceConnectionNumber()
15356 if { (eval echo configure
:15357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15358 eval "ac_cv_lib_$ac_lib_var=yes"
15360 echo "configure: failed program was:" >&5
15361 cat conftest.
$ac_ext >&5
15363 eval "ac_cv_lib_$ac_lib_var=no"
15366 LIBS
="$ac_save_LIBS"
15369 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15370 echo "$ac_t""yes" 1>&6
15371 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15373 echo "$ac_t""no" 1>&6
15376 LDFLAGS
="$ac_save_LDFLAGS"
15381 if test "$no_x" = "yes"; then
15382 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15385 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15386 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15387 AFMINSTALL
=afminstall
15388 COMPILED_X_PROGRAM
=0
15390 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15391 echo "configure:15392: checking for Motif/Lesstif headers" >&5
15394 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15396 if test -f "$ac_dir/Xm/Xm.h"; then
15397 ac_find_includes
=$ac_dir
15402 if test "$ac_find_includes" != "" ; then
15403 echo "$ac_t""found in $ac_find_includes" 1>&6
15405 if test "x$ac_find_includes" = "x/usr/include"; then
15406 ac_path_to_include
=""
15408 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15410 if test $result = 0; then
15411 ac_path_to_include
=""
15413 ac_path_to_include
=" -I$ac_find_includes"
15417 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15419 cat > conftest.
$ac_ext <<EOF
15420 #line 15421 "configure"
15421 #include "confdefs.h"
15428 version = xmUseVersion;
15432 if { (eval echo configure
:15433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15435 echo "$ac_t""found in default search path" 1>&6
15436 COMPILED_X_PROGRAM
=1
15439 echo "configure: failed program was:" >&5
15440 cat conftest.
$ac_ext >&5
15443 echo "$ac_t""no" 1>&6
15444 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15451 if test "$COMPILED_X_PROGRAM" = 0; then
15452 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15453 echo "configure:15454: checking for Motif/Lesstif library" >&5
15456 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15458 for ac_extension
in a so sl dylib
; do
15459 if test -f "$ac_dir/libXm.$ac_extension"; then
15460 ac_find_libraries
=$ac_dir
15466 if test "$ac_find_libraries" != "" ; then
15467 echo "$ac_t""found at $ac_find_libraries" 1>&6
15470 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15472 if test $result = 0; then
15475 ac_path_to_link
=" -L$ac_find_libraries"
15478 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15480 save_CFLAGS
=$CFLAGS
15481 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15483 cat > conftest.
$ac_ext <<EOF
15484 #line 15485 "configure"
15485 #include "confdefs.h"
15492 version = xmUseVersion;
15496 if { (eval echo configure
:15497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15499 echo "$ac_t""found in default search path" 1>&6
15500 COMPILED_X_PROGRAM
=1
15503 echo "configure: failed program was:" >&5
15504 cat conftest.
$ac_ext >&5
15507 echo "$ac_t""no" 1>&6
15508 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15514 CFLAGS
=$save_CFLAGS
15519 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15520 echo "configure:15521: checking for Xpm library" >&5
15523 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15525 for ac_extension
in a so sl dylib
; do
15526 if test -f "$ac_dir/libXpm.$ac_extension"; then
15527 ac_find_libraries
=$ac_dir
15533 if test "$ac_find_libraries" != "" ; then
15535 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15537 if test $result = 0; then
15540 ac_path_to_link
=" -L$ac_find_libraries"
15543 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15546 cat >> confdefs.h
<<\EOF
15547 #define wxHAVE_LIB_XPM 1
15550 echo "$ac_t""found at $ac_find_libraries" 1>&6
15552 save_CFLAGS
=$CFLAGS
15553 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15555 cat > conftest.
$ac_ext <<EOF
15556 #line 15557 "configure"
15557 #include "confdefs.h"
15559 #include <X11/xpm.h>
15564 version = XpmLibraryVersion();
15568 if { (eval echo configure
:15569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15572 cat >> confdefs.h
<<\EOF
15573 #define wxHAVE_LIB_XPM 1
15576 echo "$ac_t""found in default search path" 1>&6
15577 COMPILED_X_PROGRAM
=0
15580 echo "configure: failed program was:" >&5
15581 cat conftest.
$ac_ext >&5
15584 echo "$ac_t""no" 1>&6
15585 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15591 CFLAGS
=$save_CFLAGS
15594 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15595 echo "configure:15596: checking if we need -lXp and/or -lSM -lICE" >&5
15599 for libp
in "" " -lXp"; do
15600 if test "$libs_found" = "0"; then
15601 for libsm_ice
in " -lSM -lICE"; do
15602 if test "$libs_found" = "0"; then
15604 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15605 save_CFLAGS
=$CFLAGS
15606 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15608 cat > conftest.
$ac_ext <<EOF
15609 #line 15610 "configure"
15610 #include "confdefs.h"
15613 #include <Xm/List.h>
15617 XmString string = NULL;
15620 XmListAddItem(w, string, position);
15624 if { (eval echo configure
:15625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15628 libsm_ice_link
="$libsm_ice"
15629 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15633 echo "configure: failed program was:" >&5
15634 cat conftest.
$ac_ext >&5
15642 CFLAGS
=$save_CFLAGS
15648 if test "$libs_found" = "0"; then
15649 echo "$ac_t""can't find the right libraries" 1>&6
15650 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15653 save_CFLAGS
=$CFLAGS
15654 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15655 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15656 echo "configure:15657: checking for Motif 2" >&5
15657 cat > conftest.
$ac_ext <<EOF
15658 #line 15659 "configure"
15659 #include "confdefs.h"
15665 #if XmVersion < 2000
15666 #error "Not Motif 2"
15671 if { (eval echo configure
:15672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15674 cat >> confdefs.h
<<\EOF
15675 #define __WXMOTIF20__ 1
15678 echo "$ac_t""found" 1>&6
15681 echo "configure: failed program was:" >&5
15682 cat conftest.
$ac_ext >&5
15685 cat >> confdefs.h
<<\EOF
15686 #define __WXMOTIF20__ 0
15689 echo "$ac_t""not found" 1>&6
15693 CFLAGS
=$save_CFLAGS
15695 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15696 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15702 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
15703 test "$wxHAVE_XEXT_LIB" = 1; then
15704 save_CFLAGS
="$CFLAGS"
15705 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15707 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
15708 echo "configure:15709: checking for X11/extensions/shape.h" >&5
15709 cat > conftest.
$ac_ext <<EOF
15710 #line 15711 "configure"
15711 #include "confdefs.h"
15713 #include <X11/Xlib.h>
15714 #include <X11/extensions/shape.h>
15718 int dummy1, dummy2;
15719 XShapeQueryExtension((Display*)NULL,
15720 (int*)NULL, (int*)NULL);
15724 if { (eval echo configure
:15725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15727 cat >> confdefs.h
<<\EOF
15728 #define HAVE_XSHAPE 1
15731 echo "$ac_t""found" 1>&6
15734 echo "configure: failed program was:" >&5
15735 cat conftest.
$ac_ext >&5
15738 echo "$ac_t""not found" 1>&6
15742 CFLAGS
="$save_CFLAGS"
15745 if test "$wxUSE_MAC" = 1; then
15746 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15748 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15753 if test "$wxUSE_COCOA" = 1; then
15754 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15759 if test "$wxUSE_PM" = 1; then
15762 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15766 if test "$TOOLKIT" = "PM" ; then
15769 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15772 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15774 if test "$wxUSE_UNIVERSAL" = "yes"; then
15775 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15777 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15778 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15780 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15781 if test "$wxUSE_X11" = 1; then
15782 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15784 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15786 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15789 ALL_OBJECTS
="\$(GUIOBJS)"
15790 ALL_SOURCES
="\$(ALL_SOURCES)"
15791 ALL_HEADERS
="\$(ALL_HEADERS)"
15794 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15796 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15797 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15800 if test "$wxUSE_HTML" = "yes"; then
15801 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15804 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15805 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15807 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15808 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15810 if test "$wxUSE_LIBPNG" = "builtin" ; then
15811 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15814 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15815 DISTDIR
="wx\$(TOOLKIT)"
15821 if test "$USE_WIN32" = 1 ; then
15822 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15823 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15827 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15828 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15831 ALL_SOURCES
="\$(ALL_SOURCES)"
15832 ALL_HEADERS
="\$(ALL_HEADERS)"
15834 PORT_FILES
="\${top_srcdir}/src/files.lst"
15836 GUIDIST
="BASE_DIST"
15846 if test "$TOOLKIT" != "MSW" ; then
15848 if test "$wxUSE_ODBC" != "no" ; then
15849 cat >> confdefs.h
<<\EOF
15850 #define wxUSE_ODBC 1
15853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
15855 WXODBCFLAG
="-D_IODBC_"
15858 if test "$wxUSE_ODBC" = "sys" ; then
15860 ac_safe
=`echo "sql.h" | sed 'y%./+-%__p_%'`
15861 echo $ac_n "checking for sql.h""... $ac_c" 1>&6
15862 echo "configure:15863: checking for sql.h" >&5
15863 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15864 echo $ac_n "(cached) $ac_c" 1>&6
15866 cat > conftest.
$ac_ext <<EOF
15867 #line 15868 "configure"
15868 #include "confdefs.h"
15871 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15872 { (eval echo configure
:15873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15873 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15874 if test -z "$ac_err"; then
15876 eval "ac_cv_header_$ac_safe=yes"
15879 echo "configure: failed program was:" >&5
15880 cat conftest.
$ac_ext >&5
15882 eval "ac_cv_header_$ac_safe=no"
15886 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15887 echo "$ac_t""yes" 1>&6
15890 echo "$ac_t""no" 1>&6
15894 echo $ac_n "checking for library containing SQLAllocEnv""... $ac_c" 1>&6
15895 echo "configure:15896: checking for library containing SQLAllocEnv" >&5
15896 if eval "test \"`echo '$''{'ac_cv_search_SQLAllocEnv'+set}'`\" = set"; then
15897 echo $ac_n "(cached) $ac_c" 1>&6
15899 ac_func_search_save_LIBS
="$LIBS"
15900 ac_cv_search_SQLAllocEnv
="no"
15901 cat > conftest.
$ac_ext <<EOF
15902 #line 15903 "configure"
15903 #include "confdefs.h"
15904 /* Override any gcc2 internal prototype to avoid an error. */
15905 /* We use char because int might match the return type of a gcc2
15906 builtin and then its argument prototype would still apply. */
15907 char SQLAllocEnv();
15913 if { (eval echo configure
:15914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15915 ac_cv_search_SQLAllocEnv
="none required"
15917 echo "configure: failed program was:" >&5
15918 cat conftest.
$ac_ext >&5
15921 test "$ac_cv_search_SQLAllocEnv" = "no" && for i
in iodbc unixodbc odbc
; do
15922 LIBS
="-l$i $ac_func_search_save_LIBS"
15923 cat > conftest.
$ac_ext <<EOF
15924 #line 15925 "configure"
15925 #include "confdefs.h"
15926 /* Override any gcc2 internal prototype to avoid an error. */
15927 /* We use char because int might match the return type of a gcc2
15928 builtin and then its argument prototype would still apply. */
15929 char SQLAllocEnv();
15935 if { (eval echo configure
:15936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15937 ac_cv_search_SQLAllocEnv
="-l$i"
15940 echo "configure: failed program was:" >&5
15941 cat conftest.
$ac_ext >&5
15945 LIBS
="$ac_func_search_save_LIBS"
15948 echo "$ac_t""$ac_cv_search_SQLAllocEnv" 1>&6
15949 if test "$ac_cv_search_SQLAllocEnv" != "no"; then
15950 test "$ac_cv_search_SQLAllocEnv" = "none required" || LIBS
="$ac_cv_search_SQLAllocEnv $LIBS"
15959 if test "$wxUSE_ODBC" != "sys" ; then
15960 echo "configure: warning: can't find system Odbc library falling back to builtin " 1>&2
15961 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15965 if test "$wxUSE_REGEX" = "builtin" ; then
15966 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15968 if test "$wxUSE_ZLIB" = "builtin" ; then
15969 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15973 if test "$wxUSE_OPENGL" = "yes"; then
15974 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15975 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15976 elif test "$wxUSE_MSW" = 1; then
15977 OPENGL_LIBS
="-lopengl32 -lglu32"
15979 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15980 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15981 echo "configure:15982: checking for GL/gl.h" >&5
15982 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15983 echo $ac_n "(cached) $ac_c" 1>&6
15985 cat > conftest.
$ac_ext <<EOF
15986 #line 15987 "configure"
15987 #include "confdefs.h"
15990 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15991 { (eval echo configure
:15992: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15992 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15993 if test -z "$ac_err"; then
15995 eval "ac_cv_header_$ac_safe=yes"
15998 echo "configure: failed program was:" >&5
15999 cat conftest.
$ac_ext >&5
16001 eval "ac_cv_header_$ac_safe=no"
16005 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16006 echo "$ac_t""yes" 1>&6
16010 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
16011 echo "configure:16012: checking for -lGL" >&5
16014 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16016 for ac_extension
in a so sl dylib
; do
16017 if test -f "$ac_dir/libGL.$ac_extension"; then
16018 ac_find_libraries
=$ac_dir
16024 if test "$ac_find_libraries" != "" ; then
16026 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16028 if test $result = 0; then
16031 ac_path_to_link
=" -L$ac_find_libraries"
16034 if test "$ac_path_to_link" != " -L/usr/lib" ; then
16035 LDFLAGS_GL
="$ac_path_to_link"
16040 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16042 for ac_extension
in a so sl dylib
; do
16043 if test -f "$ac_dir/libGLU.$ac_extension"; then
16044 ac_find_libraries
=$ac_dir
16050 if test "$ac_find_libraries" != "" ; then
16052 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16054 if test $result = 0; then
16057 ac_path_to_link
=" -L$ac_find_libraries"
16060 if test "$ac_path_to_link" != " -L/usr/lib" -a \
16061 "$ac_path_to_link" != "$LDFLAGS_GL"; then
16062 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
16066 OPENGL_LIBS
="-lGL -lGLU"
16067 echo "$ac_t""yes" 1>&6
16071 if "$found_gl" != 1; then
16072 echo "$ac_t""no" 1>&6
16073 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
16074 echo "configure:16075: checking for -lMesaGL" >&5
16077 for ac_dir
in $SEARCH_LIB /usr
/lib
;
16079 for ac_extension
in a so sl dylib
; do
16080 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
16081 ac_find_libraries
=$ac_dir
16087 if test "$ac_find_libraries" != "" ; then
16089 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
16091 if test $result = 0; then
16094 ac_path_to_link
=" -L$ac_find_libraries"
16097 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
16098 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
16099 echo "$ac_t""yes" 1>&6
16101 echo "$ac_t""no" 1>&6
16106 echo "$ac_t""no" 1>&6
16110 if test "x$OPENGL_LIBS" = "x"; then
16111 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
16115 if test "$wxUSE_OPENGL" = "yes"; then
16116 cat >> confdefs.h
<<\EOF
16117 #define wxUSE_OPENGL 1
16120 cat >> confdefs.h
<<\EOF
16121 #define wxUSE_GLCANVAS 1
16124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
16128 if test -z "$TOOLKIT_VPATH" ; then
16129 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
16132 if test -n "$TOOLKIT" ; then
16133 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
16136 lib_unicode_suffix
=
16137 if test "$wxUSE_UNICODE" = "yes"; then
16138 lib_unicode_suffix
=u
16142 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
16146 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
16148 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
16149 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
16151 if test "$cross_compiling" = "yes"; then
16152 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
16153 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
16156 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
16157 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
16158 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
16160 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16161 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
16163 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
16164 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16165 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
16166 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16169 *-*-cygwin* | *-*-mingw32* )
16173 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
16174 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16175 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
16176 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
16177 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
16179 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16180 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16186 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16187 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
16189 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
16190 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
16191 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
16192 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16194 if test "$wxUSE_MAC" = 1; then
16195 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16196 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16201 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16202 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16204 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16205 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16207 if test "$wxUSE_OPENGL" = "yes"; then
16208 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16209 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16214 if test "$wxUSE_SHARED" = "yes"; then
16216 *-pc-os2_emx | *-pc-os2-emx | \
16219 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16224 if test "$wxUSE_SHARED" = "yes"; then
16226 if test "$wxUSE_OPENGL" = "yes"; then
16227 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16228 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16230 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16231 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16234 if test "$GCC" = "yes"; then
16240 found_versioning
=no
16243 if test $found_versioning = no
; then
16244 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16245 echo "configure:16246: checking if the linker accepts --version-script" >&5
16246 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16247 echo $ac_n "(cached) $ac_c" 1>&6
16250 echo "VER_1 { *; };" >conftest.sym
16251 echo "int main() { return 0; }" >conftest.cpp
16254 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16255 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16256: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16256 if test -s conftest.stderr
; then
16257 wx_cv_version_script
=no
16259 wx_cv_version_script
=yes
16262 wx_cv_version_script
=no
16264 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16268 echo "$ac_t""$wx_cv_version_script" 1>&6
16269 if test $wx_cv_version_script = yes ; then
16270 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16275 SHARED_LD
="${CXX} -shared -o"
16279 if test "$GCC" = "yes"; then
16280 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16282 LDFLAGS
="$LDFLAGS -L/usr/lib"
16284 SHARED_LD
="${CXX} -b -o"
16288 if test "$wxUSE_OPENGL" = "yes"; then
16289 WX_ALL_INSTALLED
="preinstall_gl"
16290 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16292 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16297 if test "$GCC" != "yes"; then
16298 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16299 echo "configure:16300: checking for Intel compiler" >&5
16300 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16301 echo $ac_n "(cached) $ac_c" 1>&6
16304 cat > conftest.
$ac_ext <<EOF
16305 #line 16306 "configure"
16306 #include "confdefs.h"
16310 #ifndef __INTEL_COMPILER
16316 if { (eval echo configure
:16317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16320 echo "configure: failed program was:" >&5
16321 cat conftest.
$ac_ext >&5
16330 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16331 if test "$wx_cv_prog_icc" = "yes"; then
16336 if test "$wxUSE_SONAME" = "yes" ; then
16337 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16338 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16339 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16344 if test "$GCC" = yes ; then
16345 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16347 SHARED_LD
="${CXX} -G -o"
16349 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16350 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16355 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16356 CFLAGS
="$CFLAGS -fno-common"
16357 CXXFLAGS
="$CXXFLAGS -fno-common"
16358 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16359 PIC_FLAG
="-dynamic -fPIC"
16360 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16361 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16365 if test "$GCC" != "yes"; then
16366 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16367 set dummy makeC
++SharedLib
; ac_word
=$2
16368 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16369 echo "configure:16370: checking for $ac_word" >&5
16370 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16371 echo $ac_n "(cached) $ac_c" 1>&6
16373 if test -n "$AIX_CXX_LD"; then
16374 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16376 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16378 for ac_dir
in $ac_dummy; do
16379 test -z "$ac_dir" && ac_dir
=.
16380 if test -f $ac_dir/$ac_word; then
16381 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16386 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16389 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16390 if test -n "$AIX_CXX_LD"; then
16391 echo "$ac_t""$AIX_CXX_LD" 1>&6
16393 echo "$ac_t""no" 1>&6
16397 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16401 *-*-cygwin* | *-*-mingw32* )
16402 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16404 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16405 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16407 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16409 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16410 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16412 if test "$wxUSE_OPENGL" = "yes"; then
16413 LIBS
="${LIBS} ${OPENGL_LIBS}"
16418 SHARED_LD
="${LD} -shared -o"
16422 if test "$GCC" != "yes"; then
16427 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16435 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16438 if test "x$WX_TARGET_LIBRARY" = "x"; then
16439 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16440 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16443 WX_TARGET_LIBRARY_TYPE
="so"
16444 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16447 if test "$wxUSE_SHARED" = "no"; then
16449 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16450 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16453 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16454 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16457 if test "$wxUSE_OPENGL" = "yes"; then
16458 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16459 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16461 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16464 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16465 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16467 WX_TARGET_LIBRARY_TYPE
="a"
16468 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16478 if test "$wxUSE_MAC" = 1; then
16479 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16480 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16481 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16482 # Extract the first word of "Rez", so it can be a program name with args.
16483 set dummy Rez
; ac_word
=$2
16484 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16485 echo "configure:16486: checking for $ac_word" >&5
16486 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16487 echo $ac_n "(cached) $ac_c" 1>&6
16489 if test -n "$RESCOMP"; then
16490 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16492 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16494 for ac_dir
in $ac_dummy; do
16495 test -z "$ac_dir" && ac_dir
=.
16496 if test -f $ac_dir/$ac_word; then
16497 ac_cv_prog_RESCOMP
="Rez"
16502 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16505 RESCOMP
="$ac_cv_prog_RESCOMP"
16506 if test -n "$RESCOMP"; then
16507 echo "$ac_t""$RESCOMP" 1>&6
16509 echo "$ac_t""no" 1>&6
16512 # Extract the first word of "DeRez", so it can be a program name with args.
16513 set dummy DeRez
; ac_word
=$2
16514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16515 echo "configure:16516: checking for $ac_word" >&5
16516 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16517 echo $ac_n "(cached) $ac_c" 1>&6
16519 if test -n "$DEREZ"; then
16520 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16522 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16524 for ac_dir
in $ac_dummy; do
16525 test -z "$ac_dir" && ac_dir
=.
16526 if test -f $ac_dir/$ac_word; then
16527 ac_cv_prog_DEREZ
="DeRez"
16532 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16535 DEREZ
="$ac_cv_prog_DEREZ"
16536 if test -n "$DEREZ"; then
16537 echo "$ac_t""$DEREZ" 1>&6
16539 echo "$ac_t""no" 1>&6
16542 # Extract the first word of "SetFile", so it can be a program name with args.
16543 set dummy SetFile
; ac_word
=$2
16544 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16545 echo "configure:16546: checking for $ac_word" >&5
16546 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16547 echo $ac_n "(cached) $ac_c" 1>&6
16549 if test -n "$SETFILE"; then
16550 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16552 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16554 for ac_dir
in $ac_dummy; do
16555 test -z "$ac_dir" && ac_dir
=.
16556 if test -f $ac_dir/$ac_word; then
16557 ac_cv_prog_SETFILE
="SetFile"
16562 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16565 SETFILE
="$ac_cv_prog_SETFILE"
16566 if test -n "$SETFILE"; then
16567 echo "$ac_t""$SETFILE" 1>&6
16569 echo "$ac_t""no" 1>&6
16572 MACOSX_BUNDLE
="bundle"
16573 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16574 MACSETFILE
="\$(SETFILE)"
16575 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16576 elif test "$wxUSE_COCOA" = 1; then
16577 # Extract the first word of "Rez", so it can be a program name with args.
16578 set dummy Rez
; ac_word
=$2
16579 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16580 echo "configure:16581: checking for $ac_word" >&5
16581 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16582 echo $ac_n "(cached) $ac_c" 1>&6
16584 if test -n "$RESCOMP"; then
16585 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16587 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16589 for ac_dir
in $ac_dummy; do
16590 test -z "$ac_dir" && ac_dir
=.
16591 if test -f $ac_dir/$ac_word; then
16592 ac_cv_prog_RESCOMP
="Rez"
16597 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16600 RESCOMP
="$ac_cv_prog_RESCOMP"
16601 if test -n "$RESCOMP"; then
16602 echo "$ac_t""$RESCOMP" 1>&6
16604 echo "$ac_t""no" 1>&6
16607 # Extract the first word of "DeRez", so it can be a program name with args.
16608 set dummy DeRez
; ac_word
=$2
16609 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16610 echo "configure:16611: checking for $ac_word" >&5
16611 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16612 echo $ac_n "(cached) $ac_c" 1>&6
16614 if test -n "$DEREZ"; then
16615 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16617 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16619 for ac_dir
in $ac_dummy; do
16620 test -z "$ac_dir" && ac_dir
=.
16621 if test -f $ac_dir/$ac_word; then
16622 ac_cv_prog_DEREZ
="DeRez"
16627 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16630 DEREZ
="$ac_cv_prog_DEREZ"
16631 if test -n "$DEREZ"; then
16632 echo "$ac_t""$DEREZ" 1>&6
16634 echo "$ac_t""no" 1>&6
16637 # Extract the first word of "SetFile", so it can be a program name with args.
16638 set dummy SetFile
; ac_word
=$2
16639 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16640 echo "configure:16641: checking for $ac_word" >&5
16641 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16642 echo $ac_n "(cached) $ac_c" 1>&6
16644 if test -n "$SETFILE"; then
16645 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16647 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16649 for ac_dir
in $ac_dummy; do
16650 test -z "$ac_dir" && ac_dir
=.
16651 if test -f $ac_dir/$ac_word; then
16652 ac_cv_prog_SETFILE
="SetFile"
16657 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16660 SETFILE
="$ac_cv_prog_SETFILE"
16661 if test -n "$SETFILE"; then
16662 echo "$ac_t""$SETFILE" 1>&6
16664 echo "$ac_t""no" 1>&6
16667 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
16668 MACSETFILE
="\$(SETFILE)"
16669 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16671 if test "$wxUSE_PM" = 1; then
16672 MACRESCOMP
="emxbind -ep"
16677 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16678 echo "configure:16679: checking for ANSI C header files" >&5
16679 if eval "test \"`echo '$''{'ac_cv_header_stdc'+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 <stdlib.h>
16686 #include <stdarg.h>
16687 #include <string.h>
16690 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16691 { (eval echo configure
:16692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16692 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16693 if test -z "$ac_err"; then
16695 ac_cv_header_stdc
=yes
16698 echo "configure: failed program was:" >&5
16699 cat conftest.
$ac_ext >&5
16701 ac_cv_header_stdc
=no
16705 if test $ac_cv_header_stdc = yes; then
16706 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16707 cat > conftest.
$ac_ext <<EOF
16708 #line 16709 "configure"
16709 #include "confdefs.h"
16710 #include <string.h>
16712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16713 egrep "memchr" >/dev
/null
2>&1; then
16717 ac_cv_header_stdc
=no
16723 if test $ac_cv_header_stdc = yes; then
16724 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16725 cat > conftest.
$ac_ext <<EOF
16726 #line 16727 "configure"
16727 #include "confdefs.h"
16728 #include <stdlib.h>
16730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16731 egrep "free" >/dev
/null
2>&1; then
16735 ac_cv_header_stdc
=no
16741 if test $ac_cv_header_stdc = yes; then
16742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16743 if test "$cross_compiling" = yes; then
16746 cat > conftest.
$ac_ext <<EOF
16747 #line 16748 "configure"
16748 #include "confdefs.h"
16750 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16751 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16753 int main () { int i; for (i = 0; i < 256; i++)
16754 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16758 if { (eval echo configure
:16759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16762 echo "configure: failed program was:" >&5
16763 cat conftest.
$ac_ext >&5
16765 ac_cv_header_stdc
=no
16773 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16774 if test $ac_cv_header_stdc = yes; then
16775 cat >> confdefs.h
<<\EOF
16776 #define STDC_HEADERS 1
16781 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16782 echo "configure:16783: checking for mode_t" >&5
16783 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16784 echo $ac_n "(cached) $ac_c" 1>&6
16786 cat > conftest.
$ac_ext <<EOF
16787 #line 16788 "configure"
16788 #include "confdefs.h"
16789 #include <sys/types.h>
16791 #include <stdlib.h>
16792 #include <stddef.h>
16795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16796 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16798 ac_cv_type_mode_t
=yes
16801 ac_cv_type_mode_t
=no
16806 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16807 if test $ac_cv_type_mode_t = no
; then
16808 cat >> confdefs.h
<<\EOF
16814 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16815 echo "configure:16816: checking for off_t" >&5
16816 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16817 echo $ac_n "(cached) $ac_c" 1>&6
16819 cat > conftest.
$ac_ext <<EOF
16820 #line 16821 "configure"
16821 #include "confdefs.h"
16822 #include <sys/types.h>
16824 #include <stdlib.h>
16825 #include <stddef.h>
16828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16829 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16831 ac_cv_type_off_t
=yes
16834 ac_cv_type_off_t
=no
16839 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16840 if test $ac_cv_type_off_t = no
; then
16841 cat >> confdefs.h
<<\EOF
16847 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16848 echo "configure:16849: checking for pid_t" >&5
16849 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16850 echo $ac_n "(cached) $ac_c" 1>&6
16852 cat > conftest.
$ac_ext <<EOF
16853 #line 16854 "configure"
16854 #include "confdefs.h"
16855 #include <sys/types.h>
16857 #include <stdlib.h>
16858 #include <stddef.h>
16861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16862 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16864 ac_cv_type_pid_t
=yes
16867 ac_cv_type_pid_t
=no
16872 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16873 if test $ac_cv_type_pid_t = no
; then
16874 cat >> confdefs.h
<<\EOF
16880 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16881 echo "configure:16882: checking for size_t" >&5
16882 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16883 echo $ac_n "(cached) $ac_c" 1>&6
16885 cat > conftest.
$ac_ext <<EOF
16886 #line 16887 "configure"
16887 #include "confdefs.h"
16888 #include <sys/types.h>
16890 #include <stdlib.h>
16891 #include <stddef.h>
16894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16895 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16897 ac_cv_type_size_t
=yes
16900 ac_cv_type_size_t
=no
16905 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16906 if test $ac_cv_type_size_t = no
; then
16907 cat >> confdefs.h
<<\EOF
16908 #define size_t unsigned
16913 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16914 echo "configure:16915: checking for uid_t in sys/types.h" >&5
16915 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16916 echo $ac_n "(cached) $ac_c" 1>&6
16918 cat > conftest.
$ac_ext <<EOF
16919 #line 16920 "configure"
16920 #include "confdefs.h"
16921 #include <sys/types.h>
16923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16924 egrep "uid_t" >/dev
/null
2>&1; then
16926 ac_cv_type_uid_t
=yes
16929 ac_cv_type_uid_t
=no
16935 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16936 if test $ac_cv_type_uid_t = no
; then
16937 cat >> confdefs.h
<<\EOF
16941 cat >> confdefs.h
<<\EOF
16950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16951 ac_cpp
='$CXXCPP $CPPFLAGS'
16952 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16953 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16954 cross_compiling
=$ac_cv_prog_cxx_cross
16956 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16957 echo "configure:16958: checking if size_t is unsigned int" >&5
16958 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16959 echo $ac_n "(cached) $ac_c" 1>&6
16962 cat > conftest.
$ac_ext <<EOF
16963 #line 16964 "configure"
16964 #include "confdefs.h"
16965 #include <stddef.h>
16970 struct Foo { void foo(size_t); void foo(unsigned int); };
16976 if { (eval echo configure
:16977: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16978 wx_cv_size_t_is_uint
=no
16980 echo "configure: failed program was:" >&5
16981 cat conftest.
$ac_ext >&5
16983 wx_cv_size_t_is_uint
=yes
16991 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16993 if test "$wx_cv_size_t_is_uint" = "yes"; then
16994 cat >> confdefs.h
<<\EOF
16995 #define wxSIZE_T_IS_UINT 1
16999 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
17000 echo "configure:17001: checking if size_t is unsigned long" >&5
17001 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
17002 echo $ac_n "(cached) $ac_c" 1>&6
17004 cat > conftest.
$ac_ext <<EOF
17005 #line 17006 "configure"
17006 #include "confdefs.h"
17007 #include <stddef.h>
17012 struct Foo { void foo(size_t); void foo(unsigned long); };
17018 if { (eval echo configure
:17019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17020 wx_cv_size_t_is_ulong
=no
17022 echo "configure: failed program was:" >&5
17023 cat conftest.
$ac_ext >&5
17025 wx_cv_size_t_is_ulong
=yes
17032 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
17034 if test "$wx_cv_size_t_is_ulong" = "yes"; then
17035 cat >> confdefs.h
<<\EOF
17036 #define wxSIZE_T_IS_ULONG 1
17043 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17044 ac_cpp
='$CPP $CPPFLAGS'
17045 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17046 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17047 cross_compiling
=$ac_cv_prog_cc_cross
17051 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
17052 echo "configure:17053: checking for pw_gecos in struct passwd" >&5
17053 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
17054 echo $ac_n "(cached) $ac_c" 1>&6
17057 cat > conftest.
$ac_ext <<EOF
17058 #line 17059 "configure"
17059 #include "confdefs.h"
17069 if { (eval echo configure
:17070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17072 wx_cv_struct_pw_gecos
=yes
17075 echo "configure: failed program was:" >&5
17076 cat conftest.
$ac_ext >&5
17079 wx_cv_struct_pw_gecos
=no
17088 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
17090 if test "$wx_cv_struct_pw_gecos" = "yes"; then
17091 cat >> confdefs.h
<<\EOF
17092 #define HAVE_PW_GECOS 1
17098 if test "$wx_cv_sizeof_wchar_t" != "0"; then
17099 cat >> confdefs.h
<<\EOF
17100 #define wxUSE_WCHAR_T 1
17106 for ac_func
in wcslen
17108 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17109 echo "configure:17110: checking for $ac_func" >&5
17110 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17111 echo $ac_n "(cached) $ac_c" 1>&6
17113 cat > conftest.
$ac_ext <<EOF
17114 #line 17115 "configure"
17115 #include "confdefs.h"
17116 /* System header to define __stub macros and hopefully few prototypes,
17117 which can conflict with char $ac_func(); below. */
17118 #include <assert.h>
17119 /* Override any gcc2 internal prototype to avoid an error. */
17120 /* We use char because int might match the return type of a gcc2
17121 builtin and then its argument prototype would still apply. */
17126 /* The GNU C library defines this for functions which it implements
17127 to always fail with ENOSYS. Some functions are actually named
17128 something starting with __ and the normal name is an alias. */
17129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17137 if { (eval echo configure
:17138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17139 eval "ac_cv_func_$ac_func=yes"
17141 echo "configure: failed program was:" >&5
17142 cat conftest.
$ac_ext >&5
17144 eval "ac_cv_func_$ac_func=no"
17149 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17150 echo "$ac_t""yes" 1>&6
17151 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17152 cat >> confdefs.h
<<EOF
17153 #define $ac_tr_func 1
17157 echo "$ac_t""no" 1>&6
17162 if test "$WCSLEN_FOUND" = 0; then
17163 if test "$TOOLKIT" = "MSW"; then
17164 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
17165 echo "configure:17166: checking for wcslen in -lmsvcrt" >&5
17166 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
17167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17168 echo $ac_n "(cached) $ac_c" 1>&6
17170 ac_save_LIBS
="$LIBS"
17171 LIBS
="-lmsvcrt $LIBS"
17172 cat > conftest.
$ac_ext <<EOF
17173 #line 17174 "configure"
17174 #include "confdefs.h"
17175 /* Override any gcc2 internal prototype to avoid an error. */
17176 /* We use char because int might match the return type of a gcc2
17177 builtin and then its argument prototype would still apply. */
17184 if { (eval echo configure
:17185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17186 eval "ac_cv_lib_$ac_lib_var=yes"
17188 echo "configure: failed program was:" >&5
17189 cat conftest.
$ac_ext >&5
17191 eval "ac_cv_lib_$ac_lib_var=no"
17194 LIBS
="$ac_save_LIBS"
17197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17198 echo "$ac_t""yes" 1>&6
17201 echo "$ac_t""no" 1>&6
17205 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
17206 echo "configure:17207: checking for wcslen in -lw" >&5
17207 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
17208 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17209 echo $ac_n "(cached) $ac_c" 1>&6
17211 ac_save_LIBS
="$LIBS"
17213 cat > conftest.
$ac_ext <<EOF
17214 #line 17215 "configure"
17215 #include "confdefs.h"
17216 /* Override any gcc2 internal prototype to avoid an error. */
17217 /* We use char because int might match the return type of a gcc2
17218 builtin and then its argument prototype would still apply. */
17225 if { (eval echo configure
:17226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17227 eval "ac_cv_lib_$ac_lib_var=yes"
17229 echo "configure: failed program was:" >&5
17230 cat conftest.
$ac_ext >&5
17232 eval "ac_cv_lib_$ac_lib_var=no"
17235 LIBS
="$ac_save_LIBS"
17238 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17239 echo "$ac_t""yes" 1>&6
17245 echo "$ac_t""no" 1>&6
17251 if test "$WCSLEN_FOUND" = 1; then
17252 cat >> confdefs.h
<<\EOF
17253 #define HAVE_WCSLEN 1
17258 for ac_func
in wcsrtombs
17260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17261 echo "configure:17262: checking for $ac_func" >&5
17262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17263 echo $ac_n "(cached) $ac_c" 1>&6
17265 cat > conftest.
$ac_ext <<EOF
17266 #line 17267 "configure"
17267 #include "confdefs.h"
17268 /* System header to define __stub macros and hopefully few prototypes,
17269 which can conflict with char $ac_func(); below. */
17270 #include <assert.h>
17271 /* Override any gcc2 internal prototype to avoid an error. */
17272 /* We use char because int might match the return type of a gcc2
17273 builtin and then its argument prototype would still apply. */
17278 /* The GNU C library defines this for functions which it implements
17279 to always fail with ENOSYS. Some functions are actually named
17280 something starting with __ and the normal name is an alias. */
17281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17289 if { (eval echo configure
:17290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17291 eval "ac_cv_func_$ac_func=yes"
17293 echo "configure: failed program was:" >&5
17294 cat conftest.
$ac_ext >&5
17296 eval "ac_cv_func_$ac_func=no"
17301 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17302 echo "$ac_t""yes" 1>&6
17303 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17304 cat >> confdefs.h
<<EOF
17305 #define $ac_tr_func 1
17309 echo "$ac_t""no" 1>&6
17314 echo "configure: warning: Wide character support is unavailable" 1>&2
17319 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17320 ac_cpp
='$CXXCPP $CPPFLAGS'
17321 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17322 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17323 cross_compiling
=$ac_cv_prog_cxx_cross
17326 for ac_func
in vsnprintf
17328 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17329 echo "configure:17330: checking for $ac_func" >&5
17330 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17331 echo $ac_n "(cached) $ac_c" 1>&6
17333 cat > conftest.
$ac_ext <<EOF
17334 #line 17335 "configure"
17335 #include "confdefs.h"
17336 /* System header to define __stub macros and hopefully few prototypes,
17337 which can conflict with char $ac_func(); below. */
17338 #include <assert.h>
17339 /* Override any gcc2 internal prototype to avoid an error. */
17343 /* We use char because int might match the return type of a gcc2
17344 builtin and then its argument prototype would still apply. */
17349 /* The GNU C library defines this for functions which it implements
17350 to always fail with ENOSYS. Some functions are actually named
17351 something starting with __ and the normal name is an alias. */
17352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17360 if { (eval echo configure
:17361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17362 eval "ac_cv_func_$ac_func=yes"
17364 echo "configure: failed program was:" >&5
17365 cat conftest.
$ac_ext >&5
17367 eval "ac_cv_func_$ac_func=no"
17372 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17373 echo "$ac_t""yes" 1>&6
17374 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17375 cat >> confdefs.h
<<EOF
17376 #define $ac_tr_func 1
17380 echo "$ac_t""no" 1>&6
17385 if test "$ac_cv_func_vsnprintf" = "yes"; then
17386 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17387 echo "configure:17388: checking for vsnprintf declaration" >&5
17388 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17389 echo $ac_n "(cached) $ac_c" 1>&6
17392 cat > conftest.
$ac_ext <<EOF
17393 #line 17394 "configure"
17394 #include "confdefs.h"
17397 #include <stdarg.h>
17403 vsnprintf(buf, 10u, "%s", ap);
17407 if { (eval echo configure
:17408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17409 wx_cv_func_vsnprintf_decl
=yes
17411 echo "configure: failed program was:" >&5
17412 cat conftest.
$ac_ext >&5
17414 wx_cv_func_vsnprintf_decl
=no
17422 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17424 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17425 cat >> confdefs.h
<<\EOF
17426 #define HAVE_VSNPRINTF_DECL 1
17432 if test "$wxUSE_UNICODE" = yes; then
17433 for ac_func
in fputwc wprintf vswprintf
17435 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17436 echo "configure:17437: checking for $ac_func" >&5
17437 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17438 echo $ac_n "(cached) $ac_c" 1>&6
17440 cat > conftest.
$ac_ext <<EOF
17441 #line 17442 "configure"
17442 #include "confdefs.h"
17443 /* System header to define __stub macros and hopefully few prototypes,
17444 which can conflict with char $ac_func(); below. */
17445 #include <assert.h>
17446 /* Override any gcc2 internal prototype to avoid an error. */
17450 /* We use char because int might match the return type of a gcc2
17451 builtin and then its argument prototype would still apply. */
17456 /* The GNU C library defines this for functions which it implements
17457 to always fail with ENOSYS. Some functions are actually named
17458 something starting with __ and the normal name is an alias. */
17459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17467 if { (eval echo configure
:17468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17469 eval "ac_cv_func_$ac_func=yes"
17471 echo "configure: failed program was:" >&5
17472 cat conftest.
$ac_ext >&5
17474 eval "ac_cv_func_$ac_func=no"
17479 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17480 echo "$ac_t""yes" 1>&6
17481 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17482 cat >> confdefs.h
<<EOF
17483 #define $ac_tr_func 1
17487 echo "$ac_t""no" 1>&6
17492 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17493 echo "configure:17494: checking for _vsnwprintf" >&5
17494 cat > conftest.
$ac_ext <<EOF
17495 #line 17496 "configure"
17496 #include "confdefs.h"
17502 if { (eval echo configure
:17503: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17504 echo "$ac_t""yes" 1>&6
17505 cat >> confdefs.h
<<\EOF
17506 #define HAVE__VSNWPRINTF 1
17510 echo "configure: failed program was:" >&5
17511 cat conftest.
$ac_ext >&5
17513 echo "$ac_t""no" 1>&6
17519 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17520 ac_cpp
='$CPP $CPPFLAGS'
17521 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17522 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17523 cross_compiling
=$ac_cv_prog_cc_cross
17528 if test "$TOOLKIT" != "MSW"; then
17533 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17534 ac_cpp
='$CXXCPP $CPPFLAGS'
17535 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17536 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17537 cross_compiling
=$ac_cv_prog_cxx_cross
17541 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17542 if test "${with_libiconv_prefix+set}" = set; then
17543 withval
="$with_libiconv_prefix"
17545 for dir
in `echo "$withval" | tr : ' '`; do
17546 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17547 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17553 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17554 echo "configure:17555: checking for iconv" >&5
17555 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17556 echo $ac_n "(cached) $ac_c" 1>&6
17559 am_cv_func_iconv
="no, consider installing GNU libiconv"
17561 cat > conftest.
$ac_ext <<EOF
17562 #line 17563 "configure"
17563 #include "confdefs.h"
17564 #include <stdlib.h>
17567 iconv_t cd = iconv_open("","");
17568 iconv(cd,NULL,NULL,NULL,NULL);
17572 if { (eval echo configure
:17573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17574 am_cv_func_iconv
=yes
17576 echo "configure: failed program was:" >&5
17577 cat conftest.
$ac_ext >&5
17580 if test "$am_cv_func_iconv" != yes; then
17581 am_save_LIBS
="$LIBS"
17582 LIBS
="$LIBS -liconv"
17583 cat > conftest.
$ac_ext <<EOF
17584 #line 17585 "configure"
17585 #include "confdefs.h"
17586 #include <stdlib.h>
17589 iconv_t cd = iconv_open("","");
17590 iconv(cd,NULL,NULL,NULL,NULL);
17594 if { (eval echo configure
:17595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17596 am_cv_lib_iconv
=yes
17597 am_cv_func_iconv
=yes
17599 echo "configure: failed program was:" >&5
17600 cat conftest.
$ac_ext >&5
17603 LIBS
="$am_save_LIBS"
17608 echo "$ac_t""$am_cv_func_iconv" 1>&6
17609 if test "$am_cv_func_iconv" = yes; then
17610 cat >> confdefs.h
<<\EOF
17611 #define HAVE_ICONV 1
17614 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17615 echo "configure:17616: checking if iconv needs const" >&5
17616 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17617 echo $ac_n "(cached) $ac_c" 1>&6
17619 cat > conftest.
$ac_ext <<EOF
17620 #line 17621 "configure"
17621 #include "confdefs.h"
17623 #include <stdlib.h>
17629 #if defined(__STDC__) || defined(__cplusplus)
17630 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17639 if { (eval echo configure
:17640: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17641 wx_cv_func_iconv_const
="no"
17643 echo "configure: failed program was:" >&5
17644 cat conftest.
$ac_ext >&5
17646 wx_cv_func_iconv_const
="yes"
17653 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17656 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17657 iconv_const
="const"
17660 cat >> confdefs.h
<<EOF
17661 #define ICONV_CONST $iconv_const
17666 if test "$am_cv_lib_iconv" = yes; then
17671 LIBS
="$LIBICONV $LIBS"
17673 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17674 ac_cpp
='$CPP $CPPFLAGS'
17675 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17676 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17677 cross_compiling
=$ac_cv_prog_cc_cross
17680 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17681 for ac_func
in sigaction
17683 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17684 echo "configure:17685: checking for $ac_func" >&5
17685 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17686 echo $ac_n "(cached) $ac_c" 1>&6
17688 cat > conftest.
$ac_ext <<EOF
17689 #line 17690 "configure"
17690 #include "confdefs.h"
17691 /* System header to define __stub macros and hopefully few prototypes,
17692 which can conflict with char $ac_func(); below. */
17693 #include <assert.h>
17694 /* Override any gcc2 internal prototype to avoid an error. */
17695 /* We use char because int might match the return type of a gcc2
17696 builtin and then its argument prototype would still apply. */
17701 /* The GNU C library defines this for functions which it implements
17702 to always fail with ENOSYS. Some functions are actually named
17703 something starting with __ and the normal name is an alias. */
17704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17712 if { (eval echo configure
:17713: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17714 eval "ac_cv_func_$ac_func=yes"
17716 echo "configure: failed program was:" >&5
17717 cat conftest.
$ac_ext >&5
17719 eval "ac_cv_func_$ac_func=no"
17724 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17725 echo "$ac_t""yes" 1>&6
17726 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17727 cat >> confdefs.h
<<EOF
17728 #define $ac_tr_func 1
17732 echo "$ac_t""no" 1>&6
17737 if test "$ac_cv_func_sigaction" = "no"; then
17738 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17739 wxUSE_ON_FATAL_EXCEPTION
=no
17742 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17745 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17746 ac_cpp
='$CXXCPP $CPPFLAGS'
17747 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17748 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17749 cross_compiling
=$ac_cv_prog_cxx_cross
17752 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17753 echo "configure:17754: checking for sa_handler type" >&5
17754 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17755 echo $ac_n "(cached) $ac_c" 1>&6
17758 cat > conftest.
$ac_ext <<EOF
17759 #line 17760 "configure"
17760 #include "confdefs.h"
17761 #include <signal.h>
17764 extern void testSigHandler(int);
17766 struct sigaction sa;
17767 sa.sa_handler = testSigHandler;
17771 if { (eval echo configure
:17772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17774 wx_cv_type_sa_handler
=int
17777 echo "configure: failed program was:" >&5
17778 cat conftest.
$ac_ext >&5
17781 wx_cv_type_sa_handler
=void
17788 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17792 ac_cpp
='$CPP $CPPFLAGS'
17793 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17794 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17795 cross_compiling
=$ac_cv_prog_cc_cross
17798 cat >> confdefs.h
<<EOF
17799 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17805 for ac_func
in mkstemp mktemp
17807 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17808 echo "configure:17809: checking for $ac_func" >&5
17809 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17810 echo $ac_n "(cached) $ac_c" 1>&6
17812 cat > conftest.
$ac_ext <<EOF
17813 #line 17814 "configure"
17814 #include "confdefs.h"
17815 /* System header to define __stub macros and hopefully few prototypes,
17816 which can conflict with char $ac_func(); below. */
17817 #include <assert.h>
17818 /* Override any gcc2 internal prototype to avoid an error. */
17819 /* We use char because int might match the return type of a gcc2
17820 builtin and then its argument prototype would still apply. */
17825 /* The GNU C library defines this for functions which it implements
17826 to always fail with ENOSYS. Some functions are actually named
17827 something starting with __ and the normal name is an alias. */
17828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17836 if { (eval echo configure
:17837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17838 eval "ac_cv_func_$ac_func=yes"
17840 echo "configure: failed program was:" >&5
17841 cat conftest.
$ac_ext >&5
17843 eval "ac_cv_func_$ac_func=no"
17848 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17849 echo "$ac_t""yes" 1>&6
17850 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17851 cat >> confdefs.h
<<EOF
17852 #define $ac_tr_func 1
17856 echo "$ac_t""no" 1>&6
17861 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17862 echo "configure:17863: checking for statfs" >&5
17863 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17864 echo $ac_n "(cached) $ac_c" 1>&6
17866 cat > conftest.
$ac_ext <<EOF
17867 #line 17868 "configure"
17868 #include "confdefs.h"
17870 #if defined(__BSD__)
17871 #include <sys/param.h>
17872 #include <sys/mount.h>
17874 #include <sys/vfs.h>
17888 if { (eval echo configure
:17889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17891 wx_cv_func_statfs
=yes
17894 echo "configure: failed program was:" >&5
17895 cat conftest.
$ac_ext >&5
17898 wx_cv_func_statfs
=no
17906 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17908 if test "$wx_cv_func_statfs" = "yes"; then
17909 wx_cv_type_statvfs_t
="struct statfs"
17910 cat >> confdefs.h
<<\EOF
17911 #define HAVE_STATFS 1
17915 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17916 echo "configure:17917: checking for statvfs" >&5
17917 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17918 echo $ac_n "(cached) $ac_c" 1>&6
17920 cat > conftest.
$ac_ext <<EOF
17921 #line 17922 "configure"
17922 #include "confdefs.h"
17924 #include <stddef.h>
17925 #include <sys/statvfs.h>
17929 statvfs("/", NULL);
17933 if { (eval echo configure
:17934: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17935 wx_cv_func_statvfs
=yes
17937 echo "configure: failed program was:" >&5
17938 cat conftest.
$ac_ext >&5
17940 wx_cv_func_statvfs
=no
17947 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17949 if test "$wx_cv_func_statvfs" = "yes"; then
17952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17953 ac_cpp
='$CXXCPP $CPPFLAGS'
17954 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17955 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17956 cross_compiling
=$ac_cv_prog_cxx_cross
17959 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17960 echo "configure:17961: checking for statvfs argument type" >&5
17961 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17962 echo $ac_n "(cached) $ac_c" 1>&6
17964 cat > conftest.
$ac_ext <<EOF
17965 #line 17966 "configure"
17966 #include "confdefs.h"
17968 #include <sys/statvfs.h>
17981 if { (eval echo configure
:17982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17983 wx_cv_type_statvfs_t
=statvfs_t
17985 echo "configure: failed program was:" >&5
17986 cat conftest.
$ac_ext >&5
17989 cat > conftest.
$ac_ext <<EOF
17990 #line 17991 "configure"
17991 #include "confdefs.h"
17993 #include <sys/statvfs.h>
18006 if { (eval echo configure
:18007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18008 wx_cv_type_statvfs_t
="struct statvfs"
18010 echo "configure: failed program was:" >&5
18011 cat conftest.
$ac_ext >&5
18013 wx_cv_type_statvfs_t
="unknown"
18024 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
18027 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18028 ac_cpp
='$CPP $CPPFLAGS'
18029 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18030 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18031 cross_compiling
=$ac_cv_prog_cc_cross
18034 if test "$wx_cv_type_statvfs_t" != "unknown"; then
18035 cat >> confdefs.h
<<\EOF
18036 #define HAVE_STATVFS 1
18041 wx_cv_type_statvfs_t
="unknown"
18045 if test "$wx_cv_type_statvfs_t" != "unknown"; then
18046 cat >> confdefs.h
<<EOF
18047 #define WX_STATFS_T $wx_cv_type_statvfs_t
18051 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
18054 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18055 for ac_func
in fcntl flock
18057 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18058 echo "configure:18059: checking for $ac_func" >&5
18059 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18060 echo $ac_n "(cached) $ac_c" 1>&6
18062 cat > conftest.
$ac_ext <<EOF
18063 #line 18064 "configure"
18064 #include "confdefs.h"
18065 /* System header to define __stub macros and hopefully few prototypes,
18066 which can conflict with char $ac_func(); below. */
18067 #include <assert.h>
18068 /* Override any gcc2 internal prototype to avoid an error. */
18069 /* We use char because int might match the return type of a gcc2
18070 builtin and then its argument prototype would still apply. */
18075 /* The GNU C library defines this for functions which it implements
18076 to always fail with ENOSYS. Some functions are actually named
18077 something starting with __ and the normal name is an alias. */
18078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18086 if { (eval echo configure
:18087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18088 eval "ac_cv_func_$ac_func=yes"
18090 echo "configure: failed program was:" >&5
18091 cat conftest.
$ac_ext >&5
18093 eval "ac_cv_func_$ac_func=no"
18098 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18099 echo "$ac_t""yes" 1>&6
18100 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18101 cat >> confdefs.h
<<EOF
18102 #define $ac_tr_func 1
18106 echo "$ac_t""no" 1>&6
18111 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
18112 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
18113 wxUSE_SNGLINST_CHECKER
=no
18117 for ac_func
in timegm
18119 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18120 echo "configure:18121: checking for $ac_func" >&5
18121 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18122 echo $ac_n "(cached) $ac_c" 1>&6
18124 cat > conftest.
$ac_ext <<EOF
18125 #line 18126 "configure"
18126 #include "confdefs.h"
18127 /* System header to define __stub macros and hopefully few prototypes,
18128 which can conflict with char $ac_func(); below. */
18129 #include <assert.h>
18130 /* Override any gcc2 internal prototype to avoid an error. */
18131 /* We use char because int might match the return type of a gcc2
18132 builtin and then its argument prototype would still apply. */
18137 /* The GNU C library defines this for functions which it implements
18138 to always fail with ENOSYS. Some functions are actually named
18139 something starting with __ and the normal name is an alias. */
18140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18148 if { (eval echo configure
:18149: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18150 eval "ac_cv_func_$ac_func=yes"
18152 echo "configure: failed program was:" >&5
18153 cat conftest.
$ac_ext >&5
18155 eval "ac_cv_func_$ac_func=no"
18160 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18161 echo "$ac_t""yes" 1>&6
18162 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18163 cat >> confdefs.h
<<EOF
18164 #define $ac_tr_func 1
18168 echo "$ac_t""no" 1>&6
18173 for ac_func
in putenv setenv
18175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18176 echo "configure:18177: checking for $ac_func" >&5
18177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18178 echo $ac_n "(cached) $ac_c" 1>&6
18180 cat > conftest.
$ac_ext <<EOF
18181 #line 18182 "configure"
18182 #include "confdefs.h"
18183 /* System header to define __stub macros and hopefully few prototypes,
18184 which can conflict with char $ac_func(); below. */
18185 #include <assert.h>
18186 /* Override any gcc2 internal prototype to avoid an error. */
18187 /* We use char because int might match the return type of a gcc2
18188 builtin and then its argument prototype would still apply. */
18193 /* The GNU C library defines this for functions which it implements
18194 to always fail with ENOSYS. Some functions are actually named
18195 something starting with __ and the normal name is an alias. */
18196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18204 if { (eval echo configure
:18205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18206 eval "ac_cv_func_$ac_func=yes"
18208 echo "configure: failed program was:" >&5
18209 cat conftest.
$ac_ext >&5
18211 eval "ac_cv_func_$ac_func=no"
18216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18217 echo "$ac_t""yes" 1>&6
18218 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18219 cat >> confdefs.h
<<EOF
18220 #define $ac_tr_func 1
18224 echo "$ac_t""no" 1>&6
18229 HAVE_SOME_SLEEP_FUNC
=0
18230 if test "$USE_BEOS" = 1; then
18231 cat >> confdefs.h
<<\EOF
18232 #define HAVE_SLEEP 1
18235 HAVE_SOME_SLEEP_FUNC
=1
18238 if test "$USE_DARWIN" = 1; then
18239 cat >> confdefs.h
<<\EOF
18240 #define HAVE_USLEEP 1
18243 HAVE_SOME_SLEEP_FUNC
=1
18246 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18248 for ac_func
in nanosleep
18250 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18251 echo "configure:18252: checking for $ac_func" >&5
18252 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18253 echo $ac_n "(cached) $ac_c" 1>&6
18255 cat > conftest.
$ac_ext <<EOF
18256 #line 18257 "configure"
18257 #include "confdefs.h"
18258 /* System header to define __stub macros and hopefully few prototypes,
18259 which can conflict with char $ac_func(); below. */
18260 #include <assert.h>
18261 /* Override any gcc2 internal prototype to avoid an error. */
18262 /* We use char because int might match the return type of a gcc2
18263 builtin and then its argument prototype would still apply. */
18268 /* The GNU C library defines this for functions which it implements
18269 to always fail with ENOSYS. Some functions are actually named
18270 something starting with __ and the normal name is an alias. */
18271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18279 if { (eval echo configure
:18280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18281 eval "ac_cv_func_$ac_func=yes"
18283 echo "configure: failed program was:" >&5
18284 cat conftest.
$ac_ext >&5
18286 eval "ac_cv_func_$ac_func=no"
18291 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18292 echo "$ac_t""yes" 1>&6
18293 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18294 cat >> confdefs.h
<<EOF
18295 #define $ac_tr_func 1
18297 cat >> confdefs.h
<<\EOF
18298 #define HAVE_NANOSLEEP 1
18302 echo "$ac_t""no" 1>&6
18303 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18304 echo "configure:18305: checking for nanosleep in -lposix4" >&5
18305 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18306 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18307 echo $ac_n "(cached) $ac_c" 1>&6
18309 ac_save_LIBS
="$LIBS"
18310 LIBS
="-lposix4 $LIBS"
18311 cat > conftest.
$ac_ext <<EOF
18312 #line 18313 "configure"
18313 #include "confdefs.h"
18314 /* Override any gcc2 internal prototype to avoid an error. */
18315 /* We use char because int might match the return type of a gcc2
18316 builtin and then its argument prototype would still apply. */
18323 if { (eval echo configure
:18324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18325 eval "ac_cv_lib_$ac_lib_var=yes"
18327 echo "configure: failed program was:" >&5
18328 cat conftest.
$ac_ext >&5
18330 eval "ac_cv_lib_$ac_lib_var=no"
18333 LIBS
="$ac_save_LIBS"
18336 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18337 echo "$ac_t""yes" 1>&6
18339 cat >> confdefs.h
<<\EOF
18340 #define HAVE_NANOSLEEP 1
18343 POSIX4_LINK
=" -lposix4"
18346 echo "$ac_t""no" 1>&6
18348 for ac_func
in usleep
18350 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18351 echo "configure:18352: checking for $ac_func" >&5
18352 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18353 echo $ac_n "(cached) $ac_c" 1>&6
18355 cat > conftest.
$ac_ext <<EOF
18356 #line 18357 "configure"
18357 #include "confdefs.h"
18358 /* System header to define __stub macros and hopefully few prototypes,
18359 which can conflict with char $ac_func(); below. */
18360 #include <assert.h>
18361 /* Override any gcc2 internal prototype to avoid an error. */
18362 /* We use char because int might match the return type of a gcc2
18363 builtin and then its argument prototype would still apply. */
18368 /* The GNU C library defines this for functions which it implements
18369 to always fail with ENOSYS. Some functions are actually named
18370 something starting with __ and the normal name is an alias. */
18371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18379 if { (eval echo configure
:18380: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18381 eval "ac_cv_func_$ac_func=yes"
18383 echo "configure: failed program was:" >&5
18384 cat conftest.
$ac_ext >&5
18386 eval "ac_cv_func_$ac_func=no"
18391 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18392 echo "$ac_t""yes" 1>&6
18393 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18394 cat >> confdefs.h
<<EOF
18395 #define $ac_tr_func 1
18397 cat >> confdefs.h
<<\EOF
18398 #define HAVE_USLEEP 1
18402 echo "$ac_t""no" 1>&6
18403 echo "configure: warning: wxSleep() function will not work" 1>&2
18419 for ac_func
in uname gethostname
18421 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18422 echo "configure:18423: checking for $ac_func" >&5
18423 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18424 echo $ac_n "(cached) $ac_c" 1>&6
18426 cat > conftest.
$ac_ext <<EOF
18427 #line 18428 "configure"
18428 #include "confdefs.h"
18429 /* System header to define __stub macros and hopefully few prototypes,
18430 which can conflict with char $ac_func(); below. */
18431 #include <assert.h>
18432 /* Override any gcc2 internal prototype to avoid an error. */
18433 /* We use char because int might match the return type of a gcc2
18434 builtin and then its argument prototype would still apply. */
18439 /* The GNU C library defines this for functions which it implements
18440 to always fail with ENOSYS. Some functions are actually named
18441 something starting with __ and the normal name is an alias. */
18442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18450 if { (eval echo configure
:18451: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18452 eval "ac_cv_func_$ac_func=yes"
18454 echo "configure: failed program was:" >&5
18455 cat conftest.
$ac_ext >&5
18457 eval "ac_cv_func_$ac_func=no"
18462 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18463 echo "$ac_t""yes" 1>&6
18464 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18465 cat >> confdefs.h
<<EOF
18466 #define $ac_tr_func 1
18470 echo "$ac_t""no" 1>&6
18477 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18478 ac_cpp
='$CXXCPP $CPPFLAGS'
18479 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18480 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18481 cross_compiling
=$ac_cv_prog_cxx_cross
18484 for ac_func
in strtok_r
18486 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18487 echo "configure:18488: checking for $ac_func" >&5
18488 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18489 echo $ac_n "(cached) $ac_c" 1>&6
18491 cat > conftest.
$ac_ext <<EOF
18492 #line 18493 "configure"
18493 #include "confdefs.h"
18494 /* System header to define __stub macros and hopefully few prototypes,
18495 which can conflict with char $ac_func(); below. */
18496 #include <assert.h>
18497 /* Override any gcc2 internal prototype to avoid an error. */
18501 /* We use char because int might match the return type of a gcc2
18502 builtin and then its argument prototype would still apply. */
18507 /* The GNU C library defines this for functions which it implements
18508 to always fail with ENOSYS. Some functions are actually named
18509 something starting with __ and the normal name is an alias. */
18510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18518 if { (eval echo configure
:18519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18520 eval "ac_cv_func_$ac_func=yes"
18522 echo "configure: failed program was:" >&5
18523 cat conftest.
$ac_ext >&5
18525 eval "ac_cv_func_$ac_func=no"
18530 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18531 echo "$ac_t""yes" 1>&6
18532 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18533 cat >> confdefs.h
<<EOF
18534 #define $ac_tr_func 1
18538 echo "$ac_t""no" 1>&6
18544 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18545 ac_cpp
='$CPP $CPPFLAGS'
18546 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18547 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18548 cross_compiling
=$ac_cv_prog_cc_cross
18552 for ac_func
in inet_addr
18554 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18555 echo "configure:18556: checking for $ac_func" >&5
18556 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18557 echo $ac_n "(cached) $ac_c" 1>&6
18559 cat > conftest.
$ac_ext <<EOF
18560 #line 18561 "configure"
18561 #include "confdefs.h"
18562 /* System header to define __stub macros and hopefully few prototypes,
18563 which can conflict with char $ac_func(); below. */
18564 #include <assert.h>
18565 /* Override any gcc2 internal prototype to avoid an error. */
18566 /* We use char because int might match the return type of a gcc2
18567 builtin and then its argument prototype would still apply. */
18572 /* The GNU C library defines this for functions which it implements
18573 to always fail with ENOSYS. Some functions are actually named
18574 something starting with __ and the normal name is an alias. */
18575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18583 if { (eval echo configure
:18584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18585 eval "ac_cv_func_$ac_func=yes"
18587 echo "configure: failed program was:" >&5
18588 cat conftest.
$ac_ext >&5
18590 eval "ac_cv_func_$ac_func=no"
18595 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18596 echo "$ac_t""yes" 1>&6
18597 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18598 cat >> confdefs.h
<<EOF
18599 #define $ac_tr_func 1
18601 cat >> confdefs.h
<<\EOF
18602 #define HAVE_INET_ADDR 1
18606 echo "$ac_t""no" 1>&6
18607 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18608 echo "configure:18609: checking for inet_addr in -lnsl" >&5
18609 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18610 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18611 echo $ac_n "(cached) $ac_c" 1>&6
18613 ac_save_LIBS
="$LIBS"
18615 cat > conftest.
$ac_ext <<EOF
18616 #line 18617 "configure"
18617 #include "confdefs.h"
18618 /* Override any gcc2 internal prototype to avoid an error. */
18619 /* We use char because int might match the return type of a gcc2
18620 builtin and then its argument prototype would still apply. */
18627 if { (eval echo configure
:18628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18629 eval "ac_cv_lib_$ac_lib_var=yes"
18631 echo "configure: failed program was:" >&5
18632 cat conftest.
$ac_ext >&5
18634 eval "ac_cv_lib_$ac_lib_var=no"
18637 LIBS
="$ac_save_LIBS"
18640 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18641 echo "$ac_t""yes" 1>&6
18644 echo "$ac_t""no" 1>&6
18645 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18646 echo "configure:18647: checking for inet_addr in -lresolv" >&5
18647 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18648 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18649 echo $ac_n "(cached) $ac_c" 1>&6
18651 ac_save_LIBS
="$LIBS"
18652 LIBS
="-lresolv $LIBS"
18653 cat > conftest.
$ac_ext <<EOF
18654 #line 18655 "configure"
18655 #include "confdefs.h"
18656 /* Override any gcc2 internal prototype to avoid an error. */
18657 /* We use char because int might match the return type of a gcc2
18658 builtin and then its argument prototype would still apply. */
18665 if { (eval echo configure
:18666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18667 eval "ac_cv_lib_$ac_lib_var=yes"
18669 echo "configure: failed program was:" >&5
18670 cat conftest.
$ac_ext >&5
18672 eval "ac_cv_lib_$ac_lib_var=no"
18675 LIBS
="$ac_save_LIBS"
18678 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18679 echo "$ac_t""yes" 1>&6
18682 echo "$ac_t""no" 1>&6
18683 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18684 echo "configure:18685: checking for inet_addr in -lsocket" >&5
18685 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18686 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18687 echo $ac_n "(cached) $ac_c" 1>&6
18689 ac_save_LIBS
="$LIBS"
18690 LIBS
="-lsocket $LIBS"
18691 cat > conftest.
$ac_ext <<EOF
18692 #line 18693 "configure"
18693 #include "confdefs.h"
18694 /* Override any gcc2 internal prototype to avoid an error. */
18695 /* We use char because int might match the return type of a gcc2
18696 builtin and then its argument prototype would still apply. */
18703 if { (eval echo configure
:18704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18705 eval "ac_cv_lib_$ac_lib_var=yes"
18707 echo "configure: failed program was:" >&5
18708 cat conftest.
$ac_ext >&5
18710 eval "ac_cv_lib_$ac_lib_var=no"
18713 LIBS
="$ac_save_LIBS"
18716 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18717 echo "$ac_t""yes" 1>&6
18721 echo "$ac_t""no" 1>&6
18736 for ac_func
in inet_aton
18738 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18739 echo "configure:18740: checking for $ac_func" >&5
18740 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18741 echo $ac_n "(cached) $ac_c" 1>&6
18743 cat > conftest.
$ac_ext <<EOF
18744 #line 18745 "configure"
18745 #include "confdefs.h"
18746 /* System header to define __stub macros and hopefully few prototypes,
18747 which can conflict with char $ac_func(); below. */
18748 #include <assert.h>
18749 /* Override any gcc2 internal prototype to avoid an error. */
18750 /* We use char because int might match the return type of a gcc2
18751 builtin and then its argument prototype would still apply. */
18756 /* The GNU C library defines this for functions which it implements
18757 to always fail with ENOSYS. Some functions are actually named
18758 something starting with __ and the normal name is an alias. */
18759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18767 if { (eval echo configure
:18768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18769 eval "ac_cv_func_$ac_func=yes"
18771 echo "configure: failed program was:" >&5
18772 cat conftest.
$ac_ext >&5
18774 eval "ac_cv_func_$ac_func=no"
18779 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18780 echo "$ac_t""yes" 1>&6
18781 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18782 cat >> confdefs.h
<<EOF
18783 #define $ac_tr_func 1
18785 cat >> confdefs.h
<<\EOF
18786 #define HAVE_INET_ATON 1
18790 echo "$ac_t""no" 1>&6
18791 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18792 echo "configure:18793: checking for inet_aton in -l$INET_LINK" >&5
18793 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18795 echo $ac_n "(cached) $ac_c" 1>&6
18797 ac_save_LIBS
="$LIBS"
18798 LIBS
="-l$INET_LINK $LIBS"
18799 cat > conftest.
$ac_ext <<EOF
18800 #line 18801 "configure"
18801 #include "confdefs.h"
18802 /* Override any gcc2 internal prototype to avoid an error. */
18803 /* We use char because int might match the return type of a gcc2
18804 builtin and then its argument prototype would still apply. */
18811 if { (eval echo configure
:18812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18813 eval "ac_cv_lib_$ac_lib_var=yes"
18815 echo "configure: failed program was:" >&5
18816 cat conftest.
$ac_ext >&5
18818 eval "ac_cv_lib_$ac_lib_var=no"
18821 LIBS
="$ac_save_LIBS"
18824 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18825 echo "$ac_t""yes" 1>&6
18826 cat >> confdefs.h
<<\EOF
18827 #define HAVE_INET_ATON 1
18831 echo "$ac_t""no" 1>&6
18839 if test "x$INET_LINK" != "x"; then
18840 cat >> confdefs.h
<<\EOF
18841 #define HAVE_INET_ADDR 1
18844 INET_LINK
=" -l$INET_LINK"
18850 cat > confcache
<<\EOF
18851 # This file is a shell script that caches the results of configure
18852 # tests run on this system so they can be shared between configure
18853 # scripts and configure runs. It is not useful on other systems.
18854 # If it contains results you don't want to keep, you may remove or edit it.
18856 # By default, configure uses ./config.cache as the cache file,
18857 # creating it if it does not exist already. You can give configure
18858 # the --cache-file=FILE option to use a different cache file; that is
18859 # what configure does when it calls configure scripts in
18860 # subdirectories, so they share the cache.
18861 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18862 # config.status only pays attention to the cache file if you give it the
18863 # --recheck option to rerun configure.
18866 # The following way of writing the cache mishandles newlines in values,
18867 # but we know of no workaround that is simple, portable, and efficient.
18868 # So, don't put newlines in cache variables' values.
18869 # Ultrix sh set writes to stderr and can't be redirected directly,
18870 # and sets the high bit in the cache file unless we assign to the vars.
18872 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18874 # `set' does not quote correctly, so add quotes (double-quote substitution
18875 # turns \\\\ into \\, and sed turns \\ into \).
18877 -e "s/'/'\\\\''/g" \
18878 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18881 # `set' quotes correctly as required by POSIX, so do not add quotes.
18882 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18885 if cmp -s $cache_file confcache
; then
18888 if test -w $cache_file; then
18889 echo "updating cache $cache_file"
18890 cat confcache
> $cache_file
18892 echo "not updating unwritable cache $cache_file"
18900 if test "$TOOLKIT" != "MSW"; then
18906 if test "$wxUSE_THREADS" = "yes" ; then
18907 if test "$USE_BEOS" = 1; then
18908 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18913 if test "$wxUSE_THREADS" = "yes" ; then
18916 THREAD_OPTS
="-pthread"
18918 *-*-solaris2* | *-*-sunos4* )
18919 if test "x$GCC" = "xyes"; then
18920 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18922 THREAD_OPTS
="-mt $THREAD_OPTS"
18926 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18928 *-*-darwin* | *-*-cygwin* )
18932 THREAD_OPTS
="pthreads"
18935 if test "x$GCC" != "xyes"; then
18941 if test "x$GCC" = "xyes"; then
18947 if test "x$GCC" != "xyes"; then
18948 THREAD_OPTS
="-Ethread"
18953 THREAD_OPTS
="$THREAD_OPTS pthread none"
18956 for flag
in $THREAD_OPTS; do
18959 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18960 echo "configure:18961: checking whether pthreads work without any flags" >&5
18964 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18965 echo "configure:18966: checking whether pthreads work with $flag" >&5
18966 THREADS_CFLAGS
="$flag"
18970 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18971 echo "configure:18972: checking for the pthreads library -l$flag" >&5
18972 THREADS_LINK
="-l$flag"
18977 save_CFLAGS
="$CFLAGS"
18978 LIBS
="$THREADS_LINK $LIBS"
18979 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18981 cat > conftest.
$ac_ext <<EOF
18982 #line 18983 "configure"
18983 #include "confdefs.h"
18984 #include <pthread.h>
18986 pthread_create(0,0,0,0);
18989 if { (eval echo configure
:18990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18993 echo "configure: failed program was:" >&5
18994 cat conftest.
$ac_ext >&5
18999 CFLAGS
="$save_CFLAGS"
19001 echo "$ac_t""$THREADS_OK" 1>&6
19002 if test "x$THREADS_OK" = "xyes"; then
19010 if test "x$THREADS_OK" != "xyes"; then
19012 echo "configure: warning: No thread support on this system... disabled" 1>&2
19014 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
19015 LIBS
="$THREADS_LINK $LIBS"
19017 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
19018 echo "configure:19019: checking if more special flags are required for pthreads" >&5
19022 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
19023 flag
="-D_THREAD_SAFE"
19026 flag
="-D_THREAD_SAFE"
19029 flag
="-D_REENTRANT"
19030 if test "x$GCC" != "xyes"; then
19031 flag
="$flag -D_RWSTD_MULTI_THREAD"
19034 *solaris
* | alpha
*-osf*)
19035 flag
="-D_REENTRANT"
19038 echo "$ac_t""${flag}" 1>&6
19039 if test "x$flag" != xno
; then
19040 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
19043 if test "x$THREADS_CFLAGS" != "x"; then
19044 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
19045 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
19050 if test "$wxUSE_THREADS" = "yes" ; then
19051 for ac_func
in thr_setconcurrency
19053 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19054 echo "configure:19055: checking for $ac_func" >&5
19055 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19056 echo $ac_n "(cached) $ac_c" 1>&6
19058 cat > conftest.
$ac_ext <<EOF
19059 #line 19060 "configure"
19060 #include "confdefs.h"
19061 /* System header to define __stub macros and hopefully few prototypes,
19062 which can conflict with char $ac_func(); below. */
19063 #include <assert.h>
19064 /* Override any gcc2 internal prototype to avoid an error. */
19065 /* We use char because int might match the return type of a gcc2
19066 builtin and then its argument prototype would still apply. */
19071 /* The GNU C library defines this for functions which it implements
19072 to always fail with ENOSYS. Some functions are actually named
19073 something starting with __ and the normal name is an alias. */
19074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19082 if { (eval echo configure
:19083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19084 eval "ac_cv_func_$ac_func=yes"
19086 echo "configure: failed program was:" >&5
19087 cat conftest.
$ac_ext >&5
19089 eval "ac_cv_func_$ac_func=no"
19094 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19095 echo "$ac_t""yes" 1>&6
19096 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19097 cat >> confdefs.h
<<EOF
19098 #define $ac_tr_func 1
19102 echo "$ac_t""no" 1>&6
19107 for ac_hdr
in sched.h
19109 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19110 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19111 echo "configure:19112: checking for $ac_hdr" >&5
19112 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19113 echo $ac_n "(cached) $ac_c" 1>&6
19115 cat > conftest.
$ac_ext <<EOF
19116 #line 19117 "configure"
19117 #include "confdefs.h"
19120 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19121 { (eval echo configure
:19122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19122 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19123 if test -z "$ac_err"; then
19125 eval "ac_cv_header_$ac_safe=yes"
19128 echo "configure: failed program was:" >&5
19129 cat conftest.
$ac_ext >&5
19131 eval "ac_cv_header_$ac_safe=no"
19135 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19136 echo "$ac_t""yes" 1>&6
19137 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19138 cat >> confdefs.h
<<EOF
19139 #define $ac_tr_hdr 1
19143 echo "$ac_t""no" 1>&6
19147 if test "$ac_cv_header_sched_h" = "yes"; then
19148 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
19149 echo "configure:19150: checking for sched_yield" >&5
19150 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
19151 echo $ac_n "(cached) $ac_c" 1>&6
19153 cat > conftest.
$ac_ext <<EOF
19154 #line 19155 "configure"
19155 #include "confdefs.h"
19156 /* System header to define __stub macros and hopefully few prototypes,
19157 which can conflict with char sched_yield(); below. */
19158 #include <assert.h>
19159 /* Override any gcc2 internal prototype to avoid an error. */
19160 /* We use char because int might match the return type of a gcc2
19161 builtin and then its argument prototype would still apply. */
19162 char sched_yield();
19166 /* The GNU C library defines this for functions which it implements
19167 to always fail with ENOSYS. Some functions are actually named
19168 something starting with __ and the normal name is an alias. */
19169 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
19177 if { (eval echo configure
:19178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19179 eval "ac_cv_func_sched_yield=yes"
19181 echo "configure: failed program was:" >&5
19182 cat conftest.
$ac_ext >&5
19184 eval "ac_cv_func_sched_yield=no"
19189 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
19190 echo "$ac_t""yes" 1>&6
19191 cat >> confdefs.h
<<\EOF
19192 #define HAVE_SCHED_YIELD 1
19196 echo "$ac_t""no" 1>&6
19198 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
19199 echo "configure:19200: checking for sched_yield in -lposix4" >&5
19200 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
19201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19202 echo $ac_n "(cached) $ac_c" 1>&6
19204 ac_save_LIBS
="$LIBS"
19205 LIBS
="-lposix4 $LIBS"
19206 cat > conftest.
$ac_ext <<EOF
19207 #line 19208 "configure"
19208 #include "confdefs.h"
19209 /* Override any gcc2 internal prototype to avoid an error. */
19210 /* We use char because int might match the return type of a gcc2
19211 builtin and then its argument prototype would still apply. */
19212 char sched_yield();
19218 if { (eval echo configure
:19219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19220 eval "ac_cv_lib_$ac_lib_var=yes"
19222 echo "configure: failed program was:" >&5
19223 cat conftest.
$ac_ext >&5
19225 eval "ac_cv_lib_$ac_lib_var=no"
19228 LIBS
="$ac_save_LIBS"
19231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19232 echo "$ac_t""yes" 1>&6
19233 cat >> confdefs.h
<<\EOF
19234 #define HAVE_SCHED_YIELD 1
19236 POSIX4_LINK
=" -lposix4"
19238 echo "$ac_t""no" 1>&6
19239 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19250 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19251 echo "configure:19252: checking for pthread_attr_getschedpolicy" >&5
19252 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19253 echo $ac_n "(cached) $ac_c" 1>&6
19255 cat > conftest.
$ac_ext <<EOF
19256 #line 19257 "configure"
19257 #include "confdefs.h"
19258 /* System header to define __stub macros and hopefully few prototypes,
19259 which can conflict with char pthread_attr_getschedpolicy(); below. */
19260 #include <assert.h>
19261 /* Override any gcc2 internal prototype to avoid an error. */
19262 /* We use char because int might match the return type of a gcc2
19263 builtin and then its argument prototype would still apply. */
19264 char pthread_attr_getschedpolicy();
19268 /* The GNU C library defines this for functions which it implements
19269 to always fail with ENOSYS. Some functions are actually named
19270 something starting with __ and the normal name is an alias. */
19271 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19274 pthread_attr_getschedpolicy();
19279 if { (eval echo configure
:19280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19281 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19283 echo "configure: failed program was:" >&5
19284 cat conftest.
$ac_ext >&5
19286 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19291 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19292 echo "$ac_t""yes" 1>&6
19293 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19294 echo "configure:19295: checking for pthread_attr_setschedparam" >&5
19295 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19296 echo $ac_n "(cached) $ac_c" 1>&6
19298 cat > conftest.
$ac_ext <<EOF
19299 #line 19300 "configure"
19300 #include "confdefs.h"
19301 /* System header to define __stub macros and hopefully few prototypes,
19302 which can conflict with char pthread_attr_setschedparam(); below. */
19303 #include <assert.h>
19304 /* Override any gcc2 internal prototype to avoid an error. */
19305 /* We use char because int might match the return type of a gcc2
19306 builtin and then its argument prototype would still apply. */
19307 char pthread_attr_setschedparam();
19311 /* The GNU C library defines this for functions which it implements
19312 to always fail with ENOSYS. Some functions are actually named
19313 something starting with __ and the normal name is an alias. */
19314 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19317 pthread_attr_setschedparam();
19322 if { (eval echo configure
:19323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19324 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19326 echo "configure: failed program was:" >&5
19327 cat conftest.
$ac_ext >&5
19329 eval "ac_cv_func_pthread_attr_setschedparam=no"
19334 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19335 echo "$ac_t""yes" 1>&6
19336 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19337 echo "configure:19338: checking for sched_get_priority_max" >&5
19338 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19339 echo $ac_n "(cached) $ac_c" 1>&6
19341 cat > conftest.
$ac_ext <<EOF
19342 #line 19343 "configure"
19343 #include "confdefs.h"
19344 /* System header to define __stub macros and hopefully few prototypes,
19345 which can conflict with char sched_get_priority_max(); below. */
19346 #include <assert.h>
19347 /* Override any gcc2 internal prototype to avoid an error. */
19348 /* We use char because int might match the return type of a gcc2
19349 builtin and then its argument prototype would still apply. */
19350 char sched_get_priority_max();
19354 /* The GNU C library defines this for functions which it implements
19355 to always fail with ENOSYS. Some functions are actually named
19356 something starting with __ and the normal name is an alias. */
19357 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19360 sched_get_priority_max();
19365 if { (eval echo configure
:19366: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19367 eval "ac_cv_func_sched_get_priority_max=yes"
19369 echo "configure: failed program was:" >&5
19370 cat conftest.
$ac_ext >&5
19372 eval "ac_cv_func_sched_get_priority_max=no"
19377 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19378 echo "$ac_t""yes" 1>&6
19381 echo "$ac_t""no" 1>&6
19382 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19383 echo "configure:19384: checking for sched_get_priority_max in -lposix4" >&5
19384 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19385 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19386 echo $ac_n "(cached) $ac_c" 1>&6
19388 ac_save_LIBS
="$LIBS"
19389 LIBS
="-lposix4 $LIBS"
19390 cat > conftest.
$ac_ext <<EOF
19391 #line 19392 "configure"
19392 #include "confdefs.h"
19393 /* Override any gcc2 internal prototype to avoid an error. */
19394 /* We use char because int might match the return type of a gcc2
19395 builtin and then its argument prototype would still apply. */
19396 char sched_get_priority_max();
19399 sched_get_priority_max()
19402 if { (eval echo configure
:19403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19404 eval "ac_cv_lib_$ac_lib_var=yes"
19406 echo "configure: failed program was:" >&5
19407 cat conftest.
$ac_ext >&5
19409 eval "ac_cv_lib_$ac_lib_var=no"
19412 LIBS
="$ac_save_LIBS"
19415 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19416 echo "$ac_t""yes" 1>&6
19419 POSIX4_LINK
=" -lposix4"
19422 echo "$ac_t""no" 1>&6
19430 echo "$ac_t""no" 1>&6
19435 echo "$ac_t""no" 1>&6
19439 if test "$HAVE_PRIOR_FUNCS" = 1; then
19440 cat >> confdefs.h
<<\EOF
19441 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19445 echo "configure: warning: Setting thread priority will not work" 1>&2
19448 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19449 echo "configure:19450: checking for pthread_cancel" >&5
19450 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19451 echo $ac_n "(cached) $ac_c" 1>&6
19453 cat > conftest.
$ac_ext <<EOF
19454 #line 19455 "configure"
19455 #include "confdefs.h"
19456 /* System header to define __stub macros and hopefully few prototypes,
19457 which can conflict with char pthread_cancel(); below. */
19458 #include <assert.h>
19459 /* Override any gcc2 internal prototype to avoid an error. */
19460 /* We use char because int might match the return type of a gcc2
19461 builtin and then its argument prototype would still apply. */
19462 char pthread_cancel();
19466 /* The GNU C library defines this for functions which it implements
19467 to always fail with ENOSYS. Some functions are actually named
19468 something starting with __ and the normal name is an alias. */
19469 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19477 if { (eval echo configure
:19478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19479 eval "ac_cv_func_pthread_cancel=yes"
19481 echo "configure: failed program was:" >&5
19482 cat conftest.
$ac_ext >&5
19484 eval "ac_cv_func_pthread_cancel=no"
19489 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19490 echo "$ac_t""yes" 1>&6
19491 cat >> confdefs.h
<<\EOF
19492 #define HAVE_PTHREAD_CANCEL 1
19496 echo "$ac_t""no" 1>&6
19497 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19501 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19502 echo "configure:19503: checking for pthread_cleanup_push/pop" >&5
19503 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19504 echo $ac_n "(cached) $ac_c" 1>&6
19507 cat > conftest.
$ac_ext <<EOF
19508 #line 19509 "configure"
19509 #include "confdefs.h"
19510 #include <pthread.h>
19513 pthread_cleanup_push(NULL, NULL);
19514 pthread_cleanup_pop(0);
19518 if { (eval echo configure
:19519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19521 wx_cv_func_pthread_cleanup_push
=yes
19524 echo "configure: failed program was:" >&5
19525 cat conftest.
$ac_ext >&5
19528 wx_cv_func_pthread_cleanup_push
=no
19535 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19537 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19538 cat >> confdefs.h
<<\EOF
19539 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19545 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19546 echo "configure:19547: checking for pthread_mutexattr_t" >&5
19547 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19548 echo $ac_n "(cached) $ac_c" 1>&6
19551 cat > conftest.
$ac_ext <<EOF
19552 #line 19553 "configure"
19553 #include "confdefs.h"
19554 #include <pthread.h>
19557 pthread_mutexattr_t attr;
19558 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19562 if { (eval echo configure
:19563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19565 wx_cv_type_pthread_mutexattr_t
=yes
19568 echo "configure: failed program was:" >&5
19569 cat conftest.
$ac_ext >&5
19572 wx_cv_type_pthread_mutexattr_t
=no
19580 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19582 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19583 cat >> confdefs.h
<<\EOF
19584 #define HAVE_PTHREAD_MUTEXATTR_T 1
19588 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19589 echo "configure:19590: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19590 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19591 echo $ac_n "(cached) $ac_c" 1>&6
19594 cat > conftest.
$ac_ext <<EOF
19595 #line 19596 "configure"
19596 #include "confdefs.h"
19597 #include <pthread.h>
19600 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19604 if { (eval echo configure
:19605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19607 wx_cv_type_pthread_rec_mutex_init
=yes
19610 echo "configure: failed program was:" >&5
19611 cat conftest.
$ac_ext >&5
19614 wx_cv_type_pthread_rec_mutex_init
=no
19622 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19623 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19624 cat >> confdefs.h
<<\EOF
19625 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19629 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19635 if test "$wxUSE_THREADS" = "yes" ; then
19638 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19639 echo "configure:19640: checking if compiler supports -mthreads" >&5
19640 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19641 echo $ac_n "(cached) $ac_c" 1>&6
19644 CFLAGS_OLD
="$CFLAGS"
19645 CFLAGS
="$CFLAGS -mthreads"
19646 cat > conftest.
$ac_ext <<EOF
19647 #line 19648 "configure"
19648 #include "confdefs.h"
19654 if { (eval echo configure
:19655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19656 wx_cv_cflags_mthread
=yes
19658 echo "configure: failed program was:" >&5
19659 cat conftest.
$ac_ext >&5
19661 wx_cv_cflags_mthread
=no
19669 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19671 if test "$wx_cv_cflags_mthread" = "yes"; then
19672 CXXFLAGS
="$CXXFLAGS -mthreads"
19673 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19674 LDFLAGS
="$LDFLAGS -mthreads"
19676 CFLAGS
="$CFLAGS_OLD"
19683 if test "$wxUSE_THREADS" = "yes"; then
19684 cat >> confdefs.h
<<\EOF
19685 #define wxUSE_THREADS 1
19689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19691 if test "$ac_cv_func_strtok_r" = "yes"; then
19692 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19693 echo "configure:19694: checking if -D_REENTRANT is needed" >&5
19694 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19695 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19696 echo "$ac_t""yes" 1>&6
19698 echo "$ac_t""no" 1>&6
19703 if test "$WXGTK20" = 1 ; then
19704 cat >> confdefs.h
<<EOF
19705 #define __WXGTK20__ $WXGTK20
19711 if test "$WXGTK12" = 1 ; then
19712 cat >> confdefs.h
<<EOF
19713 #define __WXGTK12__ $WXGTK12
19718 if test "$WXGTK127" = 1 ; then
19719 cat >> confdefs.h
<<EOF
19720 #define __WXGTK127__ $WXGTK127
19727 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19732 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19733 wxUSE_DEBUG_INFO
=yes
19737 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19738 cat >> confdefs.h
<<\EOF
19742 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19744 if test "$wxUSE_GTK" = 1 ; then
19745 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19749 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19750 cat >> confdefs.h
<<\EOF
19751 #define wxUSE_MEMORY_TRACING 1
19754 cat >> confdefs.h
<<\EOF
19755 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19758 cat >> confdefs.h
<<\EOF
19759 #define wxUSE_DEBUG_NEW_ALWAYS 1
19762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19765 if test "$wxUSE_DMALLOC" = "yes" ; then
19766 DMALLOC_LIBS
="-ldmalloc"
19770 if test "$wxUSE_PROFILE" = "yes" ; then
19775 CODE_GEN_FLAGS_CXX
=
19776 if test "$GCC" = "yes" ; then
19777 if test "$wxUSE_NO_RTTI" = "yes" ; then
19778 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19780 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19781 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19783 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19784 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19786 if test "$USE_WIN32" = 1 ; then
19787 # I'm not even really sure what this was ever added to solve,
19788 # but someone added it for mingw native builds, so I guess
19789 # they had a reason, right??
19790 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19795 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19798 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19804 if test "$wxUSE_OPTIMISE" = "no" ; then
19805 if test "$GCC" = yes ; then
19809 if test "$GCC" = yes ; then
19813 i586
-*-*|i686
-*-* )
19814 OPTIMISE
="${OPTIMISE} "
19823 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19824 cat >> confdefs.h
<<\EOF
19825 #define WXWIN_COMPATIBILITY_2 1
19829 WXWIN_COMPATIBILITY_2_2
="yes"
19832 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19833 cat >> confdefs.h
<<\EOF
19834 #define WXWIN_COMPATIBILITY_2_2 1
19838 WXWIN_COMPATIBILITY_2_4
="yes"
19841 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19842 cat >> confdefs.h
<<\EOF
19843 #define WXWIN_COMPATIBILITY_2_4 1
19849 if test "$wxUSE_GUI" = "yes"; then
19850 cat >> confdefs.h
<<\EOF
19851 #define wxUSE_GUI 1
19856 cat >> confdefs.h
<<\EOF
19857 #define wxUSE_NOGUI 1
19863 if test "$wxUSE_UNIX" = "yes"; then
19864 cat >> confdefs.h
<<\EOF
19865 #define wxUSE_UNIX 1
19871 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19872 cat >> confdefs.h
<<\EOF
19873 #define wxUSE_APPLE_IEEE 1
19878 if test "$wxUSE_TIMER" = "yes"; then
19879 cat >> confdefs.h
<<\EOF
19880 #define wxUSE_TIMER 1
19885 if test "$wxUSE_WAVE" = "yes"; then
19886 cat >> confdefs.h
<<\EOF
19887 #define wxUSE_WAVE 1
19892 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19893 cat >> confdefs.h
<<\EOF
19894 #define wxUSE_CMDLINE_PARSER 1
19899 if test "$wxUSE_STOPWATCH" = "yes"; then
19900 cat >> confdefs.h
<<\EOF
19901 #define wxUSE_STOPWATCH 1
19906 if test "$wxUSE_DATETIME" = "yes"; then
19907 cat >> confdefs.h
<<\EOF
19908 #define wxUSE_DATETIME 1
19913 if test "$wxUSE_FILE" = "yes"; then
19914 cat >> confdefs.h
<<\EOF
19915 #define wxUSE_FILE 1
19920 if test "$wxUSE_FFILE" = "yes"; then
19921 cat >> confdefs.h
<<\EOF
19922 #define wxUSE_FFILE 1
19927 if test "$wxUSE_FILESYSTEM" = "yes"; then
19928 cat >> confdefs.h
<<\EOF
19929 #define wxUSE_FILESYSTEM 1
19934 if test "$wxUSE_FS_INET" = "yes"; then
19935 cat >> confdefs.h
<<\EOF
19936 #define wxUSE_FS_INET 1
19941 if test "$wxUSE_FS_ZIP" = "yes"; then
19942 cat >> confdefs.h
<<\EOF
19943 #define wxUSE_FS_ZIP 1
19948 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19949 cat >> confdefs.h
<<\EOF
19950 #define wxUSE_ZIPSTREAM 1
19955 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19956 cat >> confdefs.h
<<\EOF
19957 #define wxUSE_ON_FATAL_EXCEPTION 1
19962 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19963 cat >> confdefs.h
<<\EOF
19964 #define wxUSE_SNGLINST_CHECKER 1
19969 if test "$wxUSE_BUSYINFO" = "yes"; then
19970 cat >> confdefs.h
<<\EOF
19971 #define wxUSE_BUSYINFO 1
19976 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19977 cat >> confdefs.h
<<\EOF
19978 #define wxUSE_STD_IOSTREAM 1
19983 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19984 cat >> confdefs.h
<<\EOF
19985 #define wxUSE_TEXTBUFFER 1
19990 if test "$wxUSE_TEXTFILE" = "yes"; then
19991 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19992 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19994 cat >> confdefs.h
<<\EOF
19995 #define wxUSE_TEXTFILE 1
20001 if test "$wxUSE_CONFIG" = "yes" ; then
20002 if test "$wxUSE_TEXTFILE" != "yes"; then
20003 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
20005 cat >> confdefs.h
<<\EOF
20006 #define wxUSE_CONFIG 1
20009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
20013 if test "$wxUSE_INTL" = "yes" ; then
20014 if test "$wxUSE_FILE" != "yes"; then
20015 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
20017 cat >> confdefs.h
<<\EOF
20018 #define wxUSE_INTL 1
20021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
20022 GUIDIST
="$GUIDIST INTL_DIST"
20026 if test "$wxUSE_LOG" = "yes"; then
20027 cat >> confdefs.h
<<\EOF
20028 #define wxUSE_LOG 1
20032 if test "$wxUSE_LOGGUI" = "yes"; then
20033 cat >> confdefs.h
<<\EOF
20034 #define wxUSE_LOGGUI 1
20039 if test "$wxUSE_LOGWINDOW" = "yes"; then
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_LOGWINDOW 1
20046 if test "$wxUSE_LOGDIALOG" = "yes"; then
20047 cat >> confdefs.h
<<\EOF
20048 #define wxUSE_LOG_DIALOG 1
20054 if test "$wxUSE_LONGLONG" = "yes"; then
20055 cat >> confdefs.h
<<\EOF
20056 #define wxUSE_LONGLONG 1
20061 if test "$wxUSE_GEOMETRY" = "yes"; then
20062 cat >> confdefs.h
<<\EOF
20063 #define wxUSE_GEOMETRY 1
20068 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
20069 cat >> confdefs.h
<<\EOF
20070 #define wxUSE_DIALUP_MANAGER 1
20073 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
20076 if test "$wxUSE_STREAMS" = "yes" ; then
20077 cat >> confdefs.h
<<\EOF
20078 #define wxUSE_STREAMS 1
20084 if test "$wxUSE_DATETIME" = "yes"; then
20085 for ac_func
in strptime
20087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20088 echo "configure:20089: checking for $ac_func" >&5
20089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20090 echo $ac_n "(cached) $ac_c" 1>&6
20092 cat > conftest.
$ac_ext <<EOF
20093 #line 20094 "configure"
20094 #include "confdefs.h"
20095 /* System header to define __stub macros and hopefully few prototypes,
20096 which can conflict with char $ac_func(); below. */
20097 #include <assert.h>
20098 /* Override any gcc2 internal prototype to avoid an error. */
20099 /* We use char because int might match the return type of a gcc2
20100 builtin and then its argument prototype would still apply. */
20105 /* The GNU C library defines this for functions which it implements
20106 to always fail with ENOSYS. Some functions are actually named
20107 something starting with __ and the normal name is an alias. */
20108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20116 if { (eval echo configure
:20117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20118 eval "ac_cv_func_$ac_func=yes"
20120 echo "configure: failed program was:" >&5
20121 cat conftest.
$ac_ext >&5
20123 eval "ac_cv_func_$ac_func=no"
20128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20129 echo "$ac_t""yes" 1>&6
20130 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20131 cat >> confdefs.h
<<EOF
20132 #define $ac_tr_func 1
20136 echo "$ac_t""no" 1>&6
20141 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
20142 echo "configure:20143: checking for timezone variable in <time.h>" >&5
20143 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
20144 echo $ac_n "(cached) $ac_c" 1>&6
20147 cat > conftest.
$ac_ext <<EOF
20148 #line 20149 "configure"
20149 #include "confdefs.h"
20160 if { (eval echo configure
:20161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20163 wx_cv_var_timezone
=timezone
20166 echo "configure: failed program was:" >&5
20167 cat conftest.
$ac_ext >&5
20170 cat > conftest.
$ac_ext <<EOF
20171 #line 20172 "configure"
20172 #include "confdefs.h"
20183 if { (eval echo configure
:20184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20186 wx_cv_var_timezone
=_timezone
20189 echo "configure: failed program was:" >&5
20190 cat conftest.
$ac_ext >&5
20193 cat > conftest.
$ac_ext <<EOF
20194 #line 20195 "configure"
20195 #include "confdefs.h"
20206 if { (eval echo configure
:20207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20209 wx_cv_var_timezone
=__timezone
20212 echo "configure: failed program was:" >&5
20213 cat conftest.
$ac_ext >&5
20216 if test "$USE_DOS" = 0 ; then
20217 echo "configure: warning: no timezone variable" 1>&2
20235 echo "$ac_t""$wx_cv_var_timezone" 1>&6
20237 if test "x$wx_cv_var_timezone" != x
; then
20238 cat >> confdefs.h
<<EOF
20239 #define WX_TIMEZONE $wx_cv_var_timezone
20244 for ac_func
in localtime
20246 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20247 echo "configure:20248: checking for $ac_func" >&5
20248 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20249 echo $ac_n "(cached) $ac_c" 1>&6
20251 cat > conftest.
$ac_ext <<EOF
20252 #line 20253 "configure"
20253 #include "confdefs.h"
20254 /* System header to define __stub macros and hopefully few prototypes,
20255 which can conflict with char $ac_func(); below. */
20256 #include <assert.h>
20257 /* Override any gcc2 internal prototype to avoid an error. */
20258 /* We use char because int might match the return type of a gcc2
20259 builtin and then its argument prototype would still apply. */
20264 /* The GNU C library defines this for functions which it implements
20265 to always fail with ENOSYS. Some functions are actually named
20266 something starting with __ and the normal name is an alias. */
20267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
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_func_$ac_func=yes"
20279 echo "configure: failed program was:" >&5
20280 cat conftest.
$ac_ext >&5
20282 eval "ac_cv_func_$ac_func=no"
20287 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20288 echo "$ac_t""yes" 1>&6
20289 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20290 cat >> confdefs.h
<<EOF
20291 #define $ac_tr_func 1
20295 echo "$ac_t""no" 1>&6
20300 if test "$ac_cv_func_localtime" = "yes"; then
20301 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20302 echo "configure:20303: checking for tm_gmtoff in struct tm" >&5
20303 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20304 echo $ac_n "(cached) $ac_c" 1>&6
20307 cat > conftest.
$ac_ext <<EOF
20308 #line 20309 "configure"
20309 #include "confdefs.h"
20320 if { (eval echo configure
:20321: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20323 wx_cv_struct_tm_has_gmtoff
=yes
20326 echo "configure: failed program was:" >&5
20327 cat conftest.
$ac_ext >&5
20329 wx_cv_struct_tm_has_gmtoff
=no
20336 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20339 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20340 cat >> confdefs.h
<<\EOF
20341 #define WX_GMTOFF_IN_TM 1
20346 for ac_func
in gettimeofday ftime
20348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20349 echo "configure:20350: checking for $ac_func" >&5
20350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20351 echo $ac_n "(cached) $ac_c" 1>&6
20353 cat > conftest.
$ac_ext <<EOF
20354 #line 20355 "configure"
20355 #include "confdefs.h"
20356 /* System header to define __stub macros and hopefully few prototypes,
20357 which can conflict with char $ac_func(); below. */
20358 #include <assert.h>
20359 /* Override any gcc2 internal prototype to avoid an error. */
20360 /* We use char because int might match the return type of a gcc2
20361 builtin and then its argument prototype would still apply. */
20366 /* The GNU C library defines this for functions which it implements
20367 to always fail with ENOSYS. Some functions are actually named
20368 something starting with __ and the normal name is an alias. */
20369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20377 if { (eval echo configure
:20378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20379 eval "ac_cv_func_$ac_func=yes"
20381 echo "configure: failed program was:" >&5
20382 cat conftest.
$ac_ext >&5
20384 eval "ac_cv_func_$ac_func=no"
20389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20390 echo "$ac_t""yes" 1>&6
20391 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20392 cat >> confdefs.h
<<EOF
20393 #define $ac_tr_func 1
20397 echo "$ac_t""no" 1>&6
20402 if test "$ac_cv_func_gettimeofday" = "yes"; then
20403 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20404 echo "configure:20405: checking whether gettimeofday takes two arguments" >&5
20405 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20406 echo $ac_n "(cached) $ac_c" 1>&6
20411 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20412 ac_cpp
='$CXXCPP $CPPFLAGS'
20413 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20414 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20415 cross_compiling
=$ac_cv_prog_cxx_cross
20418 cat > conftest.
$ac_ext <<EOF
20419 #line 20420 "configure"
20420 #include "confdefs.h"
20422 #include <sys/time.h>
20423 #include <unistd.h>
20428 gettimeofday(&tv, NULL);
20432 if { (eval echo configure
:20433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20434 wx_cv_func_gettimeofday_has_2_args
=yes
20436 echo "configure: failed program was:" >&5
20437 cat conftest.
$ac_ext >&5
20439 cat > conftest.
$ac_ext <<EOF
20440 #line 20441 "configure"
20441 #include "confdefs.h"
20443 #include <sys/time.h>
20444 #include <unistd.h>
20453 if { (eval echo configure
:20454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20455 wx_cv_func_gettimeofday_has_2_args
=no
20457 echo "configure: failed program was:" >&5
20458 cat conftest.
$ac_ext >&5
20461 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20462 wx_cv_func_gettimeofday_has_2_args
=unknown
20471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20472 ac_cpp
='$CPP $CPPFLAGS'
20473 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20474 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20475 cross_compiling
=$ac_cv_prog_cc_cross
20480 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20482 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20483 cat >> confdefs.h
<<\EOF
20484 #define WX_GETTIMEOFDAY_NO_TZ 1
20490 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20494 if test "$wxUSE_SOCKETS" = "yes"; then
20495 if test "$wxUSE_MGL" = "1"; then
20496 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20501 if test "$wxUSE_SOCKETS" = "yes"; then
20502 if test "$TOOLKIT" != "MSW"; then
20503 echo $ac_n "checking for socket""... $ac_c" 1>&6
20504 echo "configure:20505: checking for socket" >&5
20505 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20506 echo $ac_n "(cached) $ac_c" 1>&6
20508 cat > conftest.
$ac_ext <<EOF
20509 #line 20510 "configure"
20510 #include "confdefs.h"
20511 /* System header to define __stub macros and hopefully few prototypes,
20512 which can conflict with char socket(); below. */
20513 #include <assert.h>
20514 /* Override any gcc2 internal prototype to avoid an error. */
20515 /* We use char because int might match the return type of a gcc2
20516 builtin and then its argument prototype would still apply. */
20521 /* The GNU C library defines this for functions which it implements
20522 to always fail with ENOSYS. Some functions are actually named
20523 something starting with __ and the normal name is an alias. */
20524 #if defined (__stub_socket) || defined (__stub___socket)
20532 if { (eval echo configure
:20533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20534 eval "ac_cv_func_socket=yes"
20536 echo "configure: failed program was:" >&5
20537 cat conftest.
$ac_ext >&5
20539 eval "ac_cv_func_socket=no"
20544 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20545 echo "$ac_t""yes" 1>&6
20548 echo "$ac_t""no" 1>&6
20549 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20550 echo "configure:20551: checking for socket in -lsocket" >&5
20551 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20553 echo $ac_n "(cached) $ac_c" 1>&6
20555 ac_save_LIBS
="$LIBS"
20556 LIBS
="-lsocket $LIBS"
20557 cat > conftest.
$ac_ext <<EOF
20558 #line 20559 "configure"
20559 #include "confdefs.h"
20560 /* Override any gcc2 internal prototype to avoid an error. */
20561 /* We use char because int might match the return type of a gcc2
20562 builtin and then its argument prototype would still apply. */
20569 if { (eval echo configure
:20570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20571 eval "ac_cv_lib_$ac_lib_var=yes"
20573 echo "configure: failed program was:" >&5
20574 cat conftest.
$ac_ext >&5
20576 eval "ac_cv_lib_$ac_lib_var=no"
20579 LIBS
="$ac_save_LIBS"
20582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20583 echo "$ac_t""yes" 1>&6
20584 if test "$INET_LINK" != " -lsocket"; then
20585 INET_LINK
="$INET_LINK -lsocket"
20588 echo "$ac_t""no" 1>&6
20590 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20602 if test "$wxUSE_SOCKETS" = "yes" ; then
20603 if test "$TOOLKIT" != "MSW"; then
20604 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20605 echo "configure:20606: checking what is the type of the third argument of getsockname" >&5
20606 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20607 echo $ac_n "(cached) $ac_c" 1>&6
20612 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20613 ac_cpp
='$CXXCPP $CPPFLAGS'
20614 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20615 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20616 cross_compiling
=$ac_cv_prog_cxx_cross
20619 cat > conftest.
$ac_ext <<EOF
20620 #line 20621 "configure"
20621 #include "confdefs.h"
20623 #include <sys/types.h>
20624 #include <sys/socket.h>
20629 getsockname(0, 0, &len);
20633 if { (eval echo configure
:20634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20635 wx_cv_type_getsockname3
=socklen_t
20637 echo "configure: failed program was:" >&5
20638 cat conftest.
$ac_ext >&5
20640 cat > conftest.
$ac_ext <<EOF
20641 #line 20642 "configure"
20642 #include "confdefs.h"
20644 #include <sys/types.h>
20645 #include <sys/socket.h>
20650 getsockname(0, 0, &len);
20654 if { (eval echo configure
:20655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20656 wx_cv_type_getsockname3
=size_t
20658 echo "configure: failed program was:" >&5
20659 cat conftest.
$ac_ext >&5
20661 cat > conftest.
$ac_ext <<EOF
20662 #line 20663 "configure"
20663 #include "confdefs.h"
20665 #include <sys/types.h>
20666 #include <sys/socket.h>
20671 getsockname(0, 0, &len);
20675 if { (eval echo configure
:20676: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20677 wx_cv_type_getsockname3
=int
20679 echo "configure: failed program was:" >&5
20680 cat conftest.
$ac_ext >&5
20682 wx_cv_type_getsockname3
=unknown
20694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20695 ac_cpp
='$CPP $CPPFLAGS'
20696 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20697 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20698 cross_compiling
=$ac_cv_prog_cc_cross
20703 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20705 if test "$wx_cv_type_getsockname3" = "unknown"; then
20707 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20709 cat >> confdefs.h
<<EOF
20710 #define SOCKLEN_T $wx_cv_type_getsockname3
20717 if test "$wxUSE_SOCKETS" = "yes" ; then
20718 cat >> confdefs.h
<<\EOF
20719 #define wxUSE_SOCKETS 1
20722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20726 if test "$wxUSE_GUI" = "yes"; then
20728 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20729 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20732 if test "$TOOLKIT" = "MOTIF"; then
20733 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20736 if test "$TOOLKIT" = "X11"; then
20737 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20741 if test "$TOOLKIT" != "MSW"; then
20742 if test "$wxUSE_JOYSTICK" = "yes"; then
20743 for ac_hdr
in linux
/joystick.h
20745 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20746 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20747 echo "configure:20748: checking for $ac_hdr" >&5
20748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20749 echo $ac_n "(cached) $ac_c" 1>&6
20751 cat > conftest.
$ac_ext <<EOF
20752 #line 20753 "configure"
20753 #include "confdefs.h"
20756 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20757 { (eval echo configure
:20758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20758 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20759 if test -z "$ac_err"; then
20761 eval "ac_cv_header_$ac_safe=yes"
20764 echo "configure: failed program was:" >&5
20765 cat conftest.
$ac_ext >&5
20767 eval "ac_cv_header_$ac_safe=no"
20771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20772 echo "$ac_t""yes" 1>&6
20773 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20774 cat >> confdefs.h
<<EOF
20775 #define $ac_tr_hdr 1
20779 echo "$ac_t""no" 1>&6
20783 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20785 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20790 if test "$wxUSE_JOYSTICK" = "yes"; then
20791 cat >> confdefs.h
<<\EOF
20792 #define wxUSE_JOYSTICK 1
20795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20800 if test "$TOOLKIT" != "MSW"; then
20804 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20805 if test "$USE_DARWIN" = 1; then
20808 for ac_func
in dlopen
20810 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20811 echo "configure:20812: checking for $ac_func" >&5
20812 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20813 echo $ac_n "(cached) $ac_c" 1>&6
20815 cat > conftest.
$ac_ext <<EOF
20816 #line 20817 "configure"
20817 #include "confdefs.h"
20818 /* System header to define __stub macros and hopefully few prototypes,
20819 which can conflict with char $ac_func(); below. */
20820 #include <assert.h>
20821 /* Override any gcc2 internal prototype to avoid an error. */
20822 /* We use char because int might match the return type of a gcc2
20823 builtin and then its argument prototype would still apply. */
20828 /* The GNU C library defines this for functions which it implements
20829 to always fail with ENOSYS. Some functions are actually named
20830 something starting with __ and the normal name is an alias. */
20831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20839 if { (eval echo configure
:20840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20841 eval "ac_cv_func_$ac_func=yes"
20843 echo "configure: failed program was:" >&5
20844 cat conftest.
$ac_ext >&5
20846 eval "ac_cv_func_$ac_func=no"
20851 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20852 echo "$ac_t""yes" 1>&6
20853 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20854 cat >> confdefs.h
<<EOF
20855 #define $ac_tr_func 1
20858 cat >> confdefs.h
<<\EOF
20859 #define HAVE_DLOPEN 1
20865 echo "$ac_t""no" 1>&6
20866 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20867 echo "configure:20868: checking for dlopen in -ldl" >&5
20868 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20869 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20870 echo $ac_n "(cached) $ac_c" 1>&6
20872 ac_save_LIBS
="$LIBS"
20874 cat > conftest.
$ac_ext <<EOF
20875 #line 20876 "configure"
20876 #include "confdefs.h"
20877 /* Override any gcc2 internal prototype to avoid an error. */
20878 /* We use char because int might match the return type of a gcc2
20879 builtin and then its argument prototype would still apply. */
20886 if { (eval echo configure
:20887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20888 eval "ac_cv_lib_$ac_lib_var=yes"
20890 echo "configure: failed program was:" >&5
20891 cat conftest.
$ac_ext >&5
20893 eval "ac_cv_lib_$ac_lib_var=no"
20896 LIBS
="$ac_save_LIBS"
20899 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20900 echo "$ac_t""yes" 1>&6
20902 cat >> confdefs.h
<<\EOF
20903 #define HAVE_DLOPEN 1
20907 DL_LINK
=" -ldl$DL_LINK"
20910 echo "$ac_t""no" 1>&6
20912 for ac_func
in shl_load
20914 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20915 echo "configure:20916: checking for $ac_func" >&5
20916 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20917 echo $ac_n "(cached) $ac_c" 1>&6
20919 cat > conftest.
$ac_ext <<EOF
20920 #line 20921 "configure"
20921 #include "confdefs.h"
20922 /* System header to define __stub macros and hopefully few prototypes,
20923 which can conflict with char $ac_func(); below. */
20924 #include <assert.h>
20925 /* Override any gcc2 internal prototype to avoid an error. */
20926 /* We use char because int might match the return type of a gcc2
20927 builtin and then its argument prototype would still apply. */
20932 /* The GNU C library defines this for functions which it implements
20933 to always fail with ENOSYS. Some functions are actually named
20934 something starting with __ and the normal name is an alias. */
20935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20943 if { (eval echo configure
:20944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20945 eval "ac_cv_func_$ac_func=yes"
20947 echo "configure: failed program was:" >&5
20948 cat conftest.
$ac_ext >&5
20950 eval "ac_cv_func_$ac_func=no"
20955 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20956 echo "$ac_t""yes" 1>&6
20957 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20958 cat >> confdefs.h
<<EOF
20959 #define $ac_tr_func 1
20962 cat >> confdefs.h
<<\EOF
20963 #define HAVE_SHL_LOAD 1
20969 echo "$ac_t""no" 1>&6
20970 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20971 echo "configure:20972: checking for dld in -lshl_load" >&5
20972 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20973 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20974 echo $ac_n "(cached) $ac_c" 1>&6
20976 ac_save_LIBS
="$LIBS"
20977 LIBS
="-lshl_load $LIBS"
20978 cat > conftest.
$ac_ext <<EOF
20979 #line 20980 "configure"
20980 #include "confdefs.h"
20981 /* Override any gcc2 internal prototype to avoid an error. */
20982 /* We use char because int might match the return type of a gcc2
20983 builtin and then its argument prototype would still apply. */
20990 if { (eval echo configure
:20991: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20992 eval "ac_cv_lib_$ac_lib_var=yes"
20994 echo "configure: failed program was:" >&5
20995 cat conftest.
$ac_ext >&5
20997 eval "ac_cv_lib_$ac_lib_var=no"
21000 LIBS
="$ac_save_LIBS"
21003 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21004 echo "$ac_t""yes" 1>&6
21007 DL_LINK
=" -ldld$DL_LINK"
21010 echo "$ac_t""no" 1>&6
21025 if test "$HAVE_DL_FUNCS" = 1; then
21026 for ac_func
in dlerror
21028 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21029 echo "configure:21030: checking for $ac_func" >&5
21030 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21031 echo $ac_n "(cached) $ac_c" 1>&6
21033 cat > conftest.
$ac_ext <<EOF
21034 #line 21035 "configure"
21035 #include "confdefs.h"
21036 /* System header to define __stub macros and hopefully few prototypes,
21037 which can conflict with char $ac_func(); below. */
21038 #include <assert.h>
21039 /* Override any gcc2 internal prototype to avoid an error. */
21040 /* We use char because int might match the return type of a gcc2
21041 builtin and then its argument prototype would still apply. */
21046 /* The GNU C library defines this for functions which it implements
21047 to always fail with ENOSYS. Some functions are actually named
21048 something starting with __ and the normal name is an alias. */
21049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21057 if { (eval echo configure
:21058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21059 eval "ac_cv_func_$ac_func=yes"
21061 echo "configure: failed program was:" >&5
21062 cat conftest.
$ac_ext >&5
21064 eval "ac_cv_func_$ac_func=no"
21069 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21070 echo "$ac_t""yes" 1>&6
21071 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21072 cat >> confdefs.h
<<EOF
21073 #define $ac_tr_func 1
21075 cat >> confdefs.h
<<\EOF
21076 #define HAVE_DLERROR 1
21080 echo "$ac_t""no" 1>&6
21081 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
21082 echo "configure:21083: checking for dlerror in -ldl" >&5
21083 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
21084 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21085 echo $ac_n "(cached) $ac_c" 1>&6
21087 ac_save_LIBS
="$LIBS"
21089 cat > conftest.
$ac_ext <<EOF
21090 #line 21091 "configure"
21091 #include "confdefs.h"
21092 /* Override any gcc2 internal prototype to avoid an error. */
21093 /* We use char because int might match the return type of a gcc2
21094 builtin and then its argument prototype would still apply. */
21101 if { (eval echo configure
:21102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21103 eval "ac_cv_lib_$ac_lib_var=yes"
21105 echo "configure: failed program was:" >&5
21106 cat conftest.
$ac_ext >&5
21108 eval "ac_cv_lib_$ac_lib_var=no"
21111 LIBS
="$ac_save_LIBS"
21114 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21115 echo "$ac_t""yes" 1>&6
21116 cat >> confdefs.h
<<\EOF
21117 #define HAVE_DLERROR 1
21121 echo "$ac_t""no" 1>&6
21130 if test "$HAVE_DL_FUNCS" = 0; then
21131 if test "$HAVE_SHL_FUNCS" = 0; then
21132 if test "$USE_UNIX" = 1; then
21133 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
21134 wxUSE_DYNAMIC_LOADER
=no
21135 wxUSE_DYNLIB_CLASS
=no
21137 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
21144 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
21145 cat >> confdefs.h
<<\EOF
21146 #define wxUSE_DYNAMIC_LOADER 1
21149 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
21150 cat >> confdefs.h
<<\EOF
21151 #define wxUSE_DYNLIB_CLASS 1
21157 if test "$wxUSE_FONTMAP" = "yes" ; then
21158 cat >> confdefs.h
<<\EOF
21159 #define wxUSE_FONTMAP 1
21164 if test "$wxUSE_UNICODE" = "yes" ; then
21165 cat >> confdefs.h
<<\EOF
21166 #define wxUSE_UNICODE 1
21170 if test "$wxUSE_MSW" != 1; then
21171 wxUSE_UNICODE_MSLU
=no
21174 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
21175 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
21176 echo "configure:21177: checking for main in -lunicows" >&5
21177 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
21178 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21179 echo $ac_n "(cached) $ac_c" 1>&6
21181 ac_save_LIBS
="$LIBS"
21182 LIBS
="-lunicows $LIBS"
21183 cat > conftest.
$ac_ext <<EOF
21184 #line 21185 "configure"
21185 #include "confdefs.h"
21191 if { (eval echo configure
:21192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21193 eval "ac_cv_lib_$ac_lib_var=yes"
21195 echo "configure: failed program was:" >&5
21196 cat conftest.
$ac_ext >&5
21198 eval "ac_cv_lib_$ac_lib_var=no"
21201 LIBS
="$ac_save_LIBS"
21204 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21205 echo "$ac_t""yes" 1>&6
21207 cat >> confdefs.h
<<\EOF
21208 #define wxUSE_UNICODE_MSLU 1
21213 echo "$ac_t""no" 1>&6
21215 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
21216 Applications will only run on Windows NT/2000/XP!" 1>&2
21217 wxUSE_UNICODE_MSLU
=no
21224 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
21225 cat >> confdefs.h
<<\EOF
21226 #define wxUSE_EXPERIMENTAL_PRINTF 1
21232 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21233 cat >> confdefs.h
<<\EOF
21234 #define wxUSE_POSTSCRIPT 1
21239 cat >> confdefs.h
<<\EOF
21240 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21244 cat >> confdefs.h
<<\EOF
21245 #define wxUSE_NORMALIZED_PS_FONTS 1
21250 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21251 cat >> confdefs.h
<<\EOF
21252 #define wxUSE_CONSTRAINTS 1
21255 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21258 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21261 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21262 cat >> confdefs.h
<<\EOF
21263 #define wxUSE_MDI_ARCHITECTURE 1
21266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21270 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21271 cat >> confdefs.h
<<\EOF
21272 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21275 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21276 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21281 if test "$wxUSE_HELP" = "yes"; then
21282 cat >> confdefs.h
<<\EOF
21283 #define wxUSE_HELP 1
21286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21288 if test "$wxUSE_MSW" = 1; then
21289 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21290 cat >> confdefs.h
<<\EOF
21291 #define wxUSE_MS_HTML_HELP 1
21297 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21298 if test "$wxUSE_HTML" = "yes"; then
21299 cat >> confdefs.h
<<\EOF
21300 #define wxUSE_WXHTML_HELP 1
21304 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21305 wxUSE_WXHTML_HELP
=no
21310 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21311 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21312 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21314 cat >> confdefs.h
<<\EOF
21315 #define wxUSE_PRINTING_ARCHITECTURE 1
21319 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21324 if test "$wxUSE_X_RESOURCES" = "yes"; then
21325 cat >> confdefs.h
<<\EOF
21326 #define wxUSE_X_RESOURCES 1
21332 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21333 -o "$wxUSE_CLIPBOARD" = "yes" \
21334 -o "$wxUSE_OLE" = "yes" \
21335 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21336 for ac_hdr
in ole2.h
21338 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21339 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21340 echo "configure:21341: checking for $ac_hdr" >&5
21341 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21342 echo $ac_n "(cached) $ac_c" 1>&6
21344 cat > conftest.
$ac_ext <<EOF
21345 #line 21346 "configure"
21346 #include "confdefs.h"
21349 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21350 { (eval echo configure
:21351: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21351 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21352 if test -z "$ac_err"; then
21354 eval "ac_cv_header_$ac_safe=yes"
21357 echo "configure: failed program was:" >&5
21358 cat conftest.
$ac_ext >&5
21360 eval "ac_cv_header_$ac_safe=no"
21364 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21365 echo "$ac_t""yes" 1>&6
21366 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21367 cat >> confdefs.h
<<EOF
21368 #define $ac_tr_hdr 1
21372 echo "$ac_t""no" 1>&6
21377 if test "$ac_cv_header_ole2_h" = "yes" ; then
21378 if test "$GCC" = yes ; then
21381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21382 ac_cpp
='$CXXCPP $CPPFLAGS'
21383 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21384 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21385 cross_compiling
=$ac_cv_prog_cxx_cross
21388 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21389 echo "configure:21390: checking if g++ requires -fvtable-thunks" >&5
21390 cat > conftest.
$ac_ext <<EOF
21391 #line 21392 "configure"
21392 #include "confdefs.h"
21393 #include <windows.h>
21399 if { (eval echo configure
:21400: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21401 echo "$ac_t""no" 1>&6
21403 echo "configure: failed program was:" >&5
21404 cat conftest.
$ac_ext >&5
21406 echo "$ac_t""yes" 1>&6
21407 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21411 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21412 ac_cpp
='$CPP $CPPFLAGS'
21413 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21414 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21415 cross_compiling
=$ac_cv_prog_cc_cross
21417 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21418 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21419 cat >> confdefs.h
<<\EOF
21420 #define wxUSE_OLE 1
21426 cat >> confdefs.h
<<\EOF
21427 #define wxUSE_DATAOBJ 1
21431 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21434 wxUSE_DRAG_AND_DROP
=no
21439 if test "$wxUSE_METAFILE" = "yes"; then
21440 cat >> confdefs.h
<<\EOF
21441 #define wxUSE_METAFILE 1
21445 cat >> confdefs.h
<<\EOF
21446 #define wxUSE_ENH_METAFILE 1
21452 if test "$wxUSE_IPC" = "yes"; then
21453 if test "$wxUSE_SOCKETS" != "yes"; then
21454 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21457 cat >> confdefs.h
<<\EOF
21458 #define wxUSE_IPC 1
21463 if test "$wxUSE_CLIPBOARD" = "yes"; then
21464 if test "$wxUSE_MGL" = 1; then
21465 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21469 if test "$wxUSE_CLIPBOARD" = "yes"; then
21470 cat >> confdefs.h
<<\EOF
21471 #define wxUSE_CLIPBOARD 1
21475 cat >> confdefs.h
<<\EOF
21476 #define wxUSE_DATAOBJ 1
21482 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21483 if test "$wxUSE_GTK" = 1; then
21484 if test "$WXGTK12" != 1; then
21485 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21486 wxUSE_DRAG_AND_DROP
=no
21490 if test "$wxUSE_MOTIF" = 1; then
21491 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21492 wxUSE_DRAG_AND_DROP
=no
21495 if test "$wxUSE_X11" = 1; then
21496 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21497 wxUSE_DRAG_AND_DROP
=no
21500 if test "$wxUSE_MGL" = 1; then
21501 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21502 wxUSE_DRAG_AND_DROP
=no
21505 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21506 cat >> confdefs.h
<<\EOF
21507 #define wxUSE_DRAG_AND_DROP 1
21510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21515 if test "$wxUSE_SPLINES" = "yes" ; then
21516 cat >> confdefs.h
<<\EOF
21517 #define wxUSE_SPLINES 1
21524 if test "$wxUSE_CONTROLS" = "yes"; then
21528 if test "$wxUSE_ACCEL" = "yes"; then
21529 cat >> confdefs.h
<<\EOF
21530 #define wxUSE_ACCEL 1
21536 if test "$wxUSE_BUTTON" = "yes"; then
21537 cat >> confdefs.h
<<\EOF
21538 #define wxUSE_BUTTON 1
21544 if test "$wxUSE_BMPBUTTON" = "yes"; then
21545 cat >> confdefs.h
<<\EOF
21546 #define wxUSE_BMPBUTTON 1
21552 if test "$wxUSE_CALCTRL" = "yes"; then
21553 cat >> confdefs.h
<<\EOF
21554 #define wxUSE_CALENDARCTRL 1
21558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21561 if test "$wxUSE_CARET" = "yes"; then
21562 cat >> confdefs.h
<<\EOF
21563 #define wxUSE_CARET 1
21567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21570 if test "$wxUSE_COMBOBOX" = "yes"; then
21571 cat >> confdefs.h
<<\EOF
21572 #define wxUSE_COMBOBOX 1
21578 if test "$wxUSE_CHOICE" = "yes"; then
21579 cat >> confdefs.h
<<\EOF
21580 #define wxUSE_CHOICE 1
21586 if test "$wxUSE_CHECKBOX" = "yes"; then
21587 cat >> confdefs.h
<<\EOF
21588 #define wxUSE_CHECKBOX 1
21594 if test "$wxUSE_CHECKLST" = "yes"; then
21595 cat >> confdefs.h
<<\EOF
21596 #define wxUSE_CHECKLISTBOX 1
21600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21603 if test "$wxUSE_DISPLAY" = "yes"; then
21604 cat >> confdefs.h
<<\EOF
21605 #define wxUSE_DISPLAY 1
21608 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21611 if test "$wxUSE_GAUGE" = "yes"; then
21612 cat >> confdefs.h
<<\EOF
21613 #define wxUSE_GAUGE 1
21619 if test "$wxUSE_GRID" = "yes"; then
21620 cat >> confdefs.h
<<\EOF
21621 #define wxUSE_GRID 1
21625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21628 if test "$wxUSE_IMAGLIST" = "yes"; then
21629 cat >> confdefs.h
<<\EOF
21630 #define wxUSE_IMAGLIST 1
21635 if test "$wxUSE_LISTBOX" = "yes"; then
21636 cat >> confdefs.h
<<\EOF
21637 #define wxUSE_LISTBOX 1
21643 if test "$wxUSE_LISTCTRL" = "yes"; then
21644 if test "$wxUSE_IMAGLIST" = "yes"; then
21645 cat >> confdefs.h
<<\EOF
21646 #define wxUSE_LISTCTRL 1
21650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21652 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21656 if test "$wxUSE_NOTEBOOK" = "yes"; then
21657 cat >> confdefs.h
<<\EOF
21658 #define wxUSE_NOTEBOOK 1
21662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21666 if test "$wxUSE_RADIOBOX" = "yes"; then
21667 cat >> confdefs.h
<<\EOF
21668 #define wxUSE_RADIOBOX 1
21674 if test "$wxUSE_RADIOBTN" = "yes"; then
21675 cat >> confdefs.h
<<\EOF
21676 #define wxUSE_RADIOBTN 1
21682 if test "$wxUSE_SASH" = "yes"; then
21683 cat >> confdefs.h
<<\EOF
21684 #define wxUSE_SASH 1
21687 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21690 if test "$wxUSE_SCROLLBAR" = "yes"; then
21691 cat >> confdefs.h
<<\EOF
21692 #define wxUSE_SCROLLBAR 1
21696 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21699 if test "$wxUSE_SLIDER" = "yes"; then
21700 cat >> confdefs.h
<<\EOF
21701 #define wxUSE_SLIDER 1
21707 if test "$wxUSE_SPINBTN" = "yes"; then
21708 cat >> confdefs.h
<<\EOF
21709 #define wxUSE_SPINBTN 1
21715 if test "$wxUSE_SPINCTRL" = "yes"; then
21716 cat >> confdefs.h
<<\EOF
21717 #define wxUSE_SPINCTRL 1
21723 if test "$wxUSE_SPLITTER" = "yes"; then
21724 cat >> confdefs.h
<<\EOF
21725 #define wxUSE_SPLITTER 1
21728 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21731 if test "$wxUSE_STATBMP" = "yes"; then
21732 cat >> confdefs.h
<<\EOF
21733 #define wxUSE_STATBMP 1
21739 if test "$wxUSE_STATBOX" = "yes"; then
21740 cat >> confdefs.h
<<\EOF
21741 #define wxUSE_STATBOX 1
21747 if test "$wxUSE_STATTEXT" = "yes"; then
21748 cat >> confdefs.h
<<\EOF
21749 #define wxUSE_STATTEXT 1
21755 if test "$wxUSE_STATLINE" = "yes"; then
21756 cat >> confdefs.h
<<\EOF
21757 #define wxUSE_STATLINE 1
21763 if test "$wxUSE_STATUSBAR" = "yes"; then
21764 cat >> confdefs.h
<<\EOF
21765 #define wxUSE_STATUSBAR 1
21770 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21773 if test "$wxUSE_TABDIALOG" = "yes"; then
21774 cat >> confdefs.h
<<\EOF
21775 #define wxUSE_TAB_DIALOG 1
21778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21781 if test "$wxUSE_TEXTCTRL" = "yes"; then
21782 cat >> confdefs.h
<<\EOF
21783 #define wxUSE_TEXTCTRL 1
21787 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21790 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21791 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21792 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21795 if test "$wxUSE_UNIVERSAL" = "yes"; then
21796 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21800 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21801 cat >> confdefs.h
<<\EOF
21802 #define wxUSE_TOGGLEBTN 1
21809 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21810 cat >> confdefs.h
<<\EOF
21811 #define wxUSE_TOOLBAR_SIMPLE 1
21814 wxUSE_TOOLBAR
="yes"
21818 if test "$wxUSE_TOOLBAR" = "yes"; then
21819 cat >> confdefs.h
<<\EOF
21820 #define wxUSE_TOOLBAR 1
21825 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21826 wxUSE_TOOLBAR_NATIVE
="yes"
21829 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21830 cat >> confdefs.h
<<\EOF
21831 #define wxUSE_TOOLBAR_NATIVE 1
21837 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21840 if test "$wxUSE_TOOLTIPS" = "yes"; then
21841 if test "$wxUSE_MOTIF" = 1; then
21842 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21844 if test "$wxUSE_UNIVERSAL" = "yes"; then
21845 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21847 cat >> confdefs.h
<<\EOF
21848 #define wxUSE_TOOLTIPS 1
21855 if test "$wxUSE_TREECTRL" = "yes"; then
21856 if test "$wxUSE_IMAGLIST" = "yes"; then
21857 cat >> confdefs.h
<<\EOF
21858 #define wxUSE_TREECTRL 1
21862 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21864 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21868 if test "$wxUSE_POPUPWIN" = "yes"; then
21869 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21870 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21872 if test "$wxUSE_MOTIF" = 1; then
21873 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21875 if test "$wxUSE_PM" = 1; then
21876 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21878 cat >> confdefs.h
<<\EOF
21879 #define wxUSE_POPUPWIN 1
21889 if test "$wxUSE_TIPWINDOW" = "yes"; then
21890 if test "$wxUSE_PM" = 1; then
21891 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21893 cat >> confdefs.h
<<\EOF
21894 #define wxUSE_TIPWINDOW 1
21900 if test "$USES_CONTROLS" = 1; then
21901 cat >> confdefs.h
<<\EOF
21902 #define wxUSE_CONTROLS 1
21909 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21910 cat >> confdefs.h
<<\EOF
21911 #define wxUSE_DRAGIMAGE 1
21914 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21917 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
21918 cat >> confdefs.h
<<\EOF
21919 #define wxUSE_ACCESSIBILITY 1
21922 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
21925 if test "$wxUSE_MENUS" = "yes"; then
21926 cat >> confdefs.h
<<\EOF
21927 #define wxUSE_MENUS 1
21930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21933 if test "$wxUSE_METAFILE" = "yes"; then
21934 cat >> confdefs.h
<<\EOF
21935 #define wxUSE_METAFILE 1
21940 if test "$wxUSE_MIMETYPE" = "yes"; then
21941 cat >> confdefs.h
<<\EOF
21942 #define wxUSE_MIMETYPE 1
21947 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21948 cat >> confdefs.h
<<\EOF
21949 #define wxUSE_SYSTEM_OPTIONS 1
21952 if test "$TOOLKIT" = "MSW"; then
21953 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21958 if test "$wxUSE_PROTOCOL" = "yes"; then
21959 if test "$wxUSE_SOCKETS" != "yes"; then
21960 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21964 if test "$wxUSE_PROTOCOL" = "yes"; then
21965 cat >> confdefs.h
<<\EOF
21966 #define wxUSE_PROTOCOL 1
21970 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21971 cat >> confdefs.h
<<\EOF
21972 #define wxUSE_PROTOCOL_HTTP 1
21976 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21977 cat >> confdefs.h
<<\EOF
21978 #define wxUSE_PROTOCOL_FTP 1
21982 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21983 cat >> confdefs.h
<<\EOF
21984 #define wxUSE_PROTOCOL_FILE 1
21991 if test "$wxUSE_URL" = "yes"; then
21992 if test "$wxUSE_PROTOCOL" != "yes"; then
21993 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21996 if test "$wxUSE_URL" = "yes"; then
21997 cat >> confdefs.h
<<\EOF
21998 #define wxUSE_URL 1
22004 if test "$wxUSE_MINIFRAME" = "yes"; then
22005 cat >> confdefs.h
<<\EOF
22006 #define wxUSE_MINIFRAME 1
22009 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
22012 if test "$wxUSE_HTML" = "yes"; then
22013 cat >> confdefs.h
<<\EOF
22014 #define wxUSE_HTML 1
22017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
22020 if test "$wxUSE_VALIDATORS" = "yes"; then
22021 cat >> confdefs.h
<<\EOF
22022 #define wxUSE_VALIDATORS 1
22025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
22028 if test "$wxUSE_PALETTE" = "yes" ; then
22029 cat >> confdefs.h
<<\EOF
22030 #define wxUSE_PALETTE 1
22035 if test "$wxUSE_IMAGE" = "yes" ; then
22036 cat >> confdefs.h
<<\EOF
22037 #define wxUSE_IMAGE 1
22042 if test "$wxUSE_GIF" = "yes" ; then
22043 cat >> confdefs.h
<<\EOF
22044 #define wxUSE_GIF 1
22049 if test "$wxUSE_PCX" = "yes" ; then
22050 cat >> confdefs.h
<<\EOF
22051 #define wxUSE_PCX 1
22056 if test "$wxUSE_IFF" = "yes" ; then
22057 cat >> confdefs.h
<<\EOF
22058 #define wxUSE_IFF 1
22063 if test "$wxUSE_PNM" = "yes" ; then
22064 cat >> confdefs.h
<<\EOF
22065 #define wxUSE_PNM 1
22070 if test "$wxUSE_XPM" = "yes" ; then
22071 cat >> confdefs.h
<<\EOF
22072 #define wxUSE_XPM 1
22077 if test "$wxUSE_ICO_CUR" = "yes" ; then
22078 cat >> confdefs.h
<<\EOF
22079 #define wxUSE_ICO_CUR 1
22084 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
22085 LIBS
=" -lunicows $LIBS"
22089 if test "$wxUSE_CHOICEDLG" = "yes"; then
22090 cat >> confdefs.h
<<\EOF
22091 #define wxUSE_CHOICEDLG 1
22096 if test "$wxUSE_COLOURDLG" = "yes"; then
22097 cat >> confdefs.h
<<\EOF
22098 #define wxUSE_COLOURDLG 1
22103 if test "$wxUSE_FILEDLG" = "yes"; then
22104 cat >> confdefs.h
<<\EOF
22105 #define wxUSE_FILEDLG 1
22110 if test "$wxUSE_FINDREPLDLG" = "yes"; then
22111 cat >> confdefs.h
<<\EOF
22112 #define wxUSE_FINDREPLDLG 1
22117 if test "$wxUSE_FONTDLG" = "yes"; then
22118 cat >> confdefs.h
<<\EOF
22119 #define wxUSE_FONTDLG 1
22124 if test "$wxUSE_DIRDLG" = "yes"; then
22125 if test "$wxUSE_TREECTRL" != "yes"; then
22126 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
22128 cat >> confdefs.h
<<\EOF
22129 #define wxUSE_DIRDLG 1
22135 if test "$wxUSE_MSGDLG" = "yes"; then
22136 cat >> confdefs.h
<<\EOF
22137 #define wxUSE_MSGDLG 1
22142 if test "$wxUSE_NUMBERDLG" = "yes"; then
22143 cat >> confdefs.h
<<\EOF
22144 #define wxUSE_NUMBERDLG 1
22149 if test "$wxUSE_PROGRESSDLG" = "yes"; then
22150 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22151 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
22153 cat >> confdefs.h
<<\EOF
22154 #define wxUSE_PROGRESSDLG 1
22160 if test "$wxUSE_SPLASH" = "yes"; then
22161 cat >> confdefs.h
<<\EOF
22162 #define wxUSE_SPLASH 1
22167 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
22168 if test "$wxUSE_CONSTRAINTS" != "yes"; then
22169 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
22171 cat >> confdefs.h
<<\EOF
22172 #define wxUSE_STARTUP_TIPS 1
22178 if test "$wxUSE_TEXTDLG" = "yes"; then
22179 cat >> confdefs.h
<<\EOF
22180 #define wxUSE_TEXTDLG 1
22185 if test "$wxUSE_WIZARDDLG" = "yes"; then
22186 cat >> confdefs.h
<<\EOF
22187 #define wxUSE_WIZARDDLG 1
22190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22194 if test "$cross_compiling" = "yes"; then
22197 OSINFO
=`uname -s -r -m`
22198 OSINFO
="\"$OSINFO\""
22201 cat >> confdefs.h
<<EOF
22202 #define WXWIN_OS_DESCRIPTION $OSINFO
22207 if test "x$prefix" != "xNONE"; then
22210 wxPREFIX
=$ac_default_prefix
22213 cat >> confdefs.h
<<EOF
22214 #define wxINSTALL_PREFIX "$wxPREFIX"
22223 if test "$wxUSE_MAC" = 1 ; then
22224 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22226 if test "$wxUSE_COCOA" = 1 ; then
22227 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
22231 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22237 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22238 echo "configure:22239: checking for $ac_func" >&5
22239 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22240 echo $ac_n "(cached) $ac_c" 1>&6
22242 cat > conftest.
$ac_ext <<EOF
22243 #line 22244 "configure"
22244 #include "confdefs.h"
22245 /* System header to define __stub macros and hopefully few prototypes,
22246 which can conflict with char $ac_func(); below. */
22247 #include <assert.h>
22248 /* Override any gcc2 internal prototype to avoid an error. */
22249 /* We use char because int might match the return type of a gcc2
22250 builtin and then its argument prototype would still apply. */
22255 /* The GNU C library defines this for functions which it implements
22256 to always fail with ENOSYS. Some functions are actually named
22257 something starting with __ and the normal name is an alias. */
22258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22266 if { (eval echo configure
:22267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22268 eval "ac_cv_func_$ac_func=yes"
22270 echo "configure: failed program was:" >&5
22271 cat conftest.
$ac_ext >&5
22273 eval "ac_cv_func_$ac_func=no"
22278 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22279 echo "$ac_t""yes" 1>&6
22280 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22281 cat >> confdefs.h
<<EOF
22282 #define $ac_tr_func 1
22286 echo "$ac_t""no" 1>&6
22290 for ac_func
in floor
22292 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22293 echo "configure:22294: checking for $ac_func" >&5
22294 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22295 echo $ac_n "(cached) $ac_c" 1>&6
22297 cat > conftest.
$ac_ext <<EOF
22298 #line 22299 "configure"
22299 #include "confdefs.h"
22300 /* System header to define __stub macros and hopefully few prototypes,
22301 which can conflict with char $ac_func(); below. */
22302 #include <assert.h>
22303 /* Override any gcc2 internal prototype to avoid an error. */
22304 /* We use char because int might match the return type of a gcc2
22305 builtin and then its argument prototype would still apply. */
22310 /* The GNU C library defines this for functions which it implements
22311 to always fail with ENOSYS. Some functions are actually named
22312 something starting with __ and the normal name is an alias. */
22313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22321 if { (eval echo configure
:22322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22323 eval "ac_cv_func_$ac_func=yes"
22325 echo "configure: failed program was:" >&5
22326 cat conftest.
$ac_ext >&5
22328 eval "ac_cv_func_$ac_func=no"
22333 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22334 echo "$ac_t""yes" 1>&6
22335 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22336 cat >> confdefs.h
<<EOF
22337 #define $ac_tr_func 1
22341 echo "$ac_t""no" 1>&6
22345 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22346 echo "configure:22347: checking if floating point functions link without -lm" >&5
22347 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22348 echo "$ac_t""yes" 1>&6
22350 echo "$ac_t""no" 1>&6
22352 # use different functions to avoid configure caching
22357 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22358 echo "configure:22359: checking for $ac_func" >&5
22359 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22360 echo $ac_n "(cached) $ac_c" 1>&6
22362 cat > conftest.
$ac_ext <<EOF
22363 #line 22364 "configure"
22364 #include "confdefs.h"
22365 /* System header to define __stub macros and hopefully few prototypes,
22366 which can conflict with char $ac_func(); below. */
22367 #include <assert.h>
22368 /* Override any gcc2 internal prototype to avoid an error. */
22369 /* We use char because int might match the return type of a gcc2
22370 builtin and then its argument prototype would still apply. */
22375 /* The GNU C library defines this for functions which it implements
22376 to always fail with ENOSYS. Some functions are actually named
22377 something starting with __ and the normal name is an alias. */
22378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22386 if { (eval echo configure
:22387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22388 eval "ac_cv_func_$ac_func=yes"
22390 echo "configure: failed program was:" >&5
22391 cat conftest.
$ac_ext >&5
22393 eval "ac_cv_func_$ac_func=no"
22398 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22399 echo "$ac_t""yes" 1>&6
22400 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22401 cat >> confdefs.h
<<EOF
22402 #define $ac_tr_func 1
22406 echo "$ac_t""no" 1>&6
22410 for ac_func
in ceil
22412 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22413 echo "configure:22414: checking for $ac_func" >&5
22414 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22415 echo $ac_n "(cached) $ac_c" 1>&6
22417 cat > conftest.
$ac_ext <<EOF
22418 #line 22419 "configure"
22419 #include "confdefs.h"
22420 /* System header to define __stub macros and hopefully few prototypes,
22421 which can conflict with char $ac_func(); below. */
22422 #include <assert.h>
22423 /* Override any gcc2 internal prototype to avoid an error. */
22424 /* We use char because int might match the return type of a gcc2
22425 builtin and then its argument prototype would still apply. */
22430 /* The GNU C library defines this for functions which it implements
22431 to always fail with ENOSYS. Some functions are actually named
22432 something starting with __ and the normal name is an alias. */
22433 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22441 if { (eval echo configure
:22442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22443 eval "ac_cv_func_$ac_func=yes"
22445 echo "configure: failed program was:" >&5
22446 cat conftest.
$ac_ext >&5
22448 eval "ac_cv_func_$ac_func=no"
22453 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22454 echo "$ac_t""yes" 1>&6
22455 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22456 cat >> confdefs.h
<<EOF
22457 #define $ac_tr_func 1
22461 echo "$ac_t""no" 1>&6
22465 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22466 echo "configure:22467: checking if floating point functions link with -lm" >&5
22467 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22468 echo "$ac_t""yes" 1>&6
22470 echo "$ac_t""no" 1>&6
22471 # not sure we should warn the user, crash, etc.
22475 if test "$wxUSE_GUI" = "yes"; then
22477 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22480 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22481 drawing dynamic erase event exec font image \
22482 minimal propsize rotate shaped widgets"
22484 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22486 SAMPLES_SUBDIRS
="console"
22490 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22491 -I\${top_srcdir}/include \
22492 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22495 if test "$wxUSE_GTK" = 1; then
22498 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22501 if test "$GXX" = yes ; then
22502 CXXWARNINGS
="-Wall"
22504 if test "$wxUSE_NO_DEPS" = "no" ; then
22505 CFLAGS
="-MMD $CFLAGS"
22506 CXXFLAGS
="-MMD $CXXFLAGS"
22510 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22512 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22513 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22514 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22515 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22517 LDFLAGS
="$LDFLAGS $PROFILE"
22519 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22621 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22622 echo "configure:22623: checking whether ${MAKE-make} sets \${MAKE}" >&5
22623 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22624 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22625 echo $ac_n "(cached) $ac_c" 1>&6
22627 cat > conftestmake
<<\EOF
22629 @
echo 'ac_maketemp="${MAKE}"'
22631 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22632 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22633 if test -n "$ac_maketemp"; then
22634 eval ac_cv_prog_make_
${ac_make}_set
=yes
22636 eval ac_cv_prog_make_
${ac_make}_set
=no
22640 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22641 echo "$ac_t""yes" 1>&6
22644 echo "$ac_t""no" 1>&6
22645 SET_MAKE
="MAKE=${MAKE-make}"
22649 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22650 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22655 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22656 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22657 wx_cv_path_ifs
=$PATH_IFS
22658 wx_cv_program_ext
=$PROGRAM_EXT
22659 wx_cv_target_library
=$WX_TARGET_LIBRARY
22660 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22661 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22662 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22663 wx_cv_release
=${WX_RELEASE}
22664 wx_cv_current
=${WX_CURRENT}
22665 wx_cv_revision
=${WX_REVISION}
22666 wx_cv_age
=${WX_AGE}
22667 wx_cv_use_gui
=${USE_GUI}
22668 wx_cv_use_resources
=${wxUSE_RESOURCES}
22669 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22670 wx_cv_path_ifs wx_cv_program_ext \
22671 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22672 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22673 wx_cv_use_gui wx_cv_use_resources
22675 subdirs
="demos samples utils contrib"
22679 cat > confcache
<<\EOF
22680 # This file is a shell script that caches the results of configure
22681 # tests run on this system so they can be shared between configure
22682 # scripts and configure runs. It is not useful on other systems.
22683 # If it contains results you don't want to keep, you may remove or edit it.
22685 # By default, configure uses ./config.cache as the cache file,
22686 # creating it if it does not exist already. You can give configure
22687 # the --cache-file=FILE option to use a different cache file; that is
22688 # what configure does when it calls configure scripts in
22689 # subdirectories, so they share the cache.
22690 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22691 # config.status only pays attention to the cache file if you give it the
22692 # --recheck option to rerun configure.
22695 # The following way of writing the cache mishandles newlines in values,
22696 # but we know of no workaround that is simple, portable, and efficient.
22697 # So, don't put newlines in cache variables' values.
22698 # Ultrix sh set writes to stderr and can't be redirected directly,
22699 # and sets the high bit in the cache file unless we assign to the vars.
22701 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22703 # `set' does not quote correctly, so add quotes (double-quote substitution
22704 # turns \\\\ into \\, and sed turns \\ into \).
22706 -e "s/'/'\\\\''/g" \
22707 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22710 # `set' quotes correctly as required by POSIX, so do not add quotes.
22711 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22714 if cmp -s $cache_file confcache
; then
22717 if test -w $cache_file; then
22718 echo "updating cache $cache_file"
22719 cat confcache
> $cache_file
22721 echo "not updating unwritable cache $cache_file"
22726 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22728 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22729 # Let make expand exec_prefix.
22730 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22732 # Any assignment to VPATH causes Sun make to only execute
22733 # the first set of double-colon rules, so remove it if not needed.
22734 # If there is a colon in the path, we need to keep it.
22735 if test "x$srcdir" = x.
; then
22736 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22739 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22741 DEFS
=-DHAVE_CONFIG_H
22743 # Without the "./", some shells look in PATH for config.status.
22744 : ${CONFIG_STATUS=./config.status}
22746 echo creating
$CONFIG_STATUS
22747 rm -f $CONFIG_STATUS
22748 cat > $CONFIG_STATUS <<EOF
22750 # Generated automatically by configure.
22751 # Run this file to recreate the current configuration.
22752 # This directory was configured as follows,
22753 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22755 # $0 $ac_configure_args
22757 # Compiler output produced by configure, useful for debugging
22758 # configure, is in ./config.log if it exists.
22760 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22763 case "\$ac_option" in
22764 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22765 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22766 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22767 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22768 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22770 -help | --help | --hel | --he | --h)
22771 echo "\$ac_cs_usage"; exit 0 ;;
22772 *) echo "\$ac_cs_usage"; exit 1 ;;
22776 ac_given_srcdir=$srcdir
22777 ac_given_INSTALL="$INSTALL"
22779 trap 'rm -fr `echo "
22786 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22788 cat >> $CONFIG_STATUS <<EOF
22790 # Protect against being on the right side of a sed subst in config.status.
22791 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22792 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22796 s%@CFLAGS@%$CFLAGS%g
22797 s%@CPPFLAGS@%$CPPFLAGS%g
22798 s%@CXXFLAGS@%$CXXFLAGS%g
22799 s%@FFLAGS@%$FFLAGS%g
22801 s%@LDFLAGS@%$LDFLAGS%g
22803 s%@exec_prefix@%$exec_prefix%g
22804 s%@prefix@%$prefix%g
22805 s%@program_transform_name@%$program_transform_name%g
22806 s%@bindir@%$bindir%g
22807 s%@sbindir@%$sbindir%g
22808 s%@libexecdir@%$libexecdir%g
22809 s%@datadir@%$datadir%g
22810 s%@sysconfdir@%$sysconfdir%g
22811 s%@sharedstatedir@%$sharedstatedir%g
22812 s%@localstatedir@%$localstatedir%g
22813 s%@libdir@%$libdir%g
22814 s%@includedir@%$includedir%g
22815 s%@oldincludedir@%$oldincludedir%g
22816 s%@infodir@%$infodir%g
22817 s%@mandir@%$mandir%g
22819 s%@host_alias@%$host_alias%g
22820 s%@host_cpu@%$host_cpu%g
22821 s%@host_vendor@%$host_vendor%g
22822 s%@host_os@%$host_os%g
22823 s%@target@%$target%g
22824 s%@target_alias@%$target_alias%g
22825 s%@target_cpu@%$target_cpu%g
22826 s%@target_vendor@%$target_vendor%g
22827 s%@target_os@%$target_os%g
22829 s%@build_alias@%$build_alias%g
22830 s%@build_cpu@%$build_cpu%g
22831 s%@build_vendor@%$build_vendor%g
22832 s%@build_os@%$build_os%g
22836 s%@RANLIB@%$RANLIB%g
22838 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22839 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22840 s%@INSTALL_DATA@%$INSTALL_DATA%g
22842 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22845 s%@LEXLIB@%$LEXLIB%g
22847 s%@CXXCPP@%$CXXCPP%g
22848 s%@PKG_CONFIG@%$PKG_CONFIG%g
22849 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22850 s%@GTK_LIBS@%$GTK_LIBS%g
22851 s%@GTK_CONFIG@%$GTK_CONFIG%g
22852 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22853 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22854 s%@X_CFLAGS@%$X_CFLAGS%g
22855 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22856 s%@X_LIBS@%$X_LIBS%g
22857 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22858 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22859 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22860 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22861 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22862 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22863 s%@RESCOMP@%$RESCOMP%g
22865 s%@SETFILE@%$SETFILE%g
22866 s%@LIBICONV@%$LIBICONV%g
22867 s%@LEX_STEM@%$LEX_STEM%g
22868 s%@PATH_IFS@%$PATH_IFS%g
22869 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22870 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22871 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22872 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22873 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22874 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22875 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22876 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22877 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22878 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22879 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22880 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22881 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22882 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22883 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22884 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22885 s%@WX_ALL@%$WX_ALL%g
22886 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22887 s%@SHARED_LD@%$SHARED_LD%g
22888 s%@PIC_FLAG@%$PIC_FLAG%g
22889 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22890 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22891 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22892 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22893 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22894 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22895 s%@STATIC_FLAG@%$STATIC_FLAG%g
22896 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22897 s%@USE_GUI@%$USE_GUI%g
22898 s%@AFMINSTALL@%$AFMINSTALL%g
22899 s%@WIN32INSTALL@%$WIN32INSTALL%g
22900 s%@TOOLKIT@%$TOOLKIT%g
22901 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22902 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22903 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22904 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22905 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22906 s%@top_builddir@%$top_builddir%g
22907 s%@cross_compiling@%$cross_compiling%g
22908 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22909 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22910 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22911 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22912 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22913 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22914 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22915 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22916 s%@ALL_HEADERS@%$ALL_HEADERS%g
22917 s%@ALL_SOURCES@%$ALL_SOURCES%g
22918 s%@GUIDIST@%$GUIDIST%g
22919 s%@PORT_FILES@%$PORT_FILES%g
22920 s%@DISTDIR@%$DISTDIR%g
22921 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22922 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22923 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22924 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22925 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22926 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22927 s%@EXTRADEFS@%$EXTRADEFS%g
22928 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22929 s%@RESFLAGS@%$RESFLAGS%g
22930 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22931 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22932 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22933 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22934 s%@LIBWXMACRES@%$LIBWXMACRES%g
22935 s%@MACRESCOMP@%$MACRESCOMP%g
22936 s%@MACSETFILE@%$MACSETFILE%g
22937 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22939 s%@DLLTOOL@%$DLLTOOL%g
22943 s%@MAKEINFO@%$MAKEINFO%g
22944 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22945 s%@INSTALL_DIR@%$INSTALL_DIR%g
22946 s%@SET_MAKE@%$SET_MAKE%g
22947 s%@subdirs@%$subdirs%g
22952 cat >> $CONFIG_STATUS <<\EOF
22954 # Split the substitutions into bite-sized pieces for seds with
22955 # small command number limits, like on Digital OSF/1 and HP-UX.
22956 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22957 ac_file
=1 # Number of current file.
22958 ac_beg
=1 # First line for current file.
22959 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22962 while $ac_more_lines; do
22963 if test $ac_beg -gt 1; then
22964 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22966 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22968 if test ! -s conftest.s
$ac_file; then
22969 ac_more_lines
=false
22970 rm -f conftest.s
$ac_file
22972 if test -z "$ac_sed_cmds"; then
22973 ac_sed_cmds
="sed -f conftest.s$ac_file"
22975 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22977 ac_file
=`expr $ac_file + 1`
22979 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22982 if test -z "$ac_sed_cmds"; then
22987 cat >> $CONFIG_STATUS <<EOF
22989 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22997 cat >> $CONFIG_STATUS <<\EOF
22998 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22999 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23001 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
23002 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
23003 *) ac_file_in
="${ac_file}.in" ;;
23006 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
23008 # Remove last slash and all that follows it. Not all systems have dirname.
23009 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23010 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
23011 # The file is in a subdirectory.
23012 test ! -d "$ac_dir" && mkdir "$ac_dir"
23013 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
23014 # A "../" for each directory in $ac_dir_suffix.
23015 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
23017 ac_dir_suffix
= ac_dots
=
23020 case "$ac_given_srcdir" in
23022 if test -z "$ac_dots"; then top_srcdir
=.
23023 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
23024 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
23025 *) # Relative path.
23026 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
23027 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
23030 case "$ac_given_INSTALL" in
23031 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
23032 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
23035 echo creating
"$ac_file"
23037 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
23039 *Makefile
*) ac_comsub
="1i\\
23040 # $configure_input" ;;
23044 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23046 s%@configure_input@%$configure_input%g
23047 s%@srcdir@%$srcdir%g
23048 s%@top_srcdir@%$top_srcdir%g
23049 s%@INSTALL@%$INSTALL%g
23050 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
23054 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23055 # NAME is the cpp macro being defined and VALUE is the value it is being given.
23057 # ac_d sets the value in "#define NAME VALUE" lines.
23058 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23059 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
23062 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
23063 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23064 ac_uB
='\([ ]\)%\1#\2define\3'
23067 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23068 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23069 ac_eB
='$%\1#\2define\3'
23073 if test "${CONFIG_HEADERS+set}" != set; then
23075 cat >> $CONFIG_STATUS <<EOF
23076 CONFIG_HEADERS="setup.h:setup.h.in"
23078 cat >> $CONFIG_STATUS <<\EOF
23080 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
23081 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23083 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
23084 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
23085 *) ac_file_in
="${ac_file}.in" ;;
23088 echo creating
$ac_file
23090 rm -f conftest.frag conftest.
in conftest.out
23091 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
23092 cat $ac_file_inputs > conftest.
in
23096 # Transform confdefs.h into a sed script conftest.vals that substitutes
23097 # the proper values into config.h.in to produce config.h. And first:
23098 # Protect against being on the right side of a sed subst in config.status.
23099 # Protect against being in an unquoted here document in config.status.
23100 rm -f conftest.vals
23101 cat > conftest.hdr
<<\EOF
23104 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
23108 sed -n -f conftest.hdr confdefs.h > conftest.vals
23111 # This sed command replaces #undef with comments. This is necessary, for
23112 # example, in the case of _POSIX_SOURCE, which is predefined and required
23113 # on some systems where configure will not decide to define it.
23114 cat >> conftest.vals <<\EOF
23115 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
23118 # Break up conftest.vals because some shells have a limit on
23119 # the size of here documents, and old seds have small limits too.
23121 rm -f conftest.tail
23124 ac_lines=`grep -c . conftest.vals
`
23125 # grep -c gives empty output for an empty file on some AIX systems.
23126 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
23127 # Write a limited-size here document to conftest.frag.
23128 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
23129 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
23131 sed -f conftest.frag conftest.in > conftest.out
23133 mv conftest.out conftest.in
23134 ' >> $CONFIG_STATUS
23135 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
23136 rm -f conftest.vals
23137 mv conftest.tail conftest.vals
23139 rm -f conftest.vals
23141 cat >> $CONFIG_STATUS <<\EOF
23142 rm -f conftest.frag conftest.h
23143 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
23144 cat conftest.in >> conftest.h
23146 if cmp -s $ac_file conftest.h 2>/dev/null; then
23147 echo "$ac_file is unchanged"
23150 # Remove last slash and all that follows it. Not all systems have dirname.
23151 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
23152 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
23153 # The file is in a subdirectory.
23154 test ! -d "$ac_dir" && mkdir "$ac_dir"
23157 mv conftest.h $ac_file
23162 cat >> $CONFIG_STATUS <<EOF
23164 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
23169 cat >> $CONFIG_STATUS <<\EOF
23171 if test ! -h wx-config; then
23173 mv wx-config wx${TOOLCHAIN_NAME}-config
23174 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
23177 if test ! -d lib; then
23180 if test ! -d lib/wx; then
23183 if test ! -d lib/wx/include; then
23184 mkdir lib/wx/include
23186 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
23187 mkdir lib/wx/include/${TOOLCHAIN_NAME}
23189 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
23190 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
23192 if test -f setup.h; then
23193 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
23198 chmod +x $CONFIG_STATUS
23199 rm -fr confdefs* $ac_clean_files
23200 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23202 if test "$no_recursion" != yes; then
23204 # Remove --cache-file and --srcdir arguments so they do not pile up.
23205 ac_sub_configure_args=
23207 for ac_arg in $ac_configure_args; do
23208 if test -n "$ac_prev"; then
23213 -cache-file | --cache-file | --cache-fil | --cache-fi \
23214 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23215 ac_prev=cache_file ;;
23216 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23217 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
23219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23223 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
23227 for ac_config_dir in demos samples utils contrib; do
23229 # Do not complain, so a configure script can configure whichever
23230 # parts of a large source tree are present.
23231 if test ! -d $srcdir/$ac_config_dir; then
23235 echo configuring in $ac_config_dir
23240 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23242 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23250 # A "../" for each directory in /$ac_config_dir.
23251 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23254 .) # No --srcdir option. We are building in place.
23255 ac_sub_srcdir=$srcdir ;;
23256 /*) # Absolute path.
23257 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23258 *) # Relative path.
23259 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23262 # Check for guested configure; otherwise get Cygnus style configure.
23263 if test -f $ac_sub_srcdir/configure; then
23264 ac_sub_configure=$ac_sub_srcdir/configure
23265 elif test -f $ac_sub_srcdir/configure.in; then
23266 ac_sub_configure=$ac_configure
23268 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23272 # The recursion is here.
23273 if test -n "$ac_sub_configure"; then
23275 # Make the cache file name correct relative to the subdirectory.
23276 case "$cache_file" in
23277 /*) ac_sub_cache_file=$cache_file ;;
23278 *) # Relative path.
23279 ac_sub_cache_file="$ac_dots$cache_file" ;;
23281 case "$ac_given_INSTALL" in
23282 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23283 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23286 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23287 # The eval makes quoting arguments work.
23288 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23291 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23301 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23303 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23305 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23306 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23307 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23309 echo " What level of wxWindows compatibility should be enabled?"
23310 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23311 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23312 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23314 echo " Which libraries should wxWindows use?"
23315 echo " jpeg ${wxUSE_LIBJPEG-none}"
23316 echo " png ${wxUSE_LIBPNG-none}"
23317 echo " regex ${wxUSE_REGEX}"
23318 echo " tiff ${wxUSE_LIBTIFF-none}"
23319 echo " zlib ${wxUSE_ZLIB}"