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-palette use wxPalette class"
428 --enable-image use wxImage class"
430 --enable-gif use gif images (GIF file format)"
432 --enable-pcx use pcx images (PCX file format)"
434 --enable-iff use iff images (IFF file format)"
436 --enable-pnm use pnm images (PNM file format)"
438 --enable-xpm use xpm images (XPM file format)"
440 --enable-icocur use Windows ICO and CUR formats"
442 --disable-largefile omit support for large files"
444 --disable-gtktest do not try to compile and run a test GTK+ program"
446 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
448 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
450 --disable-gtktest Do not try to compile and run a test GTK program"
452 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
454 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
456 --disable-gtktest Do not try to compile and run a test GTK program"
458 --with-x use the X Window System"
460 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib"
462 # Initialize some variables set by options.
463 # The variables have the same names as the options, with
464 # dashes changed to underlines.
466 cache_file
=.
/config.cache
475 program_transform_name
=s
,x
,x
,
483 bindir
='${exec_prefix}/bin'
484 sbindir
='${exec_prefix}/sbin'
485 libexecdir
='${exec_prefix}/libexec'
486 datadir
='${prefix}/share'
487 sysconfdir
='${prefix}/etc'
488 sharedstatedir
='${prefix}/com'
489 localstatedir
='${prefix}/var'
490 libdir
='${exec_prefix}/lib'
491 includedir
='${prefix}/include'
492 oldincludedir
='/usr/include'
493 infodir
='${prefix}/info'
494 mandir
='${prefix}/man'
496 # Initialize some other variables.
499 SHELL
=${CONFIG_SHELL-/bin/sh}
500 # Maximum number of lines to put in a shell here document.
507 # If the previous option needs an argument, assign it.
508 if test -n "$ac_prev"; then
509 eval "$ac_prev=\$ac_option"
515 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
519 # Accept the important Cygnus configure options, so we can diagnose typos.
523 -bindir | --bindir | --bindi | --bind | --bin | --bi)
525 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
526 bindir
="$ac_optarg" ;;
528 -build | --build | --buil | --bui | --bu)
530 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
531 build
="$ac_optarg" ;;
533 -cache-file | --cache-file | --cache-fil | --cache-fi \
534 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
535 ac_prev
=cache_file
;;
536 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
537 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
538 cache_file
="$ac_optarg" ;;
540 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
542 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
544 datadir
="$ac_optarg" ;;
546 -disable-* | --disable-*)
547 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
548 # Reject names that are not valid shell variable names.
549 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
550 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
552 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
553 eval "enable_${ac_feature}=no" ;;
555 -enable-* | --enable-*)
556 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
557 # Reject names that are not valid shell variable names.
558 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
559 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
561 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
566 eval "enable_${ac_feature}='$ac_optarg'" ;;
568 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
569 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
570 | --exec | --exe | --ex)
571 ac_prev
=exec_prefix
;;
572 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
573 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
574 | --exec=* | --exe=* | --ex=*)
575 exec_prefix
="$ac_optarg" ;;
577 -gas | --gas | --ga | --g)
578 # Obsolete; use --with-gas.
581 -help | --help | --hel | --he)
582 # Omit some internal or obsolete options to make the list less imposing.
583 # This message is too long to be a string in the A/UX 3.1 sh.
585 Usage: configure [options] [host]
586 Options: [defaults in brackets after descriptions]
588 --cache-file=FILE cache test results in FILE
589 --help print this message
590 --no-create do not create output files
591 --quiet, --silent do not print \`checking...' messages
592 --version print the version of autoconf that created configure
593 Directory and file names:
594 --prefix=PREFIX install architecture-independent files in PREFIX
596 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
598 --bindir=DIR user executables in DIR [EPREFIX/bin]
599 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
600 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
601 --datadir=DIR read-only architecture-independent data in DIR
603 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
604 --sharedstatedir=DIR modifiable architecture-independent data in DIR
606 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
607 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
608 --includedir=DIR C header files in DIR [PREFIX/include]
609 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
610 --infodir=DIR info documentation in DIR [PREFIX/info]
611 --mandir=DIR man documentation in DIR [PREFIX/man]
612 --srcdir=DIR find the sources in DIR [configure dir or ..]
613 --program-prefix=PREFIX prepend PREFIX to installed program names
614 --program-suffix=SUFFIX append SUFFIX to installed program names
615 --program-transform-name=PROGRAM
616 run sed PROGRAM on installed program names
620 --build=BUILD configure for building on BUILD [BUILD=HOST]
621 --host=HOST configure for HOST [guessed]
622 --target=TARGET configure for TARGET [TARGET=HOST]
623 Features and packages:
624 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
625 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
626 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
627 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
628 --x-includes=DIR X include files are in DIR
629 --x-libraries=DIR X library files are in DIR
631 if test -n "$ac_help"; then
632 echo "--enable and --with options recognized:$ac_help"
636 -host | --host | --hos | --ho)
638 -host=* | --host=* | --hos=* | --ho=*)
641 -includedir | --includedir | --includedi | --included | --include \
642 | --includ | --inclu | --incl | --inc)
643 ac_prev
=includedir
;;
644 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
645 | --includ=* | --inclu=* | --incl=* | --inc=*)
646 includedir
="$ac_optarg" ;;
648 -infodir | --infodir | --infodi | --infod | --info | --inf)
650 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
651 infodir
="$ac_optarg" ;;
653 -libdir | --libdir | --libdi | --libd)
655 -libdir=* | --libdir=* | --libdi=* | --libd=*)
656 libdir
="$ac_optarg" ;;
658 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
659 | --libexe | --libex | --libe)
660 ac_prev
=libexecdir
;;
661 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
662 | --libexe=* | --libex=* | --libe=*)
663 libexecdir
="$ac_optarg" ;;
665 -localstatedir | --localstatedir | --localstatedi | --localstated \
666 | --localstate | --localstat | --localsta | --localst \
667 | --locals | --local | --loca | --loc | --lo)
668 ac_prev
=localstatedir
;;
669 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
670 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
671 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
672 localstatedir
="$ac_optarg" ;;
674 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
676 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
677 mandir
="$ac_optarg" ;;
680 # Obsolete; use --without-fp.
683 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
687 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
688 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
691 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
692 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
693 | --oldin | --oldi | --old | --ol | --o)
694 ac_prev
=oldincludedir
;;
695 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
696 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
697 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
698 oldincludedir
="$ac_optarg" ;;
700 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
702 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
703 prefix
="$ac_optarg" ;;
705 -program-prefix | --program-prefix | --program-prefi | --program-pref \
706 | --program-pre | --program-pr | --program-p)
707 ac_prev
=program_prefix
;;
708 -program-prefix=* | --program-prefix=* | --program-prefi=* \
709 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
710 program_prefix
="$ac_optarg" ;;
712 -program-suffix | --program-suffix | --program-suffi | --program-suff \
713 | --program-suf | --program-su | --program-s)
714 ac_prev
=program_suffix
;;
715 -program-suffix=* | --program-suffix=* | --program-suffi=* \
716 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
717 program_suffix
="$ac_optarg" ;;
719 -program-transform-name | --program-transform-name \
720 | --program-transform-nam | --program-transform-na \
721 | --program-transform-n | --program-transform- \
722 | --program-transform | --program-transfor \
723 | --program-transfo | --program-transf \
724 | --program-trans | --program-tran \
725 | --progr-tra | --program-tr | --program-t)
726 ac_prev
=program_transform_name
;;
727 -program-transform-name=* | --program-transform-name=* \
728 | --program-transform-nam=* | --program-transform-na=* \
729 | --program-transform-n=* | --program-transform-=* \
730 | --program-transform=* | --program-transfor=* \
731 | --program-transfo=* | --program-transf=* \
732 | --program-trans=* | --program-tran=* \
733 | --progr-tra=* | --program-tr=* | --program-t=*)
734 program_transform_name
="$ac_optarg" ;;
736 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
737 | -silent | --silent | --silen | --sile | --sil)
740 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
742 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
744 sbindir
="$ac_optarg" ;;
746 -sharedstatedir | --sharedstatedir | --sharedstatedi \
747 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
748 | --sharedst | --shareds | --shared | --share | --shar \
750 ac_prev
=sharedstatedir
;;
751 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
752 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
753 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
755 sharedstatedir
="$ac_optarg" ;;
757 -site | --site | --sit)
759 -site=* | --site=* | --sit=*)
762 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
764 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
765 srcdir
="$ac_optarg" ;;
767 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
768 | --syscon | --sysco | --sysc | --sys | --sy)
769 ac_prev
=sysconfdir
;;
770 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
771 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
772 sysconfdir
="$ac_optarg" ;;
774 -target | --target | --targe | --targ | --tar | --ta | --t)
776 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
777 target
="$ac_optarg" ;;
779 -v | -verbose | --verbose | --verbos | --verbo | --verb)
782 -version | --version | --versio | --versi | --vers)
783 echo "configure generated by autoconf version 2.13"
787 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
788 # Reject names that are not valid shell variable names.
789 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
790 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
792 ac_package
=`echo $ac_package| sed 's/-/_/g'`
797 eval "with_${ac_package}='$ac_optarg'" ;;
799 -without-* | --without-*)
800 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
801 # Reject names that are not valid shell variable names.
802 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
803 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
805 ac_package
=`echo $ac_package| sed 's/-/_/g'`
806 eval "with_${ac_package}=no" ;;
809 # Obsolete; use --with-x.
812 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
813 | --x-incl | --x-inc | --x-in | --x-i)
814 ac_prev
=x_includes
;;
815 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
816 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
817 x_includes
="$ac_optarg" ;;
819 -x-libraries | --x-libraries | --x-librarie | --x-librari \
820 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
821 ac_prev
=x_libraries
;;
822 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
823 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
824 x_libraries
="$ac_optarg" ;;
826 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
830 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
831 echo "configure: warning: $ac_option: invalid host type" 1>&2
833 if test "x$nonopt" != xNONE
; then
834 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
842 if test -n "$ac_prev"; then
843 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
846 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
848 # File descriptor usage:
851 # 2 errors and warnings
852 # 3 some systems may open it to /dev/tty
853 # 4 used on the Kubota Titan
854 # 6 checking for... messages and results
855 # 5 compiler messages saved in config.log
856 if test "$silent" = yes; then
864 This file contains any messages produced by compilers while
865 running configure, to aid debugging if configure makes a mistake.
868 # Strip out --no-create and --no-recursion so they do not pile up.
869 # Also quote any args containing shell metacharacters.
874 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
875 | --no-cr | --no-c) ;;
876 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
877 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
878 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
879 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
880 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
885 # Only set these to C if already set. These must not be set unconditionally
886 # because not all systems understand e.g. LANG=C (notably SCO).
887 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
888 # Non-C LC_CTYPE values break the ctype check.
889 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
890 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
891 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
892 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
894 # confdefs.h avoids OS command line length limits that DEFS can exceed.
895 rm -rf conftest
* confdefs.h
896 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
899 # A filename unique to this package, relative to the directory that
900 # configure is in, which we can look for to find out if srcdir is correct.
901 ac_unique_file
=wx
-config.
in
903 # Find the source files, if location was not specified.
904 if test -z "$srcdir"; then
905 ac_srcdir_defaulted
=yes
906 # Try the directory containing this script, then its parent.
908 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
909 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
911 if test ! -r $srcdir/$ac_unique_file; then
915 ac_srcdir_defaulted
=no
917 if test ! -r $srcdir/$ac_unique_file; then
918 if test "$ac_srcdir_defaulted" = yes; then
919 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
921 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
924 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
926 # Prefer explicitly selected file to automatically selected ones.
927 if test -z "$CONFIG_SITE"; then
928 if test "x$prefix" != xNONE
; then
929 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
931 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
934 for ac_site_file
in $CONFIG_SITE; do
935 if test -r "$ac_site_file"; then
936 echo "loading site script $ac_site_file"
941 if test -r "$cache_file"; then
942 echo "loading cache $cache_file"
945 echo "creating cache $cache_file"
950 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
951 ac_cpp
='$CPP $CPPFLAGS'
952 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
953 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
954 cross_compiling
=$ac_cv_prog_cc_cross
958 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
959 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
960 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
967 ac_n
= ac_c
='\c' ac_t
=
973 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
974 if test -f $ac_dir/install-sh; then
976 ac_install_sh
="$ac_aux_dir/install-sh -c"
978 elif test -f $ac_dir/install.sh
; then
980 ac_install_sh
="$ac_aux_dir/install.sh -c"
984 if test -z "$ac_aux_dir"; then
985 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
987 ac_config_guess
=$ac_aux_dir/config.guess
988 ac_config_sub
=$ac_aux_dir/config.sub
989 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
992 # Do some error checking and defaulting for the host and target type.
994 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
997 # 1. You are not allowed to specify --host, --target, and nonopt at the
999 # 2. Host defaults to nonopt.
1000 # 3. If nonopt is not specified, then host defaults to the current host,
1001 # as determined by config.guess.
1002 # 4. Target and build default to nonopt.
1003 # 5. If nonopt is not specified, then target and build default to host.
1005 # The aliases save the names the user supplied, while $host etc.
1006 # will get canonicalized.
1007 case $host---$target---$nonopt in
1008 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1009 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1013 # Make sure we can run config.sub.
1014 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1015 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1018 echo $ac_n "checking host system type""... $ac_c" 1>&6
1019 echo "configure:1020: checking host system type" >&5
1022 case "$host_alias" in
1026 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1027 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1029 *) host_alias
=$nonopt ;;
1033 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1034 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1035 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1036 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1037 echo "$ac_t""$host" 1>&6
1039 echo $ac_n "checking target system type""... $ac_c" 1>&6
1040 echo "configure:1041: checking target system type" >&5
1042 target_alias
=$target
1043 case "$target_alias" in
1046 NONE
) target_alias
=$host_alias ;;
1047 *) target_alias
=$nonopt ;;
1051 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1052 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1053 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1054 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1055 echo "$ac_t""$target" 1>&6
1057 echo $ac_n "checking build system type""... $ac_c" 1>&6
1058 echo "configure:1059: checking build system type" >&5
1061 case "$build_alias" in
1064 NONE
) build_alias
=$host_alias ;;
1065 *) build_alias
=$nonopt ;;
1069 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1070 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1071 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1072 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1073 echo "$ac_t""$build" 1>&6
1075 test "$host_alias" != "$target_alias" &&
1076 test "$program_prefix$program_suffix$program_transform_name" = \
1078 program_prefix
=${target_alias}-
1082 WX_MAJOR_VERSION_NUMBER
=2
1083 WX_MINOR_VERSION_NUMBER
=5
1086 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1087 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1089 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1123 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1125 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1127 DEFAULT_wxUSE_COCOA
=0
1131 DEFAULT_wxUSE_MICROWIN
=0
1132 DEFAULT_wxUSE_MOTIF
=0
1137 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1138 DEFAULT_DEFAULT_wxUSE_GTK
=0
1139 DEFAULT_DEFAULT_wxUSE_MAC
=0
1140 DEFAULT_DEFAULT_wxUSE_MGL
=0
1141 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1142 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1143 DEFAULT_DEFAULT_wxUSE_MSW
=0
1144 DEFAULT_DEFAULT_wxUSE_PM
=0
1145 DEFAULT_DEFAULT_wxUSE_X11
=0
1153 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1154 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1156 cat >> confdefs.h
<<\EOF
1163 cat >> confdefs.h
<<\EOF
1168 if test "x$TMP" = "xalpha"; then
1170 cat >> confdefs.h
<<\EOF
1175 DEFAULT_DEFAULT_wxUSE_GTK
=1
1177 *-*-irix5* | *-*-irix6* )
1180 cat >> confdefs.h
<<\EOF
1184 cat >> confdefs.h
<<\EOF
1188 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1194 cat >> confdefs.h
<<\EOF
1198 cat >> confdefs.h
<<\EOF
1199 #define __SOLARIS__ 1
1202 cat >> confdefs.h
<<\EOF
1206 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1207 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1213 cat >> confdefs.h
<<\EOF
1217 cat >> confdefs.h
<<\EOF
1221 cat >> confdefs.h
<<\EOF
1225 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1230 cat >> confdefs.h
<<\EOF
1231 #define __FREEBSD__ 1
1234 cat >> confdefs.h
<<\EOF
1238 DEFAULT_DEFAULT_wxUSE_GTK
=1
1243 cat >> confdefs.h
<<\EOF
1244 #define __OPENBSD__ 1
1247 cat >> confdefs.h
<<\EOF
1251 DEFAULT_DEFAULT_wxUSE_GTK
=1
1256 cat >> confdefs.h
<<\EOF
1257 #define __NETBSD__ 1
1260 cat >> confdefs.h
<<\EOF
1264 DEFAULT_DEFAULT_wxUSE_GTK
=1
1269 cat >> confdefs.h
<<\EOF
1273 cat >> confdefs.h
<<\EOF
1277 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1278 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1283 cat >> confdefs.h
<<\EOF
1287 cat >> confdefs.h
<<\EOF
1291 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1296 cat >> confdefs.h
<<\EOF
1300 cat >> confdefs.h
<<\EOF
1304 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1311 cat >> confdefs.h
<<\EOF
1315 cat >> confdefs.h
<<\EOF
1319 cat >> confdefs.h
<<\EOF
1323 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1326 *-*-cygwin* | *-*-mingw32* )
1330 DEFAULT_DEFAULT_wxUSE_MSW
=1
1336 cat >> confdefs.h
<<\EOF
1341 DEFAULT_DEFAULT_wxUSE_MGL
=1
1342 LIBS
="$LIBS -lstdc++"
1345 *-pc-os2_emx | *-pc-os2-emx )
1346 cat >> confdefs.h
<<\EOF
1351 DEFAULT_DEFAULT_wxUSE_PM
=1
1358 cat >> confdefs.h
<<\EOF
1362 cat >> confdefs.h
<<\EOF
1363 #define __DARWIN__ 1
1366 cat >> confdefs.h
<<\EOF
1367 #define __POWERPC__ 1
1370 cat >> confdefs.h
<<\EOF
1371 #define TARGET_CARBON 1
1374 DEFAULT_DEFAULT_wxUSE_MAC
=1
1379 cat >> confdefs.h
<<\EOF
1386 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1392 wx_arg_cache_file
="configarg.cache"
1393 echo "loading argument cache $wx_arg_cache_file"
1394 rm -f ${wx_arg_cache_file}.tmp
1395 touch ${wx_arg_cache_file}.tmp
1396 touch ${wx_arg_cache_file}
1400 if test $DEBUG_CONFIGURE = 1; then
1401 DEFAULT_wxUSE_UNIVERSAL
=no
1403 DEFAULT_wxUSE_NANOX
=no
1405 DEFAULT_wxUSE_THREADS
=yes
1407 DEFAULT_wxUSE_SHARED
=yes
1408 DEFAULT_wxUSE_SONAME
=no
1409 DEFAULT_wxUSE_OPTIMISE
=no
1410 DEFAULT_wxUSE_PROFILE
=no
1411 DEFAULT_wxUSE_NO_DEPS
=no
1412 DEFAULT_wxUSE_NO_RTTI
=no
1413 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1414 DEFAULT_wxUSE_PERMISSIVE
=no
1415 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1416 DEFAULT_wxUSE_DEBUG_INFO
=yes
1417 DEFAULT_wxUSE_DEBUG_GDB
=yes
1418 DEFAULT_wxUSE_MEM_TRACING
=no
1419 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1420 DEFAULT_wxUSE_DMALLOC
=no
1421 DEFAULT_wxUSE_PRECOMP
=no
1422 DEFAULT_wxUSE_APPLE_IEEE
=no
1424 DEFAULT_wxUSE_LOG
=yes
1425 DEFAULT_wxUSE_LOGWINDOW
=no
1426 DEFAULT_wxUSE_LOGGUI
=no
1427 DEFAULT_wxUSE_LOGDIALOG
=no
1429 DEFAULT_wxUSE_GUI
=yes
1430 DEFAULT_wxUSE_CONTROLS
=no
1432 DEFAULT_wxUSE_REGEX
=no
1433 DEFAULT_wxUSE_ZLIB
=no
1434 DEFAULT_wxUSE_LIBPNG
=no
1435 DEFAULT_wxUSE_LIBJPEG
=no
1436 DEFAULT_wxUSE_LIBTIFF
=no
1437 DEFAULT_wxUSE_ODBC
=no
1438 DEFAULT_wxUSE_OPENGL
=no
1440 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1441 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1442 DEFAULT_wxUSE_STD_IOSTREAM
=no
1443 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1444 DEFAULT_wxUSE_DATETIME
=no
1445 DEFAULT_wxUSE_TIMER
=no
1446 DEFAULT_wxUSE_STOPWATCH
=no
1447 DEFAULT_wxUSE_FILE
=no
1448 DEFAULT_wxUSE_FFILE
=no
1449 DEFAULT_wxUSE_TEXTBUFFER
=no
1450 DEFAULT_wxUSE_TEXTFILE
=no
1451 DEFAULT_wxUSE_WAVE
=no
1452 DEFAULT_wxUSE_INTL
=no
1453 DEFAULT_wxUSE_CONFIG
=no
1454 DEFAULT_wxUSE_FONTMAP
=no
1455 DEFAULT_wxUSE_STREAMS
=no
1456 DEFAULT_wxUSE_SOCKETS
=no
1457 DEFAULT_wxUSE_OLE
=no
1458 DEFAULT_wxUSE_DATAOBJ
=no
1459 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1460 DEFAULT_wxUSE_JOYSTICK
=no
1461 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1462 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1463 DEFAULT_wxUSE_LONGLONG
=no
1464 DEFAULT_wxUSE_GEOMETRY
=no
1466 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1467 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1468 DEFAULT_wxUSE_POSTSCRIPT
=no
1470 DEFAULT_wxUSE_X_RESOURCES
=no
1471 DEFAULT_wxUSE_CLIPBOARD
=no
1472 DEFAULT_wxUSE_TOOLTIPS
=no
1473 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1474 DEFAULT_wxUSE_DRAGIMAGE
=no
1475 DEFAULT_wxUSE_SPLINES
=no
1477 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1478 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1479 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1481 DEFAULT_wxUSE_RESOURCES
=no
1482 DEFAULT_wxUSE_CONSTRAINTS
=no
1483 DEFAULT_wxUSE_IPC
=no
1484 DEFAULT_wxUSE_HELP
=no
1485 DEFAULT_wxUSE_MS_HTML_HELP
=no
1486 DEFAULT_wxUSE_WXHTML_HELP
=no
1487 DEFAULT_wxUSE_TREELAYOUT
=no
1488 DEFAULT_wxUSE_METAFILE
=no
1489 DEFAULT_wxUSE_MIMETYPE
=no
1490 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1491 DEFAULT_wxUSE_PROTOCOL
=no
1492 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1493 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1494 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1495 DEFAULT_wxUSE_URL
=no
1497 DEFAULT_wxUSE_COMMONDLGS
=no
1498 DEFAULT_wxUSE_CHOICEDLG
=no
1499 DEFAULT_wxUSE_COLOURDLG
=no
1500 DEFAULT_wxUSE_DIRDLG
=no
1501 DEFAULT_wxUSE_FILEDLG
=no
1502 DEFAULT_wxUSE_FINDREPLDLG
=no
1503 DEFAULT_wxUSE_FONTDLG
=no
1504 DEFAULT_wxUSE_MSGDLG
=no
1505 DEFAULT_wxUSE_NUMBERDLG
=no
1506 DEFAULT_wxUSE_TEXTDLG
=no
1507 DEFAULT_wxUSE_SPLASH
=no
1508 DEFAULT_wxUSE_STARTUP_TIPS
=no
1509 DEFAULT_wxUSE_PROGRESSDLG
=no
1510 DEFAULT_wxUSE_WIZARDDLG
=no
1512 DEFAULT_wxUSE_MENUS
=no
1513 DEFAULT_wxUSE_MINIFRAME
=no
1514 DEFAULT_wxUSE_HTML
=no
1515 DEFAULT_wxUSE_FILESYSTEM
=no
1516 DEFAULT_wxUSE_FS_INET
=no
1517 DEFAULT_wxUSE_FS_ZIP
=no
1518 DEFAULT_wxUSE_BUSYINFO
=no
1519 DEFAULT_wxUSE_ZIPSTREAM
=no
1520 DEFAULT_wxUSE_VALIDATORS
=no
1522 DEFAULT_wxUSE_ACCEL
=no
1523 DEFAULT_wxUSE_BUTTON
=no
1524 DEFAULT_wxUSE_BMPBUTTON
=no
1525 DEFAULT_wxUSE_CALCTRL
=no
1526 DEFAULT_wxUSE_CARET
=no
1527 DEFAULT_wxUSE_CHECKBOX
=no
1528 DEFAULT_wxUSE_CHECKLST
=no
1529 DEFAULT_wxUSE_CHOICE
=no
1530 DEFAULT_wxUSE_COMBOBOX
=no
1531 DEFAULT_wxUSE_DISPLAY
=no
1532 DEFAULT_wxUSE_GAUGE
=no
1533 DEFAULT_wxUSE_GRID
=no
1534 DEFAULT_wxUSE_IMAGLIST
=no
1535 DEFAULT_wxUSE_LISTBOX
=no
1536 DEFAULT_wxUSE_LISTCTRL
=no
1537 DEFAULT_wxUSE_NOTEBOOK
=no
1538 DEFAULT_wxUSE_RADIOBOX
=no
1539 DEFAULT_wxUSE_RADIOBTN
=no
1540 DEFAULT_wxUSE_SASH
=no
1541 DEFAULT_wxUSE_SCROLLBAR
=no
1542 DEFAULT_wxUSE_SLIDER
=no
1543 DEFAULT_wxUSE_SPINBTN
=no
1544 DEFAULT_wxUSE_SPINCTRL
=no
1545 DEFAULT_wxUSE_SPLITTER
=no
1546 DEFAULT_wxUSE_STATBMP
=no
1547 DEFAULT_wxUSE_STATBOX
=no
1548 DEFAULT_wxUSE_STATLINE
=no
1549 DEFAULT_wxUSE_STATTEXT
=no
1550 DEFAULT_wxUSE_STATUSBAR
=yes
1551 DEFAULT_wxUSE_TABDIALOG
=no
1552 DEFAULT_wxUSE_TEXTCTRL
=no
1553 DEFAULT_wxUSE_TOGGLEBTN
=no
1554 DEFAULT_wxUSE_TOOLBAR
=no
1555 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1556 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1557 DEFAULT_wxUSE_TREECTRL
=no
1558 DEFAULT_wxUSE_POPUPWIN
=no
1559 DEFAULT_wxUSE_TIPWINDOW
=no
1561 DEFAULT_wxUSE_UNICODE
=no
1562 DEFAULT_wxUSE_UNICODE_MSLU
=no
1563 DEFAULT_wxUSE_WCSRTOMBS
=no
1565 DEFAULT_wxUSE_PALETTE
=no
1566 DEFAULT_wxUSE_IMAGE
=no
1567 DEFAULT_wxUSE_GIF
=no
1568 DEFAULT_wxUSE_PCX
=no
1569 DEFAULT_wxUSE_PNM
=no
1570 DEFAULT_wxUSE_IFF
=no
1571 DEFAULT_wxUSE_XPM
=no
1572 DEFAULT_wxUSE_ICO_CUR
=no
1574 DEFAULT_wxUSE_UNIVERSAL
=no
1576 DEFAULT_wxUSE_NANOX
=no
1578 DEFAULT_wxUSE_THREADS
=yes
1580 DEFAULT_wxUSE_SHARED
=yes
1581 DEFAULT_wxUSE_SONAME
=no
1582 DEFAULT_wxUSE_OPTIMISE
=yes
1583 DEFAULT_wxUSE_PROFILE
=no
1584 DEFAULT_wxUSE_NO_DEPS
=no
1585 DEFAULT_wxUSE_NO_RTTI
=no
1586 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1587 DEFAULT_wxUSE_PERMISSIVE
=no
1588 DEFAULT_wxUSE_DEBUG_FLAG
=no
1589 DEFAULT_wxUSE_DEBUG_INFO
=no
1590 DEFAULT_wxUSE_DEBUG_GDB
=no
1591 DEFAULT_wxUSE_MEM_TRACING
=no
1592 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1593 DEFAULT_wxUSE_DMALLOC
=no
1594 DEFAULT_wxUSE_PRECOMP
=no
1595 DEFAULT_wxUSE_APPLE_IEEE
=yes
1597 DEFAULT_wxUSE_LOG
=yes
1598 DEFAULT_wxUSE_LOGWINDOW
=yes
1599 DEFAULT_wxUSE_LOGGUI
=yes
1600 DEFAULT_wxUSE_LOGDIALOG
=yes
1602 DEFAULT_wxUSE_GUI
=yes
1604 DEFAULT_wxUSE_REGEX
=yes
1605 DEFAULT_wxUSE_ZLIB
=yes
1606 DEFAULT_wxUSE_LIBPNG
=yes
1607 DEFAULT_wxUSE_LIBJPEG
=yes
1608 DEFAULT_wxUSE_LIBTIFF
=yes
1609 DEFAULT_wxUSE_ODBC
=no
1610 DEFAULT_wxUSE_OPENGL
=no
1612 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1613 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1614 DEFAULT_wxUSE_STD_IOSTREAM
=no
1615 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1616 DEFAULT_wxUSE_DATETIME
=yes
1617 DEFAULT_wxUSE_TIMER
=yes
1618 DEFAULT_wxUSE_STOPWATCH
=yes
1619 DEFAULT_wxUSE_FILE
=yes
1620 DEFAULT_wxUSE_FFILE
=yes
1621 DEFAULT_wxUSE_TEXTBUFFER
=yes
1622 DEFAULT_wxUSE_TEXTFILE
=yes
1623 DEFAULT_wxUSE_WAVE
=no
1624 DEFAULT_wxUSE_INTL
=yes
1625 DEFAULT_wxUSE_CONFIG
=yes
1626 DEFAULT_wxUSE_FONTMAP
=yes
1627 DEFAULT_wxUSE_STREAMS
=yes
1628 DEFAULT_wxUSE_SOCKETS
=yes
1629 DEFAULT_wxUSE_OLE
=yes
1630 DEFAULT_wxUSE_DATAOBJ
=yes
1631 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1632 DEFAULT_wxUSE_JOYSTICK
=yes
1633 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1634 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1635 DEFAULT_wxUSE_LONGLONG
=yes
1636 DEFAULT_wxUSE_GEOMETRY
=yes
1638 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1639 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1640 DEFAULT_wxUSE_POSTSCRIPT
=yes
1642 DEFAULT_wxUSE_X_RESOURCES
=no
1643 DEFAULT_wxUSE_CLIPBOARD
=yes
1644 DEFAULT_wxUSE_TOOLTIPS
=yes
1645 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1646 DEFAULT_wxUSE_DRAGIMAGE
=yes
1647 DEFAULT_wxUSE_SPLINES
=yes
1649 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1650 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1651 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1653 DEFAULT_wxUSE_RESOURCES
=no
1654 DEFAULT_wxUSE_CONSTRAINTS
=yes
1655 DEFAULT_wxUSE_IPC
=yes
1656 DEFAULT_wxUSE_HELP
=yes
1657 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1658 DEFAULT_wxUSE_WXHTML_HELP
=yes
1659 DEFAULT_wxUSE_TREELAYOUT
=yes
1660 DEFAULT_wxUSE_METAFILE
=yes
1661 DEFAULT_wxUSE_MIMETYPE
=yes
1662 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1663 DEFAULT_wxUSE_PROTOCOL
=yes
1664 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1665 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1666 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1667 DEFAULT_wxUSE_URL
=yes
1669 DEFAULT_wxUSE_COMMONDLGS
=yes
1670 DEFAULT_wxUSE_CHOICEDLG
=yes
1671 DEFAULT_wxUSE_COLOURDLG
=yes
1672 DEFAULT_wxUSE_DIRDLG
=yes
1673 DEFAULT_wxUSE_FILEDLG
=yes
1674 DEFAULT_wxUSE_FINDREPLDLG
=yes
1675 DEFAULT_wxUSE_FONTDLG
=yes
1676 DEFAULT_wxUSE_MSGDLG
=yes
1677 DEFAULT_wxUSE_NUMBERDLG
=yes
1678 DEFAULT_wxUSE_TEXTDLG
=yes
1679 DEFAULT_wxUSE_SPLASH
=yes
1680 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1681 DEFAULT_wxUSE_PROGRESSDLG
=yes
1682 DEFAULT_wxUSE_WIZARDDLG
=yes
1684 DEFAULT_wxUSE_MENUS
=yes
1685 DEFAULT_wxUSE_MINIFRAME
=yes
1686 DEFAULT_wxUSE_HTML
=yes
1687 DEFAULT_wxUSE_FILESYSTEM
=yes
1688 DEFAULT_wxUSE_FS_INET
=yes
1689 DEFAULT_wxUSE_FS_ZIP
=yes
1690 DEFAULT_wxUSE_BUSYINFO
=yes
1691 DEFAULT_wxUSE_ZIPSTREAM
=yes
1692 DEFAULT_wxUSE_VALIDATORS
=yes
1694 DEFAULT_wxUSE_ACCEL
=yes
1695 DEFAULT_wxUSE_BUTTON
=yes
1696 DEFAULT_wxUSE_BMPBUTTON
=yes
1697 DEFAULT_wxUSE_CALCTRL
=yes
1698 DEFAULT_wxUSE_CARET
=yes
1699 DEFAULT_wxUSE_CHECKBOX
=yes
1700 DEFAULT_wxUSE_CHECKLST
=yes
1701 DEFAULT_wxUSE_CHOICE
=yes
1702 DEFAULT_wxUSE_COMBOBOX
=yes
1703 DEFAULT_wxUSE_DISPLAY
=no
1704 DEFAULT_wxUSE_GAUGE
=yes
1705 DEFAULT_wxUSE_GRID
=yes
1706 DEFAULT_wxUSE_IMAGLIST
=yes
1707 DEFAULT_wxUSE_LISTBOX
=yes
1708 DEFAULT_wxUSE_LISTCTRL
=yes
1709 DEFAULT_wxUSE_NOTEBOOK
=yes
1710 DEFAULT_wxUSE_RADIOBOX
=yes
1711 DEFAULT_wxUSE_RADIOBTN
=yes
1712 DEFAULT_wxUSE_SASH
=yes
1713 DEFAULT_wxUSE_SCROLLBAR
=yes
1714 DEFAULT_wxUSE_SLIDER
=yes
1715 DEFAULT_wxUSE_SPINBTN
=yes
1716 DEFAULT_wxUSE_SPINCTRL
=yes
1717 DEFAULT_wxUSE_SPLITTER
=yes
1718 DEFAULT_wxUSE_STATBMP
=yes
1719 DEFAULT_wxUSE_STATBOX
=yes
1720 DEFAULT_wxUSE_STATLINE
=yes
1721 DEFAULT_wxUSE_STATTEXT
=yes
1722 DEFAULT_wxUSE_STATUSBAR
=yes
1723 DEFAULT_wxUSE_TABDIALOG
=no
1724 DEFAULT_wxUSE_TEXTCTRL
=yes
1725 DEFAULT_wxUSE_TOGGLEBTN
=yes
1726 DEFAULT_wxUSE_TOOLBAR
=yes
1727 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1728 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1729 DEFAULT_wxUSE_TREECTRL
=yes
1730 DEFAULT_wxUSE_POPUPWIN
=yes
1731 DEFAULT_wxUSE_TIPWINDOW
=yes
1733 DEFAULT_wxUSE_UNICODE
=no
1734 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1735 DEFAULT_wxUSE_WCSRTOMBS
=no
1737 DEFAULT_wxUSE_PALETTE
=yes
1738 DEFAULT_wxUSE_IMAGE
=yes
1739 DEFAULT_wxUSE_GIF
=yes
1740 DEFAULT_wxUSE_PCX
=yes
1741 DEFAULT_wxUSE_IFF
=no
1742 DEFAULT_wxUSE_PNM
=yes
1743 DEFAULT_wxUSE_XPM
=yes
1744 DEFAULT_wxUSE_ICO_CUR
=yes
1749 for toolkit
in `echo $ALL_TOOLKITS`; do
1750 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1751 if test "x$LINE" != "x" ; then
1752 has_toolkit_in_cache
=1
1753 eval "DEFAULT_$LINE"
1754 eval "CACHE_$toolkit=1"
1761 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1762 echo "configure:1763: checking for --${enablestring:-enable}-gui" >&5
1764 # Check whether --enable-gui or --disable-gui was given.
1765 if test "${enable_gui+set}" = set; then
1766 enableval
="$enable_gui"
1768 if test "$enableval" = yes; then
1769 ac_cv_use_gui
='wxUSE_GUI=yes'
1771 ac_cv_use_gui
='wxUSE_GUI=no'
1776 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1777 if test "x$LINE" != x
; then
1778 eval "DEFAULT_$LINE"
1783 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1788 eval "$ac_cv_use_gui"
1789 if test "$no_cache" != 1; then
1790 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1793 if test "$wxUSE_GUI" = yes; then
1794 echo "$ac_t""yes" 1>&6
1796 echo "$ac_t""no" 1>&6
1800 if test "$wxUSE_GUI" = "yes"; then
1804 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1805 echo "configure:1806: checking for --${enablestring:-enable}-universal" >&5
1807 # Check whether --enable-universal or --disable-universal was given.
1808 if test "${enable_universal+set}" = set; then
1809 enableval
="$enable_universal"
1811 if test "$enableval" = yes; then
1812 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1814 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1819 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1820 if test "x$LINE" != x
; then
1821 eval "DEFAULT_$LINE"
1826 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1831 eval "$ac_cv_use_universal"
1832 if test "$no_cache" != 1; then
1833 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1836 if test "$wxUSE_UNIVERSAL" = yes; then
1837 echo "$ac_t""yes" 1>&6
1839 echo "$ac_t""no" 1>&6
1842 # Check whether --with-gtk or --without-gtk was given.
1843 if test "${with_gtk+set}" = set; then
1845 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1848 # Check whether --with-motif or --without-motif was given.
1849 if test "${with_motif+set}" = set; then
1850 withval
="$with_motif"
1851 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1854 # Check whether --with-mac or --without-mac was given.
1855 if test "${with_mac+set}" = set; then
1857 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1860 # Check whether --with-cocoa or --without-cocoa was given.
1861 if test "${with_cocoa+set}" = set; then
1862 withval
="$with_cocoa"
1863 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1866 # Check whether --with-wine or --without-wine was given.
1867 if test "${with_wine+set}" = set; then
1868 withval
="$with_wine"
1869 wxUSE_WINE
="$withval" CACHE_WINE
=1
1872 # Check whether --with-msw or --without-msw was given.
1873 if test "${with_msw+set}" = set; then
1875 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1878 # Check whether --with-pm or --without-pm was given.
1879 if test "${with_pm+set}" = set; then
1881 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1884 # Check whether --with-mgl or --without-mgl was given.
1885 if test "${with_mgl+set}" = set; then
1887 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1890 # Check whether --with-microwin or --without-microwin was given.
1891 if test "${with_microwin+set}" = set; then
1892 withval
="$with_microwin"
1893 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1896 # Check whether --with-x11 or --without-x11 was given.
1897 if test "${with_x11+set}" = set; then
1899 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1904 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1905 echo "configure:1906: checking for --${enablestring:-enable}-nanox" >&5
1907 # Check whether --enable-nanox or --disable-nanox was given.
1908 if test "${enable_nanox+set}" = set; then
1909 enableval
="$enable_nanox"
1911 if test "$enableval" = yes; then
1912 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1914 ac_cv_use_nanox
='wxUSE_NANOX=no'
1919 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1920 if test "x$LINE" != x
; then
1921 eval "DEFAULT_$LINE"
1926 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1931 eval "$ac_cv_use_nanox"
1932 if test "$no_cache" != 1; then
1933 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1936 if test "$wxUSE_NANOX" = yes; then
1937 echo "$ac_t""yes" 1>&6
1939 echo "$ac_t""no" 1>&6
1945 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1946 echo "configure:1947: checking for --${enablestring:-enable}-gtk2" >&5
1948 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1949 if test "${enable_gtk2+set}" = set; then
1950 enableval
="$enable_gtk2"
1952 if test "$enableval" = yes; then
1953 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1955 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1960 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1961 if test "x$LINE" != x
; then
1962 eval "DEFAULT_$LINE"
1967 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1972 eval "$ac_cv_use_gtk2"
1973 if test "$no_cache" != 1; then
1974 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1977 if test "$wxUSE_GTK2" = yes; then
1978 echo "$ac_t""yes" 1>&6
1980 echo "$ac_t""no" 1>&6
1985 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1986 echo "configure:1987: checking for --with-libpng" >&5
1988 # Check whether --with-libpng or --without-libpng was given.
1989 if test "${with_libpng+set}" = set; then
1990 withval
="$with_libpng"
1992 if test "$withval" = yes; then
1993 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1994 elif test "$withval" = no
; then
1995 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1996 elif test "$withval" = sys
; then
1997 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1998 elif test "$withval" = builtin; then
1999 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2001 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2006 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2007 if test "x$LINE" != x
; then
2008 eval "DEFAULT_$LINE"
2013 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2018 eval "$ac_cv_use_libpng"
2019 if test "$no_cache" != 1; then
2020 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2023 if test "$wxUSE_LIBPNG" = yes; then
2024 echo "$ac_t""yes" 1>&6
2025 elif test "$wxUSE_LIBPNG" = no
; then
2026 echo "$ac_t""no" 1>&6
2027 elif test "$wxUSE_LIBPNG" = sys
; then
2028 echo "$ac_t""system version" 1>&6
2029 elif test "$wxUSE_LIBPNG" = builtin; then
2030 echo "$ac_t""builtin version" 1>&6
2032 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2036 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2037 echo "configure:2038: checking for --with-libjpeg" >&5
2039 # Check whether --with-libjpeg or --without-libjpeg was given.
2040 if test "${with_libjpeg+set}" = set; then
2041 withval
="$with_libjpeg"
2043 if test "$withval" = yes; then
2044 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2045 elif test "$withval" = no
; then
2046 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2047 elif test "$withval" = sys
; then
2048 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2049 elif test "$withval" = builtin; then
2050 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2052 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2057 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2058 if test "x$LINE" != x
; then
2059 eval "DEFAULT_$LINE"
2064 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2069 eval "$ac_cv_use_libjpeg"
2070 if test "$no_cache" != 1; then
2071 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2074 if test "$wxUSE_LIBJPEG" = yes; then
2075 echo "$ac_t""yes" 1>&6
2076 elif test "$wxUSE_LIBJPEG" = no
; then
2077 echo "$ac_t""no" 1>&6
2078 elif test "$wxUSE_LIBJPEG" = sys
; then
2079 echo "$ac_t""system version" 1>&6
2080 elif test "$wxUSE_LIBJPEG" = builtin; then
2081 echo "$ac_t""builtin version" 1>&6
2083 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2087 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2088 echo "configure:2089: checking for --with-libtiff" >&5
2090 # Check whether --with-libtiff or --without-libtiff was given.
2091 if test "${with_libtiff+set}" = set; then
2092 withval
="$with_libtiff"
2094 if test "$withval" = yes; then
2095 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2096 elif test "$withval" = no
; then
2097 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2098 elif test "$withval" = sys
; then
2099 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2100 elif test "$withval" = builtin; then
2101 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2103 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2108 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2109 if test "x$LINE" != x
; then
2110 eval "DEFAULT_$LINE"
2115 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2120 eval "$ac_cv_use_libtiff"
2121 if test "$no_cache" != 1; then
2122 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2125 if test "$wxUSE_LIBTIFF" = yes; then
2126 echo "$ac_t""yes" 1>&6
2127 elif test "$wxUSE_LIBTIFF" = no
; then
2128 echo "$ac_t""no" 1>&6
2129 elif test "$wxUSE_LIBTIFF" = sys
; then
2130 echo "$ac_t""system version" 1>&6
2131 elif test "$wxUSE_LIBTIFF" = builtin; then
2132 echo "$ac_t""builtin version" 1>&6
2134 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2138 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2139 echo "configure:2140: checking for --with-opengl" >&5
2141 # Check whether --with-opengl or --without-opengl was given.
2142 if test "${with_opengl+set}" = set; then
2143 withval
="$with_opengl"
2145 if test "$withval" = yes; then
2146 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2148 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2153 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2154 if test "x$LINE" != x
; then
2155 eval "DEFAULT_$LINE"
2160 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2165 eval "$ac_cv_use_opengl"
2166 if test "$no_cache" != 1; then
2167 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2170 if test "$wxUSE_OPENGL" = yes; then
2171 echo "$ac_t""yes" 1>&6
2173 echo "$ac_t""no" 1>&6
2180 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2181 echo "configure:2182: checking for --with-dmalloc" >&5
2183 # Check whether --with-dmalloc or --without-dmalloc was given.
2184 if test "${with_dmalloc+set}" = set; then
2185 withval
="$with_dmalloc"
2187 if test "$withval" = yes; then
2188 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2190 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2195 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2196 if test "x$LINE" != x
; then
2197 eval "DEFAULT_$LINE"
2202 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2207 eval "$ac_cv_use_dmalloc"
2208 if test "$no_cache" != 1; then
2209 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2212 if test "$wxUSE_DMALLOC" = yes; then
2213 echo "$ac_t""yes" 1>&6
2215 echo "$ac_t""no" 1>&6
2219 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2220 echo "configure:2221: checking for --with-regex" >&5
2222 # Check whether --with-regex or --without-regex was given.
2223 if test "${with_regex+set}" = set; then
2224 withval
="$with_regex"
2226 if test "$withval" = yes; then
2227 ac_cv_use_regex
='wxUSE_REGEX=yes'
2228 elif test "$withval" = no
; then
2229 ac_cv_use_regex
='wxUSE_REGEX=no'
2230 elif test "$withval" = sys
; then
2231 ac_cv_use_regex
='wxUSE_REGEX=sys'
2232 elif test "$withval" = builtin; then
2233 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2235 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2240 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2241 if test "x$LINE" != x
; then
2242 eval "DEFAULT_$LINE"
2247 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2252 eval "$ac_cv_use_regex"
2253 if test "$no_cache" != 1; then
2254 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2257 if test "$wxUSE_REGEX" = yes; then
2258 echo "$ac_t""yes" 1>&6
2259 elif test "$wxUSE_REGEX" = no
; then
2260 echo "$ac_t""no" 1>&6
2261 elif test "$wxUSE_REGEX" = sys
; then
2262 echo "$ac_t""system version" 1>&6
2263 elif test "$wxUSE_REGEX" = builtin; then
2264 echo "$ac_t""builtin version" 1>&6
2266 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2270 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2271 echo "configure:2272: checking for --with-zlib" >&5
2273 # Check whether --with-zlib or --without-zlib was given.
2274 if test "${with_zlib+set}" = set; then
2275 withval
="$with_zlib"
2277 if test "$withval" = yes; then
2278 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2279 elif test "$withval" = no
; then
2280 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2281 elif test "$withval" = sys
; then
2282 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2283 elif test "$withval" = builtin; then
2284 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2286 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2291 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2292 if test "x$LINE" != x
; then
2293 eval "DEFAULT_$LINE"
2298 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2303 eval "$ac_cv_use_zlib"
2304 if test "$no_cache" != 1; then
2305 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2308 if test "$wxUSE_ZLIB" = yes; then
2309 echo "$ac_t""yes" 1>&6
2310 elif test "$wxUSE_ZLIB" = no
; then
2311 echo "$ac_t""no" 1>&6
2312 elif test "$wxUSE_ZLIB" = sys
; then
2313 echo "$ac_t""system version" 1>&6
2314 elif test "$wxUSE_ZLIB" = builtin; then
2315 echo "$ac_t""builtin version" 1>&6
2317 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2321 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2322 echo "configure:2323: checking for --with-odbc" >&5
2324 # Check whether --with-odbc or --without-odbc was given.
2325 if test "${with_odbc+set}" = set; then
2326 withval
="$with_odbc"
2328 if test "$withval" = yes; then
2329 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2331 ac_cv_use_odbc
='wxUSE_ODBC=no'
2336 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2337 if test "x$LINE" != x
; then
2338 eval "DEFAULT_$LINE"
2343 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2348 eval "$ac_cv_use_odbc"
2349 if test "$no_cache" != 1; then
2350 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2353 if test "$wxUSE_ODBC" = yes; then
2354 echo "$ac_t""yes" 1>&6
2356 echo "$ac_t""no" 1>&6
2363 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2364 echo "configure:2365: checking for --${enablestring:-enable}-shared" >&5
2366 # Check whether --enable-shared or --disable-shared was given.
2367 if test "${enable_shared+set}" = set; then
2368 enableval
="$enable_shared"
2370 if test "$enableval" = yes; then
2371 ac_cv_use_shared
='wxUSE_SHARED=yes'
2373 ac_cv_use_shared
='wxUSE_SHARED=no'
2378 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2379 if test "x$LINE" != x
; then
2380 eval "DEFAULT_$LINE"
2385 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2390 eval "$ac_cv_use_shared"
2391 if test "$no_cache" != 1; then
2392 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2395 if test "$wxUSE_SHARED" = yes; then
2396 echo "$ac_t""yes" 1>&6
2398 echo "$ac_t""no" 1>&6
2403 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2404 echo "configure:2405: checking for --${enablestring:-enable}-soname" >&5
2406 # Check whether --enable-soname or --disable-soname was given.
2407 if test "${enable_soname+set}" = set; then
2408 enableval
="$enable_soname"
2410 if test "$enableval" = yes; then
2411 ac_cv_use_soname
='wxUSE_SONAME=yes'
2413 ac_cv_use_soname
='wxUSE_SONAME=no'
2418 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2419 if test "x$LINE" != x
; then
2420 eval "DEFAULT_$LINE"
2425 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2430 eval "$ac_cv_use_soname"
2431 if test "$no_cache" != 1; then
2432 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2435 if test "$wxUSE_SONAME" = yes; then
2436 echo "$ac_t""yes" 1>&6
2438 echo "$ac_t""no" 1>&6
2443 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2444 echo "configure:2445: checking for --${enablestring:-enable}-optimise" >&5
2446 # Check whether --enable-optimise or --disable-optimise was given.
2447 if test "${enable_optimise+set}" = set; then
2448 enableval
="$enable_optimise"
2450 if test "$enableval" = yes; then
2451 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2453 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2458 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2459 if test "x$LINE" != x
; then
2460 eval "DEFAULT_$LINE"
2465 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2470 eval "$ac_cv_use_optimise"
2471 if test "$no_cache" != 1; then
2472 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2475 if test "$wxUSE_OPTIMISE" = yes; then
2476 echo "$ac_t""yes" 1>&6
2478 echo "$ac_t""no" 1>&6
2483 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2484 echo "configure:2485: checking for --${enablestring:-enable}-debug" >&5
2486 # Check whether --enable-debug or --disable-debug was given.
2487 if test "${enable_debug+set}" = set; then
2488 enableval
="$enable_debug"
2490 if test "$enableval" = yes; then
2491 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2493 ac_cv_use_debug
='wxUSE_DEBUG=no'
2498 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2499 if test "x$LINE" != x
; then
2500 eval "DEFAULT_$LINE"
2505 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2510 eval "$ac_cv_use_debug"
2511 if test "$no_cache" != 1; then
2512 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2515 if test "$wxUSE_DEBUG" = yes; then
2516 echo "$ac_t""yes" 1>&6
2518 echo "$ac_t""no" 1>&6
2524 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2525 echo "configure:2526: checking for --${enablestring:-enable}-precomp" >&5
2527 # Check whether --enable-precomp or --disable-precomp was given.
2528 if test "${enable_precomp+set}" = set; then
2529 enableval
="$enable_precomp"
2531 if test "$enableval" = yes; then
2532 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2534 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2539 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2540 if test "x$LINE" != x
; then
2541 eval "DEFAULT_$LINE"
2546 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2551 eval "$ac_cv_use_precomp"
2552 if test "$no_cache" != 1; then
2553 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2556 if test "$wxUSE_PRECOMP" = yes; then
2557 echo "$ac_t""yes" 1>&6
2559 echo "$ac_t""no" 1>&6
2563 if test "$wxUSE_DEBUG" = "yes"; then
2564 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2565 DEFAULT_wxUSE_DEBUG_INFO
=yes
2566 elif test "$wxUSE_DEBUG" = "no"; then
2567 DEFAULT_wxUSE_DEBUG_FLAG
=no
2568 DEFAULT_wxUSE_DEBUG_INFO
=no
2573 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2574 echo "configure:2575: checking for --${enablestring:-enable}-debug_flag" >&5
2576 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2577 if test "${enable_debug_flag+set}" = set; then
2578 enableval
="$enable_debug_flag"
2580 if test "$enableval" = yes; then
2581 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2583 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2588 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2589 if test "x$LINE" != x
; then
2590 eval "DEFAULT_$LINE"
2595 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2600 eval "$ac_cv_use_debug_flag"
2601 if test "$no_cache" != 1; then
2602 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2605 if test "$wxUSE_DEBUG_FLAG" = yes; then
2606 echo "$ac_t""yes" 1>&6
2608 echo "$ac_t""no" 1>&6
2613 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2614 echo "configure:2615: checking for --${enablestring:-enable}-debug_info" >&5
2616 # Check whether --enable-debug_info or --disable-debug_info was given.
2617 if test "${enable_debug_info+set}" = set; then
2618 enableval
="$enable_debug_info"
2620 if test "$enableval" = yes; then
2621 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2623 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2628 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2629 if test "x$LINE" != x
; then
2630 eval "DEFAULT_$LINE"
2635 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2640 eval "$ac_cv_use_debug_info"
2641 if test "$no_cache" != 1; then
2642 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2645 if test "$wxUSE_DEBUG_INFO" = yes; then
2646 echo "$ac_t""yes" 1>&6
2648 echo "$ac_t""no" 1>&6
2653 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2654 echo "configure:2655: checking for --${enablestring:-enable}-debug_gdb" >&5
2656 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2657 if test "${enable_debug_gdb+set}" = set; then
2658 enableval
="$enable_debug_gdb"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2663 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2668 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2680 eval "$ac_cv_use_debug_gdb"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2685 if test "$wxUSE_DEBUG_GDB" = yes; then
2686 echo "$ac_t""yes" 1>&6
2688 echo "$ac_t""no" 1>&6
2693 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2694 echo "configure:2695: checking for --${enablestring:-enable}-debug_cntxt" >&5
2696 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2697 if test "${enable_debug_cntxt+set}" = set; then
2698 enableval
="$enable_debug_cntxt"
2700 if test "$enableval" = yes; then
2701 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2703 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2708 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2709 if test "x$LINE" != x
; then
2710 eval "DEFAULT_$LINE"
2715 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2720 eval "$ac_cv_use_debug_cntxt"
2721 if test "$no_cache" != 1; then
2722 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2725 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2726 echo "$ac_t""yes" 1>&6
2728 echo "$ac_t""no" 1>&6
2733 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2734 echo "configure:2735: checking for --${enablestring:-enable}-mem_tracing" >&5
2736 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2737 if test "${enable_mem_tracing+set}" = set; then
2738 enableval
="$enable_mem_tracing"
2740 if test "$enableval" = yes; then
2741 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2743 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2748 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2749 if test "x$LINE" != x
; then
2750 eval "DEFAULT_$LINE"
2755 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2760 eval "$ac_cv_use_mem_tracing"
2761 if test "$no_cache" != 1; then
2762 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2765 if test "$wxUSE_MEM_TRACING" = yes; then
2766 echo "$ac_t""yes" 1>&6
2768 echo "$ac_t""no" 1>&6
2773 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2774 echo "configure:2775: checking for --${enablestring:-enable}-profile" >&5
2776 # Check whether --enable-profile or --disable-profile was given.
2777 if test "${enable_profile+set}" = set; then
2778 enableval
="$enable_profile"
2780 if test "$enableval" = yes; then
2781 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2783 ac_cv_use_profile
='wxUSE_PROFILE=no'
2788 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x
; then
2790 eval "DEFAULT_$LINE"
2795 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2800 eval "$ac_cv_use_profile"
2801 if test "$no_cache" != 1; then
2802 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2805 if test "$wxUSE_PROFILE" = yes; then
2806 echo "$ac_t""yes" 1>&6
2808 echo "$ac_t""no" 1>&6
2813 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2814 echo "configure:2815: checking for --${enablestring:-enable}-no_rtti" >&5
2816 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2817 if test "${enable_no_rtti+set}" = set; then
2818 enableval
="$enable_no_rtti"
2820 if test "$enableval" = yes; then
2821 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2823 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2828 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2829 if test "x$LINE" != x
; then
2830 eval "DEFAULT_$LINE"
2835 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2840 eval "$ac_cv_use_no_rtti"
2841 if test "$no_cache" != 1; then
2842 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2845 if test "$wxUSE_NO_RTTI" = yes; then
2846 echo "$ac_t""yes" 1>&6
2848 echo "$ac_t""no" 1>&6
2853 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2854 echo "configure:2855: checking for --${enablestring:-enable}-no_exceptions" >&5
2856 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2857 if test "${enable_no_exceptions+set}" = set; then
2858 enableval
="$enable_no_exceptions"
2860 if test "$enableval" = yes; then
2861 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2863 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2868 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2880 eval "$ac_cv_use_no_exceptions"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2886 echo "$ac_t""yes" 1>&6
2888 echo "$ac_t""no" 1>&6
2893 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2894 echo "configure:2895: checking for --${enablestring:-enable}-permissive" >&5
2896 # Check whether --enable-permissive or --disable-permissive was given.
2897 if test "${enable_permissive+set}" = set; then
2898 enableval
="$enable_permissive"
2900 if test "$enableval" = yes; then
2901 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2903 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2908 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2909 if test "x$LINE" != x
; then
2910 eval "DEFAULT_$LINE"
2915 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2920 eval "$ac_cv_use_permissive"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2925 if test "$wxUSE_PERMISSIVE" = yes; then
2926 echo "$ac_t""yes" 1>&6
2928 echo "$ac_t""no" 1>&6
2933 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2934 echo "configure:2935: checking for --${enablestring:-enable}-no_deps" >&5
2936 # Check whether --enable-no_deps or --disable-no_deps was given.
2937 if test "${enable_no_deps+set}" = set; then
2938 enableval
="$enable_no_deps"
2940 if test "$enableval" = yes; then
2941 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2943 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2948 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2949 if test "x$LINE" != x
; then
2950 eval "DEFAULT_$LINE"
2955 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2960 eval "$ac_cv_use_no_deps"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2965 if test "$wxUSE_NO_DEPS" = yes; then
2966 echo "$ac_t""yes" 1>&6
2968 echo "$ac_t""no" 1>&6
2974 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2975 echo "configure:2976: checking for --${enablestring:-enable}-compat20" >&5
2977 # Check whether --enable-compat20 or --disable-compat20 was given.
2978 if test "${enable_compat20+set}" = set; then
2979 enableval
="$enable_compat20"
2981 if test "$enableval" = yes; then
2982 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2984 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2989 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x
; then
2991 eval "DEFAULT_$LINE"
2996 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3001 eval "$ac_cv_use_compat20"
3002 if test "$no_cache" != 1; then
3003 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3006 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3007 echo "$ac_t""yes" 1>&6
3009 echo "$ac_t""no" 1>&6
3014 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3015 echo "configure:3016: checking for --${enablestring:-enable}-compat22" >&5
3017 # Check whether --enable-compat22 or --disable-compat22 was given.
3018 if test "${enable_compat22+set}" = set; then
3019 enableval
="$enable_compat22"
3021 if test "$enableval" = yes; then
3022 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3024 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3029 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3030 if test "x$LINE" != x
; then
3031 eval "DEFAULT_$LINE"
3036 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3041 eval "$ac_cv_use_compat22"
3042 if test "$no_cache" != 1; then
3043 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3046 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3047 echo "$ac_t""yes" 1>&6
3049 echo "$ac_t""no" 1>&6
3053 enablestring
=disable
3054 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3055 echo "configure:3056: checking for --${enablestring:-enable}-compat24" >&5
3057 # Check whether --enable-compat24 or --disable-compat24 was given.
3058 if test "${enable_compat24+set}" = set; then
3059 enableval
="$enable_compat24"
3061 if test "$enableval" = yes; then
3062 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3064 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3069 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3070 if test "x$LINE" != x
; then
3071 eval "DEFAULT_$LINE"
3076 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3081 eval "$ac_cv_use_compat24"
3082 if test "$no_cache" != 1; then
3083 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3086 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3087 echo "$ac_t""yes" 1>&6
3089 echo "$ac_t""no" 1>&6
3093 # Check whether --enable-rpath or --disable-rpath was given.
3094 if test "${enable_rpath+set}" = set; then
3095 enableval
="$enable_rpath"
3096 wxRPATH_DIR
="$enableval"
3100 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3101 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3108 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3109 echo "configure:3110: checking for --${enablestring:-enable}-intl" >&5
3111 # Check whether --enable-intl or --disable-intl was given.
3112 if test "${enable_intl+set}" = set; then
3113 enableval
="$enable_intl"
3115 if test "$enableval" = yes; then
3116 ac_cv_use_intl
='wxUSE_INTL=yes'
3118 ac_cv_use_intl
='wxUSE_INTL=no'
3123 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3124 if test "x$LINE" != x
; then
3125 eval "DEFAULT_$LINE"
3130 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3135 eval "$ac_cv_use_intl"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3140 if test "$wxUSE_INTL" = yes; then
3141 echo "$ac_t""yes" 1>&6
3143 echo "$ac_t""no" 1>&6
3148 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3149 echo "configure:3150: checking for --${enablestring:-enable}-config" >&5
3151 # Check whether --enable-config or --disable-config was given.
3152 if test "${enable_config+set}" = set; then
3153 enableval
="$enable_config"
3155 if test "$enableval" = yes; then
3156 ac_cv_use_config
='wxUSE_CONFIG=yes'
3158 ac_cv_use_config
='wxUSE_CONFIG=no'
3163 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3164 if test "x$LINE" != x
; then
3165 eval "DEFAULT_$LINE"
3170 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3175 eval "$ac_cv_use_config"
3176 if test "$no_cache" != 1; then
3177 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3180 if test "$wxUSE_CONFIG" = yes; then
3181 echo "$ac_t""yes" 1>&6
3183 echo "$ac_t""no" 1>&6
3189 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3190 echo "configure:3191: checking for --${enablestring:-enable}-protocols" >&5
3192 # Check whether --enable-protocols or --disable-protocols was given.
3193 if test "${enable_protocols+set}" = set; then
3194 enableval
="$enable_protocols"
3196 if test "$enableval" = yes; then
3197 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3199 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3204 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3216 eval "$ac_cv_use_protocols"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3221 if test "$wxUSE_PROTOCOL" = yes; then
3222 echo "$ac_t""yes" 1>&6
3224 echo "$ac_t""no" 1>&6
3229 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3230 echo "configure:3231: checking for --${enablestring:-enable}-ftp" >&5
3232 # Check whether --enable-ftp or --disable-ftp was given.
3233 if test "${enable_ftp+set}" = set; then
3234 enableval
="$enable_ftp"
3236 if test "$enableval" = yes; then
3237 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3239 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3244 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x
; then
3246 eval "DEFAULT_$LINE"
3251 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3256 eval "$ac_cv_use_ftp"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3262 echo "$ac_t""yes" 1>&6
3264 echo "$ac_t""no" 1>&6
3269 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3270 echo "configure:3271: checking for --${enablestring:-enable}-http" >&5
3272 # Check whether --enable-http or --disable-http was given.
3273 if test "${enable_http+set}" = set; then
3274 enableval
="$enable_http"
3276 if test "$enableval" = yes; then
3277 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3279 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3284 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x
; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3296 eval "$ac_cv_use_http"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3302 echo "$ac_t""yes" 1>&6
3304 echo "$ac_t""no" 1>&6
3309 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3310 echo "configure:3311: checking for --${enablestring:-enable}-fileproto" >&5
3312 # Check whether --enable-fileproto or --disable-fileproto was given.
3313 if test "${enable_fileproto+set}" = set; then
3314 enableval
="$enable_fileproto"
3316 if test "$enableval" = yes; then
3317 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3319 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3324 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3325 if test "x$LINE" != x
; then
3326 eval "DEFAULT_$LINE"
3331 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3336 eval "$ac_cv_use_fileproto"
3337 if test "$no_cache" != 1; then
3338 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3341 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3342 echo "$ac_t""yes" 1>&6
3344 echo "$ac_t""no" 1>&6
3349 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3350 echo "configure:3351: checking for --${enablestring:-enable}-sockets" >&5
3352 # Check whether --enable-sockets or --disable-sockets was given.
3353 if test "${enable_sockets+set}" = set; then
3354 enableval
="$enable_sockets"
3356 if test "$enableval" = yes; then
3357 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3359 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3364 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x
; then
3366 eval "DEFAULT_$LINE"
3371 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3376 eval "$ac_cv_use_sockets"
3377 if test "$no_cache" != 1; then
3378 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3381 if test "$wxUSE_SOCKETS" = yes; then
3382 echo "$ac_t""yes" 1>&6
3384 echo "$ac_t""no" 1>&6
3389 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3390 echo "configure:3391: checking for --${enablestring:-enable}-ole" >&5
3392 # Check whether --enable-ole or --disable-ole was given.
3393 if test "${enable_ole+set}" = set; then
3394 enableval
="$enable_ole"
3396 if test "$enableval" = yes; then
3397 ac_cv_use_ole
='wxUSE_OLE=yes'
3399 ac_cv_use_ole
='wxUSE_OLE=no'
3404 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3405 if test "x$LINE" != x
; then
3406 eval "DEFAULT_$LINE"
3411 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3416 eval "$ac_cv_use_ole"
3417 if test "$no_cache" != 1; then
3418 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3421 if test "$wxUSE_OLE" = yes; then
3422 echo "$ac_t""yes" 1>&6
3424 echo "$ac_t""no" 1>&6
3429 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3430 echo "configure:3431: checking for --${enablestring:-enable}-dataobj" >&5
3432 # Check whether --enable-dataobj or --disable-dataobj was given.
3433 if test "${enable_dataobj+set}" = set; then
3434 enableval
="$enable_dataobj"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3439 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3444 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3456 eval "$ac_cv_use_dataobj"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_DATAOBJ" = yes; then
3462 echo "$ac_t""yes" 1>&6
3464 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3471 echo "configure:3472: checking for --${enablestring:-enable}-ipc" >&5
3473 # Check whether --enable-ipc or --disable-ipc was given.
3474 if test "${enable_ipc+set}" = set; then
3475 enableval
="$enable_ipc"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_ipc
='wxUSE_IPC=yes'
3480 ac_cv_use_ipc
='wxUSE_IPC=no'
3485 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3497 eval "$ac_cv_use_ipc"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_IPC" = yes; then
3503 echo "$ac_t""yes" 1>&6
3505 echo "$ac_t""no" 1>&6
3511 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3512 echo "configure:3513: checking for --${enablestring:-enable}-cmdline" >&5
3514 # Check whether --enable-cmdline or --disable-cmdline was given.
3515 if test "${enable_cmdline+set}" = set; then
3516 enableval
="$enable_cmdline"
3518 if test "$enableval" = yes; then
3519 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3521 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3526 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x
; then
3528 eval "DEFAULT_$LINE"
3533 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3538 eval "$ac_cv_use_cmdline"
3539 if test "$no_cache" != 1; then
3540 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3543 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3544 echo "$ac_t""yes" 1>&6
3546 echo "$ac_t""no" 1>&6
3551 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3552 echo "configure:3553: checking for --${enablestring:-enable}-datetime" >&5
3554 # Check whether --enable-datetime or --disable-datetime was given.
3555 if test "${enable_datetime+set}" = set; then
3556 enableval
="$enable_datetime"
3558 if test "$enableval" = yes; then
3559 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3561 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3566 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3567 if test "x$LINE" != x
; then
3568 eval "DEFAULT_$LINE"
3573 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3578 eval "$ac_cv_use_datetime"
3579 if test "$no_cache" != 1; then
3580 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3583 if test "$wxUSE_DATETIME" = yes; then
3584 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3591 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3592 echo "configure:3593: checking for --${enablestring:-enable}-stopwatch" >&5
3594 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3595 if test "${enable_stopwatch+set}" = set; then
3596 enableval
="$enable_stopwatch"
3598 if test "$enableval" = yes; then
3599 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3601 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3606 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3607 if test "x$LINE" != x
; then
3608 eval "DEFAULT_$LINE"
3613 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3618 eval "$ac_cv_use_stopwatch"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3623 if test "$wxUSE_STOPWATCH" = yes; then
3624 echo "$ac_t""yes" 1>&6
3626 echo "$ac_t""no" 1>&6
3631 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3632 echo "configure:3633: checking for --${enablestring:-enable}-dialupman" >&5
3634 # Check whether --enable-dialupman or --disable-dialupman was given.
3635 if test "${enable_dialupman+set}" = set; then
3636 enableval
="$enable_dialupman"
3638 if test "$enableval" = yes; then
3639 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3641 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3646 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3647 if test "x$LINE" != x
; then
3648 eval "DEFAULT_$LINE"
3653 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3658 eval "$ac_cv_use_dialupman"
3659 if test "$no_cache" != 1; then
3660 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3663 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3664 echo "$ac_t""yes" 1>&6
3666 echo "$ac_t""no" 1>&6
3671 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3672 echo "configure:3673: checking for --${enablestring:-enable}-apple_ieee" >&5
3674 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3675 if test "${enable_apple_ieee+set}" = set; then
3676 enableval
="$enable_apple_ieee"
3678 if test "$enableval" = yes; then
3679 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3681 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3686 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3687 if test "x$LINE" != x
; then
3688 eval "DEFAULT_$LINE"
3693 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3698 eval "$ac_cv_use_apple_ieee"
3699 if test "$no_cache" != 1; then
3700 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3703 if test "$wxUSE_APPLE_IEEE" = yes; then
3704 echo "$ac_t""yes" 1>&6
3706 echo "$ac_t""no" 1>&6
3711 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3712 echo "configure:3713: checking for --${enablestring:-enable}-timer" >&5
3714 # Check whether --enable-timer or --disable-timer was given.
3715 if test "${enable_timer+set}" = set; then
3716 enableval
="$enable_timer"
3718 if test "$enableval" = yes; then
3719 ac_cv_use_timer
='wxUSE_TIMER=yes'
3721 ac_cv_use_timer
='wxUSE_TIMER=no'
3726 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3727 if test "x$LINE" != x
; then
3728 eval "DEFAULT_$LINE"
3733 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3738 eval "$ac_cv_use_timer"
3739 if test "$no_cache" != 1; then
3740 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3743 if test "$wxUSE_TIMER" = yes; then
3744 echo "$ac_t""yes" 1>&6
3746 echo "$ac_t""no" 1>&6
3751 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3752 echo "configure:3753: checking for --${enablestring:-enable}-wave" >&5
3754 # Check whether --enable-wave or --disable-wave was given.
3755 if test "${enable_wave+set}" = set; then
3756 enableval
="$enable_wave"
3758 if test "$enableval" = yes; then
3759 ac_cv_use_wave
='wxUSE_WAVE=yes'
3761 ac_cv_use_wave
='wxUSE_WAVE=no'
3766 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3767 if test "x$LINE" != x
; then
3768 eval "DEFAULT_$LINE"
3773 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3778 eval "$ac_cv_use_wave"
3779 if test "$no_cache" != 1; then
3780 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3783 if test "$wxUSE_WAVE" = yes; then
3784 echo "$ac_t""yes" 1>&6
3786 echo "$ac_t""no" 1>&6
3791 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3792 echo "configure:3793: checking for --${enablestring:-enable}-fraction" >&5
3794 # Check whether --enable-fraction or --disable-fraction was given.
3795 if test "${enable_fraction+set}" = set; then
3796 enableval
="$enable_fraction"
3798 if test "$enableval" = yes; then
3799 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3801 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3806 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3807 if test "x$LINE" != x
; then
3808 eval "DEFAULT_$LINE"
3813 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3818 eval "$ac_cv_use_fraction"
3819 if test "$no_cache" != 1; then
3820 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3823 if test "$wxUSE_FRACTION" = yes; then
3824 echo "$ac_t""yes" 1>&6
3826 echo "$ac_t""no" 1>&6
3831 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3832 echo "configure:3833: checking for --${enablestring:-enable}-dynlib" >&5
3834 # Check whether --enable-dynlib or --disable-dynlib was given.
3835 if test "${enable_dynlib+set}" = set; then
3836 enableval
="$enable_dynlib"
3838 if test "$enableval" = yes; then
3839 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3841 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3846 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3847 if test "x$LINE" != x
; then
3848 eval "DEFAULT_$LINE"
3853 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3858 eval "$ac_cv_use_dynlib"
3859 if test "$no_cache" != 1; then
3860 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3863 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3864 echo "$ac_t""yes" 1>&6
3866 echo "$ac_t""no" 1>&6
3871 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3872 echo "configure:3873: checking for --${enablestring:-enable}-dynamicloader" >&5
3874 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3875 if test "${enable_dynamicloader+set}" = set; then
3876 enableval
="$enable_dynamicloader"
3878 if test "$enableval" = yes; then
3879 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3881 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3886 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3887 if test "x$LINE" != x
; then
3888 eval "DEFAULT_$LINE"
3893 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3898 eval "$ac_cv_use_dynamicloader"
3899 if test "$no_cache" != 1; then
3900 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3903 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3904 echo "$ac_t""yes" 1>&6
3906 echo "$ac_t""no" 1>&6
3911 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3912 echo "configure:3913: checking for --${enablestring:-enable}-longlong" >&5
3914 # Check whether --enable-longlong or --disable-longlong was given.
3915 if test "${enable_longlong+set}" = set; then
3916 enableval
="$enable_longlong"
3918 if test "$enableval" = yes; then
3919 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3921 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3926 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x
; then
3928 eval "DEFAULT_$LINE"
3933 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3938 eval "$ac_cv_use_longlong"
3939 if test "$no_cache" != 1; then
3940 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3943 if test "$wxUSE_LONGLONG" = yes; then
3944 echo "$ac_t""yes" 1>&6
3946 echo "$ac_t""no" 1>&6
3951 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3952 echo "configure:3953: checking for --${enablestring:-enable}-geometry" >&5
3954 # Check whether --enable-geometry or --disable-geometry was given.
3955 if test "${enable_geometry+set}" = set; then
3956 enableval
="$enable_geometry"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3961 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3966 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3978 eval "$ac_cv_use_geometry"
3979 if test "$no_cache" != 1; then
3980 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3983 if test "$wxUSE_GEOMETRY" = yes; then
3984 echo "$ac_t""yes" 1>&6
3986 echo "$ac_t""no" 1>&6
3991 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
3992 echo "configure:3993: checking for --${enablestring:-enable}-log" >&5
3994 # Check whether --enable-log or --disable-log was given.
3995 if test "${enable_log+set}" = set; then
3996 enableval
="$enable_log"
3998 if test "$enableval" = yes; then
3999 ac_cv_use_log
='wxUSE_LOG=yes'
4001 ac_cv_use_log
='wxUSE_LOG=no'
4006 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4007 if test "x$LINE" != x
; then
4008 eval "DEFAULT_$LINE"
4013 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4018 eval "$ac_cv_use_log"
4019 if test "$no_cache" != 1; then
4020 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4023 if test "$wxUSE_LOG" = yes; then
4024 echo "$ac_t""yes" 1>&6
4026 echo "$ac_t""no" 1>&6
4031 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4032 echo "configure:4033: checking for --${enablestring:-enable}-streams" >&5
4034 # Check whether --enable-streams or --disable-streams was given.
4035 if test "${enable_streams+set}" = set; then
4036 enableval
="$enable_streams"
4038 if test "$enableval" = yes; then
4039 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4041 ac_cv_use_streams
='wxUSE_STREAMS=no'
4046 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4047 if test "x$LINE" != x
; then
4048 eval "DEFAULT_$LINE"
4053 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4058 eval "$ac_cv_use_streams"
4059 if test "$no_cache" != 1; then
4060 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4063 if test "$wxUSE_STREAMS" = yes; then
4064 echo "$ac_t""yes" 1>&6
4066 echo "$ac_t""no" 1>&6
4071 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4072 echo "configure:4073: checking for --${enablestring:-enable}-file" >&5
4074 # Check whether --enable-file or --disable-file was given.
4075 if test "${enable_file+set}" = set; then
4076 enableval
="$enable_file"
4078 if test "$enableval" = yes; then
4079 ac_cv_use_file
='wxUSE_FILE=yes'
4081 ac_cv_use_file
='wxUSE_FILE=no'
4086 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4087 if test "x$LINE" != x
; then
4088 eval "DEFAULT_$LINE"
4093 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4098 eval "$ac_cv_use_file"
4099 if test "$no_cache" != 1; then
4100 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4103 if test "$wxUSE_FILE" = yes; then
4104 echo "$ac_t""yes" 1>&6
4106 echo "$ac_t""no" 1>&6
4111 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4112 echo "configure:4113: checking for --${enablestring:-enable}-ffile" >&5
4114 # Check whether --enable-ffile or --disable-ffile was given.
4115 if test "${enable_ffile+set}" = set; then
4116 enableval
="$enable_ffile"
4118 if test "$enableval" = yes; then
4119 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4121 ac_cv_use_ffile
='wxUSE_FFILE=no'
4126 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x
; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4138 eval "$ac_cv_use_ffile"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_FFILE" = yes; then
4144 echo "$ac_t""yes" 1>&6
4146 echo "$ac_t""no" 1>&6
4151 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4152 echo "configure:4153: checking for --${enablestring:-enable}-textbuf" >&5
4154 # Check whether --enable-textbuf or --disable-textbuf was given.
4155 if test "${enable_textbuf+set}" = set; then
4156 enableval
="$enable_textbuf"
4158 if test "$enableval" = yes; then
4159 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4161 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4166 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4167 if test "x$LINE" != x
; then
4168 eval "DEFAULT_$LINE"
4173 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4178 eval "$ac_cv_use_textbuf"
4179 if test "$no_cache" != 1; then
4180 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4183 if test "$wxUSE_TEXTBUFFER" = yes; then
4184 echo "$ac_t""yes" 1>&6
4186 echo "$ac_t""no" 1>&6
4191 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4192 echo "configure:4193: checking for --${enablestring:-enable}-textfile" >&5
4194 # Check whether --enable-textfile or --disable-textfile was given.
4195 if test "${enable_textfile+set}" = set; then
4196 enableval
="$enable_textfile"
4198 if test "$enableval" = yes; then
4199 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4201 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4206 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4207 if test "x$LINE" != x
; then
4208 eval "DEFAULT_$LINE"
4213 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4218 eval "$ac_cv_use_textfile"
4219 if test "$no_cache" != 1; then
4220 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4223 if test "$wxUSE_TEXTFILE" = yes; then
4224 echo "$ac_t""yes" 1>&6
4226 echo "$ac_t""no" 1>&6
4231 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4232 echo "configure:4233: checking for --${enablestring:-enable}-fontmap" >&5
4234 # Check whether --enable-fontmap or --disable-fontmap was given.
4235 if test "${enable_fontmap+set}" = set; then
4236 enableval
="$enable_fontmap"
4238 if test "$enableval" = yes; then
4239 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4241 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4246 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x
; then
4248 eval "DEFAULT_$LINE"
4253 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4258 eval "$ac_cv_use_fontmap"
4259 if test "$no_cache" != 1; then
4260 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4263 if test "$wxUSE_FONTMAP" = yes; then
4264 echo "$ac_t""yes" 1>&6
4266 echo "$ac_t""no" 1>&6
4271 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4272 echo "configure:4273: checking for --${enablestring:-enable}-unicode" >&5
4274 # Check whether --enable-unicode or --disable-unicode was given.
4275 if test "${enable_unicode+set}" = set; then
4276 enableval
="$enable_unicode"
4278 if test "$enableval" = yes; then
4279 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4281 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4286 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x
; then
4288 eval "DEFAULT_$LINE"
4293 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4298 eval "$ac_cv_use_unicode"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_UNICODE" = yes; then
4304 echo "$ac_t""yes" 1>&6
4306 echo "$ac_t""no" 1>&6
4311 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4312 echo "configure:4313: checking for --${enablestring:-enable}-mslu" >&5
4314 # Check whether --enable-mslu or --disable-mslu was given.
4315 if test "${enable_mslu+set}" = set; then
4316 enableval
="$enable_mslu"
4318 if test "$enableval" = yes; then
4319 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4321 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4326 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4327 if test "x$LINE" != x
; then
4328 eval "DEFAULT_$LINE"
4333 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4338 eval "$ac_cv_use_mslu"
4339 if test "$no_cache" != 1; then
4340 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4343 if test "$wxUSE_UNICODE_MSLU" = yes; then
4344 echo "$ac_t""yes" 1>&6
4346 echo "$ac_t""no" 1>&6
4351 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4352 echo "configure:4353: checking for --${enablestring:-enable}-wxprintfv" >&5
4354 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4355 if test "${enable_wxprintfv+set}" = set; then
4356 enableval
="$enable_wxprintfv"
4358 if test "$enableval" = yes; then
4359 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4361 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4366 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x
; then
4368 eval "DEFAULT_$LINE"
4373 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4378 eval "$ac_cv_use_wxprintfv"
4379 if test "$no_cache" != 1; then
4380 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4383 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4384 echo "$ac_t""yes" 1>&6
4386 echo "$ac_t""no" 1>&6
4391 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4392 echo "configure:4393: checking for --${enablestring:-enable}-std_iostreams" >&5
4394 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4395 if test "${enable_std_iostreams+set}" = set; then
4396 enableval
="$enable_std_iostreams"
4398 if test "$enableval" = yes; then
4399 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4401 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4406 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4418 eval "$ac_cv_use_std_iostreams"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_STD_IOSTREAM" = yes; then
4424 echo "$ac_t""yes" 1>&6
4426 echo "$ac_t""no" 1>&6
4431 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4432 echo "configure:4433: checking for --${enablestring:-enable}-filesystem" >&5
4434 # Check whether --enable-filesystem or --disable-filesystem was given.
4435 if test "${enable_filesystem+set}" = set; then
4436 enableval
="$enable_filesystem"
4438 if test "$enableval" = yes; then
4439 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4441 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4446 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4447 if test "x$LINE" != x
; then
4448 eval "DEFAULT_$LINE"
4453 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4458 eval "$ac_cv_use_filesystem"
4459 if test "$no_cache" != 1; then
4460 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4463 if test "$wxUSE_FILESYSTEM" = yes; then
4464 echo "$ac_t""yes" 1>&6
4466 echo "$ac_t""no" 1>&6
4471 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4472 echo "configure:4473: checking for --${enablestring:-enable}-fs_inet" >&5
4474 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4475 if test "${enable_fs_inet+set}" = set; then
4476 enableval
="$enable_fs_inet"
4478 if test "$enableval" = yes; then
4479 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4481 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4486 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4487 if test "x$LINE" != x
; then
4488 eval "DEFAULT_$LINE"
4493 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4498 eval "$ac_cv_use_fs_inet"
4499 if test "$no_cache" != 1; then
4500 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4503 if test "$wxUSE_FS_INET" = yes; then
4504 echo "$ac_t""yes" 1>&6
4506 echo "$ac_t""no" 1>&6
4511 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4512 echo "configure:4513: checking for --${enablestring:-enable}-fs_zip" >&5
4514 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4515 if test "${enable_fs_zip+set}" = set; then
4516 enableval
="$enable_fs_zip"
4518 if test "$enableval" = yes; then
4519 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4521 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4526 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4527 if test "x$LINE" != x
; then
4528 eval "DEFAULT_$LINE"
4533 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4538 eval "$ac_cv_use_fs_zip"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4543 if test "$wxUSE_FS_ZIP" = yes; then
4544 echo "$ac_t""yes" 1>&6
4546 echo "$ac_t""no" 1>&6
4551 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4552 echo "configure:4553: checking for --${enablestring:-enable}-zipstream" >&5
4554 # Check whether --enable-zipstream or --disable-zipstream was given.
4555 if test "${enable_zipstream+set}" = set; then
4556 enableval
="$enable_zipstream"
4558 if test "$enableval" = yes; then
4559 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4561 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4566 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x
; then
4568 eval "DEFAULT_$LINE"
4573 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4578 eval "$ac_cv_use_zipstream"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4583 if test "$wxUSE_ZIPSTREAM" = yes; then
4584 echo "$ac_t""yes" 1>&6
4586 echo "$ac_t""no" 1>&6
4592 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4593 echo "configure:4594: checking for --${enablestring:-enable}-catch_segvs" >&5
4595 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4596 if test "${enable_catch_segvs+set}" = set; then
4597 enableval
="$enable_catch_segvs"
4599 if test "$enableval" = yes; then
4600 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4602 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4607 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4608 if test "x$LINE" != x
; then
4609 eval "DEFAULT_$LINE"
4614 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4619 eval "$ac_cv_use_catch_segvs"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4624 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4625 echo "$ac_t""yes" 1>&6
4627 echo "$ac_t""no" 1>&6
4632 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4633 echo "configure:4634: checking for --${enablestring:-enable}-snglinst" >&5
4635 # Check whether --enable-snglinst or --disable-snglinst was given.
4636 if test "${enable_snglinst+set}" = set; then
4637 enableval
="$enable_snglinst"
4639 if test "$enableval" = yes; then
4640 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4642 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4647 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4648 if test "x$LINE" != x
; then
4649 eval "DEFAULT_$LINE"
4654 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4659 eval "$ac_cv_use_snglinst"
4660 if test "$no_cache" != 1; then
4661 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4664 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4665 echo "$ac_t""yes" 1>&6
4667 echo "$ac_t""no" 1>&6
4673 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4674 echo "configure:4675: checking for --${enablestring:-enable}-mimetype" >&5
4676 # Check whether --enable-mimetype or --disable-mimetype was given.
4677 if test "${enable_mimetype+set}" = set; then
4678 enableval
="$enable_mimetype"
4680 if test "$enableval" = yes; then
4681 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4683 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4688 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4689 if test "x$LINE" != x
; then
4690 eval "DEFAULT_$LINE"
4695 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4700 eval "$ac_cv_use_mimetype"
4701 if test "$no_cache" != 1; then
4702 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4705 if test "$wxUSE_MIMETYPE" = yes; then
4706 echo "$ac_t""yes" 1>&6
4708 echo "$ac_t""no" 1>&6
4713 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4714 echo "configure:4715: checking for --${enablestring:-enable}-system_options" >&5
4716 # Check whether --enable-system_options or --disable-system_options was given.
4717 if test "${enable_system_options+set}" = set; then
4718 enableval
="$enable_system_options"
4720 if test "$enableval" = yes; then
4721 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4723 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4728 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4729 if test "x$LINE" != x
; then
4730 eval "DEFAULT_$LINE"
4735 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4740 eval "$ac_cv_use_system_options"
4741 if test "$no_cache" != 1; then
4742 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4745 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4746 echo "$ac_t""yes" 1>&6
4748 echo "$ac_t""no" 1>&6
4754 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4755 echo "configure:4756: checking for --${enablestring:-enable}-url" >&5
4757 # Check whether --enable-url or --disable-url was given.
4758 if test "${enable_url+set}" = set; then
4759 enableval
="$enable_url"
4761 if test "$enableval" = yes; then
4762 ac_cv_use_url
='wxUSE_URL=yes'
4764 ac_cv_use_url
='wxUSE_URL=no'
4769 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x
; then
4771 eval "DEFAULT_$LINE"
4776 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4781 eval "$ac_cv_use_url"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_URL" = yes; then
4787 echo "$ac_t""yes" 1>&6
4789 echo "$ac_t""no" 1>&6
4794 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4795 echo "configure:4796: checking for --${enablestring:-enable}-protocol" >&5
4797 # Check whether --enable-protocol or --disable-protocol was given.
4798 if test "${enable_protocol+set}" = set; then
4799 enableval
="$enable_protocol"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4804 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4809 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x
; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4821 eval "$ac_cv_use_protocol"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_PROTOCOL" = yes; then
4827 echo "$ac_t""yes" 1>&6
4829 echo "$ac_t""no" 1>&6
4834 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4835 echo "configure:4836: checking for --${enablestring:-enable}-protocol_http" >&5
4837 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4838 if test "${enable_protocol_http+set}" = set; then
4839 enableval
="$enable_protocol_http"
4841 if test "$enableval" = yes; then
4842 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4844 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4849 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4850 if test "x$LINE" != x
; then
4851 eval "DEFAULT_$LINE"
4856 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4861 eval "$ac_cv_use_protocol_http"
4862 if test "$no_cache" != 1; then
4863 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4866 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4867 echo "$ac_t""yes" 1>&6
4869 echo "$ac_t""no" 1>&6
4874 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4875 echo "configure:4876: checking for --${enablestring:-enable}-protocol_ftp" >&5
4877 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4878 if test "${enable_protocol_ftp+set}" = set; then
4879 enableval
="$enable_protocol_ftp"
4881 if test "$enableval" = yes; then
4882 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4884 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4889 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x
; then
4891 eval "DEFAULT_$LINE"
4896 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4901 eval "$ac_cv_use_protocol_ftp"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4907 echo "$ac_t""yes" 1>&6
4909 echo "$ac_t""no" 1>&6
4914 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4915 echo "configure:4916: checking for --${enablestring:-enable}-protocol_file" >&5
4917 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4918 if test "${enable_protocol_file+set}" = set; then
4919 enableval
="$enable_protocol_file"
4921 if test "$enableval" = yes; then
4922 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4924 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4929 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x
; then
4931 eval "DEFAULT_$LINE"
4936 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4941 eval "$ac_cv_use_protocol_file"
4942 if test "$no_cache" != 1; then
4943 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4946 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4947 echo "$ac_t""yes" 1>&6
4949 echo "$ac_t""no" 1>&6
4957 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4958 echo "configure:4959: checking for --${enablestring:-enable}-threads" >&5
4960 # Check whether --enable-threads or --disable-threads was given.
4961 if test "${enable_threads+set}" = set; then
4962 enableval
="$enable_threads"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_threads
='wxUSE_THREADS=yes'
4967 ac_cv_use_threads
='wxUSE_THREADS=no'
4972 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x
; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4984 eval "$ac_cv_use_threads"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4989 if test "$wxUSE_THREADS" = yes; then
4990 echo "$ac_t""yes" 1>&6
4992 echo "$ac_t""no" 1>&6
4996 if test "$wxUSE_GUI" = "yes"; then
5001 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5002 echo "configure:5003: checking for --${enablestring:-enable}-docview" >&5
5004 # Check whether --enable-docview or --disable-docview was given.
5005 if test "${enable_docview+set}" = set; then
5006 enableval
="$enable_docview"
5008 if test "$enableval" = yes; then
5009 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5011 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5016 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5017 if test "x$LINE" != x
; then
5018 eval "DEFAULT_$LINE"
5023 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5028 eval "$ac_cv_use_docview"
5029 if test "$no_cache" != 1; then
5030 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5033 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5034 echo "$ac_t""yes" 1>&6
5036 echo "$ac_t""no" 1>&6
5041 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5042 echo "configure:5043: checking for --${enablestring:-enable}-help" >&5
5044 # Check whether --enable-help or --disable-help was given.
5045 if test "${enable_help+set}" = set; then
5046 enableval
="$enable_help"
5048 if test "$enableval" = yes; then
5049 ac_cv_use_help
='wxUSE_HELP=yes'
5051 ac_cv_use_help
='wxUSE_HELP=no'
5056 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5057 if test "x$LINE" != x
; then
5058 eval "DEFAULT_$LINE"
5063 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5068 eval "$ac_cv_use_help"
5069 if test "$no_cache" != 1; then
5070 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5073 if test "$wxUSE_HELP" = yes; then
5074 echo "$ac_t""yes" 1>&6
5076 echo "$ac_t""no" 1>&6
5081 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5082 echo "configure:5083: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5084 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5085 if test "${enable_mshtmlhelp+set}" = set; then
5086 enableval
="$enable_mshtmlhelp"
5088 if test "$enableval" = yes; then
5089 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5091 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5096 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x
; then
5098 eval "DEFAULT_$LINE"
5103 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5108 eval "$ac_cv_use_mshtmlhelp"
5109 if test "$no_cache" != 1; then
5110 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5113 if test "$wxUSE_MS_HTML_HELP" = yes; then
5114 echo "$ac_t""yes" 1>&6
5116 echo "$ac_t""no" 1>&6
5121 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5122 echo "configure:5123: checking for --${enablestring:-enable}-html" >&5
5124 # Check whether --enable-html or --disable-html was given.
5125 if test "${enable_html+set}" = set; then
5126 enableval
="$enable_html"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_html
='wxUSE_HTML=yes'
5131 ac_cv_use_html
='wxUSE_HTML=no'
5136 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x
; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5148 eval "$ac_cv_use_html"
5149 if test "$no_cache" != 1; then
5150 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5153 if test "$wxUSE_HTML" = yes; then
5154 echo "$ac_t""yes" 1>&6
5156 echo "$ac_t""no" 1>&6
5161 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5162 echo "configure:5163: checking for --${enablestring:-enable}-htmlhelp" >&5
5164 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5165 if test "${enable_htmlhelp+set}" = set; then
5166 enableval
="$enable_htmlhelp"
5168 if test "$enableval" = yes; then
5169 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5171 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5176 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5177 if test "x$LINE" != x
; then
5178 eval "DEFAULT_$LINE"
5183 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5188 eval "$ac_cv_use_htmlhelp"
5189 if test "$no_cache" != 1; then
5190 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5193 if test "$wxUSE_WXHTML_HELP" = yes; then
5194 echo "$ac_t""yes" 1>&6
5196 echo "$ac_t""no" 1>&6
5201 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5202 echo "configure:5203: checking for --${enablestring:-enable}-constraints" >&5
5204 # Check whether --enable-constraints or --disable-constraints was given.
5205 if test "${enable_constraints+set}" = set; then
5206 enableval
="$enable_constraints"
5208 if test "$enableval" = yes; then
5209 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5211 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5216 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x
; then
5218 eval "DEFAULT_$LINE"
5223 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5228 eval "$ac_cv_use_constraints"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5233 if test "$wxUSE_CONSTRAINTS" = yes; then
5234 echo "$ac_t""yes" 1>&6
5236 echo "$ac_t""no" 1>&6
5241 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5242 echo "configure:5243: checking for --${enablestring:-enable}-printarch" >&5
5244 # Check whether --enable-printarch or --disable-printarch was given.
5245 if test "${enable_printarch+set}" = set; then
5246 enableval
="$enable_printarch"
5248 if test "$enableval" = yes; then
5249 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5251 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5256 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x
; then
5258 eval "DEFAULT_$LINE"
5263 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5268 eval "$ac_cv_use_printarch"
5269 if test "$no_cache" != 1; then
5270 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5273 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5274 echo "$ac_t""yes" 1>&6
5276 echo "$ac_t""no" 1>&6
5281 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5282 echo "configure:5283: checking for --${enablestring:-enable}-mdi" >&5
5284 # Check whether --enable-mdi or --disable-mdi was given.
5285 if test "${enable_mdi+set}" = set; then
5286 enableval
="$enable_mdi"
5288 if test "$enableval" = yes; then
5289 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5291 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5296 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5297 if test "x$LINE" != x
; then
5298 eval "DEFAULT_$LINE"
5303 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5308 eval "$ac_cv_use_mdi"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5313 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5314 echo "$ac_t""yes" 1>&6
5316 echo "$ac_t""no" 1>&6
5321 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5322 echo "configure:5323: checking for --${enablestring:-enable}-loggui" >&5
5324 # Check whether --enable-loggui or --disable-loggui was given.
5325 if test "${enable_loggui+set}" = set; then
5326 enableval
="$enable_loggui"
5328 if test "$enableval" = yes; then
5329 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5331 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5336 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5337 if test "x$LINE" != x
; then
5338 eval "DEFAULT_$LINE"
5343 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5348 eval "$ac_cv_use_loggui"
5349 if test "$no_cache" != 1; then
5350 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5353 if test "$wxUSE_LOGGUI" = yes; then
5354 echo "$ac_t""yes" 1>&6
5356 echo "$ac_t""no" 1>&6
5361 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5362 echo "configure:5363: checking for --${enablestring:-enable}-logwin" >&5
5364 # Check whether --enable-logwin or --disable-logwin was given.
5365 if test "${enable_logwin+set}" = set; then
5366 enableval
="$enable_logwin"
5368 if test "$enableval" = yes; then
5369 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5371 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5376 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5377 if test "x$LINE" != x
; then
5378 eval "DEFAULT_$LINE"
5383 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5388 eval "$ac_cv_use_logwin"
5389 if test "$no_cache" != 1; then
5390 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5393 if test "$wxUSE_LOGWINDOW" = yes; then
5394 echo "$ac_t""yes" 1>&6
5396 echo "$ac_t""no" 1>&6
5401 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5402 echo "configure:5403: checking for --${enablestring:-enable}-logdialog" >&5
5404 # Check whether --enable-logdialog or --disable-logdialog was given.
5405 if test "${enable_logdialog+set}" = set; then
5406 enableval
="$enable_logdialog"
5408 if test "$enableval" = yes; then
5409 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5411 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5416 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5417 if test "x$LINE" != x
; then
5418 eval "DEFAULT_$LINE"
5423 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5428 eval "$ac_cv_use_logdialog"
5429 if test "$no_cache" != 1; then
5430 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5433 if test "$wxUSE_LOGDIALOG" = yes; then
5434 echo "$ac_t""yes" 1>&6
5436 echo "$ac_t""no" 1>&6
5442 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5443 echo "configure:5444: checking for --${enablestring:-enable}-postscript" >&5
5445 # Check whether --enable-postscript or --disable-postscript was given.
5446 if test "${enable_postscript+set}" = set; then
5447 enableval
="$enable_postscript"
5449 if test "$enableval" = yes; then
5450 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5452 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5457 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5458 if test "x$LINE" != x
; then
5459 eval "DEFAULT_$LINE"
5464 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5469 eval "$ac_cv_use_postscript"
5470 if test "$no_cache" != 1; then
5471 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5474 if test "$wxUSE_POSTSCRIPT" = yes; then
5475 echo "$ac_t""yes" 1>&6
5477 echo "$ac_t""no" 1>&6
5485 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5486 echo "configure:5487: checking for --${enablestring:-enable}-resources" >&5
5488 # Check whether --enable-resources or --disable-resources was given.
5489 if test "${enable_resources+set}" = set; then
5490 enableval
="$enable_resources"
5492 if test "$enableval" = yes; then
5493 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5495 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5500 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5501 if test "x$LINE" != x
; then
5502 eval "DEFAULT_$LINE"
5507 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5512 eval "$ac_cv_use_resources"
5513 if test "$no_cache" != 1; then
5514 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5517 if test "$wxUSE_RESOURCES" = yes; then
5518 echo "$ac_t""yes" 1>&6
5520 echo "$ac_t""no" 1>&6
5526 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5527 echo "configure:5528: checking for --${enablestring:-enable}-xresources" >&5
5529 # Check whether --enable-xresources or --disable-xresources was given.
5530 if test "${enable_xresources+set}" = set; then
5531 enableval
="$enable_xresources"
5533 if test "$enableval" = yes; then
5534 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5536 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5541 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5542 if test "x$LINE" != x
; then
5543 eval "DEFAULT_$LINE"
5548 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5553 eval "$ac_cv_use_xresources"
5554 if test "$no_cache" != 1; then
5555 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5558 if test "$wxUSE_X_RESOURCES" = yes; then
5559 echo "$ac_t""yes" 1>&6
5561 echo "$ac_t""no" 1>&6
5568 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5569 echo "configure:5570: checking for --${enablestring:-enable}-clipboard" >&5
5571 # Check whether --enable-clipboard or --disable-clipboard was given.
5572 if test "${enable_clipboard+set}" = set; then
5573 enableval
="$enable_clipboard"
5575 if test "$enableval" = yes; then
5576 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5578 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5583 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5584 if test "x$LINE" != x
; then
5585 eval "DEFAULT_$LINE"
5590 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5595 eval "$ac_cv_use_clipboard"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5600 if test "$wxUSE_CLIPBOARD" = yes; then
5601 echo "$ac_t""yes" 1>&6
5603 echo "$ac_t""no" 1>&6
5608 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5609 echo "configure:5610: checking for --${enablestring:-enable}-dnd" >&5
5611 # Check whether --enable-dnd or --disable-dnd was given.
5612 if test "${enable_dnd+set}" = set; then
5613 enableval
="$enable_dnd"
5615 if test "$enableval" = yes; then
5616 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5618 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5623 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5624 if test "x$LINE" != x
; then
5625 eval "DEFAULT_$LINE"
5630 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5635 eval "$ac_cv_use_dnd"
5636 if test "$no_cache" != 1; then
5637 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5640 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5641 echo "$ac_t""yes" 1>&6
5643 echo "$ac_t""no" 1>&6
5648 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5649 echo "configure:5650: checking for --${enablestring:-enable}-metafile" >&5
5651 # Check whether --enable-metafile or --disable-metafile was given.
5652 if test "${enable_metafile+set}" = set; then
5653 enableval
="$enable_metafile"
5655 if test "$enableval" = yes; then
5656 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5658 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5663 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5664 if test "x$LINE" != x
; then
5665 eval "DEFAULT_$LINE"
5670 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5675 eval "$ac_cv_use_metafile"
5676 if test "$no_cache" != 1; then
5677 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5680 if test "$wxUSE_METAFILE" = yes; then
5681 echo "$ac_t""yes" 1>&6
5683 echo "$ac_t""no" 1>&6
5691 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5692 echo "configure:5693: checking for --${enablestring:-enable}-controls" >&5
5694 # Check whether --enable-controls or --disable-controls was given.
5695 if test "${enable_controls+set}" = set; then
5696 enableval
="$enable_controls"
5698 if test "$enableval" = yes; then
5699 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5701 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5706 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5707 if test "x$LINE" != x
; then
5708 eval "DEFAULT_$LINE"
5713 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5718 eval "$ac_cv_use_controls"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5723 if test "$wxUSE_CONTROLS" = yes; then
5724 echo "$ac_t""yes" 1>&6
5726 echo "$ac_t""no" 1>&6
5730 if test "$wxUSE_CONTROLS" = "yes"; then
5731 DEFAULT_wxUSE_ACCEL
=yes
5732 DEFAULT_wxUSE_BMPBUTTON
=yes
5733 DEFAULT_wxUSE_BUTTON
=yes
5734 DEFAULT_wxUSE_CALCTRL
=no
5735 DEFAULT_wxUSE_CARET
=yes
5736 DEFAULT_wxUSE_COMBOBOX
=yes
5737 DEFAULT_wxUSE_CHECKBOX
=yes
5738 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5739 DEFAULT_wxUSE_CHOICE
=yes
5740 DEFAULT_wxUSE_GAUGE
=yes
5741 DEFAULT_wxUSE_GRID
=yes
5742 DEFAULT_wxUSE_IMAGLIST
=yes
5743 DEFAULT_wxUSE_LISTBOX
=yes
5744 DEFAULT_wxUSE_LISTCTRL
=yes
5745 DEFAULT_wxUSE_NOTEBOOK
=yes
5746 DEFAULT_wxUSE_RADIOBOX
=yes
5747 DEFAULT_wxUSE_RADIOBTN
=yes
5748 DEFAULT_wxUSE_SASH
=yes
5749 DEFAULT_wxUSE_SCROLLBAR
=yes
5750 DEFAULT_wxUSE_SLIDER
=yes
5751 DEFAULT_wxUSE_SPINBTN
=yes
5752 DEFAULT_wxUSE_SPINCTRL
=yes
5753 DEFAULT_wxUSE_SPLITTER
=yes
5754 DEFAULT_wxUSE_STATBMP
=yes
5755 DEFAULT_wxUSE_STATBOX
=yes
5756 DEFAULT_wxUSE_STATLINE
=yes
5757 DEFAULT_wxUSE_STATUSBAR
=yes
5758 DEFAULT_wxUSE_TAB_DIALOG
=yes
5759 DEFAULT_wxUSE_TOGGLEBTN
=yes
5760 DEFAULT_wxUSE_TOOLBAR
=yes
5761 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5762 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5763 DEFAULT_wxUSE_TOOLTIPS
=yes
5764 DEFAULT_wxUSE_TREECTRL
=yes
5765 DEFAULT_wxUSE_POPUPWIN
=yes
5766 DEFAULT_wxUSE_TIPWINDOW
=yes
5767 elif test "$wxUSE_CONTROLS" = "no"; then
5768 DEFAULT_wxUSE_ACCEL
=no
5769 DEFAULT_wxUSE_BMPBUTTON
=no
5770 DEFAULT_wxUSE_BUTTON
=no
5771 DEFAULT_wxUSE_CALCTRL
=no
5772 DEFAULT_wxUSE_CARET
=no
5773 DEFAULT_wxUSE_COMBOBOX
=no
5774 DEFAULT_wxUSE_CHECKBOX
=no
5775 DEFAULT_wxUSE_CHECKLISTBOX
=no
5776 DEFAULT_wxUSE_CHOICE
=no
5777 DEFAULT_wxUSE_GAUGE
=no
5778 DEFAULT_wxUSE_GRID
=no
5779 DEFAULT_wxUSE_IMAGLIST
=no
5780 DEFAULT_wxUSE_LISTBOX
=no
5781 DEFAULT_wxUSE_LISTCTRL
=no
5782 DEFAULT_wxUSE_NOTEBOOK
=no
5783 DEFAULT_wxUSE_RADIOBOX
=no
5784 DEFAULT_wxUSE_RADIOBTN
=no
5785 DEFAULT_wxUSE_SASH
=no
5786 DEFAULT_wxUSE_SCROLLBAR
=no
5787 DEFAULT_wxUSE_SLIDER
=no
5788 DEFAULT_wxUSE_SPINBTN
=no
5789 DEFAULT_wxUSE_SPINCTRL
=no
5790 DEFAULT_wxUSE_SPLITTER
=no
5791 DEFAULT_wxUSE_STATBMP
=no
5792 DEFAULT_wxUSE_STATBOX
=no
5793 DEFAULT_wxUSE_STATLINE
=no
5794 DEFAULT_wxUSE_STATUSBAR
=no
5795 DEFAULT_wxUSE_TAB_DIALOG
=no
5796 DEFAULT_wxUSE_TOGGLEBTN
=no
5797 DEFAULT_wxUSE_TOOLBAR
=no
5798 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5799 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5800 DEFAULT_wxUSE_TOOLTIPS
=no
5801 DEFAULT_wxUSE_TREECTRL
=no
5802 DEFAULT_wxUSE_POPUPWIN
=no
5803 DEFAULT_wxUSE_TIPWINDOW
=no
5806 ## FIXME: This is a blatant hack
5807 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5808 wxUSE_PRINTING_ARCHITECTURE
=no
5811 wxUSE_DRAG_AND_DROP
=no
5813 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5814 DEFAULT_wxUSE_TEXTDLG
=no
5815 DEFAULT_wxUSE_GAUGE
=no
5816 DEFAULT_wxUSE_SCROLLBAR
=no
5817 DEFAULT_wxUSE_SLIDER
=no
5818 DEFAULT_wxUSE_COMBOBOX
=no
5819 DEFAULT_wxUSE_CALCTRL
=no
5820 DEFAULT_wxUSE_SPINBTN
=no
5821 DEFAULT_wxUSE_SPINCTRL
=no
5822 DEFAULT_wxUSE_TOOLTIPS
=no
5823 DEFAULT_wxUSE_COLOURDLG
=no
5824 DEFAULT_wxUSE_DRAGIMAGE
=no
5825 DEFAULT_wxUSE_FINDREPLDLG
=no
5826 DEFAULT_wxUSE_FONTDLG
=no
5827 DEFAULT_wxUSE_GRID
=no
5828 DEFAULT_wxUSE_NUMBERDLG
=no
5829 DEFAULT_wxUSE_PROGRESSDLG
=no
5830 DEFAULT_wxUSE_SASH
=no
5831 DEFAULT_wxUSE_SPLITTER
=no
5832 DEFAULT_wxUSE_WIZARDDLG
=no
5833 DEFAULT_wxUSE_SPLITTER
=no
5834 DEFAULT_wxUSE_STARTUP_TIPS
=no
5839 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5840 echo "configure:5841: checking for --${enablestring:-enable}-accel" >&5
5842 # Check whether --enable-accel or --disable-accel was given.
5843 if test "${enable_accel+set}" = set; then
5844 enableval
="$enable_accel"
5846 if test "$enableval" = yes; then
5847 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5849 ac_cv_use_accel
='wxUSE_ACCEL=no'
5854 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5855 if test "x$LINE" != x
; then
5856 eval "DEFAULT_$LINE"
5861 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5866 eval "$ac_cv_use_accel"
5867 if test "$no_cache" != 1; then
5868 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5871 if test "$wxUSE_ACCEL" = yes; then
5872 echo "$ac_t""yes" 1>&6
5874 echo "$ac_t""no" 1>&6
5879 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5880 echo "configure:5881: checking for --${enablestring:-enable}-button" >&5
5882 # Check whether --enable-button or --disable-button was given.
5883 if test "${enable_button+set}" = set; then
5884 enableval
="$enable_button"
5886 if test "$enableval" = yes; then
5887 ac_cv_use_button
='wxUSE_BUTTON=yes'
5889 ac_cv_use_button
='wxUSE_BUTTON=no'
5894 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5895 if test "x$LINE" != x
; then
5896 eval "DEFAULT_$LINE"
5901 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5906 eval "$ac_cv_use_button"
5907 if test "$no_cache" != 1; then
5908 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5911 if test "$wxUSE_BUTTON" = yes; then
5912 echo "$ac_t""yes" 1>&6
5914 echo "$ac_t""no" 1>&6
5919 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5920 echo "configure:5921: checking for --${enablestring:-enable}-bmpbutton" >&5
5922 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5923 if test "${enable_bmpbutton+set}" = set; then
5924 enableval
="$enable_bmpbutton"
5926 if test "$enableval" = yes; then
5927 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5929 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5934 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x
; then
5936 eval "DEFAULT_$LINE"
5941 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5946 eval "$ac_cv_use_bmpbutton"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5951 if test "$wxUSE_BMPBUTTON" = yes; then
5952 echo "$ac_t""yes" 1>&6
5954 echo "$ac_t""no" 1>&6
5959 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
5960 echo "configure:5961: checking for --${enablestring:-enable}-calendar" >&5
5962 # Check whether --enable-calendar or --disable-calendar was given.
5963 if test "${enable_calendar+set}" = set; then
5964 enableval
="$enable_calendar"
5966 if test "$enableval" = yes; then
5967 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5969 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5974 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5975 if test "x$LINE" != x
; then
5976 eval "DEFAULT_$LINE"
5981 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5986 eval "$ac_cv_use_calendar"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5991 if test "$wxUSE_CALCTRL" = yes; then
5992 echo "$ac_t""yes" 1>&6
5994 echo "$ac_t""no" 1>&6
5999 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6000 echo "configure:6001: checking for --${enablestring:-enable}-caret" >&5
6002 # Check whether --enable-caret or --disable-caret was given.
6003 if test "${enable_caret+set}" = set; then
6004 enableval
="$enable_caret"
6006 if test "$enableval" = yes; then
6007 ac_cv_use_caret
='wxUSE_CARET=yes'
6009 ac_cv_use_caret
='wxUSE_CARET=no'
6014 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6015 if test "x$LINE" != x
; then
6016 eval "DEFAULT_$LINE"
6021 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6026 eval "$ac_cv_use_caret"
6027 if test "$no_cache" != 1; then
6028 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6031 if test "$wxUSE_CARET" = yes; then
6032 echo "$ac_t""yes" 1>&6
6034 echo "$ac_t""no" 1>&6
6039 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6040 echo "configure:6041: checking for --${enablestring:-enable}-checkbox" >&5
6042 # Check whether --enable-checkbox or --disable-checkbox was given.
6043 if test "${enable_checkbox+set}" = set; then
6044 enableval
="$enable_checkbox"
6046 if test "$enableval" = yes; then
6047 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6049 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6054 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6055 if test "x$LINE" != x
; then
6056 eval "DEFAULT_$LINE"
6061 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6066 eval "$ac_cv_use_checkbox"
6067 if test "$no_cache" != 1; then
6068 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6071 if test "$wxUSE_CHECKBOX" = yes; then
6072 echo "$ac_t""yes" 1>&6
6074 echo "$ac_t""no" 1>&6
6079 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6080 echo "configure:6081: checking for --${enablestring:-enable}-checklst" >&5
6082 # Check whether --enable-checklst or --disable-checklst was given.
6083 if test "${enable_checklst+set}" = set; then
6084 enableval
="$enable_checklst"
6086 if test "$enableval" = yes; then
6087 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6089 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6094 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6095 if test "x$LINE" != x
; then
6096 eval "DEFAULT_$LINE"
6101 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6106 eval "$ac_cv_use_checklst"
6107 if test "$no_cache" != 1; then
6108 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6111 if test "$wxUSE_CHECKLST" = yes; then
6112 echo "$ac_t""yes" 1>&6
6114 echo "$ac_t""no" 1>&6
6119 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6120 echo "configure:6121: checking for --${enablestring:-enable}-choice" >&5
6122 # Check whether --enable-choice or --disable-choice was given.
6123 if test "${enable_choice+set}" = set; then
6124 enableval
="$enable_choice"
6126 if test "$enableval" = yes; then
6127 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6129 ac_cv_use_choice
='wxUSE_CHOICE=no'
6134 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6135 if test "x$LINE" != x
; then
6136 eval "DEFAULT_$LINE"
6141 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6146 eval "$ac_cv_use_choice"
6147 if test "$no_cache" != 1; then
6148 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6151 if test "$wxUSE_CHOICE" = yes; then
6152 echo "$ac_t""yes" 1>&6
6154 echo "$ac_t""no" 1>&6
6159 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6160 echo "configure:6161: checking for --${enablestring:-enable}-combobox" >&5
6162 # Check whether --enable-combobox or --disable-combobox was given.
6163 if test "${enable_combobox+set}" = set; then
6164 enableval
="$enable_combobox"
6166 if test "$enableval" = yes; then
6167 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6169 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6174 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6175 if test "x$LINE" != x
; then
6176 eval "DEFAULT_$LINE"
6181 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6186 eval "$ac_cv_use_combobox"
6187 if test "$no_cache" != 1; then
6188 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6191 if test "$wxUSE_COMBOBOX" = yes; then
6192 echo "$ac_t""yes" 1>&6
6194 echo "$ac_t""no" 1>&6
6199 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6200 echo "configure:6201: checking for --${enablestring:-enable}-display" >&5
6202 # Check whether --enable-display or --disable-display was given.
6203 if test "${enable_display+set}" = set; then
6204 enableval
="$enable_display"
6206 if test "$enableval" = yes; then
6207 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6209 ac_cv_use_display
='wxUSE_DISPLAY=no'
6214 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6215 if test "x$LINE" != x
; then
6216 eval "DEFAULT_$LINE"
6221 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6226 eval "$ac_cv_use_display"
6227 if test "$no_cache" != 1; then
6228 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6231 if test "$wxUSE_DISPLAY" = yes; then
6232 echo "$ac_t""yes" 1>&6
6234 echo "$ac_t""no" 1>&6
6239 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6240 echo "configure:6241: checking for --${enablestring:-enable}-gauge" >&5
6242 # Check whether --enable-gauge or --disable-gauge was given.
6243 if test "${enable_gauge+set}" = set; then
6244 enableval
="$enable_gauge"
6246 if test "$enableval" = yes; then
6247 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6249 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6254 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x
; then
6256 eval "DEFAULT_$LINE"
6261 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6266 eval "$ac_cv_use_gauge"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6271 if test "$wxUSE_GAUGE" = yes; then
6272 echo "$ac_t""yes" 1>&6
6274 echo "$ac_t""no" 1>&6
6279 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6280 echo "configure:6281: checking for --${enablestring:-enable}-grid" >&5
6282 # Check whether --enable-grid or --disable-grid was given.
6283 if test "${enable_grid+set}" = set; then
6284 enableval
="$enable_grid"
6286 if test "$enableval" = yes; then
6287 ac_cv_use_grid
='wxUSE_GRID=yes'
6289 ac_cv_use_grid
='wxUSE_GRID=no'
6294 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6295 if test "x$LINE" != x
; then
6296 eval "DEFAULT_$LINE"
6301 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6306 eval "$ac_cv_use_grid"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6311 if test "$wxUSE_GRID" = yes; then
6312 echo "$ac_t""yes" 1>&6
6314 echo "$ac_t""no" 1>&6
6319 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6320 echo "configure:6321: checking for --${enablestring:-enable}-imaglist" >&5
6322 # Check whether --enable-imaglist or --disable-imaglist was given.
6323 if test "${enable_imaglist+set}" = set; then
6324 enableval
="$enable_imaglist"
6326 if test "$enableval" = yes; then
6327 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6329 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6334 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6335 if test "x$LINE" != x
; then
6336 eval "DEFAULT_$LINE"
6341 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6346 eval "$ac_cv_use_imaglist"
6347 if test "$no_cache" != 1; then
6348 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6351 if test "$wxUSE_IMAGLIST" = yes; then
6352 echo "$ac_t""yes" 1>&6
6354 echo "$ac_t""no" 1>&6
6359 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6360 echo "configure:6361: checking for --${enablestring:-enable}-listbox" >&5
6362 # Check whether --enable-listbox or --disable-listbox was given.
6363 if test "${enable_listbox+set}" = set; then
6364 enableval
="$enable_listbox"
6366 if test "$enableval" = yes; then
6367 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6369 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6374 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x
; then
6376 eval "DEFAULT_$LINE"
6381 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6386 eval "$ac_cv_use_listbox"
6387 if test "$no_cache" != 1; then
6388 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6391 if test "$wxUSE_LISTBOX" = yes; then
6392 echo "$ac_t""yes" 1>&6
6394 echo "$ac_t""no" 1>&6
6399 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6400 echo "configure:6401: checking for --${enablestring:-enable}-listctrl" >&5
6402 # Check whether --enable-listctrl or --disable-listctrl was given.
6403 if test "${enable_listctrl+set}" = set; then
6404 enableval
="$enable_listctrl"
6406 if test "$enableval" = yes; then
6407 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6409 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6414 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6415 if test "x$LINE" != x
; then
6416 eval "DEFAULT_$LINE"
6421 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6426 eval "$ac_cv_use_listctrl"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6431 if test "$wxUSE_LISTCTRL" = yes; then
6432 echo "$ac_t""yes" 1>&6
6434 echo "$ac_t""no" 1>&6
6439 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6440 echo "configure:6441: checking for --${enablestring:-enable}-notebook" >&5
6442 # Check whether --enable-notebook or --disable-notebook was given.
6443 if test "${enable_notebook+set}" = set; then
6444 enableval
="$enable_notebook"
6446 if test "$enableval" = yes; then
6447 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6449 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6454 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6455 if test "x$LINE" != x
; then
6456 eval "DEFAULT_$LINE"
6461 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6466 eval "$ac_cv_use_notebook"
6467 if test "$no_cache" != 1; then
6468 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6471 if test "$wxUSE_NOTEBOOK" = yes; then
6472 echo "$ac_t""yes" 1>&6
6474 echo "$ac_t""no" 1>&6
6479 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6480 echo "configure:6481: checking for --${enablestring:-enable}-radiobox" >&5
6482 # Check whether --enable-radiobox or --disable-radiobox was given.
6483 if test "${enable_radiobox+set}" = set; then
6484 enableval
="$enable_radiobox"
6486 if test "$enableval" = yes; then
6487 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6489 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6494 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6495 if test "x$LINE" != x
; then
6496 eval "DEFAULT_$LINE"
6501 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6506 eval "$ac_cv_use_radiobox"
6507 if test "$no_cache" != 1; then
6508 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6511 if test "$wxUSE_RADIOBOX" = yes; then
6512 echo "$ac_t""yes" 1>&6
6514 echo "$ac_t""no" 1>&6
6519 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6520 echo "configure:6521: checking for --${enablestring:-enable}-radiobtn" >&5
6522 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6523 if test "${enable_radiobtn+set}" = set; then
6524 enableval
="$enable_radiobtn"
6526 if test "$enableval" = yes; then
6527 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6529 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6534 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6535 if test "x$LINE" != x
; then
6536 eval "DEFAULT_$LINE"
6541 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6546 eval "$ac_cv_use_radiobtn"
6547 if test "$no_cache" != 1; then
6548 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6551 if test "$wxUSE_RADIOBTN" = yes; then
6552 echo "$ac_t""yes" 1>&6
6554 echo "$ac_t""no" 1>&6
6559 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6560 echo "configure:6561: checking for --${enablestring:-enable}-sash" >&5
6562 # Check whether --enable-sash or --disable-sash was given.
6563 if test "${enable_sash+set}" = set; then
6564 enableval
="$enable_sash"
6566 if test "$enableval" = yes; then
6567 ac_cv_use_sash
='wxUSE_SASH=yes'
6569 ac_cv_use_sash
='wxUSE_SASH=no'
6574 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6575 if test "x$LINE" != x
; then
6576 eval "DEFAULT_$LINE"
6581 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6586 eval "$ac_cv_use_sash"
6587 if test "$no_cache" != 1; then
6588 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6591 if test "$wxUSE_SASH" = yes; then
6592 echo "$ac_t""yes" 1>&6
6594 echo "$ac_t""no" 1>&6
6599 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6600 echo "configure:6601: checking for --${enablestring:-enable}-scrollbar" >&5
6602 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6603 if test "${enable_scrollbar+set}" = set; then
6604 enableval
="$enable_scrollbar"
6606 if test "$enableval" = yes; then
6607 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6609 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6614 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6615 if test "x$LINE" != x
; then
6616 eval "DEFAULT_$LINE"
6621 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6626 eval "$ac_cv_use_scrollbar"
6627 if test "$no_cache" != 1; then
6628 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6631 if test "$wxUSE_SCROLLBAR" = yes; then
6632 echo "$ac_t""yes" 1>&6
6634 echo "$ac_t""no" 1>&6
6639 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6640 echo "configure:6641: checking for --${enablestring:-enable}-slider" >&5
6642 # Check whether --enable-slider or --disable-slider was given.
6643 if test "${enable_slider+set}" = set; then
6644 enableval
="$enable_slider"
6646 if test "$enableval" = yes; then
6647 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6649 ac_cv_use_slider
='wxUSE_SLIDER=no'
6654 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6655 if test "x$LINE" != x
; then
6656 eval "DEFAULT_$LINE"
6661 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6666 eval "$ac_cv_use_slider"
6667 if test "$no_cache" != 1; then
6668 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6671 if test "$wxUSE_SLIDER" = yes; then
6672 echo "$ac_t""yes" 1>&6
6674 echo "$ac_t""no" 1>&6
6679 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6680 echo "configure:6681: checking for --${enablestring:-enable}-spinbtn" >&5
6682 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6683 if test "${enable_spinbtn+set}" = set; then
6684 enableval
="$enable_spinbtn"
6686 if test "$enableval" = yes; then
6687 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6689 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6694 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6695 if test "x$LINE" != x
; then
6696 eval "DEFAULT_$LINE"
6701 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6706 eval "$ac_cv_use_spinbtn"
6707 if test "$no_cache" != 1; then
6708 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6711 if test "$wxUSE_SPINBTN" = yes; then
6712 echo "$ac_t""yes" 1>&6
6714 echo "$ac_t""no" 1>&6
6719 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6720 echo "configure:6721: checking for --${enablestring:-enable}-spinctrl" >&5
6722 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6723 if test "${enable_spinctrl+set}" = set; then
6724 enableval
="$enable_spinctrl"
6726 if test "$enableval" = yes; then
6727 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6729 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6734 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6735 if test "x$LINE" != x
; then
6736 eval "DEFAULT_$LINE"
6741 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6746 eval "$ac_cv_use_spinctrl"
6747 if test "$no_cache" != 1; then
6748 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6751 if test "$wxUSE_SPINCTRL" = yes; then
6752 echo "$ac_t""yes" 1>&6
6754 echo "$ac_t""no" 1>&6
6759 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6760 echo "configure:6761: checking for --${enablestring:-enable}-splitter" >&5
6762 # Check whether --enable-splitter or --disable-splitter was given.
6763 if test "${enable_splitter+set}" = set; then
6764 enableval
="$enable_splitter"
6766 if test "$enableval" = yes; then
6767 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6769 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6774 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x
; then
6776 eval "DEFAULT_$LINE"
6781 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6786 eval "$ac_cv_use_splitter"
6787 if test "$no_cache" != 1; then
6788 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6791 if test "$wxUSE_SPLITTER" = yes; then
6792 echo "$ac_t""yes" 1>&6
6794 echo "$ac_t""no" 1>&6
6799 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6800 echo "configure:6801: checking for --${enablestring:-enable}-statbmp" >&5
6802 # Check whether --enable-statbmp or --disable-statbmp was given.
6803 if test "${enable_statbmp+set}" = set; then
6804 enableval
="$enable_statbmp"
6806 if test "$enableval" = yes; then
6807 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6809 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6814 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6815 if test "x$LINE" != x
; then
6816 eval "DEFAULT_$LINE"
6821 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6826 eval "$ac_cv_use_statbmp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6831 if test "$wxUSE_STATBMP" = yes; then
6832 echo "$ac_t""yes" 1>&6
6834 echo "$ac_t""no" 1>&6
6839 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6840 echo "configure:6841: checking for --${enablestring:-enable}-statbox" >&5
6842 # Check whether --enable-statbox or --disable-statbox was given.
6843 if test "${enable_statbox+set}" = set; then
6844 enableval
="$enable_statbox"
6846 if test "$enableval" = yes; then
6847 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6849 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6854 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x
; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6866 eval "$ac_cv_use_statbox"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_STATBOX" = yes; then
6872 echo "$ac_t""yes" 1>&6
6874 echo "$ac_t""no" 1>&6
6879 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6880 echo "configure:6881: checking for --${enablestring:-enable}-statline" >&5
6882 # Check whether --enable-statline or --disable-statline was given.
6883 if test "${enable_statline+set}" = set; then
6884 enableval
="$enable_statline"
6886 if test "$enableval" = yes; then
6887 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6889 ac_cv_use_statline
='wxUSE_STATLINE=no'
6894 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6895 if test "x$LINE" != x
; then
6896 eval "DEFAULT_$LINE"
6901 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6906 eval "$ac_cv_use_statline"
6907 if test "$no_cache" != 1; then
6908 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6911 if test "$wxUSE_STATLINE" = yes; then
6912 echo "$ac_t""yes" 1>&6
6914 echo "$ac_t""no" 1>&6
6919 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
6920 echo "configure:6921: checking for --${enablestring:-enable}-stattext" >&5
6922 # Check whether --enable-stattext or --disable-stattext was given.
6923 if test "${enable_stattext+set}" = set; then
6924 enableval
="$enable_stattext"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6929 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6934 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6946 eval "$ac_cv_use_stattext"
6947 if test "$no_cache" != 1; then
6948 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6951 if test "$wxUSE_STATTEXT" = yes; then
6952 echo "$ac_t""yes" 1>&6
6954 echo "$ac_t""no" 1>&6
6959 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
6960 echo "configure:6961: checking for --${enablestring:-enable}-statusbar" >&5
6962 # Check whether --enable-statusbar or --disable-statusbar was given.
6963 if test "${enable_statusbar+set}" = set; then
6964 enableval
="$enable_statusbar"
6966 if test "$enableval" = yes; then
6967 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6969 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6974 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6975 if test "x$LINE" != x
; then
6976 eval "DEFAULT_$LINE"
6981 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6986 eval "$ac_cv_use_statusbar"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_STATUSBAR" = yes; then
6992 echo "$ac_t""yes" 1>&6
6994 echo "$ac_t""no" 1>&6
6999 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7000 echo "configure:7001: checking for --${enablestring:-enable}-tabdialog" >&5
7002 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7003 if test "${enable_tabdialog+set}" = set; then
7004 enableval
="$enable_tabdialog"
7006 if test "$enableval" = yes; then
7007 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7009 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7014 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7015 if test "x$LINE" != x
; then
7016 eval "DEFAULT_$LINE"
7021 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7026 eval "$ac_cv_use_tabdialog"
7027 if test "$no_cache" != 1; then
7028 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7031 if test "$wxUSE_TABDIALOG" = yes; then
7032 echo "$ac_t""yes" 1>&6
7034 echo "$ac_t""no" 1>&6
7039 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7040 echo "configure:7041: checking for --${enablestring:-enable}-textctrl" >&5
7042 # Check whether --enable-textctrl or --disable-textctrl was given.
7043 if test "${enable_textctrl+set}" = set; then
7044 enableval
="$enable_textctrl"
7046 if test "$enableval" = yes; then
7047 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7049 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7054 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7055 if test "x$LINE" != x
; then
7056 eval "DEFAULT_$LINE"
7061 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7066 eval "$ac_cv_use_textctrl"
7067 if test "$no_cache" != 1; then
7068 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7071 if test "$wxUSE_TEXTCTRL" = yes; then
7072 echo "$ac_t""yes" 1>&6
7074 echo "$ac_t""no" 1>&6
7079 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7080 echo "configure:7081: checking for --${enablestring:-enable}-togglebtn" >&5
7082 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7083 if test "${enable_togglebtn+set}" = set; then
7084 enableval
="$enable_togglebtn"
7086 if test "$enableval" = yes; then
7087 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7089 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7094 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7095 if test "x$LINE" != x
; then
7096 eval "DEFAULT_$LINE"
7101 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7106 eval "$ac_cv_use_togglebtn"
7107 if test "$no_cache" != 1; then
7108 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7111 if test "$wxUSE_TOGGLEBTN" = yes; then
7112 echo "$ac_t""yes" 1>&6
7114 echo "$ac_t""no" 1>&6
7119 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7120 echo "configure:7121: checking for --${enablestring:-enable}-toolbar" >&5
7122 # Check whether --enable-toolbar or --disable-toolbar was given.
7123 if test "${enable_toolbar+set}" = set; then
7124 enableval
="$enable_toolbar"
7126 if test "$enableval" = yes; then
7127 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7129 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7134 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7135 if test "x$LINE" != x
; then
7136 eval "DEFAULT_$LINE"
7141 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7146 eval "$ac_cv_use_toolbar"
7147 if test "$no_cache" != 1; then
7148 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7151 if test "$wxUSE_TOOLBAR" = yes; then
7152 echo "$ac_t""yes" 1>&6
7154 echo "$ac_t""no" 1>&6
7159 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7160 echo "configure:7161: checking for --${enablestring:-enable}-tbarnative" >&5
7162 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7163 if test "${enable_tbarnative+set}" = set; then
7164 enableval
="$enable_tbarnative"
7166 if test "$enableval" = yes; then
7167 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7169 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7174 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7175 if test "x$LINE" != x
; then
7176 eval "DEFAULT_$LINE"
7181 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7186 eval "$ac_cv_use_tbarnative"
7187 if test "$no_cache" != 1; then
7188 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7191 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7192 echo "$ac_t""yes" 1>&6
7194 echo "$ac_t""no" 1>&6
7199 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7200 echo "configure:7201: checking for --${enablestring:-enable}-tbarsmpl" >&5
7202 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7203 if test "${enable_tbarsmpl+set}" = set; then
7204 enableval
="$enable_tbarsmpl"
7206 if test "$enableval" = yes; then
7207 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7209 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7214 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7215 if test "x$LINE" != x
; then
7216 eval "DEFAULT_$LINE"
7221 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7226 eval "$ac_cv_use_tbarsmpl"
7227 if test "$no_cache" != 1; then
7228 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7231 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7232 echo "$ac_t""yes" 1>&6
7234 echo "$ac_t""no" 1>&6
7239 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7240 echo "configure:7241: checking for --${enablestring:-enable}-treectrl" >&5
7242 # Check whether --enable-treectrl or --disable-treectrl was given.
7243 if test "${enable_treectrl+set}" = set; then
7244 enableval
="$enable_treectrl"
7246 if test "$enableval" = yes; then
7247 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7249 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7254 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7255 if test "x$LINE" != x
; then
7256 eval "DEFAULT_$LINE"
7261 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7266 eval "$ac_cv_use_treectrl"
7267 if test "$no_cache" != 1; then
7268 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7271 if test "$wxUSE_TREECTRL" = yes; then
7272 echo "$ac_t""yes" 1>&6
7274 echo "$ac_t""no" 1>&6
7279 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7280 echo "configure:7281: checking for --${enablestring:-enable}-tipwindow" >&5
7282 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7283 if test "${enable_tipwindow+set}" = set; then
7284 enableval
="$enable_tipwindow"
7286 if test "$enableval" = yes; then
7287 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7289 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7294 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x
; then
7296 eval "DEFAULT_$LINE"
7301 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7306 eval "$ac_cv_use_tipwindow"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7311 if test "$wxUSE_TIPWINDOW" = yes; then
7312 echo "$ac_t""yes" 1>&6
7314 echo "$ac_t""no" 1>&6
7319 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7320 echo "configure:7321: checking for --${enablestring:-enable}-popupwin" >&5
7322 # Check whether --enable-popupwin or --disable-popupwin was given.
7323 if test "${enable_popupwin+set}" = set; then
7324 enableval
="$enable_popupwin"
7326 if test "$enableval" = yes; then
7327 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7329 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7334 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7335 if test "x$LINE" != x
; then
7336 eval "DEFAULT_$LINE"
7341 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7346 eval "$ac_cv_use_popupwin"
7347 if test "$no_cache" != 1; then
7348 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7351 if test "$wxUSE_POPUPWIN" = yes; then
7352 echo "$ac_t""yes" 1>&6
7354 echo "$ac_t""no" 1>&6
7361 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7362 echo "configure:7363: checking for --${enablestring:-enable}-commondlg" >&5
7364 # Check whether --enable-commondlg or --disable-commondlg was given.
7365 if test "${enable_commondlg+set}" = set; then
7366 enableval
="$enable_commondlg"
7368 if test "$enableval" = yes; then
7369 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7371 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7376 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x
; then
7378 eval "DEFAULT_$LINE"
7383 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7388 eval "$ac_cv_use_commondlg"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7393 if test "$wxUSE_COMMONDLGS" = yes; then
7394 echo "$ac_t""yes" 1>&6
7396 echo "$ac_t""no" 1>&6
7401 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7402 echo "configure:7403: checking for --${enablestring:-enable}-choicedlg" >&5
7404 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7405 if test "${enable_choicedlg+set}" = set; then
7406 enableval
="$enable_choicedlg"
7408 if test "$enableval" = yes; then
7409 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7411 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7416 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7417 if test "x$LINE" != x
; then
7418 eval "DEFAULT_$LINE"
7423 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7428 eval "$ac_cv_use_choicedlg"
7429 if test "$no_cache" != 1; then
7430 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7433 if test "$wxUSE_CHOICEDLG" = yes; then
7434 echo "$ac_t""yes" 1>&6
7436 echo "$ac_t""no" 1>&6
7441 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7442 echo "configure:7443: checking for --${enablestring:-enable}-coldlg" >&5
7444 # Check whether --enable-coldlg or --disable-coldlg was given.
7445 if test "${enable_coldlg+set}" = set; then
7446 enableval
="$enable_coldlg"
7448 if test "$enableval" = yes; then
7449 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7451 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7456 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7457 if test "x$LINE" != x
; then
7458 eval "DEFAULT_$LINE"
7463 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7468 eval "$ac_cv_use_coldlg"
7469 if test "$no_cache" != 1; then
7470 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7473 if test "$wxUSE_COLOURDLG" = yes; then
7474 echo "$ac_t""yes" 1>&6
7476 echo "$ac_t""no" 1>&6
7481 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7482 echo "configure:7483: checking for --${enablestring:-enable}-filedlg" >&5
7484 # Check whether --enable-filedlg or --disable-filedlg was given.
7485 if test "${enable_filedlg+set}" = set; then
7486 enableval
="$enable_filedlg"
7488 if test "$enableval" = yes; then
7489 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7491 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7496 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x
; then
7498 eval "DEFAULT_$LINE"
7503 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7508 eval "$ac_cv_use_filedlg"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7513 if test "$wxUSE_FILEDLG" = yes; then
7514 echo "$ac_t""yes" 1>&6
7516 echo "$ac_t""no" 1>&6
7521 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7522 echo "configure:7523: checking for --${enablestring:-enable}-finddlg" >&5
7524 # Check whether --enable-finddlg or --disable-finddlg was given.
7525 if test "${enable_finddlg+set}" = set; then
7526 enableval
="$enable_finddlg"
7528 if test "$enableval" = yes; then
7529 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7531 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7536 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7537 if test "x$LINE" != x
; then
7538 eval "DEFAULT_$LINE"
7543 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7548 eval "$ac_cv_use_finddlg"
7549 if test "$no_cache" != 1; then
7550 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7553 if test "$wxUSE_FINDREPLDLG" = yes; then
7554 echo "$ac_t""yes" 1>&6
7556 echo "$ac_t""no" 1>&6
7561 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7562 echo "configure:7563: checking for --${enablestring:-enable}-fontdlg" >&5
7564 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7565 if test "${enable_fontdlg+set}" = set; then
7566 enableval
="$enable_fontdlg"
7568 if test "$enableval" = yes; then
7569 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7571 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7576 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x
; then
7578 eval "DEFAULT_$LINE"
7583 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7588 eval "$ac_cv_use_fontdlg"
7589 if test "$no_cache" != 1; then
7590 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7593 if test "$wxUSE_FONTDLG" = yes; then
7594 echo "$ac_t""yes" 1>&6
7596 echo "$ac_t""no" 1>&6
7601 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7602 echo "configure:7603: checking for --${enablestring:-enable}-dirdlg" >&5
7604 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7605 if test "${enable_dirdlg+set}" = set; then
7606 enableval
="$enable_dirdlg"
7608 if test "$enableval" = yes; then
7609 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7611 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7616 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x
; then
7618 eval "DEFAULT_$LINE"
7623 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7628 eval "$ac_cv_use_dirdlg"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7633 if test "$wxUSE_DIRDLG" = yes; then
7634 echo "$ac_t""yes" 1>&6
7636 echo "$ac_t""no" 1>&6
7641 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7642 echo "configure:7643: checking for --${enablestring:-enable}-msgdlg" >&5
7644 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7645 if test "${enable_msgdlg+set}" = set; then
7646 enableval
="$enable_msgdlg"
7648 if test "$enableval" = yes; then
7649 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7651 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7656 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7657 if test "x$LINE" != x
; then
7658 eval "DEFAULT_$LINE"
7663 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7668 eval "$ac_cv_use_msgdlg"
7669 if test "$no_cache" != 1; then
7670 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7673 if test "$wxUSE_MSGDLG" = yes; then
7674 echo "$ac_t""yes" 1>&6
7676 echo "$ac_t""no" 1>&6
7681 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7682 echo "configure:7683: checking for --${enablestring:-enable}-numberdlg" >&5
7684 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7685 if test "${enable_numberdlg+set}" = set; then
7686 enableval
="$enable_numberdlg"
7688 if test "$enableval" = yes; then
7689 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7691 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7696 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7697 if test "x$LINE" != x
; then
7698 eval "DEFAULT_$LINE"
7703 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7708 eval "$ac_cv_use_numberdlg"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7713 if test "$wxUSE_NUMBERDLG" = yes; then
7714 echo "$ac_t""yes" 1>&6
7716 echo "$ac_t""no" 1>&6
7721 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7722 echo "configure:7723: checking for --${enablestring:-enable}-splash" >&5
7724 # Check whether --enable-splash or --disable-splash was given.
7725 if test "${enable_splash+set}" = set; then
7726 enableval
="$enable_splash"
7728 if test "$enableval" = yes; then
7729 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7731 ac_cv_use_splash
='wxUSE_SPLASH=no'
7736 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7737 if test "x$LINE" != x
; then
7738 eval "DEFAULT_$LINE"
7743 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7748 eval "$ac_cv_use_splash"
7749 if test "$no_cache" != 1; then
7750 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7753 if test "$wxUSE_SPLASH" = yes; then
7754 echo "$ac_t""yes" 1>&6
7756 echo "$ac_t""no" 1>&6
7761 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7762 echo "configure:7763: checking for --${enablestring:-enable}-textdlg" >&5
7764 # Check whether --enable-textdlg or --disable-textdlg was given.
7765 if test "${enable_textdlg+set}" = set; then
7766 enableval
="$enable_textdlg"
7768 if test "$enableval" = yes; then
7769 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7771 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7776 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7777 if test "x$LINE" != x
; then
7778 eval "DEFAULT_$LINE"
7783 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7788 eval "$ac_cv_use_textdlg"
7789 if test "$no_cache" != 1; then
7790 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7793 if test "$wxUSE_TEXTDLG" = yes; then
7794 echo "$ac_t""yes" 1>&6
7796 echo "$ac_t""no" 1>&6
7801 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7802 echo "configure:7803: checking for --${enablestring:-enable}-tipdlg" >&5
7804 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7805 if test "${enable_tipdlg+set}" = set; then
7806 enableval
="$enable_tipdlg"
7808 if test "$enableval" = yes; then
7809 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7811 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7816 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7817 if test "x$LINE" != x
; then
7818 eval "DEFAULT_$LINE"
7823 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7828 eval "$ac_cv_use_tipdlg"
7829 if test "$no_cache" != 1; then
7830 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7833 if test "$wxUSE_STARTUP_TIPS" = yes; then
7834 echo "$ac_t""yes" 1>&6
7836 echo "$ac_t""no" 1>&6
7841 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7842 echo "configure:7843: checking for --${enablestring:-enable}-progressdlg" >&5
7844 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7845 if test "${enable_progressdlg+set}" = set; then
7846 enableval
="$enable_progressdlg"
7848 if test "$enableval" = yes; then
7849 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7851 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7856 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7857 if test "x$LINE" != x
; then
7858 eval "DEFAULT_$LINE"
7863 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7868 eval "$ac_cv_use_progressdlg"
7869 if test "$no_cache" != 1; then
7870 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7873 if test "$wxUSE_PROGRESSDLG" = yes; then
7874 echo "$ac_t""yes" 1>&6
7876 echo "$ac_t""no" 1>&6
7881 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7882 echo "configure:7883: checking for --${enablestring:-enable}-wizarddlg" >&5
7884 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7885 if test "${enable_wizarddlg+set}" = set; then
7886 enableval
="$enable_wizarddlg"
7888 if test "$enableval" = yes; then
7889 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7891 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7896 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7897 if test "x$LINE" != x
; then
7898 eval "DEFAULT_$LINE"
7903 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7908 eval "$ac_cv_use_wizarddlg"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7913 if test "$wxUSE_WIZARDDLG" = yes; then
7914 echo "$ac_t""yes" 1>&6
7916 echo "$ac_t""no" 1>&6
7923 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
7924 echo "configure:7925: checking for --${enablestring:-enable}-menus" >&5
7926 # Check whether --enable-menus or --disable-menus was given.
7927 if test "${enable_menus+set}" = set; then
7928 enableval
="$enable_menus"
7930 if test "$enableval" = yes; then
7931 ac_cv_use_menus
='wxUSE_MENUS=yes'
7933 ac_cv_use_menus
='wxUSE_MENUS=no'
7938 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7939 if test "x$LINE" != x
; then
7940 eval "DEFAULT_$LINE"
7945 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7950 eval "$ac_cv_use_menus"
7951 if test "$no_cache" != 1; then
7952 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7955 if test "$wxUSE_MENUS" = yes; then
7956 echo "$ac_t""yes" 1>&6
7958 echo "$ac_t""no" 1>&6
7963 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
7964 echo "configure:7965: checking for --${enablestring:-enable}-miniframe" >&5
7966 # Check whether --enable-miniframe or --disable-miniframe was given.
7967 if test "${enable_miniframe+set}" = set; then
7968 enableval
="$enable_miniframe"
7970 if test "$enableval" = yes; then
7971 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7973 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7978 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7979 if test "x$LINE" != x
; then
7980 eval "DEFAULT_$LINE"
7985 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7990 eval "$ac_cv_use_miniframe"
7991 if test "$no_cache" != 1; then
7992 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7995 if test "$wxUSE_MINIFRAME" = yes; then
7996 echo "$ac_t""yes" 1>&6
7998 echo "$ac_t""no" 1>&6
8003 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8004 echo "configure:8005: checking for --${enablestring:-enable}-tooltips" >&5
8006 # Check whether --enable-tooltips or --disable-tooltips was given.
8007 if test "${enable_tooltips+set}" = set; then
8008 enableval
="$enable_tooltips"
8010 if test "$enableval" = yes; then
8011 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8013 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8018 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8019 if test "x$LINE" != x
; then
8020 eval "DEFAULT_$LINE"
8025 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8030 eval "$ac_cv_use_tooltips"
8031 if test "$no_cache" != 1; then
8032 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8035 if test "$wxUSE_TOOLTIPS" = yes; then
8036 echo "$ac_t""yes" 1>&6
8038 echo "$ac_t""no" 1>&6
8043 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8044 echo "configure:8045: checking for --${enablestring:-enable}-splines" >&5
8046 # Check whether --enable-splines or --disable-splines was given.
8047 if test "${enable_splines+set}" = set; then
8048 enableval
="$enable_splines"
8050 if test "$enableval" = yes; then
8051 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8053 ac_cv_use_splines
='wxUSE_SPLINES=no'
8058 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8059 if test "x$LINE" != x
; then
8060 eval "DEFAULT_$LINE"
8065 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8070 eval "$ac_cv_use_splines"
8071 if test "$no_cache" != 1; then
8072 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8075 if test "$wxUSE_SPLINES" = yes; then
8076 echo "$ac_t""yes" 1>&6
8078 echo "$ac_t""no" 1>&6
8083 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8084 echo "configure:8085: checking for --${enablestring:-enable}-validators" >&5
8086 # Check whether --enable-validators or --disable-validators was given.
8087 if test "${enable_validators+set}" = set; then
8088 enableval
="$enable_validators"
8090 if test "$enableval" = yes; then
8091 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8093 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8098 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8099 if test "x$LINE" != x
; then
8100 eval "DEFAULT_$LINE"
8105 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8110 eval "$ac_cv_use_validators"
8111 if test "$no_cache" != 1; then
8112 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8115 if test "$wxUSE_VALIDATORS" = yes; then
8116 echo "$ac_t""yes" 1>&6
8118 echo "$ac_t""no" 1>&6
8123 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8124 echo "configure:8125: checking for --${enablestring:-enable}-busyinfo" >&5
8126 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8127 if test "${enable_busyinfo+set}" = set; then
8128 enableval
="$enable_busyinfo"
8130 if test "$enableval" = yes; then
8131 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8133 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8138 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x
; then
8140 eval "DEFAULT_$LINE"
8145 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8150 eval "$ac_cv_use_busyinfo"
8151 if test "$no_cache" != 1; then
8152 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8155 if test "$wxUSE_BUSYINFO" = yes; then
8156 echo "$ac_t""yes" 1>&6
8158 echo "$ac_t""no" 1>&6
8163 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8164 echo "configure:8165: checking for --${enablestring:-enable}-joystick" >&5
8166 # Check whether --enable-joystick or --disable-joystick was given.
8167 if test "${enable_joystick+set}" = set; then
8168 enableval
="$enable_joystick"
8170 if test "$enableval" = yes; then
8171 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8173 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8178 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x
; then
8180 eval "DEFAULT_$LINE"
8185 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8190 eval "$ac_cv_use_joystick"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8195 if test "$wxUSE_JOYSTICK" = yes; then
8196 echo "$ac_t""yes" 1>&6
8198 echo "$ac_t""no" 1>&6
8203 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8204 echo "configure:8205: checking for --${enablestring:-enable}-metafile" >&5
8206 # Check whether --enable-metafile or --disable-metafile was given.
8207 if test "${enable_metafile+set}" = set; then
8208 enableval
="$enable_metafile"
8210 if test "$enableval" = yes; then
8211 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8213 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8218 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8219 if test "x$LINE" != x
; then
8220 eval "DEFAULT_$LINE"
8225 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8230 eval "$ac_cv_use_metafile"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8235 if test "$wxUSE_METAFILE" = yes; then
8236 echo "$ac_t""yes" 1>&6
8238 echo "$ac_t""no" 1>&6
8243 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8244 echo "configure:8245: checking for --${enablestring:-enable}-dragimage" >&5
8246 # Check whether --enable-dragimage or --disable-dragimage was given.
8247 if test "${enable_dragimage+set}" = set; then
8248 enableval
="$enable_dragimage"
8250 if test "$enableval" = yes; then
8251 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8253 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8258 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8259 if test "x$LINE" != x
; then
8260 eval "DEFAULT_$LINE"
8265 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8270 eval "$ac_cv_use_dragimage"
8271 if test "$no_cache" != 1; then
8272 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8275 if test "$wxUSE_DRAGIMAGE" = yes; then
8276 echo "$ac_t""yes" 1>&6
8278 echo "$ac_t""no" 1>&6
8285 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8286 echo "configure:8287: checking for --${enablestring:-enable}-palette" >&5
8288 # Check whether --enable-palette or --disable-palette was given.
8289 if test "${enable_palette+set}" = set; then
8290 enableval
="$enable_palette"
8292 if test "$enableval" = yes; then
8293 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8295 ac_cv_use_palette
='wxUSE_PALETTE=no'
8300 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8301 if test "x$LINE" != x
; then
8302 eval "DEFAULT_$LINE"
8307 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8312 eval "$ac_cv_use_palette"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8317 if test "$wxUSE_PALETTE" = yes; then
8318 echo "$ac_t""yes" 1>&6
8320 echo "$ac_t""no" 1>&6
8325 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8326 echo "configure:8327: checking for --${enablestring:-enable}-image" >&5
8328 # Check whether --enable-image or --disable-image was given.
8329 if test "${enable_image+set}" = set; then
8330 enableval
="$enable_image"
8332 if test "$enableval" = yes; then
8333 ac_cv_use_image
='wxUSE_IMAGE=yes'
8335 ac_cv_use_image
='wxUSE_IMAGE=no'
8340 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8341 if test "x$LINE" != x
; then
8342 eval "DEFAULT_$LINE"
8347 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8352 eval "$ac_cv_use_image"
8353 if test "$no_cache" != 1; then
8354 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8357 if test "$wxUSE_IMAGE" = yes; then
8358 echo "$ac_t""yes" 1>&6
8360 echo "$ac_t""no" 1>&6
8365 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8366 echo "configure:8367: checking for --${enablestring:-enable}-gif" >&5
8368 # Check whether --enable-gif or --disable-gif was given.
8369 if test "${enable_gif+set}" = set; then
8370 enableval
="$enable_gif"
8372 if test "$enableval" = yes; then
8373 ac_cv_use_gif
='wxUSE_GIF=yes'
8375 ac_cv_use_gif
='wxUSE_GIF=no'
8380 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8381 if test "x$LINE" != x
; then
8382 eval "DEFAULT_$LINE"
8387 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8392 eval "$ac_cv_use_gif"
8393 if test "$no_cache" != 1; then
8394 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8397 if test "$wxUSE_GIF" = yes; then
8398 echo "$ac_t""yes" 1>&6
8400 echo "$ac_t""no" 1>&6
8405 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8406 echo "configure:8407: checking for --${enablestring:-enable}-pcx" >&5
8408 # Check whether --enable-pcx or --disable-pcx was given.
8409 if test "${enable_pcx+set}" = set; then
8410 enableval
="$enable_pcx"
8412 if test "$enableval" = yes; then
8413 ac_cv_use_pcx
='wxUSE_PCX=yes'
8415 ac_cv_use_pcx
='wxUSE_PCX=no'
8420 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8421 if test "x$LINE" != x
; then
8422 eval "DEFAULT_$LINE"
8427 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8432 eval "$ac_cv_use_pcx"
8433 if test "$no_cache" != 1; then
8434 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8437 if test "$wxUSE_PCX" = yes; then
8438 echo "$ac_t""yes" 1>&6
8440 echo "$ac_t""no" 1>&6
8445 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8446 echo "configure:8447: checking for --${enablestring:-enable}-iff" >&5
8448 # Check whether --enable-iff or --disable-iff was given.
8449 if test "${enable_iff+set}" = set; then
8450 enableval
="$enable_iff"
8452 if test "$enableval" = yes; then
8453 ac_cv_use_iff
='wxUSE_IFF=yes'
8455 ac_cv_use_iff
='wxUSE_IFF=no'
8460 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x
; then
8462 eval "DEFAULT_$LINE"
8467 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8472 eval "$ac_cv_use_iff"
8473 if test "$no_cache" != 1; then
8474 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8477 if test "$wxUSE_IFF" = yes; then
8478 echo "$ac_t""yes" 1>&6
8480 echo "$ac_t""no" 1>&6
8485 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8486 echo "configure:8487: checking for --${enablestring:-enable}-pnm" >&5
8488 # Check whether --enable-pnm or --disable-pnm was given.
8489 if test "${enable_pnm+set}" = set; then
8490 enableval
="$enable_pnm"
8492 if test "$enableval" = yes; then
8493 ac_cv_use_pnm
='wxUSE_PNM=yes'
8495 ac_cv_use_pnm
='wxUSE_PNM=no'
8500 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8501 if test "x$LINE" != x
; then
8502 eval "DEFAULT_$LINE"
8507 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8512 eval "$ac_cv_use_pnm"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8517 if test "$wxUSE_PNM" = yes; then
8518 echo "$ac_t""yes" 1>&6
8520 echo "$ac_t""no" 1>&6
8525 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8526 echo "configure:8527: checking for --${enablestring:-enable}-xpm" >&5
8528 # Check whether --enable-xpm or --disable-xpm was given.
8529 if test "${enable_xpm+set}" = set; then
8530 enableval
="$enable_xpm"
8532 if test "$enableval" = yes; then
8533 ac_cv_use_xpm
='wxUSE_XPM=yes'
8535 ac_cv_use_xpm
='wxUSE_XPM=no'
8540 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8541 if test "x$LINE" != x
; then
8542 eval "DEFAULT_$LINE"
8547 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8552 eval "$ac_cv_use_xpm"
8553 if test "$no_cache" != 1; then
8554 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8557 if test "$wxUSE_XPM" = yes; then
8558 echo "$ac_t""yes" 1>&6
8560 echo "$ac_t""no" 1>&6
8565 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8566 echo "configure:8567: checking for --${enablestring:-enable}-ico_cur" >&5
8568 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8569 if test "${enable_ico_cur+set}" = set; then
8570 enableval
="$enable_ico_cur"
8572 if test "$enableval" = yes; then
8573 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8575 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8580 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8581 if test "x$LINE" != x
; then
8582 eval "DEFAULT_$LINE"
8587 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8592 eval "$ac_cv_use_ico_cur"
8593 if test "$no_cache" != 1; then
8594 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8597 if test "$wxUSE_ICO_CUR" = yes; then
8598 echo "$ac_t""yes" 1>&6
8600 echo "$ac_t""no" 1>&6
8607 *-pc-os2_emx | *-pc-os2-emx )
8619 echo "saving argument cache $wx_arg_cache_file"
8620 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8624 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8625 echo "configure:8626: checking for toolkit" >&5
8627 # In Wine, we need to default to MSW, not GTK or MOTIF
8628 if test "$wxUSE_WINE" = "yes"; then
8629 DEFAULT_DEFAULT_wxUSE_GTK
=0
8630 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8631 DEFAULT_DEFAULT_wxUSE_MSW
=1
8634 if test "$wxUSE_GUI" = "yes"; then
8636 if test "$USE_BEOS" = 1; then
8637 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8640 if test "$TOOLKIT_GIVEN" = 1; then
8641 for toolkit
in `echo $ALL_TOOLKITS`; do
8643 eval "value=\$${var}"
8644 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8647 for toolkit
in `echo $ALL_TOOLKITS`; do
8648 if test "$has_toolkit_in_cache" != 1; then
8649 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8651 var
=DEFAULT_wxUSE_
$toolkit
8653 eval "wxUSE_$toolkit=\$${var}"
8657 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8658 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8659 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8662 *-pc-os2_emx | *-pc-os2-emx )
8663 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8666 case "$NUM_TOOLKITS" in
8670 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8673 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8676 for toolkit
in `echo $ALL_TOOLKITS`; do
8678 eval "value=\$${var}"
8679 if test "x$value" != x
; then
8680 cache_var
=CACHE_
$toolkit
8681 eval "cache=\$${cache_var}"
8682 if test "$cache" = 1; then
8683 echo "$var=$value" >> ${wx_arg_cache_file}
8685 if test "$value" = 1; then
8686 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8687 echo "$ac_t""$toolkit_echo" 1>&6
8692 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8699 if test "$wxUSE_MSW" = 1 ; then
8710 if test "$wxUSE_WINE" = "yes"; then
8717 if test "$wants_win32" = 1 ; then
8720 cat >> confdefs.h
<<\EOF
8724 cat >> confdefs.h
<<\EOF
8728 cat >> confdefs.h
<<\EOF
8729 #define __WINDOWS__ 1
8732 cat >> confdefs.h
<<\EOF
8733 #define __GNUWIN32__ 1
8736 cat >> confdefs.h
<<\EOF
8740 cat >> confdefs.h
<<\EOF
8741 #define WINVER 0x0400
8745 if test "$doesnt_want_win32" = 1 ; then
8750 if test "$USE_UNIX" = 1 ; then
8752 cat >> confdefs.h
<<\EOF
8759 cat > confcache
<<\EOF
8760 # This file is a shell script that caches the results of configure
8761 # tests run on this system so they can be shared between configure
8762 # scripts and configure runs. It is not useful on other systems.
8763 # If it contains results you don't want to keep, you may remove or edit it.
8765 # By default, configure uses ./config.cache as the cache file,
8766 # creating it if it does not exist already. You can give configure
8767 # the --cache-file=FILE option to use a different cache file; that is
8768 # what configure does when it calls configure scripts in
8769 # subdirectories, so they share the cache.
8770 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8771 # config.status only pays attention to the cache file if you give it the
8772 # --recheck option to rerun configure.
8775 # The following way of writing the cache mishandles newlines in values,
8776 # but we know of no workaround that is simple, portable, and efficient.
8777 # So, don't put newlines in cache variables' values.
8778 # Ultrix sh set writes to stderr and can't be redirected directly,
8779 # and sets the high bit in the cache file unless we assign to the vars.
8781 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8783 # `set' does not quote correctly, so add quotes (double-quote substitution
8784 # turns \\\\ into \\, and sed turns \\ into \).
8786 -e "s/'/'\\\\''/g" \
8787 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8790 # `set' quotes correctly as required by POSIX, so do not add quotes.
8791 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8794 if cmp -s $cache_file confcache
; then
8797 if test -w $cache_file; then
8798 echo "updating cache $cache_file"
8799 cat confcache
> $cache_file
8801 echo "not updating unwritable cache $cache_file"
8807 if test "$build" != "$host" ; then
8808 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8812 RANLIB
=$host_alias-ranlib
8813 DLLTOOL
=$host_alias-dlltool
8814 RESCOMP
=$host_alias-windres
8817 STRIP
=$host_alias-strip
8819 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8824 # Extract the first word of "gcc", so it can be a program name with args.
8825 set dummy gcc
; ac_word
=$2
8826 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8827 echo "configure:8828: checking for $ac_word" >&5
8828 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8829 echo $ac_n "(cached) $ac_c" 1>&6
8831 if test -n "$CC"; then
8832 ac_cv_prog_CC
="$CC" # Let the user override the test.
8834 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8836 for ac_dir
in $ac_dummy; do
8837 test -z "$ac_dir" && ac_dir
=.
8838 if test -f $ac_dir/$ac_word; then
8847 if test -n "$CC"; then
8848 echo "$ac_t""$CC" 1>&6
8850 echo "$ac_t""no" 1>&6
8853 if test -z "$CC"; then
8854 # Extract the first word of "cc", so it can be a program name with args.
8855 set dummy cc
; ac_word
=$2
8856 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8857 echo "configure:8858: checking for $ac_word" >&5
8858 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8859 echo $ac_n "(cached) $ac_c" 1>&6
8861 if test -n "$CC"; then
8862 ac_cv_prog_CC
="$CC" # Let the user override the test.
8864 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8867 for ac_dir
in $ac_dummy; do
8868 test -z "$ac_dir" && ac_dir
=.
8869 if test -f $ac_dir/$ac_word; then
8870 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8871 ac_prog_rejected
=yes
8879 if test $ac_prog_rejected = yes; then
8880 # We found a bogon in the path, so make sure we never use it.
8881 set dummy
$ac_cv_prog_CC
8883 if test $# -gt 0; then
8884 # We chose a different compiler from the bogus one.
8885 # However, it has the same basename, so the bogon will be chosen
8886 # first if we set CC to just the basename; use the full file name.
8888 set dummy
"$ac_dir/$ac_word" "$@"
8896 if test -n "$CC"; then
8897 echo "$ac_t""$CC" 1>&6
8899 echo "$ac_t""no" 1>&6
8902 if test -z "$CC"; then
8903 case "`uname -s`" in
8905 # Extract the first word of "cl", so it can be a program name with args.
8906 set dummy cl
; ac_word
=$2
8907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8908 echo "configure:8909: checking for $ac_word" >&5
8909 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8910 echo $ac_n "(cached) $ac_c" 1>&6
8912 if test -n "$CC"; then
8913 ac_cv_prog_CC
="$CC" # Let the user override the test.
8915 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8917 for ac_dir
in $ac_dummy; do
8918 test -z "$ac_dir" && ac_dir
=.
8919 if test -f $ac_dir/$ac_word; then
8928 if test -n "$CC"; then
8929 echo "$ac_t""$CC" 1>&6
8931 echo "$ac_t""no" 1>&6
8936 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8939 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8940 echo "configure:8941: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8943 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8944 ac_cpp
='$CPP $CPPFLAGS'
8945 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8946 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8947 cross_compiling
=$ac_cv_prog_cc_cross
8949 cat > conftest.
$ac_ext << EOF
8951 #line 8952 "configure"
8952 #include "confdefs.h"
8956 if { (eval echo configure
:8957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8957 ac_cv_prog_cc_works
=yes
8958 # If we can't run a trivial program, we are probably using a cross compiler.
8959 if (.
/conftest
; exit) 2>/dev
/null
; then
8960 ac_cv_prog_cc_cross
=no
8962 ac_cv_prog_cc_cross
=yes
8965 echo "configure: failed program was:" >&5
8966 cat conftest.
$ac_ext >&5
8967 ac_cv_prog_cc_works
=no
8971 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8972 ac_cpp
='$CPP $CPPFLAGS'
8973 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8974 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8975 cross_compiling
=$ac_cv_prog_cc_cross
8977 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8978 if test $ac_cv_prog_cc_works = no
; then
8979 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8981 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8982 echo "configure:8983: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8983 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8984 cross_compiling
=$ac_cv_prog_cc_cross
8986 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8987 echo "configure:8988: checking whether we are using GNU C" >&5
8988 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8989 echo $ac_n "(cached) $ac_c" 1>&6
8991 cat > conftest.c
<<EOF
8996 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9003 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9005 if test $ac_cv_prog_gcc = yes; then
9011 ac_test_CFLAGS
="${CFLAGS+set}"
9012 ac_save_CFLAGS
="$CFLAGS"
9014 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9015 echo "configure:9016: checking whether ${CC-cc} accepts -g" >&5
9016 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9017 echo $ac_n "(cached) $ac_c" 1>&6
9019 echo 'void f(){}' > conftest.c
9020 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9029 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9030 if test "$ac_test_CFLAGS" = set; then
9031 CFLAGS
="$ac_save_CFLAGS"
9032 elif test $ac_cv_prog_cc_g = yes; then
9033 if test "$GCC" = yes; then
9039 if test "$GCC" = yes; then
9047 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9048 echo "configure:9049: checking how to run the C preprocessor" >&5
9049 # On Suns, sometimes $CPP names a directory.
9050 if test -n "$CPP" && test -d "$CPP"; then
9053 if test -z "$CPP"; then
9054 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9057 # This must be in double quotes, not single quotes, because CPP may get
9058 # substituted into the Makefile and "${CC-cc}" will confuse make.
9060 # On the NeXT, cc -E runs the code through the compiler's parser,
9061 # not just through cpp.
9062 cat > conftest.
$ac_ext <<EOF
9063 #line 9064 "configure"
9064 #include "confdefs.h"
9068 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9069 { (eval echo configure
:9070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9070 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9071 if test -z "$ac_err"; then
9075 echo "configure: failed program was:" >&5
9076 cat conftest.
$ac_ext >&5
9078 CPP
="${CC-cc} -E -traditional-cpp"
9079 cat > conftest.
$ac_ext <<EOF
9080 #line 9081 "configure"
9081 #include "confdefs.h"
9085 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9086 { (eval echo configure
:9087: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9087 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9088 if test -z "$ac_err"; then
9092 echo "configure: failed program was:" >&5
9093 cat conftest.
$ac_ext >&5
9095 CPP
="${CC-cc} -nologo -E"
9096 cat > conftest.
$ac_ext <<EOF
9097 #line 9098 "configure"
9098 #include "confdefs.h"
9102 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9103 { (eval echo configure
:9104: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9104 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9105 if test -z "$ac_err"; then
9109 echo "configure: failed program was:" >&5
9110 cat conftest.
$ac_ext >&5
9119 ac_cv_prog_CPP
="$CPP"
9121 CPP
="$ac_cv_prog_CPP"
9123 ac_cv_prog_CPP
="$CPP"
9125 echo "$ac_t""$CPP" 1>&6
9127 if test $ac_cv_prog_gcc = yes; then
9128 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9129 echo "configure:9130: checking whether ${CC-cc} needs -traditional" >&5
9130 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9131 echo $ac_n "(cached) $ac_c" 1>&6
9133 ac_pattern
="Autoconf.*'x'"
9134 cat > conftest.
$ac_ext <<EOF
9135 #line 9136 "configure"
9136 #include "confdefs.h"
9140 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9141 egrep "$ac_pattern" >/dev
/null
2>&1; then
9143 ac_cv_prog_gcc_traditional
=yes
9146 ac_cv_prog_gcc_traditional
=no
9151 if test $ac_cv_prog_gcc_traditional = no
; then
9152 cat > conftest.
$ac_ext <<EOF
9153 #line 9154 "configure"
9154 #include "confdefs.h"
9158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9159 egrep "$ac_pattern" >/dev
/null
2>&1; then
9161 ac_cv_prog_gcc_traditional
=yes
9168 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9169 if test $ac_cv_prog_gcc_traditional = yes; then
9170 CC
="$CC -traditional"
9177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9178 ac_cpp
='$CXXCPP $CPPFLAGS'
9179 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9180 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9181 cross_compiling
=$ac_cv_prog_cxx_cross
9184 CXXFLAGS
=${CXXFLAGS:=}
9185 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9187 # Extract the first word of "$ac_prog", so it can be a program name with args.
9188 set dummy
$ac_prog; ac_word
=$2
9189 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9190 echo "configure:9191: checking for $ac_word" >&5
9191 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9192 echo $ac_n "(cached) $ac_c" 1>&6
9194 if test -n "$CXX"; then
9195 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9197 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9199 for ac_dir
in $ac_dummy; do
9200 test -z "$ac_dir" && ac_dir
=.
9201 if test -f $ac_dir/$ac_word; then
9202 ac_cv_prog_CXX
="$ac_prog"
9209 CXX
="$ac_cv_prog_CXX"
9210 if test -n "$CXX"; then
9211 echo "$ac_t""$CXX" 1>&6
9213 echo "$ac_t""no" 1>&6
9216 test -n "$CXX" && break
9218 test -n "$CXX" || CXX
="gcc"
9221 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9222 echo "configure:9223: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9225 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9226 ac_cpp
='$CXXCPP $CPPFLAGS'
9227 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9228 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9229 cross_compiling
=$ac_cv_prog_cxx_cross
9231 cat > conftest.
$ac_ext << EOF
9233 #line 9234 "configure"
9234 #include "confdefs.h"
9236 int main(){return(0);}
9238 if { (eval echo configure
:9239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9239 ac_cv_prog_cxx_works
=yes
9240 # If we can't run a trivial program, we are probably using a cross compiler.
9241 if (.
/conftest
; exit) 2>/dev
/null
; then
9242 ac_cv_prog_cxx_cross
=no
9244 ac_cv_prog_cxx_cross
=yes
9247 echo "configure: failed program was:" >&5
9248 cat conftest.
$ac_ext >&5
9249 ac_cv_prog_cxx_works
=no
9253 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9254 ac_cpp
='$CXXCPP $CPPFLAGS'
9255 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9256 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9257 cross_compiling
=$ac_cv_prog_cxx_cross
9259 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9260 if test $ac_cv_prog_cxx_works = no
; then
9261 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9263 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9264 echo "configure:9265: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9265 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9266 cross_compiling
=$ac_cv_prog_cxx_cross
9268 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9269 echo "configure:9270: checking whether we are using GNU C++" >&5
9270 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9271 echo $ac_n "(cached) $ac_c" 1>&6
9273 cat > conftest.C
<<EOF
9278 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9285 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9287 if test $ac_cv_prog_gxx = yes; then
9293 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9294 ac_save_CXXFLAGS
="$CXXFLAGS"
9296 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9297 echo "configure:9298: checking whether ${CXX-g++} accepts -g" >&5
9298 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9299 echo $ac_n "(cached) $ac_c" 1>&6
9301 echo 'void f(){}' > conftest.cc
9302 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9303 ac_cv_prog_cxx_g
=yes
9311 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9312 if test "$ac_test_CXXFLAGS" = set; then
9313 CXXFLAGS
="$ac_save_CXXFLAGS"
9314 elif test $ac_cv_prog_cxx_g = yes; then
9315 if test "$GXX" = yes; then
9321 if test "$GXX" = yes; then
9330 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9331 ac_cpp
='$CPP $CPPFLAGS'
9332 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9333 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9334 cross_compiling
=$ac_cv_prog_cc_cross
9337 # Extract the first word of "ranlib", so it can be a program name with args.
9338 set dummy ranlib
; ac_word
=$2
9339 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9340 echo "configure:9341: checking for $ac_word" >&5
9341 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9342 echo $ac_n "(cached) $ac_c" 1>&6
9344 if test -n "$RANLIB"; then
9345 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9347 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9349 for ac_dir
in $ac_dummy; do
9350 test -z "$ac_dir" && ac_dir
=.
9351 if test -f $ac_dir/$ac_word; then
9352 ac_cv_prog_RANLIB
="ranlib"
9357 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9360 RANLIB
="$ac_cv_prog_RANLIB"
9361 if test -n "$RANLIB"; then
9362 echo "$ac_t""$RANLIB" 1>&6
9364 echo "$ac_t""no" 1>&6
9368 # Extract the first word of "ar", so it can be a program name with args.
9369 set dummy
ar; ac_word
=$2
9370 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9371 echo "configure:9372: checking for $ac_word" >&5
9372 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9373 echo $ac_n "(cached) $ac_c" 1>&6
9375 if test -n "$AR"; then
9376 ac_cv_prog_AR
="$AR" # Let the user override the test.
9378 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9380 for ac_dir
in $ac_dummy; do
9381 test -z "$ac_dir" && ac_dir
=.
9382 if test -f $ac_dir/$ac_word; then
9388 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9392 if test -n "$AR"; then
9393 echo "$ac_t""$AR" 1>&6
9395 echo "$ac_t""no" 1>&6
9399 # Find a good install program. We prefer a C program (faster),
9400 # so one script is as good as another. But avoid the broken or
9401 # incompatible versions:
9402 # SysV /etc/install, /usr/sbin/install
9403 # SunOS /usr/etc/install
9404 # IRIX /sbin/install
9406 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9407 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9408 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9409 # ./install, which can be erroneously created by make from ./install.sh.
9410 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9411 echo "configure:9412: checking for a BSD compatible install" >&5
9412 if test -z "$INSTALL"; then
9413 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9414 echo $ac_n "(cached) $ac_c" 1>&6
9416 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9417 for ac_dir
in $PATH; do
9418 # Account for people who put trailing slashes in PATH elements.
9420 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9422 # OSF1 and SCO ODT 3.0 have their own names for install.
9423 # Don't use installbsd from OSF since it installs stuff as root
9425 for ac_prog
in ginstall scoinst
install; do
9426 if test -f $ac_dir/$ac_prog; then
9427 if test $ac_prog = install &&
9428 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9429 # AIX install. It has an incompatible calling convention.
9432 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9443 if test "${ac_cv_path_install+set}" = set; then
9444 INSTALL
="$ac_cv_path_install"
9446 # As a last resort, use the slow shell script. We don't cache a
9447 # path for INSTALL within a source directory, because that will
9448 # break other packages using the cache if that directory is
9449 # removed, or if the path is relative.
9450 INSTALL
="$ac_install_sh"
9453 echo "$ac_t""$INSTALL" 1>&6
9455 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9456 # It thinks the first close brace ends the variable substitution.
9457 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9459 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9461 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9467 ?
:* ) # Drive letter, considered as absolute.
9470 INSTALL
=`pwd`/${INSTALL} ;;
9478 *) INSTALL_DIR
="$INSTALL -d"
9486 INSTALL_PROGRAM
="cp -fp"
9487 INSTALL_DATA
="cp -fp"
9493 # Extract the first word of "strip", so it can be a program name with args.
9494 set dummy strip
; ac_word
=$2
9495 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9496 echo "configure:9497: checking for $ac_word" >&5
9497 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9498 echo $ac_n "(cached) $ac_c" 1>&6
9500 if test -n "$STRIP"; then
9501 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9503 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9505 for ac_dir
in $ac_dummy; do
9506 test -z "$ac_dir" && ac_dir
=.
9507 if test -f $ac_dir/$ac_word; then
9508 ac_cv_prog_STRIP
="strip"
9513 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9516 STRIP
="$ac_cv_prog_STRIP"
9517 if test -n "$STRIP"; then
9518 echo "$ac_t""$STRIP" 1>&6
9520 echo "$ac_t""no" 1>&6
9524 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9525 echo "configure:9526: checking if make is GNU make" >&5
9526 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9527 echo $ac_n "(cached) $ac_c" 1>&6
9530 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9531 egrep -s GNU
> /dev
/null
); then
9532 wx_cv_prog_makeisgnu
="yes"
9534 wx_cv_prog_makeisgnu
="no"
9539 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9541 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9549 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9550 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9551 echo "configure:9552: checking if make supports VPATH" >&5
9552 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9553 echo $ac_n "(cached) $ac_c" 1>&6
9556 cat - << EOF > confMake
9562 if test ! -d sub
; then
9565 echo dummy
> sub
/file
9566 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9568 rm -f sub
/file check final_file confMake
9570 if test "$RESULT" = 0; then
9571 wx_cv_prog_makevpath
="yes"
9573 wx_cv_prog_makevpath
="no"
9578 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9580 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9581 { echo "configure: error:
9582 You need a make-utility that is able to use the variable
9584 If your version of make does not support VPATH correctly,
9585 please install GNU-make (possibly as gmake), and start
9586 configure with the following command:
9587 export MAKE=gmake; ./configure for sh-type shells
9588 setenv MAKE gmake; ./configure for csh-type shells
9589 Also please do remember to use gmake in this case every time
9590 you are trying to compile.
9593 for ac_prog
in 'bison -y' byacc
9595 # Extract the first word of "$ac_prog", so it can be a program name with args.
9596 set dummy
$ac_prog; ac_word
=$2
9597 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9598 echo "configure:9599: checking for $ac_word" >&5
9599 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9600 echo $ac_n "(cached) $ac_c" 1>&6
9602 if test -n "$YACC"; then
9603 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9605 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9607 for ac_dir
in $ac_dummy; do
9608 test -z "$ac_dir" && ac_dir
=.
9609 if test -f $ac_dir/$ac_word; then
9610 ac_cv_prog_YACC
="$ac_prog"
9617 YACC
="$ac_cv_prog_YACC"
9618 if test -n "$YACC"; then
9619 echo "$ac_t""$YACC" 1>&6
9621 echo "$ac_t""no" 1>&6
9624 test -n "$YACC" && break
9626 test -n "$YACC" || YACC
="yacc"
9629 # Extract the first word of "flex", so it can be a program name with args.
9630 set dummy flex
; ac_word
=$2
9631 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9632 echo "configure:9633: checking for $ac_word" >&5
9633 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9634 echo $ac_n "(cached) $ac_c" 1>&6
9636 if test -n "$LEX"; then
9637 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9639 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9641 for ac_dir
in $ac_dummy; do
9642 test -z "$ac_dir" && ac_dir
=.
9643 if test -f $ac_dir/$ac_word; then
9644 ac_cv_prog_LEX
="flex"
9649 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9652 LEX
="$ac_cv_prog_LEX"
9653 if test -n "$LEX"; then
9654 echo "$ac_t""$LEX" 1>&6
9656 echo "$ac_t""no" 1>&6
9659 if test -z "$LEXLIB"
9665 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9666 echo "configure:9667: checking for yywrap in -l$ac_lib" >&5
9667 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9668 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9669 echo $ac_n "(cached) $ac_c" 1>&6
9671 ac_save_LIBS
="$LIBS"
9672 LIBS
="-l$ac_lib $LIBS"
9673 cat > conftest.
$ac_ext <<EOF
9674 #line 9675 "configure"
9675 #include "confdefs.h"
9676 /* Override any gcc2 internal prototype to avoid an error. */
9677 /* We use char because int might match the return type of a gcc2
9678 builtin and then its argument prototype would still apply. */
9685 if { (eval echo configure
:9686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9687 eval "ac_cv_lib_$ac_lib_var=yes"
9689 echo "configure: failed program was:" >&5
9690 cat conftest.
$ac_ext >&5
9692 eval "ac_cv_lib_$ac_lib_var=no"
9695 LIBS
="$ac_save_LIBS"
9698 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9699 echo "$ac_t""yes" 1>&6
9702 echo "$ac_t""no" 1>&6
9708 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9709 echo "configure:9710: checking whether ln -s works" >&5
9710 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9711 echo $ac_n "(cached) $ac_c" 1>&6
9714 if ln -s X conftestdata
2>/dev
/null
9717 ac_cv_prog_LN_S
="ln -s"
9722 LN_S
="$ac_cv_prog_LN_S"
9723 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9724 echo "$ac_t""yes" 1>&6
9726 echo "$ac_t""no" 1>&6
9731 *-pc-os2_emx | *-pc-os2-emx )
9732 LIBS
="$LIBS -lstdcpp"
9733 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9734 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9735 echo "configure:9736: checking for drand48 in -lcExt" >&5
9736 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9737 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9738 echo $ac_n "(cached) $ac_c" 1>&6
9740 ac_save_LIBS
="$LIBS"
9742 cat > conftest.
$ac_ext <<EOF
9743 #line 9744 "configure"
9744 #include "confdefs.h"
9745 /* Override any gcc2 internal prototype to avoid an error. */
9746 /* We use char because int might match the return type of a gcc2
9747 builtin and then its argument prototype would still apply. */
9754 if { (eval echo configure
:9755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9756 eval "ac_cv_lib_$ac_lib_var=yes"
9758 echo "configure: failed program was:" >&5
9759 cat conftest.
$ac_ext >&5
9761 eval "ac_cv_lib_$ac_lib_var=no"
9764 LIBS
="$ac_save_LIBS"
9767 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9768 echo "$ac_t""yes" 1>&6
9771 echo "$ac_t""no" 1>&6
9775 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9781 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9782 for ac_hdr
in strings.h
9784 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9786 echo "configure:9787: checking for $ac_hdr" >&5
9787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9790 cat > conftest.
$ac_ext <<EOF
9791 #line 9792 "configure"
9792 #include "confdefs.h"
9795 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9796 { (eval echo configure
:9797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9797 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9798 if test -z "$ac_err"; then
9800 eval "ac_cv_header_$ac_safe=yes"
9803 echo "configure: failed program was:" >&5
9804 cat conftest.
$ac_ext >&5
9806 eval "ac_cv_header_$ac_safe=no"
9810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9811 echo "$ac_t""yes" 1>&6
9812 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9813 cat >> confdefs.h
<<EOF
9814 #define $ac_tr_hdr 1
9818 echo "$ac_t""no" 1>&6
9824 for ac_hdr
in stdlib.h
9826 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9827 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9828 echo "configure:9829: checking for $ac_hdr" >&5
9829 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9832 cat > conftest.
$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9837 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9838 { (eval echo configure
:9839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9839 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9840 if test -z "$ac_err"; then
9842 eval "ac_cv_header_$ac_safe=yes"
9845 echo "configure: failed program was:" >&5
9846 cat conftest.
$ac_ext >&5
9848 eval "ac_cv_header_$ac_safe=no"
9852 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9853 echo "$ac_t""yes" 1>&6
9854 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9855 cat >> confdefs.h
<<EOF
9856 #define $ac_tr_hdr 1
9860 echo "$ac_t""no" 1>&6
9864 for ac_hdr
in malloc.h
9866 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9867 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9868 echo "configure:9869: checking for $ac_hdr" >&5
9869 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9870 echo $ac_n "(cached) $ac_c" 1>&6
9872 cat > conftest.
$ac_ext <<EOF
9873 #line 9874 "configure"
9874 #include "confdefs.h"
9877 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9878 { (eval echo configure
:9879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9879 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9880 if test -z "$ac_err"; then
9882 eval "ac_cv_header_$ac_safe=yes"
9885 echo "configure: failed program was:" >&5
9886 cat conftest.
$ac_ext >&5
9888 eval "ac_cv_header_$ac_safe=no"
9892 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9893 echo "$ac_t""yes" 1>&6
9894 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9895 cat >> confdefs.h
<<EOF
9896 #define $ac_tr_hdr 1
9900 echo "$ac_t""no" 1>&6
9904 for ac_hdr
in unistd.h
9906 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9907 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9908 echo "configure:9909: checking for $ac_hdr" >&5
9909 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9910 echo $ac_n "(cached) $ac_c" 1>&6
9912 cat > conftest.
$ac_ext <<EOF
9913 #line 9914 "configure"
9914 #include "confdefs.h"
9917 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9918 { (eval echo configure
:9919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9919 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9920 if test -z "$ac_err"; then
9922 eval "ac_cv_header_$ac_safe=yes"
9925 echo "configure: failed program was:" >&5
9926 cat conftest.
$ac_ext >&5
9928 eval "ac_cv_header_$ac_safe=no"
9932 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9933 echo "$ac_t""yes" 1>&6
9934 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9935 cat >> confdefs.h
<<EOF
9936 #define $ac_tr_hdr 1
9940 echo "$ac_t""no" 1>&6
9944 for ac_hdr
in wchar.h
9946 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9947 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9948 echo "configure:9949: checking for $ac_hdr" >&5
9949 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9950 echo $ac_n "(cached) $ac_c" 1>&6
9952 cat > conftest.
$ac_ext <<EOF
9953 #line 9954 "configure"
9954 #include "confdefs.h"
9957 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9958 { (eval echo configure
:9959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9959 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9960 if test -z "$ac_err"; then
9962 eval "ac_cv_header_$ac_safe=yes"
9965 echo "configure: failed program was:" >&5
9966 cat conftest.
$ac_ext >&5
9968 eval "ac_cv_header_$ac_safe=no"
9972 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9973 echo "$ac_t""yes" 1>&6
9974 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9975 cat >> confdefs.h
<<EOF
9976 #define $ac_tr_hdr 1
9980 echo "$ac_t""no" 1>&6
9985 if test "$ac_cv_header_wchar_h" != "yes"; then
9986 for ac_hdr
in wcstr.h
9988 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9990 echo "configure:9991: checking for $ac_hdr" >&5
9991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9992 echo $ac_n "(cached) $ac_c" 1>&6
9994 cat > conftest.
$ac_ext <<EOF
9995 #line 9996 "configure"
9996 #include "confdefs.h"
9999 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10000 { (eval echo configure
:10001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10001 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10002 if test -z "$ac_err"; then
10004 eval "ac_cv_header_$ac_safe=yes"
10007 echo "configure: failed program was:" >&5
10008 cat conftest.
$ac_ext >&5
10010 eval "ac_cv_header_$ac_safe=no"
10014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10015 echo "$ac_t""yes" 1>&6
10016 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10017 cat >> confdefs.h
<<EOF
10018 #define $ac_tr_hdr 1
10022 echo "$ac_t""no" 1>&6
10028 for ac_hdr
in fnmatch.h
10030 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10031 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10032 echo "configure:10033: checking for $ac_hdr" >&5
10033 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10034 echo $ac_n "(cached) $ac_c" 1>&6
10036 cat > conftest.
$ac_ext <<EOF
10037 #line 10038 "configure"
10038 #include "confdefs.h"
10041 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10042 { (eval echo configure
:10043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10043 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10044 if test -z "$ac_err"; then
10046 eval "ac_cv_header_$ac_safe=yes"
10049 echo "configure: failed program was:" >&5
10050 cat conftest.
$ac_ext >&5
10052 eval "ac_cv_header_$ac_safe=no"
10056 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10057 echo "$ac_t""yes" 1>&6
10058 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10059 cat >> confdefs.h
<<EOF
10060 #define $ac_tr_hdr 1
10064 echo "$ac_t""no" 1>&6
10069 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10070 for ac_func
in fnmatch
10072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10073 echo "configure:10074: checking for $ac_func" >&5
10074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10075 echo $ac_n "(cached) $ac_c" 1>&6
10077 cat > conftest.
$ac_ext <<EOF
10078 #line 10079 "configure"
10079 #include "confdefs.h"
10080 /* System header to define __stub macros and hopefully few prototypes,
10081 which can conflict with char $ac_func(); below. */
10082 #include <assert.h>
10083 /* Override any gcc2 internal prototype to avoid an error. */
10084 /* We use char because int might match the return type of a gcc2
10085 builtin and then its argument prototype would still apply. */
10090 /* The GNU C library defines this for functions which it implements
10091 to always fail with ENOSYS. Some functions are actually named
10092 something starting with __ and the normal name is an alias. */
10093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10101 if { (eval echo configure
:10102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10103 eval "ac_cv_func_$ac_func=yes"
10105 echo "configure: failed program was:" >&5
10106 cat conftest.
$ac_ext >&5
10108 eval "ac_cv_func_$ac_func=no"
10113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10114 echo "$ac_t""yes" 1>&6
10115 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10116 cat >> confdefs.h
<<EOF
10117 #define $ac_tr_func 1
10121 echo "$ac_t""no" 1>&6
10127 for ac_hdr
in langinfo.h
10129 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10130 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10131 echo "configure:10132: checking for $ac_hdr" >&5
10132 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10133 echo $ac_n "(cached) $ac_c" 1>&6
10135 cat > conftest.
$ac_ext <<EOF
10136 #line 10137 "configure"
10137 #include "confdefs.h"
10140 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10141 { (eval echo configure
:10142: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10142 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10143 if test -z "$ac_err"; then
10145 eval "ac_cv_header_$ac_safe=yes"
10148 echo "configure: failed program was:" >&5
10149 cat conftest.
$ac_ext >&5
10151 eval "ac_cv_header_$ac_safe=no"
10155 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10156 echo "$ac_t""yes" 1>&6
10157 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10158 cat >> confdefs.h
<<EOF
10159 #define $ac_tr_hdr 1
10163 echo "$ac_t""no" 1>&6
10169 *-pc-os2_emx | *-pc-os2-emx )
10170 if test $ac_cv_header_langinfo_h = "yes"; then
10171 LIBS
="$LIBS -lintl"
10176 if test "$wxUSE_GUI" = "yes"; then
10177 if test "$wxUSE_UNIX" = "yes"; then
10178 for ac_hdr
in X
11/XKBlib.h
10180 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10181 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10182 echo "configure:10183: checking for $ac_hdr" >&5
10183 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10184 echo $ac_n "(cached) $ac_c" 1>&6
10186 cat > conftest.
$ac_ext <<EOF
10187 #line 10188 "configure"
10188 #include "confdefs.h"
10191 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10192 { (eval echo configure
:10193: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10193 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10194 if test -z "$ac_err"; then
10196 eval "ac_cv_header_$ac_safe=yes"
10199 echo "configure: failed program was:" >&5
10200 cat conftest.
$ac_ext >&5
10202 eval "ac_cv_header_$ac_safe=no"
10206 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10207 echo "$ac_t""yes" 1>&6
10208 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10209 cat >> confdefs.h
<<EOF
10210 #define $ac_tr_hdr 1
10214 echo "$ac_t""no" 1>&6
10222 echo $ac_n "checking for working const""... $ac_c" 1>&6
10223 echo "configure:10224: checking for working const" >&5
10224 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10225 echo $ac_n "(cached) $ac_c" 1>&6
10227 cat > conftest.
$ac_ext <<EOF
10228 #line 10229 "configure"
10229 #include "confdefs.h"
10233 /* Ultrix mips cc rejects this. */
10234 typedef int charset[2]; const charset x;
10235 /* SunOS 4.1.1 cc rejects this. */
10236 char const *const *ccp;
10238 /* NEC SVR4.0.2 mips cc rejects this. */
10239 struct point {int x, y;};
10240 static struct point const zero = {0,0};
10241 /* AIX XL C 1.02.0.0 rejects this.
10242 It does not let you subtract one const X* pointer from another in an arm
10243 of an if-expression whose if-part is not a constant expression */
10244 const char *g = "string";
10245 ccp = &g + (g ? g-g : 0);
10246 /* HPUX 7.0 cc rejects these. */
10249 ccp = (char const *const *) p;
10250 { /* SCO 3.2v4 cc rejects this. */
10252 char const *s = 0 ? (char *) 0 : (char const *) 0;
10256 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10257 int x[] = {25, 17};
10258 const int *foo = &x[0];
10261 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10262 typedef const int *iptr;
10266 { /* AIX XL C 1.02.0.0 rejects this saying
10267 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10268 struct s { int j; const int *ap[3]; };
10269 struct s *b; b->j = 5;
10271 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10272 const int foo = 10;
10277 if { (eval echo configure
:10278: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10281 echo "configure: failed program was:" >&5
10282 cat conftest.
$ac_ext >&5
10289 echo "$ac_t""$ac_cv_c_const" 1>&6
10290 if test $ac_cv_c_const = no
; then
10291 cat >> confdefs.h
<<\EOF
10297 echo $ac_n "checking for inline""... $ac_c" 1>&6
10298 echo "configure:10299: checking for inline" >&5
10299 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10300 echo $ac_n "(cached) $ac_c" 1>&6
10303 for ac_kw
in inline __inline__ __inline
; do
10304 cat > conftest.
$ac_ext <<EOF
10305 #line 10306 "configure"
10306 #include "confdefs.h"
10312 if { (eval echo configure
:10313: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10314 ac_cv_c_inline
=$ac_kw; break
10316 echo "configure: failed program was:" >&5
10317 cat conftest.
$ac_ext >&5
10324 echo "$ac_t""$ac_cv_c_inline" 1>&6
10325 case "$ac_cv_c_inline" in
10327 no
) cat >> confdefs.h
<<\EOF
10331 *) cat >> confdefs.h
<<EOF
10332 #define inline $ac_cv_c_inline
10338 echo $ac_n "checking size of char""... $ac_c" 1>&6
10339 echo "configure:10340: checking size of char" >&5
10340 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10341 echo $ac_n "(cached) $ac_c" 1>&6
10343 if test "$cross_compiling" = yes; then
10344 ac_cv_sizeof_char
=1
10346 cat > conftest.
$ac_ext <<EOF
10347 #line 10348 "configure"
10348 #include "confdefs.h"
10352 FILE *f=fopen("conftestval", "w");
10354 fprintf(f, "%d\n", sizeof(char));
10358 if { (eval echo configure
:10359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10360 ac_cv_sizeof_char
=`cat conftestval`
10362 echo "configure: failed program was:" >&5
10363 cat conftest.
$ac_ext >&5
10365 ac_cv_sizeof_char
=0
10371 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10372 cat >> confdefs.h
<<EOF
10373 #define SIZEOF_CHAR $ac_cv_sizeof_char
10377 echo $ac_n "checking size of short""... $ac_c" 1>&6
10378 echo "configure:10379: checking size of short" >&5
10379 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10380 echo $ac_n "(cached) $ac_c" 1>&6
10382 if test "$cross_compiling" = yes; then
10383 ac_cv_sizeof_short
=2
10385 cat > conftest.
$ac_ext <<EOF
10386 #line 10387 "configure"
10387 #include "confdefs.h"
10391 FILE *f=fopen("conftestval", "w");
10393 fprintf(f, "%d\n", sizeof(short));
10397 if { (eval echo configure
:10398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10399 ac_cv_sizeof_short
=`cat conftestval`
10401 echo "configure: failed program was:" >&5
10402 cat conftest.
$ac_ext >&5
10404 ac_cv_sizeof_short
=0
10410 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10411 cat >> confdefs.h
<<EOF
10412 #define SIZEOF_SHORT $ac_cv_sizeof_short
10416 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10417 echo "configure:10418: checking size of void *" >&5
10418 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10419 echo $ac_n "(cached) $ac_c" 1>&6
10421 if test "$cross_compiling" = yes; then
10422 ac_cv_sizeof_void_p
=4
10424 cat > conftest.
$ac_ext <<EOF
10425 #line 10426 "configure"
10426 #include "confdefs.h"
10430 FILE *f=fopen("conftestval", "w");
10432 fprintf(f, "%d\n", sizeof(void *));
10436 if { (eval echo configure
:10437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10438 ac_cv_sizeof_void_p
=`cat conftestval`
10440 echo "configure: failed program was:" >&5
10441 cat conftest.
$ac_ext >&5
10443 ac_cv_sizeof_void_p
=0
10449 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10450 cat >> confdefs.h
<<EOF
10451 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10455 echo $ac_n "checking size of int""... $ac_c" 1>&6
10456 echo "configure:10457: checking size of int" >&5
10457 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10458 echo $ac_n "(cached) $ac_c" 1>&6
10460 if test "$cross_compiling" = yes; then
10463 cat > conftest.
$ac_ext <<EOF
10464 #line 10465 "configure"
10465 #include "confdefs.h"
10469 FILE *f=fopen("conftestval", "w");
10471 fprintf(f, "%d\n", sizeof(int));
10475 if { (eval echo configure
:10476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10477 ac_cv_sizeof_int
=`cat conftestval`
10479 echo "configure: failed program was:" >&5
10480 cat conftest.
$ac_ext >&5
10488 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10489 cat >> confdefs.h
<<EOF
10490 #define SIZEOF_INT $ac_cv_sizeof_int
10494 echo $ac_n "checking size of long""... $ac_c" 1>&6
10495 echo "configure:10496: checking size of long" >&5
10496 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10497 echo $ac_n "(cached) $ac_c" 1>&6
10499 if test "$cross_compiling" = yes; then
10500 ac_cv_sizeof_long
=4
10502 cat > conftest.
$ac_ext <<EOF
10503 #line 10504 "configure"
10504 #include "confdefs.h"
10508 FILE *f=fopen("conftestval", "w");
10510 fprintf(f, "%d\n", sizeof(long));
10514 if { (eval echo configure
:10515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10516 ac_cv_sizeof_long
=`cat conftestval`
10518 echo "configure: failed program was:" >&5
10519 cat conftest.
$ac_ext >&5
10521 ac_cv_sizeof_long
=0
10527 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10528 cat >> confdefs.h
<<EOF
10529 #define SIZEOF_LONG $ac_cv_sizeof_long
10536 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10537 echo "configure:10538: checking size of long long" >&5
10538 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10539 echo $ac_n "(cached) $ac_c" 1>&6
10541 if test "$cross_compiling" = yes; then
10542 ac_cv_sizeof_long_long
=8
10544 cat > conftest.
$ac_ext <<EOF
10545 #line 10546 "configure"
10546 #include "confdefs.h"
10550 FILE *f=fopen("conftestval", "w");
10552 fprintf(f, "%d\n", sizeof(long long));
10556 if { (eval echo configure
:10557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10558 ac_cv_sizeof_long_long
=`cat conftestval`
10560 echo "configure: failed program was:" >&5
10561 cat conftest.
$ac_ext >&5
10563 ac_cv_sizeof_long_long
=0
10569 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10570 cat >> confdefs.h
<<EOF
10571 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10577 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10578 echo "configure:10579: checking size of long long" >&5
10579 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10580 echo $ac_n "(cached) $ac_c" 1>&6
10582 if test "$cross_compiling" = yes; then
10583 ac_cv_sizeof_long_long
=0
10585 cat > conftest.
$ac_ext <<EOF
10586 #line 10587 "configure"
10587 #include "confdefs.h"
10591 FILE *f=fopen("conftestval", "w");
10593 fprintf(f, "%d\n", sizeof(long long));
10597 if { (eval echo configure
:10598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10599 ac_cv_sizeof_long_long
=`cat conftestval`
10601 echo "configure: failed program was:" >&5
10602 cat conftest.
$ac_ext >&5
10604 ac_cv_sizeof_long_long
=0
10610 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10611 cat >> confdefs.h
<<EOF
10612 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10616 if test "$ac_cv_sizeof_long_long" != "0"; then
10617 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10621 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10622 echo "configure:10623: checking size of long long" >&5
10623 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10624 echo $ac_n "(cached) $ac_c" 1>&6
10626 if test "$cross_compiling" = yes; then
10627 ac_cv_sizeof_long_long
=0
10629 cat > conftest.
$ac_ext <<EOF
10630 #line 10631 "configure"
10631 #include "confdefs.h"
10635 FILE *f=fopen("conftestval", "w");
10637 fprintf(f, "%d\n", sizeof(long long));
10641 if { (eval echo configure
:10642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10643 ac_cv_sizeof_long_long
=`cat conftestval`
10645 echo "configure: failed program was:" >&5
10646 cat conftest.
$ac_ext >&5
10648 ac_cv_sizeof_long_long
=0
10654 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10655 cat >> confdefs.h
<<EOF
10656 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10662 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10663 echo "configure:10664: checking size of wchar_t" >&5
10664 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10665 echo $ac_n "(cached) $ac_c" 1>&6
10668 if test "$cross_compiling" = yes; then
10672 wx_cv_sizeof_wchar_t
=0
10675 wx_cv_sizeof_wchar_t
=4
10681 cat > conftest.
$ac_ext <<EOF
10682 #line 10683 "configure"
10683 #include "confdefs.h"
10685 /* DJGPP only has fake wchar_t: */
10687 # error "fake wchar_t"
10689 #ifdef HAVE_WCHAR_H
10691 # include <stddef.h>
10693 # include <wchar.h>
10695 #ifdef HAVE_STDLIB_H
10696 # include <stdlib.h>
10701 FILE *f=fopen("conftestval", "w");
10703 fprintf(f, "%i", sizeof(wchar_t));
10708 if { (eval echo configure
:10709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10710 wx_cv_sizeof_wchar_t
=`cat conftestval`
10712 echo "configure: failed program was:" >&5
10713 cat conftest.
$ac_ext >&5
10715 wx_cv_sizeof_wchar_t
=0
10723 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10725 cat >> confdefs.h
<<EOF
10726 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10730 # Check whether --enable-largefile or --disable-largefile was given.
10731 if test "${enable_largefile+set}" = set; then
10732 enableval
="$enable_largefile"
10736 if test "$enable_largefile" != no
; then
10739 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10740 echo "configure:10741: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10741 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10742 echo $ac_n "(cached) $ac_c" 1>&6
10745 cat > conftest.
$ac_ext <<EOF
10746 #line 10747 "configure"
10747 #include "confdefs.h"
10748 #define _FILE_OFFSET_BITS 64
10749 #include <sys/types.h>
10752 unsigned int field: sizeof(off_t) == 8;
10757 if { (eval echo configure
:10758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10759 ac_cv_sys_file_offset_bits
=64
10761 echo "configure: failed program was:" >&5
10762 cat conftest.
$ac_ext >&5
10764 ac_cv_sys_file_offset_bits
=no
10771 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10773 if test "$ac_cv_sys_file_offset_bits" != no
; then
10775 cat >> confdefs.h
<<EOF
10776 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10781 if test "x$wx_largefile" != "xyes"; then
10783 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10784 echo "configure:10785: checking for _LARGE_FILES value needed for large files" >&5
10785 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10786 echo $ac_n "(cached) $ac_c" 1>&6
10789 cat > conftest.
$ac_ext <<EOF
10790 #line 10791 "configure"
10791 #include "confdefs.h"
10792 #define _LARGE_FILES 1
10793 #include <sys/types.h>
10796 unsigned int field: sizeof(off_t) == 8;
10801 if { (eval echo configure
:10802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10803 ac_cv_sys_large_files
=1
10805 echo "configure: failed program was:" >&5
10806 cat conftest.
$ac_ext >&5
10808 ac_cv_sys_large_files
=no
10815 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10817 if test "$ac_cv_sys_large_files" != no
; then
10819 cat >> confdefs.h
<<EOF
10820 #define _LARGE_FILES $ac_cv_sys_large_files
10827 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10828 echo "configure:10829: checking if large file support is available" >&5
10829 if test "x$wx_largefile" = "xyes"; then
10830 cat >> confdefs.h
<<\EOF
10831 #define HAVE_LARGEFILE_SUPPORT 1
10835 echo "$ac_t""$wx_largefile" 1>&6
10839 if test "x$wx_largefile" = "xyes"; then
10840 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10841 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10843 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10845 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10848 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10849 echo "configure:10850: checking whether byte ordering is bigendian" >&5
10850 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10851 echo $ac_n "(cached) $ac_c" 1>&6
10853 ac_cv_c_bigendian
=unknown
10854 # See if sys/param.h defines the BYTE_ORDER macro.
10855 cat > conftest.
$ac_ext <<EOF
10856 #line 10857 "configure"
10857 #include "confdefs.h"
10858 #include <sys/types.h>
10859 #include <sys/param.h>
10862 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10863 bogus endian macros
10867 if { (eval echo configure
:10868: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10869 # It does; now see whether it defined to BIG_ENDIAN or not.
10870 cat > conftest.
$ac_ext <<EOF
10871 #line 10872 "configure"
10872 #include "confdefs.h"
10873 #include <sys/types.h>
10874 #include <sys/param.h>
10877 #if BYTE_ORDER != BIG_ENDIAN
10882 if { (eval echo configure
:10883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10884 ac_cv_c_bigendian
=yes
10886 echo "configure: failed program was:" >&5
10887 cat conftest.
$ac_ext >&5
10889 ac_cv_c_bigendian
=no
10893 echo "configure: failed program was:" >&5
10894 cat conftest.
$ac_ext >&5
10897 if test $ac_cv_c_bigendian = unknown
; then
10898 if test "$cross_compiling" = yes; then
10899 ac_cv_c_bigendian
=unknown
10901 cat > conftest.
$ac_ext <<EOF
10902 #line 10903 "configure"
10903 #include "confdefs.h"
10905 /* Are we little or big endian? From Harbison&Steele. */
10909 char c[sizeof (long)];
10912 exit (u.c[sizeof (long) - 1] == 1);
10915 if { (eval echo configure
:10916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10917 ac_cv_c_bigendian
=no
10919 echo "configure: failed program was:" >&5
10920 cat conftest.
$ac_ext >&5
10922 ac_cv_c_bigendian
=yes
10930 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10931 if test $ac_cv_c_bigendian = unknown
; then
10932 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
10934 if test $ac_cv_c_bigendian = yes; then
10935 cat >> confdefs.h
<<\EOF
10936 #define WORDS_BIGENDIAN 1
10942 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10943 echo "configure:10944: checking how to run the C++ preprocessor" >&5
10944 if test -z "$CXXCPP"; then
10945 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10946 echo $ac_n "(cached) $ac_c" 1>&6
10949 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10950 ac_cpp
='$CXXCPP $CPPFLAGS'
10951 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10952 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10953 cross_compiling
=$ac_cv_prog_cxx_cross
10954 CXXCPP
="${CXX-g++} -E"
10955 cat > conftest.
$ac_ext <<EOF
10956 #line 10957 "configure"
10957 #include "confdefs.h"
10958 #include <stdlib.h>
10960 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10961 { (eval echo configure
:10962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10962 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10963 if test -z "$ac_err"; then
10967 echo "configure: failed program was:" >&5
10968 cat conftest.
$ac_ext >&5
10973 ac_cv_prog_CXXCPP
="$CXXCPP"
10975 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10976 ac_cpp
='$CXXCPP $CPPFLAGS'
10977 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10978 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10979 cross_compiling
=$ac_cv_prog_cxx_cross
10982 CXXCPP
="$ac_cv_prog_CXXCPP"
10983 echo "$ac_t""$CXXCPP" 1>&6
10986 if test "$cross_compiling" = "yes"; then
10987 cat >> confdefs.h
<<\EOF
10988 #define wxUSE_IOSTREAMH 1
10994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10995 ac_cpp
='$CXXCPP $CPPFLAGS'
10996 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10997 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10998 cross_compiling
=$ac_cv_prog_cxx_cross
11001 for ac_hdr
in iostream
11003 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11004 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11005 echo "configure:11006: checking for $ac_hdr" >&5
11006 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11007 echo $ac_n "(cached) $ac_c" 1>&6
11009 cat > conftest.
$ac_ext <<EOF
11010 #line 11011 "configure"
11011 #include "confdefs.h"
11014 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11015 { (eval echo configure
:11016: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11016 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11017 if test -z "$ac_err"; then
11019 eval "ac_cv_header_$ac_safe=yes"
11022 echo "configure: failed program was:" >&5
11023 cat conftest.
$ac_ext >&5
11025 eval "ac_cv_header_$ac_safe=no"
11029 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11030 echo "$ac_t""yes" 1>&6
11031 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11032 cat >> confdefs.h
<<EOF
11033 #define $ac_tr_hdr 1
11037 echo "$ac_t""no" 1>&6
11042 if test "$ac_cv_header_iostream" = "yes" ; then
11045 cat >> confdefs.h
<<\EOF
11046 #define wxUSE_IOSTREAMH 1
11052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11053 ac_cpp
='$CPP $CPPFLAGS'
11054 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11055 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11056 cross_compiling
=$ac_cv_prog_cc_cross
11062 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11063 echo "configure:11064: checking if C++ compiler supports bool" >&5
11064 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11065 echo $ac_n "(cached) $ac_c" 1>&6
11070 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11071 ac_cpp
='$CXXCPP $CPPFLAGS'
11072 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11073 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11074 cross_compiling
=$ac_cv_prog_cxx_cross
11077 cat > conftest.
$ac_ext <<EOF
11078 #line 11079 "configure"
11079 #include "confdefs.h"
11090 if { (eval echo configure
:11091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11096 echo "configure: failed program was:" >&5
11097 cat conftest.
$ac_ext >&5
11107 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11108 ac_cpp
='$CPP $CPPFLAGS'
11109 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11110 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11111 cross_compiling
=$ac_cv_prog_cc_cross
11116 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11118 if test "$wx_cv_cpp_bool" = "yes"; then
11119 cat >> confdefs.h
<<\EOF
11120 #define HAVE_BOOL 1
11127 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11128 echo "configure:11129: checking if C++ compiler supports the explicit keyword" >&5
11129 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11130 echo $ac_n "(cached) $ac_c" 1>&6
11135 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11136 ac_cpp
='$CXXCPP $CPPFLAGS'
11137 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11138 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11139 cross_compiling
=$ac_cv_prog_cxx_cross
11142 cat > conftest.
$ac_ext <<EOF
11143 #line 11144 "configure"
11144 #include "confdefs.h"
11146 class Foo { public: explicit Foo(int) {} };
11154 if { (eval echo configure
:11155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11157 cat > conftest.
$ac_ext <<EOF
11158 #line 11159 "configure"
11159 #include "confdefs.h"
11161 class Foo { public: explicit Foo(int) {} };
11162 static void TakeFoo(const Foo& foo) { }
11171 if { (eval echo configure
:11172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11175 echo "configure: failed program was:" >&5
11176 cat conftest.
$ac_ext >&5
11184 echo "configure: failed program was:" >&5
11185 cat conftest.
$ac_ext >&5
11193 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11194 ac_cpp
='$CPP $CPPFLAGS'
11195 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11196 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11197 cross_compiling
=$ac_cv_prog_cc_cross
11202 echo "$ac_t""$wx_cv_explicit" 1>&6
11204 if test "$wx_cv_explicit" = "yes"; then
11205 cat >> confdefs.h
<<\EOF
11206 #define HAVE_EXPLICIT 1
11212 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11213 echo "configure:11214: checking whether the compiler supports const_cast<>" >&5
11214 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11215 echo $ac_n "(cached) $ac_c" 1>&6
11219 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11220 ac_cpp
='$CXXCPP $CPPFLAGS'
11221 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11222 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11223 cross_compiling
=$ac_cv_prog_cxx_cross
11225 cat > conftest.
$ac_ext <<EOF
11226 #line 11227 "configure"
11227 #include "confdefs.h"
11230 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11233 if { (eval echo configure
:11234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11235 ac_cv_cxx_const_cast
=yes
11237 echo "configure: failed program was:" >&5
11238 cat conftest.
$ac_ext >&5
11240 ac_cv_cxx_const_cast
=no
11244 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11245 ac_cpp
='$CPP $CPPFLAGS'
11246 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11247 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11248 cross_compiling
=$ac_cv_prog_cc_cross
11253 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11254 if test "$ac_cv_cxx_const_cast" = yes; then
11255 cat >> confdefs.h
<<\EOF
11256 #define HAVE_CONST_CAST
11264 /usr/local/include \
11266 /usr/Motif-1.2/include \
11267 /usr/Motif-2.1/include \
11269 /usr/include/Motif1.2 \
11270 /opt/xpm/include/X11 \
11271 /opt/GBxpm/include/ \
11272 /opt/GBxpm/X11/include/ \
11274 /usr/Motif1.2/include \
11276 /usr/openwin/include \
11280 /usr/X11R6/include \
11281 /usr/X11R6.4/include \
11282 /usr/X11R5/include \
11283 /usr/X11R4/include \
11285 /usr/include/X11R6 \
11286 /usr/include/X11R5 \
11287 /usr/include/X11R4 \
11289 /usr/local/X11R6/include \
11290 /usr/local/X11R5/include \
11291 /usr/local/X11R4/include \
11293 /usr/local/include/X11R6 \
11294 /usr/local/include/X11R5 \
11295 /usr/local/include/X11R4 \
11299 /usr/local/X11/include \
11300 /usr/local/include/X11 \
11302 /usr/X386/include \
11303 /usr/x386/include \
11304 /usr/XFree86/include/X11 \
11306 X:/XFree86/include \
11307 X:/XFree86/include/X11 \
11310 /usr/local/include/gtk \
11311 /usr/include/glib \
11312 /usr/local/include/glib \
11315 /usr/local/include/qt \
11317 /usr/include/windows \
11318 /usr/include/wine \
11319 /usr/local/include/wine \
11321 /usr/unsupported/include \
11322 /usr/athena/include \
11323 /usr/local/x11r5/include \
11324 /usr/lpp/Xamples/include \
11326 /usr/openwin/share/include"
11328 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11331 cat > confcache
<<\EOF
11332 # This file is a shell script that caches the results of configure
11333 # tests run on this system so they can be shared between configure
11334 # scripts and configure runs. It is not useful on other systems.
11335 # If it contains results you don't want to keep, you may remove or edit it.
11337 # By default, configure uses ./config.cache as the cache file,
11338 # creating it if it does not exist already. You can give configure
11339 # the --cache-file=FILE option to use a different cache file; that is
11340 # what configure does when it calls configure scripts in
11341 # subdirectories, so they share the cache.
11342 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11343 # config.status only pays attention to the cache file if you give it the
11344 # --recheck option to rerun configure.
11347 # The following way of writing the cache mishandles newlines in values,
11348 # but we know of no workaround that is simple, portable, and efficient.
11349 # So, don't put newlines in cache variables' values.
11350 # Ultrix sh set writes to stderr and can't be redirected directly,
11351 # and sets the high bit in the cache file unless we assign to the vars.
11353 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11355 # `set' does not quote correctly, so add quotes (double-quote substitution
11356 # turns \\\\ into \\, and sed turns \\ into \).
11358 -e "s/'/'\\\\''/g" \
11359 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11362 # `set' quotes correctly as required by POSIX, so do not add quotes.
11363 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11366 if cmp -s $cache_file confcache
; then
11369 if test -w $cache_file; then
11370 echo "updating cache $cache_file"
11371 cat confcache
> $cache_file
11373 echo "not updating unwritable cache $cache_file"
11379 if test "$USE_LINUX" = 1; then
11380 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11381 echo "configure:11382: checking for glibc 2.1 or later" >&5
11382 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11383 echo $ac_n "(cached) $ac_c" 1>&6
11386 cat > conftest.
$ac_ext <<EOF
11387 #line 11388 "configure"
11388 #include "confdefs.h"
11389 #include <features.h>
11392 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11393 #error not glibc2.1
11398 if { (eval echo configure
:11399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11401 wx_cv_lib_glibc21
=yes
11404 echo "configure: failed program was:" >&5
11405 cat conftest.
$ac_ext >&5
11408 wx_cv_lib_glibc21
=no
11416 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11417 if test "$wx_cv_lib_glibc21" = "yes"; then
11418 cat >> confdefs.h
<<\EOF
11419 #define wxHAVE_GLIBC2 1
11425 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11426 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11427 cat >> confdefs.h
<<\EOF
11428 #define _GNU_SOURCE 1
11437 if test "$wxUSE_REGEX" != "no"; then
11438 cat >> confdefs.h
<<\EOF
11439 #define wxUSE_REGEX 1
11443 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11444 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11445 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11446 echo "configure:11447: checking for regex.h" >&5
11447 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11448 echo $ac_n "(cached) $ac_c" 1>&6
11450 cat > conftest.
$ac_ext <<EOF
11451 #line 11452 "configure"
11452 #include "confdefs.h"
11455 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11456 { (eval echo configure
:11457: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11457 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11458 if test -z "$ac_err"; then
11460 eval "ac_cv_header_$ac_safe=yes"
11463 echo "configure: failed program was:" >&5
11464 cat conftest.
$ac_ext >&5
11466 eval "ac_cv_header_$ac_safe=no"
11470 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11471 echo "$ac_t""yes" 1>&6
11472 for ac_func
in regcomp
11474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11475 echo "configure:11476: checking for $ac_func" >&5
11476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11477 echo $ac_n "(cached) $ac_c" 1>&6
11479 cat > conftest.
$ac_ext <<EOF
11480 #line 11481 "configure"
11481 #include "confdefs.h"
11482 /* System header to define __stub macros and hopefully few prototypes,
11483 which can conflict with char $ac_func(); below. */
11484 #include <assert.h>
11485 /* Override any gcc2 internal prototype to avoid an error. */
11486 /* We use char because int might match the return type of a gcc2
11487 builtin and then its argument prototype would still apply. */
11492 /* The GNU C library defines this for functions which it implements
11493 to always fail with ENOSYS. Some functions are actually named
11494 something starting with __ and the normal name is an alias. */
11495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11503 if { (eval echo configure
:11504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11505 eval "ac_cv_func_$ac_func=yes"
11507 echo "configure: failed program was:" >&5
11508 cat conftest.
$ac_ext >&5
11510 eval "ac_cv_func_$ac_func=no"
11515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11516 echo "$ac_t""yes" 1>&6
11517 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11518 cat >> confdefs.h
<<EOF
11519 #define $ac_tr_func 1
11523 echo "$ac_t""no" 1>&6
11528 echo "$ac_t""no" 1>&6
11532 if test "x$ac_cv_func_regcomp" != "xyes"; then
11533 if test "$wxUSE_REGEX" = "sys" ; then
11534 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11536 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11537 wxUSE_REGEX
=builtin
11544 if test "$wxUSE_REGEX" = "builtin" ; then
11545 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11552 if test "$wxUSE_ZLIB" != "no" ; then
11553 cat >> confdefs.h
<<\EOF
11554 #define wxUSE_ZLIB 1
11558 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11559 if test "$USE_DARWIN" = 1; then
11560 system_zlib_h_ok
="yes"
11562 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11563 echo "configure:11564: checking for zlib.h >= 1.1.4" >&5
11564 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11565 echo $ac_n "(cached) $ac_c" 1>&6
11567 if test "$cross_compiling" = yes; then
11568 unset ac_cv_header_zlib_h
11571 cat > conftest.
$ac_ext <<EOF
11572 #line 11573 "configure"
11573 #include "confdefs.h"
11581 FILE *f=fopen("conftestval", "w");
11584 ZLIB_VERSION[0] == '1' &&
11585 (ZLIB_VERSION[2] > '1' ||
11586 (ZLIB_VERSION[2] == '1' &&
11587 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11593 if { (eval echo configure
:11594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11595 ac_cv_header_zlib_h
=`cat conftestval`
11597 echo "configure: failed program was:" >&5
11598 cat conftest.
$ac_ext >&5
11600 ac_cv_header_zlib_h
=no
11608 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11609 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11610 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11611 echo "configure:11612: checking for zlib.h" >&5
11612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11613 echo $ac_n "(cached) $ac_c" 1>&6
11615 cat > conftest.
$ac_ext <<EOF
11616 #line 11617 "configure"
11617 #include "confdefs.h"
11620 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11621 { (eval echo configure
:11622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11622 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11623 if test -z "$ac_err"; then
11625 eval "ac_cv_header_$ac_safe=yes"
11628 echo "configure: failed program was:" >&5
11629 cat conftest.
$ac_ext >&5
11631 eval "ac_cv_header_$ac_safe=no"
11635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11636 echo "$ac_t""yes" 1>&6
11639 echo "$ac_t""no" 1>&6
11643 system_zlib_h_ok
=$ac_cv_header_zlib_h
11646 if test "$system_zlib_h_ok" = "yes"; then
11647 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11648 echo "configure:11649: checking for deflate in -lz" >&5
11649 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11650 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11651 echo $ac_n "(cached) $ac_c" 1>&6
11653 ac_save_LIBS
="$LIBS"
11655 cat > conftest.
$ac_ext <<EOF
11656 #line 11657 "configure"
11657 #include "confdefs.h"
11658 /* Override any gcc2 internal prototype to avoid an error. */
11659 /* We use char because int might match the return type of a gcc2
11660 builtin and then its argument prototype would still apply. */
11667 if { (eval echo configure
:11668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11669 eval "ac_cv_lib_$ac_lib_var=yes"
11671 echo "configure: failed program was:" >&5
11672 cat conftest.
$ac_ext >&5
11674 eval "ac_cv_lib_$ac_lib_var=no"
11677 LIBS
="$ac_save_LIBS"
11680 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11681 echo "$ac_t""yes" 1>&6
11684 echo "$ac_t""no" 1>&6
11689 if test "x$ZLIB_LINK" = "x" ; then
11690 if test "$wxUSE_ZLIB" = "sys" ; then
11691 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11693 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11701 if test "$wxUSE_ZLIB" = "builtin" ; then
11702 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11709 if test "$wxUSE_LIBPNG" != "no" ; then
11710 cat >> confdefs.h
<<\EOF
11711 #define wxUSE_LIBPNG 1
11715 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11716 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11720 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11721 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11722 wxUSE_LIBPNG
=builtin
11725 if test "$wxUSE_MGL" != 1 ; then
11726 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11727 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11728 echo "configure:11729: checking for png.h > 0.90" >&5
11729 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11730 echo $ac_n "(cached) $ac_c" 1>&6
11732 if test "$cross_compiling" = yes; then
11733 unset ac_cv_header_png_h
11736 cat > conftest.
$ac_ext <<EOF
11737 #line 11738 "configure"
11738 #include "confdefs.h"
11745 FILE *f=fopen("conftestval", "w");
11748 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11753 if { (eval echo configure
:11754: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11755 ac_cv_header_png_h
=`cat conftestval`
11757 echo "configure: failed program was:" >&5
11758 cat conftest.
$ac_ext >&5
11760 ac_cv_header_png_h
=no
11768 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11769 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11770 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11771 echo "configure:11772: checking for png.h" >&5
11772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11773 echo $ac_n "(cached) $ac_c" 1>&6
11775 cat > conftest.
$ac_ext <<EOF
11776 #line 11777 "configure"
11777 #include "confdefs.h"
11780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11781 { (eval echo configure
:11782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11783 if test -z "$ac_err"; then
11785 eval "ac_cv_header_$ac_safe=yes"
11788 echo "configure: failed program was:" >&5
11789 cat conftest.
$ac_ext >&5
11791 eval "ac_cv_header_$ac_safe=no"
11795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11796 echo "$ac_t""yes" 1>&6
11799 echo "$ac_t""no" 1>&6
11803 if test "$ac_cv_header_png_h" = "yes"; then
11804 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11805 echo "configure:11806: checking for png_check_sig in -lpng" >&5
11806 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11807 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11808 echo $ac_n "(cached) $ac_c" 1>&6
11810 ac_save_LIBS
="$LIBS"
11811 LIBS
="-lpng -lz -lm $LIBS"
11812 cat > conftest.
$ac_ext <<EOF
11813 #line 11814 "configure"
11814 #include "confdefs.h"
11815 /* Override any gcc2 internal prototype to avoid an error. */
11816 /* We use char because int might match the return type of a gcc2
11817 builtin and then its argument prototype would still apply. */
11818 char png_check_sig();
11824 if { (eval echo configure
:11825: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11826 eval "ac_cv_lib_$ac_lib_var=yes"
11828 echo "configure: failed program was:" >&5
11829 cat conftest.
$ac_ext >&5
11831 eval "ac_cv_lib_$ac_lib_var=no"
11834 LIBS
="$ac_save_LIBS"
11837 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11838 echo "$ac_t""yes" 1>&6
11841 echo "$ac_t""no" 1>&6
11846 if test "x$PNG_LINK" = "x" ; then
11847 if test "$wxUSE_LIBPNG" = "sys" ; then
11848 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11850 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11851 wxUSE_LIBPNG
=builtin
11859 if test "$wxUSE_LIBPNG" = "builtin" ; then
11860 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11863 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11869 if test "$wxUSE_LIBJPEG" != "no" ; then
11870 cat >> confdefs.h
<<\EOF
11871 #define wxUSE_LIBJPEG 1
11875 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11876 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11880 if test "$wxUSE_MGL" != 1 ; then
11881 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11882 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11883 echo "configure:11884: checking for jpeglib.h" >&5
11884 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11885 echo $ac_n "(cached) $ac_c" 1>&6
11887 cat > conftest.
$ac_ext <<EOF
11888 #line 11889 "configure"
11889 #include "confdefs.h"
11891 #undef HAVE_STDLIB_H
11893 #include <jpeglib.h>
11900 if { (eval echo configure
:11901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11902 ac_cv_header_jpeglib_h
=yes
11904 echo "configure: failed program was:" >&5
11905 cat conftest.
$ac_ext >&5
11907 ac_cv_header_jpeglib_h
=no
11914 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11916 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11917 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11918 echo "configure:11919: checking for jpeg_read_header in -ljpeg" >&5
11919 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11920 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11921 echo $ac_n "(cached) $ac_c" 1>&6
11923 ac_save_LIBS
="$LIBS"
11924 LIBS
="-ljpeg $LIBS"
11925 cat > conftest.
$ac_ext <<EOF
11926 #line 11927 "configure"
11927 #include "confdefs.h"
11928 /* Override any gcc2 internal prototype to avoid an error. */
11929 /* We use char because int might match the return type of a gcc2
11930 builtin and then its argument prototype would still apply. */
11931 char jpeg_read_header();
11937 if { (eval echo configure
:11938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11939 eval "ac_cv_lib_$ac_lib_var=yes"
11941 echo "configure: failed program was:" >&5
11942 cat conftest.
$ac_ext >&5
11944 eval "ac_cv_lib_$ac_lib_var=no"
11947 LIBS
="$ac_save_LIBS"
11950 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11951 echo "$ac_t""yes" 1>&6
11952 JPEG_LINK
=" -ljpeg"
11954 echo "$ac_t""no" 1>&6
11959 if test "x$JPEG_LINK" = "x" ; then
11960 if test "$wxUSE_LIBJPEG" = "sys" ; then
11961 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11963 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11964 wxUSE_LIBJPEG
=builtin
11972 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11973 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11980 TIFF_PREREQ_LINKS
=-lm
11981 if test "$wxUSE_LIBTIFF" != "no" ; then
11982 cat >> confdefs.h
<<\EOF
11983 #define wxUSE_LIBTIFF 1
11987 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11988 if test "$wxUSE_LIBJPEG" = "sys"; then
11989 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
11991 if test "$wxUSE_ZLIB" = "sys"; then
11992 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
11994 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11995 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11996 echo "configure:11997: checking for tiffio.h" >&5
11997 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11998 echo $ac_n "(cached) $ac_c" 1>&6
12000 cat > conftest.
$ac_ext <<EOF
12001 #line 12002 "configure"
12002 #include "confdefs.h"
12003 #include <tiffio.h>
12005 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12006 { (eval echo configure
:12007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12007 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12008 if test -z "$ac_err"; then
12010 eval "ac_cv_header_$ac_safe=yes"
12013 echo "configure: failed program was:" >&5
12014 cat conftest.
$ac_ext >&5
12016 eval "ac_cv_header_$ac_safe=no"
12020 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12021 echo "$ac_t""yes" 1>&6
12022 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12023 echo "configure:12024: checking for TIFFError in -ltiff" >&5
12024 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12025 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12026 echo $ac_n "(cached) $ac_c" 1>&6
12028 ac_save_LIBS
="$LIBS"
12029 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12030 cat > conftest.
$ac_ext <<EOF
12031 #line 12032 "configure"
12032 #include "confdefs.h"
12033 /* Override any gcc2 internal prototype to avoid an error. */
12034 /* We use char because int might match the return type of a gcc2
12035 builtin and then its argument prototype would still apply. */
12042 if { (eval echo configure
:12043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12044 eval "ac_cv_lib_$ac_lib_var=yes"
12046 echo "configure: failed program was:" >&5
12047 cat conftest.
$ac_ext >&5
12049 eval "ac_cv_lib_$ac_lib_var=no"
12052 LIBS
="$ac_save_LIBS"
12055 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12056 echo "$ac_t""yes" 1>&6
12057 TIFF_LINK
=" -ltiff"
12059 echo "$ac_t""no" 1>&6
12064 echo "$ac_t""no" 1>&6
12068 if test "x$TIFF_LINK" = "x" ; then
12069 if test "$wxUSE_LIBTIFF" = "sys" ; then
12070 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12072 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12073 wxUSE_LIBTIFF
=builtin
12080 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12081 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12093 if test "$USE_WIN32" = 1 ; then
12094 for ac_hdr
in w32api.h
12096 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12097 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12098 echo "configure:12099: checking for $ac_hdr" >&5
12099 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12100 echo $ac_n "(cached) $ac_c" 1>&6
12102 cat > conftest.
$ac_ext <<EOF
12103 #line 12104 "configure"
12104 #include "confdefs.h"
12107 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12108 { (eval echo configure
:12109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12109 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12110 if test -z "$ac_err"; then
12112 eval "ac_cv_header_$ac_safe=yes"
12115 echo "configure: failed program was:" >&5
12116 cat conftest.
$ac_ext >&5
12118 eval "ac_cv_header_$ac_safe=no"
12122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12123 echo "$ac_t""yes" 1>&6
12124 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12125 cat >> confdefs.h
<<EOF
12126 #define $ac_tr_hdr 1
12130 echo "$ac_t""no" 1>&6
12134 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12135 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12136 echo "configure:12137: checking for windows.h" >&5
12137 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12138 echo $ac_n "(cached) $ac_c" 1>&6
12140 cat > conftest.
$ac_ext <<EOF
12141 #line 12142 "configure"
12142 #include "confdefs.h"
12143 #include <windows.h>
12145 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12146 { (eval echo configure
:12147: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12147 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12148 if test -z "$ac_err"; then
12150 eval "ac_cv_header_$ac_safe=yes"
12153 echo "configure: failed program was:" >&5
12154 cat conftest.
$ac_ext >&5
12156 eval "ac_cv_header_$ac_safe=no"
12160 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12161 echo "$ac_t""yes" 1>&6
12164 echo "$ac_t""no" 1>&6
12166 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12171 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12172 echo "configure:12173: checking if w32api has good enough MSIE support" >&5
12173 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12174 echo $ac_n "(cached) $ac_c" 1>&6
12177 cat > conftest.
$ac_ext <<EOF
12178 #line 12179 "configure"
12179 #include "confdefs.h"
12180 #include <w32api.h>
12183 #define wxCHECK_W32API_VERSION( major, minor ) \
12184 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12185 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12186 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12188 #if !wxCHECK_W32API_VERSION(1,1)
12189 #error You need w32api 1.1 or newer
12194 if { (eval echo configure
:12195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12197 wx_cv_w32api_win32_ie
=yes
12200 echo "configure: failed program was:" >&5
12201 cat conftest.
$ac_ext >&5
12204 wx_cv_w32api_win32_ie
=no
12211 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12212 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12213 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12216 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12220 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12221 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12224 if test "$wxUSE_ODBC" = "yes" ; then
12225 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12228 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12229 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12231 WIN32INSTALL
=win32install
12234 if test "$USE_DARWIN" = 1; then
12235 if test "$wxUSE_PRECOMP" = "yes"; then
12236 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12238 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12242 if test "$wxUSE_GUI" = "yes"; then
12251 if test "$wxUSE_MSW" = 1 ; then
12255 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12258 if test "$wxUSE_GTK" = 1; then
12259 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12260 echo "configure:12261: checking for GTK+ version" >&5
12262 gtk_version_cached
=1
12263 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12264 echo $ac_n "(cached) $ac_c" 1>&6
12267 gtk_version_cached
=0
12268 echo "$ac_t""" 1>&6
12271 if test "$wxUSE_THREADS" = "yes"; then
12272 GTK_MODULES
=gthread
12276 if test "x$wxUSE_GTK2" = "xyes"; then
12277 # Check whether --enable-gtktest or --disable-gtktest was given.
12278 if test "${enable_gtktest+set}" = set; then
12279 enableval
="$enable_gtktest"
12286 pkg_config_args
=gtk
+-2.0
12287 for module
in .
$GTK_MODULES
12291 pkg_config_args
="$pkg_config_args gthread-2.0"
12298 # Extract the first word of "pkg-config", so it can be a program name with args.
12299 set dummy pkg
-config; ac_word
=$2
12300 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12301 echo "configure:12302: checking for $ac_word" >&5
12302 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12303 echo $ac_n "(cached) $ac_c" 1>&6
12305 case "$PKG_CONFIG" in
12307 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12310 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12313 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12315 for ac_dir
in $ac_dummy; do
12316 test -z "$ac_dir" && ac_dir
=.
12317 if test -f $ac_dir/$ac_word; then
12318 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12323 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12327 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12328 if test -n "$PKG_CONFIG"; then
12329 echo "$ac_t""$PKG_CONFIG" 1>&6
12331 echo "$ac_t""no" 1>&6
12335 if test x
$PKG_CONFIG != xno
; then
12336 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12339 echo *** pkg
-config too old
; version
0.7 or better required.
12347 min_gtk_version
=2.0.0
12348 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12349 echo "configure:12350: checking for GTK+ - version >= $min_gtk_version" >&5
12351 if test x
$PKG_CONFIG != xno
; then
12352 ## don't try to run the test against uninstalled libtool libs
12353 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12354 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12358 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12365 if test x
"$no_gtk" = x
; then
12366 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12367 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12368 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12369 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12370 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12371 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12372 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12373 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12374 if test "x$enable_gtktest" = "xyes" ; then
12375 ac_save_CFLAGS
="$CFLAGS"
12376 ac_save_LIBS
="$LIBS"
12377 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12378 LIBS
="$GTK_LIBS $LIBS"
12380 if test "$cross_compiling" = yes; then
12381 echo $ac_n "cross compiling; assumed OK... $ac_c"
12383 cat > conftest.
$ac_ext <<EOF
12384 #line 12385 "configure"
12385 #include "confdefs.h"
12387 #include <gtk/gtk.h>
12389 #include <stdlib.h>
12394 int major, minor, micro;
12397 system ("touch conf.gtktest");
12399 /* HP/UX 9 (%@#!) writes to sscanf strings */
12400 tmp_version = g_strdup("$min_gtk_version");
12401 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12402 printf("%s, bad version string\n", "$min_gtk_version");
12406 if ((gtk_major_version != $gtk_config_major_version) ||
12407 (gtk_minor_version != $gtk_config_minor_version) ||
12408 (gtk_micro_version != $gtk_config_micro_version))
12410 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12411 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12412 gtk_major_version, gtk_minor_version, gtk_micro_version);
12413 printf ("*** was found! If pkg-config was correct, then it is best\n");
12414 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12415 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12416 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12417 printf("*** required on your system.\n");
12418 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12419 printf("*** to point to the correct configuration files\n");
12421 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12422 (gtk_minor_version != GTK_MINOR_VERSION) ||
12423 (gtk_micro_version != GTK_MICRO_VERSION))
12425 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12426 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12427 printf("*** library (version %d.%d.%d)\n",
12428 gtk_major_version, gtk_minor_version, gtk_micro_version);
12432 if ((gtk_major_version > major) ||
12433 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12434 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12440 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12441 gtk_major_version, gtk_minor_version, gtk_micro_version);
12442 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12443 major, minor, micro);
12444 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12446 printf("*** If you have already installed a sufficiently new version, this error\n");
12447 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12448 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12449 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12450 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12451 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12452 printf("*** so that the correct libraries are found at run-time))\n");
12459 if { (eval echo configure
:12460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12463 echo "configure: failed program was:" >&5
12464 cat conftest.
$ac_ext >&5
12471 CFLAGS
="$ac_save_CFLAGS"
12472 LIBS
="$ac_save_LIBS"
12475 if test "x$no_gtk" = x
; then
12476 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12479 echo "$ac_t""no" 1>&6
12480 if test "$PKG_CONFIG" = "no" ; then
12481 echo "*** A new enough version of pkg-config was not found."
12482 echo "*** See http://pkgconfig.sourceforge.net"
12484 if test -f conf.gtktest
; then
12487 echo "*** Could not run GTK+ test program, checking why..."
12488 ac_save_CFLAGS
="$CFLAGS"
12489 ac_save_LIBS
="$LIBS"
12490 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12491 LIBS
="$LIBS $GTK_LIBS"
12492 cat > conftest.
$ac_ext <<EOF
12493 #line 12494 "configure"
12494 #include "confdefs.h"
12496 #include <gtk/gtk.h>
12500 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12503 if { (eval echo configure
:12504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12505 echo "*** The test program compiled, but did not run. This usually means"
12506 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12507 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12508 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12509 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12510 echo "*** is required on your system"
12512 echo "*** If you have an old version installed, it is best to remove it, although"
12513 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12515 echo "configure: failed program was:" >&5
12516 cat conftest.
$ac_ext >&5
12518 echo "*** The test program failed to compile or link. See the file config.log for the"
12519 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12522 CFLAGS
="$ac_save_CFLAGS"
12523 LIBS
="$ac_save_LIBS"
12535 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12536 if test "${with_gtk_prefix+set}" = set; then
12537 withval
="$with_gtk_prefix"
12538 gtk_config_prefix
="$withval"
12540 gtk_config_prefix
=""
12543 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12544 if test "${with_gtk_exec_prefix+set}" = set; then
12545 withval
="$with_gtk_exec_prefix"
12546 gtk_config_exec_prefix
="$withval"
12548 gtk_config_exec_prefix
=""
12551 # Check whether --enable-gtktest or --disable-gtktest was given.
12552 if test "${enable_gtktest+set}" = set; then
12553 enableval
="$enable_gtktest"
12560 for module
in .
$GTK_MODULES
12564 gtk_config_args
="$gtk_config_args gthread"
12569 if test x
$gtk_config_exec_prefix != x
; then
12570 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12571 if test x
${GTK_CONFIG+set} != xset
; then
12572 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12575 if test x
$gtk_config_prefix != x
; then
12576 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12577 if test x
${GTK_CONFIG+set} != xset
; then
12578 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12582 # Extract the first word of "gtk-config", so it can be a program name with args.
12583 set dummy gtk
-config; ac_word
=$2
12584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12585 echo "configure:12586: checking for $ac_word" >&5
12586 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12587 echo $ac_n "(cached) $ac_c" 1>&6
12589 case "$GTK_CONFIG" in
12591 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12594 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12597 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12599 for ac_dir
in $ac_dummy; do
12600 test -z "$ac_dir" && ac_dir
=.
12601 if test -f $ac_dir/$ac_word; then
12602 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12607 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12611 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12612 if test -n "$GTK_CONFIG"; then
12613 echo "$ac_t""$GTK_CONFIG" 1>&6
12615 echo "$ac_t""no" 1>&6
12618 min_gtk_version
=1.2.7
12619 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12620 echo "configure:12621: checking for GTK - version >= $min_gtk_version" >&5
12622 if test "$GTK_CONFIG" = "no" ; then
12625 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12626 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12627 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12628 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12629 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12631 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12633 if test "x$enable_gtktest" = "xyes" ; then
12634 ac_save_CFLAGS
="$CFLAGS"
12635 ac_save_LIBS
="$LIBS"
12636 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12637 LIBS
="$GTK_LIBS $LIBS"
12639 if test "$cross_compiling" = yes; then
12640 echo $ac_n "cross compiling; assumed OK... $ac_c"
12642 cat > conftest.
$ac_ext <<EOF
12643 #line 12644 "configure"
12644 #include "confdefs.h"
12646 #include <gtk/gtk.h>
12648 #include <stdlib.h>
12653 int major, minor, micro;
12656 system ("touch conf.gtktest");
12658 /* HP/UX 9 (%@#!) writes to sscanf strings */
12659 tmp_version = g_strdup("$min_gtk_version");
12660 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12661 printf("%s, bad version string\n", "$min_gtk_version");
12665 if ((gtk_major_version != $gtk_config_major_version) ||
12666 (gtk_minor_version != $gtk_config_minor_version) ||
12667 (gtk_micro_version != $gtk_config_micro_version))
12669 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12670 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12671 gtk_major_version, gtk_minor_version, gtk_micro_version);
12672 printf ("*** was found! If gtk-config was correct, then it is best\n");
12673 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12674 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12675 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12676 printf("*** required on your system.\n");
12677 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12678 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12679 printf("*** before re-running configure\n");
12681 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12682 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12683 (gtk_minor_version != GTK_MINOR_VERSION) ||
12684 (gtk_micro_version != GTK_MICRO_VERSION))
12686 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12687 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12688 printf("*** library (version %d.%d.%d)\n",
12689 gtk_major_version, gtk_minor_version, gtk_micro_version);
12691 #endif /* defined (GTK_MAJOR_VERSION) ... */
12694 if ((gtk_major_version > major) ||
12695 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12696 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12702 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12703 gtk_major_version, gtk_minor_version, gtk_micro_version);
12704 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12705 major, minor, micro);
12706 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12708 printf("*** If you have already installed a sufficiently new version, this error\n");
12709 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12710 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12711 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12712 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12713 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12714 printf("*** so that the correct libraries are found at run-time))\n");
12721 if { (eval echo configure
:12722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12725 echo "configure: failed program was:" >&5
12726 cat conftest.
$ac_ext >&5
12733 CFLAGS
="$ac_save_CFLAGS"
12734 LIBS
="$ac_save_LIBS"
12737 if test "x$no_gtk" = x
; then
12738 echo "$ac_t""yes" 1>&6
12739 wx_cv_lib_gtk
=1.2.7
12741 echo "$ac_t""no" 1>&6
12742 if test "$GTK_CONFIG" = "no" ; then
12743 echo "*** The gtk-config script installed by GTK could not be found"
12744 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12745 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12746 echo "*** full path to gtk-config."
12748 if test -f conf.gtktest
; then
12751 echo "*** Could not run GTK test program, checking why..."
12752 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12753 LIBS
="$LIBS $GTK_LIBS"
12754 cat > conftest.
$ac_ext <<EOF
12755 #line 12756 "configure"
12756 #include "confdefs.h"
12758 #include <gtk/gtk.h>
12762 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12765 if { (eval echo configure
:12766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12767 echo "*** The test program compiled, but did not run. This usually means"
12768 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12769 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12770 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12771 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12772 echo "*** is required on your system"
12774 echo "*** If you have an old version installed, it is best to remove it, although"
12775 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12777 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12778 echo "*** came with the system with the command"
12780 echo "*** rpm --erase --nodeps gtk gtk-devel"
12782 echo "configure: failed program was:" >&5
12783 cat conftest.
$ac_ext >&5
12785 echo "*** The test program failed to compile or link. See the file config.log for the"
12786 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12787 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12788 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12791 CFLAGS
="$ac_save_CFLAGS"
12792 LIBS
="$ac_save_LIBS"
12804 if test -z "$wx_cv_lib_gtk"; then
12805 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12806 if test "${with_gtk_prefix+set}" = set; then
12807 withval
="$with_gtk_prefix"
12808 gtk_config_prefix
="$withval"
12810 gtk_config_prefix
=""
12813 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12814 if test "${with_gtk_exec_prefix+set}" = set; then
12815 withval
="$with_gtk_exec_prefix"
12816 gtk_config_exec_prefix
="$withval"
12818 gtk_config_exec_prefix
=""
12821 # Check whether --enable-gtktest or --disable-gtktest was given.
12822 if test "${enable_gtktest+set}" = set; then
12823 enableval
="$enable_gtktest"
12830 for module
in .
$GTK_MODULES
12834 gtk_config_args
="$gtk_config_args gthread"
12839 if test x
$gtk_config_exec_prefix != x
; then
12840 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12841 if test x
${GTK_CONFIG+set} != xset
; then
12842 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12845 if test x
$gtk_config_prefix != x
; then
12846 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12847 if test x
${GTK_CONFIG+set} != xset
; then
12848 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12852 # Extract the first word of "gtk-config", so it can be a program name with args.
12853 set dummy gtk
-config; ac_word
=$2
12854 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12855 echo "configure:12856: checking for $ac_word" >&5
12856 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12857 echo $ac_n "(cached) $ac_c" 1>&6
12859 case "$GTK_CONFIG" in
12861 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12864 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12867 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12869 for ac_dir
in $ac_dummy; do
12870 test -z "$ac_dir" && ac_dir
=.
12871 if test -f $ac_dir/$ac_word; then
12872 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12877 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12881 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12882 if test -n "$GTK_CONFIG"; then
12883 echo "$ac_t""$GTK_CONFIG" 1>&6
12885 echo "$ac_t""no" 1>&6
12888 min_gtk_version
=1.2.3
12889 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12890 echo "configure:12891: checking for GTK - version >= $min_gtk_version" >&5
12892 if test "$GTK_CONFIG" = "no" ; then
12895 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12896 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12897 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12898 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12899 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12900 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12901 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12902 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12903 if test "x$enable_gtktest" = "xyes" ; then
12904 ac_save_CFLAGS
="$CFLAGS"
12905 ac_save_LIBS
="$LIBS"
12906 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12907 LIBS
="$GTK_LIBS $LIBS"
12909 if test "$cross_compiling" = yes; then
12910 echo $ac_n "cross compiling; assumed OK... $ac_c"
12912 cat > conftest.
$ac_ext <<EOF
12913 #line 12914 "configure"
12914 #include "confdefs.h"
12916 #include <gtk/gtk.h>
12918 #include <stdlib.h>
12923 int major, minor, micro;
12926 system ("touch conf.gtktest");
12928 /* HP/UX 9 (%@#!) writes to sscanf strings */
12929 tmp_version = g_strdup("$min_gtk_version");
12930 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12931 printf("%s, bad version string\n", "$min_gtk_version");
12935 if ((gtk_major_version != $gtk_config_major_version) ||
12936 (gtk_minor_version != $gtk_config_minor_version) ||
12937 (gtk_micro_version != $gtk_config_micro_version))
12939 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12940 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12941 gtk_major_version, gtk_minor_version, gtk_micro_version);
12942 printf ("*** was found! If gtk-config was correct, then it is best\n");
12943 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12944 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12945 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12946 printf("*** required on your system.\n");
12947 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12948 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12949 printf("*** before re-running configure\n");
12951 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12952 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12953 (gtk_minor_version != GTK_MINOR_VERSION) ||
12954 (gtk_micro_version != GTK_MICRO_VERSION))
12956 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12957 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12958 printf("*** library (version %d.%d.%d)\n",
12959 gtk_major_version, gtk_minor_version, gtk_micro_version);
12961 #endif /* defined (GTK_MAJOR_VERSION) ... */
12964 if ((gtk_major_version > major) ||
12965 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12966 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12972 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12973 gtk_major_version, gtk_minor_version, gtk_micro_version);
12974 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12975 major, minor, micro);
12976 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12978 printf("*** If you have already installed a sufficiently new version, this error\n");
12979 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12980 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12981 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12982 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12983 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12984 printf("*** so that the correct libraries are found at run-time))\n");
12991 if { (eval echo configure
:12992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12995 echo "configure: failed program was:" >&5
12996 cat conftest.
$ac_ext >&5
13003 CFLAGS
="$ac_save_CFLAGS"
13004 LIBS
="$ac_save_LIBS"
13007 if test "x$no_gtk" = x
; then
13008 echo "$ac_t""yes" 1>&6
13009 wx_cv_lib_gtk
=1.2.3
13011 echo "$ac_t""no" 1>&6
13012 if test "$GTK_CONFIG" = "no" ; then
13013 echo "*** The gtk-config script installed by GTK could not be found"
13014 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13015 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13016 echo "*** full path to gtk-config."
13018 if test -f conf.gtktest
; then
13021 echo "*** Could not run GTK test program, checking why..."
13022 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13023 LIBS
="$LIBS $GTK_LIBS"
13024 cat > conftest.
$ac_ext <<EOF
13025 #line 13026 "configure"
13026 #include "confdefs.h"
13028 #include <gtk/gtk.h>
13032 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13035 if { (eval echo configure
:13036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13037 echo "*** The test program compiled, but did not run. This usually means"
13038 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13039 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13040 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13041 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13042 echo "*** is required on your system"
13044 echo "*** If you have an old version installed, it is best to remove it, although"
13045 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13047 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13048 echo "*** came with the system with the command"
13050 echo "*** rpm --erase --nodeps gtk gtk-devel"
13052 echo "configure: failed program was:" >&5
13053 cat conftest.
$ac_ext >&5
13055 echo "*** The test program failed to compile or link. See the file config.log for the"
13056 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13057 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13058 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13061 CFLAGS
="$ac_save_CFLAGS"
13062 LIBS
="$ac_save_LIBS"
13076 if test -z "$wx_cv_lib_gtk"; then
13079 wx_cv_cflags_gtk
=$GTK_CFLAGS
13080 wx_cv_libs_gtk
=$GTK_LIBS
13087 if test "$gtk_version_cached" = 1; then
13088 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13091 case "$wx_cv_lib_gtk" in
13100 *) { echo "configure: error:
13101 Please check that gtk-config is in path, the directory
13102 where GTK+ libraries are installed (returned by
13103 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13104 equivalent variable and GTK+ is version 1.2.3 or above.
13109 if test "$WXGTK20" = 1; then
13110 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13114 if test -z "$PKG_CONFIG"; then
13115 # Extract the first word of "pkg-config", so it can be a program name with args.
13116 set dummy pkg
-config; ac_word
=$2
13117 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13118 echo "configure:13119: checking for $ac_word" >&5
13119 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13120 echo $ac_n "(cached) $ac_c" 1>&6
13122 case "$PKG_CONFIG" in
13124 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13127 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13130 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13132 for ac_dir
in $ac_dummy; do
13133 test -z "$ac_dir" && ac_dir
=.
13134 if test -f $ac_dir/$ac_word; then
13135 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13140 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13144 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13145 if test -n "$PKG_CONFIG"; then
13146 echo "$ac_t""$PKG_CONFIG" 1>&6
13148 echo "$ac_t""no" 1>&6
13153 if test "$PKG_CONFIG" = "no" ; then
13154 echo "*** The pkg-config script could not be found. Make sure it is"
13155 echo "*** in your path, or set the PKG_CONFIG environment variable"
13156 echo "*** to the full path to pkg-config."
13157 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13159 PKG_CONFIG_MIN_VERSION
=0.9.0
13160 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13161 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13162 echo "configure:13163: checking for pangoft2" >&5
13164 if $PKG_CONFIG --exists "pangoft2" ; then
13165 echo "$ac_t""yes" 1>&6
13168 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13169 echo "configure:13170: checking PANGOFT2_CFLAGS" >&5
13170 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13171 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13173 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13174 echo "configure:13175: checking PANGOFT2_LIBS" >&5
13175 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13176 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13180 ## If we have a custom action on failure, don't print errors, but
13181 ## do set a variable so people can do so.
13182 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13189 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13190 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13194 if test $succeeded = yes; then
13196 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13197 LIBS
="$LIBS $PANGOFT2_LIBS"
13201 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13202 wxUSE_PRINTING_ARCHITECTURE
="no"
13209 if test "$wxUSE_UNICODE" = "yes"; then
13210 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13215 if test "$USE_DARWIN" != 1; then
13216 for ac_func
in poll
13218 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13219 echo "configure:13220: checking for $ac_func" >&5
13220 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13221 echo $ac_n "(cached) $ac_c" 1>&6
13223 cat > conftest.
$ac_ext <<EOF
13224 #line 13225 "configure"
13225 #include "confdefs.h"
13226 /* System header to define __stub macros and hopefully few prototypes,
13227 which can conflict with char $ac_func(); below. */
13228 #include <assert.h>
13229 /* Override any gcc2 internal prototype to avoid an error. */
13230 /* We use char because int might match the return type of a gcc2
13231 builtin and then its argument prototype would still apply. */
13236 /* The GNU C library defines this for functions which it implements
13237 to always fail with ENOSYS. Some functions are actually named
13238 something starting with __ and the normal name is an alias. */
13239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13247 if { (eval echo configure
:13248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13249 eval "ac_cv_func_$ac_func=yes"
13251 echo "configure: failed program was:" >&5
13252 cat conftest.
$ac_ext >&5
13254 eval "ac_cv_func_$ac_func=no"
13259 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13260 echo "$ac_t""yes" 1>&6
13261 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13262 cat >> confdefs.h
<<EOF
13263 #define $ac_tr_func 1
13267 echo "$ac_t""no" 1>&6
13273 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13274 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13276 AFMINSTALL
=afminstall
13280 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13281 echo "configure:13282: checking for gdk_im_open in -lgdk" >&5
13282 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13284 echo $ac_n "(cached) $ac_c" 1>&6
13286 ac_save_LIBS
="$LIBS"
13288 cat > conftest.
$ac_ext <<EOF
13289 #line 13290 "configure"
13290 #include "confdefs.h"
13291 /* Override any gcc2 internal prototype to avoid an error. */
13292 /* We use char because int might match the return type of a gcc2
13293 builtin and then its argument prototype would still apply. */
13294 char gdk_im_open();
13300 if { (eval echo configure
:13301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13302 eval "ac_cv_lib_$ac_lib_var=yes"
13304 echo "configure: failed program was:" >&5
13305 cat conftest.
$ac_ext >&5
13307 eval "ac_cv_lib_$ac_lib_var=no"
13310 LIBS
="$ac_save_LIBS"
13313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13314 echo "$ac_t""yes" 1>&6
13315 cat >> confdefs.h
<<\EOF
13320 echo "$ac_t""no" 1>&6
13325 if test "$wxUSE_MGL" = 1; then
13326 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13327 echo "configure:13328: checking for SciTech MGL library" >&5
13328 if test "x$MGL_ROOT" = x
; then
13329 echo "$ac_t""not found" 1>&6
13330 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13332 echo "$ac_t""$MGL_ROOT" 1>&6
13335 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13336 echo "configure:13337: checking for libmgl location" >&5
13339 if test "x$wxUSE_SHARED" = xyes
; then
13340 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13342 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13346 mgl_os_candidates
="dos32/dj2"
13349 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13355 for mgl_os_i
in $mgl_os_candidates ; do
13356 if test "x$mgl_os" = x
; then
13357 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13358 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13359 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13364 if test "x$mgl_lib_type" = x
; then
13365 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13366 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13367 mgl_lib_type
=release
13374 if test "x$mgl_os" = x
; then
13375 echo "$ac_t""not found" 1>&6
13376 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13378 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13380 wxUSE_UNIVERSAL
="yes"
13382 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13383 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13385 AFMINSTALL
=afminstall
13390 if test "$wxUSE_MICROWIN" = 1; then
13391 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13392 echo "configure:13393: checking for MicroWindows" >&5
13393 if test "x$MICROWINDOWS" = x
; then
13394 echo "$ac_t""not found" 1>&6
13395 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13397 echo "$ac_t""$MICROWINDOWS" 1>&6
13400 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13401 echo "$ac_t""MicroWindows' libraries found." 1>&6
13403 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13406 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13407 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13409 wxUSE_UNIVERSAL
="yes"
13411 AFMINSTALL
=afminstall
13413 GUIDIST
=MICROWIN_DIST
13415 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13418 if test "$wxUSE_X11" = 1; then
13419 # If we find X, set shell vars x_includes and x_libraries to the
13420 # paths, otherwise set no_x=yes.
13421 # Uses ac_ vars as temps to allow command line to override cache and checks.
13422 # --without-x overrides everything else, but does not touch the cache.
13423 echo $ac_n "checking for X""... $ac_c" 1>&6
13424 echo "configure:13425: checking for X" >&5
13426 # Check whether --with-x or --without-x was given.
13427 if test "${with_x+set}" = set; then
13432 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13433 if test "x$with_x" = xno
; then
13434 # The user explicitly disabled X.
13437 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13438 # Both variables are already set.
13441 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13442 echo $ac_n "(cached) $ac_c" 1>&6
13444 # One or both of the vars are not set, and there is no cached value.
13445 ac_x_includes
=NO ac_x_libraries
=NO
13447 if mkdir conftestdir
; then
13449 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13450 cat > Imakefile
<<'EOF'
13452 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13454 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13456 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13457 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13458 for ac_extension
in a so sl
; do
13459 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13460 test -f $ac_im_libdir/libX11.
$ac_extension; then
13461 ac_im_usrlibdir
=$ac_im_libdir; break
13464 # Screen out bogus values from the imake configuration. They are
13465 # bogus both because they are the default anyway, and because
13466 # using them would break gcc on systems where it needs fixed includes.
13467 case "$ac_im_incroot" in
13469 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13471 case "$ac_im_usrlibdir" in
13472 /usr
/lib
| /lib
) ;;
13473 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13480 if test "$ac_x_includes" = NO
; then
13481 # Guess where to find include files, by looking for this one X11 .h file.
13482 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13484 # First, try using that file with no special directory specified.
13485 cat > conftest.
$ac_ext <<EOF
13486 #line 13487 "configure"
13487 #include "confdefs.h"
13488 #include <$x_direct_test_include>
13490 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13491 { (eval echo configure
:13492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13492 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13493 if test -z "$ac_err"; then
13495 # We can compile using X headers with no special include directory.
13499 echo "configure: failed program was:" >&5
13500 cat conftest.
$ac_ext >&5
13502 # Look for the header file in a standard set of common directories.
13503 # Check X11 before X11Rn because it is often a symlink to the current release.
13506 /usr
/X
11R
6/include \
13507 /usr
/X
11R
5/include \
13508 /usr
/X
11R
4/include \
13511 /usr
/include
/X11R6 \
13512 /usr
/include
/X11R5 \
13513 /usr
/include
/X11R4 \
13515 /usr
/local
/X
11/include \
13516 /usr
/local
/X
11R
6/include \
13517 /usr
/local
/X
11R
5/include \
13518 /usr
/local
/X
11R
4/include \
13520 /usr
/local
/include
/X11 \
13521 /usr
/local
/include
/X11R6 \
13522 /usr
/local
/include
/X11R5 \
13523 /usr
/local
/include
/X11R4 \
13525 /usr
/X
386/include \
13526 /usr
/x
386/include \
13527 /usr
/XFree
86/include
/X11 \
13530 /usr
/local
/include \
13531 /usr
/unsupported
/include \
13532 /usr
/athena
/include \
13533 /usr
/local
/x
11r
5/include \
13534 /usr
/lpp
/Xamples
/include \
13536 /usr
/openwin
/include \
13537 /usr
/openwin
/share
/include \
13540 if test -r "$ac_dir/$x_direct_test_include"; then
13541 ac_x_includes
=$ac_dir
13547 fi # $ac_x_includes = NO
13549 if test "$ac_x_libraries" = NO
; then
13550 # Check for the libraries.
13552 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13553 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13555 # See if we find them without any special options.
13556 # Don't add to $LIBS permanently.
13557 ac_save_LIBS
="$LIBS"
13558 LIBS
="-l$x_direct_test_library $LIBS"
13559 cat > conftest.
$ac_ext <<EOF
13560 #line 13561 "configure"
13561 #include "confdefs.h"
13564 ${x_direct_test_function}()
13567 if { (eval echo configure
:13568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13569 LIBS
="$ac_save_LIBS"
13570 # We can link X programs with no special library path.
13573 echo "configure: failed program was:" >&5
13574 cat conftest.
$ac_ext >&5
13576 LIBS
="$ac_save_LIBS"
13577 # First see if replacing the include by lib works.
13578 # Check X11 before X11Rn because it is often a symlink to the current release.
13579 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13590 /usr
/local
/X
11/lib \
13591 /usr
/local
/X
11R
6/lib \
13592 /usr
/local
/X
11R
5/lib \
13593 /usr
/local
/X
11R
4/lib \
13595 /usr
/local
/lib
/X11 \
13596 /usr
/local
/lib
/X11R6 \
13597 /usr
/local
/lib
/X11R5 \
13598 /usr
/local
/lib
/X11R4 \
13602 /usr
/XFree
86/lib
/X11 \
13606 /usr
/unsupported
/lib \
13608 /usr
/local
/x
11r
5/lib \
13609 /usr
/lpp
/Xamples
/lib \
13613 /usr
/openwin
/share
/lib \
13616 for ac_extension
in a so sl
; do
13617 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13618 ac_x_libraries
=$ac_dir
13625 fi # $ac_x_libraries = NO
13627 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13628 # Didn't find X anywhere. Cache the known absence of X.
13629 ac_cv_have_x
="have_x=no"
13631 # Record where we found X for the cache.
13632 ac_cv_have_x
="have_x=yes \
13633 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13637 eval "$ac_cv_have_x"
13640 if test "$have_x" != yes; then
13641 echo "$ac_t""$have_x" 1>&6
13644 # If each of the values was on the command line, it overrides each guess.
13645 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13646 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13647 # Update the cache value to reflect the command line values.
13648 ac_cv_have_x
="have_x=yes \
13649 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13650 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13653 if test "$no_x" = yes; then
13654 # Not all programs may use this symbol, but it does not hurt to define it.
13655 cat >> confdefs.h
<<\EOF
13656 #define X_DISPLAY_MISSING 1
13659 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13661 if test -n "$x_includes"; then
13662 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13665 # It would also be nice to do this for all -L options, not just this one.
13666 if test -n "$x_libraries"; then
13667 X_LIBS
="$X_LIBS -L$x_libraries"
13668 # For Solaris; some versions of Sun CC require a space after -R and
13669 # others require no space. Words are not sufficient . . . .
13670 case "`(uname -sr) 2>/dev/null`" in
13672 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13673 echo "configure:13674: checking whether -R must be followed by a space" >&5
13674 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13675 cat > conftest.
$ac_ext <<EOF
13676 #line 13677 "configure"
13677 #include "confdefs.h"
13683 if { (eval echo configure
:13684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13687 echo "configure: failed program was:" >&5
13688 cat conftest.
$ac_ext >&5
13693 if test $ac_R_nospace = yes; then
13694 echo "$ac_t""no" 1>&6
13695 X_LIBS
="$X_LIBS -R$x_libraries"
13697 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13698 cat > conftest.
$ac_ext <<EOF
13699 #line 13700 "configure"
13700 #include "confdefs.h"
13706 if { (eval echo configure
:13707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13710 echo "configure: failed program was:" >&5
13711 cat conftest.
$ac_ext >&5
13716 if test $ac_R_space = yes; then
13717 echo "$ac_t""yes" 1>&6
13718 X_LIBS
="$X_LIBS -R $x_libraries"
13720 echo "$ac_t""neither works" 1>&6
13723 LIBS
="$ac_xsave_LIBS"
13727 # Check for system-dependent libraries X programs must link with.
13728 # Do this before checking for the system-independent R6 libraries
13729 # (-lICE), since we may need -lsocket or whatever for X linking.
13731 if test "$ISC" = yes; then
13732 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13734 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13735 # libraries were built with DECnet support. And karl@cs.umb.edu says
13736 # the Alpha needs dnet_stub (dnet does not exist).
13737 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13738 echo "configure:13739: checking for dnet_ntoa in -ldnet" >&5
13739 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13741 echo $ac_n "(cached) $ac_c" 1>&6
13743 ac_save_LIBS
="$LIBS"
13744 LIBS
="-ldnet $LIBS"
13745 cat > conftest.
$ac_ext <<EOF
13746 #line 13747 "configure"
13747 #include "confdefs.h"
13748 /* Override any gcc2 internal prototype to avoid an error. */
13749 /* We use char because int might match the return type of a gcc2
13750 builtin and then its argument prototype would still apply. */
13757 if { (eval echo configure
:13758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13759 eval "ac_cv_lib_$ac_lib_var=yes"
13761 echo "configure: failed program was:" >&5
13762 cat conftest.
$ac_ext >&5
13764 eval "ac_cv_lib_$ac_lib_var=no"
13767 LIBS
="$ac_save_LIBS"
13770 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13771 echo "$ac_t""yes" 1>&6
13772 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13774 echo "$ac_t""no" 1>&6
13777 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13778 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13779 echo "configure:13780: checking for dnet_ntoa in -ldnet_stub" >&5
13780 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13782 echo $ac_n "(cached) $ac_c" 1>&6
13784 ac_save_LIBS
="$LIBS"
13785 LIBS
="-ldnet_stub $LIBS"
13786 cat > conftest.
$ac_ext <<EOF
13787 #line 13788 "configure"
13788 #include "confdefs.h"
13789 /* Override any gcc2 internal prototype to avoid an error. */
13790 /* We use char because int might match the return type of a gcc2
13791 builtin and then its argument prototype would still apply. */
13798 if { (eval echo configure
:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13800 eval "ac_cv_lib_$ac_lib_var=yes"
13802 echo "configure: failed program was:" >&5
13803 cat conftest.
$ac_ext >&5
13805 eval "ac_cv_lib_$ac_lib_var=no"
13808 LIBS
="$ac_save_LIBS"
13811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13812 echo "$ac_t""yes" 1>&6
13813 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13815 echo "$ac_t""no" 1>&6
13820 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13821 # to get the SysV transport functions.
13822 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13824 # The nsl library prevents programs from opening the X display
13825 # on Irix 5.2, according to dickey@clark.net.
13826 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13827 echo "configure:13828: checking for gethostbyname" >&5
13828 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13829 echo $ac_n "(cached) $ac_c" 1>&6
13831 cat > conftest.
$ac_ext <<EOF
13832 #line 13833 "configure"
13833 #include "confdefs.h"
13834 /* System header to define __stub macros and hopefully few prototypes,
13835 which can conflict with char gethostbyname(); below. */
13836 #include <assert.h>
13837 /* Override any gcc2 internal prototype to avoid an error. */
13838 /* We use char because int might match the return type of a gcc2
13839 builtin and then its argument prototype would still apply. */
13840 char gethostbyname();
13844 /* The GNU C library defines this for functions which it implements
13845 to always fail with ENOSYS. Some functions are actually named
13846 something starting with __ and the normal name is an alias. */
13847 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13855 if { (eval echo configure
:13856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13857 eval "ac_cv_func_gethostbyname=yes"
13859 echo "configure: failed program was:" >&5
13860 cat conftest.
$ac_ext >&5
13862 eval "ac_cv_func_gethostbyname=no"
13867 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13868 echo "$ac_t""yes" 1>&6
13871 echo "$ac_t""no" 1>&6
13874 if test $ac_cv_func_gethostbyname = no
; then
13875 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13876 echo "configure:13877: checking for gethostbyname in -lnsl" >&5
13877 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13878 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13879 echo $ac_n "(cached) $ac_c" 1>&6
13881 ac_save_LIBS
="$LIBS"
13883 cat > conftest.
$ac_ext <<EOF
13884 #line 13885 "configure"
13885 #include "confdefs.h"
13886 /* Override any gcc2 internal prototype to avoid an error. */
13887 /* We use char because int might match the return type of a gcc2
13888 builtin and then its argument prototype would still apply. */
13889 char gethostbyname();
13895 if { (eval echo configure
:13896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13897 eval "ac_cv_lib_$ac_lib_var=yes"
13899 echo "configure: failed program was:" >&5
13900 cat conftest.
$ac_ext >&5
13902 eval "ac_cv_lib_$ac_lib_var=no"
13905 LIBS
="$ac_save_LIBS"
13908 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13909 echo "$ac_t""yes" 1>&6
13910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13912 echo "$ac_t""no" 1>&6
13917 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13918 # socket/setsockopt and other routines are undefined under SCO ODT
13919 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13920 # on later versions), says simon@lia.di.epfl.ch: it contains
13921 # gethostby* variants that don't use the nameserver (or something).
13922 # -lsocket must be given before -lnsl if both are needed.
13923 # We assume that if connect needs -lnsl, so does gethostbyname.
13924 echo $ac_n "checking for connect""... $ac_c" 1>&6
13925 echo "configure:13926: checking for connect" >&5
13926 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13927 echo $ac_n "(cached) $ac_c" 1>&6
13929 cat > conftest.
$ac_ext <<EOF
13930 #line 13931 "configure"
13931 #include "confdefs.h"
13932 /* System header to define __stub macros and hopefully few prototypes,
13933 which can conflict with char connect(); below. */
13934 #include <assert.h>
13935 /* Override any gcc2 internal prototype to avoid an error. */
13936 /* We use char because int might match the return type of a gcc2
13937 builtin and then its argument prototype would still apply. */
13942 /* The GNU C library defines this for functions which it implements
13943 to always fail with ENOSYS. Some functions are actually named
13944 something starting with __ and the normal name is an alias. */
13945 #if defined (__stub_connect) || defined (__stub___connect)
13953 if { (eval echo configure
:13954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13955 eval "ac_cv_func_connect=yes"
13957 echo "configure: failed program was:" >&5
13958 cat conftest.
$ac_ext >&5
13960 eval "ac_cv_func_connect=no"
13965 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13966 echo "$ac_t""yes" 1>&6
13969 echo "$ac_t""no" 1>&6
13972 if test $ac_cv_func_connect = no
; then
13973 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13974 echo "configure:13975: checking for connect in -lsocket" >&5
13975 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13977 echo $ac_n "(cached) $ac_c" 1>&6
13979 ac_save_LIBS
="$LIBS"
13980 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13981 cat > conftest.
$ac_ext <<EOF
13982 #line 13983 "configure"
13983 #include "confdefs.h"
13984 /* Override any gcc2 internal prototype to avoid an error. */
13985 /* We use char because int might match the return type of a gcc2
13986 builtin and then its argument prototype would still apply. */
13993 if { (eval echo configure
:13994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13995 eval "ac_cv_lib_$ac_lib_var=yes"
13997 echo "configure: failed program was:" >&5
13998 cat conftest.
$ac_ext >&5
14000 eval "ac_cv_lib_$ac_lib_var=no"
14003 LIBS
="$ac_save_LIBS"
14006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14007 echo "$ac_t""yes" 1>&6
14008 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14010 echo "$ac_t""no" 1>&6
14015 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14016 echo $ac_n "checking for remove""... $ac_c" 1>&6
14017 echo "configure:14018: checking for remove" >&5
14018 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14021 cat > conftest.
$ac_ext <<EOF
14022 #line 14023 "configure"
14023 #include "confdefs.h"
14024 /* System header to define __stub macros and hopefully few prototypes,
14025 which can conflict with char remove(); below. */
14026 #include <assert.h>
14027 /* Override any gcc2 internal prototype to avoid an error. */
14028 /* We use char because int might match the return type of a gcc2
14029 builtin and then its argument prototype would still apply. */
14034 /* The GNU C library defines this for functions which it implements
14035 to always fail with ENOSYS. Some functions are actually named
14036 something starting with __ and the normal name is an alias. */
14037 #if defined (__stub_remove) || defined (__stub___remove)
14045 if { (eval echo configure
:14046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14047 eval "ac_cv_func_remove=yes"
14049 echo "configure: failed program was:" >&5
14050 cat conftest.
$ac_ext >&5
14052 eval "ac_cv_func_remove=no"
14057 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14058 echo "$ac_t""yes" 1>&6
14061 echo "$ac_t""no" 1>&6
14064 if test $ac_cv_func_remove = no
; then
14065 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14066 echo "configure:14067: checking for remove in -lposix" >&5
14067 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14068 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14069 echo $ac_n "(cached) $ac_c" 1>&6
14071 ac_save_LIBS
="$LIBS"
14072 LIBS
="-lposix $LIBS"
14073 cat > conftest.
$ac_ext <<EOF
14074 #line 14075 "configure"
14075 #include "confdefs.h"
14076 /* Override any gcc2 internal prototype to avoid an error. */
14077 /* We use char because int might match the return type of a gcc2
14078 builtin and then its argument prototype would still apply. */
14085 if { (eval echo configure
:14086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14087 eval "ac_cv_lib_$ac_lib_var=yes"
14089 echo "configure: failed program was:" >&5
14090 cat conftest.
$ac_ext >&5
14092 eval "ac_cv_lib_$ac_lib_var=no"
14095 LIBS
="$ac_save_LIBS"
14098 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14099 echo "$ac_t""yes" 1>&6
14100 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14102 echo "$ac_t""no" 1>&6
14107 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14108 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14109 echo "configure:14110: checking for shmat" >&5
14110 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14111 echo $ac_n "(cached) $ac_c" 1>&6
14113 cat > conftest.
$ac_ext <<EOF
14114 #line 14115 "configure"
14115 #include "confdefs.h"
14116 /* System header to define __stub macros and hopefully few prototypes,
14117 which can conflict with char shmat(); below. */
14118 #include <assert.h>
14119 /* Override any gcc2 internal prototype to avoid an error. */
14120 /* We use char because int might match the return type of a gcc2
14121 builtin and then its argument prototype would still apply. */
14126 /* The GNU C library defines this for functions which it implements
14127 to always fail with ENOSYS. Some functions are actually named
14128 something starting with __ and the normal name is an alias. */
14129 #if defined (__stub_shmat) || defined (__stub___shmat)
14137 if { (eval echo configure
:14138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14139 eval "ac_cv_func_shmat=yes"
14141 echo "configure: failed program was:" >&5
14142 cat conftest.
$ac_ext >&5
14144 eval "ac_cv_func_shmat=no"
14149 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14150 echo "$ac_t""yes" 1>&6
14153 echo "$ac_t""no" 1>&6
14156 if test $ac_cv_func_shmat = no
; then
14157 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14158 echo "configure:14159: checking for shmat in -lipc" >&5
14159 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14161 echo $ac_n "(cached) $ac_c" 1>&6
14163 ac_save_LIBS
="$LIBS"
14165 cat > conftest.
$ac_ext <<EOF
14166 #line 14167 "configure"
14167 #include "confdefs.h"
14168 /* Override any gcc2 internal prototype to avoid an error. */
14169 /* We use char because int might match the return type of a gcc2
14170 builtin and then its argument prototype would still apply. */
14177 if { (eval echo configure
:14178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14179 eval "ac_cv_lib_$ac_lib_var=yes"
14181 echo "configure: failed program was:" >&5
14182 cat conftest.
$ac_ext >&5
14184 eval "ac_cv_lib_$ac_lib_var=no"
14187 LIBS
="$ac_save_LIBS"
14190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14191 echo "$ac_t""yes" 1>&6
14192 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14194 echo "$ac_t""no" 1>&6
14200 # Check for libraries that X11R6 Xt/Xaw programs need.
14201 ac_save_LDFLAGS
="$LDFLAGS"
14202 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14203 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14204 # check for ICE first), but we must link in the order -lSM -lICE or
14205 # we get undefined symbols. So assume we have SM if we have ICE.
14206 # These have to be linked with before -lX11, unlike the other
14207 # libraries we check for below, so use a different variable.
14208 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14209 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14210 echo "configure:14211: checking for IceConnectionNumber in -lICE" >&5
14211 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14213 echo $ac_n "(cached) $ac_c" 1>&6
14215 ac_save_LIBS
="$LIBS"
14216 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14217 cat > conftest.
$ac_ext <<EOF
14218 #line 14219 "configure"
14219 #include "confdefs.h"
14220 /* Override any gcc2 internal prototype to avoid an error. */
14221 /* We use char because int might match the return type of a gcc2
14222 builtin and then its argument prototype would still apply. */
14223 char IceConnectionNumber();
14226 IceConnectionNumber()
14229 if { (eval echo configure
:14230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14231 eval "ac_cv_lib_$ac_lib_var=yes"
14233 echo "configure: failed program was:" >&5
14234 cat conftest.
$ac_ext >&5
14236 eval "ac_cv_lib_$ac_lib_var=no"
14239 LIBS
="$ac_save_LIBS"
14242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14243 echo "$ac_t""yes" 1>&6
14244 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14246 echo "$ac_t""no" 1>&6
14249 LDFLAGS
="$ac_save_LDFLAGS"
14254 if test "$no_x" = "yes"; then
14255 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14258 GUI_TK_LIBRARY
="$X_LIBS"
14259 TOOLKIT_INCLUDE
="$X_CFLAGS"
14260 AFMINSTALL
=afminstall
14261 COMPILED_X_PROGRAM
=0
14263 if test "$wxUSE_NANOX" = "yes"; then
14264 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14265 echo "configure:14266: checking for MicroWindows/NanoX distribution" >&5
14266 if test "x$MICROWIN" = x
; then
14267 echo "$ac_t""not found" 1>&6
14268 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14270 echo "$ac_t""$MICROWIN" 1>&6
14271 cat >> confdefs.h
<<\EOF
14272 #define wxUSE_NANOX 1
14279 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14280 echo "configure:14281: checking for Xpm library" >&5
14283 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14285 for ac_extension
in a so sl dylib
; do
14286 if test -f "$ac_dir/libXpm.$ac_extension"; then
14287 ac_find_libraries
=$ac_dir
14293 if test "$ac_find_libraries" != "" ; then
14295 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14297 if test $result = 0; then
14300 ac_path_to_link
=" -L$ac_find_libraries"
14303 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14305 cat >> confdefs.h
<<\EOF
14306 #define wxHAVE_LIB_XPM 1
14309 echo "$ac_t""found at $ac_find_libraries" 1>&6
14311 cat > conftest.
$ac_ext <<EOF
14312 #line 14313 "configure"
14313 #include "confdefs.h"
14315 #include <X11/xpm.h>
14320 version = XpmLibraryVersion();
14324 if { (eval echo configure
:14325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14328 cat >> confdefs.h
<<\EOF
14329 #define wxHAVE_LIB_XPM 1
14332 echo "$ac_t""found in default search path" 1>&6
14333 COMPILED_X_PROGRAM
=0
14336 echo "configure: failed program was:" >&5
14337 cat conftest.
$ac_ext >&5
14340 echo "$ac_t""no" 1>&6
14341 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14348 if test "$wxUSE_UNICODE" = "yes"; then
14352 if test -z "$PKG_CONFIG"; then
14353 # Extract the first word of "pkg-config", so it can be a program name with args.
14354 set dummy pkg
-config; ac_word
=$2
14355 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14356 echo "configure:14357: checking for $ac_word" >&5
14357 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14358 echo $ac_n "(cached) $ac_c" 1>&6
14360 case "$PKG_CONFIG" in
14362 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14365 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14368 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14370 for ac_dir
in $ac_dummy; do
14371 test -z "$ac_dir" && ac_dir
=.
14372 if test -f $ac_dir/$ac_word; then
14373 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14378 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14382 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14383 if test -n "$PKG_CONFIG"; then
14384 echo "$ac_t""$PKG_CONFIG" 1>&6
14386 echo "$ac_t""no" 1>&6
14391 if test "$PKG_CONFIG" = "no" ; then
14392 echo "*** The pkg-config script could not be found. Make sure it is"
14393 echo "*** in your path, or set the PKG_CONFIG environment variable"
14394 echo "*** to the full path to pkg-config."
14395 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14397 PKG_CONFIG_MIN_VERSION
=0.9.0
14398 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14399 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14400 echo "configure:14401: checking for pangox" >&5
14402 if $PKG_CONFIG --exists "pangox" ; then
14403 echo "$ac_t""yes" 1>&6
14406 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14407 echo "configure:14408: checking PANGOX_CFLAGS" >&5
14408 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14409 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14411 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14412 echo "configure:14413: checking PANGOX_LIBS" >&5
14413 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14414 echo "$ac_t""$PANGOX_LIBS" 1>&6
14418 ## If we have a custom action on failure, don't print errors, but
14419 ## do set a variable so people can do so.
14420 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14427 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14428 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14432 if test $succeeded = yes; then
14434 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14435 LIBS
="$LIBS $PANGOX_LIBS"
14439 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14447 if test -z "$PKG_CONFIG"; then
14448 # Extract the first word of "pkg-config", so it can be a program name with args.
14449 set dummy pkg
-config; ac_word
=$2
14450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14451 echo "configure:14452: checking for $ac_word" >&5
14452 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14453 echo $ac_n "(cached) $ac_c" 1>&6
14455 case "$PKG_CONFIG" in
14457 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14460 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14463 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14465 for ac_dir
in $ac_dummy; do
14466 test -z "$ac_dir" && ac_dir
=.
14467 if test -f $ac_dir/$ac_word; then
14468 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14473 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14477 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14478 if test -n "$PKG_CONFIG"; then
14479 echo "$ac_t""$PKG_CONFIG" 1>&6
14481 echo "$ac_t""no" 1>&6
14486 if test "$PKG_CONFIG" = "no" ; then
14487 echo "*** The pkg-config script could not be found. Make sure it is"
14488 echo "*** in your path, or set the PKG_CONFIG environment variable"
14489 echo "*** to the full path to pkg-config."
14490 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14492 PKG_CONFIG_MIN_VERSION
=0.9.0
14493 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14494 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14495 echo "configure:14496: checking for pangoft2" >&5
14497 if $PKG_CONFIG --exists "pangoft2" ; then
14498 echo "$ac_t""yes" 1>&6
14501 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14502 echo "configure:14503: checking PANGOFT2_CFLAGS" >&5
14503 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14504 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14506 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14507 echo "configure:14508: checking PANGOFT2_LIBS" >&5
14508 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14509 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14513 ## If we have a custom action on failure, don't print errors, but
14514 ## do set a variable so people can do so.
14515 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14522 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14523 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14527 if test $succeeded = yes; then
14529 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14530 LIBS
="$LIBS $PANGOFT2_LIBS"
14534 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14535 wxUSE_PRINTING_ARCHITECTURE
="no"
14543 if test -z "$PKG_CONFIG"; then
14544 # Extract the first word of "pkg-config", so it can be a program name with args.
14545 set dummy pkg
-config; ac_word
=$2
14546 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14547 echo "configure:14548: checking for $ac_word" >&5
14548 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14549 echo $ac_n "(cached) $ac_c" 1>&6
14551 case "$PKG_CONFIG" in
14553 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14556 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14559 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14561 for ac_dir
in $ac_dummy; do
14562 test -z "$ac_dir" && ac_dir
=.
14563 if test -f $ac_dir/$ac_word; then
14564 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14569 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14573 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14574 if test -n "$PKG_CONFIG"; then
14575 echo "$ac_t""$PKG_CONFIG" 1>&6
14577 echo "$ac_t""no" 1>&6
14582 if test "$PKG_CONFIG" = "no" ; then
14583 echo "*** The pkg-config script could not be found. Make sure it is"
14584 echo "*** in your path, or set the PKG_CONFIG environment variable"
14585 echo "*** to the full path to pkg-config."
14586 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14588 PKG_CONFIG_MIN_VERSION
=0.9.0
14589 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14590 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14591 echo "configure:14592: checking for pangoxft" >&5
14593 if $PKG_CONFIG --exists "pangoxft" ; then
14594 echo "$ac_t""yes" 1>&6
14597 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14598 echo "configure:14599: checking PANGOXFT_CFLAGS" >&5
14599 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14600 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14602 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14603 echo "configure:14604: checking PANGOXFT_LIBS" >&5
14604 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14605 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14609 ## If we have a custom action on failure, don't print errors, but
14610 ## do set a variable so people can do so.
14611 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14618 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14619 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14623 if test $succeeded = yes; then
14625 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14626 LIBS
="$LIBS $PANGOXFT_LIBS"
14630 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14637 wxUSE_UNIVERSAL
="yes"
14639 if test "$wxUSE_NANOX" = "yes"; then
14640 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14641 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"
14642 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14644 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14647 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14652 if test "$wxUSE_MOTIF" = 1; then
14653 if test "$no_x" = yes; then
14654 # Not all programs may use this symbol, but it does not hurt to define it.
14655 cat >> confdefs.h
<<\EOF
14656 #define X_DISPLAY_MISSING 1
14659 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14661 if test -n "$x_includes"; then
14662 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14665 # It would also be nice to do this for all -L options, not just this one.
14666 if test -n "$x_libraries"; then
14667 X_LIBS
="$X_LIBS -L$x_libraries"
14668 # For Solaris; some versions of Sun CC require a space after -R and
14669 # others require no space. Words are not sufficient . . . .
14670 case "`(uname -sr) 2>/dev/null`" in
14672 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14673 echo "configure:14674: checking whether -R must be followed by a space" >&5
14674 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14675 cat > conftest.
$ac_ext <<EOF
14676 #line 14677 "configure"
14677 #include "confdefs.h"
14683 if { (eval echo configure
:14684: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14687 echo "configure: failed program was:" >&5
14688 cat conftest.
$ac_ext >&5
14693 if test $ac_R_nospace = yes; then
14694 echo "$ac_t""no" 1>&6
14695 X_LIBS
="$X_LIBS -R$x_libraries"
14697 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14698 cat > conftest.
$ac_ext <<EOF
14699 #line 14700 "configure"
14700 #include "confdefs.h"
14706 if { (eval echo configure
:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14710 echo "configure: failed program was:" >&5
14711 cat conftest.
$ac_ext >&5
14716 if test $ac_R_space = yes; then
14717 echo "$ac_t""yes" 1>&6
14718 X_LIBS
="$X_LIBS -R $x_libraries"
14720 echo "$ac_t""neither works" 1>&6
14723 LIBS
="$ac_xsave_LIBS"
14727 # Check for system-dependent libraries X programs must link with.
14728 # Do this before checking for the system-independent R6 libraries
14729 # (-lICE), since we may need -lsocket or whatever for X linking.
14731 if test "$ISC" = yes; then
14732 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14734 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14735 # libraries were built with DECnet support. And karl@cs.umb.edu says
14736 # the Alpha needs dnet_stub (dnet does not exist).
14737 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14738 echo "configure:14739: checking for dnet_ntoa in -ldnet" >&5
14739 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14741 echo $ac_n "(cached) $ac_c" 1>&6
14743 ac_save_LIBS
="$LIBS"
14744 LIBS
="-ldnet $LIBS"
14745 cat > conftest.
$ac_ext <<EOF
14746 #line 14747 "configure"
14747 #include "confdefs.h"
14748 /* Override any gcc2 internal prototype to avoid an error. */
14749 /* We use char because int might match the return type of a gcc2
14750 builtin and then its argument prototype would still apply. */
14757 if { (eval echo configure
:14758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14759 eval "ac_cv_lib_$ac_lib_var=yes"
14761 echo "configure: failed program was:" >&5
14762 cat conftest.
$ac_ext >&5
14764 eval "ac_cv_lib_$ac_lib_var=no"
14767 LIBS
="$ac_save_LIBS"
14770 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14771 echo "$ac_t""yes" 1>&6
14772 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14774 echo "$ac_t""no" 1>&6
14777 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14778 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14779 echo "configure:14780: checking for dnet_ntoa in -ldnet_stub" >&5
14780 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14782 echo $ac_n "(cached) $ac_c" 1>&6
14784 ac_save_LIBS
="$LIBS"
14785 LIBS
="-ldnet_stub $LIBS"
14786 cat > conftest.
$ac_ext <<EOF
14787 #line 14788 "configure"
14788 #include "confdefs.h"
14789 /* Override any gcc2 internal prototype to avoid an error. */
14790 /* We use char because int might match the return type of a gcc2
14791 builtin and then its argument prototype would still apply. */
14798 if { (eval echo configure
:14799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14800 eval "ac_cv_lib_$ac_lib_var=yes"
14802 echo "configure: failed program was:" >&5
14803 cat conftest.
$ac_ext >&5
14805 eval "ac_cv_lib_$ac_lib_var=no"
14808 LIBS
="$ac_save_LIBS"
14811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14812 echo "$ac_t""yes" 1>&6
14813 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14815 echo "$ac_t""no" 1>&6
14820 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14821 # to get the SysV transport functions.
14822 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14824 # The nsl library prevents programs from opening the X display
14825 # on Irix 5.2, according to dickey@clark.net.
14826 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14827 echo "configure:14828: checking for gethostbyname" >&5
14828 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14829 echo $ac_n "(cached) $ac_c" 1>&6
14831 cat > conftest.
$ac_ext <<EOF
14832 #line 14833 "configure"
14833 #include "confdefs.h"
14834 /* System header to define __stub macros and hopefully few prototypes,
14835 which can conflict with char gethostbyname(); below. */
14836 #include <assert.h>
14837 /* Override any gcc2 internal prototype to avoid an error. */
14838 /* We use char because int might match the return type of a gcc2
14839 builtin and then its argument prototype would still apply. */
14840 char gethostbyname();
14844 /* The GNU C library defines this for functions which it implements
14845 to always fail with ENOSYS. Some functions are actually named
14846 something starting with __ and the normal name is an alias. */
14847 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14855 if { (eval echo configure
:14856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14857 eval "ac_cv_func_gethostbyname=yes"
14859 echo "configure: failed program was:" >&5
14860 cat conftest.
$ac_ext >&5
14862 eval "ac_cv_func_gethostbyname=no"
14867 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14868 echo "$ac_t""yes" 1>&6
14871 echo "$ac_t""no" 1>&6
14874 if test $ac_cv_func_gethostbyname = no
; then
14875 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14876 echo "configure:14877: checking for gethostbyname in -lnsl" >&5
14877 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14878 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14879 echo $ac_n "(cached) $ac_c" 1>&6
14881 ac_save_LIBS
="$LIBS"
14883 cat > conftest.
$ac_ext <<EOF
14884 #line 14885 "configure"
14885 #include "confdefs.h"
14886 /* Override any gcc2 internal prototype to avoid an error. */
14887 /* We use char because int might match the return type of a gcc2
14888 builtin and then its argument prototype would still apply. */
14889 char gethostbyname();
14895 if { (eval echo configure
:14896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14897 eval "ac_cv_lib_$ac_lib_var=yes"
14899 echo "configure: failed program was:" >&5
14900 cat conftest.
$ac_ext >&5
14902 eval "ac_cv_lib_$ac_lib_var=no"
14905 LIBS
="$ac_save_LIBS"
14908 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14909 echo "$ac_t""yes" 1>&6
14910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14912 echo "$ac_t""no" 1>&6
14917 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14918 # socket/setsockopt and other routines are undefined under SCO ODT
14919 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14920 # on later versions), says simon@lia.di.epfl.ch: it contains
14921 # gethostby* variants that don't use the nameserver (or something).
14922 # -lsocket must be given before -lnsl if both are needed.
14923 # We assume that if connect needs -lnsl, so does gethostbyname.
14924 echo $ac_n "checking for connect""... $ac_c" 1>&6
14925 echo "configure:14926: checking for connect" >&5
14926 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14927 echo $ac_n "(cached) $ac_c" 1>&6
14929 cat > conftest.
$ac_ext <<EOF
14930 #line 14931 "configure"
14931 #include "confdefs.h"
14932 /* System header to define __stub macros and hopefully few prototypes,
14933 which can conflict with char connect(); below. */
14934 #include <assert.h>
14935 /* Override any gcc2 internal prototype to avoid an error. */
14936 /* We use char because int might match the return type of a gcc2
14937 builtin and then its argument prototype would still apply. */
14942 /* The GNU C library defines this for functions which it implements
14943 to always fail with ENOSYS. Some functions are actually named
14944 something starting with __ and the normal name is an alias. */
14945 #if defined (__stub_connect) || defined (__stub___connect)
14953 if { (eval echo configure
:14954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14955 eval "ac_cv_func_connect=yes"
14957 echo "configure: failed program was:" >&5
14958 cat conftest.
$ac_ext >&5
14960 eval "ac_cv_func_connect=no"
14965 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14966 echo "$ac_t""yes" 1>&6
14969 echo "$ac_t""no" 1>&6
14972 if test $ac_cv_func_connect = no
; then
14973 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14974 echo "configure:14975: checking for connect in -lsocket" >&5
14975 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14976 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14977 echo $ac_n "(cached) $ac_c" 1>&6
14979 ac_save_LIBS
="$LIBS"
14980 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14981 cat > conftest.
$ac_ext <<EOF
14982 #line 14983 "configure"
14983 #include "confdefs.h"
14984 /* Override any gcc2 internal prototype to avoid an error. */
14985 /* We use char because int might match the return type of a gcc2
14986 builtin and then its argument prototype would still apply. */
14993 if { (eval echo configure
:14994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14995 eval "ac_cv_lib_$ac_lib_var=yes"
14997 echo "configure: failed program was:" >&5
14998 cat conftest.
$ac_ext >&5
15000 eval "ac_cv_lib_$ac_lib_var=no"
15003 LIBS
="$ac_save_LIBS"
15006 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15007 echo "$ac_t""yes" 1>&6
15008 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15010 echo "$ac_t""no" 1>&6
15015 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15016 echo $ac_n "checking for remove""... $ac_c" 1>&6
15017 echo "configure:15018: checking for remove" >&5
15018 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15019 echo $ac_n "(cached) $ac_c" 1>&6
15021 cat > conftest.
$ac_ext <<EOF
15022 #line 15023 "configure"
15023 #include "confdefs.h"
15024 /* System header to define __stub macros and hopefully few prototypes,
15025 which can conflict with char remove(); below. */
15026 #include <assert.h>
15027 /* Override any gcc2 internal prototype to avoid an error. */
15028 /* We use char because int might match the return type of a gcc2
15029 builtin and then its argument prototype would still apply. */
15034 /* The GNU C library defines this for functions which it implements
15035 to always fail with ENOSYS. Some functions are actually named
15036 something starting with __ and the normal name is an alias. */
15037 #if defined (__stub_remove) || defined (__stub___remove)
15045 if { (eval echo configure
:15046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15047 eval "ac_cv_func_remove=yes"
15049 echo "configure: failed program was:" >&5
15050 cat conftest.
$ac_ext >&5
15052 eval "ac_cv_func_remove=no"
15057 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15058 echo "$ac_t""yes" 1>&6
15061 echo "$ac_t""no" 1>&6
15064 if test $ac_cv_func_remove = no
; then
15065 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15066 echo "configure:15067: checking for remove in -lposix" >&5
15067 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15068 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15069 echo $ac_n "(cached) $ac_c" 1>&6
15071 ac_save_LIBS
="$LIBS"
15072 LIBS
="-lposix $LIBS"
15073 cat > conftest.
$ac_ext <<EOF
15074 #line 15075 "configure"
15075 #include "confdefs.h"
15076 /* Override any gcc2 internal prototype to avoid an error. */
15077 /* We use char because int might match the return type of a gcc2
15078 builtin and then its argument prototype would still apply. */
15085 if { (eval echo configure
:15086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15087 eval "ac_cv_lib_$ac_lib_var=yes"
15089 echo "configure: failed program was:" >&5
15090 cat conftest.
$ac_ext >&5
15092 eval "ac_cv_lib_$ac_lib_var=no"
15095 LIBS
="$ac_save_LIBS"
15098 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15099 echo "$ac_t""yes" 1>&6
15100 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15102 echo "$ac_t""no" 1>&6
15107 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15108 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15109 echo "configure:15110: checking for shmat" >&5
15110 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15111 echo $ac_n "(cached) $ac_c" 1>&6
15113 cat > conftest.
$ac_ext <<EOF
15114 #line 15115 "configure"
15115 #include "confdefs.h"
15116 /* System header to define __stub macros and hopefully few prototypes,
15117 which can conflict with char shmat(); below. */
15118 #include <assert.h>
15119 /* Override any gcc2 internal prototype to avoid an error. */
15120 /* We use char because int might match the return type of a gcc2
15121 builtin and then its argument prototype would still apply. */
15126 /* The GNU C library defines this for functions which it implements
15127 to always fail with ENOSYS. Some functions are actually named
15128 something starting with __ and the normal name is an alias. */
15129 #if defined (__stub_shmat) || defined (__stub___shmat)
15137 if { (eval echo configure
:15138: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15139 eval "ac_cv_func_shmat=yes"
15141 echo "configure: failed program was:" >&5
15142 cat conftest.
$ac_ext >&5
15144 eval "ac_cv_func_shmat=no"
15149 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15150 echo "$ac_t""yes" 1>&6
15153 echo "$ac_t""no" 1>&6
15156 if test $ac_cv_func_shmat = no
; then
15157 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15158 echo "configure:15159: checking for shmat in -lipc" >&5
15159 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15160 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15161 echo $ac_n "(cached) $ac_c" 1>&6
15163 ac_save_LIBS
="$LIBS"
15165 cat > conftest.
$ac_ext <<EOF
15166 #line 15167 "configure"
15167 #include "confdefs.h"
15168 /* Override any gcc2 internal prototype to avoid an error. */
15169 /* We use char because int might match the return type of a gcc2
15170 builtin and then its argument prototype would still apply. */
15177 if { (eval echo configure
:15178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15179 eval "ac_cv_lib_$ac_lib_var=yes"
15181 echo "configure: failed program was:" >&5
15182 cat conftest.
$ac_ext >&5
15184 eval "ac_cv_lib_$ac_lib_var=no"
15187 LIBS
="$ac_save_LIBS"
15190 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15191 echo "$ac_t""yes" 1>&6
15192 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15194 echo "$ac_t""no" 1>&6
15200 # Check for libraries that X11R6 Xt/Xaw programs need.
15201 ac_save_LDFLAGS
="$LDFLAGS"
15202 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15203 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15204 # check for ICE first), but we must link in the order -lSM -lICE or
15205 # we get undefined symbols. So assume we have SM if we have ICE.
15206 # These have to be linked with before -lX11, unlike the other
15207 # libraries we check for below, so use a different variable.
15208 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15209 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15210 echo "configure:15211: checking for IceConnectionNumber in -lICE" >&5
15211 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15212 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15213 echo $ac_n "(cached) $ac_c" 1>&6
15215 ac_save_LIBS
="$LIBS"
15216 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15217 cat > conftest.
$ac_ext <<EOF
15218 #line 15219 "configure"
15219 #include "confdefs.h"
15220 /* Override any gcc2 internal prototype to avoid an error. */
15221 /* We use char because int might match the return type of a gcc2
15222 builtin and then its argument prototype would still apply. */
15223 char IceConnectionNumber();
15226 IceConnectionNumber()
15229 if { (eval echo configure
:15230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15231 eval "ac_cv_lib_$ac_lib_var=yes"
15233 echo "configure: failed program was:" >&5
15234 cat conftest.
$ac_ext >&5
15236 eval "ac_cv_lib_$ac_lib_var=no"
15239 LIBS
="$ac_save_LIBS"
15242 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15243 echo "$ac_t""yes" 1>&6
15244 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15246 echo "$ac_t""no" 1>&6
15249 LDFLAGS
="$ac_save_LDFLAGS"
15254 if test "$no_x" = "yes"; then
15255 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15258 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15259 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15260 AFMINSTALL
=afminstall
15261 COMPILED_X_PROGRAM
=0
15263 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15264 echo "configure:15265: checking for Motif/Lesstif headers" >&5
15267 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15269 if test -f "$ac_dir/Xm/Xm.h"; then
15270 ac_find_includes
=$ac_dir
15275 if test "$ac_find_includes" != "" ; then
15276 echo "$ac_t""found in $ac_find_includes" 1>&6
15278 if test "x$ac_find_includes" = "x/usr/include"; then
15279 ac_path_to_include
=""
15281 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15283 if test $result = 0; then
15284 ac_path_to_include
=""
15286 ac_path_to_include
=" -I$ac_find_includes"
15290 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15292 cat > conftest.
$ac_ext <<EOF
15293 #line 15294 "configure"
15294 #include "confdefs.h"
15301 version = xmUseVersion;
15305 if { (eval echo configure
:15306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15308 echo "$ac_t""found in default search path" 1>&6
15309 COMPILED_X_PROGRAM
=1
15312 echo "configure: failed program was:" >&5
15313 cat conftest.
$ac_ext >&5
15316 echo "$ac_t""no" 1>&6
15317 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15324 if test "$COMPILED_X_PROGRAM" = 0; then
15325 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15326 echo "configure:15327: checking for Motif/Lesstif library" >&5
15329 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15331 for ac_extension
in a so sl dylib
; do
15332 if test -f "$ac_dir/libXm.$ac_extension"; then
15333 ac_find_libraries
=$ac_dir
15339 if test "$ac_find_libraries" != "" ; then
15340 echo "$ac_t""found at $ac_find_libraries" 1>&6
15343 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15345 if test $result = 0; then
15348 ac_path_to_link
=" -L$ac_find_libraries"
15351 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15353 save_CFLAGS
=$CFLAGS
15354 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15356 cat > conftest.
$ac_ext <<EOF
15357 #line 15358 "configure"
15358 #include "confdefs.h"
15365 version = xmUseVersion;
15369 if { (eval echo configure
:15370: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15372 echo "$ac_t""found in default search path" 1>&6
15373 COMPILED_X_PROGRAM
=1
15376 echo "configure: failed program was:" >&5
15377 cat conftest.
$ac_ext >&5
15380 echo "$ac_t""no" 1>&6
15381 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15387 CFLAGS
=$save_CFLAGS
15392 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15393 echo "configure:15394: checking for Xpm library" >&5
15396 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15398 for ac_extension
in a so sl dylib
; do
15399 if test -f "$ac_dir/libXpm.$ac_extension"; then
15400 ac_find_libraries
=$ac_dir
15406 if test "$ac_find_libraries" != "" ; then
15408 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15410 if test $result = 0; then
15413 ac_path_to_link
=" -L$ac_find_libraries"
15416 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15419 cat >> confdefs.h
<<\EOF
15420 #define wxHAVE_LIB_XPM 1
15423 echo "$ac_t""found at $ac_find_libraries" 1>&6
15425 save_CFLAGS
=$CFLAGS
15426 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15428 cat > conftest.
$ac_ext <<EOF
15429 #line 15430 "configure"
15430 #include "confdefs.h"
15432 #include <X11/xpm.h>
15437 version = XpmLibraryVersion();
15441 if { (eval echo configure
:15442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15445 cat >> confdefs.h
<<\EOF
15446 #define wxHAVE_LIB_XPM 1
15449 echo "$ac_t""found in default search path" 1>&6
15450 COMPILED_X_PROGRAM
=0
15453 echo "configure: failed program was:" >&5
15454 cat conftest.
$ac_ext >&5
15457 echo "$ac_t""no" 1>&6
15458 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15464 CFLAGS
=$save_CFLAGS
15467 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15468 echo "configure:15469: checking if we need -lXp and/or -lSM -lICE" >&5
15472 for libp
in "" " -lXp"; do
15473 if test "$libs_found" = "0"; then
15474 for libsm_ice
in " -lSM -lICE"; do
15475 if test "$libs_found" = "0"; then
15477 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15478 save_CFLAGS
=$CFLAGS
15479 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15481 cat > conftest.
$ac_ext <<EOF
15482 #line 15483 "configure"
15483 #include "confdefs.h"
15486 #include <Xm/List.h>
15490 XmString string = NULL;
15493 XmListAddItem(w, string, position);
15497 if { (eval echo configure
:15498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15501 libsm_ice_link
="$libsm_ice"
15502 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15506 echo "configure: failed program was:" >&5
15507 cat conftest.
$ac_ext >&5
15515 CFLAGS
=$save_CFLAGS
15521 if test "$libs_found" = "0"; then
15522 echo "$ac_t""can't find the right libraries" 1>&6
15523 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15526 save_CFLAGS
=$CFLAGS
15527 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15528 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15529 echo "configure:15530: checking for Motif 2" >&5
15530 cat > conftest.
$ac_ext <<EOF
15531 #line 15532 "configure"
15532 #include "confdefs.h"
15538 #if XmVersion < 2000
15539 #error "Not Motif 2"
15544 if { (eval echo configure
:15545: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15547 cat >> confdefs.h
<<\EOF
15548 #define __WXMOTIF20__ 1
15551 echo "$ac_t""found" 1>&6
15554 echo "configure: failed program was:" >&5
15555 cat conftest.
$ac_ext >&5
15558 cat >> confdefs.h
<<\EOF
15559 #define __WXMOTIF20__ 0
15562 echo "$ac_t""not found" 1>&6
15566 CFLAGS
=$save_CFLAGS
15568 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15569 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15574 if test "$wxUSE_MAC" = 1; then
15575 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15577 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15582 if test "$wxUSE_COCOA" = 1; then
15583 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15588 if test "$wxUSE_PM" = 1; then
15591 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15595 if test "$TOOLKIT" = "PM" ; then
15598 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15601 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15603 if test "$wxUSE_UNIVERSAL" = "yes"; then
15604 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15606 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15607 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15609 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15610 if test "$wxUSE_X11" = 1; then
15611 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15613 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15615 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15618 ALL_OBJECTS
="\$(GUIOBJS)"
15619 ALL_SOURCES
="\$(ALL_SOURCES)"
15620 ALL_HEADERS
="\$(ALL_HEADERS)"
15623 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15625 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15626 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15629 if test "$wxUSE_HTML" = "yes"; then
15630 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15633 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15634 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15636 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15637 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15639 if test "$wxUSE_LIBPNG" = "builtin" ; then
15640 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15643 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15644 DISTDIR
="wx\$(TOOLKIT)"
15650 if test "$USE_WIN32" = 1 ; then
15651 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15652 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15656 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15657 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15660 ALL_SOURCES
="\$(ALL_SOURCES)"
15661 ALL_HEADERS
="\$(ALL_HEADERS)"
15663 PORT_FILES
="\${top_srcdir}/src/files.lst"
15665 GUIDIST
="BASE_DIST"
15670 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15671 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15674 if test "$wxUSE_REGEX" = "builtin" ; then
15675 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15677 if test "$wxUSE_ZLIB" = "builtin" ; then
15678 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15682 if test "$wxUSE_OPENGL" = "yes"; then
15683 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15684 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15685 elif test "$wxUSE_MSW" = 1; then
15686 OPENGL_LIBS
="-lopengl32 -lglu32"
15688 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15689 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15690 echo "configure:15691: checking for GL/gl.h" >&5
15691 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15692 echo $ac_n "(cached) $ac_c" 1>&6
15694 cat > conftest.
$ac_ext <<EOF
15695 #line 15696 "configure"
15696 #include "confdefs.h"
15699 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15700 { (eval echo configure
:15701: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15701 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15702 if test -z "$ac_err"; then
15704 eval "ac_cv_header_$ac_safe=yes"
15707 echo "configure: failed program was:" >&5
15708 cat conftest.
$ac_ext >&5
15710 eval "ac_cv_header_$ac_safe=no"
15714 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15715 echo "$ac_t""yes" 1>&6
15717 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15718 echo "configure:15719: checking for -lGL" >&5
15721 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15723 for ac_extension
in a so sl dylib
; do
15724 if test -f "$ac_dir/libGL.$ac_extension"; then
15725 ac_find_libraries
=$ac_dir
15731 if test "$ac_find_libraries" != "" ; then
15733 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15735 if test $result = 0; then
15738 ac_path_to_link
=" -L$ac_find_libraries"
15741 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15742 LDFLAGS_GL
="$LDFLAGS"
15744 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15746 OPENGL_LIBS
="-lGL -lGLU"
15747 echo "$ac_t""yes" 1>&6
15749 echo "$ac_t""no" 1>&6
15750 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15751 echo "configure:15752: checking for -lMesaGL" >&5
15754 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15756 for ac_extension
in a so sl dylib
; do
15757 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15758 ac_find_libraries
=$ac_dir
15764 if test "$ac_find_libraries" != "" ; then
15766 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15768 if test $result = 0; then
15771 ac_path_to_link
=" -L$ac_find_libraries"
15774 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15775 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15776 echo "$ac_t""yes" 1>&6
15778 echo "$ac_t""no" 1>&6
15783 echo "$ac_t""no" 1>&6
15787 if test "x$OPENGL_LIBS" = "x"; then
15788 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15792 if test "$wxUSE_OPENGL" = "yes"; then
15793 cat >> confdefs.h
<<\EOF
15794 #define wxUSE_OPENGL 1
15797 cat >> confdefs.h
<<\EOF
15798 #define wxUSE_GLCANVAS 1
15801 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15805 if test -z "$TOOLKIT_VPATH" ; then
15806 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15809 if test -n "$TOOLKIT" ; then
15810 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15813 lib_unicode_suffix
=
15814 if test "$wxUSE_UNICODE" = "yes"; then
15815 lib_unicode_suffix
=u
15819 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15823 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15825 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15826 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15828 if test "$cross_compiling" = "yes"; then
15829 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15830 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15833 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15834 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15835 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15837 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15838 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15840 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15841 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15842 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15843 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15846 *-*-cygwin* | *-*-mingw32* )
15850 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15851 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15852 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15853 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15854 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15856 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15857 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15863 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15864 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15866 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15867 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15868 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
15869 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15871 if test "$wxUSE_MAC" = 1; then
15872 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
15873 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
15878 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15879 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15881 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15882 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15884 if test "$wxUSE_OPENGL" = "yes"; then
15885 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15886 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15891 if test "$wxUSE_SHARED" = "yes"; then
15893 *-pc-os2_emx | *-pc-os2-emx | \
15896 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15901 if test "$wxUSE_SHARED" = "yes"; then
15903 if test "$wxUSE_OPENGL" = "yes"; then
15904 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15905 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15907 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15908 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15911 if test "$GCC" = "yes"; then
15917 found_versioning
=no
15920 if test $found_versioning = no
; then
15921 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
15922 echo "configure:15923: checking if the linker accepts --version-script" >&5
15923 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
15924 echo $ac_n "(cached) $ac_c" 1>&6
15927 echo "VER_1 { *; };" >conftest.sym
15928 echo "int main() { return 0; }" >conftest.cpp
15931 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
15932 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:15933: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
15933 if test -s conftest.stderr
; then
15934 wx_cv_version_script
=no
15936 wx_cv_version_script
=yes
15939 wx_cv_version_script
=no
15941 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
15945 echo "$ac_t""$wx_cv_version_script" 1>&6
15946 if test $wx_cv_version_script = yes ; then
15947 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
15952 SHARED_LD
="${CXX} -shared -o"
15956 if test "$GCC" = "yes"; then
15957 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
15959 LDFLAGS
="$LDFLAGS -L/usr/lib"
15961 SHARED_LD
="${CXX} -b -o"
15965 if test "$wxUSE_OPENGL" = "yes"; then
15966 WX_ALL_INSTALLED
="preinstall_gl"
15967 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15969 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15974 if test "$GCC" != "yes"; then
15975 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15976 echo "configure:15977: checking for Intel compiler" >&5
15977 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15978 echo $ac_n "(cached) $ac_c" 1>&6
15981 cat > conftest.
$ac_ext <<EOF
15982 #line 15983 "configure"
15983 #include "confdefs.h"
15987 #ifndef __INTEL_COMPILER
15993 if { (eval echo configure
:15994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15997 echo "configure: failed program was:" >&5
15998 cat conftest.
$ac_ext >&5
16007 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16008 if test "$wx_cv_prog_icc" = "yes"; then
16013 if test "$wxUSE_SONAME" = "yes" ; then
16014 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16015 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16016 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16021 if test "$GCC" = yes ; then
16022 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16024 SHARED_LD
="${CXX} -G -o"
16026 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16027 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16032 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16033 CFLAGS
="$CFLAGS -fno-common"
16034 CXXFLAGS
="$CXXFLAGS -fno-common"
16035 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16036 PIC_FLAG
="-dynamic -fPIC"
16037 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16038 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16042 if test "$GCC" != "yes"; then
16043 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16044 set dummy makeC
++SharedLib
; ac_word
=$2
16045 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16046 echo "configure:16047: checking for $ac_word" >&5
16047 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16048 echo $ac_n "(cached) $ac_c" 1>&6
16050 if test -n "$AIX_CXX_LD"; then
16051 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16053 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16055 for ac_dir
in $ac_dummy; do
16056 test -z "$ac_dir" && ac_dir
=.
16057 if test -f $ac_dir/$ac_word; then
16058 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16063 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16066 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16067 if test -n "$AIX_CXX_LD"; then
16068 echo "$ac_t""$AIX_CXX_LD" 1>&6
16070 echo "$ac_t""no" 1>&6
16074 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16078 *-*-cygwin* | *-*-mingw32* )
16079 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16081 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16082 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16084 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16086 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16087 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16089 if test "$wxUSE_OPENGL" = "yes"; then
16090 LIBS
="${LIBS} ${OPENGL_LIBS}"
16095 SHARED_LD
="${LD} -shared -o"
16099 if test "$GCC" != "yes"; then
16104 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16112 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16115 if test "x$WX_TARGET_LIBRARY" = "x"; then
16116 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16117 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16120 WX_TARGET_LIBRARY_TYPE
="so"
16121 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16124 if test "$wxUSE_SHARED" = "no"; then
16126 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16127 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16130 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16131 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16134 if test "$wxUSE_OPENGL" = "yes"; then
16135 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16136 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16138 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16141 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16142 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16144 WX_TARGET_LIBRARY_TYPE
="a"
16145 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16155 if test "$wxUSE_MAC" = 1; then
16156 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16157 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16158 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16159 # Extract the first word of "Rez", so it can be a program name with args.
16160 set dummy Rez
; ac_word
=$2
16161 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16162 echo "configure:16163: checking for $ac_word" >&5
16163 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16164 echo $ac_n "(cached) $ac_c" 1>&6
16166 if test -n "$RESCOMP"; then
16167 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16169 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16171 for ac_dir
in $ac_dummy; do
16172 test -z "$ac_dir" && ac_dir
=.
16173 if test -f $ac_dir/$ac_word; then
16174 ac_cv_prog_RESCOMP
="Rez"
16179 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16182 RESCOMP
="$ac_cv_prog_RESCOMP"
16183 if test -n "$RESCOMP"; then
16184 echo "$ac_t""$RESCOMP" 1>&6
16186 echo "$ac_t""no" 1>&6
16189 # Extract the first word of "DeRez", so it can be a program name with args.
16190 set dummy DeRez
; ac_word
=$2
16191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16192 echo "configure:16193: checking for $ac_word" >&5
16193 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16194 echo $ac_n "(cached) $ac_c" 1>&6
16196 if test -n "$DEREZ"; then
16197 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16199 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16201 for ac_dir
in $ac_dummy; do
16202 test -z "$ac_dir" && ac_dir
=.
16203 if test -f $ac_dir/$ac_word; then
16204 ac_cv_prog_DEREZ
="DeRez"
16209 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16212 DEREZ
="$ac_cv_prog_DEREZ"
16213 if test -n "$DEREZ"; then
16214 echo "$ac_t""$DEREZ" 1>&6
16216 echo "$ac_t""no" 1>&6
16219 # Extract the first word of "SetFile", so it can be a program name with args.
16220 set dummy SetFile
; ac_word
=$2
16221 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16222 echo "configure:16223: checking for $ac_word" >&5
16223 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16224 echo $ac_n "(cached) $ac_c" 1>&6
16226 if test -n "$SETFILE"; then
16227 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16229 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16231 for ac_dir
in $ac_dummy; do
16232 test -z "$ac_dir" && ac_dir
=.
16233 if test -f $ac_dir/$ac_word; then
16234 ac_cv_prog_SETFILE
="SetFile"
16239 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16242 SETFILE
="$ac_cv_prog_SETFILE"
16243 if test -n "$SETFILE"; then
16244 echo "$ac_t""$SETFILE" 1>&6
16246 echo "$ac_t""no" 1>&6
16249 MACOSX_BUNDLE
="bundle"
16250 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16251 MACSETFILE
="\$(SETFILE)"
16252 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16253 elif test "$wxUSE_COCOA" = 1; then
16254 # Extract the first word of "Rez", so it can be a program name with args.
16255 set dummy Rez
; ac_word
=$2
16256 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16257 echo "configure:16258: checking for $ac_word" >&5
16258 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16259 echo $ac_n "(cached) $ac_c" 1>&6
16261 if test -n "$RESCOMP"; then
16262 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16264 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16266 for ac_dir
in $ac_dummy; do
16267 test -z "$ac_dir" && ac_dir
=.
16268 if test -f $ac_dir/$ac_word; then
16269 ac_cv_prog_RESCOMP
="Rez"
16274 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16277 RESCOMP
="$ac_cv_prog_RESCOMP"
16278 if test -n "$RESCOMP"; then
16279 echo "$ac_t""$RESCOMP" 1>&6
16281 echo "$ac_t""no" 1>&6
16284 # Extract the first word of "DeRez", so it can be a program name with args.
16285 set dummy DeRez
; ac_word
=$2
16286 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16287 echo "configure:16288: checking for $ac_word" >&5
16288 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16289 echo $ac_n "(cached) $ac_c" 1>&6
16291 if test -n "$DEREZ"; then
16292 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16294 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16296 for ac_dir
in $ac_dummy; do
16297 test -z "$ac_dir" && ac_dir
=.
16298 if test -f $ac_dir/$ac_word; then
16299 ac_cv_prog_DEREZ
="DeRez"
16304 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16307 DEREZ
="$ac_cv_prog_DEREZ"
16308 if test -n "$DEREZ"; then
16309 echo "$ac_t""$DEREZ" 1>&6
16311 echo "$ac_t""no" 1>&6
16314 # Extract the first word of "SetFile", so it can be a program name with args.
16315 set dummy SetFile
; ac_word
=$2
16316 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16317 echo "configure:16318: checking for $ac_word" >&5
16318 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16319 echo $ac_n "(cached) $ac_c" 1>&6
16321 if test -n "$SETFILE"; then
16322 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16324 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16326 for ac_dir
in $ac_dummy; do
16327 test -z "$ac_dir" && ac_dir
=.
16328 if test -f $ac_dir/$ac_word; then
16329 ac_cv_prog_SETFILE
="SetFile"
16334 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16337 SETFILE
="$ac_cv_prog_SETFILE"
16338 if test -n "$SETFILE"; then
16339 echo "$ac_t""$SETFILE" 1>&6
16341 echo "$ac_t""no" 1>&6
16344 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
16345 MACSETFILE
="\$(SETFILE)"
16346 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16348 if test "$wxUSE_PM" = 1; then
16349 MACRESCOMP
="emxbind -ep"
16354 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16355 echo "configure:16356: checking for ANSI C header files" >&5
16356 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16357 echo $ac_n "(cached) $ac_c" 1>&6
16359 cat > conftest.
$ac_ext <<EOF
16360 #line 16361 "configure"
16361 #include "confdefs.h"
16362 #include <stdlib.h>
16363 #include <stdarg.h>
16364 #include <string.h>
16367 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16368 { (eval echo configure
:16369: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16369 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16370 if test -z "$ac_err"; then
16372 ac_cv_header_stdc
=yes
16375 echo "configure: failed program was:" >&5
16376 cat conftest.
$ac_ext >&5
16378 ac_cv_header_stdc
=no
16382 if test $ac_cv_header_stdc = yes; then
16383 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16384 cat > conftest.
$ac_ext <<EOF
16385 #line 16386 "configure"
16386 #include "confdefs.h"
16387 #include <string.h>
16389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16390 egrep "memchr" >/dev
/null
2>&1; then
16394 ac_cv_header_stdc
=no
16400 if test $ac_cv_header_stdc = yes; then
16401 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16402 cat > conftest.
$ac_ext <<EOF
16403 #line 16404 "configure"
16404 #include "confdefs.h"
16405 #include <stdlib.h>
16407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16408 egrep "free" >/dev
/null
2>&1; then
16412 ac_cv_header_stdc
=no
16418 if test $ac_cv_header_stdc = yes; then
16419 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16420 if test "$cross_compiling" = yes; then
16423 cat > conftest.
$ac_ext <<EOF
16424 #line 16425 "configure"
16425 #include "confdefs.h"
16427 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16428 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16429 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16430 int main () { int i; for (i = 0; i < 256; i++)
16431 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16435 if { (eval echo configure
:16436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16439 echo "configure: failed program was:" >&5
16440 cat conftest.
$ac_ext >&5
16442 ac_cv_header_stdc
=no
16450 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16451 if test $ac_cv_header_stdc = yes; then
16452 cat >> confdefs.h
<<\EOF
16453 #define STDC_HEADERS 1
16458 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16459 echo "configure:16460: checking for mode_t" >&5
16460 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16461 echo $ac_n "(cached) $ac_c" 1>&6
16463 cat > conftest.
$ac_ext <<EOF
16464 #line 16465 "configure"
16465 #include "confdefs.h"
16466 #include <sys/types.h>
16468 #include <stdlib.h>
16469 #include <stddef.h>
16472 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16473 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16475 ac_cv_type_mode_t
=yes
16478 ac_cv_type_mode_t
=no
16483 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16484 if test $ac_cv_type_mode_t = no
; then
16485 cat >> confdefs.h
<<\EOF
16491 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16492 echo "configure:16493: checking for off_t" >&5
16493 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16494 echo $ac_n "(cached) $ac_c" 1>&6
16496 cat > conftest.
$ac_ext <<EOF
16497 #line 16498 "configure"
16498 #include "confdefs.h"
16499 #include <sys/types.h>
16501 #include <stdlib.h>
16502 #include <stddef.h>
16505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16506 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16508 ac_cv_type_off_t
=yes
16511 ac_cv_type_off_t
=no
16516 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16517 if test $ac_cv_type_off_t = no
; then
16518 cat >> confdefs.h
<<\EOF
16524 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16525 echo "configure:16526: checking for pid_t" >&5
16526 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16527 echo $ac_n "(cached) $ac_c" 1>&6
16529 cat > conftest.
$ac_ext <<EOF
16530 #line 16531 "configure"
16531 #include "confdefs.h"
16532 #include <sys/types.h>
16534 #include <stdlib.h>
16535 #include <stddef.h>
16538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16539 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16541 ac_cv_type_pid_t
=yes
16544 ac_cv_type_pid_t
=no
16549 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16550 if test $ac_cv_type_pid_t = no
; then
16551 cat >> confdefs.h
<<\EOF
16557 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16558 echo "configure:16559: checking for size_t" >&5
16559 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16560 echo $ac_n "(cached) $ac_c" 1>&6
16562 cat > conftest.
$ac_ext <<EOF
16563 #line 16564 "configure"
16564 #include "confdefs.h"
16565 #include <sys/types.h>
16567 #include <stdlib.h>
16568 #include <stddef.h>
16571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16572 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16574 ac_cv_type_size_t
=yes
16577 ac_cv_type_size_t
=no
16582 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16583 if test $ac_cv_type_size_t = no
; then
16584 cat >> confdefs.h
<<\EOF
16585 #define size_t unsigned
16590 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16591 echo "configure:16592: checking for uid_t in sys/types.h" >&5
16592 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16593 echo $ac_n "(cached) $ac_c" 1>&6
16595 cat > conftest.
$ac_ext <<EOF
16596 #line 16597 "configure"
16597 #include "confdefs.h"
16598 #include <sys/types.h>
16600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16601 egrep "uid_t" >/dev
/null
2>&1; then
16603 ac_cv_type_uid_t
=yes
16606 ac_cv_type_uid_t
=no
16612 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16613 if test $ac_cv_type_uid_t = no
; then
16614 cat >> confdefs.h
<<\EOF
16618 cat >> confdefs.h
<<\EOF
16627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16628 ac_cpp
='$CXXCPP $CPPFLAGS'
16629 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16630 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16631 cross_compiling
=$ac_cv_prog_cxx_cross
16633 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16634 echo "configure:16635: checking if size_t is unsigned int" >&5
16635 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16636 echo $ac_n "(cached) $ac_c" 1>&6
16638 cat > conftest.
$ac_ext <<EOF
16639 #line 16640 "configure"
16640 #include "confdefs.h"
16641 #include <stddef.h>
16646 struct Foo { void foo(size_t); void foo(unsigned int); };
16652 if { (eval echo configure
:16653: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16654 wx_cv_size_t_is_uint
=no
16656 echo "configure: failed program was:" >&5
16657 cat conftest.
$ac_ext >&5
16659 wx_cv_size_t_is_uint
=yes
16666 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16668 if test "$wx_cv_size_t_is_uint" = "yes"; then
16669 cat >> confdefs.h
<<\EOF
16670 #define wxSIZE_T_IS_UINT 1
16674 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16675 echo "configure:16676: checking if size_t is unsigned long" >&5
16676 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16677 echo $ac_n "(cached) $ac_c" 1>&6
16679 cat > conftest.
$ac_ext <<EOF
16680 #line 16681 "configure"
16681 #include "confdefs.h"
16682 #include <stddef.h>
16687 struct Foo { void foo(size_t); void foo(unsigned long); };
16693 if { (eval echo configure
:16694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16695 wx_cv_size_t_is_ulong
=no
16697 echo "configure: failed program was:" >&5
16698 cat conftest.
$ac_ext >&5
16700 wx_cv_size_t_is_ulong
=yes
16707 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16709 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16710 cat >> confdefs.h
<<\EOF
16711 #define wxSIZE_T_IS_ULONG 1
16718 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16719 ac_cpp
='$CPP $CPPFLAGS'
16720 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16721 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16722 cross_compiling
=$ac_cv_prog_cc_cross
16726 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16727 echo "configure:16728: checking for pw_gecos in struct passwd" >&5
16728 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16729 echo $ac_n "(cached) $ac_c" 1>&6
16732 cat > conftest.
$ac_ext <<EOF
16733 #line 16734 "configure"
16734 #include "confdefs.h"
16744 if { (eval echo configure
:16745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16747 wx_cv_struct_pw_gecos
=yes
16750 echo "configure: failed program was:" >&5
16751 cat conftest.
$ac_ext >&5
16754 wx_cv_struct_pw_gecos
=no
16763 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16765 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16766 cat >> confdefs.h
<<\EOF
16767 #define HAVE_PW_GECOS 1
16773 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16774 cat >> confdefs.h
<<\EOF
16775 #define wxUSE_WCHAR_T 1
16781 for ac_func
in wcslen
16783 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16784 echo "configure:16785: checking for $ac_func" >&5
16785 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16786 echo $ac_n "(cached) $ac_c" 1>&6
16788 cat > conftest.
$ac_ext <<EOF
16789 #line 16790 "configure"
16790 #include "confdefs.h"
16791 /* System header to define __stub macros and hopefully few prototypes,
16792 which can conflict with char $ac_func(); below. */
16793 #include <assert.h>
16794 /* Override any gcc2 internal prototype to avoid an error. */
16795 /* We use char because int might match the return type of a gcc2
16796 builtin and then its argument prototype would still apply. */
16801 /* The GNU C library defines this for functions which it implements
16802 to always fail with ENOSYS. Some functions are actually named
16803 something starting with __ and the normal name is an alias. */
16804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16812 if { (eval echo configure
:16813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16814 eval "ac_cv_func_$ac_func=yes"
16816 echo "configure: failed program was:" >&5
16817 cat conftest.
$ac_ext >&5
16819 eval "ac_cv_func_$ac_func=no"
16824 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16825 echo "$ac_t""yes" 1>&6
16826 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16827 cat >> confdefs.h
<<EOF
16828 #define $ac_tr_func 1
16832 echo "$ac_t""no" 1>&6
16837 if test "$WCSLEN_FOUND" = 0; then
16838 if test "$TOOLKIT" = "MSW"; then
16839 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16840 echo "configure:16841: checking for wcslen in -lmsvcrt" >&5
16841 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16843 echo $ac_n "(cached) $ac_c" 1>&6
16845 ac_save_LIBS
="$LIBS"
16846 LIBS
="-lmsvcrt $LIBS"
16847 cat > conftest.
$ac_ext <<EOF
16848 #line 16849 "configure"
16849 #include "confdefs.h"
16850 /* Override any gcc2 internal prototype to avoid an error. */
16851 /* We use char because int might match the return type of a gcc2
16852 builtin and then its argument prototype would still apply. */
16859 if { (eval echo configure
:16860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16861 eval "ac_cv_lib_$ac_lib_var=yes"
16863 echo "configure: failed program was:" >&5
16864 cat conftest.
$ac_ext >&5
16866 eval "ac_cv_lib_$ac_lib_var=no"
16869 LIBS
="$ac_save_LIBS"
16872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16873 echo "$ac_t""yes" 1>&6
16876 echo "$ac_t""no" 1>&6
16880 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16881 echo "configure:16882: checking for wcslen in -lw" >&5
16882 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16884 echo $ac_n "(cached) $ac_c" 1>&6
16886 ac_save_LIBS
="$LIBS"
16888 cat > conftest.
$ac_ext <<EOF
16889 #line 16890 "configure"
16890 #include "confdefs.h"
16891 /* Override any gcc2 internal prototype to avoid an error. */
16892 /* We use char because int might match the return type of a gcc2
16893 builtin and then its argument prototype would still apply. */
16900 if { (eval echo configure
:16901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16902 eval "ac_cv_lib_$ac_lib_var=yes"
16904 echo "configure: failed program was:" >&5
16905 cat conftest.
$ac_ext >&5
16907 eval "ac_cv_lib_$ac_lib_var=no"
16910 LIBS
="$ac_save_LIBS"
16913 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16914 echo "$ac_t""yes" 1>&6
16920 echo "$ac_t""no" 1>&6
16926 if test "$WCSLEN_FOUND" = 1; then
16927 cat >> confdefs.h
<<\EOF
16928 #define HAVE_WCSLEN 1
16933 for ac_func
in wcsrtombs
16935 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16936 echo "configure:16937: checking for $ac_func" >&5
16937 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16938 echo $ac_n "(cached) $ac_c" 1>&6
16940 cat > conftest.
$ac_ext <<EOF
16941 #line 16942 "configure"
16942 #include "confdefs.h"
16943 /* System header to define __stub macros and hopefully few prototypes,
16944 which can conflict with char $ac_func(); below. */
16945 #include <assert.h>
16946 /* Override any gcc2 internal prototype to avoid an error. */
16947 /* We use char because int might match the return type of a gcc2
16948 builtin and then its argument prototype would still apply. */
16953 /* The GNU C library defines this for functions which it implements
16954 to always fail with ENOSYS. Some functions are actually named
16955 something starting with __ and the normal name is an alias. */
16956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16964 if { (eval echo configure
:16965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16966 eval "ac_cv_func_$ac_func=yes"
16968 echo "configure: failed program was:" >&5
16969 cat conftest.
$ac_ext >&5
16971 eval "ac_cv_func_$ac_func=no"
16976 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16977 echo "$ac_t""yes" 1>&6
16978 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16979 cat >> confdefs.h
<<EOF
16980 #define $ac_tr_func 1
16984 echo "$ac_t""no" 1>&6
16989 echo "configure: warning: Wide character support is unavailable" 1>&2
16994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16995 ac_cpp
='$CXXCPP $CPPFLAGS'
16996 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16997 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16998 cross_compiling
=$ac_cv_prog_cxx_cross
17001 for ac_func
in vsnprintf
17003 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17004 echo "configure:17005: checking for $ac_func" >&5
17005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17006 echo $ac_n "(cached) $ac_c" 1>&6
17008 cat > conftest.
$ac_ext <<EOF
17009 #line 17010 "configure"
17010 #include "confdefs.h"
17011 /* System header to define __stub macros and hopefully few prototypes,
17012 which can conflict with char $ac_func(); below. */
17013 #include <assert.h>
17014 /* Override any gcc2 internal prototype to avoid an error. */
17018 /* We use char because int might match the return type of a gcc2
17019 builtin and then its argument prototype would still apply. */
17024 /* The GNU C library defines this for functions which it implements
17025 to always fail with ENOSYS. Some functions are actually named
17026 something starting with __ and the normal name is an alias. */
17027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17035 if { (eval echo configure
:17036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17037 eval "ac_cv_func_$ac_func=yes"
17039 echo "configure: failed program was:" >&5
17040 cat conftest.
$ac_ext >&5
17042 eval "ac_cv_func_$ac_func=no"
17047 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17048 echo "$ac_t""yes" 1>&6
17049 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17050 cat >> confdefs.h
<<EOF
17051 #define $ac_tr_func 1
17055 echo "$ac_t""no" 1>&6
17060 if test "$ac_cv_func_vsnprintf" = "yes"; then
17061 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17062 echo "configure:17063: checking for vsnprintf declaration" >&5
17063 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17064 echo $ac_n "(cached) $ac_c" 1>&6
17067 cat > conftest.
$ac_ext <<EOF
17068 #line 17069 "configure"
17069 #include "confdefs.h"
17072 #include <stdarg.h>
17078 vsnprintf(buf, 10u, "%s", ap);
17082 if { (eval echo configure
:17083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17084 wx_cv_func_vsnprintf_decl
=yes
17086 echo "configure: failed program was:" >&5
17087 cat conftest.
$ac_ext >&5
17089 wx_cv_func_vsnprintf_decl
=no
17097 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17099 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17100 cat >> confdefs.h
<<\EOF
17101 #define HAVE_VSNPRINTF_DECL 1
17107 if test "$wxUSE_UNICODE" = yes; then
17108 for ac_func
in fputwc wprintf vswprintf
17110 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17111 echo "configure:17112: checking for $ac_func" >&5
17112 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17113 echo $ac_n "(cached) $ac_c" 1>&6
17115 cat > conftest.
$ac_ext <<EOF
17116 #line 17117 "configure"
17117 #include "confdefs.h"
17118 /* System header to define __stub macros and hopefully few prototypes,
17119 which can conflict with char $ac_func(); below. */
17120 #include <assert.h>
17121 /* Override any gcc2 internal prototype to avoid an error. */
17125 /* We use char because int might match the return type of a gcc2
17126 builtin and then its argument prototype would still apply. */
17131 /* The GNU C library defines this for functions which it implements
17132 to always fail with ENOSYS. Some functions are actually named
17133 something starting with __ and the normal name is an alias. */
17134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17142 if { (eval echo configure
:17143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17144 eval "ac_cv_func_$ac_func=yes"
17146 echo "configure: failed program was:" >&5
17147 cat conftest.
$ac_ext >&5
17149 eval "ac_cv_func_$ac_func=no"
17154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17155 echo "$ac_t""yes" 1>&6
17156 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17157 cat >> confdefs.h
<<EOF
17158 #define $ac_tr_func 1
17162 echo "$ac_t""no" 1>&6
17167 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17168 echo "configure:17169: checking for _vsnwprintf" >&5
17169 cat > conftest.
$ac_ext <<EOF
17170 #line 17171 "configure"
17171 #include "confdefs.h"
17177 if { (eval echo configure
:17178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17179 echo "$ac_t""yes" 1>&6
17180 cat >> confdefs.h
<<\EOF
17181 #define HAVE__VSNWPRINTF 1
17185 echo "configure: failed program was:" >&5
17186 cat conftest.
$ac_ext >&5
17188 echo "$ac_t""no" 1>&6
17194 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17195 ac_cpp
='$CPP $CPPFLAGS'
17196 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17197 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17198 cross_compiling
=$ac_cv_prog_cc_cross
17203 if test "$TOOLKIT" != "MSW"; then
17208 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17209 ac_cpp
='$CXXCPP $CPPFLAGS'
17210 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17211 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17212 cross_compiling
=$ac_cv_prog_cxx_cross
17216 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17217 if test "${with_libiconv_prefix+set}" = set; then
17218 withval
="$with_libiconv_prefix"
17220 for dir
in `echo "$withval" | tr : ' '`; do
17221 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17222 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17228 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17229 echo "configure:17230: checking for iconv" >&5
17230 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17231 echo $ac_n "(cached) $ac_c" 1>&6
17234 am_cv_func_iconv
="no, consider installing GNU libiconv"
17236 cat > conftest.
$ac_ext <<EOF
17237 #line 17238 "configure"
17238 #include "confdefs.h"
17239 #include <stdlib.h>
17242 iconv_t cd = iconv_open("","");
17243 iconv(cd,NULL,NULL,NULL,NULL);
17247 if { (eval echo configure
:17248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17249 am_cv_func_iconv
=yes
17251 echo "configure: failed program was:" >&5
17252 cat conftest.
$ac_ext >&5
17255 if test "$am_cv_func_iconv" != yes; then
17256 am_save_LIBS
="$LIBS"
17257 LIBS
="$LIBS -liconv"
17258 cat > conftest.
$ac_ext <<EOF
17259 #line 17260 "configure"
17260 #include "confdefs.h"
17261 #include <stdlib.h>
17264 iconv_t cd = iconv_open("","");
17265 iconv(cd,NULL,NULL,NULL,NULL);
17269 if { (eval echo configure
:17270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17271 am_cv_lib_iconv
=yes
17272 am_cv_func_iconv
=yes
17274 echo "configure: failed program was:" >&5
17275 cat conftest.
$ac_ext >&5
17278 LIBS
="$am_save_LIBS"
17283 echo "$ac_t""$am_cv_func_iconv" 1>&6
17284 if test "$am_cv_func_iconv" = yes; then
17285 cat >> confdefs.h
<<\EOF
17286 #define HAVE_ICONV 1
17289 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17290 echo "configure:17291: checking if iconv needs const" >&5
17291 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17292 echo $ac_n "(cached) $ac_c" 1>&6
17294 cat > conftest.
$ac_ext <<EOF
17295 #line 17296 "configure"
17296 #include "confdefs.h"
17298 #include <stdlib.h>
17304 #if defined(__STDC__) || defined(__cplusplus)
17305 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17314 if { (eval echo configure
:17315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17316 wx_cv_func_iconv_const
="no"
17318 echo "configure: failed program was:" >&5
17319 cat conftest.
$ac_ext >&5
17321 wx_cv_func_iconv_const
="yes"
17328 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17331 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17332 iconv_const
="const"
17335 cat >> confdefs.h
<<EOF
17336 #define ICONV_CONST $iconv_const
17341 if test "$am_cv_lib_iconv" = yes; then
17346 LIBS
="$LIBICONV $LIBS"
17348 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17349 ac_cpp
='$CPP $CPPFLAGS'
17350 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17351 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17352 cross_compiling
=$ac_cv_prog_cc_cross
17355 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17356 for ac_func
in sigaction
17358 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17359 echo "configure:17360: checking for $ac_func" >&5
17360 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17361 echo $ac_n "(cached) $ac_c" 1>&6
17363 cat > conftest.
$ac_ext <<EOF
17364 #line 17365 "configure"
17365 #include "confdefs.h"
17366 /* System header to define __stub macros and hopefully few prototypes,
17367 which can conflict with char $ac_func(); below. */
17368 #include <assert.h>
17369 /* Override any gcc2 internal prototype to avoid an error. */
17370 /* We use char because int might match the return type of a gcc2
17371 builtin and then its argument prototype would still apply. */
17376 /* The GNU C library defines this for functions which it implements
17377 to always fail with ENOSYS. Some functions are actually named
17378 something starting with __ and the normal name is an alias. */
17379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17387 if { (eval echo configure
:17388: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17389 eval "ac_cv_func_$ac_func=yes"
17391 echo "configure: failed program was:" >&5
17392 cat conftest.
$ac_ext >&5
17394 eval "ac_cv_func_$ac_func=no"
17399 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17400 echo "$ac_t""yes" 1>&6
17401 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17402 cat >> confdefs.h
<<EOF
17403 #define $ac_tr_func 1
17407 echo "$ac_t""no" 1>&6
17412 if test "$ac_cv_func_sigaction" = "no"; then
17413 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17414 wxUSE_ON_FATAL_EXCEPTION
=no
17417 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17420 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17421 ac_cpp
='$CXXCPP $CPPFLAGS'
17422 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17423 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17424 cross_compiling
=$ac_cv_prog_cxx_cross
17427 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17428 echo "configure:17429: checking for sa_handler type" >&5
17429 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17430 echo $ac_n "(cached) $ac_c" 1>&6
17433 cat > conftest.
$ac_ext <<EOF
17434 #line 17435 "configure"
17435 #include "confdefs.h"
17436 #include <signal.h>
17439 extern void testSigHandler(int);
17441 struct sigaction sa;
17442 sa.sa_handler = testSigHandler;
17446 if { (eval echo configure
:17447: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17449 wx_cv_type_sa_handler
=int
17452 echo "configure: failed program was:" >&5
17453 cat conftest.
$ac_ext >&5
17456 wx_cv_type_sa_handler
=void
17463 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17466 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17467 ac_cpp
='$CPP $CPPFLAGS'
17468 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17469 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17470 cross_compiling
=$ac_cv_prog_cc_cross
17473 cat >> confdefs.h
<<EOF
17474 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17480 for ac_func
in mkstemp mktemp
17482 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17483 echo "configure:17484: checking for $ac_func" >&5
17484 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17485 echo $ac_n "(cached) $ac_c" 1>&6
17487 cat > conftest.
$ac_ext <<EOF
17488 #line 17489 "configure"
17489 #include "confdefs.h"
17490 /* System header to define __stub macros and hopefully few prototypes,
17491 which can conflict with char $ac_func(); below. */
17492 #include <assert.h>
17493 /* Override any gcc2 internal prototype to avoid an error. */
17494 /* We use char because int might match the return type of a gcc2
17495 builtin and then its argument prototype would still apply. */
17500 /* The GNU C library defines this for functions which it implements
17501 to always fail with ENOSYS. Some functions are actually named
17502 something starting with __ and the normal name is an alias. */
17503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17511 if { (eval echo configure
:17512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17513 eval "ac_cv_func_$ac_func=yes"
17515 echo "configure: failed program was:" >&5
17516 cat conftest.
$ac_ext >&5
17518 eval "ac_cv_func_$ac_func=no"
17523 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17524 echo "$ac_t""yes" 1>&6
17525 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17526 cat >> confdefs.h
<<EOF
17527 #define $ac_tr_func 1
17531 echo "$ac_t""no" 1>&6
17536 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17537 echo "configure:17538: checking for statfs" >&5
17538 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17539 echo $ac_n "(cached) $ac_c" 1>&6
17541 cat > conftest.
$ac_ext <<EOF
17542 #line 17543 "configure"
17543 #include "confdefs.h"
17545 #if defined(__BSD__)
17546 #include <sys/param.h>
17547 #include <sys/mount.h>
17549 #include <sys/vfs.h>
17563 if { (eval echo configure
:17564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17566 wx_cv_func_statfs
=yes
17569 echo "configure: failed program was:" >&5
17570 cat conftest.
$ac_ext >&5
17573 wx_cv_func_statfs
=no
17581 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17583 if test "$wx_cv_func_statfs" = "yes"; then
17584 wx_cv_type_statvfs_t
="struct statfs"
17585 cat >> confdefs.h
<<\EOF
17586 #define HAVE_STATFS 1
17590 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17591 echo "configure:17592: checking for statvfs" >&5
17592 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17593 echo $ac_n "(cached) $ac_c" 1>&6
17595 cat > conftest.
$ac_ext <<EOF
17596 #line 17597 "configure"
17597 #include "confdefs.h"
17599 #include <stddef.h>
17600 #include <sys/statvfs.h>
17604 statvfs("/", NULL);
17608 if { (eval echo configure
:17609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17610 wx_cv_func_statvfs
=yes
17612 echo "configure: failed program was:" >&5
17613 cat conftest.
$ac_ext >&5
17615 wx_cv_func_statvfs
=no
17622 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17624 if test "$wx_cv_func_statvfs" = "yes"; then
17627 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17628 ac_cpp
='$CXXCPP $CPPFLAGS'
17629 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17630 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17631 cross_compiling
=$ac_cv_prog_cxx_cross
17634 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17635 echo "configure:17636: checking for statvfs argument type" >&5
17636 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17637 echo $ac_n "(cached) $ac_c" 1>&6
17639 cat > conftest.
$ac_ext <<EOF
17640 #line 17641 "configure"
17641 #include "confdefs.h"
17643 #include <sys/statvfs.h>
17656 if { (eval echo configure
:17657: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17658 wx_cv_type_statvfs_t
=statvfs_t
17660 echo "configure: failed program was:" >&5
17661 cat conftest.
$ac_ext >&5
17664 cat > conftest.
$ac_ext <<EOF
17665 #line 17666 "configure"
17666 #include "confdefs.h"
17668 #include <sys/statvfs.h>
17681 if { (eval echo configure
:17682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17683 wx_cv_type_statvfs_t
="struct statvfs"
17685 echo "configure: failed program was:" >&5
17686 cat conftest.
$ac_ext >&5
17688 wx_cv_type_statvfs_t
="unknown"
17699 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17702 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17703 ac_cpp
='$CPP $CPPFLAGS'
17704 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17705 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17706 cross_compiling
=$ac_cv_prog_cc_cross
17709 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17710 cat >> confdefs.h
<<\EOF
17711 #define HAVE_STATVFS 1
17716 wx_cv_type_statvfs_t
="unknown"
17720 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17721 cat >> confdefs.h
<<EOF
17722 #define WX_STATFS_T $wx_cv_type_statvfs_t
17726 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17729 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17730 for ac_func
in fcntl flock
17732 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17733 echo "configure:17734: checking for $ac_func" >&5
17734 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17735 echo $ac_n "(cached) $ac_c" 1>&6
17737 cat > conftest.
$ac_ext <<EOF
17738 #line 17739 "configure"
17739 #include "confdefs.h"
17740 /* System header to define __stub macros and hopefully few prototypes,
17741 which can conflict with char $ac_func(); below. */
17742 #include <assert.h>
17743 /* Override any gcc2 internal prototype to avoid an error. */
17744 /* We use char because int might match the return type of a gcc2
17745 builtin and then its argument prototype would still apply. */
17750 /* The GNU C library defines this for functions which it implements
17751 to always fail with ENOSYS. Some functions are actually named
17752 something starting with __ and the normal name is an alias. */
17753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17761 if { (eval echo configure
:17762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17763 eval "ac_cv_func_$ac_func=yes"
17765 echo "configure: failed program was:" >&5
17766 cat conftest.
$ac_ext >&5
17768 eval "ac_cv_func_$ac_func=no"
17773 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17774 echo "$ac_t""yes" 1>&6
17775 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17776 cat >> confdefs.h
<<EOF
17777 #define $ac_tr_func 1
17781 echo "$ac_t""no" 1>&6
17786 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17787 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17788 wxUSE_SNGLINST_CHECKER
=no
17792 for ac_func
in timegm
17794 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17795 echo "configure:17796: checking for $ac_func" >&5
17796 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17797 echo $ac_n "(cached) $ac_c" 1>&6
17799 cat > conftest.
$ac_ext <<EOF
17800 #line 17801 "configure"
17801 #include "confdefs.h"
17802 /* System header to define __stub macros and hopefully few prototypes,
17803 which can conflict with char $ac_func(); below. */
17804 #include <assert.h>
17805 /* Override any gcc2 internal prototype to avoid an error. */
17806 /* We use char because int might match the return type of a gcc2
17807 builtin and then its argument prototype would still apply. */
17812 /* The GNU C library defines this for functions which it implements
17813 to always fail with ENOSYS. Some functions are actually named
17814 something starting with __ and the normal name is an alias. */
17815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17823 if { (eval echo configure
:17824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17825 eval "ac_cv_func_$ac_func=yes"
17827 echo "configure: failed program was:" >&5
17828 cat conftest.
$ac_ext >&5
17830 eval "ac_cv_func_$ac_func=no"
17835 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17836 echo "$ac_t""yes" 1>&6
17837 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17838 cat >> confdefs.h
<<EOF
17839 #define $ac_tr_func 1
17843 echo "$ac_t""no" 1>&6
17848 for ac_func
in putenv setenv
17850 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17851 echo "configure:17852: checking for $ac_func" >&5
17852 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17853 echo $ac_n "(cached) $ac_c" 1>&6
17855 cat > conftest.
$ac_ext <<EOF
17856 #line 17857 "configure"
17857 #include "confdefs.h"
17858 /* System header to define __stub macros and hopefully few prototypes,
17859 which can conflict with char $ac_func(); below. */
17860 #include <assert.h>
17861 /* Override any gcc2 internal prototype to avoid an error. */
17862 /* We use char because int might match the return type of a gcc2
17863 builtin and then its argument prototype would still apply. */
17868 /* The GNU C library defines this for functions which it implements
17869 to always fail with ENOSYS. Some functions are actually named
17870 something starting with __ and the normal name is an alias. */
17871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17879 if { (eval echo configure
:17880: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17881 eval "ac_cv_func_$ac_func=yes"
17883 echo "configure: failed program was:" >&5
17884 cat conftest.
$ac_ext >&5
17886 eval "ac_cv_func_$ac_func=no"
17891 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17892 echo "$ac_t""yes" 1>&6
17893 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17894 cat >> confdefs.h
<<EOF
17895 #define $ac_tr_func 1
17899 echo "$ac_t""no" 1>&6
17904 HAVE_SOME_SLEEP_FUNC
=0
17905 if test "$USE_BEOS" = 1; then
17906 cat >> confdefs.h
<<\EOF
17907 #define HAVE_SLEEP 1
17910 HAVE_SOME_SLEEP_FUNC
=1
17913 if test "$USE_DARWIN" = 1; then
17914 cat >> confdefs.h
<<\EOF
17915 #define HAVE_USLEEP 1
17918 HAVE_SOME_SLEEP_FUNC
=1
17921 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17923 for ac_func
in nanosleep
17925 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17926 echo "configure:17927: checking for $ac_func" >&5
17927 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17928 echo $ac_n "(cached) $ac_c" 1>&6
17930 cat > conftest.
$ac_ext <<EOF
17931 #line 17932 "configure"
17932 #include "confdefs.h"
17933 /* System header to define __stub macros and hopefully few prototypes,
17934 which can conflict with char $ac_func(); below. */
17935 #include <assert.h>
17936 /* Override any gcc2 internal prototype to avoid an error. */
17937 /* We use char because int might match the return type of a gcc2
17938 builtin and then its argument prototype would still apply. */
17943 /* The GNU C library defines this for functions which it implements
17944 to always fail with ENOSYS. Some functions are actually named
17945 something starting with __ and the normal name is an alias. */
17946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17954 if { (eval echo configure
:17955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17956 eval "ac_cv_func_$ac_func=yes"
17958 echo "configure: failed program was:" >&5
17959 cat conftest.
$ac_ext >&5
17961 eval "ac_cv_func_$ac_func=no"
17966 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17967 echo "$ac_t""yes" 1>&6
17968 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17969 cat >> confdefs.h
<<EOF
17970 #define $ac_tr_func 1
17972 cat >> confdefs.h
<<\EOF
17973 #define HAVE_NANOSLEEP 1
17977 echo "$ac_t""no" 1>&6
17978 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17979 echo "configure:17980: checking for nanosleep in -lposix4" >&5
17980 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17981 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17982 echo $ac_n "(cached) $ac_c" 1>&6
17984 ac_save_LIBS
="$LIBS"
17985 LIBS
="-lposix4 $LIBS"
17986 cat > conftest.
$ac_ext <<EOF
17987 #line 17988 "configure"
17988 #include "confdefs.h"
17989 /* Override any gcc2 internal prototype to avoid an error. */
17990 /* We use char because int might match the return type of a gcc2
17991 builtin and then its argument prototype would still apply. */
17998 if { (eval echo configure
:17999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18000 eval "ac_cv_lib_$ac_lib_var=yes"
18002 echo "configure: failed program was:" >&5
18003 cat conftest.
$ac_ext >&5
18005 eval "ac_cv_lib_$ac_lib_var=no"
18008 LIBS
="$ac_save_LIBS"
18011 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18012 echo "$ac_t""yes" 1>&6
18014 cat >> confdefs.h
<<\EOF
18015 #define HAVE_NANOSLEEP 1
18018 POSIX4_LINK
=" -lposix4"
18021 echo "$ac_t""no" 1>&6
18023 for ac_func
in usleep
18025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18026 echo "configure:18027: checking for $ac_func" >&5
18027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18028 echo $ac_n "(cached) $ac_c" 1>&6
18030 cat > conftest.
$ac_ext <<EOF
18031 #line 18032 "configure"
18032 #include "confdefs.h"
18033 /* System header to define __stub macros and hopefully few prototypes,
18034 which can conflict with char $ac_func(); below. */
18035 #include <assert.h>
18036 /* Override any gcc2 internal prototype to avoid an error. */
18037 /* We use char because int might match the return type of a gcc2
18038 builtin and then its argument prototype would still apply. */
18043 /* The GNU C library defines this for functions which it implements
18044 to always fail with ENOSYS. Some functions are actually named
18045 something starting with __ and the normal name is an alias. */
18046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18054 if { (eval echo configure
:18055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18056 eval "ac_cv_func_$ac_func=yes"
18058 echo "configure: failed program was:" >&5
18059 cat conftest.
$ac_ext >&5
18061 eval "ac_cv_func_$ac_func=no"
18066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18067 echo "$ac_t""yes" 1>&6
18068 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18069 cat >> confdefs.h
<<EOF
18070 #define $ac_tr_func 1
18072 cat >> confdefs.h
<<\EOF
18073 #define HAVE_USLEEP 1
18077 echo "$ac_t""no" 1>&6
18078 echo "configure: warning: wxSleep() function will not work" 1>&2
18094 for ac_func
in uname gethostname
18096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18097 echo "configure:18098: checking for $ac_func" >&5
18098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18099 echo $ac_n "(cached) $ac_c" 1>&6
18101 cat > conftest.
$ac_ext <<EOF
18102 #line 18103 "configure"
18103 #include "confdefs.h"
18104 /* System header to define __stub macros and hopefully few prototypes,
18105 which can conflict with char $ac_func(); below. */
18106 #include <assert.h>
18107 /* Override any gcc2 internal prototype to avoid an error. */
18108 /* We use char because int might match the return type of a gcc2
18109 builtin and then its argument prototype would still apply. */
18114 /* The GNU C library defines this for functions which it implements
18115 to always fail with ENOSYS. Some functions are actually named
18116 something starting with __ and the normal name is an alias. */
18117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18125 if { (eval echo configure
:18126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18127 eval "ac_cv_func_$ac_func=yes"
18129 echo "configure: failed program was:" >&5
18130 cat conftest.
$ac_ext >&5
18132 eval "ac_cv_func_$ac_func=no"
18137 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18138 echo "$ac_t""yes" 1>&6
18139 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18140 cat >> confdefs.h
<<EOF
18141 #define $ac_tr_func 1
18145 echo "$ac_t""no" 1>&6
18152 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18153 ac_cpp
='$CXXCPP $CPPFLAGS'
18154 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18155 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18156 cross_compiling
=$ac_cv_prog_cxx_cross
18159 for ac_func
in strtok_r
18161 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18162 echo "configure:18163: checking for $ac_func" >&5
18163 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18164 echo $ac_n "(cached) $ac_c" 1>&6
18166 cat > conftest.
$ac_ext <<EOF
18167 #line 18168 "configure"
18168 #include "confdefs.h"
18169 /* System header to define __stub macros and hopefully few prototypes,
18170 which can conflict with char $ac_func(); below. */
18171 #include <assert.h>
18172 /* Override any gcc2 internal prototype to avoid an error. */
18176 /* We use char because int might match the return type of a gcc2
18177 builtin and then its argument prototype would still apply. */
18182 /* The GNU C library defines this for functions which it implements
18183 to always fail with ENOSYS. Some functions are actually named
18184 something starting with __ and the normal name is an alias. */
18185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18193 if { (eval echo configure
:18194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18195 eval "ac_cv_func_$ac_func=yes"
18197 echo "configure: failed program was:" >&5
18198 cat conftest.
$ac_ext >&5
18200 eval "ac_cv_func_$ac_func=no"
18205 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18206 echo "$ac_t""yes" 1>&6
18207 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18208 cat >> confdefs.h
<<EOF
18209 #define $ac_tr_func 1
18213 echo "$ac_t""no" 1>&6
18219 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18220 ac_cpp
='$CPP $CPPFLAGS'
18221 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18222 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18223 cross_compiling
=$ac_cv_prog_cc_cross
18227 for ac_func
in inet_addr
18229 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18230 echo "configure:18231: checking for $ac_func" >&5
18231 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18232 echo $ac_n "(cached) $ac_c" 1>&6
18234 cat > conftest.
$ac_ext <<EOF
18235 #line 18236 "configure"
18236 #include "confdefs.h"
18237 /* System header to define __stub macros and hopefully few prototypes,
18238 which can conflict with char $ac_func(); below. */
18239 #include <assert.h>
18240 /* Override any gcc2 internal prototype to avoid an error. */
18241 /* We use char because int might match the return type of a gcc2
18242 builtin and then its argument prototype would still apply. */
18247 /* The GNU C library defines this for functions which it implements
18248 to always fail with ENOSYS. Some functions are actually named
18249 something starting with __ and the normal name is an alias. */
18250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18258 if { (eval echo configure
:18259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18260 eval "ac_cv_func_$ac_func=yes"
18262 echo "configure: failed program was:" >&5
18263 cat conftest.
$ac_ext >&5
18265 eval "ac_cv_func_$ac_func=no"
18270 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18271 echo "$ac_t""yes" 1>&6
18272 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18273 cat >> confdefs.h
<<EOF
18274 #define $ac_tr_func 1
18276 cat >> confdefs.h
<<\EOF
18277 #define HAVE_INET_ADDR 1
18281 echo "$ac_t""no" 1>&6
18282 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18283 echo "configure:18284: checking for inet_addr in -lnsl" >&5
18284 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18285 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18286 echo $ac_n "(cached) $ac_c" 1>&6
18288 ac_save_LIBS
="$LIBS"
18290 cat > conftest.
$ac_ext <<EOF
18291 #line 18292 "configure"
18292 #include "confdefs.h"
18293 /* Override any gcc2 internal prototype to avoid an error. */
18294 /* We use char because int might match the return type of a gcc2
18295 builtin and then its argument prototype would still apply. */
18302 if { (eval echo configure
:18303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18304 eval "ac_cv_lib_$ac_lib_var=yes"
18306 echo "configure: failed program was:" >&5
18307 cat conftest.
$ac_ext >&5
18309 eval "ac_cv_lib_$ac_lib_var=no"
18312 LIBS
="$ac_save_LIBS"
18315 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18316 echo "$ac_t""yes" 1>&6
18319 echo "$ac_t""no" 1>&6
18320 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18321 echo "configure:18322: checking for inet_addr in -lresolv" >&5
18322 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18323 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18324 echo $ac_n "(cached) $ac_c" 1>&6
18326 ac_save_LIBS
="$LIBS"
18327 LIBS
="-lresolv $LIBS"
18328 cat > conftest.
$ac_ext <<EOF
18329 #line 18330 "configure"
18330 #include "confdefs.h"
18331 /* Override any gcc2 internal prototype to avoid an error. */
18332 /* We use char because int might match the return type of a gcc2
18333 builtin and then its argument prototype would still apply. */
18340 if { (eval echo configure
:18341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18342 eval "ac_cv_lib_$ac_lib_var=yes"
18344 echo "configure: failed program was:" >&5
18345 cat conftest.
$ac_ext >&5
18347 eval "ac_cv_lib_$ac_lib_var=no"
18350 LIBS
="$ac_save_LIBS"
18353 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18354 echo "$ac_t""yes" 1>&6
18357 echo "$ac_t""no" 1>&6
18358 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18359 echo "configure:18360: checking for inet_addr in -lsocket" >&5
18360 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18361 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18364 ac_save_LIBS
="$LIBS"
18365 LIBS
="-lsocket $LIBS"
18366 cat > conftest.
$ac_ext <<EOF
18367 #line 18368 "configure"
18368 #include "confdefs.h"
18369 /* Override any gcc2 internal prototype to avoid an error. */
18370 /* We use char because int might match the return type of a gcc2
18371 builtin and then its argument prototype would still apply. */
18378 if { (eval echo configure
:18379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18380 eval "ac_cv_lib_$ac_lib_var=yes"
18382 echo "configure: failed program was:" >&5
18383 cat conftest.
$ac_ext >&5
18385 eval "ac_cv_lib_$ac_lib_var=no"
18388 LIBS
="$ac_save_LIBS"
18391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18392 echo "$ac_t""yes" 1>&6
18396 echo "$ac_t""no" 1>&6
18411 for ac_func
in inet_aton
18413 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18414 echo "configure:18415: checking for $ac_func" >&5
18415 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18416 echo $ac_n "(cached) $ac_c" 1>&6
18418 cat > conftest.
$ac_ext <<EOF
18419 #line 18420 "configure"
18420 #include "confdefs.h"
18421 /* System header to define __stub macros and hopefully few prototypes,
18422 which can conflict with char $ac_func(); below. */
18423 #include <assert.h>
18424 /* Override any gcc2 internal prototype to avoid an error. */
18425 /* We use char because int might match the return type of a gcc2
18426 builtin and then its argument prototype would still apply. */
18431 /* The GNU C library defines this for functions which it implements
18432 to always fail with ENOSYS. Some functions are actually named
18433 something starting with __ and the normal name is an alias. */
18434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18442 if { (eval echo configure
:18443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18444 eval "ac_cv_func_$ac_func=yes"
18446 echo "configure: failed program was:" >&5
18447 cat conftest.
$ac_ext >&5
18449 eval "ac_cv_func_$ac_func=no"
18454 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18455 echo "$ac_t""yes" 1>&6
18456 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18457 cat >> confdefs.h
<<EOF
18458 #define $ac_tr_func 1
18460 cat >> confdefs.h
<<\EOF
18461 #define HAVE_INET_ATON 1
18465 echo "$ac_t""no" 1>&6
18466 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18467 echo "configure:18468: checking for inet_aton in -l$INET_LINK" >&5
18468 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18469 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18470 echo $ac_n "(cached) $ac_c" 1>&6
18472 ac_save_LIBS
="$LIBS"
18473 LIBS
="-l$INET_LINK $LIBS"
18474 cat > conftest.
$ac_ext <<EOF
18475 #line 18476 "configure"
18476 #include "confdefs.h"
18477 /* Override any gcc2 internal prototype to avoid an error. */
18478 /* We use char because int might match the return type of a gcc2
18479 builtin and then its argument prototype would still apply. */
18486 if { (eval echo configure
:18487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18488 eval "ac_cv_lib_$ac_lib_var=yes"
18490 echo "configure: failed program was:" >&5
18491 cat conftest.
$ac_ext >&5
18493 eval "ac_cv_lib_$ac_lib_var=no"
18496 LIBS
="$ac_save_LIBS"
18499 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18500 echo "$ac_t""yes" 1>&6
18501 cat >> confdefs.h
<<\EOF
18502 #define HAVE_INET_ATON 1
18506 echo "$ac_t""no" 1>&6
18514 if test "x$INET_LINK" != "x"; then
18515 cat >> confdefs.h
<<\EOF
18516 #define HAVE_INET_ADDR 1
18519 INET_LINK
=" -l$INET_LINK"
18525 cat > confcache
<<\EOF
18526 # This file is a shell script that caches the results of configure
18527 # tests run on this system so they can be shared between configure
18528 # scripts and configure runs. It is not useful on other systems.
18529 # If it contains results you don't want to keep, you may remove or edit it.
18531 # By default, configure uses ./config.cache as the cache file,
18532 # creating it if it does not exist already. You can give configure
18533 # the --cache-file=FILE option to use a different cache file; that is
18534 # what configure does when it calls configure scripts in
18535 # subdirectories, so they share the cache.
18536 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18537 # config.status only pays attention to the cache file if you give it the
18538 # --recheck option to rerun configure.
18541 # The following way of writing the cache mishandles newlines in values,
18542 # but we know of no workaround that is simple, portable, and efficient.
18543 # So, don't put newlines in cache variables' values.
18544 # Ultrix sh set writes to stderr and can't be redirected directly,
18545 # and sets the high bit in the cache file unless we assign to the vars.
18547 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18549 # `set' does not quote correctly, so add quotes (double-quote substitution
18550 # turns \\\\ into \\, and sed turns \\ into \).
18552 -e "s/'/'\\\\''/g" \
18553 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18556 # `set' quotes correctly as required by POSIX, so do not add quotes.
18557 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18560 if cmp -s $cache_file confcache
; then
18563 if test -w $cache_file; then
18564 echo "updating cache $cache_file"
18565 cat confcache
> $cache_file
18567 echo "not updating unwritable cache $cache_file"
18575 if test "$TOOLKIT" != "MSW"; then
18581 if test "$wxUSE_THREADS" = "yes" ; then
18582 if test "$USE_BEOS" = 1; then
18583 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18588 if test "$wxUSE_THREADS" = "yes" ; then
18591 THREAD_OPTS
="-pthread"
18593 *-*-solaris2* | *-*-sunos4* )
18594 if test "x$GCC" = "xyes"; then
18595 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18597 THREAD_OPTS
="-mt $THREAD_OPTS"
18601 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18603 *-*-darwin* | *-*-cygwin* )
18607 THREAD_OPTS
="pthreads"
18610 if test "x$GCC" != "xyes"; then
18615 THREAD_OPTS
="$THREAD_OPTS pthread none"
18618 for flag
in $THREAD_OPTS; do
18621 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18622 echo "configure:18623: checking whether pthreads work without any flags" >&5
18626 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18627 echo "configure:18628: checking whether pthreads work with $flag" >&5
18628 THREADS_CFLAGS
="$flag"
18632 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18633 echo "configure:18634: checking for the pthreads library -l$flag" >&5
18634 THREADS_LINK
="-l$flag"
18639 save_CFLAGS
="$CFLAGS"
18640 LIBS
="$THREADS_LINK $LIBS"
18641 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18643 cat > conftest.
$ac_ext <<EOF
18644 #line 18645 "configure"
18645 #include "confdefs.h"
18646 #include <pthread.h>
18648 pthread_create(0,0,0,0);
18651 if { (eval echo configure
:18652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18655 echo "configure: failed program was:" >&5
18656 cat conftest.
$ac_ext >&5
18661 CFLAGS
="$save_CFLAGS"
18663 echo "$ac_t""$THREADS_OK" 1>&6
18664 if test "x$THREADS_OK" = "xyes"; then
18672 if test "x$THREADS_OK" != "xyes"; then
18674 echo "configure: warning: No thread support on this system... disabled" 1>&2
18676 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18677 LIBS
="$THREADS_LINK $LIBS"
18679 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18680 echo "configure:18681: checking if more special flags are required for pthreads" >&5
18684 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18685 flag
="-D_THREAD_SAFE"
18688 flag
="-D_THREAD_SAFE"
18691 flag
="-D_REENTRANT"
18692 if test "x$GCC" != "xyes"; then
18693 flag
="$flag -D_RWSTD_MULTI_THREAD"
18696 *solaris
* | alpha
*-osf*)
18697 flag
="-D_REENTRANT"
18700 echo "$ac_t""${flag}" 1>&6
18701 if test "x$flag" != xno
; then
18702 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18705 if test "x$THREADS_CFLAGS" != "x"; then
18706 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18707 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18712 if test "$wxUSE_THREADS" = "yes" ; then
18713 for ac_func
in thr_setconcurrency
18715 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18716 echo "configure:18717: checking for $ac_func" >&5
18717 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18718 echo $ac_n "(cached) $ac_c" 1>&6
18720 cat > conftest.
$ac_ext <<EOF
18721 #line 18722 "configure"
18722 #include "confdefs.h"
18723 /* System header to define __stub macros and hopefully few prototypes,
18724 which can conflict with char $ac_func(); below. */
18725 #include <assert.h>
18726 /* Override any gcc2 internal prototype to avoid an error. */
18727 /* We use char because int might match the return type of a gcc2
18728 builtin and then its argument prototype would still apply. */
18733 /* The GNU C library defines this for functions which it implements
18734 to always fail with ENOSYS. Some functions are actually named
18735 something starting with __ and the normal name is an alias. */
18736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18744 if { (eval echo configure
:18745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18746 eval "ac_cv_func_$ac_func=yes"
18748 echo "configure: failed program was:" >&5
18749 cat conftest.
$ac_ext >&5
18751 eval "ac_cv_func_$ac_func=no"
18756 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18757 echo "$ac_t""yes" 1>&6
18758 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18759 cat >> confdefs.h
<<EOF
18760 #define $ac_tr_func 1
18764 echo "$ac_t""no" 1>&6
18769 for ac_hdr
in sched.h
18771 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18772 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18773 echo "configure:18774: checking for $ac_hdr" >&5
18774 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18775 echo $ac_n "(cached) $ac_c" 1>&6
18777 cat > conftest.
$ac_ext <<EOF
18778 #line 18779 "configure"
18779 #include "confdefs.h"
18782 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18783 { (eval echo configure
:18784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18784 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18785 if test -z "$ac_err"; then
18787 eval "ac_cv_header_$ac_safe=yes"
18790 echo "configure: failed program was:" >&5
18791 cat conftest.
$ac_ext >&5
18793 eval "ac_cv_header_$ac_safe=no"
18797 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18798 echo "$ac_t""yes" 1>&6
18799 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18800 cat >> confdefs.h
<<EOF
18801 #define $ac_tr_hdr 1
18805 echo "$ac_t""no" 1>&6
18809 if test "$ac_cv_header_sched_h" = "yes"; then
18810 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18811 echo "configure:18812: checking for sched_yield" >&5
18812 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18813 echo $ac_n "(cached) $ac_c" 1>&6
18815 cat > conftest.
$ac_ext <<EOF
18816 #line 18817 "configure"
18817 #include "confdefs.h"
18818 /* System header to define __stub macros and hopefully few prototypes,
18819 which can conflict with char sched_yield(); below. */
18820 #include <assert.h>
18821 /* Override any gcc2 internal prototype to avoid an error. */
18822 /* We use char because int might match the return type of a gcc2
18823 builtin and then its argument prototype would still apply. */
18824 char sched_yield();
18828 /* The GNU C library defines this for functions which it implements
18829 to always fail with ENOSYS. Some functions are actually named
18830 something starting with __ and the normal name is an alias. */
18831 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18839 if { (eval echo configure
:18840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18841 eval "ac_cv_func_sched_yield=yes"
18843 echo "configure: failed program was:" >&5
18844 cat conftest.
$ac_ext >&5
18846 eval "ac_cv_func_sched_yield=no"
18851 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18852 echo "$ac_t""yes" 1>&6
18853 cat >> confdefs.h
<<\EOF
18854 #define HAVE_SCHED_YIELD 1
18858 echo "$ac_t""no" 1>&6
18860 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18861 echo "configure:18862: checking for sched_yield in -lposix4" >&5
18862 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18863 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18864 echo $ac_n "(cached) $ac_c" 1>&6
18866 ac_save_LIBS
="$LIBS"
18867 LIBS
="-lposix4 $LIBS"
18868 cat > conftest.
$ac_ext <<EOF
18869 #line 18870 "configure"
18870 #include "confdefs.h"
18871 /* Override any gcc2 internal prototype to avoid an error. */
18872 /* We use char because int might match the return type of a gcc2
18873 builtin and then its argument prototype would still apply. */
18874 char sched_yield();
18880 if { (eval echo configure
:18881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18882 eval "ac_cv_lib_$ac_lib_var=yes"
18884 echo "configure: failed program was:" >&5
18885 cat conftest.
$ac_ext >&5
18887 eval "ac_cv_lib_$ac_lib_var=no"
18890 LIBS
="$ac_save_LIBS"
18893 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18894 echo "$ac_t""yes" 1>&6
18895 cat >> confdefs.h
<<\EOF
18896 #define HAVE_SCHED_YIELD 1
18898 POSIX4_LINK
=" -lposix4"
18900 echo "$ac_t""no" 1>&6
18901 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18912 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18913 echo "configure:18914: checking for pthread_attr_getschedpolicy" >&5
18914 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18915 echo $ac_n "(cached) $ac_c" 1>&6
18917 cat > conftest.
$ac_ext <<EOF
18918 #line 18919 "configure"
18919 #include "confdefs.h"
18920 /* System header to define __stub macros and hopefully few prototypes,
18921 which can conflict with char pthread_attr_getschedpolicy(); below. */
18922 #include <assert.h>
18923 /* Override any gcc2 internal prototype to avoid an error. */
18924 /* We use char because int might match the return type of a gcc2
18925 builtin and then its argument prototype would still apply. */
18926 char pthread_attr_getschedpolicy();
18930 /* The GNU C library defines this for functions which it implements
18931 to always fail with ENOSYS. Some functions are actually named
18932 something starting with __ and the normal name is an alias. */
18933 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18936 pthread_attr_getschedpolicy();
18941 if { (eval echo configure
:18942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18943 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18945 echo "configure: failed program was:" >&5
18946 cat conftest.
$ac_ext >&5
18948 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18953 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18954 echo "$ac_t""yes" 1>&6
18955 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18956 echo "configure:18957: checking for pthread_attr_setschedparam" >&5
18957 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18958 echo $ac_n "(cached) $ac_c" 1>&6
18960 cat > conftest.
$ac_ext <<EOF
18961 #line 18962 "configure"
18962 #include "confdefs.h"
18963 /* System header to define __stub macros and hopefully few prototypes,
18964 which can conflict with char pthread_attr_setschedparam(); below. */
18965 #include <assert.h>
18966 /* Override any gcc2 internal prototype to avoid an error. */
18967 /* We use char because int might match the return type of a gcc2
18968 builtin and then its argument prototype would still apply. */
18969 char pthread_attr_setschedparam();
18973 /* The GNU C library defines this for functions which it implements
18974 to always fail with ENOSYS. Some functions are actually named
18975 something starting with __ and the normal name is an alias. */
18976 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
18979 pthread_attr_setschedparam();
18984 if { (eval echo configure
:18985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18986 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18988 echo "configure: failed program was:" >&5
18989 cat conftest.
$ac_ext >&5
18991 eval "ac_cv_func_pthread_attr_setschedparam=no"
18996 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18997 echo "$ac_t""yes" 1>&6
18998 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18999 echo "configure:19000: checking for sched_get_priority_max" >&5
19000 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19001 echo $ac_n "(cached) $ac_c" 1>&6
19003 cat > conftest.
$ac_ext <<EOF
19004 #line 19005 "configure"
19005 #include "confdefs.h"
19006 /* System header to define __stub macros and hopefully few prototypes
19008 echo "$ac_t""no" 1>&6
19009 which can conflict with char sched_get_priority_max(); below. */
19010 #include <assert.h>
19011 /* Override any gcc2 internal prototype to avoid an error. */
19012 /* We use char because int might match the return type of a gcc2
19013 builtin and then its argument prototype would still apply. */
19014 char sched_get_priority_max();
19018 /* The GNU C library defines this for functions which it implements
19019 to always fail with ENOSYS. Some functions are actually named
19020 something starting with __ and the normal name is an alias. */
19021 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19024 sched_get_priority_max();
19029 if { (eval echo configure
:19030: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19031 eval "ac_cv_func_sched_get_priority_max=yes"
19033 echo "configure: failed program was:" >&5
19034 cat conftest.
$ac_ext >&5
19036 eval "ac_cv_func_sched_get_priority_max=no"
19041 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19042 echo "$ac_t""yes" 1>&6
19045 echo "$ac_t""no" 1>&6
19046 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19047 echo "configure:19048: checking for sched_get_priority_max in -lposix4" >&5
19048 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19049 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19050 echo $ac_n "(cached) $ac_c" 1>&6
19052 ac_save_LIBS
="$LIBS"
19053 LIBS
="-lposix4 $LIBS"
19054 cat > conftest.
$ac_ext <<EOF
19055 #line 19056 "configure"
19056 #include "confdefs.h"
19057 /* Override any gcc2 internal prototype to avoid an error. */
19058 /* We use char because int might match the return type of a gcc2
19059 builtin and then its argument prototype would still apply. */
19060 char sched_get_priority_max();
19063 sched_get_priority_max()
19066 if { (eval echo configure
:19067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19068 eval "ac_cv_lib_$ac_lib_var=yes"
19070 echo "configure: failed program was:" >&5
19071 cat conftest.
$ac_ext >&5
19073 eval "ac_cv_lib_$ac_lib_var=no"
19076 LIBS
="$ac_save_LIBS"
19079 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19080 echo "$ac_t""yes" 1>&6
19083 POSIX4_LINK
=" -lposix4"
19086 echo "$ac_t""no" 1>&6
19094 echo "$ac_t""no" 1>&6
19101 if test "$HAVE_PRIOR_FUNCS" = 1; then
19102 cat >> confdefs.h
<<\EOF
19103 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19107 echo "configure: warning: Setting thread priority will not work" 1>&2
19110 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19111 echo "configure:19112: checking for pthread_cancel" >&5
19112 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+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"
19118 /* System header to define __stub macros and hopefully few prototypes,
19119 which can conflict with char pthread_cancel(); below. */
19120 #include <assert.h>
19121 /* Override any gcc2 internal prototype to avoid an error. */
19122 /* We use char because int might match the return type of a gcc2
19123 builtin and then its argument prototype would still apply. */
19124 char pthread_cancel();
19128 /* The GNU C library defines this for functions which it implements
19129 to always fail with ENOSYS. Some functions are actually named
19130 something starting with __ and the normal name is an alias. */
19131 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19139 if { (eval echo configure
:19140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19141 eval "ac_cv_func_pthread_cancel=yes"
19143 echo "configure: failed program was:" >&5
19144 cat conftest.
$ac_ext >&5
19146 eval "ac_cv_func_pthread_cancel=no"
19151 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19152 echo "$ac_t""yes" 1>&6
19153 cat >> confdefs.h
<<\EOF
19154 #define HAVE_PTHREAD_CANCEL 1
19158 echo "$ac_t""no" 1>&6
19159 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19163 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19164 echo "configure:19165: checking for pthread_cleanup_push/pop" >&5
19165 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19166 echo $ac_n "(cached) $ac_c" 1>&6
19169 cat > conftest.
$ac_ext <<EOF
19170 #line 19171 "configure"
19171 #include "confdefs.h"
19172 #include <pthread.h>
19175 pthread_cleanup_push(NULL, NULL);
19176 pthread_cleanup_pop(0);
19180 if { (eval echo configure
:19181: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19183 wx_cv_func_pthread_cleanup_push
=yes
19186 echo "configure: failed program was:" >&5
19187 cat conftest.
$ac_ext >&5
19190 wx_cv_func_pthread_cleanup_push
=no
19197 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19199 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19200 cat >> confdefs.h
<<\EOF
19201 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19207 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19208 echo "configure:19209: checking for pthread_mutexattr_t" >&5
19209 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19210 echo $ac_n "(cached) $ac_c" 1>&6
19213 cat > conftest.
$ac_ext <<EOF
19214 #line 19215 "configure"
19215 #include "confdefs.h"
19216 #include <pthread.h>
19219 pthread_mutexattr_t attr;
19220 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19224 if { (eval echo configure
:19225: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19227 wx_cv_type_pthread_mutexattr_t
=yes
19230 echo "configure: failed program was:" >&5
19231 cat conftest.
$ac_ext >&5
19234 wx_cv_type_pthread_mutexattr_t
=no
19242 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19244 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19245 cat >> confdefs.h
<<\EOF
19246 #define HAVE_PTHREAD_MUTEXATTR_T 1
19250 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19251 echo "configure:19252: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19252 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19253 echo $ac_n "(cached) $ac_c" 1>&6
19256 cat > conftest.
$ac_ext <<EOF
19257 #line 19258 "configure"
19258 #include "confdefs.h"
19259 #include <pthread.h>
19262 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19266 if { (eval echo configure
:19267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19269 wx_cv_type_pthread_rec_mutex_init
=yes
19272 echo "configure: failed program was:" >&5
19273 cat conftest.
$ac_ext >&5
19276 wx_cv_type_pthread_rec_mutex_init
=no
19284 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19285 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19286 cat >> confdefs.h
<<\EOF
19287 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19291 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19297 if test "$wxUSE_THREADS" = "yes" ; then
19300 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19301 echo "configure:19302: checking if compiler supports -mthreads" >&5
19302 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19303 echo $ac_n "(cached) $ac_c" 1>&6
19306 CFLAGS_OLD
="$CFLAGS"
19307 CFLAGS
="$CFLAGS -mthreads"
19308 cat > conftest.
$ac_ext <<EOF
19309 #line 19310 "configure"
19310 #include "confdefs.h"
19316 if { (eval echo configure
:19317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19318 wx_cv_cflags_mthread
=yes
19320 echo "configure: failed program was:" >&5
19321 cat conftest.
$ac_ext >&5
19323 wx_cv_cflags_mthread
=no
19331 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19333 if test "$wx_cv_cflags_mthread" = "yes"; then
19334 CXXFLAGS
="$CXXFLAGS -mthreads"
19335 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19336 LDFLAGS
="$LDFLAGS -mthreads"
19338 CFLAGS
="$CFLAGS_OLD"
19345 if test "$wxUSE_THREADS" = "yes"; then
19346 cat >> confdefs.h
<<\EOF
19347 #define wxUSE_THREADS 1
19351 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19353 if test "$ac_cv_func_strtok_r" = "yes"; then
19354 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19355 echo "configure:19356: checking if -D_REENTRANT is needed" >&5
19356 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19357 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19358 echo "$ac_t""yes" 1>&6
19360 echo "$ac_t""no" 1>&6
19365 if test "$WXGTK20" = 1 ; then
19366 cat >> confdefs.h
<<EOF
19367 #define __WXGTK20__ $WXGTK20
19373 if test "$WXGTK12" = 1 ; then
19374 cat >> confdefs.h
<<EOF
19375 #define __WXGTK12__ $WXGTK12
19380 if test "$WXGTK127" = 1 ; then
19381 cat >> confdefs.h
<<EOF
19382 #define __WXGTK127__ $WXGTK127
19389 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19394 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19395 wxUSE_DEBUG_INFO
=yes
19399 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19400 cat >> confdefs.h
<<\EOF
19404 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19406 if test "$wxUSE_GTK" = 1 ; then
19407 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19411 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19412 cat >> confdefs.h
<<\EOF
19413 #define wxUSE_MEMORY_TRACING 1
19416 cat >> confdefs.h
<<\EOF
19417 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19420 cat >> confdefs.h
<<\EOF
19421 #define wxUSE_DEBUG_NEW_ALWAYS 1
19424 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19427 if test "$wxUSE_DMALLOC" = "yes" ; then
19428 DMALLOC_LIBS
="-ldmalloc"
19432 if test "$wxUSE_PROFILE" = "yes" ; then
19437 CODE_GEN_FLAGS_CXX
=
19438 if test "$GCC" = "yes" ; then
19439 if test "$wxUSE_NO_RTTI" = "yes" ; then
19440 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19442 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19443 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19445 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19446 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19448 if test "$USE_WIN32" = 1 ; then
19449 # I'm not even really sure what this was ever added to solve,
19450 # but someone added it for mingw native builds, so I guess
19451 # they had a reason, right??
19452 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19457 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19460 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19466 if test "$wxUSE_OPTIMISE" = "no" ; then
19467 if test "$GCC" = yes ; then
19471 if test "$GCC" = yes ; then
19475 i586
-*-*|i686
-*-* )
19476 OPTIMISE
="${OPTIMISE} "
19485 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19486 cat >> confdefs.h
<<\EOF
19487 #define WXWIN_COMPATIBILITY_2 1
19491 WXWIN_COMPATIBILITY_2_2
="yes"
19494 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19495 cat >> confdefs.h
<<\EOF
19496 #define WXWIN_COMPATIBILITY_2_2 1
19500 WXWIN_COMPATIBILITY_2_4
="yes"
19503 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19504 cat >> confdefs.h
<<\EOF
19505 #define WXWIN_COMPATIBILITY_2_4 1
19511 if test "$wxUSE_GUI" = "yes"; then
19512 cat >> confdefs.h
<<\EOF
19513 #define wxUSE_GUI 1
19518 cat >> confdefs.h
<<\EOF
19519 #define wxUSE_NOGUI 1
19525 if test "$wxUSE_UNIX" = "yes"; then
19526 cat >> confdefs.h
<<\EOF
19527 #define wxUSE_UNIX 1
19533 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19534 cat >> confdefs.h
<<\EOF
19535 #define wxUSE_APPLE_IEEE 1
19540 if test "$wxUSE_TIMER" = "yes"; then
19541 cat >> confdefs.h
<<\EOF
19542 #define wxUSE_TIMER 1
19547 if test "$wxUSE_WAVE" = "yes"; then
19548 cat >> confdefs.h
<<\EOF
19549 #define wxUSE_WAVE 1
19554 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19555 cat >> confdefs.h
<<\EOF
19556 #define wxUSE_CMDLINE_PARSER 1
19561 if test "$wxUSE_STOPWATCH" = "yes"; then
19562 cat >> confdefs.h
<<\EOF
19563 #define wxUSE_STOPWATCH 1
19568 if test "$wxUSE_DATETIME" = "yes"; then
19569 cat >> confdefs.h
<<\EOF
19570 #define wxUSE_DATETIME 1
19575 if test "$wxUSE_FILE" = "yes"; then
19576 cat >> confdefs.h
<<\EOF
19577 #define wxUSE_FILE 1
19582 if test "$wxUSE_FFILE" = "yes"; then
19583 cat >> confdefs.h
<<\EOF
19584 #define wxUSE_FFILE 1
19589 if test "$wxUSE_FILESYSTEM" = "yes"; then
19590 cat >> confdefs.h
<<\EOF
19591 #define wxUSE_FILESYSTEM 1
19596 if test "$wxUSE_FS_INET" = "yes"; then
19597 cat >> confdefs.h
<<\EOF
19598 #define wxUSE_FS_INET 1
19603 if test "$wxUSE_FS_ZIP" = "yes"; then
19604 cat >> confdefs.h
<<\EOF
19605 #define wxUSE_FS_ZIP 1
19610 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19611 cat >> confdefs.h
<<\EOF
19612 #define wxUSE_ZIPSTREAM 1
19617 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19618 cat >> confdefs.h
<<\EOF
19619 #define wxUSE_ON_FATAL_EXCEPTION 1
19624 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19625 cat >> confdefs.h
<<\EOF
19626 #define wxUSE_SNGLINST_CHECKER 1
19631 if test "$wxUSE_BUSYINFO" = "yes"; then
19632 cat >> confdefs.h
<<\EOF
19633 #define wxUSE_BUSYINFO 1
19638 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19639 cat >> confdefs.h
<<\EOF
19640 #define wxUSE_STD_IOSTREAM 1
19645 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19646 cat >> confdefs.h
<<\EOF
19647 #define wxUSE_TEXTBUFFER 1
19652 if test "$wxUSE_TEXTFILE" = "yes"; then
19653 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19654 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19656 cat >> confdefs.h
<<\EOF
19657 #define wxUSE_TEXTFILE 1
19663 if test "$wxUSE_CONFIG" = "yes" ; then
19664 if test "$wxUSE_TEXTFILE" != "yes"; then
19665 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19667 cat >> confdefs.h
<<\EOF
19668 #define wxUSE_CONFIG 1
19671 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19675 if test "$wxUSE_INTL" = "yes" ; then
19676 if test "$wxUSE_FILE" != "yes"; then
19677 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19679 cat >> confdefs.h
<<\EOF
19680 #define wxUSE_INTL 1
19683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19684 GUIDIST
="$GUIDIST INTL_DIST"
19688 if test "$wxUSE_LOG" = "yes"; then
19689 cat >> confdefs.h
<<\EOF
19690 #define wxUSE_LOG 1
19694 if test "$wxUSE_LOGGUI" = "yes"; then
19695 cat >> confdefs.h
<<\EOF
19696 #define wxUSE_LOGGUI 1
19701 if test "$wxUSE_LOGWINDOW" = "yes"; then
19702 cat >> confdefs.h
<<\EOF
19703 #define wxUSE_LOGWINDOW 1
19708 if test "$wxUSE_LOGDIALOG" = "yes"; then
19709 cat >> confdefs.h
<<\EOF
19710 #define wxUSE_LOG_DIALOG 1
19716 if test "$wxUSE_LONGLONG" = "yes"; then
19717 cat >> confdefs.h
<<\EOF
19718 #define wxUSE_LONGLONG 1
19723 if test "$wxUSE_GEOMETRY" = "yes"; then
19724 cat >> confdefs.h
<<\EOF
19725 #define wxUSE_GEOMETRY 1
19730 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19731 cat >> confdefs.h
<<\EOF
19732 #define wxUSE_DIALUP_MANAGER 1
19735 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19738 if test "$wxUSE_STREAMS" = "yes" ; then
19739 cat >> confdefs.h
<<\EOF
19740 #define wxUSE_STREAMS 1
19746 if test "$wxUSE_DATETIME" = "yes"; then
19747 for ac_func
in strptime
19749 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19750 echo "configure:19751: checking for $ac_func" >&5
19751 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19752 echo $ac_n "(cached) $ac_c" 1>&6
19754 cat > conftest.
$ac_ext <<EOF
19755 #line 19756 "configure"
19756 #include "confdefs.h"
19757 /* System header to define __stub macros and hopefully few prototypes,
19758 which can conflict with char $ac_func(); below. */
19759 #include <assert.h>
19760 /* Override any gcc2 internal prototype to avoid an error. */
19761 /* We use char because int might match the return type of a gcc2
19762 builtin and then its argument prototype would still apply. */
19767 /* The GNU C library defines this for functions which it implements
19768 to always fail with ENOSYS. Some functions are actually named
19769 something starting with __ and the normal name is an alias. */
19770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19778 if { (eval echo configure
:19779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19780 eval "ac_cv_func_$ac_func=yes"
19782 echo "configure: failed program was:" >&5
19783 cat conftest.
$ac_ext >&5
19785 eval "ac_cv_func_$ac_func=no"
19790 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19791 echo "$ac_t""yes" 1>&6
19792 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19793 cat >> confdefs.h
<<EOF
19794 #define $ac_tr_func 1
19798 echo "$ac_t""no" 1>&6
19803 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19804 echo "configure:19805: checking for timezone variable in <time.h>" >&5
19805 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19806 echo $ac_n "(cached) $ac_c" 1>&6
19809 cat > conftest.
$ac_ext <<EOF
19810 #line 19811 "configure"
19811 #include "confdefs.h"
19822 if { (eval echo configure
:19823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19825 wx_cv_var_timezone
=timezone
19828 echo "configure: failed program was:" >&5
19829 cat conftest.
$ac_ext >&5
19832 cat > conftest.
$ac_ext <<EOF
19833 #line 19834 "configure"
19834 #include "confdefs.h"
19845 if { (eval echo configure
:19846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19848 wx_cv_var_timezone
=_timezone
19851 echo "configure: failed program was:" >&5
19852 cat conftest.
$ac_ext >&5
19855 cat > conftest.
$ac_ext <<EOF
19856 #line 19857 "configure"
19857 #include "confdefs.h"
19868 if { (eval echo configure
:19869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19871 wx_cv_var_timezone
=__timezone
19874 echo "configure: failed program was:" >&5
19875 cat conftest.
$ac_ext >&5
19878 if test "$USE_DOS" = 0 ; then
19879 echo "configure: warning: no timezone variable" 1>&2
19897 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19899 if test "x$wx_cv_var_timezone" != x
; then
19900 cat >> confdefs.h
<<EOF
19901 #define WX_TIMEZONE $wx_cv_var_timezone
19906 for ac_func
in localtime
19908 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19909 echo "configure:19910: checking for $ac_func" >&5
19910 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19911 echo $ac_n "(cached) $ac_c" 1>&6
19913 cat > conftest.
$ac_ext <<EOF
19914 #line 19915 "configure"
19915 #include "confdefs.h"
19916 /* System header to define __stub macros and hopefully few prototypes,
19917 which can conflict with char $ac_func(); below. */
19918 #include <assert.h>
19919 /* Override any gcc2 internal prototype to avoid an error. */
19920 /* We use char because int might match the return type of a gcc2
19921 builtin and then its argument prototype would still apply. */
19926 /* The GNU C library defines this for functions which it implements
19927 to always fail with ENOSYS. Some functions are actually named
19928 something starting with __ and the normal name is an alias. */
19929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19937 if { (eval echo configure
:19938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19939 eval "ac_cv_func_$ac_func=yes"
19941 echo "configure: failed program was:" >&5
19942 cat conftest.
$ac_ext >&5
19944 eval "ac_cv_func_$ac_func=no"
19949 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19950 echo "$ac_t""yes" 1>&6
19951 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19952 cat >> confdefs.h
<<EOF
19953 #define $ac_tr_func 1
19957 echo "$ac_t""no" 1>&6
19962 if test "$ac_cv_func_localtime" = "yes"; then
19963 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
19964 echo "configure:19965: checking for tm_gmtoff in struct tm" >&5
19965 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
19966 echo $ac_n "(cached) $ac_c" 1>&6
19969 cat > conftest.
$ac_ext <<EOF
19970 #line 19971 "configure"
19971 #include "confdefs.h"
19982 if { (eval echo configure
:19983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19985 wx_cv_struct_tm_has_gmtoff
=yes
19988 echo "configure: failed program was:" >&5
19989 cat conftest.
$ac_ext >&5
19991 wx_cv_struct_tm_has_gmtoff
=no
19998 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20001 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20002 cat >> confdefs.h
<<\EOF
20003 #define WX_GMTOFF_IN_TM 1
20008 for ac_func
in gettimeofday ftime
20010 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20011 echo "configure:20012: checking for $ac_func" >&5
20012 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20013 echo $ac_n "(cached) $ac_c" 1>&6
20015 cat > conftest.
$ac_ext <<EOF
20016 #line 20017 "configure"
20017 #include "confdefs.h"
20018 /* System header to define __stub macros and hopefully few prototypes,
20019 which can conflict with char $ac_func(); below. */
20020 #include <assert.h>
20021 /* Override any gcc2 internal prototype to avoid an error. */
20022 /* We use char because int might match the return type of a gcc2
20023 builtin and then its argument prototype would still apply. */
20028 /* The GNU C library defines this for functions which it implements
20029 to always fail with ENOSYS. Some functions are actually named
20030 something starting with __ and the normal name is an alias. */
20031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20039 if { (eval echo configure
:20040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20041 eval "ac_cv_func_$ac_func=yes"
20043 echo "configure: failed program was:" >&5
20044 cat conftest.
$ac_ext >&5
20046 eval "ac_cv_func_$ac_func=no"
20051 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20052 echo "$ac_t""yes" 1>&6
20053 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20054 cat >> confdefs.h
<<EOF
20055 #define $ac_tr_func 1
20059 echo "$ac_t""no" 1>&6
20064 if test "$ac_cv_func_gettimeofday" = "yes"; then
20065 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20066 echo "configure:20067: checking whether gettimeofday takes two arguments" >&5
20067 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20068 echo $ac_n "(cached) $ac_c" 1>&6
20073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20074 ac_cpp
='$CXXCPP $CPPFLAGS'
20075 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20076 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20077 cross_compiling
=$ac_cv_prog_cxx_cross
20080 cat > conftest.
$ac_ext <<EOF
20081 #line 20082 "configure"
20082 #include "confdefs.h"
20084 #include <sys/time.h>
20085 #include <unistd.h>
20090 gettimeofday(&tv, NULL);
20094 if { (eval echo configure
:20095: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20096 wx_cv_func_gettimeofday_has_2_args
=yes
20098 echo "configure: failed program was:" >&5
20099 cat conftest.
$ac_ext >&5
20101 cat > conftest.
$ac_ext <<EOF
20102 #line 20103 "configure"
20103 #include "confdefs.h"
20105 #include <sys/time.h>
20106 #include <unistd.h>
20115 if { (eval echo configure
:20116: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20117 wx_cv_func_gettimeofday_has_2_args
=no
20119 echo "configure: failed program was:" >&5
20120 cat conftest.
$ac_ext >&5
20123 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20124 wx_cv_func_gettimeofday_has_2_args
=unknown
20133 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20134 ac_cpp
='$CPP $CPPFLAGS'
20135 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20136 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20137 cross_compiling
=$ac_cv_prog_cc_cross
20142 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20144 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20145 cat >> confdefs.h
<<\EOF
20146 #define WX_GETTIMEOFDAY_NO_TZ 1
20152 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20156 if test "$wxUSE_SOCKETS" = "yes"; then
20157 if test "$wxUSE_MGL" = "1"; then
20158 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20163 if test "$wxUSE_SOCKETS" = "yes"; then
20164 if test "$TOOLKIT" != "MSW"; then
20165 echo $ac_n "checking for socket""... $ac_c" 1>&6
20166 echo "configure:20167: checking for socket" >&5
20167 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20168 echo $ac_n "(cached) $ac_c" 1>&6
20170 cat > conftest.
$ac_ext <<EOF
20171 #line 20172 "configure"
20172 #include "confdefs.h"
20173 /* System header to define __stub macros and hopefully few prototypes,
20174 which can conflict with char socket(); below. */
20175 #include <assert.h>
20176 /* Override any gcc2 internal prototype to avoid an error. */
20177 /* We use char because int might match the return type of a gcc2
20178 builtin and then its argument prototype would still apply. */
20183 /* The GNU C library defines this for functions which it implements
20184 to always fail with ENOSYS. Some functions are actually named
20185 something starting with __ and the normal name is an alias. */
20186 #if defined (__stub_socket) || defined (__stub___socket)
20194 if { (eval echo configure
:20195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20196 eval "ac_cv_func_socket=yes"
20198 echo "configure: failed program was:" >&5
20199 cat conftest.
$ac_ext >&5
20201 eval "ac_cv_func_socket=no"
20206 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20207 echo "$ac_t""yes" 1>&6
20210 echo "$ac_t""no" 1>&6
20211 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20212 echo "configure:20213: checking for socket in -lsocket" >&5
20213 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20215 echo $ac_n "(cached) $ac_c" 1>&6
20217 ac_save_LIBS
="$LIBS"
20218 LIBS
="-lsocket $LIBS"
20219 cat > conftest.
$ac_ext <<EOF
20220 #line 20221 "configure"
20221 #include "confdefs.h"
20222 /* Override any gcc2 internal prototype to avoid an error. */
20223 /* We use char because int might match the return type of a gcc2
20224 builtin and then its argument prototype would still apply. */
20231 if { (eval echo configure
:20232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20233 eval "ac_cv_lib_$ac_lib_var=yes"
20235 echo "configure: failed program was:" >&5
20236 cat conftest.
$ac_ext >&5
20238 eval "ac_cv_lib_$ac_lib_var=no"
20241 LIBS
="$ac_save_LIBS"
20244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20245 echo "$ac_t""yes" 1>&6
20246 if test "$INET_LINK" != " -lsocket"; then
20247 INET_LINK
="$INET_LINK -lsocket"
20250 echo "$ac_t""no" 1>&6
20252 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20264 if test "$wxUSE_SOCKETS" = "yes" ; then
20265 if test "$TOOLKIT" != "MSW"; then
20266 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20267 echo "configure:20268: checking what is the type of the third argument of getsockname" >&5
20268 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20269 echo $ac_n "(cached) $ac_c" 1>&6
20274 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20275 ac_cpp
='$CXXCPP $CPPFLAGS'
20276 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20277 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20278 cross_compiling
=$ac_cv_prog_cxx_cross
20281 cat > conftest.
$ac_ext <<EOF
20282 #line 20283 "configure"
20283 #include "confdefs.h"
20285 #include <sys/types.h>
20286 #include <sys/socket.h>
20291 getsockname(0, 0, &len);
20295 if { (eval echo configure
:20296: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20297 wx_cv_type_getsockname3
=socklen_t
20299 echo "configure: failed program was:" >&5
20300 cat conftest.
$ac_ext >&5
20302 cat > conftest.
$ac_ext <<EOF
20303 #line 20304 "configure"
20304 #include "confdefs.h"
20306 #include <sys/types.h>
20307 #include <sys/socket.h>
20312 getsockname(0, 0, &len);
20316 if { (eval echo configure
:20317: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20318 wx_cv_type_getsockname3
=size_t
20320 echo "configure: failed program was:" >&5
20321 cat conftest.
$ac_ext >&5
20323 cat > conftest.
$ac_ext <<EOF
20324 #line 20325 "configure"
20325 #include "confdefs.h"
20327 #include <sys/types.h>
20328 #include <sys/socket.h>
20333 getsockname(0, 0, &len);
20337 if { (eval echo configure
:20338: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20339 wx_cv_type_getsockname3
=int
20341 echo "configure: failed program was:" >&5
20342 cat conftest.
$ac_ext >&5
20344 wx_cv_type_getsockname3
=unknown
20356 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20357 ac_cpp
='$CPP $CPPFLAGS'
20358 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20359 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20360 cross_compiling
=$ac_cv_prog_cc_cross
20365 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20367 if test "$wx_cv_type_getsockname3" = "unknown"; then
20369 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20371 cat >> confdefs.h
<<EOF
20372 #define SOCKLEN_T $wx_cv_type_getsockname3
20379 if test "$wxUSE_SOCKETS" = "yes" ; then
20380 cat >> confdefs.h
<<\EOF
20381 #define wxUSE_SOCKETS 1
20384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20388 if test "$wxUSE_GUI" = "yes"; then
20390 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20391 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20394 if test "$TOOLKIT" = "MOTIF"; then
20395 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20398 if test "$TOOLKIT" = "X11"; then
20399 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20403 if test "$TOOLKIT" != "MSW"; then
20404 if test "$wxUSE_JOYSTICK" = "yes"; then
20405 for ac_hdr
in linux
/joystick.h
20407 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20408 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20409 echo "configure:20410: checking for $ac_hdr" >&5
20410 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20411 echo $ac_n "(cached) $ac_c" 1>&6
20413 cat > conftest.
$ac_ext <<EOF
20414 #line 20415 "configure"
20415 #include "confdefs.h"
20418 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20419 { (eval echo configure
:20420: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20420 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20421 if test -z "$ac_err"; then
20423 eval "ac_cv_header_$ac_safe=yes"
20426 echo "configure: failed program was:" >&5
20427 cat conftest.
$ac_ext >&5
20429 eval "ac_cv_header_$ac_safe=no"
20433 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20434 echo "$ac_t""yes" 1>&6
20435 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20436 cat >> confdefs.h
<<EOF
20437 #define $ac_tr_hdr 1
20441 echo "$ac_t""no" 1>&6
20445 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20447 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20452 if test "$wxUSE_JOYSTICK" = "yes"; then
20453 cat >> confdefs.h
<<\EOF
20454 #define wxUSE_JOYSTICK 1
20457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20462 if test "$TOOLKIT" != "MSW"; then
20466 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20467 if test "$USE_DARWIN" = 1; then
20470 for ac_func
in dlopen
20472 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20473 echo "configure:20474: checking for $ac_func" >&5
20474 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20475 echo $ac_n "(cached) $ac_c" 1>&6
20477 cat > conftest.
$ac_ext <<EOF
20478 #line 20479 "configure"
20479 #include "confdefs.h"
20480 /* System header to define __stub macros and hopefully few prototypes,
20481 which can conflict with char $ac_func(); below. */
20482 #include <assert.h>
20483 /* Override any gcc2 internal prototype to avoid an error. */
20484 /* We use char because int might match the return type of a gcc2
20485 builtin and then its argument prototype would still apply. */
20490 /* The GNU C library defines this for functions which it implements
20491 to always fail with ENOSYS. Some functions are actually named
20492 something starting with __ and the normal name is an alias. */
20493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20501 if { (eval echo configure
:20502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20503 eval "ac_cv_func_$ac_func=yes"
20505 echo "configure: failed program was:" >&5
20506 cat conftest.
$ac_ext >&5
20508 eval "ac_cv_func_$ac_func=no"
20513 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20514 echo "$ac_t""yes" 1>&6
20515 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20516 cat >> confdefs.h
<<EOF
20517 #define $ac_tr_func 1
20520 cat >> confdefs.h
<<\EOF
20521 #define HAVE_DLOPEN 1
20527 echo "$ac_t""no" 1>&6
20528 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20529 echo "configure:20530: checking for dlopen in -ldl" >&5
20530 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20531 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20532 echo $ac_n "(cached) $ac_c" 1>&6
20534 ac_save_LIBS
="$LIBS"
20536 cat > conftest.
$ac_ext <<EOF
20537 #line 20538 "configure"
20538 #include "confdefs.h"
20539 /* Override any gcc2 internal prototype to avoid an error. */
20540 /* We use char because int might match the return type of a gcc2
20541 builtin and then its argument prototype would still apply. */
20548 if { (eval echo configure
:20549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20550 eval "ac_cv_lib_$ac_lib_var=yes"
20552 echo "configure: failed program was:" >&5
20553 cat conftest.
$ac_ext >&5
20555 eval "ac_cv_lib_$ac_lib_var=no"
20558 LIBS
="$ac_save_LIBS"
20561 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20562 echo "$ac_t""yes" 1>&6
20564 cat >> confdefs.h
<<\EOF
20565 #define HAVE_DLOPEN 1
20569 DL_LINK
=" -ldl$DL_LINK"
20572 echo "$ac_t""no" 1>&6
20574 for ac_func
in shl_load
20576 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20577 echo "configure:20578: checking for $ac_func" >&5
20578 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20579 echo $ac_n "(cached) $ac_c" 1>&6
20581 cat > conftest.
$ac_ext <<EOF
20582 #line 20583 "configure"
20583 #include "confdefs.h"
20584 /* System header to define __stub macros and hopefully few prototypes,
20585 which can conflict with char $ac_func(); below. */
20586 #include <assert.h>
20587 /* Override any gcc2 internal prototype to avoid an error. */
20588 /* We use char because int might match the return type of a gcc2
20589 builtin and then its argument prototype would still apply. */
20594 /* The GNU C library defines this for functions which it implements
20595 to always fail with ENOSYS. Some functions are actually named
20596 something starting with __ and the normal name is an alias. */
20597 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20605 if { (eval echo configure
:20606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20607 eval "ac_cv_func_$ac_func=yes"
20609 echo "configure: failed program was:" >&5
20610 cat conftest.
$ac_ext >&5
20612 eval "ac_cv_func_$ac_func=no"
20617 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20618 echo "$ac_t""yes" 1>&6
20619 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20620 cat >> confdefs.h
<<EOF
20621 #define $ac_tr_func 1
20624 cat >> confdefs.h
<<\EOF
20625 #define HAVE_SHL_LOAD 1
20631 echo "$ac_t""no" 1>&6
20632 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20633 echo "configure:20634: checking for dld in -lshl_load" >&5
20634 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20635 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20636 echo $ac_n "(cached) $ac_c" 1>&6
20638 ac_save_LIBS
="$LIBS"
20639 LIBS
="-lshl_load $LIBS"
20640 cat > conftest.
$ac_ext <<EOF
20641 #line 20642 "configure"
20642 #include "confdefs.h"
20643 /* Override any gcc2 internal prototype to avoid an error. */
20644 /* We use char because int might match the return type of a gcc2
20645 builtin and then its argument prototype would still apply. */
20652 if { (eval echo configure
:20653: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20654 eval "ac_cv_lib_$ac_lib_var=yes"
20656 echo "configure: failed program was:" >&5
20657 cat conftest.
$ac_ext >&5
20659 eval "ac_cv_lib_$ac_lib_var=no"
20662 LIBS
="$ac_save_LIBS"
20665 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20666 echo "$ac_t""yes" 1>&6
20669 DL_LINK
=" -ldld$DL_LINK"
20672 echo "$ac_t""no" 1>&6
20687 if test "$HAVE_DL_FUNCS" = 1; then
20688 for ac_func
in dlerror
20690 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20691 echo "configure:20692: checking for $ac_func" >&5
20692 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20693 echo $ac_n "(cached) $ac_c" 1>&6
20695 cat > conftest.
$ac_ext <<EOF
20696 #line 20697 "configure"
20697 #include "confdefs.h"
20698 /* System header to define __stub macros and hopefully few prototypes,
20699 which can conflict with char $ac_func(); below. */
20700 #include <assert.h>
20701 /* Override any gcc2 internal prototype to avoid an error. */
20702 /* We use char because int might match the return type of a gcc2
20703 builtin and then its argument prototype would still apply. */
20708 /* The GNU C library defines this for functions which it implements
20709 to always fail with ENOSYS. Some functions are actually named
20710 something starting with __ and the normal name is an alias. */
20711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20719 if { (eval echo configure
:20720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20721 eval "ac_cv_func_$ac_func=yes"
20723 echo "configure: failed program was:" >&5
20724 cat conftest.
$ac_ext >&5
20726 eval "ac_cv_func_$ac_func=no"
20731 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20732 echo "$ac_t""yes" 1>&6
20733 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20734 cat >> confdefs.h
<<EOF
20735 #define $ac_tr_func 1
20737 cat >> confdefs.h
<<\EOF
20738 #define HAVE_DLERROR 1
20742 echo "$ac_t""no" 1>&6
20743 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20744 echo "configure:20745: checking for dlerror in -ldl" >&5
20745 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20746 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20747 echo $ac_n "(cached) $ac_c" 1>&6
20749 ac_save_LIBS
="$LIBS"
20751 cat > conftest.
$ac_ext <<EOF
20752 #line 20753 "configure"
20753 #include "confdefs.h"
20754 /* Override any gcc2 internal prototype to avoid an error. */
20755 /* We use char because int might match the return type of a gcc2
20756 builtin and then its argument prototype would still apply. */
20763 if { (eval echo configure
:20764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20765 eval "ac_cv_lib_$ac_lib_var=yes"
20767 echo "configure: failed program was:" >&5
20768 cat conftest.
$ac_ext >&5
20770 eval "ac_cv_lib_$ac_lib_var=no"
20773 LIBS
="$ac_save_LIBS"
20776 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20777 echo "$ac_t""yes" 1>&6
20778 cat >> confdefs.h
<<\EOF
20779 #define HAVE_DLERROR 1
20783 echo "$ac_t""no" 1>&6
20792 if test "$HAVE_DL_FUNCS" = 0; then
20793 if test "$HAVE_SHL_FUNCS" = 0; then
20794 if test "$USE_UNIX" = 1; then
20795 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20796 wxUSE_DYNAMIC_LOADER
=no
20797 wxUSE_DYNLIB_CLASS
=no
20799 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20806 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20807 cat >> confdefs.h
<<\EOF
20808 #define wxUSE_DYNAMIC_LOADER 1
20811 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20812 cat >> confdefs.h
<<\EOF
20813 #define wxUSE_DYNLIB_CLASS 1
20819 if test "$wxUSE_FONTMAP" = "yes" ; then
20820 cat >> confdefs.h
<<\EOF
20821 #define wxUSE_FONTMAP 1
20826 if test "$wxUSE_UNICODE" = "yes" ; then
20827 cat >> confdefs.h
<<\EOF
20828 #define wxUSE_UNICODE 1
20832 if test "$wxUSE_MSW" != 1; then
20833 wxUSE_UNICODE_MSLU
=no
20836 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20837 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20838 echo "configure:20839: checking for main in -lunicows" >&5
20839 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20840 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20841 echo $ac_n "(cached) $ac_c" 1>&6
20843 ac_save_LIBS
="$LIBS"
20844 LIBS
="-lunicows $LIBS"
20845 cat > conftest.
$ac_ext <<EOF
20846 #line 20847 "configure"
20847 #include "confdefs.h"
20853 if { (eval echo configure
:20854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20855 eval "ac_cv_lib_$ac_lib_var=yes"
20857 echo "configure: failed program was:" >&5
20858 cat conftest.
$ac_ext >&5
20860 eval "ac_cv_lib_$ac_lib_var=no"
20863 LIBS
="$ac_save_LIBS"
20866 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20867 echo "$ac_t""yes" 1>&6
20869 cat >> confdefs.h
<<\EOF
20870 #define wxUSE_UNICODE_MSLU 1
20875 echo "$ac_t""no" 1>&6
20877 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20878 Applications will only run on Windows NT/2000/XP!" 1>&2
20879 wxUSE_UNICODE_MSLU
=no
20886 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20887 cat >> confdefs.h
<<\EOF
20888 #define wxUSE_EXPERIMENTAL_PRINTF 1
20896 if test "$wxUSE_ODBC" = "yes" ; then
20897 cat >> confdefs.h
<<\EOF
20898 #define wxUSE_ODBC 1
20901 WXODBCFLAG
="-D_IODBC_"
20902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20906 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20907 cat >> confdefs.h
<<\EOF
20908 #define wxUSE_POSTSCRIPT 1
20913 cat >> confdefs.h
<<\EOF
20914 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20918 cat >> confdefs.h
<<\EOF
20919 #define wxUSE_NORMALIZED_PS_FONTS 1
20924 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20925 cat >> confdefs.h
<<\EOF
20926 #define wxUSE_CONSTRAINTS 1
20929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20932 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20935 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20936 cat >> confdefs.h
<<\EOF
20937 #define wxUSE_MDI_ARCHITECTURE 1
20940 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20944 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20945 cat >> confdefs.h
<<\EOF
20946 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20950 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
20955 if test "$wxUSE_HELP" = "yes"; then
20956 cat >> confdefs.h
<<\EOF
20957 #define wxUSE_HELP 1
20960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
20962 if test "$wxUSE_MSW" = 1; then
20963 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
20964 cat >> confdefs.h
<<\EOF
20965 #define wxUSE_MS_HTML_HELP 1
20971 if test "$wxUSE_WXHTML_HELP" = "yes"; then
20972 if test "$wxUSE_HTML" = "yes"; then
20973 cat >> confdefs.h
<<\EOF
20974 #define wxUSE_WXHTML_HELP 1
20978 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
20979 wxUSE_WXHTML_HELP
=no
20984 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20985 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20986 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
20988 cat >> confdefs.h
<<\EOF
20989 #define wxUSE_PRINTING_ARCHITECTURE 1
20993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
20998 if test "$wxUSE_X_RESOURCES" = "yes"; then
20999 cat >> confdefs.h
<<\EOF
21000 #define wxUSE_X_RESOURCES 1
21006 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21007 -o "$wxUSE_CLIPBOARD" = "yes" \
21008 -o "$wxUSE_OLE" = "yes" \
21009 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21010 for ac_hdr
in ole2.h
21012 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21013 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21014 echo "configure:21015: checking for $ac_hdr" >&5
21015 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21016 echo $ac_n "(cached) $ac_c" 1>&6
21018 cat > conftest.
$ac_ext <<EOF
21019 #line 21020 "configure"
21020 #include "confdefs.h"
21023 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21024 { (eval echo configure
:21025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21025 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21026 if test -z "$ac_err"; then
21028 eval "ac_cv_header_$ac_safe=yes"
21031 echo "configure: failed program was:" >&5
21032 cat conftest.
$ac_ext >&5
21034 eval "ac_cv_header_$ac_safe=no"
21038 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21039 echo "$ac_t""yes" 1>&6
21040 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21041 cat >> confdefs.h
<<EOF
21042 #define $ac_tr_hdr 1
21046 echo "$ac_t""no" 1>&6
21051 if test "$ac_cv_header_ole2_h" = "yes" ; then
21052 if test "$GCC" = yes ; then
21055 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21056 ac_cpp
='$CXXCPP $CPPFLAGS'
21057 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21058 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21059 cross_compiling
=$ac_cv_prog_cxx_cross
21062 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21063 echo "configure:21064: checking if g++ requires -fvtable-thunks" >&5
21064 cat > conftest.
$ac_ext <<EOF
21065 #line 21066 "configure"
21066 #include "confdefs.h"
21067 #include <windows.h>
21073 if { (eval echo configure
:21074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21075 echo "$ac_t""no" 1>&6
21077 echo "configure: failed program was:" >&5
21078 cat conftest.
$ac_ext >&5
21080 echo "$ac_t""yes" 1>&6
21081 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21085 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21086 ac_cpp
='$CPP $CPPFLAGS'
21087 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21088 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21089 cross_compiling
=$ac_cv_prog_cc_cross
21091 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21092 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21093 cat >> confdefs.h
<<\EOF
21094 #define wxUSE_OLE 1
21100 cat >> confdefs.h
<<\EOF
21101 #define wxUSE_DATAOBJ 1
21105 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21108 wxUSE_DRAG_AND_DROP
=no
21113 if test "$wxUSE_METAFILE" = "yes"; then
21114 cat >> confdefs.h
<<\EOF
21115 #define wxUSE_METAFILE 1
21119 cat >> confdefs.h
<<\EOF
21120 #define wxUSE_ENH_METAFILE 1
21126 if test "$wxUSE_IPC" = "yes"; then
21127 if test "$wxUSE_SOCKETS" != "yes"; then
21128 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21131 cat >> confdefs.h
<<\EOF
21132 #define wxUSE_IPC 1
21137 if test "$wxUSE_CLIPBOARD" = "yes"; then
21138 if test "$wxUSE_MGL" = 1; then
21139 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21143 if test "$wxUSE_CLIPBOARD" = "yes"; then
21144 cat >> confdefs.h
<<\EOF
21145 #define wxUSE_CLIPBOARD 1
21149 cat >> confdefs.h
<<\EOF
21150 #define wxUSE_DATAOBJ 1
21156 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21157 if test "$wxUSE_GTK" = 1; then
21158 if test "$WXGTK12" != 1; then
21159 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21160 wxUSE_DRAG_AND_DROP
=no
21164 if test "$wxUSE_MOTIF" = 1; then
21165 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21166 wxUSE_DRAG_AND_DROP
=no
21169 if test "$wxUSE_X11" = 1; then
21170 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21171 wxUSE_DRAG_AND_DROP
=no
21174 if test "$wxUSE_MGL" = 1; then
21175 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21176 wxUSE_DRAG_AND_DROP
=no
21179 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21180 cat >> confdefs.h
<<\EOF
21181 #define wxUSE_DRAG_AND_DROP 1
21184 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21189 if test "$wxUSE_SPLINES" = "yes" ; then
21190 cat >> confdefs.h
<<\EOF
21191 #define wxUSE_SPLINES 1
21198 if test "$wxUSE_CONTROLS" = "yes"; then
21202 if test "$wxUSE_ACCEL" = "yes"; then
21203 cat >> confdefs.h
<<\EOF
21204 #define wxUSE_ACCEL 1
21210 if test "$wxUSE_BUTTON" = "yes"; then
21211 cat >> confdefs.h
<<\EOF
21212 #define wxUSE_BUTTON 1
21218 if test "$wxUSE_BMPBUTTON" = "yes"; then
21219 cat >> confdefs.h
<<\EOF
21220 #define wxUSE_BMPBUTTON 1
21226 if test "$wxUSE_CALCTRL" = "yes"; then
21227 cat >> confdefs.h
<<\EOF
21228 #define wxUSE_CALENDARCTRL 1
21232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21235 if test "$wxUSE_CARET" = "yes"; then
21236 cat >> confdefs.h
<<\EOF
21237 #define wxUSE_CARET 1
21241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21244 if test "$wxUSE_COMBOBOX" = "yes"; then
21245 cat >> confdefs.h
<<\EOF
21246 #define wxUSE_COMBOBOX 1
21252 if test "$wxUSE_CHOICE" = "yes"; then
21253 cat >> confdefs.h
<<\EOF
21254 #define wxUSE_CHOICE 1
21260 if test "$wxUSE_CHECKBOX" = "yes"; then
21261 cat >> confdefs.h
<<\EOF
21262 #define wxUSE_CHECKBOX 1
21268 if test "$wxUSE_CHECKLST" = "yes"; then
21269 cat >> confdefs.h
<<\EOF
21270 #define wxUSE_CHECKLISTBOX 1
21274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21277 if test "$wxUSE_DISPLAY" = "yes"; then
21278 cat >> confdefs.h
<<\EOF
21279 #define wxUSE_DISPLAY 1
21282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21285 if test "$wxUSE_GAUGE" = "yes"; then
21286 cat >> confdefs.h
<<\EOF
21287 #define wxUSE_GAUGE 1
21293 if test "$wxUSE_GRID" = "yes"; then
21294 cat >> confdefs.h
<<\EOF
21295 #define wxUSE_GRID 1
21299 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21302 if test "$wxUSE_IMAGLIST" = "yes"; then
21303 cat >> confdefs.h
<<\EOF
21304 #define wxUSE_IMAGLIST 1
21309 if test "$wxUSE_LISTBOX" = "yes"; then
21310 cat >> confdefs.h
<<\EOF
21311 #define wxUSE_LISTBOX 1
21317 if test "$wxUSE_LISTCTRL" = "yes"; then
21318 if test "$wxUSE_IMAGLIST" = "yes"; then
21319 cat >> confdefs.h
<<\EOF
21320 #define wxUSE_LISTCTRL 1
21324 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21326 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21330 if test "$wxUSE_NOTEBOOK" = "yes"; then
21331 cat >> confdefs.h
<<\EOF
21332 #define wxUSE_NOTEBOOK 1
21336 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21340 if test "$wxUSE_RADIOBOX" = "yes"; then
21341 cat >> confdefs.h
<<\EOF
21342 #define wxUSE_RADIOBOX 1
21348 if test "$wxUSE_RADIOBTN" = "yes"; then
21349 cat >> confdefs.h
<<\EOF
21350 #define wxUSE_RADIOBTN 1
21356 if test "$wxUSE_SASH" = "yes"; then
21357 cat >> confdefs.h
<<\EOF
21358 #define wxUSE_SASH 1
21361 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21364 if test "$wxUSE_SCROLLBAR" = "yes"; then
21365 cat >> confdefs.h
<<\EOF
21366 #define wxUSE_SCROLLBAR 1
21370 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21373 if test "$wxUSE_SLIDER" = "yes"; then
21374 cat >> confdefs.h
<<\EOF
21375 #define wxUSE_SLIDER 1
21381 if test "$wxUSE_SPINBTN" = "yes"; then
21382 cat >> confdefs.h
<<\EOF
21383 #define wxUSE_SPINBTN 1
21389 if test "$wxUSE_SPINCTRL" = "yes"; then
21390 cat >> confdefs.h
<<\EOF
21391 #define wxUSE_SPINCTRL 1
21397 if test "$wxUSE_SPLITTER" = "yes"; then
21398 cat >> confdefs.h
<<\EOF
21399 #define wxUSE_SPLITTER 1
21402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21405 if test "$wxUSE_STATBMP" = "yes"; then
21406 cat >> confdefs.h
<<\EOF
21407 #define wxUSE_STATBMP 1
21413 if test "$wxUSE_STATBOX" = "yes"; then
21414 cat >> confdefs.h
<<\EOF
21415 #define wxUSE_STATBOX 1
21421 if test "$wxUSE_STATTEXT" = "yes"; then
21422 cat >> confdefs.h
<<\EOF
21423 #define wxUSE_STATTEXT 1
21429 if test "$wxUSE_STATLINE" = "yes"; then
21430 cat >> confdefs.h
<<\EOF
21431 #define wxUSE_STATLINE 1
21437 if test "$wxUSE_STATUSBAR" = "yes"; then
21438 cat >> confdefs.h
<<\EOF
21439 #define wxUSE_STATUSBAR 1
21444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21447 if test "$wxUSE_TABDIALOG" = "yes"; then
21448 cat >> confdefs.h
<<\EOF
21449 #define wxUSE_TAB_DIALOG 1
21452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21455 if test "$wxUSE_TEXTCTRL" = "yes"; then
21456 cat >> confdefs.h
<<\EOF
21457 #define wxUSE_TEXTCTRL 1
21461 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21464 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21465 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21466 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21469 if test "$wxUSE_UNIVERSAL" = "yes"; then
21470 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21474 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21475 cat >> confdefs.h
<<\EOF
21476 #define wxUSE_TOGGLEBTN 1
21483 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21484 cat >> confdefs.h
<<\EOF
21485 #define wxUSE_TOOLBAR_SIMPLE 1
21488 wxUSE_TOOLBAR
="yes"
21492 if test "$wxUSE_TOOLBAR" = "yes"; then
21493 cat >> confdefs.h
<<\EOF
21494 #define wxUSE_TOOLBAR 1
21499 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21500 wxUSE_TOOLBAR_NATIVE
="yes"
21503 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21504 cat >> confdefs.h
<<\EOF
21505 #define wxUSE_TOOLBAR_NATIVE 1
21511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21514 if test "$wxUSE_TOOLTIPS" = "yes"; then
21515 if test "$wxUSE_MOTIF" = 1; then
21516 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21518 if test "$wxUSE_UNIVERSAL" = "yes"; then
21519 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21521 cat >> confdefs.h
<<\EOF
21522 #define wxUSE_TOOLTIPS 1
21529 if test "$wxUSE_TREECTRL" = "yes"; then
21530 if test "$wxUSE_IMAGLIST" = "yes"; then
21531 cat >> confdefs.h
<<\EOF
21532 #define wxUSE_TREECTRL 1
21536 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21538 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21542 if test "$wxUSE_POPUPWIN" = "yes"; then
21543 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21544 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21546 if test "$wxUSE_MOTIF" = 1; then
21547 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21549 if test "$wxUSE_PM" = 1; then
21550 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21552 cat >> confdefs.h
<<\EOF
21553 #define wxUSE_POPUPWIN 1
21563 if test "$wxUSE_TIPWINDOW" = "yes"; then
21564 if test "$wxUSE_PM" = 1; then
21565 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21567 cat >> confdefs.h
<<\EOF
21568 #define wxUSE_TIPWINDOW 1
21574 if test "$USES_CONTROLS" = 1; then
21575 cat >> confdefs.h
<<\EOF
21576 #define wxUSE_CONTROLS 1
21583 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21584 cat >> confdefs.h
<<\EOF
21585 #define wxUSE_DRAGIMAGE 1
21588 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21591 if test "$wxUSE_MENUS" = "yes"; then
21592 cat >> confdefs.h
<<\EOF
21593 #define wxUSE_MENUS 1
21596 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21599 if test "$wxUSE_METAFILE" = "yes"; then
21600 cat >> confdefs.h
<<\EOF
21601 #define wxUSE_METAFILE 1
21606 if test "$wxUSE_MIMETYPE" = "yes"; then
21607 cat >> confdefs.h
<<\EOF
21608 #define wxUSE_MIMETYPE 1
21613 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21614 cat >> confdefs.h
<<\EOF
21615 #define wxUSE_SYSTEM_OPTIONS 1
21618 if test "$TOOLKIT" = "MSW"; then
21619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21624 if test "$wxUSE_PROTOCOL" = "yes"; then
21625 if test "$wxUSE_SOCKETS" != "yes"; then
21626 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21630 if test "$wxUSE_PROTOCOL" = "yes"; then
21631 cat >> confdefs.h
<<\EOF
21632 #define wxUSE_PROTOCOL 1
21636 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21637 cat >> confdefs.h
<<\EOF
21638 #define wxUSE_PROTOCOL_HTTP 1
21642 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21643 cat >> confdefs.h
<<\EOF
21644 #define wxUSE_PROTOCOL_FTP 1
21648 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21649 cat >> confdefs.h
<<\EOF
21650 #define wxUSE_PROTOCOL_FILE 1
21657 if test "$wxUSE_URL" = "yes"; then
21658 if test "$wxUSE_PROTOCOL" != "yes"; then
21659 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21662 if test "$wxUSE_URL" = "yes"; then
21663 cat >> confdefs.h
<<\EOF
21664 #define wxUSE_URL 1
21670 if test "$wxUSE_MINIFRAME" = "yes"; then
21671 cat >> confdefs.h
<<\EOF
21672 #define wxUSE_MINIFRAME 1
21675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21678 if test "$wxUSE_HTML" = "yes"; then
21679 cat >> confdefs.h
<<\EOF
21680 #define wxUSE_HTML 1
21683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21686 if test "$wxUSE_VALIDATORS" = "yes"; then
21687 cat >> confdefs.h
<<\EOF
21688 #define wxUSE_VALIDATORS 1
21691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21694 if test "$wxUSE_PALETTE" = "yes" ; then
21695 cat >> confdefs.h
<<\EOF
21696 #define wxUSE_PALETTE 1
21701 if test "$wxUSE_IMAGE" = "yes" ; then
21702 cat >> confdefs.h
<<\EOF
21703 #define wxUSE_IMAGE 1
21708 if test "$wxUSE_GIF" = "yes" ; then
21709 cat >> confdefs.h
<<\EOF
21710 #define wxUSE_GIF 1
21715 if test "$wxUSE_PCX" = "yes" ; then
21716 cat >> confdefs.h
<<\EOF
21717 #define wxUSE_PCX 1
21722 if test "$wxUSE_IFF" = "yes" ; then
21723 cat >> confdefs.h
<<\EOF
21724 #define wxUSE_IFF 1
21729 if test "$wxUSE_PNM" = "yes" ; then
21730 cat >> confdefs.h
<<\EOF
21731 #define wxUSE_PNM 1
21736 if test "$wxUSE_XPM" = "yes" ; then
21737 cat >> confdefs.h
<<\EOF
21738 #define wxUSE_XPM 1
21743 if test "$wxUSE_ICO_CUR" = "yes" ; then
21744 cat >> confdefs.h
<<\EOF
21745 #define wxUSE_ICO_CUR 1
21750 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21751 LIBS
=" -lunicows $LIBS"
21755 if test "$wxUSE_CHOICEDLG" = "yes"; then
21756 cat >> confdefs.h
<<\EOF
21757 #define wxUSE_CHOICEDLG 1
21762 if test "$wxUSE_COLOURDLG" = "yes"; then
21763 cat >> confdefs.h
<<\EOF
21764 #define wxUSE_COLOURDLG 1
21769 if test "$wxUSE_FILEDLG" = "yes"; then
21770 cat >> confdefs.h
<<\EOF
21771 #define wxUSE_FILEDLG 1
21776 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21777 cat >> confdefs.h
<<\EOF
21778 #define wxUSE_FINDREPLDLG 1
21783 if test "$wxUSE_FONTDLG" = "yes"; then
21784 cat >> confdefs.h
<<\EOF
21785 #define wxUSE_FONTDLG 1
21790 if test "$wxUSE_DIRDLG" = "yes"; then
21791 if test "$wxUSE_TREECTRL" != "yes"; then
21792 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21794 cat >> confdefs.h
<<\EOF
21795 #define wxUSE_DIRDLG 1
21801 if test "$wxUSE_MSGDLG" = "yes"; then
21802 cat >> confdefs.h
<<\EOF
21803 #define wxUSE_MSGDLG 1
21808 if test "$wxUSE_NUMBERDLG" = "yes"; then
21809 cat >> confdefs.h
<<\EOF
21810 #define wxUSE_NUMBERDLG 1
21815 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21816 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21817 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21819 cat >> confdefs.h
<<\EOF
21820 #define wxUSE_PROGRESSDLG 1
21826 if test "$wxUSE_SPLASH" = "yes"; then
21827 cat >> confdefs.h
<<\EOF
21828 #define wxUSE_SPLASH 1
21833 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21834 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21835 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21837 cat >> confdefs.h
<<\EOF
21838 #define wxUSE_STARTUP_TIPS 1
21844 if test "$wxUSE_TEXTDLG" = "yes"; then
21845 cat >> confdefs.h
<<\EOF
21846 #define wxUSE_TEXTDLG 1
21851 if test "$wxUSE_WIZARDDLG" = "yes"; then
21852 cat >> confdefs.h
<<\EOF
21853 #define wxUSE_WIZARDDLG 1
21856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21860 if test "$cross_compiling" = "yes"; then
21863 OSINFO
=`uname -s -r -m`
21864 OSINFO
="\"$OSINFO\""
21867 cat >> confdefs.h
<<EOF
21868 #define WXWIN_OS_DESCRIPTION $OSINFO
21873 if test "x$prefix" != "xNONE"; then
21876 wxPREFIX
=$ac_default_prefix
21879 cat >> confdefs.h
<<EOF
21880 #define wxINSTALL_PREFIX "$wxPREFIX"
21889 if test "$wxUSE_MAC" = 1 ; then
21890 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21892 if test "$wxUSE_COCOA" = 1 ; then
21893 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
21897 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21904 echo "configure:21905: checking for $ac_func" >&5
21905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21906 echo $ac_n "(cached) $ac_c" 1>&6
21908 cat > conftest.
$ac_ext <<EOF
21909 #line 21910 "configure"
21910 #include "confdefs.h"
21911 /* System header to define __stub macros and hopefully few prototypes,
21912 which can conflict with char $ac_func(); below. */
21913 #include <assert.h>
21914 /* Override any gcc2 internal prototype to avoid an error. */
21915 /* We use char because int might match the return type of a gcc2
21916 builtin and then its argument prototype would still apply. */
21921 /* The GNU C library defines this for functions which it implements
21922 to always fail with ENOSYS. Some functions are actually named
21923 something starting with __ and the normal name is an alias. */
21924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21932 if { (eval echo configure
:21933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21934 eval "ac_cv_func_$ac_func=yes"
21936 echo "configure: failed program was:" >&5
21937 cat conftest.
$ac_ext >&5
21939 eval "ac_cv_func_$ac_func=no"
21944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21945 echo "$ac_t""yes" 1>&6
21946 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21947 cat >> confdefs.h
<<EOF
21948 #define $ac_tr_func 1
21952 echo "$ac_t""no" 1>&6
21956 for ac_func
in floor
21958 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21959 echo "configure:21960: checking for $ac_func" >&5
21960 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21961 echo $ac_n "(cached) $ac_c" 1>&6
21963 cat > conftest.
$ac_ext <<EOF
21964 #line 21965 "configure"
21965 #include "confdefs.h"
21966 /* System header to define __stub macros and hopefully few prototypes,
21967 which can conflict with char $ac_func(); below. */
21968 #include <assert.h>
21969 /* Override any gcc2 internal prototype to avoid an error. */
21970 /* We use char because int might match the return type of a gcc2
21971 builtin and then its argument prototype would still apply. */
21976 /* The GNU C library defines this for functions which it implements
21977 to always fail with ENOSYS. Some functions are actually named
21978 something starting with __ and the normal name is an alias. */
21979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21987 if { (eval echo configure
:21988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21989 eval "ac_cv_func_$ac_func=yes"
21991 echo "configure: failed program was:" >&5
21992 cat conftest.
$ac_ext >&5
21994 eval "ac_cv_func_$ac_func=no"
21999 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22000 echo "$ac_t""yes" 1>&6
22001 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22002 cat >> confdefs.h
<<EOF
22003 #define $ac_tr_func 1
22007 echo "$ac_t""no" 1>&6
22011 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22012 echo "configure:22013: checking if floating point functions link without -lm" >&5
22013 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22014 echo "$ac_t""yes" 1>&6
22016 echo "$ac_t""no" 1>&6
22018 # use different functions to avoid configure caching
22023 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22024 echo "configure:22025: checking for $ac_func" >&5
22025 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22026 echo $ac_n "(cached) $ac_c" 1>&6
22028 cat > conftest.
$ac_ext <<EOF
22029 #line 22030 "configure"
22030 #include "confdefs.h"
22031 /* System header to define __stub macros and hopefully few prototypes,
22032 which can conflict with char $ac_func(); below. */
22033 #include <assert.h>
22034 /* Override any gcc2 internal prototype to avoid an error. */
22035 /* We use char because int might match the return type of a gcc2
22036 builtin and then its argument prototype would still apply. */
22041 /* The GNU C library defines this for functions which it implements
22042 to always fail with ENOSYS. Some functions are actually named
22043 something starting with __ and the normal name is an alias. */
22044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22052 if { (eval echo configure
:22053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22054 eval "ac_cv_func_$ac_func=yes"
22056 echo "configure: failed program was:" >&5
22057 cat conftest.
$ac_ext >&5
22059 eval "ac_cv_func_$ac_func=no"
22064 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22065 echo "$ac_t""yes" 1>&6
22066 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22067 cat >> confdefs.h
<<EOF
22068 #define $ac_tr_func 1
22072 echo "$ac_t""no" 1>&6
22076 for ac_func
in ceil
22078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22079 echo "configure:22080: checking for $ac_func" >&5
22080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22081 echo $ac_n "(cached) $ac_c" 1>&6
22083 cat > conftest.
$ac_ext <<EOF
22084 #line 22085 "configure"
22085 #include "confdefs.h"
22086 /* System header to define __stub macros and hopefully few prototypes,
22087 which can conflict with char $ac_func(); below. */
22088 #include <assert.h>
22089 /* Override any gcc2 internal prototype to avoid an error. */
22090 /* We use char because int might match the return type of a gcc2
22091 builtin and then its argument prototype would still apply. */
22096 /* The GNU C library defines this for functions which it implements
22097 to always fail with ENOSYS. Some functions are actually named
22098 something starting with __ and the normal name is an alias. */
22099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22107 if { (eval echo configure
:22108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22109 eval "ac_cv_func_$ac_func=yes"
22111 echo "configure: failed program was:" >&5
22112 cat conftest.
$ac_ext >&5
22114 eval "ac_cv_func_$ac_func=no"
22119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22120 echo "$ac_t""yes" 1>&6
22121 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22122 cat >> confdefs.h
<<EOF
22123 #define $ac_tr_func 1
22127 echo "$ac_t""no" 1>&6
22131 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22132 echo "configure:22133: checking if floating point functions link with -lm" >&5
22133 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22134 echo "$ac_t""yes" 1>&6
22136 echo "$ac_t""no" 1>&6
22137 # not sure we should warn the user, crash, etc.
22141 if test "$wxUSE_GUI" = "yes"; then
22143 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22147 drawing dynamic erase event exec font image \
22148 minimal propsize rotate shaped widgets"
22150 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22152 SAMPLES_SUBDIRS
="console"
22156 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22157 -I\${top_srcdir}/include \
22158 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22161 if test "$wxUSE_GTK" = 1; then
22164 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22167 if test "$GXX" = yes ; then
22168 CXXWARNINGS
="-Wall"
22170 if test "$wxUSE_NO_DEPS" = "no" ; then
22171 CFLAGS
="-MMD $CFLAGS"
22172 CXXFLAGS
="-MMD $CXXFLAGS"
22176 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22178 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22179 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22180 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22181 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22183 LDFLAGS
="$LDFLAGS $PROFILE"
22185 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22287 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22288 echo "configure:22289: checking whether ${MAKE-make} sets \${MAKE}" >&5
22289 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22290 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22291 echo $ac_n "(cached) $ac_c" 1>&6
22293 cat > conftestmake
<<\EOF
22295 @
echo 'ac_maketemp="${MAKE}"'
22297 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22298 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22299 if test -n "$ac_maketemp"; then
22300 eval ac_cv_prog_make_
${ac_make}_set
=yes
22302 eval ac_cv_prog_make_
${ac_make}_set
=no
22306 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22307 echo "$ac_t""yes" 1>&6
22310 echo "$ac_t""no" 1>&6
22311 SET_MAKE
="MAKE=${MAKE-make}"
22315 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22316 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22321 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22322 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22323 wx_cv_path_ifs
=$PATH_IFS
22324 wx_cv_program_ext
=$PROGRAM_EXT
22325 wx_cv_target_library
=$WX_TARGET_LIBRARY
22326 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22327 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22328 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22329 wx_cv_release
=${WX_RELEASE}
22330 wx_cv_current
=${WX_CURRENT}
22331 wx_cv_revision
=${WX_REVISION}
22332 wx_cv_age
=${WX_AGE}
22333 wx_cv_use_gui
=${USE_GUI}
22334 wx_cv_use_resources
=${wxUSE_RESOURCES}
22335 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22336 wx_cv_path_ifs wx_cv_program_ext \
22337 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22338 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22339 wx_cv_use_gui wx_cv_use_resources
22341 subdirs
="demos samples utils contrib"
22345 cat > confcache
<<\EOF
22346 # This file is a shell script that caches the results of configure
22347 # tests run on this system so they can be shared between configure
22348 # scripts and configure runs. It is not useful on other systems.
22349 # If it contains results you don't want to keep, you may remove or edit it.
22351 # By default, configure uses ./config.cache as the cache file,
22352 # creating it if it does not exist already. You can give configure
22353 # the --cache-file=FILE option to use a different cache file; that is
22354 # what configure does when it calls configure scripts in
22355 # subdirectories, so they share the cache.
22356 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22357 # config.status only pays attention to the cache file if you give it the
22358 # --recheck option to rerun configure.
22361 # The following way of writing the cache mishandles newlines in values,
22362 # but we know of no workaround that is simple, portable, and efficient.
22363 # So, don't put newlines in cache variables' values.
22364 # Ultrix sh set writes to stderr and can't be redirected directly,
22365 # and sets the high bit in the cache file unless we assign to the vars.
22367 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22369 # `set' does not quote correctly, so add quotes (double-quote substitution
22370 # turns \\\\ into \\, and sed turns \\ into \).
22372 -e "s/'/'\\\\''/g" \
22373 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22376 # `set' quotes correctly as required by POSIX, so do not add quotes.
22377 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22380 if cmp -s $cache_file confcache
; then
22383 if test -w $cache_file; then
22384 echo "updating cache $cache_file"
22385 cat confcache
> $cache_file
22387 echo "not updating unwritable cache $cache_file"
22392 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22394 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22395 # Let make expand exec_prefix.
22396 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22398 # Any assignment to VPATH causes Sun make to only execute
22399 # the first set of double-colon rules, so remove it if not needed.
22400 # If there is a colon in the path, we need to keep it.
22401 if test "x$srcdir" = x.
; then
22402 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22405 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22407 DEFS
=-DHAVE_CONFIG_H
22409 # Without the "./", some shells look in PATH for config.status.
22410 : ${CONFIG_STATUS=./config.status}
22412 echo creating
$CONFIG_STATUS
22413 rm -f $CONFIG_STATUS
22414 cat > $CONFIG_STATUS <<EOF
22416 # Generated automatically by configure.
22417 # Run this file to recreate the current configuration.
22418 # This directory was configured as follows,
22419 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22421 # $0 $ac_configure_args
22423 # Compiler output produced by configure, useful for debugging
22424 # configure, is in ./config.log if it exists.
22426 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22429 case "\$ac_option" in
22430 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22431 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22432 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22433 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22434 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22436 -help | --help | --hel | --he | --h)
22437 echo "\$ac_cs_usage"; exit 0 ;;
22438 *) echo "\$ac_cs_usage"; exit 1 ;;
22442 ac_given_srcdir=$srcdir
22443 ac_given_INSTALL="$INSTALL"
22445 trap 'rm -fr `echo "
22452 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22454 cat >> $CONFIG_STATUS <<EOF
22456 # Protect against being on the right side of a sed subst in config.status.
22457 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22458 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22462 s%@CFLAGS@%$CFLAGS%g
22463 s%@CPPFLAGS@%$CPPFLAGS%g
22464 s%@CXXFLAGS@%$CXXFLAGS%g
22465 s%@FFLAGS@%$FFLAGS%g
22467 s%@LDFLAGS@%$LDFLAGS%g
22469 s%@exec_prefix@%$exec_prefix%g
22470 s%@prefix@%$prefix%g
22471 s%@program_transform_name@%$program_transform_name%g
22472 s%@bindir@%$bindir%g
22473 s%@sbindir@%$sbindir%g
22474 s%@libexecdir@%$libexecdir%g
22475 s%@datadir@%$datadir%g
22476 s%@sysconfdir@%$sysconfdir%g
22477 s%@sharedstatedir@%$sharedstatedir%g
22478 s%@localstatedir@%$localstatedir%g
22479 s%@libdir@%$libdir%g
22480 s%@includedir@%$includedir%g
22481 s%@oldincludedir@%$oldincludedir%g
22482 s%@infodir@%$infodir%g
22483 s%@mandir@%$mandir%g
22485 s%@host_alias@%$host_alias%g
22486 s%@host_cpu@%$host_cpu%g
22487 s%@host_vendor@%$host_vendor%g
22488 s%@host_os@%$host_os%g
22489 s%@target@%$target%g
22490 s%@target_alias@%$target_alias%g
22491 s%@target_cpu@%$target_cpu%g
22492 s%@target_vendor@%$target_vendor%g
22493 s%@target_os@%$target_os%g
22495 s%@build_alias@%$build_alias%g
22496 s%@build_cpu@%$build_cpu%g
22497 s%@build_vendor@%$build_vendor%g
22498 s%@build_os@%$build_os%g
22502 s%@RANLIB@%$RANLIB%g
22504 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22505 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22506 s%@INSTALL_DATA@%$INSTALL_DATA%g
22508 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22511 s%@LEXLIB@%$LEXLIB%g
22513 s%@CXXCPP@%$CXXCPP%g
22514 s%@PKG_CONFIG@%$PKG_CONFIG%g
22515 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22516 s%@GTK_LIBS@%$GTK_LIBS%g
22517 s%@GTK_CONFIG@%$GTK_CONFIG%g
22518 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22519 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22520 s%@X_CFLAGS@%$X_CFLAGS%g
22521 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22522 s%@X_LIBS@%$X_LIBS%g
22523 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22524 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22525 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22526 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22527 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22528 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22529 s%@RESCOMP@%$RESCOMP%g
22531 s%@SETFILE@%$SETFILE%g
22532 s%@LIBICONV@%$LIBICONV%g
22533 s%@LEX_STEM@%$LEX_STEM%g
22534 s%@PATH_IFS@%$PATH_IFS%g
22535 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22536 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22537 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22538 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22539 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22540 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22541 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22542 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22543 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22544 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22545 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22546 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22547 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22548 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22549 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22550 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22551 s%@WX_ALL@%$WX_ALL%g
22552 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22553 s%@SHARED_LD@%$SHARED_LD%g
22554 s%@PIC_FLAG@%$PIC_FLAG%g
22555 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22556 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22557 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22558 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22559 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22560 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22561 s%@STATIC_FLAG@%$STATIC_FLAG%g
22562 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22563 s%@USE_GUI@%$USE_GUI%g
22564 s%@AFMINSTALL@%$AFMINSTALL%g
22565 s%@WIN32INSTALL@%$WIN32INSTALL%g
22566 s%@TOOLKIT@%$TOOLKIT%g
22567 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22568 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22569 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22570 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22571 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22572 s%@top_builddir@%$top_builddir%g
22573 s%@cross_compiling@%$cross_compiling%g
22574 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22575 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22576 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22577 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22578 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22579 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22580 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22581 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22582 s%@ALL_HEADERS@%$ALL_HEADERS%g
22583 s%@ALL_SOURCES@%$ALL_SOURCES%g
22584 s%@GUIDIST@%$GUIDIST%g
22585 s%@PORT_FILES@%$PORT_FILES%g
22586 s%@DISTDIR@%$DISTDIR%g
22587 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22588 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22589 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22590 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22591 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22592 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22593 s%@EXTRADEFS@%$EXTRADEFS%g
22594 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22595 s%@RESFLAGS@%$RESFLAGS%g
22596 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22597 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22598 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22599 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22600 s%@LIBWXMACRES@%$LIBWXMACRES%g
22601 s%@MACRESCOMP@%$MACRESCOMP%g
22602 s%@MACSETFILE@%$MACSETFILE%g
22603 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22605 s%@DLLTOOL@%$DLLTOOL%g
22609 s%@MAKEINFO@%$MAKEINFO%g
22610 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22611 s%@INSTALL_DIR@%$INSTALL_DIR%g
22612 s%@SET_MAKE@%$SET_MAKE%g
22613 s%@subdirs@%$subdirs%g
22618 cat >> $CONFIG_STATUS <<\EOF
22620 # Split the substitutions into bite-sized pieces for seds with
22621 # small command number limits, like on Digital OSF/1 and HP-UX.
22622 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22623 ac_file
=1 # Number of current file.
22624 ac_beg
=1 # First line for current file.
22625 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22628 while $ac_more_lines; do
22629 if test $ac_beg -gt 1; then
22630 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22632 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22634 if test ! -s conftest.s
$ac_file; then
22635 ac_more_lines
=false
22636 rm -f conftest.s
$ac_file
22638 if test -z "$ac_sed_cmds"; then
22639 ac_sed_cmds
="sed -f conftest.s$ac_file"
22641 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22643 ac_file
=`expr $ac_file + 1`
22645 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22648 if test -z "$ac_sed_cmds"; then
22653 cat >> $CONFIG_STATUS <<EOF
22655 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22663 cat >> $CONFIG_STATUS <<\EOF
22664 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22665 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22667 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22668 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22669 *) ac_file_in
="${ac_file}.in" ;;
22672 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22674 # Remove last slash and all that follows it. Not all systems have dirname.
22675 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22676 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22677 # The file is in a subdirectory.
22678 test ! -d "$ac_dir" && mkdir "$ac_dir"
22679 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22680 # A "../" for each directory in $ac_dir_suffix.
22681 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22683 ac_dir_suffix
= ac_dots
=
22686 case "$ac_given_srcdir" in
22688 if test -z "$ac_dots"; then top_srcdir
=.
22689 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22690 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22691 *) # Relative path.
22692 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22693 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22696 case "$ac_given_INSTALL" in
22697 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22698 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22701 echo creating
"$ac_file"
22703 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22705 *Makefile
*) ac_comsub
="1i\\
22706 # $configure_input" ;;
22710 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22712 s%@configure_input@%$configure_input%g
22713 s%@srcdir@%$srcdir%g
22714 s%@top_srcdir@%$top_srcdir%g
22715 s%@INSTALL@%$INSTALL%g
22716 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22720 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22721 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22723 # ac_d sets the value in "#define NAME VALUE" lines.
22724 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22725 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22728 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22729 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22730 ac_uB
='\([ ]\)%\1#\2define\3'
22733 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22734 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22735 ac_eB
='$%\1#\2define\3'
22739 if test "${CONFIG_HEADERS+set}" != set; then
22741 cat >> $CONFIG_STATUS <<EOF
22742 CONFIG_HEADERS="setup.h:setup.h.in"
22744 cat >> $CONFIG_STATUS <<\EOF
22746 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22747 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22749 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22750 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22751 *) ac_file_in
="${ac_file}.in" ;;
22754 echo creating
$ac_file
22756 rm -f conftest.frag conftest.
in conftest.out
22757 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22758 cat $ac_file_inputs > conftest.
in
22762 # Transform confdefs.h into a sed script conftest.vals that substitutes
22763 # the proper values into config.h.in to produce config.h. And first:
22764 # Protect against being on the right side of a sed subst in config.status.
22765 # Protect against being in an unquoted here document in config.status.
22766 rm -f conftest.vals
22767 cat > conftest.hdr
<<\EOF
22770 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22774 sed -n -f conftest.hdr confdefs.h > conftest.vals
22777 # This sed command replaces #undef with comments. This is necessary, for
22778 # example, in the case of _POSIX_SOURCE, which is predefined and required
22779 # on some systems where configure will not decide to define it.
22780 cat >> conftest.vals <<\EOF
22781 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22784 # Break up conftest.vals because some shells have a limit on
22785 # the size of here documents, and old seds have small limits too.
22787 rm -f conftest.tail
22790 ac_lines=`grep -c . conftest.vals
`
22791 # grep -c gives empty output for an empty file on some AIX systems.
22792 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22793 # Write a limited-size here document to conftest.frag.
22794 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22795 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22797 sed -f conftest.frag conftest.in > conftest.out
22799 mv conftest.out conftest.in
22800 ' >> $CONFIG_STATUS
22801 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22802 rm -f conftest.vals
22803 mv conftest.tail conftest.vals
22805 rm -f conftest.vals
22807 cat >> $CONFIG_STATUS <<\EOF
22808 rm -f conftest.frag conftest.h
22809 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22810 cat conftest.in >> conftest.h
22812 if cmp -s $ac_file conftest.h 2>/dev/null; then
22813 echo "$ac_file is unchanged"
22816 # Remove last slash and all that follows it. Not all systems have dirname.
22817 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22818 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22819 # The file is in a subdirectory.
22820 test ! -d "$ac_dir" && mkdir "$ac_dir"
22823 mv conftest.h $ac_file
22828 cat >> $CONFIG_STATUS <<EOF
22830 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22835 cat >> $CONFIG_STATUS <<\EOF
22837 if test ! -h wx-config; then
22839 mv wx-config wx${TOOLCHAIN_NAME}-config
22840 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22843 if test ! -d lib; then
22846 if test ! -d lib/wx; then
22849 if test ! -d lib/wx/include; then
22850 mkdir lib/wx/include
22852 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22853 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22855 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22856 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22858 if test -f setup.h; then
22859 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22864 chmod +x $CONFIG_STATUS
22865 rm -fr confdefs* $ac_clean_files
22866 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22868 if test "$no_recursion" != yes; then
22870 # Remove --cache-file and --srcdir arguments so they do not pile up.
22871 ac_sub_configure_args=
22873 for ac_arg in $ac_configure_args; do
22874 if test -n "$ac_prev"; then
22879 -cache-file | --cache-file | --cache-fil | --cache-fi \
22880 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22881 ac_prev=cache_file ;;
22882 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22883 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22885 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22887 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22889 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22893 for ac_config_dir in demos samples utils contrib; do
22895 # Do not complain, so a configure script can configure whichever
22896 # parts of a large source tree are present.
22897 if test ! -d $srcdir/$ac_config_dir; then
22901 echo configuring in $ac_config_dir
22906 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22908 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22916 # A "../" for each directory in /$ac_config_dir.
22917 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
22920 .) # No --srcdir option. We are building in place.
22921 ac_sub_srcdir=$srcdir ;;
22922 /*) # Absolute path.
22923 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
22924 *) # Relative path.
22925 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
22928 # Check for guested configure; otherwise get Cygnus style configure.
22929 if test -f $ac_sub_srcdir/configure; then
22930 ac_sub_configure=$ac_sub_srcdir/configure
22931 elif test -f $ac_sub_srcdir/configure.in; then
22932 ac_sub_configure=$ac_configure
22934 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
22938 # The recursion is here.
22939 if test -n "$ac_sub_configure"; then
22941 # Make the cache file name correct relative to the subdirectory.
22942 case "$cache_file" in
22943 /*) ac_sub_cache_file=$cache_file ;;
22944 *) # Relative path.
22945 ac_sub_cache_file="$ac_dots$cache_file" ;;
22947 case "$ac_given_INSTALL" in
22948 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22949 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22952 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
22953 # The eval makes quoting arguments work.
22954 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
22957 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
22967 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
22969 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
22971 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
22972 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
22973 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
22975 echo " What level of wxWindows compatibility should be enabled?"
22976 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
22977 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
22978 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
22980 echo " Which libraries should wxWindows use?"
22981 echo " jpeg ${wxUSE_LIBJPEG-none}"
22982 echo " png ${wxUSE_LIBPNG-none}"
22983 echo " regex ${wxUSE_REGEX}"
22984 echo " tiff ${wxUSE_LIBTIFF-none}"
22985 echo " zlib ${wxUSE_ZLIB}"