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
1124 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1126 ALL_TOOLKITS
="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1128 DEFAULT_wxUSE_COCOA
=0
1132 DEFAULT_wxUSE_MICROWIN
=0
1133 DEFAULT_wxUSE_MOTIF
=0
1138 DEFAULT_DEFAULT_wxUSE_COCOA
=0
1139 DEFAULT_DEFAULT_wxUSE_GTK
=0
1140 DEFAULT_DEFAULT_wxUSE_MAC
=0
1141 DEFAULT_DEFAULT_wxUSE_MGL
=0
1142 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1143 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1144 DEFAULT_DEFAULT_wxUSE_MSW
=0
1145 DEFAULT_DEFAULT_wxUSE_PM
=0
1146 DEFAULT_DEFAULT_wxUSE_X11
=0
1154 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1155 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1157 cat >> confdefs.h
<<\EOF
1164 cat >> confdefs.h
<<\EOF
1169 if test "x$TMP" = "xalpha"; then
1171 cat >> confdefs.h
<<\EOF
1176 DEFAULT_DEFAULT_wxUSE_GTK
=1
1178 *-*-irix5* | *-*-irix6* )
1181 cat >> confdefs.h
<<\EOF
1185 cat >> confdefs.h
<<\EOF
1189 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1195 cat >> confdefs.h
<<\EOF
1199 cat >> confdefs.h
<<\EOF
1200 #define __SOLARIS__ 1
1203 cat >> confdefs.h
<<\EOF
1207 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1208 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1214 cat >> confdefs.h
<<\EOF
1218 cat >> confdefs.h
<<\EOF
1222 cat >> confdefs.h
<<\EOF
1226 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1231 cat >> confdefs.h
<<\EOF
1232 #define __FREEBSD__ 1
1235 cat >> confdefs.h
<<\EOF
1239 DEFAULT_DEFAULT_wxUSE_GTK
=1
1244 cat >> confdefs.h
<<\EOF
1245 #define __OPENBSD__ 1
1248 cat >> confdefs.h
<<\EOF
1252 DEFAULT_DEFAULT_wxUSE_GTK
=1
1257 cat >> confdefs.h
<<\EOF
1258 #define __NETBSD__ 1
1261 cat >> confdefs.h
<<\EOF
1265 DEFAULT_DEFAULT_wxUSE_GTK
=1
1270 cat >> confdefs.h
<<\EOF
1274 cat >> confdefs.h
<<\EOF
1278 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1279 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1284 cat >> confdefs.h
<<\EOF
1288 cat >> confdefs.h
<<\EOF
1292 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1297 cat >> confdefs.h
<<\EOF
1301 cat >> confdefs.h
<<\EOF
1305 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1312 cat >> confdefs.h
<<\EOF
1316 cat >> confdefs.h
<<\EOF
1320 cat >> confdefs.h
<<\EOF
1324 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1331 cat >> confdefs.h
<<\EOF
1332 #define __UNIXWARE__ 1
1337 *-*-cygwin* | *-*-mingw32* )
1341 DEFAULT_DEFAULT_wxUSE_MSW
=1
1347 cat >> confdefs.h
<<\EOF
1352 DEFAULT_DEFAULT_wxUSE_MGL
=1
1353 LIBS
="$LIBS -lstdc++"
1356 *-pc-os2_emx | *-pc-os2-emx )
1357 cat >> confdefs.h
<<\EOF
1362 DEFAULT_DEFAULT_wxUSE_PM
=1
1369 cat >> confdefs.h
<<\EOF
1373 cat >> confdefs.h
<<\EOF
1374 #define __DARWIN__ 1
1377 cat >> confdefs.h
<<\EOF
1378 #define __POWERPC__ 1
1381 cat >> confdefs.h
<<\EOF
1382 #define TARGET_CARBON 1
1385 DEFAULT_DEFAULT_wxUSE_MAC
=1
1390 cat >> confdefs.h
<<\EOF
1397 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1403 wx_arg_cache_file
="configarg.cache"
1404 echo "loading argument cache $wx_arg_cache_file"
1405 rm -f ${wx_arg_cache_file}.tmp
1406 touch ${wx_arg_cache_file}.tmp
1407 touch ${wx_arg_cache_file}
1411 if test $DEBUG_CONFIGURE = 1; then
1412 DEFAULT_wxUSE_UNIVERSAL
=no
1414 DEFAULT_wxUSE_NANOX
=no
1416 DEFAULT_wxUSE_THREADS
=yes
1418 DEFAULT_wxUSE_SHARED
=yes
1419 DEFAULT_wxUSE_SONAME
=no
1420 DEFAULT_wxUSE_OPTIMISE
=no
1421 DEFAULT_wxUSE_PROFILE
=no
1422 DEFAULT_wxUSE_NO_DEPS
=no
1423 DEFAULT_wxUSE_NO_RTTI
=no
1424 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1425 DEFAULT_wxUSE_PERMISSIVE
=no
1426 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1427 DEFAULT_wxUSE_DEBUG_INFO
=yes
1428 DEFAULT_wxUSE_DEBUG_GDB
=yes
1429 DEFAULT_wxUSE_MEM_TRACING
=no
1430 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1431 DEFAULT_wxUSE_DMALLOC
=no
1432 DEFAULT_wxUSE_PRECOMP
=no
1433 DEFAULT_wxUSE_APPLE_IEEE
=no
1435 DEFAULT_wxUSE_LOG
=yes
1436 DEFAULT_wxUSE_LOGWINDOW
=no
1437 DEFAULT_wxUSE_LOGGUI
=no
1438 DEFAULT_wxUSE_LOGDIALOG
=no
1440 DEFAULT_wxUSE_GUI
=yes
1441 DEFAULT_wxUSE_CONTROLS
=no
1443 DEFAULT_wxUSE_REGEX
=no
1444 DEFAULT_wxUSE_ZLIB
=no
1445 DEFAULT_wxUSE_LIBPNG
=no
1446 DEFAULT_wxUSE_LIBJPEG
=no
1447 DEFAULT_wxUSE_LIBTIFF
=no
1448 DEFAULT_wxUSE_ODBC
=no
1449 DEFAULT_wxUSE_OPENGL
=no
1451 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1452 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1453 DEFAULT_wxUSE_STD_IOSTREAM
=no
1454 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1455 DEFAULT_wxUSE_DATETIME
=no
1456 DEFAULT_wxUSE_TIMER
=no
1457 DEFAULT_wxUSE_STOPWATCH
=no
1458 DEFAULT_wxUSE_FILE
=no
1459 DEFAULT_wxUSE_FFILE
=no
1460 DEFAULT_wxUSE_TEXTBUFFER
=no
1461 DEFAULT_wxUSE_TEXTFILE
=no
1462 DEFAULT_wxUSE_WAVE
=no
1463 DEFAULT_wxUSE_INTL
=no
1464 DEFAULT_wxUSE_CONFIG
=no
1465 DEFAULT_wxUSE_FONTMAP
=no
1466 DEFAULT_wxUSE_STREAMS
=no
1467 DEFAULT_wxUSE_SOCKETS
=no
1468 DEFAULT_wxUSE_OLE
=no
1469 DEFAULT_wxUSE_DATAOBJ
=no
1470 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1471 DEFAULT_wxUSE_JOYSTICK
=no
1472 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1473 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1474 DEFAULT_wxUSE_LONGLONG
=no
1475 DEFAULT_wxUSE_GEOMETRY
=no
1477 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1478 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1479 DEFAULT_wxUSE_POSTSCRIPT
=no
1481 DEFAULT_wxUSE_X_RESOURCES
=no
1482 DEFAULT_wxUSE_CLIPBOARD
=no
1483 DEFAULT_wxUSE_TOOLTIPS
=no
1484 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1485 DEFAULT_wxUSE_DRAGIMAGE
=no
1486 DEFAULT_wxUSE_SPLINES
=no
1488 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1489 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1490 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1492 DEFAULT_wxUSE_RESOURCES
=no
1493 DEFAULT_wxUSE_CONSTRAINTS
=no
1494 DEFAULT_wxUSE_IPC
=no
1495 DEFAULT_wxUSE_HELP
=no
1496 DEFAULT_wxUSE_MS_HTML_HELP
=no
1497 DEFAULT_wxUSE_WXHTML_HELP
=no
1498 DEFAULT_wxUSE_TREELAYOUT
=no
1499 DEFAULT_wxUSE_METAFILE
=no
1500 DEFAULT_wxUSE_MIMETYPE
=no
1501 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1502 DEFAULT_wxUSE_PROTOCOL
=no
1503 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1504 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1505 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1506 DEFAULT_wxUSE_URL
=no
1508 DEFAULT_wxUSE_COMMONDLGS
=no
1509 DEFAULT_wxUSE_CHOICEDLG
=no
1510 DEFAULT_wxUSE_COLOURDLG
=no
1511 DEFAULT_wxUSE_DIRDLG
=no
1512 DEFAULT_wxUSE_FILEDLG
=no
1513 DEFAULT_wxUSE_FINDREPLDLG
=no
1514 DEFAULT_wxUSE_FONTDLG
=no
1515 DEFAULT_wxUSE_MSGDLG
=no
1516 DEFAULT_wxUSE_NUMBERDLG
=no
1517 DEFAULT_wxUSE_TEXTDLG
=no
1518 DEFAULT_wxUSE_SPLASH
=no
1519 DEFAULT_wxUSE_STARTUP_TIPS
=no
1520 DEFAULT_wxUSE_PROGRESSDLG
=no
1521 DEFAULT_wxUSE_WIZARDDLG
=no
1523 DEFAULT_wxUSE_MENUS
=no
1524 DEFAULT_wxUSE_MINIFRAME
=no
1525 DEFAULT_wxUSE_HTML
=no
1526 DEFAULT_wxUSE_FILESYSTEM
=no
1527 DEFAULT_wxUSE_FS_INET
=no
1528 DEFAULT_wxUSE_FS_ZIP
=no
1529 DEFAULT_wxUSE_BUSYINFO
=no
1530 DEFAULT_wxUSE_ZIPSTREAM
=no
1531 DEFAULT_wxUSE_VALIDATORS
=no
1533 DEFAULT_wxUSE_ACCEL
=no
1534 DEFAULT_wxUSE_BUTTON
=no
1535 DEFAULT_wxUSE_BMPBUTTON
=no
1536 DEFAULT_wxUSE_CALCTRL
=no
1537 DEFAULT_wxUSE_CARET
=no
1538 DEFAULT_wxUSE_CHECKBOX
=no
1539 DEFAULT_wxUSE_CHECKLST
=no
1540 DEFAULT_wxUSE_CHOICE
=no
1541 DEFAULT_wxUSE_COMBOBOX
=no
1542 DEFAULT_wxUSE_DISPLAY
=no
1543 DEFAULT_wxUSE_GAUGE
=no
1544 DEFAULT_wxUSE_GRID
=no
1545 DEFAULT_wxUSE_IMAGLIST
=no
1546 DEFAULT_wxUSE_LISTBOX
=no
1547 DEFAULT_wxUSE_LISTCTRL
=no
1548 DEFAULT_wxUSE_NOTEBOOK
=no
1549 DEFAULT_wxUSE_RADIOBOX
=no
1550 DEFAULT_wxUSE_RADIOBTN
=no
1551 DEFAULT_wxUSE_SASH
=no
1552 DEFAULT_wxUSE_SCROLLBAR
=no
1553 DEFAULT_wxUSE_SLIDER
=no
1554 DEFAULT_wxUSE_SPINBTN
=no
1555 DEFAULT_wxUSE_SPINCTRL
=no
1556 DEFAULT_wxUSE_SPLITTER
=no
1557 DEFAULT_wxUSE_STATBMP
=no
1558 DEFAULT_wxUSE_STATBOX
=no
1559 DEFAULT_wxUSE_STATLINE
=no
1560 DEFAULT_wxUSE_STATTEXT
=no
1561 DEFAULT_wxUSE_STATUSBAR
=yes
1562 DEFAULT_wxUSE_TABDIALOG
=no
1563 DEFAULT_wxUSE_TEXTCTRL
=no
1564 DEFAULT_wxUSE_TOGGLEBTN
=no
1565 DEFAULT_wxUSE_TOOLBAR
=no
1566 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1567 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1568 DEFAULT_wxUSE_TREECTRL
=no
1569 DEFAULT_wxUSE_POPUPWIN
=no
1570 DEFAULT_wxUSE_TIPWINDOW
=no
1572 DEFAULT_wxUSE_UNICODE
=no
1573 DEFAULT_wxUSE_UNICODE_MSLU
=no
1574 DEFAULT_wxUSE_WCSRTOMBS
=no
1576 DEFAULT_wxUSE_PALETTE
=no
1577 DEFAULT_wxUSE_IMAGE
=no
1578 DEFAULT_wxUSE_GIF
=no
1579 DEFAULT_wxUSE_PCX
=no
1580 DEFAULT_wxUSE_PNM
=no
1581 DEFAULT_wxUSE_IFF
=no
1582 DEFAULT_wxUSE_XPM
=no
1583 DEFAULT_wxUSE_ICO_CUR
=no
1585 DEFAULT_wxUSE_UNIVERSAL
=no
1587 DEFAULT_wxUSE_NANOX
=no
1589 DEFAULT_wxUSE_THREADS
=yes
1591 DEFAULT_wxUSE_SHARED
=yes
1592 DEFAULT_wxUSE_SONAME
=no
1593 DEFAULT_wxUSE_OPTIMISE
=yes
1594 DEFAULT_wxUSE_PROFILE
=no
1595 DEFAULT_wxUSE_NO_DEPS
=no
1596 DEFAULT_wxUSE_NO_RTTI
=no
1597 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1598 DEFAULT_wxUSE_PERMISSIVE
=no
1599 DEFAULT_wxUSE_DEBUG_FLAG
=no
1600 DEFAULT_wxUSE_DEBUG_INFO
=no
1601 DEFAULT_wxUSE_DEBUG_GDB
=no
1602 DEFAULT_wxUSE_MEM_TRACING
=no
1603 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1604 DEFAULT_wxUSE_DMALLOC
=no
1605 DEFAULT_wxUSE_PRECOMP
=no
1606 DEFAULT_wxUSE_APPLE_IEEE
=yes
1608 DEFAULT_wxUSE_LOG
=yes
1609 DEFAULT_wxUSE_LOGWINDOW
=yes
1610 DEFAULT_wxUSE_LOGGUI
=yes
1611 DEFAULT_wxUSE_LOGDIALOG
=yes
1613 DEFAULT_wxUSE_GUI
=yes
1615 DEFAULT_wxUSE_REGEX
=yes
1616 DEFAULT_wxUSE_ZLIB
=yes
1617 DEFAULT_wxUSE_LIBPNG
=yes
1618 DEFAULT_wxUSE_LIBJPEG
=yes
1619 DEFAULT_wxUSE_LIBTIFF
=yes
1620 DEFAULT_wxUSE_ODBC
=no
1621 DEFAULT_wxUSE_OPENGL
=no
1623 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1624 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1625 DEFAULT_wxUSE_STD_IOSTREAM
=no
1626 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1627 DEFAULT_wxUSE_DATETIME
=yes
1628 DEFAULT_wxUSE_TIMER
=yes
1629 DEFAULT_wxUSE_STOPWATCH
=yes
1630 DEFAULT_wxUSE_FILE
=yes
1631 DEFAULT_wxUSE_FFILE
=yes
1632 DEFAULT_wxUSE_TEXTBUFFER
=yes
1633 DEFAULT_wxUSE_TEXTFILE
=yes
1634 DEFAULT_wxUSE_WAVE
=no
1635 DEFAULT_wxUSE_INTL
=yes
1636 DEFAULT_wxUSE_CONFIG
=yes
1637 DEFAULT_wxUSE_FONTMAP
=yes
1638 DEFAULT_wxUSE_STREAMS
=yes
1639 DEFAULT_wxUSE_SOCKETS
=yes
1640 DEFAULT_wxUSE_OLE
=yes
1641 DEFAULT_wxUSE_DATAOBJ
=yes
1642 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1643 DEFAULT_wxUSE_JOYSTICK
=yes
1644 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1645 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1646 DEFAULT_wxUSE_LONGLONG
=yes
1647 DEFAULT_wxUSE_GEOMETRY
=yes
1649 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1650 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1651 DEFAULT_wxUSE_POSTSCRIPT
=yes
1653 DEFAULT_wxUSE_X_RESOURCES
=no
1654 DEFAULT_wxUSE_CLIPBOARD
=yes
1655 DEFAULT_wxUSE_TOOLTIPS
=yes
1656 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1657 DEFAULT_wxUSE_DRAGIMAGE
=yes
1658 DEFAULT_wxUSE_SPLINES
=yes
1660 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1661 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1662 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1664 DEFAULT_wxUSE_RESOURCES
=no
1665 DEFAULT_wxUSE_CONSTRAINTS
=yes
1666 DEFAULT_wxUSE_IPC
=yes
1667 DEFAULT_wxUSE_HELP
=yes
1668 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1669 DEFAULT_wxUSE_WXHTML_HELP
=yes
1670 DEFAULT_wxUSE_TREELAYOUT
=yes
1671 DEFAULT_wxUSE_METAFILE
=yes
1672 DEFAULT_wxUSE_MIMETYPE
=yes
1673 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1674 DEFAULT_wxUSE_PROTOCOL
=yes
1675 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1676 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1677 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1678 DEFAULT_wxUSE_URL
=yes
1680 DEFAULT_wxUSE_COMMONDLGS
=yes
1681 DEFAULT_wxUSE_CHOICEDLG
=yes
1682 DEFAULT_wxUSE_COLOURDLG
=yes
1683 DEFAULT_wxUSE_DIRDLG
=yes
1684 DEFAULT_wxUSE_FILEDLG
=yes
1685 DEFAULT_wxUSE_FINDREPLDLG
=yes
1686 DEFAULT_wxUSE_FONTDLG
=yes
1687 DEFAULT_wxUSE_MSGDLG
=yes
1688 DEFAULT_wxUSE_NUMBERDLG
=yes
1689 DEFAULT_wxUSE_TEXTDLG
=yes
1690 DEFAULT_wxUSE_SPLASH
=yes
1691 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1692 DEFAULT_wxUSE_PROGRESSDLG
=yes
1693 DEFAULT_wxUSE_WIZARDDLG
=yes
1695 DEFAULT_wxUSE_MENUS
=yes
1696 DEFAULT_wxUSE_MINIFRAME
=yes
1697 DEFAULT_wxUSE_HTML
=yes
1698 DEFAULT_wxUSE_FILESYSTEM
=yes
1699 DEFAULT_wxUSE_FS_INET
=yes
1700 DEFAULT_wxUSE_FS_ZIP
=yes
1701 DEFAULT_wxUSE_BUSYINFO
=yes
1702 DEFAULT_wxUSE_ZIPSTREAM
=yes
1703 DEFAULT_wxUSE_VALIDATORS
=yes
1705 DEFAULT_wxUSE_ACCEL
=yes
1706 DEFAULT_wxUSE_BUTTON
=yes
1707 DEFAULT_wxUSE_BMPBUTTON
=yes
1708 DEFAULT_wxUSE_CALCTRL
=yes
1709 DEFAULT_wxUSE_CARET
=yes
1710 DEFAULT_wxUSE_CHECKBOX
=yes
1711 DEFAULT_wxUSE_CHECKLST
=yes
1712 DEFAULT_wxUSE_CHOICE
=yes
1713 DEFAULT_wxUSE_COMBOBOX
=yes
1714 DEFAULT_wxUSE_DISPLAY
=no
1715 DEFAULT_wxUSE_GAUGE
=yes
1716 DEFAULT_wxUSE_GRID
=yes
1717 DEFAULT_wxUSE_IMAGLIST
=yes
1718 DEFAULT_wxUSE_LISTBOX
=yes
1719 DEFAULT_wxUSE_LISTCTRL
=yes
1720 DEFAULT_wxUSE_NOTEBOOK
=yes
1721 DEFAULT_wxUSE_RADIOBOX
=yes
1722 DEFAULT_wxUSE_RADIOBTN
=yes
1723 DEFAULT_wxUSE_SASH
=yes
1724 DEFAULT_wxUSE_SCROLLBAR
=yes
1725 DEFAULT_wxUSE_SLIDER
=yes
1726 DEFAULT_wxUSE_SPINBTN
=yes
1727 DEFAULT_wxUSE_SPINCTRL
=yes
1728 DEFAULT_wxUSE_SPLITTER
=yes
1729 DEFAULT_wxUSE_STATBMP
=yes
1730 DEFAULT_wxUSE_STATBOX
=yes
1731 DEFAULT_wxUSE_STATLINE
=yes
1732 DEFAULT_wxUSE_STATTEXT
=yes
1733 DEFAULT_wxUSE_STATUSBAR
=yes
1734 DEFAULT_wxUSE_TABDIALOG
=no
1735 DEFAULT_wxUSE_TEXTCTRL
=yes
1736 DEFAULT_wxUSE_TOGGLEBTN
=yes
1737 DEFAULT_wxUSE_TOOLBAR
=yes
1738 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1739 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1740 DEFAULT_wxUSE_TREECTRL
=yes
1741 DEFAULT_wxUSE_POPUPWIN
=yes
1742 DEFAULT_wxUSE_TIPWINDOW
=yes
1744 DEFAULT_wxUSE_UNICODE
=no
1745 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1746 DEFAULT_wxUSE_WCSRTOMBS
=no
1748 DEFAULT_wxUSE_PALETTE
=yes
1749 DEFAULT_wxUSE_IMAGE
=yes
1750 DEFAULT_wxUSE_GIF
=yes
1751 DEFAULT_wxUSE_PCX
=yes
1752 DEFAULT_wxUSE_IFF
=no
1753 DEFAULT_wxUSE_PNM
=yes
1754 DEFAULT_wxUSE_XPM
=yes
1755 DEFAULT_wxUSE_ICO_CUR
=yes
1760 for toolkit
in `echo $ALL_TOOLKITS`; do
1761 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1762 if test "x$LINE" != "x" ; then
1763 has_toolkit_in_cache
=1
1764 eval "DEFAULT_$LINE"
1765 eval "CACHE_$toolkit=1"
1772 echo $ac_n "checking for --${enablestring:-enable}-gui""... $ac_c" 1>&6
1773 echo "configure:1774: checking for --${enablestring:-enable}-gui" >&5
1775 # Check whether --enable-gui or --disable-gui was given.
1776 if test "${enable_gui+set}" = set; then
1777 enableval
="$enable_gui"
1779 if test "$enableval" = yes; then
1780 ac_cv_use_gui
='wxUSE_GUI=yes'
1782 ac_cv_use_gui
='wxUSE_GUI=no'
1787 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1788 if test "x$LINE" != x
; then
1789 eval "DEFAULT_$LINE"
1794 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1799 eval "$ac_cv_use_gui"
1800 if test "$no_cache" != 1; then
1801 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1804 if test "$wxUSE_GUI" = yes; then
1805 echo "$ac_t""yes" 1>&6
1807 echo "$ac_t""no" 1>&6
1811 if test "$wxUSE_GUI" = "yes"; then
1815 echo $ac_n "checking for --${enablestring:-enable}-universal""... $ac_c" 1>&6
1816 echo "configure:1817: checking for --${enablestring:-enable}-universal" >&5
1818 # Check whether --enable-universal or --disable-universal was given.
1819 if test "${enable_universal+set}" = set; then
1820 enableval
="$enable_universal"
1822 if test "$enableval" = yes; then
1823 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1825 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1830 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1831 if test "x$LINE" != x
; then
1832 eval "DEFAULT_$LINE"
1837 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1842 eval "$ac_cv_use_universal"
1843 if test "$no_cache" != 1; then
1844 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1847 if test "$wxUSE_UNIVERSAL" = yes; then
1848 echo "$ac_t""yes" 1>&6
1850 echo "$ac_t""no" 1>&6
1853 # Check whether --with-gtk or --without-gtk was given.
1854 if test "${with_gtk+set}" = set; then
1856 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1859 # Check whether --with-motif or --without-motif was given.
1860 if test "${with_motif+set}" = set; then
1861 withval
="$with_motif"
1862 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1865 # Check whether --with-mac or --without-mac was given.
1866 if test "${with_mac+set}" = set; then
1868 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1871 # Check whether --with-cocoa or --without-cocoa was given.
1872 if test "${with_cocoa+set}" = set; then
1873 withval
="$with_cocoa"
1874 wxUSE_COCOA
="$withval" TOOLKIT_GIVEN
=1
1877 # Check whether --with-wine or --without-wine was given.
1878 if test "${with_wine+set}" = set; then
1879 withval
="$with_wine"
1880 wxUSE_WINE
="$withval" CACHE_WINE
=1
1883 # Check whether --with-msw or --without-msw was given.
1884 if test "${with_msw+set}" = set; then
1886 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1889 # Check whether --with-pm or --without-pm was given.
1890 if test "${with_pm+set}" = set; then
1892 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1895 # Check whether --with-mgl or --without-mgl was given.
1896 if test "${with_mgl+set}" = set; then
1898 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1901 # Check whether --with-microwin or --without-microwin was given.
1902 if test "${with_microwin+set}" = set; then
1903 withval
="$with_microwin"
1904 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1907 # Check whether --with-x11 or --without-x11 was given.
1908 if test "${with_x11+set}" = set; then
1910 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1915 echo $ac_n "checking for --${enablestring:-enable}-nanox""... $ac_c" 1>&6
1916 echo "configure:1917: checking for --${enablestring:-enable}-nanox" >&5
1918 # Check whether --enable-nanox or --disable-nanox was given.
1919 if test "${enable_nanox+set}" = set; then
1920 enableval
="$enable_nanox"
1922 if test "$enableval" = yes; then
1923 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1925 ac_cv_use_nanox
='wxUSE_NANOX=no'
1930 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1931 if test "x$LINE" != x
; then
1932 eval "DEFAULT_$LINE"
1937 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1942 eval "$ac_cv_use_nanox"
1943 if test "$no_cache" != 1; then
1944 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1947 if test "$wxUSE_NANOX" = yes; then
1948 echo "$ac_t""yes" 1>&6
1950 echo "$ac_t""no" 1>&6
1956 echo $ac_n "checking for --${enablestring:-enable}-gtk2""... $ac_c" 1>&6
1957 echo "configure:1958: checking for --${enablestring:-enable}-gtk2" >&5
1959 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1960 if test "${enable_gtk2+set}" = set; then
1961 enableval
="$enable_gtk2"
1963 if test "$enableval" = yes; then
1964 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1966 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1971 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1972 if test "x$LINE" != x
; then
1973 eval "DEFAULT_$LINE"
1978 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1983 eval "$ac_cv_use_gtk2"
1984 if test "$no_cache" != 1; then
1985 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1988 if test "$wxUSE_GTK2" = yes; then
1989 echo "$ac_t""yes" 1>&6
1991 echo "$ac_t""no" 1>&6
1996 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1997 echo "configure:1998: checking for --with-libpng" >&5
1999 # Check whether --with-libpng or --without-libpng was given.
2000 if test "${with_libpng+set}" = set; then
2001 withval
="$with_libpng"
2003 if test "$withval" = yes; then
2004 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
2005 elif test "$withval" = no
; then
2006 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
2007 elif test "$withval" = sys
; then
2008 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
2009 elif test "$withval" = builtin; then
2010 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
2012 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2017 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2018 if test "x$LINE" != x
; then
2019 eval "DEFAULT_$LINE"
2024 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2029 eval "$ac_cv_use_libpng"
2030 if test "$no_cache" != 1; then
2031 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2034 if test "$wxUSE_LIBPNG" = yes; then
2035 echo "$ac_t""yes" 1>&6
2036 elif test "$wxUSE_LIBPNG" = no
; then
2037 echo "$ac_t""no" 1>&6
2038 elif test "$wxUSE_LIBPNG" = sys
; then
2039 echo "$ac_t""system version" 1>&6
2040 elif test "$wxUSE_LIBPNG" = builtin; then
2041 echo "$ac_t""builtin version" 1>&6
2043 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2047 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2048 echo "configure:2049: checking for --with-libjpeg" >&5
2050 # Check whether --with-libjpeg or --without-libjpeg was given.
2051 if test "${with_libjpeg+set}" = set; then
2052 withval
="$with_libjpeg"
2054 if test "$withval" = yes; then
2055 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2056 elif test "$withval" = no
; then
2057 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2058 elif test "$withval" = sys
; then
2059 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2060 elif test "$withval" = builtin; then
2061 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2063 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2068 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2069 if test "x$LINE" != x
; then
2070 eval "DEFAULT_$LINE"
2075 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2080 eval "$ac_cv_use_libjpeg"
2081 if test "$no_cache" != 1; then
2082 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2085 if test "$wxUSE_LIBJPEG" = yes; then
2086 echo "$ac_t""yes" 1>&6
2087 elif test "$wxUSE_LIBJPEG" = no
; then
2088 echo "$ac_t""no" 1>&6
2089 elif test "$wxUSE_LIBJPEG" = sys
; then
2090 echo "$ac_t""system version" 1>&6
2091 elif test "$wxUSE_LIBJPEG" = builtin; then
2092 echo "$ac_t""builtin version" 1>&6
2094 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2098 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2099 echo "configure:2100: checking for --with-libtiff" >&5
2101 # Check whether --with-libtiff or --without-libtiff was given.
2102 if test "${with_libtiff+set}" = set; then
2103 withval
="$with_libtiff"
2105 if test "$withval" = yes; then
2106 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2107 elif test "$withval" = no
; then
2108 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2109 elif test "$withval" = sys
; then
2110 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2111 elif test "$withval" = builtin; then
2112 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2114 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2119 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2120 if test "x$LINE" != x
; then
2121 eval "DEFAULT_$LINE"
2126 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2131 eval "$ac_cv_use_libtiff"
2132 if test "$no_cache" != 1; then
2133 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2136 if test "$wxUSE_LIBTIFF" = yes; then
2137 echo "$ac_t""yes" 1>&6
2138 elif test "$wxUSE_LIBTIFF" = no
; then
2139 echo "$ac_t""no" 1>&6
2140 elif test "$wxUSE_LIBTIFF" = sys
; then
2141 echo "$ac_t""system version" 1>&6
2142 elif test "$wxUSE_LIBTIFF" = builtin; then
2143 echo "$ac_t""builtin version" 1>&6
2145 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2149 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2150 echo "configure:2151: checking for --with-opengl" >&5
2152 # Check whether --with-opengl or --without-opengl was given.
2153 if test "${with_opengl+set}" = set; then
2154 withval
="$with_opengl"
2156 if test "$withval" = yes; then
2157 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2159 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2164 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2165 if test "x$LINE" != x
; then
2166 eval "DEFAULT_$LINE"
2171 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2176 eval "$ac_cv_use_opengl"
2177 if test "$no_cache" != 1; then
2178 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2181 if test "$wxUSE_OPENGL" = yes; then
2182 echo "$ac_t""yes" 1>&6
2184 echo "$ac_t""no" 1>&6
2191 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2192 echo "configure:2193: checking for --with-dmalloc" >&5
2194 # Check whether --with-dmalloc or --without-dmalloc was given.
2195 if test "${with_dmalloc+set}" = set; then
2196 withval
="$with_dmalloc"
2198 if test "$withval" = yes; then
2199 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2201 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2206 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2207 if test "x$LINE" != x
; then
2208 eval "DEFAULT_$LINE"
2213 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2218 eval "$ac_cv_use_dmalloc"
2219 if test "$no_cache" != 1; then
2220 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2223 if test "$wxUSE_DMALLOC" = yes; then
2224 echo "$ac_t""yes" 1>&6
2226 echo "$ac_t""no" 1>&6
2230 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2231 echo "configure:2232: checking for --with-regex" >&5
2233 # Check whether --with-regex or --without-regex was given.
2234 if test "${with_regex+set}" = set; then
2235 withval
="$with_regex"
2237 if test "$withval" = yes; then
2238 ac_cv_use_regex
='wxUSE_REGEX=yes'
2239 elif test "$withval" = no
; then
2240 ac_cv_use_regex
='wxUSE_REGEX=no'
2241 elif test "$withval" = sys
; then
2242 ac_cv_use_regex
='wxUSE_REGEX=sys'
2243 elif test "$withval" = builtin; then
2244 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2246 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2251 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2252 if test "x$LINE" != x
; then
2253 eval "DEFAULT_$LINE"
2258 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2263 eval "$ac_cv_use_regex"
2264 if test "$no_cache" != 1; then
2265 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2268 if test "$wxUSE_REGEX" = yes; then
2269 echo "$ac_t""yes" 1>&6
2270 elif test "$wxUSE_REGEX" = no
; then
2271 echo "$ac_t""no" 1>&6
2272 elif test "$wxUSE_REGEX" = sys
; then
2273 echo "$ac_t""system version" 1>&6
2274 elif test "$wxUSE_REGEX" = builtin; then
2275 echo "$ac_t""builtin version" 1>&6
2277 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2281 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2282 echo "configure:2283: checking for --with-zlib" >&5
2284 # Check whether --with-zlib or --without-zlib was given.
2285 if test "${with_zlib+set}" = set; then
2286 withval
="$with_zlib"
2288 if test "$withval" = yes; then
2289 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2290 elif test "$withval" = no
; then
2291 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2292 elif test "$withval" = sys
; then
2293 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2294 elif test "$withval" = builtin; then
2295 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2297 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2302 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2303 if test "x$LINE" != x
; then
2304 eval "DEFAULT_$LINE"
2309 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2314 eval "$ac_cv_use_zlib"
2315 if test "$no_cache" != 1; then
2316 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2319 if test "$wxUSE_ZLIB" = yes; then
2320 echo "$ac_t""yes" 1>&6
2321 elif test "$wxUSE_ZLIB" = no
; then
2322 echo "$ac_t""no" 1>&6
2323 elif test "$wxUSE_ZLIB" = sys
; then
2324 echo "$ac_t""system version" 1>&6
2325 elif test "$wxUSE_ZLIB" = builtin; then
2326 echo "$ac_t""builtin version" 1>&6
2328 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2332 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2333 echo "configure:2334: checking for --with-odbc" >&5
2335 # Check whether --with-odbc or --without-odbc was given.
2336 if test "${with_odbc+set}" = set; then
2337 withval
="$with_odbc"
2339 if test "$withval" = yes; then
2340 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2342 ac_cv_use_odbc
='wxUSE_ODBC=no'
2347 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2348 if test "x$LINE" != x
; then
2349 eval "DEFAULT_$LINE"
2354 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2359 eval "$ac_cv_use_odbc"
2360 if test "$no_cache" != 1; then
2361 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2364 if test "$wxUSE_ODBC" = yes; then
2365 echo "$ac_t""yes" 1>&6
2367 echo "$ac_t""no" 1>&6
2374 echo $ac_n "checking for --${enablestring:-enable}-shared""... $ac_c" 1>&6
2375 echo "configure:2376: checking for --${enablestring:-enable}-shared" >&5
2377 # Check whether --enable-shared or --disable-shared was given.
2378 if test "${enable_shared+set}" = set; then
2379 enableval
="$enable_shared"
2381 if test "$enableval" = yes; then
2382 ac_cv_use_shared
='wxUSE_SHARED=yes'
2384 ac_cv_use_shared
='wxUSE_SHARED=no'
2389 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2390 if test "x$LINE" != x
; then
2391 eval "DEFAULT_$LINE"
2396 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2401 eval "$ac_cv_use_shared"
2402 if test "$no_cache" != 1; then
2403 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2406 if test "$wxUSE_SHARED" = yes; then
2407 echo "$ac_t""yes" 1>&6
2409 echo "$ac_t""no" 1>&6
2414 echo $ac_n "checking for --${enablestring:-enable}-soname""... $ac_c" 1>&6
2415 echo "configure:2416: checking for --${enablestring:-enable}-soname" >&5
2417 # Check whether --enable-soname or --disable-soname was given.
2418 if test "${enable_soname+set}" = set; then
2419 enableval
="$enable_soname"
2421 if test "$enableval" = yes; then
2422 ac_cv_use_soname
='wxUSE_SONAME=yes'
2424 ac_cv_use_soname
='wxUSE_SONAME=no'
2429 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x
; then
2431 eval "DEFAULT_$LINE"
2436 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2441 eval "$ac_cv_use_soname"
2442 if test "$no_cache" != 1; then
2443 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2446 if test "$wxUSE_SONAME" = yes; then
2447 echo "$ac_t""yes" 1>&6
2449 echo "$ac_t""no" 1>&6
2454 echo $ac_n "checking for --${enablestring:-enable}-optimise""... $ac_c" 1>&6
2455 echo "configure:2456: checking for --${enablestring:-enable}-optimise" >&5
2457 # Check whether --enable-optimise or --disable-optimise was given.
2458 if test "${enable_optimise+set}" = set; then
2459 enableval
="$enable_optimise"
2461 if test "$enableval" = yes; then
2462 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2464 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2469 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2470 if test "x$LINE" != x
; then
2471 eval "DEFAULT_$LINE"
2476 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2481 eval "$ac_cv_use_optimise"
2482 if test "$no_cache" != 1; then
2483 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2486 if test "$wxUSE_OPTIMISE" = yes; then
2487 echo "$ac_t""yes" 1>&6
2489 echo "$ac_t""no" 1>&6
2494 echo $ac_n "checking for --${enablestring:-enable}-debug""... $ac_c" 1>&6
2495 echo "configure:2496: checking for --${enablestring:-enable}-debug" >&5
2497 # Check whether --enable-debug or --disable-debug was given.
2498 if test "${enable_debug+set}" = set; then
2499 enableval
="$enable_debug"
2501 if test "$enableval" = yes; then
2502 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2504 ac_cv_use_debug
='wxUSE_DEBUG=no'
2509 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2510 if test "x$LINE" != x
; then
2511 eval "DEFAULT_$LINE"
2516 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2521 eval "$ac_cv_use_debug"
2522 if test "$no_cache" != 1; then
2523 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2526 if test "$wxUSE_DEBUG" = yes; then
2527 echo "$ac_t""yes" 1>&6
2529 echo "$ac_t""no" 1>&6
2535 echo $ac_n "checking for --${enablestring:-enable}-precomp""... $ac_c" 1>&6
2536 echo "configure:2537: checking for --${enablestring:-enable}-precomp" >&5
2538 # Check whether --enable-precomp or --disable-precomp was given.
2539 if test "${enable_precomp+set}" = set; then
2540 enableval
="$enable_precomp"
2542 if test "$enableval" = yes; then
2543 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2545 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2550 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2551 if test "x$LINE" != x
; then
2552 eval "DEFAULT_$LINE"
2557 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2562 eval "$ac_cv_use_precomp"
2563 if test "$no_cache" != 1; then
2564 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2567 if test "$wxUSE_PRECOMP" = yes; then
2568 echo "$ac_t""yes" 1>&6
2570 echo "$ac_t""no" 1>&6
2574 if test "$wxUSE_DEBUG" = "yes"; then
2575 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2576 DEFAULT_wxUSE_DEBUG_INFO
=yes
2577 elif test "$wxUSE_DEBUG" = "no"; then
2578 DEFAULT_wxUSE_DEBUG_FLAG
=no
2579 DEFAULT_wxUSE_DEBUG_INFO
=no
2584 echo $ac_n "checking for --${enablestring:-enable}-debug_flag""... $ac_c" 1>&6
2585 echo "configure:2586: checking for --${enablestring:-enable}-debug_flag" >&5
2587 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2588 if test "${enable_debug_flag+set}" = set; then
2589 enableval
="$enable_debug_flag"
2591 if test "$enableval" = yes; then
2592 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2594 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2599 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2600 if test "x$LINE" != x
; then
2601 eval "DEFAULT_$LINE"
2606 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2611 eval "$ac_cv_use_debug_flag"
2612 if test "$no_cache" != 1; then
2613 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2616 if test "$wxUSE_DEBUG_FLAG" = yes; then
2617 echo "$ac_t""yes" 1>&6
2619 echo "$ac_t""no" 1>&6
2624 echo $ac_n "checking for --${enablestring:-enable}-debug_info""... $ac_c" 1>&6
2625 echo "configure:2626: checking for --${enablestring:-enable}-debug_info" >&5
2627 # Check whether --enable-debug_info or --disable-debug_info was given.
2628 if test "${enable_debug_info+set}" = set; then
2629 enableval
="$enable_debug_info"
2631 if test "$enableval" = yes; then
2632 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2634 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2639 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2640 if test "x$LINE" != x
; then
2641 eval "DEFAULT_$LINE"
2646 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2651 eval "$ac_cv_use_debug_info"
2652 if test "$no_cache" != 1; then
2653 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2656 if test "$wxUSE_DEBUG_INFO" = yes; then
2657 echo "$ac_t""yes" 1>&6
2659 echo "$ac_t""no" 1>&6
2664 echo $ac_n "checking for --${enablestring:-enable}-debug_gdb""... $ac_c" 1>&6
2665 echo "configure:2666: checking for --${enablestring:-enable}-debug_gdb" >&5
2667 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2668 if test "${enable_debug_gdb+set}" = set; then
2669 enableval
="$enable_debug_gdb"
2671 if test "$enableval" = yes; then
2672 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2674 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2679 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2680 if test "x$LINE" != x
; then
2681 eval "DEFAULT_$LINE"
2686 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2691 eval "$ac_cv_use_debug_gdb"
2692 if test "$no_cache" != 1; then
2693 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2696 if test "$wxUSE_DEBUG_GDB" = yes; then
2697 echo "$ac_t""yes" 1>&6
2699 echo "$ac_t""no" 1>&6
2704 echo $ac_n "checking for --${enablestring:-enable}-debug_cntxt""... $ac_c" 1>&6
2705 echo "configure:2706: checking for --${enablestring:-enable}-debug_cntxt" >&5
2707 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2708 if test "${enable_debug_cntxt+set}" = set; then
2709 enableval
="$enable_debug_cntxt"
2711 if test "$enableval" = yes; then
2712 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2714 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2719 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2720 if test "x$LINE" != x
; then
2721 eval "DEFAULT_$LINE"
2726 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2731 eval "$ac_cv_use_debug_cntxt"
2732 if test "$no_cache" != 1; then
2733 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2736 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2737 echo "$ac_t""yes" 1>&6
2739 echo "$ac_t""no" 1>&6
2744 echo $ac_n "checking for --${enablestring:-enable}-mem_tracing""... $ac_c" 1>&6
2745 echo "configure:2746: checking for --${enablestring:-enable}-mem_tracing" >&5
2747 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2748 if test "${enable_mem_tracing+set}" = set; then
2749 enableval
="$enable_mem_tracing"
2751 if test "$enableval" = yes; then
2752 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2754 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2759 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x
; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2771 eval "$ac_cv_use_mem_tracing"
2772 if test "$no_cache" != 1; then
2773 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2776 if test "$wxUSE_MEM_TRACING" = yes; then
2777 echo "$ac_t""yes" 1>&6
2779 echo "$ac_t""no" 1>&6
2784 echo $ac_n "checking for --${enablestring:-enable}-profile""... $ac_c" 1>&6
2785 echo "configure:2786: checking for --${enablestring:-enable}-profile" >&5
2787 # Check whether --enable-profile or --disable-profile was given.
2788 if test "${enable_profile+set}" = set; then
2789 enableval
="$enable_profile"
2791 if test "$enableval" = yes; then
2792 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2794 ac_cv_use_profile
='wxUSE_PROFILE=no'
2799 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2800 if test "x$LINE" != x
; then
2801 eval "DEFAULT_$LINE"
2806 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2811 eval "$ac_cv_use_profile"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2816 if test "$wxUSE_PROFILE" = yes; then
2817 echo "$ac_t""yes" 1>&6
2819 echo "$ac_t""no" 1>&6
2824 echo $ac_n "checking for --${enablestring:-enable}-no_rtti""... $ac_c" 1>&6
2825 echo "configure:2826: checking for --${enablestring:-enable}-no_rtti" >&5
2827 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2828 if test "${enable_no_rtti+set}" = set; then
2829 enableval
="$enable_no_rtti"
2831 if test "$enableval" = yes; then
2832 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2834 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2839 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2840 if test "x$LINE" != x
; then
2841 eval "DEFAULT_$LINE"
2846 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2851 eval "$ac_cv_use_no_rtti"
2852 if test "$no_cache" != 1; then
2853 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2856 if test "$wxUSE_NO_RTTI" = yes; then
2857 echo "$ac_t""yes" 1>&6
2859 echo "$ac_t""no" 1>&6
2864 echo $ac_n "checking for --${enablestring:-enable}-no_exceptions""... $ac_c" 1>&6
2865 echo "configure:2866: checking for --${enablestring:-enable}-no_exceptions" >&5
2867 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2868 if test "${enable_no_exceptions+set}" = set; then
2869 enableval
="$enable_no_exceptions"
2871 if test "$enableval" = yes; then
2872 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2874 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2879 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2880 if test "x$LINE" != x
; then
2881 eval "DEFAULT_$LINE"
2886 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2891 eval "$ac_cv_use_no_exceptions"
2892 if test "$no_cache" != 1; then
2893 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2896 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2897 echo "$ac_t""yes" 1>&6
2899 echo "$ac_t""no" 1>&6
2904 echo $ac_n "checking for --${enablestring:-enable}-permissive""... $ac_c" 1>&6
2905 echo "configure:2906: checking for --${enablestring:-enable}-permissive" >&5
2907 # Check whether --enable-permissive or --disable-permissive was given.
2908 if test "${enable_permissive+set}" = set; then
2909 enableval
="$enable_permissive"
2911 if test "$enableval" = yes; then
2912 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2914 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2919 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2920 if test "x$LINE" != x
; then
2921 eval "DEFAULT_$LINE"
2926 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2931 eval "$ac_cv_use_permissive"
2932 if test "$no_cache" != 1; then
2933 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2936 if test "$wxUSE_PERMISSIVE" = yes; then
2937 echo "$ac_t""yes" 1>&6
2939 echo "$ac_t""no" 1>&6
2944 echo $ac_n "checking for --${enablestring:-enable}-no_deps""... $ac_c" 1>&6
2945 echo "configure:2946: checking for --${enablestring:-enable}-no_deps" >&5
2947 # Check whether --enable-no_deps or --disable-no_deps was given.
2948 if test "${enable_no_deps+set}" = set; then
2949 enableval
="$enable_no_deps"
2951 if test "$enableval" = yes; then
2952 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2954 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2959 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x
; then
2961 eval "DEFAULT_$LINE"
2966 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2971 eval "$ac_cv_use_no_deps"
2972 if test "$no_cache" != 1; then
2973 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2976 if test "$wxUSE_NO_DEPS" = yes; then
2977 echo "$ac_t""yes" 1>&6
2979 echo "$ac_t""no" 1>&6
2985 echo $ac_n "checking for --${enablestring:-enable}-compat20""... $ac_c" 1>&6
2986 echo "configure:2987: checking for --${enablestring:-enable}-compat20" >&5
2988 # Check whether --enable-compat20 or --disable-compat20 was given.
2989 if test "${enable_compat20+set}" = set; then
2990 enableval
="$enable_compat20"
2992 if test "$enableval" = yes; then
2993 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2995 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
3000 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
3001 if test "x$LINE" != x
; then
3002 eval "DEFAULT_$LINE"
3007 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
3012 eval "$ac_cv_use_compat20"
3013 if test "$no_cache" != 1; then
3014 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
3017 if test "$WXWIN_COMPATIBILITY_2" = yes; then
3018 echo "$ac_t""yes" 1>&6
3020 echo "$ac_t""no" 1>&6
3025 echo $ac_n "checking for --${enablestring:-enable}-compat22""... $ac_c" 1>&6
3026 echo "configure:3027: checking for --${enablestring:-enable}-compat22" >&5
3028 # Check whether --enable-compat22 or --disable-compat22 was given.
3029 if test "${enable_compat22+set}" = set; then
3030 enableval
="$enable_compat22"
3032 if test "$enableval" = yes; then
3033 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3035 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3040 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3041 if test "x$LINE" != x
; then
3042 eval "DEFAULT_$LINE"
3047 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3052 eval "$ac_cv_use_compat22"
3053 if test "$no_cache" != 1; then
3054 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3057 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3058 echo "$ac_t""yes" 1>&6
3060 echo "$ac_t""no" 1>&6
3064 enablestring
=disable
3065 echo $ac_n "checking for --${enablestring:-enable}-compat24""... $ac_c" 1>&6
3066 echo "configure:3067: checking for --${enablestring:-enable}-compat24" >&5
3068 # Check whether --enable-compat24 or --disable-compat24 was given.
3069 if test "${enable_compat24+set}" = set; then
3070 enableval
="$enable_compat24"
3072 if test "$enableval" = yes; then
3073 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=yes'
3075 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4=no'
3080 LINE
=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
3081 if test "x$LINE" != x
; then
3082 eval "DEFAULT_$LINE"
3087 ac_cv_use_compat24
='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
3092 eval "$ac_cv_use_compat24"
3093 if test "$no_cache" != 1; then
3094 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
3097 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
3098 echo "$ac_t""yes" 1>&6
3100 echo "$ac_t""no" 1>&6
3104 # Check whether --enable-rpath or --disable-rpath was given.
3105 if test "${enable_rpath+set}" = set; then
3106 enableval
="$enable_rpath"
3107 wxRPATH_DIR
="$enableval"
3111 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3112 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3119 echo $ac_n "checking for --${enablestring:-enable}-intl""... $ac_c" 1>&6
3120 echo "configure:3121: checking for --${enablestring:-enable}-intl" >&5
3122 # Check whether --enable-intl or --disable-intl was given.
3123 if test "${enable_intl+set}" = set; then
3124 enableval
="$enable_intl"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_intl
='wxUSE_INTL=yes'
3129 ac_cv_use_intl
='wxUSE_INTL=no'
3134 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3146 eval "$ac_cv_use_intl"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_INTL" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3159 echo $ac_n "checking for --${enablestring:-enable}-config""... $ac_c" 1>&6
3160 echo "configure:3161: checking for --${enablestring:-enable}-config" >&5
3162 # Check whether --enable-config or --disable-config was given.
3163 if test "${enable_config+set}" = set; then
3164 enableval
="$enable_config"
3166 if test "$enableval" = yes; then
3167 ac_cv_use_config
='wxUSE_CONFIG=yes'
3169 ac_cv_use_config
='wxUSE_CONFIG=no'
3174 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3175 if test "x$LINE" != x
; then
3176 eval "DEFAULT_$LINE"
3181 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3186 eval "$ac_cv_use_config"
3187 if test "$no_cache" != 1; then
3188 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3191 if test "$wxUSE_CONFIG" = yes; then
3192 echo "$ac_t""yes" 1>&6
3194 echo "$ac_t""no" 1>&6
3200 echo $ac_n "checking for --${enablestring:-enable}-protocols""... $ac_c" 1>&6
3201 echo "configure:3202: checking for --${enablestring:-enable}-protocols" >&5
3203 # Check whether --enable-protocols or --disable-protocols was given.
3204 if test "${enable_protocols+set}" = set; then
3205 enableval
="$enable_protocols"
3207 if test "$enableval" = yes; then
3208 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3210 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3215 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x
; then
3217 eval "DEFAULT_$LINE"
3222 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3227 eval "$ac_cv_use_protocols"
3228 if test "$no_cache" != 1; then
3229 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3232 if test "$wxUSE_PROTOCOL" = yes; then
3233 echo "$ac_t""yes" 1>&6
3235 echo "$ac_t""no" 1>&6
3240 echo $ac_n "checking for --${enablestring:-enable}-ftp""... $ac_c" 1>&6
3241 echo "configure:3242: checking for --${enablestring:-enable}-ftp" >&5
3243 # Check whether --enable-ftp or --disable-ftp was given.
3244 if test "${enable_ftp+set}" = set; then
3245 enableval
="$enable_ftp"
3247 if test "$enableval" = yes; then
3248 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3250 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3255 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3256 if test "x$LINE" != x
; then
3257 eval "DEFAULT_$LINE"
3262 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3267 eval "$ac_cv_use_ftp"
3268 if test "$no_cache" != 1; then
3269 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3272 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3273 echo "$ac_t""yes" 1>&6
3275 echo "$ac_t""no" 1>&6
3280 echo $ac_n "checking for --${enablestring:-enable}-http""... $ac_c" 1>&6
3281 echo "configure:3282: checking for --${enablestring:-enable}-http" >&5
3283 # Check whether --enable-http or --disable-http was given.
3284 if test "${enable_http+set}" = set; then
3285 enableval
="$enable_http"
3287 if test "$enableval" = yes; then
3288 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3290 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3295 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3296 if test "x$LINE" != x
; then
3297 eval "DEFAULT_$LINE"
3302 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3307 eval "$ac_cv_use_http"
3308 if test "$no_cache" != 1; then
3309 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3312 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3313 echo "$ac_t""yes" 1>&6
3315 echo "$ac_t""no" 1>&6
3320 echo $ac_n "checking for --${enablestring:-enable}-fileproto""... $ac_c" 1>&6
3321 echo "configure:3322: checking for --${enablestring:-enable}-fileproto" >&5
3323 # Check whether --enable-fileproto or --disable-fileproto was given.
3324 if test "${enable_fileproto+set}" = set; then
3325 enableval
="$enable_fileproto"
3327 if test "$enableval" = yes; then
3328 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3330 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3335 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x
; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3347 eval "$ac_cv_use_fileproto"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3353 echo "$ac_t""yes" 1>&6
3355 echo "$ac_t""no" 1>&6
3360 echo $ac_n "checking for --${enablestring:-enable}-sockets""... $ac_c" 1>&6
3361 echo "configure:3362: checking for --${enablestring:-enable}-sockets" >&5
3363 # Check whether --enable-sockets or --disable-sockets was given.
3364 if test "${enable_sockets+set}" = set; then
3365 enableval
="$enable_sockets"
3367 if test "$enableval" = yes; then
3368 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3370 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3375 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3376 if test "x$LINE" != x
; then
3377 eval "DEFAULT_$LINE"
3382 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3387 eval "$ac_cv_use_sockets"
3388 if test "$no_cache" != 1; then
3389 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3392 if test "$wxUSE_SOCKETS" = yes; then
3393 echo "$ac_t""yes" 1>&6
3395 echo "$ac_t""no" 1>&6
3400 echo $ac_n "checking for --${enablestring:-enable}-ole""... $ac_c" 1>&6
3401 echo "configure:3402: checking for --${enablestring:-enable}-ole" >&5
3403 # Check whether --enable-ole or --disable-ole was given.
3404 if test "${enable_ole+set}" = set; then
3405 enableval
="$enable_ole"
3407 if test "$enableval" = yes; then
3408 ac_cv_use_ole
='wxUSE_OLE=yes'
3410 ac_cv_use_ole
='wxUSE_OLE=no'
3415 LINE
=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
3416 if test "x$LINE" != x
; then
3417 eval "DEFAULT_$LINE"
3422 ac_cv_use_ole
='wxUSE_OLE='$DEFAULT_wxUSE_OLE
3427 eval "$ac_cv_use_ole"
3428 if test "$no_cache" != 1; then
3429 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
3432 if test "$wxUSE_OLE" = yes; then
3433 echo "$ac_t""yes" 1>&6
3435 echo "$ac_t""no" 1>&6
3440 echo $ac_n "checking for --${enablestring:-enable}-dataobj""... $ac_c" 1>&6
3441 echo "configure:3442: checking for --${enablestring:-enable}-dataobj" >&5
3443 # Check whether --enable-dataobj or --disable-dataobj was given.
3444 if test "${enable_dataobj+set}" = set; then
3445 enableval
="$enable_dataobj"
3447 if test "$enableval" = yes; then
3448 ac_cv_use_dataobj
='wxUSE_DATAOBJ=yes'
3450 ac_cv_use_dataobj
='wxUSE_DATAOBJ=no'
3455 LINE
=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x
; then
3457 eval "DEFAULT_$LINE"
3462 ac_cv_use_dataobj
='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
3467 eval "$ac_cv_use_dataobj"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_DATAOBJ" = yes; then
3473 echo "$ac_t""yes" 1>&6
3475 echo "$ac_t""no" 1>&6
3481 echo $ac_n "checking for --${enablestring:-enable}-ipc""... $ac_c" 1>&6
3482 echo "configure:3483: checking for --${enablestring:-enable}-ipc" >&5
3484 # Check whether --enable-ipc or --disable-ipc was given.
3485 if test "${enable_ipc+set}" = set; then
3486 enableval
="$enable_ipc"
3488 if test "$enableval" = yes; then
3489 ac_cv_use_ipc
='wxUSE_IPC=yes'
3491 ac_cv_use_ipc
='wxUSE_IPC=no'
3496 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3497 if test "x$LINE" != x
; then
3498 eval "DEFAULT_$LINE"
3503 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3508 eval "$ac_cv_use_ipc"
3509 if test "$no_cache" != 1; then
3510 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3513 if test "$wxUSE_IPC" = yes; then
3514 echo "$ac_t""yes" 1>&6
3516 echo "$ac_t""no" 1>&6
3522 echo $ac_n "checking for --${enablestring:-enable}-cmdline""... $ac_c" 1>&6
3523 echo "configure:3524: checking for --${enablestring:-enable}-cmdline" >&5
3525 # Check whether --enable-cmdline or --disable-cmdline was given.
3526 if test "${enable_cmdline+set}" = set; then
3527 enableval
="$enable_cmdline"
3529 if test "$enableval" = yes; then
3530 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3532 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3537 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3538 if test "x$LINE" != x
; then
3539 eval "DEFAULT_$LINE"
3544 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3549 eval "$ac_cv_use_cmdline"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3555 echo "$ac_t""yes" 1>&6
3557 echo "$ac_t""no" 1>&6
3562 echo $ac_n "checking for --${enablestring:-enable}-datetime""... $ac_c" 1>&6
3563 echo "configure:3564: checking for --${enablestring:-enable}-datetime" >&5
3565 # Check whether --enable-datetime or --disable-datetime was given.
3566 if test "${enable_datetime+set}" = set; then
3567 enableval
="$enable_datetime"
3569 if test "$enableval" = yes; then
3570 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3572 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3577 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3578 if test "x$LINE" != x
; then
3579 eval "DEFAULT_$LINE"
3584 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3589 eval "$ac_cv_use_datetime"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3594 if test "$wxUSE_DATETIME" = yes; then
3595 echo "$ac_t""yes" 1>&6
3597 echo "$ac_t""no" 1>&6
3602 echo $ac_n "checking for --${enablestring:-enable}-stopwatch""... $ac_c" 1>&6
3603 echo "configure:3604: checking for --${enablestring:-enable}-stopwatch" >&5
3605 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3606 if test "${enable_stopwatch+set}" = set; then
3607 enableval
="$enable_stopwatch"
3609 if test "$enableval" = yes; then
3610 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3612 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3617 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3618 if test "x$LINE" != x
; then
3619 eval "DEFAULT_$LINE"
3624 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3629 eval "$ac_cv_use_stopwatch"
3630 if test "$no_cache" != 1; then
3631 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3634 if test "$wxUSE_STOPWATCH" = yes; then
3635 echo "$ac_t""yes" 1>&6
3637 echo "$ac_t""no" 1>&6
3642 echo $ac_n "checking for --${enablestring:-enable}-dialupman""... $ac_c" 1>&6
3643 echo "configure:3644: checking for --${enablestring:-enable}-dialupman" >&5
3645 # Check whether --enable-dialupman or --disable-dialupman was given.
3646 if test "${enable_dialupman+set}" = set; then
3647 enableval
="$enable_dialupman"
3649 if test "$enableval" = yes; then
3650 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3652 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3657 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3658 if test "x$LINE" != x
; then
3659 eval "DEFAULT_$LINE"
3664 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3669 eval "$ac_cv_use_dialupman"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3674 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3675 echo "$ac_t""yes" 1>&6
3677 echo "$ac_t""no" 1>&6
3682 echo $ac_n "checking for --${enablestring:-enable}-apple_ieee""... $ac_c" 1>&6
3683 echo "configure:3684: checking for --${enablestring:-enable}-apple_ieee" >&5
3685 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3686 if test "${enable_apple_ieee+set}" = set; then
3687 enableval
="$enable_apple_ieee"
3689 if test "$enableval" = yes; then
3690 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3692 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3697 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3698 if test "x$LINE" != x
; then
3699 eval "DEFAULT_$LINE"
3704 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3709 eval "$ac_cv_use_apple_ieee"
3710 if test "$no_cache" != 1; then
3711 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3714 if test "$wxUSE_APPLE_IEEE" = yes; then
3715 echo "$ac_t""yes" 1>&6
3717 echo "$ac_t""no" 1>&6
3722 echo $ac_n "checking for --${enablestring:-enable}-timer""... $ac_c" 1>&6
3723 echo "configure:3724: checking for --${enablestring:-enable}-timer" >&5
3725 # Check whether --enable-timer or --disable-timer was given.
3726 if test "${enable_timer+set}" = set; then
3727 enableval
="$enable_timer"
3729 if test "$enableval" = yes; then
3730 ac_cv_use_timer
='wxUSE_TIMER=yes'
3732 ac_cv_use_timer
='wxUSE_TIMER=no'
3737 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3738 if test "x$LINE" != x
; then
3739 eval "DEFAULT_$LINE"
3744 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3749 eval "$ac_cv_use_timer"
3750 if test "$no_cache" != 1; then
3751 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3754 if test "$wxUSE_TIMER" = yes; then
3755 echo "$ac_t""yes" 1>&6
3757 echo "$ac_t""no" 1>&6
3762 echo $ac_n "checking for --${enablestring:-enable}-wave""... $ac_c" 1>&6
3763 echo "configure:3764: checking for --${enablestring:-enable}-wave" >&5
3765 # Check whether --enable-wave or --disable-wave was given.
3766 if test "${enable_wave+set}" = set; then
3767 enableval
="$enable_wave"
3769 if test "$enableval" = yes; then
3770 ac_cv_use_wave
='wxUSE_WAVE=yes'
3772 ac_cv_use_wave
='wxUSE_WAVE=no'
3777 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3778 if test "x$LINE" != x
; then
3779 eval "DEFAULT_$LINE"
3784 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3789 eval "$ac_cv_use_wave"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3794 if test "$wxUSE_WAVE" = yes; then
3795 echo "$ac_t""yes" 1>&6
3797 echo "$ac_t""no" 1>&6
3802 echo $ac_n "checking for --${enablestring:-enable}-fraction""... $ac_c" 1>&6
3803 echo "configure:3804: checking for --${enablestring:-enable}-fraction" >&5
3805 # Check whether --enable-fraction or --disable-fraction was given.
3806 if test "${enable_fraction+set}" = set; then
3807 enableval
="$enable_fraction"
3809 if test "$enableval" = yes; then
3810 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3812 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3817 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x
; then
3819 eval "DEFAULT_$LINE"
3824 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3829 eval "$ac_cv_use_fraction"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3834 if test "$wxUSE_FRACTION" = yes; then
3835 echo "$ac_t""yes" 1>&6
3837 echo "$ac_t""no" 1>&6
3842 echo $ac_n "checking for --${enablestring:-enable}-dynlib""... $ac_c" 1>&6
3843 echo "configure:3844: checking for --${enablestring:-enable}-dynlib" >&5
3845 # Check whether --enable-dynlib or --disable-dynlib was given.
3846 if test "${enable_dynlib+set}" = set; then
3847 enableval
="$enable_dynlib"
3849 if test "$enableval" = yes; then
3850 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3852 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3857 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3858 if test "x$LINE" != x
; then
3859 eval "DEFAULT_$LINE"
3864 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3869 eval "$ac_cv_use_dynlib"
3870 if test "$no_cache" != 1; then
3871 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3874 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3875 echo "$ac_t""yes" 1>&6
3877 echo "$ac_t""no" 1>&6
3882 echo $ac_n "checking for --${enablestring:-enable}-dynamicloader""... $ac_c" 1>&6
3883 echo "configure:3884: checking for --${enablestring:-enable}-dynamicloader" >&5
3885 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3886 if test "${enable_dynamicloader+set}" = set; then
3887 enableval
="$enable_dynamicloader"
3889 if test "$enableval" = yes; then
3890 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3892 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3897 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3898 if test "x$LINE" != x
; then
3899 eval "DEFAULT_$LINE"
3904 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3909 eval "$ac_cv_use_dynamicloader"
3910 if test "$no_cache" != 1; then
3911 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3914 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3915 echo "$ac_t""yes" 1>&6
3917 echo "$ac_t""no" 1>&6
3922 echo $ac_n "checking for --${enablestring:-enable}-longlong""... $ac_c" 1>&6
3923 echo "configure:3924: checking for --${enablestring:-enable}-longlong" >&5
3925 # Check whether --enable-longlong or --disable-longlong was given.
3926 if test "${enable_longlong+set}" = set; then
3927 enableval
="$enable_longlong"
3929 if test "$enableval" = yes; then
3930 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3932 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3937 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3938 if test "x$LINE" != x
; then
3939 eval "DEFAULT_$LINE"
3944 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3949 eval "$ac_cv_use_longlong"
3950 if test "$no_cache" != 1; then
3951 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3954 if test "$wxUSE_LONGLONG" = yes; then
3955 echo "$ac_t""yes" 1>&6
3957 echo "$ac_t""no" 1>&6
3962 echo $ac_n "checking for --${enablestring:-enable}-geometry""... $ac_c" 1>&6
3963 echo "configure:3964: checking for --${enablestring:-enable}-geometry" >&5
3965 # Check whether --enable-geometry or --disable-geometry was given.
3966 if test "${enable_geometry+set}" = set; then
3967 enableval
="$enable_geometry"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3972 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3977 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x
; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3989 eval "$ac_cv_use_geometry"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3994 if test "$wxUSE_GEOMETRY" = yes; then
3995 echo "$ac_t""yes" 1>&6
3997 echo "$ac_t""no" 1>&6
4002 echo $ac_n "checking for --${enablestring:-enable}-log""... $ac_c" 1>&6
4003 echo "configure:4004: checking for --${enablestring:-enable}-log" >&5
4005 # Check whether --enable-log or --disable-log was given.
4006 if test "${enable_log+set}" = set; then
4007 enableval
="$enable_log"
4009 if test "$enableval" = yes; then
4010 ac_cv_use_log
='wxUSE_LOG=yes'
4012 ac_cv_use_log
='wxUSE_LOG=no'
4017 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
4018 if test "x$LINE" != x
; then
4019 eval "DEFAULT_$LINE"
4024 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
4029 eval "$ac_cv_use_log"
4030 if test "$no_cache" != 1; then
4031 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
4034 if test "$wxUSE_LOG" = yes; then
4035 echo "$ac_t""yes" 1>&6
4037 echo "$ac_t""no" 1>&6
4042 echo $ac_n "checking for --${enablestring:-enable}-streams""... $ac_c" 1>&6
4043 echo "configure:4044: checking for --${enablestring:-enable}-streams" >&5
4045 # Check whether --enable-streams or --disable-streams was given.
4046 if test "${enable_streams+set}" = set; then
4047 enableval
="$enable_streams"
4049 if test "$enableval" = yes; then
4050 ac_cv_use_streams
='wxUSE_STREAMS=yes'
4052 ac_cv_use_streams
='wxUSE_STREAMS=no'
4057 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
4058 if test "x$LINE" != x
; then
4059 eval "DEFAULT_$LINE"
4064 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
4069 eval "$ac_cv_use_streams"
4070 if test "$no_cache" != 1; then
4071 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
4074 if test "$wxUSE_STREAMS" = yes; then
4075 echo "$ac_t""yes" 1>&6
4077 echo "$ac_t""no" 1>&6
4082 echo $ac_n "checking for --${enablestring:-enable}-file""... $ac_c" 1>&6
4083 echo "configure:4084: checking for --${enablestring:-enable}-file" >&5
4085 # Check whether --enable-file or --disable-file was given.
4086 if test "${enable_file+set}" = set; then
4087 enableval
="$enable_file"
4089 if test "$enableval" = yes; then
4090 ac_cv_use_file
='wxUSE_FILE=yes'
4092 ac_cv_use_file
='wxUSE_FILE=no'
4097 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
4098 if test "x$LINE" != x
; then
4099 eval "DEFAULT_$LINE"
4104 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
4109 eval "$ac_cv_use_file"
4110 if test "$no_cache" != 1; then
4111 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
4114 if test "$wxUSE_FILE" = yes; then
4115 echo "$ac_t""yes" 1>&6
4117 echo "$ac_t""no" 1>&6
4122 echo $ac_n "checking for --${enablestring:-enable}-ffile""... $ac_c" 1>&6
4123 echo "configure:4124: checking for --${enablestring:-enable}-ffile" >&5
4125 # Check whether --enable-ffile or --disable-ffile was given.
4126 if test "${enable_ffile+set}" = set; then
4127 enableval
="$enable_ffile"
4129 if test "$enableval" = yes; then
4130 ac_cv_use_ffile
='wxUSE_FFILE=yes'
4132 ac_cv_use_ffile
='wxUSE_FFILE=no'
4137 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
4138 if test "x$LINE" != x
; then
4139 eval "DEFAULT_$LINE"
4144 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
4149 eval "$ac_cv_use_ffile"
4150 if test "$no_cache" != 1; then
4151 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4154 if test "$wxUSE_FFILE" = yes; then
4155 echo "$ac_t""yes" 1>&6
4157 echo "$ac_t""no" 1>&6
4162 echo $ac_n "checking for --${enablestring:-enable}-textbuf""... $ac_c" 1>&6
4163 echo "configure:4164: checking for --${enablestring:-enable}-textbuf" >&5
4165 # Check whether --enable-textbuf or --disable-textbuf was given.
4166 if test "${enable_textbuf+set}" = set; then
4167 enableval
="$enable_textbuf"
4169 if test "$enableval" = yes; then
4170 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4172 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4177 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4178 if test "x$LINE" != x
; then
4179 eval "DEFAULT_$LINE"
4184 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4189 eval "$ac_cv_use_textbuf"
4190 if test "$no_cache" != 1; then
4191 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4194 if test "$wxUSE_TEXTBUFFER" = yes; then
4195 echo "$ac_t""yes" 1>&6
4197 echo "$ac_t""no" 1>&6
4202 echo $ac_n "checking for --${enablestring:-enable}-textfile""... $ac_c" 1>&6
4203 echo "configure:4204: checking for --${enablestring:-enable}-textfile" >&5
4205 # Check whether --enable-textfile or --disable-textfile was given.
4206 if test "${enable_textfile+set}" = set; then
4207 enableval
="$enable_textfile"
4209 if test "$enableval" = yes; then
4210 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4212 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4217 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4218 if test "x$LINE" != x
; then
4219 eval "DEFAULT_$LINE"
4224 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4229 eval "$ac_cv_use_textfile"
4230 if test "$no_cache" != 1; then
4231 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4234 if test "$wxUSE_TEXTFILE" = yes; then
4235 echo "$ac_t""yes" 1>&6
4237 echo "$ac_t""no" 1>&6
4242 echo $ac_n "checking for --${enablestring:-enable}-fontmap""... $ac_c" 1>&6
4243 echo "configure:4244: checking for --${enablestring:-enable}-fontmap" >&5
4245 # Check whether --enable-fontmap or --disable-fontmap was given.
4246 if test "${enable_fontmap+set}" = set; then
4247 enableval
="$enable_fontmap"
4249 if test "$enableval" = yes; then
4250 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4252 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4257 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4258 if test "x$LINE" != x
; then
4259 eval "DEFAULT_$LINE"
4264 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4269 eval "$ac_cv_use_fontmap"
4270 if test "$no_cache" != 1; then
4271 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4274 if test "$wxUSE_FONTMAP" = yes; then
4275 echo "$ac_t""yes" 1>&6
4277 echo "$ac_t""no" 1>&6
4282 echo $ac_n "checking for --${enablestring:-enable}-unicode""... $ac_c" 1>&6
4283 echo "configure:4284: checking for --${enablestring:-enable}-unicode" >&5
4285 # Check whether --enable-unicode or --disable-unicode was given.
4286 if test "${enable_unicode+set}" = set; then
4287 enableval
="$enable_unicode"
4289 if test "$enableval" = yes; then
4290 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4292 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4297 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x
; then
4299 eval "DEFAULT_$LINE"
4304 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4309 eval "$ac_cv_use_unicode"
4310 if test "$no_cache" != 1; then
4311 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4314 if test "$wxUSE_UNICODE" = yes; then
4315 echo "$ac_t""yes" 1>&6
4317 echo "$ac_t""no" 1>&6
4322 echo $ac_n "checking for --${enablestring:-enable}-mslu""... $ac_c" 1>&6
4323 echo "configure:4324: checking for --${enablestring:-enable}-mslu" >&5
4325 # Check whether --enable-mslu or --disable-mslu was given.
4326 if test "${enable_mslu+set}" = set; then
4327 enableval
="$enable_mslu"
4329 if test "$enableval" = yes; then
4330 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4332 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4337 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4338 if test "x$LINE" != x
; then
4339 eval "DEFAULT_$LINE"
4344 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4349 eval "$ac_cv_use_mslu"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4354 if test "$wxUSE_UNICODE_MSLU" = yes; then
4355 echo "$ac_t""yes" 1>&6
4357 echo "$ac_t""no" 1>&6
4362 echo $ac_n "checking for --${enablestring:-enable}-wxprintfv""... $ac_c" 1>&6
4363 echo "configure:4364: checking for --${enablestring:-enable}-wxprintfv" >&5
4365 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4366 if test "${enable_wxprintfv+set}" = set; then
4367 enableval
="$enable_wxprintfv"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4372 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4377 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x
; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4389 eval "$ac_cv_use_wxprintfv"
4390 if test "$no_cache" != 1; then
4391 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4394 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4395 echo "$ac_t""yes" 1>&6
4397 echo "$ac_t""no" 1>&6
4402 echo $ac_n "checking for --${enablestring:-enable}-std_iostreams""... $ac_c" 1>&6
4403 echo "configure:4404: checking for --${enablestring:-enable}-std_iostreams" >&5
4405 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4406 if test "${enable_std_iostreams+set}" = set; then
4407 enableval
="$enable_std_iostreams"
4409 if test "$enableval" = yes; then
4410 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4412 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4417 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4418 if test "x$LINE" != x
; then
4419 eval "DEFAULT_$LINE"
4424 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4429 eval "$ac_cv_use_std_iostreams"
4430 if test "$no_cache" != 1; then
4431 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4434 if test "$wxUSE_STD_IOSTREAM" = yes; then
4435 echo "$ac_t""yes" 1>&6
4437 echo "$ac_t""no" 1>&6
4442 echo $ac_n "checking for --${enablestring:-enable}-filesystem""... $ac_c" 1>&6
4443 echo "configure:4444: checking for --${enablestring:-enable}-filesystem" >&5
4445 # Check whether --enable-filesystem or --disable-filesystem was given.
4446 if test "${enable_filesystem+set}" = set; then
4447 enableval
="$enable_filesystem"
4449 if test "$enableval" = yes; then
4450 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4452 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4457 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4458 if test "x$LINE" != x
; then
4459 eval "DEFAULT_$LINE"
4464 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4469 eval "$ac_cv_use_filesystem"
4470 if test "$no_cache" != 1; then
4471 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4474 if test "$wxUSE_FILESYSTEM" = yes; then
4475 echo "$ac_t""yes" 1>&6
4477 echo "$ac_t""no" 1>&6
4482 echo $ac_n "checking for --${enablestring:-enable}-fs_inet""... $ac_c" 1>&6
4483 echo "configure:4484: checking for --${enablestring:-enable}-fs_inet" >&5
4485 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4486 if test "${enable_fs_inet+set}" = set; then
4487 enableval
="$enable_fs_inet"
4489 if test "$enableval" = yes; then
4490 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4492 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4497 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4498 if test "x$LINE" != x
; then
4499 eval "DEFAULT_$LINE"
4504 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4509 eval "$ac_cv_use_fs_inet"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_FS_INET" = yes; then
4515 echo "$ac_t""yes" 1>&6
4517 echo "$ac_t""no" 1>&6
4522 echo $ac_n "checking for --${enablestring:-enable}-fs_zip""... $ac_c" 1>&6
4523 echo "configure:4524: checking for --${enablestring:-enable}-fs_zip" >&5
4525 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4526 if test "${enable_fs_zip+set}" = set; then
4527 enableval
="$enable_fs_zip"
4529 if test "$enableval" = yes; then
4530 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4532 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4537 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4538 if test "x$LINE" != x
; then
4539 eval "DEFAULT_$LINE"
4544 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4549 eval "$ac_cv_use_fs_zip"
4550 if test "$no_cache" != 1; then
4551 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4554 if test "$wxUSE_FS_ZIP" = yes; then
4555 echo "$ac_t""yes" 1>&6
4557 echo "$ac_t""no" 1>&6
4562 echo $ac_n "checking for --${enablestring:-enable}-zipstream""... $ac_c" 1>&6
4563 echo "configure:4564: checking for --${enablestring:-enable}-zipstream" >&5
4565 # Check whether --enable-zipstream or --disable-zipstream was given.
4566 if test "${enable_zipstream+set}" = set; then
4567 enableval
="$enable_zipstream"
4569 if test "$enableval" = yes; then
4570 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4572 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4577 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4578 if test "x$LINE" != x
; then
4579 eval "DEFAULT_$LINE"
4584 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4589 eval "$ac_cv_use_zipstream"
4590 if test "$no_cache" != 1; then
4591 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4594 if test "$wxUSE_ZIPSTREAM" = yes; then
4595 echo "$ac_t""yes" 1>&6
4597 echo "$ac_t""no" 1>&6
4603 echo $ac_n "checking for --${enablestring:-enable}-catch_segvs""... $ac_c" 1>&6
4604 echo "configure:4605: checking for --${enablestring:-enable}-catch_segvs" >&5
4606 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4607 if test "${enable_catch_segvs+set}" = set; then
4608 enableval
="$enable_catch_segvs"
4610 if test "$enableval" = yes; then
4611 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4613 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4618 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4619 if test "x$LINE" != x
; then
4620 eval "DEFAULT_$LINE"
4625 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4630 eval "$ac_cv_use_catch_segvs"
4631 if test "$no_cache" != 1; then
4632 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4635 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4636 echo "$ac_t""yes" 1>&6
4638 echo "$ac_t""no" 1>&6
4643 echo $ac_n "checking for --${enablestring:-enable}-snglinst""... $ac_c" 1>&6
4644 echo "configure:4645: checking for --${enablestring:-enable}-snglinst" >&5
4646 # Check whether --enable-snglinst or --disable-snglinst was given.
4647 if test "${enable_snglinst+set}" = set; then
4648 enableval
="$enable_snglinst"
4650 if test "$enableval" = yes; then
4651 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4653 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4658 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4659 if test "x$LINE" != x
; then
4660 eval "DEFAULT_$LINE"
4665 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4670 eval "$ac_cv_use_snglinst"
4671 if test "$no_cache" != 1; then
4672 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4675 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4676 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking for --${enablestring:-enable}-mimetype""... $ac_c" 1>&6
4685 echo "configure:4686: checking for --${enablestring:-enable}-mimetype" >&5
4687 # Check whether --enable-mimetype or --disable-mimetype was given.
4688 if test "${enable_mimetype+set}" = set; then
4689 enableval
="$enable_mimetype"
4691 if test "$enableval" = yes; then
4692 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4694 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4699 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4700 if test "x$LINE" != x
; then
4701 eval "DEFAULT_$LINE"
4706 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4711 eval "$ac_cv_use_mimetype"
4712 if test "$no_cache" != 1; then
4713 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4716 if test "$wxUSE_MIMETYPE" = yes; then
4717 echo "$ac_t""yes" 1>&6
4719 echo "$ac_t""no" 1>&6
4724 echo $ac_n "checking for --${enablestring:-enable}-system_options""... $ac_c" 1>&6
4725 echo "configure:4726: checking for --${enablestring:-enable}-system_options" >&5
4727 # Check whether --enable-system_options or --disable-system_options was given.
4728 if test "${enable_system_options+set}" = set; then
4729 enableval
="$enable_system_options"
4731 if test "$enableval" = yes; then
4732 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4734 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4739 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4740 if test "x$LINE" != x
; then
4741 eval "DEFAULT_$LINE"
4746 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4751 eval "$ac_cv_use_system_options"
4752 if test "$no_cache" != 1; then
4753 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4756 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4757 echo "$ac_t""yes" 1>&6
4759 echo "$ac_t""no" 1>&6
4765 echo $ac_n "checking for --${enablestring:-enable}-url""... $ac_c" 1>&6
4766 echo "configure:4767: checking for --${enablestring:-enable}-url" >&5
4768 # Check whether --enable-url or --disable-url was given.
4769 if test "${enable_url+set}" = set; then
4770 enableval
="$enable_url"
4772 if test "$enableval" = yes; then
4773 ac_cv_use_url
='wxUSE_URL=yes'
4775 ac_cv_use_url
='wxUSE_URL=no'
4780 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4781 if test "x$LINE" != x
; then
4782 eval "DEFAULT_$LINE"
4787 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4792 eval "$ac_cv_use_url"
4793 if test "$no_cache" != 1; then
4794 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4797 if test "$wxUSE_URL" = yes; then
4798 echo "$ac_t""yes" 1>&6
4800 echo "$ac_t""no" 1>&6
4805 echo $ac_n "checking for --${enablestring:-enable}-protocol""... $ac_c" 1>&6
4806 echo "configure:4807: checking for --${enablestring:-enable}-protocol" >&5
4808 # Check whether --enable-protocol or --disable-protocol was given.
4809 if test "${enable_protocol+set}" = set; then
4810 enableval
="$enable_protocol"
4812 if test "$enableval" = yes; then
4813 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4815 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4820 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x
; then
4822 eval "DEFAULT_$LINE"
4827 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4832 eval "$ac_cv_use_protocol"
4833 if test "$no_cache" != 1; then
4834 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4837 if test "$wxUSE_PROTOCOL" = yes; then
4838 echo "$ac_t""yes" 1>&6
4840 echo "$ac_t""no" 1>&6
4845 echo $ac_n "checking for --${enablestring:-enable}-protocol_http""... $ac_c" 1>&6
4846 echo "configure:4847: checking for --${enablestring:-enable}-protocol_http" >&5
4848 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4849 if test "${enable_protocol_http+set}" = set; then
4850 enableval
="$enable_protocol_http"
4852 if test "$enableval" = yes; then
4853 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4855 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4860 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4861 if test "x$LINE" != x
; then
4862 eval "DEFAULT_$LINE"
4867 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4872 eval "$ac_cv_use_protocol_http"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4877 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4878 echo "$ac_t""yes" 1>&6
4880 echo "$ac_t""no" 1>&6
4885 echo $ac_n "checking for --${enablestring:-enable}-protocol_ftp""... $ac_c" 1>&6
4886 echo "configure:4887: checking for --${enablestring:-enable}-protocol_ftp" >&5
4888 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4889 if test "${enable_protocol_ftp+set}" = set; then
4890 enableval
="$enable_protocol_ftp"
4892 if test "$enableval" = yes; then
4893 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4895 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4900 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4901 if test "x$LINE" != x
; then
4902 eval "DEFAULT_$LINE"
4907 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4912 eval "$ac_cv_use_protocol_ftp"
4913 if test "$no_cache" != 1; then
4914 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4917 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4918 echo "$ac_t""yes" 1>&6
4920 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking for --${enablestring:-enable}-protocol_file""... $ac_c" 1>&6
4926 echo "configure:4927: checking for --${enablestring:-enable}-protocol_file" >&5
4928 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4929 if test "${enable_protocol_file+set}" = set; then
4930 enableval
="$enable_protocol_file"
4932 if test "$enableval" = yes; then
4933 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4935 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4940 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4941 if test "x$LINE" != x
; then
4942 eval "DEFAULT_$LINE"
4947 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4952 eval "$ac_cv_use_protocol_file"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4957 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4968 echo $ac_n "checking for --${enablestring:-enable}-threads""... $ac_c" 1>&6
4969 echo "configure:4970: checking for --${enablestring:-enable}-threads" >&5
4971 # Check whether --enable-threads or --disable-threads was given.
4972 if test "${enable_threads+set}" = set; then
4973 enableval
="$enable_threads"
4975 if test "$enableval" = yes; then
4976 ac_cv_use_threads
='wxUSE_THREADS=yes'
4978 ac_cv_use_threads
='wxUSE_THREADS=no'
4983 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x
; then
4985 eval "DEFAULT_$LINE"
4990 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4995 eval "$ac_cv_use_threads"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
5000 if test "$wxUSE_THREADS" = yes; then
5001 echo "$ac_t""yes" 1>&6
5003 echo "$ac_t""no" 1>&6
5007 if test "$wxUSE_GUI" = "yes"; then
5012 echo $ac_n "checking for --${enablestring:-enable}-docview""... $ac_c" 1>&6
5013 echo "configure:5014: checking for --${enablestring:-enable}-docview" >&5
5015 # Check whether --enable-docview or --disable-docview was given.
5016 if test "${enable_docview+set}" = set; then
5017 enableval
="$enable_docview"
5019 if test "$enableval" = yes; then
5020 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
5022 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
5027 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x
; then
5029 eval "DEFAULT_$LINE"
5034 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5039 eval "$ac_cv_use_docview"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
5044 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
5045 echo "$ac_t""yes" 1>&6
5047 echo "$ac_t""no" 1>&6
5052 echo $ac_n "checking for --${enablestring:-enable}-help""... $ac_c" 1>&6
5053 echo "configure:5054: checking for --${enablestring:-enable}-help" >&5
5055 # Check whether --enable-help or --disable-help was given.
5056 if test "${enable_help+set}" = set; then
5057 enableval
="$enable_help"
5059 if test "$enableval" = yes; then
5060 ac_cv_use_help
='wxUSE_HELP=yes'
5062 ac_cv_use_help
='wxUSE_HELP=no'
5067 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x
; then
5069 eval "DEFAULT_$LINE"
5074 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5079 eval "$ac_cv_use_help"
5080 if test "$no_cache" != 1; then
5081 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
5084 if test "$wxUSE_HELP" = yes; then
5085 echo "$ac_t""yes" 1>&6
5087 echo "$ac_t""no" 1>&6
5092 echo $ac_n "checking for --${enablestring:-enable}-mshtmlhelp""... $ac_c" 1>&6
5093 echo "configure:5094: checking for --${enablestring:-enable}-mshtmlhelp" >&5
5095 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
5096 if test "${enable_mshtmlhelp+set}" = set; then
5097 enableval
="$enable_mshtmlhelp"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
5102 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
5107 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x
; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
5119 eval "$ac_cv_use_mshtmlhelp"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
5124 if test "$wxUSE_MS_HTML_HELP" = yes; then
5125 echo "$ac_t""yes" 1>&6
5127 echo "$ac_t""no" 1>&6
5132 echo $ac_n "checking for --${enablestring:-enable}-html""... $ac_c" 1>&6
5133 echo "configure:5134: checking for --${enablestring:-enable}-html" >&5
5135 # Check whether --enable-html or --disable-html was given.
5136 if test "${enable_html+set}" = set; then
5137 enableval
="$enable_html"
5139 if test "$enableval" = yes; then
5140 ac_cv_use_html
='wxUSE_HTML=yes'
5142 ac_cv_use_html
='wxUSE_HTML=no'
5147 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x
; then
5149 eval "DEFAULT_$LINE"
5154 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5159 eval "$ac_cv_use_html"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5164 if test "$wxUSE_HTML" = yes; then
5165 echo "$ac_t""yes" 1>&6
5167 echo "$ac_t""no" 1>&6
5172 echo $ac_n "checking for --${enablestring:-enable}-htmlhelp""... $ac_c" 1>&6
5173 echo "configure:5174: checking for --${enablestring:-enable}-htmlhelp" >&5
5175 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5176 if test "${enable_htmlhelp+set}" = set; then
5177 enableval
="$enable_htmlhelp"
5179 if test "$enableval" = yes; then
5180 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5182 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5187 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5188 if test "x$LINE" != x
; then
5189 eval "DEFAULT_$LINE"
5194 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5199 eval "$ac_cv_use_htmlhelp"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5204 if test "$wxUSE_WXHTML_HELP" = yes; then
5205 echo "$ac_t""yes" 1>&6
5207 echo "$ac_t""no" 1>&6
5212 echo $ac_n "checking for --${enablestring:-enable}-constraints""... $ac_c" 1>&6
5213 echo "configure:5214: checking for --${enablestring:-enable}-constraints" >&5
5215 # Check whether --enable-constraints or --disable-constraints was given.
5216 if test "${enable_constraints+set}" = set; then
5217 enableval
="$enable_constraints"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5222 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5227 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5239 eval "$ac_cv_use_constraints"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5244 if test "$wxUSE_CONSTRAINTS" = yes; then
5245 echo "$ac_t""yes" 1>&6
5247 echo "$ac_t""no" 1>&6
5252 echo $ac_n "checking for --${enablestring:-enable}-printarch""... $ac_c" 1>&6
5253 echo "configure:5254: checking for --${enablestring:-enable}-printarch" >&5
5255 # Check whether --enable-printarch or --disable-printarch was given.
5256 if test "${enable_printarch+set}" = set; then
5257 enableval
="$enable_printarch"
5259 if test "$enableval" = yes; then
5260 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5262 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5267 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5274 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5279 eval "$ac_cv_use_printarch"
5280 if test "$no_cache" != 1; then
5281 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5284 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5285 echo "$ac_t""yes" 1>&6
5287 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking for --${enablestring:-enable}-mdi""... $ac_c" 1>&6
5293 echo "configure:5294: checking for --${enablestring:-enable}-mdi" >&5
5295 # Check whether --enable-mdi or --disable-mdi was given.
5296 if test "${enable_mdi+set}" = set; then
5297 enableval
="$enable_mdi"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5302 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5307 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5319 eval "$ac_cv_use_mdi"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5332 echo $ac_n "checking for --${enablestring:-enable}-loggui""... $ac_c" 1>&6
5333 echo "configure:5334: checking for --${enablestring:-enable}-loggui" >&5
5335 # Check whether --enable-loggui or --disable-loggui was given.
5336 if test "${enable_loggui+set}" = set; then
5337 enableval
="$enable_loggui"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5342 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5347 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5359 eval "$ac_cv_use_loggui"
5360 if test "$no_cache" != 1; then
5361 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5364 if test "$wxUSE_LOGGUI" = yes; then
5365 echo "$ac_t""yes" 1>&6
5367 echo "$ac_t""no" 1>&6
5372 echo $ac_n "checking for --${enablestring:-enable}-logwin""... $ac_c" 1>&6
5373 echo "configure:5374: checking for --${enablestring:-enable}-logwin" >&5
5375 # Check whether --enable-logwin or --disable-logwin was given.
5376 if test "${enable_logwin+set}" = set; then
5377 enableval
="$enable_logwin"
5379 if test "$enableval" = yes; then
5380 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5382 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5387 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5388 if test "x$LINE" != x
; then
5389 eval "DEFAULT_$LINE"
5394 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5399 eval "$ac_cv_use_logwin"
5400 if test "$no_cache" != 1; then
5401 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5404 if test "$wxUSE_LOGWINDOW" = yes; then
5405 echo "$ac_t""yes" 1>&6
5407 echo "$ac_t""no" 1>&6
5412 echo $ac_n "checking for --${enablestring:-enable}-logdialog""... $ac_c" 1>&6
5413 echo "configure:5414: checking for --${enablestring:-enable}-logdialog" >&5
5415 # Check whether --enable-logdialog or --disable-logdialog was given.
5416 if test "${enable_logdialog+set}" = set; then
5417 enableval
="$enable_logdialog"
5419 if test "$enableval" = yes; then
5420 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5422 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5427 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5428 if test "x$LINE" != x
; then
5429 eval "DEFAULT_$LINE"
5434 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5439 eval "$ac_cv_use_logdialog"
5440 if test "$no_cache" != 1; then
5441 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5444 if test "$wxUSE_LOGDIALOG" = yes; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5453 echo $ac_n "checking for --${enablestring:-enable}-postscript""... $ac_c" 1>&6
5454 echo "configure:5455: checking for --${enablestring:-enable}-postscript" >&5
5456 # Check whether --enable-postscript or --disable-postscript was given.
5457 if test "${enable_postscript+set}" = set; then
5458 enableval
="$enable_postscript"
5460 if test "$enableval" = yes; then
5461 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5463 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5468 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5469 if test "x$LINE" != x
; then
5470 eval "DEFAULT_$LINE"
5475 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5480 eval "$ac_cv_use_postscript"
5481 if test "$no_cache" != 1; then
5482 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5485 if test "$wxUSE_POSTSCRIPT" = yes; then
5486 echo "$ac_t""yes" 1>&6
5488 echo "$ac_t""no" 1>&6
5496 echo $ac_n "checking for --${enablestring:-enable}-resources""... $ac_c" 1>&6
5497 echo "configure:5498: checking for --${enablestring:-enable}-resources" >&5
5499 # Check whether --enable-resources or --disable-resources was given.
5500 if test "${enable_resources+set}" = set; then
5501 enableval
="$enable_resources"
5503 if test "$enableval" = yes; then
5504 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5506 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5511 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5512 if test "x$LINE" != x
; then
5513 eval "DEFAULT_$LINE"
5518 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5523 eval "$ac_cv_use_resources"
5524 if test "$no_cache" != 1; then
5525 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5528 if test "$wxUSE_RESOURCES" = yes; then
5529 echo "$ac_t""yes" 1>&6
5531 echo "$ac_t""no" 1>&6
5537 echo $ac_n "checking for --${enablestring:-enable}-xresources""... $ac_c" 1>&6
5538 echo "configure:5539: checking for --${enablestring:-enable}-xresources" >&5
5540 # Check whether --enable-xresources or --disable-xresources was given.
5541 if test "${enable_xresources+set}" = set; then
5542 enableval
="$enable_xresources"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5547 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5552 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x
; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5564 eval "$ac_cv_use_xresources"
5565 if test "$no_cache" != 1; then
5566 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5569 if test "$wxUSE_X_RESOURCES" = yes; then
5570 echo "$ac_t""yes" 1>&6
5572 echo "$ac_t""no" 1>&6
5579 echo $ac_n "checking for --${enablestring:-enable}-clipboard""... $ac_c" 1>&6
5580 echo "configure:5581: checking for --${enablestring:-enable}-clipboard" >&5
5582 # Check whether --enable-clipboard or --disable-clipboard was given.
5583 if test "${enable_clipboard+set}" = set; then
5584 enableval
="$enable_clipboard"
5586 if test "$enableval" = yes; then
5587 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5589 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5594 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5595 if test "x$LINE" != x
; then
5596 eval "DEFAULT_$LINE"
5601 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5606 eval "$ac_cv_use_clipboard"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5611 if test "$wxUSE_CLIPBOARD" = yes; then
5612 echo "$ac_t""yes" 1>&6
5614 echo "$ac_t""no" 1>&6
5619 echo $ac_n "checking for --${enablestring:-enable}-dnd""... $ac_c" 1>&6
5620 echo "configure:5621: checking for --${enablestring:-enable}-dnd" >&5
5622 # Check whether --enable-dnd or --disable-dnd was given.
5623 if test "${enable_dnd+set}" = set; then
5624 enableval
="$enable_dnd"
5626 if test "$enableval" = yes; then
5627 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5629 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5634 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5635 if test "x$LINE" != x
; then
5636 eval "DEFAULT_$LINE"
5641 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5646 eval "$ac_cv_use_dnd"
5647 if test "$no_cache" != 1; then
5648 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5651 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5652 echo "$ac_t""yes" 1>&6
5654 echo "$ac_t""no" 1>&6
5659 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
5660 echo "configure:5661: checking for --${enablestring:-enable}-metafile" >&5
5662 # Check whether --enable-metafile or --disable-metafile was given.
5663 if test "${enable_metafile+set}" = set; then
5664 enableval
="$enable_metafile"
5666 if test "$enableval" = yes; then
5667 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5669 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5674 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5675 if test "x$LINE" != x
; then
5676 eval "DEFAULT_$LINE"
5681 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5686 eval "$ac_cv_use_metafile"
5687 if test "$no_cache" != 1; then
5688 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5691 if test "$wxUSE_METAFILE" = yes; then
5692 echo "$ac_t""yes" 1>&6
5694 echo "$ac_t""no" 1>&6
5702 echo $ac_n "checking for --${enablestring:-enable}-controls""... $ac_c" 1>&6
5703 echo "configure:5704: checking for --${enablestring:-enable}-controls" >&5
5705 # Check whether --enable-controls or --disable-controls was given.
5706 if test "${enable_controls+set}" = set; then
5707 enableval
="$enable_controls"
5709 if test "$enableval" = yes; then
5710 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5712 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5717 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5718 if test "x$LINE" != x
; then
5719 eval "DEFAULT_$LINE"
5724 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5729 eval "$ac_cv_use_controls"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5734 if test "$wxUSE_CONTROLS" = yes; then
5735 echo "$ac_t""yes" 1>&6
5737 echo "$ac_t""no" 1>&6
5741 if test "$wxUSE_CONTROLS" = "yes"; then
5742 DEFAULT_wxUSE_ACCEL
=yes
5743 DEFAULT_wxUSE_BMPBUTTON
=yes
5744 DEFAULT_wxUSE_BUTTON
=yes
5745 DEFAULT_wxUSE_CALCTRL
=no
5746 DEFAULT_wxUSE_CARET
=yes
5747 DEFAULT_wxUSE_COMBOBOX
=yes
5748 DEFAULT_wxUSE_CHECKBOX
=yes
5749 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5750 DEFAULT_wxUSE_CHOICE
=yes
5751 DEFAULT_wxUSE_GAUGE
=yes
5752 DEFAULT_wxUSE_GRID
=yes
5753 DEFAULT_wxUSE_IMAGLIST
=yes
5754 DEFAULT_wxUSE_LISTBOX
=yes
5755 DEFAULT_wxUSE_LISTCTRL
=yes
5756 DEFAULT_wxUSE_NOTEBOOK
=yes
5757 DEFAULT_wxUSE_RADIOBOX
=yes
5758 DEFAULT_wxUSE_RADIOBTN
=yes
5759 DEFAULT_wxUSE_SASH
=yes
5760 DEFAULT_wxUSE_SCROLLBAR
=yes
5761 DEFAULT_wxUSE_SLIDER
=yes
5762 DEFAULT_wxUSE_SPINBTN
=yes
5763 DEFAULT_wxUSE_SPINCTRL
=yes
5764 DEFAULT_wxUSE_SPLITTER
=yes
5765 DEFAULT_wxUSE_STATBMP
=yes
5766 DEFAULT_wxUSE_STATBOX
=yes
5767 DEFAULT_wxUSE_STATLINE
=yes
5768 DEFAULT_wxUSE_STATUSBAR
=yes
5769 DEFAULT_wxUSE_TAB_DIALOG
=yes
5770 DEFAULT_wxUSE_TOGGLEBTN
=yes
5771 DEFAULT_wxUSE_TOOLBAR
=yes
5772 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5773 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5774 DEFAULT_wxUSE_TOOLTIPS
=yes
5775 DEFAULT_wxUSE_TREECTRL
=yes
5776 DEFAULT_wxUSE_POPUPWIN
=yes
5777 DEFAULT_wxUSE_TIPWINDOW
=yes
5778 elif test "$wxUSE_CONTROLS" = "no"; then
5779 DEFAULT_wxUSE_ACCEL
=no
5780 DEFAULT_wxUSE_BMPBUTTON
=no
5781 DEFAULT_wxUSE_BUTTON
=no
5782 DEFAULT_wxUSE_CALCTRL
=no
5783 DEFAULT_wxUSE_CARET
=no
5784 DEFAULT_wxUSE_COMBOBOX
=no
5785 DEFAULT_wxUSE_CHECKBOX
=no
5786 DEFAULT_wxUSE_CHECKLISTBOX
=no
5787 DEFAULT_wxUSE_CHOICE
=no
5788 DEFAULT_wxUSE_GAUGE
=no
5789 DEFAULT_wxUSE_GRID
=no
5790 DEFAULT_wxUSE_IMAGLIST
=no
5791 DEFAULT_wxUSE_LISTBOX
=no
5792 DEFAULT_wxUSE_LISTCTRL
=no
5793 DEFAULT_wxUSE_NOTEBOOK
=no
5794 DEFAULT_wxUSE_RADIOBOX
=no
5795 DEFAULT_wxUSE_RADIOBTN
=no
5796 DEFAULT_wxUSE_SASH
=no
5797 DEFAULT_wxUSE_SCROLLBAR
=no
5798 DEFAULT_wxUSE_SLIDER
=no
5799 DEFAULT_wxUSE_SPINBTN
=no
5800 DEFAULT_wxUSE_SPINCTRL
=no
5801 DEFAULT_wxUSE_SPLITTER
=no
5802 DEFAULT_wxUSE_STATBMP
=no
5803 DEFAULT_wxUSE_STATBOX
=no
5804 DEFAULT_wxUSE_STATLINE
=no
5805 DEFAULT_wxUSE_STATUSBAR
=no
5806 DEFAULT_wxUSE_TAB_DIALOG
=no
5807 DEFAULT_wxUSE_TOGGLEBTN
=no
5808 DEFAULT_wxUSE_TOOLBAR
=no
5809 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5810 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5811 DEFAULT_wxUSE_TOOLTIPS
=no
5812 DEFAULT_wxUSE_TREECTRL
=no
5813 DEFAULT_wxUSE_POPUPWIN
=no
5814 DEFAULT_wxUSE_TIPWINDOW
=no
5817 ## FIXME: This is a blatant hack
5818 if test "x$wxUSE_COCOA" != "x" -a "$wxUSE_COCOA" != "0" ; then
5819 wxUSE_PRINTING_ARCHITECTURE
=no
5822 wxUSE_DRAG_AND_DROP
=no
5824 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5825 DEFAULT_wxUSE_GAUGE
=no
5826 DEFAULT_wxUSE_SCROLLBAR
=no
5827 DEFAULT_wxUSE_SLIDER
=no
5828 DEFAULT_wxUSE_COMBOBOX
=no
5829 DEFAULT_wxUSE_CALCTRL
=no
5830 DEFAULT_wxUSE_SPINBTN
=no
5831 DEFAULT_wxUSE_SPINCTRL
=no
5832 DEFAULT_wxUSE_TOOLTIPS
=no
5833 DEFAULT_wxUSE_COLOURDLG
=no
5834 DEFAULT_wxUSE_DRAGIMAGE
=no
5835 DEFAULT_wxUSE_FINDREPLDLG
=no
5836 DEFAULT_wxUSE_FONTDLG
=no
5837 DEFAULT_wxUSE_GRID
=no
5838 DEFAULT_wxUSE_NUMBERDLG
=no
5839 DEFAULT_wxUSE_PROGRESSDLG
=no
5840 DEFAULT_wxUSE_SASH
=no
5841 DEFAULT_wxUSE_SPLITTER
=no
5842 DEFAULT_wxUSE_WIZARDDLG
=no
5843 DEFAULT_wxUSE_SPLITTER
=no
5844 DEFAULT_wxUSE_STARTUP_TIPS
=no
5849 echo $ac_n "checking for --${enablestring:-enable}-accel""... $ac_c" 1>&6
5850 echo "configure:5851: checking for --${enablestring:-enable}-accel" >&5
5852 # Check whether --enable-accel or --disable-accel was given.
5853 if test "${enable_accel+set}" = set; then
5854 enableval
="$enable_accel"
5856 if test "$enableval" = yes; then
5857 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5859 ac_cv_use_accel
='wxUSE_ACCEL=no'
5864 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5865 if test "x$LINE" != x
; then
5866 eval "DEFAULT_$LINE"
5871 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5876 eval "$ac_cv_use_accel"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_ACCEL" = yes; then
5882 echo "$ac_t""yes" 1>&6
5884 echo "$ac_t""no" 1>&6
5889 echo $ac_n "checking for --${enablestring:-enable}-button""... $ac_c" 1>&6
5890 echo "configure:5891: checking for --${enablestring:-enable}-button" >&5
5892 # Check whether --enable-button or --disable-button was given.
5893 if test "${enable_button+set}" = set; then
5894 enableval
="$enable_button"
5896 if test "$enableval" = yes; then
5897 ac_cv_use_button
='wxUSE_BUTTON=yes'
5899 ac_cv_use_button
='wxUSE_BUTTON=no'
5904 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x
; then
5906 eval "DEFAULT_$LINE"
5911 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5916 eval "$ac_cv_use_button"
5917 if test "$no_cache" != 1; then
5918 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5921 if test "$wxUSE_BUTTON" = yes; then
5922 echo "$ac_t""yes" 1>&6
5924 echo "$ac_t""no" 1>&6
5929 echo $ac_n "checking for --${enablestring:-enable}-bmpbutton""... $ac_c" 1>&6
5930 echo "configure:5931: checking for --${enablestring:-enable}-bmpbutton" >&5
5932 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5933 if test "${enable_bmpbutton+set}" = set; then
5934 enableval
="$enable_bmpbutton"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5939 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5944 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5956 eval "$ac_cv_use_bmpbutton"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_BMPBUTTON" = yes; then
5962 echo "$ac_t""yes" 1>&6
5964 echo "$ac_t""no" 1>&6
5969 echo $ac_n "checking for --${enablestring:-enable}-calendar""... $ac_c" 1>&6
5970 echo "configure:5971: checking for --${enablestring:-enable}-calendar" >&5
5972 # Check whether --enable-calendar or --disable-calendar was given.
5973 if test "${enable_calendar+set}" = set; then
5974 enableval
="$enable_calendar"
5976 if test "$enableval" = yes; then
5977 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5979 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5984 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5985 if test "x$LINE" != x
; then
5986 eval "DEFAULT_$LINE"
5991 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5996 eval "$ac_cv_use_calendar"
5997 if test "$no_cache" != 1; then
5998 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
6001 if test "$wxUSE_CALCTRL" = yes; then
6002 echo "$ac_t""yes" 1>&6
6004 echo "$ac_t""no" 1>&6
6009 echo $ac_n "checking for --${enablestring:-enable}-caret""... $ac_c" 1>&6
6010 echo "configure:6011: checking for --${enablestring:-enable}-caret" >&5
6012 # Check whether --enable-caret or --disable-caret was given.
6013 if test "${enable_caret+set}" = set; then
6014 enableval
="$enable_caret"
6016 if test "$enableval" = yes; then
6017 ac_cv_use_caret
='wxUSE_CARET=yes'
6019 ac_cv_use_caret
='wxUSE_CARET=no'
6024 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6031 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
6036 eval "$ac_cv_use_caret"
6037 if test "$no_cache" != 1; then
6038 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
6041 if test "$wxUSE_CARET" = yes; then
6042 echo "$ac_t""yes" 1>&6
6044 echo "$ac_t""no" 1>&6
6049 echo $ac_n "checking for --${enablestring:-enable}-checkbox""... $ac_c" 1>&6
6050 echo "configure:6051: checking for --${enablestring:-enable}-checkbox" >&5
6052 # Check whether --enable-checkbox or --disable-checkbox was given.
6053 if test "${enable_checkbox+set}" = set; then
6054 enableval
="$enable_checkbox"
6056 if test "$enableval" = yes; then
6057 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
6059 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
6064 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
6065 if test "x$LINE" != x
; then
6066 eval "DEFAULT_$LINE"
6071 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
6076 eval "$ac_cv_use_checkbox"
6077 if test "$no_cache" != 1; then
6078 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
6081 if test "$wxUSE_CHECKBOX" = yes; then
6082 echo "$ac_t""yes" 1>&6
6084 echo "$ac_t""no" 1>&6
6089 echo $ac_n "checking for --${enablestring:-enable}-checklst""... $ac_c" 1>&6
6090 echo "configure:6091: checking for --${enablestring:-enable}-checklst" >&5
6092 # Check whether --enable-checklst or --disable-checklst was given.
6093 if test "${enable_checklst+set}" = set; then
6094 enableval
="$enable_checklst"
6096 if test "$enableval" = yes; then
6097 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
6099 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
6104 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
6105 if test "x$LINE" != x
; then
6106 eval "DEFAULT_$LINE"
6111 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
6116 eval "$ac_cv_use_checklst"
6117 if test "$no_cache" != 1; then
6118 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
6121 if test "$wxUSE_CHECKLST" = yes; then
6122 echo "$ac_t""yes" 1>&6
6124 echo "$ac_t""no" 1>&6
6129 echo $ac_n "checking for --${enablestring:-enable}-choice""... $ac_c" 1>&6
6130 echo "configure:6131: checking for --${enablestring:-enable}-choice" >&5
6132 # Check whether --enable-choice or --disable-choice was given.
6133 if test "${enable_choice+set}" = set; then
6134 enableval
="$enable_choice"
6136 if test "$enableval" = yes; then
6137 ac_cv_use_choice
='wxUSE_CHOICE=yes'
6139 ac_cv_use_choice
='wxUSE_CHOICE=no'
6144 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6145 if test "x$LINE" != x
; then
6146 eval "DEFAULT_$LINE"
6151 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6156 eval "$ac_cv_use_choice"
6157 if test "$no_cache" != 1; then
6158 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6161 if test "$wxUSE_CHOICE" = yes; then
6162 echo "$ac_t""yes" 1>&6
6164 echo "$ac_t""no" 1>&6
6169 echo $ac_n "checking for --${enablestring:-enable}-combobox""... $ac_c" 1>&6
6170 echo "configure:6171: checking for --${enablestring:-enable}-combobox" >&5
6172 # Check whether --enable-combobox or --disable-combobox was given.
6173 if test "${enable_combobox+set}" = set; then
6174 enableval
="$enable_combobox"
6176 if test "$enableval" = yes; then
6177 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6179 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6184 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6185 if test "x$LINE" != x
; then
6186 eval "DEFAULT_$LINE"
6191 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6196 eval "$ac_cv_use_combobox"
6197 if test "$no_cache" != 1; then
6198 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6201 if test "$wxUSE_COMBOBOX" = yes; then
6202 echo "$ac_t""yes" 1>&6
6204 echo "$ac_t""no" 1>&6
6209 echo $ac_n "checking for --${enablestring:-enable}-display""... $ac_c" 1>&6
6210 echo "configure:6211: checking for --${enablestring:-enable}-display" >&5
6212 # Check whether --enable-display or --disable-display was given.
6213 if test "${enable_display+set}" = set; then
6214 enableval
="$enable_display"
6216 if test "$enableval" = yes; then
6217 ac_cv_use_display
='wxUSE_DISPLAY=yes'
6219 ac_cv_use_display
='wxUSE_DISPLAY=no'
6224 LINE
=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x
; then
6226 eval "DEFAULT_$LINE"
6231 ac_cv_use_display
='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
6236 eval "$ac_cv_use_display"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
6241 if test "$wxUSE_DISPLAY" = yes; then
6242 echo "$ac_t""yes" 1>&6
6244 echo "$ac_t""no" 1>&6
6249 echo $ac_n "checking for --${enablestring:-enable}-gauge""... $ac_c" 1>&6
6250 echo "configure:6251: checking for --${enablestring:-enable}-gauge" >&5
6252 # Check whether --enable-gauge or --disable-gauge was given.
6253 if test "${enable_gauge+set}" = set; then
6254 enableval
="$enable_gauge"
6256 if test "$enableval" = yes; then
6257 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6259 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6264 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6265 if test "x$LINE" != x
; then
6266 eval "DEFAULT_$LINE"
6271 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6276 eval "$ac_cv_use_gauge"
6277 if test "$no_cache" != 1; then
6278 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6281 if test "$wxUSE_GAUGE" = yes; then
6282 echo "$ac_t""yes" 1>&6
6284 echo "$ac_t""no" 1>&6
6289 echo $ac_n "checking for --${enablestring:-enable}-grid""... $ac_c" 1>&6
6290 echo "configure:6291: checking for --${enablestring:-enable}-grid" >&5
6292 # Check whether --enable-grid or --disable-grid was given.
6293 if test "${enable_grid+set}" = set; then
6294 enableval
="$enable_grid"
6296 if test "$enableval" = yes; then
6297 ac_cv_use_grid
='wxUSE_GRID=yes'
6299 ac_cv_use_grid
='wxUSE_GRID=no'
6304 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6305 if test "x$LINE" != x
; then
6306 eval "DEFAULT_$LINE"
6311 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6316 eval "$ac_cv_use_grid"
6317 if test "$no_cache" != 1; then
6318 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6321 if test "$wxUSE_GRID" = yes; then
6322 echo "$ac_t""yes" 1>&6
6324 echo "$ac_t""no" 1>&6
6329 echo $ac_n "checking for --${enablestring:-enable}-imaglist""... $ac_c" 1>&6
6330 echo "configure:6331: checking for --${enablestring:-enable}-imaglist" >&5
6332 # Check whether --enable-imaglist or --disable-imaglist was given.
6333 if test "${enable_imaglist+set}" = set; then
6334 enableval
="$enable_imaglist"
6336 if test "$enableval" = yes; then
6337 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6339 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6344 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6345 if test "x$LINE" != x
; then
6346 eval "DEFAULT_$LINE"
6351 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6356 eval "$ac_cv_use_imaglist"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6361 if test "$wxUSE_IMAGLIST" = yes; then
6362 echo "$ac_t""yes" 1>&6
6364 echo "$ac_t""no" 1>&6
6369 echo $ac_n "checking for --${enablestring:-enable}-listbox""... $ac_c" 1>&6
6370 echo "configure:6371: checking for --${enablestring:-enable}-listbox" >&5
6372 # Check whether --enable-listbox or --disable-listbox was given.
6373 if test "${enable_listbox+set}" = set; then
6374 enableval
="$enable_listbox"
6376 if test "$enableval" = yes; then
6377 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6379 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6384 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6385 if test "x$LINE" != x
; then
6386 eval "DEFAULT_$LINE"
6391 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6396 eval "$ac_cv_use_listbox"
6397 if test "$no_cache" != 1; then
6398 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6401 if test "$wxUSE_LISTBOX" = yes; then
6402 echo "$ac_t""yes" 1>&6
6404 echo "$ac_t""no" 1>&6
6409 echo $ac_n "checking for --${enablestring:-enable}-listctrl""... $ac_c" 1>&6
6410 echo "configure:6411: checking for --${enablestring:-enable}-listctrl" >&5
6412 # Check whether --enable-listctrl or --disable-listctrl was given.
6413 if test "${enable_listctrl+set}" = set; then
6414 enableval
="$enable_listctrl"
6416 if test "$enableval" = yes; then
6417 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6419 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6424 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6425 if test "x$LINE" != x
; then
6426 eval "DEFAULT_$LINE"
6431 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6436 eval "$ac_cv_use_listctrl"
6437 if test "$no_cache" != 1; then
6438 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6441 if test "$wxUSE_LISTCTRL" = yes; then
6442 echo "$ac_t""yes" 1>&6
6444 echo "$ac_t""no" 1>&6
6449 echo $ac_n "checking for --${enablestring:-enable}-notebook""... $ac_c" 1>&6
6450 echo "configure:6451: checking for --${enablestring:-enable}-notebook" >&5
6452 # Check whether --enable-notebook or --disable-notebook was given.
6453 if test "${enable_notebook+set}" = set; then
6454 enableval
="$enable_notebook"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6459 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6464 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6476 eval "$ac_cv_use_notebook"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_NOTEBOOK" = yes; then
6482 echo "$ac_t""yes" 1>&6
6484 echo "$ac_t""no" 1>&6
6489 echo $ac_n "checking for --${enablestring:-enable}-radiobox""... $ac_c" 1>&6
6490 echo "configure:6491: checking for --${enablestring:-enable}-radiobox" >&5
6492 # Check whether --enable-radiobox or --disable-radiobox was given.
6493 if test "${enable_radiobox+set}" = set; then
6494 enableval
="$enable_radiobox"
6496 if test "$enableval" = yes; then
6497 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6499 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6504 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6505 if test "x$LINE" != x
; then
6506 eval "DEFAULT_$LINE"
6511 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6516 eval "$ac_cv_use_radiobox"
6517 if test "$no_cache" != 1; then
6518 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6521 if test "$wxUSE_RADIOBOX" = yes; then
6522 echo "$ac_t""yes" 1>&6
6524 echo "$ac_t""no" 1>&6
6529 echo $ac_n "checking for --${enablestring:-enable}-radiobtn""... $ac_c" 1>&6
6530 echo "configure:6531: checking for --${enablestring:-enable}-radiobtn" >&5
6532 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6533 if test "${enable_radiobtn+set}" = set; then
6534 enableval
="$enable_radiobtn"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6539 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6544 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x
; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6556 eval "$ac_cv_use_radiobtn"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6561 if test "$wxUSE_RADIOBTN" = yes; then
6562 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6569 echo $ac_n "checking for --${enablestring:-enable}-sash""... $ac_c" 1>&6
6570 echo "configure:6571: checking for --${enablestring:-enable}-sash" >&5
6572 # Check whether --enable-sash or --disable-sash was given.
6573 if test "${enable_sash+set}" = set; then
6574 enableval
="$enable_sash"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_sash
='wxUSE_SASH=yes'
6579 ac_cv_use_sash
='wxUSE_SASH=no'
6584 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x
; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6596 eval "$ac_cv_use_sash"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_SASH" = yes; then
6602 echo "$ac_t""yes" 1>&6
6604 echo "$ac_t""no" 1>&6
6609 echo $ac_n "checking for --${enablestring:-enable}-scrollbar""... $ac_c" 1>&6
6610 echo "configure:6611: checking for --${enablestring:-enable}-scrollbar" >&5
6612 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6613 if test "${enable_scrollbar+set}" = set; then
6614 enableval
="$enable_scrollbar"
6616 if test "$enableval" = yes; then
6617 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6619 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6624 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x
; then
6626 eval "DEFAULT_$LINE"
6631 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6636 eval "$ac_cv_use_scrollbar"
6637 if test "$no_cache" != 1; then
6638 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6641 if test "$wxUSE_SCROLLBAR" = yes; then
6642 echo "$ac_t""yes" 1>&6
6644 echo "$ac_t""no" 1>&6
6649 echo $ac_n "checking for --${enablestring:-enable}-slider""... $ac_c" 1>&6
6650 echo "configure:6651: checking for --${enablestring:-enable}-slider" >&5
6652 # Check whether --enable-slider or --disable-slider was given.
6653 if test "${enable_slider+set}" = set; then
6654 enableval
="$enable_slider"
6656 if test "$enableval" = yes; then
6657 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6659 ac_cv_use_slider
='wxUSE_SLIDER=no'
6664 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6665 if test "x$LINE" != x
; then
6666 eval "DEFAULT_$LINE"
6671 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6676 eval "$ac_cv_use_slider"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6681 if test "$wxUSE_SLIDER" = yes; then
6682 echo "$ac_t""yes" 1>&6
6684 echo "$ac_t""no" 1>&6
6689 echo $ac_n "checking for --${enablestring:-enable}-spinbtn""... $ac_c" 1>&6
6690 echo "configure:6691: checking for --${enablestring:-enable}-spinbtn" >&5
6692 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6693 if test "${enable_spinbtn+set}" = set; then
6694 enableval
="$enable_spinbtn"
6696 if test "$enableval" = yes; then
6697 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6699 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6704 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6705 if test "x$LINE" != x
; then
6706 eval "DEFAULT_$LINE"
6711 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6716 eval "$ac_cv_use_spinbtn"
6717 if test "$no_cache" != 1; then
6718 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6721 if test "$wxUSE_SPINBTN" = yes; then
6722 echo "$ac_t""yes" 1>&6
6724 echo "$ac_t""no" 1>&6
6729 echo $ac_n "checking for --${enablestring:-enable}-spinctrl""... $ac_c" 1>&6
6730 echo "configure:6731: checking for --${enablestring:-enable}-spinctrl" >&5
6732 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6733 if test "${enable_spinctrl+set}" = set; then
6734 enableval
="$enable_spinctrl"
6736 if test "$enableval" = yes; then
6737 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6739 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6744 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x
; then
6746 eval "DEFAULT_$LINE"
6751 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6756 eval "$ac_cv_use_spinctrl"
6757 if test "$no_cache" != 1; then
6758 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6761 if test "$wxUSE_SPINCTRL" = yes; then
6762 echo "$ac_t""yes" 1>&6
6764 echo "$ac_t""no" 1>&6
6769 echo $ac_n "checking for --${enablestring:-enable}-splitter""... $ac_c" 1>&6
6770 echo "configure:6771: checking for --${enablestring:-enable}-splitter" >&5
6772 # Check whether --enable-splitter or --disable-splitter was given.
6773 if test "${enable_splitter+set}" = set; then
6774 enableval
="$enable_splitter"
6776 if test "$enableval" = yes; then
6777 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6779 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6784 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6785 if test "x$LINE" != x
; then
6786 eval "DEFAULT_$LINE"
6791 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6796 eval "$ac_cv_use_splitter"
6797 if test "$no_cache" != 1; then
6798 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6801 if test "$wxUSE_SPLITTER" = yes; then
6802 echo "$ac_t""yes" 1>&6
6804 echo "$ac_t""no" 1>&6
6809 echo $ac_n "checking for --${enablestring:-enable}-statbmp""... $ac_c" 1>&6
6810 echo "configure:6811: checking for --${enablestring:-enable}-statbmp" >&5
6812 # Check whether --enable-statbmp or --disable-statbmp was given.
6813 if test "${enable_statbmp+set}" = set; then
6814 enableval
="$enable_statbmp"
6816 if test "$enableval" = yes; then
6817 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6819 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6824 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6825 if test "x$LINE" != x
; then
6826 eval "DEFAULT_$LINE"
6831 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6836 eval "$ac_cv_use_statbmp"
6837 if test "$no_cache" != 1; then
6838 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6841 if test "$wxUSE_STATBMP" = yes; then
6842 echo "$ac_t""yes" 1>&6
6844 echo "$ac_t""no" 1>&6
6849 echo $ac_n "checking for --${enablestring:-enable}-statbox""... $ac_c" 1>&6
6850 echo "configure:6851: checking for --${enablestring:-enable}-statbox" >&5
6852 # Check whether --enable-statbox or --disable-statbox was given.
6853 if test "${enable_statbox+set}" = set; then
6854 enableval
="$enable_statbox"
6856 if test "$enableval" = yes; then
6857 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6859 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6864 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6865 if test "x$LINE" != x
; then
6866 eval "DEFAULT_$LINE"
6871 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6876 eval "$ac_cv_use_statbox"
6877 if test "$no_cache" != 1; then
6878 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6881 if test "$wxUSE_STATBOX" = yes; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6889 echo $ac_n "checking for --${enablestring:-enable}-statline""... $ac_c" 1>&6
6890 echo "configure:6891: checking for --${enablestring:-enable}-statline" >&5
6892 # Check whether --enable-statline or --disable-statline was given.
6893 if test "${enable_statline+set}" = set; then
6894 enableval
="$enable_statline"
6896 if test "$enableval" = yes; then
6897 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6899 ac_cv_use_statline
='wxUSE_STATLINE=no'
6904 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6905 if test "x$LINE" != x
; then
6906 eval "DEFAULT_$LINE"
6911 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6916 eval "$ac_cv_use_statline"
6917 if test "$no_cache" != 1; then
6918 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6921 if test "$wxUSE_STATLINE" = yes; then
6922 echo "$ac_t""yes" 1>&6
6924 echo "$ac_t""no" 1>&6
6929 echo $ac_n "checking for --${enablestring:-enable}-stattext""... $ac_c" 1>&6
6930 echo "configure:6931: checking for --${enablestring:-enable}-stattext" >&5
6932 # Check whether --enable-stattext or --disable-stattext was given.
6933 if test "${enable_stattext+set}" = set; then
6934 enableval
="$enable_stattext"
6936 if test "$enableval" = yes; then
6937 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6939 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6944 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6945 if test "x$LINE" != x
; then
6946 eval "DEFAULT_$LINE"
6951 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6956 eval "$ac_cv_use_stattext"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6961 if test "$wxUSE_STATTEXT" = yes; then
6962 echo "$ac_t""yes" 1>&6
6964 echo "$ac_t""no" 1>&6
6969 echo $ac_n "checking for --${enablestring:-enable}-statusbar""... $ac_c" 1>&6
6970 echo "configure:6971: checking for --${enablestring:-enable}-statusbar" >&5
6972 # Check whether --enable-statusbar or --disable-statusbar was given.
6973 if test "${enable_statusbar+set}" = set; then
6974 enableval
="$enable_statusbar"
6976 if test "$enableval" = yes; then
6977 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6979 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6984 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6985 if test "x$LINE" != x
; then
6986 eval "DEFAULT_$LINE"
6991 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6996 eval "$ac_cv_use_statusbar"
6997 if test "$no_cache" != 1; then
6998 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
7001 if test "$wxUSE_STATUSBAR" = yes; then
7002 echo "$ac_t""yes" 1>&6
7004 echo "$ac_t""no" 1>&6
7009 echo $ac_n "checking for --${enablestring:-enable}-tabdialog""... $ac_c" 1>&6
7010 echo "configure:7011: checking for --${enablestring:-enable}-tabdialog" >&5
7012 # Check whether --enable-tabdialog or --disable-tabdialog was given.
7013 if test "${enable_tabdialog+set}" = set; then
7014 enableval
="$enable_tabdialog"
7016 if test "$enableval" = yes; then
7017 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
7019 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
7024 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
7025 if test "x$LINE" != x
; then
7026 eval "DEFAULT_$LINE"
7031 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
7036 eval "$ac_cv_use_tabdialog"
7037 if test "$no_cache" != 1; then
7038 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
7041 if test "$wxUSE_TABDIALOG" = yes; then
7042 echo "$ac_t""yes" 1>&6
7044 echo "$ac_t""no" 1>&6
7049 echo $ac_n "checking for --${enablestring:-enable}-textctrl""... $ac_c" 1>&6
7050 echo "configure:7051: checking for --${enablestring:-enable}-textctrl" >&5
7052 # Check whether --enable-textctrl or --disable-textctrl was given.
7053 if test "${enable_textctrl+set}" = set; then
7054 enableval
="$enable_textctrl"
7056 if test "$enableval" = yes; then
7057 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
7059 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
7064 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
7065 if test "x$LINE" != x
; then
7066 eval "DEFAULT_$LINE"
7071 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
7076 eval "$ac_cv_use_textctrl"
7077 if test "$no_cache" != 1; then
7078 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
7081 if test "$wxUSE_TEXTCTRL" = yes; then
7082 echo "$ac_t""yes" 1>&6
7084 echo "$ac_t""no" 1>&6
7089 echo $ac_n "checking for --${enablestring:-enable}-togglebtn""... $ac_c" 1>&6
7090 echo "configure:7091: checking for --${enablestring:-enable}-togglebtn" >&5
7092 # Check whether --enable-togglebtn or --disable-togglebtn was given.
7093 if test "${enable_togglebtn+set}" = set; then
7094 enableval
="$enable_togglebtn"
7096 if test "$enableval" = yes; then
7097 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
7099 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
7104 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x
; then
7106 eval "DEFAULT_$LINE"
7111 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
7116 eval "$ac_cv_use_togglebtn"
7117 if test "$no_cache" != 1; then
7118 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
7121 if test "$wxUSE_TOGGLEBTN" = yes; then
7122 echo "$ac_t""yes" 1>&6
7124 echo "$ac_t""no" 1>&6
7129 echo $ac_n "checking for --${enablestring:-enable}-toolbar""... $ac_c" 1>&6
7130 echo "configure:7131: checking for --${enablestring:-enable}-toolbar" >&5
7132 # Check whether --enable-toolbar or --disable-toolbar was given.
7133 if test "${enable_toolbar+set}" = set; then
7134 enableval
="$enable_toolbar"
7136 if test "$enableval" = yes; then
7137 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7139 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7144 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7145 if test "x$LINE" != x
; then
7146 eval "DEFAULT_$LINE"
7151 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7156 eval "$ac_cv_use_toolbar"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7161 if test "$wxUSE_TOOLBAR" = yes; then
7162 echo "$ac_t""yes" 1>&6
7164 echo "$ac_t""no" 1>&6
7169 echo $ac_n "checking for --${enablestring:-enable}-tbarnative""... $ac_c" 1>&6
7170 echo "configure:7171: checking for --${enablestring:-enable}-tbarnative" >&5
7172 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7173 if test "${enable_tbarnative+set}" = set; then
7174 enableval
="$enable_tbarnative"
7176 if test "$enableval" = yes; then
7177 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7179 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7184 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7185 if test "x$LINE" != x
; then
7186 eval "DEFAULT_$LINE"
7191 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7196 eval "$ac_cv_use_tbarnative"
7197 if test "$no_cache" != 1; then
7198 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7201 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7202 echo "$ac_t""yes" 1>&6
7204 echo "$ac_t""no" 1>&6
7209 echo $ac_n "checking for --${enablestring:-enable}-tbarsmpl""... $ac_c" 1>&6
7210 echo "configure:7211: checking for --${enablestring:-enable}-tbarsmpl" >&5
7212 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7213 if test "${enable_tbarsmpl+set}" = set; then
7214 enableval
="$enable_tbarsmpl"
7216 if test "$enableval" = yes; then
7217 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7219 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7224 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x
; then
7226 eval "DEFAULT_$LINE"
7231 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7236 eval "$ac_cv_use_tbarsmpl"
7237 if test "$no_cache" != 1; then
7238 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7241 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7242 echo "$ac_t""yes" 1>&6
7244 echo "$ac_t""no" 1>&6
7249 echo $ac_n "checking for --${enablestring:-enable}-treectrl""... $ac_c" 1>&6
7250 echo "configure:7251: checking for --${enablestring:-enable}-treectrl" >&5
7252 # Check whether --enable-treectrl or --disable-treectrl was given.
7253 if test "${enable_treectrl+set}" = set; then
7254 enableval
="$enable_treectrl"
7256 if test "$enableval" = yes; then
7257 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7259 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7264 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7265 if test "x$LINE" != x
; then
7266 eval "DEFAULT_$LINE"
7271 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7276 eval "$ac_cv_use_treectrl"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7281 if test "$wxUSE_TREECTRL" = yes; then
7282 echo "$ac_t""yes" 1>&6
7284 echo "$ac_t""no" 1>&6
7289 echo $ac_n "checking for --${enablestring:-enable}-tipwindow""... $ac_c" 1>&6
7290 echo "configure:7291: checking for --${enablestring:-enable}-tipwindow" >&5
7292 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7293 if test "${enable_tipwindow+set}" = set; then
7294 enableval
="$enable_tipwindow"
7296 if test "$enableval" = yes; then
7297 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7299 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7304 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x
; then
7306 eval "DEFAULT_$LINE"
7311 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7316 eval "$ac_cv_use_tipwindow"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_TIPWINDOW" = yes; then
7322 echo "$ac_t""yes" 1>&6
7324 echo "$ac_t""no" 1>&6
7329 echo $ac_n "checking for --${enablestring:-enable}-popupwin""... $ac_c" 1>&6
7330 echo "configure:7331: checking for --${enablestring:-enable}-popupwin" >&5
7332 # Check whether --enable-popupwin or --disable-popupwin was given.
7333 if test "${enable_popupwin+set}" = set; then
7334 enableval
="$enable_popupwin"
7336 if test "$enableval" = yes; then
7337 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7339 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7344 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7345 if test "x$LINE" != x
; then
7346 eval "DEFAULT_$LINE"
7351 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7356 eval "$ac_cv_use_popupwin"
7357 if test "$no_cache" != 1; then
7358 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7361 if test "$wxUSE_POPUPWIN" = yes; then
7362 echo "$ac_t""yes" 1>&6
7364 echo "$ac_t""no" 1>&6
7371 echo $ac_n "checking for --${enablestring:-enable}-commondlg""... $ac_c" 1>&6
7372 echo "configure:7373: checking for --${enablestring:-enable}-commondlg" >&5
7374 # Check whether --enable-commondlg or --disable-commondlg was given.
7375 if test "${enable_commondlg+set}" = set; then
7376 enableval
="$enable_commondlg"
7378 if test "$enableval" = yes; then
7379 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7381 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7386 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7387 if test "x$LINE" != x
; then
7388 eval "DEFAULT_$LINE"
7393 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7398 eval "$ac_cv_use_commondlg"
7399 if test "$no_cache" != 1; then
7400 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7403 if test "$wxUSE_COMMONDLGS" = yes; then
7404 echo "$ac_t""yes" 1>&6
7406 echo "$ac_t""no" 1>&6
7411 echo $ac_n "checking for --${enablestring:-enable}-choicedlg""... $ac_c" 1>&6
7412 echo "configure:7413: checking for --${enablestring:-enable}-choicedlg" >&5
7414 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7415 if test "${enable_choicedlg+set}" = set; then
7416 enableval
="$enable_choicedlg"
7418 if test "$enableval" = yes; then
7419 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7421 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7426 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7427 if test "x$LINE" != x
; then
7428 eval "DEFAULT_$LINE"
7433 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7438 eval "$ac_cv_use_choicedlg"
7439 if test "$no_cache" != 1; then
7440 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7443 if test "$wxUSE_CHOICEDLG" = yes; then
7444 echo "$ac_t""yes" 1>&6
7446 echo "$ac_t""no" 1>&6
7451 echo $ac_n "checking for --${enablestring:-enable}-coldlg""... $ac_c" 1>&6
7452 echo "configure:7453: checking for --${enablestring:-enable}-coldlg" >&5
7454 # Check whether --enable-coldlg or --disable-coldlg was given.
7455 if test "${enable_coldlg+set}" = set; then
7456 enableval
="$enable_coldlg"
7458 if test "$enableval" = yes; then
7459 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7461 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7466 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7467 if test "x$LINE" != x
; then
7468 eval "DEFAULT_$LINE"
7473 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7478 eval "$ac_cv_use_coldlg"
7479 if test "$no_cache" != 1; then
7480 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7483 if test "$wxUSE_COLOURDLG" = yes; then
7484 echo "$ac_t""yes" 1>&6
7486 echo "$ac_t""no" 1>&6
7491 echo $ac_n "checking for --${enablestring:-enable}-filedlg""... $ac_c" 1>&6
7492 echo "configure:7493: checking for --${enablestring:-enable}-filedlg" >&5
7494 # Check whether --enable-filedlg or --disable-filedlg was given.
7495 if test "${enable_filedlg+set}" = set; then
7496 enableval
="$enable_filedlg"
7498 if test "$enableval" = yes; then
7499 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7501 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7506 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x
; then
7508 eval "DEFAULT_$LINE"
7513 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7518 eval "$ac_cv_use_filedlg"
7519 if test "$no_cache" != 1; then
7520 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7523 if test "$wxUSE_FILEDLG" = yes; then
7524 echo "$ac_t""yes" 1>&6
7526 echo "$ac_t""no" 1>&6
7531 echo $ac_n "checking for --${enablestring:-enable}-finddlg""... $ac_c" 1>&6
7532 echo "configure:7533: checking for --${enablestring:-enable}-finddlg" >&5
7534 # Check whether --enable-finddlg or --disable-finddlg was given.
7535 if test "${enable_finddlg+set}" = set; then
7536 enableval
="$enable_finddlg"
7538 if test "$enableval" = yes; then
7539 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7541 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7546 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7547 if test "x$LINE" != x
; then
7548 eval "DEFAULT_$LINE"
7553 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7558 eval "$ac_cv_use_finddlg"
7559 if test "$no_cache" != 1; then
7560 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7563 if test "$wxUSE_FINDREPLDLG" = yes; then
7564 echo "$ac_t""yes" 1>&6
7566 echo "$ac_t""no" 1>&6
7571 echo $ac_n "checking for --${enablestring:-enable}-fontdlg""... $ac_c" 1>&6
7572 echo "configure:7573: checking for --${enablestring:-enable}-fontdlg" >&5
7574 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7575 if test "${enable_fontdlg+set}" = set; then
7576 enableval
="$enable_fontdlg"
7578 if test "$enableval" = yes; then
7579 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7581 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7586 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7587 if test "x$LINE" != x
; then
7588 eval "DEFAULT_$LINE"
7593 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7598 eval "$ac_cv_use_fontdlg"
7599 if test "$no_cache" != 1; then
7600 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7603 if test "$wxUSE_FONTDLG" = yes; then
7604 echo "$ac_t""yes" 1>&6
7606 echo "$ac_t""no" 1>&6
7611 echo $ac_n "checking for --${enablestring:-enable}-dirdlg""... $ac_c" 1>&6
7612 echo "configure:7613: checking for --${enablestring:-enable}-dirdlg" >&5
7614 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7615 if test "${enable_dirdlg+set}" = set; then
7616 enableval
="$enable_dirdlg"
7618 if test "$enableval" = yes; then
7619 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7621 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7626 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7627 if test "x$LINE" != x
; then
7628 eval "DEFAULT_$LINE"
7633 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7638 eval "$ac_cv_use_dirdlg"
7639 if test "$no_cache" != 1; then
7640 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7643 if test "$wxUSE_DIRDLG" = yes; then
7644 echo "$ac_t""yes" 1>&6
7646 echo "$ac_t""no" 1>&6
7651 echo $ac_n "checking for --${enablestring:-enable}-msgdlg""... $ac_c" 1>&6
7652 echo "configure:7653: checking for --${enablestring:-enable}-msgdlg" >&5
7654 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7655 if test "${enable_msgdlg+set}" = set; then
7656 enableval
="$enable_msgdlg"
7658 if test "$enableval" = yes; then
7659 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7661 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7666 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7667 if test "x$LINE" != x
; then
7668 eval "DEFAULT_$LINE"
7673 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7678 eval "$ac_cv_use_msgdlg"
7679 if test "$no_cache" != 1; then
7680 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7683 if test "$wxUSE_MSGDLG" = yes; then
7684 echo "$ac_t""yes" 1>&6
7686 echo "$ac_t""no" 1>&6
7691 echo $ac_n "checking for --${enablestring:-enable}-numberdlg""... $ac_c" 1>&6
7692 echo "configure:7693: checking for --${enablestring:-enable}-numberdlg" >&5
7694 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7695 if test "${enable_numberdlg+set}" = set; then
7696 enableval
="$enable_numberdlg"
7698 if test "$enableval" = yes; then
7699 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7701 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7706 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7707 if test "x$LINE" != x
; then
7708 eval "DEFAULT_$LINE"
7713 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7718 eval "$ac_cv_use_numberdlg"
7719 if test "$no_cache" != 1; then
7720 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7723 if test "$wxUSE_NUMBERDLG" = yes; then
7724 echo "$ac_t""yes" 1>&6
7726 echo "$ac_t""no" 1>&6
7731 echo $ac_n "checking for --${enablestring:-enable}-splash""... $ac_c" 1>&6
7732 echo "configure:7733: checking for --${enablestring:-enable}-splash" >&5
7734 # Check whether --enable-splash or --disable-splash was given.
7735 if test "${enable_splash+set}" = set; then
7736 enableval
="$enable_splash"
7738 if test "$enableval" = yes; then
7739 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7741 ac_cv_use_splash
='wxUSE_SPLASH=no'
7746 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x
; then
7748 eval "DEFAULT_$LINE"
7753 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7758 eval "$ac_cv_use_splash"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7763 if test "$wxUSE_SPLASH" = yes; then
7764 echo "$ac_t""yes" 1>&6
7766 echo "$ac_t""no" 1>&6
7771 echo $ac_n "checking for --${enablestring:-enable}-textdlg""... $ac_c" 1>&6
7772 echo "configure:7773: checking for --${enablestring:-enable}-textdlg" >&5
7774 # Check whether --enable-textdlg or --disable-textdlg was given.
7775 if test "${enable_textdlg+set}" = set; then
7776 enableval
="$enable_textdlg"
7778 if test "$enableval" = yes; then
7779 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7781 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7786 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x
; then
7788 eval "DEFAULT_$LINE"
7793 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7798 eval "$ac_cv_use_textdlg"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7803 if test "$wxUSE_TEXTDLG" = yes; then
7804 echo "$ac_t""yes" 1>&6
7806 echo "$ac_t""no" 1>&6
7811 echo $ac_n "checking for --${enablestring:-enable}-tipdlg""... $ac_c" 1>&6
7812 echo "configure:7813: checking for --${enablestring:-enable}-tipdlg" >&5
7814 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7815 if test "${enable_tipdlg+set}" = set; then
7816 enableval
="$enable_tipdlg"
7818 if test "$enableval" = yes; then
7819 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7821 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7826 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7827 if test "x$LINE" != x
; then
7828 eval "DEFAULT_$LINE"
7833 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7838 eval "$ac_cv_use_tipdlg"
7839 if test "$no_cache" != 1; then
7840 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7843 if test "$wxUSE_STARTUP_TIPS" = yes; then
7844 echo "$ac_t""yes" 1>&6
7846 echo "$ac_t""no" 1>&6
7851 echo $ac_n "checking for --${enablestring:-enable}-progressdlg""... $ac_c" 1>&6
7852 echo "configure:7853: checking for --${enablestring:-enable}-progressdlg" >&5
7854 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7855 if test "${enable_progressdlg+set}" = set; then
7856 enableval
="$enable_progressdlg"
7858 if test "$enableval" = yes; then
7859 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7861 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7866 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7867 if test "x$LINE" != x
; then
7868 eval "DEFAULT_$LINE"
7873 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7878 eval "$ac_cv_use_progressdlg"
7879 if test "$no_cache" != 1; then
7880 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7883 if test "$wxUSE_PROGRESSDLG" = yes; then
7884 echo "$ac_t""yes" 1>&6
7886 echo "$ac_t""no" 1>&6
7891 echo $ac_n "checking for --${enablestring:-enable}-wizarddlg""... $ac_c" 1>&6
7892 echo "configure:7893: checking for --${enablestring:-enable}-wizarddlg" >&5
7894 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7895 if test "${enable_wizarddlg+set}" = set; then
7896 enableval
="$enable_wizarddlg"
7898 if test "$enableval" = yes; then
7899 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7901 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7906 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7907 if test "x$LINE" != x
; then
7908 eval "DEFAULT_$LINE"
7913 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7918 eval "$ac_cv_use_wizarddlg"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7923 if test "$wxUSE_WIZARDDLG" = yes; then
7924 echo "$ac_t""yes" 1>&6
7926 echo "$ac_t""no" 1>&6
7933 echo $ac_n "checking for --${enablestring:-enable}-menus""... $ac_c" 1>&6
7934 echo "configure:7935: checking for --${enablestring:-enable}-menus" >&5
7936 # Check whether --enable-menus or --disable-menus was given.
7937 if test "${enable_menus+set}" = set; then
7938 enableval
="$enable_menus"
7940 if test "$enableval" = yes; then
7941 ac_cv_use_menus
='wxUSE_MENUS=yes'
7943 ac_cv_use_menus
='wxUSE_MENUS=no'
7948 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7949 if test "x$LINE" != x
; then
7950 eval "DEFAULT_$LINE"
7955 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7960 eval "$ac_cv_use_menus"
7961 if test "$no_cache" != 1; then
7962 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7965 if test "$wxUSE_MENUS" = yes; then
7966 echo "$ac_t""yes" 1>&6
7968 echo "$ac_t""no" 1>&6
7973 echo $ac_n "checking for --${enablestring:-enable}-miniframe""... $ac_c" 1>&6
7974 echo "configure:7975: checking for --${enablestring:-enable}-miniframe" >&5
7976 # Check whether --enable-miniframe or --disable-miniframe was given.
7977 if test "${enable_miniframe+set}" = set; then
7978 enableval
="$enable_miniframe"
7980 if test "$enableval" = yes; then
7981 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7983 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7988 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7989 if test "x$LINE" != x
; then
7990 eval "DEFAULT_$LINE"
7995 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
8000 eval "$ac_cv_use_miniframe"
8001 if test "$no_cache" != 1; then
8002 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
8005 if test "$wxUSE_MINIFRAME" = yes; then
8006 echo "$ac_t""yes" 1>&6
8008 echo "$ac_t""no" 1>&6
8013 echo $ac_n "checking for --${enablestring:-enable}-tooltips""... $ac_c" 1>&6
8014 echo "configure:8015: checking for --${enablestring:-enable}-tooltips" >&5
8016 # Check whether --enable-tooltips or --disable-tooltips was given.
8017 if test "${enable_tooltips+set}" = set; then
8018 enableval
="$enable_tooltips"
8020 if test "$enableval" = yes; then
8021 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
8023 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
8028 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
8029 if test "x$LINE" != x
; then
8030 eval "DEFAULT_$LINE"
8035 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
8040 eval "$ac_cv_use_tooltips"
8041 if test "$no_cache" != 1; then
8042 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
8045 if test "$wxUSE_TOOLTIPS" = yes; then
8046 echo "$ac_t""yes" 1>&6
8048 echo "$ac_t""no" 1>&6
8053 echo $ac_n "checking for --${enablestring:-enable}-splines""... $ac_c" 1>&6
8054 echo "configure:8055: checking for --${enablestring:-enable}-splines" >&5
8056 # Check whether --enable-splines or --disable-splines was given.
8057 if test "${enable_splines+set}" = set; then
8058 enableval
="$enable_splines"
8060 if test "$enableval" = yes; then
8061 ac_cv_use_splines
='wxUSE_SPLINES=yes'
8063 ac_cv_use_splines
='wxUSE_SPLINES=no'
8068 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
8069 if test "x$LINE" != x
; then
8070 eval "DEFAULT_$LINE"
8075 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
8080 eval "$ac_cv_use_splines"
8081 if test "$no_cache" != 1; then
8082 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
8085 if test "$wxUSE_SPLINES" = yes; then
8086 echo "$ac_t""yes" 1>&6
8088 echo "$ac_t""no" 1>&6
8093 echo $ac_n "checking for --${enablestring:-enable}-validators""... $ac_c" 1>&6
8094 echo "configure:8095: checking for --${enablestring:-enable}-validators" >&5
8096 # Check whether --enable-validators or --disable-validators was given.
8097 if test "${enable_validators+set}" = set; then
8098 enableval
="$enable_validators"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
8103 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
8108 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x
; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
8120 eval "$ac_cv_use_validators"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
8125 if test "$wxUSE_VALIDATORS" = yes; then
8126 echo "$ac_t""yes" 1>&6
8128 echo "$ac_t""no" 1>&6
8133 echo $ac_n "checking for --${enablestring:-enable}-busyinfo""... $ac_c" 1>&6
8134 echo "configure:8135: checking for --${enablestring:-enable}-busyinfo" >&5
8136 # Check whether --enable-busyinfo or --disable-busyinfo was given.
8137 if test "${enable_busyinfo+set}" = set; then
8138 enableval
="$enable_busyinfo"
8140 if test "$enableval" = yes; then
8141 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
8143 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
8148 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
8149 if test "x$LINE" != x
; then
8150 eval "DEFAULT_$LINE"
8155 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8160 eval "$ac_cv_use_busyinfo"
8161 if test "$no_cache" != 1; then
8162 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8165 if test "$wxUSE_BUSYINFO" = yes; then
8166 echo "$ac_t""yes" 1>&6
8168 echo "$ac_t""no" 1>&6
8173 echo $ac_n "checking for --${enablestring:-enable}-joystick""... $ac_c" 1>&6
8174 echo "configure:8175: checking for --${enablestring:-enable}-joystick" >&5
8176 # Check whether --enable-joystick or --disable-joystick was given.
8177 if test "${enable_joystick+set}" = set; then
8178 enableval
="$enable_joystick"
8180 if test "$enableval" = yes; then
8181 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8183 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8188 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x
; then
8190 eval "DEFAULT_$LINE"
8195 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8200 eval "$ac_cv_use_joystick"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8205 if test "$wxUSE_JOYSTICK" = yes; then
8206 echo "$ac_t""yes" 1>&6
8208 echo "$ac_t""no" 1>&6
8213 echo $ac_n "checking for --${enablestring:-enable}-metafile""... $ac_c" 1>&6
8214 echo "configure:8215: checking for --${enablestring:-enable}-metafile" >&5
8216 # Check whether --enable-metafile or --disable-metafile was given.
8217 if test "${enable_metafile+set}" = set; then
8218 enableval
="$enable_metafile"
8220 if test "$enableval" = yes; then
8221 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8223 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8228 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x
; then
8230 eval "DEFAULT_$LINE"
8235 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8240 eval "$ac_cv_use_metafile"
8241 if test "$no_cache" != 1; then
8242 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8245 if test "$wxUSE_METAFILE" = yes; then
8246 echo "$ac_t""yes" 1>&6
8248 echo "$ac_t""no" 1>&6
8253 echo $ac_n "checking for --${enablestring:-enable}-dragimage""... $ac_c" 1>&6
8254 echo "configure:8255: checking for --${enablestring:-enable}-dragimage" >&5
8256 # Check whether --enable-dragimage or --disable-dragimage was given.
8257 if test "${enable_dragimage+set}" = set; then
8258 enableval
="$enable_dragimage"
8260 if test "$enableval" = yes; then
8261 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8263 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8268 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8269 if test "x$LINE" != x
; then
8270 eval "DEFAULT_$LINE"
8275 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8280 eval "$ac_cv_use_dragimage"
8281 if test "$no_cache" != 1; then
8282 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8285 if test "$wxUSE_DRAGIMAGE" = yes; then
8286 echo "$ac_t""yes" 1>&6
8288 echo "$ac_t""no" 1>&6
8295 echo $ac_n "checking for --${enablestring:-enable}-palette""... $ac_c" 1>&6
8296 echo "configure:8297: checking for --${enablestring:-enable}-palette" >&5
8298 # Check whether --enable-palette or --disable-palette was given.
8299 if test "${enable_palette+set}" = set; then
8300 enableval
="$enable_palette"
8302 if test "$enableval" = yes; then
8303 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8305 ac_cv_use_palette
='wxUSE_PALETTE=no'
8310 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8311 if test "x$LINE" != x
; then
8312 eval "DEFAULT_$LINE"
8317 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8322 eval "$ac_cv_use_palette"
8323 if test "$no_cache" != 1; then
8324 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8327 if test "$wxUSE_PALETTE" = yes; then
8328 echo "$ac_t""yes" 1>&6
8330 echo "$ac_t""no" 1>&6
8335 echo $ac_n "checking for --${enablestring:-enable}-image""... $ac_c" 1>&6
8336 echo "configure:8337: checking for --${enablestring:-enable}-image" >&5
8338 # Check whether --enable-image or --disable-image was given.
8339 if test "${enable_image+set}" = set; then
8340 enableval
="$enable_image"
8342 if test "$enableval" = yes; then
8343 ac_cv_use_image
='wxUSE_IMAGE=yes'
8345 ac_cv_use_image
='wxUSE_IMAGE=no'
8350 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8351 if test "x$LINE" != x
; then
8352 eval "DEFAULT_$LINE"
8357 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8362 eval "$ac_cv_use_image"
8363 if test "$no_cache" != 1; then
8364 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8367 if test "$wxUSE_IMAGE" = yes; then
8368 echo "$ac_t""yes" 1>&6
8370 echo "$ac_t""no" 1>&6
8375 echo $ac_n "checking for --${enablestring:-enable}-gif""... $ac_c" 1>&6
8376 echo "configure:8377: checking for --${enablestring:-enable}-gif" >&5
8378 # Check whether --enable-gif or --disable-gif was given.
8379 if test "${enable_gif+set}" = set; then
8380 enableval
="$enable_gif"
8382 if test "$enableval" = yes; then
8383 ac_cv_use_gif
='wxUSE_GIF=yes'
8385 ac_cv_use_gif
='wxUSE_GIF=no'
8390 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8391 if test "x$LINE" != x
; then
8392 eval "DEFAULT_$LINE"
8397 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8402 eval "$ac_cv_use_gif"
8403 if test "$no_cache" != 1; then
8404 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8407 if test "$wxUSE_GIF" = yes; then
8408 echo "$ac_t""yes" 1>&6
8410 echo "$ac_t""no" 1>&6
8415 echo $ac_n "checking for --${enablestring:-enable}-pcx""... $ac_c" 1>&6
8416 echo "configure:8417: checking for --${enablestring:-enable}-pcx" >&5
8418 # Check whether --enable-pcx or --disable-pcx was given.
8419 if test "${enable_pcx+set}" = set; then
8420 enableval
="$enable_pcx"
8422 if test "$enableval" = yes; then
8423 ac_cv_use_pcx
='wxUSE_PCX=yes'
8425 ac_cv_use_pcx
='wxUSE_PCX=no'
8430 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8431 if test "x$LINE" != x
; then
8432 eval "DEFAULT_$LINE"
8437 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8442 eval "$ac_cv_use_pcx"
8443 if test "$no_cache" != 1; then
8444 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8447 if test "$wxUSE_PCX" = yes; then
8448 echo "$ac_t""yes" 1>&6
8450 echo "$ac_t""no" 1>&6
8455 echo $ac_n "checking for --${enablestring:-enable}-iff""... $ac_c" 1>&6
8456 echo "configure:8457: checking for --${enablestring:-enable}-iff" >&5
8458 # Check whether --enable-iff or --disable-iff was given.
8459 if test "${enable_iff+set}" = set; then
8460 enableval
="$enable_iff"
8462 if test "$enableval" = yes; then
8463 ac_cv_use_iff
='wxUSE_IFF=yes'
8465 ac_cv_use_iff
='wxUSE_IFF=no'
8470 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8471 if test "x$LINE" != x
; then
8472 eval "DEFAULT_$LINE"
8477 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8482 eval "$ac_cv_use_iff"
8483 if test "$no_cache" != 1; then
8484 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8487 if test "$wxUSE_IFF" = yes; then
8488 echo "$ac_t""yes" 1>&6
8490 echo "$ac_t""no" 1>&6
8495 echo $ac_n "checking for --${enablestring:-enable}-pnm""... $ac_c" 1>&6
8496 echo "configure:8497: checking for --${enablestring:-enable}-pnm" >&5
8498 # Check whether --enable-pnm or --disable-pnm was given.
8499 if test "${enable_pnm+set}" = set; then
8500 enableval
="$enable_pnm"
8502 if test "$enableval" = yes; then
8503 ac_cv_use_pnm
='wxUSE_PNM=yes'
8505 ac_cv_use_pnm
='wxUSE_PNM=no'
8510 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8511 if test "x$LINE" != x
; then
8512 eval "DEFAULT_$LINE"
8517 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8522 eval "$ac_cv_use_pnm"
8523 if test "$no_cache" != 1; then
8524 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8527 if test "$wxUSE_PNM" = yes; then
8528 echo "$ac_t""yes" 1>&6
8530 echo "$ac_t""no" 1>&6
8535 echo $ac_n "checking for --${enablestring:-enable}-xpm""... $ac_c" 1>&6
8536 echo "configure:8537: checking for --${enablestring:-enable}-xpm" >&5
8538 # Check whether --enable-xpm or --disable-xpm was given.
8539 if test "${enable_xpm+set}" = set; then
8540 enableval
="$enable_xpm"
8542 if test "$enableval" = yes; then
8543 ac_cv_use_xpm
='wxUSE_XPM=yes'
8545 ac_cv_use_xpm
='wxUSE_XPM=no'
8550 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8551 if test "x$LINE" != x
; then
8552 eval "DEFAULT_$LINE"
8557 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8562 eval "$ac_cv_use_xpm"
8563 if test "$no_cache" != 1; then
8564 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8567 if test "$wxUSE_XPM" = yes; then
8568 echo "$ac_t""yes" 1>&6
8570 echo "$ac_t""no" 1>&6
8575 echo $ac_n "checking for --${enablestring:-enable}-ico_cur""... $ac_c" 1>&6
8576 echo "configure:8577: checking for --${enablestring:-enable}-ico_cur" >&5
8578 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8579 if test "${enable_ico_cur+set}" = set; then
8580 enableval
="$enable_ico_cur"
8582 if test "$enableval" = yes; then
8583 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8585 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8590 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8591 if test "x$LINE" != x
; then
8592 eval "DEFAULT_$LINE"
8597 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8602 eval "$ac_cv_use_ico_cur"
8603 if test "$no_cache" != 1; then
8604 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8607 if test "$wxUSE_ICO_CUR" = yes; then
8608 echo "$ac_t""yes" 1>&6
8610 echo "$ac_t""no" 1>&6
8617 *-pc-os2_emx | *-pc-os2-emx )
8629 echo "saving argument cache $wx_arg_cache_file"
8630 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8634 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8635 echo "configure:8636: checking for toolkit" >&5
8637 # In Wine, we need to default to MSW, not GTK or MOTIF
8638 if test "$wxUSE_WINE" = "yes"; then
8639 DEFAULT_DEFAULT_wxUSE_GTK
=0
8640 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
8641 DEFAULT_DEFAULT_wxUSE_MSW
=1
8644 if test "$wxUSE_GUI" = "yes"; then
8646 if test "$USE_BEOS" = 1; then
8647 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8650 if test "$TOOLKIT_GIVEN" = 1; then
8651 for toolkit
in `echo $ALL_TOOLKITS`; do
8653 eval "value=\$${var}"
8654 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8657 for toolkit
in `echo $ALL_TOOLKITS`; do
8658 if test "$has_toolkit_in_cache" != 1; then
8659 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8661 var
=DEFAULT_wxUSE_
$toolkit
8663 eval "wxUSE_$toolkit=\$${var}"
8667 NUM_TOOLKITS
=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
8668 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
8669 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
8672 *-pc-os2_emx | *-pc-os2-emx )
8673 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8676 case "$NUM_TOOLKITS" in
8680 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8683 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8686 for toolkit
in `echo $ALL_TOOLKITS`; do
8688 eval "value=\$${var}"
8689 if test "x$value" != x
; then
8690 cache_var
=CACHE_
$toolkit
8691 eval "cache=\$${cache_var}"
8692 if test "$cache" = 1; then
8693 echo "$var=$value" >> ${wx_arg_cache_file}
8695 if test "$value" = 1; then
8696 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8697 echo "$ac_t""$toolkit_echo" 1>&6
8702 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8709 if test "$wxUSE_MSW" = 1 ; then
8720 if test "$wxUSE_WINE" = "yes"; then
8727 if test "$wants_win32" = 1 ; then
8730 cat >> confdefs.h
<<\EOF
8734 cat >> confdefs.h
<<\EOF
8738 cat >> confdefs.h
<<\EOF
8739 #define __WINDOWS__ 1
8742 cat >> confdefs.h
<<\EOF
8743 #define __GNUWIN32__ 1
8746 cat >> confdefs.h
<<\EOF
8750 cat >> confdefs.h
<<\EOF
8751 #define WINVER 0x0400
8755 if test "$doesnt_want_win32" = 1 ; then
8760 if test "$USE_UNIX" = 1 ; then
8762 cat >> confdefs.h
<<\EOF
8769 cat > confcache
<<\EOF
8770 # This file is a shell script that caches the results of configure
8771 # tests run on this system so they can be shared between configure
8772 # scripts and configure runs. It is not useful on other systems.
8773 # If it contains results you don't want to keep, you may remove or edit it.
8775 # By default, configure uses ./config.cache as the cache file,
8776 # creating it if it does not exist already. You can give configure
8777 # the --cache-file=FILE option to use a different cache file; that is
8778 # what configure does when it calls configure scripts in
8779 # subdirectories, so they share the cache.
8780 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8781 # config.status only pays attention to the cache file if you give it the
8782 # --recheck option to rerun configure.
8785 # The following way of writing the cache mishandles newlines in values,
8786 # but we know of no workaround that is simple, portable, and efficient.
8787 # So, don't put newlines in cache variables' values.
8788 # Ultrix sh set writes to stderr and can't be redirected directly,
8789 # and sets the high bit in the cache file unless we assign to the vars.
8791 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8793 # `set' does not quote correctly, so add quotes (double-quote substitution
8794 # turns \\\\ into \\, and sed turns \\ into \).
8796 -e "s/'/'\\\\''/g" \
8797 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8800 # `set' quotes correctly as required by POSIX, so do not add quotes.
8801 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8804 if cmp -s $cache_file confcache
; then
8807 if test -w $cache_file; then
8808 echo "updating cache $cache_file"
8809 cat confcache
> $cache_file
8811 echo "not updating unwritable cache $cache_file"
8817 if test "$build" != "$host" ; then
8818 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8822 RANLIB
=$host_alias-ranlib
8823 DLLTOOL
=$host_alias-dlltool
8824 RESCOMP
=$host_alias-windres
8827 STRIP
=$host_alias-strip
8829 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8834 # Extract the first word of "gcc", so it can be a program name with args.
8835 set dummy gcc
; ac_word
=$2
8836 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8837 echo "configure:8838: checking for $ac_word" >&5
8838 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8839 echo $ac_n "(cached) $ac_c" 1>&6
8841 if test -n "$CC"; then
8842 ac_cv_prog_CC
="$CC" # Let the user override the test.
8844 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8846 for ac_dir
in $ac_dummy; do
8847 test -z "$ac_dir" && ac_dir
=.
8848 if test -f $ac_dir/$ac_word; then
8857 if test -n "$CC"; then
8858 echo "$ac_t""$CC" 1>&6
8860 echo "$ac_t""no" 1>&6
8863 if test -z "$CC"; then
8864 # Extract the first word of "cc", so it can be a program name with args.
8865 set dummy cc
; ac_word
=$2
8866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8867 echo "configure:8868: checking for $ac_word" >&5
8868 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8869 echo $ac_n "(cached) $ac_c" 1>&6
8871 if test -n "$CC"; then
8872 ac_cv_prog_CC
="$CC" # Let the user override the test.
8874 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8877 for ac_dir
in $ac_dummy; do
8878 test -z "$ac_dir" && ac_dir
=.
8879 if test -f $ac_dir/$ac_word; then
8880 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8881 ac_prog_rejected
=yes
8889 if test $ac_prog_rejected = yes; then
8890 # We found a bogon in the path, so make sure we never use it.
8891 set dummy
$ac_cv_prog_CC
8893 if test $# -gt 0; then
8894 # We chose a different compiler from the bogus one.
8895 # However, it has the same basename, so the bogon will be chosen
8896 # first if we set CC to just the basename; use the full file name.
8898 set dummy
"$ac_dir/$ac_word" "$@"
8906 if test -n "$CC"; then
8907 echo "$ac_t""$CC" 1>&6
8909 echo "$ac_t""no" 1>&6
8912 if test -z "$CC"; then
8913 case "`uname -s`" in
8915 # Extract the first word of "cl", so it can be a program name with args.
8916 set dummy cl
; ac_word
=$2
8917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8918 echo "configure:8919: checking for $ac_word" >&5
8919 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8920 echo $ac_n "(cached) $ac_c" 1>&6
8922 if test -n "$CC"; then
8923 ac_cv_prog_CC
="$CC" # Let the user override the test.
8925 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8927 for ac_dir
in $ac_dummy; do
8928 test -z "$ac_dir" && ac_dir
=.
8929 if test -f $ac_dir/$ac_word; then
8938 if test -n "$CC"; then
8939 echo "$ac_t""$CC" 1>&6
8941 echo "$ac_t""no" 1>&6
8946 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8949 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8950 echo "configure:8951: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8953 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8954 ac_cpp
='$CPP $CPPFLAGS'
8955 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8956 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8957 cross_compiling
=$ac_cv_prog_cc_cross
8959 cat > conftest.
$ac_ext << EOF
8961 #line 8962 "configure"
8962 #include "confdefs.h"
8966 if { (eval echo configure
:8967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8967 ac_cv_prog_cc_works
=yes
8968 # If we can't run a trivial program, we are probably using a cross compiler.
8969 if (.
/conftest
; exit) 2>/dev
/null
; then
8970 ac_cv_prog_cc_cross
=no
8972 ac_cv_prog_cc_cross
=yes
8975 echo "configure: failed program was:" >&5
8976 cat conftest.
$ac_ext >&5
8977 ac_cv_prog_cc_works
=no
8981 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8982 ac_cpp
='$CPP $CPPFLAGS'
8983 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8984 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8985 cross_compiling
=$ac_cv_prog_cc_cross
8987 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8988 if test $ac_cv_prog_cc_works = no
; then
8989 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8991 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8992 echo "configure:8993: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8993 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8994 cross_compiling
=$ac_cv_prog_cc_cross
8996 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8997 echo "configure:8998: checking whether we are using GNU C" >&5
8998 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8999 echo $ac_n "(cached) $ac_c" 1>&6
9001 cat > conftest.c
<<EOF
9006 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:9007: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9013 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
9015 if test $ac_cv_prog_gcc = yes; then
9021 ac_test_CFLAGS
="${CFLAGS+set}"
9022 ac_save_CFLAGS
="$CFLAGS"
9024 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
9025 echo "configure:9026: checking whether ${CC-cc} accepts -g" >&5
9026 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
9027 echo $ac_n "(cached) $ac_c" 1>&6
9029 echo 'void f(){}' > conftest.c
9030 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
9039 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
9040 if test "$ac_test_CFLAGS" = set; then
9041 CFLAGS
="$ac_save_CFLAGS"
9042 elif test $ac_cv_prog_cc_g = yes; then
9043 if test "$GCC" = yes; then
9049 if test "$GCC" = yes; then
9057 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9058 echo "configure:9059: checking how to run the C preprocessor" >&5
9059 # On Suns, sometimes $CPP names a directory.
9060 if test -n "$CPP" && test -d "$CPP"; then
9063 if test -z "$CPP"; then
9064 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9065 echo $ac_n "(cached) $ac_c" 1>&6
9067 # This must be in double quotes, not single quotes, because CPP may get
9068 # substituted into the Makefile and "${CC-cc}" will confuse make.
9070 # On the NeXT, cc -E runs the code through the compiler's parser,
9071 # not just through cpp.
9072 cat > conftest.
$ac_ext <<EOF
9073 #line 9074 "configure"
9074 #include "confdefs.h"
9078 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9079 { (eval echo configure
:9080: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9080 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9081 if test -z "$ac_err"; then
9085 echo "configure: failed program was:" >&5
9086 cat conftest.
$ac_ext >&5
9088 CPP
="${CC-cc} -E -traditional-cpp"
9089 cat > conftest.
$ac_ext <<EOF
9090 #line 9091 "configure"
9091 #include "confdefs.h"
9095 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9096 { (eval echo configure
:9097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9097 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9098 if test -z "$ac_err"; then
9102 echo "configure: failed program was:" >&5
9103 cat conftest.
$ac_ext >&5
9105 CPP
="${CC-cc} -nologo -E"
9106 cat > conftest.
$ac_ext <<EOF
9107 #line 9108 "configure"
9108 #include "confdefs.h"
9112 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9113 { (eval echo configure
:9114: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9114 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9115 if test -z "$ac_err"; then
9119 echo "configure: failed program was:" >&5
9120 cat conftest.
$ac_ext >&5
9129 ac_cv_prog_CPP
="$CPP"
9131 CPP
="$ac_cv_prog_CPP"
9133 ac_cv_prog_CPP
="$CPP"
9135 echo "$ac_t""$CPP" 1>&6
9137 if test $ac_cv_prog_gcc = yes; then
9138 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9139 echo "configure:9140: checking whether ${CC-cc} needs -traditional" >&5
9140 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9141 echo $ac_n "(cached) $ac_c" 1>&6
9143 ac_pattern
="Autoconf.*'x'"
9144 cat > conftest.
$ac_ext <<EOF
9145 #line 9146 "configure"
9146 #include "confdefs.h"
9150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9151 egrep "$ac_pattern" >/dev
/null
2>&1; then
9153 ac_cv_prog_gcc_traditional
=yes
9156 ac_cv_prog_gcc_traditional
=no
9161 if test $ac_cv_prog_gcc_traditional = no
; then
9162 cat > conftest.
$ac_ext <<EOF
9163 #line 9164 "configure"
9164 #include "confdefs.h"
9168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9169 egrep "$ac_pattern" >/dev
/null
2>&1; then
9171 ac_cv_prog_gcc_traditional
=yes
9178 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9179 if test $ac_cv_prog_gcc_traditional = yes; then
9180 CC
="$CC -traditional"
9187 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9188 ac_cpp
='$CXXCPP $CPPFLAGS'
9189 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9190 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9191 cross_compiling
=$ac_cv_prog_cxx_cross
9194 CXXFLAGS
=${CXXFLAGS:=}
9195 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9197 # Extract the first word of "$ac_prog", so it can be a program name with args.
9198 set dummy
$ac_prog; ac_word
=$2
9199 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9200 echo "configure:9201: checking for $ac_word" >&5
9201 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9202 echo $ac_n "(cached) $ac_c" 1>&6
9204 if test -n "$CXX"; then
9205 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9207 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9209 for ac_dir
in $ac_dummy; do
9210 test -z "$ac_dir" && ac_dir
=.
9211 if test -f $ac_dir/$ac_word; then
9212 ac_cv_prog_CXX
="$ac_prog"
9219 CXX
="$ac_cv_prog_CXX"
9220 if test -n "$CXX"; then
9221 echo "$ac_t""$CXX" 1>&6
9223 echo "$ac_t""no" 1>&6
9226 test -n "$CXX" && break
9228 test -n "$CXX" || CXX
="gcc"
9231 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9232 echo "configure:9233: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9235 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9236 ac_cpp
='$CXXCPP $CPPFLAGS'
9237 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9238 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9239 cross_compiling
=$ac_cv_prog_cxx_cross
9241 cat > conftest.
$ac_ext << EOF
9243 #line 9244 "configure"
9244 #include "confdefs.h"
9246 int main(){return(0);}
9248 if { (eval echo configure
:9249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9249 ac_cv_prog_cxx_works
=yes
9250 # If we can't run a trivial program, we are probably using a cross compiler.
9251 if (.
/conftest
; exit) 2>/dev
/null
; then
9252 ac_cv_prog_cxx_cross
=no
9254 ac_cv_prog_cxx_cross
=yes
9257 echo "configure: failed program was:" >&5
9258 cat conftest.
$ac_ext >&5
9259 ac_cv_prog_cxx_works
=no
9263 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9264 ac_cpp
='$CXXCPP $CPPFLAGS'
9265 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9266 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9267 cross_compiling
=$ac_cv_prog_cxx_cross
9269 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9270 if test $ac_cv_prog_cxx_works = no
; then
9271 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9273 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9274 echo "configure:9275: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9275 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9276 cross_compiling
=$ac_cv_prog_cxx_cross
9278 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9279 echo "configure:9280: checking whether we are using GNU C++" >&5
9280 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9281 echo $ac_n "(cached) $ac_c" 1>&6
9283 cat > conftest.C
<<EOF
9288 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9289: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9295 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9297 if test $ac_cv_prog_gxx = yes; then
9303 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9304 ac_save_CXXFLAGS
="$CXXFLAGS"
9306 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9307 echo "configure:9308: checking whether ${CXX-g++} accepts -g" >&5
9308 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9309 echo $ac_n "(cached) $ac_c" 1>&6
9311 echo 'void f(){}' > conftest.cc
9312 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9313 ac_cv_prog_cxx_g
=yes
9321 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9322 if test "$ac_test_CXXFLAGS" = set; then
9323 CXXFLAGS
="$ac_save_CXXFLAGS"
9324 elif test $ac_cv_prog_cxx_g = yes; then
9325 if test "$GXX" = yes; then
9331 if test "$GXX" = yes; then
9340 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9341 ac_cpp
='$CPP $CPPFLAGS'
9342 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9343 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9344 cross_compiling
=$ac_cv_prog_cc_cross
9347 # Extract the first word of "ranlib", so it can be a program name with args.
9348 set dummy ranlib
; ac_word
=$2
9349 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9350 echo "configure:9351: checking for $ac_word" >&5
9351 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9352 echo $ac_n "(cached) $ac_c" 1>&6
9354 if test -n "$RANLIB"; then
9355 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9357 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9359 for ac_dir
in $ac_dummy; do
9360 test -z "$ac_dir" && ac_dir
=.
9361 if test -f $ac_dir/$ac_word; then
9362 ac_cv_prog_RANLIB
="ranlib"
9367 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9370 RANLIB
="$ac_cv_prog_RANLIB"
9371 if test -n "$RANLIB"; then
9372 echo "$ac_t""$RANLIB" 1>&6
9374 echo "$ac_t""no" 1>&6
9378 # Extract the first word of "ar", so it can be a program name with args.
9379 set dummy
ar; ac_word
=$2
9380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9381 echo "configure:9382: checking for $ac_word" >&5
9382 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9383 echo $ac_n "(cached) $ac_c" 1>&6
9385 if test -n "$AR"; then
9386 ac_cv_prog_AR
="$AR" # Let the user override the test.
9388 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9390 for ac_dir
in $ac_dummy; do
9391 test -z "$ac_dir" && ac_dir
=.
9392 if test -f $ac_dir/$ac_word; then
9398 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9402 if test -n "$AR"; then
9403 echo "$ac_t""$AR" 1>&6
9405 echo "$ac_t""no" 1>&6
9409 # Find a good install program. We prefer a C program (faster),
9410 # so one script is as good as another. But avoid the broken or
9411 # incompatible versions:
9412 # SysV /etc/install, /usr/sbin/install
9413 # SunOS /usr/etc/install
9414 # IRIX /sbin/install
9416 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9417 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9418 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9419 # ./install, which can be erroneously created by make from ./install.sh.
9420 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9421 echo "configure:9422: checking for a BSD compatible install" >&5
9422 if test -z "$INSTALL"; then
9423 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9424 echo $ac_n "(cached) $ac_c" 1>&6
9426 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9427 for ac_dir
in $PATH; do
9428 # Account for people who put trailing slashes in PATH elements.
9430 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9432 # OSF1 and SCO ODT 3.0 have their own names for install.
9433 # Don't use installbsd from OSF since it installs stuff as root
9435 for ac_prog
in ginstall scoinst
install; do
9436 if test -f $ac_dir/$ac_prog; then
9437 if test $ac_prog = install &&
9438 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9439 # AIX install. It has an incompatible calling convention.
9442 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9453 if test "${ac_cv_path_install+set}" = set; then
9454 INSTALL
="$ac_cv_path_install"
9456 # As a last resort, use the slow shell script. We don't cache a
9457 # path for INSTALL within a source directory, because that will
9458 # break other packages using the cache if that directory is
9459 # removed, or if the path is relative.
9460 INSTALL
="$ac_install_sh"
9463 echo "$ac_t""$INSTALL" 1>&6
9465 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9466 # It thinks the first close brace ends the variable substitution.
9467 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9469 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9471 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9477 ?
:* ) # Drive letter, considered as absolute.
9480 INSTALL
=`pwd`/${INSTALL} ;;
9488 *) INSTALL_DIR
="$INSTALL -d"
9496 INSTALL_PROGRAM
="cp -fp"
9497 INSTALL_DATA
="cp -fp"
9503 # Extract the first word of "strip", so it can be a program name with args.
9504 set dummy strip
; ac_word
=$2
9505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9506 echo "configure:9507: checking for $ac_word" >&5
9507 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9508 echo $ac_n "(cached) $ac_c" 1>&6
9510 if test -n "$STRIP"; then
9511 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9513 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9515 for ac_dir
in $ac_dummy; do
9516 test -z "$ac_dir" && ac_dir
=.
9517 if test -f $ac_dir/$ac_word; then
9518 ac_cv_prog_STRIP
="strip"
9523 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9526 STRIP
="$ac_cv_prog_STRIP"
9527 if test -n "$STRIP"; then
9528 echo "$ac_t""$STRIP" 1>&6
9530 echo "$ac_t""no" 1>&6
9534 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9535 echo "configure:9536: checking if make is GNU make" >&5
9536 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9537 echo $ac_n "(cached) $ac_c" 1>&6
9540 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9541 egrep -s GNU
> /dev
/null
); then
9542 wx_cv_prog_makeisgnu
="yes"
9544 wx_cv_prog_makeisgnu
="no"
9549 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9551 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9559 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9560 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9561 echo "configure:9562: checking if make supports VPATH" >&5
9562 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9563 echo $ac_n "(cached) $ac_c" 1>&6
9566 cat - << EOF > confMake
9572 if test ! -d sub
; then
9575 echo dummy
> sub
/file
9576 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9578 rm -f sub
/file check final_file confMake
9580 if test "$RESULT" = 0; then
9581 wx_cv_prog_makevpath
="yes"
9583 wx_cv_prog_makevpath
="no"
9588 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9590 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9591 { echo "configure: error:
9592 You need a make-utility that is able to use the variable
9594 If your version of make does not support VPATH correctly,
9595 please install GNU-make (possibly as gmake), and start
9596 configure with the following command:
9597 export MAKE=gmake; ./configure for sh-type shells
9598 setenv MAKE gmake; ./configure for csh-type shells
9599 Also please do remember to use gmake in this case every time
9600 you are trying to compile.
9603 for ac_prog
in 'bison -y' byacc
9605 # Extract the first word of "$ac_prog", so it can be a program name with args.
9606 set dummy
$ac_prog; ac_word
=$2
9607 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9608 echo "configure:9609: checking for $ac_word" >&5
9609 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9610 echo $ac_n "(cached) $ac_c" 1>&6
9612 if test -n "$YACC"; then
9613 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9615 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9617 for ac_dir
in $ac_dummy; do
9618 test -z "$ac_dir" && ac_dir
=.
9619 if test -f $ac_dir/$ac_word; then
9620 ac_cv_prog_YACC
="$ac_prog"
9627 YACC
="$ac_cv_prog_YACC"
9628 if test -n "$YACC"; then
9629 echo "$ac_t""$YACC" 1>&6
9631 echo "$ac_t""no" 1>&6
9634 test -n "$YACC" && break
9636 test -n "$YACC" || YACC
="yacc"
9639 # Extract the first word of "flex", so it can be a program name with args.
9640 set dummy flex
; ac_word
=$2
9641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9642 echo "configure:9643: checking for $ac_word" >&5
9643 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9644 echo $ac_n "(cached) $ac_c" 1>&6
9646 if test -n "$LEX"; then
9647 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9649 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9651 for ac_dir
in $ac_dummy; do
9652 test -z "$ac_dir" && ac_dir
=.
9653 if test -f $ac_dir/$ac_word; then
9654 ac_cv_prog_LEX
="flex"
9659 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9662 LEX
="$ac_cv_prog_LEX"
9663 if test -n "$LEX"; then
9664 echo "$ac_t""$LEX" 1>&6
9666 echo "$ac_t""no" 1>&6
9669 if test -z "$LEXLIB"
9675 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9676 echo "configure:9677: checking for yywrap in -l$ac_lib" >&5
9677 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9678 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9679 echo $ac_n "(cached) $ac_c" 1>&6
9681 ac_save_LIBS
="$LIBS"
9682 LIBS
="-l$ac_lib $LIBS"
9683 cat > conftest.
$ac_ext <<EOF
9684 #line 9685 "configure"
9685 #include "confdefs.h"
9686 /* Override any gcc2 internal prototype to avoid an error. */
9687 /* We use char because int might match the return type of a gcc2
9688 builtin and then its argument prototype would still apply. */
9695 if { (eval echo configure
:9696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9697 eval "ac_cv_lib_$ac_lib_var=yes"
9699 echo "configure: failed program was:" >&5
9700 cat conftest.
$ac_ext >&5
9702 eval "ac_cv_lib_$ac_lib_var=no"
9705 LIBS
="$ac_save_LIBS"
9708 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9709 echo "$ac_t""yes" 1>&6
9712 echo "$ac_t""no" 1>&6
9718 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9719 echo "configure:9720: checking whether ln -s works" >&5
9720 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9721 echo $ac_n "(cached) $ac_c" 1>&6
9724 if ln -s X conftestdata
2>/dev
/null
9727 ac_cv_prog_LN_S
="ln -s"
9732 LN_S
="$ac_cv_prog_LN_S"
9733 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9734 echo "$ac_t""yes" 1>&6
9736 echo "$ac_t""no" 1>&6
9741 *-pc-os2_emx | *-pc-os2-emx )
9742 LIBS
="$LIBS -lstdcpp"
9743 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
9744 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
9745 echo "configure:9746: checking for drand48 in -lcExt" >&5
9746 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
9747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9748 echo $ac_n "(cached) $ac_c" 1>&6
9750 ac_save_LIBS
="$LIBS"
9752 cat > conftest.
$ac_ext <<EOF
9753 #line 9754 "configure"
9754 #include "confdefs.h"
9755 /* Override any gcc2 internal prototype to avoid an error. */
9756 /* We use char because int might match the return type of a gcc2
9757 builtin and then its argument prototype would still apply. */
9764 if { (eval echo configure
:9765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9766 eval "ac_cv_lib_$ac_lib_var=yes"
9768 echo "configure: failed program was:" >&5
9769 cat conftest.
$ac_ext >&5
9771 eval "ac_cv_lib_$ac_lib_var=no"
9774 LIBS
="$ac_save_LIBS"
9777 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9778 echo "$ac_t""yes" 1>&6
9781 echo "$ac_t""no" 1>&6
9785 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
9791 if test "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
9792 for ac_hdr
in strings.h
9794 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9795 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9796 echo "configure:9797: checking for $ac_hdr" >&5
9797 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9798 echo $ac_n "(cached) $ac_c" 1>&6
9800 cat > conftest.
$ac_ext <<EOF
9801 #line 9802 "configure"
9802 #include "confdefs.h"
9805 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9806 { (eval echo configure
:9807: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9807 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9808 if test -z "$ac_err"; then
9810 eval "ac_cv_header_$ac_safe=yes"
9813 echo "configure: failed program was:" >&5
9814 cat conftest.
$ac_ext >&5
9816 eval "ac_cv_header_$ac_safe=no"
9820 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9821 echo "$ac_t""yes" 1>&6
9822 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9823 cat >> confdefs.h
<<EOF
9824 #define $ac_tr_hdr 1
9828 echo "$ac_t""no" 1>&6
9834 for ac_hdr
in stdlib.h
9836 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9837 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9838 echo "configure:9839: checking for $ac_hdr" >&5
9839 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9840 echo $ac_n "(cached) $ac_c" 1>&6
9842 cat > conftest.
$ac_ext <<EOF
9843 #line 9844 "configure"
9844 #include "confdefs.h"
9847 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9848 { (eval echo configure
:9849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9849 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9850 if test -z "$ac_err"; then
9852 eval "ac_cv_header_$ac_safe=yes"
9855 echo "configure: failed program was:" >&5
9856 cat conftest.
$ac_ext >&5
9858 eval "ac_cv_header_$ac_safe=no"
9862 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9863 echo "$ac_t""yes" 1>&6
9864 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9865 cat >> confdefs.h
<<EOF
9866 #define $ac_tr_hdr 1
9870 echo "$ac_t""no" 1>&6
9874 for ac_hdr
in malloc.h
9876 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9877 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9878 echo "configure:9879: checking for $ac_hdr" >&5
9879 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9880 echo $ac_n "(cached) $ac_c" 1>&6
9882 cat > conftest.
$ac_ext <<EOF
9883 #line 9884 "configure"
9884 #include "confdefs.h"
9887 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9888 { (eval echo configure
:9889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9889 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9890 if test -z "$ac_err"; then
9892 eval "ac_cv_header_$ac_safe=yes"
9895 echo "configure: failed program was:" >&5
9896 cat conftest.
$ac_ext >&5
9898 eval "ac_cv_header_$ac_safe=no"
9902 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9903 echo "$ac_t""yes" 1>&6
9904 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9905 cat >> confdefs.h
<<EOF
9906 #define $ac_tr_hdr 1
9910 echo "$ac_t""no" 1>&6
9914 for ac_hdr
in unistd.h
9916 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9917 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9918 echo "configure:9919: checking for $ac_hdr" >&5
9919 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9920 echo $ac_n "(cached) $ac_c" 1>&6
9922 cat > conftest.
$ac_ext <<EOF
9923 #line 9924 "configure"
9924 #include "confdefs.h"
9927 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9928 { (eval echo configure
:9929: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9929 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9930 if test -z "$ac_err"; then
9932 eval "ac_cv_header_$ac_safe=yes"
9935 echo "configure: failed program was:" >&5
9936 cat conftest.
$ac_ext >&5
9938 eval "ac_cv_header_$ac_safe=no"
9942 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9943 echo "$ac_t""yes" 1>&6
9944 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9945 cat >> confdefs.h
<<EOF
9946 #define $ac_tr_hdr 1
9950 echo "$ac_t""no" 1>&6
9954 for ac_hdr
in wchar.h
9956 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9957 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9958 echo "configure:9959: checking for $ac_hdr" >&5
9959 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9960 echo $ac_n "(cached) $ac_c" 1>&6
9962 cat > conftest.
$ac_ext <<EOF
9963 #line 9964 "configure"
9964 #include "confdefs.h"
9967 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9968 { (eval echo configure
:9969: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9969 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9970 if test -z "$ac_err"; then
9972 eval "ac_cv_header_$ac_safe=yes"
9975 echo "configure: failed program was:" >&5
9976 cat conftest.
$ac_ext >&5
9978 eval "ac_cv_header_$ac_safe=no"
9982 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9983 echo "$ac_t""yes" 1>&6
9984 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9985 cat >> confdefs.h
<<EOF
9986 #define $ac_tr_hdr 1
9990 echo "$ac_t""no" 1>&6
9995 if test "$ac_cv_header_wchar_h" != "yes"; then
9996 for ac_hdr
in wcstr.h
9998 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9999 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10000 echo "configure:10001: checking for $ac_hdr" >&5
10001 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10002 echo $ac_n "(cached) $ac_c" 1>&6
10004 cat > conftest.
$ac_ext <<EOF
10005 #line 10006 "configure"
10006 #include "confdefs.h"
10009 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10010 { (eval echo configure
:10011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10011 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10012 if test -z "$ac_err"; then
10014 eval "ac_cv_header_$ac_safe=yes"
10017 echo "configure: failed program was:" >&5
10018 cat conftest.
$ac_ext >&5
10020 eval "ac_cv_header_$ac_safe=no"
10024 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10025 echo "$ac_t""yes" 1>&6
10026 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10027 cat >> confdefs.h
<<EOF
10028 #define $ac_tr_hdr 1
10032 echo "$ac_t""no" 1>&6
10038 for ac_hdr
in fnmatch.h
10040 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10041 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10042 echo "configure:10043: checking for $ac_hdr" >&5
10043 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10044 echo $ac_n "(cached) $ac_c" 1>&6
10046 cat > conftest.
$ac_ext <<EOF
10047 #line 10048 "configure"
10048 #include "confdefs.h"
10051 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10052 { (eval echo configure
:10053: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10053 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10054 if test -z "$ac_err"; then
10056 eval "ac_cv_header_$ac_safe=yes"
10059 echo "configure: failed program was:" >&5
10060 cat conftest.
$ac_ext >&5
10062 eval "ac_cv_header_$ac_safe=no"
10066 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10067 echo "$ac_t""yes" 1>&6
10068 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10069 cat >> confdefs.h
<<EOF
10070 #define $ac_tr_hdr 1
10074 echo "$ac_t""no" 1>&6
10079 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
10080 for ac_func
in fnmatch
10082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10083 echo "configure:10084: checking for $ac_func" >&5
10084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10085 echo $ac_n "(cached) $ac_c" 1>&6
10087 cat > conftest.
$ac_ext <<EOF
10088 #line 10089 "configure"
10089 #include "confdefs.h"
10090 /* System header to define __stub macros and hopefully few prototypes,
10091 which can conflict with char $ac_func(); below. */
10092 #include <assert.h>
10093 /* Override any gcc2 internal prototype to avoid an error. */
10094 /* We use char because int might match the return type of a gcc2
10095 builtin and then its argument prototype would still apply. */
10100 /* The GNU C library defines this for functions which it implements
10101 to always fail with ENOSYS. Some functions are actually named
10102 something starting with __ and the normal name is an alias. */
10103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10111 if { (eval echo configure
:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10113 eval "ac_cv_func_$ac_func=yes"
10115 echo "configure: failed program was:" >&5
10116 cat conftest.
$ac_ext >&5
10118 eval "ac_cv_func_$ac_func=no"
10123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10124 echo "$ac_t""yes" 1>&6
10125 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10126 cat >> confdefs.h
<<EOF
10127 #define $ac_tr_func 1
10131 echo "$ac_t""no" 1>&6
10137 for ac_hdr
in langinfo.h
10139 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10140 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10141 echo "configure:10142: checking for $ac_hdr" >&5
10142 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10143 echo $ac_n "(cached) $ac_c" 1>&6
10145 cat > conftest.
$ac_ext <<EOF
10146 #line 10147 "configure"
10147 #include "confdefs.h"
10150 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10151 { (eval echo configure
:10152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10152 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10153 if test -z "$ac_err"; then
10155 eval "ac_cv_header_$ac_safe=yes"
10158 echo "configure: failed program was:" >&5
10159 cat conftest.
$ac_ext >&5
10161 eval "ac_cv_header_$ac_safe=no"
10165 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10166 echo "$ac_t""yes" 1>&6
10167 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10168 cat >> confdefs.h
<<EOF
10169 #define $ac_tr_hdr 1
10173 echo "$ac_t""no" 1>&6
10179 *-pc-os2_emx | *-pc-os2-emx )
10180 if test $ac_cv_header_langinfo_h = "yes"; then
10181 LIBS
="$LIBS -lintl"
10186 if test "$wxUSE_GUI" = "yes"; then
10187 if test "$wxUSE_UNIX" = "yes"; then
10188 for ac_hdr
in X
11/XKBlib.h
10190 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10191 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10192 echo "configure:10193: checking for $ac_hdr" >&5
10193 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10194 echo $ac_n "(cached) $ac_c" 1>&6
10196 cat > conftest.
$ac_ext <<EOF
10197 #line 10198 "configure"
10198 #include "confdefs.h"
10201 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10202 { (eval echo configure
:10203: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10203 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10204 if test -z "$ac_err"; then
10206 eval "ac_cv_header_$ac_safe=yes"
10209 echo "configure: failed program was:" >&5
10210 cat conftest.
$ac_ext >&5
10212 eval "ac_cv_header_$ac_safe=no"
10216 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10217 echo "$ac_t""yes" 1>&6
10218 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10219 cat >> confdefs.h
<<EOF
10220 #define $ac_tr_hdr 1
10224 echo "$ac_t""no" 1>&6
10232 echo $ac_n "checking for working const""... $ac_c" 1>&6
10233 echo "configure:10234: checking for working const" >&5
10234 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10235 echo $ac_n "(cached) $ac_c" 1>&6
10237 cat > conftest.
$ac_ext <<EOF
10238 #line 10239 "configure"
10239 #include "confdefs.h"
10243 /* Ultrix mips cc rejects this. */
10244 typedef int charset[2]; const charset x;
10245 /* SunOS 4.1.1 cc rejects this. */
10246 char const *const *ccp;
10248 /* NEC SVR4.0.2 mips cc rejects this. */
10249 struct point {int x, y;};
10250 static struct point const zero = {0,0};
10251 /* AIX XL C 1.02.0.0 rejects this.
10252 It does not let you subtract one const X* pointer from another in an arm
10253 of an if-expression whose if-part is not a constant expression */
10254 const char *g = "string";
10255 ccp = &g + (g ? g-g : 0);
10256 /* HPUX 7.0 cc rejects these. */
10259 ccp = (char const *const *) p;
10260 { /* SCO 3.2v4 cc rejects this. */
10262 char const *s = 0 ? (char *) 0 : (char const *) 0;
10266 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10267 int x[] = {25, 17};
10268 const int *foo = &x[0];
10271 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10272 typedef const int *iptr;
10276 { /* AIX XL C 1.02.0.0 rejects this saying
10277 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10278 struct s { int j; const int *ap[3]; };
10279 struct s *b; b->j = 5;
10281 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10282 const int foo = 10;
10287 if { (eval echo configure
:10288: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10291 echo "configure: failed program was:" >&5
10292 cat conftest.
$ac_ext >&5
10299 echo "$ac_t""$ac_cv_c_const" 1>&6
10300 if test $ac_cv_c_const = no
; then
10301 cat >> confdefs.h
<<\EOF
10307 echo $ac_n "checking for inline""... $ac_c" 1>&6
10308 echo "configure:10309: checking for inline" >&5
10309 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10310 echo $ac_n "(cached) $ac_c" 1>&6
10313 for ac_kw
in inline __inline__ __inline
; do
10314 cat > conftest.
$ac_ext <<EOF
10315 #line 10316 "configure"
10316 #include "confdefs.h"
10322 if { (eval echo configure
:10323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10324 ac_cv_c_inline
=$ac_kw; break
10326 echo "configure: failed program was:" >&5
10327 cat conftest.
$ac_ext >&5
10334 echo "$ac_t""$ac_cv_c_inline" 1>&6
10335 case "$ac_cv_c_inline" in
10337 no
) cat >> confdefs.h
<<\EOF
10341 *) cat >> confdefs.h
<<EOF
10342 #define inline $ac_cv_c_inline
10348 echo $ac_n "checking size of char""... $ac_c" 1>&6
10349 echo "configure:10350: checking size of char" >&5
10350 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10351 echo $ac_n "(cached) $ac_c" 1>&6
10353 if test "$cross_compiling" = yes; then
10354 ac_cv_sizeof_char
=1
10356 cat > conftest.
$ac_ext <<EOF
10357 #line 10358 "configure"
10358 #include "confdefs.h"
10362 FILE *f=fopen("conftestval", "w");
10364 fprintf(f, "%d\n", sizeof(char));
10368 if { (eval echo configure
:10369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10370 ac_cv_sizeof_char
=`cat conftestval`
10372 echo "configure: failed program was:" >&5
10373 cat conftest.
$ac_ext >&5
10375 ac_cv_sizeof_char
=0
10381 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10382 cat >> confdefs.h
<<EOF
10383 #define SIZEOF_CHAR $ac_cv_sizeof_char
10387 echo $ac_n "checking size of short""... $ac_c" 1>&6
10388 echo "configure:10389: checking size of short" >&5
10389 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10390 echo $ac_n "(cached) $ac_c" 1>&6
10392 if test "$cross_compiling" = yes; then
10393 ac_cv_sizeof_short
=2
10395 cat > conftest.
$ac_ext <<EOF
10396 #line 10397 "configure"
10397 #include "confdefs.h"
10401 FILE *f=fopen("conftestval", "w");
10403 fprintf(f, "%d\n", sizeof(short));
10407 if { (eval echo configure
:10408: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10409 ac_cv_sizeof_short
=`cat conftestval`
10411 echo "configure: failed program was:" >&5
10412 cat conftest.
$ac_ext >&5
10414 ac_cv_sizeof_short
=0
10420 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10421 cat >> confdefs.h
<<EOF
10422 #define SIZEOF_SHORT $ac_cv_sizeof_short
10426 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10427 echo "configure:10428: checking size of void *" >&5
10428 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10429 echo $ac_n "(cached) $ac_c" 1>&6
10431 if test "$cross_compiling" = yes; then
10432 ac_cv_sizeof_void_p
=4
10434 cat > conftest.
$ac_ext <<EOF
10435 #line 10436 "configure"
10436 #include "confdefs.h"
10440 FILE *f=fopen("conftestval", "w");
10442 fprintf(f, "%d\n", sizeof(void *));
10446 if { (eval echo configure
:10447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10448 ac_cv_sizeof_void_p
=`cat conftestval`
10450 echo "configure: failed program was:" >&5
10451 cat conftest.
$ac_ext >&5
10453 ac_cv_sizeof_void_p
=0
10459 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10460 cat >> confdefs.h
<<EOF
10461 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10465 echo $ac_n "checking size of int""... $ac_c" 1>&6
10466 echo "configure:10467: checking size of int" >&5
10467 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10468 echo $ac_n "(cached) $ac_c" 1>&6
10470 if test "$cross_compiling" = yes; then
10473 cat > conftest.
$ac_ext <<EOF
10474 #line 10475 "configure"
10475 #include "confdefs.h"
10479 FILE *f=fopen("conftestval", "w");
10481 fprintf(f, "%d\n", sizeof(int));
10485 if { (eval echo configure
:10486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10487 ac_cv_sizeof_int
=`cat conftestval`
10489 echo "configure: failed program was:" >&5
10490 cat conftest.
$ac_ext >&5
10498 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10499 cat >> confdefs.h
<<EOF
10500 #define SIZEOF_INT $ac_cv_sizeof_int
10504 echo $ac_n "checking size of long""... $ac_c" 1>&6
10505 echo "configure:10506: checking size of long" >&5
10506 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10507 echo $ac_n "(cached) $ac_c" 1>&6
10509 if test "$cross_compiling" = yes; then
10510 ac_cv_sizeof_long
=4
10512 cat > conftest.
$ac_ext <<EOF
10513 #line 10514 "configure"
10514 #include "confdefs.h"
10518 FILE *f=fopen("conftestval", "w");
10520 fprintf(f, "%d\n", sizeof(long));
10524 if { (eval echo configure
:10525: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10526 ac_cv_sizeof_long
=`cat conftestval`
10528 echo "configure: failed program was:" >&5
10529 cat conftest.
$ac_ext >&5
10531 ac_cv_sizeof_long
=0
10537 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10538 cat >> confdefs.h
<<EOF
10539 #define SIZEOF_LONG $ac_cv_sizeof_long
10546 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10547 echo "configure:10548: checking size of long long" >&5
10548 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10549 echo $ac_n "(cached) $ac_c" 1>&6
10551 if test "$cross_compiling" = yes; then
10552 ac_cv_sizeof_long_long
=8
10554 cat > conftest.
$ac_ext <<EOF
10555 #line 10556 "configure"
10556 #include "confdefs.h"
10560 FILE *f=fopen("conftestval", "w");
10562 fprintf(f, "%d\n", sizeof(long long));
10566 if { (eval echo configure
:10567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10568 ac_cv_sizeof_long_long
=`cat conftestval`
10570 echo "configure: failed program was:" >&5
10571 cat conftest.
$ac_ext >&5
10573 ac_cv_sizeof_long_long
=0
10579 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10580 cat >> confdefs.h
<<EOF
10581 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10587 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10588 echo "configure:10589: checking size of long long" >&5
10589 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10590 echo $ac_n "(cached) $ac_c" 1>&6
10592 if test "$cross_compiling" = yes; then
10593 ac_cv_sizeof_long_long
=0
10595 cat > conftest.
$ac_ext <<EOF
10596 #line 10597 "configure"
10597 #include "confdefs.h"
10601 FILE *f=fopen("conftestval", "w");
10603 fprintf(f, "%d\n", sizeof(long long));
10607 if { (eval echo configure
:10608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10609 ac_cv_sizeof_long_long
=`cat conftestval`
10611 echo "configure: failed program was:" >&5
10612 cat conftest.
$ac_ext >&5
10614 ac_cv_sizeof_long_long
=0
10620 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10621 cat >> confdefs.h
<<EOF
10622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10626 if test "$ac_cv_sizeof_long_long" != "0"; then
10627 CPPFLAGS
="$CPPFLAGS -D_INCLUDE_LONGLONG"
10631 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10632 echo "configure:10633: checking size of long long" >&5
10633 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10634 echo $ac_n "(cached) $ac_c" 1>&6
10636 if test "$cross_compiling" = yes; then
10637 ac_cv_sizeof_long_long
=0
10639 cat > conftest.
$ac_ext <<EOF
10640 #line 10641 "configure"
10641 #include "confdefs.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 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6
14359 echo "configure:14360: checking for XShapeQueryExtension in -lXext" >&5
14360 ac_lib_var
=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'`
14361 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14362 echo $ac_n "(cached) $ac_c" 1>&6
14364 ac_save_LIBS
="$LIBS"
14365 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
14366 cat > conftest.
$ac_ext <<EOF
14367 #line 14368 "configure"
14368 #include "confdefs.h"
14369 /* Override any gcc2 internal prototype to avoid an error. */
14370 /* We use char because int might match the return type of a gcc2
14371 builtin and then its argument prototype would still apply. */
14372 char XShapeQueryExtension();
14375 XShapeQueryExtension()
14378 if { (eval echo configure
:14379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14380 eval "ac_cv_lib_$ac_lib_var=yes"
14382 echo "configure: failed program was:" >&5
14383 cat conftest.
$ac_ext >&5
14385 eval "ac_cv_lib_$ac_lib_var=no"
14388 LIBS
="$ac_save_LIBS"
14391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14392 echo "$ac_t""yes" 1>&6
14394 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
14398 echo "$ac_t""no" 1>&6
14402 if test "$wxUSE_UNICODE" = "yes"; then
14406 if test -z "$PKG_CONFIG"; then
14407 # Extract the first word of "pkg-config", so it can be a program name with args.
14408 set dummy pkg
-config; ac_word
=$2
14409 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14410 echo "configure:14411: checking for $ac_word" >&5
14411 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14412 echo $ac_n "(cached) $ac_c" 1>&6
14414 case "$PKG_CONFIG" in
14416 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14419 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14422 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14424 for ac_dir
in $ac_dummy; do
14425 test -z "$ac_dir" && ac_dir
=.
14426 if test -f $ac_dir/$ac_word; then
14427 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14432 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14436 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14437 if test -n "$PKG_CONFIG"; then
14438 echo "$ac_t""$PKG_CONFIG" 1>&6
14440 echo "$ac_t""no" 1>&6
14445 if test "$PKG_CONFIG" = "no" ; then
14446 echo "*** The pkg-config script could not be found. Make sure it is"
14447 echo "*** in your path, or set the PKG_CONFIG environment variable"
14448 echo "*** to the full path to pkg-config."
14449 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14451 PKG_CONFIG_MIN_VERSION
=0.9.0
14452 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14453 echo $ac_n "checking for pangox""... $ac_c" 1>&6
14454 echo "configure:14455: checking for pangox" >&5
14456 if $PKG_CONFIG --exists "pangox" ; then
14457 echo "$ac_t""yes" 1>&6
14460 echo $ac_n "checking PANGOX_CFLAGS""... $ac_c" 1>&6
14461 echo "configure:14462: checking PANGOX_CFLAGS" >&5
14462 PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox"`
14463 echo "$ac_t""$PANGOX_CFLAGS" 1>&6
14465 echo $ac_n "checking PANGOX_LIBS""... $ac_c" 1>&6
14466 echo "configure:14467: checking PANGOX_LIBS" >&5
14467 PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox"`
14468 echo "$ac_t""$PANGOX_LIBS" 1>&6
14472 ## If we have a custom action on failure, don't print errors, but
14473 ## do set a variable so people can do so.
14474 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
14481 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14482 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14486 if test $succeeded = yes; then
14488 CXXFLAGS
="$CXXFLAGS $PANGOX_CFLAGS"
14489 LIBS
="$LIBS $PANGOX_LIBS"
14493 { echo "configure: error: pangox library not found, library cannot be compiled in Unicode mode" 1>&2; exit 1; }
14501 if test -z "$PKG_CONFIG"; then
14502 # Extract the first word of "pkg-config", so it can be a program name with args.
14503 set dummy pkg
-config; ac_word
=$2
14504 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14505 echo "configure:14506: checking for $ac_word" >&5
14506 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14507 echo $ac_n "(cached) $ac_c" 1>&6
14509 case "$PKG_CONFIG" in
14511 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14514 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14517 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14519 for ac_dir
in $ac_dummy; do
14520 test -z "$ac_dir" && ac_dir
=.
14521 if test -f $ac_dir/$ac_word; then
14522 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14527 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14531 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14532 if test -n "$PKG_CONFIG"; then
14533 echo "$ac_t""$PKG_CONFIG" 1>&6
14535 echo "$ac_t""no" 1>&6
14540 if test "$PKG_CONFIG" = "no" ; then
14541 echo "*** The pkg-config script could not be found. Make sure it is"
14542 echo "*** in your path, or set the PKG_CONFIG environment variable"
14543 echo "*** to the full path to pkg-config."
14544 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14546 PKG_CONFIG_MIN_VERSION
=0.9.0
14547 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14548 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
14549 echo "configure:14550: checking for pangoft2" >&5
14551 if $PKG_CONFIG --exists "pangoft2" ; then
14552 echo "$ac_t""yes" 1>&6
14555 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
14556 echo "configure:14557: checking PANGOFT2_CFLAGS" >&5
14557 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
14558 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
14560 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
14561 echo "configure:14562: checking PANGOFT2_LIBS" >&5
14562 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
14563 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
14567 ## If we have a custom action on failure, don't print errors, but
14568 ## do set a variable so people can do so.
14569 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
14576 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14577 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14581 if test $succeeded = yes; then
14583 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
14584 LIBS
="$LIBS $PANGOFT2_LIBS"
14588 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
14589 wxUSE_PRINTING_ARCHITECTURE
="no"
14597 if test -z "$PKG_CONFIG"; then
14598 # Extract the first word of "pkg-config", so it can be a program name with args.
14599 set dummy pkg
-config; ac_word
=$2
14600 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14601 echo "configure:14602: checking for $ac_word" >&5
14602 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
14603 echo $ac_n "(cached) $ac_c" 1>&6
14605 case "$PKG_CONFIG" in
14607 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
14610 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
14613 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14615 for ac_dir
in $ac_dummy; do
14616 test -z "$ac_dir" && ac_dir
=.
14617 if test -f $ac_dir/$ac_word; then
14618 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
14623 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
14627 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
14628 if test -n "$PKG_CONFIG"; then
14629 echo "$ac_t""$PKG_CONFIG" 1>&6
14631 echo "$ac_t""no" 1>&6
14636 if test "$PKG_CONFIG" = "no" ; then
14637 echo "*** The pkg-config script could not be found. Make sure it is"
14638 echo "*** in your path, or set the PKG_CONFIG environment variable"
14639 echo "*** to the full path to pkg-config."
14640 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
14642 PKG_CONFIG_MIN_VERSION
=0.9.0
14643 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
14644 echo $ac_n "checking for pangoxft""... $ac_c" 1>&6
14645 echo "configure:14646: checking for pangoxft" >&5
14647 if $PKG_CONFIG --exists "pangoxft" ; then
14648 echo "$ac_t""yes" 1>&6
14651 echo $ac_n "checking PANGOXFT_CFLAGS""... $ac_c" 1>&6
14652 echo "configure:14653: checking PANGOXFT_CFLAGS" >&5
14653 PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft"`
14654 echo "$ac_t""$PANGOXFT_CFLAGS" 1>&6
14656 echo $ac_n "checking PANGOXFT_LIBS""... $ac_c" 1>&6
14657 echo "configure:14658: checking PANGOXFT_LIBS" >&5
14658 PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft"`
14659 echo "$ac_t""$PANGOXFT_LIBS" 1>&6
14663 ## If we have a custom action on failure, don't print errors, but
14664 ## do set a variable so people can do so.
14665 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
14672 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
14673 echo "*** See http://www.freedesktop.org/software/pkgconfig"
14677 if test $succeeded = yes; then
14679 CXXFLAGS
="$CXXFLAGS $PANGOXFT_CFLAGS"
14680 LIBS
="$LIBS $PANGOXFT_LIBS"
14684 echo "configure: warning: pangoxft library not found, library will be compiled without anti-aliasing support" 1>&2
14691 wxUSE_UNIVERSAL
="yes"
14693 if test "$wxUSE_NANOX" = "yes"; then
14694 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
14695 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"
14696 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
14698 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
14701 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
14706 if test "$wxUSE_MOTIF" = 1; then
14707 if test "$no_x" = yes; then
14708 # Not all programs may use this symbol, but it does not hurt to define it.
14709 cat >> confdefs.h
<<\EOF
14710 #define X_DISPLAY_MISSING 1
14713 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
14715 if test -n "$x_includes"; then
14716 X_CFLAGS
="$X_CFLAGS -I$x_includes"
14719 # It would also be nice to do this for all -L options, not just this one.
14720 if test -n "$x_libraries"; then
14721 X_LIBS
="$X_LIBS -L$x_libraries"
14722 # For Solaris; some versions of Sun CC require a space after -R and
14723 # others require no space. Words are not sufficient . . . .
14724 case "`(uname -sr) 2>/dev/null`" in
14726 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
14727 echo "configure:14728: checking whether -R must be followed by a space" >&5
14728 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
14729 cat > conftest.
$ac_ext <<EOF
14730 #line 14731 "configure"
14731 #include "confdefs.h"
14737 if { (eval echo configure
:14738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14741 echo "configure: failed program was:" >&5
14742 cat conftest.
$ac_ext >&5
14747 if test $ac_R_nospace = yes; then
14748 echo "$ac_t""no" 1>&6
14749 X_LIBS
="$X_LIBS -R$x_libraries"
14751 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14752 cat > conftest.
$ac_ext <<EOF
14753 #line 14754 "configure"
14754 #include "confdefs.h"
14760 if { (eval echo configure
:14761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14764 echo "configure: failed program was:" >&5
14765 cat conftest.
$ac_ext >&5
14770 if test $ac_R_space = yes; then
14771 echo "$ac_t""yes" 1>&6
14772 X_LIBS
="$X_LIBS -R $x_libraries"
14774 echo "$ac_t""neither works" 1>&6
14777 LIBS
="$ac_xsave_LIBS"
14781 # Check for system-dependent libraries X programs must link with.
14782 # Do this before checking for the system-independent R6 libraries
14783 # (-lICE), since we may need -lsocket or whatever for X linking.
14785 if test "$ISC" = yes; then
14786 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14788 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14789 # libraries were built with DECnet support. And karl@cs.umb.edu says
14790 # the Alpha needs dnet_stub (dnet does not exist).
14791 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14792 echo "configure:14793: checking for dnet_ntoa in -ldnet" >&5
14793 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14794 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14795 echo $ac_n "(cached) $ac_c" 1>&6
14797 ac_save_LIBS
="$LIBS"
14798 LIBS
="-ldnet $LIBS"
14799 cat > conftest.
$ac_ext <<EOF
14800 #line 14801 "configure"
14801 #include "confdefs.h"
14802 /* Override any gcc2 internal prototype to avoid an error. */
14803 /* We use char because int might match the return type of a gcc2
14804 builtin and then its argument prototype would still apply. */
14811 if { (eval echo configure
:14812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14813 eval "ac_cv_lib_$ac_lib_var=yes"
14815 echo "configure: failed program was:" >&5
14816 cat conftest.
$ac_ext >&5
14818 eval "ac_cv_lib_$ac_lib_var=no"
14821 LIBS
="$ac_save_LIBS"
14824 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14825 echo "$ac_t""yes" 1>&6
14826 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14828 echo "$ac_t""no" 1>&6
14831 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14832 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14833 echo "configure:14834: checking for dnet_ntoa in -ldnet_stub" >&5
14834 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14835 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14836 echo $ac_n "(cached) $ac_c" 1>&6
14838 ac_save_LIBS
="$LIBS"
14839 LIBS
="-ldnet_stub $LIBS"
14840 cat > conftest.
$ac_ext <<EOF
14841 #line 14842 "configure"
14842 #include "confdefs.h"
14843 /* Override any gcc2 internal prototype to avoid an error. */
14844 /* We use char because int might match the return type of a gcc2
14845 builtin and then its argument prototype would still apply. */
14852 if { (eval echo configure
:14853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14854 eval "ac_cv_lib_$ac_lib_var=yes"
14856 echo "configure: failed program was:" >&5
14857 cat conftest.
$ac_ext >&5
14859 eval "ac_cv_lib_$ac_lib_var=no"
14862 LIBS
="$ac_save_LIBS"
14865 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14866 echo "$ac_t""yes" 1>&6
14867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14869 echo "$ac_t""no" 1>&6
14874 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14875 # to get the SysV transport functions.
14876 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14878 # The nsl library prevents programs from opening the X display
14879 # on Irix 5.2, according to dickey@clark.net.
14880 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14881 echo "configure:14882: checking for gethostbyname" >&5
14882 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14883 echo $ac_n "(cached) $ac_c" 1>&6
14885 cat > conftest.
$ac_ext <<EOF
14886 #line 14887 "configure"
14887 #include "confdefs.h"
14888 /* System header to define __stub macros and hopefully few prototypes,
14889 which can conflict with char gethostbyname(); below. */
14890 #include <assert.h>
14891 /* Override any gcc2 internal prototype to avoid an error. */
14892 /* We use char because int might match the return type of a gcc2
14893 builtin and then its argument prototype would still apply. */
14894 char gethostbyname();
14898 /* The GNU C library defines this for functions which it implements
14899 to always fail with ENOSYS. Some functions are actually named
14900 something starting with __ and the normal name is an alias. */
14901 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14909 if { (eval echo configure
:14910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14911 eval "ac_cv_func_gethostbyname=yes"
14913 echo "configure: failed program was:" >&5
14914 cat conftest.
$ac_ext >&5
14916 eval "ac_cv_func_gethostbyname=no"
14921 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14922 echo "$ac_t""yes" 1>&6
14925 echo "$ac_t""no" 1>&6
14928 if test $ac_cv_func_gethostbyname = no
; then
14929 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14930 echo "configure:14931: checking for gethostbyname in -lnsl" >&5
14931 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14932 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14933 echo $ac_n "(cached) $ac_c" 1>&6
14935 ac_save_LIBS
="$LIBS"
14937 cat > conftest.
$ac_ext <<EOF
14938 #line 14939 "configure"
14939 #include "confdefs.h"
14940 /* Override any gcc2 internal prototype to avoid an error. */
14941 /* We use char because int might match the return type of a gcc2
14942 builtin and then its argument prototype would still apply. */
14943 char gethostbyname();
14949 if { (eval echo configure
:14950: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14951 eval "ac_cv_lib_$ac_lib_var=yes"
14953 echo "configure: failed program was:" >&5
14954 cat conftest.
$ac_ext >&5
14956 eval "ac_cv_lib_$ac_lib_var=no"
14959 LIBS
="$ac_save_LIBS"
14962 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14963 echo "$ac_t""yes" 1>&6
14964 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14966 echo "$ac_t""no" 1>&6
14971 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14972 # socket/setsockopt and other routines are undefined under SCO ODT
14973 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14974 # on later versions), says simon@lia.di.epfl.ch: it contains
14975 # gethostby* variants that don't use the nameserver (or something).
14976 # -lsocket must be given before -lnsl if both are needed.
14977 # We assume that if connect needs -lnsl, so does gethostbyname.
14978 echo $ac_n "checking for connect""... $ac_c" 1>&6
14979 echo "configure:14980: checking for connect" >&5
14980 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14981 echo $ac_n "(cached) $ac_c" 1>&6
14983 cat > conftest.
$ac_ext <<EOF
14984 #line 14985 "configure"
14985 #include "confdefs.h"
14986 /* System header to define __stub macros and hopefully few prototypes,
14987 which can conflict with char connect(); below. */
14988 #include <assert.h>
14989 /* Override any gcc2 internal prototype to avoid an error. */
14990 /* We use char because int might match the return type of a gcc2
14991 builtin and then its argument prototype would still apply. */
14996 /* The GNU C library defines this for functions which it implements
14997 to always fail with ENOSYS. Some functions are actually named
14998 something starting with __ and the normal name is an alias. */
14999 #if defined (__stub_connect) || defined (__stub___connect)
15007 if { (eval echo configure
:15008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15009 eval "ac_cv_func_connect=yes"
15011 echo "configure: failed program was:" >&5
15012 cat conftest.
$ac_ext >&5
15014 eval "ac_cv_func_connect=no"
15019 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
15020 echo "$ac_t""yes" 1>&6
15023 echo "$ac_t""no" 1>&6
15026 if test $ac_cv_func_connect = no
; then
15027 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
15028 echo "configure:15029: checking for connect in -lsocket" >&5
15029 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
15030 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15031 echo $ac_n "(cached) $ac_c" 1>&6
15033 ac_save_LIBS
="$LIBS"
15034 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
15035 cat > conftest.
$ac_ext <<EOF
15036 #line 15037 "configure"
15037 #include "confdefs.h"
15038 /* Override any gcc2 internal prototype to avoid an error. */
15039 /* We use char because int might match the return type of a gcc2
15040 builtin and then its argument prototype would still apply. */
15047 if { (eval echo configure
:15048: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15049 eval "ac_cv_lib_$ac_lib_var=yes"
15051 echo "configure: failed program was:" >&5
15052 cat conftest.
$ac_ext >&5
15054 eval "ac_cv_lib_$ac_lib_var=no"
15057 LIBS
="$ac_save_LIBS"
15060 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15061 echo "$ac_t""yes" 1>&6
15062 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
15064 echo "$ac_t""no" 1>&6
15069 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
15070 echo $ac_n "checking for remove""... $ac_c" 1>&6
15071 echo "configure:15072: checking for remove" >&5
15072 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
15073 echo $ac_n "(cached) $ac_c" 1>&6
15075 cat > conftest.
$ac_ext <<EOF
15076 #line 15077 "configure"
15077 #include "confdefs.h"
15078 /* System header to define __stub macros and hopefully few prototypes,
15079 which can conflict with char remove(); below. */
15080 #include <assert.h>
15081 /* Override any gcc2 internal prototype to avoid an error. */
15082 /* We use char because int might match the return type of a gcc2
15083 builtin and then its argument prototype would still apply. */
15088 /* The GNU C library defines this for functions which it implements
15089 to always fail with ENOSYS. Some functions are actually named
15090 something starting with __ and the normal name is an alias. */
15091 #if defined (__stub_remove) || defined (__stub___remove)
15099 if { (eval echo configure
:15100: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15101 eval "ac_cv_func_remove=yes"
15103 echo "configure: failed program was:" >&5
15104 cat conftest.
$ac_ext >&5
15106 eval "ac_cv_func_remove=no"
15111 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
15112 echo "$ac_t""yes" 1>&6
15115 echo "$ac_t""no" 1>&6
15118 if test $ac_cv_func_remove = no
; then
15119 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
15120 echo "configure:15121: checking for remove in -lposix" >&5
15121 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
15122 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15123 echo $ac_n "(cached) $ac_c" 1>&6
15125 ac_save_LIBS
="$LIBS"
15126 LIBS
="-lposix $LIBS"
15127 cat > conftest.
$ac_ext <<EOF
15128 #line 15129 "configure"
15129 #include "confdefs.h"
15130 /* Override any gcc2 internal prototype to avoid an error. */
15131 /* We use char because int might match the return type of a gcc2
15132 builtin and then its argument prototype would still apply. */
15139 if { (eval echo configure
:15140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15141 eval "ac_cv_lib_$ac_lib_var=yes"
15143 echo "configure: failed program was:" >&5
15144 cat conftest.
$ac_ext >&5
15146 eval "ac_cv_lib_$ac_lib_var=no"
15149 LIBS
="$ac_save_LIBS"
15152 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15153 echo "$ac_t""yes" 1>&6
15154 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
15156 echo "$ac_t""no" 1>&6
15161 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
15162 echo $ac_n "checking for shmat""... $ac_c" 1>&6
15163 echo "configure:15164: checking for shmat" >&5
15164 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
15165 echo $ac_n "(cached) $ac_c" 1>&6
15167 cat > conftest.
$ac_ext <<EOF
15168 #line 15169 "configure"
15169 #include "confdefs.h"
15170 /* System header to define __stub macros and hopefully few prototypes,
15171 which can conflict with char shmat(); below. */
15172 #include <assert.h>
15173 /* Override any gcc2 internal prototype to avoid an error. */
15174 /* We use char because int might match the return type of a gcc2
15175 builtin and then its argument prototype would still apply. */
15180 /* The GNU C library defines this for functions which it implements
15181 to always fail with ENOSYS. Some functions are actually named
15182 something starting with __ and the normal name is an alias. */
15183 #if defined (__stub_shmat) || defined (__stub___shmat)
15191 if { (eval echo configure
:15192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15193 eval "ac_cv_func_shmat=yes"
15195 echo "configure: failed program was:" >&5
15196 cat conftest.
$ac_ext >&5
15198 eval "ac_cv_func_shmat=no"
15203 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
15204 echo "$ac_t""yes" 1>&6
15207 echo "$ac_t""no" 1>&6
15210 if test $ac_cv_func_shmat = no
; then
15211 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
15212 echo "configure:15213: checking for shmat in -lipc" >&5
15213 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
15214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15215 echo $ac_n "(cached) $ac_c" 1>&6
15217 ac_save_LIBS
="$LIBS"
15219 cat > conftest.
$ac_ext <<EOF
15220 #line 15221 "configure"
15221 #include "confdefs.h"
15222 /* Override any gcc2 internal prototype to avoid an error. */
15223 /* We use char because int might match the return type of a gcc2
15224 builtin and then its argument prototype would still apply. */
15231 if { (eval echo configure
:15232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15233 eval "ac_cv_lib_$ac_lib_var=yes"
15235 echo "configure: failed program was:" >&5
15236 cat conftest.
$ac_ext >&5
15238 eval "ac_cv_lib_$ac_lib_var=no"
15241 LIBS
="$ac_save_LIBS"
15244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15245 echo "$ac_t""yes" 1>&6
15246 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
15248 echo "$ac_t""no" 1>&6
15254 # Check for libraries that X11R6 Xt/Xaw programs need.
15255 ac_save_LDFLAGS
="$LDFLAGS"
15256 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
15257 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
15258 # check for ICE first), but we must link in the order -lSM -lICE or
15259 # we get undefined symbols. So assume we have SM if we have ICE.
15260 # These have to be linked with before -lX11, unlike the other
15261 # libraries we check for below, so use a different variable.
15262 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
15263 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
15264 echo "configure:15265: checking for IceConnectionNumber in -lICE" >&5
15265 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
15266 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15267 echo $ac_n "(cached) $ac_c" 1>&6
15269 ac_save_LIBS
="$LIBS"
15270 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
15271 cat > conftest.
$ac_ext <<EOF
15272 #line 15273 "configure"
15273 #include "confdefs.h"
15274 /* Override any gcc2 internal prototype to avoid an error. */
15275 /* We use char because int might match the return type of a gcc2
15276 builtin and then its argument prototype would still apply. */
15277 char IceConnectionNumber();
15280 IceConnectionNumber()
15283 if { (eval echo configure
:15284: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15285 eval "ac_cv_lib_$ac_lib_var=yes"
15287 echo "configure: failed program was:" >&5
15288 cat conftest.
$ac_ext >&5
15290 eval "ac_cv_lib_$ac_lib_var=no"
15293 LIBS
="$ac_save_LIBS"
15296 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15297 echo "$ac_t""yes" 1>&6
15298 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
15300 echo "$ac_t""no" 1>&6
15303 LDFLAGS
="$ac_save_LDFLAGS"
15308 if test "$no_x" = "yes"; then
15309 { echo "configure: error: X11 not found" 1>&2; exit 1; }
15312 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//'`
15313 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
15314 AFMINSTALL
=afminstall
15315 COMPILED_X_PROGRAM
=0
15317 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
15318 echo "configure:15319: checking for Motif/Lesstif headers" >&5
15321 for ac_dir
in $SEARCH_INCLUDE /usr
/include
;
15323 if test -f "$ac_dir/Xm/Xm.h"; then
15324 ac_find_includes
=$ac_dir
15329 if test "$ac_find_includes" != "" ; then
15330 echo "$ac_t""found in $ac_find_includes" 1>&6
15332 if test "x$ac_find_includes" = "x/usr/include"; then
15333 ac_path_to_include
=""
15335 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
15337 if test $result = 0; then
15338 ac_path_to_include
=""
15340 ac_path_to_include
=" -I$ac_find_includes"
15344 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
15346 cat > conftest.
$ac_ext <<EOF
15347 #line 15348 "configure"
15348 #include "confdefs.h"
15355 version = xmUseVersion;
15359 if { (eval echo configure
:15360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15362 echo "$ac_t""found in default search path" 1>&6
15363 COMPILED_X_PROGRAM
=1
15366 echo "configure: failed program was:" >&5
15367 cat conftest.
$ac_ext >&5
15370 echo "$ac_t""no" 1>&6
15371 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
15378 if test "$COMPILED_X_PROGRAM" = 0; then
15379 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
15380 echo "configure:15381: checking for Motif/Lesstif library" >&5
15383 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15385 for ac_extension
in a so sl dylib
; do
15386 if test -f "$ac_dir/libXm.$ac_extension"; then
15387 ac_find_libraries
=$ac_dir
15393 if test "$ac_find_libraries" != "" ; then
15394 echo "$ac_t""found at $ac_find_libraries" 1>&6
15397 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15399 if test $result = 0; then
15402 ac_path_to_link
=" -L$ac_find_libraries"
15405 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15407 save_CFLAGS
=$CFLAGS
15408 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15410 cat > conftest.
$ac_ext <<EOF
15411 #line 15412 "configure"
15412 #include "confdefs.h"
15419 version = xmUseVersion;
15423 if { (eval echo configure
:15424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15426 echo "$ac_t""found in default search path" 1>&6
15427 COMPILED_X_PROGRAM
=1
15430 echo "configure: failed program was:" >&5
15431 cat conftest.
$ac_ext >&5
15434 echo "$ac_t""no" 1>&6
15435 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
15441 CFLAGS
=$save_CFLAGS
15446 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
15447 echo "configure:15448: checking for Xpm library" >&5
15450 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15452 for ac_extension
in a so sl dylib
; do
15453 if test -f "$ac_dir/libXpm.$ac_extension"; then
15454 ac_find_libraries
=$ac_dir
15460 if test "$ac_find_libraries" != "" ; then
15462 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
15464 if test $result = 0; then
15467 ac_path_to_link
=" -L$ac_find_libraries"
15470 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
15473 cat >> confdefs.h
<<\EOF
15474 #define wxHAVE_LIB_XPM 1
15477 echo "$ac_t""found at $ac_find_libraries" 1>&6
15479 save_CFLAGS
=$CFLAGS
15480 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15482 cat > conftest.
$ac_ext <<EOF
15483 #line 15484 "configure"
15484 #include "confdefs.h"
15486 #include <X11/xpm.h>
15491 version = XpmLibraryVersion();
15495 if { (eval echo configure
:15496: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15499 cat >> confdefs.h
<<\EOF
15500 #define wxHAVE_LIB_XPM 1
15503 echo "$ac_t""found in default search path" 1>&6
15504 COMPILED_X_PROGRAM
=0
15507 echo "configure: failed program was:" >&5
15508 cat conftest.
$ac_ext >&5
15511 echo "$ac_t""no" 1>&6
15512 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
15518 CFLAGS
=$save_CFLAGS
15521 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
15522 echo "configure:15523: checking if we need -lXp and/or -lSM -lICE" >&5
15526 for libp
in "" " -lXp"; do
15527 if test "$libs_found" = "0"; then
15528 for libsm_ice
in " -lSM -lICE"; do
15529 if test "$libs_found" = "0"; then
15531 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
15532 save_CFLAGS
=$CFLAGS
15533 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15535 cat > conftest.
$ac_ext <<EOF
15536 #line 15537 "configure"
15537 #include "confdefs.h"
15540 #include <Xm/List.h>
15544 XmString string = NULL;
15547 XmListAddItem(w, string, position);
15551 if { (eval echo configure
:15552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15555 libsm_ice_link
="$libsm_ice"
15556 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
15560 echo "configure: failed program was:" >&5
15561 cat conftest.
$ac_ext >&5
15569 CFLAGS
=$save_CFLAGS
15575 if test "$libs_found" = "0"; then
15576 echo "$ac_t""can't find the right libraries" 1>&6
15577 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
15580 save_CFLAGS
=$CFLAGS
15581 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15582 echo $ac_n "checking for Motif 2""... $ac_c" 1>&6
15583 echo "configure:15584: checking for Motif 2" >&5
15584 cat > conftest.
$ac_ext <<EOF
15585 #line 15586 "configure"
15586 #include "confdefs.h"
15592 #if XmVersion < 2000
15593 #error "Not Motif 2"
15598 if { (eval echo configure
:15599: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15601 cat >> confdefs.h
<<\EOF
15602 #define __WXMOTIF20__ 1
15605 echo "$ac_t""found" 1>&6
15608 echo "configure: failed program was:" >&5
15609 cat conftest.
$ac_ext >&5
15612 cat >> confdefs.h
<<\EOF
15613 #define __WXMOTIF20__ 0
15616 echo "$ac_t""not found" 1>&6
15620 CFLAGS
=$save_CFLAGS
15622 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
15623 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo${PATH_IFS}\${top_srcdir}/src/x11"
15629 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1 &&
15630 test "$wxHAVE_XEXT_LIB" = 1; then
15631 save_CFLAGS
="$CFLAGS"
15632 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
15634 echo $ac_n "checking for X11/extensions/shape.h""... $ac_c" 1>&6
15635 echo "configure:15636: checking for X11/extensions/shape.h" >&5
15636 cat > conftest.
$ac_ext <<EOF
15637 #line 15638 "configure"
15638 #include "confdefs.h"
15640 #include <X11/Xlib.h>
15641 #include <X11/extensions/shape.h>
15645 int dummy1, dummy2;
15646 XShapeQueryExtension((Display*)NULL,
15647 (int*)NULL, (int*)NULL);
15651 if { (eval echo configure
:15652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15654 cat >> confdefs.h
<<\EOF
15655 #define HAVE_XSHAPE 1
15658 echo "$ac_t""found" 1>&6
15661 echo "configure: failed program was:" >&5
15662 cat conftest.
$ac_ext >&5
15665 echo "$ac_t""not found" 1>&6
15669 CFLAGS
="$save_CFLAGS"
15672 if test "$wxUSE_MAC" = 1; then
15673 CPPFLAGS
="$CPPFLAGS -fpascal-strings -I\${top_srcdir}/src/mac/morefilex -I/Developer/Headers/FlatCarbon"
15675 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefilex"
15680 if test "$wxUSE_COCOA" = 1; then
15681 TOOLKIT_VPATH
="\${top_srcdir}/src/cocoa"
15686 if test "$wxUSE_PM" = 1; then
15689 echo "configure: warning: OS/2 threads are not yet supported... disabled" 1>&2
15693 if test "$TOOLKIT" = "PM" ; then
15696 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
15699 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
15701 if test "$wxUSE_UNIVERSAL" = "yes"; then
15702 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
15704 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
15705 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
15707 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
15708 if test "$wxUSE_X11" = 1; then
15709 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
15711 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
15713 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
15716 ALL_OBJECTS
="\$(GUIOBJS)"
15717 ALL_SOURCES
="\$(ALL_SOURCES)"
15718 ALL_HEADERS
="\$(ALL_HEADERS)"
15721 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
15723 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
15724 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
15727 if test "$wxUSE_HTML" = "yes"; then
15728 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
15731 if test "$wxUSE_LIBJPEG" = "builtin" ; then
15732 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
15734 if test "$wxUSE_LIBTIFF" = "builtin" ; then
15735 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
15737 if test "$wxUSE_LIBPNG" = "builtin" ; then
15738 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
15741 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
15742 DISTDIR
="wx\$(TOOLKIT)"
15748 if test "$USE_WIN32" = 1 ; then
15749 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
15750 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
15754 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
15755 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
15758 ALL_SOURCES
="\$(ALL_SOURCES)"
15759 ALL_HEADERS
="\$(ALL_HEADERS)"
15761 PORT_FILES
="\${top_srcdir}/src/files.lst"
15763 GUIDIST
="BASE_DIST"
15768 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
15769 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
15772 if test "$wxUSE_REGEX" = "builtin" ; then
15773 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
15775 if test "$wxUSE_ZLIB" = "builtin" ; then
15776 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
15780 if test "$wxUSE_OPENGL" = "yes"; then
15781 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
15782 OPENGL_LIBS
="-framework OpenGL -framework AGL"
15783 elif test "$wxUSE_MSW" = 1; then
15784 OPENGL_LIBS
="-lopengl32 -lglu32"
15786 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
15787 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
15788 echo "configure:15789: checking for GL/gl.h" >&5
15789 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15790 echo $ac_n "(cached) $ac_c" 1>&6
15792 cat > conftest.
$ac_ext <<EOF
15793 #line 15794 "configure"
15794 #include "confdefs.h"
15797 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15798 { (eval echo configure
:15799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15799 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15800 if test -z "$ac_err"; then
15802 eval "ac_cv_header_$ac_safe=yes"
15805 echo "configure: failed program was:" >&5
15806 cat conftest.
$ac_ext >&5
15808 eval "ac_cv_header_$ac_safe=no"
15812 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15813 echo "$ac_t""yes" 1>&6
15817 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
15818 echo "configure:15819: checking for -lGL" >&5
15821 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15823 for ac_extension
in a so sl dylib
; do
15824 if test -f "$ac_dir/libGL.$ac_extension"; then
15825 ac_find_libraries
=$ac_dir
15831 if test "$ac_find_libraries" != "" ; then
15833 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15835 if test $result = 0; then
15838 ac_path_to_link
=" -L$ac_find_libraries"
15841 if test "$ac_path_to_link" != " -L/usr/lib" ; then
15842 LDFLAGS_GL
="$ac_path_to_link"
15847 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15849 for ac_extension
in a so sl dylib
; do
15850 if test -f "$ac_dir/libGLU.$ac_extension"; then
15851 ac_find_libraries
=$ac_dir
15857 if test "$ac_find_libraries" != "" ; then
15859 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15861 if test $result = 0; then
15864 ac_path_to_link
=" -L$ac_find_libraries"
15867 if test "$ac_path_to_link" != " -L/usr/lib" -a \
15868 "$ac_path_to_link" != "$LDFLAGS_GL"; then
15869 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
15873 OPENGL_LIBS
="-lGL -lGLU"
15874 echo "$ac_t""yes" 1>&6
15878 if "$found_gl" != 1; then
15879 echo "$ac_t""no" 1>&6
15880 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15881 echo "configure:15882: checking for -lMesaGL" >&5
15884 for ac_dir
in $SEARCH_LIB /usr
/lib
;
15886 for ac_extension
in a so sl dylib
; do
15887 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15888 ac_find_libraries
=$ac_dir
15894 if test "$ac_find_libraries" != "" ; then
15896 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15898 if test $result = 0; then
15901 ac_path_to_link
=" -L$ac_find_libraries"
15904 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15905 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15906 echo "$ac_t""yes" 1>&6
15908 echo "$ac_t""no" 1>&6
15913 echo "$ac_t""no" 1>&6
15917 if test "x$OPENGL_LIBS" = "x"; then
15918 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15922 if test "$wxUSE_OPENGL" = "yes"; then
15923 cat >> confdefs.h
<<\EOF
15924 #define wxUSE_OPENGL 1
15927 cat >> confdefs.h
<<\EOF
15928 #define wxUSE_GLCANVAS 1
15931 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15935 if test -z "$TOOLKIT_VPATH" ; then
15936 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15939 if test -n "$TOOLKIT" ; then
15940 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15943 lib_unicode_suffix
=
15944 if test "$wxUSE_UNICODE" = "yes"; then
15945 lib_unicode_suffix
=u
15949 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15953 WX_VERSION_TAG
=`echo WX${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
15955 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15956 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15958 if test "$cross_compiling" = "yes"; then
15959 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15960 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15963 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15964 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15965 WX_LIBRARY_BASENAME
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}"
15967 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15968 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15970 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15971 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15972 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15973 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15976 *-*-cygwin* | *-*-mingw32* )
15980 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15981 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15982 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15983 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15984 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15986 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15987 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15993 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15994 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}.${SO_SUFFIX}"
15996 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${WX_CURRENT}.${SO_SUFFIX}"
15997 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15998 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${WX_CURRENT}.${SO_SUFFIX}"
15999 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
16001 if test "$wxUSE_MAC" = 1; then
16002 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.${WX_CURRENT}.r"
16003 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.${WX_CURRENT}.rsrc"
16008 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
16009 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
16011 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
16012 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
16014 if test "$wxUSE_OPENGL" = "yes"; then
16015 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
16016 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
16021 if test "$wxUSE_SHARED" = "yes"; then
16023 *-pc-os2_emx | *-pc-os2-emx | \
16026 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
16031 if test "$wxUSE_SHARED" = "yes"; then
16033 if test "$wxUSE_OPENGL" = "yes"; then
16034 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
16035 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
16037 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16038 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
16041 if test "$GCC" = "yes"; then
16047 found_versioning
=no
16050 if test $found_versioning = no
; then
16051 echo $ac_n "checking if the linker accepts --version-script""... $ac_c" 1>&6
16052 echo "configure:16053: checking if the linker accepts --version-script" >&5
16053 if eval "test \"`echo '$''{'wx_cv_version_script'+set}'`\" = set"; then
16054 echo $ac_n "(cached) $ac_c" 1>&6
16057 echo "VER_1 { *; };" >conftest.sym
16058 echo "int main() { return 0; }" >conftest.cpp
16061 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
16062 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'; { (eval echo configure
:16063: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } ; then
16063 if test -s conftest.stderr
; then
16064 wx_cv_version_script
=no
16066 wx_cv_version_script
=yes
16069 wx_cv_version_script
=no
16071 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
16075 echo "$ac_t""$wx_cv_version_script" 1>&6
16076 if test $wx_cv_version_script = yes ; then
16077 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(top_builddir)/version-script"
16082 SHARED_LD
="${CXX} -shared -o"
16086 if test "$GCC" = "yes"; then
16087 SHARED_LD
="${CXX} -shared ${PIC_FLAG} -o"
16089 LDFLAGS
="$LDFLAGS -L/usr/lib"
16091 SHARED_LD
="${CXX} -b -o"
16095 if test "$wxUSE_OPENGL" = "yes"; then
16096 WX_ALL_INSTALLED
="preinstall_gl"
16097 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
16099 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16104 if test "$GCC" != "yes"; then
16105 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
16106 echo "configure:16107: checking for Intel compiler" >&5
16107 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
16108 echo $ac_n "(cached) $ac_c" 1>&6
16111 cat > conftest.
$ac_ext <<EOF
16112 #line 16113 "configure"
16113 #include "confdefs.h"
16117 #ifndef __INTEL_COMPILER
16123 if { (eval echo configure
:16124: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16127 echo "configure: failed program was:" >&5
16128 cat conftest.
$ac_ext >&5
16137 echo "$ac_t""$wx_cv_prog_icc" 1>&6
16138 if test "$wx_cv_prog_icc" = "yes"; then
16143 if test "$wxUSE_SONAME" = "yes" ; then
16144 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
16145 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
16146 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
16151 if test "$GCC" = yes ; then
16152 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
16154 SHARED_LD
="${CXX} -G -o"
16156 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
16157 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
16162 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -DWXMAKINGDLL"
16163 CFLAGS
="$CFLAGS -fno-common"
16164 CXXFLAGS
="$CXXFLAGS -fno-common"
16165 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
16166 PIC_FLAG
="-dynamic -fPIC"
16167 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1}"
16168 SONAME_FLAGS_GL
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION} -install_name \$(libdir)/${WX_LIBRARY_LINK1_GL}"
16172 if test "$GCC" != "yes"; then
16173 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
16174 set dummy makeC
++SharedLib
; ac_word
=$2
16175 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16176 echo "configure:16177: checking for $ac_word" >&5
16177 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
16178 echo $ac_n "(cached) $ac_c" 1>&6
16180 if test -n "$AIX_CXX_LD"; then
16181 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
16183 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16185 for ac_dir
in $ac_dummy; do
16186 test -z "$ac_dir" && ac_dir
=.
16187 if test -f $ac_dir/$ac_word; then
16188 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
16193 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
16196 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
16197 if test -n "$AIX_CXX_LD"; then
16198 echo "$ac_t""$AIX_CXX_LD" 1>&6
16200 echo "$ac_t""no" 1>&6
16204 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
16208 *-*-cygwin* | *-*-mingw32* )
16209 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
16211 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
16212 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
16214 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
16216 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
16217 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
16219 if test "$wxUSE_OPENGL" = "yes"; then
16220 LIBS
="${LIBS} ${OPENGL_LIBS}"
16225 SHARED_LD
="${LD} -shared -o"
16229 if test "$GCC" != "yes"; then
16234 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
16242 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
16245 if test "x$WX_TARGET_LIBRARY" = "x"; then
16246 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
16247 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
16250 WX_TARGET_LIBRARY_TYPE
="so"
16251 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
16254 if test "$wxUSE_SHARED" = "no"; then
16256 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
16257 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16260 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
16261 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
16264 if test "$wxUSE_OPENGL" = "yes"; then
16265 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
16266 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
16268 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
16271 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
16272 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
16274 WX_TARGET_LIBRARY_TYPE
="a"
16275 INSTALL_LIBRARY
='$(INSTALL_DATA)'
16285 if test "$wxUSE_MAC" = 1; then
16286 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
16287 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
16288 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
16289 # Extract the first word of "Rez", so it can be a program name with args.
16290 set dummy Rez
; ac_word
=$2
16291 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16292 echo "configure:16293: checking for $ac_word" >&5
16293 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16294 echo $ac_n "(cached) $ac_c" 1>&6
16296 if test -n "$RESCOMP"; then
16297 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16299 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16301 for ac_dir
in $ac_dummy; do
16302 test -z "$ac_dir" && ac_dir
=.
16303 if test -f $ac_dir/$ac_word; then
16304 ac_cv_prog_RESCOMP
="Rez"
16309 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16312 RESCOMP
="$ac_cv_prog_RESCOMP"
16313 if test -n "$RESCOMP"; then
16314 echo "$ac_t""$RESCOMP" 1>&6
16316 echo "$ac_t""no" 1>&6
16319 # Extract the first word of "DeRez", so it can be a program name with args.
16320 set dummy DeRez
; ac_word
=$2
16321 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16322 echo "configure:16323: checking for $ac_word" >&5
16323 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16324 echo $ac_n "(cached) $ac_c" 1>&6
16326 if test -n "$DEREZ"; then
16327 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16329 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16331 for ac_dir
in $ac_dummy; do
16332 test -z "$ac_dir" && ac_dir
=.
16333 if test -f $ac_dir/$ac_word; then
16334 ac_cv_prog_DEREZ
="DeRez"
16339 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16342 DEREZ
="$ac_cv_prog_DEREZ"
16343 if test -n "$DEREZ"; then
16344 echo "$ac_t""$DEREZ" 1>&6
16346 echo "$ac_t""no" 1>&6
16349 # Extract the first word of "SetFile", so it can be a program name with args.
16350 set dummy SetFile
; ac_word
=$2
16351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16352 echo "configure:16353: checking for $ac_word" >&5
16353 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16354 echo $ac_n "(cached) $ac_c" 1>&6
16356 if test -n "$SETFILE"; then
16357 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16359 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16361 for ac_dir
in $ac_dummy; do
16362 test -z "$ac_dir" && ac_dir
=.
16363 if test -f $ac_dir/$ac_word; then
16364 ac_cv_prog_SETFILE
="SetFile"
16369 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16372 SETFILE
="$ac_cv_prog_SETFILE"
16373 if test -n "$SETFILE"; then
16374 echo "$ac_t""$SETFILE" 1>&6
16376 echo "$ac_t""no" 1>&6
16379 MACOSX_BUNDLE
="bundle"
16380 MACRESCOMP
="\$(RESCOMP) -d __DARWIN__ -t APPL Carbon.r ${LIBWXMACRES} -o"
16381 MACSETFILE
="\$(SETFILE)"
16382 MACRESWXCONFIG
="${RESCOMP} -d __DARWIN__ -t APPL Carbon.r \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16383 elif test "$wxUSE_COCOA" = 1; then
16384 # Extract the first word of "Rez", so it can be a program name with args.
16385 set dummy Rez
; ac_word
=$2
16386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16387 echo "configure:16388: checking for $ac_word" >&5
16388 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
16389 echo $ac_n "(cached) $ac_c" 1>&6
16391 if test -n "$RESCOMP"; then
16392 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
16394 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16396 for ac_dir
in $ac_dummy; do
16397 test -z "$ac_dir" && ac_dir
=.
16398 if test -f $ac_dir/$ac_word; then
16399 ac_cv_prog_RESCOMP
="Rez"
16404 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
16407 RESCOMP
="$ac_cv_prog_RESCOMP"
16408 if test -n "$RESCOMP"; then
16409 echo "$ac_t""$RESCOMP" 1>&6
16411 echo "$ac_t""no" 1>&6
16414 # Extract the first word of "DeRez", so it can be a program name with args.
16415 set dummy DeRez
; ac_word
=$2
16416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16417 echo "configure:16418: checking for $ac_word" >&5
16418 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
16419 echo $ac_n "(cached) $ac_c" 1>&6
16421 if test -n "$DEREZ"; then
16422 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
16424 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16426 for ac_dir
in $ac_dummy; do
16427 test -z "$ac_dir" && ac_dir
=.
16428 if test -f $ac_dir/$ac_word; then
16429 ac_cv_prog_DEREZ
="DeRez"
16434 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
16437 DEREZ
="$ac_cv_prog_DEREZ"
16438 if test -n "$DEREZ"; then
16439 echo "$ac_t""$DEREZ" 1>&6
16441 echo "$ac_t""no" 1>&6
16444 # Extract the first word of "SetFile", so it can be a program name with args.
16445 set dummy SetFile
; ac_word
=$2
16446 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
16447 echo "configure:16448: checking for $ac_word" >&5
16448 if eval "test \"`echo '$''{'ac_cv_prog_SETFILE'+set}'`\" = set"; then
16449 echo $ac_n "(cached) $ac_c" 1>&6
16451 if test -n "$SETFILE"; then
16452 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
16454 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
16456 for ac_dir
in $ac_dummy; do
16457 test -z "$ac_dir" && ac_dir
=.
16458 if test -f $ac_dir/$ac_word; then
16459 ac_cv_prog_SETFILE
="SetFile"
16464 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
16467 SETFILE
="$ac_cv_prog_SETFILE"
16468 if test -n "$SETFILE"; then
16469 echo "$ac_t""$SETFILE" 1>&6
16471 echo "$ac_t""no" 1>&6
16474 MACRESCOMP
="echo -n | \$(RESCOMP) -d __DARWIN__ -t APPL ${LIBWXMACRES} -o"
16475 MACSETFILE
="\$(SETFILE)"
16476 MACRESWXCONFIG
="echo -n | ${RESCOMP} -d __DARWIN__ -t APPL \$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}} -o"
16478 if test "$wxUSE_PM" = 1; then
16479 MACRESCOMP
="emxbind -ep"
16484 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
16485 echo "configure:16486: checking for ANSI C header files" >&5
16486 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
16487 echo $ac_n "(cached) $ac_c" 1>&6
16489 cat > conftest.
$ac_ext <<EOF
16490 #line 16491 "configure"
16491 #include "confdefs.h"
16492 #include <stdlib.h>
16493 #include <stdarg.h>
16494 #include <string.h>
16497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16498 { (eval echo configure
:16499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16499 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16500 if test -z "$ac_err"; then
16502 ac_cv_header_stdc
=yes
16505 echo "configure: failed program was:" >&5
16506 cat conftest.
$ac_ext >&5
16508 ac_cv_header_stdc
=no
16512 if test $ac_cv_header_stdc = yes; then
16513 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16514 cat > conftest.
$ac_ext <<EOF
16515 #line 16516 "configure"
16516 #include "confdefs.h"
16517 #include <string.h>
16519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16520 egrep "memchr" >/dev
/null
2>&1; then
16524 ac_cv_header_stdc
=no
16530 if test $ac_cv_header_stdc = yes; then
16531 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16532 cat > conftest.
$ac_ext <<EOF
16533 #line 16534 "configure"
16534 #include "confdefs.h"
16535 #include <stdlib.h>
16537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16538 egrep "free" >/dev
/null
2>&1; then
16542 ac_cv_header_stdc
=no
16548 if test $ac_cv_header_stdc = yes; then
16549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16550 if test "$cross_compiling" = yes; then
16553 cat > conftest.
$ac_ext <<EOF
16554 #line 16555 "configure"
16555 #include "confdefs.h"
16557 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16558 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16559 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16560 int main () { int i; for (i = 0; i < 256; i++)
16561 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
16565 if { (eval echo configure
:16566: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
16569 echo "configure: failed program was:" >&5
16570 cat conftest.
$ac_ext >&5
16572 ac_cv_header_stdc
=no
16580 echo "$ac_t""$ac_cv_header_stdc" 1>&6
16581 if test $ac_cv_header_stdc = yes; then
16582 cat >> confdefs.h
<<\EOF
16583 #define STDC_HEADERS 1
16588 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
16589 echo "configure:16590: checking for mode_t" >&5
16590 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
16591 echo $ac_n "(cached) $ac_c" 1>&6
16593 cat > conftest.
$ac_ext <<EOF
16594 #line 16595 "configure"
16595 #include "confdefs.h"
16596 #include <sys/types.h>
16598 #include <stdlib.h>
16599 #include <stddef.h>
16602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16603 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16605 ac_cv_type_mode_t
=yes
16608 ac_cv_type_mode_t
=no
16613 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
16614 if test $ac_cv_type_mode_t = no
; then
16615 cat >> confdefs.h
<<\EOF
16621 echo $ac_n "checking for off_t""... $ac_c" 1>&6
16622 echo "configure:16623: checking for off_t" >&5
16623 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
16624 echo $ac_n "(cached) $ac_c" 1>&6
16626 cat > conftest.
$ac_ext <<EOF
16627 #line 16628 "configure"
16628 #include "confdefs.h"
16629 #include <sys/types.h>
16631 #include <stdlib.h>
16632 #include <stddef.h>
16635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16636 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16638 ac_cv_type_off_t
=yes
16641 ac_cv_type_off_t
=no
16646 echo "$ac_t""$ac_cv_type_off_t" 1>&6
16647 if test $ac_cv_type_off_t = no
; then
16648 cat >> confdefs.h
<<\EOF
16654 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
16655 echo "configure:16656: checking for pid_t" >&5
16656 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
16657 echo $ac_n "(cached) $ac_c" 1>&6
16659 cat > conftest.
$ac_ext <<EOF
16660 #line 16661 "configure"
16661 #include "confdefs.h"
16662 #include <sys/types.h>
16664 #include <stdlib.h>
16665 #include <stddef.h>
16668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16669 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16671 ac_cv_type_pid_t
=yes
16674 ac_cv_type_pid_t
=no
16679 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
16680 if test $ac_cv_type_pid_t = no
; then
16681 cat >> confdefs.h
<<\EOF
16687 echo $ac_n "checking for size_t""... $ac_c" 1>&6
16688 echo "configure:16689: checking for size_t" >&5
16689 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
16690 echo $ac_n "(cached) $ac_c" 1>&6
16692 cat > conftest.
$ac_ext <<EOF
16693 #line 16694 "configure"
16694 #include "confdefs.h"
16695 #include <sys/types.h>
16697 #include <stdlib.h>
16698 #include <stddef.h>
16701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16702 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
16704 ac_cv_type_size_t
=yes
16707 ac_cv_type_size_t
=no
16712 echo "$ac_t""$ac_cv_type_size_t" 1>&6
16713 if test $ac_cv_type_size_t = no
; then
16714 cat >> confdefs.h
<<\EOF
16715 #define size_t unsigned
16720 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
16721 echo "configure:16722: checking for uid_t in sys/types.h" >&5
16722 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
16723 echo $ac_n "(cached) $ac_c" 1>&6
16725 cat > conftest.
$ac_ext <<EOF
16726 #line 16727 "configure"
16727 #include "confdefs.h"
16728 #include <sys/types.h>
16730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16731 egrep "uid_t" >/dev
/null
2>&1; then
16733 ac_cv_type_uid_t
=yes
16736 ac_cv_type_uid_t
=no
16742 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
16743 if test $ac_cv_type_uid_t = no
; then
16744 cat >> confdefs.h
<<\EOF
16748 cat >> confdefs.h
<<\EOF
16757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16758 ac_cpp
='$CXXCPP $CPPFLAGS'
16759 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16760 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16761 cross_compiling
=$ac_cv_prog_cxx_cross
16763 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
16764 echo "configure:16765: checking if size_t is unsigned int" >&5
16765 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
16766 echo $ac_n "(cached) $ac_c" 1>&6
16768 cat > conftest.
$ac_ext <<EOF
16769 #line 16770 "configure"
16770 #include "confdefs.h"
16771 #include <stddef.h>
16776 struct Foo { void foo(size_t); void foo(unsigned int); };
16782 if { (eval echo configure
:16783: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16784 wx_cv_size_t_is_uint
=no
16786 echo "configure: failed program was:" >&5
16787 cat conftest.
$ac_ext >&5
16789 wx_cv_size_t_is_uint
=yes
16796 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
16798 if test "$wx_cv_size_t_is_uint" = "yes"; then
16799 cat >> confdefs.h
<<\EOF
16800 #define wxSIZE_T_IS_UINT 1
16804 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
16805 echo "configure:16806: checking if size_t is unsigned long" >&5
16806 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
16807 echo $ac_n "(cached) $ac_c" 1>&6
16809 cat > conftest.
$ac_ext <<EOF
16810 #line 16811 "configure"
16811 #include "confdefs.h"
16812 #include <stddef.h>
16817 struct Foo { void foo(size_t); void foo(unsigned long); };
16823 if { (eval echo configure
:16824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16825 wx_cv_size_t_is_ulong
=no
16827 echo "configure: failed program was:" >&5
16828 cat conftest.
$ac_ext >&5
16830 wx_cv_size_t_is_ulong
=yes
16837 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
16839 if test "$wx_cv_size_t_is_ulong" = "yes"; then
16840 cat >> confdefs.h
<<\EOF
16841 #define wxSIZE_T_IS_ULONG 1
16848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16849 ac_cpp
='$CPP $CPPFLAGS'
16850 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16851 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16852 cross_compiling
=$ac_cv_prog_cc_cross
16856 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
16857 echo "configure:16858: checking for pw_gecos in struct passwd" >&5
16858 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
16859 echo $ac_n "(cached) $ac_c" 1>&6
16862 cat > conftest.
$ac_ext <<EOF
16863 #line 16864 "configure"
16864 #include "confdefs.h"
16874 if { (eval echo configure
:16875: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16877 wx_cv_struct_pw_gecos
=yes
16880 echo "configure: failed program was:" >&5
16881 cat conftest.
$ac_ext >&5
16884 wx_cv_struct_pw_gecos
=no
16893 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
16895 if test "$wx_cv_struct_pw_gecos" = "yes"; then
16896 cat >> confdefs.h
<<\EOF
16897 #define HAVE_PW_GECOS 1
16903 if test "$wx_cv_sizeof_wchar_t" != "0"; then
16904 cat >> confdefs.h
<<\EOF
16905 #define wxUSE_WCHAR_T 1
16911 for ac_func
in wcslen
16913 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16914 echo "configure:16915: checking for $ac_func" >&5
16915 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16916 echo $ac_n "(cached) $ac_c" 1>&6
16918 cat > conftest.
$ac_ext <<EOF
16919 #line 16920 "configure"
16920 #include "confdefs.h"
16921 /* System header to define __stub macros and hopefully few prototypes,
16922 which can conflict with char $ac_func(); below. */
16923 #include <assert.h>
16924 /* Override any gcc2 internal prototype to avoid an error. */
16925 /* We use char because int might match the return type of a gcc2
16926 builtin and then its argument prototype would still apply. */
16931 /* The GNU C library defines this for functions which it implements
16932 to always fail with ENOSYS. Some functions are actually named
16933 something starting with __ and the normal name is an alias. */
16934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16942 if { (eval echo configure
:16943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16944 eval "ac_cv_func_$ac_func=yes"
16946 echo "configure: failed program was:" >&5
16947 cat conftest.
$ac_ext >&5
16949 eval "ac_cv_func_$ac_func=no"
16954 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16955 echo "$ac_t""yes" 1>&6
16956 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16957 cat >> confdefs.h
<<EOF
16958 #define $ac_tr_func 1
16962 echo "$ac_t""no" 1>&6
16967 if test "$WCSLEN_FOUND" = 0; then
16968 if test "$TOOLKIT" = "MSW"; then
16969 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
16970 echo "configure:16971: checking for wcslen in -lmsvcrt" >&5
16971 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
16972 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16973 echo $ac_n "(cached) $ac_c" 1>&6
16975 ac_save_LIBS
="$LIBS"
16976 LIBS
="-lmsvcrt $LIBS"
16977 cat > conftest.
$ac_ext <<EOF
16978 #line 16979 "configure"
16979 #include "confdefs.h"
16980 /* Override any gcc2 internal prototype to avoid an error. */
16981 /* We use char because int might match the return type of a gcc2
16982 builtin and then its argument prototype would still apply. */
16989 if { (eval echo configure
:16990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16991 eval "ac_cv_lib_$ac_lib_var=yes"
16993 echo "configure: failed program was:" >&5
16994 cat conftest.
$ac_ext >&5
16996 eval "ac_cv_lib_$ac_lib_var=no"
16999 LIBS
="$ac_save_LIBS"
17002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17003 echo "$ac_t""yes" 1>&6
17006 echo "$ac_t""no" 1>&6
17010 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
17011 echo "configure:17012: checking for wcslen in -lw" >&5
17012 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
17013 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17014 echo $ac_n "(cached) $ac_c" 1>&6
17016 ac_save_LIBS
="$LIBS"
17018 cat > conftest.
$ac_ext <<EOF
17019 #line 17020 "configure"
17020 #include "confdefs.h"
17021 /* Override any gcc2 internal prototype to avoid an error. */
17022 /* We use char because int might match the return type of a gcc2
17023 builtin and then its argument prototype would still apply. */
17030 if { (eval echo configure
:17031: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17032 eval "ac_cv_lib_$ac_lib_var=yes"
17034 echo "configure: failed program was:" >&5
17035 cat conftest.
$ac_ext >&5
17037 eval "ac_cv_lib_$ac_lib_var=no"
17040 LIBS
="$ac_save_LIBS"
17043 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17044 echo "$ac_t""yes" 1>&6
17050 echo "$ac_t""no" 1>&6
17056 if test "$WCSLEN_FOUND" = 1; then
17057 cat >> confdefs.h
<<\EOF
17058 #define HAVE_WCSLEN 1
17063 for ac_func
in wcsrtombs
17065 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17066 echo "configure:17067: checking for $ac_func" >&5
17067 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17068 echo $ac_n "(cached) $ac_c" 1>&6
17070 cat > conftest.
$ac_ext <<EOF
17071 #line 17072 "configure"
17072 #include "confdefs.h"
17073 /* System header to define __stub macros and hopefully few prototypes,
17074 which can conflict with char $ac_func(); below. */
17075 #include <assert.h>
17076 /* Override any gcc2 internal prototype to avoid an error. */
17077 /* We use char because int might match the return type of a gcc2
17078 builtin and then its argument prototype would still apply. */
17083 /* The GNU C library defines this for functions which it implements
17084 to always fail with ENOSYS. Some functions are actually named
17085 something starting with __ and the normal name is an alias. */
17086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17094 if { (eval echo configure
:17095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17096 eval "ac_cv_func_$ac_func=yes"
17098 echo "configure: failed program was:" >&5
17099 cat conftest.
$ac_ext >&5
17101 eval "ac_cv_func_$ac_func=no"
17106 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17107 echo "$ac_t""yes" 1>&6
17108 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17109 cat >> confdefs.h
<<EOF
17110 #define $ac_tr_func 1
17114 echo "$ac_t""no" 1>&6
17119 echo "configure: warning: Wide character support is unavailable" 1>&2
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
17131 for ac_func
in vsnprintf
17133 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17134 echo "configure:17135: checking for $ac_func" >&5
17135 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17136 echo $ac_n "(cached) $ac_c" 1>&6
17138 cat > conftest.
$ac_ext <<EOF
17139 #line 17140 "configure"
17140 #include "confdefs.h"
17141 /* System header to define __stub macros and hopefully few prototypes,
17142 which can conflict with char $ac_func(); below. */
17143 #include <assert.h>
17144 /* Override any gcc2 internal prototype to avoid an error. */
17148 /* We use char because int might match the return type of a gcc2
17149 builtin and then its argument prototype would still apply. */
17154 /* The GNU C library defines this for functions which it implements
17155 to always fail with ENOSYS. Some functions are actually named
17156 something starting with __ and the normal name is an alias. */
17157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17165 if { (eval echo configure
:17166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17167 eval "ac_cv_func_$ac_func=yes"
17169 echo "configure: failed program was:" >&5
17170 cat conftest.
$ac_ext >&5
17172 eval "ac_cv_func_$ac_func=no"
17177 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17178 echo "$ac_t""yes" 1>&6
17179 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17180 cat >> confdefs.h
<<EOF
17181 #define $ac_tr_func 1
17185 echo "$ac_t""no" 1>&6
17190 if test "$ac_cv_func_vsnprintf" = "yes"; then
17191 echo $ac_n "checking for vsnprintf declaration""... $ac_c" 1>&6
17192 echo "configure:17193: checking for vsnprintf declaration" >&5
17193 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf_decl'+set}'`\" = set"; then
17194 echo $ac_n "(cached) $ac_c" 1>&6
17197 cat > conftest.
$ac_ext <<EOF
17198 #line 17199 "configure"
17199 #include "confdefs.h"
17202 #include <stdarg.h>
17208 vsnprintf(buf, 10u, "%s", ap);
17212 if { (eval echo configure
:17213: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17214 wx_cv_func_vsnprintf_decl
=yes
17216 echo "configure: failed program was:" >&5
17217 cat conftest.
$ac_ext >&5
17219 wx_cv_func_vsnprintf_decl
=no
17227 echo "$ac_t""$wx_cv_func_vsnprintf_decl" 1>&6
17229 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
17230 cat >> confdefs.h
<<\EOF
17231 #define HAVE_VSNPRINTF_DECL 1
17237 if test "$wxUSE_UNICODE" = yes; then
17238 for ac_func
in fputwc wprintf vswprintf
17240 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17241 echo "configure:17242: checking for $ac_func" >&5
17242 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17243 echo $ac_n "(cached) $ac_c" 1>&6
17245 cat > conftest.
$ac_ext <<EOF
17246 #line 17247 "configure"
17247 #include "confdefs.h"
17248 /* System header to define __stub macros and hopefully few prototypes,
17249 which can conflict with char $ac_func(); below. */
17250 #include <assert.h>
17251 /* Override any gcc2 internal prototype to avoid an error. */
17255 /* We use char because int might match the return type of a gcc2
17256 builtin and then its argument prototype would still apply. */
17261 /* The GNU C library defines this for functions which it implements
17262 to always fail with ENOSYS. Some functions are actually named
17263 something starting with __ and the normal name is an alias. */
17264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17272 if { (eval echo configure
:17273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17274 eval "ac_cv_func_$ac_func=yes"
17276 echo "configure: failed program was:" >&5
17277 cat conftest.
$ac_ext >&5
17279 eval "ac_cv_func_$ac_func=no"
17284 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17285 echo "$ac_t""yes" 1>&6
17286 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17287 cat >> confdefs.h
<<EOF
17288 #define $ac_tr_func 1
17292 echo "$ac_t""no" 1>&6
17297 echo $ac_n "checking for _vsnwprintf""... $ac_c" 1>&6
17298 echo "configure:17299: checking for _vsnwprintf" >&5
17299 cat > conftest.
$ac_ext <<EOF
17300 #line 17301 "configure"
17301 #include "confdefs.h"
17307 if { (eval echo configure
:17308: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17309 echo "$ac_t""yes" 1>&6
17310 cat >> confdefs.h
<<\EOF
17311 #define HAVE__VSNWPRINTF 1
17315 echo "configure: failed program was:" >&5
17316 cat conftest.
$ac_ext >&5
17318 echo "$ac_t""no" 1>&6
17324 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17325 ac_cpp
='$CPP $CPPFLAGS'
17326 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17327 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17328 cross_compiling
=$ac_cv_prog_cc_cross
17333 if test "$TOOLKIT" != "MSW"; then
17338 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17339 ac_cpp
='$CXXCPP $CPPFLAGS'
17340 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17341 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17342 cross_compiling
=$ac_cv_prog_cxx_cross
17346 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
17347 if test "${with_libiconv_prefix+set}" = set; then
17348 withval
="$with_libiconv_prefix"
17350 for dir
in `echo "$withval" | tr : ' '`; do
17351 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
17352 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
17358 echo $ac_n "checking for iconv""... $ac_c" 1>&6
17359 echo "configure:17360: checking for iconv" >&5
17360 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
17361 echo $ac_n "(cached) $ac_c" 1>&6
17364 am_cv_func_iconv
="no, consider installing GNU libiconv"
17366 cat > conftest.
$ac_ext <<EOF
17367 #line 17368 "configure"
17368 #include "confdefs.h"
17369 #include <stdlib.h>
17372 iconv_t cd = iconv_open("","");
17373 iconv(cd,NULL,NULL,NULL,NULL);
17377 if { (eval echo configure
:17378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17379 am_cv_func_iconv
=yes
17381 echo "configure: failed program was:" >&5
17382 cat conftest.
$ac_ext >&5
17385 if test "$am_cv_func_iconv" != yes; then
17386 am_save_LIBS
="$LIBS"
17387 LIBS
="$LIBS -liconv"
17388 cat > conftest.
$ac_ext <<EOF
17389 #line 17390 "configure"
17390 #include "confdefs.h"
17391 #include <stdlib.h>
17394 iconv_t cd = iconv_open("","");
17395 iconv(cd,NULL,NULL,NULL,NULL);
17399 if { (eval echo configure
:17400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17401 am_cv_lib_iconv
=yes
17402 am_cv_func_iconv
=yes
17404 echo "configure: failed program was:" >&5
17405 cat conftest.
$ac_ext >&5
17408 LIBS
="$am_save_LIBS"
17413 echo "$ac_t""$am_cv_func_iconv" 1>&6
17414 if test "$am_cv_func_iconv" = yes; then
17415 cat >> confdefs.h
<<\EOF
17416 #define HAVE_ICONV 1
17419 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
17420 echo "configure:17421: checking if iconv needs const" >&5
17421 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
17422 echo $ac_n "(cached) $ac_c" 1>&6
17424 cat > conftest.
$ac_ext <<EOF
17425 #line 17426 "configure"
17426 #include "confdefs.h"
17428 #include <stdlib.h>
17434 #if defined(__STDC__) || defined(__cplusplus)
17435 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
17444 if { (eval echo configure
:17445: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17446 wx_cv_func_iconv_const
="no"
17448 echo "configure: failed program was:" >&5
17449 cat conftest.
$ac_ext >&5
17451 wx_cv_func_iconv_const
="yes"
17458 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
17461 if test "x$wx_cv_func_iconv_const" = "xyes"; then
17462 iconv_const
="const"
17465 cat >> confdefs.h
<<EOF
17466 #define ICONV_CONST $iconv_const
17471 if test "$am_cv_lib_iconv" = yes; then
17476 LIBS
="$LIBICONV $LIBS"
17478 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17479 ac_cpp
='$CPP $CPPFLAGS'
17480 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17481 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17482 cross_compiling
=$ac_cv_prog_cc_cross
17485 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
17486 for ac_func
in sigaction
17488 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17489 echo "configure:17490: checking for $ac_func" >&5
17490 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17491 echo $ac_n "(cached) $ac_c" 1>&6
17493 cat > conftest.
$ac_ext <<EOF
17494 #line 17495 "configure"
17495 #include "confdefs.h"
17496 /* System header to define __stub macros and hopefully few prototypes,
17497 which can conflict with char $ac_func(); below. */
17498 #include <assert.h>
17499 /* Override any gcc2 internal prototype to avoid an error. */
17500 /* We use char because int might match the return type of a gcc2
17501 builtin and then its argument prototype would still apply. */
17506 /* The GNU C library defines this for functions which it implements
17507 to always fail with ENOSYS. Some functions are actually named
17508 something starting with __ and the normal name is an alias. */
17509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17517 if { (eval echo configure
:17518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17519 eval "ac_cv_func_$ac_func=yes"
17521 echo "configure: failed program was:" >&5
17522 cat conftest.
$ac_ext >&5
17524 eval "ac_cv_func_$ac_func=no"
17529 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17530 echo "$ac_t""yes" 1>&6
17531 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17532 cat >> confdefs.h
<<EOF
17533 #define $ac_tr_func 1
17537 echo "$ac_t""no" 1>&6
17542 if test "$ac_cv_func_sigaction" = "no"; then
17543 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
17544 wxUSE_ON_FATAL_EXCEPTION
=no
17547 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17550 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17551 ac_cpp
='$CXXCPP $CPPFLAGS'
17552 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17553 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17554 cross_compiling
=$ac_cv_prog_cxx_cross
17557 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
17558 echo "configure:17559: checking for sa_handler type" >&5
17559 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
17560 echo $ac_n "(cached) $ac_c" 1>&6
17563 cat > conftest.
$ac_ext <<EOF
17564 #line 17565 "configure"
17565 #include "confdefs.h"
17566 #include <signal.h>
17569 extern void testSigHandler(int);
17571 struct sigaction sa;
17572 sa.sa_handler = testSigHandler;
17576 if { (eval echo configure
:17577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17579 wx_cv_type_sa_handler
=int
17582 echo "configure: failed program was:" >&5
17583 cat conftest.
$ac_ext >&5
17586 wx_cv_type_sa_handler
=void
17593 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
17596 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17597 ac_cpp
='$CPP $CPPFLAGS'
17598 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17599 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17600 cross_compiling
=$ac_cv_prog_cc_cross
17603 cat >> confdefs.h
<<EOF
17604 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
17610 for ac_func
in mkstemp mktemp
17612 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17613 echo "configure:17614: checking for $ac_func" >&5
17614 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17615 echo $ac_n "(cached) $ac_c" 1>&6
17617 cat > conftest.
$ac_ext <<EOF
17618 #line 17619 "configure"
17619 #include "confdefs.h"
17620 /* System header to define __stub macros and hopefully few prototypes,
17621 which can conflict with char $ac_func(); below. */
17622 #include <assert.h>
17623 /* Override any gcc2 internal prototype to avoid an error. */
17624 /* We use char because int might match the return type of a gcc2
17625 builtin and then its argument prototype would still apply. */
17630 /* The GNU C library defines this for functions which it implements
17631 to always fail with ENOSYS. Some functions are actually named
17632 something starting with __ and the normal name is an alias. */
17633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17641 if { (eval echo configure
:17642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17643 eval "ac_cv_func_$ac_func=yes"
17645 echo "configure: failed program was:" >&5
17646 cat conftest.
$ac_ext >&5
17648 eval "ac_cv_func_$ac_func=no"
17653 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17654 echo "$ac_t""yes" 1>&6
17655 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17656 cat >> confdefs.h
<<EOF
17657 #define $ac_tr_func 1
17661 echo "$ac_t""no" 1>&6
17666 echo $ac_n "checking for statfs""... $ac_c" 1>&6
17667 echo "configure:17668: checking for statfs" >&5
17668 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
17669 echo $ac_n "(cached) $ac_c" 1>&6
17671 cat > conftest.
$ac_ext <<EOF
17672 #line 17673 "configure"
17673 #include "confdefs.h"
17675 #if defined(__BSD__)
17676 #include <sys/param.h>
17677 #include <sys/mount.h>
17679 #include <sys/vfs.h>
17693 if { (eval echo configure
:17694: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17696 wx_cv_func_statfs
=yes
17699 echo "configure: failed program was:" >&5
17700 cat conftest.
$ac_ext >&5
17703 wx_cv_func_statfs
=no
17711 echo "$ac_t""$wx_cv_func_statfs" 1>&6
17713 if test "$wx_cv_func_statfs" = "yes"; then
17714 wx_cv_type_statvfs_t
="struct statfs"
17715 cat >> confdefs.h
<<\EOF
17716 #define HAVE_STATFS 1
17720 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
17721 echo "configure:17722: checking for statvfs" >&5
17722 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
17723 echo $ac_n "(cached) $ac_c" 1>&6
17725 cat > conftest.
$ac_ext <<EOF
17726 #line 17727 "configure"
17727 #include "confdefs.h"
17729 #include <stddef.h>
17730 #include <sys/statvfs.h>
17734 statvfs("/", NULL);
17738 if { (eval echo configure
:17739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17740 wx_cv_func_statvfs
=yes
17742 echo "configure: failed program was:" >&5
17743 cat conftest.
$ac_ext >&5
17745 wx_cv_func_statvfs
=no
17752 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
17754 if test "$wx_cv_func_statvfs" = "yes"; then
17757 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17758 ac_cpp
='$CXXCPP $CPPFLAGS'
17759 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17760 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17761 cross_compiling
=$ac_cv_prog_cxx_cross
17764 echo $ac_n "checking for statvfs argument type""... $ac_c" 1>&6
17765 echo "configure:17766: checking for statvfs argument type" >&5
17766 if eval "test \"`echo '$''{'wx_cv_type_statvfs_t'+set}'`\" = set"; then
17767 echo $ac_n "(cached) $ac_c" 1>&6
17769 cat > conftest.
$ac_ext <<EOF
17770 #line 17771 "configure"
17771 #include "confdefs.h"
17773 #include <sys/statvfs.h>
17786 if { (eval echo configure
:17787: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17788 wx_cv_type_statvfs_t
=statvfs_t
17790 echo "configure: failed program was:" >&5
17791 cat conftest.
$ac_ext >&5
17794 cat > conftest.
$ac_ext <<EOF
17795 #line 17796 "configure"
17796 #include "confdefs.h"
17798 #include <sys/statvfs.h>
17811 if { (eval echo configure
:17812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17813 wx_cv_type_statvfs_t
="struct statvfs"
17815 echo "configure: failed program was:" >&5
17816 cat conftest.
$ac_ext >&5
17818 wx_cv_type_statvfs_t
="unknown"
17829 echo "$ac_t""$wx_cv_type_statvfs_t" 1>&6
17832 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17833 ac_cpp
='$CPP $CPPFLAGS'
17834 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17835 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17836 cross_compiling
=$ac_cv_prog_cc_cross
17839 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17840 cat >> confdefs.h
<<\EOF
17841 #define HAVE_STATVFS 1
17846 wx_cv_type_statvfs_t
="unknown"
17850 if test "$wx_cv_type_statvfs_t" != "unknown"; then
17851 cat >> confdefs.h
<<EOF
17852 #define WX_STATFS_T $wx_cv_type_statvfs_t
17856 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
17859 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17860 for ac_func
in fcntl flock
17862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17863 echo "configure:17864: checking for $ac_func" >&5
17864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17865 echo $ac_n "(cached) $ac_c" 1>&6
17867 cat > conftest.
$ac_ext <<EOF
17868 #line 17869 "configure"
17869 #include "confdefs.h"
17870 /* System header to define __stub macros and hopefully few prototypes,
17871 which can conflict with char $ac_func(); below. */
17872 #include <assert.h>
17873 /* Override any gcc2 internal prototype to avoid an error. */
17874 /* We use char because int might match the return type of a gcc2
17875 builtin and then its argument prototype would still apply. */
17880 /* The GNU C library defines this for functions which it implements
17881 to always fail with ENOSYS. Some functions are actually named
17882 something starting with __ and the normal name is an alias. */
17883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17891 if { (eval echo configure
:17892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17893 eval "ac_cv_func_$ac_func=yes"
17895 echo "configure: failed program was:" >&5
17896 cat conftest.
$ac_ext >&5
17898 eval "ac_cv_func_$ac_func=no"
17903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17904 echo "$ac_t""yes" 1>&6
17905 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17906 cat >> confdefs.h
<<EOF
17907 #define $ac_tr_func 1
17911 echo "$ac_t""no" 1>&6
17916 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
17917 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
17918 wxUSE_SNGLINST_CHECKER
=no
17922 for ac_func
in timegm
17924 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17925 echo "configure:17926: checking for $ac_func" >&5
17926 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17927 echo $ac_n "(cached) $ac_c" 1>&6
17929 cat > conftest.
$ac_ext <<EOF
17930 #line 17931 "configure"
17931 #include "confdefs.h"
17932 /* System header to define __stub macros and hopefully few prototypes,
17933 which can conflict with char $ac_func(); below. */
17934 #include <assert.h>
17935 /* Override any gcc2 internal prototype to avoid an error. */
17936 /* We use char because int might match the return type of a gcc2
17937 builtin and then its argument prototype would still apply. */
17942 /* The GNU C library defines this for functions which it implements
17943 to always fail with ENOSYS. Some functions are actually named
17944 something starting with __ and the normal name is an alias. */
17945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17953 if { (eval echo configure
:17954: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17955 eval "ac_cv_func_$ac_func=yes"
17957 echo "configure: failed program was:" >&5
17958 cat conftest.
$ac_ext >&5
17960 eval "ac_cv_func_$ac_func=no"
17965 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17966 echo "$ac_t""yes" 1>&6
17967 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17968 cat >> confdefs.h
<<EOF
17969 #define $ac_tr_func 1
17973 echo "$ac_t""no" 1>&6
17978 for ac_func
in putenv setenv
17980 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17981 echo "configure:17982: checking for $ac_func" >&5
17982 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17983 echo $ac_n "(cached) $ac_c" 1>&6
17985 cat > conftest.
$ac_ext <<EOF
17986 #line 17987 "configure"
17987 #include "confdefs.h"
17988 /* System header to define __stub macros and hopefully few prototypes,
17989 which can conflict with char $ac_func(); below. */
17990 #include <assert.h>
17991 /* Override any gcc2 internal prototype to avoid an error. */
17992 /* We use char because int might match the return type of a gcc2
17993 builtin and then its argument prototype would still apply. */
17998 /* The GNU C library defines this for functions which it implements
17999 to always fail with ENOSYS. Some functions are actually named
18000 something starting with __ and the normal name is an alias. */
18001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18009 if { (eval echo configure
:18010: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18011 eval "ac_cv_func_$ac_func=yes"
18013 echo "configure: failed program was:" >&5
18014 cat conftest.
$ac_ext >&5
18016 eval "ac_cv_func_$ac_func=no"
18021 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18022 echo "$ac_t""yes" 1>&6
18023 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18024 cat >> confdefs.h
<<EOF
18025 #define $ac_tr_func 1
18029 echo "$ac_t""no" 1>&6
18034 HAVE_SOME_SLEEP_FUNC
=0
18035 if test "$USE_BEOS" = 1; then
18036 cat >> confdefs.h
<<\EOF
18037 #define HAVE_SLEEP 1
18040 HAVE_SOME_SLEEP_FUNC
=1
18043 if test "$USE_DARWIN" = 1; then
18044 cat >> confdefs.h
<<\EOF
18045 #define HAVE_USLEEP 1
18048 HAVE_SOME_SLEEP_FUNC
=1
18051 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
18053 for ac_func
in nanosleep
18055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18056 echo "configure:18057: checking for $ac_func" >&5
18057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18058 echo $ac_n "(cached) $ac_c" 1>&6
18060 cat > conftest.
$ac_ext <<EOF
18061 #line 18062 "configure"
18062 #include "confdefs.h"
18063 /* System header to define __stub macros and hopefully few prototypes,
18064 which can conflict with char $ac_func(); below. */
18065 #include <assert.h>
18066 /* Override any gcc2 internal prototype to avoid an error. */
18067 /* We use char because int might match the return type of a gcc2
18068 builtin and then its argument prototype would still apply. */
18073 /* The GNU C library defines this for functions which it implements
18074 to always fail with ENOSYS. Some functions are actually named
18075 something starting with __ and the normal name is an alias. */
18076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18084 if { (eval echo configure
:18085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18086 eval "ac_cv_func_$ac_func=yes"
18088 echo "configure: failed program was:" >&5
18089 cat conftest.
$ac_ext >&5
18091 eval "ac_cv_func_$ac_func=no"
18096 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18097 echo "$ac_t""yes" 1>&6
18098 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18099 cat >> confdefs.h
<<EOF
18100 #define $ac_tr_func 1
18102 cat >> confdefs.h
<<\EOF
18103 #define HAVE_NANOSLEEP 1
18107 echo "$ac_t""no" 1>&6
18108 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
18109 echo "configure:18110: checking for nanosleep in -lposix4" >&5
18110 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
18111 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18112 echo $ac_n "(cached) $ac_c" 1>&6
18114 ac_save_LIBS
="$LIBS"
18115 LIBS
="-lposix4 $LIBS"
18116 cat > conftest.
$ac_ext <<EOF
18117 #line 18118 "configure"
18118 #include "confdefs.h"
18119 /* Override any gcc2 internal prototype to avoid an error. */
18120 /* We use char because int might match the return type of a gcc2
18121 builtin and then its argument prototype would still apply. */
18128 if { (eval echo configure
:18129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18130 eval "ac_cv_lib_$ac_lib_var=yes"
18132 echo "configure: failed program was:" >&5
18133 cat conftest.
$ac_ext >&5
18135 eval "ac_cv_lib_$ac_lib_var=no"
18138 LIBS
="$ac_save_LIBS"
18141 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18142 echo "$ac_t""yes" 1>&6
18144 cat >> confdefs.h
<<\EOF
18145 #define HAVE_NANOSLEEP 1
18148 POSIX4_LINK
=" -lposix4"
18151 echo "$ac_t""no" 1>&6
18153 for ac_func
in usleep
18155 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18156 echo "configure:18157: checking for $ac_func" >&5
18157 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18158 echo $ac_n "(cached) $ac_c" 1>&6
18160 cat > conftest.
$ac_ext <<EOF
18161 #line 18162 "configure"
18162 #include "confdefs.h"
18163 /* System header to define __stub macros and hopefully few prototypes,
18164 which can conflict with char $ac_func(); below. */
18165 #include <assert.h>
18166 /* Override any gcc2 internal prototype to avoid an error. */
18167 /* We use char because int might match the return type of a gcc2
18168 builtin and then its argument prototype would still apply. */
18173 /* The GNU C library defines this for functions which it implements
18174 to always fail with ENOSYS. Some functions are actually named
18175 something starting with __ and the normal name is an alias. */
18176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18184 if { (eval echo configure
:18185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18186 eval "ac_cv_func_$ac_func=yes"
18188 echo "configure: failed program was:" >&5
18189 cat conftest.
$ac_ext >&5
18191 eval "ac_cv_func_$ac_func=no"
18196 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18197 echo "$ac_t""yes" 1>&6
18198 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18199 cat >> confdefs.h
<<EOF
18200 #define $ac_tr_func 1
18202 cat >> confdefs.h
<<\EOF
18203 #define HAVE_USLEEP 1
18207 echo "$ac_t""no" 1>&6
18208 echo "configure: warning: wxSleep() function will not work" 1>&2
18224 for ac_func
in uname gethostname
18226 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18227 echo "configure:18228: checking for $ac_func" >&5
18228 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18229 echo $ac_n "(cached) $ac_c" 1>&6
18231 cat > conftest.
$ac_ext <<EOF
18232 #line 18233 "configure"
18233 #include "confdefs.h"
18234 /* System header to define __stub macros and hopefully few prototypes,
18235 which can conflict with char $ac_func(); below. */
18236 #include <assert.h>
18237 /* Override any gcc2 internal prototype to avoid an error. */
18238 /* We use char because int might match the return type of a gcc2
18239 builtin and then its argument prototype would still apply. */
18244 /* The GNU C library defines this for functions which it implements
18245 to always fail with ENOSYS. Some functions are actually named
18246 something starting with __ and the normal name is an alias. */
18247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18255 if { (eval echo configure
:18256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18257 eval "ac_cv_func_$ac_func=yes"
18259 echo "configure: failed program was:" >&5
18260 cat conftest.
$ac_ext >&5
18262 eval "ac_cv_func_$ac_func=no"
18267 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18268 echo "$ac_t""yes" 1>&6
18269 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18270 cat >> confdefs.h
<<EOF
18271 #define $ac_tr_func 1
18275 echo "$ac_t""no" 1>&6
18282 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18283 ac_cpp
='$CXXCPP $CPPFLAGS'
18284 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18285 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18286 cross_compiling
=$ac_cv_prog_cxx_cross
18289 for ac_func
in strtok_r
18291 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18292 echo "configure:18293: checking for $ac_func" >&5
18293 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18294 echo $ac_n "(cached) $ac_c" 1>&6
18296 cat > conftest.
$ac_ext <<EOF
18297 #line 18298 "configure"
18298 #include "confdefs.h"
18299 /* System header to define __stub macros and hopefully few prototypes,
18300 which can conflict with char $ac_func(); below. */
18301 #include <assert.h>
18302 /* Override any gcc2 internal prototype to avoid an error. */
18306 /* We use char because int might match the return type of a gcc2
18307 builtin and then its argument prototype would still apply. */
18312 /* The GNU C library defines this for functions which it implements
18313 to always fail with ENOSYS. Some functions are actually named
18314 something starting with __ and the normal name is an alias. */
18315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18323 if { (eval echo configure
:18324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18325 eval "ac_cv_func_$ac_func=yes"
18327 echo "configure: failed program was:" >&5
18328 cat conftest.
$ac_ext >&5
18330 eval "ac_cv_func_$ac_func=no"
18335 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18336 echo "$ac_t""yes" 1>&6
18337 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18338 cat >> confdefs.h
<<EOF
18339 #define $ac_tr_func 1
18343 echo "$ac_t""no" 1>&6
18349 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18350 ac_cpp
='$CPP $CPPFLAGS'
18351 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18352 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18353 cross_compiling
=$ac_cv_prog_cc_cross
18357 for ac_func
in inet_addr
18359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18360 echo "configure:18361: checking for $ac_func" >&5
18361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18362 echo $ac_n "(cached) $ac_c" 1>&6
18364 cat > conftest.
$ac_ext <<EOF
18365 #line 18366 "configure"
18366 #include "confdefs.h"
18367 /* System header to define __stub macros and hopefully few prototypes,
18368 which can conflict with char $ac_func(); below. */
18369 #include <assert.h>
18370 /* Override any gcc2 internal prototype to avoid an error. */
18371 /* We use char because int might match the return type of a gcc2
18372 builtin and then its argument prototype would still apply. */
18377 /* The GNU C library defines this for functions which it implements
18378 to always fail with ENOSYS. Some functions are actually named
18379 something starting with __ and the normal name is an alias. */
18380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18388 if { (eval echo configure
:18389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18390 eval "ac_cv_func_$ac_func=yes"
18392 echo "configure: failed program was:" >&5
18393 cat conftest.
$ac_ext >&5
18395 eval "ac_cv_func_$ac_func=no"
18400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18401 echo "$ac_t""yes" 1>&6
18402 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18403 cat >> confdefs.h
<<EOF
18404 #define $ac_tr_func 1
18406 cat >> confdefs.h
<<\EOF
18407 #define HAVE_INET_ADDR 1
18411 echo "$ac_t""no" 1>&6
18412 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
18413 echo "configure:18414: checking for inet_addr in -lnsl" >&5
18414 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
18415 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18416 echo $ac_n "(cached) $ac_c" 1>&6
18418 ac_save_LIBS
="$LIBS"
18420 cat > conftest.
$ac_ext <<EOF
18421 #line 18422 "configure"
18422 #include "confdefs.h"
18423 /* Override any gcc2 internal prototype to avoid an error. */
18424 /* We use char because int might match the return type of a gcc2
18425 builtin and then its argument prototype would still apply. */
18432 if { (eval echo configure
:18433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18434 eval "ac_cv_lib_$ac_lib_var=yes"
18436 echo "configure: failed program was:" >&5
18437 cat conftest.
$ac_ext >&5
18439 eval "ac_cv_lib_$ac_lib_var=no"
18442 LIBS
="$ac_save_LIBS"
18445 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18446 echo "$ac_t""yes" 1>&6
18449 echo "$ac_t""no" 1>&6
18450 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
18451 echo "configure:18452: checking for inet_addr in -lresolv" >&5
18452 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
18453 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18454 echo $ac_n "(cached) $ac_c" 1>&6
18456 ac_save_LIBS
="$LIBS"
18457 LIBS
="-lresolv $LIBS"
18458 cat > conftest.
$ac_ext <<EOF
18459 #line 18460 "configure"
18460 #include "confdefs.h"
18461 /* Override any gcc2 internal prototype to avoid an error. */
18462 /* We use char because int might match the return type of a gcc2
18463 builtin and then its argument prototype would still apply. */
18470 if { (eval echo configure
:18471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18472 eval "ac_cv_lib_$ac_lib_var=yes"
18474 echo "configure: failed program was:" >&5
18475 cat conftest.
$ac_ext >&5
18477 eval "ac_cv_lib_$ac_lib_var=no"
18480 LIBS
="$ac_save_LIBS"
18483 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18484 echo "$ac_t""yes" 1>&6
18487 echo "$ac_t""no" 1>&6
18488 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
18489 echo "configure:18490: checking for inet_addr in -lsocket" >&5
18490 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
18491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18492 echo $ac_n "(cached) $ac_c" 1>&6
18494 ac_save_LIBS
="$LIBS"
18495 LIBS
="-lsocket $LIBS"
18496 cat > conftest.
$ac_ext <<EOF
18497 #line 18498 "configure"
18498 #include "confdefs.h"
18499 /* Override any gcc2 internal prototype to avoid an error. */
18500 /* We use char because int might match the return type of a gcc2
18501 builtin and then its argument prototype would still apply. */
18508 if { (eval echo configure
:18509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18510 eval "ac_cv_lib_$ac_lib_var=yes"
18512 echo "configure: failed program was:" >&5
18513 cat conftest.
$ac_ext >&5
18515 eval "ac_cv_lib_$ac_lib_var=no"
18518 LIBS
="$ac_save_LIBS"
18521 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18522 echo "$ac_t""yes" 1>&6
18526 echo "$ac_t""no" 1>&6
18541 for ac_func
in inet_aton
18543 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18544 echo "configure:18545: checking for $ac_func" >&5
18545 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18546 echo $ac_n "(cached) $ac_c" 1>&6
18548 cat > conftest.
$ac_ext <<EOF
18549 #line 18550 "configure"
18550 #include "confdefs.h"
18551 /* System header to define __stub macros and hopefully few prototypes,
18552 which can conflict with char $ac_func(); below. */
18553 #include <assert.h>
18554 /* Override any gcc2 internal prototype to avoid an error. */
18555 /* We use char because int might match the return type of a gcc2
18556 builtin and then its argument prototype would still apply. */
18561 /* The GNU C library defines this for functions which it implements
18562 to always fail with ENOSYS. Some functions are actually named
18563 something starting with __ and the normal name is an alias. */
18564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18572 if { (eval echo configure
:18573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18574 eval "ac_cv_func_$ac_func=yes"
18576 echo "configure: failed program was:" >&5
18577 cat conftest.
$ac_ext >&5
18579 eval "ac_cv_func_$ac_func=no"
18584 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18585 echo "$ac_t""yes" 1>&6
18586 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18587 cat >> confdefs.h
<<EOF
18588 #define $ac_tr_func 1
18590 cat >> confdefs.h
<<\EOF
18591 #define HAVE_INET_ATON 1
18595 echo "$ac_t""no" 1>&6
18596 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
18597 echo "configure:18598: checking for inet_aton in -l$INET_LINK" >&5
18598 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
18599 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18600 echo $ac_n "(cached) $ac_c" 1>&6
18602 ac_save_LIBS
="$LIBS"
18603 LIBS
="-l$INET_LINK $LIBS"
18604 cat > conftest.
$ac_ext <<EOF
18605 #line 18606 "configure"
18606 #include "confdefs.h"
18607 /* Override any gcc2 internal prototype to avoid an error. */
18608 /* We use char because int might match the return type of a gcc2
18609 builtin and then its argument prototype would still apply. */
18616 if { (eval echo configure
:18617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18618 eval "ac_cv_lib_$ac_lib_var=yes"
18620 echo "configure: failed program was:" >&5
18621 cat conftest.
$ac_ext >&5
18623 eval "ac_cv_lib_$ac_lib_var=no"
18626 LIBS
="$ac_save_LIBS"
18629 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18630 echo "$ac_t""yes" 1>&6
18631 cat >> confdefs.h
<<\EOF
18632 #define HAVE_INET_ATON 1
18636 echo "$ac_t""no" 1>&6
18644 if test "x$INET_LINK" != "x"; then
18645 cat >> confdefs.h
<<\EOF
18646 #define HAVE_INET_ADDR 1
18649 INET_LINK
=" -l$INET_LINK"
18655 cat > confcache
<<\EOF
18656 # This file is a shell script that caches the results of configure
18657 # tests run on this system so they can be shared between configure
18658 # scripts and configure runs. It is not useful on other systems.
18659 # If it contains results you don't want to keep, you may remove or edit it.
18661 # By default, configure uses ./config.cache as the cache file,
18662 # creating it if it does not exist already. You can give configure
18663 # the --cache-file=FILE option to use a different cache file; that is
18664 # what configure does when it calls configure scripts in
18665 # subdirectories, so they share the cache.
18666 # Giving --cache-file=/dev/null disables caching, for debugging configure.
18667 # config.status only pays attention to the cache file if you give it the
18668 # --recheck option to rerun configure.
18671 # The following way of writing the cache mishandles newlines in values,
18672 # but we know of no workaround that is simple, portable, and efficient.
18673 # So, don't put newlines in cache variables' values.
18674 # Ultrix sh set writes to stderr and can't be redirected directly,
18675 # and sets the high bit in the cache file unless we assign to the vars.
18677 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18679 # `set' does not quote correctly, so add quotes (double-quote substitution
18680 # turns \\\\ into \\, and sed turns \\ into \).
18682 -e "s/'/'\\\\''/g" \
18683 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
18686 # `set' quotes correctly as required by POSIX, so do not add quotes.
18687 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
18690 if cmp -s $cache_file confcache
; then
18693 if test -w $cache_file; then
18694 echo "updating cache $cache_file"
18695 cat confcache
> $cache_file
18697 echo "not updating unwritable cache $cache_file"
18705 if test "$TOOLKIT" != "MSW"; then
18711 if test "$wxUSE_THREADS" = "yes" ; then
18712 if test "$USE_BEOS" = 1; then
18713 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
18718 if test "$wxUSE_THREADS" = "yes" ; then
18721 THREAD_OPTS
="-pthread"
18723 *-*-solaris2* | *-*-sunos4* )
18724 if test "x$GCC" = "xyes"; then
18725 THREAD_OPTS
="-pthreads $THREAD_OPTS"
18727 THREAD_OPTS
="-mt $THREAD_OPTS"
18731 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
18733 *-*-darwin* | *-*-cygwin* )
18737 THREAD_OPTS
="pthreads"
18740 if test "x$GCC" != "xyes"; then
18746 if test "x$GCC" = "xyes"; then
18752 if test "x$GCC" != "xyes"; then
18753 THREAD_OPTS
="-Ethread"
18758 THREAD_OPTS
="$THREAD_OPTS pthread none"
18761 for flag
in $THREAD_OPTS; do
18764 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
18765 echo "configure:18766: checking whether pthreads work without any flags" >&5
18769 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
18770 echo "configure:18771: checking whether pthreads work with $flag" >&5
18771 THREADS_CFLAGS
="$flag"
18775 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
18776 echo "configure:18777: checking for the pthreads library -l$flag" >&5
18777 THREADS_LINK
="-l$flag"
18782 save_CFLAGS
="$CFLAGS"
18783 LIBS
="$THREADS_LINK $LIBS"
18784 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
18786 cat > conftest.
$ac_ext <<EOF
18787 #line 18788 "configure"
18788 #include "confdefs.h"
18789 #include <pthread.h>
18791 pthread_create(0,0,0,0);
18794 if { (eval echo configure
:18795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18798 echo "configure: failed program was:" >&5
18799 cat conftest.
$ac_ext >&5
18804 CFLAGS
="$save_CFLAGS"
18806 echo "$ac_t""$THREADS_OK" 1>&6
18807 if test "x$THREADS_OK" = "xyes"; then
18815 if test "x$THREADS_OK" != "xyes"; then
18817 echo "configure: warning: No thread support on this system... disabled" 1>&2
18819 LDFLAGS
="$THREADS_CFLAGS $LDFLAGS"
18820 LIBS
="$THREADS_LINK $LIBS"
18822 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
18823 echo "configure:18824: checking if more special flags are required for pthreads" >&5
18827 LDFLAGS
="-L/usr/lib/threads $LDFLAGS"
18828 flag
="-D_THREAD_SAFE"
18831 flag
="-D_THREAD_SAFE"
18834 flag
="-D_REENTRANT"
18835 if test "x$GCC" != "xyes"; then
18836 flag
="$flag -D_RWSTD_MULTI_THREAD"
18839 *solaris
* | alpha
*-osf*)
18840 flag
="-D_REENTRANT"
18843 echo "$ac_t""${flag}" 1>&6
18844 if test "x$flag" != xno
; then
18845 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
18848 if test "x$THREADS_CFLAGS" != "x"; then
18849 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
18850 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
18855 if test "$wxUSE_THREADS" = "yes" ; then
18856 for ac_func
in thr_setconcurrency
18858 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18859 echo "configure:18860: checking for $ac_func" >&5
18860 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18861 echo $ac_n "(cached) $ac_c" 1>&6
18863 cat > conftest.
$ac_ext <<EOF
18864 #line 18865 "configure"
18865 #include "confdefs.h"
18866 /* System header to define __stub macros and hopefully few prototypes,
18867 which can conflict with char $ac_func(); below. */
18868 #include <assert.h>
18869 /* Override any gcc2 internal prototype to avoid an error. */
18870 /* We use char because int might match the return type of a gcc2
18871 builtin and then its argument prototype would still apply. */
18876 /* The GNU C library defines this for functions which it implements
18877 to always fail with ENOSYS. Some functions are actually named
18878 something starting with __ and the normal name is an alias. */
18879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18887 if { (eval echo configure
:18888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18889 eval "ac_cv_func_$ac_func=yes"
18891 echo "configure: failed program was:" >&5
18892 cat conftest.
$ac_ext >&5
18894 eval "ac_cv_func_$ac_func=no"
18899 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18900 echo "$ac_t""yes" 1>&6
18901 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18902 cat >> confdefs.h
<<EOF
18903 #define $ac_tr_func 1
18907 echo "$ac_t""no" 1>&6
18912 for ac_hdr
in sched.h
18914 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18915 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18916 echo "configure:18917: checking for $ac_hdr" >&5
18917 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18918 echo $ac_n "(cached) $ac_c" 1>&6
18920 cat > conftest.
$ac_ext <<EOF
18921 #line 18922 "configure"
18922 #include "confdefs.h"
18925 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18926 { (eval echo configure
:18927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18927 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18928 if test -z "$ac_err"; then
18930 eval "ac_cv_header_$ac_safe=yes"
18933 echo "configure: failed program was:" >&5
18934 cat conftest.
$ac_ext >&5
18936 eval "ac_cv_header_$ac_safe=no"
18940 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18941 echo "$ac_t""yes" 1>&6
18942 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18943 cat >> confdefs.h
<<EOF
18944 #define $ac_tr_hdr 1
18948 echo "$ac_t""no" 1>&6
18952 if test "$ac_cv_header_sched_h" = "yes"; then
18953 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
18954 echo "configure:18955: checking for sched_yield" >&5
18955 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
18956 echo $ac_n "(cached) $ac_c" 1>&6
18958 cat > conftest.
$ac_ext <<EOF
18959 #line 18960 "configure"
18960 #include "confdefs.h"
18961 /* System header to define __stub macros and hopefully few prototypes,
18962 which can conflict with char sched_yield(); below. */
18963 #include <assert.h>
18964 /* Override any gcc2 internal prototype to avoid an error. */
18965 /* We use char because int might match the return type of a gcc2
18966 builtin and then its argument prototype would still apply. */
18967 char sched_yield();
18971 /* The GNU C library defines this for functions which it implements
18972 to always fail with ENOSYS. Some functions are actually named
18973 something starting with __ and the normal name is an alias. */
18974 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
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_func_sched_yield=yes"
18986 echo "configure: failed program was:" >&5
18987 cat conftest.
$ac_ext >&5
18989 eval "ac_cv_func_sched_yield=no"
18994 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
18995 echo "$ac_t""yes" 1>&6
18996 cat >> confdefs.h
<<\EOF
18997 #define HAVE_SCHED_YIELD 1
19001 echo "$ac_t""no" 1>&6
19003 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
19004 echo "configure:19005: checking for sched_yield in -lposix4" >&5
19005 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
19006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19007 echo $ac_n "(cached) $ac_c" 1>&6
19009 ac_save_LIBS
="$LIBS"
19010 LIBS
="-lposix4 $LIBS"
19011 cat > conftest.
$ac_ext <<EOF
19012 #line 19013 "configure"
19013 #include "confdefs.h"
19014 /* Override any gcc2 internal prototype to avoid an error. */
19015 /* We use char because int might match the return type of a gcc2
19016 builtin and then its argument prototype would still apply. */
19017 char sched_yield();
19023 if { (eval echo configure
:19024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19025 eval "ac_cv_lib_$ac_lib_var=yes"
19027 echo "configure: failed program was:" >&5
19028 cat conftest.
$ac_ext >&5
19030 eval "ac_cv_lib_$ac_lib_var=no"
19033 LIBS
="$ac_save_LIBS"
19036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19037 echo "$ac_t""yes" 1>&6
19038 cat >> confdefs.h
<<\EOF
19039 #define HAVE_SCHED_YIELD 1
19041 POSIX4_LINK
=" -lposix4"
19043 echo "$ac_t""no" 1>&6
19044 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
19055 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
19056 echo "configure:19057: checking for pthread_attr_getschedpolicy" >&5
19057 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
19058 echo $ac_n "(cached) $ac_c" 1>&6
19060 cat > conftest.
$ac_ext <<EOF
19061 #line 19062 "configure"
19062 #include "confdefs.h"
19063 /* System header to define __stub macros and hopefully few prototypes,
19064 which can conflict with char pthread_attr_getschedpolicy(); below. */
19065 #include <assert.h>
19066 /* Override any gcc2 internal prototype to avoid an error. */
19067 /* We use char because int might match the return type of a gcc2
19068 builtin and then its argument prototype would still apply. */
19069 char pthread_attr_getschedpolicy();
19073 /* The GNU C library defines this for functions which it implements
19074 to always fail with ENOSYS. Some functions are actually named
19075 something starting with __ and the normal name is an alias. */
19076 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
19079 pthread_attr_getschedpolicy();
19084 if { (eval echo configure
:19085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19086 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
19088 echo "configure: failed program was:" >&5
19089 cat conftest.
$ac_ext >&5
19091 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
19096 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
19097 echo "$ac_t""yes" 1>&6
19098 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
19099 echo "configure:19100: checking for pthread_attr_setschedparam" >&5
19100 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
19101 echo $ac_n "(cached) $ac_c" 1>&6
19103 cat > conftest.
$ac_ext <<EOF
19104 #line 19105 "configure"
19105 #include "confdefs.h"
19106 /* System header to define __stub macros and hopefully few prototypes,
19107 which can conflict with char pthread_attr_setschedparam(); below. */
19108 #include <assert.h>
19109 /* Override any gcc2 internal prototype to avoid an error. */
19110 /* We use char because int might match the return type of a gcc2
19111 builtin and then its argument prototype would still apply. */
19112 char pthread_attr_setschedparam();
19116 /* The GNU C library defines this for functions which it implements
19117 to always fail with ENOSYS. Some functions are actually named
19118 something starting with __ and the normal name is an alias. */
19119 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
19122 pthread_attr_setschedparam();
19127 if { (eval echo configure
:19128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19129 eval "ac_cv_func_pthread_attr_setschedparam=yes"
19131 echo "configure: failed program was:" >&5
19132 cat conftest.
$ac_ext >&5
19134 eval "ac_cv_func_pthread_attr_setschedparam=no"
19139 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
19140 echo "$ac_t""yes" 1>&6
19141 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
19142 echo "configure:19143: checking for sched_get_priority_max" >&5
19143 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
19144 echo $ac_n "(cached) $ac_c" 1>&6
19146 cat > conftest.
$ac_ext <<EOF
19147 #line 19148 "configure"
19148 #include "confdefs.h"
19149 /* System header to define __stub macros and hopefully few prototypes
19151 echo "$ac_t""no" 1>&6
19152 which can conflict with char sched_get_priority_max(); below. */
19153 #include <assert.h>
19154 /* Override any gcc2 internal prototype to avoid an error. */
19155 /* We use char because int might match the return type of a gcc2
19156 builtin and then its argument prototype would still apply. */
19157 char sched_get_priority_max();
19161 /* The GNU C library defines this for functions which it implements
19162 to always fail with ENOSYS. Some functions are actually named
19163 something starting with __ and the normal name is an alias. */
19164 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
19167 sched_get_priority_max();
19172 if { (eval echo configure
:19173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19174 eval "ac_cv_func_sched_get_priority_max=yes"
19176 echo "configure: failed program was:" >&5
19177 cat conftest.
$ac_ext >&5
19179 eval "ac_cv_func_sched_get_priority_max=no"
19184 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
19185 echo "$ac_t""yes" 1>&6
19188 echo "$ac_t""no" 1>&6
19189 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
19190 echo "configure:19191: checking for sched_get_priority_max in -lposix4" >&5
19191 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
19192 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19193 echo $ac_n "(cached) $ac_c" 1>&6
19195 ac_save_LIBS
="$LIBS"
19196 LIBS
="-lposix4 $LIBS"
19197 cat > conftest.
$ac_ext <<EOF
19198 #line 19199 "configure"
19199 #include "confdefs.h"
19200 /* Override any gcc2 internal prototype to avoid an error. */
19201 /* We use char because int might match the return type of a gcc2
19202 builtin and then its argument prototype would still apply. */
19203 char sched_get_priority_max();
19206 sched_get_priority_max()
19209 if { (eval echo configure
:19210: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19211 eval "ac_cv_lib_$ac_lib_var=yes"
19213 echo "configure: failed program was:" >&5
19214 cat conftest.
$ac_ext >&5
19216 eval "ac_cv_lib_$ac_lib_var=no"
19219 LIBS
="$ac_save_LIBS"
19222 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19223 echo "$ac_t""yes" 1>&6
19226 POSIX4_LINK
=" -lposix4"
19229 echo "$ac_t""no" 1>&6
19237 echo "$ac_t""no" 1>&6
19244 if test "$HAVE_PRIOR_FUNCS" = 1; then
19245 cat >> confdefs.h
<<\EOF
19246 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
19250 echo "configure: warning: Setting thread priority will not work" 1>&2
19253 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
19254 echo "configure:19255: checking for pthread_cancel" >&5
19255 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
19256 echo $ac_n "(cached) $ac_c" 1>&6
19258 cat > conftest.
$ac_ext <<EOF
19259 #line 19260 "configure"
19260 #include "confdefs.h"
19261 /* System header to define __stub macros and hopefully few prototypes,
19262 which can conflict with char pthread_cancel(); below. */
19263 #include <assert.h>
19264 /* Override any gcc2 internal prototype to avoid an error. */
19265 /* We use char because int might match the return type of a gcc2
19266 builtin and then its argument prototype would still apply. */
19267 char pthread_cancel();
19271 /* The GNU C library defines this for functions which it implements
19272 to always fail with ENOSYS. Some functions are actually named
19273 something starting with __ and the normal name is an alias. */
19274 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
19282 if { (eval echo configure
:19283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19284 eval "ac_cv_func_pthread_cancel=yes"
19286 echo "configure: failed program was:" >&5
19287 cat conftest.
$ac_ext >&5
19289 eval "ac_cv_func_pthread_cancel=no"
19294 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
19295 echo "$ac_t""yes" 1>&6
19296 cat >> confdefs.h
<<\EOF
19297 #define HAVE_PTHREAD_CANCEL 1
19301 echo "$ac_t""no" 1>&6
19302 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
19306 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
19307 echo "configure:19308: checking for pthread_cleanup_push/pop" >&5
19308 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
19309 echo $ac_n "(cached) $ac_c" 1>&6
19312 cat > conftest.
$ac_ext <<EOF
19313 #line 19314 "configure"
19314 #include "confdefs.h"
19315 #include <pthread.h>
19318 pthread_cleanup_push(NULL, NULL);
19319 pthread_cleanup_pop(0);
19323 if { (eval echo configure
:19324: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19326 wx_cv_func_pthread_cleanup_push
=yes
19329 echo "configure: failed program was:" >&5
19330 cat conftest.
$ac_ext >&5
19333 wx_cv_func_pthread_cleanup_push
=no
19340 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
19342 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
19343 cat >> confdefs.h
<<\EOF
19344 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
19350 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
19351 echo "configure:19352: checking for pthread_mutexattr_t" >&5
19352 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
19353 echo $ac_n "(cached) $ac_c" 1>&6
19356 cat > conftest.
$ac_ext <<EOF
19357 #line 19358 "configure"
19358 #include "confdefs.h"
19359 #include <pthread.h>
19362 pthread_mutexattr_t attr;
19363 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
19367 if { (eval echo configure
:19368: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19370 wx_cv_type_pthread_mutexattr_t
=yes
19373 echo "configure: failed program was:" >&5
19374 cat conftest.
$ac_ext >&5
19377 wx_cv_type_pthread_mutexattr_t
=no
19385 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
19387 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
19388 cat >> confdefs.h
<<\EOF
19389 #define HAVE_PTHREAD_MUTEXATTR_T 1
19393 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
19394 echo "configure:19395: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
19395 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
19396 echo $ac_n "(cached) $ac_c" 1>&6
19399 cat > conftest.
$ac_ext <<EOF
19400 #line 19401 "configure"
19401 #include "confdefs.h"
19402 #include <pthread.h>
19405 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
19409 if { (eval echo configure
:19410: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19412 wx_cv_type_pthread_rec_mutex_init
=yes
19415 echo "configure: failed program was:" >&5
19416 cat conftest.
$ac_ext >&5
19419 wx_cv_type_pthread_rec_mutex_init
=no
19427 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
19428 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
19429 cat >> confdefs.h
<<\EOF
19430 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
19434 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
19440 if test "$wxUSE_THREADS" = "yes" ; then
19443 echo $ac_n "checking if compiler supports -mthreads""... $ac_c" 1>&6
19444 echo "configure:19445: checking if compiler supports -mthreads" >&5
19445 if eval "test \"`echo '$''{'wx_cv_cflags_mthread'+set}'`\" = set"; then
19446 echo $ac_n "(cached) $ac_c" 1>&6
19449 CFLAGS_OLD
="$CFLAGS"
19450 CFLAGS
="$CFLAGS -mthreads"
19451 cat > conftest.
$ac_ext <<EOF
19452 #line 19453 "configure"
19453 #include "confdefs.h"
19459 if { (eval echo configure
:19460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19461 wx_cv_cflags_mthread
=yes
19463 echo "configure: failed program was:" >&5
19464 cat conftest.
$ac_ext >&5
19466 wx_cv_cflags_mthread
=no
19474 echo "$ac_t""$wx_cv_cflags_mthread" 1>&6
19476 if test "$wx_cv_cflags_mthread" = "yes"; then
19477 CXXFLAGS
="$CXXFLAGS -mthreads"
19478 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -mthreads"
19479 LDFLAGS
="$LDFLAGS -mthreads"
19481 CFLAGS
="$CFLAGS_OLD"
19488 if test "$wxUSE_THREADS" = "yes"; then
19489 cat >> confdefs.h
<<\EOF
19490 #define wxUSE_THREADS 1
19494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
19496 if test "$ac_cv_func_strtok_r" = "yes"; then
19497 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
19498 echo "configure:19499: checking if -D_REENTRANT is needed" >&5
19499 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
19500 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
19501 echo "$ac_t""yes" 1>&6
19503 echo "$ac_t""no" 1>&6
19508 if test "$WXGTK20" = 1 ; then
19509 cat >> confdefs.h
<<EOF
19510 #define __WXGTK20__ $WXGTK20
19516 if test "$WXGTK12" = 1 ; then
19517 cat >> confdefs.h
<<EOF
19518 #define __WXGTK12__ $WXGTK12
19523 if test "$WXGTK127" = 1 ; then
19524 cat >> confdefs.h
<<EOF
19525 #define __WXGTK127__ $WXGTK127
19532 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
19537 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
19538 wxUSE_DEBUG_INFO
=yes
19542 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
19543 cat >> confdefs.h
<<\EOF
19547 WXDEBUG_DEFINE
="-D__WXDEBUG__"
19549 if test "$wxUSE_GTK" = 1 ; then
19550 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
19554 if test "$wxUSE_MEM_TRACING" = "yes" ; then
19555 cat >> confdefs.h
<<\EOF
19556 #define wxUSE_MEMORY_TRACING 1
19559 cat >> confdefs.h
<<\EOF
19560 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
19563 cat >> confdefs.h
<<\EOF
19564 #define wxUSE_DEBUG_NEW_ALWAYS 1
19567 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
19570 if test "$wxUSE_DMALLOC" = "yes" ; then
19571 DMALLOC_LIBS
="-ldmalloc"
19575 if test "$wxUSE_PROFILE" = "yes" ; then
19580 CODE_GEN_FLAGS_CXX
=
19581 if test "$GCC" = "yes" ; then
19582 if test "$wxUSE_NO_RTTI" = "yes" ; then
19583 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
19585 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
19586 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
19588 if test "$wxUSE_PERMISSIVE" = "yes" ; then
19589 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
19591 if test "$USE_WIN32" = 1 ; then
19592 # I'm not even really sure what this was ever added to solve,
19593 # but someone added it for mingw native builds, so I guess
19594 # they had a reason, right??
19595 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
19600 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
19603 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -ffunction-sections"
19609 if test "$wxUSE_OPTIMISE" = "no" ; then
19610 if test "$GCC" = yes ; then
19614 if test "$GCC" = yes ; then
19618 i586
-*-*|i686
-*-* )
19619 OPTIMISE
="${OPTIMISE} "
19628 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
19629 cat >> confdefs.h
<<\EOF
19630 #define WXWIN_COMPATIBILITY_2 1
19634 WXWIN_COMPATIBILITY_2_2
="yes"
19637 if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
19638 cat >> confdefs.h
<<\EOF
19639 #define WXWIN_COMPATIBILITY_2_2 1
19643 WXWIN_COMPATIBILITY_2_4
="yes"
19646 if test "x$WXWIN_COMPATIBILITY_2_4" != "xno"; then
19647 cat >> confdefs.h
<<\EOF
19648 #define WXWIN_COMPATIBILITY_2_4 1
19654 if test "$wxUSE_GUI" = "yes"; then
19655 cat >> confdefs.h
<<\EOF
19656 #define wxUSE_GUI 1
19661 cat >> confdefs.h
<<\EOF
19662 #define wxUSE_NOGUI 1
19668 if test "$wxUSE_UNIX" = "yes"; then
19669 cat >> confdefs.h
<<\EOF
19670 #define wxUSE_UNIX 1
19676 if test "$wxUSE_APPLE_IEEE" = "yes"; then
19677 cat >> confdefs.h
<<\EOF
19678 #define wxUSE_APPLE_IEEE 1
19683 if test "$wxUSE_TIMER" = "yes"; then
19684 cat >> confdefs.h
<<\EOF
19685 #define wxUSE_TIMER 1
19690 if test "$wxUSE_WAVE" = "yes"; then
19691 cat >> confdefs.h
<<\EOF
19692 #define wxUSE_WAVE 1
19697 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
19698 cat >> confdefs.h
<<\EOF
19699 #define wxUSE_CMDLINE_PARSER 1
19704 if test "$wxUSE_STOPWATCH" = "yes"; then
19705 cat >> confdefs.h
<<\EOF
19706 #define wxUSE_STOPWATCH 1
19711 if test "$wxUSE_DATETIME" = "yes"; then
19712 cat >> confdefs.h
<<\EOF
19713 #define wxUSE_DATETIME 1
19718 if test "$wxUSE_FILE" = "yes"; then
19719 cat >> confdefs.h
<<\EOF
19720 #define wxUSE_FILE 1
19725 if test "$wxUSE_FFILE" = "yes"; then
19726 cat >> confdefs.h
<<\EOF
19727 #define wxUSE_FFILE 1
19732 if test "$wxUSE_FILESYSTEM" = "yes"; then
19733 cat >> confdefs.h
<<\EOF
19734 #define wxUSE_FILESYSTEM 1
19739 if test "$wxUSE_FS_INET" = "yes"; then
19740 cat >> confdefs.h
<<\EOF
19741 #define wxUSE_FS_INET 1
19746 if test "$wxUSE_FS_ZIP" = "yes"; then
19747 cat >> confdefs.h
<<\EOF
19748 #define wxUSE_FS_ZIP 1
19753 if test "$wxUSE_ZIPSTREAM" = "yes"; then
19754 cat >> confdefs.h
<<\EOF
19755 #define wxUSE_ZIPSTREAM 1
19760 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
19761 cat >> confdefs.h
<<\EOF
19762 #define wxUSE_ON_FATAL_EXCEPTION 1
19767 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
19768 cat >> confdefs.h
<<\EOF
19769 #define wxUSE_SNGLINST_CHECKER 1
19774 if test "$wxUSE_BUSYINFO" = "yes"; then
19775 cat >> confdefs.h
<<\EOF
19776 #define wxUSE_BUSYINFO 1
19781 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
19782 cat >> confdefs.h
<<\EOF
19783 #define wxUSE_STD_IOSTREAM 1
19788 if test "$wxUSE_TEXTBUFFER" = "yes"; then
19789 cat >> confdefs.h
<<\EOF
19790 #define wxUSE_TEXTBUFFER 1
19795 if test "$wxUSE_TEXTFILE" = "yes"; then
19796 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
19797 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
19799 cat >> confdefs.h
<<\EOF
19800 #define wxUSE_TEXTFILE 1
19806 if test "$wxUSE_CONFIG" = "yes" ; then
19807 if test "$wxUSE_TEXTFILE" != "yes"; then
19808 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
19810 cat >> confdefs.h
<<\EOF
19811 #define wxUSE_CONFIG 1
19814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
19818 if test "$wxUSE_INTL" = "yes" ; then
19819 if test "$wxUSE_FILE" != "yes"; then
19820 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
19822 cat >> confdefs.h
<<\EOF
19823 #define wxUSE_INTL 1
19826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
19827 GUIDIST
="$GUIDIST INTL_DIST"
19831 if test "$wxUSE_LOG" = "yes"; then
19832 cat >> confdefs.h
<<\EOF
19833 #define wxUSE_LOG 1
19837 if test "$wxUSE_LOGGUI" = "yes"; then
19838 cat >> confdefs.h
<<\EOF
19839 #define wxUSE_LOGGUI 1
19844 if test "$wxUSE_LOGWINDOW" = "yes"; then
19845 cat >> confdefs.h
<<\EOF
19846 #define wxUSE_LOGWINDOW 1
19851 if test "$wxUSE_LOGDIALOG" = "yes"; then
19852 cat >> confdefs.h
<<\EOF
19853 #define wxUSE_LOG_DIALOG 1
19859 if test "$wxUSE_LONGLONG" = "yes"; then
19860 cat >> confdefs.h
<<\EOF
19861 #define wxUSE_LONGLONG 1
19866 if test "$wxUSE_GEOMETRY" = "yes"; then
19867 cat >> confdefs.h
<<\EOF
19868 #define wxUSE_GEOMETRY 1
19873 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
19874 cat >> confdefs.h
<<\EOF
19875 #define wxUSE_DIALUP_MANAGER 1
19878 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
19881 if test "$wxUSE_STREAMS" = "yes" ; then
19882 cat >> confdefs.h
<<\EOF
19883 #define wxUSE_STREAMS 1
19889 if test "$wxUSE_DATETIME" = "yes"; then
19890 for ac_func
in strptime
19892 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19893 echo "configure:19894: checking for $ac_func" >&5
19894 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19895 echo $ac_n "(cached) $ac_c" 1>&6
19897 cat > conftest.
$ac_ext <<EOF
19898 #line 19899 "configure"
19899 #include "confdefs.h"
19900 /* System header to define __stub macros and hopefully few prototypes,
19901 which can conflict with char $ac_func(); below. */
19902 #include <assert.h>
19903 /* Override any gcc2 internal prototype to avoid an error. */
19904 /* We use char because int might match the return type of a gcc2
19905 builtin and then its argument prototype would still apply. */
19910 /* The GNU C library defines this for functions which it implements
19911 to always fail with ENOSYS. Some functions are actually named
19912 something starting with __ and the normal name is an alias. */
19913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19921 if { (eval echo configure
:19922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19923 eval "ac_cv_func_$ac_func=yes"
19925 echo "configure: failed program was:" >&5
19926 cat conftest.
$ac_ext >&5
19928 eval "ac_cv_func_$ac_func=no"
19933 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19934 echo "$ac_t""yes" 1>&6
19935 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19936 cat >> confdefs.h
<<EOF
19937 #define $ac_tr_func 1
19941 echo "$ac_t""no" 1>&6
19946 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
19947 echo "configure:19948: checking for timezone variable in <time.h>" >&5
19948 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
19949 echo $ac_n "(cached) $ac_c" 1>&6
19952 cat > conftest.
$ac_ext <<EOF
19953 #line 19954 "configure"
19954 #include "confdefs.h"
19965 if { (eval echo configure
:19966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19968 wx_cv_var_timezone
=timezone
19971 echo "configure: failed program was:" >&5
19972 cat conftest.
$ac_ext >&5
19975 cat > conftest.
$ac_ext <<EOF
19976 #line 19977 "configure"
19977 #include "confdefs.h"
19988 if { (eval echo configure
:19989: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19991 wx_cv_var_timezone
=_timezone
19994 echo "configure: failed program was:" >&5
19995 cat conftest.
$ac_ext >&5
19998 cat > conftest.
$ac_ext <<EOF
19999 #line 20000 "configure"
20000 #include "confdefs.h"
20011 if { (eval echo configure
:20012: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20014 wx_cv_var_timezone
=__timezone
20017 echo "configure: failed program was:" >&5
20018 cat conftest.
$ac_ext >&5
20021 if test "$USE_DOS" = 0 ; then
20022 echo "configure: warning: no timezone variable" 1>&2
20040 echo "$ac_t""$wx_cv_var_timezone" 1>&6
20042 if test "x$wx_cv_var_timezone" != x
; then
20043 cat >> confdefs.h
<<EOF
20044 #define WX_TIMEZONE $wx_cv_var_timezone
20049 for ac_func
in localtime
20051 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20052 echo "configure:20053: checking for $ac_func" >&5
20053 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20054 echo $ac_n "(cached) $ac_c" 1>&6
20056 cat > conftest.
$ac_ext <<EOF
20057 #line 20058 "configure"
20058 #include "confdefs.h"
20059 /* System header to define __stub macros and hopefully few prototypes,
20060 which can conflict with char $ac_func(); below. */
20061 #include <assert.h>
20062 /* Override any gcc2 internal prototype to avoid an error. */
20063 /* We use char because int might match the return type of a gcc2
20064 builtin and then its argument prototype would still apply. */
20069 /* The GNU C library defines this for functions which it implements
20070 to always fail with ENOSYS. Some functions are actually named
20071 something starting with __ and the normal name is an alias. */
20072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20080 if { (eval echo configure
:20081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20082 eval "ac_cv_func_$ac_func=yes"
20084 echo "configure: failed program was:" >&5
20085 cat conftest.
$ac_ext >&5
20087 eval "ac_cv_func_$ac_func=no"
20092 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20093 echo "$ac_t""yes" 1>&6
20094 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20095 cat >> confdefs.h
<<EOF
20096 #define $ac_tr_func 1
20100 echo "$ac_t""no" 1>&6
20105 if test "$ac_cv_func_localtime" = "yes"; then
20106 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
20107 echo "configure:20108: checking for tm_gmtoff in struct tm" >&5
20108 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
20109 echo $ac_n "(cached) $ac_c" 1>&6
20112 cat > conftest.
$ac_ext <<EOF
20113 #line 20114 "configure"
20114 #include "confdefs.h"
20125 if { (eval echo configure
:20126: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20128 wx_cv_struct_tm_has_gmtoff
=yes
20131 echo "configure: failed program was:" >&5
20132 cat conftest.
$ac_ext >&5
20134 wx_cv_struct_tm_has_gmtoff
=no
20141 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
20144 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
20145 cat >> confdefs.h
<<\EOF
20146 #define WX_GMTOFF_IN_TM 1
20151 for ac_func
in gettimeofday ftime
20153 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20154 echo "configure:20155: checking for $ac_func" >&5
20155 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20156 echo $ac_n "(cached) $ac_c" 1>&6
20158 cat > conftest.
$ac_ext <<EOF
20159 #line 20160 "configure"
20160 #include "confdefs.h"
20161 /* System header to define __stub macros and hopefully few prototypes,
20162 which can conflict with char $ac_func(); below. */
20163 #include <assert.h>
20164 /* Override any gcc2 internal prototype to avoid an error. */
20165 /* We use char because int might match the return type of a gcc2
20166 builtin and then its argument prototype would still apply. */
20171 /* The GNU C library defines this for functions which it implements
20172 to always fail with ENOSYS. Some functions are actually named
20173 something starting with __ and the normal name is an alias. */
20174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20182 if { (eval echo configure
:20183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20184 eval "ac_cv_func_$ac_func=yes"
20186 echo "configure: failed program was:" >&5
20187 cat conftest.
$ac_ext >&5
20189 eval "ac_cv_func_$ac_func=no"
20194 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20195 echo "$ac_t""yes" 1>&6
20196 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20197 cat >> confdefs.h
<<EOF
20198 #define $ac_tr_func 1
20202 echo "$ac_t""no" 1>&6
20207 if test "$ac_cv_func_gettimeofday" = "yes"; then
20208 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
20209 echo "configure:20210: checking whether gettimeofday takes two arguments" >&5
20210 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
20211 echo $ac_n "(cached) $ac_c" 1>&6
20216 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20217 ac_cpp
='$CXXCPP $CPPFLAGS'
20218 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20219 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20220 cross_compiling
=$ac_cv_prog_cxx_cross
20223 cat > conftest.
$ac_ext <<EOF
20224 #line 20225 "configure"
20225 #include "confdefs.h"
20227 #include <sys/time.h>
20228 #include <unistd.h>
20233 gettimeofday(&tv, NULL);
20237 if { (eval echo configure
:20238: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20239 wx_cv_func_gettimeofday_has_2_args
=yes
20241 echo "configure: failed program was:" >&5
20242 cat conftest.
$ac_ext >&5
20244 cat > conftest.
$ac_ext <<EOF
20245 #line 20246 "configure"
20246 #include "confdefs.h"
20248 #include <sys/time.h>
20249 #include <unistd.h>
20258 if { (eval echo configure
:20259: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20260 wx_cv_func_gettimeofday_has_2_args
=no
20262 echo "configure: failed program was:" >&5
20263 cat conftest.
$ac_ext >&5
20266 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
20267 wx_cv_func_gettimeofday_has_2_args
=unknown
20276 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20277 ac_cpp
='$CPP $CPPFLAGS'
20278 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20279 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20280 cross_compiling
=$ac_cv_prog_cc_cross
20285 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
20287 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
20288 cat >> confdefs.h
<<\EOF
20289 #define WX_GETTIMEOFDAY_NO_TZ 1
20295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
20299 if test "$wxUSE_SOCKETS" = "yes"; then
20300 if test "$wxUSE_MGL" = "1"; then
20301 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
20306 if test "$wxUSE_SOCKETS" = "yes"; then
20307 if test "$TOOLKIT" != "MSW"; then
20308 echo $ac_n "checking for socket""... $ac_c" 1>&6
20309 echo "configure:20310: checking for socket" >&5
20310 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
20311 echo $ac_n "(cached) $ac_c" 1>&6
20313 cat > conftest.
$ac_ext <<EOF
20314 #line 20315 "configure"
20315 #include "confdefs.h"
20316 /* System header to define __stub macros and hopefully few prototypes,
20317 which can conflict with char socket(); below. */
20318 #include <assert.h>
20319 /* Override any gcc2 internal prototype to avoid an error. */
20320 /* We use char because int might match the return type of a gcc2
20321 builtin and then its argument prototype would still apply. */
20326 /* The GNU C library defines this for functions which it implements
20327 to always fail with ENOSYS. Some functions are actually named
20328 something starting with __ and the normal name is an alias. */
20329 #if defined (__stub_socket) || defined (__stub___socket)
20337 if { (eval echo configure
:20338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20339 eval "ac_cv_func_socket=yes"
20341 echo "configure: failed program was:" >&5
20342 cat conftest.
$ac_ext >&5
20344 eval "ac_cv_func_socket=no"
20349 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
20350 echo "$ac_t""yes" 1>&6
20353 echo "$ac_t""no" 1>&6
20354 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
20355 echo "configure:20356: checking for socket in -lsocket" >&5
20356 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20358 echo $ac_n "(cached) $ac_c" 1>&6
20360 ac_save_LIBS
="$LIBS"
20361 LIBS
="-lsocket $LIBS"
20362 cat > conftest.
$ac_ext <<EOF
20363 #line 20364 "configure"
20364 #include "confdefs.h"
20365 /* Override any gcc2 internal prototype to avoid an error. */
20366 /* We use char because int might match the return type of a gcc2
20367 builtin and then its argument prototype would still apply. */
20374 if { (eval echo configure
:20375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20376 eval "ac_cv_lib_$ac_lib_var=yes"
20378 echo "configure: failed program was:" >&5
20379 cat conftest.
$ac_ext >&5
20381 eval "ac_cv_lib_$ac_lib_var=no"
20384 LIBS
="$ac_save_LIBS"
20387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20388 echo "$ac_t""yes" 1>&6
20389 if test "$INET_LINK" != " -lsocket"; then
20390 INET_LINK
="$INET_LINK -lsocket"
20393 echo "$ac_t""no" 1>&6
20395 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
20407 if test "$wxUSE_SOCKETS" = "yes" ; then
20408 if test "$TOOLKIT" != "MSW"; then
20409 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
20410 echo "configure:20411: checking what is the type of the third argument of getsockname" >&5
20411 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
20412 echo $ac_n "(cached) $ac_c" 1>&6
20417 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20418 ac_cpp
='$CXXCPP $CPPFLAGS'
20419 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20420 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20421 cross_compiling
=$ac_cv_prog_cxx_cross
20424 cat > conftest.
$ac_ext <<EOF
20425 #line 20426 "configure"
20426 #include "confdefs.h"
20428 #include <sys/types.h>
20429 #include <sys/socket.h>
20434 getsockname(0, 0, &len);
20438 if { (eval echo configure
:20439: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20440 wx_cv_type_getsockname3
=socklen_t
20442 echo "configure: failed program was:" >&5
20443 cat conftest.
$ac_ext >&5
20445 cat > conftest.
$ac_ext <<EOF
20446 #line 20447 "configure"
20447 #include "confdefs.h"
20449 #include <sys/types.h>
20450 #include <sys/socket.h>
20455 getsockname(0, 0, &len);
20459 if { (eval echo configure
:20460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20461 wx_cv_type_getsockname3
=size_t
20463 echo "configure: failed program was:" >&5
20464 cat conftest.
$ac_ext >&5
20466 cat > conftest.
$ac_ext <<EOF
20467 #line 20468 "configure"
20468 #include "confdefs.h"
20470 #include <sys/types.h>
20471 #include <sys/socket.h>
20476 getsockname(0, 0, &len);
20480 if { (eval echo configure
:20481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20482 wx_cv_type_getsockname3
=int
20484 echo "configure: failed program was:" >&5
20485 cat conftest.
$ac_ext >&5
20487 wx_cv_type_getsockname3
=unknown
20499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20500 ac_cpp
='$CPP $CPPFLAGS'
20501 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20502 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20503 cross_compiling
=$ac_cv_prog_cc_cross
20508 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
20510 if test "$wx_cv_type_getsockname3" = "unknown"; then
20512 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
20514 cat >> confdefs.h
<<EOF
20515 #define SOCKLEN_T $wx_cv_type_getsockname3
20522 if test "$wxUSE_SOCKETS" = "yes" ; then
20523 cat >> confdefs.h
<<\EOF
20524 #define wxUSE_SOCKETS 1
20527 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
20531 if test "$wxUSE_GUI" = "yes"; then
20533 if test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
20534 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
20537 if test "$TOOLKIT" = "MOTIF"; then
20538 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
20541 if test "$TOOLKIT" = "X11"; then
20542 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
20546 if test "$TOOLKIT" != "MSW"; then
20547 if test "$wxUSE_JOYSTICK" = "yes"; then
20548 for ac_hdr
in linux
/joystick.h
20550 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
20551 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
20552 echo "configure:20553: checking for $ac_hdr" >&5
20553 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
20554 echo $ac_n "(cached) $ac_c" 1>&6
20556 cat > conftest.
$ac_ext <<EOF
20557 #line 20558 "configure"
20558 #include "confdefs.h"
20561 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
20562 { (eval echo configure
:20563: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
20563 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
20564 if test -z "$ac_err"; then
20566 eval "ac_cv_header_$ac_safe=yes"
20569 echo "configure: failed program was:" >&5
20570 cat conftest.
$ac_ext >&5
20572 eval "ac_cv_header_$ac_safe=no"
20576 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
20577 echo "$ac_t""yes" 1>&6
20578 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
20579 cat >> confdefs.h
<<EOF
20580 #define $ac_tr_hdr 1
20584 echo "$ac_t""no" 1>&6
20588 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
20590 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
20595 if test "$wxUSE_JOYSTICK" = "yes"; then
20596 cat >> confdefs.h
<<\EOF
20597 #define wxUSE_JOYSTICK 1
20600 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
20605 if test "$TOOLKIT" != "MSW"; then
20609 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20610 if test "$USE_DARWIN" = 1; then
20613 for ac_func
in dlopen
20615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20616 echo "configure:20617: checking for $ac_func" >&5
20617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20618 echo $ac_n "(cached) $ac_c" 1>&6
20620 cat > conftest.
$ac_ext <<EOF
20621 #line 20622 "configure"
20622 #include "confdefs.h"
20623 /* System header to define __stub macros and hopefully few prototypes,
20624 which can conflict with char $ac_func(); below. */
20625 #include <assert.h>
20626 /* Override any gcc2 internal prototype to avoid an error. */
20627 /* We use char because int might match the return type of a gcc2
20628 builtin and then its argument prototype would still apply. */
20633 /* The GNU C library defines this for functions which it implements
20634 to always fail with ENOSYS. Some functions are actually named
20635 something starting with __ and the normal name is an alias. */
20636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20644 if { (eval echo configure
:20645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20646 eval "ac_cv_func_$ac_func=yes"
20648 echo "configure: failed program was:" >&5
20649 cat conftest.
$ac_ext >&5
20651 eval "ac_cv_func_$ac_func=no"
20656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20657 echo "$ac_t""yes" 1>&6
20658 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20659 cat >> confdefs.h
<<EOF
20660 #define $ac_tr_func 1
20663 cat >> confdefs.h
<<\EOF
20664 #define HAVE_DLOPEN 1
20670 echo "$ac_t""no" 1>&6
20671 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
20672 echo "configure:20673: checking for dlopen in -ldl" >&5
20673 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
20674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20675 echo $ac_n "(cached) $ac_c" 1>&6
20677 ac_save_LIBS
="$LIBS"
20679 cat > conftest.
$ac_ext <<EOF
20680 #line 20681 "configure"
20681 #include "confdefs.h"
20682 /* Override any gcc2 internal prototype to avoid an error. */
20683 /* We use char because int might match the return type of a gcc2
20684 builtin and then its argument prototype would still apply. */
20691 if { (eval echo configure
:20692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20693 eval "ac_cv_lib_$ac_lib_var=yes"
20695 echo "configure: failed program was:" >&5
20696 cat conftest.
$ac_ext >&5
20698 eval "ac_cv_lib_$ac_lib_var=no"
20701 LIBS
="$ac_save_LIBS"
20704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20705 echo "$ac_t""yes" 1>&6
20707 cat >> confdefs.h
<<\EOF
20708 #define HAVE_DLOPEN 1
20712 DL_LINK
=" -ldl$DL_LINK"
20715 echo "$ac_t""no" 1>&6
20717 for ac_func
in shl_load
20719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20720 echo "configure:20721: checking for $ac_func" >&5
20721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20722 echo $ac_n "(cached) $ac_c" 1>&6
20724 cat > conftest.
$ac_ext <<EOF
20725 #line 20726 "configure"
20726 #include "confdefs.h"
20727 /* System header to define __stub macros and hopefully few prototypes,
20728 which can conflict with char $ac_func(); below. */
20729 #include <assert.h>
20730 /* Override any gcc2 internal prototype to avoid an error. */
20731 /* We use char because int might match the return type of a gcc2
20732 builtin and then its argument prototype would still apply. */
20737 /* The GNU C library defines this for functions which it implements
20738 to always fail with ENOSYS. Some functions are actually named
20739 something starting with __ and the normal name is an alias. */
20740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20748 if { (eval echo configure
:20749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20750 eval "ac_cv_func_$ac_func=yes"
20752 echo "configure: failed program was:" >&5
20753 cat conftest.
$ac_ext >&5
20755 eval "ac_cv_func_$ac_func=no"
20760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20761 echo "$ac_t""yes" 1>&6
20762 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20763 cat >> confdefs.h
<<EOF
20764 #define $ac_tr_func 1
20767 cat >> confdefs.h
<<\EOF
20768 #define HAVE_SHL_LOAD 1
20774 echo "$ac_t""no" 1>&6
20775 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
20776 echo "configure:20777: checking for dld in -lshl_load" >&5
20777 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
20778 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20779 echo $ac_n "(cached) $ac_c" 1>&6
20781 ac_save_LIBS
="$LIBS"
20782 LIBS
="-lshl_load $LIBS"
20783 cat > conftest.
$ac_ext <<EOF
20784 #line 20785 "configure"
20785 #include "confdefs.h"
20786 /* Override any gcc2 internal prototype to avoid an error. */
20787 /* We use char because int might match the return type of a gcc2
20788 builtin and then its argument prototype would still apply. */
20795 if { (eval echo configure
:20796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20797 eval "ac_cv_lib_$ac_lib_var=yes"
20799 echo "configure: failed program was:" >&5
20800 cat conftest.
$ac_ext >&5
20802 eval "ac_cv_lib_$ac_lib_var=no"
20805 LIBS
="$ac_save_LIBS"
20808 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20809 echo "$ac_t""yes" 1>&6
20812 DL_LINK
=" -ldld$DL_LINK"
20815 echo "$ac_t""no" 1>&6
20830 if test "$HAVE_DL_FUNCS" = 1; then
20831 for ac_func
in dlerror
20833 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
20834 echo "configure:20835: checking for $ac_func" >&5
20835 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
20836 echo $ac_n "(cached) $ac_c" 1>&6
20838 cat > conftest.
$ac_ext <<EOF
20839 #line 20840 "configure"
20840 #include "confdefs.h"
20841 /* System header to define __stub macros and hopefully few prototypes,
20842 which can conflict with char $ac_func(); below. */
20843 #include <assert.h>
20844 /* Override any gcc2 internal prototype to avoid an error. */
20845 /* We use char because int might match the return type of a gcc2
20846 builtin and then its argument prototype would still apply. */
20851 /* The GNU C library defines this for functions which it implements
20852 to always fail with ENOSYS. Some functions are actually named
20853 something starting with __ and the normal name is an alias. */
20854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20862 if { (eval echo configure
:20863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20864 eval "ac_cv_func_$ac_func=yes"
20866 echo "configure: failed program was:" >&5
20867 cat conftest.
$ac_ext >&5
20869 eval "ac_cv_func_$ac_func=no"
20874 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
20875 echo "$ac_t""yes" 1>&6
20876 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
20877 cat >> confdefs.h
<<EOF
20878 #define $ac_tr_func 1
20880 cat >> confdefs.h
<<\EOF
20881 #define HAVE_DLERROR 1
20885 echo "$ac_t""no" 1>&6
20886 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
20887 echo "configure:20888: checking for dlerror in -ldl" >&5
20888 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
20889 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20890 echo $ac_n "(cached) $ac_c" 1>&6
20892 ac_save_LIBS
="$LIBS"
20894 cat > conftest.
$ac_ext <<EOF
20895 #line 20896 "configure"
20896 #include "confdefs.h"
20897 /* Override any gcc2 internal prototype to avoid an error. */
20898 /* We use char because int might match the return type of a gcc2
20899 builtin and then its argument prototype would still apply. */
20906 if { (eval echo configure
:20907: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20908 eval "ac_cv_lib_$ac_lib_var=yes"
20910 echo "configure: failed program was:" >&5
20911 cat conftest.
$ac_ext >&5
20913 eval "ac_cv_lib_$ac_lib_var=no"
20916 LIBS
="$ac_save_LIBS"
20919 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20920 echo "$ac_t""yes" 1>&6
20921 cat >> confdefs.h
<<\EOF
20922 #define HAVE_DLERROR 1
20926 echo "$ac_t""no" 1>&6
20935 if test "$HAVE_DL_FUNCS" = 0; then
20936 if test "$HAVE_SHL_FUNCS" = 0; then
20937 if test "$USE_UNIX" = 1; then
20938 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
20939 wxUSE_DYNAMIC_LOADER
=no
20940 wxUSE_DYNLIB_CLASS
=no
20942 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
20949 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
20950 cat >> confdefs.h
<<\EOF
20951 #define wxUSE_DYNAMIC_LOADER 1
20954 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
20955 cat >> confdefs.h
<<\EOF
20956 #define wxUSE_DYNLIB_CLASS 1
20962 if test "$wxUSE_FONTMAP" = "yes" ; then
20963 cat >> confdefs.h
<<\EOF
20964 #define wxUSE_FONTMAP 1
20969 if test "$wxUSE_UNICODE" = "yes" ; then
20970 cat >> confdefs.h
<<\EOF
20971 #define wxUSE_UNICODE 1
20975 if test "$wxUSE_MSW" != 1; then
20976 wxUSE_UNICODE_MSLU
=no
20979 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
20980 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
20981 echo "configure:20982: checking for main in -lunicows" >&5
20982 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
20983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20984 echo $ac_n "(cached) $ac_c" 1>&6
20986 ac_save_LIBS
="$LIBS"
20987 LIBS
="-lunicows $LIBS"
20988 cat > conftest.
$ac_ext <<EOF
20989 #line 20990 "configure"
20990 #include "confdefs.h"
20996 if { (eval echo configure
:20997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
20998 eval "ac_cv_lib_$ac_lib_var=yes"
21000 echo "configure: failed program was:" >&5
21001 cat conftest.
$ac_ext >&5
21003 eval "ac_cv_lib_$ac_lib_var=no"
21006 LIBS
="$ac_save_LIBS"
21009 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21010 echo "$ac_t""yes" 1>&6
21012 cat >> confdefs.h
<<\EOF
21013 #define wxUSE_UNICODE_MSLU 1
21018 echo "$ac_t""no" 1>&6
21020 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
21021 Applications will only run on Windows NT/2000/XP!" 1>&2
21022 wxUSE_UNICODE_MSLU
=no
21029 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
21030 cat >> confdefs.h
<<\EOF
21031 #define wxUSE_EXPERIMENTAL_PRINTF 1
21039 if test "$wxUSE_ODBC" = "yes" ; then
21040 cat >> confdefs.h
<<\EOF
21041 #define wxUSE_ODBC 1
21044 WXODBCFLAG
="-D_IODBC_"
21045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
21049 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
21050 cat >> confdefs.h
<<\EOF
21051 #define wxUSE_POSTSCRIPT 1
21056 cat >> confdefs.h
<<\EOF
21057 #define wxUSE_AFM_FOR_POSTSCRIPT 1
21061 cat >> confdefs.h
<<\EOF
21062 #define wxUSE_NORMALIZED_PS_FONTS 1
21067 if test "$wxUSE_CONSTRAINTS" = "yes"; then
21068 cat >> confdefs.h
<<\EOF
21069 #define wxUSE_CONSTRAINTS 1
21072 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
21075 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21078 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21079 cat >> confdefs.h
<<\EOF
21080 #define wxUSE_MDI_ARCHITECTURE 1
21083 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
21087 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
21088 cat >> confdefs.h
<<\EOF
21089 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
21092 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
21093 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
21094 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
21098 if test "$wxUSE_HELP" = "yes"; then
21099 cat >> confdefs.h
<<\EOF
21100 #define wxUSE_HELP 1
21103 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
21105 if test "$wxUSE_MSW" = 1; then
21106 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
21107 cat >> confdefs.h
<<\EOF
21108 #define wxUSE_MS_HTML_HELP 1
21114 if test "$wxUSE_WXHTML_HELP" = "yes"; then
21115 if test "$wxUSE_HTML" = "yes"; then
21116 cat >> confdefs.h
<<\EOF
21117 #define wxUSE_WXHTML_HELP 1
21121 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
21122 wxUSE_WXHTML_HELP
=no
21127 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
21128 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21129 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
21131 cat >> confdefs.h
<<\EOF
21132 #define wxUSE_PRINTING_ARCHITECTURE 1
21136 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
21141 if test "$wxUSE_X_RESOURCES" = "yes"; then
21142 cat >> confdefs.h
<<\EOF
21143 #define wxUSE_X_RESOURCES 1
21149 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
21150 -o "$wxUSE_CLIPBOARD" = "yes" \
21151 -o "$wxUSE_OLE" = "yes" \
21152 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
21153 for ac_hdr
in ole2.h
21155 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21156 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
21157 echo "configure:21158: checking for $ac_hdr" >&5
21158 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
21159 echo $ac_n "(cached) $ac_c" 1>&6
21161 cat > conftest.
$ac_ext <<EOF
21162 #line 21163 "configure"
21163 #include "confdefs.h"
21166 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
21167 { (eval echo configure
:21168: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
21168 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
21169 if test -z "$ac_err"; then
21171 eval "ac_cv_header_$ac_safe=yes"
21174 echo "configure: failed program was:" >&5
21175 cat conftest.
$ac_ext >&5
21177 eval "ac_cv_header_$ac_safe=no"
21181 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
21182 echo "$ac_t""yes" 1>&6
21183 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21184 cat >> confdefs.h
<<EOF
21185 #define $ac_tr_hdr 1
21189 echo "$ac_t""no" 1>&6
21194 if test "$ac_cv_header_ole2_h" = "yes" ; then
21195 if test "$GCC" = yes ; then
21198 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21199 ac_cpp
='$CXXCPP $CPPFLAGS'
21200 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21201 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21202 cross_compiling
=$ac_cv_prog_cxx_cross
21205 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
21206 echo "configure:21207: checking if g++ requires -fvtable-thunks" >&5
21207 cat > conftest.
$ac_ext <<EOF
21208 #line 21209 "configure"
21209 #include "confdefs.h"
21210 #include <windows.h>
21216 if { (eval echo configure
:21217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21218 echo "$ac_t""no" 1>&6
21220 echo "configure: failed program was:" >&5
21221 cat conftest.
$ac_ext >&5
21223 echo "$ac_t""yes" 1>&6
21224 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
21228 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
21229 ac_cpp
='$CPP $CPPFLAGS'
21230 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
21231 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
21232 cross_compiling
=$ac_cv_prog_cc_cross
21234 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
21235 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
21236 cat >> confdefs.h
<<\EOF
21237 #define wxUSE_OLE 1
21243 cat >> confdefs.h
<<\EOF
21244 #define wxUSE_DATAOBJ 1
21248 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
21251 wxUSE_DRAG_AND_DROP
=no
21256 if test "$wxUSE_METAFILE" = "yes"; then
21257 cat >> confdefs.h
<<\EOF
21258 #define wxUSE_METAFILE 1
21262 cat >> confdefs.h
<<\EOF
21263 #define wxUSE_ENH_METAFILE 1
21269 if test "$wxUSE_IPC" = "yes"; then
21270 if test "$wxUSE_SOCKETS" != "yes"; then
21271 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
21274 cat >> confdefs.h
<<\EOF
21275 #define wxUSE_IPC 1
21280 if test "$wxUSE_CLIPBOARD" = "yes"; then
21281 if test "$wxUSE_MGL" = 1; then
21282 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
21286 if test "$wxUSE_CLIPBOARD" = "yes"; then
21287 cat >> confdefs.h
<<\EOF
21288 #define wxUSE_CLIPBOARD 1
21292 cat >> confdefs.h
<<\EOF
21293 #define wxUSE_DATAOBJ 1
21299 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
21300 if test "$wxUSE_GTK" = 1; then
21301 if test "$WXGTK12" != 1; then
21302 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
21303 wxUSE_DRAG_AND_DROP
=no
21307 if test "$wxUSE_MOTIF" = 1; then
21308 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
21309 wxUSE_DRAG_AND_DROP
=no
21312 if test "$wxUSE_X11" = 1; then
21313 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
21314 wxUSE_DRAG_AND_DROP
=no
21317 if test "$wxUSE_MGL" = 1; then
21318 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
21319 wxUSE_DRAG_AND_DROP
=no
21322 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
21323 cat >> confdefs.h
<<\EOF
21324 #define wxUSE_DRAG_AND_DROP 1
21327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
21332 if test "$wxUSE_SPLINES" = "yes" ; then
21333 cat >> confdefs.h
<<\EOF
21334 #define wxUSE_SPLINES 1
21341 if test "$wxUSE_CONTROLS" = "yes"; then
21345 if test "$wxUSE_ACCEL" = "yes"; then
21346 cat >> confdefs.h
<<\EOF
21347 #define wxUSE_ACCEL 1
21353 if test "$wxUSE_BUTTON" = "yes"; then
21354 cat >> confdefs.h
<<\EOF
21355 #define wxUSE_BUTTON 1
21361 if test "$wxUSE_BMPBUTTON" = "yes"; then
21362 cat >> confdefs.h
<<\EOF
21363 #define wxUSE_BMPBUTTON 1
21369 if test "$wxUSE_CALCTRL" = "yes"; then
21370 cat >> confdefs.h
<<\EOF
21371 #define wxUSE_CALENDARCTRL 1
21375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
21378 if test "$wxUSE_CARET" = "yes"; then
21379 cat >> confdefs.h
<<\EOF
21380 #define wxUSE_CARET 1
21384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
21387 if test "$wxUSE_COMBOBOX" = "yes"; then
21388 cat >> confdefs.h
<<\EOF
21389 #define wxUSE_COMBOBOX 1
21395 if test "$wxUSE_CHOICE" = "yes"; then
21396 cat >> confdefs.h
<<\EOF
21397 #define wxUSE_CHOICE 1
21403 if test "$wxUSE_CHECKBOX" = "yes"; then
21404 cat >> confdefs.h
<<\EOF
21405 #define wxUSE_CHECKBOX 1
21411 if test "$wxUSE_CHECKLST" = "yes"; then
21412 cat >> confdefs.h
<<\EOF
21413 #define wxUSE_CHECKLISTBOX 1
21417 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
21420 if test "$wxUSE_DISPLAY" = "yes"; then
21421 cat >> confdefs.h
<<\EOF
21422 #define wxUSE_DISPLAY 1
21425 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
21428 if test "$wxUSE_GAUGE" = "yes"; then
21429 cat >> confdefs.h
<<\EOF
21430 #define wxUSE_GAUGE 1
21436 if test "$wxUSE_GRID" = "yes"; then
21437 cat >> confdefs.h
<<\EOF
21438 #define wxUSE_GRID 1
21442 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
21445 if test "$wxUSE_IMAGLIST" = "yes"; then
21446 cat >> confdefs.h
<<\EOF
21447 #define wxUSE_IMAGLIST 1
21452 if test "$wxUSE_LISTBOX" = "yes"; then
21453 cat >> confdefs.h
<<\EOF
21454 #define wxUSE_LISTBOX 1
21460 if test "$wxUSE_LISTCTRL" = "yes"; then
21461 if test "$wxUSE_IMAGLIST" = "yes"; then
21462 cat >> confdefs.h
<<\EOF
21463 #define wxUSE_LISTCTRL 1
21467 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
21469 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
21473 if test "$wxUSE_NOTEBOOK" = "yes"; then
21474 cat >> confdefs.h
<<\EOF
21475 #define wxUSE_NOTEBOOK 1
21479 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
21483 if test "$wxUSE_RADIOBOX" = "yes"; then
21484 cat >> confdefs.h
<<\EOF
21485 #define wxUSE_RADIOBOX 1
21491 if test "$wxUSE_RADIOBTN" = "yes"; then
21492 cat >> confdefs.h
<<\EOF
21493 #define wxUSE_RADIOBTN 1
21499 if test "$wxUSE_SASH" = "yes"; then
21500 cat >> confdefs.h
<<\EOF
21501 #define wxUSE_SASH 1
21504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
21507 if test "$wxUSE_SCROLLBAR" = "yes"; then
21508 cat >> confdefs.h
<<\EOF
21509 #define wxUSE_SCROLLBAR 1
21513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
21516 if test "$wxUSE_SLIDER" = "yes"; then
21517 cat >> confdefs.h
<<\EOF
21518 #define wxUSE_SLIDER 1
21524 if test "$wxUSE_SPINBTN" = "yes"; then
21525 cat >> confdefs.h
<<\EOF
21526 #define wxUSE_SPINBTN 1
21532 if test "$wxUSE_SPINCTRL" = "yes"; then
21533 cat >> confdefs.h
<<\EOF
21534 #define wxUSE_SPINCTRL 1
21540 if test "$wxUSE_SPLITTER" = "yes"; then
21541 cat >> confdefs.h
<<\EOF
21542 #define wxUSE_SPLITTER 1
21545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
21548 if test "$wxUSE_STATBMP" = "yes"; then
21549 cat >> confdefs.h
<<\EOF
21550 #define wxUSE_STATBMP 1
21556 if test "$wxUSE_STATBOX" = "yes"; then
21557 cat >> confdefs.h
<<\EOF
21558 #define wxUSE_STATBOX 1
21564 if test "$wxUSE_STATTEXT" = "yes"; then
21565 cat >> confdefs.h
<<\EOF
21566 #define wxUSE_STATTEXT 1
21572 if test "$wxUSE_STATLINE" = "yes"; then
21573 cat >> confdefs.h
<<\EOF
21574 #define wxUSE_STATLINE 1
21580 if test "$wxUSE_STATUSBAR" = "yes"; then
21581 cat >> confdefs.h
<<\EOF
21582 #define wxUSE_STATUSBAR 1
21587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
21590 if test "$wxUSE_TABDIALOG" = "yes"; then
21591 cat >> confdefs.h
<<\EOF
21592 #define wxUSE_TAB_DIALOG 1
21595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
21598 if test "$wxUSE_TEXTCTRL" = "yes"; then
21599 cat >> confdefs.h
<<\EOF
21600 #define wxUSE_TEXTCTRL 1
21604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
21607 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21608 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21609 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
21612 if test "$wxUSE_UNIVERSAL" = "yes"; then
21613 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
21617 if test "$wxUSE_TOGGLEBTN" = "yes"; then
21618 cat >> confdefs.h
<<\EOF
21619 #define wxUSE_TOGGLEBTN 1
21626 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
21627 cat >> confdefs.h
<<\EOF
21628 #define wxUSE_TOOLBAR_SIMPLE 1
21631 wxUSE_TOOLBAR
="yes"
21635 if test "$wxUSE_TOOLBAR" = "yes"; then
21636 cat >> confdefs.h
<<\EOF
21637 #define wxUSE_TOOLBAR 1
21642 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
21643 wxUSE_TOOLBAR_NATIVE
="yes"
21646 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
21647 cat >> confdefs.h
<<\EOF
21648 #define wxUSE_TOOLBAR_NATIVE 1
21654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
21657 if test "$wxUSE_TOOLTIPS" = "yes"; then
21658 if test "$wxUSE_MOTIF" = 1; then
21659 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
21661 if test "$wxUSE_UNIVERSAL" = "yes"; then
21662 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
21664 cat >> confdefs.h
<<\EOF
21665 #define wxUSE_TOOLTIPS 1
21672 if test "$wxUSE_TREECTRL" = "yes"; then
21673 if test "$wxUSE_IMAGLIST" = "yes"; then
21674 cat >> confdefs.h
<<\EOF
21675 #define wxUSE_TREECTRL 1
21679 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
21681 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
21685 if test "$wxUSE_POPUPWIN" = "yes"; then
21686 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
21687 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
21689 if test "$wxUSE_MOTIF" = 1; then
21690 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
21692 if test "$wxUSE_PM" = 1; then
21693 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
21695 cat >> confdefs.h
<<\EOF
21696 #define wxUSE_POPUPWIN 1
21706 if test "$wxUSE_TIPWINDOW" = "yes"; then
21707 if test "$wxUSE_PM" = 1; then
21708 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
21710 cat >> confdefs.h
<<\EOF
21711 #define wxUSE_TIPWINDOW 1
21717 if test "$USES_CONTROLS" = 1; then
21718 cat >> confdefs.h
<<\EOF
21719 #define wxUSE_CONTROLS 1
21726 if test "$wxUSE_DRAGIMAGE" = "yes"; then
21727 cat >> confdefs.h
<<\EOF
21728 #define wxUSE_DRAGIMAGE 1
21731 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
21734 if test "$wxUSE_MENUS" = "yes"; then
21735 cat >> confdefs.h
<<\EOF
21736 #define wxUSE_MENUS 1
21739 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
21742 if test "$wxUSE_METAFILE" = "yes"; then
21743 cat >> confdefs.h
<<\EOF
21744 #define wxUSE_METAFILE 1
21749 if test "$wxUSE_MIMETYPE" = "yes"; then
21750 cat >> confdefs.h
<<\EOF
21751 #define wxUSE_MIMETYPE 1
21756 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
21757 cat >> confdefs.h
<<\EOF
21758 #define wxUSE_SYSTEM_OPTIONS 1
21761 if test "$TOOLKIT" = "MSW"; then
21762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
21767 if test "$wxUSE_PROTOCOL" = "yes"; then
21768 if test "$wxUSE_SOCKETS" != "yes"; then
21769 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
21773 if test "$wxUSE_PROTOCOL" = "yes"; then
21774 cat >> confdefs.h
<<\EOF
21775 #define wxUSE_PROTOCOL 1
21779 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
21780 cat >> confdefs.h
<<\EOF
21781 #define wxUSE_PROTOCOL_HTTP 1
21785 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
21786 cat >> confdefs.h
<<\EOF
21787 #define wxUSE_PROTOCOL_FTP 1
21791 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
21792 cat >> confdefs.h
<<\EOF
21793 #define wxUSE_PROTOCOL_FILE 1
21800 if test "$wxUSE_URL" = "yes"; then
21801 if test "$wxUSE_PROTOCOL" != "yes"; then
21802 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
21805 if test "$wxUSE_URL" = "yes"; then
21806 cat >> confdefs.h
<<\EOF
21807 #define wxUSE_URL 1
21813 if test "$wxUSE_MINIFRAME" = "yes"; then
21814 cat >> confdefs.h
<<\EOF
21815 #define wxUSE_MINIFRAME 1
21818 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
21821 if test "$wxUSE_HTML" = "yes"; then
21822 cat >> confdefs.h
<<\EOF
21823 #define wxUSE_HTML 1
21826 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
21829 if test "$wxUSE_VALIDATORS" = "yes"; then
21830 cat >> confdefs.h
<<\EOF
21831 #define wxUSE_VALIDATORS 1
21834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
21837 if test "$wxUSE_PALETTE" = "yes" ; then
21838 cat >> confdefs.h
<<\EOF
21839 #define wxUSE_PALETTE 1
21844 if test "$wxUSE_IMAGE" = "yes" ; then
21845 cat >> confdefs.h
<<\EOF
21846 #define wxUSE_IMAGE 1
21851 if test "$wxUSE_GIF" = "yes" ; then
21852 cat >> confdefs.h
<<\EOF
21853 #define wxUSE_GIF 1
21858 if test "$wxUSE_PCX" = "yes" ; then
21859 cat >> confdefs.h
<<\EOF
21860 #define wxUSE_PCX 1
21865 if test "$wxUSE_IFF" = "yes" ; then
21866 cat >> confdefs.h
<<\EOF
21867 #define wxUSE_IFF 1
21872 if test "$wxUSE_PNM" = "yes" ; then
21873 cat >> confdefs.h
<<\EOF
21874 #define wxUSE_PNM 1
21879 if test "$wxUSE_XPM" = "yes" ; then
21880 cat >> confdefs.h
<<\EOF
21881 #define wxUSE_XPM 1
21886 if test "$wxUSE_ICO_CUR" = "yes" ; then
21887 cat >> confdefs.h
<<\EOF
21888 #define wxUSE_ICO_CUR 1
21893 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
21894 LIBS
=" -lunicows $LIBS"
21898 if test "$wxUSE_CHOICEDLG" = "yes"; then
21899 cat >> confdefs.h
<<\EOF
21900 #define wxUSE_CHOICEDLG 1
21905 if test "$wxUSE_COLOURDLG" = "yes"; then
21906 cat >> confdefs.h
<<\EOF
21907 #define wxUSE_COLOURDLG 1
21912 if test "$wxUSE_FILEDLG" = "yes"; then
21913 cat >> confdefs.h
<<\EOF
21914 #define wxUSE_FILEDLG 1
21919 if test "$wxUSE_FINDREPLDLG" = "yes"; then
21920 cat >> confdefs.h
<<\EOF
21921 #define wxUSE_FINDREPLDLG 1
21926 if test "$wxUSE_FONTDLG" = "yes"; then
21927 cat >> confdefs.h
<<\EOF
21928 #define wxUSE_FONTDLG 1
21933 if test "$wxUSE_DIRDLG" = "yes"; then
21934 if test "$wxUSE_TREECTRL" != "yes"; then
21935 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
21937 cat >> confdefs.h
<<\EOF
21938 #define wxUSE_DIRDLG 1
21944 if test "$wxUSE_MSGDLG" = "yes"; then
21945 cat >> confdefs.h
<<\EOF
21946 #define wxUSE_MSGDLG 1
21951 if test "$wxUSE_NUMBERDLG" = "yes"; then
21952 cat >> confdefs.h
<<\EOF
21953 #define wxUSE_NUMBERDLG 1
21958 if test "$wxUSE_PROGRESSDLG" = "yes"; then
21959 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21960 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
21962 cat >> confdefs.h
<<\EOF
21963 #define wxUSE_PROGRESSDLG 1
21969 if test "$wxUSE_SPLASH" = "yes"; then
21970 cat >> confdefs.h
<<\EOF
21971 #define wxUSE_SPLASH 1
21976 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
21977 if test "$wxUSE_CONSTRAINTS" != "yes"; then
21978 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
21980 cat >> confdefs.h
<<\EOF
21981 #define wxUSE_STARTUP_TIPS 1
21987 if test "$wxUSE_TEXTDLG" = "yes"; then
21988 cat >> confdefs.h
<<\EOF
21989 #define wxUSE_TEXTDLG 1
21994 if test "$wxUSE_WIZARDDLG" = "yes"; then
21995 cat >> confdefs.h
<<\EOF
21996 #define wxUSE_WIZARDDLG 1
21999 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
22003 if test "$cross_compiling" = "yes"; then
22006 OSINFO
=`uname -s -r -m`
22007 OSINFO
="\"$OSINFO\""
22010 cat >> confdefs.h
<<EOF
22011 #define WXWIN_OS_DESCRIPTION $OSINFO
22016 if test "x$prefix" != "xNONE"; then
22019 wxPREFIX
=$ac_default_prefix
22022 cat >> confdefs.h
<<EOF
22023 #define wxINSTALL_PREFIX "$wxPREFIX"
22032 if test "$wxUSE_MAC" = 1 ; then
22033 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
22035 if test "$wxUSE_COCOA" = 1 ; then
22036 LDFLAGS
="$LDFLAGS -framework Cocoa -framework System"
22040 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
22046 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22047 echo "configure:22048: checking for $ac_func" >&5
22048 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22049 echo $ac_n "(cached) $ac_c" 1>&6
22051 cat > conftest.
$ac_ext <<EOF
22052 #line 22053 "configure"
22053 #include "confdefs.h"
22054 /* System header to define __stub macros and hopefully few prototypes,
22055 which can conflict with char $ac_func(); below. */
22056 #include <assert.h>
22057 /* Override any gcc2 internal prototype to avoid an error. */
22058 /* We use char because int might match the return type of a gcc2
22059 builtin and then its argument prototype would still apply. */
22064 /* The GNU C library defines this for functions which it implements
22065 to always fail with ENOSYS. Some functions are actually named
22066 something starting with __ and the normal name is an alias. */
22067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22075 if { (eval echo configure
:22076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22077 eval "ac_cv_func_$ac_func=yes"
22079 echo "configure: failed program was:" >&5
22080 cat conftest.
$ac_ext >&5
22082 eval "ac_cv_func_$ac_func=no"
22087 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22088 echo "$ac_t""yes" 1>&6
22089 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22090 cat >> confdefs.h
<<EOF
22091 #define $ac_tr_func 1
22095 echo "$ac_t""no" 1>&6
22099 for ac_func
in floor
22101 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22102 echo "configure:22103: checking for $ac_func" >&5
22103 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22104 echo $ac_n "(cached) $ac_c" 1>&6
22106 cat > conftest.
$ac_ext <<EOF
22107 #line 22108 "configure"
22108 #include "confdefs.h"
22109 /* System header to define __stub macros and hopefully few prototypes,
22110 which can conflict with char $ac_func(); below. */
22111 #include <assert.h>
22112 /* Override any gcc2 internal prototype to avoid an error. */
22113 /* We use char because int might match the return type of a gcc2
22114 builtin and then its argument prototype would still apply. */
22119 /* The GNU C library defines this for functions which it implements
22120 to always fail with ENOSYS. Some functions are actually named
22121 something starting with __ and the normal name is an alias. */
22122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22130 if { (eval echo configure
:22131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22132 eval "ac_cv_func_$ac_func=yes"
22134 echo "configure: failed program was:" >&5
22135 cat conftest.
$ac_ext >&5
22137 eval "ac_cv_func_$ac_func=no"
22142 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22143 echo "$ac_t""yes" 1>&6
22144 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22145 cat >> confdefs.h
<<EOF
22146 #define $ac_tr_func 1
22150 echo "$ac_t""no" 1>&6
22154 echo $ac_n "checking if floating point functions link without -lm""... $ac_c" 1>&6
22155 echo "configure:22156: checking if floating point functions link without -lm" >&5
22156 if test "$have_cos" = 1 -a "$have_floor" = 1; then
22157 echo "$ac_t""yes" 1>&6
22159 echo "$ac_t""no" 1>&6
22161 # use different functions to avoid configure caching
22166 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22167 echo "configure:22168: checking for $ac_func" >&5
22168 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22169 echo $ac_n "(cached) $ac_c" 1>&6
22171 cat > conftest.
$ac_ext <<EOF
22172 #line 22173 "configure"
22173 #include "confdefs.h"
22174 /* System header to define __stub macros and hopefully few prototypes,
22175 which can conflict with char $ac_func(); below. */
22176 #include <assert.h>
22177 /* Override any gcc2 internal prototype to avoid an error. */
22178 /* We use char because int might match the return type of a gcc2
22179 builtin and then its argument prototype would still apply. */
22184 /* The GNU C library defines this for functions which it implements
22185 to always fail with ENOSYS. Some functions are actually named
22186 something starting with __ and the normal name is an alias. */
22187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22195 if { (eval echo configure
:22196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22197 eval "ac_cv_func_$ac_func=yes"
22199 echo "configure: failed program was:" >&5
22200 cat conftest.
$ac_ext >&5
22202 eval "ac_cv_func_$ac_func=no"
22207 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22208 echo "$ac_t""yes" 1>&6
22209 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22210 cat >> confdefs.h
<<EOF
22211 #define $ac_tr_func 1
22215 echo "$ac_t""no" 1>&6
22219 for ac_func
in ceil
22221 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
22222 echo "configure:22223: checking for $ac_func" >&5
22223 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
22224 echo $ac_n "(cached) $ac_c" 1>&6
22226 cat > conftest.
$ac_ext <<EOF
22227 #line 22228 "configure"
22228 #include "confdefs.h"
22229 /* System header to define __stub macros and hopefully few prototypes,
22230 which can conflict with char $ac_func(); below. */
22231 #include <assert.h>
22232 /* Override any gcc2 internal prototype to avoid an error. */
22233 /* We use char because int might match the return type of a gcc2
22234 builtin and then its argument prototype would still apply. */
22239 /* The GNU C library defines this for functions which it implements
22240 to always fail with ENOSYS. Some functions are actually named
22241 something starting with __ and the normal name is an alias. */
22242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22250 if { (eval echo configure
:22251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
22252 eval "ac_cv_func_$ac_func=yes"
22254 echo "configure: failed program was:" >&5
22255 cat conftest.
$ac_ext >&5
22257 eval "ac_cv_func_$ac_func=no"
22262 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
22263 echo "$ac_t""yes" 1>&6
22264 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
22265 cat >> confdefs.h
<<EOF
22266 #define $ac_tr_func 1
22270 echo "$ac_t""no" 1>&6
22274 echo $ac_n "checking if floating point functions link with -lm""... $ac_c" 1>&6
22275 echo "configure:22276: checking if floating point functions link with -lm" >&5
22276 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
22277 echo "$ac_t""yes" 1>&6
22279 echo "$ac_t""no" 1>&6
22280 # not sure we should warn the user, crash, etc.
22284 if test "$wxUSE_GUI" = "yes"; then
22286 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
22289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
22290 drawing dynamic erase event exec font image \
22291 minimal propsize rotate shaped widgets"
22293 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
22295 SAMPLES_SUBDIRS
="console"
22299 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
22300 -I\${top_srcdir}/include \
22301 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
22304 if test "$wxUSE_GTK" = 1; then
22307 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
22310 if test "$GXX" = yes ; then
22311 CXXWARNINGS
="-Wall"
22313 if test "$wxUSE_NO_DEPS" = "no" ; then
22314 CFLAGS
="-MMD $CFLAGS"
22315 CXXFLAGS
="-MMD $CXXFLAGS"
22319 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"
22321 CPPFLAGS
=`echo $INCLUDES $CPPFLAGS | sed 's/ \\+/ /g'`
22322 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
22323 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
22324 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
22326 LDFLAGS
="$LDFLAGS $PROFILE"
22328 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
22430 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
22431 echo "configure:22432: checking whether ${MAKE-make} sets \${MAKE}" >&5
22432 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
22433 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
22434 echo $ac_n "(cached) $ac_c" 1>&6
22436 cat > conftestmake
<<\EOF
22438 @
echo 'ac_maketemp="${MAKE}"'
22440 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
22441 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
22442 if test -n "$ac_maketemp"; then
22443 eval ac_cv_prog_make_
${ac_make}_set
=yes
22445 eval ac_cv_prog_make_
${ac_make}_set
=no
22449 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
22450 echo "$ac_t""yes" 1>&6
22453 echo "$ac_t""no" 1>&6
22454 SET_MAKE
="MAKE=${MAKE-make}"
22458 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
22459 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
22464 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
22465 wx_cv_if_gnu_make
=$IF_GNU_MAKE
22466 wx_cv_path_ifs
=$PATH_IFS
22467 wx_cv_program_ext
=$PROGRAM_EXT
22468 wx_cv_target_library
=$WX_TARGET_LIBRARY
22469 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
22470 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
22471 wx_cv_library_basename
=${WX_LIBRARY_BASENAME}
22472 wx_cv_release
=${WX_RELEASE}
22473 wx_cv_current
=${WX_CURRENT}
22474 wx_cv_revision
=${WX_REVISION}
22475 wx_cv_age
=${WX_AGE}
22476 wx_cv_use_gui
=${USE_GUI}
22477 wx_cv_use_resources
=${wxUSE_RESOURCES}
22478 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
22479 wx_cv_path_ifs wx_cv_program_ext \
22480 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype \
22481 wx_cv_library_basename wx_cv_release wx_cv_current wx_cv_revision wx_cv_age \
22482 wx_cv_use_gui wx_cv_use_resources
22484 subdirs
="demos samples utils contrib"
22488 cat > confcache
<<\EOF
22489 # This file is a shell script that caches the results of configure
22490 # tests run on this system so they can be shared between configure
22491 # scripts and configure runs. It is not useful on other systems.
22492 # If it contains results you don't want to keep, you may remove or edit it.
22494 # By default, configure uses ./config.cache as the cache file,
22495 # creating it if it does not exist already. You can give configure
22496 # the --cache-file=FILE option to use a different cache file; that is
22497 # what configure does when it calls configure scripts in
22498 # subdirectories, so they share the cache.
22499 # Giving --cache-file=/dev/null disables caching, for debugging configure.
22500 # config.status only pays attention to the cache file if you give it the
22501 # --recheck option to rerun configure.
22504 # The following way of writing the cache mishandles newlines in values,
22505 # but we know of no workaround that is simple, portable, and efficient.
22506 # So, don't put newlines in cache variables' values.
22507 # Ultrix sh set writes to stderr and can't be redirected directly,
22508 # and sets the high bit in the cache file unless we assign to the vars.
22510 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22512 # `set' does not quote correctly, so add quotes (double-quote substitution
22513 # turns \\\\ into \\, and sed turns \\ into \).
22515 -e "s/'/'\\\\''/g" \
22516 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
22519 # `set' quotes correctly as required by POSIX, so do not add quotes.
22520 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
22523 if cmp -s $cache_file confcache
; then
22526 if test -w $cache_file; then
22527 echo "updating cache $cache_file"
22528 cat confcache
> $cache_file
22530 echo "not updating unwritable cache $cache_file"
22535 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
22537 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
22538 # Let make expand exec_prefix.
22539 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
22541 # Any assignment to VPATH causes Sun make to only execute
22542 # the first set of double-colon rules, so remove it if not needed.
22543 # If there is a colon in the path, we need to keep it.
22544 if test "x$srcdir" = x.
; then
22545 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
22548 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
22550 DEFS
=-DHAVE_CONFIG_H
22552 # Without the "./", some shells look in PATH for config.status.
22553 : ${CONFIG_STATUS=./config.status}
22555 echo creating
$CONFIG_STATUS
22556 rm -f $CONFIG_STATUS
22557 cat > $CONFIG_STATUS <<EOF
22559 # Generated automatically by configure.
22560 # Run this file to recreate the current configuration.
22561 # This directory was configured as follows,
22562 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22564 # $0 $ac_configure_args
22566 # Compiler output produced by configure, useful for debugging
22567 # configure, is in ./config.log if it exists.
22569 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
22572 case "\$ac_option" in
22573 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22574 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
22575 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
22576 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
22577 echo "$CONFIG_STATUS generated by autoconf version 2.13"
22579 -help | --help | --hel | --he | --h)
22580 echo "\$ac_cs_usage"; exit 0 ;;
22581 *) echo "\$ac_cs_usage"; exit 1 ;;
22585 ac_given_srcdir=$srcdir
22586 ac_given_INSTALL="$INSTALL"
22588 trap 'rm -fr `echo "
22595 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
22597 cat >> $CONFIG_STATUS <<EOF
22599 # Protect against being on the right side of a sed subst in config.status.
22600 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
22601 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
22605 s%@CFLAGS@%$CFLAGS%g
22606 s%@CPPFLAGS@%$CPPFLAGS%g
22607 s%@CXXFLAGS@%$CXXFLAGS%g
22608 s%@FFLAGS@%$FFLAGS%g
22610 s%@LDFLAGS@%$LDFLAGS%g
22612 s%@exec_prefix@%$exec_prefix%g
22613 s%@prefix@%$prefix%g
22614 s%@program_transform_name@%$program_transform_name%g
22615 s%@bindir@%$bindir%g
22616 s%@sbindir@%$sbindir%g
22617 s%@libexecdir@%$libexecdir%g
22618 s%@datadir@%$datadir%g
22619 s%@sysconfdir@%$sysconfdir%g
22620 s%@sharedstatedir@%$sharedstatedir%g
22621 s%@localstatedir@%$localstatedir%g
22622 s%@libdir@%$libdir%g
22623 s%@includedir@%$includedir%g
22624 s%@oldincludedir@%$oldincludedir%g
22625 s%@infodir@%$infodir%g
22626 s%@mandir@%$mandir%g
22628 s%@host_alias@%$host_alias%g
22629 s%@host_cpu@%$host_cpu%g
22630 s%@host_vendor@%$host_vendor%g
22631 s%@host_os@%$host_os%g
22632 s%@target@%$target%g
22633 s%@target_alias@%$target_alias%g
22634 s%@target_cpu@%$target_cpu%g
22635 s%@target_vendor@%$target_vendor%g
22636 s%@target_os@%$target_os%g
22638 s%@build_alias@%$build_alias%g
22639 s%@build_cpu@%$build_cpu%g
22640 s%@build_vendor@%$build_vendor%g
22641 s%@build_os@%$build_os%g
22645 s%@RANLIB@%$RANLIB%g
22647 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
22648 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
22649 s%@INSTALL_DATA@%$INSTALL_DATA%g
22651 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
22654 s%@LEXLIB@%$LEXLIB%g
22656 s%@CXXCPP@%$CXXCPP%g
22657 s%@PKG_CONFIG@%$PKG_CONFIG%g
22658 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
22659 s%@GTK_LIBS@%$GTK_LIBS%g
22660 s%@GTK_CONFIG@%$GTK_CONFIG%g
22661 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
22662 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
22663 s%@X_CFLAGS@%$X_CFLAGS%g
22664 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
22665 s%@X_LIBS@%$X_LIBS%g
22666 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
22667 s%@PANGOX_CFLAGS@%$PANGOX_CFLAGS%g
22668 s%@PANGOX_LIBS@%$PANGOX_LIBS%g
22669 s%@PANGOXFT_CFLAGS@%$PANGOXFT_CFLAGS%g
22670 s%@PANGOXFT_LIBS@%$PANGOXFT_LIBS%g
22671 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
22672 s%@RESCOMP@%$RESCOMP%g
22674 s%@SETFILE@%$SETFILE%g
22675 s%@LIBICONV@%$LIBICONV%g
22676 s%@LEX_STEM@%$LEX_STEM%g
22677 s%@PATH_IFS@%$PATH_IFS%g
22678 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
22679 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
22680 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
22681 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
22682 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
22683 s%@WX_LIBRARY_BASENAME@%$WX_LIBRARY_BASENAME%g
22684 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
22685 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
22686 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
22687 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
22688 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
22689 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
22690 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
22691 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
22692 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
22693 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
22694 s%@WX_ALL@%$WX_ALL%g
22695 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
22696 s%@SHARED_LD@%$SHARED_LD%g
22697 s%@PIC_FLAG@%$PIC_FLAG%g
22698 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
22699 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
22700 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
22701 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
22702 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
22703 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
22704 s%@STATIC_FLAG@%$STATIC_FLAG%g
22705 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
22706 s%@USE_GUI@%$USE_GUI%g
22707 s%@AFMINSTALL@%$AFMINSTALL%g
22708 s%@WIN32INSTALL@%$WIN32INSTALL%g
22709 s%@TOOLKIT@%$TOOLKIT%g
22710 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
22711 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
22712 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
22713 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
22714 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
22715 s%@top_builddir@%$top_builddir%g
22716 s%@cross_compiling@%$cross_compiling%g
22717 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
22718 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
22719 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
22720 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
22721 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
22722 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
22723 s%@WX_LARGEFILE_FLAGS@%$WX_LARGEFILE_FLAGS%g
22724 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
22725 s%@ALL_HEADERS@%$ALL_HEADERS%g
22726 s%@ALL_SOURCES@%$ALL_SOURCES%g
22727 s%@GUIDIST@%$GUIDIST%g
22728 s%@PORT_FILES@%$PORT_FILES%g
22729 s%@DISTDIR@%$DISTDIR%g
22730 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
22731 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
22732 s%@LDFLAGS_VERSIONING@%$LDFLAGS_VERSIONING%g
22733 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
22734 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
22735 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
22736 s%@EXTRADEFS@%$EXTRADEFS%g
22737 s%@WX_VERSION_TAG@%$WX_VERSION_TAG%g
22738 s%@RESFLAGS@%$RESFLAGS%g
22739 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
22740 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
22741 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
22742 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
22743 s%@LIBWXMACRES@%$LIBWXMACRES%g
22744 s%@MACRESCOMP@%$MACRESCOMP%g
22745 s%@MACSETFILE@%$MACSETFILE%g
22746 s%@MACRESWXCONFIG@%$MACRESWXCONFIG%g
22748 s%@DLLTOOL@%$DLLTOOL%g
22752 s%@MAKEINFO@%$MAKEINFO%g
22753 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
22754 s%@INSTALL_DIR@%$INSTALL_DIR%g
22755 s%@SET_MAKE@%$SET_MAKE%g
22756 s%@subdirs@%$subdirs%g
22761 cat >> $CONFIG_STATUS <<\EOF
22763 # Split the substitutions into bite-sized pieces for seds with
22764 # small command number limits, like on Digital OSF/1 and HP-UX.
22765 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
22766 ac_file
=1 # Number of current file.
22767 ac_beg
=1 # First line for current file.
22768 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
22771 while $ac_more_lines; do
22772 if test $ac_beg -gt 1; then
22773 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
22775 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
22777 if test ! -s conftest.s
$ac_file; then
22778 ac_more_lines
=false
22779 rm -f conftest.s
$ac_file
22781 if test -z "$ac_sed_cmds"; then
22782 ac_sed_cmds
="sed -f conftest.s$ac_file"
22784 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
22786 ac_file
=`expr $ac_file + 1`
22788 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
22791 if test -z "$ac_sed_cmds"; then
22796 cat >> $CONFIG_STATUS <<EOF
22798 CONFIG_FILES=\${CONFIG_FILES-"wx-config
22806 cat >> $CONFIG_STATUS <<\EOF
22807 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
22808 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22810 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22811 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22812 *) ac_file_in
="${ac_file}.in" ;;
22815 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
22817 # Remove last slash and all that follows it. Not all systems have dirname.
22818 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22819 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
22820 # The file is in a subdirectory.
22821 test ! -d "$ac_dir" && mkdir "$ac_dir"
22822 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
22823 # A "../" for each directory in $ac_dir_suffix.
22824 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
22826 ac_dir_suffix
= ac_dots
=
22829 case "$ac_given_srcdir" in
22831 if test -z "$ac_dots"; then top_srcdir
=.
22832 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
22833 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
22834 *) # Relative path.
22835 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
22836 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22839 case "$ac_given_INSTALL" in
22840 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
22841 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
22844 echo creating
"$ac_file"
22846 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
22848 *Makefile
*) ac_comsub
="1i\\
22849 # $configure_input" ;;
22853 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22855 s%@configure_input@%$configure_input%g
22856 s%@srcdir@%$srcdir%g
22857 s%@top_srcdir@%$top_srcdir%g
22858 s%@INSTALL@%$INSTALL%g
22859 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
22863 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22864 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22866 # ac_d sets the value in "#define NAME VALUE" lines.
22867 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22868 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
22871 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
22872 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22873 ac_uB
='\([ ]\)%\1#\2define\3'
22876 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22877 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22878 ac_eB
='$%\1#\2define\3'
22882 if test "${CONFIG_HEADERS+set}" != set; then
22884 cat >> $CONFIG_STATUS <<EOF
22885 CONFIG_HEADERS="setup.h:setup.h.in"
22887 cat >> $CONFIG_STATUS <<\EOF
22889 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
22890 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22892 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
22893 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22894 *) ac_file_in
="${ac_file}.in" ;;
22897 echo creating
$ac_file
22899 rm -f conftest.frag conftest.
in conftest.out
22900 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
22901 cat $ac_file_inputs > conftest.
in
22905 # Transform confdefs.h into a sed script conftest.vals that substitutes
22906 # the proper values into config.h.in to produce config.h. And first:
22907 # Protect against being on the right side of a sed subst in config.status.
22908 # Protect against being in an unquoted here document in config.status.
22909 rm -f conftest.vals
22910 cat > conftest.hdr
<<\EOF
22913 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
22917 sed -n -f conftest.hdr confdefs.h > conftest.vals
22920 # This sed command replaces #undef with comments. This is necessary, for
22921 # example, in the case of _POSIX_SOURCE, which is predefined and required
22922 # on some systems where configure will not decide to define it.
22923 cat >> conftest.vals <<\EOF
22924 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
22927 # Break up conftest.vals because some shells have a limit on
22928 # the size of here documents, and old seds have small limits too.
22930 rm -f conftest.tail
22933 ac_lines=`grep -c . conftest.vals
`
22934 # grep -c gives empty output for an empty file on some AIX systems.
22935 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
22936 # Write a limited-size here document to conftest.frag.
22937 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
22938 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
22940 sed -f conftest.frag conftest.in > conftest.out
22942 mv conftest.out conftest.in
22943 ' >> $CONFIG_STATUS
22944 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
22945 rm -f conftest.vals
22946 mv conftest.tail conftest.vals
22948 rm -f conftest.vals
22950 cat >> $CONFIG_STATUS <<\EOF
22951 rm -f conftest.frag conftest.h
22952 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
22953 cat conftest.in >> conftest.h
22955 if cmp -s $ac_file conftest.h 2>/dev/null; then
22956 echo "$ac_file is unchanged"
22959 # Remove last slash and all that follows it. Not all systems have dirname.
22960 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
22961 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
22962 # The file is in a subdirectory.
22963 test ! -d "$ac_dir" && mkdir "$ac_dir"
22966 mv conftest.h $ac_file
22971 cat >> $CONFIG_STATUS <<EOF
22973 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
22978 cat >> $CONFIG_STATUS <<\EOF
22980 if test ! -h wx-config; then
22982 mv wx-config wx${TOOLCHAIN_NAME}-config
22983 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
22986 if test ! -d lib; then
22989 if test ! -d lib/wx; then
22992 if test ! -d lib/wx/include; then
22993 mkdir lib/wx/include
22995 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
22996 mkdir lib/wx/include/${TOOLCHAIN_NAME}
22998 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
22999 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
23001 if test -f setup.h; then
23002 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
23007 chmod +x $CONFIG_STATUS
23008 rm -fr confdefs* $ac_clean_files
23009 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
23011 if test "$no_recursion" != yes; then
23013 # Remove --cache-file and --srcdir arguments so they do not pile up.
23014 ac_sub_configure_args=
23016 for ac_arg in $ac_configure_args; do
23017 if test -n "$ac_prev"; then
23022 -cache-file | --cache-file | --cache-fil | --cache-fi \
23023 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
23024 ac_prev=cache_file ;;
23025 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
23026 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
23028 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
23030 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
23032 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
23036 for ac_config_dir in demos samples utils contrib; do
23038 # Do not complain, so a configure script can configure whichever
23039 # parts of a large source tree are present.
23040 if test ! -d $srcdir/$ac_config_dir; then
23044 echo configuring in $ac_config_dir
23049 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
23051 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
23059 # A "../" for each directory in /$ac_config_dir.
23060 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
23063 .) # No --srcdir option. We are building in place.
23064 ac_sub_srcdir=$srcdir ;;
23065 /*) # Absolute path.
23066 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
23067 *) # Relative path.
23068 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
23071 # Check for guested configure; otherwise get Cygnus style configure.
23072 if test -f $ac_sub_srcdir/configure; then
23073 ac_sub_configure=$ac_sub_srcdir/configure
23074 elif test -f $ac_sub_srcdir/configure.in; then
23075 ac_sub_configure=$ac_configure
23077 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
23081 # The recursion is here.
23082 if test -n "$ac_sub_configure"; then
23084 # Make the cache file name correct relative to the subdirectory.
23085 case "$cache_file" in
23086 /*) ac_sub_cache_file=$cache_file ;;
23087 *) # Relative path.
23088 ac_sub_cache_file="$ac_dots$cache_file" ;;
23090 case "$ac_given_INSTALL" in
23091 [/$]*) INSTALL="$ac_given_INSTALL" ;;
23092 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
23095 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
23096 # The eval makes quoting arguments work.
23097 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
23100 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }
23110 echo "Configured wxWindows ${WX_VERSION} for \`${host}'"
23112 echo " Which GUI toolkit should wxWindows use? ${TOOLKIT:-base only}"
23114 echo " Should wxWindows be compiled in debug mode? ${wxUSE_DEBUG:-no}"
23115 echo " Should wxWindows be linked as a shared library? ${wxUSE_SHARED:-no}"
23116 echo " Should wxWindows be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
23118 echo " What level of wxWindows compatibility should be enabled?"
23119 echo " wxWindows 2.0 ${WXWIN_COMPATIBILITY_2:-no}"
23120 echo " wxWindows 2.2 ${WXWIN_COMPATIBILITY_2_2:-no}"
23121 echo " wxWindows 2.4 ${WXWIN_COMPATIBILITY_2_4:-yes}"
23123 echo " Which libraries should wxWindows use?"
23124 echo " jpeg ${wxUSE_LIBJPEG-none}"
23125 echo " png ${wxUSE_LIBPNG-none}"
23126 echo " regex ${wxUSE_REGEX}"
23127 echo " tiff ${wxUSE_LIBTIFF-none}"
23128 echo " zlib ${wxUSE_ZLIB}"