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_DIRDLG
=no
5825 DEFAULT_wxUSE_DRAGIMAGE
=no
5826 DEFAULT_wxUSE_FINDREPLDLG
=no
5827 DEFAULT_wxUSE_FONTDLG
=no
5828 DEFAULT_wxUSE_GRID
=no
5829 DEFAULT_wxUSE_NUMBERDLG
=no
5830 DEFAULT_wxUSE_PROGRESSDLG
=no
5831 DEFAULT_wxUSE_SASH
=no
5832 DEFAULT_wxUSE_SPLITTER
=no
5833 DEFAULT_wxUSE_WIZARDDLG
=no
5834 DEFAULT_wxUSE_SPLITTER
=no
5835 DEFAULT_wxUSE_STARTUP_TIPS
=no
5836 DEFAULT_wxUSE_TREECTRL
=no
5841 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5842 echo "configure:5843: checking for --${enablestring:-enable}-accel" >&5
5844 # Check whether --enable-accel or --disable-accel was given.
5845 if test "${enable_accel+set}" = set; then
5846 enableval
="$enable_accel"
5848 if test "$enableval" = yes; then
5849 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5851 ac_cv_use_accel
='wxUSE_ACCEL=no'
5856 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5857 if test "x$LINE" != x
; then
5858 eval "DEFAULT_$LINE"
5863 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5868 eval "$ac_cv_use_accel"
5869 if test "$no_cache" != 1; then
5870 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5873 if test "$wxUSE_ACCEL" = yes; then
5874 echo "$ac_t""yes" 1>&6
5876 echo "$ac_t""no" 1>&6
5881 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5882 echo "configure:5883: checking for --${enablestring:-enable}-button" >&5
5884 # Check whether --enable-button or --disable-button was given.
5885 if test "${enable_button+set}" = set; then
5886 enableval
="$enable_button"
5888 if test "$enableval" = yes; then
5889 ac_cv_use_button
='wxUSE_BUTTON=yes'
5891 ac_cv_use_button
='wxUSE_BUTTON=no'
5896 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x
; then
5898 eval "DEFAULT_$LINE"
5903 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5908 eval "$ac_cv_use_button"
5909 if test "$no_cache" != 1; then
5910 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5913 if test "$wxUSE_BUTTON" = yes; then
5914 echo "$ac_t""yes" 1>&6
5916 echo "$ac_t""no" 1>&6
5921 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5922 echo "configure:5923: checking for --${enablestring:-enable}-bmpbutton" >&5
5924 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5925 if test "${enable_bmpbutton+set}" = set; then
5926 enableval
="$enable_bmpbutton"
5928 if test "$enableval" = yes; then
5929 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5931 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5936 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5937 if test "x$LINE" != x
; then
5938 eval "DEFAULT_$LINE"
5943 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5948 eval "$ac_cv_use_bmpbutton"
5949 if test "$no_cache" != 1; then
5950 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5953 if test "$wxUSE_BMPBUTTON" = yes; then
5954 echo "$ac_t""yes" 1>&6
5956 echo "$ac_t""no" 1>&6
5961 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
5962 echo "configure:5963: checking for --${enablestring:-enable}-calendar" >&5
5964 # Check whether --enable-calendar or --disable-calendar was given.
5965 if test "${enable_calendar+set}" = set; then
5966 enableval
="$enable_calendar"
5968 if test "$enableval" = yes; then
5969 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5971 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5976 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x
; then
5978 eval "DEFAULT_$LINE"
5983 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5988 eval "$ac_cv_use_calendar"
5989 if test "$no_cache" != 1; then
5990 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5993 if test "$wxUSE_CALCTRL" = yes; then
5994 echo "$ac_t""yes" 1>&6
5996 echo "$ac_t""no" 1>&6
6001 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6002 echo "configure:6003: checking for --${enablestring:-enable}-caret" >&5
6004 # Check whether --enable-caret or --disable-caret was given.
6005 if test "${enable_caret+set}" = set; then
6006 enableval
="$enable_caret"
6008 if test "$enableval" = yes; then
6009 ac_cv_use_caret
='wxUSE_CARET=yes'
6011 ac_cv_use_caret
='wxUSE_CARET=no'
6016 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x
; then
6018 eval "DEFAULT_$LINE"
6023 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6028 eval "$ac_cv_use_caret"
6029 if test "$no_cache" != 1; then
6030 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6033 if test "$wxUSE_CARET" = yes; then
6034 echo "$ac_t""yes" 1>&6
6036 echo "$ac_t""no" 1>&6
6041 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6042 echo "configure:6043: checking for --${enablestring:-enable}-checkbox" >&5
6044 # Check whether --enable-checkbox or --disable-checkbox was given.
6045 if test "${enable_checkbox+set}" = set; then
6046 enableval
="$enable_checkbox"
6048 if test "$enableval" = yes; then
6049 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6051 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6056 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6057 if test "x$LINE" != x
; then
6058 eval "DEFAULT_$LINE"
6063 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6068 eval "$ac_cv_use_checkbox"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6073 if test "$wxUSE_CHECKBOX" = yes; then
6074 echo "$ac_t""yes" 1>&6
6076 echo "$ac_t""no" 1>&6
6081 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6082 echo "configure:6083: checking for --${enablestring:-enable}-checklst" >&5
6084 # Check whether --enable-checklst or --disable-checklst was given.
6085 if test "${enable_checklst+set}" = set; then
6086 enableval
="$enable_checklst"
6088 if test "$enableval" = yes; then
6089 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6091 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6096 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6097 if test "x$LINE" != x
; then
6098 eval "DEFAULT_$LINE"
6103 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6108 eval "$ac_cv_use_checklst"
6109 if test "$no_cache" != 1; then
6110 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6113 if test "$wxUSE_CHECKLST" = yes; then
6114 echo "$ac_t""yes" 1>&6
6116 echo "$ac_t""no" 1>&6
6121 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6122 echo "configure:6123: checking for --${enablestring:-enable}-choice" >&5
6124 # Check whether --enable-choice or --disable-choice was given.
6125 if test "${enable_choice+set}" = set; then
6126 enableval
="$enable_choice"
6128 if test "$enableval" = yes; then
6129 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6131 ac_cv_use_choice
='wxUSE_CHOICE=no'
6136 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6137 if test "x$LINE" != x
; then
6138 eval "DEFAULT_$LINE"
6143 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6148 eval "$ac_cv_use_choice"
6149 if test "$no_cache" != 1; then
6150 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6153 if test "$wxUSE_CHOICE" = yes; then
6154 echo "$ac_t""yes" 1>&6
6156 echo "$ac_t""no" 1>&6
6161 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6162 echo "configure:6163: checking for --${enablestring:-enable}-combobox" >&5
6164 # Check whether --enable-combobox or --disable-combobox was given.
6165 if test "${enable_combobox+set}" = set; then
6166 enableval
="$enable_combobox"
6168 if test "$enableval" = yes; then
6169 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6171 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6176 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6177 if test "x$LINE" != x
; then
6178 eval "DEFAULT_$LINE"
6183 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6188 eval "$ac_cv_use_combobox"
6189 if test "$no_cache" != 1; then
6190 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6193 if test "$wxUSE_COMBOBOX" = yes; then
6194 echo "$ac_t""yes" 1>&6
6196 echo "$ac_t""no" 1>&6
6201 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6202 echo "configure:6203: checking for --${enablestring:-enable}-display" >&5
6204 # Check whether --enable-display or --disable-display was given.
6205 if test "${enable_display+set}" = set; then
6206 enableval
="$enable_display"
6208 if test "$enableval" = yes; then
6209 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6211 ac_cv_use_display
='wxUSE_DISPLAY=no'
6216 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6217 if test "x$LINE" != x
; then
6218 eval "DEFAULT_$LINE"
6223 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6228 eval "$ac_cv_use_display"
6229 if test "$no_cache" != 1; then
6230 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6233 if test "$wxUSE_DISPLAY" = yes; then
6234 echo "$ac_t""yes" 1>&6
6236 echo "$ac_t""no" 1>&6
6241 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6242 echo "configure:6243: checking for --${enablestring:-enable}-gauge" >&5
6244 # Check whether --enable-gauge or --disable-gauge was given.
6245 if test "${enable_gauge+set}" = set; then
6246 enableval
="$enable_gauge"
6248 if test "$enableval" = yes; then
6249 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6251 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6256 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x
; then
6258 eval "DEFAULT_$LINE"
6263 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6268 eval "$ac_cv_use_gauge"
6269 if test "$no_cache" != 1; then
6270 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6273 if test "$wxUSE_GAUGE" = yes; then
6274 echo "$ac_t""yes" 1>&6
6276 echo "$ac_t""no" 1>&6
6281 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6282 echo "configure:6283: checking for --${enablestring:-enable}-grid" >&5
6284 # Check whether --enable-grid or --disable-grid was given.
6285 if test "${enable_grid+set}" = set; then
6286 enableval
="$enable_grid"
6288 if test "$enableval" = yes; then
6289 ac_cv_use_grid
='wxUSE_GRID=yes'
6291 ac_cv_use_grid
='wxUSE_GRID=no'
6296 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x
; then
6298 eval "DEFAULT_$LINE"
6303 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6308 eval "$ac_cv_use_grid"
6309 if test "$no_cache" != 1; then
6310 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6313 if test "$wxUSE_GRID" = yes; then
6314 echo "$ac_t""yes" 1>&6
6316 echo "$ac_t""no" 1>&6
6321 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6322 echo "configure:6323: checking for --${enablestring:-enable}-imaglist" >&5
6324 # Check whether --enable-imaglist or --disable-imaglist was given.
6325 if test "${enable_imaglist+set}" = set; then
6326 enableval
="$enable_imaglist"
6328 if test "$enableval" = yes; then
6329 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6331 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6336 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x
; then
6338 eval "DEFAULT_$LINE"
6343 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6348 eval "$ac_cv_use_imaglist"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6353 if test "$wxUSE_IMAGLIST" = yes; then
6354 echo "$ac_t""yes" 1>&6
6356 echo "$ac_t""no" 1>&6
6361 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6362 echo "configure:6363: checking for --${enablestring:-enable}-listbox" >&5
6364 # Check whether --enable-listbox or --disable-listbox was given.
6365 if test "${enable_listbox+set}" = set; then
6366 enableval
="$enable_listbox"
6368 if test "$enableval" = yes; then
6369 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6371 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6376 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6377 if test "x$LINE" != x
; then
6378 eval "DEFAULT_$LINE"
6383 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6388 eval "$ac_cv_use_listbox"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6393 if test "$wxUSE_LISTBOX" = yes; then
6394 echo "$ac_t""yes" 1>&6
6396 echo "$ac_t""no" 1>&6
6401 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6402 echo "configure:6403: checking for --${enablestring:-enable}-listctrl" >&5
6404 # Check whether --enable-listctrl or --disable-listctrl was given.
6405 if test "${enable_listctrl+set}" = set; then
6406 enableval
="$enable_listctrl"
6408 if test "$enableval" = yes; then
6409 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6411 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6416 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6417 if test "x$LINE" != x
; then
6418 eval "DEFAULT_$LINE"
6423 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6428 eval "$ac_cv_use_listctrl"
6429 if test "$no_cache" != 1; then
6430 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6433 if test "$wxUSE_LISTCTRL" = yes; then
6434 echo "$ac_t""yes" 1>&6
6436 echo "$ac_t""no" 1>&6
6441 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6442 echo "configure:6443: checking for --${enablestring:-enable}-notebook" >&5
6444 # Check whether --enable-notebook or --disable-notebook was given.
6445 if test "${enable_notebook+set}" = set; then
6446 enableval
="$enable_notebook"
6448 if test "$enableval" = yes; then
6449 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6451 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6456 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x
; then
6458 eval "DEFAULT_$LINE"
6463 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6468 eval "$ac_cv_use_notebook"
6469 if test "$no_cache" != 1; then
6470 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6473 if test "$wxUSE_NOTEBOOK" = yes; then
6474 echo "$ac_t""yes" 1>&6
6476 echo "$ac_t""no" 1>&6
6481 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6482 echo "configure:6483: checking for --${enablestring:-enable}-radiobox" >&5
6484 # Check whether --enable-radiobox or --disable-radiobox was given.
6485 if test "${enable_radiobox+set}" = set; then
6486 enableval
="$enable_radiobox"
6488 if test "$enableval" = yes; then
6489 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6491 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6496 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6497 if test "x$LINE" != x
; then
6498 eval "DEFAULT_$LINE"
6503 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6508 eval "$ac_cv_use_radiobox"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6513 if test "$wxUSE_RADIOBOX" = yes; then
6514 echo "$ac_t""yes" 1>&6
6516 echo "$ac_t""no" 1>&6
6521 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6522 echo "configure:6523: checking for --${enablestring:-enable}-radiobtn" >&5
6524 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6525 if test "${enable_radiobtn+set}" = set; then
6526 enableval
="$enable_radiobtn"
6528 if test "$enableval" = yes; then
6529 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6531 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6536 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6537 if test "x$LINE" != x
; then
6538 eval "DEFAULT_$LINE"
6543 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6548 eval "$ac_cv_use_radiobtn"
6549 if test "$no_cache" != 1; then
6550 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6553 if test "$wxUSE_RADIOBTN" = yes; then
6554 echo "$ac_t""yes" 1>&6
6556 echo "$ac_t""no" 1>&6
6561 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6562 echo "configure:6563: checking for --${enablestring:-enable}-sash" >&5
6564 # Check whether --enable-sash or --disable-sash was given.
6565 if test "${enable_sash+set}" = set; then
6566 enableval
="$enable_sash"
6568 if test "$enableval" = yes; then
6569 ac_cv_use_sash
='wxUSE_SASH=yes'
6571 ac_cv_use_sash
='wxUSE_SASH=no'
6576 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6577 if test "x$LINE" != x
; then
6578 eval "DEFAULT_$LINE"
6583 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6588 eval "$ac_cv_use_sash"
6589 if test "$no_cache" != 1; then
6590 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6593 if test "$wxUSE_SASH" = yes; then
6594 echo "$ac_t""yes" 1>&6
6596 echo "$ac_t""no" 1>&6
6601 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6602 echo "configure:6603: checking for --${enablestring:-enable}-scrollbar" >&5
6604 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6605 if test "${enable_scrollbar+set}" = set; then
6606 enableval
="$enable_scrollbar"
6608 if test "$enableval" = yes; then
6609 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6611 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6616 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6617 if test "x$LINE" != x
; then
6618 eval "DEFAULT_$LINE"
6623 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6628 eval "$ac_cv_use_scrollbar"
6629 if test "$no_cache" != 1; then
6630 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6633 if test "$wxUSE_SCROLLBAR" = yes; then
6634 echo "$ac_t""yes" 1>&6
6636 echo "$ac_t""no" 1>&6
6641 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6642 echo "configure:6643: checking for --${enablestring:-enable}-slider" >&5
6644 # Check whether --enable-slider or --disable-slider was given.
6645 if test "${enable_slider+set}" = set; then
6646 enableval
="$enable_slider"
6648 if test "$enableval" = yes; then
6649 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6651 ac_cv_use_slider
='wxUSE_SLIDER=no'
6656 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6657 if test "x$LINE" != x
; then
6658 eval "DEFAULT_$LINE"
6663 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6668 eval "$ac_cv_use_slider"
6669 if test "$no_cache" != 1; then
6670 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6673 if test "$wxUSE_SLIDER" = yes; then
6674 echo "$ac_t""yes" 1>&6
6676 echo "$ac_t""no" 1>&6
6681 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6682 echo "configure:6683: checking for --${enablestring:-enable}-spinbtn" >&5
6684 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6685 if test "${enable_spinbtn+set}" = set; then
6686 enableval
="$enable_spinbtn"
6688 if test "$enableval" = yes; then
6689 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6691 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6696 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x
; then
6698 eval "DEFAULT_$LINE"
6703 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6708 eval "$ac_cv_use_spinbtn"
6709 if test "$no_cache" != 1; then
6710 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6713 if test "$wxUSE_SPINBTN" = yes; then
6714 echo "$ac_t""yes" 1>&6
6716 echo "$ac_t""no" 1>&6
6721 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6722 echo "configure:6723: checking for --${enablestring:-enable}-spinctrl" >&5
6724 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6725 if test "${enable_spinctrl+set}" = set; then
6726 enableval
="$enable_spinctrl"
6728 if test "$enableval" = yes; then
6729 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6731 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6736 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6737 if test "x$LINE" != x
; then
6738 eval "DEFAULT_$LINE"
6743 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6748 eval "$ac_cv_use_spinctrl"
6749 if test "$no_cache" != 1; then
6750 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6753 if test "$wxUSE_SPINCTRL" = yes; then
6754 echo "$ac_t""yes" 1>&6
6756 echo "$ac_t""no" 1>&6
6761 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6762 echo "configure:6763: checking for --${enablestring:-enable}-splitter" >&5
6764 # Check whether --enable-splitter or --disable-splitter was given.
6765 if test "${enable_splitter+set}" = set; then
6766 enableval
="$enable_splitter"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6771 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6776 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x
; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6788 eval "$ac_cv_use_splitter"
6789 if test "$no_cache" != 1; then
6790 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6793 if test "$wxUSE_SPLITTER" = yes; then
6794 echo "$ac_t""yes" 1>&6
6796 echo "$ac_t""no" 1>&6
6801 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6802 echo "configure:6803: checking for --${enablestring:-enable}-statbmp" >&5
6804 # Check whether --enable-statbmp or --disable-statbmp was given.
6805 if test "${enable_statbmp+set}" = set; then
6806 enableval
="$enable_statbmp"
6808 if test "$enableval" = yes; then
6809 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6811 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6816 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6817 if test "x$LINE" != x
; then
6818 eval "DEFAULT_$LINE"
6823 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6828 eval "$ac_cv_use_statbmp"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6833 if test "$wxUSE_STATBMP" = yes; then
6834 echo "$ac_t""yes" 1>&6
6836 echo "$ac_t""no" 1>&6
6841 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6842 echo "configure:6843: checking for --${enablestring:-enable}-statbox" >&5
6844 # Check whether --enable-statbox or --disable-statbox was given.
6845 if test "${enable_statbox+set}" = set; then
6846 enableval
="$enable_statbox"
6848 if test "$enableval" = yes; then
6849 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6851 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6856 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x
; then
6858 eval "DEFAULT_$LINE"
6863 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6868 eval "$ac_cv_use_statbox"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6873 if test "$wxUSE_STATBOX" = yes; then
6874 echo "$ac_t""yes" 1>&6
6876 echo "$ac_t""no" 1>&6
6881 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6882 echo "configure:6883: checking for --${enablestring:-enable}-statline" >&5
6884 # Check whether --enable-statline or --disable-statline was given.
6885 if test "${enable_statline+set}" = set; then
6886 enableval
="$enable_statline"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6891 ac_cv_use_statline
='wxUSE_STATLINE=no'
6896 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6908 eval "$ac_cv_use_statline"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_STATLINE" = yes; then
6914 echo "$ac_t""yes" 1>&6
6916 echo "$ac_t""no" 1>&6
6921 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
6922 echo "configure:6923: checking for --${enablestring:-enable}-stattext" >&5
6924 # Check whether --enable-stattext or --disable-stattext was given.
6925 if test "${enable_stattext+set}" = set; then
6926 enableval
="$enable_stattext"
6928 if test "$enableval" = yes; then
6929 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6931 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6936 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x
; then
6938 eval "DEFAULT_$LINE"
6943 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6948 eval "$ac_cv_use_stattext"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6953 if test "$wxUSE_STATTEXT" = yes; then
6954 echo "$ac_t""yes" 1>&6
6956 echo "$ac_t""no" 1>&6
6961 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
6962 echo "configure:6963: checking for --${enablestring:-enable}-statusbar" >&5
6964 # Check whether --enable-statusbar or --disable-statusbar was given.
6965 if test "${enable_statusbar+set}" = set; then
6966 enableval
="$enable_statusbar"
6968 if test "$enableval" = yes; then
6969 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6971 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6976 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6977 if test "x$LINE" != x
; then
6978 eval "DEFAULT_$LINE"
6983 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6988 eval "$ac_cv_use_statusbar"
6989 if test "$no_cache" != 1; then
6990 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6993 if test "$wxUSE_STATUSBAR" = yes; then
6994 echo "$ac_t""yes" 1>&6
6996 echo "$ac_t""no" 1>&6
7001 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7002 echo "configure:7003: checking for --${enablestring:-enable}-tabdialog" >&5
7004 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7005 if test "${enable_tabdialog+set}" = set; then
7006 enableval
="$enable_tabdialog"
7008 if test "$enableval" = yes; then
7009 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7011 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7016 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7017 if test "x$LINE" != x
; then
7018 eval "DEFAULT_$LINE"
7023 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7028 eval "$ac_cv_use_tabdialog"
7029 if test "$no_cache" != 1; then
7030 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7033 if test "$wxUSE_TABDIALOG" = yes; then
7034 echo "$ac_t""yes" 1>&6
7036 echo "$ac_t""no" 1>&6
7041 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7042 echo "configure:7043: checking for --${enablestring:-enable}-textctrl" >&5
7044 # Check whether --enable-textctrl or --disable-textctrl was given.
7045 if test "${enable_textctrl+set}" = set; then
7046 enableval
="$enable_textctrl"
7048 if test "$enableval" = yes; then
7049 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7051 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7056 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7057 if test "x$LINE" != x
; then
7058 eval "DEFAULT_$LINE"
7063 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7068 eval "$ac_cv_use_textctrl"
7069 if test "$no_cache" != 1; then
7070 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7073 if test "$wxUSE_TEXTCTRL" = yes; then
7074 echo "$ac_t""yes" 1>&6
7076 echo "$ac_t""no" 1>&6
7081 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7082 echo "configure:7083: checking for --${enablestring:-enable}-togglebtn" >&5
7084 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7085 if test "${enable_togglebtn+set}" = set; then
7086 enableval
="$enable_togglebtn"
7088 if test "$enableval" = yes; then
7089 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7091 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7096 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7097 if test "x$LINE" != x
; then
7098 eval "DEFAULT_$LINE"
7103 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7108 eval "$ac_cv_use_togglebtn"
7109 if test "$no_cache" != 1; then
7110 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7113 if test "$wxUSE_TOGGLEBTN" = yes; then
7114 echo "$ac_t""yes" 1>&6
7116 echo "$ac_t""no" 1>&6
7121 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7122 echo "configure:7123: checking for --${enablestring:-enable}-toolbar" >&5
7124 # Check whether --enable-toolbar or --disable-toolbar was given.
7125 if test "${enable_toolbar+set}" = set; then
7126 enableval
="$enable_toolbar"
7128 if test "$enableval" = yes; then
7129 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7131 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7136 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x
; then
7138 eval "DEFAULT_$LINE"
7143 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7148 eval "$ac_cv_use_toolbar"
7149 if test "$no_cache" != 1; then
7150 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7153 if test "$wxUSE_TOOLBAR" = yes; then
7154 echo "$ac_t""yes" 1>&6
7156 echo "$ac_t""no" 1>&6
7161 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7162 echo "configure:7163: checking for --${enablestring:-enable}-tbarnative" >&5
7164 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7165 if test "${enable_tbarnative+set}" = set; then
7166 enableval
="$enable_tbarnative"
7168 if test "$enableval" = yes; then
7169 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7171 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7176 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7177 if test "x$LINE" != x
; then
7178 eval "DEFAULT_$LINE"
7183 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7188 eval "$ac_cv_use_tbarnative"
7189 if test "$no_cache" != 1; then
7190 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7193 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7194 echo "$ac_t""yes" 1>&6
7196 echo "$ac_t""no" 1>&6
7201 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7202 echo "configure:7203: checking for --${enablestring:-enable}-tbarsmpl" >&5
7204 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7205 if test "${enable_tbarsmpl+set}" = set; then
7206 enableval
="$enable_tbarsmpl"
7208 if test "$enableval" = yes; then
7209 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7211 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7216 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7217 if test "x$LINE" != x
; then
7218 eval "DEFAULT_$LINE"
7223 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7228 eval "$ac_cv_use_tbarsmpl"
7229 if test "$no_cache" != 1; then
7230 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7233 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7234 echo "$ac_t""yes" 1>&6
7236 echo "$ac_t""no" 1>&6
7241 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7242 echo "configure:7243: checking for --${enablestring:-enable}-treectrl" >&5
7244 # Check whether --enable-treectrl or --disable-treectrl was given.
7245 if test "${enable_treectrl+set}" = set; then
7246 enableval
="$enable_treectrl"
7248 if test "$enableval" = yes; then
7249 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7251 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7256 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7257 if test "x$LINE" != x
; then
7258 eval "DEFAULT_$LINE"
7263 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7268 eval "$ac_cv_use_treectrl"
7269 if test "$no_cache" != 1; then
7270 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7273 if test "$wxUSE_TREECTRL" = yes; then
7274 echo "$ac_t""yes" 1>&6
7276 echo "$ac_t""no" 1>&6
7281 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7282 echo "configure:7283: checking for --${enablestring:-enable}-tipwindow" >&5
7284 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7285 if test "${enable_tipwindow+set}" = set; then
7286 enableval
="$enable_tipwindow"
7288 if test "$enableval" = yes; then
7289 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7291 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7296 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7297 if test "x$LINE" != x
; then
7298 eval "DEFAULT_$LINE"
7303 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7308 eval "$ac_cv_use_tipwindow"
7309 if test "$no_cache" != 1; then
7310 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7313 if test "$wxUSE_TIPWINDOW" = yes; then
7314 echo "$ac_t""yes" 1>&6
7316 echo "$ac_t""no" 1>&6
7321 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7322 echo "configure:7323: checking for --${enablestring:-enable}-popupwin" >&5
7324 # Check whether --enable-popupwin or --disable-popupwin was given.
7325 if test "${enable_popupwin+set}" = set; then
7326 enableval
="$enable_popupwin"
7328 if test "$enableval" = yes; then
7329 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7331 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7336 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7337 if test "x$LINE" != x
; then
7338 eval "DEFAULT_$LINE"
7343 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7348 eval "$ac_cv_use_popupwin"
7349 if test "$no_cache" != 1; then
7350 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7353 if test "$wxUSE_POPUPWIN" = yes; then
7354 echo "$ac_t""yes" 1>&6
7356 echo "$ac_t""no" 1>&6
7363 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7364 echo "configure:7365: checking for --${enablestring:-enable}-commondlg" >&5
7366 # Check whether --enable-commondlg or --disable-commondlg was given.
7367 if test "${enable_commondlg+set}" = set; then
7368 enableval
="$enable_commondlg"
7370 if test "$enableval" = yes; then
7371 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7373 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7378 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7379 if test "x$LINE" != x
; then
7380 eval "DEFAULT_$LINE"
7385 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7390 eval "$ac_cv_use_commondlg"
7391 if test "$no_cache" != 1; then
7392 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7395 if test "$wxUSE_COMMONDLGS" = yes; then
7396 echo "$ac_t""yes" 1>&6
7398 echo "$ac_t""no" 1>&6
7403 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7404 echo "configure:7405: checking for --${enablestring:-enable}-choicedlg" >&5
7406 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7407 if test "${enable_choicedlg+set}" = set; then
7408 enableval
="$enable_choicedlg"
7410 if test "$enableval" = yes; then
7411 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7413 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7418 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7419 if test "x$LINE" != x
; then
7420 eval "DEFAULT_$LINE"
7425 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7430 eval "$ac_cv_use_choicedlg"
7431 if test "$no_cache" != 1; then
7432 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7435 if test "$wxUSE_CHOICEDLG" = yes; then
7436 echo "$ac_t""yes" 1>&6
7438 echo "$ac_t""no" 1>&6
7443 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7444 echo "configure:7445: checking for --${enablestring:-enable}-coldlg" >&5
7446 # Check whether --enable-coldlg or --disable-coldlg was given.
7447 if test "${enable_coldlg+set}" = set; then
7448 enableval
="$enable_coldlg"
7450 if test "$enableval" = yes; then
7451 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7453 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7458 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x
; then
7460 eval "DEFAULT_$LINE"
7465 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7470 eval "$ac_cv_use_coldlg"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7475 if test "$wxUSE_COLOURDLG" = yes; then
7476 echo "$ac_t""yes" 1>&6
7478 echo "$ac_t""no" 1>&6
7483 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7484 echo "configure:7485: checking for --${enablestring:-enable}-filedlg" >&5
7486 # Check whether --enable-filedlg or --disable-filedlg was given.
7487 if test "${enable_filedlg+set}" = set; then
7488 enableval
="$enable_filedlg"
7490 if test "$enableval" = yes; then
7491 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7493 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7498 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7499 if test "x$LINE" != x
; then
7500 eval "DEFAULT_$LINE"
7505 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7510 eval "$ac_cv_use_filedlg"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7515 if test "$wxUSE_FILEDLG" = yes; then
7516 echo "$ac_t""yes" 1>&6
7518 echo "$ac_t""no" 1>&6
7523 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7524 echo "configure:7525: checking for --${enablestring:-enable}-finddlg" >&5
7526 # Check whether --enable-finddlg or --disable-finddlg was given.
7527 if test "${enable_finddlg+set}" = set; then
7528 enableval
="$enable_finddlg"
7530 if test "$enableval" = yes; then
7531 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7533 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7538 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7539 if test "x$LINE" != x
; then
7540 eval "DEFAULT_$LINE"
7545 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7550 eval "$ac_cv_use_finddlg"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_FINDREPLDLG" = yes; then
7556 echo "$ac_t""yes" 1>&6
7558 echo "$ac_t""no" 1>&6
7563 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7564 echo "configure:7565: checking for --${enablestring:-enable}-fontdlg" >&5
7566 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7567 if test "${enable_fontdlg+set}" = set; then
7568 enableval
="$enable_fontdlg"
7570 if test "$enableval" = yes; then
7571 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7573 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7578 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x
; then
7580 eval "DEFAULT_$LINE"
7585 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7590 eval "$ac_cv_use_fontdlg"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7595 if test "$wxUSE_FONTDLG" = yes; then
7596 echo "$ac_t""yes" 1>&6
7598 echo "$ac_t""no" 1>&6
7603 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7604 echo "configure:7605: checking for --${enablestring:-enable}-dirdlg" >&5
7606 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7607 if test "${enable_dirdlg+set}" = set; then
7608 enableval
="$enable_dirdlg"
7610 if test "$enableval" = yes; then
7611 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7613 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7618 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7619 if test "x$LINE" != x
; then
7620 eval "DEFAULT_$LINE"
7625 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7630 eval "$ac_cv_use_dirdlg"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_DIRDLG" = yes; then
7636 echo "$ac_t""yes" 1>&6
7638 echo "$ac_t""no" 1>&6
7643 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7644 echo "configure:7645: checking for --${enablestring:-enable}-msgdlg" >&5
7646 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7647 if test "${enable_msgdlg+set}" = set; then
7648 enableval
="$enable_msgdlg"
7650 if test "$enableval" = yes; then
7651 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7653 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7658 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7659 if test "x$LINE" != x
; then
7660 eval "DEFAULT_$LINE"
7665 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7670 eval "$ac_cv_use_msgdlg"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7675 if test "$wxUSE_MSGDLG" = yes; then
7676 echo "$ac_t""yes" 1>&6
7678 echo "$ac_t""no" 1>&6
7683 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7684 echo "configure:7685: checking for --${enablestring:-enable}-numberdlg" >&5
7686 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7687 if test "${enable_numberdlg+set}" = set; then
7688 enableval
="$enable_numberdlg"
7690 if test "$enableval" = yes; then
7691 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7693 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7698 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7699 if test "x$LINE" != x
; then
7700 eval "DEFAULT_$LINE"
7705 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7710 eval "$ac_cv_use_numberdlg"
7711 if test "$no_cache" != 1; then
7712 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7715 if test "$wxUSE_NUMBERDLG" = yes; then
7716 echo "$ac_t""yes" 1>&6
7718 echo "$ac_t""no" 1>&6
7723 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7724 echo "configure:7725: checking for --${enablestring:-enable}-splash" >&5
7726 # Check whether --enable-splash or --disable-splash was given.
7727 if test "${enable_splash+set}" = set; then
7728 enableval
="$enable_splash"
7730 if test "$enableval" = yes; then
7731 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7733 ac_cv_use_splash
='wxUSE_SPLASH=no'
7738 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7739 if test "x$LINE" != x
; then
7740 eval "DEFAULT_$LINE"
7745 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7750 eval "$ac_cv_use_splash"
7751 if test "$no_cache" != 1; then
7752 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7755 if test "$wxUSE_SPLASH" = yes; then
7756 echo "$ac_t""yes" 1>&6
7758 echo "$ac_t""no" 1>&6
7763 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7764 echo "configure:7765: checking for --${enablestring:-enable}-textdlg" >&5
7766 # Check whether --enable-textdlg or --disable-textdlg was given.
7767 if test "${enable_textdlg+set}" = set; then
7768 enableval
="$enable_textdlg"
7770 if test "$enableval" = yes; then
7771 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7773 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7778 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7779 if test "x$LINE" != x
; then
7780 eval "DEFAULT_$LINE"
7785 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7790 eval "$ac_cv_use_textdlg"
7791 if test "$no_cache" != 1; then
7792 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7795 if test "$wxUSE_TEXTDLG" = yes; then
7796 echo "$ac_t""yes" 1>&6
7798 echo "$ac_t""no" 1>&6
7803 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7804 echo "configure:7805: checking for --${enablestring:-enable}-tipdlg" >&5
7806 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7807 if test "${enable_tipdlg+set}" = set; then
7808 enableval
="$enable_tipdlg"
7810 if test "$enableval" = yes; then
7811 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7813 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7818 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7819 if test "x$LINE" != x
; then
7820 eval "DEFAULT_$LINE"
7825 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7830 eval "$ac_cv_use_tipdlg"
7831 if test "$no_cache" != 1; then
7832 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7835 if test "$wxUSE_STARTUP_TIPS" = yes; then
7836 echo "$ac_t""yes" 1>&6
7838 echo "$ac_t""no" 1>&6
7843 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7844 echo "configure:7845: checking for --${enablestring:-enable}-progressdlg" >&5
7846 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7847 if test "${enable_progressdlg+set}" = set; then
7848 enableval
="$enable_progressdlg"
7850 if test "$enableval" = yes; then
7851 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7853 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7858 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7859 if test "x$LINE" != x
; then
7860 eval "DEFAULT_$LINE"
7865 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7870 eval "$ac_cv_use_progressdlg"
7871 if test "$no_cache" != 1; then
7872 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7875 if test "$wxUSE_PROGRESSDLG" = yes; then
7876 echo "$ac_t""yes" 1>&6
7878 echo "$ac_t""no" 1>&6
7883 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7884 echo "configure:7885: checking for --${enablestring:-enable}-wizarddlg" >&5
7886 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7887 if test "${enable_wizarddlg+set}" = set; then
7888 enableval
="$enable_wizarddlg"
7890 if test "$enableval" = yes; then
7891 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7893 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7898 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7899 if test "x$LINE" != x
; then
7900 eval "DEFAULT_$LINE"
7905 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7910 eval "$ac_cv_use_wizarddlg"
7911 if test "$no_cache" != 1; then
7912 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7915 if test "$wxUSE_WIZARDDLG" = yes; then
7916 echo "$ac_t""yes" 1>&6
7918 echo "$ac_t""no" 1>&6
7925 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
7926 echo "configure:7927: checking for --${enablestring:-enable}-menus" >&5
7928 # Check whether --enable-menus or --disable-menus was given.
7929 if test "${enable_menus+set}" = set; then
7930 enableval
="$enable_menus"
7932 if test "$enableval" = yes; then
7933 ac_cv_use_menus
='wxUSE_MENUS=yes'
7935 ac_cv_use_menus
='wxUSE_MENUS=no'
7940 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7941 if test "x$LINE" != x
; then
7942 eval "DEFAULT_$LINE"
7947 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7952 eval "$ac_cv_use_menus"
7953 if test "$no_cache" != 1; then
7954 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7957 if test "$wxUSE_MENUS" = yes; then
7958 echo "$ac_t""yes" 1>&6
7960 echo "$ac_t""no" 1>&6
7965 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
7966 echo "configure:7967: checking for --${enablestring:-enable}-miniframe" >&5
7968 # Check whether --enable-miniframe or --disable-miniframe was given.
7969 if test "${enable_miniframe+set}" = set; then
7970 enableval
="$enable_miniframe"
7972 if test "$enableval" = yes; then
7973 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7975 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7980 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7981 if test "x$LINE" != x
; then
7982 eval "DEFAULT_$LINE"
7987 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7992 eval "$ac_cv_use_miniframe"
7993 if test "$no_cache" != 1; then
7994 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7997 if test "$wxUSE_MINIFRAME" = yes; then
7998 echo "$ac_t""yes" 1>&6
8000 echo "$ac_t""no" 1>&6
8005 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8006 echo "configure:8007: checking for --${enablestring:-enable}-tooltips" >&5
8008 # Check whether --enable-tooltips or --disable-tooltips was given.
8009 if test "${enable_tooltips+set}" = set; then
8010 enableval
="$enable_tooltips"
8012 if test "$enableval" = yes; then
8013 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8015 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8020 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8021 if test "x$LINE" != x
; then
8022 eval "DEFAULT_$LINE"
8027 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8032 eval "$ac_cv_use_tooltips"
8033 if test "$no_cache" != 1; then
8034 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8037 if test "$wxUSE_TOOLTIPS" = yes; then
8038 echo "$ac_t""yes" 1>&6
8040 echo "$ac_t""no" 1>&6
8045 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8046 echo "configure:8047: checking for --${enablestring:-enable}-splines" >&5
8048 # Check whether --enable-splines or --disable-splines was given.
8049 if test "${enable_splines+set}" = set; then
8050 enableval
="$enable_splines"
8052 if test "$enableval" = yes; then
8053 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8055 ac_cv_use_splines
='wxUSE_SPLINES=no'
8060 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8061 if test "x$LINE" != x
; then
8062 eval "DEFAULT_$LINE"
8067 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8072 eval "$ac_cv_use_splines"
8073 if test "$no_cache" != 1; then
8074 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8077 if test "$wxUSE_SPLINES" = yes; then
8078 echo "$ac_t""yes" 1>&6
8080 echo "$ac_t""no" 1>&6
8085 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8086 echo "configure:8087: checking for --${enablestring:-enable}-validators" >&5
8088 # Check whether --enable-validators or --disable-validators was given.
8089 if test "${enable_validators+set}" = set; then
8090 enableval
="$enable_validators"
8092 if test "$enableval" = yes; then
8093 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8095 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8100 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8101 if test "x$LINE" != x
; then
8102 eval "DEFAULT_$LINE"
8107 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8112 eval "$ac_cv_use_validators"
8113 if test "$no_cache" != 1; then
8114 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8117 if test "$wxUSE_VALIDATORS" = yes; then
8118 echo "$ac_t""yes" 1>&6
8120 echo "$ac_t""no" 1>&6
8125 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8126 echo "configure:8127: checking for --${enablestring:-enable}-busyinfo" >&5
8128 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8129 if test "${enable_busyinfo+set}" = set; then
8130 enableval
="$enable_busyinfo"
8132 if test "$enableval" = yes; then
8133 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8135 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8140 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8141 if test "x$LINE" != x
; then
8142 eval "DEFAULT_$LINE"
8147 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8152 eval "$ac_cv_use_busyinfo"
8153 if test "$no_cache" != 1; then
8154 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8157 if test "$wxUSE_BUSYINFO" = yes; then
8158 echo "$ac_t""yes" 1>&6
8160 echo "$ac_t""no" 1>&6
8165 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8166 echo "configure:8167: checking for --${enablestring:-enable}-joystick" >&5
8168 # Check whether --enable-joystick or --disable-joystick was given.
8169 if test "${enable_joystick+set}" = set; then
8170 enableval
="$enable_joystick"
8172 if test "$enableval" = yes; then
8173 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8175 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8180 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8181 if test "x$LINE" != x
; then
8182 eval "DEFAULT_$LINE"
8187 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8192 eval "$ac_cv_use_joystick"
8193 if test "$no_cache" != 1; then
8194 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8197 if test "$wxUSE_JOYSTICK" = yes; then
8198 echo "$ac_t""yes" 1>&6
8200 echo "$ac_t""no" 1>&6
8205 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8206 echo "configure:8207: checking for --${enablestring:-enable}-metafile" >&5
8208 # Check whether --enable-metafile or --disable-metafile was given.
8209 if test "${enable_metafile+set}" = set; then
8210 enableval
="$enable_metafile"
8212 if test "$enableval" = yes; then
8213 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8215 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8220 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x
; then
8222 eval "DEFAULT_$LINE"
8227 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8232 eval "$ac_cv_use_metafile"
8233 if test "$no_cache" != 1; then
8234 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8237 if test "$wxUSE_METAFILE" = yes; then
8238 echo "$ac_t""yes" 1>&6
8240 echo "$ac_t""no" 1>&6
8245 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8246 echo "configure:8247: checking for --${enablestring:-enable}-dragimage" >&5
8248 # Check whether --enable-dragimage or --disable-dragimage was given.
8249 if test "${enable_dragimage+set}" = set; then
8250 enableval
="$enable_dragimage"
8252 if test "$enableval" = yes; then
8253 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8255 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8260 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x
; then
8262 eval "DEFAULT_$LINE"
8267 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8272 eval "$ac_cv_use_dragimage"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8277 if test "$wxUSE_DRAGIMAGE" = yes; then
8278 echo "$ac_t""yes" 1>&6
8280 echo "$ac_t""no" 1>&6
8287 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8288 echo "configure:8289: checking for --${enablestring:-enable}-palette" >&5
8290 # Check whether --enable-palette or --disable-palette was given.
8291 if test "${enable_palette+set}" = set; then
8292 enableval
="$enable_palette"
8294 if test "$enableval" = yes; then
8295 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8297 ac_cv_use_palette
='wxUSE_PALETTE=no'
8302 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x
; then
8304 eval "DEFAULT_$LINE"
8309 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8314 eval "$ac_cv_use_palette"
8315 if test "$no_cache" != 1; then
8316 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8319 if test "$wxUSE_PALETTE" = yes; then
8320 echo "$ac_t""yes" 1>&6
8322 echo "$ac_t""no" 1>&6
8327 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8328 echo "configure:8329: checking for --${enablestring:-enable}-image" >&5
8330 # Check whether --enable-image or --disable-image was given.
8331 if test "${enable_image+set}" = set; then
8332 enableval
="$enable_image"
8334 if test "$enableval" = yes; then
8335 ac_cv_use_image
='wxUSE_IMAGE=yes'
8337 ac_cv_use_image
='wxUSE_IMAGE=no'
8342 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x
; then
8344 eval "DEFAULT_$LINE"
8349 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8354 eval "$ac_cv_use_image"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8359 if test "$wxUSE_IMAGE" = yes; then
8360 echo "$ac_t""yes" 1>&6
8362 echo "$ac_t""no" 1>&6
8367 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8368 echo "configure:8369: checking for --${enablestring:-enable}-gif" >&5
8370 # Check whether --enable-gif or --disable-gif was given.
8371 if test "${enable_gif+set}" = set; then
8372 enableval
="$enable_gif"
8374 if test "$enableval" = yes; then
8375 ac_cv_use_gif
='wxUSE_GIF=yes'
8377 ac_cv_use_gif
='wxUSE_GIF=no'
8382 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8383 if test "x$LINE" != x
; then
8384 eval "DEFAULT_$LINE"
8389 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8394 eval "$ac_cv_use_gif"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8399 if test "$wxUSE_GIF" = yes; then
8400 echo "$ac_t""yes" 1>&6
8402 echo "$ac_t""no" 1>&6
8407 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8408 echo "configure:8409: checking for --${enablestring:-enable}-pcx" >&5
8410 # Check whether --enable-pcx or --disable-pcx was given.
8411 if test "${enable_pcx+set}" = set; then
8412 enableval
="$enable_pcx"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_pcx
='wxUSE_PCX=yes'
8417 ac_cv_use_pcx
='wxUSE_PCX=no'
8422 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x
; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8434 eval "$ac_cv_use_pcx"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_PCX" = yes; then
8440 echo "$ac_t""yes" 1>&6
8442 echo "$ac_t""no" 1>&6
8447 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8448 echo "configure:8449: checking for --${enablestring:-enable}-iff" >&5
8450 # Check whether --enable-iff or --disable-iff was given.
8451 if test "${enable_iff+set}" = set; then
8452 enableval
="$enable_iff"
8454 if test "$enableval" = yes; then
8455 ac_cv_use_iff
='wxUSE_IFF=yes'
8457 ac_cv_use_iff
='wxUSE_IFF=no'
8462 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8463 if test "x$LINE" != x
; then
8464 eval "DEFAULT_$LINE"
8469 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8474 eval "$ac_cv_use_iff"
8475 if test "$no_cache" != 1; then
8476 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8479 if test "$wxUSE_IFF" = yes; then
8480 echo "$ac_t""yes" 1>&6
8482 echo "$ac_t""no" 1>&6
8487 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8488 echo "configure:8489: checking for --${enablestring:-enable}-pnm" >&5
8490 # Check whether --enable-pnm or --disable-pnm was given.
8491 if test "${enable_pnm+set}" = set; then
8492 enableval
="$enable_pnm"
8494 if test "$enableval" = yes; then
8495 ac_cv_use_pnm
='wxUSE_PNM=yes'
8497 ac_cv_use_pnm
='wxUSE_PNM=no'
8502 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8503 if test "x$LINE" != x
; then
8504 eval "DEFAULT_$LINE"
8509 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8514 eval "$ac_cv_use_pnm"
8515 if test "$no_cache" != 1; then
8516 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8519 if test "$wxUSE_PNM" = yes; then
8520 echo "$ac_t""yes" 1>&6
8522 echo "$ac_t""no" 1>&6
8527 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8528 echo "configure:8529: checking for --${enablestring:-enable}-xpm" >&5
8530 # Check whether --enable-xpm or --disable-xpm was given.
8531 if test "${enable_xpm+set}" = set; then
8532 enableval
="$enable_xpm"
8534 if test "$enableval" = yes; then
8535 ac_cv_use_xpm
='wxUSE_XPM=yes'
8537 ac_cv_use_xpm
='wxUSE_XPM=no'
8542 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x
; then
8544 eval "DEFAULT_$LINE"
8549 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8554 eval "$ac_cv_use_xpm"
8555 if test "$no_cache" != 1; then
8556 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8559 if test "$wxUSE_XPM" = yes; then
8560 echo "$ac_t""yes" 1>&6
8562 echo "$ac_t""no" 1>&6
8567 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8568 echo "configure:8569: checking for --${enablestring:-enable}-ico_cur" >&5
8570 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8571 if test "${enable_ico_cur+set}" = set; then
8572 enableval
="$enable_ico_cur"
8574 if test "$enableval" = yes; then
8575 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8577 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8582 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8583 if test "x$LINE" != x
; then
8584 eval "DEFAULT_$LINE"
8589 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8594 eval "$ac_cv_use_ico_cur"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8599 if test "$wxUSE_ICO_CUR" = yes; then
8600 echo "$ac_t""yes" 1>&6
8602 echo "$ac_t""no" 1>&6
8609 *-pc-os2_emx | *-pc-os2-emx )
8621 echo "saving argument cache $wx_arg_cache_file"
8622 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8626 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8627 echo "configure:8628: checking for toolkit" >&5
8629 # In Wine, we need to default to MSW, not GTK or MOTIF
8630 if test "$wxUSE_WINE" = "yes"; then
8631 DEFAULT_DEFAULT_wxUSE_GTK
=0
8632 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8633 DEFAULT_DEFAULT_wxUSE_MSW
=1
8636 if test "$wxUSE_GUI" = "yes"; then
8638 if test "$USE_BEOS" = 1; then
8639 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8642 if test "$TOOLKIT_GIVEN" = 1; then
8643 for toolkit
in `echo $ALL_TOOLKITS`; do
8645 eval "value=\$${var}"
8646 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8649 for toolkit
in `echo $ALL_TOOLKITS`; do
8650 if test "$has_toolkit_in_cache" != 1; then
8651 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8653 var
=DEFAULT_wxUSE_
$toolkit
8655 eval "wxUSE_$toolkit=\$${var}"
8659 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8660 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8661 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8664 *-pc-os2_emx | *-pc-os2-emx )
8665 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8668 case "$NUM_TOOLKITS" in
8672 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8675 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8678 for toolkit
in `echo $ALL_TOOLKITS`; do
8680 eval "value=\$${var}"
8681 if test "x$value" != x
; then
8682 cache_var
=CACHE_
$toolkit
8683 eval "cache=\$${cache_var}"
8684 if test "$cache" = 1; then
8685 echo "$var=$value" >> ${wx_arg_cache_file}
8687 if test "$value" = 1; then
8688 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8689 echo "$ac_t""$toolkit_echo" 1>&6
8694 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8701 if test "$wxUSE_MSW" = 1 ; then
8712 if test "$wxUSE_WINE" = "yes"; then
8719 if test "$wants_win32" = 1 ; then
8722 cat >> confdefs.h
<<\EOF
8726 cat >> confdefs.h
<<\EOF
8730 cat >> confdefs.h
<<\EOF
8731 #define __WINDOWS__ 1
8734 cat >> confdefs.h
<<\EOF
8735 #define __GNUWIN32__ 1
8738 cat >> confdefs.h
<<\EOF
8742 cat >> confdefs.h
<<\EOF
8743 #define WINVER 0x0400
8747 if test "$doesnt_want_win32" = 1 ; then
8752 if test "$USE_UNIX" = 1 ; then
8754 cat >> confdefs.h
<<\EOF
8761 cat > confcache
<<\EOF
8762 # This file is a shell script that caches the results of configure
8763 # tests run on this system so they can be shared between configure
8764 # scripts and configure runs. It is not useful on other systems.
8765 # If it contains results you don't want to keep, you may remove or edit it.
8767 # By default, configure uses ./config.cache as the cache file,
8768 # creating it if it does not exist already. You can give configure
8769 # the --cache-file=FILE option to use a different cache file; that is
8770 # what configure does when it calls configure scripts in
8771 # subdirectories, so they share the cache.
8772 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8773 # config.status only pays attention to the cache file if you give it the
8774 # --recheck option to rerun configure.
8777 # The following way of writing the cache mishandles newlines in values,
8778 # but we know of no workaround that is simple, portable, and efficient.
8779 # So, don't put newlines in cache variables' values.
8780 # Ultrix sh set writes to stderr and can't be redirected directly,
8781 # and sets the high bit in the cache file unless we assign to the vars.
8783 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8785 # `set' does not quote correctly, so add quotes (double-quote substitution
8786 # turns \\\\ into \\, and sed turns \\ into \).
8788 -e "s/'/'\\\\''/g" \
8789 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8792 # `set' quotes correctly as required by POSIX, so do not add quotes.
8793 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8796 if cmp -s $cache_file confcache
; then
8799 if test -w $cache_file; then
8800 echo "updating cache $cache_file"
8801 cat confcache
> $cache_file
8803 echo "not updating unwritable cache $cache_file"
8809 if test "$build" != "$host" ; then
8810 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8814 RANLIB
=$host_alias-ranlib
8815 DLLTOOL
=$host_alias-dlltool
8816 RESCOMP
=$host_alias-windres
8819 STRIP
=$host_alias-strip
8821 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8826 # Extract the first word of "gcc", so it can be a program name with args.
8827 set dummy gcc
; ac_word
=$2
8828 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8829 echo "configure:8830: checking for $ac_word" >&5
8830 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8831 echo $ac_n "(cached) $ac_c" 1>&6
8833 if test -n "$CC"; then
8834 ac_cv_prog_CC
="$CC" # Let the user override the test.
8836 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8838 for ac_dir
in $ac_dummy; do
8839 test -z "$ac_dir" && ac_dir
=.
8840 if test -f $ac_dir/$ac_word; then
8849 if test -n "$CC"; then
8850 echo "$ac_t""$CC" 1>&6
8852 echo "$ac_t""no" 1>&6
8855 if test -z "$CC"; then
8856 # Extract the first word of "cc", so it can be a program name with args.
8857 set dummy cc
; ac_word
=$2
8858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8859 echo "configure:8860: checking for $ac_word" >&5
8860 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8861 echo $ac_n "(cached) $ac_c" 1>&6
8863 if test -n "$CC"; then
8864 ac_cv_prog_CC
="$CC" # Let the user override the test.
8866 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8869 for ac_dir
in $ac_dummy; do
8870 test -z "$ac_dir" && ac_dir
=.
8871 if test -f $ac_dir/$ac_word; then
8872 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8873 ac_prog_rejected
=yes
8881 if test $ac_prog_rejected = yes; then
8882 # We found a bogon in the path, so make sure we never use it.
8883 set dummy
$ac_cv_prog_CC
8885 if test $# -gt 0; then
8886 # We chose a different compiler from the bogus one.
8887 # However, it has the same basename, so the bogon will be chosen
8888 # first if we set CC to just the basename; use the full file name.
8890 set dummy
"$ac_dir/$ac_word" "$@"
8898 if test -n "$CC"; then
8899 echo "$ac_t""$CC" 1>&6
8901 echo "$ac_t""no" 1>&6
8904 if test -z "$CC"; then
8905 case "`uname -s`" in
8907 # Extract the first word of "cl", so it can be a program name with args.
8908 set dummy cl
; ac_word
=$2
8909 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8910 echo "configure:8911: checking for $ac_word" >&5
8911 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8912 echo $ac_n "(cached) $ac_c" 1>&6
8914 if test -n "$CC"; then
8915 ac_cv_prog_CC
="$CC" # Let the user override the test.
8917 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8919 for ac_dir
in $ac_dummy; do
8920 test -z "$ac_dir" && ac_dir
=.
8921 if test -f $ac_dir/$ac_word; then
8930 if test -n "$CC"; then
8931 echo "$ac_t""$CC" 1>&6
8933 echo "$ac_t""no" 1>&6
8938 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8941 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8942 echo "configure:8943: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8945 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8946 ac_cpp
='$CPP $CPPFLAGS'
8947 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8948 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8949 cross_compiling
=$ac_cv_prog_cc_cross
8951 cat > conftest.
$ac_ext << EOF
8953 #line 8954 "configure"
8954 #include "confdefs.h"
8958 if { (eval echo configure
:8959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8959 ac_cv_prog_cc_works
=yes
8960 # If we can't run a trivial program, we are probably using a cross compiler.
8961 if (.
/conftest
; exit) 2>/dev
/null
; then
8962 ac_cv_prog_cc_cross
=no
8964 ac_cv_prog_cc_cross
=yes
8967 echo "configure: failed program was:" >&5
8968 cat conftest.
$ac_ext >&5
8969 ac_cv_prog_cc_works
=no
8973 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8974 ac_cpp
='$CPP $CPPFLAGS'
8975 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8976 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8977 cross_compiling
=$ac_cv_prog_cc_cross
8979 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8980 if test $ac_cv_prog_cc_works = no
; then
8981 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8983 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8984 echo "configure:8985: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8985 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8986 cross_compiling
=$ac_cv_prog_cc_cross
8988 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8989 echo "configure:8990: checking whether we are using GNU C" >&5
8990 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8991 echo $ac_n "(cached) $ac_c" 1>&6
8993 cat > conftest.c
<<EOF
8998 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9005 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9007 if test $ac_cv_prog_gcc = yes; then
9013 ac_test_CFLAGS
="${CFLAGS+set}"
9014 ac_save_CFLAGS
="$CFLAGS"
9016 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9017 echo "configure:9018: checking whether ${CC-cc} accepts -g" >&5
9018 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9019 echo $ac_n "(cached) $ac_c" 1>&6
9021 echo 'void f(){}' > conftest.c
9022 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9031 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9032 if test "$ac_test_CFLAGS" = set; then
9033 CFLAGS
="$ac_save_CFLAGS"
9034 elif test $ac_cv_prog_cc_g = yes; then
9035 if test "$GCC" = yes; then
9041 if test "$GCC" = yes; then
9049 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9050 echo "configure:9051: checking how to run the C preprocessor" >&5
9051 # On Suns, sometimes $CPP names a directory.
9052 if test -n "$CPP" && test -d "$CPP"; then
9055 if test -z "$CPP"; then
9056 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9057 echo $ac_n "(cached) $ac_c" 1>&6
9059 # This must be in double quotes, not single quotes, because CPP may get
9060 # substituted into the Makefile and "${CC-cc}" will confuse make.
9062 # On the NeXT, cc -E runs the code through the compiler's parser,
9063 # not just through cpp.
9064 cat > conftest.
$ac_ext <<EOF
9065 #line 9066 "configure"
9066 #include "confdefs.h"
9070 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9071 { (eval echo configure
:9072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9072 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9073 if test -z "$ac_err"; then
9077 echo "configure: failed program was:" >&5
9078 cat conftest.
$ac_ext >&5
9080 CPP
="${CC-cc} -E -traditional-cpp"
9081 cat > conftest.
$ac_ext <<EOF
9082 #line 9083 "configure"
9083 #include "confdefs.h"
9087 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9088 { (eval echo configure
:9089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9089 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9090 if test -z "$ac_err"; then
9094 echo "configure: failed program was:" >&5
9095 cat conftest.
$ac_ext >&5
9097 CPP
="${CC-cc} -nologo -E"
9098 cat > conftest.
$ac_ext <<EOF
9099 #line 9100 "configure"
9100 #include "confdefs.h"
9104 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9105 { (eval echo configure
:9106: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9106 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9107 if test -z "$ac_err"; then
9111 echo "configure: failed program was:" >&5
9112 cat conftest.
$ac_ext >&5
9121 ac_cv_prog_CPP
="$CPP"
9123 CPP
="$ac_cv_prog_CPP"
9125 ac_cv_prog_CPP
="$CPP"
9127 echo "$ac_t""$CPP" 1>&6
9129 if test $ac_cv_prog_gcc = yes; then
9130 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9131 echo "configure:9132: checking whether ${CC-cc} needs -traditional" >&5
9132 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9133 echo $ac_n "(cached) $ac_c" 1>&6
9135 ac_pattern
="Autoconf.*'x'"
9136 cat > conftest.
$ac_ext <<EOF
9137 #line 9138 "configure"
9138 #include "confdefs.h"
9142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9143 egrep "$ac_pattern" >/dev
/null
2>&1; then
9145 ac_cv_prog_gcc_traditional
=yes
9148 ac_cv_prog_gcc_traditional
=no
9153 if test $ac_cv_prog_gcc_traditional = no
; then
9154 cat > conftest.
$ac_ext <<EOF
9155 #line 9156 "configure"
9156 #include "confdefs.h"
9160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9161 egrep "$ac_pattern" >/dev
/null
2>&1; then
9163 ac_cv_prog_gcc_traditional
=yes
9170 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9171 if test $ac_cv_prog_gcc_traditional = yes; then
9172 CC
="$CC -traditional"
9179 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9180 ac_cpp
='$CXXCPP $CPPFLAGS'
9181 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9182 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9183 cross_compiling
=$ac_cv_prog_cxx_cross
9186 CXXFLAGS
=${CXXFLAGS:=}
9187 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9189 # Extract the first word of "$ac_prog", so it can be a program name with args.
9190 set dummy
$ac_prog; ac_word
=$2
9191 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9192 echo "configure:9193: checking for $ac_word" >&5
9193 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9194 echo $ac_n "(cached) $ac_c" 1>&6
9196 if test -n "$CXX"; then
9197 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9199 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9201 for ac_dir
in $ac_dummy; do
9202 test -z "$ac_dir" && ac_dir
=.
9203 if test -f $ac_dir/$ac_word; then
9204 ac_cv_prog_CXX
="$ac_prog"
9211 CXX
="$ac_cv_prog_CXX"
9212 if test -n "$CXX"; then
9213 echo "$ac_t""$CXX" 1>&6
9215 echo "$ac_t""no" 1>&6
9218 test -n "$CXX" && break
9220 test -n "$CXX" || CXX
="gcc"
9223 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9224 echo "configure:9225: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9227 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9228 ac_cpp
='$CXXCPP $CPPFLAGS'
9229 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9230 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9231 cross_compiling
=$ac_cv_prog_cxx_cross
9233 cat > conftest.
$ac_ext << EOF
9235 #line 9236 "configure"
9236 #include "confdefs.h"
9238 int main(){return(0);}
9240 if { (eval echo configure
:9241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9241 ac_cv_prog_cxx_works
=yes
9242 # If we can't run a trivial program, we are probably using a cross compiler.
9243 if (.
/conftest
; exit) 2>/dev
/null
; then
9244 ac_cv_prog_cxx_cross
=no
9246 ac_cv_prog_cxx_cross
=yes
9249 echo "configure: failed program was:" >&5
9250 cat conftest.
$ac_ext >&5
9251 ac_cv_prog_cxx_works
=no
9255 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9256 ac_cpp
='$CXXCPP $CPPFLAGS'
9257 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9258 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9259 cross_compiling
=$ac_cv_prog_cxx_cross
9261 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9262 if test $ac_cv_prog_cxx_works = no
; then
9263 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9265 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9266 echo "configure:9267: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9267 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9268 cross_compiling
=$ac_cv_prog_cxx_cross
9270 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9271 echo "configure:9272: checking whether we are using GNU C++" >&5
9272 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9273 echo $ac_n "(cached) $ac_c" 1>&6
9275 cat > conftest.C
<<EOF
9280 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9281: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9287 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9289 if test $ac_cv_prog_gxx = yes; then
9295 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9296 ac_save_CXXFLAGS
="$CXXFLAGS"
9298 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9299 echo "configure:9300: checking whether ${CXX-g++} accepts -g" >&5
9300 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9301 echo $ac_n "(cached) $ac_c" 1>&6
9303 echo 'void f(){}' > conftest.cc
9304 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9305 ac_cv_prog_cxx_g
=yes
9313 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9314 if test "$ac_test_CXXFLAGS" = set; then
9315 CXXFLAGS
="$ac_save_CXXFLAGS"
9316 elif test $ac_cv_prog_cxx_g = yes; then
9317 if test "$GXX" = yes; then
9323 if test "$GXX" = yes; then
9332 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9333 ac_cpp
='$CPP $CPPFLAGS'
9334 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9335 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9336 cross_compiling
=$ac_cv_prog_cc_cross
9339 # Extract the first word of "ranlib", so it can be a program name with args.
9340 set dummy ranlib
; ac_word
=$2
9341 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9342 echo "configure:9343: checking for $ac_word" >&5
9343 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9344 echo $ac_n "(cached) $ac_c" 1>&6
9346 if test -n "$RANLIB"; then
9347 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9349 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9351 for ac_dir
in $ac_dummy; do
9352 test -z "$ac_dir" && ac_dir
=.
9353 if test -f $ac_dir/$ac_word; then
9354 ac_cv_prog_RANLIB
="ranlib"
9359 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9362 RANLIB
="$ac_cv_prog_RANLIB"
9363 if test -n "$RANLIB"; then
9364 echo "$ac_t""$RANLIB" 1>&6
9366 echo "$ac_t""no" 1>&6
9370 # Extract the first word of "ar", so it can be a program name with args.
9371 set dummy
ar; ac_word
=$2
9372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9373 echo "configure:9374: checking for $ac_word" >&5
9374 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9375 echo $ac_n "(cached) $ac_c" 1>&6
9377 if test -n "$AR"; then
9378 ac_cv_prog_AR
="$AR" # Let the user override the test.
9380 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9382 for ac_dir
in $ac_dummy; do
9383 test -z "$ac_dir" && ac_dir
=.
9384 if test -f $ac_dir/$ac_word; then
9390 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9394 if test -n "$AR"; then
9395 echo "$ac_t""$AR" 1>&6
9397 echo "$ac_t""no" 1>&6
9401 # Find a good install program. We prefer a C program (faster),
9402 # so one script is as good as another. But avoid the broken or
9403 # incompatible versions:
9404 # SysV /etc/install, /usr/sbin/install
9405 # SunOS /usr/etc/install
9406 # IRIX /sbin/install
9408 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9409 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9410 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9411 # ./install, which can be erroneously created by make from ./install.sh.
9412 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9413 echo "configure:9414: checking for a BSD compatible install" >&5
9414 if test -z "$INSTALL"; then
9415 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9416 echo $ac_n "(cached) $ac_c" 1>&6
9418 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9419 for ac_dir
in $PATH; do
9420 # Account for people who put trailing slashes in PATH elements.
9422 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9424 # OSF1 and SCO ODT 3.0 have their own names for install.
9425 # Don't use installbsd from OSF since it installs stuff as root
9427 for ac_prog
in ginstall scoinst
install; do
9428 if test -f $ac_dir/$ac_prog; then
9429 if test $ac_prog = install &&
9430 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9431 # AIX install. It has an incompatible calling convention.
9434 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9445 if test "${ac_cv_path_install+set}" = set; then
9446 INSTALL
="$ac_cv_path_install"
9448 # As a last resort, use the slow shell script. We don't cache a
9449 # path for INSTALL within a source directory, because that will
9450 # break other packages using the cache if that directory is
9451 # removed, or if the path is relative.
9452 INSTALL
="$ac_install_sh"
9455 echo "$ac_t""$INSTALL" 1>&6
9457 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9458 # It thinks the first close brace ends the variable substitution.
9459 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9461 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9463 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9469 ?
:* ) # Drive letter, considered as absolute.
9472 INSTALL
=`pwd`/${INSTALL} ;;
9480 *) INSTALL_DIR
="$INSTALL -d"
9488 INSTALL_PROGRAM
="cp -fp"
9489 INSTALL_DATA
="cp -fp"
9495 # Extract the first word of "strip", so it can be a program name with args.
9496 set dummy strip
; ac_word
=$2
9497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9498 echo "configure:9499: checking for $ac_word" >&5
9499 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9500 echo $ac_n "(cached) $ac_c" 1>&6
9502 if test -n "$STRIP"; then
9503 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9505 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9507 for ac_dir
in $ac_dummy; do
9508 test -z "$ac_dir" && ac_dir
=.
9509 if test -f $ac_dir/$ac_word; then
9510 ac_cv_prog_STRIP
="strip"
9515 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9518 STRIP
="$ac_cv_prog_STRIP"
9519 if test -n "$STRIP"; then
9520 echo "$ac_t""$STRIP" 1>&6
9522 echo "$ac_t""no" 1>&6
9526 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9527 echo "configure:9528: checking if make is GNU make" >&5
9528 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9529 echo $ac_n "(cached) $ac_c" 1>&6
9532 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9533 egrep -s GNU
> /dev
/null
); then
9534 wx_cv_prog_makeisgnu
="yes"
9536 wx_cv_prog_makeisgnu
="no"
9541 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9543 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9551 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9552 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9553 echo "configure:9554: checking if make supports VPATH" >&5
9554 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9555 echo $ac_n "(cached) $ac_c" 1>&6
9558 cat - << EOF > confMake
9564 if test ! -d sub
; then
9567 echo dummy
> sub
/file
9568 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9570 rm -f sub
/file check final_file confMake
9572 if test "$RESULT" = 0; then
9573 wx_cv_prog_makevpath
="yes"
9575 wx_cv_prog_makevpath
="no"
9580 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9582 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9583 { echo "configure: error:
9584 You need a make-utility that is able to use the variable
9586 If your version of make does not support VPATH correctly,
9587 please install GNU-make (possibly as gmake), and start
9588 configure with the following command:
9589 export MAKE=gmake; ./configure for sh-type shells
9590 setenv MAKE gmake; ./configure for csh-type shells
9591 Also please do remember to use gmake in this case every time
9592 you are trying to compile.
9595 for ac_prog
in 'bison -y' byacc
9597 # Extract the first word of "$ac_prog", so it can be a program name with args.
9598 set dummy
$ac_prog; ac_word
=$2
9599 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9600 echo "configure:9601: checking for $ac_word" >&5
9601 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9602 echo $ac_n "(cached) $ac_c" 1>&6
9604 if test -n "$YACC"; then
9605 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9607 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9609 for ac_dir
in $ac_dummy; do
9610 test -z "$ac_dir" && ac_dir
=.
9611 if test -f $ac_dir/$ac_word; then
9612 ac_cv_prog_YACC
="$ac_prog"
9619 YACC
="$ac_cv_prog_YACC"
9620 if test -n "$YACC"; then
9621 echo "$ac_t""$YACC" 1>&6
9623 echo "$ac_t""no" 1>&6
9626 test -n "$YACC" && break
9628 test -n "$YACC" || YACC
="yacc"
9631 # Extract the first word of "flex", so it can be a program name with args.
9632 set dummy flex
; ac_word
=$2
9633 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9634 echo "configure:9635: checking for $ac_word" >&5
9635 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9636 echo $ac_n "(cached) $ac_c" 1>&6
9638 if test -n "$LEX"; then
9639 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9641 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9643 for ac_dir
in $ac_dummy; do
9644 test -z "$ac_dir" && ac_dir
=.
9645 if test -f $ac_dir/$ac_word; then
9646 ac_cv_prog_LEX
="flex"
9651 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9654 LEX
="$ac_cv_prog_LEX"
9655 if test -n "$LEX"; then
9656 echo "$ac_t""$LEX" 1>&6
9658 echo "$ac_t""no" 1>&6
9661 if test -z "$LEXLIB"
9667 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9668 echo "configure:9669: checking for yywrap in -l$ac_lib" >&5
9669 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9670 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9671 echo $ac_n "(cached) $ac_c" 1>&6
9673 ac_save_LIBS
="$LIBS"
9674 LIBS
="-l$ac_lib $LIBS"
9675 cat > conftest.
$ac_ext <<EOF
9676 #line 9677 "configure"
9677 #include "confdefs.h"
9678 /* Override any gcc2 internal prototype to avoid an error. */
9679 /* We use char because int might match the return type of a gcc2
9680 builtin and then its argument prototype would still apply. */
9687 if { (eval echo configure
:9688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9689 eval "ac_cv_lib_$ac_lib_var=yes"
9691 echo "configure: failed program was:" >&5
9692 cat conftest.
$ac_ext >&5
9694 eval "ac_cv_lib_$ac_lib_var=no"
9697 LIBS
="$ac_save_LIBS"
9700 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9701 echo "$ac_t""yes" 1>&6
9704 echo "$ac_t""no" 1>&6
9710 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9711 echo "configure:9712: checking whether ln -s works" >&5
9712 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9713 echo $ac_n "(cached) $ac_c" 1>&6
9716 if ln -s X conftestdata
2>/dev
/null
9719 ac_cv_prog_LN_S
="ln -s"
9724 LN_S
="$ac_cv_prog_LN_S"
9725 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9726 echo "$ac_t""yes" 1>&6
9728 echo "$ac_t""no" 1>&6
9733 *-pc-os2_emx | *-pc-os2-emx )
9734 LIBS
="$LIBS -lstdcpp"
9735 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9736 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9737 echo "configure:9738: checking for drand48 in -lcExt" >&5
9738 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9739 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9740 echo $ac_n "(cached) $ac_c" 1>&6
9742 ac_save_LIBS
="$LIBS"
9744 cat > conftest.
$ac_ext <<EOF
9745 #line 9746 "configure"
9746 #include "confdefs.h"
9747 /* Override any gcc2 internal prototype to avoid an error. */
9748 /* We use char because int might match the return type of a gcc2
9749 builtin and then its argument prototype would still apply. */
9756 if { (eval echo configure
:9757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9758 eval "ac_cv_lib_$ac_lib_var=yes"
9760 echo "configure: failed program was:" >&5
9761 cat conftest.
$ac_ext >&5
9763 eval "ac_cv_lib_$ac_lib_var=no"
9766 LIBS
="$ac_save_LIBS"
9769 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9770 echo "$ac_t""yes" 1>&6
9773 echo "$ac_t""no" 1>&6
9777 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9783 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9784 for ac_hdr
in strings.h
9786 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9787 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9788 echo "configure:9789: checking for $ac_hdr" >&5
9789 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9790 echo $ac_n "(cached) $ac_c" 1>&6
9792 cat > conftest.
$ac_ext <<EOF
9793 #line 9794 "configure"
9794 #include "confdefs.h"
9797 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9798 { (eval echo configure
:9799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9799 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9800 if test -z "$ac_err"; then
9802 eval "ac_cv_header_$ac_safe=yes"
9805 echo "configure: failed program was:" >&5
9806 cat conftest.
$ac_ext >&5
9808 eval "ac_cv_header_$ac_safe=no"
9812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9813 echo "$ac_t""yes" 1>&6
9814 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9815 cat >> confdefs.h
<<EOF
9816 #define $ac_tr_hdr 1
9820 echo "$ac_t""no" 1>&6
9826 for ac_hdr
in stdlib.h
9828 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9829 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9830 echo "configure:9831: checking for $ac_hdr" >&5
9831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9832 echo $ac_n "(cached) $ac_c" 1>&6
9834 cat > conftest.
$ac_ext <<EOF
9835 #line 9836 "configure"
9836 #include "confdefs.h"
9839 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9840 { (eval echo configure
:9841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9841 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9842 if test -z "$ac_err"; then
9844 eval "ac_cv_header_$ac_safe=yes"
9847 echo "configure: failed program was:" >&5
9848 cat conftest.
$ac_ext >&5
9850 eval "ac_cv_header_$ac_safe=no"
9854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9855 echo "$ac_t""yes" 1>&6
9856 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9857 cat >> confdefs.h
<<EOF
9858 #define $ac_tr_hdr 1
9862 echo "$ac_t""no" 1>&6
9866 for ac_hdr
in malloc.h
9868 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9869 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9870 echo "configure:9871: checking for $ac_hdr" >&5
9871 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9872 echo $ac_n "(cached) $ac_c" 1>&6
9874 cat > conftest.
$ac_ext <<EOF
9875 #line 9876 "configure"
9876 #include "confdefs.h"
9879 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9880 { (eval echo configure
:9881: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9881 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9882 if test -z "$ac_err"; then
9884 eval "ac_cv_header_$ac_safe=yes"
9887 echo "configure: failed program was:" >&5
9888 cat conftest.
$ac_ext >&5
9890 eval "ac_cv_header_$ac_safe=no"
9894 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9895 echo "$ac_t""yes" 1>&6
9896 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9897 cat >> confdefs.h
<<EOF
9898 #define $ac_tr_hdr 1
9902 echo "$ac_t""no" 1>&6
9906 for ac_hdr
in unistd.h
9908 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9909 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9910 echo "configure:9911: checking for $ac_hdr" >&5
9911 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9912 echo $ac_n "(cached) $ac_c" 1>&6
9914 cat > conftest.
$ac_ext <<EOF
9915 #line 9916 "configure"
9916 #include "confdefs.h"
9919 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9920 { (eval echo configure
:9921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9921 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9922 if test -z "$ac_err"; then
9924 eval "ac_cv_header_$ac_safe=yes"
9927 echo "configure: failed program was:" >&5
9928 cat conftest.
$ac_ext >&5
9930 eval "ac_cv_header_$ac_safe=no"
9934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9935 echo "$ac_t""yes" 1>&6
9936 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9937 cat >> confdefs.h
<<EOF
9938 #define $ac_tr_hdr 1
9942 echo "$ac_t""no" 1>&6
9946 for ac_hdr
in wchar.h
9948 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9949 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9950 echo "configure:9951: checking for $ac_hdr" >&5
9951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9952 echo $ac_n "(cached) $ac_c" 1>&6
9954 cat > conftest.
$ac_ext <<EOF
9955 #line 9956 "configure"
9956 #include "confdefs.h"
9959 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9960 { (eval echo configure
:9961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9961 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9962 if test -z "$ac_err"; then
9964 eval "ac_cv_header_$ac_safe=yes"
9967 echo "configure: failed program was:" >&5
9968 cat conftest.
$ac_ext >&5
9970 eval "ac_cv_header_$ac_safe=no"
9974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9975 echo "$ac_t""yes" 1>&6
9976 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9977 cat >> confdefs.h
<<EOF
9978 #define $ac_tr_hdr 1
9982 echo "$ac_t""no" 1>&6
9987 if test "$ac_cv_header_wchar_h" != "yes"; then
9988 for ac_hdr
in wcstr.h
9990 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9991 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9992 echo "configure:9993: checking for $ac_hdr" >&5
9993 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9994 echo $ac_n "(cached) $ac_c" 1>&6
9996 cat > conftest.
$ac_ext <<EOF
9997 #line 9998 "configure"
9998 #include "confdefs.h"
10001 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10002 { (eval echo configure
:10003: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10003 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10004 if test -z "$ac_err"; then
10006 eval "ac_cv_header_$ac_safe=yes"
10009 echo "configure: failed program was:" >&5
10010 cat conftest.
$ac_ext >&5
10012 eval "ac_cv_header_$ac_safe=no"
10016 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10017 echo "$ac_t""yes" 1>&6
10018 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10019 cat >> confdefs.h
<<EOF
10020 #define $ac_tr_hdr 1
10024 echo "$ac_t""no" 1>&6
10030 for ac_hdr
in fnmatch.h
10032 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10033 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10034 echo "configure:10035: checking for $ac_hdr" >&5
10035 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10036 echo $ac_n "(cached) $ac_c" 1>&6
10038 cat > conftest.
$ac_ext <<EOF
10039 #line 10040 "configure"
10040 #include "confdefs.h"
10043 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10044 { (eval echo configure
:10045: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10045 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10046 if test -z "$ac_err"; then
10048 eval "ac_cv_header_$ac_safe=yes"
10051 echo "configure: failed program was:" >&5
10052 cat conftest.
$ac_ext >&5
10054 eval "ac_cv_header_$ac_safe=no"
10058 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10059 echo "$ac_t""yes" 1>&6
10060 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10061 cat >> confdefs.h
<<EOF
10062 #define $ac_tr_hdr 1
10066 echo "$ac_t""no" 1>&6
10071 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10072 for ac_func
in fnmatch
10074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10075 echo "configure:10076: checking for $ac_func" >&5
10076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10077 echo $ac_n "(cached) $ac_c" 1>&6
10079 cat > conftest.
$ac_ext <<EOF
10080 #line 10081 "configure"
10081 #include "confdefs.h"
10082 /* System header to define __stub macros and hopefully few prototypes,
10083 which can conflict with char $ac_func(); below. */
10084 #include <assert.h>
10085 /* Override any gcc2 internal prototype to avoid an error. */
10086 /* We use char because int might match the return type of a gcc2
10087 builtin and then its argument prototype would still apply. */
10092 /* The GNU C library defines this for functions which it implements
10093 to always fail with ENOSYS. Some functions are actually named
10094 something starting with __ and the normal name is an alias. */
10095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10103 if { (eval echo configure
:10104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10105 eval "ac_cv_func_$ac_func=yes"
10107 echo "configure: failed program was:" >&5
10108 cat conftest.
$ac_ext >&5
10110 eval "ac_cv_func_$ac_func=no"
10115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10116 echo "$ac_t""yes" 1>&6
10117 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10118 cat >> confdefs.h
<<EOF
10119 #define $ac_tr_func 1
10123 echo "$ac_t""no" 1>&6
10129 for ac_hdr
in langinfo.h
10131 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10132 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10133 echo "configure:10134: checking for $ac_hdr" >&5
10134 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10135 echo $ac_n "(cached) $ac_c" 1>&6
10137 cat > conftest.
$ac_ext <<EOF
10138 #line 10139 "configure"
10139 #include "confdefs.h"
10142 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10143 { (eval echo configure
:10144: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10144 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10145 if test -z "$ac_err"; then
10147 eval "ac_cv_header_$ac_safe=yes"
10150 echo "configure: failed program was:" >&5
10151 cat conftest.
$ac_ext >&5
10153 eval "ac_cv_header_$ac_safe=no"
10157 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10158 echo "$ac_t""yes" 1>&6
10159 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10160 cat >> confdefs.h
<<EOF
10161 #define $ac_tr_hdr 1
10165 echo "$ac_t""no" 1>&6
10171 *-pc-os2_emx | *-pc-os2-emx )
10172 if test $ac_cv_header_langinfo_h = "yes"; then
10173 LIBS
="$LIBS -lintl"
10178 if test "$wxUSE_GUI" = "yes"; then
10179 if test "$wxUSE_UNIX" = "yes"; then
10180 for ac_hdr
in X
11/XKBlib.h
10182 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10183 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10184 echo "configure:10185: checking for $ac_hdr" >&5
10185 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10186 echo $ac_n "(cached) $ac_c" 1>&6
10188 cat > conftest.
$ac_ext <<EOF
10189 #line 10190 "configure"
10190 #include "confdefs.h"
10193 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10194 { (eval echo configure
:10195: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10195 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10196 if test -z "$ac_err"; then
10198 eval "ac_cv_header_$ac_safe=yes"
10201 echo "configure: failed program was:" >&5
10202 cat conftest.
$ac_ext >&5
10204 eval "ac_cv_header_$ac_safe=no"
10208 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10209 echo "$ac_t""yes" 1>&6
10210 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10211 cat >> confdefs.h
<<EOF
10212 #define $ac_tr_hdr 1
10216 echo "$ac_t""no" 1>&6
10224 echo $ac_n "checking for working const""... $ac_c" 1>&6
10225 echo "configure:10226: checking for working const" >&5
10226 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10227 echo $ac_n "(cached) $ac_c" 1>&6
10229 cat > conftest.
$ac_ext <<EOF
10230 #line 10231 "configure"
10231 #include "confdefs.h"
10235 /* Ultrix mips cc rejects this. */
10236 typedef int charset[2]; const charset x;
10237 /* SunOS 4.1.1 cc rejects this. */
10238 char const *const *ccp;
10240 /* NEC SVR4.0.2 mips cc rejects this. */
10241 struct point {int x, y;};
10242 static struct point const zero = {0,0};
10243 /* AIX XL C 1.02.0.0 rejects this.
10244 It does not let you subtract one const X* pointer from another in an arm
10245 of an if-expression whose if-part is not a constant expression */
10246 const char *g = "string";
10247 ccp = &g + (g ? g-g : 0);
10248 /* HPUX 7.0 cc rejects these. */
10251 ccp = (char const *const *) p;
10252 { /* SCO 3.2v4 cc rejects this. */
10254 char const *s = 0 ? (char *) 0 : (char const *) 0;
10258 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10259 int x[] = {25, 17};
10260 const int *foo = &x[0];
10263 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10264 typedef const int *iptr;
10268 { /* AIX XL C 1.02.0.0 rejects this saying
10269 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10270 struct s { int j; const int *ap[3]; };
10271 struct s *b; b->j = 5;
10273 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10274 const int foo = 10;
10279 if { (eval echo configure
:10280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10283 echo "configure: failed program was:" >&5
10284 cat conftest.
$ac_ext >&5
10291 echo "$ac_t""$ac_cv_c_const" 1>&6
10292 if test $ac_cv_c_const = no
; then
10293 cat >> confdefs.h
<<\EOF
10299 echo $ac_n "checking for inline""... $ac_c" 1>&6
10300 echo "configure:10301: checking for inline" >&5
10301 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10302 echo $ac_n "(cached) $ac_c" 1>&6
10305 for ac_kw
in inline __inline__ __inline
; do
10306 cat > conftest.
$ac_ext <<EOF
10307 #line 10308 "configure"
10308 #include "confdefs.h"
10314 if { (eval echo configure
:10315: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10316 ac_cv_c_inline
=$ac_kw; break
10318 echo "configure: failed program was:" >&5
10319 cat conftest.
$ac_ext >&5
10326 echo "$ac_t""$ac_cv_c_inline" 1>&6
10327 case "$ac_cv_c_inline" in
10329 no
) cat >> confdefs.h
<<\EOF
10333 *) cat >> confdefs.h
<<EOF
10334 #define inline $ac_cv_c_inline
10340 echo $ac_n "checking size of char""... $ac_c" 1>&6
10341 echo "configure:10342: checking size of char" >&5
10342 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10343 echo $ac_n "(cached) $ac_c" 1>&6
10345 if test "$cross_compiling" = yes; then
10346 ac_cv_sizeof_char
=1
10348 cat > conftest.
$ac_ext <<EOF
10349 #line 10350 "configure"
10350 #include "confdefs.h"
10352 #include <sys/types.h>
10355 FILE *f=fopen("conftestval", "w");
10357 fprintf(f, "%d\n", sizeof(char));
10361 if { (eval echo configure
:10362: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10363 ac_cv_sizeof_char
=`cat conftestval`
10365 echo "configure: failed program was:" >&5
10366 cat conftest.
$ac_ext >&5
10368 ac_cv_sizeof_char
=0
10374 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10375 cat >> confdefs.h
<<EOF
10376 #define SIZEOF_CHAR $ac_cv_sizeof_char
10380 echo $ac_n "checking size of short""... $ac_c" 1>&6
10381 echo "configure:10382: checking size of short" >&5
10382 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10383 echo $ac_n "(cached) $ac_c" 1>&6
10385 if test "$cross_compiling" = yes; then
10386 ac_cv_sizeof_short
=2
10388 cat > conftest.
$ac_ext <<EOF
10389 #line 10390 "configure"
10390 #include "confdefs.h"
10392 #include <sys/types.h>
10395 FILE *f=fopen("conftestval", "w");
10397 fprintf(f, "%d\n", sizeof(short));
10401 if { (eval echo configure
:10402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10403 ac_cv_sizeof_short
=`cat conftestval`
10405 echo "configure: failed program was:" >&5
10406 cat conftest.
$ac_ext >&5
10408 ac_cv_sizeof_short
=0
10414 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10415 cat >> confdefs.h
<<EOF
10416 #define SIZEOF_SHORT $ac_cv_sizeof_short
10420 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10421 echo "configure:10422: checking size of void *" >&5
10422 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10425 if test "$cross_compiling" = yes; then
10426 ac_cv_sizeof_void_p
=4
10428 cat > conftest.
$ac_ext <<EOF
10429 #line 10430 "configure"
10430 #include "confdefs.h"
10432 #include <sys/types.h>
10435 FILE *f=fopen("conftestval", "w");
10437 fprintf(f, "%d\n", sizeof(void *));
10441 if { (eval echo configure
:10442: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10443 ac_cv_sizeof_void_p
=`cat conftestval`
10445 echo "configure: failed program was:" >&5
10446 cat conftest.
$ac_ext >&5
10448 ac_cv_sizeof_void_p
=0
10454 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10455 cat >> confdefs.h
<<EOF
10456 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10460 echo $ac_n "checking size of int""... $ac_c" 1>&6
10461 echo "configure:10462: checking size of int" >&5
10462 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10463 echo $ac_n "(cached) $ac_c" 1>&6
10465 if test "$cross_compiling" = yes; then
10468 cat > conftest.
$ac_ext <<EOF
10469 #line 10470 "configure"
10470 #include "confdefs.h"
10472 #include <sys/types.h>
10475 FILE *f=fopen("conftestval", "w");
10477 fprintf(f, "%d\n", sizeof(int));
10481 if { (eval echo configure
:10482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10483 ac_cv_sizeof_int
=`cat conftestval`
10485 echo "configure: failed program was:" >&5
10486 cat conftest.
$ac_ext >&5
10494 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10495 cat >> confdefs.h
<<EOF
10496 #define SIZEOF_INT $ac_cv_sizeof_int
10500 echo $ac_n "checking size of long""... $ac_c" 1>&6
10501 echo "configure:10502: checking size of long" >&5
10502 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10503 echo $ac_n "(cached) $ac_c" 1>&6
10505 if test "$cross_compiling" = yes; then
10506 ac_cv_sizeof_long
=4
10508 cat > conftest.
$ac_ext <<EOF
10509 #line 10510 "configure"
10510 #include "confdefs.h"
10512 #include <sys/types.h>
10515 FILE *f=fopen("conftestval", "w");
10517 fprintf(f, "%d\n", sizeof(long));
10521 if { (eval echo configure
:10522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10523 ac_cv_sizeof_long
=`cat conftestval`
10525 echo "configure: failed program was:" >&5
10526 cat conftest.
$ac_ext >&5
10528 ac_cv_sizeof_long
=0
10534 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10535 cat >> confdefs.h
<<EOF
10536 #define SIZEOF_LONG $ac_cv_sizeof_long
10543 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10544 echo "configure:10545: checking size of long long" >&5
10545 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10546 echo $ac_n "(cached) $ac_c" 1>&6
10548 if test "$cross_compiling" = yes; then
10549 ac_cv_sizeof_long_long
=8
10551 cat > conftest.
$ac_ext <<EOF
10552 #line 10553 "configure"
10553 #include "confdefs.h"
10555 #include <sys/types.h>
10558 FILE *f=fopen("conftestval", "w");
10560 fprintf(f, "%d\n", sizeof(long long));
10564 if { (eval echo configure
:10565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10566 ac_cv_sizeof_long_long
=`cat conftestval`
10568 echo "configure: failed program was:" >&5
10569 cat conftest.
$ac_ext >&5
10571 ac_cv_sizeof_long_long
=0
10577 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10578 cat >> confdefs.h
<<EOF
10579 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10585 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10586 echo "configure:10587: checking size of long long" >&5
10587 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10588 echo $ac_n "(cached) $ac_c" 1>&6
10590 if test "$cross_compiling" = yes; then
10591 ac_cv_sizeof_long_long
=0
10593 cat > conftest.
$ac_ext <<EOF
10594 #line 10595 "configure"
10595 #include "confdefs.h"
10597 #include <sys/types.h>
10600 FILE *f=fopen("conftestval", "w");
10602 fprintf(f, "%d\n", sizeof(long long));
10606 if { (eval echo configure
:10607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10608 ac_cv_sizeof_long_long
=`cat conftestval`
10610 echo "configure: failed program was:" >&5
10611 cat conftest.
$ac_ext >&5
10613 ac_cv_sizeof_long_long
=0
10619 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10620 cat >> confdefs.h
<<EOF
10621 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10625 if test "$ac_cv_sizeof_long_long" != "0"; then
10626 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10630 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10631 echo "configure:10632: checking size of long long" >&5
10632 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10633 echo $ac_n "(cached) $ac_c" 1>&6
10635 if test "$cross_compiling" = yes; then
10636 ac_cv_sizeof_long_long
=0
10638 cat > conftest.
$ac_ext <<EOF
10639 #line 10640 "configure"
10640 #include "confdefs.h"
10642 #include <sys/types.h>
10645 FILE *f=fopen("conftestval", "w");
10647 fprintf(f, "%d\n", sizeof(long long));
10651 if { (eval echo configure
:10652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10653 ac_cv_sizeof_long_long
=`cat conftestval`
10655 echo "configure: failed program was:" >&5
10656 cat conftest.
$ac_ext >&5
10658 ac_cv_sizeof_long_long
=0
10664 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10665 cat >> confdefs.h
<<EOF
10666 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10672 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10673 echo "configure:10674: checking size of wchar_t" >&5
10674 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10675 echo $ac_n "(cached) $ac_c" 1>&6
10678 if test "$cross_compiling" = yes; then
10682 wx_cv_sizeof_wchar_t
=0
10685 wx_cv_sizeof_wchar_t
=4
10691 cat > conftest.
$ac_ext <<EOF
10692 #line 10693 "configure"
10693 #include "confdefs.h"
10695 /* DJGPP only has fake wchar_t: */
10697 # error "fake wchar_t"
10699 #ifdef HAVE_WCHAR_H
10701 # include <stddef.h>
10703 # include <wchar.h>
10705 #ifdef HAVE_STDLIB_H
10706 # include <stdlib.h>
10711 FILE *f=fopen("conftestval", "w");
10713 fprintf(f, "%i", sizeof(wchar_t));
10718 if { (eval echo configure
:10719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10720 wx_cv_sizeof_wchar_t
=`cat conftestval`
10722 echo "configure: failed program was:" >&5
10723 cat conftest.
$ac_ext >&5
10725 wx_cv_sizeof_wchar_t
=0
10733 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10735 cat >> confdefs.h
<<EOF
10736 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10740 # Check whether --enable-largefile or --disable-largefile was given.
10741 if test "${enable_largefile+set}" = set; then
10742 enableval
="$enable_largefile"
10746 if test "$enable_largefile" != no
; then
10749 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10750 echo "configure:10751: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10751 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10752 echo $ac_n "(cached) $ac_c" 1>&6
10755 cat > conftest.
$ac_ext <<EOF
10756 #line 10757 "configure"
10757 #include "confdefs.h"
10758 #define _FILE_OFFSET_BITS 64
10759 #include <sys/types.h>
10762 unsigned int field: sizeof(off_t) == 8;
10767 if { (eval echo configure
:10768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10769 ac_cv_sys_file_offset_bits
=64
10771 echo "configure: failed program was:" >&5
10772 cat conftest.
$ac_ext >&5
10774 ac_cv_sys_file_offset_bits
=no
10781 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10783 if test "$ac_cv_sys_file_offset_bits" != no
; then
10785 cat >> confdefs.h
<<EOF
10786 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10791 if test "x$wx_largefile" != "xyes"; then
10793 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10794 echo "configure:10795: checking for _LARGE_FILES value needed for large files" >&5
10795 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10796 echo $ac_n "(cached) $ac_c" 1>&6
10799 cat > conftest.
$ac_ext <<EOF
10800 #line 10801 "configure"
10801 #include "confdefs.h"
10802 #define _LARGE_FILES 1
10803 #include <sys/types.h>
10806 unsigned int field: sizeof(off_t) == 8;
10811 if { (eval echo configure
:10812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10813 ac_cv_sys_large_files
=1
10815 echo "configure: failed program was:" >&5
10816 cat conftest.
$ac_ext >&5
10818 ac_cv_sys_large_files
=no
10825 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10827 if test "$ac_cv_sys_large_files" != no
; then
10829 cat >> confdefs.h
<<EOF
10830 #define _LARGE_FILES $ac_cv_sys_large_files
10837 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10838 echo "configure:10839: checking if large file support is available" >&5
10839 if test "x$wx_largefile" = "xyes"; then
10840 cat >> confdefs.h
<<\EOF
10841 #define HAVE_LARGEFILE_SUPPORT 1
10845 echo "$ac_t""$wx_largefile" 1>&6
10849 if test "x$wx_largefile" = "xyes"; then
10850 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
10851 WX_LARGEFILE_FLAGS
="-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
10853 WX_LARGEFILE_FLAGS
="-D_LARGE_FILES"
10855 CPPFLAGS
="$CPPFLAGS $WX_LARGEFILE_FLAGS"
10858 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10859 echo "configure:10860: checking whether byte ordering is bigendian" >&5
10860 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10861 echo $ac_n "(cached) $ac_c" 1>&6
10863 ac_cv_c_bigendian
=unknown
10864 # See if sys/param.h defines the BYTE_ORDER macro.
10865 cat > conftest.
$ac_ext <<EOF
10866 #line 10867 "configure"
10867 #include "confdefs.h"
10868 #include <sys/types.h>
10869 #include <sys/param.h>
10872 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10873 bogus endian macros
10877 if { (eval echo configure
:10878: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10879 # It does; now see whether it defined to BIG_ENDIAN or not.
10880 cat > conftest.
$ac_ext <<EOF
10881 #line 10882 "configure"
10882 #include "confdefs.h"
10883 #include <sys/types.h>
10884 #include <sys/param.h>
10887 #if BYTE_ORDER != BIG_ENDIAN
10892 if { (eval echo configure
:10893: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10894 ac_cv_c_bigendian
=yes
10896 echo "configure: failed program was:" >&5
10897 cat conftest.
$ac_ext >&5
10899 ac_cv_c_bigendian
=no
10903 echo "configure: failed program was:" >&5
10904 cat conftest.
$ac_ext >&5
10907 if test $ac_cv_c_bigendian = unknown
; then
10908 if test "$cross_compiling" = yes; then
10909 ac_cv_c_bigendian
=unknown
10911 cat > conftest.
$ac_ext <<EOF
10912 #line 10913 "configure"
10913 #include "confdefs.h"
10915 /* Are we little or big endian? From Harbison&Steele. */
10919 char c[sizeof (long)];
10922 exit (u.c[sizeof (long) - 1] == 1);
10925 if { (eval echo configure
:10926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10927 ac_cv_c_bigendian
=no
10929 echo "configure: failed program was:" >&5
10930 cat conftest.
$ac_ext >&5
10932 ac_cv_c_bigendian
=yes
10940 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10941 if test $ac_cv_c_bigendian = unknown
; then
10942 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
10944 if test $ac_cv_c_bigendian = yes; then
10945 cat >> confdefs.h
<<\EOF
10946 #define WORDS_BIGENDIAN 1
10952 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10953 echo "configure:10954: checking how to run the C++ preprocessor" >&5
10954 if test -z "$CXXCPP"; then
10955 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10956 echo $ac_n "(cached) $ac_c" 1>&6
10959 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10960 ac_cpp
='$CXXCPP $CPPFLAGS'
10961 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10962 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10963 cross_compiling
=$ac_cv_prog_cxx_cross
10964 CXXCPP
="${CXX-g++} -E"
10965 cat > conftest.
$ac_ext <<EOF
10966 #line 10967 "configure"
10967 #include "confdefs.h"
10968 #include <stdlib.h>
10970 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10971 { (eval echo configure
:10972: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10972 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10973 if test -z "$ac_err"; then
10977 echo "configure: failed program was:" >&5
10978 cat conftest.
$ac_ext >&5
10983 ac_cv_prog_CXXCPP
="$CXXCPP"
10985 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10986 ac_cpp
='$CXXCPP $CPPFLAGS'
10987 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10988 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10989 cross_compiling
=$ac_cv_prog_cxx_cross
10992 CXXCPP
="$ac_cv_prog_CXXCPP"
10993 echo "$ac_t""$CXXCPP" 1>&6
10996 if test "$cross_compiling" = "yes"; then
10997 cat >> confdefs.h
<<\EOF
10998 #define wxUSE_IOSTREAMH 1
11004 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11005 ac_cpp
='$CXXCPP $CPPFLAGS'
11006 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11007 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11008 cross_compiling
=$ac_cv_prog_cxx_cross
11011 for ac_hdr
in iostream
11013 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11014 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11015 echo "configure:11016: checking for $ac_hdr" >&5
11016 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11017 echo $ac_n "(cached) $ac_c" 1>&6
11019 cat > conftest.
$ac_ext <<EOF
11020 #line 11021 "configure"
11021 #include "confdefs.h"
11024 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11025 { (eval echo configure
:11026: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11026 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11027 if test -z "$ac_err"; then
11029 eval "ac_cv_header_$ac_safe=yes"
11032 echo "configure: failed program was:" >&5
11033 cat conftest.
$ac_ext >&5
11035 eval "ac_cv_header_$ac_safe=no"
11039 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11040 echo "$ac_t""yes" 1>&6
11041 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11042 cat >> confdefs.h
<<EOF
11043 #define $ac_tr_hdr 1
11047 echo "$ac_t""no" 1>&6
11052 if test "$ac_cv_header_iostream" = "yes" ; then
11055 cat >> confdefs.h
<<\EOF
11056 #define wxUSE_IOSTREAMH 1
11062 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11063 ac_cpp
='$CPP $CPPFLAGS'
11064 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11065 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11066 cross_compiling
=$ac_cv_prog_cc_cross
11072 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
11073 echo "configure:11074: checking if C++ compiler supports bool" >&5
11074 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
11075 echo $ac_n "(cached) $ac_c" 1>&6
11080 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11081 ac_cpp
='$CXXCPP $CPPFLAGS'
11082 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11083 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11084 cross_compiling
=$ac_cv_prog_cxx_cross
11087 cat > conftest.
$ac_ext <<EOF
11088 #line 11089 "configure"
11089 #include "confdefs.h"
11100 if { (eval echo configure
:11101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11106 echo "configure: failed program was:" >&5
11107 cat conftest.
$ac_ext >&5
11117 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11118 ac_cpp
='$CPP $CPPFLAGS'
11119 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11120 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11121 cross_compiling
=$ac_cv_prog_cc_cross
11126 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
11128 if test "$wx_cv_cpp_bool" = "yes"; then
11129 cat >> confdefs.h
<<\EOF
11130 #define HAVE_BOOL 1
11137 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
11138 echo "configure:11139: checking if C++ compiler supports the explicit keyword" >&5
11139 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
11140 echo $ac_n "(cached) $ac_c" 1>&6
11145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11146 ac_cpp
='$CXXCPP $CPPFLAGS'
11147 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11148 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11149 cross_compiling
=$ac_cv_prog_cxx_cross
11152 cat > conftest.
$ac_ext <<EOF
11153 #line 11154 "configure"
11154 #include "confdefs.h"
11156 class Foo { public: explicit Foo(int) {} };
11164 if { (eval echo configure
:11165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11167 cat > conftest.
$ac_ext <<EOF
11168 #line 11169 "configure"
11169 #include "confdefs.h"
11171 class Foo { public: explicit Foo(int) {} };
11172 static void TakeFoo(const Foo& foo) { }
11181 if { (eval echo configure
:11182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11185 echo "configure: failed program was:" >&5
11186 cat conftest.
$ac_ext >&5
11194 echo "configure: failed program was:" >&5
11195 cat conftest.
$ac_ext >&5
11203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11204 ac_cpp
='$CPP $CPPFLAGS'
11205 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11206 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11207 cross_compiling
=$ac_cv_prog_cc_cross
11212 echo "$ac_t""$wx_cv_explicit" 1>&6
11214 if test "$wx_cv_explicit" = "yes"; then
11215 cat >> confdefs.h
<<\EOF
11216 #define HAVE_EXPLICIT 1
11222 echo $ac_n "checking whether the compiler supports const_cast<>""... $ac_c" 1>&6
11223 echo "configure:11224: checking whether the compiler supports const_cast<>" >&5
11224 if eval "test \"`echo '$''{'ac_cv_cxx_const_cast'+set}'`\" = set"; then
11225 echo $ac_n "(cached) $ac_c" 1>&6
11229 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11230 ac_cpp
='$CXXCPP $CPPFLAGS'
11231 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11232 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11233 cross_compiling
=$ac_cv_prog_cxx_cross
11235 cat > conftest.
$ac_ext <<EOF
11236 #line 11237 "configure"
11237 #include "confdefs.h"
11240 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
11243 if { (eval echo configure
:11244: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11245 ac_cv_cxx_const_cast
=yes
11247 echo "configure: failed program was:" >&5
11248 cat conftest.
$ac_ext >&5
11250 ac_cv_cxx_const_cast
=no
11254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11255 ac_cpp
='$CPP $CPPFLAGS'
11256 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11257 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11258 cross_compiling
=$ac_cv_prog_cc_cross
11263 echo "$ac_t""$ac_cv_cxx_const_cast" 1>&6
11264 if test "$ac_cv_cxx_const_cast" = yes; then
11265 cat >> confdefs.h
<<\EOF
11266 #define HAVE_CONST_CAST
11274 /usr/local/include \
11276 /usr/Motif-1.2/include \
11277 /usr/Motif-2.1/include \
11279 /usr/include/Motif1.2 \
11280 /opt/xpm/include/X11 \
11281 /opt/GBxpm/include/ \
11282 /opt/GBxpm/X11/include/ \
11284 /usr/Motif1.2/include \
11286 /usr/openwin/include \
11290 /usr/X11R6/include \
11291 /usr/X11R6.4/include \
11292 /usr/X11R5/include \
11293 /usr/X11R4/include \
11295 /usr/include/X11R6 \
11296 /usr/include/X11R5 \
11297 /usr/include/X11R4 \
11299 /usr/local/X11R6/include \
11300 /usr/local/X11R5/include \
11301 /usr/local/X11R4/include \
11303 /usr/local/include/X11R6 \
11304 /usr/local/include/X11R5 \
11305 /usr/local/include/X11R4 \
11309 /usr/local/X11/include \
11310 /usr/local/include/X11 \
11312 /usr/X386/include \
11313 /usr/x386/include \
11314 /usr/XFree86/include/X11 \
11316 X:/XFree86/include \
11317 X:/XFree86/include/X11 \
11320 /usr/local/include/gtk \
11321 /usr/include/glib \
11322 /usr/local/include/glib \
11325 /usr/local/include/qt \
11327 /usr/include/windows \
11328 /usr/include/wine \
11329 /usr/local/include/wine \
11331 /usr/unsupported/include \
11332 /usr/athena/include \
11333 /usr/local/x11r5/include \
11334 /usr/lpp/Xamples/include \
11336 /usr/openwin/share/include"
11338 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11341 cat > confcache
<<\EOF
11342 # This file is a shell script that caches the results of configure
11343 # tests run on this system so they can be shared between configure
11344 # scripts and configure runs. It is not useful on other systems.
11345 # If it contains results you don't want to keep, you may remove or edit it.
11347 # By default, configure uses ./config.cache as the cache file,
11348 # creating it if it does not exist already. You can give configure
11349 # the --cache-file=FILE option to use a different cache file; that is
11350 # what configure does when it calls configure scripts in
11351 # subdirectories, so they share the cache.
11352 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11353 # config.status only pays attention to the cache file if you give it the
11354 # --recheck option to rerun configure.
11357 # The following way of writing the cache mishandles newlines in values,
11358 # but we know of no workaround that is simple, portable, and efficient.
11359 # So, don't put newlines in cache variables' values.
11360 # Ultrix sh set writes to stderr and can't be redirected directly,
11361 # and sets the high bit in the cache file unless we assign to the vars.
11363 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11365 # `set' does not quote correctly, so add quotes (double-quote substitution
11366 # turns \\\\ into \\, and sed turns \\ into \).
11368 -e "s/'/'\\\\''/g" \
11369 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11372 # `set' quotes correctly as required by POSIX, so do not add quotes.
11373 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11376 if cmp -s $cache_file confcache
; then
11379 if test -w $cache_file; then
11380 echo "updating cache $cache_file"
11381 cat confcache
> $cache_file
11383 echo "not updating unwritable cache $cache_file"
11389 if test "$USE_LINUX" = 1; then
11390 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11391 echo "configure:11392: checking for glibc 2.1 or later" >&5
11392 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11393 echo $ac_n "(cached) $ac_c" 1>&6
11396 cat > conftest.
$ac_ext <<EOF
11397 #line 11398 "configure"
11398 #include "confdefs.h"
11399 #include <features.h>
11402 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11403 #error not glibc2.1
11408 if { (eval echo configure
:11409: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11411 wx_cv_lib_glibc21
=yes
11414 echo "configure: failed program was:" >&5
11415 cat conftest.
$ac_ext >&5
11418 wx_cv_lib_glibc21
=no
11426 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11427 if test "$wx_cv_lib_glibc21" = "yes"; then
11428 cat >> confdefs.h
<<\EOF
11429 #define wxHAVE_GLIBC2 1
11435 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11436 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11437 cat >> confdefs.h
<<\EOF
11438 #define _GNU_SOURCE 1
11447 if test "$wxUSE_REGEX" != "no"; then
11448 cat >> confdefs.h
<<\EOF
11449 #define wxUSE_REGEX 1
11453 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11454 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11455 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11456 echo "configure:11457: checking for regex.h" >&5
11457 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11458 echo $ac_n "(cached) $ac_c" 1>&6
11460 cat > conftest.
$ac_ext <<EOF
11461 #line 11462 "configure"
11462 #include "confdefs.h"
11465 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11466 { (eval echo configure
:11467: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11467 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11468 if test -z "$ac_err"; then
11470 eval "ac_cv_header_$ac_safe=yes"
11473 echo "configure: failed program was:" >&5
11474 cat conftest.
$ac_ext >&5
11476 eval "ac_cv_header_$ac_safe=no"
11480 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11481 echo "$ac_t""yes" 1>&6
11482 for ac_func
in regcomp
11484 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11485 echo "configure:11486: checking for $ac_func" >&5
11486 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11487 echo $ac_n "(cached) $ac_c" 1>&6
11489 cat > conftest.
$ac_ext <<EOF
11490 #line 11491 "configure"
11491 #include "confdefs.h"
11492 /* System header to define __stub macros and hopefully few prototypes,
11493 which can conflict with char $ac_func(); below. */
11494 #include <assert.h>
11495 /* Override any gcc2 internal prototype to avoid an error. */
11496 /* We use char because int might match the return type of a gcc2
11497 builtin and then its argument prototype would still apply. */
11502 /* The GNU C library defines this for functions which it implements
11503 to always fail with ENOSYS. Some functions are actually named
11504 something starting with __ and the normal name is an alias. */
11505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11513 if { (eval echo configure
:11514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11515 eval "ac_cv_func_$ac_func=yes"
11517 echo "configure: failed program was:" >&5
11518 cat conftest.
$ac_ext >&5
11520 eval "ac_cv_func_$ac_func=no"
11525 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11526 echo "$ac_t""yes" 1>&6
11527 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11528 cat >> confdefs.h
<<EOF
11529 #define $ac_tr_func 1
11533 echo "$ac_t""no" 1>&6
11538 echo "$ac_t""no" 1>&6
11542 if test "x$ac_cv_func_regcomp" != "xyes"; then
11543 if test "$wxUSE_REGEX" = "sys" ; then
11544 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11546 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11547 wxUSE_REGEX
=builtin
11554 if test "$wxUSE_REGEX" = "builtin" ; then
11555 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11562 if test "$wxUSE_ZLIB" != "no" ; then
11563 cat >> confdefs.h
<<\EOF
11564 #define wxUSE_ZLIB 1
11568 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11569 if test "$USE_DARWIN" = 1; then
11570 system_zlib_h_ok
="yes"
11572 echo $ac_n "checking for zlib.h >= 1.1.4""... $ac_c" 1>&6
11573 echo "configure:11574: checking for zlib.h >= 1.1.4" >&5
11574 if eval "test \"`echo '$''{'ac_cv_header_zlib_h'+set}'`\" = set"; then
11575 echo $ac_n "(cached) $ac_c" 1>&6
11577 if test "$cross_compiling" = yes; then
11578 unset ac_cv_header_zlib_h
11581 cat > conftest.
$ac_ext <<EOF
11582 #line 11583 "configure"
11583 #include "confdefs.h"
11591 FILE *f=fopen("conftestval", "w");
11594 ZLIB_VERSION[0] == '1' &&
11595 (ZLIB_VERSION[2] > '1' ||
11596 (ZLIB_VERSION[2] == '1' &&
11597 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
11603 if { (eval echo configure
:11604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11605 ac_cv_header_zlib_h
=`cat conftestval`
11607 echo "configure: failed program was:" >&5
11608 cat conftest.
$ac_ext >&5
11610 ac_cv_header_zlib_h
=no
11618 echo "$ac_t""$ac_cv_header_zlib_h" 1>&6
11619 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11620 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11621 echo "configure:11622: checking for zlib.h" >&5
11622 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11623 echo $ac_n "(cached) $ac_c" 1>&6
11625 cat > conftest.
$ac_ext <<EOF
11626 #line 11627 "configure"
11627 #include "confdefs.h"
11630 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11631 { (eval echo configure
:11632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11632 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11633 if test -z "$ac_err"; then
11635 eval "ac_cv_header_$ac_safe=yes"
11638 echo "configure: failed program was:" >&5
11639 cat conftest.
$ac_ext >&5
11641 eval "ac_cv_header_$ac_safe=no"
11645 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11646 echo "$ac_t""yes" 1>&6
11649 echo "$ac_t""no" 1>&6
11653 system_zlib_h_ok
=$ac_cv_header_zlib_h
11656 if test "$system_zlib_h_ok" = "yes"; then
11657 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11658 echo "configure:11659: checking for deflate in -lz" >&5
11659 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11660 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11661 echo $ac_n "(cached) $ac_c" 1>&6
11663 ac_save_LIBS
="$LIBS"
11665 cat > conftest.
$ac_ext <<EOF
11666 #line 11667 "configure"
11667 #include "confdefs.h"
11668 /* Override any gcc2 internal prototype to avoid an error. */
11669 /* We use char because int might match the return type of a gcc2
11670 builtin and then its argument prototype would still apply. */
11677 if { (eval echo configure
:11678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11679 eval "ac_cv_lib_$ac_lib_var=yes"
11681 echo "configure: failed program was:" >&5
11682 cat conftest.
$ac_ext >&5
11684 eval "ac_cv_lib_$ac_lib_var=no"
11687 LIBS
="$ac_save_LIBS"
11690 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11691 echo "$ac_t""yes" 1>&6
11694 echo "$ac_t""no" 1>&6
11699 if test "x$ZLIB_LINK" = "x" ; then
11700 if test "$wxUSE_ZLIB" = "sys" ; then
11701 { echo "configure: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11703 echo "configure: warning: zlib library not found or too old, will use built-in instead" 1>&2
11711 if test "$wxUSE_ZLIB" = "builtin" ; then
11712 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11719 if test "$wxUSE_LIBPNG" != "no" ; then
11720 cat >> confdefs.h
<<\EOF
11721 #define wxUSE_LIBPNG 1
11725 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11726 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11730 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11731 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11732 wxUSE_LIBPNG
=builtin
11735 if test "$wxUSE_MGL" != 1 ; then
11736 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11737 echo $ac_n "checking for png.h > 0.90""... $ac_c" 1>&6
11738 echo "configure:11739: checking for png.h > 0.90" >&5
11739 if eval "test \"`echo '$''{'ac_cv_header_png_h'+set}'`\" = set"; then
11740 echo $ac_n "(cached) $ac_c" 1>&6
11742 if test "$cross_compiling" = yes; then
11743 unset ac_cv_header_png_h
11746 cat > conftest.
$ac_ext <<EOF
11747 #line 11748 "configure"
11748 #include "confdefs.h"
11755 FILE *f=fopen("conftestval", "w");
11758 PNG_LIBPNG_VER > 90 ? "yes" : "no");
11763 if { (eval echo configure
:11764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11765 ac_cv_header_png_h
=`cat conftestval`
11767 echo "configure: failed program was:" >&5
11768 cat conftest.
$ac_ext >&5
11770 ac_cv_header_png_h
=no
11778 echo "$ac_t""$ac_cv_header_png_h" 1>&6
11779 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11780 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11781 echo "configure:11782: checking for png.h" >&5
11782 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11783 echo $ac_n "(cached) $ac_c" 1>&6
11785 cat > conftest.
$ac_ext <<EOF
11786 #line 11787 "configure"
11787 #include "confdefs.h"
11790 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11791 { (eval echo configure
:11792: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11792 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11793 if test -z "$ac_err"; then
11795 eval "ac_cv_header_$ac_safe=yes"
11798 echo "configure: failed program was:" >&5
11799 cat conftest.
$ac_ext >&5
11801 eval "ac_cv_header_$ac_safe=no"
11805 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11806 echo "$ac_t""yes" 1>&6
11809 echo "$ac_t""no" 1>&6
11813 if test "$ac_cv_header_png_h" = "yes"; then
11814 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11815 echo "configure:11816: checking for png_check_sig in -lpng" >&5
11816 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11818 echo $ac_n "(cached) $ac_c" 1>&6
11820 ac_save_LIBS
="$LIBS"
11821 LIBS
="-lpng -lz -lm $LIBS"
11822 cat > conftest.
$ac_ext <<EOF
11823 #line 11824 "configure"
11824 #include "confdefs.h"
11825 /* Override any gcc2 internal prototype to avoid an error. */
11826 /* We use char because int might match the return type of a gcc2
11827 builtin and then its argument prototype would still apply. */
11828 char png_check_sig();
11834 if { (eval echo configure
:11835: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11836 eval "ac_cv_lib_$ac_lib_var=yes"
11838 echo "configure: failed program was:" >&5
11839 cat conftest.
$ac_ext >&5
11841 eval "ac_cv_lib_$ac_lib_var=no"
11844 LIBS
="$ac_save_LIBS"
11847 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11848 echo "$ac_t""yes" 1>&6
11851 echo "$ac_t""no" 1>&6
11856 if test "x$PNG_LINK" = "x" ; then
11857 if test "$wxUSE_LIBPNG" = "sys" ; then
11858 { echo "configure: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11860 echo "configure: warning: system png library not found or too old, will use built-in instead" 1>&2
11861 wxUSE_LIBPNG
=builtin
11869 if test "$wxUSE_LIBPNG" = "builtin" ; then
11870 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11873 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11879 if test "$wxUSE_LIBJPEG" != "no" ; then
11880 cat >> confdefs.h
<<\EOF
11881 #define wxUSE_LIBJPEG 1
11885 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11886 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11890 if test "$wxUSE_MGL" != 1 ; then
11891 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11892 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11893 echo "configure:11894: checking for jpeglib.h" >&5
11894 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11895 echo $ac_n "(cached) $ac_c" 1>&6
11897 cat > conftest.
$ac_ext <<EOF
11898 #line 11899 "configure"
11899 #include "confdefs.h"
11901 #undef HAVE_STDLIB_H
11903 #include <jpeglib.h>
11910 if { (eval echo configure
:11911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11912 ac_cv_header_jpeglib_h
=yes
11914 echo "configure: failed program was:" >&5
11915 cat conftest.
$ac_ext >&5
11917 ac_cv_header_jpeglib_h
=no
11924 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11926 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11927 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11928 echo "configure:11929: checking for jpeg_read_header in -ljpeg" >&5
11929 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11930 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11931 echo $ac_n "(cached) $ac_c" 1>&6
11933 ac_save_LIBS
="$LIBS"
11934 LIBS
="-ljpeg $LIBS"
11935 cat > conftest.
$ac_ext <<EOF
11936 #line 11937 "configure"
11937 #include "confdefs.h"
11938 /* Override any gcc2 internal prototype to avoid an error. */
11939 /* We use char because int might match the return type of a gcc2
11940 builtin and then its argument prototype would still apply. */
11941 char jpeg_read_header();
11947 if { (eval echo configure
:11948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11949 eval "ac_cv_lib_$ac_lib_var=yes"
11951 echo "configure: failed program was:" >&5
11952 cat conftest.
$ac_ext >&5
11954 eval "ac_cv_lib_$ac_lib_var=no"
11957 LIBS
="$ac_save_LIBS"
11960 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11961 echo "$ac_t""yes" 1>&6
11962 JPEG_LINK
=" -ljpeg"
11964 echo "$ac_t""no" 1>&6
11969 if test "x$JPEG_LINK" = "x" ; then
11970 if test "$wxUSE_LIBJPEG" = "sys" ; then
11971 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11973 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11974 wxUSE_LIBJPEG
=builtin
11982 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11983 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11990 TIFF_PREREQ_LINKS
=-lm
11991 if test "$wxUSE_LIBTIFF" != "no" ; then
11992 cat >> confdefs.h
<<\EOF
11993 #define wxUSE_LIBTIFF 1
11997 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11998 if test "$wxUSE_LIBJPEG" = "sys"; then
11999 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $JPEG_LINK"
12001 if test "$wxUSE_ZLIB" = "sys"; then
12002 TIFF_PREREQ_LINKS
="$TIFF_PREREQ_LINKS $ZLIB_LINK"
12004 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
12005 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
12006 echo "configure:12007: checking for tiffio.h" >&5
12007 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12008 echo $ac_n "(cached) $ac_c" 1>&6
12010 cat > conftest.
$ac_ext <<EOF
12011 #line 12012 "configure"
12012 #include "confdefs.h"
12013 #include <tiffio.h>
12015 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12016 { (eval echo configure
:12017: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12017 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12018 if test -z "$ac_err"; then
12020 eval "ac_cv_header_$ac_safe=yes"
12023 echo "configure: failed program was:" >&5
12024 cat conftest.
$ac_ext >&5
12026 eval "ac_cv_header_$ac_safe=no"
12030 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12031 echo "$ac_t""yes" 1>&6
12032 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
12033 echo "configure:12034: checking for TIFFError in -ltiff" >&5
12034 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
12035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12036 echo $ac_n "(cached) $ac_c" 1>&6
12038 ac_save_LIBS
="$LIBS"
12039 LIBS
="-ltiff $TIFF_PREREQ_LINKS $LIBS"
12040 cat > conftest.
$ac_ext <<EOF
12041 #line 12042 "configure"
12042 #include "confdefs.h"
12043 /* Override any gcc2 internal prototype to avoid an error. */
12044 /* We use char because int might match the return type of a gcc2
12045 builtin and then its argument prototype would still apply. */
12052 if { (eval echo configure
:12053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12054 eval "ac_cv_lib_$ac_lib_var=yes"
12056 echo "configure: failed program was:" >&5
12057 cat conftest.
$ac_ext >&5
12059 eval "ac_cv_lib_$ac_lib_var=no"
12062 LIBS
="$ac_save_LIBS"
12065 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12066 echo "$ac_t""yes" 1>&6
12067 TIFF_LINK
=" -ltiff"
12069 echo "$ac_t""no" 1>&6
12074 echo "$ac_t""no" 1>&6
12078 if test "x$TIFF_LINK" = "x" ; then
12079 if test "$wxUSE_LIBTIFF" = "sys" ; then
12080 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
12082 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
12083 wxUSE_LIBTIFF
=builtin
12090 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12091 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
12103 if test "$USE_WIN32" = 1 ; then
12104 for ac_hdr
in w32api.h
12106 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12108 echo "configure:12109: checking for $ac_hdr" >&5
12109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12110 echo $ac_n "(cached) $ac_c" 1>&6
12112 cat > conftest.
$ac_ext <<EOF
12113 #line 12114 "configure"
12114 #include "confdefs.h"
12117 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12118 { (eval echo configure
:12119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12119 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12120 if test -z "$ac_err"; then
12122 eval "ac_cv_header_$ac_safe=yes"
12125 echo "configure: failed program was:" >&5
12126 cat conftest.
$ac_ext >&5
12128 eval "ac_cv_header_$ac_safe=no"
12132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12133 echo "$ac_t""yes" 1>&6
12134 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12135 cat >> confdefs.h
<<EOF
12136 #define $ac_tr_hdr 1
12140 echo "$ac_t""no" 1>&6
12144 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
12145 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
12146 echo "configure:12147: checking for windows.h" >&5
12147 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12148 echo $ac_n "(cached) $ac_c" 1>&6
12150 cat > conftest.
$ac_ext <<EOF
12151 #line 12152 "configure"
12152 #include "confdefs.h"
12153 #include <windows.h>
12155 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12156 { (eval echo configure
:12157: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12157 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12158 if test -z "$ac_err"; then
12160 eval "ac_cv_header_$ac_safe=yes"
12163 echo "configure: failed program was:" >&5
12164 cat conftest.
$ac_ext >&5
12166 eval "ac_cv_header_$ac_safe=no"
12170 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12171 echo "$ac_t""yes" 1>&6
12174 echo "$ac_t""no" 1>&6
12176 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
12181 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
12182 echo "configure:12183: checking if w32api has good enough MSIE support" >&5
12183 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
12184 echo $ac_n "(cached) $ac_c" 1>&6
12187 cat > conftest.
$ac_ext <<EOF
12188 #line 12189 "configure"
12189 #include "confdefs.h"
12190 #include <w32api.h>
12193 #define wxCHECK_W32API_VERSION( major, minor ) \
12194 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
12195 && ( ( __W32API_MAJOR_VERSION > (major) ) \
12196 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
12198 #if !wxCHECK_W32API_VERSION(1,1)
12199 #error You need w32api 1.1 or newer
12204 if { (eval echo configure
:12205: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12207 wx_cv_w32api_win32_ie
=yes
12210 echo "configure: failed program was:" >&5
12211 cat conftest.
$ac_ext >&5
12214 wx_cv_w32api_win32_ie
=no
12221 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
12222 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
12223 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
12226 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
12230 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
12231 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
12234 if test "$wxUSE_ODBC" = "yes" ; then
12235 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
12238 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
12239 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
12241 WIN32INSTALL
=win32install
12244 if test "$USE_DARWIN" = 1; then
12245 if test "$wxUSE_PRECOMP" = "yes"; then
12246 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12248 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
12252 if test "$wxUSE_GUI" = "yes"; then
12261 if test "$wxUSE_MSW" = 1 ; then
12265 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
12268 if test "$wxUSE_GTK" = 1; then
12269 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
12270 echo "configure:12271: checking for GTK+ version" >&5
12272 gtk_version_cached
=1
12273 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
12274 echo $ac_n "(cached) $ac_c" 1>&6
12277 gtk_version_cached
=0
12278 echo "$ac_t""" 1>&6
12281 if test "$wxUSE_THREADS" = "yes"; then
12282 GTK_MODULES
=gthread
12286 if test "x$wxUSE_GTK2" = "xyes"; then
12287 # Check whether --enable-gtktest or --disable-gtktest was given.
12288 if test "${enable_gtktest+set}" = set; then
12289 enableval
="$enable_gtktest"
12296 pkg_config_args
=gtk
+-2.0
12297 for module
in .
$GTK_MODULES
12301 pkg_config_args
="$pkg_config_args gthread-2.0"
12308 # Extract the first word of "pkg-config", so it can be a program name with args.
12309 set dummy pkg
-config; ac_word
=$2
12310 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12311 echo "configure:12312: checking for $ac_word" >&5
12312 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12313 echo $ac_n "(cached) $ac_c" 1>&6
12315 case "$PKG_CONFIG" in
12317 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12320 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12323 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12325 for ac_dir
in $ac_dummy; do
12326 test -z "$ac_dir" && ac_dir
=.
12327 if test -f $ac_dir/$ac_word; then
12328 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12333 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12337 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12338 if test -n "$PKG_CONFIG"; then
12339 echo "$ac_t""$PKG_CONFIG" 1>&6
12341 echo "$ac_t""no" 1>&6
12345 if test x
$PKG_CONFIG != xno
; then
12346 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
12349 echo *** pkg
-config too old
; version
0.7 or better required.
12357 min_gtk_version
=2.0.0
12358 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
12359 echo "configure:12360: checking for GTK+ - version >= $min_gtk_version" >&5
12361 if test x
$PKG_CONFIG != xno
; then
12362 ## don't try to run the test against uninstalled libtool libs
12363 if $PKG_CONFIG --uninstalled $pkg_config_args; then
12364 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
12368 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
12375 if test x
"$no_gtk" = x
; then
12376 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
12377 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
12378 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12379 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12380 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12381 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12382 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
12383 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12384 if test "x$enable_gtktest" = "xyes" ; then
12385 ac_save_CFLAGS
="$CFLAGS"
12386 ac_save_LIBS
="$LIBS"
12387 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12388 LIBS
="$GTK_LIBS $LIBS"
12390 if test "$cross_compiling" = yes; then
12391 echo $ac_n "cross compiling; assumed OK... $ac_c"
12393 cat > conftest.
$ac_ext <<EOF
12394 #line 12395 "configure"
12395 #include "confdefs.h"
12397 #include <gtk/gtk.h>
12399 #include <stdlib.h>
12404 int major, minor, micro;
12407 system ("touch conf.gtktest");
12409 /* HP/UX 9 (%@#!) writes to sscanf strings */
12410 tmp_version = g_strdup("$min_gtk_version");
12411 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12412 printf("%s, bad version string\n", "$min_gtk_version");
12416 if ((gtk_major_version != $gtk_config_major_version) ||
12417 (gtk_minor_version != $gtk_config_minor_version) ||
12418 (gtk_micro_version != $gtk_config_micro_version))
12420 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12421 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12422 gtk_major_version, gtk_minor_version, gtk_micro_version);
12423 printf ("*** was found! If pkg-config was correct, then it is best\n");
12424 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12425 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12426 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12427 printf("*** required on your system.\n");
12428 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12429 printf("*** to point to the correct configuration files\n");
12431 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12432 (gtk_minor_version != GTK_MINOR_VERSION) ||
12433 (gtk_micro_version != GTK_MICRO_VERSION))
12435 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12436 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12437 printf("*** library (version %d.%d.%d)\n",
12438 gtk_major_version, gtk_minor_version, gtk_micro_version);
12442 if ((gtk_major_version > major) ||
12443 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12444 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12450 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12451 gtk_major_version, gtk_minor_version, gtk_micro_version);
12452 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12453 major, minor, micro);
12454 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12456 printf("*** If you have already installed a sufficiently new version, this error\n");
12457 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12458 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12459 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12460 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12461 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12462 printf("*** so that the correct libraries are found at run-time))\n");
12469 if { (eval echo configure
:12470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12473 echo "configure: failed program was:" >&5
12474 cat conftest.
$ac_ext >&5
12481 CFLAGS
="$ac_save_CFLAGS"
12482 LIBS
="$ac_save_LIBS"
12485 if test "x$no_gtk" = x
; then
12486 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12489 echo "$ac_t""no" 1>&6
12490 if test "$PKG_CONFIG" = "no" ; then
12491 echo "*** A new enough version of pkg-config was not found."
12492 echo "*** See http://pkgconfig.sourceforge.net"
12494 if test -f conf.gtktest
; then
12497 echo "*** Could not run GTK+ test program, checking why..."
12498 ac_save_CFLAGS
="$CFLAGS"
12499 ac_save_LIBS
="$LIBS"
12500 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12501 LIBS
="$LIBS $GTK_LIBS"
12502 cat > conftest.
$ac_ext <<EOF
12503 #line 12504 "configure"
12504 #include "confdefs.h"
12506 #include <gtk/gtk.h>
12510 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12513 if { (eval echo configure
:12514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12515 echo "*** The test program compiled, but did not run. This usually means"
12516 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12517 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12518 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12519 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12520 echo "*** is required on your system"
12522 echo "*** If you have an old version installed, it is best to remove it, although"
12523 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12525 echo "configure: failed program was:" >&5
12526 cat conftest.
$ac_ext >&5
12528 echo "*** The test program failed to compile or link. See the file config.log for the"
12529 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12532 CFLAGS
="$ac_save_CFLAGS"
12533 LIBS
="$ac_save_LIBS"
12545 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12546 if test "${with_gtk_prefix+set}" = set; then
12547 withval
="$with_gtk_prefix"
12548 gtk_config_prefix
="$withval"
12550 gtk_config_prefix
=""
12553 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12554 if test "${with_gtk_exec_prefix+set}" = set; then
12555 withval
="$with_gtk_exec_prefix"
12556 gtk_config_exec_prefix
="$withval"
12558 gtk_config_exec_prefix
=""
12561 # Check whether --enable-gtktest or --disable-gtktest was given.
12562 if test "${enable_gtktest+set}" = set; then
12563 enableval
="$enable_gtktest"
12570 for module
in .
$GTK_MODULES
12574 gtk_config_args
="$gtk_config_args gthread"
12579 if test x
$gtk_config_exec_prefix != x
; then
12580 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12581 if test x
${GTK_CONFIG+set} != xset
; then
12582 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12585 if test x
$gtk_config_prefix != x
; then
12586 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12587 if test x
${GTK_CONFIG+set} != xset
; then
12588 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12592 # Extract the first word of "gtk-config", so it can be a program name with args.
12593 set dummy gtk
-config; ac_word
=$2
12594 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12595 echo "configure:12596: checking for $ac_word" >&5
12596 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12597 echo $ac_n "(cached) $ac_c" 1>&6
12599 case "$GTK_CONFIG" in
12601 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12604 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12607 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12609 for ac_dir
in $ac_dummy; do
12610 test -z "$ac_dir" && ac_dir
=.
12611 if test -f $ac_dir/$ac_word; then
12612 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12617 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12621 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12622 if test -n "$GTK_CONFIG"; then
12623 echo "$ac_t""$GTK_CONFIG" 1>&6
12625 echo "$ac_t""no" 1>&6
12628 min_gtk_version
=1.2.7
12629 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12630 echo "configure:12631: checking for GTK - version >= $min_gtk_version" >&5
12632 if test "$GTK_CONFIG" = "no" ; then
12635 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12636 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12637 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12639 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12640 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12641 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12642 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12643 if test "x$enable_gtktest" = "xyes" ; then
12644 ac_save_CFLAGS
="$CFLAGS"
12645 ac_save_LIBS
="$LIBS"
12646 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12647 LIBS
="$GTK_LIBS $LIBS"
12649 if test "$cross_compiling" = yes; then
12650 echo $ac_n "cross compiling; assumed OK... $ac_c"
12652 cat > conftest.
$ac_ext <<EOF
12653 #line 12654 "configure"
12654 #include "confdefs.h"
12656 #include <gtk/gtk.h>
12658 #include <stdlib.h>
12663 int major, minor, micro;
12666 system ("touch conf.gtktest");
12668 /* HP/UX 9 (%@#!) writes to sscanf strings */
12669 tmp_version = g_strdup("$min_gtk_version");
12670 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12671 printf("%s, bad version string\n", "$min_gtk_version");
12675 if ((gtk_major_version != $gtk_config_major_version) ||
12676 (gtk_minor_version != $gtk_config_minor_version) ||
12677 (gtk_micro_version != $gtk_config_micro_version))
12679 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12680 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12681 gtk_major_version, gtk_minor_version, gtk_micro_version);
12682 printf ("*** was found! If gtk-config was correct, then it is best\n");
12683 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12684 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12685 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12686 printf("*** required on your system.\n");
12687 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12688 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12689 printf("*** before re-running configure\n");
12691 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12692 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12693 (gtk_minor_version != GTK_MINOR_VERSION) ||
12694 (gtk_micro_version != GTK_MICRO_VERSION))
12696 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12697 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12698 printf("*** library (version %d.%d.%d)\n",
12699 gtk_major_version, gtk_minor_version, gtk_micro_version);
12701 #endif /* defined (GTK_MAJOR_VERSION) ... */
12704 if ((gtk_major_version > major) ||
12705 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12706 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12712 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12713 gtk_major_version, gtk_minor_version, gtk_micro_version);
12714 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12715 major, minor, micro);
12716 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12718 printf("*** If you have already installed a sufficiently new version, this error\n");
12719 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12720 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12721 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12722 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12723 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12724 printf("*** so that the correct libraries are found at run-time))\n");
12731 if { (eval echo configure
:12732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12735 echo "configure: failed program was:" >&5
12736 cat conftest.
$ac_ext >&5
12743 CFLAGS
="$ac_save_CFLAGS"
12744 LIBS
="$ac_save_LIBS"
12747 if test "x$no_gtk" = x
; then
12748 echo "$ac_t""yes" 1>&6
12749 wx_cv_lib_gtk
=1.2.7
12751 echo "$ac_t""no" 1>&6
12752 if test "$GTK_CONFIG" = "no" ; then
12753 echo "*** The gtk-config script installed by GTK could not be found"
12754 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12755 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12756 echo "*** full path to gtk-config."
12758 if test -f conf.gtktest
; then
12761 echo "*** Could not run GTK test program, checking why..."
12762 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12763 LIBS
="$LIBS $GTK_LIBS"
12764 cat > conftest.
$ac_ext <<EOF
12765 #line 12766 "configure"
12766 #include "confdefs.h"
12768 #include <gtk/gtk.h>
12772 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12775 if { (eval echo configure
:12776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12777 echo "*** The test program compiled, but did not run. This usually means"
12778 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12779 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12780 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12781 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12782 echo "*** is required on your system"
12784 echo "*** If you have an old version installed, it is best to remove it, although"
12785 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12787 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12788 echo "*** came with the system with the command"
12790 echo "*** rpm --erase --nodeps gtk gtk-devel"
12792 echo "configure: failed program was:" >&5
12793 cat conftest.
$ac_ext >&5
12795 echo "*** The test program failed to compile or link. See the file config.log for the"
12796 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12797 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12798 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12801 CFLAGS
="$ac_save_CFLAGS"
12802 LIBS
="$ac_save_LIBS"
12814 if test -z "$wx_cv_lib_gtk"; then
12815 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12816 if test "${with_gtk_prefix+set}" = set; then
12817 withval
="$with_gtk_prefix"
12818 gtk_config_prefix
="$withval"
12820 gtk_config_prefix
=""
12823 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12824 if test "${with_gtk_exec_prefix+set}" = set; then
12825 withval
="$with_gtk_exec_prefix"
12826 gtk_config_exec_prefix
="$withval"
12828 gtk_config_exec_prefix
=""
12831 # Check whether --enable-gtktest or --disable-gtktest was given.
12832 if test "${enable_gtktest+set}" = set; then
12833 enableval
="$enable_gtktest"
12840 for module
in .
$GTK_MODULES
12844 gtk_config_args
="$gtk_config_args gthread"
12849 if test x
$gtk_config_exec_prefix != x
; then
12850 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12851 if test x
${GTK_CONFIG+set} != xset
; then
12852 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12855 if test x
$gtk_config_prefix != x
; then
12856 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12857 if test x
${GTK_CONFIG+set} != xset
; then
12858 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12862 # Extract the first word of "gtk-config", so it can be a program name with args.
12863 set dummy gtk
-config; ac_word
=$2
12864 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12865 echo "configure:12866: checking for $ac_word" >&5
12866 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12867 echo $ac_n "(cached) $ac_c" 1>&6
12869 case "$GTK_CONFIG" in
12871 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12874 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12877 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12879 for ac_dir
in $ac_dummy; do
12880 test -z "$ac_dir" && ac_dir
=.
12881 if test -f $ac_dir/$ac_word; then
12882 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12887 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12891 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12892 if test -n "$GTK_CONFIG"; then
12893 echo "$ac_t""$GTK_CONFIG" 1>&6
12895 echo "$ac_t""no" 1>&6
12898 min_gtk_version
=1.2.3
12899 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12900 echo "configure:12901: checking for GTK - version >= $min_gtk_version" >&5
12902 if test "$GTK_CONFIG" = "no" ; then
12905 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12906 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12907 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12909 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12911 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12913 if test "x$enable_gtktest" = "xyes" ; then
12914 ac_save_CFLAGS
="$CFLAGS"
12915 ac_save_LIBS
="$LIBS"
12916 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12917 LIBS
="$GTK_LIBS $LIBS"
12919 if test "$cross_compiling" = yes; then
12920 echo $ac_n "cross compiling; assumed OK... $ac_c"
12922 cat > conftest.
$ac_ext <<EOF
12923 #line 12924 "configure"
12924 #include "confdefs.h"
12926 #include <gtk/gtk.h>
12928 #include <stdlib.h>
12933 int major, minor, micro;
12936 system ("touch conf.gtktest");
12938 /* HP/UX 9 (%@#!) writes to sscanf strings */
12939 tmp_version = g_strdup("$min_gtk_version");
12940 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12941 printf("%s, bad version string\n", "$min_gtk_version");
12945 if ((gtk_major_version != $gtk_config_major_version) ||
12946 (gtk_minor_version != $gtk_config_minor_version) ||
12947 (gtk_micro_version != $gtk_config_micro_version))
12949 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12950 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12951 gtk_major_version, gtk_minor_version, gtk_micro_version);
12952 printf ("*** was found! If gtk-config was correct, then it is best\n");
12953 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12954 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12955 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12956 printf("*** required on your system.\n");
12957 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12958 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12959 printf("*** before re-running configure\n");
12961 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12962 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12963 (gtk_minor_version != GTK_MINOR_VERSION) ||
12964 (gtk_micro_version != GTK_MICRO_VERSION))
12966 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12967 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12968 printf("*** library (version %d.%d.%d)\n",
12969 gtk_major_version, gtk_minor_version, gtk_micro_version);
12971 #endif /* defined (GTK_MAJOR_VERSION) ... */
12974 if ((gtk_major_version > major) ||
12975 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12976 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12982 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12983 gtk_major_version, gtk_minor_version, gtk_micro_version);
12984 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12985 major, minor, micro);
12986 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12988 printf("*** If you have already installed a sufficiently new version, this error\n");
12989 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12990 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12991 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12992 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12993 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12994 printf("*** so that the correct libraries are found at run-time))\n");
13001 if { (eval echo configure
:13002: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13005 echo "configure: failed program was:" >&5
13006 cat conftest.
$ac_ext >&5
13013 CFLAGS
="$ac_save_CFLAGS"
13014 LIBS
="$ac_save_LIBS"
13017 if test "x$no_gtk" = x
; then
13018 echo "$ac_t""yes" 1>&6
13019 wx_cv_lib_gtk
=1.2.3
13021 echo "$ac_t""no" 1>&6
13022 if test "$GTK_CONFIG" = "no" ; then
13023 echo "*** The gtk-config script installed by GTK could not be found"
13024 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
13025 echo "*** your path, or set the GTK_CONFIG environment variable to the"
13026 echo "*** full path to gtk-config."
13028 if test -f conf.gtktest
; then
13031 echo "*** Could not run GTK test program, checking why..."
13032 CFLAGS
="$CFLAGS $GTK_CFLAGS"
13033 LIBS
="$LIBS $GTK_LIBS"
13034 cat > conftest.
$ac_ext <<EOF
13035 #line 13036 "configure"
13036 #include "confdefs.h"
13038 #include <gtk/gtk.h>
13042 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
13045 if { (eval echo configure
:13046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13047 echo "*** The test program compiled, but did not run. This usually means"
13048 echo "*** that the run-time linker is not finding GTK or finding the wrong"
13049 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
13050 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13051 echo "*** to the installed location Also, make sure you have run ldconfig if that"
13052 echo "*** is required on your system"
13054 echo "*** If you have an old version installed, it is best to remove it, although"
13055 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13057 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
13058 echo "*** came with the system with the command"
13060 echo "*** rpm --erase --nodeps gtk gtk-devel"
13062 echo "configure: failed program was:" >&5
13063 cat conftest.
$ac_ext >&5
13065 echo "*** The test program failed to compile or link. See the file config.log for the"
13066 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
13067 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
13068 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
13071 CFLAGS
="$ac_save_CFLAGS"
13072 LIBS
="$ac_save_LIBS"
13086 if test -z "$wx_cv_lib_gtk"; then
13089 wx_cv_cflags_gtk
=$GTK_CFLAGS
13090 wx_cv_libs_gtk
=$GTK_LIBS
13097 if test "$gtk_version_cached" = 1; then
13098 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
13101 case "$wx_cv_lib_gtk" in
13110 *) { echo "configure: error:
13111 Please check that gtk-config is in path, the directory
13112 where GTK+ libraries are installed (returned by
13113 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
13114 equivalent variable and GTK+ is version 1.2.3 or above.
13119 if test "$WXGTK20" = 1; then
13120 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
13124 if test -z "$PKG_CONFIG"; then
13125 # Extract the first word of "pkg-config", so it can be a program name with args.
13126 set dummy pkg
-config; ac_word
=$2
13127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
13128 echo "configure:13129: checking for $ac_word" >&5
13129 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
13130 echo $ac_n "(cached) $ac_c" 1>&6
13132 case "$PKG_CONFIG" in
13134 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
13137 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
13140 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
13142 for ac_dir
in $ac_dummy; do
13143 test -z "$ac_dir" && ac_dir
=.
13144 if test -f $ac_dir/$ac_word; then
13145 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
13150 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
13154 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
13155 if test -n "$PKG_CONFIG"; then
13156 echo "$ac_t""$PKG_CONFIG" 1>&6
13158 echo "$ac_t""no" 1>&6
13163 if test "$PKG_CONFIG" = "no" ; then
13164 echo "*** The pkg-config script could not be found. Make sure it is"
13165 echo "*** in your path, or set the PKG_CONFIG environment variable"
13166 echo "*** to the full path to pkg-config."
13167 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
13169 PKG_CONFIG_MIN_VERSION
=0.9.0
13170 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
13171 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
13172 echo "configure:13173: checking for pangoft2" >&5
13174 if $PKG_CONFIG --exists "pangoft2" ; then
13175 echo "$ac_t""yes" 1>&6
13178 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
13179 echo "configure:13180: checking PANGOFT2_CFLAGS" >&5
13180 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
13181 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
13183 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
13184 echo "configure:13185: checking PANGOFT2_LIBS" >&5
13185 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
13186 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
13190 ## If we have a custom action on failure, don't print errors, but
13191 ## do set a variable so people can do so.
13192 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
13199 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
13200 echo "*** See http://www.freedesktop.org/software/pkgconfig"
13204 if test $succeeded = yes; then
13206 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
13207 LIBS
="$LIBS $PANGOFT2_LIBS"
13211 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
13212 wxUSE_PRINTING_ARCHITECTURE
="no"
13219 if test "$wxUSE_UNICODE" = "yes"; then
13220 echo "configure: warning: Unicode configuration not supported with GTK+ 1.x" 1>&2
13225 if test "$USE_DARWIN" != 1; then
13226 for ac_func
in poll
13228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13229 echo "configure:13230: checking for $ac_func" >&5
13230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13231 echo $ac_n "(cached) $ac_c" 1>&6
13233 cat > conftest.
$ac_ext <<EOF
13234 #line 13235 "configure"
13235 #include "confdefs.h"
13236 /* System header to define __stub macros and hopefully few prototypes,
13237 which can conflict with char $ac_func(); below. */
13238 #include <assert.h>
13239 /* Override any gcc2 internal prototype to avoid an error. */
13240 /* We use char because int might match the return type of a gcc2
13241 builtin and then its argument prototype would still apply. */
13246 /* The GNU C library defines this for functions which it implements
13247 to always fail with ENOSYS. Some functions are actually named
13248 something starting with __ and the normal name is an alias. */
13249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13257 if { (eval echo configure
:13258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13259 eval "ac_cv_func_$ac_func=yes"
13261 echo "configure: failed program was:" >&5
13262 cat conftest.
$ac_ext >&5
13264 eval "ac_cv_func_$ac_func=no"
13269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13270 echo "$ac_t""yes" 1>&6
13271 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13272 cat >> confdefs.h
<<EOF
13273 #define $ac_tr_func 1
13277 echo "$ac_t""no" 1>&6
13283 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
13284 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
13286 AFMINSTALL
=afminstall
13290 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
13291 echo "configure:13292: checking for gdk_im_open in -lgdk" >&5
13292 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
13293 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13294 echo $ac_n "(cached) $ac_c" 1>&6
13296 ac_save_LIBS
="$LIBS"
13298 cat > conftest.
$ac_ext <<EOF
13299 #line 13300 "configure"
13300 #include "confdefs.h"
13301 /* Override any gcc2 internal prototype to avoid an error. */
13302 /* We use char because int might match the return type of a gcc2
13303 builtin and then its argument prototype would still apply. */
13304 char gdk_im_open();
13310 if { (eval echo configure
:13311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13312 eval "ac_cv_lib_$ac_lib_var=yes"
13314 echo "configure: failed program was:" >&5
13315 cat conftest.
$ac_ext >&5
13317 eval "ac_cv_lib_$ac_lib_var=no"
13320 LIBS
="$ac_save_LIBS"
13323 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13324 echo "$ac_t""yes" 1>&6
13325 cat >> confdefs.h
<<\EOF
13330 echo "$ac_t""no" 1>&6
13335 if test "$wxUSE_MGL" = 1; then
13336 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
13337 echo "configure:13338: checking for SciTech MGL library" >&5
13338 if test "x$MGL_ROOT" = x
; then
13339 echo "$ac_t""not found" 1>&6
13340 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
13342 echo "$ac_t""$MGL_ROOT" 1>&6
13345 echo $ac_n "checking for libmgl location""... $ac_c" 1>&6
13346 echo "configure:13347: checking for libmgl location" >&5
13349 if test "x$wxUSE_SHARED" = xyes
; then
13350 mgl_os_candidates
="linux/gcc/glibc.so linux/gcc/glibc"
13352 mgl_os_candidates
="linux/gcc/glibc linux/gcc/glibc.so"
13356 mgl_os_candidates
="dos32/dj2"
13359 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
13365 for mgl_os_i
in $mgl_os_candidates ; do
13366 if test "x$mgl_os" = x
; then
13367 if test "$wxUSE_DEBUG_FLAG" = yes ; then
13368 if test -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.a
-o \
13369 -f $MGL_ROOT/lib
/debug
/$mgl_os_i/libmgl.so
; then
13374 if test "x$mgl_lib_type" = x
; then
13375 if test -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.a
-o \
13376 -f $MGL_ROOT/lib
/release
/$mgl_os_i/libmgl.so
; then
13377 mgl_lib_type
=release
13384 if test "x$mgl_os" = x
; then
13385 echo "$ac_t""not found" 1>&6
13386 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
13388 echo "$ac_t"""$MGL_ROOT/lib
/$mgl_lib_type/$mgl_os"" 1>&6
13390 wxUSE_UNIVERSAL
="yes"
13392 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
13393 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
13395 AFMINSTALL
=afminstall
13400 if test "$wxUSE_MICROWIN" = 1; then
13401 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
13402 echo "configure:13403: checking for MicroWindows" >&5
13403 if test "x$MICROWINDOWS" = x
; then
13404 echo "$ac_t""not found" 1>&6
13405 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
13407 echo "$ac_t""$MICROWINDOWS" 1>&6
13410 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
13411 echo "$ac_t""MicroWindows' libraries found." 1>&6
13413 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
13416 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
13417 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
13419 wxUSE_UNIVERSAL
="yes"
13421 AFMINSTALL
=afminstall
13423 GUIDIST
=MICROWIN_DIST
13425 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
13428 if test "$wxUSE_X11" = 1; then
13429 # If we find X, set shell vars x_includes and x_libraries to the
13430 # paths, otherwise set no_x=yes.
13431 # Uses ac_ vars as temps to allow command line to override cache and checks.
13432 # --without-x overrides everything else, but does not touch the cache.
13433 echo $ac_n "checking for X""... $ac_c" 1>&6
13434 echo "configure:13435: checking for X" >&5
13436 # Check whether --with-x or --without-x was given.
13437 if test "${with_x+set}" = set; then
13442 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13443 if test "x$with_x" = xno
; then
13444 # The user explicitly disabled X.
13447 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
13448 # Both variables are already set.
13451 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
13452 echo $ac_n "(cached) $ac_c" 1>&6
13454 # One or both of the vars are not set, and there is no cached value.
13455 ac_x_includes
=NO ac_x_libraries
=NO
13457 if mkdir conftestdir
; then
13459 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
13460 cat > Imakefile
<<'EOF'
13462 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
13464 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
13465 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13466 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
13467 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13468 for ac_extension
in a so sl
; do
13469 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
13470 test -f $ac_im_libdir/libX11.
$ac_extension; then
13471 ac_im_usrlibdir
=$ac_im_libdir; break
13474 # Screen out bogus values from the imake configuration. They are
13475 # bogus both because they are the default anyway, and because
13476 # using them would break gcc on systems where it needs fixed includes.
13477 case "$ac_im_incroot" in
13479 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
13481 case "$ac_im_usrlibdir" in
13482 /usr
/lib
| /lib
) ;;
13483 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
13490 if test "$ac_x_includes" = NO
; then
13491 # Guess where to find include files, by looking for this one X11 .h file.
13492 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
13494 # First, try using that file with no special directory specified.
13495 cat > conftest.
$ac_ext <<EOF
13496 #line 13497 "configure"
13497 #include "confdefs.h"
13498 #include <$x_direct_test_include>
13500 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13501 { (eval echo configure
:13502: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13502 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13503 if test -z "$ac_err"; then
13505 # We can compile using X headers with no special include directory.
13509 echo "configure: failed program was:" >&5
13510 cat conftest.
$ac_ext >&5
13512 # Look for the header file in a standard set of common directories.
13513 # Check X11 before X11Rn because it is often a symlink to the current release.
13516 /usr
/X
11R
6/include \
13517 /usr
/X
11R
5/include \
13518 /usr
/X
11R
4/include \
13521 /usr
/include
/X11R6 \
13522 /usr
/include
/X11R5 \
13523 /usr
/include
/X11R4 \
13525 /usr
/local
/X
11/include \
13526 /usr
/local
/X
11R
6/include \
13527 /usr
/local
/X
11R
5/include \
13528 /usr
/local
/X
11R
4/include \
13530 /usr
/local
/include
/X11 \
13531 /usr
/local
/include
/X11R6 \
13532 /usr
/local
/include
/X11R5 \
13533 /usr
/local
/include
/X11R4 \
13535 /usr
/X
386/include \
13536 /usr
/x
386/include \
13537 /usr
/XFree
86/include
/X11 \
13540 /usr
/local
/include \
13541 /usr
/unsupported
/include \
13542 /usr
/athena
/include \
13543 /usr
/local
/x
11r
5/include \
13544 /usr
/lpp
/Xamples
/include \
13546 /usr
/openwin
/include \
13547 /usr
/openwin
/share
/include \
13550 if test -r "$ac_dir/$x_direct_test_include"; then
13551 ac_x_includes
=$ac_dir
13557 fi # $ac_x_includes = NO
13559 if test "$ac_x_libraries" = NO
; then
13560 # Check for the libraries.
13562 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13563 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13565 # See if we find them without any special options.
13566 # Don't add to $LIBS permanently.
13567 ac_save_LIBS
="$LIBS"
13568 LIBS
="-l$x_direct_test_library $LIBS"
13569 cat > conftest.
$ac_ext <<EOF
13570 #line 13571 "configure"
13571 #include "confdefs.h"
13574 ${x_direct_test_function}()
13577 if { (eval echo configure
:13578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13579 LIBS
="$ac_save_LIBS"
13580 # We can link X programs with no special library path.
13583 echo "configure: failed program was:" >&5
13584 cat conftest.
$ac_ext >&5
13586 LIBS
="$ac_save_LIBS"
13587 # First see if replacing the include by lib works.
13588 # Check X11 before X11Rn because it is often a symlink to the current release.
13589 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13600 /usr
/local
/X
11/lib \
13601 /usr
/local
/X
11R
6/lib \
13602 /usr
/local
/X
11R
5/lib \
13603 /usr
/local
/X
11R
4/lib \
13605 /usr
/local
/lib
/X11 \
13606 /usr
/local
/lib
/X11R6 \
13607 /usr
/local
/lib
/X11R5 \
13608 /usr
/local
/lib
/X11R4 \
13612 /usr
/XFree
86/lib
/X11 \
13616 /usr
/unsupported
/lib \
13618 /usr
/local
/x
11r
5/lib \
13619 /usr
/lpp
/Xamples
/lib \
13623 /usr
/openwin
/share
/lib \
13626 for ac_extension
in a so sl
; do
13627 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13628 ac_x_libraries
=$ac_dir
13635 fi # $ac_x_libraries = NO
13637 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13638 # Didn't find X anywhere. Cache the known absence of X.
13639 ac_cv_have_x
="have_x=no"
13641 # Record where we found X for the cache.
13642 ac_cv_have_x
="have_x=yes \
13643 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13647 eval "$ac_cv_have_x"
13650 if test "$have_x" != yes; then
13651 echo "$ac_t""$have_x" 1>&6
13654 # If each of the values was on the command line, it overrides each guess.
13655 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13656 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13657 # Update the cache value to reflect the command line values.
13658 ac_cv_have_x
="have_x=yes \
13659 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13660 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13663 if test "$no_x" = yes; then
13664 # Not all programs may use this symbol, but it does not hurt to define it.
13665 cat >> confdefs.h
<<\EOF
13666 #define X_DISPLAY_MISSING 1
13669 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13671 if test -n "$x_includes"; then
13672 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13675 # It would also be nice to do this for all -L options, not just this one.
13676 if test -n "$x_libraries"; then
13677 X_LIBS
="$X_LIBS -L$x_libraries"
13678 # For Solaris; some versions of Sun CC require a space after -R and
13679 # others require no space. Words are not sufficient . . . .
13680 case "`(uname -sr) 2>/dev/null`" in
13682 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13683 echo "configure:13684: checking whether -R must be followed by a space" >&5
13684 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13685 cat > conftest.
$ac_ext <<EOF
13686 #line 13687 "configure"
13687 #include "confdefs.h"
13693 if { (eval echo configure
:13694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13697 echo "configure: failed program was:" >&5
13698 cat conftest.
$ac_ext >&5
13703 if test $ac_R_nospace = yes; then
13704 echo "$ac_t""no" 1>&6
13705 X_LIBS
="$X_LIBS -R$x_libraries"
13707 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13708 cat > conftest.
$ac_ext <<EOF
13709 #line 13710 "configure"
13710 #include "confdefs.h"
13716 if { (eval echo configure
:13717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13720 echo "configure: failed program was:" >&5
13721 cat conftest.
$ac_ext >&5
13726 if test $ac_R_space = yes; then
13727 echo "$ac_t""yes" 1>&6
13728 X_LIBS
="$X_LIBS -R $x_libraries"
13730 echo "$ac_t""neither works" 1>&6
13733 LIBS
="$ac_xsave_LIBS"
13737 # Check for system-dependent libraries X programs must link with.
13738 # Do this before checking for the system-independent R6 libraries
13739 # (-lICE), since we may need -lsocket or whatever for X linking.
13741 if test "$ISC" = yes; then
13742 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13744 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13745 # libraries were built with DECnet support. And karl@cs.umb.edu says
13746 # the Alpha needs dnet_stub (dnet does not exist).
13747 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13748 echo "configure:13749: checking for dnet_ntoa in -ldnet" >&5
13749 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13751 echo $ac_n "(cached) $ac_c" 1>&6
13753 ac_save_LIBS
="$LIBS"
13754 LIBS
="-ldnet $LIBS"
13755 cat > conftest.
$ac_ext <<EOF
13756 #line 13757 "configure"
13757 #include "confdefs.h"
13758 /* Override any gcc2 internal prototype to avoid an error. */
13759 /* We use char because int might match the return type of a gcc2
13760 builtin and then its argument prototype would still apply. */
13767 if { (eval echo configure
:13768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13769 eval "ac_cv_lib_$ac_lib_var=yes"
13771 echo "configure: failed program was:" >&5
13772 cat conftest.
$ac_ext >&5
13774 eval "ac_cv_lib_$ac_lib_var=no"
13777 LIBS
="$ac_save_LIBS"
13780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13781 echo "$ac_t""yes" 1>&6
13782 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13784 echo "$ac_t""no" 1>&6
13787 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13788 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13789 echo "configure:13790: checking for dnet_ntoa in -ldnet_stub" >&5
13790 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13792 echo $ac_n "(cached) $ac_c" 1>&6
13794 ac_save_LIBS
="$LIBS"
13795 LIBS
="-ldnet_stub $LIBS"
13796 cat > conftest.
$ac_ext <<EOF
13797 #line 13798 "configure"
13798 #include "confdefs.h"
13799 /* Override any gcc2 internal prototype to avoid an error. */
13800 /* We use char because int might match the return type of a gcc2
13801 builtin and then its argument prototype would still apply. */
13808 if { (eval echo configure
:13809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13810 eval "ac_cv_lib_$ac_lib_var=yes"
13812 echo "configure: failed program was:" >&5
13813 cat conftest.
$ac_ext >&5
13815 eval "ac_cv_lib_$ac_lib_var=no"
13818 LIBS
="$ac_save_LIBS"
13821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13822 echo "$ac_t""yes" 1>&6
13823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13825 echo "$ac_t""no" 1>&6
13830 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13831 # to get the SysV transport functions.
13832 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13834 # The nsl library prevents programs from opening the X display
13835 # on Irix 5.2, according to dickey@clark.net.
13836 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13837 echo "configure:13838: checking for gethostbyname" >&5
13838 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13839 echo $ac_n "(cached) $ac_c" 1>&6
13841 cat > conftest.
$ac_ext <<EOF
13842 #line 13843 "configure"
13843 #include "confdefs.h"
13844 /* System header to define __stub macros and hopefully few prototypes,
13845 which can conflict with char gethostbyname(); below. */
13846 #include <assert.h>
13847 /* Override any gcc2 internal prototype to avoid an error. */
13848 /* We use char because int might match the return type of a gcc2
13849 builtin and then its argument prototype would still apply. */
13850 char gethostbyname();
13854 /* The GNU C library defines this for functions which it implements
13855 to always fail with ENOSYS. Some functions are actually named
13856 something starting with __ and the normal name is an alias. */
13857 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13865 if { (eval echo configure
:13866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13867 eval "ac_cv_func_gethostbyname=yes"
13869 echo "configure: failed program was:" >&5
13870 cat conftest.
$ac_ext >&5
13872 eval "ac_cv_func_gethostbyname=no"
13877 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13878 echo "$ac_t""yes" 1>&6
13881 echo "$ac_t""no" 1>&6
13884 if test $ac_cv_func_gethostbyname = no
; then
13885 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13886 echo "configure:13887: checking for gethostbyname in -lnsl" >&5
13887 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13888 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13889 echo $ac_n "(cached) $ac_c" 1>&6
13891 ac_save_LIBS
="$LIBS"
13893 cat > conftest.
$ac_ext <<EOF
13894 #line 13895 "configure"
13895 #include "confdefs.h"
13896 /* Override any gcc2 internal prototype to avoid an error. */
13897 /* We use char because int might match the return type of a gcc2
13898 builtin and then its argument prototype would still apply. */
13899 char gethostbyname();
13905 if { (eval echo configure
:13906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13907 eval "ac_cv_lib_$ac_lib_var=yes"
13909 echo "configure: failed program was:" >&5
13910 cat conftest.
$ac_ext >&5
13912 eval "ac_cv_lib_$ac_lib_var=no"
13915 LIBS
="$ac_save_LIBS"
13918 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13919 echo "$ac_t""yes" 1>&6
13920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13922 echo "$ac_t""no" 1>&6
13927 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13928 # socket/setsockopt and other routines are undefined under SCO ODT
13929 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13930 # on later versions), says simon@lia.di.epfl.ch: it contains
13931 # gethostby* variants that don't use the nameserver (or something).
13932 # -lsocket must be given before -lnsl if both are needed.
13933 # We assume that if connect needs -lnsl, so does gethostbyname.
13934 echo $ac_n "checking for connect""... $ac_c" 1>&6
13935 echo "configure:13936: checking for connect" >&5
13936 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13937 echo $ac_n "(cached) $ac_c" 1>&6
13939 cat > conftest.
$ac_ext <<EOF
13940 #line 13941 "configure"
13941 #include "confdefs.h"
13942 /* System header to define __stub macros and hopefully few prototypes,
13943 which can conflict with char connect(); below. */
13944 #include <assert.h>
13945 /* Override any gcc2 internal prototype to avoid an error. */
13946 /* We use char because int might match the return type of a gcc2
13947 builtin and then its argument prototype would still apply. */
13952 /* The GNU C library defines this for functions which it implements
13953 to always fail with ENOSYS. Some functions are actually named
13954 something starting with __ and the normal name is an alias. */
13955 #if defined (__stub_connect) || defined (__stub___connect)
13963 if { (eval echo configure
:13964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13965 eval "ac_cv_func_connect=yes"
13967 echo "configure: failed program was:" >&5
13968 cat conftest.
$ac_ext >&5
13970 eval "ac_cv_func_connect=no"
13975 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13976 echo "$ac_t""yes" 1>&6
13979 echo "$ac_t""no" 1>&6
13982 if test $ac_cv_func_connect = no
; then
13983 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13984 echo "configure:13985: checking for connect in -lsocket" >&5
13985 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13987 echo $ac_n "(cached) $ac_c" 1>&6
13989 ac_save_LIBS
="$LIBS"
13990 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13991 cat > conftest.
$ac_ext <<EOF
13992 #line 13993 "configure"
13993 #include "confdefs.h"
13994 /* Override any gcc2 internal prototype to avoid an error. */
13995 /* We use char because int might match the return type of a gcc2
13996 builtin and then its argument prototype would still apply. */
14003 if { (eval echo configure
:14004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14005 eval "ac_cv_lib_$ac_lib_var=yes"
14007 echo "configure: failed program was:" >&5
14008 cat conftest.
$ac_ext >&5
14010 eval "ac_cv_lib_$ac_lib_var=no"
14013 LIBS
="$ac_save_LIBS"
14016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14017 echo "$ac_t""yes" 1>&6
14018 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14020 echo "$ac_t""no" 1>&6
14025 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14026 echo $ac_n "checking for remove""... $ac_c" 1>&6
14027 echo "configure:14028: checking for remove" >&5
14028 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14029 echo $ac_n "(cached) $ac_c" 1>&6
14031 cat > conftest.
$ac_ext <<EOF
14032 #line 14033 "configure"
14033 #include "confdefs.h"
14034 /* System header to define __stub macros and hopefully few prototypes,
14035 which can conflict with char remove(); below. */
14036 #include <assert.h>
14037 /* Override any gcc2 internal prototype to avoid an error. */
14038 /* We use char because int might match the return type of a gcc2
14039 builtin and then its argument prototype would still apply. */
14044 /* The GNU C library defines this for functions which it implements
14045 to always fail with ENOSYS. Some functions are actually named
14046 something starting with __ and the normal name is an alias. */
14047 #if defined (__stub_remove) || defined (__stub___remove)
14055 if { (eval echo configure
:14056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14057 eval "ac_cv_func_remove=yes"
14059 echo "configure: failed program was:" >&5
14060 cat conftest.
$ac_ext >&5
14062 eval "ac_cv_func_remove=no"
14067 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14068 echo "$ac_t""yes" 1>&6
14071 echo "$ac_t""no" 1>&6
14074 if test $ac_cv_func_remove = no
; then
14075 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14076 echo "configure:14077: checking for remove in -lposix" >&5
14077 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14078 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14079 echo $ac_n "(cached) $ac_c" 1>&6
14081 ac_save_LIBS
="$LIBS"
14082 LIBS
="-lposix $LIBS"
14083 cat > conftest.
$ac_ext <<EOF
14084 #line 14085 "configure"
14085 #include "confdefs.h"
14086 /* Override any gcc2 internal prototype to avoid an error. */
14087 /* We use char because int might match the return type of a gcc2
14088 builtin and then its argument prototype would still apply. */
14095 if { (eval echo configure
:14096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14097 eval "ac_cv_lib_$ac_lib_var=yes"
14099 echo "configure: failed program was:" >&5
14100 cat conftest.
$ac_ext >&5
14102 eval "ac_cv_lib_$ac_lib_var=no"
14105 LIBS
="$ac_save_LIBS"
14108 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14109 echo "$ac_t""yes" 1>&6
14110 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14112 echo "$ac_t""no" 1>&6
14117 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14118 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14119 echo "configure:14120: checking for shmat" >&5
14120 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14121 echo $ac_n "(cached) $ac_c" 1>&6
14123 cat > conftest.
$ac_ext <<EOF
14124 #line 14125 "configure"
14125 #include "confdefs.h"
14126 /* System header to define __stub macros and hopefully few prototypes,
14127 which can conflict with char shmat(); below. */
14128 #include <assert.h>
14129 /* Override any gcc2 internal prototype to avoid an error. */
14130 /* We use char because int might match the return type of a gcc2
14131 builtin and then its argument prototype would still apply. */
14136 /* The GNU C library defines this for functions which it implements
14137 to always fail with ENOSYS. Some functions are actually named
14138 something starting with __ and the normal name is an alias. */
14139 #if defined (__stub_shmat) || defined (__stub___shmat)
14147 if { (eval echo configure
:14148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14149 eval "ac_cv_func_shmat=yes"
14151 echo "configure: failed program was:" >&5
14152 cat conftest.
$ac_ext >&5
14154 eval "ac_cv_func_shmat=no"
14159 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14160 echo "$ac_t""yes" 1>&6
14163 echo "$ac_t""no" 1>&6
14166 if test $ac_cv_func_shmat = no
; then
14167 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14168 echo "configure:14169: checking for shmat in -lipc" >&5
14169 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14171 echo $ac_n "(cached) $ac_c" 1>&6
14173 ac_save_LIBS
="$LIBS"
14175 cat > conftest.
$ac_ext <<EOF
14176 #line 14177 "configure"
14177 #include "confdefs.h"
14178 /* Override any gcc2 internal prototype to avoid an error. */
14179 /* We use char because int might match the return type of a gcc2
14180 builtin and then its argument prototype would still apply. */
14187 if { (eval echo configure
:14188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14189 eval "ac_cv_lib_$ac_lib_var=yes"
14191 echo "configure: failed program was:" >&5
14192 cat conftest.
$ac_ext >&5
14194 eval "ac_cv_lib_$ac_lib_var=no"
14197 LIBS
="$ac_save_LIBS"
14200 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14201 echo "$ac_t""yes" 1>&6
14202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14204 echo "$ac_t""no" 1>&6
14210 # Check for libraries that X11R6 Xt/Xaw programs need.
14211 ac_save_LDFLAGS
="$LDFLAGS"
14212 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14213 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14214 # check for ICE first), but we must link in the order -lSM -lICE or
14215 # we get undefined symbols. So assume we have SM if we have ICE.
14216 # These have to be linked with before -lX11, unlike the other
14217 # libraries we check for below, so use a different variable.
14218 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14219 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14220 echo "configure:14221: checking for IceConnectionNumber in -lICE" >&5
14221 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14223 echo $ac_n "(cached) $ac_c" 1>&6
14225 ac_save_LIBS
="$LIBS"
14226 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14227 cat > conftest.
$ac_ext <<EOF
14228 #line 14229 "configure"
14229 #include "confdefs.h"
14230 /* Override any gcc2 internal prototype to avoid an error. */
14231 /* We use char because int might match the return type of a gcc2
14232 builtin and then its argument prototype would still apply. */
14233 char IceConnectionNumber();
14236 IceConnectionNumber()
14239 if { (eval echo configure
:14240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14241 eval "ac_cv_lib_$ac_lib_var=yes"
14243 echo "configure: failed program was:" >&5
14244 cat conftest.
$ac_ext >&5
14246 eval "ac_cv_lib_$ac_lib_var=no"
14249 LIBS
="$ac_save_LIBS"
14252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14253 echo "$ac_t""yes" 1>&6
14254 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14256 echo "$ac_t""no" 1>&6
14259 LDFLAGS
="$ac_save_LDFLAGS"
14264 if test "$no_x" = "yes"; then
14265 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14268 GUI_TK_LIBRARY
="$X_LIBS"
14269 TOOLKIT_INCLUDE
="$X_CFLAGS"
14270 AFMINSTALL
=afminstall
14271 COMPILED_X_PROGRAM
=0
14273 if test "$wxUSE_NANOX" = "yes"; then
14274 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
14275 echo "configure:14276: checking for MicroWindows/NanoX distribution" >&5
14276 if test "x$MICROWIN" = x
; then
14277 echo "$ac_t""not found" 1>&6
14278 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
14280 echo "$ac_t""$MICROWIN" 1>&6
14281 cat >> confdefs.h
<<\EOF
14282 #define wxUSE_NANOX 1
14289 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14290 echo "configure:14291: checking for Xpm library" >&5
14293 for ac_dir
in $SEARCH_LIB /usr
/lib
;
14295 for ac_extension
in a so sl dylib
; do
14296 if test -f "$ac_dir/libXpm.$ac_extension"; then
14297 ac_find_libraries
=$ac_dir
14303 if test "$ac_find_libraries" != "" ; then
14305 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14307 if test $result = 0; then
14310 ac_path_to_link
=" -L$ac_find_libraries"
14313 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14315 cat >> confdefs.h
<<\EOF
14316 #define wxHAVE_LIB_XPM 1
14319 echo "$ac_t""found at $ac_find_libraries" 1>&6
14321 cat > conftest.
$ac_ext <<EOF
14322 #line 14323 "configure"
14323 #include "confdefs.h"
14325 #include <X11/xpm.h>
14330 version = XpmLibraryVersion();
14334 if { (eval echo configure
:14335: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14338 cat >> confdefs.h
<<\EOF
14339 #define wxHAVE_LIB_XPM 1
14342 echo "$ac_t""found in default search path" 1>&6
14343 COMPILED_X_PROGRAM
=0
14346 echo "configure: failed program was:" >&5
14347 cat conftest.
$ac_ext >&5
14350 echo "$ac_t""no" 1>&6
14351 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14358 if test "$wxUSE_UNICODE" = "yes"; then
14362 if test -z "$PKG_CONFIG"; then
14363 # Extract the first word of "pkg-config", so it can be a program name with args.
14364 set dummy pkg
-config; ac_word
=$2
14365 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14366 echo "configure:14367: checking for $ac_word" >&5
14367 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14368 echo $ac_n "(cached) $ac_c" 1>&6
14370 case "$PKG_CONFIG" in
14372 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14375 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14378 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14380 for ac_dir
in $ac_dummy; do
14381 test -z "$ac_dir" && ac_dir
=.
14382 if test -f $ac_dir/$ac_word; then
14383 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14388 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14392 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14393 if test -n "$PKG_CONFIG"; then
14394 echo "$ac_t""$PKG_CONFIG" 1>&6
14396 echo "$ac_t""no" 1>&6
14401 if test "$PKG_CONFIG" = "no" ; then
14402 echo "*** The pkg-config script could not be found. Make sure it is"
14403 echo "*** in your path, or set the PKG_CONFIG environment variable"
14404 echo "*** to the full path to pkg-config."
14405 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14407 PKG_CONFIG_MIN_VERSION
=0.9.0
14408 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14409 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14410 echo "configure:14411: checking for pangox" >&5
14412 if $PKG_CONFIG --exists "pangox" ; then
14413 echo "$ac_t""yes" 1>&6
14416 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14417 echo "configure:14418: checking PANGOX_CFLAGS" >&5
14418 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14419 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14421 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14422 echo "configure:14423: checking PANGOX_LIBS" >&5
14423 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14424 echo "$ac_t""$PANGOX_LIBS" 1>&6
14428 ## If we have a custom action on failure, don't print errors, but
14429 ## do set a variable so people can do so.
14430 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14437 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14438 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14442 if test $succeeded = yes; then
14444 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14445 LIBS
="$LIBS $PANGOX_LIBS"
14449 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14457 if test -z "$PKG_CONFIG"; then
14458 # Extract the first word of "pkg-config", so it can be a program name with args.
14459 set dummy pkg
-config; ac_word
=$2
14460 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14461 echo "configure:14462: checking for $ac_word" >&5
14462 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14463 echo $ac_n "(cached) $ac_c" 1>&6
14465 case "$PKG_CONFIG" in
14467 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14470 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14473 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14475 for ac_dir
in $ac_dummy; do
14476 test -z "$ac_dir" && ac_dir
=.
14477 if test -f $ac_dir/$ac_word; then
14478 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14483 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14487 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14488 if test -n "$PKG_CONFIG"; then
14489 echo "$ac_t""$PKG_CONFIG" 1>&6
14491 echo "$ac_t""no" 1>&6
14496 if test "$PKG_CONFIG" = "no" ; then
14497 echo "*** The pkg-config script could not be found. Make sure it is"
14498 echo "*** in your path, or set the PKG_CONFIG environment variable"
14499 echo "*** to the full path to pkg-config."
14500 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14502 PKG_CONFIG_MIN_VERSION
=0.9.0
14503 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14504 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14505 echo "configure:14506: checking for pangoft2" >&5
14507 if $PKG_CONFIG --exists "pangoft2" ; then
14508 echo "$ac_t""yes" 1>&6
14511 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14512 echo "configure:14513: checking PANGOFT2_CFLAGS" >&5
14513 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14514 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14516 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14517 echo "configure:14518: checking PANGOFT2_LIBS" >&5
14518 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14519 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14523 ## If we have a custom action on failure, don't print errors, but
14524 ## do set a variable so people can do so.
14525 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14532 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14533 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14537 if test $succeeded = yes; then
14539 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14540 LIBS
="$LIBS $PANGOFT2_LIBS"
14544 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14545 wxUSE_PRINTING_ARCHITECTURE
="no"
14553 if test -z "$PKG_CONFIG"; then
14554 # Extract the first word of "pkg-config", so it can be a program name with args.
14555 set dummy pkg
-config; ac_word
=$2
14556 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14557 echo "configure:14558: checking for $ac_word" >&5
14558 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14559 echo $ac_n "(cached) $ac_c" 1>&6
14561 case "$PKG_CONFIG" in
14563 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14566 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14569 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14571 for ac_dir
in $ac_dummy; do
14572 test -z "$ac_dir" && ac_dir
=.
14573 if test -f $ac_dir/$ac_word; then
14574 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14579 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14583 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14584 if test -n "$PKG_CONFIG"; then
14585 echo "$ac_t""$PKG_CONFIG" 1>&6
14587 echo "$ac_t""no" 1>&6
14592 if test "$PKG_CONFIG" = "no" ; then
14593 echo "*** The pkg-config script could not be found. Make sure it is"
14594 echo "*** in your path, or set the PKG_CONFIG environment variable"
14595 echo "*** to the full path to pkg-config."
14596 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14598 PKG_CONFIG_MIN_VERSION
=0.9.0
14599 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14600 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14601 echo "configure:14602: checking for pangoxft" >&5
14603 if $PKG_CONFIG --exists "pangoxft" ; then
14604 echo "$ac_t""yes" 1>&6
14607 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14608 echo "configure:14609: checking PANGOXFT_CFLAGS" >&5
14609 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14610 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14612 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14613 echo "configure:14614: checking PANGOXFT_LIBS" >&5
14614 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14615 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14619 ## If we have a custom action on failure, don't print errors, but
14620 ## do set a variable so people can do so.
14621 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14628 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14629 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14633 if test $succeeded = yes; then
14635 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14636 LIBS
="$LIBS $PANGOXFT_LIBS"
14640 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14647 wxUSE_UNIVERSAL
="yes"
14649 if test "$wxUSE_NANOX" = "yes"; then
14650 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14651 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"
14652 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14654 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14657 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14662 if test "$wxUSE_MOTIF" = 1; then
14663 if test "$no_x" = yes; then
14664 # Not all programs may use this symbol, but it does not hurt to define it.
14665 cat >> confdefs.h
<<\EOF
14666 #define X_DISPLAY_MISSING 1
14669 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14671 if test -n "$x_includes"; then
14672 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14675 # It would also be nice to do this for all -L options, not just this one.
14676 if test -n "$x_libraries"; then
14677 X_LIBS
="$X_LIBS -L$x_libraries"
14678 # For Solaris; some versions of Sun CC require a space after -R and
14679 # others require no space. Words are not sufficient . . . .
14680 case "`(uname -sr) 2>/dev/null`" in
14682 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14683 echo "configure:14684: checking whether -R must be followed by a space" >&5
14684 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14685 cat > conftest.
$ac_ext <<EOF
14686 #line 14687 "configure"
14687 #include "confdefs.h"
14693 if { (eval echo configure
:14694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14697 echo "configure: failed program was:" >&5
14698 cat conftest.
$ac_ext >&5
14703 if test $ac_R_nospace = yes; then
14704 echo "$ac_t""no" 1>&6
14705 X_LIBS
="$X_LIBS -R$x_libraries"
14707 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14708 cat > conftest.
$ac_ext <<EOF
14709 #line 14710 "configure"
14710 #include "confdefs.h"
14716 if { (eval echo configure
:14717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14720 echo "configure: failed program was:" >&5
14721 cat conftest.
$ac_ext >&5
14726 if test $ac_R_space = yes; then
14727 echo "$ac_t""yes" 1>&6
14728 X_LIBS
="$X_LIBS -R $x_libraries"
14730 echo "$ac_t""neither works" 1>&6
14733 LIBS
="$ac_xsave_LIBS"
14737 # Check for system-dependent libraries X programs must link with.
14738 # Do this before checking for the system-independent R6 libraries
14739 # (-lICE), since we may need -lsocket or whatever for X linking.
14741 if test "$ISC" = yes; then
14742 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14744 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14745 # libraries were built with DECnet support. And karl@cs.umb.edu says
14746 # the Alpha needs dnet_stub (dnet does not exist).
14747 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14748 echo "configure:14749: checking for dnet_ntoa in -ldnet" >&5
14749 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14751 echo $ac_n "(cached) $ac_c" 1>&6
14753 ac_save_LIBS
="$LIBS"
14754 LIBS
="-ldnet $LIBS"
14755 cat > conftest.
$ac_ext <<EOF
14756 #line 14757 "configure"
14757 #include "confdefs.h"
14758 /* Override any gcc2 internal prototype to avoid an error. */
14759 /* We use char because int might match the return type of a gcc2
14760 builtin and then its argument prototype would still apply. */
14767 if { (eval echo configure
:14768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14769 eval "ac_cv_lib_$ac_lib_var=yes"
14771 echo "configure: failed program was:" >&5
14772 cat conftest.
$ac_ext >&5
14774 eval "ac_cv_lib_$ac_lib_var=no"
14777 LIBS
="$ac_save_LIBS"
14780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14781 echo "$ac_t""yes" 1>&6
14782 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14784 echo "$ac_t""no" 1>&6
14787 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14788 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14789 echo "configure:14790: checking for dnet_ntoa in -ldnet_stub" >&5
14790 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14792 echo $ac_n "(cached) $ac_c" 1>&6
14794 ac_save_LIBS
="$LIBS"
14795 LIBS
="-ldnet_stub $LIBS"
14796 cat > conftest.
$ac_ext <<EOF
14797 #line 14798 "configure"
14798 #include "confdefs.h"
14799 /* Override any gcc2 internal prototype to avoid an error. */
14800 /* We use char because int might match the return type of a gcc2
14801 builtin and then its argument prototype would still apply. */
14808 if { (eval echo configure
:14809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14810 eval "ac_cv_lib_$ac_lib_var=yes"
14812 echo "configure: failed program was:" >&5
14813 cat conftest.
$ac_ext >&5
14815 eval "ac_cv_lib_$ac_lib_var=no"
14818 LIBS
="$ac_save_LIBS"
14821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14822 echo "$ac_t""yes" 1>&6
14823 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14825 echo "$ac_t""no" 1>&6
14830 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14831 # to get the SysV transport functions.
14832 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14834 # The nsl library prevents programs from opening the X display
14835 # on Irix 5.2, according to dickey@clark.net.
14836 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14837 echo "configure:14838: checking for gethostbyname" >&5
14838 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14839 echo $ac_n "(cached) $ac_c" 1>&6
14841 cat > conftest.
$ac_ext <<EOF
14842 #line 14843 "configure"
14843 #include "confdefs.h"
14844 /* System header to define __stub macros and hopefully few prototypes,
14845 which can conflict with char gethostbyname(); below. */
14846 #include <assert.h>
14847 /* Override any gcc2 internal prototype to avoid an error. */
14848 /* We use char because int might match the return type of a gcc2
14849 builtin and then its argument prototype would still apply. */
14850 char gethostbyname();
14854 /* The GNU C library defines this for functions which it implements
14855 to always fail with ENOSYS. Some functions are actually named
14856 something starting with __ and the normal name is an alias. */
14857 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14865 if { (eval echo configure
:14866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14867 eval "ac_cv_func_gethostbyname=yes"
14869 echo "configure: failed program was:" >&5
14870 cat conftest.
$ac_ext >&5
14872 eval "ac_cv_func_gethostbyname=no"
14877 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14878 echo "$ac_t""yes" 1>&6
14881 echo "$ac_t""no" 1>&6
14884 if test $ac_cv_func_gethostbyname = no
; then
14885 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14886 echo "configure:14887: checking for gethostbyname in -lnsl" >&5
14887 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14888 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14889 echo $ac_n "(cached) $ac_c" 1>&6
14891 ac_save_LIBS
="$LIBS"
14893 cat > conftest.
$ac_ext <<EOF
14894 #line 14895 "configure"
14895 #include "confdefs.h"
14896 /* Override any gcc2 internal prototype to avoid an error. */
14897 /* We use char because int might match the return type of a gcc2
14898 builtin and then its argument prototype would still apply. */
14899 char gethostbyname();
14905 if { (eval echo configure
:14906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14907 eval "ac_cv_lib_$ac_lib_var=yes"
14909 echo "configure: failed program was:" >&5
14910 cat conftest.
$ac_ext >&5
14912 eval "ac_cv_lib_$ac_lib_var=no"
14915 LIBS
="$ac_save_LIBS"
14918 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14919 echo "$ac_t""yes" 1>&6
14920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14922 echo "$ac_t""no" 1>&6
14927 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14928 # socket/setsockopt and other routines are undefined under SCO ODT
14929 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14930 # on later versions), says simon@lia.di.epfl.ch: it contains
14931 # gethostby* variants that don't use the nameserver (or something).
14932 # -lsocket must be given before -lnsl if both are needed.
14933 # We assume that if connect needs -lnsl, so does gethostbyname.
14934 echo $ac_n "checking for connect""... $ac_c" 1>&6
14935 echo "configure:14936: checking for connect" >&5
14936 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14937 echo $ac_n "(cached) $ac_c" 1>&6
14939 cat > conftest.
$ac_ext <<EOF
14940 #line 14941 "configure"
14941 #include "confdefs.h"
14942 /* System header to define __stub macros and hopefully few prototypes,
14943 which can conflict with char connect(); below. */
14944 #include <assert.h>
14945 /* Override any gcc2 internal prototype to avoid an error. */
14946 /* We use char because int might match the return type of a gcc2
14947 builtin and then its argument prototype would still apply. */
14952 /* The GNU C library defines this for functions which it implements
14953 to always fail with ENOSYS. Some functions are actually named
14954 something starting with __ and the normal name is an alias. */
14955 #if defined (__stub_connect) || defined (__stub___connect)
14963 if { (eval echo configure
:14964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14965 eval "ac_cv_func_connect=yes"
14967 echo "configure: failed program was:" >&5
14968 cat conftest.
$ac_ext >&5
14970 eval "ac_cv_func_connect=no"
14975 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14976 echo "$ac_t""yes" 1>&6
14979 echo "$ac_t""no" 1>&6
14982 if test $ac_cv_func_connect = no
; then
14983 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14984 echo "configure:14985: checking for connect in -lsocket" >&5
14985 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14987 echo $ac_n "(cached) $ac_c" 1>&6
14989 ac_save_LIBS
="$LIBS"
14990 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14991 cat > conftest.
$ac_ext <<EOF
14992 #line 14993 "configure"
14993 #include "confdefs.h"
14994 /* Override any gcc2 internal prototype to avoid an error. */
14995 /* We use char because int might match the return type of a gcc2
14996 builtin and then its argument prototype would still apply. */
15003 if { (eval echo configure
:15004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15005 eval "ac_cv_lib_$ac_lib_var=yes"
15007 echo "configure: failed program was:" >&5
15008 cat conftest.
$ac_ext >&5
15010 eval "ac_cv_lib_$ac_lib_var=no"
15013 LIBS
="$ac_save_LIBS"
15016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15017 echo "$ac_t""yes" 1>&6
15018 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15020 echo "$ac_t""no" 1>&6
15025 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15026 echo $ac_n "checking for remove""... $ac_c" 1>&6
15027 echo "configure:15028: checking for remove" >&5
15028 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15029 echo $ac_n "(cached) $ac_c" 1>&6
15031 cat > conftest.
$ac_ext <<EOF
15032 #line 15033 "configure"
15033 #include "confdefs.h"
15034 /* System header to define __stub macros and hopefully few prototypes,
15035 which can conflict with char remove(); below. */
15036 #include <assert.h>
15037 /* Override any gcc2 internal prototype to avoid an error. */
15038 /* We use char because int might match the return type of a gcc2
15039 builtin and then its argument prototype would still apply. */
15044 /* The GNU C library defines this for functions which it implements
15045 to always fail with ENOSYS. Some functions are actually named
15046 something starting with __ and the normal name is an alias. */
15047 #if defined (__stub_remove) || defined (__stub___remove)
15055 if { (eval echo configure
:15056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15057 eval "ac_cv_func_remove=yes"
15059 echo "configure: failed program was:" >&5
15060 cat conftest.
$ac_ext >&5
15062 eval "ac_cv_func_remove=no"
15067 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15068 echo "$ac_t""yes" 1>&6
15071 echo "$ac_t""no" 1>&6
15074 if test $ac_cv_func_remove = no
; then
15075 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15076 echo "configure:15077: checking for remove in -lposix" >&5
15077 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15078 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15079 echo $ac_n "(cached) $ac_c" 1>&6
15081 ac_save_LIBS
="$LIBS"
15082 LIBS
="-lposix $LIBS"
15083 cat > conftest.
$ac_ext <<EOF
15084 #line 15085 "configure"
15085 #include "confdefs.h"
15086 /* Override any gcc2 internal prototype to avoid an error. */
15087 /* We use char because int might match the return type of a gcc2
15088 builtin and then its argument prototype would still apply. */
15095 if { (eval echo configure
:15096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15097 eval "ac_cv_lib_$ac_lib_var=yes"
15099 echo "configure: failed program was:" >&5
15100 cat conftest.
$ac_ext >&5
15102 eval "ac_cv_lib_$ac_lib_var=no"
15105 LIBS
="$ac_save_LIBS"
15108 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15109 echo "$ac_t""yes" 1>&6
15110 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15112 echo "$ac_t""no" 1>&6
15117 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15118 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15119 echo "configure:15120: checking for shmat" >&5
15120 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15121 echo $ac_n "(cached) $ac_c" 1>&6
15123 cat > conftest.
$ac_ext <<EOF
15124 #line 15125 "configure"
15125 #include "confdefs.h"
15126 /* System header to define __stub macros and hopefully few prototypes,
15127 which can conflict with char shmat(); below. */
15128 #include <assert.h>
15129 /* Override any gcc2 internal prototype to avoid an error. */
15130 /* We use char because int might match the return type of a gcc2
15131 builtin and then its argument prototype would still apply. */
15136 /* The GNU C library defines this for functions which it implements
15137 to always fail with ENOSYS. Some functions are actually named
15138 something starting with __ and the normal name is an alias. */
15139 #if defined (__stub_shmat) || defined (__stub___shmat)
15147 if { (eval echo configure
:15148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15149 eval "ac_cv_func_shmat=yes"
15151 echo "configure: failed program was:" >&5
15152 cat conftest.
$ac_ext >&5
15154 eval "ac_cv_func_shmat=no"
15159 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15160 echo "$ac_t""yes" 1>&6
15163 echo "$ac_t""no" 1>&6
15166 if test $ac_cv_func_shmat = no
; then
15167 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15168 echo "configure:15169: checking for shmat in -lipc" >&5
15169 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15171 echo $ac_n "(cached) $ac_c" 1>&6
15173 ac_save_LIBS
="$LIBS"
15175 cat > conftest.
$ac_ext <<EOF
15176 #line 15177 "configure"
15177 #include "confdefs.h"
15178 /* Override any gcc2 internal prototype to avoid an error. */
15179 /* We use char because int might match the return type of a gcc2
15180 builtin and then its argument prototype would still apply. */
15187 if { (eval echo configure
:15188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15189 eval "ac_cv_lib_$ac_lib_var=yes"
15191 echo "configure: failed program was:" >&5
15192 cat conftest.
$ac_ext >&5
15194 eval "ac_cv_lib_$ac_lib_var=no"
15197 LIBS
="$ac_save_LIBS"
15200 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15201 echo "$ac_t""yes" 1>&6
15202 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15204 echo "$ac_t""no" 1>&6
15210 # Check for libraries that X11R6 Xt/Xaw programs need.
15211 ac_save_LDFLAGS
="$LDFLAGS"
15212 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15213 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15214 # check for ICE first), but we must link in the order -lSM -lICE or
15215 # we get undefined symbols. So assume we have SM if we have ICE.
15216 # These have to be linked with before -lX11, unlike the other
15217 # libraries we check for below, so use a different variable.
15218 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15219 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15220 echo "configure:15221: checking for IceConnectionNumber in -lICE" >&5
15221 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15222 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15223 echo $ac_n "(cached) $ac_c" 1>&6
15225 ac_save_LIBS
="$LIBS"
15226 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15227 cat > conftest.
$ac_ext <<EOF
15228 #line 15229 "configure"
15229 #include "confdefs.h"
15230 /* Override any gcc2 internal prototype to avoid an error. */
15231 /* We use char because int might match the return type of a gcc2
15232 builtin and then its argument prototype would still apply. */
15233 char IceConnectionNumber();
15236 IceConnectionNumber()
15239 if { (eval echo configure
:15240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15241 eval "ac_cv_lib_$ac_lib_var=yes"
15243 echo "configure: failed program was:" >&5
15244 cat conftest.
$ac_ext >&5
15246 eval "ac_cv_lib_$ac_lib_var=no"
15249 LIBS
="$ac_save_LIBS"
15252 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15253 echo "$ac_t""yes" 1>&6
15254 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15256 echo "$ac_t""no" 1>&6
15259 LDFLAGS
="$ac_save_LDFLAGS"
15264 if test "$no_x" = "yes"; then
15265 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15268 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15269 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15270 AFMINSTALL
=afminstall
15271 COMPILED_X_PROGRAM
=0
15273 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15274 echo "configure:15275: checking for Motif/Lesstif headers" >&5
15277 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15279 if test -f "$ac_dir/Xm/Xm.h"; then
15280 ac_find_includes
=$ac_dir
15285 if test "$ac_find_includes" != "" ; then
15286 echo "$ac_t""found in $ac_find_includes" 1>&6
15288 if test "x$ac_find_includes" = "x/usr/include"; then
15289 ac_path_to_include
=""
15291 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15293 if test $result = 0; then
15294 ac_path_to_include
=""
15296 ac_path_to_include
=" -I$ac_find_includes"
15300 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15302 cat > conftest.
$ac_ext <<EOF
15303 #line 15304 "configure"
15304 #include "confdefs.h"
15311 version = xmUseVersion;
15315 if { (eval echo configure
:15316: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15318 echo "$ac_t""found in default search path" 1>&6
15319 COMPILED_X_PROGRAM
=1
15322 echo "configure: failed program was:" >&5
15323 cat conftest.
$ac_ext >&5
15326 echo "$ac_t""no" 1>&6
15327 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15334 if test "$COMPILED_X_PROGRAM" = 0; then
15335 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15336 echo "configure:15337: checking for Motif/Lesstif library" >&5
15339 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15341 for ac_extension
in a so sl dylib
; do
15342 if test -f "$ac_dir/libXm.$ac_extension"; then
15343 ac_find_libraries
=$ac_dir
15349 if test "$ac_find_libraries" != "" ; then
15350 echo "$ac_t""found at $ac_find_libraries" 1>&6
15353 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15355 if test $result = 0; then
15358 ac_path_to_link
=" -L$ac_find_libraries"
15361 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15363 save_CFLAGS
=$CFLAGS
15364 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15366 cat > conftest.
$ac_ext <<EOF
15367 #line 15368 "configure"
15368 #include "confdefs.h"
15375 version = xmUseVersion;
15379 if { (eval echo configure
:15380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15382 echo "$ac_t""found in default search path" 1>&6
15383 COMPILED_X_PROGRAM
=1
15386 echo "configure: failed program was:" >&5
15387 cat conftest.
$ac_ext >&5
15390 echo "$ac_t""no" 1>&6
15391 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15397 CFLAGS
=$save_CFLAGS
15402 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15403 echo "configure:15404: checking for Xpm library" >&5
15406 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15408 for ac_extension
in a so sl dylib
; do
15409 if test -f "$ac_dir/libXpm.$ac_extension"; then
15410 ac_find_libraries
=$ac_dir
15416 if test "$ac_find_libraries" != "" ; then
15418 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15420 if test $result = 0; then
15423 ac_path_to_link
=" -L$ac_find_libraries"
15426 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15429 cat >> confdefs.h
<<\EOF
15430 #define wxHAVE_LIB_XPM 1
15433 echo "$ac_t""found at $ac_find_libraries" 1>&6
15435 save_CFLAGS
=$CFLAGS
15436 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15438 cat > conftest.
$ac_ext <<EOF
15439 #line 15440 "configure"
15440 #include "confdefs.h"
15442 #include <X11/xpm.h>
15447 version = XpmLibraryVersion();
15451 if { (eval echo configure
:15452: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15455 cat >> confdefs.h
<<\EOF
15456 #define wxHAVE_LIB_XPM 1
15459 echo "$ac_t""found in default search path" 1>&6
15460 COMPILED_X_PROGRAM
=0
15463 echo "configure: failed program was:" >&5
15464 cat conftest.
$ac_ext >&5
15467 echo "$ac_t""no" 1>&6
15468 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15474 CFLAGS
=$save_CFLAGS
15477 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15478 echo "configure:15479: checking if we need -lXp and/or -lSM -lICE" >&5
15482 for libp
in "" " -lXp"; do
15483 if test "$libs_found" = "0"; then
15484 for libsm_ice
in " -lSM -lICE"; do
15485 if test "$libs_found" = "0"; then
15487 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15488 save_CFLAGS
=$CFLAGS
15489 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15491 cat > conftest.
$ac_ext <<EOF
15492 #line 15493 "configure"
15493 #include "confdefs.h"
15496 #include <Xm/List.h>
15500 XmString string = NULL;
15503 XmListAddItem(w, string, position);
15507 if { (eval echo configure
:15508: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15511 libsm_ice_link
="$libsm_ice"
15512 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15516 echo "configure: failed program was:" >&5
15517 cat conftest.
$ac_ext >&5
15525 CFLAGS
=$save_CFLAGS
15531 if test "$libs_found" = "0"; then
15532 echo "$ac_t""can't find the right libraries" 1>&6
15533 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15536 save_CFLAGS
=$CFLAGS
15537 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15538 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15539 echo "configure:15540: checking for Motif 2" >&5
15540 cat > conftest.
$ac_ext <<EOF
15541 #line 15542 "configure"
15542 #include "confdefs.h"
15548 #if XmVersion < 2000
15549 #error "Not Motif 2"
15554 if { (eval echo configure
:15555: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15557 cat >> confdefs.h
<<\EOF
15558 #define __WXMOTIF20__ 1
15561 echo "$ac_t""found" 1>&6
15564 echo "configure: failed program was:" >&5
15565 cat conftest.
$ac_ext >&5
15568 cat >> confdefs.h
<<\EOF
15569 #define __WXMOTIF20__ 0
15572 echo "$ac_t""not found" 1>&6
15576 CFLAGS
=$save_CFLAGS
15578 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15579 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15584 if test "$wxUSE_MAC" = 1; then
15585 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15587 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15592 if test "$wxUSE_COCOA" = 1; then
15593 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15598 if test "$wxUSE_PM" = 1; then
15601 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15605 if test "$TOOLKIT" = "PM" ; then
15608 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15611 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15613 if test "$wxUSE_UNIVERSAL" = "yes"; then
15614 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15616 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15617 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15619 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15620 if test "$wxUSE_X11" = 1; then
15621 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15623 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15625 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15628 ALL_OBJECTS
="\$(GUIOBJS)"
15629 ALL_SOURCES
="\$(ALL_SOURCES)"
15630 ALL_HEADERS
="\$(ALL_HEADERS)"
15633 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15635 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15636 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15639 if test "$wxUSE_HTML" = "yes"; then
15640 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15643 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15644 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15646 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15647 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15649 if test "$wxUSE_LIBPNG" = "builtin" ; then
15650 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15653 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15654 DISTDIR
="wx\$(TOOLKIT)"
15660 if test "$USE_WIN32" = 1 ; then
15661 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15662 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15666 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15667 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15670 ALL_SOURCES
="\$(ALL_SOURCES)"
15671 ALL_HEADERS
="\$(ALL_HEADERS)"
15673 PORT_FILES
="\${top_srcdir}/src/files.lst"
15675 GUIDIST
="BASE_DIST"
15680 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15681 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15684 if test "$wxUSE_REGEX" = "builtin" ; then
15685 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15687 if test "$wxUSE_ZLIB" = "builtin" ; then
15688 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15692 if test "$wxUSE_OPENGL" = "yes"; then
15693 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15694 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15695 elif test "$wxUSE_MSW" = 1; then
15696 OPENGL_LIBS
="-lopengl32 -lglu32"
15698 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15699 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15700 echo "configure:15701: checking for GL/gl.h" >&5
15701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15702 echo $ac_n "(cached) $ac_c" 1>&6
15704 cat > conftest.
$ac_ext <<EOF
15705 #line 15706 "configure"
15706 #include "confdefs.h"
15709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15710 { (eval echo configure
:15711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15711 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15712 if test -z "$ac_err"; then
15714 eval "ac_cv_header_$ac_safe=yes"
15717 echo "configure: failed program was:" >&5
15718 cat conftest.
$ac_ext >&5
15720 eval "ac_cv_header_$ac_safe=no"
15724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15725 echo "$ac_t""yes" 1>&6
15727 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15728 echo "configure:15729: checking for -lGL" >&5
15731 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15733 for ac_extension
in a so sl dylib
; do
15734 if test -f "$ac_dir/libGL.$ac_extension"; then
15735 ac_find_libraries
=$ac_dir
15741 if test "$ac_find_libraries" != "" ; then
15743 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15745 if test $result = 0; then
15748 ac_path_to_link
=" -L$ac_find_libraries"
15751 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15752 LDFLAGS_GL
="$LDFLAGS"
15754 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15756 OPENGL_LIBS
="-lGL -lGLU"
15757 echo "$ac_t""yes" 1>&6
15759 echo "$ac_t""no" 1>&6
15760 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15761 echo "configure:15762: checking for -lMesaGL" >&5
15764 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15766 for ac_extension
in a so sl dylib
; do
15767 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15768 ac_find_libraries
=$ac_dir
15774 if test "$ac_find_libraries" != "" ; then
15776 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15778 if test $result = 0; then
15781 ac_path_to_link
=" -L$ac_find_libraries"
15784 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15785 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15786 echo "$ac_t""yes" 1>&6
15788 echo "$ac_t""no" 1>&6
15793 echo "$ac_t""no" 1>&6
15797 if test "x$OPENGL_LIBS" = "x"; then
15798 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15802 if test "$wxUSE_OPENGL" = "yes"; then
15803 cat >> confdefs.h
<<\EOF
15804 #define wxUSE_OPENGL 1
15807 cat >> confdefs.h
<<\EOF
15808 #define wxUSE_GLCANVAS 1
15811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15815 if test -z "$TOOLKIT_VPATH" ; then
15816 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15819 if test -n "$TOOLKIT" ; then
15820 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15823 lib_unicode_suffix
=
15824 if test "$wxUSE_UNICODE" = "yes"; then
15825 lib_unicode_suffix
=u
15829 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15833 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15835 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15836 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15838 if test "$cross_compiling" = "yes"; then
15839 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15840 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15843 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15844 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15845 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15847 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15848 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15850 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15851 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15852 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15853 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15856 *-*-cygwin* | *-*-mingw32* )
15860 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15861 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15862 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15863 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15864 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15866 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15867 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15873 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15874 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15876 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15877 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15878 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
15879 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15881 if test "$wxUSE_MAC" = 1; then
15882 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
15883 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
15888 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15889 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15891 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15892 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15894 if test "$wxUSE_OPENGL" = "yes"; then
15895 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15896 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15901 if test "$wxUSE_SHARED" = "yes"; then
15903 *-pc-os2_emx | *-pc-os2-emx | \
15906 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15911 if test "$wxUSE_SHARED" = "yes"; then
15913 if test "$wxUSE_OPENGL" = "yes"; then
15914 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15915 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15917 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15918 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15921 if test "$GCC" = "yes"; then
15927 found_versioning
=no
15930 if test $found_versioning = no
; then
15931 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
15932 echo "configure:15933: checking if the linker accepts --version-script" >&5
15933 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
15934 echo $ac_n "(cached) $ac_c" 1>&6
15937 echo "VER_1 { *; };" >conftest.sym
15938 echo "int main() { return 0; }" >conftest.cpp
15941 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
15942 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:15943: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
15943 if test -s conftest.stderr
; then
15944 wx_cv_version_script
=no
15946 wx_cv_version_script
=yes
15949 wx_cv_version_script
=no
15951 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
15955 echo "$ac_t""$wx_cv_version_script" 1>&6
15956 if test $wx_cv_version_script = yes ; then
15957 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
15962 SHARED_LD
="${CXX} -shared -o"
15966 if test "$GCC" = "yes"; then
15967 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
15969 LDFLAGS
="$LDFLAGS -L/usr/lib"
15971 SHARED_LD
="${CXX} -b -o"
15975 if test "$wxUSE_OPENGL" = "yes"; then
15976 WX_ALL_INSTALLED
="preinstall_gl"
15977 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15979 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15984 if test "$GCC" != "yes"; then
15985 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15986 echo "configure:15987: checking for Intel compiler" >&5
15987 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15988 echo $ac_n "(cached) $ac_c" 1>&6
15991 cat > conftest.
$ac_ext <<EOF
15992 #line 15993 "configure"
15993 #include "confdefs.h"
15997 #ifndef __INTEL_COMPILER
16003 if { (eval echo configure
:16004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16007 echo "configure: failed program was:" >&5
16008 cat conftest.
$ac_ext >&5
16017 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16018 if test "$wx_cv_prog_icc" = "yes"; then
16023 if test "$wxUSE_SONAME" = "yes" ; then
16024 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16025 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16026 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16031 if test "$GCC" = yes ; then
16032 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16034 SHARED_LD
="${CXX} -G -o"
16036 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16037 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16042 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16043 CFLAGS
="$CFLAGS -fno-common"
16044 CXXFLAGS
="$CXXFLAGS -fno-common"
16045 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16046 PIC_FLAG
="-dynamic -fPIC"
16047 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16048 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16052 if test "$GCC" != "yes"; then
16053 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16054 set dummy makeC
++SharedLib
; ac_word
=$2
16055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16056 echo "configure:16057: checking for $ac_word" >&5
16057 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16058 echo $ac_n "(cached) $ac_c" 1>&6
16060 if test -n "$AIX_CXX_LD"; then
16061 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16063 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16065 for ac_dir
in $ac_dummy; do
16066 test -z "$ac_dir" && ac_dir
=.
16067 if test -f $ac_dir/$ac_word; then
16068 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16073 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16076 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16077 if test -n "$AIX_CXX_LD"; then
16078 echo "$ac_t""$AIX_CXX_LD" 1>&6
16080 echo "$ac_t""no" 1>&6
16084 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16088 *-*-cygwin* | *-*-mingw32* )
16089 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16091 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16092 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16094 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16096 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16097 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16099 if test "$wxUSE_OPENGL" = "yes"; then
16100 LIBS
="${LIBS} ${OPENGL_LIBS}"
16105 SHARED_LD
="${LD} -shared -o"
16109 if test "$GCC" != "yes"; then
16114 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16122 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16125 if test "x$WX_TARGET_LIBRARY" = "x"; then
16126 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16127 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16130 WX_TARGET_LIBRARY_TYPE
="so"
16131 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16134 if test "$wxUSE_SHARED" = "no"; then
16136 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16137 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16140 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16141 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16144 if test "$wxUSE_OPENGL" = "yes"; then
16145 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16146 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16148 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16151 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16152 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16154 WX_TARGET_LIBRARY_TYPE
="a"
16155 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16165 if test "$wxUSE_MAC" = 1; then
16166 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16167 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16168 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16169 # Extract the first word of "Rez", so it can be a program name with args.
16170 set dummy Rez
; ac_word
=$2
16171 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16172 echo "configure:16173: checking for $ac_word" >&5
16173 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16174 echo $ac_n "(cached) $ac_c" 1>&6
16176 if test -n "$RESCOMP"; then
16177 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16179 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16181 for ac_dir
in $ac_dummy; do
16182 test -z "$ac_dir" && ac_dir
=.
16183 if test -f $ac_dir/$ac_word; then
16184 ac_cv_prog_RESCOMP
="Rez"
16189 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16192 RESCOMP
="$ac_cv_prog_RESCOMP"
16193 if test -n "$RESCOMP"; then
16194 echo "$ac_t""$RESCOMP" 1>&6
16196 echo "$ac_t""no" 1>&6
16199 # Extract the first word of "DeRez", so it can be a program name with args.
16200 set dummy DeRez
; ac_word
=$2
16201 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16202 echo "configure:16203: checking for $ac_word" >&5
16203 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16204 echo $ac_n "(cached) $ac_c" 1>&6
16206 if test -n "$DEREZ"; then
16207 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16209 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16211 for ac_dir
in $ac_dummy; do
16212 test -z "$ac_dir" && ac_dir
=.
16213 if test -f $ac_dir/$ac_word; then
16214 ac_cv_prog_DEREZ
="DeRez"
16219 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16222 DEREZ
="$ac_cv_prog_DEREZ"
16223 if test -n "$DEREZ"; then
16224 echo "$ac_t""$DEREZ" 1>&6
16226 echo "$ac_t""no" 1>&6
16229 # Extract the first word of "SetFile", so it can be a program name with args.
16230 set dummy SetFile
; ac_word
=$2
16231 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16232 echo "configure:16233: checking for $ac_word" >&5
16233 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16234 echo $ac_n "(cached) $ac_c" 1>&6
16236 if test -n "$SETFILE"; then
16237 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16239 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16241 for ac_dir
in $ac_dummy; do
16242 test -z "$ac_dir" && ac_dir
=.
16243 if test -f $ac_dir/$ac_word; then
16244 ac_cv_prog_SETFILE
="SetFile"
16249 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16252 SETFILE
="$ac_cv_prog_SETFILE"
16253 if test -n "$SETFILE"; then
16254 echo "$ac_t""$SETFILE" 1>&6
16256 echo "$ac_t""no" 1>&6
16259 MACOSX_BUNDLE
="bundle"
16260 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16261 MACSETFILE
="\$(SETFILE)"
16262 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16264 if test "$wxUSE_PM" = 1; then
16265 MACRESCOMP
="emxbind -ep"
16270 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16271 echo "configure:16272: checking for ANSI C header files" >&5
16272 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16273 echo $ac_n "(cached) $ac_c" 1>&6
16275 cat > conftest.
$ac_ext <<EOF
16276 #line 16277 "configure"
16277 #include "confdefs.h"
16278 #include <stdlib.h>
16279 #include <stdarg.h>
16280 #include <string.h>
16283 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16284 { (eval echo configure
:16285: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16285 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16286 if test -z "$ac_err"; then
16288 ac_cv_header_stdc
=yes
16291 echo "configure: failed program was:" >&5
16292 cat conftest.
$ac_ext >&5
16294 ac_cv_header_stdc
=no
16298 if test $ac_cv_header_stdc = yes; then
16299 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16300 cat > conftest.
$ac_ext <<EOF
16301 #line 16302 "configure"
16302 #include "confdefs.h"
16303 #include <string.h>
16305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16306 egrep "memchr" >/dev
/null
2>&1; then
16310 ac_cv_header_stdc
=no
16316 if test $ac_cv_header_stdc = yes; then
16317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16318 cat > conftest.
$ac_ext <<EOF
16319 #line 16320 "configure"
16320 #include "confdefs.h"
16321 #include <stdlib.h>
16323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16324 egrep "free" >/dev
/null
2>&1; then
16328 ac_cv_header_stdc
=no
16334 if test $ac_cv_header_stdc = yes; then
16335 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16336 if test "$cross_compiling" = yes; then
16339 cat > conftest.
$ac_ext <<EOF
16340 #line 16341 "configure"
16341 #include "confdefs.h"
16343 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16344 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16345 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16346 int main () { int i; for (i = 0; i < 256; i++)
16347 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16351 if { (eval echo configure
:16352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16355 echo "configure: failed program was:" >&5
16356 cat conftest.
$ac_ext >&5
16358 ac_cv_header_stdc
=no
16366 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16367 if test $ac_cv_header_stdc = yes; then
16368 cat >> confdefs.h
<<\EOF
16369 #define STDC_HEADERS 1
16374 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16375 echo "configure:16376: checking for mode_t" >&5
16376 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16377 echo $ac_n "(cached) $ac_c" 1>&6
16379 cat > conftest.
$ac_ext <<EOF
16380 #line 16381 "configure"
16381 #include "confdefs.h"
16382 #include <sys/types.h>
16384 #include <stdlib.h>
16385 #include <stddef.h>
16388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16389 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16391 ac_cv_type_mode_t
=yes
16394 ac_cv_type_mode_t
=no
16399 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16400 if test $ac_cv_type_mode_t = no
; then
16401 cat >> confdefs.h
<<\EOF
16407 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16408 echo "configure:16409: checking for off_t" >&5
16409 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16410 echo $ac_n "(cached) $ac_c" 1>&6
16412 cat > conftest.
$ac_ext <<EOF
16413 #line 16414 "configure"
16414 #include "confdefs.h"
16415 #include <sys/types.h>
16417 #include <stdlib.h>
16418 #include <stddef.h>
16421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16422 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16424 ac_cv_type_off_t
=yes
16427 ac_cv_type_off_t
=no
16432 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16433 if test $ac_cv_type_off_t = no
; then
16434 cat >> confdefs.h
<<\EOF
16440 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16441 echo "configure:16442: checking for pid_t" >&5
16442 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16443 echo $ac_n "(cached) $ac_c" 1>&6
16445 cat > conftest.
$ac_ext <<EOF
16446 #line 16447 "configure"
16447 #include "confdefs.h"
16448 #include <sys/types.h>
16450 #include <stdlib.h>
16451 #include <stddef.h>
16454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16455 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16457 ac_cv_type_pid_t
=yes
16460 ac_cv_type_pid_t
=no
16465 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16466 if test $ac_cv_type_pid_t = no
; then
16467 cat >> confdefs.h
<<\EOF
16473 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16474 echo "configure:16475: checking for size_t" >&5
16475 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16476 echo $ac_n "(cached) $ac_c" 1>&6
16478 cat > conftest.
$ac_ext <<EOF
16479 #line 16480 "configure"
16480 #include "confdefs.h"
16481 #include <sys/types.h>
16483 #include <stdlib.h>
16484 #include <stddef.h>
16487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16488 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16490 ac_cv_type_size_t
=yes
16493 ac_cv_type_size_t
=no
16498 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16499 if test $ac_cv_type_size_t = no
; then
16500 cat >> confdefs.h
<<\EOF
16501 #define size_t unsigned
16506 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16507 echo "configure:16508: checking for uid_t in sys/types.h" >&5
16508 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16509 echo $ac_n "(cached) $ac_c" 1>&6
16511 cat > conftest.
$ac_ext <<EOF
16512 #line 16513 "configure"
16513 #include "confdefs.h"
16514 #include <sys/types.h>
16516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16517 egrep "uid_t" >/dev
/null
2>&1; then
16519 ac_cv_type_uid_t
=yes
16522 ac_cv_type_uid_t
=no
16528 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16529 if test $ac_cv_type_uid_t = no
; then
16530 cat >> confdefs.h
<<\EOF
16534 cat >> confdefs.h
<<\EOF
16543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16544 ac_cpp
='$CXXCPP $CPPFLAGS'
16545 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16546 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16547 cross_compiling
=$ac_cv_prog_cxx_cross
16549 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16550 echo "configure:16551: checking if size_t is unsigned int" >&5
16551 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16552 echo $ac_n "(cached) $ac_c" 1>&6
16554 cat > conftest.
$ac_ext <<EOF
16555 #line 16556 "configure"
16556 #include "confdefs.h"
16557 #include <stddef.h>
16562 struct Foo { void foo(size_t); void foo(unsigned int); };
16568 if { (eval echo configure
:16569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16570 wx_cv_size_t_is_uint
=no
16572 echo "configure: failed program was:" >&5
16573 cat conftest.
$ac_ext >&5
16575 wx_cv_size_t_is_uint
=yes
16582 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16584 if test "$wx_cv_size_t_is_uint" = "yes"; then
16585 cat >> confdefs.h
<<\EOF
16586 #define wxSIZE_T_IS_UINT 1
16590 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16591 echo "configure:16592: checking if size_t is unsigned long" >&5
16592 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+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 <stddef.h>
16603 struct Foo { void foo(size_t); void foo(unsigned long); };
16609 if { (eval echo configure
:16610: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16611 wx_cv_size_t_is_ulong
=no
16613 echo "configure: failed program was:" >&5
16614 cat conftest.
$ac_ext >&5
16616 wx_cv_size_t_is_ulong
=yes
16623 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16625 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16626 cat >> confdefs.h
<<\EOF
16627 #define wxSIZE_T_IS_ULONG 1
16634 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16635 ac_cpp
='$CPP $CPPFLAGS'
16636 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16637 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16638 cross_compiling
=$ac_cv_prog_cc_cross
16642 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16643 echo "configure:16644: checking for pw_gecos in struct passwd" >&5
16644 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16645 echo $ac_n "(cached) $ac_c" 1>&6
16648 cat > conftest.
$ac_ext <<EOF
16649 #line 16650 "configure"
16650 #include "confdefs.h"
16660 if { (eval echo configure
:16661: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16663 wx_cv_struct_pw_gecos
=yes
16666 echo "configure: failed program was:" >&5
16667 cat conftest.
$ac_ext >&5
16670 wx_cv_struct_pw_gecos
=no
16679 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16681 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16682 cat >> confdefs.h
<<\EOF
16683 #define HAVE_PW_GECOS 1
16689 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16690 cat >> confdefs.h
<<\EOF
16691 #define wxUSE_WCHAR_T 1
16697 for ac_func
in wcslen
16699 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16700 echo "configure:16701: checking for $ac_func" >&5
16701 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16702 echo $ac_n "(cached) $ac_c" 1>&6
16704 cat > conftest.
$ac_ext <<EOF
16705 #line 16706 "configure"
16706 #include "confdefs.h"
16707 /* System header to define __stub macros and hopefully few prototypes,
16708 which can conflict with char $ac_func(); below. */
16709 #include <assert.h>
16710 /* Override any gcc2 internal prototype to avoid an error. */
16711 /* We use char because int might match the return type of a gcc2
16712 builtin and then its argument prototype would still apply. */
16717 /* The GNU C library defines this for functions which it implements
16718 to always fail with ENOSYS. Some functions are actually named
16719 something starting with __ and the normal name is an alias. */
16720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16728 if { (eval echo configure
:16729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16730 eval "ac_cv_func_$ac_func=yes"
16732 echo "configure: failed program was:" >&5
16733 cat conftest.
$ac_ext >&5
16735 eval "ac_cv_func_$ac_func=no"
16740 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16741 echo "$ac_t""yes" 1>&6
16742 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16743 cat >> confdefs.h
<<EOF
16744 #define $ac_tr_func 1
16748 echo "$ac_t""no" 1>&6
16753 if test "$WCSLEN_FOUND" = 0; then
16754 if test "$TOOLKIT" = "MSW"; then
16755 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16756 echo "configure:16757: checking for wcslen in -lmsvcrt" >&5
16757 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16758 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16759 echo $ac_n "(cached) $ac_c" 1>&6
16761 ac_save_LIBS
="$LIBS"
16762 LIBS
="-lmsvcrt $LIBS"
16763 cat > conftest.
$ac_ext <<EOF
16764 #line 16765 "configure"
16765 #include "confdefs.h"
16766 /* Override any gcc2 internal prototype to avoid an error. */
16767 /* We use char because int might match the return type of a gcc2
16768 builtin and then its argument prototype would still apply. */
16775 if { (eval echo configure
:16776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16777 eval "ac_cv_lib_$ac_lib_var=yes"
16779 echo "configure: failed program was:" >&5
16780 cat conftest.
$ac_ext >&5
16782 eval "ac_cv_lib_$ac_lib_var=no"
16785 LIBS
="$ac_save_LIBS"
16788 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16789 echo "$ac_t""yes" 1>&6
16792 echo "$ac_t""no" 1>&6
16796 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
16797 echo "configure:16798: checking for wcslen in -lw" >&5
16798 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
16799 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16800 echo $ac_n "(cached) $ac_c" 1>&6
16802 ac_save_LIBS
="$LIBS"
16804 cat > conftest.
$ac_ext <<EOF
16805 #line 16806 "configure"
16806 #include "confdefs.h"
16807 /* Override any gcc2 internal prototype to avoid an error. */
16808 /* We use char because int might match the return type of a gcc2
16809 builtin and then its argument prototype would still apply. */
16816 if { (eval echo configure
:16817: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16818 eval "ac_cv_lib_$ac_lib_var=yes"
16820 echo "configure: failed program was:" >&5
16821 cat conftest.
$ac_ext >&5
16823 eval "ac_cv_lib_$ac_lib_var=no"
16826 LIBS
="$ac_save_LIBS"
16829 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16830 echo "$ac_t""yes" 1>&6
16836 echo "$ac_t""no" 1>&6
16842 if test "$WCSLEN_FOUND" = 1; then
16843 cat >> confdefs.h
<<\EOF
16844 #define HAVE_WCSLEN 1
16849 for ac_func
in wcsrtombs
16851 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16852 echo "configure:16853: checking for $ac_func" >&5
16853 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16854 echo $ac_n "(cached) $ac_c" 1>&6
16856 cat > conftest.
$ac_ext <<EOF
16857 #line 16858 "configure"
16858 #include "confdefs.h"
16859 /* System header to define __stub macros and hopefully few prototypes,
16860 which can conflict with char $ac_func(); below. */
16861 #include <assert.h>
16862 /* Override any gcc2 internal prototype to avoid an error. */
16863 /* We use char because int might match the return type of a gcc2
16864 builtin and then its argument prototype would still apply. */
16869 /* The GNU C library defines this for functions which it implements
16870 to always fail with ENOSYS. Some functions are actually named
16871 something starting with __ and the normal name is an alias. */
16872 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16880 if { (eval echo configure
:16881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16882 eval "ac_cv_func_$ac_func=yes"
16884 echo "configure: failed program was:" >&5
16885 cat conftest.
$ac_ext >&5
16887 eval "ac_cv_func_$ac_func=no"
16892 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16893 echo "$ac_t""yes" 1>&6
16894 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16895 cat >> confdefs.h
<<EOF
16896 #define $ac_tr_func 1
16900 echo "$ac_t""no" 1>&6
16905 echo "configure: warning: Wide character support is unavailable" 1>&2
16910 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16911 ac_cpp
='$CXXCPP $CPPFLAGS'
16912 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16913 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16914 cross_compiling
=$ac_cv_prog_cxx_cross
16917 for ac_func
in vsnprintf
16919 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16920 echo "configure:16921: checking for $ac_func" >&5
16921 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16922 echo $ac_n "(cached) $ac_c" 1>&6
16924 cat > conftest.
$ac_ext <<EOF
16925 #line 16926 "configure"
16926 #include "confdefs.h"
16927 /* System header to define __stub macros and hopefully few prototypes,
16928 which can conflict with char $ac_func(); below. */
16929 #include <assert.h>
16930 /* Override any gcc2 internal prototype to avoid an error. */
16934 /* We use char because int might match the return type of a gcc2
16935 builtin and then its argument prototype would still apply. */
16940 /* The GNU C library defines this for functions which it implements
16941 to always fail with ENOSYS. Some functions are actually named
16942 something starting with __ and the normal name is an alias. */
16943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16951 if { (eval echo configure
:16952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16953 eval "ac_cv_func_$ac_func=yes"
16955 echo "configure: failed program was:" >&5
16956 cat conftest.
$ac_ext >&5
16958 eval "ac_cv_func_$ac_func=no"
16963 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16964 echo "$ac_t""yes" 1>&6
16965 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16966 cat >> confdefs.h
<<EOF
16967 #define $ac_tr_func 1
16971 echo "$ac_t""no" 1>&6
16976 if test "$ac_cv_func_vsnprintf" = "yes"; then
16977 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
16978 echo "configure:16979: checking for vsnprintf declaration" >&5
16979 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
16980 echo $ac_n "(cached) $ac_c" 1>&6
16983 cat > conftest.
$ac_ext <<EOF
16984 #line 16985 "configure"
16985 #include "confdefs.h"
16988 #include <stdarg.h>
16994 vsnprintf(buf, 10u, "%s", ap);
16998 if { (eval echo configure
:16999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17000 wx_cv_func_vsnprintf_decl
=yes
17002 echo "configure: failed program was:" >&5
17003 cat conftest.
$ac_ext >&5
17005 wx_cv_func_vsnprintf_decl
=no
17013 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17015 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17016 cat >> confdefs.h
<<\EOF
17017 #define HAVE_VSNPRINTF_DECL 1
17023 if test "$wxUSE_UNICODE" = yes; then
17024 for ac_func
in fputwc wprintf vswprintf
17026 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17027 echo "configure:17028: checking for $ac_func" >&5
17028 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17029 echo $ac_n "(cached) $ac_c" 1>&6
17031 cat > conftest.
$ac_ext <<EOF
17032 #line 17033 "configure"
17033 #include "confdefs.h"
17034 /* System header to define __stub macros and hopefully few prototypes,
17035 which can conflict with char $ac_func(); below. */
17036 #include <assert.h>
17037 /* Override any gcc2 internal prototype to avoid an error. */
17041 /* We use char because int might match the return type of a gcc2
17042 builtin and then its argument prototype would still apply. */
17047 /* The GNU C library defines this for functions which it implements
17048 to always fail with ENOSYS. Some functions are actually named
17049 something starting with __ and the normal name is an alias. */
17050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17058 if { (eval echo configure
:17059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17060 eval "ac_cv_func_$ac_func=yes"
17062 echo "configure: failed program was:" >&5
17063 cat conftest.
$ac_ext >&5
17065 eval "ac_cv_func_$ac_func=no"
17070 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17071 echo "$ac_t""yes" 1>&6
17072 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17073 cat >> confdefs.h
<<EOF
17074 #define $ac_tr_func 1
17078 echo "$ac_t""no" 1>&6
17083 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17084 echo "configure:17085: checking for _vsnwprintf" >&5
17085 cat > conftest.
$ac_ext <<EOF
17086 #line 17087 "configure"
17087 #include "confdefs.h"
17093 if { (eval echo configure
:17094: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17095 echo "$ac_t""yes" 1>&6
17096 cat >> confdefs.h
<<\EOF
17097 #define HAVE__VSNWPRINTF 1
17101 echo "configure: failed program was:" >&5
17102 cat conftest.
$ac_ext >&5
17104 echo "$ac_t""no" 1>&6
17110 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17111 ac_cpp
='$CPP $CPPFLAGS'
17112 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17113 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17114 cross_compiling
=$ac_cv_prog_cc_cross
17119 if test "$TOOLKIT" != "MSW"; then
17124 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17125 ac_cpp
='$CXXCPP $CPPFLAGS'
17126 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17127 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17128 cross_compiling
=$ac_cv_prog_cxx_cross
17132 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17133 if test "${with_libiconv_prefix+set}" = set; then
17134 withval
="$with_libiconv_prefix"
17136 for dir
in `echo "$withval" | tr : ' '`; do
17137 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17138 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17144 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17145 echo "configure:17146: checking for iconv" >&5
17146 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17147 echo $ac_n "(cached) $ac_c" 1>&6
17150 am_cv_func_iconv
="no, consider installing GNU libiconv"
17152 cat > conftest.
$ac_ext <<EOF
17153 #line 17154 "configure"
17154 #include "confdefs.h"
17155 #include <stdlib.h>
17158 iconv_t cd = iconv_open("","");
17159 iconv(cd,NULL,NULL,NULL,NULL);
17163 if { (eval echo configure
:17164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17165 am_cv_func_iconv
=yes
17167 echo "configure: failed program was:" >&5
17168 cat conftest.
$ac_ext >&5
17171 if test "$am_cv_func_iconv" != yes; then
17172 am_save_LIBS
="$LIBS"
17173 LIBS
="$LIBS -liconv"
17174 cat > conftest.
$ac_ext <<EOF
17175 #line 17176 "configure"
17176 #include "confdefs.h"
17177 #include <stdlib.h>
17180 iconv_t cd = iconv_open("","");
17181 iconv(cd,NULL,NULL,NULL,NULL);
17185 if { (eval echo configure
:17186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17187 am_cv_lib_iconv
=yes
17188 am_cv_func_iconv
=yes
17190 echo "configure: failed program was:" >&5
17191 cat conftest.
$ac_ext >&5
17194 LIBS
="$am_save_LIBS"
17199 echo "$ac_t""$am_cv_func_iconv" 1>&6
17200 if test "$am_cv_func_iconv" = yes; then
17201 cat >> confdefs.h
<<\EOF
17202 #define HAVE_ICONV 1
17205 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17206 echo "configure:17207: checking if iconv needs const" >&5
17207 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17208 echo $ac_n "(cached) $ac_c" 1>&6
17210 cat > conftest.
$ac_ext <<EOF
17211 #line 17212 "configure"
17212 #include "confdefs.h"
17214 #include <stdlib.h>
17220 #if defined(__STDC__) || defined(__cplusplus)
17221 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17230 if { (eval echo configure
:17231: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17232 wx_cv_func_iconv_const
="no"
17234 echo "configure: failed program was:" >&5
17235 cat conftest.
$ac_ext >&5
17237 wx_cv_func_iconv_const
="yes"
17244 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17247 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17248 iconv_const
="const"
17251 cat >> confdefs.h
<<EOF
17252 #define ICONV_CONST $iconv_const
17257 if test "$am_cv_lib_iconv" = yes; then
17262 LIBS
="$LIBICONV $LIBS"
17264 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17265 ac_cpp
='$CPP $CPPFLAGS'
17266 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17267 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17268 cross_compiling
=$ac_cv_prog_cc_cross
17271 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17272 for ac_func
in sigaction
17274 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17275 echo "configure:17276: checking for $ac_func" >&5
17276 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17277 echo $ac_n "(cached) $ac_c" 1>&6
17279 cat > conftest.
$ac_ext <<EOF
17280 #line 17281 "configure"
17281 #include "confdefs.h"
17282 /* System header to define __stub macros and hopefully few prototypes,
17283 which can conflict with char $ac_func(); below. */
17284 #include <assert.h>
17285 /* Override any gcc2 internal prototype to avoid an error. */
17286 /* We use char because int might match the return type of a gcc2
17287 builtin and then its argument prototype would still apply. */
17292 /* The GNU C library defines this for functions which it implements
17293 to always fail with ENOSYS. Some functions are actually named
17294 something starting with __ and the normal name is an alias. */
17295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17303 if { (eval echo configure
:17304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17305 eval "ac_cv_func_$ac_func=yes"
17307 echo "configure: failed program was:" >&5
17308 cat conftest.
$ac_ext >&5
17310 eval "ac_cv_func_$ac_func=no"
17315 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17316 echo "$ac_t""yes" 1>&6
17317 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17318 cat >> confdefs.h
<<EOF
17319 #define $ac_tr_func 1
17323 echo "$ac_t""no" 1>&6
17328 if test "$ac_cv_func_sigaction" = "no"; then
17329 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17330 wxUSE_ON_FATAL_EXCEPTION
=no
17333 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17336 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17337 ac_cpp
='$CXXCPP $CPPFLAGS'
17338 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17339 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17340 cross_compiling
=$ac_cv_prog_cxx_cross
17343 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17344 echo "configure:17345: checking for sa_handler type" >&5
17345 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17346 echo $ac_n "(cached) $ac_c" 1>&6
17349 cat > conftest.
$ac_ext <<EOF
17350 #line 17351 "configure"
17351 #include "confdefs.h"
17352 #include <signal.h>
17355 extern void testSigHandler(int);
17357 struct sigaction sa;
17358 sa.sa_handler = testSigHandler;
17362 if { (eval echo configure
:17363: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17365 wx_cv_type_sa_handler
=int
17368 echo "configure: failed program was:" >&5
17369 cat conftest.
$ac_ext >&5
17372 wx_cv_type_sa_handler
=void
17379 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17382 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17383 ac_cpp
='$CPP $CPPFLAGS'
17384 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17385 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17386 cross_compiling
=$ac_cv_prog_cc_cross
17389 cat >> confdefs.h
<<EOF
17390 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17396 for ac_func
in mkstemp mktemp
17398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17399 echo "configure:17400: checking for $ac_func" >&5
17400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17401 echo $ac_n "(cached) $ac_c" 1>&6
17403 cat > conftest.
$ac_ext <<EOF
17404 #line 17405 "configure"
17405 #include "confdefs.h"
17406 /* System header to define __stub macros and hopefully few prototypes,
17407 which can conflict with char $ac_func(); below. */
17408 #include <assert.h>
17409 /* Override any gcc2 internal prototype to avoid an error. */
17410 /* We use char because int might match the return type of a gcc2
17411 builtin and then its argument prototype would still apply. */
17416 /* The GNU C library defines this for functions which it implements
17417 to always fail with ENOSYS. Some functions are actually named
17418 something starting with __ and the normal name is an alias. */
17419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17427 if { (eval echo configure
:17428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17429 eval "ac_cv_func_$ac_func=yes"
17431 echo "configure: failed program was:" >&5
17432 cat conftest.
$ac_ext >&5
17434 eval "ac_cv_func_$ac_func=no"
17439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17440 echo "$ac_t""yes" 1>&6
17441 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17442 cat >> confdefs.h
<<EOF
17443 #define $ac_tr_func 1
17447 echo "$ac_t""no" 1>&6
17452 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17453 echo "configure:17454: checking for statfs" >&5
17454 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17455 echo $ac_n "(cached) $ac_c" 1>&6
17457 cat > conftest.
$ac_ext <<EOF
17458 #line 17459 "configure"
17459 #include "confdefs.h"
17461 #if defined(__BSD__)
17462 #include <sys/param.h>
17463 #include <sys/mount.h>
17465 #include <sys/vfs.h>
17479 if { (eval echo configure
:17480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17482 wx_cv_func_statfs
=yes
17485 echo "configure: failed program was:" >&5
17486 cat conftest.
$ac_ext >&5
17489 wx_cv_func_statfs
=no
17497 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17499 if test "$wx_cv_func_statfs" = "yes"; then
17500 wx_cv_type_statvfs_t
="struct statfs"
17501 cat >> confdefs.h
<<\EOF
17502 #define HAVE_STATFS 1
17506 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17507 echo "configure:17508: checking for statvfs" >&5
17508 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17509 echo $ac_n "(cached) $ac_c" 1>&6
17511 cat > conftest.
$ac_ext <<EOF
17512 #line 17513 "configure"
17513 #include "confdefs.h"
17515 #include <stddef.h>
17516 #include <sys/statvfs.h>
17520 statvfs("/", NULL);
17524 if { (eval echo configure
:17525: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17526 wx_cv_func_statvfs
=yes
17528 echo "configure: failed program was:" >&5
17529 cat conftest.
$ac_ext >&5
17531 wx_cv_func_statvfs
=no
17538 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17540 if test "$wx_cv_func_statvfs" = "yes"; then
17543 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17544 ac_cpp
='$CXXCPP $CPPFLAGS'
17545 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17546 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17547 cross_compiling
=$ac_cv_prog_cxx_cross
17550 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17551 echo "configure:17552: checking for statvfs argument type" >&5
17552 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17553 echo $ac_n "(cached) $ac_c" 1>&6
17555 cat > conftest.
$ac_ext <<EOF
17556 #line 17557 "configure"
17557 #include "confdefs.h"
17559 #include <sys/statvfs.h>
17572 if { (eval echo configure
:17573: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17574 wx_cv_type_statvfs_t
=statvfs_t
17576 echo "configure: failed program was:" >&5
17577 cat conftest.
$ac_ext >&5
17580 cat > conftest.
$ac_ext <<EOF
17581 #line 17582 "configure"
17582 #include "confdefs.h"
17584 #include <sys/statvfs.h>
17597 if { (eval echo configure
:17598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17599 wx_cv_type_statvfs_t
="struct statvfs"
17601 echo "configure: failed program was:" >&5
17602 cat conftest.
$ac_ext >&5
17604 wx_cv_type_statvfs_t
="unknown"
17615 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17618 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17619 ac_cpp
='$CPP $CPPFLAGS'
17620 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17621 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17622 cross_compiling
=$ac_cv_prog_cc_cross
17625 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17626 cat >> confdefs.h
<<\EOF
17627 #define HAVE_STATVFS 1
17632 wx_cv_type_statvfs_t
="unknown"
17636 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17637 cat >> confdefs.h
<<EOF
17638 #define WX_STATFS_T $wx_cv_type_statvfs_t
17642 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17645 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17646 for ac_func
in fcntl flock
17648 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17649 echo "configure:17650: checking for $ac_func" >&5
17650 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17651 echo $ac_n "(cached) $ac_c" 1>&6
17653 cat > conftest.
$ac_ext <<EOF
17654 #line 17655 "configure"
17655 #include "confdefs.h"
17656 /* System header to define __stub macros and hopefully few prototypes,
17657 which can conflict with char $ac_func(); below. */
17658 #include <assert.h>
17659 /* Override any gcc2 internal prototype to avoid an error. */
17660 /* We use char because int might match the return type of a gcc2
17661 builtin and then its argument prototype would still apply. */
17666 /* The GNU C library defines this for functions which it implements
17667 to always fail with ENOSYS. Some functions are actually named
17668 something starting with __ and the normal name is an alias. */
17669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17677 if { (eval echo configure
:17678: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17679 eval "ac_cv_func_$ac_func=yes"
17681 echo "configure: failed program was:" >&5
17682 cat conftest.
$ac_ext >&5
17684 eval "ac_cv_func_$ac_func=no"
17689 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17690 echo "$ac_t""yes" 1>&6
17691 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17692 cat >> confdefs.h
<<EOF
17693 #define $ac_tr_func 1
17697 echo "$ac_t""no" 1>&6
17702 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17703 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17704 wxUSE_SNGLINST_CHECKER
=no
17708 for ac_func
in timegm
17710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17711 echo "configure:17712: checking for $ac_func" >&5
17712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17713 echo $ac_n "(cached) $ac_c" 1>&6
17715 cat > conftest.
$ac_ext <<EOF
17716 #line 17717 "configure"
17717 #include "confdefs.h"
17718 /* System header to define __stub macros and hopefully few prototypes,
17719 which can conflict with char $ac_func(); below. */
17720 #include <assert.h>
17721 /* Override any gcc2 internal prototype to avoid an error. */
17722 /* We use char because int might match the return type of a gcc2
17723 builtin and then its argument prototype would still apply. */
17728 /* The GNU C library defines this for functions which it implements
17729 to always fail with ENOSYS. Some functions are actually named
17730 something starting with __ and the normal name is an alias. */
17731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17739 if { (eval echo configure
:17740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17741 eval "ac_cv_func_$ac_func=yes"
17743 echo "configure: failed program was:" >&5
17744 cat conftest.
$ac_ext >&5
17746 eval "ac_cv_func_$ac_func=no"
17751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17752 echo "$ac_t""yes" 1>&6
17753 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17754 cat >> confdefs.h
<<EOF
17755 #define $ac_tr_func 1
17759 echo "$ac_t""no" 1>&6
17764 for ac_func
in putenv setenv
17766 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17767 echo "configure:17768: checking for $ac_func" >&5
17768 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17769 echo $ac_n "(cached) $ac_c" 1>&6
17771 cat > conftest.
$ac_ext <<EOF
17772 #line 17773 "configure"
17773 #include "confdefs.h"
17774 /* System header to define __stub macros and hopefully few prototypes,
17775 which can conflict with char $ac_func(); below. */
17776 #include <assert.h>
17777 /* Override any gcc2 internal prototype to avoid an error. */
17778 /* We use char because int might match the return type of a gcc2
17779 builtin and then its argument prototype would still apply. */
17784 /* The GNU C library defines this for functions which it implements
17785 to always fail with ENOSYS. Some functions are actually named
17786 something starting with __ and the normal name is an alias. */
17787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17795 if { (eval echo configure
:17796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17797 eval "ac_cv_func_$ac_func=yes"
17799 echo "configure: failed program was:" >&5
17800 cat conftest.
$ac_ext >&5
17802 eval "ac_cv_func_$ac_func=no"
17807 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17808 echo "$ac_t""yes" 1>&6
17809 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17810 cat >> confdefs.h
<<EOF
17811 #define $ac_tr_func 1
17815 echo "$ac_t""no" 1>&6
17820 HAVE_SOME_SLEEP_FUNC
=0
17821 if test "$USE_BEOS" = 1; then
17822 cat >> confdefs.h
<<\EOF
17823 #define HAVE_SLEEP 1
17826 HAVE_SOME_SLEEP_FUNC
=1
17829 if test "$USE_DARWIN" = 1; then
17830 cat >> confdefs.h
<<\EOF
17831 #define HAVE_USLEEP 1
17834 HAVE_SOME_SLEEP_FUNC
=1
17837 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
17839 for ac_func
in nanosleep
17841 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17842 echo "configure:17843: checking for $ac_func" >&5
17843 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17844 echo $ac_n "(cached) $ac_c" 1>&6
17846 cat > conftest.
$ac_ext <<EOF
17847 #line 17848 "configure"
17848 #include "confdefs.h"
17849 /* System header to define __stub macros and hopefully few prototypes,
17850 which can conflict with char $ac_func(); below. */
17851 #include <assert.h>
17852 /* Override any gcc2 internal prototype to avoid an error. */
17853 /* We use char because int might match the return type of a gcc2
17854 builtin and then its argument prototype would still apply. */
17859 /* The GNU C library defines this for functions which it implements
17860 to always fail with ENOSYS. Some functions are actually named
17861 something starting with __ and the normal name is an alias. */
17862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17870 if { (eval echo configure
:17871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17872 eval "ac_cv_func_$ac_func=yes"
17874 echo "configure: failed program was:" >&5
17875 cat conftest.
$ac_ext >&5
17877 eval "ac_cv_func_$ac_func=no"
17882 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17883 echo "$ac_t""yes" 1>&6
17884 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17885 cat >> confdefs.h
<<EOF
17886 #define $ac_tr_func 1
17888 cat >> confdefs.h
<<\EOF
17889 #define HAVE_NANOSLEEP 1
17893 echo "$ac_t""no" 1>&6
17894 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
17895 echo "configure:17896: checking for nanosleep in -lposix4" >&5
17896 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
17897 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17898 echo $ac_n "(cached) $ac_c" 1>&6
17900 ac_save_LIBS
="$LIBS"
17901 LIBS
="-lposix4 $LIBS"
17902 cat > conftest.
$ac_ext <<EOF
17903 #line 17904 "configure"
17904 #include "confdefs.h"
17905 /* Override any gcc2 internal prototype to avoid an error. */
17906 /* We use char because int might match the return type of a gcc2
17907 builtin and then its argument prototype would still apply. */
17914 if { (eval echo configure
:17915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17916 eval "ac_cv_lib_$ac_lib_var=yes"
17918 echo "configure: failed program was:" >&5
17919 cat conftest.
$ac_ext >&5
17921 eval "ac_cv_lib_$ac_lib_var=no"
17924 LIBS
="$ac_save_LIBS"
17927 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17928 echo "$ac_t""yes" 1>&6
17930 cat >> confdefs.h
<<\EOF
17931 #define HAVE_NANOSLEEP 1
17934 POSIX4_LINK
=" -lposix4"
17937 echo "$ac_t""no" 1>&6
17939 for ac_func
in usleep
17941 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17942 echo "configure:17943: checking for $ac_func" >&5
17943 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17944 echo $ac_n "(cached) $ac_c" 1>&6
17946 cat > conftest.
$ac_ext <<EOF
17947 #line 17948 "configure"
17948 #include "confdefs.h"
17949 /* System header to define __stub macros and hopefully few prototypes,
17950 which can conflict with char $ac_func(); below. */
17951 #include <assert.h>
17952 /* Override any gcc2 internal prototype to avoid an error. */
17953 /* We use char because int might match the return type of a gcc2
17954 builtin and then its argument prototype would still apply. */
17959 /* The GNU C library defines this for functions which it implements
17960 to always fail with ENOSYS. Some functions are actually named
17961 something starting with __ and the normal name is an alias. */
17962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17970 if { (eval echo configure
:17971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17972 eval "ac_cv_func_$ac_func=yes"
17974 echo "configure: failed program was:" >&5
17975 cat conftest.
$ac_ext >&5
17977 eval "ac_cv_func_$ac_func=no"
17982 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17983 echo "$ac_t""yes" 1>&6
17984 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17985 cat >> confdefs.h
<<EOF
17986 #define $ac_tr_func 1
17988 cat >> confdefs.h
<<\EOF
17989 #define HAVE_USLEEP 1
17993 echo "$ac_t""no" 1>&6
17994 echo "configure: warning: wxSleep() function will not work" 1>&2
18010 for ac_func
in uname gethostname
18012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18013 echo "configure:18014: checking for $ac_func" >&5
18014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18015 echo $ac_n "(cached) $ac_c" 1>&6
18017 cat > conftest.
$ac_ext <<EOF
18018 #line 18019 "configure"
18019 #include "confdefs.h"
18020 /* System header to define __stub macros and hopefully few prototypes,
18021 which can conflict with char $ac_func(); below. */
18022 #include <assert.h>
18023 /* Override any gcc2 internal prototype to avoid an error. */
18024 /* We use char because int might match the return type of a gcc2
18025 builtin and then its argument prototype would still apply. */
18030 /* The GNU C library defines this for functions which it implements
18031 to always fail with ENOSYS. Some functions are actually named
18032 something starting with __ and the normal name is an alias. */
18033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18041 if { (eval echo configure
:18042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18043 eval "ac_cv_func_$ac_func=yes"
18045 echo "configure: failed program was:" >&5
18046 cat conftest.
$ac_ext >&5
18048 eval "ac_cv_func_$ac_func=no"
18053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18054 echo "$ac_t""yes" 1>&6
18055 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18056 cat >> confdefs.h
<<EOF
18057 #define $ac_tr_func 1
18061 echo "$ac_t""no" 1>&6
18068 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18069 ac_cpp
='$CXXCPP $CPPFLAGS'
18070 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18071 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18072 cross_compiling
=$ac_cv_prog_cxx_cross
18075 for ac_func
in strtok_r
18077 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18078 echo "configure:18079: checking for $ac_func" >&5
18079 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18080 echo $ac_n "(cached) $ac_c" 1>&6
18082 cat > conftest.
$ac_ext <<EOF
18083 #line 18084 "configure"
18084 #include "confdefs.h"
18085 /* System header to define __stub macros and hopefully few prototypes,
18086 which can conflict with char $ac_func(); below. */
18087 #include <assert.h>
18088 /* Override any gcc2 internal prototype to avoid an error. */
18092 /* We use char because int might match the return type of a gcc2
18093 builtin and then its argument prototype would still apply. */
18098 /* The GNU C library defines this for functions which it implements
18099 to always fail with ENOSYS. Some functions are actually named
18100 something starting with __ and the normal name is an alias. */
18101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18109 if { (eval echo configure
:18110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18111 eval "ac_cv_func_$ac_func=yes"
18113 echo "configure: failed program was:" >&5
18114 cat conftest.
$ac_ext >&5
18116 eval "ac_cv_func_$ac_func=no"
18121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18122 echo "$ac_t""yes" 1>&6
18123 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18124 cat >> confdefs.h
<<EOF
18125 #define $ac_tr_func 1
18129 echo "$ac_t""no" 1>&6
18135 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18136 ac_cpp
='$CPP $CPPFLAGS'
18137 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18138 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18139 cross_compiling
=$ac_cv_prog_cc_cross
18143 for ac_func
in inet_addr
18145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18146 echo "configure:18147: checking for $ac_func" >&5
18147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18148 echo $ac_n "(cached) $ac_c" 1>&6
18150 cat > conftest.
$ac_ext <<EOF
18151 #line 18152 "configure"
18152 #include "confdefs.h"
18153 /* System header to define __stub macros and hopefully few prototypes,
18154 which can conflict with char $ac_func(); below. */
18155 #include <assert.h>
18156 /* Override any gcc2 internal prototype to avoid an error. */
18157 /* We use char because int might match the return type of a gcc2
18158 builtin and then its argument prototype would still apply. */
18163 /* The GNU C library defines this for functions which it implements
18164 to always fail with ENOSYS. Some functions are actually named
18165 something starting with __ and the normal name is an alias. */
18166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18174 if { (eval echo configure
:18175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18176 eval "ac_cv_func_$ac_func=yes"
18178 echo "configure: failed program was:" >&5
18179 cat conftest.
$ac_ext >&5
18181 eval "ac_cv_func_$ac_func=no"
18186 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18187 echo "$ac_t""yes" 1>&6
18188 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18189 cat >> confdefs.h
<<EOF
18190 #define $ac_tr_func 1
18192 cat >> confdefs.h
<<\EOF
18193 #define HAVE_INET_ADDR 1
18197 echo "$ac_t""no" 1>&6
18198 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18199 echo "configure:18200: checking for inet_addr in -lnsl" >&5
18200 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18202 echo $ac_n "(cached) $ac_c" 1>&6
18204 ac_save_LIBS
="$LIBS"
18206 cat > conftest.
$ac_ext <<EOF
18207 #line 18208 "configure"
18208 #include "confdefs.h"
18209 /* Override any gcc2 internal prototype to avoid an error. */
18210 /* We use char because int might match the return type of a gcc2
18211 builtin and then its argument prototype would still apply. */
18218 if { (eval echo configure
:18219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18220 eval "ac_cv_lib_$ac_lib_var=yes"
18222 echo "configure: failed program was:" >&5
18223 cat conftest.
$ac_ext >&5
18225 eval "ac_cv_lib_$ac_lib_var=no"
18228 LIBS
="$ac_save_LIBS"
18231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18232 echo "$ac_t""yes" 1>&6
18235 echo "$ac_t""no" 1>&6
18236 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18237 echo "configure:18238: checking for inet_addr in -lresolv" >&5
18238 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18240 echo $ac_n "(cached) $ac_c" 1>&6
18242 ac_save_LIBS
="$LIBS"
18243 LIBS
="-lresolv $LIBS"
18244 cat > conftest.
$ac_ext <<EOF
18245 #line 18246 "configure"
18246 #include "confdefs.h"
18247 /* Override any gcc2 internal prototype to avoid an error. */
18248 /* We use char because int might match the return type of a gcc2
18249 builtin and then its argument prototype would still apply. */
18256 if { (eval echo configure
:18257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18258 eval "ac_cv_lib_$ac_lib_var=yes"
18260 echo "configure: failed program was:" >&5
18261 cat conftest.
$ac_ext >&5
18263 eval "ac_cv_lib_$ac_lib_var=no"
18266 LIBS
="$ac_save_LIBS"
18269 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18270 echo "$ac_t""yes" 1>&6
18273 echo "$ac_t""no" 1>&6
18274 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18275 echo "configure:18276: checking for inet_addr in -lsocket" >&5
18276 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18277 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18278 echo $ac_n "(cached) $ac_c" 1>&6
18280 ac_save_LIBS
="$LIBS"
18281 LIBS
="-lsocket $LIBS"
18282 cat > conftest.
$ac_ext <<EOF
18283 #line 18284 "configure"
18284 #include "confdefs.h"
18285 /* Override any gcc2 internal prototype to avoid an error. */
18286 /* We use char because int might match the return type of a gcc2
18287 builtin and then its argument prototype would still apply. */
18294 if { (eval echo configure
:18295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18296 eval "ac_cv_lib_$ac_lib_var=yes"
18298 echo "configure: failed program was:" >&5
18299 cat conftest.
$ac_ext >&5
18301 eval "ac_cv_lib_$ac_lib_var=no"
18304 LIBS
="$ac_save_LIBS"
18307 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18308 echo "$ac_t""yes" 1>&6
18312 echo "$ac_t""no" 1>&6
18327 for ac_func
in inet_aton
18329 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18330 echo "configure:18331: checking for $ac_func" >&5
18331 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18332 echo $ac_n "(cached) $ac_c" 1>&6
18334 cat > conftest.
$ac_ext <<EOF
18335 #line 18336 "configure"
18336 #include "confdefs.h"
18337 /* System header to define __stub macros and hopefully few prototypes,
18338 which can conflict with char $ac_func(); below. */
18339 #include <assert.h>
18340 /* Override any gcc2 internal prototype to avoid an error. */
18341 /* We use char because int might match the return type of a gcc2
18342 builtin and then its argument prototype would still apply. */
18347 /* The GNU C library defines this for functions which it implements
18348 to always fail with ENOSYS. Some functions are actually named
18349 something starting with __ and the normal name is an alias. */
18350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18358 if { (eval echo configure
:18359: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18360 eval "ac_cv_func_$ac_func=yes"
18362 echo "configure: failed program was:" >&5
18363 cat conftest.
$ac_ext >&5
18365 eval "ac_cv_func_$ac_func=no"
18370 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18371 echo "$ac_t""yes" 1>&6
18372 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18373 cat >> confdefs.h
<<EOF
18374 #define $ac_tr_func 1
18376 cat >> confdefs.h
<<\EOF
18377 #define HAVE_INET_ATON 1
18381 echo "$ac_t""no" 1>&6
18382 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18383 echo "configure:18384: checking for inet_aton in -l$INET_LINK" >&5
18384 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18385 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18386 echo $ac_n "(cached) $ac_c" 1>&6
18388 ac_save_LIBS
="$LIBS"
18389 LIBS
="-l$INET_LINK $LIBS"
18390 cat > conftest.
$ac_ext <<EOF
18391 #line 18392 "configure"
18392 #include "confdefs.h"
18393 /* Override any gcc2 internal prototype to avoid an error. */
18394 /* We use char because int might match the return type of a gcc2
18395 builtin and then its argument prototype would still apply. */
18402 if { (eval echo configure
:18403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18404 eval "ac_cv_lib_$ac_lib_var=yes"
18406 echo "configure: failed program was:" >&5
18407 cat conftest.
$ac_ext >&5
18409 eval "ac_cv_lib_$ac_lib_var=no"
18412 LIBS
="$ac_save_LIBS"
18415 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18416 echo "$ac_t""yes" 1>&6
18417 cat >> confdefs.h
<<\EOF
18418 #define HAVE_INET_ATON 1
18422 echo "$ac_t""no" 1>&6
18430 if test "x$INET_LINK" != "x"; then
18431 cat >> confdefs.h
<<\EOF
18432 #define HAVE_INET_ADDR 1
18435 INET_LINK
=" -l$INET_LINK"
18441 cat > confcache
<<\EOF
18442 # This file is a shell script that caches the results of configure
18443 # tests run on this system so they can be shared between configure
18444 # scripts and configure runs. It is not useful on other systems.
18445 # If it contains results you don't want to keep, you may remove or edit it.
18447 # By default, configure uses ./config.cache as the cache file,
18448 # creating it if it does not exist already. You can give configure
18449 # the --cache-file=FILE option to use a different cache file; that is
18450 # what configure does when it calls configure scripts in
18451 # subdirectories, so they share the cache.
18452 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18453 # config.status only pays attention to the cache file if you give it the
18454 # --recheck option to rerun configure.
18457 # The following way of writing the cache mishandles newlines in values,
18458 # but we know of no workaround that is simple, portable, and efficient.
18459 # So, don't put newlines in cache variables' values.
18460 # Ultrix sh set writes to stderr and can't be redirected directly,
18461 # and sets the high bit in the cache file unless we assign to the vars.
18463 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18465 # `set' does not quote correctly, so add quotes (double-quote substitution
18466 # turns \\\\ into \\, and sed turns \\ into \).
18468 -e "s/'/'\\\\''/g" \
18469 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18472 # `set' quotes correctly as required by POSIX, so do not add quotes.
18473 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18476 if cmp -s $cache_file confcache
; then
18479 if test -w $cache_file; then
18480 echo "updating cache $cache_file"
18481 cat confcache
> $cache_file
18483 echo "not updating unwritable cache $cache_file"
18491 if test "$TOOLKIT" != "MSW"; then
18497 if test "$wxUSE_THREADS" = "yes" ; then
18498 if test "$USE_BEOS" = 1; then
18499 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18504 if test "$wxUSE_THREADS" = "yes" ; then
18507 THREAD_OPTS
="-pthread"
18509 *-*-solaris2* | *-*-sunos4* )
18510 if test "x$GCC" = "xyes"; then
18511 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18513 THREAD_OPTS
="-mt $THREAD_OPTS"
18517 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18519 *-*-darwin* | *-*-cygwin* )
18523 THREAD_OPTS
="pthreads"
18526 if test "x$GCC" != "xyes"; then
18531 THREAD_OPTS
="$THREAD_OPTS pthread none"
18534 for flag
in $THREAD_OPTS; do
18537 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18538 echo "configure:18539: checking whether pthreads work without any flags" >&5
18542 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18543 echo "configure:18544: checking whether pthreads work with $flag" >&5
18544 THREADS_CFLAGS
="$flag"
18548 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18549 echo "configure:18550: checking for the pthreads library -l$flag" >&5
18550 THREADS_LINK
="-l$flag"
18555 save_CFLAGS
="$CFLAGS"
18556 LIBS
="$THREADS_LINK $LIBS"
18557 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18559 cat > conftest.
$ac_ext <<EOF
18560 #line 18561 "configure"
18561 #include "confdefs.h"
18562 #include <pthread.h>
18564 pthread_create(0,0,0,0);
18567 if { (eval echo configure
:18568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18571 echo "configure: failed program was:" >&5
18572 cat conftest.
$ac_ext >&5
18577 CFLAGS
="$save_CFLAGS"
18579 echo "$ac_t""$THREADS_OK" 1>&6
18580 if test "x$THREADS_OK" = "xyes"; then
18588 if test "x$THREADS_OK" != "xyes"; then
18590 echo "configure: warning: No thread support on this system... disabled" 1>&2
18592 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18593 LIBS
="$THREADS_LINK $LIBS"
18595 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18596 echo "configure:18597: checking if more special flags are required for pthreads" >&5
18600 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18601 flag
="-D_THREAD_SAFE"
18604 flag
="-D_THREAD_SAFE"
18607 flag
="-D_REENTRANT"
18608 if test "x$GCC" != "xyes"; then
18609 flag
="$flag -D_RWSTD_MULTI_THREAD"
18612 *solaris
* | alpha
*-osf*)
18613 flag
="-D_REENTRANT"
18616 echo "$ac_t""${flag}" 1>&6
18617 if test "x$flag" != xno
; then
18618 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18621 if test "x$THREADS_CFLAGS" != "x"; then
18622 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18623 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18628 if test "$wxUSE_THREADS" = "yes" ; then
18629 for ac_func
in thr_setconcurrency
18631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18632 echo "configure:18633: checking for $ac_func" >&5
18633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18634 echo $ac_n "(cached) $ac_c" 1>&6
18636 cat > conftest.
$ac_ext <<EOF
18637 #line 18638 "configure"
18638 #include "confdefs.h"
18639 /* System header to define __stub macros and hopefully few prototypes,
18640 which can conflict with char $ac_func(); below. */
18641 #include <assert.h>
18642 /* Override any gcc2 internal prototype to avoid an error. */
18643 /* We use char because int might match the return type of a gcc2
18644 builtin and then its argument prototype would still apply. */
18649 /* The GNU C library defines this for functions which it implements
18650 to always fail with ENOSYS. Some functions are actually named
18651 something starting with __ and the normal name is an alias. */
18652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18660 if { (eval echo configure
:18661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18662 eval "ac_cv_func_$ac_func=yes"
18664 echo "configure: failed program was:" >&5
18665 cat conftest.
$ac_ext >&5
18667 eval "ac_cv_func_$ac_func=no"
18672 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18673 echo "$ac_t""yes" 1>&6
18674 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18675 cat >> confdefs.h
<<EOF
18676 #define $ac_tr_func 1
18680 echo "$ac_t""no" 1>&6
18685 for ac_hdr
in sched.h
18687 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18688 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18689 echo "configure:18690: checking for $ac_hdr" >&5
18690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18691 echo $ac_n "(cached) $ac_c" 1>&6
18693 cat > conftest.
$ac_ext <<EOF
18694 #line 18695 "configure"
18695 #include "confdefs.h"
18698 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18699 { (eval echo configure
:18700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18700 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18701 if test -z "$ac_err"; then
18703 eval "ac_cv_header_$ac_safe=yes"
18706 echo "configure: failed program was:" >&5
18707 cat conftest.
$ac_ext >&5
18709 eval "ac_cv_header_$ac_safe=no"
18713 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18714 echo "$ac_t""yes" 1>&6
18715 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18716 cat >> confdefs.h
<<EOF
18717 #define $ac_tr_hdr 1
18721 echo "$ac_t""no" 1>&6
18725 if test "$ac_cv_header_sched_h" = "yes"; then
18726 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18727 echo "configure:18728: checking for sched_yield" >&5
18728 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18729 echo $ac_n "(cached) $ac_c" 1>&6
18731 cat > conftest.
$ac_ext <<EOF
18732 #line 18733 "configure"
18733 #include "confdefs.h"
18734 /* System header to define __stub macros and hopefully few prototypes,
18735 which can conflict with char sched_yield(); below. */
18736 #include <assert.h>
18737 /* Override any gcc2 internal prototype to avoid an error. */
18738 /* We use char because int might match the return type of a gcc2
18739 builtin and then its argument prototype would still apply. */
18740 char sched_yield();
18744 /* The GNU C library defines this for functions which it implements
18745 to always fail with ENOSYS. Some functions are actually named
18746 something starting with __ and the normal name is an alias. */
18747 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
18755 if { (eval echo configure
:18756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18757 eval "ac_cv_func_sched_yield=yes"
18759 echo "configure: failed program was:" >&5
18760 cat conftest.
$ac_ext >&5
18762 eval "ac_cv_func_sched_yield=no"
18767 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18768 echo "$ac_t""yes" 1>&6
18769 cat >> confdefs.h
<<\EOF
18770 #define HAVE_SCHED_YIELD 1
18774 echo "$ac_t""no" 1>&6
18776 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
18777 echo "configure:18778: checking for sched_yield in -lposix4" >&5
18778 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
18779 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18780 echo $ac_n "(cached) $ac_c" 1>&6
18782 ac_save_LIBS
="$LIBS"
18783 LIBS
="-lposix4 $LIBS"
18784 cat > conftest.
$ac_ext <<EOF
18785 #line 18786 "configure"
18786 #include "confdefs.h"
18787 /* Override any gcc2 internal prototype to avoid an error. */
18788 /* We use char because int might match the return type of a gcc2
18789 builtin and then its argument prototype would still apply. */
18790 char sched_yield();
18796 if { (eval echo configure
:18797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18798 eval "ac_cv_lib_$ac_lib_var=yes"
18800 echo "configure: failed program was:" >&5
18801 cat conftest.
$ac_ext >&5
18803 eval "ac_cv_lib_$ac_lib_var=no"
18806 LIBS
="$ac_save_LIBS"
18809 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18810 echo "$ac_t""yes" 1>&6
18811 cat >> confdefs.h
<<\EOF
18812 #define HAVE_SCHED_YIELD 1
18814 POSIX4_LINK
=" -lposix4"
18816 echo "$ac_t""no" 1>&6
18817 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
18828 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
18829 echo "configure:18830: checking for pthread_attr_getschedpolicy" >&5
18830 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
18831 echo $ac_n "(cached) $ac_c" 1>&6
18833 cat > conftest.
$ac_ext <<EOF
18834 #line 18835 "configure"
18835 #include "confdefs.h"
18836 /* System header to define __stub macros and hopefully few prototypes,
18837 which can conflict with char pthread_attr_getschedpolicy(); below. */
18838 #include <assert.h>
18839 /* Override any gcc2 internal prototype to avoid an error. */
18840 /* We use char because int might match the return type of a gcc2
18841 builtin and then its argument prototype would still apply. */
18842 char pthread_attr_getschedpolicy();
18846 /* The GNU C library defines this for functions which it implements
18847 to always fail with ENOSYS. Some functions are actually named
18848 something starting with __ and the normal name is an alias. */
18849 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
18852 pthread_attr_getschedpolicy();
18857 if { (eval echo configure
:18858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18859 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
18861 echo "configure: failed program was:" >&5
18862 cat conftest.
$ac_ext >&5
18864 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
18869 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
18870 echo "$ac_t""yes" 1>&6
18871 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
18872 echo "configure:18873: checking for pthread_attr_setschedparam" >&5
18873 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
18874 echo $ac_n "(cached) $ac_c" 1>&6
18876 cat > conftest.
$ac_ext <<EOF
18877 #line 18878 "configure"
18878 #include "confdefs.h"
18879 /* System header to define __stub macros and hopefully few prototypes,
18880 which can conflict with char pthread_attr_setschedparam(); below. */
18881 #include <assert.h>
18882 /* Override any gcc2 internal prototype to avoid an error. */
18883 /* We use char because int might match the return type of a gcc2
18884 builtin and then its argument prototype would still apply. */
18885 char pthread_attr_setschedparam();
18889 /* The GNU C library defines this for functions which it implements
18890 to always fail with ENOSYS. Some functions are actually named
18891 something starting with __ and the normal name is an alias. */
18892 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
18895 pthread_attr_setschedparam();
18900 if { (eval echo configure
:18901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18902 eval "ac_cv_func_pthread_attr_setschedparam=yes"
18904 echo "configure: failed program was:" >&5
18905 cat conftest.
$ac_ext >&5
18907 eval "ac_cv_func_pthread_attr_setschedparam=no"
18912 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
18913 echo "$ac_t""yes" 1>&6
18914 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
18915 echo "configure:18916: checking for sched_get_priority_max" >&5
18916 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
18917 echo $ac_n "(cached) $ac_c" 1>&6
18919 cat > conftest.
$ac_ext <<EOF
18920 #line 18921 "configure"
18921 #include "confdefs.h"
18922 /* System header to define __stub macros and hopefully few prototypes
18924 echo "$ac_t""no" 1>&6
18925 which can conflict with char sched_get_priority_max(); below. */
18926 #include <assert.h>
18927 /* Override any gcc2 internal prototype to avoid an error. */
18928 /* We use char because int might match the return type of a gcc2
18929 builtin and then its argument prototype would still apply. */
18930 char sched_get_priority_max();
18934 /* The GNU C library defines this for functions which it implements
18935 to always fail with ENOSYS. Some functions are actually named
18936 something starting with __ and the normal name is an alias. */
18937 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
18940 sched_get_priority_max();
18945 if { (eval echo configure
:18946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18947 eval "ac_cv_func_sched_get_priority_max=yes"
18949 echo "configure: failed program was:" >&5
18950 cat conftest.
$ac_ext >&5
18952 eval "ac_cv_func_sched_get_priority_max=no"
18957 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18958 echo "$ac_t""yes" 1>&6
18961 echo "$ac_t""no" 1>&6
18962 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18963 echo "configure:18964: checking for sched_get_priority_max in -lposix4" >&5
18964 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18966 echo $ac_n "(cached) $ac_c" 1>&6
18968 ac_save_LIBS
="$LIBS"
18969 LIBS
="-lposix4 $LIBS"
18970 cat > conftest.
$ac_ext <<EOF
18971 #line 18972 "configure"
18972 #include "confdefs.h"
18973 /* Override any gcc2 internal prototype to avoid an error. */
18974 /* We use char because int might match the return type of a gcc2
18975 builtin and then its argument prototype would still apply. */
18976 char sched_get_priority_max();
18979 sched_get_priority_max()
18982 if { (eval echo configure
:18983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18984 eval "ac_cv_lib_$ac_lib_var=yes"
18986 echo "configure: failed program was:" >&5
18987 cat conftest.
$ac_ext >&5
18989 eval "ac_cv_lib_$ac_lib_var=no"
18992 LIBS
="$ac_save_LIBS"
18995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18996 echo "$ac_t""yes" 1>&6
18999 POSIX4_LINK
=" -lposix4"
19002 echo "$ac_t""no" 1>&6
19010 echo "$ac_t""no" 1>&6
19017 if test "$HAVE_PRIOR_FUNCS" = 1; then
19018 cat >> confdefs.h
<<\EOF
19019 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19023 echo "configure: warning: Setting thread priority will not work" 1>&2
19026 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19027 echo "configure:19028: checking for pthread_cancel" >&5
19028 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19029 echo $ac_n "(cached) $ac_c" 1>&6
19031 cat > conftest.
$ac_ext <<EOF
19032 #line 19033 "configure"
19033 #include "confdefs.h"
19034 /* System header to define __stub macros and hopefully few prototypes,
19035 which can conflict with char pthread_cancel(); below. */
19036 #include <assert.h>
19037 /* Override any gcc2 internal prototype to avoid an error. */
19038 /* We use char because int might match the return type of a gcc2
19039 builtin and then its argument prototype would still apply. */
19040 char pthread_cancel();
19044 /* The GNU C library defines this for functions which it implements
19045 to always fail with ENOSYS. Some functions are actually named
19046 something starting with __ and the normal name is an alias. */
19047 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19055 if { (eval echo configure
:19056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19057 eval "ac_cv_func_pthread_cancel=yes"
19059 echo "configure: failed program was:" >&5
19060 cat conftest.
$ac_ext >&5
19062 eval "ac_cv_func_pthread_cancel=no"
19067 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19068 echo "$ac_t""yes" 1>&6
19069 cat >> confdefs.h
<<\EOF
19070 #define HAVE_PTHREAD_CANCEL 1
19074 echo "$ac_t""no" 1>&6
19075 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19079 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19080 echo "configure:19081: checking for pthread_cleanup_push/pop" >&5
19081 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19082 echo $ac_n "(cached) $ac_c" 1>&6
19085 cat > conftest.
$ac_ext <<EOF
19086 #line 19087 "configure"
19087 #include "confdefs.h"
19088 #include <pthread.h>
19091 pthread_cleanup_push(NULL, NULL);
19092 pthread_cleanup_pop(0);
19096 if { (eval echo configure
:19097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19099 wx_cv_func_pthread_cleanup_push
=yes
19102 echo "configure: failed program was:" >&5
19103 cat conftest.
$ac_ext >&5
19106 wx_cv_func_pthread_cleanup_push
=no
19113 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19115 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19116 cat >> confdefs.h
<<\EOF
19117 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19123 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19124 echo "configure:19125: checking for pthread_mutexattr_t" >&5
19125 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19126 echo $ac_n "(cached) $ac_c" 1>&6
19129 cat > conftest.
$ac_ext <<EOF
19130 #line 19131 "configure"
19131 #include "confdefs.h"
19132 #include <pthread.h>
19135 pthread_mutexattr_t attr;
19136 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19140 if { (eval echo configure
:19141: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19143 wx_cv_type_pthread_mutexattr_t
=yes
19146 echo "configure: failed program was:" >&5
19147 cat conftest.
$ac_ext >&5
19150 wx_cv_type_pthread_mutexattr_t
=no
19158 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19160 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19161 cat >> confdefs.h
<<\EOF
19162 #define HAVE_PTHREAD_MUTEXATTR_T 1
19166 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19167 echo "configure:19168: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19168 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19169 echo $ac_n "(cached) $ac_c" 1>&6
19172 cat > conftest.
$ac_ext <<EOF
19173 #line 19174 "configure"
19174 #include "confdefs.h"
19175 #include <pthread.h>
19178 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19182 if { (eval echo configure
:19183: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19185 wx_cv_type_pthread_rec_mutex_init
=yes
19188 echo "configure: failed program was:" >&5
19189 cat conftest.
$ac_ext >&5
19192 wx_cv_type_pthread_rec_mutex_init
=no
19200 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19201 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19202 cat >> confdefs.h
<<\EOF
19203 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19207 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19213 if test "$wxUSE_THREADS" = "yes" ; then
19216 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19217 echo "configure:19218: checking if compiler supports -mthreads" >&5
19218 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19219 echo $ac_n "(cached) $ac_c" 1>&6
19222 CFLAGS_OLD
="$CFLAGS"
19223 CFLAGS
="$CFLAGS -mthreads"
19224 cat > conftest.
$ac_ext <<EOF
19225 #line 19226 "configure"
19226 #include "confdefs.h"
19232 if { (eval echo configure
:19233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19234 wx_cv_cflags_mthread
=yes
19236 echo "configure: failed program was:" >&5
19237 cat conftest.
$ac_ext >&5
19239 wx_cv_cflags_mthread
=no
19247 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19249 if test "$wx_cv_cflags_mthread" = "yes"; then
19250 CXXFLAGS
="$CXXFLAGS -mthreads"
19251 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19252 LDFLAGS
="$LDFLAGS -mthreads"
19254 CFLAGS
="$CFLAGS_OLD"
19261 if test "$wxUSE_THREADS" = "yes"; then
19262 cat >> confdefs.h
<<\EOF
19263 #define wxUSE_THREADS 1
19267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19269 if test "$ac_cv_func_strtok_r" = "yes"; then
19270 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19271 echo "configure:19272: checking if -D_REENTRANT is needed" >&5
19272 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19273 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19274 echo "$ac_t""yes" 1>&6
19276 echo "$ac_t""no" 1>&6
19281 if test "$WXGTK20" = 1 ; then
19282 cat >> confdefs.h
<<EOF
19283 #define __WXGTK20__ $WXGTK20
19289 if test "$WXGTK12" = 1 ; then
19290 cat >> confdefs.h
<<EOF
19291 #define __WXGTK12__ $WXGTK12
19296 if test "$WXGTK127" = 1 ; then
19297 cat >> confdefs.h
<<EOF
19298 #define __WXGTK127__ $WXGTK127
19305 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19310 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19311 wxUSE_DEBUG_INFO
=yes
19315 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19316 cat >> confdefs.h
<<\EOF
19320 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19322 if test "$wxUSE_GTK" = 1 ; then
19323 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19327 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19328 cat >> confdefs.h
<<\EOF
19329 #define wxUSE_MEMORY_TRACING 1
19332 cat >> confdefs.h
<<\EOF
19333 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19336 cat >> confdefs.h
<<\EOF
19337 #define wxUSE_DEBUG_NEW_ALWAYS 1
19340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19343 if test "$wxUSE_DMALLOC" = "yes" ; then
19344 DMALLOC_LIBS
="-ldmalloc"
19348 if test "$wxUSE_PROFILE" = "yes" ; then
19353 CODE_GEN_FLAGS_CXX
=
19354 if test "$GCC" = "yes" ; then
19355 if test "$wxUSE_NO_RTTI" = "yes" ; then
19356 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19358 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19359 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19361 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19362 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19364 if test "$USE_WIN32" = 1 ; then
19365 # I'm not even really sure what this was ever added to solve,
19366 # but someone added it for mingw native builds, so I guess
19367 # they had a reason, right??
19368 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19373 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19376 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19382 if test "$wxUSE_OPTIMISE" = "no" ; then
19383 if test "$GCC" = yes ; then
19387 if test "$GCC" = yes ; then
19391 i586
-*-*|i686
-*-* )
19392 OPTIMISE
="${OPTIMISE} "
19401 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19402 cat >> confdefs.h
<<\EOF
19403 #define WXWIN_COMPATIBILITY_2 1
19407 WXWIN_COMPATIBILITY_2_2
="yes"
19410 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19411 cat >> confdefs.h
<<\EOF
19412 #define WXWIN_COMPATIBILITY_2_2 1
19416 WXWIN_COMPATIBILITY_2_4
="yes"
19419 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19420 cat >> confdefs.h
<<\EOF
19421 #define WXWIN_COMPATIBILITY_2_4 1
19427 if test "$wxUSE_GUI" = "yes"; then
19428 cat >> confdefs.h
<<\EOF
19429 #define wxUSE_GUI 1
19434 cat >> confdefs.h
<<\EOF
19435 #define wxUSE_NOGUI 1
19441 if test "$wxUSE_UNIX" = "yes"; then
19442 cat >> confdefs.h
<<\EOF
19443 #define wxUSE_UNIX 1
19449 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19450 cat >> confdefs.h
<<\EOF
19451 #define wxUSE_APPLE_IEEE 1
19456 if test "$wxUSE_TIMER" = "yes"; then
19457 cat >> confdefs.h
<<\EOF
19458 #define wxUSE_TIMER 1
19463 if test "$wxUSE_WAVE" = "yes"; then
19464 cat >> confdefs.h
<<\EOF
19465 #define wxUSE_WAVE 1
19470 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19471 cat >> confdefs.h
<<\EOF
19472 #define wxUSE_CMDLINE_PARSER 1
19477 if test "$wxUSE_STOPWATCH" = "yes"; then
19478 cat >> confdefs.h
<<\EOF
19479 #define wxUSE_STOPWATCH 1
19484 if test "$wxUSE_DATETIME" = "yes"; then
19485 cat >> confdefs.h
<<\EOF
19486 #define wxUSE_DATETIME 1
19491 if test "$wxUSE_FILE" = "yes"; then
19492 cat >> confdefs.h
<<\EOF
19493 #define wxUSE_FILE 1
19498 if test "$wxUSE_FFILE" = "yes"; then
19499 cat >> confdefs.h
<<\EOF
19500 #define wxUSE_FFILE 1
19505 if test "$wxUSE_FILESYSTEM" = "yes"; then
19506 cat >> confdefs.h
<<\EOF
19507 #define wxUSE_FILESYSTEM 1
19512 if test "$wxUSE_FS_INET" = "yes"; then
19513 cat >> confdefs.h
<<\EOF
19514 #define wxUSE_FS_INET 1
19519 if test "$wxUSE_FS_ZIP" = "yes"; then
19520 cat >> confdefs.h
<<\EOF
19521 #define wxUSE_FS_ZIP 1
19526 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19527 cat >> confdefs.h
<<\EOF
19528 #define wxUSE_ZIPSTREAM 1
19533 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19534 cat >> confdefs.h
<<\EOF
19535 #define wxUSE_ON_FATAL_EXCEPTION 1
19540 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19541 cat >> confdefs.h
<<\EOF
19542 #define wxUSE_SNGLINST_CHECKER 1
19547 if test "$wxUSE_BUSYINFO" = "yes"; then
19548 cat >> confdefs.h
<<\EOF
19549 #define wxUSE_BUSYINFO 1
19554 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19555 cat >> confdefs.h
<<\EOF
19556 #define wxUSE_STD_IOSTREAM 1
19561 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19562 cat >> confdefs.h
<<\EOF
19563 #define wxUSE_TEXTBUFFER 1
19568 if test "$wxUSE_TEXTFILE" = "yes"; then
19569 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19570 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19572 cat >> confdefs.h
<<\EOF
19573 #define wxUSE_TEXTFILE 1
19579 if test "$wxUSE_CONFIG" = "yes" ; then
19580 if test "$wxUSE_TEXTFILE" != "yes"; then
19581 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19583 cat >> confdefs.h
<<\EOF
19584 #define wxUSE_CONFIG 1
19587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19591 if test "$wxUSE_INTL" = "yes" ; then
19592 if test "$wxUSE_FILE" != "yes"; then
19593 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19595 cat >> confdefs.h
<<\EOF
19596 #define wxUSE_INTL 1
19599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19600 GUIDIST
="$GUIDIST INTL_DIST"
19604 if test "$wxUSE_LOG" = "yes"; then
19605 cat >> confdefs.h
<<\EOF
19606 #define wxUSE_LOG 1
19610 if test "$wxUSE_LOGGUI" = "yes"; then
19611 cat >> confdefs.h
<<\EOF
19612 #define wxUSE_LOGGUI 1
19617 if test "$wxUSE_LOGWINDOW" = "yes"; then
19618 cat >> confdefs.h
<<\EOF
19619 #define wxUSE_LOGWINDOW 1
19624 if test "$wxUSE_LOGDIALOG" = "yes"; then
19625 cat >> confdefs.h
<<\EOF
19626 #define wxUSE_LOG_DIALOG 1
19632 if test "$wxUSE_LONGLONG" = "yes"; then
19633 cat >> confdefs.h
<<\EOF
19634 #define wxUSE_LONGLONG 1
19639 if test "$wxUSE_GEOMETRY" = "yes"; then
19640 cat >> confdefs.h
<<\EOF
19641 #define wxUSE_GEOMETRY 1
19646 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19647 cat >> confdefs.h
<<\EOF
19648 #define wxUSE_DIALUP_MANAGER 1
19651 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19654 if test "$wxUSE_STREAMS" = "yes" ; then
19655 cat >> confdefs.h
<<\EOF
19656 #define wxUSE_STREAMS 1
19662 if test "$wxUSE_DATETIME" = "yes"; then
19663 for ac_func
in strptime
19665 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19666 echo "configure:19667: checking for $ac_func" >&5
19667 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19668 echo $ac_n "(cached) $ac_c" 1>&6
19670 cat > conftest.
$ac_ext <<EOF
19671 #line 19672 "configure"
19672 #include "confdefs.h"
19673 /* System header to define __stub macros and hopefully few prototypes,
19674 which can conflict with char $ac_func(); below. */
19675 #include <assert.h>
19676 /* Override any gcc2 internal prototype to avoid an error. */
19677 /* We use char because int might match the return type of a gcc2
19678 builtin and then its argument prototype would still apply. */
19683 /* The GNU C library defines this for functions which it implements
19684 to always fail with ENOSYS. Some functions are actually named
19685 something starting with __ and the normal name is an alias. */
19686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19694 if { (eval echo configure
:19695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19696 eval "ac_cv_func_$ac_func=yes"
19698 echo "configure: failed program was:" >&5
19699 cat conftest.
$ac_ext >&5
19701 eval "ac_cv_func_$ac_func=no"
19706 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19707 echo "$ac_t""yes" 1>&6
19708 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19709 cat >> confdefs.h
<<EOF
19710 #define $ac_tr_func 1
19714 echo "$ac_t""no" 1>&6
19719 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19720 echo "configure:19721: checking for timezone variable in <time.h>" >&5
19721 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19722 echo $ac_n "(cached) $ac_c" 1>&6
19725 cat > conftest.
$ac_ext <<EOF
19726 #line 19727 "configure"
19727 #include "confdefs.h"
19738 if { (eval echo configure
:19739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19741 wx_cv_var_timezone
=timezone
19744 echo "configure: failed program was:" >&5
19745 cat conftest.
$ac_ext >&5
19748 cat > conftest.
$ac_ext <<EOF
19749 #line 19750 "configure"
19750 #include "confdefs.h"
19761 if { (eval echo configure
:19762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19764 wx_cv_var_timezone
=_timezone
19767 echo "configure: failed program was:" >&5
19768 cat conftest.
$ac_ext >&5
19771 cat > conftest.
$ac_ext <<EOF
19772 #line 19773 "configure"
19773 #include "confdefs.h"
19784 if { (eval echo configure
:19785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19787 wx_cv_var_timezone
=__timezone
19790 echo "configure: failed program was:" >&5
19791 cat conftest.
$ac_ext >&5
19794 if test "$USE_DOS" = 0 ; then
19795 echo "configure: warning: no timezone variable" 1>&2
19813 echo "$ac_t""$wx_cv_var_timezone" 1>&6
19815 if test "x$wx_cv_var_timezone" != x
; then
19816 cat >> confdefs.h
<<EOF
19817 #define WX_TIMEZONE $wx_cv_var_timezone
19822 for ac_func
in localtime
19824 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19825 echo "configure:19826: checking for $ac_func" >&5
19826 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19827 echo $ac_n "(cached) $ac_c" 1>&6
19829 cat > conftest.
$ac_ext <<EOF
19830 #line 19831 "configure"
19831 #include "confdefs.h"
19832 /* System header to define __stub macros and hopefully few prototypes,
19833 which can conflict with char $ac_func(); below. */
19834 #include <assert.h>
19835 /* Override any gcc2 internal prototype to avoid an error. */
19836 /* We use char because int might match the return type of a gcc2
19837 builtin and then its argument prototype would still apply. */
19842 /* The GNU C library defines this for functions which it implements
19843 to always fail with ENOSYS. Some functions are actually named
19844 something starting with __ and the normal name is an alias. */
19845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19853 if { (eval echo configure
:19854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19855 eval "ac_cv_func_$ac_func=yes"
19857 echo "configure: failed program was:" >&5
19858 cat conftest.
$ac_ext >&5
19860 eval "ac_cv_func_$ac_func=no"
19865 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19866 echo "$ac_t""yes" 1>&6
19867 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19868 cat >> confdefs.h
<<EOF
19869 #define $ac_tr_func 1
19873 echo "$ac_t""no" 1>&6
19878 if test "$ac_cv_func_localtime" = "yes"; then
19879 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
19880 echo "configure:19881: checking for tm_gmtoff in struct tm" >&5
19881 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
19882 echo $ac_n "(cached) $ac_c" 1>&6
19885 cat > conftest.
$ac_ext <<EOF
19886 #line 19887 "configure"
19887 #include "confdefs.h"
19898 if { (eval echo configure
:19899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19901 wx_cv_struct_tm_has_gmtoff
=yes
19904 echo "configure: failed program was:" >&5
19905 cat conftest.
$ac_ext >&5
19907 wx_cv_struct_tm_has_gmtoff
=no
19914 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
19917 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
19918 cat >> confdefs.h
<<\EOF
19919 #define WX_GMTOFF_IN_TM 1
19924 for ac_func
in gettimeofday ftime
19926 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19927 echo "configure:19928: checking for $ac_func" >&5
19928 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19929 echo $ac_n "(cached) $ac_c" 1>&6
19931 cat > conftest.
$ac_ext <<EOF
19932 #line 19933 "configure"
19933 #include "confdefs.h"
19934 /* System header to define __stub macros and hopefully few prototypes,
19935 which can conflict with char $ac_func(); below. */
19936 #include <assert.h>
19937 /* Override any gcc2 internal prototype to avoid an error. */
19938 /* We use char because int might match the return type of a gcc2
19939 builtin and then its argument prototype would still apply. */
19944 /* The GNU C library defines this for functions which it implements
19945 to always fail with ENOSYS. Some functions are actually named
19946 something starting with __ and the normal name is an alias. */
19947 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19955 if { (eval echo configure
:19956: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19957 eval "ac_cv_func_$ac_func=yes"
19959 echo "configure: failed program was:" >&5
19960 cat conftest.
$ac_ext >&5
19962 eval "ac_cv_func_$ac_func=no"
19967 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19968 echo "$ac_t""yes" 1>&6
19969 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19970 cat >> confdefs.h
<<EOF
19971 #define $ac_tr_func 1
19975 echo "$ac_t""no" 1>&6
19980 if test "$ac_cv_func_gettimeofday" = "yes"; then
19981 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
19982 echo "configure:19983: checking whether gettimeofday takes two arguments" >&5
19983 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
19984 echo $ac_n "(cached) $ac_c" 1>&6
19989 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19990 ac_cpp
='$CXXCPP $CPPFLAGS'
19991 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19992 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19993 cross_compiling
=$ac_cv_prog_cxx_cross
19996 cat > conftest.
$ac_ext <<EOF
19997 #line 19998 "configure"
19998 #include "confdefs.h"
20000 #include <sys/time.h>
20001 #include <unistd.h>
20006 gettimeofday(&tv, NULL);
20010 if { (eval echo configure
:20011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20012 wx_cv_func_gettimeofday_has_2_args
=yes
20014 echo "configure: failed program was:" >&5
20015 cat conftest.
$ac_ext >&5
20017 cat > conftest.
$ac_ext <<EOF
20018 #line 20019 "configure"
20019 #include "confdefs.h"
20021 #include <sys/time.h>
20022 #include <unistd.h>
20031 if { (eval echo configure
:20032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20033 wx_cv_func_gettimeofday_has_2_args
=no
20035 echo "configure: failed program was:" >&5
20036 cat conftest.
$ac_ext >&5
20039 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20040 wx_cv_func_gettimeofday_has_2_args
=unknown
20049 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20050 ac_cpp
='$CPP $CPPFLAGS'
20051 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20052 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20053 cross_compiling
=$ac_cv_prog_cc_cross
20058 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20060 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20061 cat >> confdefs.h
<<\EOF
20062 #define WX_GETTIMEOFDAY_NO_TZ 1
20068 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20072 if test "$wxUSE_SOCKETS" = "yes"; then
20073 if test "$wxUSE_MGL" = "1"; then
20074 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20079 if test "$wxUSE_SOCKETS" = "yes"; then
20080 if test "$TOOLKIT" != "MSW"; then
20081 echo $ac_n "checking for socket""... $ac_c" 1>&6
20082 echo "configure:20083: checking for socket" >&5
20083 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20084 echo $ac_n "(cached) $ac_c" 1>&6
20086 cat > conftest.
$ac_ext <<EOF
20087 #line 20088 "configure"
20088 #include "confdefs.h"
20089 /* System header to define __stub macros and hopefully few prototypes,
20090 which can conflict with char socket(); below. */
20091 #include <assert.h>
20092 /* Override any gcc2 internal prototype to avoid an error. */
20093 /* We use char because int might match the return type of a gcc2
20094 builtin and then its argument prototype would still apply. */
20099 /* The GNU C library defines this for functions which it implements
20100 to always fail with ENOSYS. Some functions are actually named
20101 something starting with __ and the normal name is an alias. */
20102 #if defined (__stub_socket) || defined (__stub___socket)
20110 if { (eval echo configure
:20111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20112 eval "ac_cv_func_socket=yes"
20114 echo "configure: failed program was:" >&5
20115 cat conftest.
$ac_ext >&5
20117 eval "ac_cv_func_socket=no"
20122 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20123 echo "$ac_t""yes" 1>&6
20126 echo "$ac_t""no" 1>&6
20127 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20128 echo "configure:20129: checking for socket in -lsocket" >&5
20129 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20130 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20131 echo $ac_n "(cached) $ac_c" 1>&6
20133 ac_save_LIBS
="$LIBS"
20134 LIBS
="-lsocket $LIBS"
20135 cat > conftest.
$ac_ext <<EOF
20136 #line 20137 "configure"
20137 #include "confdefs.h"
20138 /* Override any gcc2 internal prototype to avoid an error. */
20139 /* We use char because int might match the return type of a gcc2
20140 builtin and then its argument prototype would still apply. */
20147 if { (eval echo configure
:20148: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20149 eval "ac_cv_lib_$ac_lib_var=yes"
20151 echo "configure: failed program was:" >&5
20152 cat conftest.
$ac_ext >&5
20154 eval "ac_cv_lib_$ac_lib_var=no"
20157 LIBS
="$ac_save_LIBS"
20160 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20161 echo "$ac_t""yes" 1>&6
20162 if test "$INET_LINK" != " -lsocket"; then
20163 INET_LINK
="$INET_LINK -lsocket"
20166 echo "$ac_t""no" 1>&6
20168 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20180 if test "$wxUSE_SOCKETS" = "yes" ; then
20181 if test "$TOOLKIT" != "MSW"; then
20182 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20183 echo "configure:20184: checking what is the type of the third argument of getsockname" >&5
20184 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20185 echo $ac_n "(cached) $ac_c" 1>&6
20190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20191 ac_cpp
='$CXXCPP $CPPFLAGS'
20192 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20193 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20194 cross_compiling
=$ac_cv_prog_cxx_cross
20197 cat > conftest.
$ac_ext <<EOF
20198 #line 20199 "configure"
20199 #include "confdefs.h"
20201 #include <sys/types.h>
20202 #include <sys/socket.h>
20207 getsockname(0, 0, &len);
20211 if { (eval echo configure
:20212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20213 wx_cv_type_getsockname3
=socklen_t
20215 echo "configure: failed program was:" >&5
20216 cat conftest.
$ac_ext >&5
20218 cat > conftest.
$ac_ext <<EOF
20219 #line 20220 "configure"
20220 #include "confdefs.h"
20222 #include <sys/types.h>
20223 #include <sys/socket.h>
20228 getsockname(0, 0, &len);
20232 if { (eval echo configure
:20233: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20234 wx_cv_type_getsockname3
=size_t
20236 echo "configure: failed program was:" >&5
20237 cat conftest.
$ac_ext >&5
20239 cat > conftest.
$ac_ext <<EOF
20240 #line 20241 "configure"
20241 #include "confdefs.h"
20243 #include <sys/types.h>
20244 #include <sys/socket.h>
20249 getsockname(0, 0, &len);
20253 if { (eval echo configure
:20254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20255 wx_cv_type_getsockname3
=int
20257 echo "configure: failed program was:" >&5
20258 cat conftest.
$ac_ext >&5
20260 wx_cv_type_getsockname3
=unknown
20272 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20273 ac_cpp
='$CPP $CPPFLAGS'
20274 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20275 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20276 cross_compiling
=$ac_cv_prog_cc_cross
20281 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20283 if test "$wx_cv_type_getsockname3" = "unknown"; then
20285 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20287 cat >> confdefs.h
<<EOF
20288 #define SOCKLEN_T $wx_cv_type_getsockname3
20295 if test "$wxUSE_SOCKETS" = "yes" ; then
20296 cat >> confdefs.h
<<\EOF
20297 #define wxUSE_SOCKETS 1
20300 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20304 if test "$wxUSE_GUI" = "yes"; then
20306 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20307 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20310 if test "$TOOLKIT" = "MOTIF"; then
20311 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20314 if test "$TOOLKIT" = "X11"; then
20315 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20319 if test "$TOOLKIT" != "MSW"; then
20320 if test "$wxUSE_JOYSTICK" = "yes"; then
20321 for ac_hdr
in linux
/joystick.h
20323 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20324 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20325 echo "configure:20326: checking for $ac_hdr" >&5
20326 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20327 echo $ac_n "(cached) $ac_c" 1>&6
20329 cat > conftest.
$ac_ext <<EOF
20330 #line 20331 "configure"
20331 #include "confdefs.h"
20334 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20335 { (eval echo configure
:20336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20336 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20337 if test -z "$ac_err"; then
20339 eval "ac_cv_header_$ac_safe=yes"
20342 echo "configure: failed program was:" >&5
20343 cat conftest.
$ac_ext >&5
20345 eval "ac_cv_header_$ac_safe=no"
20349 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20350 echo "$ac_t""yes" 1>&6
20351 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20352 cat >> confdefs.h
<<EOF
20353 #define $ac_tr_hdr 1
20357 echo "$ac_t""no" 1>&6
20361 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20363 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20368 if test "$wxUSE_JOYSTICK" = "yes"; then
20369 cat >> confdefs.h
<<\EOF
20370 #define wxUSE_JOYSTICK 1
20373 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20378 if test "$TOOLKIT" != "MSW"; then
20382 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20383 if test "$USE_DARWIN" = 1; then
20386 for ac_func
in dlopen
20388 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20389 echo "configure:20390: checking for $ac_func" >&5
20390 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20391 echo $ac_n "(cached) $ac_c" 1>&6
20393 cat > conftest.
$ac_ext <<EOF
20394 #line 20395 "configure"
20395 #include "confdefs.h"
20396 /* System header to define __stub macros and hopefully few prototypes,
20397 which can conflict with char $ac_func(); below. */
20398 #include <assert.h>
20399 /* Override any gcc2 internal prototype to avoid an error. */
20400 /* We use char because int might match the return type of a gcc2
20401 builtin and then its argument prototype would still apply. */
20406 /* The GNU C library defines this for functions which it implements
20407 to always fail with ENOSYS. Some functions are actually named
20408 something starting with __ and the normal name is an alias. */
20409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20417 if { (eval echo configure
:20418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20419 eval "ac_cv_func_$ac_func=yes"
20421 echo "configure: failed program was:" >&5
20422 cat conftest.
$ac_ext >&5
20424 eval "ac_cv_func_$ac_func=no"
20429 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20430 echo "$ac_t""yes" 1>&6
20431 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20432 cat >> confdefs.h
<<EOF
20433 #define $ac_tr_func 1
20436 cat >> confdefs.h
<<\EOF
20437 #define HAVE_DLOPEN 1
20443 echo "$ac_t""no" 1>&6
20444 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20445 echo "configure:20446: checking for dlopen in -ldl" >&5
20446 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20447 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20448 echo $ac_n "(cached) $ac_c" 1>&6
20450 ac_save_LIBS
="$LIBS"
20452 cat > conftest.
$ac_ext <<EOF
20453 #line 20454 "configure"
20454 #include "confdefs.h"
20455 /* Override any gcc2 internal prototype to avoid an error. */
20456 /* We use char because int might match the return type of a gcc2
20457 builtin and then its argument prototype would still apply. */
20464 if { (eval echo configure
:20465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20466 eval "ac_cv_lib_$ac_lib_var=yes"
20468 echo "configure: failed program was:" >&5
20469 cat conftest.
$ac_ext >&5
20471 eval "ac_cv_lib_$ac_lib_var=no"
20474 LIBS
="$ac_save_LIBS"
20477 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20478 echo "$ac_t""yes" 1>&6
20480 cat >> confdefs.h
<<\EOF
20481 #define HAVE_DLOPEN 1
20485 DL_LINK
=" -ldl$DL_LINK"
20488 echo "$ac_t""no" 1>&6
20490 for ac_func
in shl_load
20492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20493 echo "configure:20494: checking for $ac_func" >&5
20494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20495 echo $ac_n "(cached) $ac_c" 1>&6
20497 cat > conftest.
$ac_ext <<EOF
20498 #line 20499 "configure"
20499 #include "confdefs.h"
20500 /* System header to define __stub macros and hopefully few prototypes,
20501 which can conflict with char $ac_func(); below. */
20502 #include <assert.h>
20503 /* Override any gcc2 internal prototype to avoid an error. */
20504 /* We use char because int might match the return type of a gcc2
20505 builtin and then its argument prototype would still apply. */
20510 /* The GNU C library defines this for functions which it implements
20511 to always fail with ENOSYS. Some functions are actually named
20512 something starting with __ and the normal name is an alias. */
20513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20521 if { (eval echo configure
:20522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20523 eval "ac_cv_func_$ac_func=yes"
20525 echo "configure: failed program was:" >&5
20526 cat conftest.
$ac_ext >&5
20528 eval "ac_cv_func_$ac_func=no"
20533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20534 echo "$ac_t""yes" 1>&6
20535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20536 cat >> confdefs.h
<<EOF
20537 #define $ac_tr_func 1
20540 cat >> confdefs.h
<<\EOF
20541 #define HAVE_SHL_LOAD 1
20547 echo "$ac_t""no" 1>&6
20548 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20549 echo "configure:20550: checking for dld in -lshl_load" >&5
20550 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20551 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20552 echo $ac_n "(cached) $ac_c" 1>&6
20554 ac_save_LIBS
="$LIBS"
20555 LIBS
="-lshl_load $LIBS"
20556 cat > conftest.
$ac_ext <<EOF
20557 #line 20558 "configure"
20558 #include "confdefs.h"
20559 /* Override any gcc2 internal prototype to avoid an error. */
20560 /* We use char because int might match the return type of a gcc2
20561 builtin and then its argument prototype would still apply. */
20568 if { (eval echo configure
:20569: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20570 eval "ac_cv_lib_$ac_lib_var=yes"
20572 echo "configure: failed program was:" >&5
20573 cat conftest.
$ac_ext >&5
20575 eval "ac_cv_lib_$ac_lib_var=no"
20578 LIBS
="$ac_save_LIBS"
20581 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20582 echo "$ac_t""yes" 1>&6
20585 DL_LINK
=" -ldld$DL_LINK"
20588 echo "$ac_t""no" 1>&6
20603 if test "$HAVE_DL_FUNCS" = 1; then
20604 for ac_func
in dlerror
20606 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20607 echo "configure:20608: checking for $ac_func" >&5
20608 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20609 echo $ac_n "(cached) $ac_c" 1>&6
20611 cat > conftest.
$ac_ext <<EOF
20612 #line 20613 "configure"
20613 #include "confdefs.h"
20614 /* System header to define __stub macros and hopefully few prototypes,
20615 which can conflict with char $ac_func(); below. */
20616 #include <assert.h>
20617 /* Override any gcc2 internal prototype to avoid an error. */
20618 /* We use char because int might match the return type of a gcc2
20619 builtin and then its argument prototype would still apply. */
20624 /* The GNU C library defines this for functions which it implements
20625 to always fail with ENOSYS. Some functions are actually named
20626 something starting with __ and the normal name is an alias. */
20627 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20635 if { (eval echo configure
:20636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20637 eval "ac_cv_func_$ac_func=yes"
20639 echo "configure: failed program was:" >&5
20640 cat conftest.
$ac_ext >&5
20642 eval "ac_cv_func_$ac_func=no"
20647 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20648 echo "$ac_t""yes" 1>&6
20649 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20650 cat >> confdefs.h
<<EOF
20651 #define $ac_tr_func 1
20653 cat >> confdefs.h
<<\EOF
20654 #define HAVE_DLERROR 1
20658 echo "$ac_t""no" 1>&6
20659 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20660 echo "configure:20661: checking for dlerror in -ldl" >&5
20661 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20662 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20663 echo $ac_n "(cached) $ac_c" 1>&6
20665 ac_save_LIBS
="$LIBS"
20667 cat > conftest.
$ac_ext <<EOF
20668 #line 20669 "configure"
20669 #include "confdefs.h"
20670 /* Override any gcc2 internal prototype to avoid an error. */
20671 /* We use char because int might match the return type of a gcc2
20672 builtin and then its argument prototype would still apply. */
20679 if { (eval echo configure
:20680: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20681 eval "ac_cv_lib_$ac_lib_var=yes"
20683 echo "configure: failed program was:" >&5
20684 cat conftest.
$ac_ext >&5
20686 eval "ac_cv_lib_$ac_lib_var=no"
20689 LIBS
="$ac_save_LIBS"
20692 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20693 echo "$ac_t""yes" 1>&6
20694 cat >> confdefs.h
<<\EOF
20695 #define HAVE_DLERROR 1
20699 echo "$ac_t""no" 1>&6
20708 if test "$HAVE_DL_FUNCS" = 0; then
20709 if test "$HAVE_SHL_FUNCS" = 0; then
20710 if test "$USE_UNIX" = 1; then
20711 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20712 wxUSE_DYNAMIC_LOADER
=no
20713 wxUSE_DYNLIB_CLASS
=no
20715 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20722 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20723 cat >> confdefs.h
<<\EOF
20724 #define wxUSE_DYNAMIC_LOADER 1
20727 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20728 cat >> confdefs.h
<<\EOF
20729 #define wxUSE_DYNLIB_CLASS 1
20735 if test "$wxUSE_FONTMAP" = "yes" ; then
20736 cat >> confdefs.h
<<\EOF
20737 #define wxUSE_FONTMAP 1
20742 if test "$wxUSE_UNICODE" = "yes" ; then
20743 cat >> confdefs.h
<<\EOF
20744 #define wxUSE_UNICODE 1
20748 if test "$wxUSE_MSW" != 1; then
20749 wxUSE_UNICODE_MSLU
=no
20752 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20753 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20754 echo "configure:20755: checking for main in -lunicows" >&5
20755 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20756 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20757 echo $ac_n "(cached) $ac_c" 1>&6
20759 ac_save_LIBS
="$LIBS"
20760 LIBS
="-lunicows $LIBS"
20761 cat > conftest.
$ac_ext <<EOF
20762 #line 20763 "configure"
20763 #include "confdefs.h"
20769 if { (eval echo configure
:20770: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20771 eval "ac_cv_lib_$ac_lib_var=yes"
20773 echo "configure: failed program was:" >&5
20774 cat conftest.
$ac_ext >&5
20776 eval "ac_cv_lib_$ac_lib_var=no"
20779 LIBS
="$ac_save_LIBS"
20782 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20783 echo "$ac_t""yes" 1>&6
20785 cat >> confdefs.h
<<\EOF
20786 #define wxUSE_UNICODE_MSLU 1
20791 echo "$ac_t""no" 1>&6
20793 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
20794 Applications will only run on Windows NT/2000/XP!" 1>&2
20795 wxUSE_UNICODE_MSLU
=no
20802 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
20803 cat >> confdefs.h
<<\EOF
20804 #define wxUSE_EXPERIMENTAL_PRINTF 1
20812 if test "$wxUSE_ODBC" = "yes" ; then
20813 cat >> confdefs.h
<<\EOF
20814 #define wxUSE_ODBC 1
20817 WXODBCFLAG
="-D_IODBC_"
20818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
20822 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
20823 cat >> confdefs.h
<<\EOF
20824 #define wxUSE_POSTSCRIPT 1
20829 cat >> confdefs.h
<<\EOF
20830 #define wxUSE_AFM_FOR_POSTSCRIPT 1
20834 cat >> confdefs.h
<<\EOF
20835 #define wxUSE_NORMALIZED_PS_FONTS 1
20840 if test "$wxUSE_CONSTRAINTS" = "yes"; then
20841 cat >> confdefs.h
<<\EOF
20842 #define wxUSE_CONSTRAINTS 1
20845 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
20848 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20851 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20852 cat >> confdefs.h
<<\EOF
20853 #define wxUSE_MDI_ARCHITECTURE 1
20856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
20860 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
20861 cat >> confdefs.h
<<\EOF
20862 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
20865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
20866 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
20867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
20871 if test "$wxUSE_HELP" = "yes"; then
20872 cat >> confdefs.h
<<\EOF
20873 #define wxUSE_HELP 1
20876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
20878 if test "$wxUSE_MSW" = 1; then
20879 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
20880 cat >> confdefs.h
<<\EOF
20881 #define wxUSE_MS_HTML_HELP 1
20887 if test "$wxUSE_WXHTML_HELP" = "yes"; then
20888 if test "$wxUSE_HTML" = "yes"; then
20889 cat >> confdefs.h
<<\EOF
20890 #define wxUSE_WXHTML_HELP 1
20894 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
20895 wxUSE_WXHTML_HELP
=no
20900 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
20901 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20902 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
20904 cat >> confdefs.h
<<\EOF
20905 #define wxUSE_PRINTING_ARCHITECTURE 1
20909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
20914 if test "$wxUSE_X_RESOURCES" = "yes"; then
20915 cat >> confdefs.h
<<\EOF
20916 #define wxUSE_X_RESOURCES 1
20922 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
20923 -o "$wxUSE_CLIPBOARD" = "yes" \
20924 -o "$wxUSE_OLE" = "yes" \
20925 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
20926 for ac_hdr
in ole2.h
20928 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20929 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20930 echo "configure:20931: checking for $ac_hdr" >&5
20931 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20932 echo $ac_n "(cached) $ac_c" 1>&6
20934 cat > conftest.
$ac_ext <<EOF
20935 #line 20936 "configure"
20936 #include "confdefs.h"
20939 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20940 { (eval echo configure
:20941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20941 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20942 if test -z "$ac_err"; then
20944 eval "ac_cv_header_$ac_safe=yes"
20947 echo "configure: failed program was:" >&5
20948 cat conftest.
$ac_ext >&5
20950 eval "ac_cv_header_$ac_safe=no"
20954 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20955 echo "$ac_t""yes" 1>&6
20956 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20957 cat >> confdefs.h
<<EOF
20958 #define $ac_tr_hdr 1
20962 echo "$ac_t""no" 1>&6
20967 if test "$ac_cv_header_ole2_h" = "yes" ; then
20968 if test "$GCC" = yes ; then
20971 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20972 ac_cpp
='$CXXCPP $CPPFLAGS'
20973 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20974 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20975 cross_compiling
=$ac_cv_prog_cxx_cross
20978 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20979 echo "configure:20980: checking if g++ requires -fvtable-thunks" >&5
20980 cat > conftest.
$ac_ext <<EOF
20981 #line 20982 "configure"
20982 #include "confdefs.h"
20983 #include <windows.h>
20989 if { (eval echo configure
:20990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20991 echo "$ac_t""no" 1>&6
20993 echo "configure: failed program was:" >&5
20994 cat conftest.
$ac_ext >&5
20996 echo "$ac_t""yes" 1>&6
20997 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21001 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21002 ac_cpp
='$CPP $CPPFLAGS'
21003 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21004 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21005 cross_compiling
=$ac_cv_prog_cc_cross
21007 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21008 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21009 cat >> confdefs.h
<<\EOF
21010 #define wxUSE_OLE 1
21016 cat >> confdefs.h
<<\EOF
21017 #define wxUSE_DATAOBJ 1
21021 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21024 wxUSE_DRAG_AND_DROP
=no
21029 if test "$wxUSE_METAFILE" = "yes"; then
21030 cat >> confdefs.h
<<\EOF
21031 #define wxUSE_METAFILE 1
21035 cat >> confdefs.h
<<\EOF
21036 #define wxUSE_ENH_METAFILE 1
21042 if test "$wxUSE_IPC" = "yes"; then
21043 if test "$wxUSE_SOCKETS" != "yes"; then
21044 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21047 cat >> confdefs.h
<<\EOF
21048 #define wxUSE_IPC 1
21053 if test "$wxUSE_CLIPBOARD" = "yes"; then
21054 if test "$wxUSE_MGL" = 1; then
21055 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21059 if test "$wxUSE_CLIPBOARD" = "yes"; then
21060 cat >> confdefs.h
<<\EOF
21061 #define wxUSE_CLIPBOARD 1
21065 cat >> confdefs.h
<<\EOF
21066 #define wxUSE_DATAOBJ 1
21072 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21073 if test "$wxUSE_GTK" = 1; then
21074 if test "$WXGTK12" != 1; then
21075 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21076 wxUSE_DRAG_AND_DROP
=no
21080 if test "$wxUSE_MOTIF" = 1; then
21081 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21082 wxUSE_DRAG_AND_DROP
=no
21085 if test "$wxUSE_X11" = 1; then
21086 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21087 wxUSE_DRAG_AND_DROP
=no
21090 if test "$wxUSE_MGL" = 1; then
21091 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21092 wxUSE_DRAG_AND_DROP
=no
21095 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21096 cat >> confdefs.h
<<\EOF
21097 #define wxUSE_DRAG_AND_DROP 1
21100 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21105 if test "$wxUSE_SPLINES" = "yes" ; then
21106 cat >> confdefs.h
<<\EOF
21107 #define wxUSE_SPLINES 1
21114 if test "$wxUSE_CONTROLS" = "yes"; then
21118 if test "$wxUSE_ACCEL" = "yes"; then
21119 cat >> confdefs.h
<<\EOF
21120 #define wxUSE_ACCEL 1
21126 if test "$wxUSE_BUTTON" = "yes"; then
21127 cat >> confdefs.h
<<\EOF
21128 #define wxUSE_BUTTON 1
21134 if test "$wxUSE_BMPBUTTON" = "yes"; then
21135 cat >> confdefs.h
<<\EOF
21136 #define wxUSE_BMPBUTTON 1
21142 if test "$wxUSE_CALCTRL" = "yes"; then
21143 cat >> confdefs.h
<<\EOF
21144 #define wxUSE_CALENDARCTRL 1
21148 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21151 if test "$wxUSE_CARET" = "yes"; then
21152 cat >> confdefs.h
<<\EOF
21153 #define wxUSE_CARET 1
21157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21160 if test "$wxUSE_COMBOBOX" = "yes"; then
21161 cat >> confdefs.h
<<\EOF
21162 #define wxUSE_COMBOBOX 1
21168 if test "$wxUSE_CHOICE" = "yes"; then
21169 cat >> confdefs.h
<<\EOF
21170 #define wxUSE_CHOICE 1
21176 if test "$wxUSE_CHECKBOX" = "yes"; then
21177 cat >> confdefs.h
<<\EOF
21178 #define wxUSE_CHECKBOX 1
21184 if test "$wxUSE_CHECKLST" = "yes"; then
21185 cat >> confdefs.h
<<\EOF
21186 #define wxUSE_CHECKLISTBOX 1
21190 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21193 if test "$wxUSE_DISPLAY" = "yes"; then
21194 cat >> confdefs.h
<<\EOF
21195 #define wxUSE_DISPLAY 1
21198 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21201 if test "$wxUSE_GAUGE" = "yes"; then
21202 cat >> confdefs.h
<<\EOF
21203 #define wxUSE_GAUGE 1
21209 if test "$wxUSE_GRID" = "yes"; then
21210 cat >> confdefs.h
<<\EOF
21211 #define wxUSE_GRID 1
21215 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21218 if test "$wxUSE_IMAGLIST" = "yes"; then
21219 cat >> confdefs.h
<<\EOF
21220 #define wxUSE_IMAGLIST 1
21225 if test "$wxUSE_LISTBOX" = "yes"; then
21226 cat >> confdefs.h
<<\EOF
21227 #define wxUSE_LISTBOX 1
21233 if test "$wxUSE_LISTCTRL" = "yes"; then
21234 if test "$wxUSE_IMAGLIST" = "yes"; then
21235 cat >> confdefs.h
<<\EOF
21236 #define wxUSE_LISTCTRL 1
21240 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21242 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21246 if test "$wxUSE_NOTEBOOK" = "yes"; then
21247 cat >> confdefs.h
<<\EOF
21248 #define wxUSE_NOTEBOOK 1
21252 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21256 if test "$wxUSE_RADIOBOX" = "yes"; then
21257 cat >> confdefs.h
<<\EOF
21258 #define wxUSE_RADIOBOX 1
21264 if test "$wxUSE_RADIOBTN" = "yes"; then
21265 cat >> confdefs.h
<<\EOF
21266 #define wxUSE_RADIOBTN 1
21272 if test "$wxUSE_SASH" = "yes"; then
21273 cat >> confdefs.h
<<\EOF
21274 #define wxUSE_SASH 1
21277 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21280 if test "$wxUSE_SCROLLBAR" = "yes"; then
21281 cat >> confdefs.h
<<\EOF
21282 #define wxUSE_SCROLLBAR 1
21286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21289 if test "$wxUSE_SLIDER" = "yes"; then
21290 cat >> confdefs.h
<<\EOF
21291 #define wxUSE_SLIDER 1
21297 if test "$wxUSE_SPINBTN" = "yes"; then
21298 cat >> confdefs.h
<<\EOF
21299 #define wxUSE_SPINBTN 1
21305 if test "$wxUSE_SPINCTRL" = "yes"; then
21306 cat >> confdefs.h
<<\EOF
21307 #define wxUSE_SPINCTRL 1
21313 if test "$wxUSE_SPLITTER" = "yes"; then
21314 cat >> confdefs.h
<<\EOF
21315 #define wxUSE_SPLITTER 1
21318 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21321 if test "$wxUSE_STATBMP" = "yes"; then
21322 cat >> confdefs.h
<<\EOF
21323 #define wxUSE_STATBMP 1
21329 if test "$wxUSE_STATBOX" = "yes"; then
21330 cat >> confdefs.h
<<\EOF
21331 #define wxUSE_STATBOX 1
21337 if test "$wxUSE_STATTEXT" = "yes"; then
21338 cat >> confdefs.h
<<\EOF
21339 #define wxUSE_STATTEXT 1
21345 if test "$wxUSE_STATLINE" = "yes"; then
21346 cat >> confdefs.h
<<\EOF
21347 #define wxUSE_STATLINE 1
21353 if test "$wxUSE_STATUSBAR" = "yes"; then
21354 cat >> confdefs.h
<<\EOF
21355 #define wxUSE_STATUSBAR 1
21360 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21363 if test "$wxUSE_TABDIALOG" = "yes"; then
21364 cat >> confdefs.h
<<\EOF
21365 #define wxUSE_TAB_DIALOG 1
21368 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21371 if test "$wxUSE_TEXTCTRL" = "yes"; then
21372 cat >> confdefs.h
<<\EOF
21373 #define wxUSE_TEXTCTRL 1
21377 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21380 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21381 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21382 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21385 if test "$wxUSE_UNIVERSAL" = "yes"; then
21386 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21390 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21391 cat >> confdefs.h
<<\EOF
21392 #define wxUSE_TOGGLEBTN 1
21399 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21400 cat >> confdefs.h
<<\EOF
21401 #define wxUSE_TOOLBAR_SIMPLE 1
21404 wxUSE_TOOLBAR
="yes"
21408 if test "$wxUSE_TOOLBAR" = "yes"; then
21409 cat >> confdefs.h
<<\EOF
21410 #define wxUSE_TOOLBAR 1
21415 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21416 wxUSE_TOOLBAR_NATIVE
="yes"
21419 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21420 cat >> confdefs.h
<<\EOF
21421 #define wxUSE_TOOLBAR_NATIVE 1
21427 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21430 if test "$wxUSE_TOOLTIPS" = "yes"; then
21431 if test "$wxUSE_MOTIF" = 1; then
21432 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21434 if test "$wxUSE_UNIVERSAL" = "yes"; then
21435 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21437 cat >> confdefs.h
<<\EOF
21438 #define wxUSE_TOOLTIPS 1
21445 if test "$wxUSE_TREECTRL" = "yes"; then
21446 if test "$wxUSE_IMAGLIST" = "yes"; then
21447 cat >> confdefs.h
<<\EOF
21448 #define wxUSE_TREECTRL 1
21452 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21454 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21458 if test "$wxUSE_POPUPWIN" = "yes"; then
21459 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21460 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21462 if test "$wxUSE_MOTIF" = 1; then
21463 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21465 if test "$wxUSE_PM" = 1; then
21466 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21468 cat >> confdefs.h
<<\EOF
21469 #define wxUSE_POPUPWIN 1
21479 if test "$wxUSE_TIPWINDOW" = "yes"; then
21480 if test "$wxUSE_PM" = 1; then
21481 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21483 cat >> confdefs.h
<<\EOF
21484 #define wxUSE_TIPWINDOW 1
21490 if test "$USES_CONTROLS" = 1; then
21491 cat >> confdefs.h
<<\EOF
21492 #define wxUSE_CONTROLS 1
21499 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21500 cat >> confdefs.h
<<\EOF
21501 #define wxUSE_DRAGIMAGE 1
21504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21507 if test "$wxUSE_MENUS" = "yes"; then
21508 cat >> confdefs.h
<<\EOF
21509 #define wxUSE_MENUS 1
21512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21515 if test "$wxUSE_METAFILE" = "yes"; then
21516 cat >> confdefs.h
<<\EOF
21517 #define wxUSE_METAFILE 1
21522 if test "$wxUSE_MIMETYPE" = "yes"; then
21523 cat >> confdefs.h
<<\EOF
21524 #define wxUSE_MIMETYPE 1
21529 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21530 cat >> confdefs.h
<<\EOF
21531 #define wxUSE_SYSTEM_OPTIONS 1
21534 if test "$TOOLKIT" = "MSW"; then
21535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21540 if test "$wxUSE_PROTOCOL" = "yes"; then
21541 if test "$wxUSE_SOCKETS" != "yes"; then
21542 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21546 if test "$wxUSE_PROTOCOL" = "yes"; then
21547 cat >> confdefs.h
<<\EOF
21548 #define wxUSE_PROTOCOL 1
21552 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21553 cat >> confdefs.h
<<\EOF
21554 #define wxUSE_PROTOCOL_HTTP 1
21558 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21559 cat >> confdefs.h
<<\EOF
21560 #define wxUSE_PROTOCOL_FTP 1
21564 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21565 cat >> confdefs.h
<<\EOF
21566 #define wxUSE_PROTOCOL_FILE 1
21573 if test "$wxUSE_URL" = "yes"; then
21574 if test "$wxUSE_PROTOCOL" != "yes"; then
21575 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21578 if test "$wxUSE_URL" = "yes"; then
21579 cat >> confdefs.h
<<\EOF
21580 #define wxUSE_URL 1
21586 if test "$wxUSE_MINIFRAME" = "yes"; then
21587 cat >> confdefs.h
<<\EOF
21588 #define wxUSE_MINIFRAME 1
21591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21594 if test "$wxUSE_HTML" = "yes"; then
21595 cat >> confdefs.h
<<\EOF
21596 #define wxUSE_HTML 1
21599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21602 if test "$wxUSE_VALIDATORS" = "yes"; then
21603 cat >> confdefs.h
<<\EOF
21604 #define wxUSE_VALIDATORS 1
21607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21610 if test "$wxUSE_PALETTE" = "yes" ; then
21611 cat >> confdefs.h
<<\EOF
21612 #define wxUSE_PALETTE 1
21617 if test "$wxUSE_IMAGE" = "yes" ; then
21618 cat >> confdefs.h
<<\EOF
21619 #define wxUSE_IMAGE 1
21624 if test "$wxUSE_GIF" = "yes" ; then
21625 cat >> confdefs.h
<<\EOF
21626 #define wxUSE_GIF 1
21631 if test "$wxUSE_PCX" = "yes" ; then
21632 cat >> confdefs.h
<<\EOF
21633 #define wxUSE_PCX 1
21638 if test "$wxUSE_IFF" = "yes" ; then
21639 cat >> confdefs.h
<<\EOF
21640 #define wxUSE_IFF 1
21645 if test "$wxUSE_PNM" = "yes" ; then
21646 cat >> confdefs.h
<<\EOF
21647 #define wxUSE_PNM 1
21652 if test "$wxUSE_XPM" = "yes" ; then
21653 cat >> confdefs.h
<<\EOF
21654 #define wxUSE_XPM 1
21659 if test "$wxUSE_ICO_CUR" = "yes" ; then
21660 cat >> confdefs.h
<<\EOF
21661 #define wxUSE_ICO_CUR 1
21666 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21667 LIBS
=" -lunicows $LIBS"
21671 if test "$wxUSE_CHOICEDLG" = "yes"; then
21672 cat >> confdefs.h
<<\EOF
21673 #define wxUSE_CHOICEDLG 1
21678 if test "$wxUSE_COLOURDLG" = "yes"; then
21679 cat >> confdefs.h
<<\EOF
21680 #define wxUSE_COLOURDLG 1
21685 if test "$wxUSE_FILEDLG" = "yes"; then
21686 cat >> confdefs.h
<<\EOF
21687 #define wxUSE_FILEDLG 1
21692 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21693 cat >> confdefs.h
<<\EOF
21694 #define wxUSE_FINDREPLDLG 1
21699 if test "$wxUSE_FONTDLG" = "yes"; then
21700 cat >> confdefs.h
<<\EOF
21701 #define wxUSE_FONTDLG 1
21706 if test "$wxUSE_DIRDLG" = "yes"; then
21707 if test "$wxUSE_TREECTRL" != "yes"; then
21708 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21710 cat >> confdefs.h
<<\EOF
21711 #define wxUSE_DIRDLG 1
21717 if test "$wxUSE_MSGDLG" = "yes"; then
21718 cat >> confdefs.h
<<\EOF
21719 #define wxUSE_MSGDLG 1
21724 if test "$wxUSE_NUMBERDLG" = "yes"; then
21725 cat >> confdefs.h
<<\EOF
21726 #define wxUSE_NUMBERDLG 1
21731 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21732 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21733 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21735 cat >> confdefs.h
<<\EOF
21736 #define wxUSE_PROGRESSDLG 1
21742 if test "$wxUSE_SPLASH" = "yes"; then
21743 cat >> confdefs.h
<<\EOF
21744 #define wxUSE_SPLASH 1
21749 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21750 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21751 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21753 cat >> confdefs.h
<<\EOF
21754 #define wxUSE_STARTUP_TIPS 1
21760 if test "$wxUSE_TEXTDLG" = "yes"; then
21761 cat >> confdefs.h
<<\EOF
21762 #define wxUSE_TEXTDLG 1
21767 if test "$wxUSE_WIZARDDLG" = "yes"; then
21768 cat >> confdefs.h
<<\EOF
21769 #define wxUSE_WIZARDDLG 1
21772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
21776 if test "$cross_compiling" = "yes"; then
21779 OSINFO
=`uname -s -r -m`
21780 OSINFO
="\"$OSINFO\""
21783 cat >> confdefs.h
<<EOF
21784 #define WXWIN_OS_DESCRIPTION $OSINFO
21789 if test "x$prefix" != "xNONE"; then
21792 wxPREFIX
=$ac_default_prefix
21795 cat >> confdefs.h
<<EOF
21796 #define wxINSTALL_PREFIX "$wxPREFIX"
21805 if test "$wxUSE_MAC" = 1 ; then
21806 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
21808 if test "$wxUSE_COCOA" = 1 ; then
21809 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
21813 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
21819 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21820 echo "configure:21821: checking for $ac_func" >&5
21821 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21822 echo $ac_n "(cached) $ac_c" 1>&6
21824 cat > conftest.
$ac_ext <<EOF
21825 #line 21826 "configure"
21826 #include "confdefs.h"
21827 /* System header to define __stub macros and hopefully few prototypes,
21828 which can conflict with char $ac_func(); below. */
21829 #include <assert.h>
21830 /* Override any gcc2 internal prototype to avoid an error. */
21831 /* We use char because int might match the return type of a gcc2
21832 builtin and then its argument prototype would still apply. */
21837 /* The GNU C library defines this for functions which it implements
21838 to always fail with ENOSYS. Some functions are actually named
21839 something starting with __ and the normal name is an alias. */
21840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21848 if { (eval echo configure
:21849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21850 eval "ac_cv_func_$ac_func=yes"
21852 echo "configure: failed program was:" >&5
21853 cat conftest.
$ac_ext >&5
21855 eval "ac_cv_func_$ac_func=no"
21860 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21861 echo "$ac_t""yes" 1>&6
21862 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21863 cat >> confdefs.h
<<EOF
21864 #define $ac_tr_func 1
21868 echo "$ac_t""no" 1>&6
21872 for ac_func
in floor
21874 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21875 echo "configure:21876: checking for $ac_func" >&5
21876 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21877 echo $ac_n "(cached) $ac_c" 1>&6
21879 cat > conftest.
$ac_ext <<EOF
21880 #line 21881 "configure"
21881 #include "confdefs.h"
21882 /* System header to define __stub macros and hopefully few prototypes,
21883 which can conflict with char $ac_func(); below. */
21884 #include <assert.h>
21885 /* Override any gcc2 internal prototype to avoid an error. */
21886 /* We use char because int might match the return type of a gcc2
21887 builtin and then its argument prototype would still apply. */
21892 /* The GNU C library defines this for functions which it implements
21893 to always fail with ENOSYS. Some functions are actually named
21894 something starting with __ and the normal name is an alias. */
21895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21903 if { (eval echo configure
:21904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21905 eval "ac_cv_func_$ac_func=yes"
21907 echo "configure: failed program was:" >&5
21908 cat conftest.
$ac_ext >&5
21910 eval "ac_cv_func_$ac_func=no"
21915 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21916 echo "$ac_t""yes" 1>&6
21917 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21918 cat >> confdefs.h
<<EOF
21919 #define $ac_tr_func 1
21923 echo "$ac_t""no" 1>&6
21927 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
21928 echo "configure:21929: checking if floating point functions link without -lm" >&5
21929 if test "$have_cos" = 1 -a "$have_floor" = 1; then
21930 echo "$ac_t""yes" 1>&6
21932 echo "$ac_t""no" 1>&6
21934 # use different functions to avoid configure caching
21939 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21940 echo "configure:21941: checking for $ac_func" >&5
21941 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21942 echo $ac_n "(cached) $ac_c" 1>&6
21944 cat > conftest.
$ac_ext <<EOF
21945 #line 21946 "configure"
21946 #include "confdefs.h"
21947 /* System header to define __stub macros and hopefully few prototypes,
21948 which can conflict with char $ac_func(); below. */
21949 #include <assert.h>
21950 /* Override any gcc2 internal prototype to avoid an error. */
21951 /* We use char because int might match the return type of a gcc2
21952 builtin and then its argument prototype would still apply. */
21957 /* The GNU C library defines this for functions which it implements
21958 to always fail with ENOSYS. Some functions are actually named
21959 something starting with __ and the normal name is an alias. */
21960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21968 if { (eval echo configure
:21969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
21970 eval "ac_cv_func_$ac_func=yes"
21972 echo "configure: failed program was:" >&5
21973 cat conftest.
$ac_ext >&5
21975 eval "ac_cv_func_$ac_func=no"
21980 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
21981 echo "$ac_t""yes" 1>&6
21982 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
21983 cat >> confdefs.h
<<EOF
21984 #define $ac_tr_func 1
21988 echo "$ac_t""no" 1>&6
21992 for ac_func
in ceil
21994 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
21995 echo "configure:21996: checking for $ac_func" >&5
21996 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
21997 echo $ac_n "(cached) $ac_c" 1>&6
21999 cat > conftest.
$ac_ext <<EOF
22000 #line 22001 "configure"
22001 #include "confdefs.h"
22002 /* System header to define __stub macros and hopefully few prototypes,
22003 which can conflict with char $ac_func(); below. */
22004 #include <assert.h>
22005 /* Override any gcc2 internal prototype to avoid an error. */
22006 /* We use char because int might match the return type of a gcc2
22007 builtin and then its argument prototype would still apply. */
22012 /* The GNU C library defines this for functions which it implements
22013 to always fail with ENOSYS. Some functions are actually named
22014 something starting with __ and the normal name is an alias. */
22015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22023 if { (eval echo configure
:22024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22025 eval "ac_cv_func_$ac_func=yes"
22027 echo "configure: failed program was:" >&5
22028 cat conftest.
$ac_ext >&5
22030 eval "ac_cv_func_$ac_func=no"
22035 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22036 echo "$ac_t""yes" 1>&6
22037 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22038 cat >> confdefs.h
<<EOF
22039 #define $ac_tr_func 1
22043 echo "$ac_t""no" 1>&6
22047 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22048 echo "configure:22049: checking if floating point functions link with -lm" >&5
22049 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22050 echo "$ac_t""yes" 1>&6
22052 echo "$ac_t""no" 1>&6
22053 # not sure we should warn the user, crash, etc.
22057 if test "$wxUSE_GUI" = "yes"; then
22059 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22063 drawing dynamic erase event exec font image \
22064 minimal propsize rotate shaped widgets"
22066 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22068 SAMPLES_SUBDIRS
="console"
22072 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22073 -I\${top_srcdir}/include \
22074 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22077 if test "$wxUSE_GTK" = 1; then
22080 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22083 if test "$GXX" = yes ; then
22084 CXXWARNINGS
="-Wall"
22086 if test "$wxUSE_NO_DEPS" = "no" ; then
22087 CFLAGS
="-MMD $CFLAGS"
22088 CXXFLAGS
="-MMD $CXXFLAGS"
22092 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22094 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22095 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22096 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22097 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22099 LDFLAGS
="$LDFLAGS $PROFILE"
22101 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22203 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22204 echo "configure:22205: checking whether ${MAKE-make} sets \${MAKE}" >&5
22205 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22206 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22207 echo $ac_n "(cached) $ac_c" 1>&6
22209 cat > conftestmake
<<\EOF
22211 @
echo 'ac_maketemp="${MAKE}"'
22213 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22214 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22215 if test -n "$ac_maketemp"; then
22216 eval ac_cv_prog_make_
${ac_make}_set
=yes
22218 eval ac_cv_prog_make_
${ac_make}_set
=no
22222 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22223 echo "$ac_t""yes" 1>&6
22226 echo "$ac_t""no" 1>&6
22227 SET_MAKE
="MAKE=${MAKE-make}"
22231 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22232 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22237 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22238 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22239 wx_cv_path_ifs
=$PATH_IFS
22240 wx_cv_program_ext
=$PROGRAM_EXT
22241 wx_cv_target_library
=$WX_TARGET_LIBRARY
22242 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22243 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22244 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22245 wx_cv_release
=${WX_RELEASE}
22246 wx_cv_current
=${WX_CURRENT}
22247 wx_cv_revision
=${WX_REVISION}
22248 wx_cv_age
=${WX_AGE}
22249 wx_cv_use_gui
=${USE_GUI}
22250 wx_cv_use_resources
=${wxUSE_RESOURCES}
22251 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22252 wx_cv_path_ifs wx_cv_program_ext \
22253 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22254 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22255 wx_cv_use_gui wx_cv_use_resources
22257 subdirs
="demos samples utils contrib"
22261 cat > confcache
<<\EOF
22262 # This file is a shell script that caches the results of configure
22263 # tests run on this system so they can be shared between configure
22264 # scripts and configure runs. It is not useful on other systems.
22265 # If it contains results you don't want to keep, you may remove or edit it.
22267 # By default, configure uses ./config.cache as the cache file,
22268 # creating it if it does not exist already. You can give configure
22269 # the --cache-file=FILE option to use a different cache file; that is
22270 # what configure does when it calls configure scripts in
22271 # subdirectories, so they share the cache.
22272 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22273 # config.status only pays attention to the cache file if you give it the
22274 # --recheck option to rerun configure.
22277 # The following way of writing the cache mishandles newlines in values,
22278 # but we know of no workaround that is simple, portable, and efficient.
22279 # So, don't put newlines in cache variables' values.
22280 # Ultrix sh set writes to stderr and can't be redirected directly,
22281 # and sets the high bit in the cache file unless we assign to the vars.
22283 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22285 # `set' does not quote correctly, so add quotes (double-quote substitution
22286 # turns \\\\ into \\, and sed turns \\ into \).
22288 -e "s/'/'\\\\''/g" \
22289 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22292 # `set' quotes correctly as required by POSIX, so do not add quotes.
22293 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22296 if cmp -s $cache_file confcache
; then
22299 if test -w $cache_file; then
22300 echo "updating cache $cache_file"
22301 cat confcache
> $cache_file
22303 echo "not updating unwritable cache $cache_file"
22308 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22310 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22311 # Let make expand exec_prefix.
22312 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22314 # Any assignment to VPATH causes Sun make to only execute
22315 # the first set of double-colon rules, so remove it if not needed.
22316 # If there is a colon in the path, we need to keep it.
22317 if test "x$srcdir" = x.
; then
22318 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22321 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22323 DEFS
=-DHAVE_CONFIG_H
22325 # Without the "./", some shells look in PATH for config.status.
22326 : ${CONFIG_STATUS=./config.status}
22328 echo creating
$CONFIG_STATUS
22329 rm -f $CONFIG_STATUS
22330 cat > $CONFIG_STATUS <<EOF
22332 # Generated automatically by configure.
22333 # Run this file to recreate the current configuration.
22334 # This directory was configured as follows,
22335 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22337 # $0 $ac_configure_args
22339 # Compiler output produced by configure, useful for debugging
22340 # configure, is in ./config.log if it exists.
22342 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22345 case "\$ac_option" in
22346 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22347 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22348 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22349 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22350 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22352 -help | --help | --hel | --he | --h)
22353 echo "\$ac_cs_usage"; exit 0 ;;
22354 *) echo "\$ac_cs_usage"; exit 1 ;;
22358 ac_given_srcdir=$srcdir
22359 ac_given_INSTALL="$INSTALL"
22361 trap 'rm -fr `echo "
22368 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22370 cat >> $CONFIG_STATUS <<EOF
22372 # Protect against being on the right side of a sed subst in config.status.
22373 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22374 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22378 s%@CFLAGS@%$CFLAGS%g
22379 s%@CPPFLAGS@%$CPPFLAGS%g
22380 s%@CXXFLAGS@%$CXXFLAGS%g
22381 s%@FFLAGS@%$FFLAGS%g
22383 s%@LDFLAGS@%$LDFLAGS%g
22385 s%@exec_prefix@%$exec_prefix%g
22386 s%@prefix@%$prefix%g
22387 s%@program_transform_name@%$program_transform_name%g
22388 s%@bindir@%$bindir%g
22389 s%@sbindir@%$sbindir%g
22390 s%@libexecdir@%$libexecdir%g
22391 s%@datadir@%$datadir%g
22392 s%@sysconfdir@%$sysconfdir%g
22393 s%@sharedstatedir@%$sharedstatedir%g
22394 s%@localstatedir@%$localstatedir%g
22395 s%@libdir@%$libdir%g
22396 s%@includedir@%$includedir%g
22397 s%@oldincludedir@%$oldincludedir%g
22398 s%@infodir@%$infodir%g
22399 s%@mandir@%$mandir%g
22401 s%@host_alias@%$host_alias%g
22402 s%@host_cpu@%$host_cpu%g
22403 s%@host_vendor@%$host_vendor%g
22404 s%@host_os@%$host_os%g
22405 s%@target@%$target%g
22406 s%@target_alias@%$target_alias%g
22407 s%@target_cpu@%$target_cpu%g
22408 s%@target_vendor@%$target_vendor%g
22409 s%@target_os@%$target_os%g
22411 s%@build_alias@%$build_alias%g
22412 s%@build_cpu@%$build_cpu%g
22413 s%@build_vendor@%$build_vendor%g
22414 s%@build_os@%$build_os%g
22418 s%@RANLIB@%$RANLIB%g
22420 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22421 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22422 s%@INSTALL_DATA@%$INSTALL_DATA%g
22424 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22427 s%@LEXLIB@%$LEXLIB%g
22429 s%@CXXCPP@%$CXXCPP%g
22430 s%@PKG_CONFIG@%$PKG_CONFIG%g
22431 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22432 s%@GTK_LIBS@%$GTK_LIBS%g
22433 s%@GTK_CONFIG@%$GTK_CONFIG%g
22434 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22435 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22436 s%@X_CFLAGS@%$X_CFLAGS%g
22437 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22438 s%@X_LIBS@%$X_LIBS%g
22439 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22440 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22441 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22442 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22443 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22444 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22445 s%@RESCOMP@%$RESCOMP%g
22447 s%@SETFILE@%$SETFILE%g
22448 s%@LIBICONV@%$LIBICONV%g
22449 s%@LEX_STEM@%$LEX_STEM%g
22450 s%@PATH_IFS@%$PATH_IFS%g
22451 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22452 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22453 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22454 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22455 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22456 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22457 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22458 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22459 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22460 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22461 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22462 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22463 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22464 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22465 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22466 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22467 s%@WX_ALL@%$WX_ALL%g
22468 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22469 s%@SHARED_LD@%$SHARED_LD%g
22470 s%@PIC_FLAG@%$PIC_FLAG%g
22471 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22472 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22473 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22474 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22475 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22476 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22477 s%@STATIC_FLAG@%$STATIC_FLAG%g
22478 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22479 s%@USE_GUI@%$USE_GUI%g
22480 s%@AFMINSTALL@%$AFMINSTALL%g
22481 s%@WIN32INSTALL@%$WIN32INSTALL%g
22482 s%@TOOLKIT@%$TOOLKIT%g
22483 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22484 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22485 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22486 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22487 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22488 s%@top_builddir@%$top_builddir%g
22489 s%@cross_compiling@%$cross_compiling%g
22490 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22491 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22492 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22493 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22494 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22495 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22496 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22497 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22498 s%@ALL_HEADERS@%$ALL_HEADERS%g
22499 s%@ALL_SOURCES@%$ALL_SOURCES%g
22500 s%@GUIDIST@%$GUIDIST%g
22501 s%@PORT_FILES@%$PORT_FILES%g
22502 s%@DISTDIR@%$DISTDIR%g
22503 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22504 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22505 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22506 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22507 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22508 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22509 s%@EXTRADEFS@%$EXTRADEFS%g
22510 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22511 s%@RESFLAGS@%$RESFLAGS%g
22512 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22513 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22514 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22515 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22516 s%@LIBWXMACRES@%$LIBWXMACRES%g
22517 s%@MACRESCOMP@%$MACRESCOMP%g
22518 s%@MACSETFILE@%$MACSETFILE%g
22519 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22521 s%@DLLTOOL@%$DLLTOOL%g
22525 s%@MAKEINFO@%$MAKEINFO%g
22526 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22527 s%@INSTALL_DIR@%$INSTALL_DIR%g
22528 s%@SET_MAKE@%$SET_MAKE%g
22529 s%@subdirs@%$subdirs%g
22534 cat >> $CONFIG_STATUS <<\EOF
22536 # Split the substitutions into bite-sized pieces for seds with
22537 # small command number limits, like on Digital OSF/1 and HP-UX.
22538 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22539 ac_file
=1 # Number of current file.
22540 ac_beg
=1 # First line for current file.
22541 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22544 while $ac_more_lines; do
22545 if test $ac_beg -gt 1; then
22546 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22548 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22550 if test ! -s conftest.s
$ac_file; then
22551 ac_more_lines
=false
22552 rm -f conftest.s
$ac_file
22554 if test -z "$ac_sed_cmds"; then
22555 ac_sed_cmds
="sed -f conftest.s$ac_file"
22557 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22559 ac_file
=`expr $ac_file + 1`
22561 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22564 if test -z "$ac_sed_cmds"; then
22569 cat >> $CONFIG_STATUS <<EOF
22571 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22579 cat >> $CONFIG_STATUS <<\EOF
22580 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22581 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22583 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22584 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22585 *) ac_file_in
="${ac_file}.in" ;;
22588 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22590 # Remove last slash and all that follows it. Not all systems have dirname.
22591 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22592 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22593 # The file is in a subdirectory.
22594 test ! -d "$ac_dir" && mkdir "$ac_dir"
22595 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22596 # A "../" for each directory in $ac_dir_suffix.
22597 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22599 ac_dir_suffix
= ac_dots
=
22602 case "$ac_given_srcdir" in
22604 if test -z "$ac_dots"; then top_srcdir
=.
22605 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22606 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22607 *) # Relative path.
22608 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22609 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22612 case "$ac_given_INSTALL" in
22613 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22614 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22617 echo creating
"$ac_file"
22619 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22621 *Makefile
*) ac_comsub
="1i\\
22622 # $configure_input" ;;
22626 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22628 s%@configure_input@%$configure_input%g
22629 s%@srcdir@%$srcdir%g
22630 s%@top_srcdir@%$top_srcdir%g
22631 s%@INSTALL@%$INSTALL%g
22632 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22636 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22637 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22639 # ac_d sets the value in "#define NAME VALUE" lines.
22640 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22641 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22644 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22645 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22646 ac_uB
='\([ ]\)%\1#\2define\3'
22649 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22650 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22651 ac_eB
='$%\1#\2define\3'
22655 if test "${CONFIG_HEADERS+set}" != set; then
22657 cat >> $CONFIG_STATUS <<EOF
22658 CONFIG_HEADERS="setup.h:setup.h.in"
22660 cat >> $CONFIG_STATUS <<\EOF
22662 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22663 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22665 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22666 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22667 *) ac_file_in
="${ac_file}.in" ;;
22670 echo creating
$ac_file
22672 rm -f conftest.frag conftest.
in conftest.out
22673 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22674 cat $ac_file_inputs > conftest.
in
22678 # Transform confdefs.h into a sed script conftest.vals that substitutes
22679 # the proper values into config.h.in to produce config.h. And first:
22680 # Protect against being on the right side of a sed subst in config.status.
22681 # Protect against being in an unquoted here document in config.status.
22682 rm -f conftest.vals
22683 cat > conftest.hdr
<<\EOF
22686 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22690 sed -n -f conftest.hdr confdefs.h > conftest.vals
22693 # This sed command replaces #undef with comments. This is necessary, for
22694 # example, in the case of _POSIX_SOURCE, which is predefined and required
22695 # on some systems where configure will not decide to define it.
22696 cat >> conftest.vals <<\EOF
22697 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22700 # Break up conftest.vals because some shells have a limit on
22701 # the size of here documents, and old seds have small limits too.
22703 rm -f conftest.tail
22706 ac_lines=`grep -c . conftest.vals
`
22707 # grep -c gives empty output for an empty file on some AIX systems.
22708 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22709 # Write a limited-size here document to conftest.frag.
22710 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22711 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22713 sed -f conftest.frag conftest.in > conftest.out
22715 mv conftest.out conftest.in
22716 ' >> $CONFIG_STATUS
22717 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22718 rm -f conftest.vals
22719 mv conftest.tail conftest.vals
22721 rm -f conftest.vals
22723 cat >> $CONFIG_STATUS <<\EOF
22724 rm -f conftest.frag conftest.h
22725 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22726 cat conftest.in >> conftest.h
22728 if cmp -s $ac_file conftest.h 2>/dev/null; then
22729 echo "$ac_file is unchanged"
22732 # Remove last slash and all that follows it. Not all systems have dirname.
22733 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22734 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22735 # The file is in a subdirectory.
22736 test ! -d "$ac_dir" && mkdir "$ac_dir"
22739 mv conftest.h $ac_file
22744 cat >> $CONFIG_STATUS <<EOF
22746 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22751 cat >> $CONFIG_STATUS <<\EOF
22753 if test ! -h wx-config; then
22755 mv wx-config wx${TOOLCHAIN_NAME}-config
22756 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22759 if test ! -d lib; then
22762 if test ! -d lib/wx; then
22765 if test ! -d lib/wx/include; then
22766 mkdir lib/wx/include
22768 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22769 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22771 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22772 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
22774 if test -f setup.h; then
22775 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
22780 chmod +x $CONFIG_STATUS
22781 rm -fr confdefs* $ac_clean_files
22782 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
22784 if test "$no_recursion" != yes; then
22786 # Remove --cache-file and --srcdir arguments so they do not pile up.
22787 ac_sub_configure_args=
22789 for ac_arg in $ac_configure_args; do
22790 if test -n "$ac_prev"; then
22795 -cache-file | --cache-file | --cache-fil | --cache-fi \
22796 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
22797 ac_prev=cache_file ;;
22798 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
22799 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
22801 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
22803 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
22805 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
22809 for ac_config_dir in demos samples utils contrib; do
22811 # Do not complain, so a configure script can configure whichever
22812 # parts of a large source tree are present.
22813 if test ! -d $srcdir/$ac_config_dir; then
22817 echo configuring in $ac_config_dir
22822 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
22824 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
22832 # A "../" for each directory in /$ac_config_dir.
22833 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
22836 .) # No --srcdir option. We are building in place.
22837 ac_sub_srcdir=$srcdir ;;
22838 /*) # Absolute path.
22839 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
22840 *) # Relative path.
22841 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
22844 # Check for guested configure; otherwise get Cygnus style configure.
22845 if test -f $ac_sub_srcdir/configure; then
22846 ac_sub_configure=$ac_sub_srcdir/configure
22847 elif test -f $ac_sub_srcdir/configure.in; then
22848 ac_sub_configure=$ac_configure
22850 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
22854 # The recursion is here.
22855 if test -n "$ac_sub_configure"; then
22857 # Make the cache file name correct relative to the subdirectory.
22858 case "$cache_file" in
22859 /*) ac_sub_cache_file=$cache_file ;;
22860 *) # Relative path.
22861 ac_sub_cache_file="$ac_dots$cache_file" ;;
22863 case "$ac_given_INSTALL" in
22864 [/$]*) INSTALL="$ac_given_INSTALL" ;;
22865 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
22868 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
22869 # The eval makes quoting arguments work.
22870 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
22873 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
22883 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
22885 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
22887 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
22888 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
22889 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
22891 echo " What level of wxWindows compatibility should be enabled?"
22892 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
22893 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
22894 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
22896 echo " Which libraries should wxWindows use?"
22897 echo " jpeg ${wxUSE_LIBJPEG-none}"
22898 echo " png ${wxUSE_LIBPNG-none}"
22899 echo " regex ${wxUSE_REGEX}"
22900 echo " tiff ${wxUSE_LIBTIFF-none}"
22901 echo " zlib ${wxUSE_ZLIB}"